Plugin Directory

Changeset 3252867


Ignore:
Timestamp:
03/09/2025 03:20:56 PM (12 months ago)
Author:
virfice
Message:

Release the v1.1.2

Location:
emails-for-woocommerce/trunk
Files:
30 edited

Legend:

Unmodified
Added
Removed
  • emails-for-woocommerce/trunk/assets/css/virfice-style.min.css

    r3249220 r3252867  
    11@import url(https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap);
    2 :root{--color-purple-0: #FBF9FF;--color-pink-0: #FFF9FC;--color-purple-50: #F3EDFD;--color-purple-100: #EBDFFB;--color-purple-200: #D4BBF7;--color-purple-300: #C09BF3;--color-purple-400: #A876EF;--color-purple-500: #9556EB;--color-purple-600: #6F1BE4;--color-purple-700: #5415AD;--color-purple-800: #370E72;--color-purple-900: #1D073B;--color-purple-950: #0D031B;--color-pink-50: #FFE5F2;--color-pink-100: #FFCCE6;--color-pink-200: #FF99CC;--color-pink-300: #FF66B3;--color-pink-400: #FF3399;--color-pink-500: #FF017E;--color-pink-600: #CC0066;--color-pink-700: #99004D;--color-pink-800: #660033;--color-pink-900: #33001A;--color-gold-0: #FFFDF9;--color-pink-950: #19000D;--color-gold-50: #FFF9EA;--color-gold-100: #FFF0C2;--color-gold-200: #FFDF80;--color-gold-300: #FFD042;--color-gold-400: #FFBF00;--color-gold-500: #C29200;--color-gold-600: #997300;--color-gold-700: #755800;--color-gold-800: #4D3900;--color-gold-900: #291F00;--color-gold-950: #140F00;--color-grey-0: #FCFCFC;--color-grey-50: #F2F2F2;--color-grey-100: #E6E6E6;--color-grey-200: #C9C9C9;--color-grey-300: #B0B0B0;--color-grey-400: #949494;--color-grey-500: #797979;--color-grey-600: #616161;--color-grey-700: #4A4A4A;--color-grey-800: #303030;--color-grey-900: #1A1A1A;--color-grey-950: #0D0D0D;--color-black-0: #FCFCFC;--color-black-50: #E6E6E6;--color-black-100: #CCCCCC;--color-black-200: #999999;--color-black-300: #666666;--color-black-400: #333333;--color-black-500: #000000;--color-black-600: #000000;--color-black-700: #000000;--color-black-800: #000000;--color-black-900: #000000;--color-orange-0: #FFFCF9;--color-black-950: #000000;--color-orange-50: #FFF2E5;--color-orange-100: #FFE6CC;--color-orange-200: #FFCC99;--color-orange-300: #FFB366;--color-orange-400: #FF9933;--color-orange-500: #FE7F00;--color-orange-600: #CC6600;--color-orange-700: #994D00;--color-orange-800: #663300;--color-orange-900: #331A00;--color-orange-950: #190D00;--color-yellow-0: #FFFEF9;--color-yellow-50: #FFFCE5;--color-yellow-100: #FFFACC;--color-yellow-200: #FFF599;--color-yellow-300: #FFF066;--color-yellow-400: #FFEB33;--color-yellow-500: #FFE600;--color-yellow-600: #CCB800;--color-yellow-700: #998A00;--color-yellow-800: #665C00;--color-yellow-900: #332E00;--color-green-0: #F9FFFB;--color-yellow-950: #191700;--color-green-50: #E1FFEC;--color-green-100: #C3FED9;--color-green-200: #81FDB1;--color-green-300: #45FC8B;--color-green-400: #09FB66;--color-green-500: #03C04A;--color-green-600: #029C3D;--color-green-700: #02732D;--color-green-800: #014B1E;--color-green-900: #012810;--color-lime-0: #FDFEFA;--color-green-950: #001408;--color-lime-50: #F9FCEE;--color-lime-100: #F4F9E1;--color-lime-200: #EAF4C3;--color-lime-300: #DEEDA1;--color-lime-400: #D3E883;--color-lime-500: #C8E265;--color-lime-600: #B5D72D;--color-lime-650: #A9C82C;--color-lime-700: #89A31F;--color-lime-800: #5D7015;--color-lime-900: #2F380B;--color-teal-0: #F9FEFF;--color-lime-950: #161A05;--color-teal-50: #E1FEFF;--color-teal-100: #C2FEFF;--color-teal-200: #85FCFE;--color-teal-300: #4DFBFE;--color-teal-400: #10FAFE;--color-teal-500: #01CED1;--color-teal-600: #01A5A7;--color-teal-700: #017D7F;--color-teal-800: #005051;--color-teal-900: #002829;--color-teal-950: #001414;--color-turquoise-0: #F9FDFF;--color-turquoise-50: #EBF9FE;--color-turquoise-100: #D8F3FD;--color-turquoise-200: #B1E8FC;--color-turquoise-300: #84DBFA;--color-turquoise-400: #5DCFF9;--color-turquoise-500: #35C4F7;--color-turquoise-600: #09ACE7;--color-turquoise-700: #0780AC;--color-turquoise-800: #055876;--color-turquoise-900: #022C3B;--color-blue-0: #F9FCFF;--color-turquoise-950: #01161D;--color-blue-50: #E5F2FF;--color-blue-100: #CCE6FF;--color-blue-200: #99CCFF;--color-blue-300: #66B3FF;--color-blue-400: #3399FF;--color-blue-500: #0080FF;--color-blue-600: #0066CC;--color-blue-700: #004D99;--color-blue-800: #003366;--color-blue-900: #001A33;--color-blue-950: #000D19;--color-indigo-0: #F9F9FF;--color-indigo-50: #F2F2FD;--color-indigo-100: #E5E5FB;--color-indigo-200: #C7C6F6;--color-indigo-300: #ADACF1;--color-indigo-400: #8F8DEC;--color-indigo-500: #7473E8;--color-indigo-600: #3835DE;--color-indigo-700: #201DB4;--color-indigo-800: #151376;--color-indigo-900: #0B0A3D;--color-indigo-950: #05051F;--color-red-0: #FFFAF9;--color-red-50: #FFE7E5;--color-red-100: #FFCFCC;--color-red-200: #FF9E99;--color-red-300: #FF6E66;--color-red-400: #FF3D33;--color-red-500: #FF0C00;--color-red-600: #CC0A00;--color-red-700: #990800;--color-red-800: #660500;--color-red-900: #330300;--color-red-950: #190100;--number-none: 0;--number-1px: 1;--number-2px: 2;--number-4px: 4;--number-6px: 6;--number-8px: 8;--number-12px: 12;--number-16px: 16;--number-20px: 20;--number-24px: 24;--number-32px: 32;--number-40px: 40;--number-full: 999;--color-blackalpha-0: #000000;--color-blackalpha-50: #0000000C;--color-blackalpha-100: #00000019;--color-blackalpha-200: #00000033;--color-blackalpha-300: #0000004C;--color-blackalpha-400: #00000066;--color-blackalpha-500: #0000007F;--color-blackalpha-600: #00000099;--color-blackalpha-700: #000000B2;--color-blackalpha-800: #000000CC;--color-blackalpha-900: #000000E5;--color-blackalpha-950: #000000;--bg-bg-card: var(--color-yellow-0);--bg-bg-soul: #FFFFFF;--bg-bg-canvas: var(--color-gold-50);--bg-bg-warning: var(--color-yellow-500);--bg-bg-error: var(--color-red-500);--bg-bg-success: var(--color-green-500);--bg-bg-brand: var(--color-lime-500);--bg-bg-king: var(--color-teal-500);--bg-bg-queen: var(--color-pink-400);--bg-bg-card-inverse: var(--color-yellow-950);--bg-bg-canvas-inverse: var(--color-gold-950);--bg-bg-brand-inverse: var(--color-lime-950);--bg-button-bg-btn-primary-idle: var(--color-lime-500);--bg-button-bg-btn-primary-hover: var(--color-lime-650);--bg-button-bg-btn-primary-active: var(--color-lime-600);--bg-button-bg-btn-primary-pressed: var(--color-lime-650);--bg-button-bg-btn-secondary-idle: var(--color-grey-0);--bg-button-bg-btn-secondary-hover: var(--color-grey-50);--bg-button-bg-btn-secondary-active: var(--color-grey-0);--bg-button-bg-btn-secondary-pressed: var(--color-grey-50);--bg-button-bg-btn-primary-inverse: var(--color-lime-100);--bg-button-bg-btn-warning-idle: var(--color-yellow-400);--bg-button-bg-btn-warning-hover: var(--color-yellow-500);--bg-button-bg-btn-warning-active: var(--color-yellow-500);--bg-button-bg-btn-warning-pressed: var(--color-yellow-600);--bg-button-bg-btn-warning-inverse-idle: var(--color-yellow-50);--bg-button-bg-btn-warning-inverse-hover: var(--color-yellow-100);--bg-button-bg-btn-error-idle: var(--color-red-500);--bg-button-bg-btn-error-hover: var(--color-red-700);--bg-button-bg-btn-error-active: var(--color-red-700);--bg-button-bg-btn-error-pressed: var(--color-red-700);--bg-button-bg-btn-error-inverse-idle: var(--color-red-50);--bg-button-bg-btn-error-inverse-hover: var(--color-red-100);--bg-button-bg-btn-success-idle: var(--color-green-600);--bg-button-bg-btn-success-hover: var(--color-green-700);--bg-button-bg-btn-success-active: var(--color-green-700);--bg-button-bg-btn-success-pressed: var(--color-green-800);--bg-button-bg-btn-success-inverse-idle: var(--color-green-50);--bg-button-bg-btn-success-inverse-hover: var(--color-green-50);--bg-button-bg-btn-disabled: var(--color-grey-100);--bg-input-bg-input-idle: var(--color-grey-0);--bg-input-bg-input-hover: var(--color-grey-50);--bg-input-bg-input-active: var(--color-grey-0);--bg-input-bg-input-pressed: var(--color-grey-50);--bg-input-bg-input-error: var(--color-red-50);--bg-input-bg-input-disabled: var(--color-grey-50);--text-text-label: var(--color-lime-900);--border-border-focus: var(--color-blue-500);--border-border-card: var(--color-grey-200);--border-button-border-btn-idle: var(--color-grey-400);--border-button-border-btn-hover: var(--color-grey-500);--border-button-border-btn-active: var(--color-grey-400);--border-button-border-btn-pressed: var(--color-grey-500);--border-button-border-btn-disabled: var(--color-grey-200);--border-button-border-btn-primary-idle: var(--color-lime-500);--border-button-border-btn-primary-hover: var(--color-lime-700);--border-button-border-btn-primary-active: var(--color-lime-50);--border-button-border-btn-primary-pressed: var(--color-lime-300);--border-button-border-btn-warning-idle: var(--color-yellow-500);--border-button-border-btn-warning-hover: var(--color-yellow-700);--border-button-border-btn-warning-active: var(--color-yellow-100);--border-button-border-btn-warning-pressed: var(--color-yellow-300);--border-button-border-btn-success-idle: var(--color-green-500);--border-button-border-btn-success-hover: var(--color-green-700);--border-button-border-btn-success-active: var(--color-green-100);--border-button-border-btn-error-idle: var(--color-red-500);--border-button-border-btn-error-hover: var(--color-red-600);--border-button-border-btn-error-active: var(--color-red-700);--border-button-border-btn-error-pressed: var(--color-red-300);--border-input-border-input-idle: var(--color-grey-200);--border-input-border-input-hover: var(--color-grey-300);--border-input-border-input-active: var(--color-grey-300);--border-input-border-input-pressed: var(--color-grey-400);--border-input-border-input-error: var(--color-red-300);--border-input-border-input-disabled: var(--color-grey-100);--text-text-label-inverse: var(--color-lime-50);--text-text-warning: var(--color-yellow-700);--text-text-warning-inverse: var(--color-yellow-50);--text-text-success: var(--color-green-800);--text-text-success-inverse: var(--color-green-0);--text-text-error: var(--color-red-700);--text-text-error-inverse: var(--color-red-0);--text-text-disabled: var(--color-grey-200);--text-text-display: var(--color-grey-800);--text-text-display-inverse: var(--color-grey-0);--text-text-headline: var(--color-grey-900);--text-text-headline-inverse: var(--color-grey-0);--text-text-title: var(--color-grey-900);--text-text-title-inverse: var(--color-grey-0);--text-text-body: var(--color-grey-800);--text-text-body-inverse: var(--color-grey-50);--text-text-subtitle: var(--color-grey-600);--text-text-subtitle-inverse: var(--color-grey-50);--text-text-caption: var(--color-grey-600);--text-text-caption-inverse: var(--color-grey-50);--text-link-link-idle: var(--color-blue-600);--text-link-link-hover: var(--color-blue-700);--text-link-link-active: var(--color-blue-700);--text-link-link-presssed: var(--color-blue-800);--text-link-link-inverse: var(--color-blue-50);--icon-icon-primary-idle: var(--color-black-300);--icon-icon-primary-hover: var(--color-black-500);--icon-icon-primary-pressed: var(--color-black-600);--icon-icon-primary-inverse: var(--color-grey-0);--icon-icon-brand: var(--color-lime-600);--icon-icon-error-idle: var(--color-red-600);--icon-icon-disabled: var(--color-black-100);--icon-icon-error-inverse: var(--color-red-0);--icon-icon-warning: var(--color-yellow-600);--icon-icon-warning-inverse: var(--color-yellow-0);--icon-icon-success: var(--color-green-600);--icon-icon-success-inverse: var(--color-green-0);--icon-icon-link: var(--color-blue-600);--exceptions-alpha-50: var(--color-blackalpha-50);--exceptions-alpha-100: var(--color-blackalpha-100);--exceptions-gold: var(--color-gold-400);--exceptions-turquoise: var(--color-turquoise-600);--text-text-brand: var(--color-lime-500)}.display__large{font-size:57px;font-family:Roboto,sans-serif;font-weight:400;letter-spacing:-0.25px;line-height:64px}.display__medium{font-size:45px;font-family:Roboto,sans-serif;font-weight:400;line-height:52px}.display__small{font-size:36px;font-family:Roboto,sans-serif;font-weight:400;line-height:44px}.headline__large{font-size:32px;font-family:Roboto,sans-serif;font-weight:400;line-height:40px}.headline__medium{font-size:28px;font-family:Roboto,sans-serif;font-weight:400;line-height:36px}.headline__small{font-size:24px;font-family:Roboto,sans-serif;font-weight:400;line-height:32px}.title__large{font-size:22px;font-family:Roboto,sans-serif;font-weight:400;line-height:28px}.title__medium{font-size:16px;font-family:Roboto,sans-serif;font-weight:500;letter-spacing:.150000006px;line-height:24px}.title__small{font-size:14px;font-family:Roboto,sans-serif;font-weight:500;letter-spacing:.1000000015px;line-height:20px}.body__large{font-size:16px;font-family:Roboto,sans-serif;font-weight:400;letter-spacing:.5px;line-height:24px}.body__medium{font-size:14px;font-family:Roboto,sans-serif;font-weight:400;letter-spacing:.25px;line-height:20px}.body__small{font-size:12px;font-family:Roboto,sans-serif;font-weight:400;line-height:16px}.label__largeprominent{font-size:14px;font-family:Roboto,sans-serif;font-weight:undefined;letter-spacing:.1000000015px;line-height:20px}.label__large{font-size:14px;font-family:Roboto,sans-serif;font-weight:500;letter-spacing:.1000000015px;line-height:20px}.label__mediumprominent{font-size:12px;font-family:Roboto,sans-serif;font-weight:600;letter-spacing:.5px;line-height:16px}.label__medium{font-size:12px;font-family:Roboto,sans-serif;font-weight:500;letter-spacing:.5px;line-height:16px}.label__small{font-size:11px;font-family:Roboto,sans-serif;font-weight:500;letter-spacing:.5px;line-height:16px}.shadowbutton{box-shadow:1.5px 1.5px 0px rgba(0,0,0,.2)}.text__text__title{color:var(--Text-text-title, #1a1a1a);text-align:center;font-family:Roboto;font-size:16px;font-style:normal;font-weight:400;line-height:24px;letter-spacing:.5px}.virfice-form-info{display:flex;gap:16px;padding:12px 8px;border-radius:7px 0px 0px 7px;border-left:2px solid var(--bg-bg-brand, #C8E265);background:var(--bg-bg-canvas, #FFFAEB)}.virfice-form-info .body__large{color:var(--text-text-subtitle, #616161)}.virfice-tab-container{width:100%}.virfice-tab-container .virfice-tab-head{display:flex;gap:4px;width:100%}.virfice-tab-container .virfice-tab-head .virfice-tab-header{display:flex;height:24px;padding:2px 8px;justify-content:center;align-items:center;cursor:pointer;border-radius:6px;background-color:#fff;width:100%}.virfice-tab-container .virfice-tab-head .virfice-tab-header.active,.virfice-tab-container .virfice-tab-head .virfice-tab-header:hover{background-color:rgba(0,0,0,.0509803922)}.virfice-container{width:1038px;max-width:100%;margin-left:auto;margin-right:auto}.virfice-card{background-color:#fffefa;display:flex;padding:16px 20px;align-items:flex-start;gap:32px;border-radius:var(--Radius-M, 6px);border:1px solid var(--Greyscale-Border-Idle, #C9C9C9);background:var(--Colors-Card-idle, #FFFEFA)}.virfice-card.virfice-padding-0{padding:0}.virfice-btn{width:max-content;display:flex;padding:var(--V-Padding, 6px) var(--H-Padding, 12px);justify-content:center;align-items:center;gap:var(--Spacing, 4px);border-radius:var(--Radius, 999px);background:var(--bg-button-bg-btn-primary-idle);box-shadow:1.5px 1.5px 0px 0px rgba(0,0,0,.2);border:1px solid var(--Greyscale-Border-Pressed, #949494);color:var(--Greyscale-Text-Body, #303030);cursor:pointer}.virfice-btn:disabled{background:var(--bg-button-bg-btn-disabled, #e6e6e6);pointer-events:none}.virfice-btn.virfice-btn-primary:hover{background:var(--bg-button-bg-btn-primary-hover, rgb(169, 201, 44))}.virfice-btn.virfice-small{padding:4px 8px}.virfice-btn.virfice-btn-danger{border:1px solid var(--border-button-border-btn-error-idle, #ff0d00);background:var(--bg-button-bg-btn-error-inverse-idle, #ffe7e5)}.virfice-btn.virfice-btn-danger:hover{border:1px solid var(--border-button-border-btn-error-hover, #cc0a00);background:var(--bg-button-bg-btn-error-inverse-hover, #ffcfcc)}.virfice-btn.virfice-btn-danger:focus{border:1px solid var(--border-button-border-btn-error-active, #990800);background:var(--Bg-button-bg-btn-error-inverse-idle, #ffe7e5)}.virfice-btn.virfice-btn-secondary{background:#fcfcfc}.virfice-btn.virfice-btn-secondary:hover{background:#f2f2f2}.virfice-btn.virfice-btn-secondary:focus{background:#fcfcfc}.virfice-btn.virfice-btn-tertiary{border-radius:none;background:none;box-shadow:unset;border:1px solid rgba(0,0,0,0)}.virfice-btn.virfice-btn-tertiary.virfice-active,.virfice-btn.virfice-btn-tertiary:hover{background:#f2f2f2 !important}.virfice-btn.virfice-btn-tertiary:focus{background:#fcfcfc}.virfice-btn.virfice-btn-outline{background:none}.virfice-btn.virfice-btn-outline.virfice-active,.virfice-btn.virfice-btn-outline:hover{background:#f2f2f2 !important}.virfice-btn.virfice-btn-outline:focus{background:#fcfcfc}.virfice-btn.virfice-btn-plain{background:rgba(0,0,0,0);color:#06c;border:none;box-shadow:none;padding-left:0}.virfice-btn.virfice-btn-plain:hover{color:#004d99;text-decoration:underline}.virfice-btn.virfice-btn-plain:focus{color:#036;text-decoration:underline}.virfice-btn.virfice-icon{padding:6px !important}.virfice-toggle-btn{display:flex;flex-direction:column;gap:4px}.virfice-toggle-btn .virfice-toggle-btn__wrapper{display:flex;width:100%;border:1px solid var(--border-button-border-btn-idle, #949494);border-radius:4px;overflow:hidden}.virfice-toggle-btn .virfice-toggle-btn__wrapper .virfice-toggle-btn__option{width:100%;padding-top:8px;padding-bottom:8px;display:flex;justify-content:center;align-items:center;cursor:pointer}.virfice-toggle-btn .virfice-toggle-btn__wrapper .virfice-toggle-btn__option.virfice-toggle-btn__option--active{background-color:#f2f2f2}.virfice-toggle-btn .virfice-toggle-btn__wrapper .virfice-toggle-btn__option:not(:last-child){border-right:1px solid var(--border-button-border-btn-idle, #949494)}.virfice-textfileld-wrapper{display:flex;width:100%;flex-direction:column;align-items:flex-start;gap:4px}.virfice-textfileld-wrapper .body__medium{color:var(--text-text-title)}.virfice-textfileld-wrapper input,.virfice-textfileld-wrapper textarea{display:flex;flex-direction:column;align-items:flex-start;gap:var(--p-sapce-100);align-self:stretch;padding:7px 12px;border-radius:var(--Radius-S, 4px);border:1px solid var(--border-input-border-input-idle, #c9c9c9);background:var(--Bg-input-bg-input-idle, #fcfcfc);line-height:20px}.virfice-selectfileld-wrapper{display:flex;width:100%;flex-direction:column;align-items:flex-start;gap:4px}.virfice-selectfileld-wrapper .body__medium{color:var(--text-text-title)}.virfice-selectfileld-wrapper input{cursor:pointer;display:flex;flex-direction:column;align-items:flex-start;gap:var(--p-sapce-100);align-self:stretch;padding:7px 12px;padding-right:36px;border-radius:var(--Radius-S, 4px);border:1px solid var(--border-input-border-input-idle, #c9c9c9);background:var(--Bg-input-bg-input-idle, #fcfcfc);line-height:20px}.virfice-selectfileld-wrapper .virfice-backdrop{position:fixed;top:0;left:0;height:100%;width:100%;background-color:rgba(26,26,26,.0823529412)}.virfice-selectfileld-wrapper ul{position:absolute;z-index:2;background:#fff;width:100%;top:23px;border-radius:var(--radius-S, 4px);border:1px solid var(--border-input-border-input-idle, #c9c9c9);background:var(--bg-bg-soul, #fff);box-shadow:3px 3px 0px 0px #c1c1c1}.virfice-selectfileld-wrapper ul li{cursor:pointer;cursor:pointer;padding-left:16px;padding-top:8px;padding-bottom:8px;margin-bottom:0}.virfice-selectfileld-wrapper ul li:hover{background-color:rgba(176,176,176,.1411764706)}.virfice-paintfield-wrapper{display:flex;width:100%;flex-direction:column;align-items:flex-start;gap:4px}.virfice-paintfield-wrapper input{width:100%;padding:7px 12px;margin-left:0;border-radius:0px 4px 4px 0px;border:1px solid var(--border-input-border-input-idle, #c9c9c9);background:var(--Bg-input-bg-input-idle, #fcfcfc);line-height:20px}.virfice-paintfield-wrapper input:focus{border-radius:0px 4px 4px 0px}.virfice-paintfield-wrapper .virfice-color-code{display:flex;width:100%;border-radius:4px 0px 0px 4px;border-top:1px solid var(--border-input-border-input-idle, #c9c9c9);border-bottom:1px solid var(--border-input-border-input-idle, #c9c9c9);border-left:1px solid var(--border-input-border-input-idle, #c9c9c9);background:var(--Bg-input-bg-input-idle, #fcfcfc);position:relative}.virfice-paintfield-wrapper .sketch-picker{position:relative;top:34px}.virfice-feature-list-item{width:83px}.virfice-feature-list-item .virfice-illustration-wrapper{background-color:#f4f9e1;height:80px;width:100%;display:flex;justify-content:center;align-items:center}.virfice-feature-list-item .virfice-title{color:var(--Greyscale-Text-Title, #1A1A1A);font-family:Roboto;font-size:12px;font-style:normal;font-weight:400;line-height:16px;margin:0}.virfice-media-uploader-wrapper{display:flex;width:100%;flex-direction:column;align-items:flex-start;gap:4px}.virfice-media-uploader-wrapper .body__medium{color:var(--text-text-subtitle, #616161);text-align:center}.virfice-media-uploader-wrapper .virfice-media-uploader-has-media{border-radius:var(--radius-S, 4px);border:1px solid #c9c9c9;background-image:conic-gradient(rgba(0, 0, 0, 0.12) 0deg 90deg, rgba(0, 0, 0, 0.06) 90deg 180deg, rgba(0, 0, 0, 0.12) 180deg 270deg, rgba(0, 0, 0, 0.06) 270deg 360deg);background-size:20px 20px;background-position:center top;height:214px;width:100%;display:flex;justify-content:center;align-items:center;position:relative}.virfice-media-uploader-wrapper .virfice-media-uploader-has-media .virfice-media-uploader-has-media-actions{visibility:hidden;background:rgba(0,0,0,.6);position:absolute;inset:0;display:flex;justify-content:center;align-items:center;gap:8px}.virfice-media-uploader-wrapper .virfice-media-uploader-has-media:hover .virfice-media-uploader-has-media-actions{visibility:visible}.virfice-media-uploader-wrapper .virfice-media-uploader-empty{width:100%;border-radius:var(--radius-S, 4px);border:1px solid #c9c9c9;background:var(--bg-input-bg-input-idle, #FCFCFC);padding:24px 32px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:8px}.virfice-modal .virfice-backdrop{position:fixed;inset:0;z-index:9999;background:rgba(18,22,4,.94);backdrop-filter:blur(6px)}.virfice-modal .virfice-modal-wrapper{position:fixed;width:380px;top:50%;left:50%;transform:translate(-50%, -50%);z-index:10000;border-radius:var(--radius-l, 12px);background:var(--p-color-bg-surface, white);overflow:hidden}.virfice-modal .virfice-modal-wrapper .virfice-modal-header{display:flex;padding:16px;align-items:center;gap:var(--p-sapce-200);justify-content:space-between;border-bottom:1px solid var(--p-color-border);background:var(--bg-button-bg-btn-primary-inverse, #F4F9E1)}.virfice-modal .virfice-modal-wrapper .virfice-modal-header .virfice-modal-close{cursor:pointer}.virfice-modal .virfice-modal-wrapper .virfice-modal-body{padding:12px 16px}.virfice-modal .virfice-modal-wrapper .virfice-modal-footer{padding:16px;border-top:1px solid var(--border-input-border-input-idle, #C9C9C9);background:var(--p-color-bg-surface);display:flex;justify-content:flex-end}.virfice-data-table{width:100%;text-align:left;border-collapse:collapse}.virfice-data-table thead th{border-bottom:1px solid #e3e3e3;padding:12px}.virfice-data-table tbody .virfice-action-buttons{visibility:hidden}.virfice-data-table tbody tr:hover{cursor:pointer;background-color:#f2f2f2}.virfice-data-table tbody tr:hover .virfice-action-buttons{visibility:visible}.virfice-data-table tbody td{border-bottom:1px solid #e3e3e3;padding:12px}.virfice-badge{background:var(--bg-button-bg-btn-secondary-idle, rgb(252, 252, 252));padding-top:2px;padding-bottom:2px;padding-left:8px;padding-right:8px;display:inline-flex;justify-content:center;align-items:center;border-radius:var(--radius-Full, 999px);gap:4px;font-family:Roboto;font-size:12px;font-style:normal;font-weight:500;line-height:16px;letter-spacing:.5px}.virfice-badge.virfice-active{background:var(--bg-button-bg-btn-success-inverse-idle, rgb(225, 255, 236))}.virfice-badge.virfice-active svg{color:#029c3d}.virfice-badge.virfice-success{background:var(--bg-button-bg-btn-success-idle, rgb(2, 156, 61))}.virfice-badge.virfice-warning{background:var(--bg-button-bg-btn-warning-idle, rgb(255, 235, 51))}.virfice-badge.virfice-in-active{background:var(--bg-button-bg-btn-disabled, rgb(230, 230, 230))}.virfice-badge.virfice-in-active svg{color:#666}.virfice-notification-bell{display:flex;width:300px;padding:8px;justify-content:center;align-items:center;width:100%;z-index:10000}.virfice-notification-bell.virfice-success{background:var(--bg-bg-success, #03C04A);color:#fafffc}.virfice-notification-bell.virfice-danger{background:var(--bg-bg-error, #FF0D00);color:#fafffc}.virfice-help-text{font-size:11px}.virfice-help-text code{font-size:11px;padding:1px;background:#f4f9e1}.virfice-rangefield-wrapper{display:flex;width:100%;flex-direction:column;align-items:flex-start;gap:4px}.virfice-rangefield-wrapper .body__medium{color:var(--text-text-title)}.virfice-rangefield-wrapper .virfice-range-and-input-wrapper{display:flex;width:100%;gap:12px}.virfice-rangefield-wrapper .virfice-range-and-input-wrapper .virfice-textfileld-wrapper{max-width:77px}.virfice-rangefield-wrapper .virfice-range-and-input-wrapper .virfice-textfileld-wrapper input{padding-right:32px}.virfice-accordion .virfice-accordion-header{cursor:pointer;color:var(--text-text-body, #303030);font-family:Roboto;font-size:16px;font-style:normal;font-weight:500;line-height:24px;letter-spacing:.15px;display:flex;padding:4px 8px 4px 0px;justify-content:space-between;align-items:center}.virfice-accordion .virfice-accordion-header.virfice-active{border-radius:6px;background:#f2f2f2;padding-left:8px}.virfice-accordion .virfice-accordion-header svg{margin-right:-8px}.virfice-accordion .virfice-accordion-content{padding-top:12px;padding-bottom:12px}*,*::before,*::after{box-sizing:border-box}body{background-color:#fef8ee}a{cursor:pointer}svg{max-width:100%;max-height:100%}#virfice-dashboard{margin-left:-20px;position:fixed;top:0;background:#fef8ee;z-index:3;width:calc(100% - 160px);height:100%;overflow:overlay;padding-bottom:64px;-webkit-user-select:none;-ms-user-select:none;user-select:none}.folded #virfice-dashboard{width:calc(100% - 36px)}.virfice-cursor-pointer{cursor:pointer}.virfice-w-100{width:100%}.virfice-flex{display:flex}.virfice-flex-col{display:flex;flex-direction:column}.virfice-flex-align-center{display:flex;align-items:center}.virfice-flex-justify-center{display:flex;justify-content:center}.virfice-flex-center-center{display:flex;justify-content:center;align-items:center}.virfice-flex-space-between{display:flex;justify-content:space-between}.virfice-gap-2{gap:4px}.virfice-gap-4{gap:4px}.virfice-gap-6{gap:6px}.virfice-gap-8{gap:8px}.virfice-gap-16{gap:16px}.virfice-gap-20{gap:20px}.virfice-gap-24{gap:24px}.virfice-mp-0{margin:0;padding:0}.virfice-sticky-top-110{position:sticky;top:110px}.virfice-landing-header-section{border-bottom:1px solid var(--Greyscale-Border-Idle, #c9c9c9);margin-bottom:32px;padding-top:8px;padding-bottom:8px;position:sticky;top:32px;margin-bottom:64px;background-color:#f4f9e1;z-index:2}.virfice-landing-header-section p{color:#000;font-family:Roboto;font-size:16px;font-style:normal;font-weight:400;line-height:24px;letter-spacing:.5px;margin:0}.virfice-feature-card{justify-content:space-between;align-items:center}.virfice-feature-card .virfice-heading{color:var(--Greyscale-Text-Title, #1a1a1a);font-family:Roboto;font-size:36px;font-style:normal;font-weight:500;line-height:44px;margin:0}.virfice-feature-card .virfice-sub-heading{color:var(--Greyscale-Text-Body, #303030);font-family:Roboto;font-size:16px;font-style:normal;font-weight:400;line-height:24px;letter-spacing:.5px;max-width:320px;margin:0}.virfice-feature-card .virfice-sub-headingstrong{font-weight:700}.virfice-feature-card .virfice-feature-list-wrapper{display:flex;flex-wrap:wrap;gap:24px;width:190px}.virfice-callout-card .virfice-heading{color:var(--p-color-text);font-family:Roboto;font-size:16px;font-style:normal;font-weight:500;line-height:24px;letter-spacing:.15px;margin:0;margin-bottom:4px}.virfice-callout-card .virfice-sub-heading{color:var(--p-color-text);font-family:Roboto;font-size:14px;font-style:normal;font-weight:400;line-height:20px;letter-spacing:.25px;margin:0;margin-bottom:16px}.virfice-callout-card .virfice-illustration-wrapper{height:144px;border-radius:6px}.virfice-table-card{padding:0;overflow:hidden}.virfice-stickty-top-nav{background:var(--Colors-Surface-Light, #f4f9e1);box-shadow:1.5px 1.5px 0px 0px rgba(0,0,0,.2);position:sticky;top:32px;z-index:2;margin-bottom:64px}.virfice-stickty-top-nav .virfice-action-wrapper{height:56px}.virfice-stickty-top-nav .virfice-action-wrapper .virfice-back{color:var(--p-color-text);font-feature-settings:"clig" off,"liga" off;font-family:Inter;font-size:14px;font-style:normal;font-weight:550;line-height:20px}.virfice-card-header{padding-bottom:12px;border-bottom:1px solid var(--Border-border-card, #c9c9c9);margin-bottom:16px}.virfice-form-group{display:flex;flex-direction:column;gap:12px;width:100%}#virfice-email-preview{border-radius:7px}.virfice-settings-menu{width:100%;min-height:70vh}.virfice-settings-menu .virfice-header{padding-top:16px;padding-bottom:12px;padding-left:16px}.virfice-settings-menu .virfice-header h2{margin:0}.virfice-settings-menu ul{width:100%;margin-bottom:0}.virfice-settings-menu ul li{width:100%;height:40px;display:flex;align-items:center;gap:8px;margin-bottom:0;padding-left:16px;overflow:hidden;text-overflow:ellipsis;font-family:Roboto;font-size:12px;font-style:normal;font-weight:600;line-height:16px;letter-spacing:.5px;cursor:pointer;border-top:1px solid var(--border-border-card, #c9c9c9)}.virfice-settings-menu ul li:last-child{border-bottom:1px solid var(--border-border-card, #c9c9c9)}.virfice-settings-menu ul li.virfice-active,.virfice-settings-menu ul li:hover{background:var(--bg-button-bg-btn-primary-inverse, #f4f9e1)}.virfice-ready-blocks-wrapper{width:100%}.virfice-ready-blocks-wrapper .virfice-single-ready-block{border-radius:var(--radius-m, 6px);border:1px solid var(--border-border-card, #c9c9c9);background:var(--bg-bg-soul, #fff);margin-bottom:12px;overflow:hidden}.virfice-ready-blocks-wrapper .virfice-single-ready-block img{width:100%}.virfice-ready-blocks-wrapper .virfice-single-ready-block:last-child{margin-bottom:-12px}.virfice-border-type-selection{display:flex;flex-direction:column;gap:16px}.virfice-border-type-selection .virfice-border-type-selection-item{padding:24px 12px;border-radius:var(--radius-S, 4px);border:1px solid var(--border-input-border-input-idle, #c9c9c9);background:var(--bg-input-bg-input-idle, #fcfcfc);cursor:pointer}.virfice-border-type-selection .virfice-border-type-selection-item:hover{border:1px solid var(--bg-bg-brand, #c8e265);background:var(--bg-button-bg-btn-primary-inverse, #f4f9e1)}.virfice-border-type-selection .virfice-border-type-selection-item span{width:100%;display:block;border-top-width:4px;border-top-color:var(--border-button-border-btn-idle, #949494)}.virfice-inbox-preview{position:relative}.virfice-inbox-preview .virfice-inbox-preview-active{position:absolute;border-radius:7px 0px 0px 7px;border:1px solid var(--border-border-card, #c9c9c9);background:#fff;box-shadow:-3px 0px 0px 0px #c8e265;display:flex;gap:16px;padding:16px;width:381px;height:107px;top:118px;left:-13px}.virfice-inbox-preview .virfice-inbox-preview-active img{width:37px;height:37px;border-radius:50%}.virfice-inbox-preview .virfice-inbox-preview-active .virfice-inbox-preview-active-title{color:var(--gmail-black, #292929);font-family:"Open Sans";font-size:16px;font-style:normal;font-weight:700;line-height:normal}.virfice-inbox-preview .virfice-inbox-preview-active .virfice-inbox-preview-active-sub-title{color:var(--gmail-black, #292929);font-family:Roboto;font-size:14px;font-style:normal;font-weight:500;line-height:normal}.virfice-inbox-preview .virfice-inbox-preview-active .virfice-inbox-preview-active-message{color:var(--gmail-grey, #5d5c5d);font-family:Roboto;font-size:14px;font-style:normal;font-weight:400;line-height:normal}.virfice-builder-section-main{position:absolute;top:112px;margin:auto;width:100%}.virfice-builder-section-main.virfice-builder-section-main-brand-settings{top:unset}.virfice-builder-section-main.virfice-builder-section-main-brand-settings .virfice-builder-right-panel-wrapper{overflow:scroll}.virfice-builder-section-main .virfice-builder-left-panel-wrapper{width:880px}.virfice-builder-section-main .virfice-builder-left-panel-wrapper #virfice-editor-wrapper{height:calc(-204px + 100vh);text-align:center}.virfice-builder-section-main .virfice-builder-right-panel-wrapper{width:380px;height:calc(-120px + 100vh)}.virfice-builder-section-main .virfice-ready-blocks-wrapper{width:378px;height:calc(100vh - 120px);overflow:scroll;margin-left:-20px;padding-left:20px;padding-right:20px;padding-bottom:16px;margin-bottom:-16px}.virfice-editor-wrapper{position:relative}.virfice-editor-wrapper iframe{height:100%;width:100%}.virfice-editor-wrapper .virfice-element-controls.virfice-empty-canvas{width:100%;position:absolute;top:20px}.virfice-editor-wrapper .virfice-element-controls .virfice-element-border{box-shadow:0 2px 0 0 #02732d;box-shadow:0 -2px 0 0 #02732d;box-shadow:-2px 0 0 0 #02732d;box-shadow:2px 0 0 0 #02732d;box-shadow:0 0 0 2px #02732d;pointer-events:none}.virfice-editor-wrapper .virfice-element-controls .virfice-right-control{pointer-events:all;position:absolute;right:-36px;top:0px;border-radius:99px;border:1px solid #c9c9c9;width:28px;background:#fff;box-shadow:3px 4px 6px -3px rgba(10,10,10,.08);overflow:hidden;display:flex;flex-direction:column;align-items:center}.virfice-editor-wrapper .virfice-element-controls .virfice-right-control .virfice-item{line-height:0;cursor:pointer}.virfice-editor-wrapper .virfice-element-controls .virfice-right-control .virfice-item:hover{background:#f2f2f2}.virfice-editor-wrapper .virfice-element-hover-border{box-shadow:0 2px 0 0 #03c04a;box-shadow:0 -2px 0 0 #03c04a;box-shadow:-2px 0 0 0 #03c04a;box-shadow:2px 0 0 0 #03c04a;box-shadow:0 0 0 2px #03c04a;pointer-events:none}.virfice-editor-wrapper .virfice-element-hover-border .virfice-add-section-button-wrapper{opacity:0}.virfice-editor-wrapper .virfice-empty-add-button{position:relative;padding:20px}.virfice-editor-wrapper .virfice-empty-add-button .virfice-add-section-button-wrapper{position:relative !important;bottom:unset}.virfice-editor-wrapper .virfice-add-section-button-wrapper{position:absolute;bottom:-16px;display:flex;justify-content:center;align-items:center;width:100%;transition:all .3s}.virfice-editor-wrapper .virfice-add-section-button-wrapper.virfice-add-section-button-wrapper-opened{opacity:1}.virfice-editor-wrapper .virfice-add-section-button-wrapper:hover{opacity:1 !important}.virfice-editor-wrapper .virfice-add-section-button-wrapper .virfice-add-section-items-wrapper{position:absolute;background:#f4f9e1;width:100%;top:-14px;border:1px dashed #89a31f}.virfice-editor-wrapper .virfice-add-section-button-wrapper .virfice-add-section-header{display:flex;padding:16px;align-items:center;gap:8px;justify-content:space-between;border-bottom:1px solid #c9c9c9}.virfice-editor-wrapper .virfice-add-section-button-wrapper .virfice-add-section-header .virfice-title{color:var(--text-text-headline, #1a1a1a);font-family:Roboto;font-size:16px;font-style:normal;font-weight:500;line-height:24px;letter-spacing:.15px}.virfice-editor-wrapper .virfice-add-section-button-wrapper .virfice-add-section-body{padding:16px;gap:16px;display:flex;flex-wrap:wrap;align-items:center;justify-content:center}.virfice-editor-wrapper .virfice-add-section-button-wrapper .virfice-add-section-body .virfice-item{pointer-events:all;display:flex;height:80px;width:100px;flex-direction:column;justify-content:center;align-items:center;gap:var(--spacing, 4px);flex-shrink:0;border-radius:16px;border:var(--size-0, 1px) solid var(--border-button-border-btn-idle, #949494);background:var(--bg-button-bg-btn-secondary-idle, #fcfcfc);box-shadow:1.5px 1.5px 0px 0px rgba(0,0,0,.2);cursor:pointer}.virfice-editor-wrapper .virfice-add-section-button-wrapper .virfice-add-section-body .virfice-item:hover{background:var(--bg-button-bg-btn-secondary-hover, #f2f2f2)}.virfice-editor-wrapper .virfice-add-section-button-wrapper .virfice-add-section-body .virfice-item .virfice-item-title{white-space:nowrap;text-overflow:ellipsis;max-width:90px;overflow:hidden}.virfice-template-wrapper *{user-select:none;cursor:default;line-height:1 !important}.virfice-settings-wrapper{width:378px;height:calc(100vh - 186px);overflow:scroll;margin-left:-20px;padding-left:20px;padding-right:20px;padding-bottom:16px;margin-bottom:-16px}.virfice-settings-wrapper .virfice-child-list{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:4px;user-select:none;cursor:default;align-self:stretch}.virfice-settings-wrapper .virfice-child-list .virfice-item{border-radius:6px;background:#fff;display:flex;padding:4px 8px;align-items:center;gap:8px;overflow:hidden;justify-content:space-between;width:100%}.virfice-settings-wrapper .virfice-child-list .virfice-item:hover{border-radius:6px;background:#f2f2f2}.virfice-settings-wrapper .virfice-child-list .virfice-item .virfice-item-action-wrapper{display:flex;gap:8px;line-height:0}.virfice-settings-wrapper .virfice-child-list .virfice-item .virfice-item-action-wrapper .virfice-item-action{cursor:pointer}.virfice-settings-wrapper .virfice-child-list .virfice-item .virfice-item-action-wrapper .virfice-item-action:hover{background:#f2f2f2}.virfice-template-preview-wrapper{width:100%;height:100%;position:relative;top:64px}.virfice-template-preview-wrapper .virfice-desktop{width:600px;margin:auto;box-shadow:0px 440px 123px 0px rgba(0,0,0,0),0px 282px 113px 0px rgba(0,0,0,.01),0px 158px 95px 0px rgba(0,0,0,.05),0px 70px 70px 0px rgba(0,0,0,.09),0px 18px 39px 0px rgba(0,0,0,.1)}.virfice-template-preview-wrapper .virfice-desktop iframe{height:658px !important;width:600px;top:-5px;position:relative}.virfice-template-preview-wrapper .virfice-actions{position:absolute;right:64px;bottom:64px;border-radius:99px;border:1px solid var(--border-border-card, #c9c9c9);background:var(--bg-bg-brand, #c8e265);box-shadow:3px 4px 12px -3px rgba(92,110,22,.5)}
     2:root{--color-purple-0: #FBF9FF;--color-pink-0: #FFF9FC;--color-purple-50: #F3EDFD;--color-purple-100: #EBDFFB;--color-purple-200: #D4BBF7;--color-purple-300: #C09BF3;--color-purple-400: #A876EF;--color-purple-500: #9556EB;--color-purple-600: #6F1BE4;--color-purple-700: #5415AD;--color-purple-800: #370E72;--color-purple-900: #1D073B;--color-purple-950: #0D031B;--color-pink-50: #FFE5F2;--color-pink-100: #FFCCE6;--color-pink-200: #FF99CC;--color-pink-300: #FF66B3;--color-pink-400: #FF3399;--color-pink-500: #FF017E;--color-pink-600: #CC0066;--color-pink-700: #99004D;--color-pink-800: #660033;--color-pink-900: #33001A;--color-gold-0: #FFFDF9;--color-pink-950: #19000D;--color-gold-50: #FFF9EA;--color-gold-100: #FFF0C2;--color-gold-200: #FFDF80;--color-gold-300: #FFD042;--color-gold-400: #FFBF00;--color-gold-500: #C29200;--color-gold-600: #997300;--color-gold-700: #755800;--color-gold-800: #4D3900;--color-gold-900: #291F00;--color-gold-950: #140F00;--color-grey-0: #FCFCFC;--color-grey-50: #F2F2F2;--color-grey-100: #E6E6E6;--color-grey-200: #C9C9C9;--color-grey-300: #B0B0B0;--color-grey-400: #949494;--color-grey-500: #797979;--color-grey-600: #616161;--color-grey-700: #4A4A4A;--color-grey-800: #303030;--color-grey-900: #1A1A1A;--color-grey-950: #0D0D0D;--color-black-0: #FCFCFC;--color-black-50: #E6E6E6;--color-black-100: #CCCCCC;--color-black-200: #999999;--color-black-300: #666666;--color-black-400: #333333;--color-black-500: #000000;--color-black-600: #000000;--color-black-700: #000000;--color-black-800: #000000;--color-black-900: #000000;--color-orange-0: #FFFCF9;--color-black-950: #000000;--color-orange-50: #FFF2E5;--color-orange-100: #FFE6CC;--color-orange-200: #FFCC99;--color-orange-300: #FFB366;--color-orange-400: #FF9933;--color-orange-500: #FE7F00;--color-orange-600: #CC6600;--color-orange-700: #994D00;--color-orange-800: #663300;--color-orange-900: #331A00;--color-orange-950: #190D00;--color-yellow-0: #FFFEF9;--color-yellow-50: #FFFCE5;--color-yellow-100: #FFFACC;--color-yellow-200: #FFF599;--color-yellow-300: #FFF066;--color-yellow-400: #FFEB33;--color-yellow-500: #FFE600;--color-yellow-600: #CCB800;--color-yellow-700: #998A00;--color-yellow-800: #665C00;--color-yellow-900: #332E00;--color-green-0: #F9FFFB;--color-yellow-950: #191700;--color-green-50: #E1FFEC;--color-green-100: #C3FED9;--color-green-200: #81FDB1;--color-green-300: #45FC8B;--color-green-400: #09FB66;--color-green-500: #03C04A;--color-green-600: #029C3D;--color-green-700: #02732D;--color-green-800: #014B1E;--color-green-900: #012810;--color-lime-0: #FDFEFA;--color-green-950: #001408;--color-lime-50: #F9FCEE;--color-lime-100: #F4F9E1;--color-lime-200: #EAF4C3;--color-lime-300: #DEEDA1;--color-lime-400: #D3E883;--color-lime-500: #C8E265;--color-lime-600: #B5D72D;--color-lime-650: #A9C82C;--color-lime-700: #89A31F;--color-lime-800: #5D7015;--color-lime-900: #2F380B;--color-teal-0: #F9FEFF;--color-lime-950: #161A05;--color-teal-50: #E1FEFF;--color-teal-100: #C2FEFF;--color-teal-200: #85FCFE;--color-teal-300: #4DFBFE;--color-teal-400: #10FAFE;--color-teal-500: #01CED1;--color-teal-600: #01A5A7;--color-teal-700: #017D7F;--color-teal-800: #005051;--color-teal-900: #002829;--color-teal-950: #001414;--color-turquoise-0: #F9FDFF;--color-turquoise-50: #EBF9FE;--color-turquoise-100: #D8F3FD;--color-turquoise-200: #B1E8FC;--color-turquoise-300: #84DBFA;--color-turquoise-400: #5DCFF9;--color-turquoise-500: #35C4F7;--color-turquoise-600: #09ACE7;--color-turquoise-700: #0780AC;--color-turquoise-800: #055876;--color-turquoise-900: #022C3B;--color-blue-0: #F9FCFF;--color-turquoise-950: #01161D;--color-blue-50: #E5F2FF;--color-blue-100: #CCE6FF;--color-blue-200: #99CCFF;--color-blue-300: #66B3FF;--color-blue-400: #3399FF;--color-blue-500: #0080FF;--color-blue-600: #0066CC;--color-blue-700: #004D99;--color-blue-800: #003366;--color-blue-900: #001A33;--color-blue-950: #000D19;--color-indigo-0: #F9F9FF;--color-indigo-50: #F2F2FD;--color-indigo-100: #E5E5FB;--color-indigo-200: #C7C6F6;--color-indigo-300: #ADACF1;--color-indigo-400: #8F8DEC;--color-indigo-500: #7473E8;--color-indigo-600: #3835DE;--color-indigo-700: #201DB4;--color-indigo-800: #151376;--color-indigo-900: #0B0A3D;--color-indigo-950: #05051F;--color-red-0: #FFFAF9;--color-red-50: #FFE7E5;--color-red-100: #FFCFCC;--color-red-200: #FF9E99;--color-red-300: #FF6E66;--color-red-400: #FF3D33;--color-red-500: #FF0C00;--color-red-600: #CC0A00;--color-red-700: #990800;--color-red-800: #660500;--color-red-900: #330300;--color-red-950: #190100;--number-none: 0;--number-1px: 1;--number-2px: 2;--number-4px: 4;--number-6px: 6;--number-8px: 8;--number-12px: 12;--number-16px: 16;--number-20px: 20;--number-24px: 24;--number-32px: 32;--number-40px: 40;--number-full: 999;--color-blackalpha-0: #000000;--color-blackalpha-50: #0000000C;--color-blackalpha-100: #00000019;--color-blackalpha-200: #00000033;--color-blackalpha-300: #0000004C;--color-blackalpha-400: #00000066;--color-blackalpha-500: #0000007F;--color-blackalpha-600: #00000099;--color-blackalpha-700: #000000B2;--color-blackalpha-800: #000000CC;--color-blackalpha-900: #000000E5;--color-blackalpha-950: #000000;--bg-bg-card: var(--color-yellow-0);--bg-bg-soul: #FFFFFF;--bg-bg-canvas: var(--color-gold-50);--bg-bg-warning: var(--color-yellow-500);--bg-bg-error: var(--color-red-500);--bg-bg-success: var(--color-green-500);--bg-bg-brand: var(--color-lime-500);--bg-bg-king: var(--color-teal-500);--bg-bg-queen: var(--color-pink-400);--bg-bg-card-inverse: var(--color-yellow-950);--bg-bg-canvas-inverse: var(--color-gold-950);--bg-bg-brand-inverse: var(--color-lime-950);--bg-button-bg-btn-primary-idle: var(--color-lime-500);--bg-button-bg-btn-primary-hover: var(--color-lime-650);--bg-button-bg-btn-primary-active: var(--color-lime-600);--bg-button-bg-btn-primary-pressed: var(--color-lime-650);--bg-button-bg-btn-secondary-idle: var(--color-grey-0);--bg-button-bg-btn-secondary-hover: var(--color-grey-50);--bg-button-bg-btn-secondary-active: var(--color-grey-0);--bg-button-bg-btn-secondary-pressed: var(--color-grey-50);--bg-button-bg-btn-primary-inverse: var(--color-lime-100);--bg-button-bg-btn-warning-idle: var(--color-yellow-400);--bg-button-bg-btn-warning-hover: var(--color-yellow-500);--bg-button-bg-btn-warning-active: var(--color-yellow-500);--bg-button-bg-btn-warning-pressed: var(--color-yellow-600);--bg-button-bg-btn-warning-inverse-idle: var(--color-yellow-50);--bg-button-bg-btn-warning-inverse-hover: var(--color-yellow-100);--bg-button-bg-btn-error-idle: var(--color-red-500);--bg-button-bg-btn-error-hover: var(--color-red-700);--bg-button-bg-btn-error-active: var(--color-red-700);--bg-button-bg-btn-error-pressed: var(--color-red-700);--bg-button-bg-btn-error-inverse-idle: var(--color-red-50);--bg-button-bg-btn-error-inverse-hover: var(--color-red-100);--bg-button-bg-btn-success-idle: var(--color-green-600);--bg-button-bg-btn-success-hover: var(--color-green-700);--bg-button-bg-btn-success-active: var(--color-green-700);--bg-button-bg-btn-success-pressed: var(--color-green-800);--bg-button-bg-btn-success-inverse-idle: var(--color-green-50);--bg-button-bg-btn-success-inverse-hover: var(--color-green-50);--bg-button-bg-btn-disabled: var(--color-grey-100);--bg-input-bg-input-idle: var(--color-grey-0);--bg-input-bg-input-hover: var(--color-grey-50);--bg-input-bg-input-active: var(--color-grey-0);--bg-input-bg-input-pressed: var(--color-grey-50);--bg-input-bg-input-error: var(--color-red-50);--bg-input-bg-input-disabled: var(--color-grey-50);--text-text-label: var(--color-lime-900);--border-border-focus: var(--color-blue-500);--border-border-card: var(--color-grey-200);--border-button-border-btn-idle: var(--color-grey-400);--border-button-border-btn-hover: var(--color-grey-500);--border-button-border-btn-active: var(--color-grey-400);--border-button-border-btn-pressed: var(--color-grey-500);--border-button-border-btn-disabled: var(--color-grey-200);--border-button-border-btn-primary-idle: var(--color-lime-500);--border-button-border-btn-primary-hover: var(--color-lime-700);--border-button-border-btn-primary-active: var(--color-lime-50);--border-button-border-btn-primary-pressed: var(--color-lime-300);--border-button-border-btn-warning-idle: var(--color-yellow-500);--border-button-border-btn-warning-hover: var(--color-yellow-700);--border-button-border-btn-warning-active: var(--color-yellow-100);--border-button-border-btn-warning-pressed: var(--color-yellow-300);--border-button-border-btn-success-idle: var(--color-green-500);--border-button-border-btn-success-hover: var(--color-green-700);--border-button-border-btn-success-active: var(--color-green-100);--border-button-border-btn-error-idle: var(--color-red-500);--border-button-border-btn-error-hover: var(--color-red-600);--border-button-border-btn-error-active: var(--color-red-700);--border-button-border-btn-error-pressed: var(--color-red-300);--border-input-border-input-idle: var(--color-grey-200);--border-input-border-input-hover: var(--color-grey-300);--border-input-border-input-active: var(--color-grey-300);--border-input-border-input-pressed: var(--color-grey-400);--border-input-border-input-error: var(--color-red-300);--border-input-border-input-disabled: var(--color-grey-100);--text-text-label-inverse: var(--color-lime-50);--text-text-warning: var(--color-yellow-700);--text-text-warning-inverse: var(--color-yellow-50);--text-text-success: var(--color-green-800);--text-text-success-inverse: var(--color-green-0);--text-text-error: var(--color-red-700);--text-text-error-inverse: var(--color-red-0);--text-text-disabled: var(--color-grey-200);--text-text-display: var(--color-grey-800);--text-text-display-inverse: var(--color-grey-0);--text-text-headline: var(--color-grey-900);--text-text-headline-inverse: var(--color-grey-0);--text-text-title: var(--color-grey-900);--text-text-title-inverse: var(--color-grey-0);--text-text-body: var(--color-grey-800);--text-text-body-inverse: var(--color-grey-50);--text-text-subtitle: var(--color-grey-600);--text-text-subtitle-inverse: var(--color-grey-50);--text-text-caption: var(--color-grey-600);--text-text-caption-inverse: var(--color-grey-50);--text-link-link-idle: var(--color-blue-600);--text-link-link-hover: var(--color-blue-700);--text-link-link-active: var(--color-blue-700);--text-link-link-presssed: var(--color-blue-800);--text-link-link-inverse: var(--color-blue-50);--icon-icon-primary-idle: var(--color-black-300);--icon-icon-primary-hover: var(--color-black-500);--icon-icon-primary-pressed: var(--color-black-600);--icon-icon-primary-inverse: var(--color-grey-0);--icon-icon-brand: var(--color-lime-600);--icon-icon-error-idle: var(--color-red-600);--icon-icon-disabled: var(--color-black-100);--icon-icon-error-inverse: var(--color-red-0);--icon-icon-warning: var(--color-yellow-600);--icon-icon-warning-inverse: var(--color-yellow-0);--icon-icon-success: var(--color-green-600);--icon-icon-success-inverse: var(--color-green-0);--icon-icon-link: var(--color-blue-600);--exceptions-alpha-50: var(--color-blackalpha-50);--exceptions-alpha-100: var(--color-blackalpha-100);--exceptions-gold: var(--color-gold-400);--exceptions-turquoise: var(--color-turquoise-600);--text-text-brand: var(--color-lime-500)}.display__large{font-size:57px;font-family:Roboto,sans-serif;font-weight:400;letter-spacing:-0.25px;line-height:64px}.display__medium{font-size:45px;font-family:Roboto,sans-serif;font-weight:400;line-height:52px}.display__small{font-size:36px;font-family:Roboto,sans-serif;font-weight:400;line-height:44px}.headline__large{font-size:32px;font-family:Roboto,sans-serif;font-weight:400;line-height:40px}.headline__medium{font-size:28px;font-family:Roboto,sans-serif;font-weight:400;line-height:36px}.headline__small{font-size:24px;font-family:Roboto,sans-serif;font-weight:400;line-height:32px}.title__large{font-size:22px;font-family:Roboto,sans-serif;font-weight:400;line-height:28px}.title__medium{font-size:16px;font-family:Roboto,sans-serif;font-weight:500;letter-spacing:.150000006px;line-height:24px}.title__small{font-size:14px;font-family:Roboto,sans-serif;font-weight:500;letter-spacing:.1000000015px;line-height:20px}.body__large{font-size:16px;font-family:Roboto,sans-serif;font-weight:400;letter-spacing:.5px;line-height:24px}.body__medium{font-size:14px;font-family:Roboto,sans-serif;font-weight:400;letter-spacing:.25px;line-height:20px}.body__small{font-size:12px;font-family:Roboto,sans-serif;font-weight:400;line-height:16px}.label__largeprominent{font-size:14px;font-family:Roboto,sans-serif;font-weight:undefined;letter-spacing:.1000000015px;line-height:20px}.label__large{font-size:14px;font-family:Roboto,sans-serif;font-weight:500;letter-spacing:.1000000015px;line-height:20px}.label__mediumprominent{font-size:12px;font-family:Roboto,sans-serif;font-weight:600;letter-spacing:.5px;line-height:16px}.label__medium{font-size:12px;font-family:Roboto,sans-serif;font-weight:500;letter-spacing:.5px;line-height:16px}.label__small{font-size:11px;font-family:Roboto,sans-serif;font-weight:500;letter-spacing:.5px;line-height:16px}.shadowbutton{box-shadow:1.5px 1.5px 0px rgba(0,0,0,.2)}.text__text__title{color:var(--Text-text-title, #1a1a1a);text-align:center;font-family:Roboto;font-size:16px;font-style:normal;font-weight:400;line-height:24px;letter-spacing:.5px}.virfice-form-info{display:flex;gap:16px;padding:12px 8px;border-radius:7px 0px 0px 7px;border-left:2px solid var(--bg-bg-brand, #C8E265);background:var(--bg-bg-canvas, #FFFAEB)}.virfice-form-info .body__large{color:var(--text-text-subtitle, #616161)}.virfice-tab-container{width:100%}.virfice-tab-container .virfice-tab-head{display:flex;gap:4px;width:100%}.virfice-tab-container .virfice-tab-head .virfice-tab-header{display:flex;height:24px;padding:2px 8px;justify-content:center;align-items:center;cursor:pointer;border-radius:6px;background-color:#fff;width:100%}.virfice-tab-container .virfice-tab-head .virfice-tab-header.active,.virfice-tab-container .virfice-tab-head .virfice-tab-header:hover{background-color:rgba(0,0,0,.0509803922)}.virfice-container{width:1038px;max-width:100%;margin-left:auto;margin-right:auto}.virfice-card{background-color:#fffefa;display:flex;padding:16px 20px;align-items:flex-start;gap:32px;border-radius:var(--Radius-M, 6px);border:1px solid var(--Greyscale-Border-Idle, #C9C9C9);background:var(--Colors-Card-idle, #FFFEFA)}.virfice-card.virfice-padding-0{padding:0}.virfice-btn{width:max-content;display:flex;padding:var(--V-Padding, 6px) var(--H-Padding, 12px);justify-content:center;align-items:center;gap:var(--Spacing, 4px);border-radius:var(--Radius, 999px);background:var(--bg-button-bg-btn-primary-idle);box-shadow:1.5px 1.5px 0px 0px rgba(0,0,0,.2);border:1px solid var(--Greyscale-Border-Pressed, #949494);color:var(--Greyscale-Text-Body, #303030);cursor:pointer}.virfice-btn:disabled{background:var(--bg-button-bg-btn-disabled, #e6e6e6);pointer-events:none}.virfice-btn.virfice-btn-primary:hover{background:var(--bg-button-bg-btn-primary-hover, rgb(169, 201, 44))}.virfice-btn.virfice-small{padding:4px 8px}.virfice-btn.virfice-btn-danger{border:1px solid var(--border-button-border-btn-error-idle, #ff0d00);background:var(--bg-button-bg-btn-error-inverse-idle, #ffe7e5)}.virfice-btn.virfice-btn-danger:hover{border:1px solid var(--border-button-border-btn-error-hover, #cc0a00);background:var(--bg-button-bg-btn-error-inverse-hover, #ffcfcc)}.virfice-btn.virfice-btn-danger:focus{border:1px solid var(--border-button-border-btn-error-active, #990800);background:var(--Bg-button-bg-btn-error-inverse-idle, #ffe7e5)}.virfice-btn.virfice-btn-secondary{background:#fcfcfc}.virfice-btn.virfice-btn-secondary:hover{background:#f2f2f2}.virfice-btn.virfice-btn-secondary:focus{background:#fcfcfc}.virfice-btn.virfice-btn-tertiary{border-radius:none;background:none;box-shadow:unset;border:1px solid rgba(0,0,0,0)}.virfice-btn.virfice-btn-tertiary.virfice-active,.virfice-btn.virfice-btn-tertiary:hover{background:#f2f2f2 !important}.virfice-btn.virfice-btn-tertiary:focus{background:#fcfcfc}.virfice-btn.virfice-btn-outline{background:none}.virfice-btn.virfice-btn-outline.virfice-active,.virfice-btn.virfice-btn-outline:hover{background:#f2f2f2 !important}.virfice-btn.virfice-btn-outline:focus{background:#fcfcfc}.virfice-btn.virfice-btn-plain{background:rgba(0,0,0,0);color:#06c;border:none;box-shadow:none;padding-left:0}.virfice-btn.virfice-btn-plain:hover{color:#004d99;text-decoration:underline}.virfice-btn.virfice-btn-plain:focus{color:#036;text-decoration:underline}.virfice-btn.virfice-icon{padding:6px !important}.virfice-btn.virfice-icon.virfice-small{padding:0 !important}.virfice-toggle-btn{display:flex;flex-direction:column;gap:4px}.virfice-toggle-btn .virfice-toggle-btn__wrapper{display:flex;width:100%;border:1px solid var(--border-button-border-btn-idle, #949494);border-radius:4px;overflow:hidden}.virfice-toggle-btn .virfice-toggle-btn__wrapper .virfice-toggle-btn__option{width:100%;padding-top:8px;padding-bottom:8px;display:flex;justify-content:center;align-items:center;cursor:pointer}.virfice-toggle-btn .virfice-toggle-btn__wrapper .virfice-toggle-btn__option.virfice-toggle-btn__option--active{background-color:#f2f2f2}.virfice-toggle-btn .virfice-toggle-btn__wrapper .virfice-toggle-btn__option:not(:last-child){border-right:1px solid var(--border-button-border-btn-idle, #949494)}.virfice-textfileld-wrapper{display:flex;width:100%;flex-direction:column;align-items:flex-start;gap:4px}.virfice-textfileld-wrapper .body__medium{color:var(--text-text-title)}.virfice-textfileld-wrapper input,.virfice-textfileld-wrapper textarea{display:flex;flex-direction:column;align-items:flex-start;gap:var(--p-sapce-100);align-self:stretch;padding:7px 12px;border-radius:var(--Radius-S, 4px);border:1px solid var(--border-input-border-input-idle, #c9c9c9);background:var(--Bg-input-bg-input-idle, #fcfcfc);line-height:20px}.virfice-selectfileld-wrapper{display:flex;width:100%;flex-direction:column;align-items:flex-start;gap:4px}.virfice-selectfileld-wrapper .body__medium{color:var(--text-text-title)}.virfice-selectfileld-wrapper input{cursor:pointer;display:flex;flex-direction:column;align-items:flex-start;gap:var(--p-sapce-100);align-self:stretch;padding:7px 12px;padding-right:36px;border-radius:var(--Radius-S, 4px);border:1px solid var(--border-input-border-input-idle, #c9c9c9);background:var(--Bg-input-bg-input-idle, #fcfcfc);line-height:20px}.virfice-selectfileld-wrapper .virfice-backdrop{position:fixed;top:0;left:0;height:100%;width:100%;background-color:rgba(26,26,26,.0823529412)}.virfice-selectfileld-wrapper ul{position:absolute;z-index:2;background:#fff;width:100%;top:23px;border-radius:var(--radius-S, 4px);border:1px solid var(--border-input-border-input-idle, #c9c9c9);background:var(--bg-bg-soul, #fff);box-shadow:3px 3px 0px 0px #c1c1c1}.virfice-selectfileld-wrapper ul li{cursor:pointer;cursor:pointer;padding-left:16px;padding-top:8px;padding-bottom:8px;margin-bottom:0}.virfice-selectfileld-wrapper ul li:hover{background-color:rgba(176,176,176,.1411764706)}.virfice-paintfield-wrapper{display:flex;width:100%;flex-direction:column;align-items:flex-start;gap:4px}.virfice-paintfield-wrapper input{width:100%;padding:7px 12px;margin-left:0;border-radius:0px 4px 4px 0px;border:1px solid var(--border-input-border-input-idle, #c9c9c9);background:var(--Bg-input-bg-input-idle, #fcfcfc);line-height:20px}.virfice-paintfield-wrapper input:focus{border-radius:0px 4px 4px 0px}.virfice-paintfield-wrapper .virfice-color-code{display:flex;width:100%;border-radius:4px 0px 0px 4px;border-top:1px solid var(--border-input-border-input-idle, #c9c9c9);border-bottom:1px solid var(--border-input-border-input-idle, #c9c9c9);border-left:1px solid var(--border-input-border-input-idle, #c9c9c9);background:var(--Bg-input-bg-input-idle, #fcfcfc);position:relative}.virfice-paintfield-wrapper .sketch-picker{position:relative;top:34px}.virfice-paintfield-wrapper .virfice-color-none{position:absolute;bottom:2px;left:10px;background:rgba(0,0,0,0);height:16px;width:16px;cursor:pointer;outline:none;border-radius:3px;box-shadow:rgba(0,0,0,.15) 0px 0px 0px 1px inset;overflow:hidden}.virfice-paintfield-wrapper .virfice-color-none div{height:1px;width:22px;background:red;left:-4px;transform:rotate(-45deg);top:8px;position:relative}.virfice-feature-list-item{width:83px}.virfice-feature-list-item .virfice-illustration-wrapper{background-color:#f4f9e1;height:80px;width:100%;display:flex;justify-content:center;align-items:center}.virfice-feature-list-item .virfice-title{color:var(--Greyscale-Text-Title, #1A1A1A);font-family:Roboto;font-size:12px;font-style:normal;font-weight:400;line-height:16px;margin:0}.virfice-media-uploader-wrapper{display:flex;width:100%;flex-direction:column;align-items:flex-start;gap:4px}.virfice-media-uploader-wrapper .body__medium{color:var(--text-text-subtitle, #616161);text-align:center}.virfice-media-uploader-wrapper .virfice-media-uploader-has-media{border-radius:var(--radius-S, 4px);border:1px solid #c9c9c9;background-image:conic-gradient(rgba(0, 0, 0, 0.12) 0deg 90deg, rgba(0, 0, 0, 0.06) 90deg 180deg, rgba(0, 0, 0, 0.12) 180deg 270deg, rgba(0, 0, 0, 0.06) 270deg 360deg);background-size:20px 20px;background-position:center top;height:214px;width:100%;display:flex;justify-content:center;align-items:center;position:relative}.virfice-media-uploader-wrapper .virfice-media-uploader-has-media .virfice-media-uploader-has-media-actions{visibility:hidden;background:rgba(0,0,0,.6);position:absolute;inset:0;display:flex;justify-content:center;align-items:center;gap:8px}.virfice-media-uploader-wrapper .virfice-media-uploader-has-media:hover .virfice-media-uploader-has-media-actions{visibility:visible}.virfice-media-uploader-wrapper .virfice-media-uploader-empty{width:100%;border-radius:var(--radius-S, 4px);border:1px solid #c9c9c9;background:var(--bg-input-bg-input-idle, #FCFCFC);padding:24px 32px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:8px}.virfice-modal .virfice-backdrop{position:fixed;inset:0;z-index:9999;background:rgba(18,22,4,.94);backdrop-filter:blur(6px)}.virfice-modal .virfice-modal-wrapper{position:fixed;width:380px;top:50%;left:50%;transform:translate(-50%, -50%);z-index:10000;border-radius:var(--radius-l, 12px);background:var(--p-color-bg-surface, white);overflow:hidden}.virfice-modal .virfice-modal-wrapper .virfice-modal-header{display:flex;padding:16px;align-items:center;gap:var(--p-sapce-200);justify-content:space-between;border-bottom:1px solid var(--p-color-border);background:var(--bg-button-bg-btn-primary-inverse, #F4F9E1)}.virfice-modal .virfice-modal-wrapper .virfice-modal-header .virfice-modal-close{cursor:pointer}.virfice-modal .virfice-modal-wrapper .virfice-modal-body{padding:12px 16px}.virfice-modal .virfice-modal-wrapper .virfice-modal-footer{padding:16px;border-top:1px solid var(--border-input-border-input-idle, #C9C9C9);background:var(--p-color-bg-surface);display:flex;justify-content:flex-end}.virfice-data-table{width:100%;text-align:left;border-collapse:collapse}.virfice-data-table thead th{border-bottom:1px solid #e3e3e3;padding:12px}.virfice-data-table tbody .virfice-action-buttons{visibility:hidden}.virfice-data-table tbody tr:hover{cursor:pointer;background-color:#f2f2f2}.virfice-data-table tbody tr:hover .virfice-action-buttons{visibility:visible}.virfice-data-table tbody td{border-bottom:1px solid #e3e3e3;padding:12px}.virfice-badge{background:var(--bg-button-bg-btn-secondary-idle, rgb(252, 252, 252));padding-top:2px;padding-bottom:2px;padding-left:8px;padding-right:8px;display:inline-flex;justify-content:center;align-items:center;border-radius:var(--radius-Full, 999px);gap:4px;font-family:Roboto;font-size:12px;font-style:normal;font-weight:500;line-height:16px;letter-spacing:.5px}.virfice-badge.virfice-active{background:var(--bg-button-bg-btn-success-inverse-idle, rgb(225, 255, 236))}.virfice-badge.virfice-active svg{color:#029c3d}.virfice-badge.virfice-success{background:var(--bg-button-bg-btn-success-idle, rgb(2, 156, 61))}.virfice-badge.virfice-warning{background:var(--bg-button-bg-btn-warning-idle, rgb(255, 235, 51))}.virfice-badge.virfice-in-active{background:var(--bg-button-bg-btn-disabled, rgb(230, 230, 230))}.virfice-badge.virfice-in-active svg{color:#666}.virfice-notification-bell{display:flex;width:300px;padding:8px;justify-content:center;align-items:center;width:100%;z-index:10000}.virfice-notification-bell.virfice-success{background:var(--bg-bg-success, #03C04A);color:#fafffc}.virfice-notification-bell.virfice-danger{background:var(--bg-bg-error, #FF0D00);color:#fafffc}.virfice-help-text{font-size:11px}.virfice-help-text code{font-size:11px;padding:1px;background:#f4f9e1}.virfice-rangefield-wrapper{display:flex;width:100%;flex-direction:column;align-items:flex-start;gap:4px}.virfice-rangefield-wrapper .body__medium{color:var(--text-text-title)}.virfice-rangefield-wrapper .virfice-range-and-input-wrapper{display:flex;width:100%;gap:12px}.virfice-rangefield-wrapper .virfice-range-and-input-wrapper .virfice-textfileld-wrapper{max-width:77px}.virfice-rangefield-wrapper .virfice-range-and-input-wrapper .virfice-textfileld-wrapper input{padding-right:32px}.virfice-accordion .virfice-accordion-header{cursor:pointer;color:var(--text-text-body, #303030);font-family:Roboto;font-size:16px;font-style:normal;font-weight:500;line-height:24px;letter-spacing:.15px;display:flex;padding:4px 8px 4px 0px;justify-content:space-between;align-items:center}.virfice-accordion .virfice-accordion-header.virfice-active{border-radius:6px;background:#f2f2f2;padding-left:8px}.virfice-accordion .virfice-accordion-header svg{margin-right:-8px}.virfice-accordion .virfice-accordion-content{padding-top:12px;padding-bottom:12px}*,*::before,*::after{box-sizing:border-box}body{background-color:#fef8ee}a{cursor:pointer}svg{max-width:100%;max-height:100%}#virfice-dashboard{margin-left:-20px;position:fixed;top:0;background:#fef8ee;z-index:3;width:calc(100% - 160px);height:100%;overflow:overlay;padding-bottom:64px;-webkit-user-select:none;-ms-user-select:none;user-select:none}.folded #virfice-dashboard{width:calc(100% - 36px)}.virfice-cursor-pointer{cursor:pointer}.virfice-w-100{width:100%}.virfice-flex{display:flex}.virfice-flex-col{display:flex;flex-direction:column}.virfice-flex-align-center{display:flex;align-items:center}.virfice-flex-justify-center{display:flex;justify-content:center}.virfice-flex-center-center{display:flex;justify-content:center;align-items:center}.virfice-flex-space-between{display:flex;justify-content:space-between}.virfice-gap-2{gap:4px}.virfice-gap-4{gap:4px}.virfice-gap-6{gap:6px}.virfice-gap-8{gap:8px}.virfice-gap-16{gap:16px}.virfice-gap-20{gap:20px}.virfice-gap-24{gap:24px}.virfice-mp-0{margin:0;padding:0}.virfice-sticky-top-110{position:sticky;top:110px}.virfice-landing-header-section{border-bottom:1px solid var(--Greyscale-Border-Idle, #c9c9c9);margin-bottom:32px;padding-top:8px;padding-bottom:8px;position:sticky;top:32px;margin-bottom:64px;background-color:#f4f9e1;z-index:2}.virfice-landing-header-section p{color:#000;font-family:Roboto;font-size:16px;font-style:normal;font-weight:400;line-height:24px;letter-spacing:.5px;margin:0}.virfice-feature-card{justify-content:space-between;align-items:center}.virfice-feature-card .virfice-heading{color:var(--Greyscale-Text-Title, #1a1a1a);font-family:Roboto;font-size:36px;font-style:normal;font-weight:500;line-height:44px;margin:0}.virfice-feature-card .virfice-sub-heading{color:var(--Greyscale-Text-Body, #303030);font-family:Roboto;font-size:16px;font-style:normal;font-weight:400;line-height:24px;letter-spacing:.5px;max-width:320px;margin:0}.virfice-feature-card .virfice-sub-headingstrong{font-weight:700}.virfice-feature-card .virfice-feature-list-wrapper{display:flex;flex-wrap:wrap;gap:24px;width:190px}.virfice-callout-card .virfice-heading{color:var(--p-color-text);font-family:Roboto;font-size:16px;font-style:normal;font-weight:500;line-height:24px;letter-spacing:.15px;margin:0;margin-bottom:4px}.virfice-callout-card .virfice-sub-heading{color:var(--p-color-text);font-family:Roboto;font-size:14px;font-style:normal;font-weight:400;line-height:20px;letter-spacing:.25px;margin:0;margin-bottom:16px}.virfice-callout-card .virfice-illustration-wrapper{height:144px;border-radius:6px}.virfice-table-card{padding:0;overflow:hidden}.virfice-stickty-top-nav{background:var(--Colors-Surface-Light, #f4f9e1);box-shadow:1.5px 1.5px 0px 0px rgba(0,0,0,.2);position:sticky;top:32px;z-index:2;margin-bottom:64px}.virfice-stickty-top-nav .virfice-action-wrapper{height:56px}.virfice-stickty-top-nav .virfice-action-wrapper .virfice-back{color:var(--p-color-text);font-feature-settings:"clig" off,"liga" off;font-family:Inter;font-size:14px;font-style:normal;font-weight:550;line-height:20px}.virfice-stickty-top-nav .virfice-bread-crumb{display:flex;justify-content:center;align-items:center;gap:12px;color:var(--text-text-display, #303030);font-family:var(--family-caption, Inter);font-size:12px;font-style:normal;font-weight:500;line-height:150%}.virfice-stickty-top-nav .virfice-bread-crumb .virfice-bread-crumb-item{padding:var(--ui-spacing-spacing-2, 2px) var(--ui-spacing-spacing-8, 8px)}.virfice-stickty-top-nav .virfice-bread-crumb .virfice-bread-crumb-item:hover,.virfice-stickty-top-nav .virfice-bread-crumb .virfice-bread-crumb-item.virfice-active{border-radius:var(--radius-sm, 6px);display:flex;justify-content:center;align-items:center;gap:var(--ui-spacing-spacing-0, 0px)}.virfice-stickty-top-nav .virfice-bread-crumb .virfice-bread-crumb-item.virfice-active{background-color:rgba(0,0,0,.0509803922)}.virfice-stickty-top-nav .virfice-bread-crumb .virfice-bread-crumb-item.virfice-has-link{cursor:pointer}.virfice-stickty-top-nav .virfice-bread-crumb .virfice-bread-crumb-item.virfice-has-link:hover{background-color:rgba(0,0,0,.0509803922)}.virfice-card-header{padding-bottom:12px;border-bottom:1px solid var(--Border-border-card, #c9c9c9);margin-bottom:16px}.virfice-form-group{display:flex;flex-direction:column;gap:12px;width:100%}#virfice-email-preview{border-radius:7px}.virfice-settings-menu{width:100%;min-height:70vh}.virfice-settings-menu .virfice-header{padding-top:16px;padding-bottom:12px;padding-left:16px}.virfice-settings-menu .virfice-header h2{margin:0}.virfice-settings-menu ul{width:100%;margin-bottom:0}.virfice-settings-menu ul li{width:100%;height:40px;display:flex;align-items:center;gap:8px;margin-bottom:0;padding-left:16px;overflow:hidden;text-overflow:ellipsis;font-family:Roboto;font-size:12px;font-style:normal;font-weight:600;line-height:16px;letter-spacing:.5px;cursor:pointer;border-top:1px solid var(--border-border-card, #c9c9c9)}.virfice-settings-menu ul li:last-child{border-bottom:1px solid var(--border-border-card, #c9c9c9)}.virfice-settings-menu ul li.virfice-active,.virfice-settings-menu ul li:hover{background:var(--bg-button-bg-btn-primary-inverse, #f4f9e1)}.virfice-ready-blocks-wrapper{width:100%}.virfice-ready-blocks-wrapper .virfice-single-ready-block{border-radius:var(--radius-m, 6px);border:1px solid var(--border-border-card, #c9c9c9);background:var(--bg-bg-soul, #fff);margin-bottom:12px;overflow:hidden}.virfice-ready-blocks-wrapper .virfice-single-ready-block img{width:100%}.virfice-ready-blocks-wrapper .virfice-single-ready-block:last-child{margin-bottom:-12px}.virfice-border-type-selection{display:flex;flex-direction:column;gap:16px}.virfice-border-type-selection .virfice-border-type-selection-item{padding:24px 12px;border-radius:var(--radius-S, 4px);border:1px solid var(--border-input-border-input-idle, #c9c9c9);background:var(--bg-input-bg-input-idle, #fcfcfc);cursor:pointer}.virfice-border-type-selection .virfice-border-type-selection-item:hover{border:1px solid var(--bg-bg-brand, #c8e265);background:var(--bg-button-bg-btn-primary-inverse, #f4f9e1)}.virfice-border-type-selection .virfice-border-type-selection-item span{width:100%;display:block;border-top-width:4px;border-top-color:var(--border-button-border-btn-idle, #949494)}.virfice-inbox-preview{position:relative}.virfice-inbox-preview .virfice-inbox-preview-active{position:absolute;border-radius:7px 0px 0px 7px;border:1px solid var(--border-border-card, #c9c9c9);background:#fff;box-shadow:-3px 0px 0px 0px #c8e265;display:flex;gap:16px;padding:16px;width:381px;height:107px;top:118px;left:-13px;max-width:100%}.virfice-inbox-preview .virfice-inbox-preview-active img{width:37px;height:37px;border-radius:50%}.virfice-inbox-preview .virfice-inbox-preview-active .virfice-inbox-preview-active-title{color:var(--gmail-black, #292929);font-family:"Open Sans";font-size:16px;font-style:normal;font-weight:700;line-height:normal}.virfice-inbox-preview .virfice-inbox-preview-active .virfice-inbox-preview-active-sub-title{color:var(--gmail-black, #292929);font-family:Roboto;font-size:14px;font-style:normal;font-weight:500;line-height:normal}.virfice-inbox-preview .virfice-inbox-preview-active .virfice-inbox-preview-active-message{color:var(--gmail-grey, #5d5c5d);font-family:Roboto;font-size:14px;font-style:normal;font-weight:400;line-height:normal}.virfice-builder-section-main{position:absolute;top:112px;margin:auto;width:100%}.virfice-builder-section-main.virfice-builder-section-main-brand-settings{top:unset}.virfice-builder-section-main.virfice-builder-section-main-brand-settings .virfice-builder-right-panel-wrapper{overflow:scroll}.virfice-builder-section-main .virfice-builder-left-panel-wrapper{width:880px}.virfice-builder-section-main .virfice-builder-left-panel-wrapper #virfice-editor-wrapper{height:calc(-204px + 100vh);text-align:center;overflow:hidden}.virfice-builder-section-main .virfice-builder-right-panel-wrapper{width:380px;height:calc(-120px + 100vh)}.virfice-builder-section-main .virfice-ready-blocks-wrapper{width:378px;height:calc(100vh - 120px);overflow:scroll;margin-left:-20px;padding-left:20px;padding-right:20px;padding-bottom:16px;margin-bottom:-16px}.virfice-editor-wrapper{position:relative}.virfice-editor-wrapper iframe{height:100%;width:100%}.virfice-editor-wrapper .virfice-element-controls.virfice-empty-canvas{width:100%;position:absolute;top:20px}.virfice-editor-wrapper .virfice-element-controls .virfice-element-border{box-shadow:0 2px 0 0 #02732d;box-shadow:0 -2px 0 0 #02732d;box-shadow:-2px 0 0 0 #02732d;box-shadow:2px 0 0 0 #02732d;box-shadow:0 0 0 2px #02732d;pointer-events:none}.virfice-editor-wrapper .virfice-element-controls .virfice-right-control{pointer-events:all;position:absolute;right:-36px;top:0px;border-radius:99px;border:1px solid #c9c9c9;width:28px;background:#fff;box-shadow:3px 4px 6px -3px rgba(10,10,10,.08);overflow:hidden;display:flex;flex-direction:column;align-items:center}.virfice-editor-wrapper .virfice-element-controls .virfice-right-control .virfice-item{line-height:0;cursor:pointer}.virfice-editor-wrapper .virfice-element-controls .virfice-right-control .virfice-item:hover{background:#f2f2f2}.virfice-editor-wrapper .virfice-element-hover-border{box-shadow:0 2px 0 0 #03c04a;box-shadow:0 -2px 0 0 #03c04a;box-shadow:-2px 0 0 0 #03c04a;box-shadow:2px 0 0 0 #03c04a;box-shadow:0 0 0 2px #03c04a;pointer-events:none}.virfice-editor-wrapper .virfice-element-hover-border .virfice-add-section-button-wrapper{opacity:0}.virfice-editor-wrapper .virfice-empty-add-button{position:relative;padding:20px}.virfice-editor-wrapper .virfice-empty-add-button .virfice-add-section-button-wrapper{position:relative !important;bottom:unset}.virfice-editor-wrapper .virfice-add-section-button-wrapper{position:absolute;bottom:-16px;display:flex;justify-content:center;align-items:center;width:100%;transition:all .3s}.virfice-editor-wrapper .virfice-add-section-button-wrapper.virfice-add-section-button-wrapper-opened{opacity:1}.virfice-editor-wrapper .virfice-add-section-button-wrapper:hover{opacity:1 !important}.virfice-editor-wrapper .virfice-add-section-button-wrapper .virfice-add-section-items-wrapper{position:absolute;background:#f4f9e1;width:100%;top:-14px;border:1px dashed #89a31f}.virfice-editor-wrapper .virfice-add-section-button-wrapper .virfice-add-section-header{display:flex;padding:16px;align-items:center;gap:8px;justify-content:space-between;border-bottom:1px solid #c9c9c9}.virfice-editor-wrapper .virfice-add-section-button-wrapper .virfice-add-section-header .virfice-title{color:var(--text-text-headline, #1a1a1a);font-family:Roboto;font-size:16px;font-style:normal;font-weight:500;line-height:24px;letter-spacing:.15px}.virfice-editor-wrapper .virfice-add-section-button-wrapper .virfice-add-section-body{padding:16px;gap:16px;display:flex;flex-wrap:wrap;align-items:center;justify-content:center}.virfice-editor-wrapper .virfice-add-section-button-wrapper .virfice-add-section-body .virfice-item{pointer-events:all;display:flex;height:80px;width:100px;flex-direction:column;justify-content:center;align-items:center;gap:var(--spacing, 4px);flex-shrink:0;border-radius:16px;border:var(--size-0, 1px) solid var(--border-button-border-btn-idle, #949494);background:var(--bg-button-bg-btn-secondary-idle, #fcfcfc);box-shadow:1.5px 1.5px 0px 0px rgba(0,0,0,.2);cursor:pointer}.virfice-editor-wrapper .virfice-add-section-button-wrapper .virfice-add-section-body .virfice-item:hover{background:var(--bg-button-bg-btn-secondary-hover, #f2f2f2)}.virfice-editor-wrapper .virfice-add-section-button-wrapper .virfice-add-section-body .virfice-item .virfice-item-title{white-space:nowrap;text-overflow:ellipsis;max-width:90px;overflow:hidden}.virfice-template-wrapper *{user-select:none;cursor:default;line-height:1 !important}.virfice-settings-wrapper{width:378px;height:calc(100vh - 186px);overflow:scroll;margin-left:-20px;padding-left:20px;padding-right:20px;padding-bottom:16px;margin-bottom:-16px}.virfice-settings-wrapper .virfice-child-list{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:4px;user-select:none;cursor:default;align-self:stretch}.virfice-settings-wrapper .virfice-child-list .virfice-item{border-radius:6px;background:#fff;display:flex;padding:4px 8px;align-items:center;gap:8px;overflow:hidden;justify-content:space-between;width:100%}.virfice-settings-wrapper .virfice-child-list .virfice-item:hover{border-radius:6px;background:#f2f2f2}.virfice-settings-wrapper .virfice-child-list .virfice-item:hover .virfice-item-action{visibility:visible !important;opacity:1 !important}.virfice-settings-wrapper .virfice-child-list .virfice-item .virfice-item-action-wrapper{display:flex;gap:8px;line-height:0;justify-content:center;align-items:center}.virfice-settings-wrapper .virfice-child-list .virfice-item .virfice-item-action-wrapper .virfice-item-action{cursor:pointer;visibility:hidden;opacity:0}.virfice-template-preview-wrapper{width:100%;height:100%;position:relative;top:64px}.virfice-template-preview-wrapper .virfice-desktop{width:600px;margin:auto;box-shadow:0px 440px 123px 0px rgba(0,0,0,0),0px 282px 113px 0px rgba(0,0,0,.01),0px 158px 95px 0px rgba(0,0,0,.05),0px 70px 70px 0px rgba(0,0,0,.09),0px 18px 39px 0px rgba(0,0,0,.1)}.virfice-template-preview-wrapper .virfice-desktop iframe{height:658px !important;width:600px;top:-5px;position:relative}.virfice-template-preview-wrapper .virfice-actions{position:absolute;right:64px;bottom:64px;border-radius:99px;border:1px solid var(--border-border-card, #c9c9c9);background:var(--bg-bg-brand, #c8e265);box-shadow:3px 4px 12px -3px rgba(92,110,22,.5)}
    33
    44/*# sourceMappingURL=virfice-style.min.css.map*/
  • emails-for-woocommerce/trunk/assets/css/virfice-style.min.css.map

    r3249220 r3252867  
    1 {"version":3,"sources":["webpack:///./assets-sources/scss/style.scss (1)"],"names":[],"mappings":";AAAA,MAAM,0BAA0B,wBAAwB,2BAA2B,4BAA4B,4BAA4B,4BAA4B,4BAA4B,4BAA4B,4BAA4B,4BAA4B,4BAA4B,4BAA4B,4BAA4B,yBAAyB,0BAA0B,0BAA0B,0BAA0B,0BAA0B,0BAA0B,0BAA0B,0BAA0B,0BAA0B,0BAA0B,wBAAwB,0BAA0B,yBAAyB,0BAA0B,0BAA0B,0BAA0B,0BAA0B,0BAA0B,0BAA0B,0BAA0B,0BAA0B,0BAA0B,0BAA0B,wBAAwB,yBAAyB,0BAA0B,0BAA0B,0BAA0B,0BAA0B,0BAA0B,0BAA0B,0BAA0B,0BAA0B,0BAA0B,0BAA0B,yBAAyB,0BAA0B,2BAA2B,2BAA2B,2BAA2B,2BAA2B,2BAA2B,2BAA2B,2BAA2B,2BAA2B,2BAA2B,0BAA0B,2BAA2B,2BAA2B,4BAA4B,4BAA4B,4BAA4B,4BAA4B,4BAA4B,4BAA4B,4BAA4B,4BAA4B,4BAA4B,4BAA4B,0BAA0B,2BAA2B,4BAA4B,4BAA4B,4BAA4B,4BAA4B,4BAA4B,4BAA4B,4BAA4B,4BAA4B,4BAA4B,yBAAyB,4BAA4B,0BAA0B,2BAA2B,2BAA2B,2BAA2B,2BAA2B,2BAA2B,2BAA2B,2BAA2B,2BAA2B,2BAA2B,wBAAwB,2BAA2B,yBAAyB,0BAA0B,0BAA0B,0BAA0B,0BAA0B,0BAA0B,0BAA0B,0BAA0B,0BAA0B,0BAA0B,0BAA0B,wBAAwB,0BAA0B,yBAAyB,0BAA0B,0BAA0B,0BAA0B,0BAA0B,0BAA0B,0BAA0B,0BAA0B,0BAA0B,0BAA0B,0BAA0B,6BAA6B,8BAA8B,+BAA+B,+BAA+B,+BAA+B,+BAA+B,+BAA+B,+BAA+B,+BAA+B,+BAA+B,+BAA+B,wBAAwB,+BAA+B,yBAAyB,0BAA0B,0BAA0B,0BAA0B,0BAA0B,0BAA0B,0BAA0B,0BAA0B,0BAA0B,0BAA0B,0BAA0B,0BAA0B,2BAA2B,4BAA4B,4BAA4B,4BAA4B,4BAA4B,4BAA4B,4BAA4B,4BAA4B,4BAA4B,4BAA4B,4BAA4B,uBAAuB,wBAAwB,yBAAyB,yBAAyB,yBAAyB,yBAAyB,yBAAyB,yBAAyB,yBAAyB,yBAAyB,yBAAyB,yBAAyB,iBAAiB,gBAAgB,gBAAgB,gBAAgB,gBAAgB,gBAAgB,kBAAkB,kBAAkB,kBAAkB,kBAAkB,kBAAkB,kBAAkB,mBAAmB,8BAA8B,iCAAiC,kCAAkC,kCAAkC,kCAAkC,kCAAkC,kCAAkC,kCAAkC,kCAAkC,kCAAkC,kCAAkC,gCAAgC,oCAAoC,sBAAsB,qCAAqC,yCAAyC,oCAAoC,wCAAwC,qCAAqC,oCAAoC,qCAAqC,8CAA8C,8CAA8C,6CAA6C,uDAAuD,wDAAwD,yDAAyD,0DAA0D,uDAAuD,yDAAyD,yDAAyD,2DAA2D,0DAA0D,yDAAyD,0DAA0D,2DAA2D,4DAA4D,gEAAgE,kEAAkE,oDAAoD,qDAAqD,sDAAsD,uDAAuD,2DAA2D,6DAA6D,wDAAwD,yDAAyD,0DAA0D,2DAA2D,+DAA+D,gEAAgE,mDAAmD,8CAA8C,gDAAgD,gDAAgD,kDAAkD,+CAA+C,mDAAmD,yCAAyC,6CAA6C,4CAA4C,uDAAuD,wDAAwD,yDAAyD,0DAA0D,2DAA2D,+DAA+D,gEAAgE,gEAAgE,kEAAkE,iEAAiE,kEAAkE,mEAAmE,oEAAoE,gEAAgE,iEAAiE,kEAAkE,4DAA4D,6DAA6D,8DAA8D,+DAA+D,wDAAwD,yDAAyD,0DAA0D,2DAA2D,wDAAwD,4DAA4D,gDAAgD,6CAA6C,oDAAoD,4CAA4C,kDAAkD,wCAAwC,8CAA8C,4CAA4C,2CAA2C,iDAAiD,4CAA4C,kDAAkD,yCAAyC,+CAA+C,wCAAwC,+CAA+C,4CAA4C,mDAAmD,2CAA2C,kDAAkD,6CAA6C,8CAA8C,+CAA+C,iDAAiD,+CAA+C,iDAAiD,kDAAkD,oDAAoD,iDAAiD,yCAAyC,6CAA6C,6CAA6C,8CAA8C,6CAA6C,mDAAmD,4CAA4C,kDAAkD,wCAAwC,kDAAkD,oDAAoD,yCAAyC,mDAAmD,yCAAyC,gBAAgB,eAAe,8BAA8B,gBAAgB,uBAAuB,iBAAiB,iBAAiB,eAAe,8BAA8B,gBAAgB,iBAAiB,gBAAgB,eAAe,8BAA8B,gBAAgB,iBAAiB,iBAAiB,eAAe,8BAA8B,gBAAgB,iBAAiB,kBAAkB,eAAe,8BAA8B,gBAAgB,iBAAiB,iBAAiB,eAAe,8BAA8B,gBAAgB,iBAAiB,cAAc,eAAe,8BAA8B,gBAAgB,iBAAiB,eAAe,eAAe,8BAA8B,gBAAgB,4BAA4B,iBAAiB,cAAc,eAAe,8BAA8B,gBAAgB,6BAA6B,iBAAiB,aAAa,eAAe,8BAA8B,gBAAgB,oBAAoB,iBAAiB,cAAc,eAAe,8BAA8B,gBAAgB,qBAAqB,iBAAiB,aAAa,eAAe,8BAA8B,gBAAgB,iBAAiB,uBAAuB,eAAe,8BAA8B,sBAAsB,6BAA6B,iBAAiB,cAAc,eAAe,8BAA8B,gBAAgB,6BAA6B,iBAAiB,wBAAwB,eAAe,8BAA8B,gBAAgB,oBAAoB,iBAAiB,eAAe,eAAe,8BAA8B,gBAAgB,oBAAoB,iBAAiB,cAAc,eAAe,8BAA8B,gBAAgB,oBAAoB,iBAAiB,cAAc,0CAA0C,mBAAmB,sCAAsC,kBAAkB,mBAAmB,eAAe,kBAAkB,gBAAgB,iBAAiB,oBAAoB,mBAAmB,aAAa,SAAS,iBAAiB,8BAA8B,kDAAkD,wCAAwC,gCAAgC,yCAAyC,uBAAuB,WAAW,yCAAyC,aAAa,QAAQ,WAAW,6DAA6D,aAAa,YAAY,gBAAgB,uBAAuB,mBAAmB,eAAe,kBAAkB,sBAAsB,WAAW,uIAAuI,yCAAyC,mBAAmB,aAAa,eAAe,iBAAiB,kBAAkB,cAAc,yBAAyB,aAAa,kBAAkB,uBAAuB,SAAS,mCAAmC,uDAAuD,4CAA4C,gCAAgC,UAAU,aAAa,kBAAkB,aAAa,qDAAqD,uBAAuB,mBAAmB,wBAAwB,mCAAmC,gDAAgD,8CAA8C,0DAA0D,0CAA0C,eAAe,sBAAsB,qDAAqD,oBAAoB,uCAAuC,oEAAoE,2BAA2B,gBAAgB,gCAAgC,qEAAqE,+DAA+D,sCAAsC,sEAAsE,gEAAgE,sCAAsC,uEAAuE,+DAA+D,mCAAmC,mBAAmB,yCAAyC,mBAAmB,yCAAyC,mBAAmB,kCAAkC,mBAAmB,gBAAgB,iBAAiB,+BAA+B,yFAAyF,8BAA8B,wCAAwC,mBAAmB,iCAAiC,gBAAgB,uFAAuF,8BAA8B,uCAAuC,mBAAmB,+BAA+B,yBAAyB,WAAW,YAAY,gBAAgB,eAAe,qCAAqC,cAAc,0BAA0B,qCAAqC,WAAW,0BAA0B,0BAA0B,uBAAuB,oBAAoB,aAAa,sBAAsB,QAAQ,iDAAiD,aAAa,WAAW,+DAA+D,kBAAkB,gBAAgB,6EAA6E,WAAW,gBAAgB,mBAAmB,aAAa,uBAAuB,mBAAmB,eAAe,gHAAgH,yBAAyB,8FAA8F,qEAAqE,4BAA4B,aAAa,WAAW,sBAAsB,uBAAuB,QAAQ,0CAA0C,6BAA6B,uEAAuE,aAAa,sBAAsB,uBAAuB,uBAAuB,mBAAmB,iBAAiB,mCAAmC,gEAAgE,kDAAkD,iBAAiB,8BAA8B,aAAa,WAAW,sBAAsB,uBAAuB,QAAQ,4CAA4C,6BAA6B,oCAAoC,eAAe,aAAa,sBAAsB,uBAAuB,uBAAuB,mBAAmB,iBAAiB,mBAAmB,mCAAmC,gEAAgE,kDAAkD,iBAAiB,gDAAgD,eAAe,MAAM,OAAO,YAAY,WAAW,4CAA4C,iCAAiC,kBAAkB,UAAU,gBAAgB,WAAW,SAAS,mCAAmC,gEAAgE,mCAAmC,mCAAmC,oCAAoC,eAAe,eAAe,kBAAkB,gBAAgB,mBAAmB,gBAAgB,0CAA0C,+CAA+C,4BAA4B,aAAa,WAAW,sBAAsB,uBAAuB,QAAQ,kCAAkC,WAAW,iBAAiB,cAAc,8BAA8B,gEAAgE,kDAAkD,iBAAiB,wCAAwC,8BAA8B,gDAAgD,aAAa,WAAW,8BAA8B,oEAAoE,uEAAuE,qEAAqE,kDAAkD,kBAAkB,2CAA2C,kBAAkB,SAAS,2BAA2B,WAAW,yDAAyD,yBAAyB,YAAY,WAAW,aAAa,uBAAuB,mBAAmB,0CAA0C,2CAA2C,mBAAmB,eAAe,kBAAkB,gBAAgB,iBAAiB,SAAS,gCAAgC,aAAa,WAAW,sBAAsB,uBAAuB,QAAQ,8CAA8C,yCAAyC,kBAAkB,kEAAkE,mCAAmC,yBAAyB,wKAAwK,0BAA0B,+BAA+B,aAAa,WAAW,aAAa,uBAAuB,mBAAmB,kBAAkB,4GAA4G,kBAAkB,0BAA0B,kBAAkB,QAAQ,aAAa,uBAAuB,mBAAmB,QAAQ,kHAAkH,mBAAmB,8DAA8D,WAAW,mCAAmC,yBAAyB,kDAAkD,kBAAkB,aAAa,sBAAsB,uBAAuB,mBAAmB,QAAQ,iCAAiC,eAAe,QAAQ,aAAa,6BAA6B,0BAA0B,sCAAsC,eAAe,YAAY,QAAQ,SAAS,gCAAgC,cAAc,oCAAoC,4CAA4C,gBAAgB,4DAA4D,aAAa,aAAa,mBAAmB,uBAAuB,8BAA8B,8CAA8C,4DAA4D,iFAAiF,eAAe,0DAA0D,kBAAkB,4DAA4D,aAAa,oEAAoE,qCAAqC,aAAa,yBAAyB,oBAAoB,WAAW,gBAAgB,yBAAyB,6BAA6B,gCAAgC,aAAa,kDAAkD,kBAAkB,mCAAmC,eAAe,yBAAyB,2DAA2D,mBAAmB,6BAA6B,gCAAgC,aAAa,eAAe,sEAAsE,gBAAgB,mBAAmB,iBAAiB,kBAAkB,oBAAoB,uBAAuB,mBAAmB,wCAAwC,QAAQ,mBAAmB,eAAe,kBAAkB,gBAAgB,iBAAiB,oBAAoB,8BAA8B,4EAA4E,kCAAkC,cAAc,+BAA+B,iEAAiE,+BAA+B,mEAAmE,iCAAiC,gEAAgE,qCAAqC,WAAW,2BAA2B,aAAa,YAAY,YAAY,uBAAuB,mBAAmB,WAAW,cAAc,2CAA2C,yCAAyC,cAAc,0CAA0C,uCAAuC,cAAc,mBAAmB,eAAe,wBAAwB,eAAe,YAAY,mBAAmB,4BAA4B,aAAa,WAAW,sBAAsB,uBAAuB,QAAQ,0CAA0C,6BAA6B,6DAA6D,aAAa,WAAW,SAAS,yFAAyF,eAAe,+FAA+F,mBAAmB,6CAA6C,eAAe,qCAAqC,mBAAmB,eAAe,kBAAkB,gBAAgB,iBAAiB,qBAAqB,aAAa,wBAAwB,8BAA8B,mBAAmB,4DAA4D,kBAAkB,mBAAmB,iBAAiB,iDAAiD,kBAAkB,8CAA8C,iBAAiB,oBAAoB,qBAAqB,sBAAsB,KAAK,yBAAyB,EAAE,eAAe,IAAI,eAAe,gBAAgB,mBAAmB,kBAAkB,eAAe,MAAM,mBAAmB,UAAU,yBAAyB,YAAY,iBAAiB,oBAAoB,yBAAyB,qBAAqB,iBAAiB,2BAA2B,wBAAwB,wBAAwB,eAAe,eAAe,WAAW,cAAc,aAAa,kBAAkB,aAAa,sBAAsB,2BAA2B,aAAa,mBAAmB,6BAA6B,aAAa,uBAAuB,4BAA4B,aAAa,uBAAuB,mBAAmB,4BAA4B,aAAa,8BAA8B,eAAe,QAAQ,eAAe,QAAQ,eAAe,QAAQ,eAAe,QAAQ,gBAAgB,SAAS,gBAAgB,SAAS,gBAAgB,SAAS,cAAc,SAAS,UAAU,wBAAwB,gBAAgB,UAAU,gCAAgC,8DAA8D,mBAAmB,gBAAgB,mBAAmB,gBAAgB,SAAS,mBAAmB,yBAAyB,UAAU,kCAAkC,WAAW,mBAAmB,eAAe,kBAAkB,gBAAgB,iBAAiB,oBAAoB,SAAS,sBAAsB,8BAA8B,mBAAmB,uCAAuC,2CAA2C,mBAAmB,eAAe,kBAAkB,gBAAgB,iBAAiB,SAAS,2CAA2C,0CAA0C,mBAAmB,eAAe,kBAAkB,gBAAgB,iBAAiB,oBAAoB,gBAAgB,SAAS,iDAAiD,gBAAgB,oDAAoD,aAAa,eAAe,SAAS,YAAY,uCAAuC,0BAA0B,mBAAmB,eAAe,kBAAkB,gBAAgB,iBAAiB,qBAAqB,SAAS,kBAAkB,2CAA2C,0BAA0B,mBAAmB,eAAe,kBAAkB,gBAAgB,iBAAiB,qBAAqB,SAAS,mBAAmB,oDAAoD,aAAa,kBAAkB,oBAAoB,UAAU,gBAAgB,yBAAyB,gDAAgD,8CAA8C,gBAAgB,SAAS,UAAU,mBAAmB,iDAAiD,YAAY,+DAA+D,0BAA0B,4CAA4C,kBAAkB,eAAe,kBAAkB,gBAAgB,iBAAiB,qBAAqB,oBAAoB,2DAA2D,mBAAmB,oBAAoB,aAAa,sBAAsB,SAAS,WAAW,uBAAuB,kBAAkB,uBAAuB,WAAW,gBAAgB,uCAAuC,iBAAiB,oBAAoB,kBAAkB,0CAA0C,SAAS,0BAA0B,WAAW,gBAAgB,6BAA6B,WAAW,YAAY,aAAa,mBAAmB,QAAQ,gBAAgB,kBAAkB,gBAAgB,uBAAuB,mBAAmB,eAAe,kBAAkB,gBAAgB,iBAAiB,oBAAoB,eAAe,wDAAwD,wCAAwC,2DAA2D,+EAA+E,4DAA4D,8BAA8B,WAAW,0DAA0D,mCAAmC,oDAAoD,mCAAmC,mBAAmB,gBAAgB,8DAA8D,WAAW,qEAAqE,oBAAoB,+BAA+B,aAAa,sBAAsB,SAAS,mEAAmE,kBAAkB,mCAAmC,gEAAgE,kDAAkD,eAAe,yEAAyE,6CAA6C,4DAA4D,wEAAwE,WAAW,cAAc,qBAAqB,+DAA+D,uBAAuB,kBAAkB,qDAAqD,kBAAkB,8BAA8B,oDAAoD,gBAAgB,oCAAoC,aAAa,SAAS,aAAa,YAAY,aAAa,UAAU,WAAW,yDAAyD,WAAW,YAAY,kBAAkB,yFAAyF,kCAAkC,wBAAwB,eAAe,kBAAkB,gBAAgB,mBAAmB,6FAA6F,kCAAkC,mBAAmB,eAAe,kBAAkB,gBAAgB,mBAAmB,2FAA2F,iCAAiC,mBAAmB,eAAe,kBAAkB,gBAAgB,mBAAmB,8BAA8B,kBAAkB,UAAU,YAAY,WAAW,0EAA0E,UAAU,+GAA+G,gBAAgB,kEAAkE,YAAY,0FAA0F,4BAA4B,kBAAkB,mEAAmE,YAAY,4BAA4B,4DAA4D,YAAY,2BAA2B,gBAAgB,kBAAkB,kBAAkB,mBAAmB,oBAAoB,oBAAoB,wBAAwB,kBAAkB,+BAA+B,YAAY,WAAW,uEAAuE,WAAW,kBAAkB,SAAS,0EAA0E,6BAA6B,8BAA8B,8BAA8B,6BAA6B,6BAA6B,oBAAoB,yEAAyE,mBAAmB,kBAAkB,YAAY,QAAQ,mBAAmB,yBAAyB,WAAW,gBAAgB,+CAA+C,gBAAgB,aAAa,sBAAsB,mBAAmB,uFAAuF,cAAc,eAAe,6FAA6F,mBAAmB,sDAAsD,6BAA6B,8BAA8B,8BAA8B,6BAA6B,6BAA6B,oBAAoB,0FAA0F,UAAU,kDAAkD,kBAAkB,aAAa,sFAAsF,6BAA6B,aAAa,4DAA4D,kBAAkB,aAAa,aAAa,uBAAuB,mBAAmB,WAAW,mBAAmB,sGAAsG,UAAU,kEAAkE,qBAAqB,+FAA+F,kBAAkB,mBAAmB,WAAW,UAAU,0BAA0B,wFAAwF,aAAa,aAAa,mBAAmB,QAAQ,8BAA8B,gCAAgC,uGAAuG,yCAAyC,mBAAmB,eAAe,kBAAkB,gBAAgB,iBAAiB,qBAAqB,sFAAsF,aAAa,SAAS,aAAa,eAAe,mBAAmB,uBAAuB,oGAAoG,mBAAmB,aAAa,YAAY,YAAY,sBAAsB,uBAAuB,mBAAmB,wBAAwB,cAAc,mBAAmB,8EAA8E,2DAA2D,8CAA8C,eAAe,0GAA0G,4DAA4D,wHAAwH,mBAAmB,uBAAuB,eAAe,gBAAgB,4BAA4B,iBAAiB,eAAe,yBAAyB,0BAA0B,YAAY,2BAA2B,gBAAgB,kBAAkB,kBAAkB,mBAAmB,oBAAoB,oBAAoB,8CAA8C,aAAa,sBAAsB,uBAAuB,uBAAuB,QAAQ,iBAAiB,eAAe,mBAAmB,4DAA4D,kBAAkB,gBAAgB,aAAa,gBAAgB,mBAAmB,QAAQ,gBAAgB,8BAA8B,WAAW,kEAAkE,kBAAkB,mBAAmB,yFAAyF,aAAa,QAAQ,cAAc,8GAA8G,eAAe,oHAAoH,mBAAmB,kCAAkC,WAAW,YAAY,kBAAkB,SAAS,mDAAmD,YAAY,YAAY,uLAAuL,0DAA0D,wBAAwB,YAAY,SAAS,kBAAkB,mDAAmD,kBAAkB,WAAW,YAAY,mBAAmB,oDAAoD,uCAAuC,gD","file":"css/virfice-style.min.css","sourcesContent":[":root{--color-purple-0: #FBF9FF;--color-pink-0: #FFF9FC;--color-purple-50: #F3EDFD;--color-purple-100: #EBDFFB;--color-purple-200: #D4BBF7;--color-purple-300: #C09BF3;--color-purple-400: #A876EF;--color-purple-500: #9556EB;--color-purple-600: #6F1BE4;--color-purple-700: #5415AD;--color-purple-800: #370E72;--color-purple-900: #1D073B;--color-purple-950: #0D031B;--color-pink-50: #FFE5F2;--color-pink-100: #FFCCE6;--color-pink-200: #FF99CC;--color-pink-300: #FF66B3;--color-pink-400: #FF3399;--color-pink-500: #FF017E;--color-pink-600: #CC0066;--color-pink-700: #99004D;--color-pink-800: #660033;--color-pink-900: #33001A;--color-gold-0: #FFFDF9;--color-pink-950: #19000D;--color-gold-50: #FFF9EA;--color-gold-100: #FFF0C2;--color-gold-200: #FFDF80;--color-gold-300: #FFD042;--color-gold-400: #FFBF00;--color-gold-500: #C29200;--color-gold-600: #997300;--color-gold-700: #755800;--color-gold-800: #4D3900;--color-gold-900: #291F00;--color-gold-950: #140F00;--color-grey-0: #FCFCFC;--color-grey-50: #F2F2F2;--color-grey-100: #E6E6E6;--color-grey-200: #C9C9C9;--color-grey-300: #B0B0B0;--color-grey-400: #949494;--color-grey-500: #797979;--color-grey-600: #616161;--color-grey-700: #4A4A4A;--color-grey-800: #303030;--color-grey-900: #1A1A1A;--color-grey-950: #0D0D0D;--color-black-0: #FCFCFC;--color-black-50: #E6E6E6;--color-black-100: #CCCCCC;--color-black-200: #999999;--color-black-300: #666666;--color-black-400: #333333;--color-black-500: #000000;--color-black-600: #000000;--color-black-700: #000000;--color-black-800: #000000;--color-black-900: #000000;--color-orange-0: #FFFCF9;--color-black-950: #000000;--color-orange-50: #FFF2E5;--color-orange-100: #FFE6CC;--color-orange-200: #FFCC99;--color-orange-300: #FFB366;--color-orange-400: #FF9933;--color-orange-500: #FE7F00;--color-orange-600: #CC6600;--color-orange-700: #994D00;--color-orange-800: #663300;--color-orange-900: #331A00;--color-orange-950: #190D00;--color-yellow-0: #FFFEF9;--color-yellow-50: #FFFCE5;--color-yellow-100: #FFFACC;--color-yellow-200: #FFF599;--color-yellow-300: #FFF066;--color-yellow-400: #FFEB33;--color-yellow-500: #FFE600;--color-yellow-600: #CCB800;--color-yellow-700: #998A00;--color-yellow-800: #665C00;--color-yellow-900: #332E00;--color-green-0: #F9FFFB;--color-yellow-950: #191700;--color-green-50: #E1FFEC;--color-green-100: #C3FED9;--color-green-200: #81FDB1;--color-green-300: #45FC8B;--color-green-400: #09FB66;--color-green-500: #03C04A;--color-green-600: #029C3D;--color-green-700: #02732D;--color-green-800: #014B1E;--color-green-900: #012810;--color-lime-0: #FDFEFA;--color-green-950: #001408;--color-lime-50: #F9FCEE;--color-lime-100: #F4F9E1;--color-lime-200: #EAF4C3;--color-lime-300: #DEEDA1;--color-lime-400: #D3E883;--color-lime-500: #C8E265;--color-lime-600: #B5D72D;--color-lime-650: #A9C82C;--color-lime-700: #89A31F;--color-lime-800: #5D7015;--color-lime-900: #2F380B;--color-teal-0: #F9FEFF;--color-lime-950: #161A05;--color-teal-50: #E1FEFF;--color-teal-100: #C2FEFF;--color-teal-200: #85FCFE;--color-teal-300: #4DFBFE;--color-teal-400: #10FAFE;--color-teal-500: #01CED1;--color-teal-600: #01A5A7;--color-teal-700: #017D7F;--color-teal-800: #005051;--color-teal-900: #002829;--color-teal-950: #001414;--color-turquoise-0: #F9FDFF;--color-turquoise-50: #EBF9FE;--color-turquoise-100: #D8F3FD;--color-turquoise-200: #B1E8FC;--color-turquoise-300: #84DBFA;--color-turquoise-400: #5DCFF9;--color-turquoise-500: #35C4F7;--color-turquoise-600: #09ACE7;--color-turquoise-700: #0780AC;--color-turquoise-800: #055876;--color-turquoise-900: #022C3B;--color-blue-0: #F9FCFF;--color-turquoise-950: #01161D;--color-blue-50: #E5F2FF;--color-blue-100: #CCE6FF;--color-blue-200: #99CCFF;--color-blue-300: #66B3FF;--color-blue-400: #3399FF;--color-blue-500: #0080FF;--color-blue-600: #0066CC;--color-blue-700: #004D99;--color-blue-800: #003366;--color-blue-900: #001A33;--color-blue-950: #000D19;--color-indigo-0: #F9F9FF;--color-indigo-50: #F2F2FD;--color-indigo-100: #E5E5FB;--color-indigo-200: #C7C6F6;--color-indigo-300: #ADACF1;--color-indigo-400: #8F8DEC;--color-indigo-500: #7473E8;--color-indigo-600: #3835DE;--color-indigo-700: #201DB4;--color-indigo-800: #151376;--color-indigo-900: #0B0A3D;--color-indigo-950: #05051F;--color-red-0: #FFFAF9;--color-red-50: #FFE7E5;--color-red-100: #FFCFCC;--color-red-200: #FF9E99;--color-red-300: #FF6E66;--color-red-400: #FF3D33;--color-red-500: #FF0C00;--color-red-600: #CC0A00;--color-red-700: #990800;--color-red-800: #660500;--color-red-900: #330300;--color-red-950: #190100;--number-none: 0;--number-1px: 1;--number-2px: 2;--number-4px: 4;--number-6px: 6;--number-8px: 8;--number-12px: 12;--number-16px: 16;--number-20px: 20;--number-24px: 24;--number-32px: 32;--number-40px: 40;--number-full: 999;--color-blackalpha-0: #000000;--color-blackalpha-50: #0000000C;--color-blackalpha-100: #00000019;--color-blackalpha-200: #00000033;--color-blackalpha-300: #0000004C;--color-blackalpha-400: #00000066;--color-blackalpha-500: #0000007F;--color-blackalpha-600: #00000099;--color-blackalpha-700: #000000B2;--color-blackalpha-800: #000000CC;--color-blackalpha-900: #000000E5;--color-blackalpha-950: #000000;--bg-bg-card: var(--color-yellow-0);--bg-bg-soul: #FFFFFF;--bg-bg-canvas: var(--color-gold-50);--bg-bg-warning: var(--color-yellow-500);--bg-bg-error: var(--color-red-500);--bg-bg-success: var(--color-green-500);--bg-bg-brand: var(--color-lime-500);--bg-bg-king: var(--color-teal-500);--bg-bg-queen: var(--color-pink-400);--bg-bg-card-inverse: var(--color-yellow-950);--bg-bg-canvas-inverse: var(--color-gold-950);--bg-bg-brand-inverse: var(--color-lime-950);--bg-button-bg-btn-primary-idle: var(--color-lime-500);--bg-button-bg-btn-primary-hover: var(--color-lime-650);--bg-button-bg-btn-primary-active: var(--color-lime-600);--bg-button-bg-btn-primary-pressed: var(--color-lime-650);--bg-button-bg-btn-secondary-idle: var(--color-grey-0);--bg-button-bg-btn-secondary-hover: var(--color-grey-50);--bg-button-bg-btn-secondary-active: var(--color-grey-0);--bg-button-bg-btn-secondary-pressed: var(--color-grey-50);--bg-button-bg-btn-primary-inverse: var(--color-lime-100);--bg-button-bg-btn-warning-idle: var(--color-yellow-400);--bg-button-bg-btn-warning-hover: var(--color-yellow-500);--bg-button-bg-btn-warning-active: var(--color-yellow-500);--bg-button-bg-btn-warning-pressed: var(--color-yellow-600);--bg-button-bg-btn-warning-inverse-idle: var(--color-yellow-50);--bg-button-bg-btn-warning-inverse-hover: var(--color-yellow-100);--bg-button-bg-btn-error-idle: var(--color-red-500);--bg-button-bg-btn-error-hover: var(--color-red-700);--bg-button-bg-btn-error-active: var(--color-red-700);--bg-button-bg-btn-error-pressed: var(--color-red-700);--bg-button-bg-btn-error-inverse-idle: var(--color-red-50);--bg-button-bg-btn-error-inverse-hover: var(--color-red-100);--bg-button-bg-btn-success-idle: var(--color-green-600);--bg-button-bg-btn-success-hover: var(--color-green-700);--bg-button-bg-btn-success-active: var(--color-green-700);--bg-button-bg-btn-success-pressed: var(--color-green-800);--bg-button-bg-btn-success-inverse-idle: var(--color-green-50);--bg-button-bg-btn-success-inverse-hover: var(--color-green-50);--bg-button-bg-btn-disabled: var(--color-grey-100);--bg-input-bg-input-idle: var(--color-grey-0);--bg-input-bg-input-hover: var(--color-grey-50);--bg-input-bg-input-active: var(--color-grey-0);--bg-input-bg-input-pressed: var(--color-grey-50);--bg-input-bg-input-error: var(--color-red-50);--bg-input-bg-input-disabled: var(--color-grey-50);--text-text-label: var(--color-lime-900);--border-border-focus: var(--color-blue-500);--border-border-card: var(--color-grey-200);--border-button-border-btn-idle: var(--color-grey-400);--border-button-border-btn-hover: var(--color-grey-500);--border-button-border-btn-active: var(--color-grey-400);--border-button-border-btn-pressed: var(--color-grey-500);--border-button-border-btn-disabled: var(--color-grey-200);--border-button-border-btn-primary-idle: var(--color-lime-500);--border-button-border-btn-primary-hover: var(--color-lime-700);--border-button-border-btn-primary-active: var(--color-lime-50);--border-button-border-btn-primary-pressed: var(--color-lime-300);--border-button-border-btn-warning-idle: var(--color-yellow-500);--border-button-border-btn-warning-hover: var(--color-yellow-700);--border-button-border-btn-warning-active: var(--color-yellow-100);--border-button-border-btn-warning-pressed: var(--color-yellow-300);--border-button-border-btn-success-idle: var(--color-green-500);--border-button-border-btn-success-hover: var(--color-green-700);--border-button-border-btn-success-active: var(--color-green-100);--border-button-border-btn-error-idle: var(--color-red-500);--border-button-border-btn-error-hover: var(--color-red-600);--border-button-border-btn-error-active: var(--color-red-700);--border-button-border-btn-error-pressed: var(--color-red-300);--border-input-border-input-idle: var(--color-grey-200);--border-input-border-input-hover: var(--color-grey-300);--border-input-border-input-active: var(--color-grey-300);--border-input-border-input-pressed: var(--color-grey-400);--border-input-border-input-error: var(--color-red-300);--border-input-border-input-disabled: var(--color-grey-100);--text-text-label-inverse: var(--color-lime-50);--text-text-warning: var(--color-yellow-700);--text-text-warning-inverse: var(--color-yellow-50);--text-text-success: var(--color-green-800);--text-text-success-inverse: var(--color-green-0);--text-text-error: var(--color-red-700);--text-text-error-inverse: var(--color-red-0);--text-text-disabled: var(--color-grey-200);--text-text-display: var(--color-grey-800);--text-text-display-inverse: var(--color-grey-0);--text-text-headline: var(--color-grey-900);--text-text-headline-inverse: var(--color-grey-0);--text-text-title: var(--color-grey-900);--text-text-title-inverse: var(--color-grey-0);--text-text-body: var(--color-grey-800);--text-text-body-inverse: var(--color-grey-50);--text-text-subtitle: var(--color-grey-600);--text-text-subtitle-inverse: var(--color-grey-50);--text-text-caption: var(--color-grey-600);--text-text-caption-inverse: var(--color-grey-50);--text-link-link-idle: var(--color-blue-600);--text-link-link-hover: var(--color-blue-700);--text-link-link-active: var(--color-blue-700);--text-link-link-presssed: var(--color-blue-800);--text-link-link-inverse: var(--color-blue-50);--icon-icon-primary-idle: var(--color-black-300);--icon-icon-primary-hover: var(--color-black-500);--icon-icon-primary-pressed: var(--color-black-600);--icon-icon-primary-inverse: var(--color-grey-0);--icon-icon-brand: var(--color-lime-600);--icon-icon-error-idle: var(--color-red-600);--icon-icon-disabled: var(--color-black-100);--icon-icon-error-inverse: var(--color-red-0);--icon-icon-warning: var(--color-yellow-600);--icon-icon-warning-inverse: var(--color-yellow-0);--icon-icon-success: var(--color-green-600);--icon-icon-success-inverse: var(--color-green-0);--icon-icon-link: var(--color-blue-600);--exceptions-alpha-50: var(--color-blackalpha-50);--exceptions-alpha-100: var(--color-blackalpha-100);--exceptions-gold: var(--color-gold-400);--exceptions-turquoise: var(--color-turquoise-600);--text-text-brand: var(--color-lime-500)}.display__large{font-size:57px;font-family:Roboto,sans-serif;font-weight:400;letter-spacing:-0.25px;line-height:64px}.display__medium{font-size:45px;font-family:Roboto,sans-serif;font-weight:400;line-height:52px}.display__small{font-size:36px;font-family:Roboto,sans-serif;font-weight:400;line-height:44px}.headline__large{font-size:32px;font-family:Roboto,sans-serif;font-weight:400;line-height:40px}.headline__medium{font-size:28px;font-family:Roboto,sans-serif;font-weight:400;line-height:36px}.headline__small{font-size:24px;font-family:Roboto,sans-serif;font-weight:400;line-height:32px}.title__large{font-size:22px;font-family:Roboto,sans-serif;font-weight:400;line-height:28px}.title__medium{font-size:16px;font-family:Roboto,sans-serif;font-weight:500;letter-spacing:.150000006px;line-height:24px}.title__small{font-size:14px;font-family:Roboto,sans-serif;font-weight:500;letter-spacing:.1000000015px;line-height:20px}.body__large{font-size:16px;font-family:Roboto,sans-serif;font-weight:400;letter-spacing:.5px;line-height:24px}.body__medium{font-size:14px;font-family:Roboto,sans-serif;font-weight:400;letter-spacing:.25px;line-height:20px}.body__small{font-size:12px;font-family:Roboto,sans-serif;font-weight:400;line-height:16px}.label__largeprominent{font-size:14px;font-family:Roboto,sans-serif;font-weight:undefined;letter-spacing:.1000000015px;line-height:20px}.label__large{font-size:14px;font-family:Roboto,sans-serif;font-weight:500;letter-spacing:.1000000015px;line-height:20px}.label__mediumprominent{font-size:12px;font-family:Roboto,sans-serif;font-weight:600;letter-spacing:.5px;line-height:16px}.label__medium{font-size:12px;font-family:Roboto,sans-serif;font-weight:500;letter-spacing:.5px;line-height:16px}.label__small{font-size:11px;font-family:Roboto,sans-serif;font-weight:500;letter-spacing:.5px;line-height:16px}.shadowbutton{box-shadow:1.5px 1.5px 0px rgba(0,0,0,.2)}.text__text__title{color:var(--Text-text-title, #1a1a1a);text-align:center;font-family:Roboto;font-size:16px;font-style:normal;font-weight:400;line-height:24px;letter-spacing:.5px}.virfice-form-info{display:flex;gap:16px;padding:12px 8px;border-radius:7px 0px 0px 7px;border-left:2px solid var(--bg-bg-brand, #C8E265);background:var(--bg-bg-canvas, #FFFAEB)}.virfice-form-info .body__large{color:var(--text-text-subtitle, #616161)}.virfice-tab-container{width:100%}.virfice-tab-container .virfice-tab-head{display:flex;gap:4px;width:100%}.virfice-tab-container .virfice-tab-head .virfice-tab-header{display:flex;height:24px;padding:2px 8px;justify-content:center;align-items:center;cursor:pointer;border-radius:6px;background-color:#fff;width:100%}.virfice-tab-container .virfice-tab-head .virfice-tab-header.active,.virfice-tab-container .virfice-tab-head .virfice-tab-header:hover{background-color:rgba(0,0,0,.0509803922)}.virfice-container{width:1038px;max-width:100%;margin-left:auto;margin-right:auto}.virfice-card{background-color:#fffefa;display:flex;padding:16px 20px;align-items:flex-start;gap:32px;border-radius:var(--Radius-M, 6px);border:1px solid var(--Greyscale-Border-Idle, #C9C9C9);background:var(--Colors-Card-idle, #FFFEFA)}.virfice-card.virfice-padding-0{padding:0}.virfice-btn{width:max-content;display:flex;padding:var(--V-Padding, 6px) var(--H-Padding, 12px);justify-content:center;align-items:center;gap:var(--Spacing, 4px);border-radius:var(--Radius, 999px);background:var(--bg-button-bg-btn-primary-idle);box-shadow:1.5px 1.5px 0px 0px rgba(0,0,0,.2);border:1px solid var(--Greyscale-Border-Pressed, #949494);color:var(--Greyscale-Text-Body, #303030);cursor:pointer}.virfice-btn:disabled{background:var(--bg-button-bg-btn-disabled, #e6e6e6);pointer-events:none}.virfice-btn.virfice-btn-primary:hover{background:var(--bg-button-bg-btn-primary-hover, rgb(169, 201, 44))}.virfice-btn.virfice-small{padding:4px 8px}.virfice-btn.virfice-btn-danger{border:1px solid var(--border-button-border-btn-error-idle, #ff0d00);background:var(--bg-button-bg-btn-error-inverse-idle, #ffe7e5)}.virfice-btn.virfice-btn-danger:hover{border:1px solid var(--border-button-border-btn-error-hover, #cc0a00);background:var(--bg-button-bg-btn-error-inverse-hover, #ffcfcc)}.virfice-btn.virfice-btn-danger:focus{border:1px solid var(--border-button-border-btn-error-active, #990800);background:var(--Bg-button-bg-btn-error-inverse-idle, #ffe7e5)}.virfice-btn.virfice-btn-secondary{background:#fcfcfc}.virfice-btn.virfice-btn-secondary:hover{background:#f2f2f2}.virfice-btn.virfice-btn-secondary:focus{background:#fcfcfc}.virfice-btn.virfice-btn-tertiary{border-radius:none;background:none;box-shadow:unset;border:1px solid rgba(0,0,0,0)}.virfice-btn.virfice-btn-tertiary.virfice-active,.virfice-btn.virfice-btn-tertiary:hover{background:#f2f2f2 !important}.virfice-btn.virfice-btn-tertiary:focus{background:#fcfcfc}.virfice-btn.virfice-btn-outline{background:none}.virfice-btn.virfice-btn-outline.virfice-active,.virfice-btn.virfice-btn-outline:hover{background:#f2f2f2 !important}.virfice-btn.virfice-btn-outline:focus{background:#fcfcfc}.virfice-btn.virfice-btn-plain{background:rgba(0,0,0,0);color:#06c;border:none;box-shadow:none;padding-left:0}.virfice-btn.virfice-btn-plain:hover{color:#004d99;text-decoration:underline}.virfice-btn.virfice-btn-plain:focus{color:#036;text-decoration:underline}.virfice-btn.virfice-icon{padding:6px !important}.virfice-toggle-btn{display:flex;flex-direction:column;gap:4px}.virfice-toggle-btn .virfice-toggle-btn__wrapper{display:flex;width:100%;border:1px solid var(--border-button-border-btn-idle, #949494);border-radius:4px;overflow:hidden}.virfice-toggle-btn .virfice-toggle-btn__wrapper .virfice-toggle-btn__option{width:100%;padding-top:8px;padding-bottom:8px;display:flex;justify-content:center;align-items:center;cursor:pointer}.virfice-toggle-btn .virfice-toggle-btn__wrapper .virfice-toggle-btn__option.virfice-toggle-btn__option--active{background-color:#f2f2f2}.virfice-toggle-btn .virfice-toggle-btn__wrapper .virfice-toggle-btn__option:not(:last-child){border-right:1px solid var(--border-button-border-btn-idle, #949494)}.virfice-textfileld-wrapper{display:flex;width:100%;flex-direction:column;align-items:flex-start;gap:4px}.virfice-textfileld-wrapper .body__medium{color:var(--text-text-title)}.virfice-textfileld-wrapper input,.virfice-textfileld-wrapper textarea{display:flex;flex-direction:column;align-items:flex-start;gap:var(--p-sapce-100);align-self:stretch;padding:7px 12px;border-radius:var(--Radius-S, 4px);border:1px solid var(--border-input-border-input-idle, #c9c9c9);background:var(--Bg-input-bg-input-idle, #fcfcfc);line-height:20px}.virfice-selectfileld-wrapper{display:flex;width:100%;flex-direction:column;align-items:flex-start;gap:4px}.virfice-selectfileld-wrapper .body__medium{color:var(--text-text-title)}.virfice-selectfileld-wrapper input{cursor:pointer;display:flex;flex-direction:column;align-items:flex-start;gap:var(--p-sapce-100);align-self:stretch;padding:7px 12px;padding-right:36px;border-radius:var(--Radius-S, 4px);border:1px solid var(--border-input-border-input-idle, #c9c9c9);background:var(--Bg-input-bg-input-idle, #fcfcfc);line-height:20px}.virfice-selectfileld-wrapper .virfice-backdrop{position:fixed;top:0;left:0;height:100%;width:100%;background-color:rgba(26,26,26,.0823529412)}.virfice-selectfileld-wrapper ul{position:absolute;z-index:2;background:#fff;width:100%;top:23px;border-radius:var(--radius-S, 4px);border:1px solid var(--border-input-border-input-idle, #c9c9c9);background:var(--bg-bg-soul, #fff);box-shadow:3px 3px 0px 0px #c1c1c1}.virfice-selectfileld-wrapper ul li{cursor:pointer;cursor:pointer;padding-left:16px;padding-top:8px;padding-bottom:8px;margin-bottom:0}.virfice-selectfileld-wrapper ul li:hover{background-color:rgba(176,176,176,.1411764706)}.virfice-paintfield-wrapper{display:flex;width:100%;flex-direction:column;align-items:flex-start;gap:4px}.virfice-paintfield-wrapper input{width:100%;padding:7px 12px;margin-left:0;border-radius:0px 4px 4px 0px;border:1px solid var(--border-input-border-input-idle, #c9c9c9);background:var(--Bg-input-bg-input-idle, #fcfcfc);line-height:20px}.virfice-paintfield-wrapper input:focus{border-radius:0px 4px 4px 0px}.virfice-paintfield-wrapper .virfice-color-code{display:flex;width:100%;border-radius:4px 0px 0px 4px;border-top:1px solid var(--border-input-border-input-idle, #c9c9c9);border-bottom:1px solid var(--border-input-border-input-idle, #c9c9c9);border-left:1px solid var(--border-input-border-input-idle, #c9c9c9);background:var(--Bg-input-bg-input-idle, #fcfcfc);position:relative}.virfice-paintfield-wrapper .sketch-picker{position:relative;top:34px}.virfice-feature-list-item{width:83px}.virfice-feature-list-item .virfice-illustration-wrapper{background-color:#f4f9e1;height:80px;width:100%;display:flex;justify-content:center;align-items:center}.virfice-feature-list-item .virfice-title{color:var(--Greyscale-Text-Title, #1A1A1A);font-family:Roboto;font-size:12px;font-style:normal;font-weight:400;line-height:16px;margin:0}.virfice-media-uploader-wrapper{display:flex;width:100%;flex-direction:column;align-items:flex-start;gap:4px}.virfice-media-uploader-wrapper .body__medium{color:var(--text-text-subtitle, #616161);text-align:center}.virfice-media-uploader-wrapper .virfice-media-uploader-has-media{border-radius:var(--radius-S, 4px);border:1px solid #c9c9c9;background-image:conic-gradient(rgba(0, 0, 0, 0.12) 0deg 90deg, rgba(0, 0, 0, 0.06) 90deg 180deg, rgba(0, 0, 0, 0.12) 180deg 270deg, rgba(0, 0, 0, 0.06) 270deg 360deg);background-size:20px 20px;background-position:center top;height:214px;width:100%;display:flex;justify-content:center;align-items:center;position:relative}.virfice-media-uploader-wrapper .virfice-media-uploader-has-media .virfice-media-uploader-has-media-actions{visibility:hidden;background:rgba(0,0,0,.6);position:absolute;inset:0;display:flex;justify-content:center;align-items:center;gap:8px}.virfice-media-uploader-wrapper .virfice-media-uploader-has-media:hover .virfice-media-uploader-has-media-actions{visibility:visible}.virfice-media-uploader-wrapper .virfice-media-uploader-empty{width:100%;border-radius:var(--radius-S, 4px);border:1px solid #c9c9c9;background:var(--bg-input-bg-input-idle, #FCFCFC);padding:24px 32px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:8px}.virfice-modal .virfice-backdrop{position:fixed;inset:0;z-index:9999;background:rgba(18,22,4,.94);backdrop-filter:blur(6px)}.virfice-modal .virfice-modal-wrapper{position:fixed;width:380px;top:50%;left:50%;transform:translate(-50%, -50%);z-index:10000;border-radius:var(--radius-l, 12px);background:var(--p-color-bg-surface, white);overflow:hidden}.virfice-modal .virfice-modal-wrapper .virfice-modal-header{display:flex;padding:16px;align-items:center;gap:var(--p-sapce-200);justify-content:space-between;border-bottom:1px solid var(--p-color-border);background:var(--bg-button-bg-btn-primary-inverse, #F4F9E1)}.virfice-modal .virfice-modal-wrapper .virfice-modal-header .virfice-modal-close{cursor:pointer}.virfice-modal .virfice-modal-wrapper .virfice-modal-body{padding:12px 16px}.virfice-modal .virfice-modal-wrapper .virfice-modal-footer{padding:16px;border-top:1px solid var(--border-input-border-input-idle, #C9C9C9);background:var(--p-color-bg-surface);display:flex;justify-content:flex-end}.virfice-data-table{width:100%;text-align:left;border-collapse:collapse}.virfice-data-table thead th{border-bottom:1px solid #e3e3e3;padding:12px}.virfice-data-table tbody .virfice-action-buttons{visibility:hidden}.virfice-data-table tbody tr:hover{cursor:pointer;background-color:#f2f2f2}.virfice-data-table tbody tr:hover .virfice-action-buttons{visibility:visible}.virfice-data-table tbody td{border-bottom:1px solid #e3e3e3;padding:12px}.virfice-badge{background:var(--bg-button-bg-btn-secondary-idle, rgb(252, 252, 252));padding-top:2px;padding-bottom:2px;padding-left:8px;padding-right:8px;display:inline-flex;justify-content:center;align-items:center;border-radius:var(--radius-Full, 999px);gap:4px;font-family:Roboto;font-size:12px;font-style:normal;font-weight:500;line-height:16px;letter-spacing:.5px}.virfice-badge.virfice-active{background:var(--bg-button-bg-btn-success-inverse-idle, rgb(225, 255, 236))}.virfice-badge.virfice-active svg{color:#029c3d}.virfice-badge.virfice-success{background:var(--bg-button-bg-btn-success-idle, rgb(2, 156, 61))}.virfice-badge.virfice-warning{background:var(--bg-button-bg-btn-warning-idle, rgb(255, 235, 51))}.virfice-badge.virfice-in-active{background:var(--bg-button-bg-btn-disabled, rgb(230, 230, 230))}.virfice-badge.virfice-in-active svg{color:#666}.virfice-notification-bell{display:flex;width:300px;padding:8px;justify-content:center;align-items:center;width:100%;z-index:10000}.virfice-notification-bell.virfice-success{background:var(--bg-bg-success, #03C04A);color:#fafffc}.virfice-notification-bell.virfice-danger{background:var(--bg-bg-error, #FF0D00);color:#fafffc}.virfice-help-text{font-size:11px}.virfice-help-text code{font-size:11px;padding:1px;background:#f4f9e1}.virfice-rangefield-wrapper{display:flex;width:100%;flex-direction:column;align-items:flex-start;gap:4px}.virfice-rangefield-wrapper .body__medium{color:var(--text-text-title)}.virfice-rangefield-wrapper .virfice-range-and-input-wrapper{display:flex;width:100%;gap:12px}.virfice-rangefield-wrapper .virfice-range-and-input-wrapper .virfice-textfileld-wrapper{max-width:77px}.virfice-rangefield-wrapper .virfice-range-and-input-wrapper .virfice-textfileld-wrapper input{padding-right:32px}.virfice-accordion .virfice-accordion-header{cursor:pointer;color:var(--text-text-body, #303030);font-family:Roboto;font-size:16px;font-style:normal;font-weight:500;line-height:24px;letter-spacing:.15px;display:flex;padding:4px 8px 4px 0px;justify-content:space-between;align-items:center}.virfice-accordion .virfice-accordion-header.virfice-active{border-radius:6px;background:#f2f2f2;padding-left:8px}.virfice-accordion .virfice-accordion-header svg{margin-right:-8px}.virfice-accordion .virfice-accordion-content{padding-top:12px;padding-bottom:12px}*,*::before,*::after{box-sizing:border-box}body{background-color:#fef8ee}a{cursor:pointer}svg{max-width:100%;max-height:100%}#virfice-dashboard{margin-left:-20px;position:fixed;top:0;background:#fef8ee;z-index:3;width:calc(100% - 160px);height:100%;overflow:overlay;padding-bottom:64px;-webkit-user-select:none;-ms-user-select:none;user-select:none}.folded #virfice-dashboard{width:calc(100% - 36px)}.virfice-cursor-pointer{cursor:pointer}.virfice-w-100{width:100%}.virfice-flex{display:flex}.virfice-flex-col{display:flex;flex-direction:column}.virfice-flex-align-center{display:flex;align-items:center}.virfice-flex-justify-center{display:flex;justify-content:center}.virfice-flex-center-center{display:flex;justify-content:center;align-items:center}.virfice-flex-space-between{display:flex;justify-content:space-between}.virfice-gap-2{gap:4px}.virfice-gap-4{gap:4px}.virfice-gap-6{gap:6px}.virfice-gap-8{gap:8px}.virfice-gap-16{gap:16px}.virfice-gap-20{gap:20px}.virfice-gap-24{gap:24px}.virfice-mp-0{margin:0;padding:0}.virfice-sticky-top-110{position:sticky;top:110px}.virfice-landing-header-section{border-bottom:1px solid var(--Greyscale-Border-Idle, #c9c9c9);margin-bottom:32px;padding-top:8px;padding-bottom:8px;position:sticky;top:32px;margin-bottom:64px;background-color:#f4f9e1;z-index:2}.virfice-landing-header-section p{color:#000;font-family:Roboto;font-size:16px;font-style:normal;font-weight:400;line-height:24px;letter-spacing:.5px;margin:0}.virfice-feature-card{justify-content:space-between;align-items:center}.virfice-feature-card .virfice-heading{color:var(--Greyscale-Text-Title, #1a1a1a);font-family:Roboto;font-size:36px;font-style:normal;font-weight:500;line-height:44px;margin:0}.virfice-feature-card .virfice-sub-heading{color:var(--Greyscale-Text-Body, #303030);font-family:Roboto;font-size:16px;font-style:normal;font-weight:400;line-height:24px;letter-spacing:.5px;max-width:320px;margin:0}.virfice-feature-card .virfice-sub-headingstrong{font-weight:700}.virfice-feature-card .virfice-feature-list-wrapper{display:flex;flex-wrap:wrap;gap:24px;width:190px}.virfice-callout-card .virfice-heading{color:var(--p-color-text);font-family:Roboto;font-size:16px;font-style:normal;font-weight:500;line-height:24px;letter-spacing:.15px;margin:0;margin-bottom:4px}.virfice-callout-card .virfice-sub-heading{color:var(--p-color-text);font-family:Roboto;font-size:14px;font-style:normal;font-weight:400;line-height:20px;letter-spacing:.25px;margin:0;margin-bottom:16px}.virfice-callout-card .virfice-illustration-wrapper{height:144px;border-radius:6px}.virfice-table-card{padding:0;overflow:hidden}.virfice-stickty-top-nav{background:var(--Colors-Surface-Light, #f4f9e1);box-shadow:1.5px 1.5px 0px 0px rgba(0,0,0,.2);position:sticky;top:32px;z-index:2;margin-bottom:64px}.virfice-stickty-top-nav .virfice-action-wrapper{height:56px}.virfice-stickty-top-nav .virfice-action-wrapper .virfice-back{color:var(--p-color-text);font-feature-settings:\"clig\" off,\"liga\" off;font-family:Inter;font-size:14px;font-style:normal;font-weight:550;line-height:20px}.virfice-card-header{padding-bottom:12px;border-bottom:1px solid var(--Border-border-card, #c9c9c9);margin-bottom:16px}.virfice-form-group{display:flex;flex-direction:column;gap:12px;width:100%}#virfice-email-preview{border-radius:7px}.virfice-settings-menu{width:100%;min-height:70vh}.virfice-settings-menu .virfice-header{padding-top:16px;padding-bottom:12px;padding-left:16px}.virfice-settings-menu .virfice-header h2{margin:0}.virfice-settings-menu ul{width:100%;margin-bottom:0}.virfice-settings-menu ul li{width:100%;height:40px;display:flex;align-items:center;gap:8px;margin-bottom:0;padding-left:16px;overflow:hidden;text-overflow:ellipsis;font-family:Roboto;font-size:12px;font-style:normal;font-weight:600;line-height:16px;letter-spacing:.5px;cursor:pointer;border-top:1px solid var(--border-border-card, #c9c9c9)}.virfice-settings-menu ul li:last-child{border-bottom:1px solid var(--border-border-card, #c9c9c9)}.virfice-settings-menu ul li.virfice-active,.virfice-settings-menu ul li:hover{background:var(--bg-button-bg-btn-primary-inverse, #f4f9e1)}.virfice-ready-blocks-wrapper{width:100%}.virfice-ready-blocks-wrapper .virfice-single-ready-block{border-radius:var(--radius-m, 6px);border:1px solid var(--border-border-card, #c9c9c9);background:var(--bg-bg-soul, #fff);margin-bottom:12px;overflow:hidden}.virfice-ready-blocks-wrapper .virfice-single-ready-block img{width:100%}.virfice-ready-blocks-wrapper .virfice-single-ready-block:last-child{margin-bottom:-12px}.virfice-border-type-selection{display:flex;flex-direction:column;gap:16px}.virfice-border-type-selection .virfice-border-type-selection-item{padding:24px 12px;border-radius:var(--radius-S, 4px);border:1px solid var(--border-input-border-input-idle, #c9c9c9);background:var(--bg-input-bg-input-idle, #fcfcfc);cursor:pointer}.virfice-border-type-selection .virfice-border-type-selection-item:hover{border:1px solid var(--bg-bg-brand, #c8e265);background:var(--bg-button-bg-btn-primary-inverse, #f4f9e1)}.virfice-border-type-selection .virfice-border-type-selection-item span{width:100%;display:block;border-top-width:4px;border-top-color:var(--border-button-border-btn-idle, #949494)}.virfice-inbox-preview{position:relative}.virfice-inbox-preview .virfice-inbox-preview-active{position:absolute;border-radius:7px 0px 0px 7px;border:1px solid var(--border-border-card, #c9c9c9);background:#fff;box-shadow:-3px 0px 0px 0px #c8e265;display:flex;gap:16px;padding:16px;width:381px;height:107px;top:118px;left:-13px}.virfice-inbox-preview .virfice-inbox-preview-active img{width:37px;height:37px;border-radius:50%}.virfice-inbox-preview .virfice-inbox-preview-active .virfice-inbox-preview-active-title{color:var(--gmail-black, #292929);font-family:\"Open Sans\";font-size:16px;font-style:normal;font-weight:700;line-height:normal}.virfice-inbox-preview .virfice-inbox-preview-active .virfice-inbox-preview-active-sub-title{color:var(--gmail-black, #292929);font-family:Roboto;font-size:14px;font-style:normal;font-weight:500;line-height:normal}.virfice-inbox-preview .virfice-inbox-preview-active .virfice-inbox-preview-active-message{color:var(--gmail-grey, #5d5c5d);font-family:Roboto;font-size:14px;font-style:normal;font-weight:400;line-height:normal}.virfice-builder-section-main{position:absolute;top:112px;margin:auto;width:100%}.virfice-builder-section-main.virfice-builder-section-main-brand-settings{top:unset}.virfice-builder-section-main.virfice-builder-section-main-brand-settings .virfice-builder-right-panel-wrapper{overflow:scroll}.virfice-builder-section-main .virfice-builder-left-panel-wrapper{width:880px}.virfice-builder-section-main .virfice-builder-left-panel-wrapper #virfice-editor-wrapper{height:calc(-204px + 100vh);text-align:center}.virfice-builder-section-main .virfice-builder-right-panel-wrapper{width:380px;height:calc(-120px + 100vh)}.virfice-builder-section-main .virfice-ready-blocks-wrapper{width:378px;height:calc(100vh - 120px);overflow:scroll;margin-left:-20px;padding-left:20px;padding-right:20px;padding-bottom:16px;margin-bottom:-16px}.virfice-editor-wrapper{position:relative}.virfice-editor-wrapper iframe{height:100%;width:100%}.virfice-editor-wrapper .virfice-element-controls.virfice-empty-canvas{width:100%;position:absolute;top:20px}.virfice-editor-wrapper .virfice-element-controls .virfice-element-border{box-shadow:0 2px 0 0 #02732d;box-shadow:0 -2px 0 0 #02732d;box-shadow:-2px 0 0 0 #02732d;box-shadow:2px 0 0 0 #02732d;box-shadow:0 0 0 2px #02732d;pointer-events:none}.virfice-editor-wrapper .virfice-element-controls .virfice-right-control{pointer-events:all;position:absolute;right:-36px;top:0px;border-radius:99px;border:1px solid #c9c9c9;width:28px;background:#fff;box-shadow:3px 4px 6px -3px rgba(10,10,10,.08);overflow:hidden;display:flex;flex-direction:column;align-items:center}.virfice-editor-wrapper .virfice-element-controls .virfice-right-control .virfice-item{line-height:0;cursor:pointer}.virfice-editor-wrapper .virfice-element-controls .virfice-right-control .virfice-item:hover{background:#f2f2f2}.virfice-editor-wrapper .virfice-element-hover-border{box-shadow:0 2px 0 0 #03c04a;box-shadow:0 -2px 0 0 #03c04a;box-shadow:-2px 0 0 0 #03c04a;box-shadow:2px 0 0 0 #03c04a;box-shadow:0 0 0 2px #03c04a;pointer-events:none}.virfice-editor-wrapper .virfice-element-hover-border .virfice-add-section-button-wrapper{opacity:0}.virfice-editor-wrapper .virfice-empty-add-button{position:relative;padding:20px}.virfice-editor-wrapper .virfice-empty-add-button .virfice-add-section-button-wrapper{position:relative !important;bottom:unset}.virfice-editor-wrapper .virfice-add-section-button-wrapper{position:absolute;bottom:-16px;display:flex;justify-content:center;align-items:center;width:100%;transition:all .3s}.virfice-editor-wrapper .virfice-add-section-button-wrapper.virfice-add-section-button-wrapper-opened{opacity:1}.virfice-editor-wrapper .virfice-add-section-button-wrapper:hover{opacity:1 !important}.virfice-editor-wrapper .virfice-add-section-button-wrapper .virfice-add-section-items-wrapper{position:absolute;background:#f4f9e1;width:100%;top:-14px;border:1px dashed #89a31f}.virfice-editor-wrapper .virfice-add-section-button-wrapper .virfice-add-section-header{display:flex;padding:16px;align-items:center;gap:8px;justify-content:space-between;border-bottom:1px solid #c9c9c9}.virfice-editor-wrapper .virfice-add-section-button-wrapper .virfice-add-section-header .virfice-title{color:var(--text-text-headline, #1a1a1a);font-family:Roboto;font-size:16px;font-style:normal;font-weight:500;line-height:24px;letter-spacing:.15px}.virfice-editor-wrapper .virfice-add-section-button-wrapper .virfice-add-section-body{padding:16px;gap:16px;display:flex;flex-wrap:wrap;align-items:center;justify-content:center}.virfice-editor-wrapper .virfice-add-section-button-wrapper .virfice-add-section-body .virfice-item{pointer-events:all;display:flex;height:80px;width:100px;flex-direction:column;justify-content:center;align-items:center;gap:var(--spacing, 4px);flex-shrink:0;border-radius:16px;border:var(--size-0, 1px) solid var(--border-button-border-btn-idle, #949494);background:var(--bg-button-bg-btn-secondary-idle, #fcfcfc);box-shadow:1.5px 1.5px 0px 0px rgba(0,0,0,.2);cursor:pointer}.virfice-editor-wrapper .virfice-add-section-button-wrapper .virfice-add-section-body .virfice-item:hover{background:var(--bg-button-bg-btn-secondary-hover, #f2f2f2)}.virfice-editor-wrapper .virfice-add-section-button-wrapper .virfice-add-section-body .virfice-item .virfice-item-title{white-space:nowrap;text-overflow:ellipsis;max-width:90px;overflow:hidden}.virfice-template-wrapper *{user-select:none;cursor:default;line-height:1 !important}.virfice-settings-wrapper{width:378px;height:calc(100vh - 186px);overflow:scroll;margin-left:-20px;padding-left:20px;padding-right:20px;padding-bottom:16px;margin-bottom:-16px}.virfice-settings-wrapper .virfice-child-list{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:4px;user-select:none;cursor:default;align-self:stretch}.virfice-settings-wrapper .virfice-child-list .virfice-item{border-radius:6px;background:#fff;display:flex;padding:4px 8px;align-items:center;gap:8px;overflow:hidden;justify-content:space-between;width:100%}.virfice-settings-wrapper .virfice-child-list .virfice-item:hover{border-radius:6px;background:#f2f2f2}.virfice-settings-wrapper .virfice-child-list .virfice-item .virfice-item-action-wrapper{display:flex;gap:8px;line-height:0}.virfice-settings-wrapper .virfice-child-list .virfice-item .virfice-item-action-wrapper .virfice-item-action{cursor:pointer}.virfice-settings-wrapper .virfice-child-list .virfice-item .virfice-item-action-wrapper .virfice-item-action:hover{background:#f2f2f2}.virfice-template-preview-wrapper{width:100%;height:100%;position:relative;top:64px}.virfice-template-preview-wrapper .virfice-desktop{width:600px;margin:auto;box-shadow:0px 440px 123px 0px rgba(0,0,0,0),0px 282px 113px 0px rgba(0,0,0,.01),0px 158px 95px 0px rgba(0,0,0,.05),0px 70px 70px 0px rgba(0,0,0,.09),0px 18px 39px 0px rgba(0,0,0,.1)}.virfice-template-preview-wrapper .virfice-desktop iframe{height:658px !important;width:600px;top:-5px;position:relative}.virfice-template-preview-wrapper .virfice-actions{position:absolute;right:64px;bottom:64px;border-radius:99px;border:1px solid var(--border-border-card, #c9c9c9);background:var(--bg-bg-brand, #c8e265);box-shadow:3px 4px 12px -3px rgba(92,110,22,.5)}"],"sourceRoot":""}
     1{"version":3,"sources":["webpack:///./assets-sources/scss/style.scss (1)"],"names":[],"mappings":";AAAA,MAAM,0BAA0B,wBAAwB,2BAA2B,4BAA4B,4BAA4B,4BAA4B,4BAA4B,4BAA4B,4BAA4B,4BAA4B,4BAA4B,4BAA4B,4BAA4B,yBAAyB,0BAA0B,0BAA0B,0BAA0B,0BAA0B,0BAA0B,0BAA0B,0BAA0B,0BAA0B,0BAA0B,wBAAwB,0BAA0B,yBAAyB,0BAA0B,0BAA0B,0BAA0B,0BAA0B,0BAA0B,0BAA0B,0BAA0B,0BAA0B,0BAA0B,0BAA0B,wBAAwB,yBAAyB,0BAA0B,0BAA0B,0BAA0B,0BAA0B,0BAA0B,0BAA0B,0BAA0B,0BAA0B,0BAA0B,0BAA0B,yBAAyB,0BAA0B,2BAA2B,2BAA2B,2BAA2B,2BAA2B,2BAA2B,2BAA2B,2BAA2B,2BAA2B,2BAA2B,0BAA0B,2BAA2B,2BAA2B,4BAA4B,4BAA4B,4BAA4B,4BAA4B,4BAA4B,4BAA4B,4BAA4B,4BAA4B,4BAA4B,4BAA4B,0BAA0B,2BAA2B,4BAA4B,4BAA4B,4BAA4B,4BAA4B,4BAA4B,4BAA4B,4BAA4B,4BAA4B,4BAA4B,yBAAyB,4BAA4B,0BAA0B,2BAA2B,2BAA2B,2BAA2B,2BAA2B,2BAA2B,2BAA2B,2BAA2B,2BAA2B,2BAA2B,wBAAwB,2BAA2B,yBAAyB,0BAA0B,0BAA0B,0BAA0B,0BAA0B,0BAA0B,0BAA0B,0BAA0B,0BAA0B,0BAA0B,0BAA0B,wBAAwB,0BAA0B,yBAAyB,0BAA0B,0BAA0B,0BAA0B,0BAA0B,0BAA0B,0BAA0B,0BAA0B,0BAA0B,0BAA0B,0BAA0B,6BAA6B,8BAA8B,+BAA+B,+BAA+B,+BAA+B,+BAA+B,+BAA+B,+BAA+B,+BAA+B,+BAA+B,+BAA+B,wBAAwB,+BAA+B,yBAAyB,0BAA0B,0BAA0B,0BAA0B,0BAA0B,0BAA0B,0BAA0B,0BAA0B,0BAA0B,0BAA0B,0BAA0B,0BAA0B,2BAA2B,4BAA4B,4BAA4B,4BAA4B,4BAA4B,4BAA4B,4BAA4B,4BAA4B,4BAA4B,4BAA4B,4BAA4B,uBAAuB,wBAAwB,yBAAyB,yBAAyB,yBAAyB,yBAAyB,yBAAyB,yBAAyB,yBAAyB,yBAAyB,yBAAyB,yBAAyB,iBAAiB,gBAAgB,gBAAgB,gBAAgB,gBAAgB,gBAAgB,kBAAkB,kBAAkB,kBAAkB,kBAAkB,kBAAkB,kBAAkB,mBAAmB,8BAA8B,iCAAiC,kCAAkC,kCAAkC,kCAAkC,kCAAkC,kCAAkC,kCAAkC,kCAAkC,kCAAkC,kCAAkC,gCAAgC,oCAAoC,sBAAsB,qCAAqC,yCAAyC,oCAAoC,wCAAwC,qCAAqC,oCAAoC,qCAAqC,8CAA8C,8CAA8C,6CAA6C,uDAAuD,wDAAwD,yDAAyD,0DAA0D,uDAAuD,yDAAyD,yDAAyD,2DAA2D,0DAA0D,yDAAyD,0DAA0D,2DAA2D,4DAA4D,gEAAgE,kEAAkE,oDAAoD,qDAAqD,sDAAsD,uDAAuD,2DAA2D,6DAA6D,wDAAwD,yDAAyD,0DAA0D,2DAA2D,+DAA+D,gEAAgE,mDAAmD,8CAA8C,gDAAgD,gDAAgD,kDAAkD,+CAA+C,mDAAmD,yCAAyC,6CAA6C,4CAA4C,uDAAuD,wDAAwD,yDAAyD,0DAA0D,2DAA2D,+DAA+D,gEAAgE,gEAAgE,kEAAkE,iEAAiE,kEAAkE,mEAAmE,oEAAoE,gEAAgE,iEAAiE,kEAAkE,4DAA4D,6DAA6D,8DAA8D,+DAA+D,wDAAwD,yDAAyD,0DAA0D,2DAA2D,wDAAwD,4DAA4D,gDAAgD,6CAA6C,oDAAoD,4CAA4C,kDAAkD,wCAAwC,8CAA8C,4CAA4C,2CAA2C,iDAAiD,4CAA4C,kDAAkD,yCAAyC,+CAA+C,wCAAwC,+CAA+C,4CAA4C,mDAAmD,2CAA2C,kDAAkD,6CAA6C,8CAA8C,+CAA+C,iDAAiD,+CAA+C,iDAAiD,kDAAkD,oDAAoD,iDAAiD,yCAAyC,6CAA6C,6CAA6C,8CAA8C,6CAA6C,mDAAmD,4CAA4C,kDAAkD,wCAAwC,kDAAkD,oDAAoD,yCAAyC,mDAAmD,yCAAyC,gBAAgB,eAAe,8BAA8B,gBAAgB,uBAAuB,iBAAiB,iBAAiB,eAAe,8BAA8B,gBAAgB,iBAAiB,gBAAgB,eAAe,8BAA8B,gBAAgB,iBAAiB,iBAAiB,eAAe,8BAA8B,gBAAgB,iBAAiB,kBAAkB,eAAe,8BAA8B,gBAAgB,iBAAiB,iBAAiB,eAAe,8BAA8B,gBAAgB,iBAAiB,cAAc,eAAe,8BAA8B,gBAAgB,iBAAiB,eAAe,eAAe,8BAA8B,gBAAgB,4BAA4B,iBAAiB,cAAc,eAAe,8BAA8B,gBAAgB,6BAA6B,iBAAiB,aAAa,eAAe,8BAA8B,gBAAgB,oBAAoB,iBAAiB,cAAc,eAAe,8BAA8B,gBAAgB,qBAAqB,iBAAiB,aAAa,eAAe,8BAA8B,gBAAgB,iBAAiB,uBAAuB,eAAe,8BAA8B,sBAAsB,6BAA6B,iBAAiB,cAAc,eAAe,8BAA8B,gBAAgB,6BAA6B,iBAAiB,wBAAwB,eAAe,8BAA8B,gBAAgB,oBAAoB,iBAAiB,eAAe,eAAe,8BAA8B,gBAAgB,oBAAoB,iBAAiB,cAAc,eAAe,8BAA8B,gBAAgB,oBAAoB,iBAAiB,cAAc,0CAA0C,mBAAmB,sCAAsC,kBAAkB,mBAAmB,eAAe,kBAAkB,gBAAgB,iBAAiB,oBAAoB,mBAAmB,aAAa,SAAS,iBAAiB,8BAA8B,kDAAkD,wCAAwC,gCAAgC,yCAAyC,uBAAuB,WAAW,yCAAyC,aAAa,QAAQ,WAAW,6DAA6D,aAAa,YAAY,gBAAgB,uBAAuB,mBAAmB,eAAe,kBAAkB,sBAAsB,WAAW,uIAAuI,yCAAyC,mBAAmB,aAAa,eAAe,iBAAiB,kBAAkB,cAAc,yBAAyB,aAAa,kBAAkB,uBAAuB,SAAS,mCAAmC,uDAAuD,4CAA4C,gCAAgC,UAAU,aAAa,kBAAkB,aAAa,qDAAqD,uBAAuB,mBAAmB,wBAAwB,mCAAmC,gDAAgD,8CAA8C,0DAA0D,0CAA0C,eAAe,sBAAsB,qDAAqD,oBAAoB,uCAAuC,oEAAoE,2BAA2B,gBAAgB,gCAAgC,qEAAqE,+DAA+D,sCAAsC,sEAAsE,gEAAgE,sCAAsC,uEAAuE,+DAA+D,mCAAmC,mBAAmB,yCAAyC,mBAAmB,yCAAyC,mBAAmB,kCAAkC,mBAAmB,gBAAgB,iBAAiB,+BAA+B,yFAAyF,8BAA8B,wCAAwC,mBAAmB,iCAAiC,gBAAgB,uFAAuF,8BAA8B,uCAAuC,mBAAmB,+BAA+B,yBAAyB,WAAW,YAAY,gBAAgB,eAAe,qCAAqC,cAAc,0BAA0B,qCAAqC,WAAW,0BAA0B,0BAA0B,uBAAuB,wCAAwC,qBAAqB,oBAAoB,aAAa,sBAAsB,QAAQ,iDAAiD,aAAa,WAAW,+DAA+D,kBAAkB,gBAAgB,6EAA6E,WAAW,gBAAgB,mBAAmB,aAAa,uBAAuB,mBAAmB,eAAe,gHAAgH,yBAAyB,8FAA8F,qEAAqE,4BAA4B,aAAa,WAAW,sBAAsB,uBAAuB,QAAQ,0CAA0C,6BAA6B,uEAAuE,aAAa,sBAAsB,uBAAuB,uBAAuB,mBAAmB,iBAAiB,mCAAmC,gEAAgE,kDAAkD,iBAAiB,8BAA8B,aAAa,WAAW,sBAAsB,uBAAuB,QAAQ,4CAA4C,6BAA6B,oCAAoC,eAAe,aAAa,sBAAsB,uBAAuB,uBAAuB,mBAAmB,iBAAiB,mBAAmB,mCAAmC,gEAAgE,kDAAkD,iBAAiB,gDAAgD,eAAe,MAAM,OAAO,YAAY,WAAW,4CAA4C,iCAAiC,kBAAkB,UAAU,gBAAgB,WAAW,SAAS,mCAAmC,gEAAgE,mCAAmC,mCAAmC,oCAAoC,eAAe,eAAe,kBAAkB,gBAAgB,mBAAmB,gBAAgB,0CAA0C,+CAA+C,4BAA4B,aAAa,WAAW,sBAAsB,uBAAuB,QAAQ,kCAAkC,WAAW,iBAAiB,cAAc,8BAA8B,gEAAgE,kDAAkD,iBAAiB,wCAAwC,8BAA8B,gDAAgD,aAAa,WAAW,8BAA8B,oEAAoE,uEAAuE,qEAAqE,kDAAkD,kBAAkB,2CAA2C,kBAAkB,SAAS,gDAAgD,kBAAkB,WAAW,UAAU,yBAAyB,YAAY,WAAW,eAAe,aAAa,kBAAkB,iDAAiD,gBAAgB,oDAAoD,WAAW,WAAW,eAAe,UAAU,yBAAyB,QAAQ,kBAAkB,2BAA2B,WAAW,yDAAyD,yBAAyB,YAAY,WAAW,aAAa,uBAAuB,mBAAmB,0CAA0C,2CAA2C,mBAAmB,eAAe,kBAAkB,gBAAgB,iBAAiB,SAAS,gCAAgC,aAAa,WAAW,sBAAsB,uBAAuB,QAAQ,8CAA8C,yCAAyC,kBAAkB,kEAAkE,mCAAmC,yBAAyB,wKAAwK,0BAA0B,+BAA+B,aAAa,WAAW,aAAa,uBAAuB,mBAAmB,kBAAkB,4GAA4G,kBAAkB,0BAA0B,kBAAkB,QAAQ,aAAa,uBAAuB,mBAAmB,QAAQ,kHAAkH,mBAAmB,8DAA8D,WAAW,mCAAmC,yBAAyB,kDAAkD,kBAAkB,aAAa,sBAAsB,uBAAuB,mBAAmB,QAAQ,iCAAiC,eAAe,QAAQ,aAAa,6BAA6B,0BAA0B,sCAAsC,eAAe,YAAY,QAAQ,SAAS,gCAAgC,cAAc,oCAAoC,4CAA4C,gBAAgB,4DAA4D,aAAa,aAAa,mBAAmB,uBAAuB,8BAA8B,8CAA8C,4DAA4D,iFAAiF,eAAe,0DAA0D,kBAAkB,4DAA4D,aAAa,oEAAoE,qCAAqC,aAAa,yBAAyB,oBAAoB,WAAW,gBAAgB,yBAAyB,6BAA6B,gCAAgC,aAAa,kDAAkD,kBAAkB,mCAAmC,eAAe,yBAAyB,2DAA2D,mBAAmB,6BAA6B,gCAAgC,aAAa,eAAe,sEAAsE,gBAAgB,mBAAmB,iBAAiB,kBAAkB,oBAAoB,uBAAuB,mBAAmB,wCAAwC,QAAQ,mBAAmB,eAAe,kBAAkB,gBAAgB,iBAAiB,oBAAoB,8BAA8B,4EAA4E,kCAAkC,cAAc,+BAA+B,iEAAiE,+BAA+B,mEAAmE,iCAAiC,gEAAgE,qCAAqC,WAAW,2BAA2B,aAAa,YAAY,YAAY,uBAAuB,mBAAmB,WAAW,cAAc,2CAA2C,yCAAyC,cAAc,0CAA0C,uCAAuC,cAAc,mBAAmB,eAAe,wBAAwB,eAAe,YAAY,mBAAmB,4BAA4B,aAAa,WAAW,sBAAsB,uBAAuB,QAAQ,0CAA0C,6BAA6B,6DAA6D,aAAa,WAAW,SAAS,yFAAyF,eAAe,+FAA+F,mBAAmB,6CAA6C,eAAe,qCAAqC,mBAAmB,eAAe,kBAAkB,gBAAgB,iBAAiB,qBAAqB,aAAa,wBAAwB,8BAA8B,mBAAmB,4DAA4D,kBAAkB,mBAAmB,iBAAiB,iDAAiD,kBAAkB,8CAA8C,iBAAiB,oBAAoB,qBAAqB,sBAAsB,KAAK,yBAAyB,EAAE,eAAe,IAAI,eAAe,gBAAgB,mBAAmB,kBAAkB,eAAe,MAAM,mBAAmB,UAAU,yBAAyB,YAAY,iBAAiB,oBAAoB,yBAAyB,qBAAqB,iBAAiB,2BAA2B,wBAAwB,wBAAwB,eAAe,eAAe,WAAW,cAAc,aAAa,kBAAkB,aAAa,sBAAsB,2BAA2B,aAAa,mBAAmB,6BAA6B,aAAa,uBAAuB,4BAA4B,aAAa,uBAAuB,mBAAmB,4BAA4B,aAAa,8BAA8B,eAAe,QAAQ,eAAe,QAAQ,eAAe,QAAQ,eAAe,QAAQ,gBAAgB,SAAS,gBAAgB,SAAS,gBAAgB,SAAS,cAAc,SAAS,UAAU,wBAAwB,gBAAgB,UAAU,gCAAgC,8DAA8D,mBAAmB,gBAAgB,mBAAmB,gBAAgB,SAAS,mBAAmB,yBAAyB,UAAU,kCAAkC,WAAW,mBAAmB,eAAe,kBAAkB,gBAAgB,iBAAiB,oBAAoB,SAAS,sBAAsB,8BAA8B,mBAAmB,uCAAuC,2CAA2C,mBAAmB,eAAe,kBAAkB,gBAAgB,iBAAiB,SAAS,2CAA2C,0CAA0C,mBAAmB,eAAe,kBAAkB,gBAAgB,iBAAiB,oBAAoB,gBAAgB,SAAS,iDAAiD,gBAAgB,oDAAoD,aAAa,eAAe,SAAS,YAAY,uCAAuC,0BAA0B,mBAAmB,eAAe,kBAAkB,gBAAgB,iBAAiB,qBAAqB,SAAS,kBAAkB,2CAA2C,0BAA0B,mBAAmB,eAAe,kBAAkB,gBAAgB,iBAAiB,qBAAqB,SAAS,mBAAmB,oDAAoD,aAAa,kBAAkB,oBAAoB,UAAU,gBAAgB,yBAAyB,gDAAgD,8CAA8C,gBAAgB,SAAS,UAAU,mBAAmB,iDAAiD,YAAY,+DAA+D,0BAA0B,4CAA4C,kBAAkB,eAAe,kBAAkB,gBAAgB,iBAAiB,8CAA8C,aAAa,uBAAuB,mBAAmB,SAAS,wCAAwC,yCAAyC,eAAe,kBAAkB,gBAAgB,iBAAiB,wEAAwE,0EAA0E,qKAAqK,oCAAoC,aAAa,uBAAuB,mBAAmB,qCAAqC,uFAAuF,yCAAyC,yFAAyF,eAAe,+FAA+F,yCAAyC,qBAAqB,oBAAoB,2DAA2D,mBAAmB,oBAAoB,aAAa,sBAAsB,SAAS,WAAW,uBAAuB,kBAAkB,uBAAuB,WAAW,gBAAgB,uCAAuC,iBAAiB,oBAAoB,kBAAkB,0CAA0C,SAAS,0BAA0B,WAAW,gBAAgB,6BAA6B,WAAW,YAAY,aAAa,mBAAmB,QAAQ,gBAAgB,kBAAkB,gBAAgB,uBAAuB,mBAAmB,eAAe,kBAAkB,gBAAgB,iBAAiB,oBAAoB,eAAe,wDAAwD,wCAAwC,2DAA2D,+EAA+E,4DAA4D,8BAA8B,WAAW,0DAA0D,mCAAmC,oDAAoD,mCAAmC,mBAAmB,gBAAgB,8DAA8D,WAAW,qEAAqE,oBAAoB,+BAA+B,aAAa,sBAAsB,SAAS,mEAAmE,kBAAkB,mCAAmC,gEAAgE,kDAAkD,eAAe,yEAAyE,6CAA6C,4DAA4D,wEAAwE,WAAW,cAAc,qBAAqB,+DAA+D,uBAAuB,kBAAkB,qDAAqD,kBAAkB,8BAA8B,oDAAoD,gBAAgB,oCAAoC,aAAa,SAAS,aAAa,YAAY,aAAa,UAAU,WAAW,eAAe,yDAAyD,WAAW,YAAY,kBAAkB,yFAAyF,kCAAkC,wBAAwB,eAAe,kBAAkB,gBAAgB,mBAAmB,6FAA6F,kCAAkC,mBAAmB,eAAe,kBAAkB,gBAAgB,mBAAmB,2FAA2F,iCAAiC,mBAAmB,eAAe,kBAAkB,gBAAgB,mBAAmB,8BAA8B,kBAAkB,UAAU,YAAY,WAAW,0EAA0E,UAAU,+GAA+G,gBAAgB,kEAAkE,YAAY,0FAA0F,4BAA4B,kBAAkB,gBAAgB,mEAAmE,YAAY,4BAA4B,4DAA4D,YAAY,2BAA2B,gBAAgB,kBAAkB,kBAAkB,mBAAmB,oBAAoB,oBAAoB,wBAAwB,kBAAkB,+BAA+B,YAAY,WAAW,uEAAuE,WAAW,kBAAkB,SAAS,0EAA0E,6BAA6B,8BAA8B,8BAA8B,6BAA6B,6BAA6B,oBAAoB,yEAAyE,mBAAmB,kBAAkB,YAAY,QAAQ,mBAAmB,yBAAyB,WAAW,gBAAgB,+CAA+C,gBAAgB,aAAa,sBAAsB,mBAAmB,uFAAuF,cAAc,eAAe,6FAA6F,mBAAmB,sDAAsD,6BAA6B,8BAA8B,8BAA8B,6BAA6B,6BAA6B,oBAAoB,0FAA0F,UAAU,kDAAkD,kBAAkB,aAAa,sFAAsF,6BAA6B,aAAa,4DAA4D,kBAAkB,aAAa,aAAa,uBAAuB,mBAAmB,WAAW,mBAAmB,sGAAsG,UAAU,kEAAkE,qBAAqB,+FAA+F,kBAAkB,mBAAmB,WAAW,UAAU,0BAA0B,wFAAwF,aAAa,aAAa,mBAAmB,QAAQ,8BAA8B,gCAAgC,uGAAuG,yCAAyC,mBAAmB,eAAe,kBAAkB,gBAAgB,iBAAiB,qBAAqB,sFAAsF,aAAa,SAAS,aAAa,eAAe,mBAAmB,uBAAuB,oGAAoG,mBAAmB,aAAa,YAAY,YAAY,sBAAsB,uBAAuB,mBAAmB,wBAAwB,cAAc,mBAAmB,8EAA8E,2DAA2D,8CAA8C,eAAe,0GAA0G,4DAA4D,wHAAwH,mBAAmB,uBAAuB,eAAe,gBAAgB,4BAA4B,iBAAiB,eAAe,yBAAyB,0BAA0B,YAAY,2BAA2B,gBAAgB,kBAAkB,kBAAkB,mBAAmB,oBAAoB,oBAAoB,8CAA8C,aAAa,sBAAsB,uBAAuB,uBAAuB,QAAQ,iBAAiB,eAAe,mBAAmB,4DAA4D,kBAAkB,gBAAgB,aAAa,gBAAgB,mBAAmB,QAAQ,gBAAgB,8BAA8B,WAAW,kEAAkE,kBAAkB,mBAAmB,uFAAuF,8BAA8B,qBAAqB,yFAAyF,aAAa,QAAQ,cAAc,uBAAuB,mBAAmB,8GAA8G,eAAe,kBAAkB,UAAU,kCAAkC,WAAW,YAAY,kBAAkB,SAAS,mDAAmD,YAAY,YAAY,uLAAuL,0DAA0D,wBAAwB,YAAY,SAAS,kBAAkB,mDAAmD,kBAAkB,WAAW,YAAY,mBAAmB,oDAAoD,uCAAuC,gD","file":"css/virfice-style.min.css","sourcesContent":[":root{--color-purple-0: #FBF9FF;--color-pink-0: #FFF9FC;--color-purple-50: #F3EDFD;--color-purple-100: #EBDFFB;--color-purple-200: #D4BBF7;--color-purple-300: #C09BF3;--color-purple-400: #A876EF;--color-purple-500: #9556EB;--color-purple-600: #6F1BE4;--color-purple-700: #5415AD;--color-purple-800: #370E72;--color-purple-900: #1D073B;--color-purple-950: #0D031B;--color-pink-50: #FFE5F2;--color-pink-100: #FFCCE6;--color-pink-200: #FF99CC;--color-pink-300: #FF66B3;--color-pink-400: #FF3399;--color-pink-500: #FF017E;--color-pink-600: #CC0066;--color-pink-700: #99004D;--color-pink-800: #660033;--color-pink-900: #33001A;--color-gold-0: #FFFDF9;--color-pink-950: #19000D;--color-gold-50: #FFF9EA;--color-gold-100: #FFF0C2;--color-gold-200: #FFDF80;--color-gold-300: #FFD042;--color-gold-400: #FFBF00;--color-gold-500: #C29200;--color-gold-600: #997300;--color-gold-700: #755800;--color-gold-800: #4D3900;--color-gold-900: #291F00;--color-gold-950: #140F00;--color-grey-0: #FCFCFC;--color-grey-50: #F2F2F2;--color-grey-100: #E6E6E6;--color-grey-200: #C9C9C9;--color-grey-300: #B0B0B0;--color-grey-400: #949494;--color-grey-500: #797979;--color-grey-600: #616161;--color-grey-700: #4A4A4A;--color-grey-800: #303030;--color-grey-900: #1A1A1A;--color-grey-950: #0D0D0D;--color-black-0: #FCFCFC;--color-black-50: #E6E6E6;--color-black-100: #CCCCCC;--color-black-200: #999999;--color-black-300: #666666;--color-black-400: #333333;--color-black-500: #000000;--color-black-600: #000000;--color-black-700: #000000;--color-black-800: #000000;--color-black-900: #000000;--color-orange-0: #FFFCF9;--color-black-950: #000000;--color-orange-50: #FFF2E5;--color-orange-100: #FFE6CC;--color-orange-200: #FFCC99;--color-orange-300: #FFB366;--color-orange-400: #FF9933;--color-orange-500: #FE7F00;--color-orange-600: #CC6600;--color-orange-700: #994D00;--color-orange-800: #663300;--color-orange-900: #331A00;--color-orange-950: #190D00;--color-yellow-0: #FFFEF9;--color-yellow-50: #FFFCE5;--color-yellow-100: #FFFACC;--color-yellow-200: #FFF599;--color-yellow-300: #FFF066;--color-yellow-400: #FFEB33;--color-yellow-500: #FFE600;--color-yellow-600: #CCB800;--color-yellow-700: #998A00;--color-yellow-800: #665C00;--color-yellow-900: #332E00;--color-green-0: #F9FFFB;--color-yellow-950: #191700;--color-green-50: #E1FFEC;--color-green-100: #C3FED9;--color-green-200: #81FDB1;--color-green-300: #45FC8B;--color-green-400: #09FB66;--color-green-500: #03C04A;--color-green-600: #029C3D;--color-green-700: #02732D;--color-green-800: #014B1E;--color-green-900: #012810;--color-lime-0: #FDFEFA;--color-green-950: #001408;--color-lime-50: #F9FCEE;--color-lime-100: #F4F9E1;--color-lime-200: #EAF4C3;--color-lime-300: #DEEDA1;--color-lime-400: #D3E883;--color-lime-500: #C8E265;--color-lime-600: #B5D72D;--color-lime-650: #A9C82C;--color-lime-700: #89A31F;--color-lime-800: #5D7015;--color-lime-900: #2F380B;--color-teal-0: #F9FEFF;--color-lime-950: #161A05;--color-teal-50: #E1FEFF;--color-teal-100: #C2FEFF;--color-teal-200: #85FCFE;--color-teal-300: #4DFBFE;--color-teal-400: #10FAFE;--color-teal-500: #01CED1;--color-teal-600: #01A5A7;--color-teal-700: #017D7F;--color-teal-800: #005051;--color-teal-900: #002829;--color-teal-950: #001414;--color-turquoise-0: #F9FDFF;--color-turquoise-50: #EBF9FE;--color-turquoise-100: #D8F3FD;--color-turquoise-200: #B1E8FC;--color-turquoise-300: #84DBFA;--color-turquoise-400: #5DCFF9;--color-turquoise-500: #35C4F7;--color-turquoise-600: #09ACE7;--color-turquoise-700: #0780AC;--color-turquoise-800: #055876;--color-turquoise-900: #022C3B;--color-blue-0: #F9FCFF;--color-turquoise-950: #01161D;--color-blue-50: #E5F2FF;--color-blue-100: #CCE6FF;--color-blue-200: #99CCFF;--color-blue-300: #66B3FF;--color-blue-400: #3399FF;--color-blue-500: #0080FF;--color-blue-600: #0066CC;--color-blue-700: #004D99;--color-blue-800: #003366;--color-blue-900: #001A33;--color-blue-950: #000D19;--color-indigo-0: #F9F9FF;--color-indigo-50: #F2F2FD;--color-indigo-100: #E5E5FB;--color-indigo-200: #C7C6F6;--color-indigo-300: #ADACF1;--color-indigo-400: #8F8DEC;--color-indigo-500: #7473E8;--color-indigo-600: #3835DE;--color-indigo-700: #201DB4;--color-indigo-800: #151376;--color-indigo-900: #0B0A3D;--color-indigo-950: #05051F;--color-red-0: #FFFAF9;--color-red-50: #FFE7E5;--color-red-100: #FFCFCC;--color-red-200: #FF9E99;--color-red-300: #FF6E66;--color-red-400: #FF3D33;--color-red-500: #FF0C00;--color-red-600: #CC0A00;--color-red-700: #990800;--color-red-800: #660500;--color-red-900: #330300;--color-red-950: #190100;--number-none: 0;--number-1px: 1;--number-2px: 2;--number-4px: 4;--number-6px: 6;--number-8px: 8;--number-12px: 12;--number-16px: 16;--number-20px: 20;--number-24px: 24;--number-32px: 32;--number-40px: 40;--number-full: 999;--color-blackalpha-0: #000000;--color-blackalpha-50: #0000000C;--color-blackalpha-100: #00000019;--color-blackalpha-200: #00000033;--color-blackalpha-300: #0000004C;--color-blackalpha-400: #00000066;--color-blackalpha-500: #0000007F;--color-blackalpha-600: #00000099;--color-blackalpha-700: #000000B2;--color-blackalpha-800: #000000CC;--color-blackalpha-900: #000000E5;--color-blackalpha-950: #000000;--bg-bg-card: var(--color-yellow-0);--bg-bg-soul: #FFFFFF;--bg-bg-canvas: var(--color-gold-50);--bg-bg-warning: var(--color-yellow-500);--bg-bg-error: var(--color-red-500);--bg-bg-success: var(--color-green-500);--bg-bg-brand: var(--color-lime-500);--bg-bg-king: var(--color-teal-500);--bg-bg-queen: var(--color-pink-400);--bg-bg-card-inverse: var(--color-yellow-950);--bg-bg-canvas-inverse: var(--color-gold-950);--bg-bg-brand-inverse: var(--color-lime-950);--bg-button-bg-btn-primary-idle: var(--color-lime-500);--bg-button-bg-btn-primary-hover: var(--color-lime-650);--bg-button-bg-btn-primary-active: var(--color-lime-600);--bg-button-bg-btn-primary-pressed: var(--color-lime-650);--bg-button-bg-btn-secondary-idle: var(--color-grey-0);--bg-button-bg-btn-secondary-hover: var(--color-grey-50);--bg-button-bg-btn-secondary-active: var(--color-grey-0);--bg-button-bg-btn-secondary-pressed: var(--color-grey-50);--bg-button-bg-btn-primary-inverse: var(--color-lime-100);--bg-button-bg-btn-warning-idle: var(--color-yellow-400);--bg-button-bg-btn-warning-hover: var(--color-yellow-500);--bg-button-bg-btn-warning-active: var(--color-yellow-500);--bg-button-bg-btn-warning-pressed: var(--color-yellow-600);--bg-button-bg-btn-warning-inverse-idle: var(--color-yellow-50);--bg-button-bg-btn-warning-inverse-hover: var(--color-yellow-100);--bg-button-bg-btn-error-idle: var(--color-red-500);--bg-button-bg-btn-error-hover: var(--color-red-700);--bg-button-bg-btn-error-active: var(--color-red-700);--bg-button-bg-btn-error-pressed: var(--color-red-700);--bg-button-bg-btn-error-inverse-idle: var(--color-red-50);--bg-button-bg-btn-error-inverse-hover: var(--color-red-100);--bg-button-bg-btn-success-idle: var(--color-green-600);--bg-button-bg-btn-success-hover: var(--color-green-700);--bg-button-bg-btn-success-active: var(--color-green-700);--bg-button-bg-btn-success-pressed: var(--color-green-800);--bg-button-bg-btn-success-inverse-idle: var(--color-green-50);--bg-button-bg-btn-success-inverse-hover: var(--color-green-50);--bg-button-bg-btn-disabled: var(--color-grey-100);--bg-input-bg-input-idle: var(--color-grey-0);--bg-input-bg-input-hover: var(--color-grey-50);--bg-input-bg-input-active: var(--color-grey-0);--bg-input-bg-input-pressed: var(--color-grey-50);--bg-input-bg-input-error: var(--color-red-50);--bg-input-bg-input-disabled: var(--color-grey-50);--text-text-label: var(--color-lime-900);--border-border-focus: var(--color-blue-500);--border-border-card: var(--color-grey-200);--border-button-border-btn-idle: var(--color-grey-400);--border-button-border-btn-hover: var(--color-grey-500);--border-button-border-btn-active: var(--color-grey-400);--border-button-border-btn-pressed: var(--color-grey-500);--border-button-border-btn-disabled: var(--color-grey-200);--border-button-border-btn-primary-idle: var(--color-lime-500);--border-button-border-btn-primary-hover: var(--color-lime-700);--border-button-border-btn-primary-active: var(--color-lime-50);--border-button-border-btn-primary-pressed: var(--color-lime-300);--border-button-border-btn-warning-idle: var(--color-yellow-500);--border-button-border-btn-warning-hover: var(--color-yellow-700);--border-button-border-btn-warning-active: var(--color-yellow-100);--border-button-border-btn-warning-pressed: var(--color-yellow-300);--border-button-border-btn-success-idle: var(--color-green-500);--border-button-border-btn-success-hover: var(--color-green-700);--border-button-border-btn-success-active: var(--color-green-100);--border-button-border-btn-error-idle: var(--color-red-500);--border-button-border-btn-error-hover: var(--color-red-600);--border-button-border-btn-error-active: var(--color-red-700);--border-button-border-btn-error-pressed: var(--color-red-300);--border-input-border-input-idle: var(--color-grey-200);--border-input-border-input-hover: var(--color-grey-300);--border-input-border-input-active: var(--color-grey-300);--border-input-border-input-pressed: var(--color-grey-400);--border-input-border-input-error: var(--color-red-300);--border-input-border-input-disabled: var(--color-grey-100);--text-text-label-inverse: var(--color-lime-50);--text-text-warning: var(--color-yellow-700);--text-text-warning-inverse: var(--color-yellow-50);--text-text-success: var(--color-green-800);--text-text-success-inverse: var(--color-green-0);--text-text-error: var(--color-red-700);--text-text-error-inverse: var(--color-red-0);--text-text-disabled: var(--color-grey-200);--text-text-display: var(--color-grey-800);--text-text-display-inverse: var(--color-grey-0);--text-text-headline: var(--color-grey-900);--text-text-headline-inverse: var(--color-grey-0);--text-text-title: var(--color-grey-900);--text-text-title-inverse: var(--color-grey-0);--text-text-body: var(--color-grey-800);--text-text-body-inverse: var(--color-grey-50);--text-text-subtitle: var(--color-grey-600);--text-text-subtitle-inverse: var(--color-grey-50);--text-text-caption: var(--color-grey-600);--text-text-caption-inverse: var(--color-grey-50);--text-link-link-idle: var(--color-blue-600);--text-link-link-hover: var(--color-blue-700);--text-link-link-active: var(--color-blue-700);--text-link-link-presssed: var(--color-blue-800);--text-link-link-inverse: var(--color-blue-50);--icon-icon-primary-idle: var(--color-black-300);--icon-icon-primary-hover: var(--color-black-500);--icon-icon-primary-pressed: var(--color-black-600);--icon-icon-primary-inverse: var(--color-grey-0);--icon-icon-brand: var(--color-lime-600);--icon-icon-error-idle: var(--color-red-600);--icon-icon-disabled: var(--color-black-100);--icon-icon-error-inverse: var(--color-red-0);--icon-icon-warning: var(--color-yellow-600);--icon-icon-warning-inverse: var(--color-yellow-0);--icon-icon-success: var(--color-green-600);--icon-icon-success-inverse: var(--color-green-0);--icon-icon-link: var(--color-blue-600);--exceptions-alpha-50: var(--color-blackalpha-50);--exceptions-alpha-100: var(--color-blackalpha-100);--exceptions-gold: var(--color-gold-400);--exceptions-turquoise: var(--color-turquoise-600);--text-text-brand: var(--color-lime-500)}.display__large{font-size:57px;font-family:Roboto,sans-serif;font-weight:400;letter-spacing:-0.25px;line-height:64px}.display__medium{font-size:45px;font-family:Roboto,sans-serif;font-weight:400;line-height:52px}.display__small{font-size:36px;font-family:Roboto,sans-serif;font-weight:400;line-height:44px}.headline__large{font-size:32px;font-family:Roboto,sans-serif;font-weight:400;line-height:40px}.headline__medium{font-size:28px;font-family:Roboto,sans-serif;font-weight:400;line-height:36px}.headline__small{font-size:24px;font-family:Roboto,sans-serif;font-weight:400;line-height:32px}.title__large{font-size:22px;font-family:Roboto,sans-serif;font-weight:400;line-height:28px}.title__medium{font-size:16px;font-family:Roboto,sans-serif;font-weight:500;letter-spacing:.150000006px;line-height:24px}.title__small{font-size:14px;font-family:Roboto,sans-serif;font-weight:500;letter-spacing:.1000000015px;line-height:20px}.body__large{font-size:16px;font-family:Roboto,sans-serif;font-weight:400;letter-spacing:.5px;line-height:24px}.body__medium{font-size:14px;font-family:Roboto,sans-serif;font-weight:400;letter-spacing:.25px;line-height:20px}.body__small{font-size:12px;font-family:Roboto,sans-serif;font-weight:400;line-height:16px}.label__largeprominent{font-size:14px;font-family:Roboto,sans-serif;font-weight:undefined;letter-spacing:.1000000015px;line-height:20px}.label__large{font-size:14px;font-family:Roboto,sans-serif;font-weight:500;letter-spacing:.1000000015px;line-height:20px}.label__mediumprominent{font-size:12px;font-family:Roboto,sans-serif;font-weight:600;letter-spacing:.5px;line-height:16px}.label__medium{font-size:12px;font-family:Roboto,sans-serif;font-weight:500;letter-spacing:.5px;line-height:16px}.label__small{font-size:11px;font-family:Roboto,sans-serif;font-weight:500;letter-spacing:.5px;line-height:16px}.shadowbutton{box-shadow:1.5px 1.5px 0px rgba(0,0,0,.2)}.text__text__title{color:var(--Text-text-title, #1a1a1a);text-align:center;font-family:Roboto;font-size:16px;font-style:normal;font-weight:400;line-height:24px;letter-spacing:.5px}.virfice-form-info{display:flex;gap:16px;padding:12px 8px;border-radius:7px 0px 0px 7px;border-left:2px solid var(--bg-bg-brand, #C8E265);background:var(--bg-bg-canvas, #FFFAEB)}.virfice-form-info .body__large{color:var(--text-text-subtitle, #616161)}.virfice-tab-container{width:100%}.virfice-tab-container .virfice-tab-head{display:flex;gap:4px;width:100%}.virfice-tab-container .virfice-tab-head .virfice-tab-header{display:flex;height:24px;padding:2px 8px;justify-content:center;align-items:center;cursor:pointer;border-radius:6px;background-color:#fff;width:100%}.virfice-tab-container .virfice-tab-head .virfice-tab-header.active,.virfice-tab-container .virfice-tab-head .virfice-tab-header:hover{background-color:rgba(0,0,0,.0509803922)}.virfice-container{width:1038px;max-width:100%;margin-left:auto;margin-right:auto}.virfice-card{background-color:#fffefa;display:flex;padding:16px 20px;align-items:flex-start;gap:32px;border-radius:var(--Radius-M, 6px);border:1px solid var(--Greyscale-Border-Idle, #C9C9C9);background:var(--Colors-Card-idle, #FFFEFA)}.virfice-card.virfice-padding-0{padding:0}.virfice-btn{width:max-content;display:flex;padding:var(--V-Padding, 6px) var(--H-Padding, 12px);justify-content:center;align-items:center;gap:var(--Spacing, 4px);border-radius:var(--Radius, 999px);background:var(--bg-button-bg-btn-primary-idle);box-shadow:1.5px 1.5px 0px 0px rgba(0,0,0,.2);border:1px solid var(--Greyscale-Border-Pressed, #949494);color:var(--Greyscale-Text-Body, #303030);cursor:pointer}.virfice-btn:disabled{background:var(--bg-button-bg-btn-disabled, #e6e6e6);pointer-events:none}.virfice-btn.virfice-btn-primary:hover{background:var(--bg-button-bg-btn-primary-hover, rgb(169, 201, 44))}.virfice-btn.virfice-small{padding:4px 8px}.virfice-btn.virfice-btn-danger{border:1px solid var(--border-button-border-btn-error-idle, #ff0d00);background:var(--bg-button-bg-btn-error-inverse-idle, #ffe7e5)}.virfice-btn.virfice-btn-danger:hover{border:1px solid var(--border-button-border-btn-error-hover, #cc0a00);background:var(--bg-button-bg-btn-error-inverse-hover, #ffcfcc)}.virfice-btn.virfice-btn-danger:focus{border:1px solid var(--border-button-border-btn-error-active, #990800);background:var(--Bg-button-bg-btn-error-inverse-idle, #ffe7e5)}.virfice-btn.virfice-btn-secondary{background:#fcfcfc}.virfice-btn.virfice-btn-secondary:hover{background:#f2f2f2}.virfice-btn.virfice-btn-secondary:focus{background:#fcfcfc}.virfice-btn.virfice-btn-tertiary{border-radius:none;background:none;box-shadow:unset;border:1px solid rgba(0,0,0,0)}.virfice-btn.virfice-btn-tertiary.virfice-active,.virfice-btn.virfice-btn-tertiary:hover{background:#f2f2f2 !important}.virfice-btn.virfice-btn-tertiary:focus{background:#fcfcfc}.virfice-btn.virfice-btn-outline{background:none}.virfice-btn.virfice-btn-outline.virfice-active,.virfice-btn.virfice-btn-outline:hover{background:#f2f2f2 !important}.virfice-btn.virfice-btn-outline:focus{background:#fcfcfc}.virfice-btn.virfice-btn-plain{background:rgba(0,0,0,0);color:#06c;border:none;box-shadow:none;padding-left:0}.virfice-btn.virfice-btn-plain:hover{color:#004d99;text-decoration:underline}.virfice-btn.virfice-btn-plain:focus{color:#036;text-decoration:underline}.virfice-btn.virfice-icon{padding:6px !important}.virfice-btn.virfice-icon.virfice-small{padding:0 !important}.virfice-toggle-btn{display:flex;flex-direction:column;gap:4px}.virfice-toggle-btn .virfice-toggle-btn__wrapper{display:flex;width:100%;border:1px solid var(--border-button-border-btn-idle, #949494);border-radius:4px;overflow:hidden}.virfice-toggle-btn .virfice-toggle-btn__wrapper .virfice-toggle-btn__option{width:100%;padding-top:8px;padding-bottom:8px;display:flex;justify-content:center;align-items:center;cursor:pointer}.virfice-toggle-btn .virfice-toggle-btn__wrapper .virfice-toggle-btn__option.virfice-toggle-btn__option--active{background-color:#f2f2f2}.virfice-toggle-btn .virfice-toggle-btn__wrapper .virfice-toggle-btn__option:not(:last-child){border-right:1px solid var(--border-button-border-btn-idle, #949494)}.virfice-textfileld-wrapper{display:flex;width:100%;flex-direction:column;align-items:flex-start;gap:4px}.virfice-textfileld-wrapper .body__medium{color:var(--text-text-title)}.virfice-textfileld-wrapper input,.virfice-textfileld-wrapper textarea{display:flex;flex-direction:column;align-items:flex-start;gap:var(--p-sapce-100);align-self:stretch;padding:7px 12px;border-radius:var(--Radius-S, 4px);border:1px solid var(--border-input-border-input-idle, #c9c9c9);background:var(--Bg-input-bg-input-idle, #fcfcfc);line-height:20px}.virfice-selectfileld-wrapper{display:flex;width:100%;flex-direction:column;align-items:flex-start;gap:4px}.virfice-selectfileld-wrapper .body__medium{color:var(--text-text-title)}.virfice-selectfileld-wrapper input{cursor:pointer;display:flex;flex-direction:column;align-items:flex-start;gap:var(--p-sapce-100);align-self:stretch;padding:7px 12px;padding-right:36px;border-radius:var(--Radius-S, 4px);border:1px solid var(--border-input-border-input-idle, #c9c9c9);background:var(--Bg-input-bg-input-idle, #fcfcfc);line-height:20px}.virfice-selectfileld-wrapper .virfice-backdrop{position:fixed;top:0;left:0;height:100%;width:100%;background-color:rgba(26,26,26,.0823529412)}.virfice-selectfileld-wrapper ul{position:absolute;z-index:2;background:#fff;width:100%;top:23px;border-radius:var(--radius-S, 4px);border:1px solid var(--border-input-border-input-idle, #c9c9c9);background:var(--bg-bg-soul, #fff);box-shadow:3px 3px 0px 0px #c1c1c1}.virfice-selectfileld-wrapper ul li{cursor:pointer;cursor:pointer;padding-left:16px;padding-top:8px;padding-bottom:8px;margin-bottom:0}.virfice-selectfileld-wrapper ul li:hover{background-color:rgba(176,176,176,.1411764706)}.virfice-paintfield-wrapper{display:flex;width:100%;flex-direction:column;align-items:flex-start;gap:4px}.virfice-paintfield-wrapper input{width:100%;padding:7px 12px;margin-left:0;border-radius:0px 4px 4px 0px;border:1px solid var(--border-input-border-input-idle, #c9c9c9);background:var(--Bg-input-bg-input-idle, #fcfcfc);line-height:20px}.virfice-paintfield-wrapper input:focus{border-radius:0px 4px 4px 0px}.virfice-paintfield-wrapper .virfice-color-code{display:flex;width:100%;border-radius:4px 0px 0px 4px;border-top:1px solid var(--border-input-border-input-idle, #c9c9c9);border-bottom:1px solid var(--border-input-border-input-idle, #c9c9c9);border-left:1px solid var(--border-input-border-input-idle, #c9c9c9);background:var(--Bg-input-bg-input-idle, #fcfcfc);position:relative}.virfice-paintfield-wrapper .sketch-picker{position:relative;top:34px}.virfice-paintfield-wrapper .virfice-color-none{position:absolute;bottom:2px;left:10px;background:rgba(0,0,0,0);height:16px;width:16px;cursor:pointer;outline:none;border-radius:3px;box-shadow:rgba(0,0,0,.15) 0px 0px 0px 1px inset;overflow:hidden}.virfice-paintfield-wrapper .virfice-color-none div{height:1px;width:22px;background:red;left:-4px;transform:rotate(-45deg);top:8px;position:relative}.virfice-feature-list-item{width:83px}.virfice-feature-list-item .virfice-illustration-wrapper{background-color:#f4f9e1;height:80px;width:100%;display:flex;justify-content:center;align-items:center}.virfice-feature-list-item .virfice-title{color:var(--Greyscale-Text-Title, #1A1A1A);font-family:Roboto;font-size:12px;font-style:normal;font-weight:400;line-height:16px;margin:0}.virfice-media-uploader-wrapper{display:flex;width:100%;flex-direction:column;align-items:flex-start;gap:4px}.virfice-media-uploader-wrapper .body__medium{color:var(--text-text-subtitle, #616161);text-align:center}.virfice-media-uploader-wrapper .virfice-media-uploader-has-media{border-radius:var(--radius-S, 4px);border:1px solid #c9c9c9;background-image:conic-gradient(rgba(0, 0, 0, 0.12) 0deg 90deg, rgba(0, 0, 0, 0.06) 90deg 180deg, rgba(0, 0, 0, 0.12) 180deg 270deg, rgba(0, 0, 0, 0.06) 270deg 360deg);background-size:20px 20px;background-position:center top;height:214px;width:100%;display:flex;justify-content:center;align-items:center;position:relative}.virfice-media-uploader-wrapper .virfice-media-uploader-has-media .virfice-media-uploader-has-media-actions{visibility:hidden;background:rgba(0,0,0,.6);position:absolute;inset:0;display:flex;justify-content:center;align-items:center;gap:8px}.virfice-media-uploader-wrapper .virfice-media-uploader-has-media:hover .virfice-media-uploader-has-media-actions{visibility:visible}.virfice-media-uploader-wrapper .virfice-media-uploader-empty{width:100%;border-radius:var(--radius-S, 4px);border:1px solid #c9c9c9;background:var(--bg-input-bg-input-idle, #FCFCFC);padding:24px 32px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:8px}.virfice-modal .virfice-backdrop{position:fixed;inset:0;z-index:9999;background:rgba(18,22,4,.94);backdrop-filter:blur(6px)}.virfice-modal .virfice-modal-wrapper{position:fixed;width:380px;top:50%;left:50%;transform:translate(-50%, -50%);z-index:10000;border-radius:var(--radius-l, 12px);background:var(--p-color-bg-surface, white);overflow:hidden}.virfice-modal .virfice-modal-wrapper .virfice-modal-header{display:flex;padding:16px;align-items:center;gap:var(--p-sapce-200);justify-content:space-between;border-bottom:1px solid var(--p-color-border);background:var(--bg-button-bg-btn-primary-inverse, #F4F9E1)}.virfice-modal .virfice-modal-wrapper .virfice-modal-header .virfice-modal-close{cursor:pointer}.virfice-modal .virfice-modal-wrapper .virfice-modal-body{padding:12px 16px}.virfice-modal .virfice-modal-wrapper .virfice-modal-footer{padding:16px;border-top:1px solid var(--border-input-border-input-idle, #C9C9C9);background:var(--p-color-bg-surface);display:flex;justify-content:flex-end}.virfice-data-table{width:100%;text-align:left;border-collapse:collapse}.virfice-data-table thead th{border-bottom:1px solid #e3e3e3;padding:12px}.virfice-data-table tbody .virfice-action-buttons{visibility:hidden}.virfice-data-table tbody tr:hover{cursor:pointer;background-color:#f2f2f2}.virfice-data-table tbody tr:hover .virfice-action-buttons{visibility:visible}.virfice-data-table tbody td{border-bottom:1px solid #e3e3e3;padding:12px}.virfice-badge{background:var(--bg-button-bg-btn-secondary-idle, rgb(252, 252, 252));padding-top:2px;padding-bottom:2px;padding-left:8px;padding-right:8px;display:inline-flex;justify-content:center;align-items:center;border-radius:var(--radius-Full, 999px);gap:4px;font-family:Roboto;font-size:12px;font-style:normal;font-weight:500;line-height:16px;letter-spacing:.5px}.virfice-badge.virfice-active{background:var(--bg-button-bg-btn-success-inverse-idle, rgb(225, 255, 236))}.virfice-badge.virfice-active svg{color:#029c3d}.virfice-badge.virfice-success{background:var(--bg-button-bg-btn-success-idle, rgb(2, 156, 61))}.virfice-badge.virfice-warning{background:var(--bg-button-bg-btn-warning-idle, rgb(255, 235, 51))}.virfice-badge.virfice-in-active{background:var(--bg-button-bg-btn-disabled, rgb(230, 230, 230))}.virfice-badge.virfice-in-active svg{color:#666}.virfice-notification-bell{display:flex;width:300px;padding:8px;justify-content:center;align-items:center;width:100%;z-index:10000}.virfice-notification-bell.virfice-success{background:var(--bg-bg-success, #03C04A);color:#fafffc}.virfice-notification-bell.virfice-danger{background:var(--bg-bg-error, #FF0D00);color:#fafffc}.virfice-help-text{font-size:11px}.virfice-help-text code{font-size:11px;padding:1px;background:#f4f9e1}.virfice-rangefield-wrapper{display:flex;width:100%;flex-direction:column;align-items:flex-start;gap:4px}.virfice-rangefield-wrapper .body__medium{color:var(--text-text-title)}.virfice-rangefield-wrapper .virfice-range-and-input-wrapper{display:flex;width:100%;gap:12px}.virfice-rangefield-wrapper .virfice-range-and-input-wrapper .virfice-textfileld-wrapper{max-width:77px}.virfice-rangefield-wrapper .virfice-range-and-input-wrapper .virfice-textfileld-wrapper input{padding-right:32px}.virfice-accordion .virfice-accordion-header{cursor:pointer;color:var(--text-text-body, #303030);font-family:Roboto;font-size:16px;font-style:normal;font-weight:500;line-height:24px;letter-spacing:.15px;display:flex;padding:4px 8px 4px 0px;justify-content:space-between;align-items:center}.virfice-accordion .virfice-accordion-header.virfice-active{border-radius:6px;background:#f2f2f2;padding-left:8px}.virfice-accordion .virfice-accordion-header svg{margin-right:-8px}.virfice-accordion .virfice-accordion-content{padding-top:12px;padding-bottom:12px}*,*::before,*::after{box-sizing:border-box}body{background-color:#fef8ee}a{cursor:pointer}svg{max-width:100%;max-height:100%}#virfice-dashboard{margin-left:-20px;position:fixed;top:0;background:#fef8ee;z-index:3;width:calc(100% - 160px);height:100%;overflow:overlay;padding-bottom:64px;-webkit-user-select:none;-ms-user-select:none;user-select:none}.folded #virfice-dashboard{width:calc(100% - 36px)}.virfice-cursor-pointer{cursor:pointer}.virfice-w-100{width:100%}.virfice-flex{display:flex}.virfice-flex-col{display:flex;flex-direction:column}.virfice-flex-align-center{display:flex;align-items:center}.virfice-flex-justify-center{display:flex;justify-content:center}.virfice-flex-center-center{display:flex;justify-content:center;align-items:center}.virfice-flex-space-between{display:flex;justify-content:space-between}.virfice-gap-2{gap:4px}.virfice-gap-4{gap:4px}.virfice-gap-6{gap:6px}.virfice-gap-8{gap:8px}.virfice-gap-16{gap:16px}.virfice-gap-20{gap:20px}.virfice-gap-24{gap:24px}.virfice-mp-0{margin:0;padding:0}.virfice-sticky-top-110{position:sticky;top:110px}.virfice-landing-header-section{border-bottom:1px solid var(--Greyscale-Border-Idle, #c9c9c9);margin-bottom:32px;padding-top:8px;padding-bottom:8px;position:sticky;top:32px;margin-bottom:64px;background-color:#f4f9e1;z-index:2}.virfice-landing-header-section p{color:#000;font-family:Roboto;font-size:16px;font-style:normal;font-weight:400;line-height:24px;letter-spacing:.5px;margin:0}.virfice-feature-card{justify-content:space-between;align-items:center}.virfice-feature-card .virfice-heading{color:var(--Greyscale-Text-Title, #1a1a1a);font-family:Roboto;font-size:36px;font-style:normal;font-weight:500;line-height:44px;margin:0}.virfice-feature-card .virfice-sub-heading{color:var(--Greyscale-Text-Body, #303030);font-family:Roboto;font-size:16px;font-style:normal;font-weight:400;line-height:24px;letter-spacing:.5px;max-width:320px;margin:0}.virfice-feature-card .virfice-sub-headingstrong{font-weight:700}.virfice-feature-card .virfice-feature-list-wrapper{display:flex;flex-wrap:wrap;gap:24px;width:190px}.virfice-callout-card .virfice-heading{color:var(--p-color-text);font-family:Roboto;font-size:16px;font-style:normal;font-weight:500;line-height:24px;letter-spacing:.15px;margin:0;margin-bottom:4px}.virfice-callout-card .virfice-sub-heading{color:var(--p-color-text);font-family:Roboto;font-size:14px;font-style:normal;font-weight:400;line-height:20px;letter-spacing:.25px;margin:0;margin-bottom:16px}.virfice-callout-card .virfice-illustration-wrapper{height:144px;border-radius:6px}.virfice-table-card{padding:0;overflow:hidden}.virfice-stickty-top-nav{background:var(--Colors-Surface-Light, #f4f9e1);box-shadow:1.5px 1.5px 0px 0px rgba(0,0,0,.2);position:sticky;top:32px;z-index:2;margin-bottom:64px}.virfice-stickty-top-nav .virfice-action-wrapper{height:56px}.virfice-stickty-top-nav .virfice-action-wrapper .virfice-back{color:var(--p-color-text);font-feature-settings:\"clig\" off,\"liga\" off;font-family:Inter;font-size:14px;font-style:normal;font-weight:550;line-height:20px}.virfice-stickty-top-nav .virfice-bread-crumb{display:flex;justify-content:center;align-items:center;gap:12px;color:var(--text-text-display, #303030);font-family:var(--family-caption, Inter);font-size:12px;font-style:normal;font-weight:500;line-height:150%}.virfice-stickty-top-nav .virfice-bread-crumb .virfice-bread-crumb-item{padding:var(--ui-spacing-spacing-2, 2px) var(--ui-spacing-spacing-8, 8px)}.virfice-stickty-top-nav .virfice-bread-crumb .virfice-bread-crumb-item:hover,.virfice-stickty-top-nav .virfice-bread-crumb .virfice-bread-crumb-item.virfice-active{border-radius:var(--radius-sm, 6px);display:flex;justify-content:center;align-items:center;gap:var(--ui-spacing-spacing-0, 0px)}.virfice-stickty-top-nav .virfice-bread-crumb .virfice-bread-crumb-item.virfice-active{background-color:rgba(0,0,0,.0509803922)}.virfice-stickty-top-nav .virfice-bread-crumb .virfice-bread-crumb-item.virfice-has-link{cursor:pointer}.virfice-stickty-top-nav .virfice-bread-crumb .virfice-bread-crumb-item.virfice-has-link:hover{background-color:rgba(0,0,0,.0509803922)}.virfice-card-header{padding-bottom:12px;border-bottom:1px solid var(--Border-border-card, #c9c9c9);margin-bottom:16px}.virfice-form-group{display:flex;flex-direction:column;gap:12px;width:100%}#virfice-email-preview{border-radius:7px}.virfice-settings-menu{width:100%;min-height:70vh}.virfice-settings-menu .virfice-header{padding-top:16px;padding-bottom:12px;padding-left:16px}.virfice-settings-menu .virfice-header h2{margin:0}.virfice-settings-menu ul{width:100%;margin-bottom:0}.virfice-settings-menu ul li{width:100%;height:40px;display:flex;align-items:center;gap:8px;margin-bottom:0;padding-left:16px;overflow:hidden;text-overflow:ellipsis;font-family:Roboto;font-size:12px;font-style:normal;font-weight:600;line-height:16px;letter-spacing:.5px;cursor:pointer;border-top:1px solid var(--border-border-card, #c9c9c9)}.virfice-settings-menu ul li:last-child{border-bottom:1px solid var(--border-border-card, #c9c9c9)}.virfice-settings-menu ul li.virfice-active,.virfice-settings-menu ul li:hover{background:var(--bg-button-bg-btn-primary-inverse, #f4f9e1)}.virfice-ready-blocks-wrapper{width:100%}.virfice-ready-blocks-wrapper .virfice-single-ready-block{border-radius:var(--radius-m, 6px);border:1px solid var(--border-border-card, #c9c9c9);background:var(--bg-bg-soul, #fff);margin-bottom:12px;overflow:hidden}.virfice-ready-blocks-wrapper .virfice-single-ready-block img{width:100%}.virfice-ready-blocks-wrapper .virfice-single-ready-block:last-child{margin-bottom:-12px}.virfice-border-type-selection{display:flex;flex-direction:column;gap:16px}.virfice-border-type-selection .virfice-border-type-selection-item{padding:24px 12px;border-radius:var(--radius-S, 4px);border:1px solid var(--border-input-border-input-idle, #c9c9c9);background:var(--bg-input-bg-input-idle, #fcfcfc);cursor:pointer}.virfice-border-type-selection .virfice-border-type-selection-item:hover{border:1px solid var(--bg-bg-brand, #c8e265);background:var(--bg-button-bg-btn-primary-inverse, #f4f9e1)}.virfice-border-type-selection .virfice-border-type-selection-item span{width:100%;display:block;border-top-width:4px;border-top-color:var(--border-button-border-btn-idle, #949494)}.virfice-inbox-preview{position:relative}.virfice-inbox-preview .virfice-inbox-preview-active{position:absolute;border-radius:7px 0px 0px 7px;border:1px solid var(--border-border-card, #c9c9c9);background:#fff;box-shadow:-3px 0px 0px 0px #c8e265;display:flex;gap:16px;padding:16px;width:381px;height:107px;top:118px;left:-13px;max-width:100%}.virfice-inbox-preview .virfice-inbox-preview-active img{width:37px;height:37px;border-radius:50%}.virfice-inbox-preview .virfice-inbox-preview-active .virfice-inbox-preview-active-title{color:var(--gmail-black, #292929);font-family:\"Open Sans\";font-size:16px;font-style:normal;font-weight:700;line-height:normal}.virfice-inbox-preview .virfice-inbox-preview-active .virfice-inbox-preview-active-sub-title{color:var(--gmail-black, #292929);font-family:Roboto;font-size:14px;font-style:normal;font-weight:500;line-height:normal}.virfice-inbox-preview .virfice-inbox-preview-active .virfice-inbox-preview-active-message{color:var(--gmail-grey, #5d5c5d);font-family:Roboto;font-size:14px;font-style:normal;font-weight:400;line-height:normal}.virfice-builder-section-main{position:absolute;top:112px;margin:auto;width:100%}.virfice-builder-section-main.virfice-builder-section-main-brand-settings{top:unset}.virfice-builder-section-main.virfice-builder-section-main-brand-settings .virfice-builder-right-panel-wrapper{overflow:scroll}.virfice-builder-section-main .virfice-builder-left-panel-wrapper{width:880px}.virfice-builder-section-main .virfice-builder-left-panel-wrapper #virfice-editor-wrapper{height:calc(-204px + 100vh);text-align:center;overflow:hidden}.virfice-builder-section-main .virfice-builder-right-panel-wrapper{width:380px;height:calc(-120px + 100vh)}.virfice-builder-section-main .virfice-ready-blocks-wrapper{width:378px;height:calc(100vh - 120px);overflow:scroll;margin-left:-20px;padding-left:20px;padding-right:20px;padding-bottom:16px;margin-bottom:-16px}.virfice-editor-wrapper{position:relative}.virfice-editor-wrapper iframe{height:100%;width:100%}.virfice-editor-wrapper .virfice-element-controls.virfice-empty-canvas{width:100%;position:absolute;top:20px}.virfice-editor-wrapper .virfice-element-controls .virfice-element-border{box-shadow:0 2px 0 0 #02732d;box-shadow:0 -2px 0 0 #02732d;box-shadow:-2px 0 0 0 #02732d;box-shadow:2px 0 0 0 #02732d;box-shadow:0 0 0 2px #02732d;pointer-events:none}.virfice-editor-wrapper .virfice-element-controls .virfice-right-control{pointer-events:all;position:absolute;right:-36px;top:0px;border-radius:99px;border:1px solid #c9c9c9;width:28px;background:#fff;box-shadow:3px 4px 6px -3px rgba(10,10,10,.08);overflow:hidden;display:flex;flex-direction:column;align-items:center}.virfice-editor-wrapper .virfice-element-controls .virfice-right-control .virfice-item{line-height:0;cursor:pointer}.virfice-editor-wrapper .virfice-element-controls .virfice-right-control .virfice-item:hover{background:#f2f2f2}.virfice-editor-wrapper .virfice-element-hover-border{box-shadow:0 2px 0 0 #03c04a;box-shadow:0 -2px 0 0 #03c04a;box-shadow:-2px 0 0 0 #03c04a;box-shadow:2px 0 0 0 #03c04a;box-shadow:0 0 0 2px #03c04a;pointer-events:none}.virfice-editor-wrapper .virfice-element-hover-border .virfice-add-section-button-wrapper{opacity:0}.virfice-editor-wrapper .virfice-empty-add-button{position:relative;padding:20px}.virfice-editor-wrapper .virfice-empty-add-button .virfice-add-section-button-wrapper{position:relative !important;bottom:unset}.virfice-editor-wrapper .virfice-add-section-button-wrapper{position:absolute;bottom:-16px;display:flex;justify-content:center;align-items:center;width:100%;transition:all .3s}.virfice-editor-wrapper .virfice-add-section-button-wrapper.virfice-add-section-button-wrapper-opened{opacity:1}.virfice-editor-wrapper .virfice-add-section-button-wrapper:hover{opacity:1 !important}.virfice-editor-wrapper .virfice-add-section-button-wrapper .virfice-add-section-items-wrapper{position:absolute;background:#f4f9e1;width:100%;top:-14px;border:1px dashed #89a31f}.virfice-editor-wrapper .virfice-add-section-button-wrapper .virfice-add-section-header{display:flex;padding:16px;align-items:center;gap:8px;justify-content:space-between;border-bottom:1px solid #c9c9c9}.virfice-editor-wrapper .virfice-add-section-button-wrapper .virfice-add-section-header .virfice-title{color:var(--text-text-headline, #1a1a1a);font-family:Roboto;font-size:16px;font-style:normal;font-weight:500;line-height:24px;letter-spacing:.15px}.virfice-editor-wrapper .virfice-add-section-button-wrapper .virfice-add-section-body{padding:16px;gap:16px;display:flex;flex-wrap:wrap;align-items:center;justify-content:center}.virfice-editor-wrapper .virfice-add-section-button-wrapper .virfice-add-section-body .virfice-item{pointer-events:all;display:flex;height:80px;width:100px;flex-direction:column;justify-content:center;align-items:center;gap:var(--spacing, 4px);flex-shrink:0;border-radius:16px;border:var(--size-0, 1px) solid var(--border-button-border-btn-idle, #949494);background:var(--bg-button-bg-btn-secondary-idle, #fcfcfc);box-shadow:1.5px 1.5px 0px 0px rgba(0,0,0,.2);cursor:pointer}.virfice-editor-wrapper .virfice-add-section-button-wrapper .virfice-add-section-body .virfice-item:hover{background:var(--bg-button-bg-btn-secondary-hover, #f2f2f2)}.virfice-editor-wrapper .virfice-add-section-button-wrapper .virfice-add-section-body .virfice-item .virfice-item-title{white-space:nowrap;text-overflow:ellipsis;max-width:90px;overflow:hidden}.virfice-template-wrapper *{user-select:none;cursor:default;line-height:1 !important}.virfice-settings-wrapper{width:378px;height:calc(100vh - 186px);overflow:scroll;margin-left:-20px;padding-left:20px;padding-right:20px;padding-bottom:16px;margin-bottom:-16px}.virfice-settings-wrapper .virfice-child-list{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:4px;user-select:none;cursor:default;align-self:stretch}.virfice-settings-wrapper .virfice-child-list .virfice-item{border-radius:6px;background:#fff;display:flex;padding:4px 8px;align-items:center;gap:8px;overflow:hidden;justify-content:space-between;width:100%}.virfice-settings-wrapper .virfice-child-list .virfice-item:hover{border-radius:6px;background:#f2f2f2}.virfice-settings-wrapper .virfice-child-list .virfice-item:hover .virfice-item-action{visibility:visible !important;opacity:1 !important}.virfice-settings-wrapper .virfice-child-list .virfice-item .virfice-item-action-wrapper{display:flex;gap:8px;line-height:0;justify-content:center;align-items:center}.virfice-settings-wrapper .virfice-child-list .virfice-item .virfice-item-action-wrapper .virfice-item-action{cursor:pointer;visibility:hidden;opacity:0}.virfice-template-preview-wrapper{width:100%;height:100%;position:relative;top:64px}.virfice-template-preview-wrapper .virfice-desktop{width:600px;margin:auto;box-shadow:0px 440px 123px 0px rgba(0,0,0,0),0px 282px 113px 0px rgba(0,0,0,.01),0px 158px 95px 0px rgba(0,0,0,.05),0px 70px 70px 0px rgba(0,0,0,.09),0px 18px 39px 0px rgba(0,0,0,.1)}.virfice-template-preview-wrapper .virfice-desktop iframe{height:658px !important;width:600px;top:-5px;position:relative}.virfice-template-preview-wrapper .virfice-actions{position:absolute;right:64px;bottom:64px;border-radius:99px;border:1px solid var(--border-border-card, #c9c9c9);background:var(--bg-bg-brand, #c8e265);box-shadow:3px 4px 12px -3px rgba(92,110,22,.5)}"],"sourceRoot":""}
  • emails-for-woocommerce/trunk/assets/js/virfice.min.js

    r3249767 r3252867  
    1 (n=>{var r={};function a(e){var t;return(r[e]||(t=r[e]={i:e,l:!1,exports:{}},n[e].call(t.exports,t,t.exports,a),t.l=!0,t)).exports}a.m=n,a.c=r,a.d=function(e,t,n){a.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.t=function(t,e){if(1&e&&(t=a(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(a.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)a.d(n,r,function(e){return t[e]}.bind(null,r));return n},a.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(t,"a",t),t},a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},a.p="",a(a.s=234)})([function(e,t,n){e.exports=n(101)},function(e,t,n){n.r(t),n.d(t,"VIRFICE_APP_NAME",function(){return r}),n.d(t,"VIRFICE_APP_PREFIX",function(){return a}),n.d(t,"VIRFICE_PLUGIN_BASE",function(){return o}),n.d(t,"VIRFICE_RESPONSIVE_BREAKPOINTS",function(){return i}),n.d(t,"VIRFICE_ASSETS_BASE",function(){return l});var r="Virfice",a="virfice",o=null==(n=window.virfice)?void 0:n.pluginBase,i={mobile:"380px",desktop:""},l="https://assets.virfice.com/?rest_route=/virfice/v1"},function(e,X,H){!function(e,t,n){var r,a=H(38);let o=Object.prototype.toString,c=Object.getPrototypeOf,i=(r=Object.create(null),e=>{e=o.call(e);return r[e]||(r[e]=e.slice(8,-1).toLowerCase())});var l=t=>(t=t.toLowerCase(),e=>i(e)===t),u=t=>e=>typeof e===t;let s=Array.isArray,f=u("undefined");let d=l("ArrayBuffer");var p=u("string");let h=u("function"),m=u("number"),g=e=>null!==e&&"object"==typeof e;let v=e=>{var t;return"object"===i(e)&&!(null!==(t=c(e))&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)};var u=l("Date"),b=l("File"),y=l("Blob"),E=l("FileList"),w=l("URLSearchParams"),[M,N,B,V]=["ReadableStream","Request","Response","Headers"].map(l);function x(t,n,{allOwnKeys:r=!1}={}){if(null!=t){let e;var a;if("object"!=typeof t&&(t=[t]),s(t))for(e=0,a=t.length;e<a;e++)n.call(null,t[e],e,t);else{var o,i=r?Object.getOwnPropertyNames(t):Object.keys(t),l=i.length;for(e=0;e<l;e++)o=i[e],n.call(null,t[o],o,t)}}}function C(e,t){t=t.toLowerCase();var n,r=Object.keys(e);let a=r.length;for(;0<a--;)if(t===(n=r[a]).toLowerCase())return n;return null}let _="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:e,P=e=>!f(e)&&e!==_;k="undefined"!=typeof Uint8Array&&c(Uint8Array);var k,S,e=e=>k&&e instanceof k,D=l("HTMLFormElement"),R=(S=[Object.prototype.hasOwnProperty][0],(e,t)=>S.call(e,t)),z=l("RegExp");let I=(r,a)=>{var e=Object.getOwnPropertyDescriptors(r);let o={};x(e,(e,t)=>{var n;!1!==(n=a(e,t,r))&&(o[t]=n||e)}),Object.defineProperties(r,o)};var O="abcdefghijklmnopqrstuvwxyz",F="0123456789";let A={DIGIT:F,ALPHA:O,ALPHA_DIGIT:O+O.toUpperCase()+F};var j,L,T,O=l("AsyncFunction"),F=(F="function"==typeof t,j=h(_.postMessage),F?t:j?(L="axios@"+Math.random(),T=[],_.addEventListener("message",({source:e,data:t})=>{e===_&&t===L&&T.length&&T.shift()()},!1),e=>{T.push(e),_.postMessage(L,"*")}):e=>setTimeout(e)),t="undefined"!=typeof queueMicrotask?queueMicrotask.bind(_):void 0!==n&&n.nextTick||F;X.a={isArray:s,isArrayBuffer:d,isBuffer:function(e){return null!==e&&!f(e)&&null!==e.constructor&&!f(e.constructor)&&h(e.constructor.isBuffer)&&e.constructor.isBuffer(e)},isFormData:e=>{var t;return e&&("function"==typeof FormData&&e instanceof FormData||h(e.append)&&("formdata"===(t=i(e))||"object"===t&&h(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){let t;return t="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&d(e.buffer)},isString:p,isNumber:m,isBoolean:e=>!0===e||!1===e,isObject:g,isPlainObject:v,isReadableStream:M,isRequest:N,isResponse:B,isHeaders:V,isUndefined:f,isDate:u,isFile:b,isBlob:y,isRegExp:z,isFunction:h,isStream:e=>g(e)&&h(e.pipe),isURLSearchParams:w,isTypedArray:e,isFileList:E,forEach:x,merge:function n(){let r=(P(this)&&this||{}).caseless,a={};var o=(e,t)=>{t=r&&C(a,t)||t,v(a[t])&&v(e)?a[t]=n(a[t],e):v(e)?a[t]=n({},e):s(e)?a[t]=e.slice():a[t]=e};for(let e=0,t=arguments.length;e<t;e++)arguments[e]&&x(arguments[e],o);return a},extend:(n,e,r,{allOwnKeys:t}={})=>(x(e,(e,t)=>{r&&h(e)?n[t]=Object(a.a)(e,r):n[t]=e},{allOwnKeys:t}),n),trim:e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:e=>e=65279===e.charCodeAt(0)?e.slice(1):e,inherits:(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},toFlatObject:(e,t,n,r)=>{var a,o;let i;var l={};if(t=t||{},null!=e)do{for(a=Object.getOwnPropertyNames(e),i=a.length;0<i--;)o=a[i],r&&!r(o,e,t)||l[o]||(t[o]=e[o],l[o]=!0)}while((e=!1!==n&&c(e))&&(!n||n(e,t))&&e!==Object.prototype);return t},kindOf:i,kindOfTest:l,endsWith:(e,t,n)=>{e=String(e),(void 0===n||n>e.length)&&(n=e.length),n-=t.length;e=e.indexOf(t,n);return-1!==e&&e===n},toArray:e=>{if(!e)return null;if(s(e))return e;let t=e.length;if(!m(t))return null;for(var n=new Array(t);0<t--;)n[t]=e[t];return n},forEachEntry:(e,t)=>{for(var n=(e&&e[Symbol.iterator]).call(e);(r=n.next())&&!r.done;){var r=r.value;t.call(e,r[0],r[1])}},matchAll:(e,t)=>{for(var n,r=[];null!==(n=e.exec(t));)r.push(n);return r},isHTMLForm:D,hasOwnProperty:R,hasOwnProp:R,reduceDescriptors:I,freezeMethods:r=>{I(r,(e,t)=>{if(h(r)&&-1!==["arguments","caller","callee"].indexOf(t))return!1;var n=r[t];h(n)&&(e.enumerable=!1,"writable"in e?e.writable=!1:e.set||(e.set=()=>{throw Error("Can not rewrite read-only method '"+t+"'")}))})},toObjectSet:(e,t)=>{let n={};var r=e=>{e.forEach(e=>{n[e]=!0})};return s(e)?r(e):r(String(e).split(t)),n},toCamelCase:e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(e,t,n){return t.toUpperCase()+n}),noop:()=>{},toFiniteNumber:(e,t)=>null!=e&&Number.isFinite(e=+e)?e:t,findKey:C,global:_,isContextDefined:P,ALPHABET:A,generateString:(e=16,t=A.ALPHA_DIGIT)=>{let n="";for(var r=t.length;e--;)n+=t[Math.random()*r|0];return n},isSpecCompliantForm:function(e){return!!(e&&h(e.append)&&"FormData"===e[Symbol.toStringTag]&&e[Symbol.iterator])},toJSONObject:e=>{let t=new Array(10),a=(e,r)=>{if(g(e)){if(0<=t.indexOf(e))return;if(!("toJSON"in e)){t[r]=e;let n=s(e)?[]:{};return x(e,(e,t)=>{e=a(e,r+1);f(e)||(n[t]=e)}),t[r]=void 0,n}}return e};return a(e,0)},isAsyncFn:O,isThenable:e=>e&&(g(e)||h(e))&&h(e.then)&&h(e.catch),setImmediate:F,asap:t}}.call(this,H(23),H(65).setImmediate,H(42))},function(e,t,n){e.exports=n(223)()},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.ReactCSS=t.loop=t.handleActive=t.handleHover=t.hover=void 0;var o=c(n(117)),i=c(n(193)),l=c(n(219)),r=c(n(220)),a=c(n(221)),n=c(n(222));function c(e){return e&&e.__esModule?e:{default:e}}t.hover=r.default,t.handleHover=r.default,t.handleActive=a.default,t.loop=n.default;r=t.ReactCSS=function(e){for(var t=arguments.length,n=Array(1<t?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var a=(0,o.default)(n),e=(0,i.default)(e,a);return(0,l.default)(e)};t.default=r},function(e,t,n){var r=n(107),a=n(108),o=n(109),i=n(111);e.exports=function(e,t){return r(e)||a(e,t)||o(e,t)||i()},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){var r=n(105);e.exports=function(e,t,n){return(t=r(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){var l=n(2);function c(e,t,n,r,a){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),a&&(this.response=a,this.status=a.status||null)}l.a.inherits(c,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:l.a.toJSONObject(this.config),code:this.code,status:this.status}}});let u=c.prototype,r={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{r[e]={value:e}}),Object.defineProperties(c,r),Object.defineProperty(u,"isAxiosError",{value:!0}),c.from=(e,t,n,r,a,o)=>{var i=Object.create(u);return l.a.toFlatObject(e,i,function(e){return e!==Error.prototype},e=>"isAxiosError"!==e),c.call(i,e.message,t,n,r,a),i.cause=e,i.name=e.name,o&&Object.assign(i,o),i},t.a=c},function(e,t,n){var r;function a(){for(var e="",t=0;t<arguments.length;t++){var n=arguments[t];n&&(e=o(e,(e=>{if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return a.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t,n="";for(t in e)r.call(e,t)&&e[t]&&(n=o(n,t));return n})(n)))}return e}function o(e,t){return t?e?e+" "+t:e+t:e}
     1(n=>{var r={};function a(e){var t;return(r[e]||(t=r[e]={i:e,l:!1,exports:{}},n[e].call(t.exports,t,t.exports,a),t.l=!0,t)).exports}a.m=n,a.c=r,a.d=function(e,t,n){a.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.t=function(t,e){if(1&e&&(t=a(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(a.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)a.d(n,r,function(e){return t[e]}.bind(null,r));return n},a.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(t,"a",t),t},a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},a.p="",a(a.s=234)})([function(e,t,n){e.exports=n(101)},function(e,t,n){n.r(t),n.d(t,"VIRFICE_APP_NAME",function(){return r}),n.d(t,"VIRFICE_APP_PREFIX",function(){return a}),n.d(t,"VIRFICE_PLUGIN_BASE",function(){return o}),n.d(t,"VIRFICE_RESPONSIVE_BREAKPOINTS",function(){return i}),n.d(t,"VIRFICE_ASSETS_BASE",function(){return l});var r="Virfice",a="virfice",o=null==(n=window.virfice)?void 0:n.pluginBase,i={mobile:"380px",desktop:""},l="https://assets.virfice.com/?rest_route=/virfice/v1"},function(e,X,H){!function(e,t,n){var r,a=H(38);let o=Object.prototype.toString,c=Object.getPrototypeOf,i=(r=Object.create(null),e=>{e=o.call(e);return r[e]||(r[e]=e.slice(8,-1).toLowerCase())});var l=t=>(t=t.toLowerCase(),e=>i(e)===t),u=t=>e=>typeof e===t;let s=Array.isArray,f=u("undefined");let d=l("ArrayBuffer");var p=u("string");let h=u("function"),m=u("number"),g=e=>null!==e&&"object"==typeof e;let v=e=>{var t;return"object"===i(e)&&!(null!==(t=c(e))&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)};var u=l("Date"),b=l("File"),y=l("Blob"),E=l("FileList"),w=l("URLSearchParams"),[M,N,B,V]=["ReadableStream","Request","Response","Headers"].map(l);function x(t,n,{allOwnKeys:r=!1}={}){if(null!=t){let e;var a;if("object"!=typeof t&&(t=[t]),s(t))for(e=0,a=t.length;e<a;e++)n.call(null,t[e],e,t);else{var o,i=r?Object.getOwnPropertyNames(t):Object.keys(t),l=i.length;for(e=0;e<l;e++)o=i[e],n.call(null,t[o],o,t)}}}function C(e,t){t=t.toLowerCase();var n,r=Object.keys(e);let a=r.length;for(;0<a--;)if(t===(n=r[a]).toLowerCase())return n;return null}let _="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:e,P=e=>!f(e)&&e!==_;k="undefined"!=typeof Uint8Array&&c(Uint8Array);var k,S,e=e=>k&&e instanceof k,D=l("HTMLFormElement"),R=(S=[Object.prototype.hasOwnProperty][0],(e,t)=>S.call(e,t)),z=l("RegExp");let I=(r,a)=>{var e=Object.getOwnPropertyDescriptors(r);let o={};x(e,(e,t)=>{var n;!1!==(n=a(e,t,r))&&(o[t]=n||e)}),Object.defineProperties(r,o)};var O="abcdefghijklmnopqrstuvwxyz",F="0123456789";let A={DIGIT:F,ALPHA:O,ALPHA_DIGIT:O+O.toUpperCase()+F};var j,L,T,O=l("AsyncFunction"),F=(F="function"==typeof t,j=h(_.postMessage),F?t:j?(L="axios@"+Math.random(),T=[],_.addEventListener("message",({source:e,data:t})=>{e===_&&t===L&&T.length&&T.shift()()},!1),e=>{T.push(e),_.postMessage(L,"*")}):e=>setTimeout(e)),t="undefined"!=typeof queueMicrotask?queueMicrotask.bind(_):void 0!==n&&n.nextTick||F;X.a={isArray:s,isArrayBuffer:d,isBuffer:function(e){return null!==e&&!f(e)&&null!==e.constructor&&!f(e.constructor)&&h(e.constructor.isBuffer)&&e.constructor.isBuffer(e)},isFormData:e=>{var t;return e&&("function"==typeof FormData&&e instanceof FormData||h(e.append)&&("formdata"===(t=i(e))||"object"===t&&h(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){let t;return t="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&d(e.buffer)},isString:p,isNumber:m,isBoolean:e=>!0===e||!1===e,isObject:g,isPlainObject:v,isReadableStream:M,isRequest:N,isResponse:B,isHeaders:V,isUndefined:f,isDate:u,isFile:b,isBlob:y,isRegExp:z,isFunction:h,isStream:e=>g(e)&&h(e.pipe),isURLSearchParams:w,isTypedArray:e,isFileList:E,forEach:x,merge:function n(){let r=(P(this)&&this||{}).caseless,a={};var o=(e,t)=>{t=r&&C(a,t)||t,v(a[t])&&v(e)?a[t]=n(a[t],e):v(e)?a[t]=n({},e):s(e)?a[t]=e.slice():a[t]=e};for(let e=0,t=arguments.length;e<t;e++)arguments[e]&&x(arguments[e],o);return a},extend:(n,e,r,{allOwnKeys:t}={})=>(x(e,(e,t)=>{r&&h(e)?n[t]=Object(a.a)(e,r):n[t]=e},{allOwnKeys:t}),n),trim:e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:e=>e=65279===e.charCodeAt(0)?e.slice(1):e,inherits:(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},toFlatObject:(e,t,n,r)=>{var a,o;let i;var l={};if(t=t||{},null!=e)do{for(a=Object.getOwnPropertyNames(e),i=a.length;0<i--;)o=a[i],r&&!r(o,e,t)||l[o]||(t[o]=e[o],l[o]=!0)}while((e=!1!==n&&c(e))&&(!n||n(e,t))&&e!==Object.prototype);return t},kindOf:i,kindOfTest:l,endsWith:(e,t,n)=>{e=String(e),(void 0===n||n>e.length)&&(n=e.length),n-=t.length;e=e.indexOf(t,n);return-1!==e&&e===n},toArray:e=>{if(!e)return null;if(s(e))return e;let t=e.length;if(!m(t))return null;for(var n=new Array(t);0<t--;)n[t]=e[t];return n},forEachEntry:(e,t)=>{for(var n=(e&&e[Symbol.iterator]).call(e);(r=n.next())&&!r.done;){var r=r.value;t.call(e,r[0],r[1])}},matchAll:(e,t)=>{for(var n,r=[];null!==(n=e.exec(t));)r.push(n);return r},isHTMLForm:D,hasOwnProperty:R,hasOwnProp:R,reduceDescriptors:I,freezeMethods:r=>{I(r,(e,t)=>{if(h(r)&&-1!==["arguments","caller","callee"].indexOf(t))return!1;var n=r[t];h(n)&&(e.enumerable=!1,"writable"in e?e.writable=!1:e.set||(e.set=()=>{throw Error("Can not rewrite read-only method '"+t+"'")}))})},toObjectSet:(e,t)=>{let n={};var r=e=>{e.forEach(e=>{n[e]=!0})};return s(e)?r(e):r(String(e).split(t)),n},toCamelCase:e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(e,t,n){return t.toUpperCase()+n}),noop:()=>{},toFiniteNumber:(e,t)=>null!=e&&Number.isFinite(e=+e)?e:t,findKey:C,global:_,isContextDefined:P,ALPHABET:A,generateString:(e=16,t=A.ALPHA_DIGIT)=>{let n="";for(var r=t.length;e--;)n+=t[Math.random()*r|0];return n},isSpecCompliantForm:function(e){return!!(e&&h(e.append)&&"FormData"===e[Symbol.toStringTag]&&e[Symbol.iterator])},toJSONObject:e=>{let t=new Array(10),a=(e,r)=>{if(g(e)){if(0<=t.indexOf(e))return;if(!("toJSON"in e)){t[r]=e;let n=s(e)?[]:{};return x(e,(e,t)=>{e=a(e,r+1);f(e)||(n[t]=e)}),t[r]=void 0,n}}return e};return a(e,0)},isAsyncFn:O,isThenable:e=>e&&(g(e)||h(e))&&h(e.then)&&h(e.catch),setImmediate:F,asap:t}}.call(this,H(23),H(65).setImmediate,H(42))},function(e,t,n){e.exports=n(223)()},function(e,t,n){var r=n(107),a=n(108),o=n(109),i=n(111);e.exports=function(e,t){return r(e)||a(e,t)||o(e,t)||i()},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.ReactCSS=t.loop=t.handleActive=t.handleHover=t.hover=void 0;var o=c(n(117)),i=c(n(193)),l=c(n(219)),r=c(n(220)),a=c(n(221)),n=c(n(222));function c(e){return e&&e.__esModule?e:{default:e}}t.hover=r.default,t.handleHover=r.default,t.handleActive=a.default,t.loop=n.default;r=t.ReactCSS=function(e){for(var t=arguments.length,n=Array(1<t?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var a=(0,o.default)(n),e=(0,i.default)(e,a);return(0,l.default)(e)};t.default=r},function(e,t,n){var r=n(105);e.exports=function(e,t,n){return(t=r(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){var l=n(2);function c(e,t,n,r,a){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),a&&(this.response=a,this.status=a.status||null)}l.a.inherits(c,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:l.a.toJSONObject(this.config),code:this.code,status:this.status}}});let u=c.prototype,r={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{r[e]={value:e}}),Object.defineProperties(c,r),Object.defineProperty(u,"isAxiosError",{value:!0}),c.from=(e,t,n,r,a,o)=>{var i=Object.create(u);return l.a.toFlatObject(e,i,function(e){return e!==Error.prototype},e=>"isAxiosError"!==e),c.call(i,e.message,t,n,r,a),i.cause=e,i.name=e.name,o&&Object.assign(i,o),i},t.a=c},function(e,t,n){var r;function a(){for(var e="",t=0;t<arguments.length;t++){var n=arguments[t];n&&(e=o(e,(e=>{if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return a.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t,n="";for(t in e)r.call(e,t)&&e[t]&&(n=o(n,t));return n})(n)))}return e}function o(e,t){return t?e?e+" "+t:e+t:e}
    22/*!
    33    Copyright (c) 2018 Jed Watson.
     
    55    http://jedwatson.github.io/classnames
    66*/
    7 r={}.hasOwnProperty,e.exports?e.exports=a.default=a:void 0!==(t=function(){return a}.apply(t,[]))&&(e.exports=t)},function(M,e,t){t.d(e,"a",function(){return q}),t.d(e,"b",function(){return f}),t.d(e,"c",function(){return d}),t.d(e,"d",function(){return Y});var N=Object.defineProperty,r=Object.getOwnPropertySymbols,B=Object.prototype.hasOwnProperty,V=Object.prototype.propertyIsEnumerable,a=(e,t,n)=>t in e?N(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,D=(e,t)=>{for(var n in t=t||{})B.call(t,n)&&a(e,n,t[n]);if(r)for(var n of r(t))V.call(t,n)&&a(e,n,t[n]);return e},l=Symbol.for("immer-nothing"),n=Symbol.for("immer-draftable"),c=Symbol.for("immer-state");function u(e){throw new Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var s=Object.getPrototypeOf;function f(e){return!!e&&!!e[c]}function d(e){var t;return!!e&&(p(e)||Array.isArray(e)||!!e[n]||!(null==(t=e.constructor)||!t[n])||v(e)||b(e))}var z=Object.prototype.constructor.toString();function p(e){return!(!e||"object"!=typeof e)&&(null===(e=s(e))||(e=Object.hasOwnProperty.call(e,"constructor")&&e.constructor)===Object||"function"==typeof e&&Function.toString.call(e)===z)}function h(n,r){0===o(n)?Reflect.ownKeys(n).forEach(e=>{r(e,n[e],n)}):n.forEach((e,t)=>r(t,e,n))}function o(e){var t=e[c];return t?t.type_:Array.isArray(e)?1:v(e)?2:b(e)?3:0}function m(e,t){return 2===o(e)?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function g(e,t,n){var r=o(e);2===r?e.set(t,n):3===r?e.add(n):e[t]=n}function v(e){return e instanceof Map}function b(e){return e instanceof Set}function i(e){return e.copy_||e.base_}function y(t,e){if(v(t))return new Map(t);if(b(t))return new Set(t);if(Array.isArray(t))return Array.prototype.slice.call(t);var n=p(t);if(!0===e||"class_only"===e&&!n){var r=Object.getOwnPropertyDescriptors(t),a=(delete r[c],Reflect.ownKeys(r));for(let e=0;e<a.length;e++){var o=a[e],i=r[o];!1===i.writable&&(i.writable=!0,i.configurable=!0),(i.get||i.set)&&(r[o]={configurable:!0,writable:!0,enumerable:i.enumerable,value:t[o]})}return Object.create(s(t),r)}return null!==(e=s(t))&&n?D({},t):(n=Object.create(e),Object.assign(n,t))}function E(e,t=!1){return w(e)||f(e)||!d(e)||(1<o(e)&&(e.set=e.add=e.clear=e.delete=X),Object.freeze(e),t&&Object.entries(e).forEach(([,e])=>E(e,!0))),e}function X(){u(2)}function w(e){return Object.isFrozen(e)}var x,H={};function C(e){e=H[e];return e||u(0),e}function _(e,t){t&&(C("Patches"),e.patches_=[],e.inversePatches_=[],e.patchListener_=t)}function P(e){k(e),e.drafts_.forEach(U),e.drafts_=null}function k(e){e===x&&(x=e.parent_)}function S(e){return x={drafts_:[],parent_:x,immer_:e,canAutoFreeze_:!0,unfinalizedDrafts_:0}}function U(e){e=e[c];0===e.type_||1===e.type_?e.revoke_():e.revoked_=!0}function W(e,t){t.unfinalizedDrafts_=t.drafts_.length;var n=t.drafts_[0];return void 0!==e&&e!==n?(n[c].modified_&&(P(t),u(4)),d(e)&&(e=R(t,e),t.parent_||I(t,e)),t.patches_&&C("Patches").generateReplacementPatches_(n[c].base_,e,t.patches_,t.inversePatches_)):e=R(t,n,[]),P(t),t.patches_&&t.patchListener_(t.patches_,t.inversePatches_),e!==l?e:void 0}function R(a,n,o){if(w(n))return n;let i=n[c];if(!i)return h(n,(e,t)=>Z(a,i,n,e,t,o)),n;if(i.scope_!==a)return n;if(!i.modified_)return I(a,i.base_,!0),i.base_;if(!i.finalized_){i.finalized_=!0,i.scope_.unfinalizedDrafts_--;let n=i.copy_,e=n,r=!1;3===i.type_&&(e=new Set(n),n.clear(),r=!0),h(e,(e,t)=>Z(a,i,n,e,t,o,r)),I(a,n,!1),o&&a.patches_&&C("Patches").generatePatches_(i,o,a.patches_,a.inversePatches_)}return i.copy_}function Z(e,t,n,r,a,o,i){if(f(a)){o=R(e,a,o&&t&&3!==t.type_&&!m(t.assigned_,r)?o.concat(r):void 0);if(g(n,r,o),!f(o))return;e.canAutoFreeze_=!1}else i&&n.add(a);!d(a)||w(a)||!e.immer_.autoFreeze_&&e.unfinalizedDrafts_<1||(R(e,a),t&&t.scope_.parent_)||"symbol"==typeof r||!Object.prototype.propertyIsEnumerable.call(n,r)||I(e,a)}function I(e,t,n=!1){!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&E(t,n)}var O={get(e,t){var n,r;return t===c?e:m(n=i(e),t)?(r=n[t],!e.finalized_&&d(r)&&r===A(e.base_,t)?(L(e),e.copy_[t]=T(r,e)):r):(r=e,(e=$(e=n,n=t))?"value"in e?e.value:null==(n=e.get)?void 0:n.call(r.draft_):void 0)},has(e,t){return t in i(e)},ownKeys(e){return Reflect.ownKeys(i(e))},set(e,t,n){var r=$(i(e),t);if(null!=r&&r.set)r.set.call(e.draft_,n);else{if(!e.modified_){var r=A(i(e),t),a=null==r?void 0:r[c];if(a&&a.base_===n)return e.copy_[t]=n,!(e.assigned_[t]=!1);if(((a=n)===(r=r)?0!==a||1/a==1/r:a!=a&&r!=r)&&(void 0!==n||m(e.base_,t)))return!0;L(e),j(e)}e.copy_[t]===n&&(void 0!==n||t in e.copy_)||Number.isNaN(n)&&Number.isNaN(e.copy_[t])||(e.copy_[t]=n,e.assigned_[t]=!0)}return!0},deleteProperty(e,t){return void 0!==A(e.base_,t)||t in e.base_?(e.assigned_[t]=!1,L(e),j(e)):delete e.assigned_[t],e.copy_&&delete e.copy_[t],!0},getOwnPropertyDescriptor(e,t){var n=i(e),r=Reflect.getOwnPropertyDescriptor(n,t);return r&&{writable:!0,configurable:1!==e.type_||"length"!==t,enumerable:r.enumerable,value:n[t]}},defineProperty(){u(11)},getPrototypeOf(e){return s(e.base_)},setPrototypeOf(){u(12)}},F={};function A(e,t){var n=e[c];return(n?i(n):e)[t]}function $(t,n){if(n in t){let e=s(t);for(;e;){var r=Object.getOwnPropertyDescriptor(e,n);if(r)return r;e=s(e)}}}function j(e){e.modified_||(e.modified_=!0,e.parent_&&j(e.parent_))}function L(e){e.copy_||(e.copy_=y(e.base_,e.scope_.immer_.useStrictShallowCopy_))}h(O,(e,t)=>{F[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}}),F.deleteProperty=function(e,t){return F.set.call(this,e,t,void 0)},F.set=function(e,t,n){return O.set.call(this,e[0],t,n,e[0])};function T(e,t){e=v(e)?C("MapSet").proxyMap_(e,t):b(e)?C("MapSet").proxySet_(e,t):((e,t)=>{var n=Array.isArray(e);let r=t={type_:n?1:0,scope_:t?t.scope_:x,modified_:!1,finalized_:!1,assigned_:{},parent_:t,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1},a=O;n&&(r=[t],a=F);var{revoke:e,proxy:n}=Proxy.revocable(r,a);return t.draft_=n,t.revoke_=e,n})(e,t);return(t?t.scope_:x).drafts_.push(e),e}function q(e){return f(e)||u(10),function n(e){if(!d(e)||w(e))return e;let t=e[c];let r;if(t){if(!t.modified_)return t.base_;t.finalized_=!0,r=y(e,t.scope_.immer_.useStrictShallowCopy_)}else r=y(e,!0);h(r,(e,t)=>{g(r,e,n(t))});t&&(t.finalized_=!1);return r}(e)}var t=new class{constructor(e){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.produce=(t,a,n)=>{if("function"==typeof t&&"function"!=typeof a){let n=a,r=(a=t,this);return function(e=n,...t){return r.produce(e,e=>a.call(this,e,...t))}}"function"!=typeof a&&u(6),void 0!==n&&"function"!=typeof n&&u(7);let r;if(d(t)){var o=S(this),i=T(t,void 0);let e=!0;try{r=a(i),e=!1}finally{(e?P:k)(o)}return _(o,n),W(r,o)}if(!t||"object"!=typeof t)return(r=void 0===(r=a(t))?t:r)===l&&(r=void 0),this.autoFreeze_&&E(r,!0),n&&(i=[],o=[],C("Patches").generateReplacementPatches_(t,r,i,o),n(i,o)),r;u(1)},this.produceWithPatches=(n,e)=>{if("function"==typeof n)return(e,...t)=>this.produceWithPatches(e,e=>n(e,...t));let r,a;return[this.produce(n,e,(e,t)=>{r=e,a=t}),r,a]},"boolean"==typeof(null==e?void 0:e.autoFreeze)&&this.setAutoFreeze(e.autoFreeze),"boolean"==typeof(null==e?void 0:e.useStrictShallowCopy)&&this.setUseStrictShallowCopy(e.useStrictShallowCopy)}createDraft(e){d(e)||u(8),f(e)&&(e=q(e));var t=S(this),e=T(e,void 0);return e[c].isManual_=!0,k(t),e}finishDraft(e,t){e=e&&e[c],e&&e.isManual_||u(9),e=e.scope_;return _(e,t),W(void 0,e)}setAutoFreeze(e){this.autoFreeze_=e}setUseStrictShallowCopy(e){this.useStrictShallowCopy_=e}applyPatches(e,t){let n;for(n=t.length-1;0<=n;n--){var r=t[n];if(0===r.path.length&&"replace"===r.op){e=r.value;break}}-1<n&&(t=t.slice(n+1));let a=C("Patches").applyPatches_;return f(e)?a(e,t):this.produce(e,e=>a(e,t))}},Y=t.produce;t.produceWithPatches.bind(t),t.setAutoFreeze.bind(t),t.setUseStrictShallowCopy.bind(t),t.applyPatches.bind(t),t.createDraft.bind(t),t.finishDraft.bind(t)},function(e,t,n){var n=n(40),r="object"==typeof self&&self&&self.Object===Object&&self,n=n.a||r||Function("return this")();t.a=n},function(e,t,n){function p(e){return`Minified Redux error #${e}; visit https://redux.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}n.d(t,"a",function(){return o}),n.d(t,"b",function(){return a}),n.d(t,"c",function(){return i}),n.d(t,"d",function(){return v}),n.d(t,"e",function(){return l}),n.d(t,"f",function(){return g});var h=(()=>"function"==typeof Symbol&&Symbol.observable||"@@observable")(),r=()=>Math.random().toString(36).substring(7).split("").join("."),m={INIT:"@@redux/INIT"+r(),REPLACE:"@@redux/REPLACE"+r(),PROBE_UNKNOWN_ACTION:()=>"@@redux/PROBE_UNKNOWN_ACTION"+r()};function g(e){if("object"!=typeof e||null===e)return!1;let t=e;for(;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t||null===Object.getPrototypeOf(e)}function v(e,t,n){if("function"!=typeof e)throw new Error(p(2));if("function"==typeof t&&"function"==typeof n||"function"==typeof n&&"function"==typeof arguments[3])throw new Error(p(0));if("function"==typeof t&&void 0===n&&(n=t,t=void 0),void 0!==n){if("function"!=typeof n)throw new Error(p(1));return n(v)(e,t)}let r=e,a=t,o=new Map,i=o,l=0,c=!1;function u(){i===o&&(i=new Map,o.forEach((e,t)=>{i.set(t,e)}))}function s(){if(c)throw new Error(p(3));return a}function f(e){if("function"!=typeof e)throw new Error(p(4));if(c)throw new Error(p(5));let t=!0,n=(u(),l++);return i.set(n,e),function(){if(t){if(c)throw new Error(p(6));t=!1,u(),i.delete(n),o=null}}}function d(e){if(!g(e))throw new Error(p(7));if(void 0===e.type)throw new Error(p(8));if("string"!=typeof e.type)throw new Error(p(17));if(c)throw new Error(p(9));try{c=!0,a=r(a,e)}finally{c=!1}o=i;return o.forEach(e=>{e()}),e}return d({type:m.INIT}),{dispatch:d,subscribe:f,getState:s,replaceReducer:function(e){if("function"!=typeof e)throw new Error(p(10));r=e,d({type:m.REPLACE})},[h]:function(){let n=f;return{subscribe(t){if("object"!=typeof t||null===t)throw new Error(p(11));function e(){var e=t;e.next&&e.next(s())}return e(),{unsubscribe:n(e)}},[h](){return this}}}}}function a(t){var n,r=Object.keys(t);let c={};for(let e=0;e<r.length;e++){var a=r[e];"function"==typeof t[a]&&(c[a]=t[a])}let u=Object.keys(c),s;try{n=c,Object.keys(n).forEach(e=>{e=n[e];if(void 0===e(void 0,{type:m.INIT}))throw new Error(p(12));if(void 0===e(void 0,{type:m.PROBE_UNKNOWN_ACTION()}))throw new Error(p(13))})}catch(e){s=e}return function(t={},n){if(s)throw s;let r=!1;var a={};for(let e=0;e<u.length;e++){var o=u[e],i=c[o],l=t[o],i=i(l,n);if(void 0===i)throw n&&n.type,new Error(p(14));a[o]=i,r=r||i!==l}return(r=r||u.length!==Object.keys(t).length)?a:t}}function i(...e){return 0===e.length?e=>e:1===e.length?e[0]:e.reduce((t,n)=>(...e)=>t(n(...e)))}function o(...o){return a=>(e,t)=>{e=a(e,t);let n=()=>{throw new Error(p(15))},r={getState:e.getState,dispatch:(e,...t)=>n(e,...t)};t=o.map(e=>e(r));return n=i(...t)(e.dispatch),{...e,dispatch:n}}}function l(e){return g(e)&&"type"in e&&"string"==typeof e.type}},function(e,A,j){!function(e){j.d(A,"a",function(){return c}),j.d(A,"b",function(){return R});var v=j(9),t=j(18),u=j(11),n=j(63),r=Object.defineProperty,a=Object.defineProperties,o=Object.getOwnPropertyDescriptors,b=Object.getOwnPropertySymbols,y=Object.prototype.hasOwnProperty,E=Object.prototype.propertyIsEnumerable,i=(e,t,n)=>t in e?r(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,w=(e,t)=>{for(var n in t=t||{})y.call(t,n)&&i(e,n,t[n]);if(b)for(var n of b(t))E.call(t,n)&&i(e,n,t[n]);return e},x=(e,t)=>a(e,o(t)),s=(t.b,"undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return"object"==typeof arguments[0]?u.c:u.c.apply(null,arguments)});function C(n,r){function e(...e){if(r){var t=r(...e);if(t)return w(w({type:n,payload:t.payload},"meta"in t&&{meta:t.meta}),"error"in t&&{error:t.error});throw new Error(O(0))}return{type:n,payload:e[0]}}return e.toString=()=>""+n,e.type=n,e.match=e=>Object(u.e)(e)&&e.type===n,e}var l=class F extends Array{constructor(...e){super(...e),Object.setPrototypeOf(this,F.prototype)}static get[Symbol.species](){return F}concat(...e){return super.concat.apply(this,e)}prepend(...e){return 1===e.length&&Array.isArray(e[0])?new F(...e[0].concat(this)):new F(...e.concat(this))}};function _(e){return Object(v.c)(e)?Object(v.d)(e,()=>{}):e}function P(t,n,r){if(t.has(n)){let e=t.get(n);return r.update&&(e=r.update(e,n,t),t.set(n,e)),e}if(r.insert)return r=r.insert(n,t),t.set(n,r),r;throw new Error(O(10))}var f=()=>function(e){var{thunk:e=!0}=null!=e?e:{},t=new l;return e&&("boolean"==typeof e?t.push(n.a):t.push(Object(n.b)(e.extraArgument))),t},d="RTK_autoBatch",p=t=>e=>{setTimeout(e,t)},h="undefined"!=typeof window&&window.requestAnimationFrame?window.requestAnimationFrame:p(10),m=n=>function(e){var u,{autoBatch:e=!0}=null!=e?e:{},t=new l(n);return e&&t.push(([u={type:"raf"}]=["object"==typeof e?e:void 0],t=>(...e)=>{let n=t(...e),r=!0,a=!1,o=!1,i=new Set,l="tick"===u.type?queueMicrotask:"raf"===u.type?h:"callback"===u.type?u.queueNotification:p(u.timeout),c=()=>{o=!1,a&&(a=!1,i.forEach(e=>e()))};return Object.assign({},n,{subscribe(e){let t=n.subscribe(()=>r&&e());return i.add(e),()=>{t(),i.delete(e)}},dispatch(e){var t;try{return r=!(null!=(t=null==e?void 0:e.meta)&&t[d]),(a=!r)&&!o&&(o=!0,l(c)),n.dispatch(e)}finally{r=!0}}})})),t};function c(e){var t=f(),{reducer:e=void 0,middleware:n,devTools:r=!0,preloadedState:a=void 0,enhancers:o=void 0}=e||{};let i;if("function"==typeof e)i=e;else{if(!Object(u.f)(e))throw new Error(O(1));i=Object(u.b)(e)}let l,c=(l="function"==typeof n?n(t):t(),u.c);r&&(c=s(w({trace:!1},"object"==typeof r&&r)));e=Object(u.a)(...l),n=m(e),t="function"==typeof o?o(n):n(),r=c(...t);return Object(u.d)(i,a,r)}function k(e){let n={},r=[],t,a={addCase(e,t){e="string"==typeof e?e:e.type;if(!e)throw new Error(O(28));if(e in n)throw new Error(O(29));return n[e]=t,a},addMatcher(e,t){return r.push({matcher:e,reducer:t}),a},addDefaultCase(e){return t=e,a}};return e(a),[n,r,t]}var S=Symbol.for("rtk-slice-createasyncthunk");function g({creators:e}={}){let t,g=null==(t=null==e?void 0:e.asyncThunk)?void 0:t[S];return function(f){let{name:s,reducerPath:r=s}=f;if(!s)throw new Error(O(11));let d=("function"==typeof f.reducers?f.reducers((e.withTypes=()=>e,{reducer(t){return Object.assign({[t.name](...e){return t(...e)}}[t.name],{_reducerDefinitionType:"reducer"})},preparedReducer(e,t){return{_reducerDefinitionType:"reducerWithPrepare",prepare:e,reducer:t}},asyncThunk:e})):f.reducers)||{};function e(e,t){return w({_reducerDefinitionType:"asyncThunk",payloadCreator:e},t)}var t=Object.keys(d);let p={sliceCaseReducersByName:{},sliceCaseReducersByType:{},actionCreators:{},sliceMatchers:[]},h={addCase(e,t){e="string"==typeof e?e:e.type;if(!e)throw new Error(O(12));if(e in p.sliceCaseReducersByType)throw new Error(O(13));return p.sliceCaseReducersByType[e]=t,h},addMatcher(e,t){return p.sliceMatchers.push({matcher:e,reducer:t}),h},exposeAction(e,t){return p.actionCreators[e]=t,h},exposeCaseReducer(e,t){return p.sliceCaseReducersByName[e]=t,h}};function n(){let[e={},l=[],c=void 0]="function"==typeof f.extraReducers?k(f.extraReducers):[f.extraReducers],u=w(w({},e),p.sliceCaseReducersByType);{var t=f.initialState,r;let[n,a,o]=k(e=>{for(var t in u)e.addCase(t,u[t]);for(var n of p.sliceMatchers)e.addMatcher(n.matcher,n.reducer);for(var r of l)e.addMatcher(r.matcher,r.reducer);c&&e.addDefaultCase(c)}),i;if("function"==typeof t)i=()=>_(t());else{let e=_(t);i=()=>e}function s(e=i(),r){let t=[n[r.type],...a.filter(({matcher:e})=>e(r)).map(({reducer:e})=>e)];return(t=0===t.filter(e=>!!e).length?[o]:t).reduce((e,t)=>{if(t){if(Object(v.b)(e))return void 0===(n=t(e,r))?e:n;if(Object(v.c)(e))return Object(v.d)(e,e=>t(e,r));var n=t(e,r);if(void 0!==n)return n;if(null===e)return e;throw Error("A case reducer on a non-draftable value must not return undefined")}return e},e)}return s.getInitialState=i,s}}t.forEach(n=>{var r=d[n],n={reducerName:n,type:s+"/"+n,createNotation:"function"==typeof f.reducers};if("asyncThunk"!==r._reducerDefinitionType){var[{type:a,reducerName:o,createNotation:i},l,c]=[n,r,h];let e,t;if("reducer"in l){if(i&&"reducerWithPrepare"!==l._reducerDefinitionType)throw new Error(O(17));e=l.reducer,t=l.prepare}else e=l;c.addCase(a,e).exposeCaseReducer(o,e).exposeAction(o,t?C(a,t):C(a))}else{var[{type:i,reducerName:l},c,o,a]=[n,r,h,g];if(!a)throw new Error(O(18));var{payloadCreator:c,fulfilled:n,pending:r,rejected:e,settled:t,options:u}=c,a=a(i,c,u);o.exposeAction(l,a),n&&o.addCase(a.fulfilled,n),r&&o.addCase(a.pending,r),e&&o.addCase(a.rejected,e),t&&o.addMatcher(a.settled,t),o.exposeCaseReducer(l,{fulfilled:n||I,pending:r||I,rejected:e||I,settled:t||I})}});let i=e=>e,l=new Map,a;function o(e,t){return(a=a||n())(e,t)}function c(){return(a=a||n()).getInitialState()}function u(n,o=!1){function e(e){let t=e[n];return t=void 0===t&&o?c():t}function t(a=i){var e=P(l,o,{insert:()=>new WeakMap});return P(e,a,{insert:()=>{var e,t,n,r={};for([t,n]of Object.entries(null!=(e=f.selectors)?e:{}))r[t]=((r,a,o,i)=>{function e(e,...t){let n=a(e);return void 0===n&&i&&(n=o()),r(n,...t)}return e.unwrapped=r,e})(n,a,c,o);return r}})}return{reducerPath:n,getSelectors:t,get selectors(){return t(e)},selectSlice:e}}let m=x(w({name:s,reducer:o,actions:p.actionCreators,caseReducers:p.sliceCaseReducersByName,getInitialState:c},u(r)),{injectInto(e,t={}){var n=t.reducerPath,t=((e,t)=>{var n={};for(r in e)y.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&b)for(var r of b(e))t.indexOf(r)<0&&E.call(e,r)&&(n[r]=e[r]);return n})(t,["reducerPath"]),n=null!=n?n:r;return e.inject({reducerPath:n,reducer:o},t),w(w({},m),u(n,!0))}});return m}}var R=g();function I(){}v.b;var{}=Object;Symbol.for("rtk-state-proxy-original");function O(e){return`Minified Redux Toolkit error #${e}; visit https://redux-toolkit.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}}.call(this,j(42))},function(e,t,n){var n=n(66),r="object"==typeof self&&self&&self.Object===Object&&self,n=n||r||Function("return this")();e.exports=n},function(e,t){var n=Array.isArray;e.exports=n},function(e,t){e.exports=function(e){return null!=e&&"object"==typeof e}},,function(e,t){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},function(e,t,n){n.d(t,"a",function(){return s}),n.d(t,"b",function(){return E});var r=Object.defineProperty,a=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable,l=(e,t,n)=>t in e?r(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,p=(e,t)=>{for(var n in t=t||{})o.call(t,n)&&l(e,n,t[n]);if(a)for(var n of a(t))i.call(t,n)&&l(e,n,t[n]);return e};function h(e,t="expected a function, instead received "+typeof e){if("function"!=typeof e)throw new TypeError(t)}function c(e,t="expected an object, instead received "+typeof e){if("object"!=typeof e)throw new TypeError(t)}var m=e=>Array.isArray(e)?e:[e];function g(e){var e=Array.isArray(e[0])?e[0]:e,t=e,n="createSelector expects all input-selectors to be functions, but received the following types: ";if(t.every(e=>"function"==typeof e))return e;throw t=t.map(e=>"function"==typeof e?`function ${e.name||"unnamed"}()`:typeof e).join(", "),new TypeError(n+`[${t}]`)}Symbol(),Object.getPrototypeOf({});var v="undefined"!=typeof WeakRef?WeakRef:class{constructor(e){this.value=e}deref(){return this.value}},u=0,b=1;function y(){return{s:u,v:void 0,o:null,p:null}}function E(c,e={}){let u=y(),s=e.resultEqualityCheck,f,d=0;function t(){let e,t,n=u;var r=arguments.length;for(let e=0,t=r;e<t;e++){var a=arguments[e];if("function"==typeof a||"object"==typeof a&&null!==a){let e=n.o;null===e&&(n.o=e=new WeakMap);var o=e.get(a);void 0===o?(n=y(),e.set(a,n)):n=o}else{let e=n.p;null===e&&(n.p=e=new Map);o=e.get(a);void 0===o?(n=y(),e.set(a,n)):n=o}}var i,r=n;let l;return n.s===b?l=n.v:(l=c.apply(null,arguments),d++,s&&(null!=(i=null!=(t=null==(e=null==f?void 0:f.deref)?void 0:e.call(f))?t:f)&&s(i,l)&&(l=i,0!==d)&&d--,i="object"==typeof l&&null!==l||"function"==typeof l,f=i?new v(l):l)),r.s=b,r.v=l}return t.clearCache=()=>{u=y(),t.resetResultsCount()},t.resultsCount=()=>d,t.resetResultsCount=()=>{d=0},t}function s(e,...t){let d="function"==typeof e?{memoize:e,memoizeOptions:t}:e,n=(...e)=>{let t=0,n=0,r,a={},o=e.pop();"object"==typeof o&&(a=o,o=e.pop()),h(o,`createSelector expects an output function after the inputs, but received: [${typeof o}]`);var{memoize:i,memoizeOptions:l=[],argsMemoize:c=E,argsMemoizeOptions:u=[]}=p(p({},d),a),l=m(l),u=m(u);let s=g(e),f=i(function(){return t++,o.apply(null,arguments)},...l);e=c(function(){n++;var e=((t,n)=>{var r=[],a=t.length;for(let e=0;e<a;e++)r.push(t[e].apply(null,n));return r})(s,arguments);return r=f.apply(null,e)},...u);return Object.assign(e,{resultFunc:o,memoizedResultFunc:f,dependencies:s,dependencyRecomputations:()=>n,resetDependencyRecomputations:()=>{n=0},lastResult:()=>r,recomputations:()=>t,resetRecomputations:()=>{t=0},memoize:i,argsMemoize:c})};return Object.assign(n,{withTypes:()=>n}),n}var f=s(E),d=Object.assign((t,e=f)=>{c(t,"createStructuredSelector expects first argument to be an object where each property is a selector, instead received a "+typeof t);let r=Object.keys(t);return e(r.map(e=>t[e]),(...e)=>e.reduce((e,t,n)=>(e[r[n]]=t,e),{}))},{withTypes:()=>d})},function(e,t,n){!function(d){var p=n(2),h=n(7),m=n(39);function g(e){return p.a.isPlainObject(e)||p.a.isArray(e)}function v(e){return p.a.endsWith(e,"[]")?e.slice(0,-2):e}function b(e,t,n){return e?e.concat(t).map(function(e,t){return e=v(e),!n&&t?"["+e+"]":e}).join(n?".":""):t}let y=p.a.toFlatObject(p.a,{},null,function(e){return/^is[A-Z]/.test(e)});t.a=function(e,o,t){if(!p.a.isObject(e))throw new TypeError("target must be an object");o=o||new(m.a||FormData);let i=(t=p.a.toFlatObject(t,{metaTokens:!0,dots:!1,indexes:!1},!1,function(e,t){return!p.a.isUndefined(t[e])})).metaTokens,a=t.visitor||r,l=t.dots,c=t.indexes,n=(t.Blob||"undefined"!=typeof Blob&&Blob)&&p.a.isSpecCompliantForm(o);if(!p.a.isFunction(a))throw new TypeError("visitor must be a function");function u(e){if(null===e)return"";if(p.a.isDate(e))return e.toISOString();if(!n&&p.a.isBlob(e))throw new h.a("Blob is not supported. Use a Buffer instead.");return p.a.isArrayBuffer(e)||p.a.isTypedArray(e)?n&&"function"==typeof Blob?new Blob([e]):d.from(e):e}function r(e,n,t){let r=e;if(e&&!t&&"object"==typeof e)if(p.a.endsWith(n,"{}"))n=i?n:n.slice(0,-2),e=JSON.stringify(e);else if(p.a.isArray(e)&&(a=e,p.a.isArray(a))&&!a.some(g)||(p.a.isFileList(e)||p.a.endsWith(n,"[]"))&&(r=p.a.toArray(e)))return n=v(n),r.forEach(function(e,t){p.a.isUndefined(e)||null===e||o.append(!0===c?b([n],t,l):null===c?n:n+"[]",u(e))}),!1;var a;return!!g(e)||(o.append(b(t,n,l),u(e)),!1)}let s=[],f=Object.assign(y,{defaultVisitor:r,convertValue:u,isVisitable:g});if(p.a.isObject(e))return function n(e,r){if(!p.a.isUndefined(e)){if(-1!==s.indexOf(e))throw Error("Circular reference detected in "+r.join("."));s.push(e),p.a.forEach(e,function(e,t){!0===(!(p.a.isUndefined(e)||null===e)&&a.call(o,e,p.a.isString(t)?t.trim():t,r,f))&&n(e,r?r.concat(t):[t])}),s.pop()}}(e),o;throw new TypeError("data must be an object")}}.call(this,n(113).Buffer)},function(e,t,n){var r=n(26),a=n(119),o=n(120),i=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":(i&&i in Object(e)?a:o)(e)}},function(e,t,n){var r=n(145),a=n(148);e.exports=function(e,t){return e=a(e,t),r(e)?e:void 0}},function(e,a,o){!function(e){var t=o(10),n=o(94),r="object"==typeof exports&&exports&&!exports.nodeType&&exports,e=r&&"object"==typeof e&&e&&!e.nodeType&&e,e=e&&e.exports===r?t.a.Buffer:void 0,r=(e?e.isBuffer:void 0)||n.a;a.a=r}.call(this,o(60)(e))},function(e,t){var n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),e.exports=n(100)},function(e,t,n){var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}},r=(Object.defineProperty(t,"__esModule",{value:!0}),t.checkValuesAgainstBoundaries=t.relativeValue=t.useThumbOverlap=t.Direction=t.getTrackBackground=t.Range=void 0,r(n(230))),a=(t.Range=r.default,n(91)),o=(Object.defineProperty(t,"getTrackBackground",{enumerable:!0,get:function(){return a.getTrackBackground}}),Object.defineProperty(t,"useThumbOverlap",{enumerable:!0,get:function(){return a.useThumbOverlap}}),Object.defineProperty(t,"relativeValue",{enumerable:!0,get:function(){return a.relativeValue}}),Object.defineProperty(t,"checkValuesAgainstBoundaries",{enumerable:!0,get:function(){return a.checkValuesAgainstBoundaries}}),n(61));Object.defineProperty(t,"Direction",{enumerable:!0,get:function(){return o.Direction}})},function(e,t,n){n=n(13).Symbol;e.exports=n},function(e,t,n){var r=n(68),a=n(127),o=n(29);e.exports=function(e){return(o(e)?r:a)(e)}},function(e,t,n){e.exports=(()=>{function c(e){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var u=/^\s+/,s=/\s+$/;function f(e,t){var n;return t=t||{},(e=e||"")instanceof f?e:this instanceof f?(n=(e=>{var t={r:0,g:0,b:0},n=1,r=null,a=null,o=null,i=!1,l=!1;return"string"==typeof e&&(e=(e=>{e=e.replace(u,"").replace(s,"").toLowerCase();var t,n=!1;if(E[e])e=E[e],n=!0;else if("transparent"==e)return{r:0,g:0,b:0,a:0,format:"name"};return(t=O.rgb.exec(e))?{r:t[1],g:t[2],b:t[3]}:(t=O.rgba.exec(e))?{r:t[1],g:t[2],b:t[3],a:t[4]}:(t=O.hsl.exec(e))?{h:t[1],s:t[2],l:t[3]}:(t=O.hsla.exec(e))?{h:t[1],s:t[2],l:t[3],a:t[4]}:(t=O.hsv.exec(e))?{h:t[1],s:t[2],v:t[3]}:(t=O.hsva.exec(e))?{h:t[1],s:t[2],v:t[3],a:t[4]}:(t=O.hex8.exec(e))?{r:P(t[1]),g:P(t[2]),b:P(t[3]),a:I(t[4]),format:n?"name":"hex8"}:(t=O.hex6.exec(e))?{r:P(t[1]),g:P(t[2]),b:P(t[3]),format:n?"name":"hex"}:(t=O.hex4.exec(e))?{r:P(t[1]+""+t[1]),g:P(t[2]+""+t[2]),b:P(t[3]+""+t[3]),a:I(t[4]+""+t[4]),format:n?"name":"hex8"}:!!(t=O.hex3.exec(e))&&{r:P(t[1]+""+t[1]),g:P(t[2]+""+t[2]),b:P(t[3]+""+t[3]),format:n?"name":"hex"}})(e)),n=x(n="object"==c(e)&&(F(e.r)&&F(e.g)&&F(e.b)?(t=((e,t,n)=>({r:255*C(e,255),g:255*C(t,255),b:255*C(n,255)}))(e.r,e.g,e.b),i=!0,l="%"===String(e.r).substr(-1)?"prgb":"rgb"):F(e.h)&&F(e.s)&&F(e.v)?(r=S(e.s),a=S(e.v),t=((e,t,n)=>{e=6*C(e,360),t=C(t,100),n=C(n,100);var r=Math.floor(e),a=n*(1-t),o=n*(1-(e=e-r)*t);return{r:255*[n,o,a,a,e=n*(1-(1-e)*t),n][t=r%6],g:255*[e,n,n,o,a,a][t],b:255*[a,a,e,n,n,o][t]}})(e.h,r,a),i=!0,l="hsv"):F(e.h)&&F(e.s)&&F(e.l)&&(r=S(e.s),o=S(e.l),t=((e,t,n)=>{var r,a,o;function i(e,t,n){return n<0&&(n+=1),1<n&&--n,n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}return e=C(e,360),t=C(t,100),n=C(n,100),0===t?r=a=o=n:(r=i(t=2*n-(n=n<.5?n*(1+t):n+t-n*t),n,e+1/3),a=i(t,n,e),o=i(t,n,e-1/3)),{r:255*r,g:255*a,b:255*o}})(e.h,r,o),i=!0,l="hsl"),e.hasOwnProperty("a"))?e.a:n),{ok:i,format:e.format||l,r:Math.min(255,Math.max(t.r,0)),g:Math.min(255,Math.max(t.g,0)),b:Math.min(255,Math.max(t.b,0)),a:n}})(e),this._originalInput=e,this._r=n.r,this._g=n.g,this._b=n.b,this._a=n.a,this._roundA=Math.round(100*this._a)/100,this._format=t.format||n.format,this._gradientType=t.gradientType,this._r<1&&(this._r=Math.round(this._r)),this._g<1&&(this._g=Math.round(this._g)),this._b<1&&(this._b=Math.round(this._b)),void(this._ok=n.ok)):new f(e,t)}function r(e,t,n){e=C(e,255),t=C(t,255),n=C(n,255);var r,a=Math.max(e,t,n),o=Math.min(e,t,n),i=(a+o)/2;if(a==o)r=c=0;else{var l=a-o,c=.5<i?l/(2-a-o):l/(a+o);switch(a){case e:r=(t-n)/l+(t<n?6:0);break;case t:r=(n-e)/l+2;break;case n:r=(e-t)/l+4}r/=6}return{h:r,s:c,l:i}}function a(e,t,n){e=C(e,255),t=C(t,255),n=C(n,255);var r,a=Math.max(e,t,n),o=Math.min(e,t,n),i=a,l=a-o,c=0===a?0:l/a;if(a==o)r=0;else{switch(a){case e:r=(t-n)/l+(t<n?6:0);break;case t:r=(n-e)/l+2;break;case n:r=(e-t)/l+4}r/=6}return{h:r,s:c,v:i}}function t(e,t,n,r){e=[k(Math.round(e).toString(16)),k(Math.round(t).toString(16)),k(Math.round(n).toString(16))];return r&&e[0].charAt(0)==e[0].charAt(1)&&e[1].charAt(0)==e[1].charAt(1)&&e[2].charAt(0)==e[2].charAt(1)?e[0].charAt(0)+e[1].charAt(0)+e[2].charAt(0):e.join("")}function o(e,t,n,r){return[k(R(r)),k(Math.round(e).toString(16)),k(Math.round(t).toString(16)),k(Math.round(n).toString(16))].join("")}function e(e,t){t=0===t?0:t||10;e=f(e).toHsl();return e.s-=t/100,e.s=_(e.s),f(e)}function n(e,t){t=0===t?0:t||10;e=f(e).toHsl();return e.s+=t/100,e.s=_(e.s),f(e)}function i(e){return f(e).desaturate(100)}function l(e,t){t=0===t?0:t||10;e=f(e).toHsl();return e.l+=t/100,e.l=_(e.l),f(e)}function d(e,t){t=0===t?0:t||10;e=f(e).toRgb();return e.r=Math.max(0,Math.min(255,e.r-Math.round(-t/100*255))),e.g=Math.max(0,Math.min(255,e.g-Math.round(-t/100*255))),e.b=Math.max(0,Math.min(255,e.b-Math.round(-t/100*255))),f(e)}function p(e,t){t=0===t?0:t||10;e=f(e).toHsl();return e.l-=t/100,e.l=_(e.l),f(e)}function h(e,t){e=f(e).toHsl(),t=(e.h+t)%360;return e.h=t<0?360+t:t,f(e)}function m(e){e=f(e).toHsl();return e.h=(e.h+180)%360,f(e)}function g(e,t){if(isNaN(t)||t<=0)throw new Error("Argument to polyad must be a positive number");for(var n=f(e).toHsl(),r=[f(e)],a=360/t,o=1;o<t;o++)r.push(f({h:(n.h+o*a)%360,s:n.s,l:n.l}));return r}function v(e){var t=f(e).toHsl(),n=t.h;return[f(e),f({h:(n+72)%360,s:t.s,l:t.l}),f({h:(n+216)%360,s:t.s,l:t.l})]}function b(e,t,n){t=t||6,n=n||30;var r=f(e).toHsl(),a=360/n,o=[f(e)];for(r.h=(r.h-(a*t>>1)+720)%360;--t;)r.h=(r.h+a)%360,o.push(f(r));return o}function y(e,t){t=t||6;for(var e=f(e).toHsv(),n=e.h,r=e.s,a=e.v,o=[],i=1/t;t--;)o.push(f({h:n,s:r,v:a})),a=(a+i)%1;return o}f.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},getLuminance:function(){var e=this.toRgb(),t=e.r/255,n=e.g/255,e=e.b/255,t=t<=.03928?t/12.92:Math.pow((.055+t)/1.055,2.4),n=n<=.03928?n/12.92:Math.pow((.055+n)/1.055,2.4),e=e<=.03928?e/12.92:Math.pow((.055+e)/1.055,2.4);return.2126*t+.7152*n+.0722*e},setAlpha:function(e){return this._a=x(e),this._roundA=Math.round(100*this._a)/100,this},toHsv:function(){var e=a(this._r,this._g,this._b);return{h:360*e.h,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=a(this._r,this._g,this._b),t=Math.round(360*e.h),n=Math.round(100*e.s),e=Math.round(100*e.v);return 1==this._a?"hsv("+t+", "+n+"%, "+e+"%)":"hsva("+t+", "+n+"%, "+e+"%, "+this._roundA+")"},toHsl:function(){var e=r(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=r(this._r,this._g,this._b),t=Math.round(360*e.h),n=Math.round(100*e.s),e=Math.round(100*e.l);return 1==this._a?"hsl("+t+", "+n+"%, "+e+"%)":"hsla("+t+", "+n+"%, "+e+"%, "+this._roundA+")"},toHex:function(e){return t(this._r,this._g,this._b,e)},toHexString:function(e){return"#"+this.toHex(e)},toHex8:function(e){return t=this._r,n=this._g,r=this._b,a=this._a,e=e,t=[k(Math.round(t).toString(16)),k(Math.round(n).toString(16)),k(Math.round(r).toString(16)),k(R(a))],e&&t[0].charAt(0)==t[0].charAt(1)&&t[1].charAt(0)==t[1].charAt(1)&&t[2].charAt(0)==t[2].charAt(1)&&t[3].charAt(0)==t[3].charAt(1)?t[0].charAt(0)+t[1].charAt(0)+t[2].charAt(0)+t[3].charAt(0):t.join("");var t,n,r,a},toHex8String:function(e){return"#"+this.toHex8(e)},toRgb:function(){return{r:Math.round(this._r),g:Math.round(this._g),b:Math.round(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+")":"rgba("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:Math.round(100*C(this._r,255))+"%",g:Math.round(100*C(this._g,255))+"%",b:Math.round(100*C(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+Math.round(100*C(this._r,255))+"%, "+Math.round(100*C(this._g,255))+"%, "+Math.round(100*C(this._b,255))+"%)":"rgba("+Math.round(100*C(this._r,255))+"%, "+Math.round(100*C(this._g,255))+"%, "+Math.round(100*C(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&w[t(this._r,this._g,this._b,!0)]||!1},toFilter:function(e){var t="#"+o(this._r,this._g,this._b,this._a),n=t;return"progid:DXImageTransform.Microsoft.gradient("+(this._gradientType?"GradientType = 1, ":"")+"startColorstr="+t+",endColorstr="+(n=e?"#"+o((t=f(e))._r,t._g,t._b,t._a):n)+")"},toString:function(e){var t=!!e,n=(e=e||this._format,!1),r=this._a<1&&0<=this._a;return t||!r||"hex"!==e&&"hex6"!==e&&"hex3"!==e&&"hex4"!==e&&"hex8"!==e&&"name"!==e?("rgb"===e&&(n=this.toRgbString()),"prgb"===e&&(n=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(n=this.toHexString()),"hex3"===e&&(n=this.toHexString(!0)),"hex4"===e&&(n=this.toHex8String(!0)),"hex8"===e&&(n=this.toHex8String()),"name"===e&&(n=this.toName()),"hsl"===e&&(n=this.toHslString()),(n="hsv"===e?this.toHsvString():n)||this.toHexString()):"name"===e&&0===this._a?this.toName():this.toRgbString()},clone:function(){return f(this.toString())},_applyModification:function(e,t){e=e.apply(null,[this].concat([].slice.call(t)));return this._r=e._r,this._g=e._g,this._b=e._b,this.setAlpha(e._a),this},lighten:function(){return this._applyModification(l,arguments)},brighten:function(){return this._applyModification(d,arguments)},darken:function(){return this._applyModification(p,arguments)},desaturate:function(){return this._applyModification(e,arguments)},saturate:function(){return this._applyModification(n,arguments)},greyscale:function(){return this._applyModification(i,arguments)},spin:function(){return this._applyModification(h,arguments)},_applyCombination:function(e,t){return e.apply(null,[this].concat([].slice.call(t)))},analogous:function(){return this._applyCombination(b,arguments)},complement:function(){return this._applyCombination(m,arguments)},monochromatic:function(){return this._applyCombination(y,arguments)},splitcomplement:function(){return this._applyCombination(v,arguments)},triad:function(){return this._applyCombination(g,[3])},tetrad:function(){return this._applyCombination(g,[4])}},f.fromRatio=function(e,t){if("object"==c(e)){var n,r={};for(n in e)e.hasOwnProperty(n)&&(r[n]="a"===n?e[n]:S(e[n]));e=r}return f(e,t)},f.equals=function(e,t){return!(!e||!t)&&f(e).toRgbString()==f(t).toRgbString()},f.random=function(){return f.fromRatio({r:Math.random(),g:Math.random(),b:Math.random()})},f.mix=function(e,t,n){n=0===n?0:n||50;e=f(e).toRgb(),t=f(t).toRgb(),n/=100;return f({r:(t.r-e.r)*n+e.r,g:(t.g-e.g)*n+e.g,b:(t.b-e.b)*n+e.b,a:(t.a-e.a)*n+e.a})},f.readability=function(e,t){e=f(e),t=f(t);return(Math.max(e.getLuminance(),t.getLuminance())+.05)/(Math.min(e.getLuminance(),t.getLuminance())+.05)},f.isReadable=function(e,t,n){var r=f.readability(e,t),a=!1,e=(e=>{var t;return t=((e=e||{level:"AA",size:"small"}).level||"AA").toUpperCase(),e=(e.size||"small").toLowerCase(),{level:t="AA"!==t&&"AAA"!==t?"AA":t,size:e="small"!==e&&"large"!==e?"small":e}})(n);switch(e.level+e.size){case"AAsmall":case"AAAlarge":a=4.5<=r;break;case"AAlarge":a=3<=r;break;case"AAAsmall":a=7<=r}return a},f.mostReadable=function(e,t,n){for(var r,a=null,o=0,i=(n=n||{}).includeFallbackColors,l=n.level,c=n.size,u=0;u<t.length;u++)o<(r=f.readability(e,t[u]))&&(o=r,a=f(t[u]));return f.isReadable(e,a,{level:l,size:c})||!i?a:(n.includeFallbackColors=!1,f.mostReadable(e,["#fff","#000"],n))};var E=f.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},w=f.hexNames=(e=>{var t,n={};for(t in e)e.hasOwnProperty(t)&&(n[e[t]]=t);return n})(E);function x(e){return e=parseFloat(e),e=isNaN(e)||e<0||1<e?1:e}function C(e,t){"string"==typeof(n=e)&&-1!=n.indexOf(".")&&1===parseFloat(n)&&(e="100%");var n="string"==typeof(n=e)&&-1!=n.indexOf("%");return e=Math.min(t,Math.max(0,parseFloat(e))),n&&(e=parseInt(e*t,10)/100),Math.abs(e-t)<1e-6?1:e%t/parseFloat(t)}function _(e){return Math.min(1,Math.max(0,e))}function P(e){return parseInt(e,16)}function k(e){return 1==e.length?"0"+e:""+e}function S(e){return e=e<=1?100*e+"%":e}function R(e){return Math.round(255*parseFloat(e)).toString(16)}function I(e){return P(e)/255}var O=(()=>{var e="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)",t="[\\s|\\(]+("+e+")[,|\\s]+("+e+")[,|\\s]+("+e+")\\s*\\)?",n="[\\s|\\(]+("+e+")[,|\\s]+("+e+")[,|\\s]+("+e+")[,|\\s]+("+e+")\\s*\\)?";return{CSS_UNIT:new RegExp(e),rgb:new RegExp("rgb"+t),rgba:new RegExp("rgba"+n),hsl:new RegExp("hsl"+t),hsla:new RegExp("hsla"+n),hsv:new RegExp("hsv"+t),hsva:new RegExp("hsva"+n),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/}})();function F(e){return O.CSS_UNIT.exec(e)}return f})()},function(e,t,n){var r=n(73),a=n(47);e.exports=function(e){return null!=e&&a(e.length)&&!r(e)}},function(e,t,n){var r=n(135),a=n(136),o=n(137),i=n(138),n=n(139);function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}l.prototype.clear=r,l.prototype.delete=a,l.prototype.get=o,l.prototype.has=i,l.prototype.set=n,e.exports=l},function(e,t,n){var r=n(53);e.exports=function(e,t){for(var n=e.length;n--;)if(r(e[n][0],t))return n;return-1}},function(e,t,n){n=n(21)(Object,"create");e.exports=n},function(e,t,n){var r=n(157);e.exports=function(e,t){return e=e.__data__,r(t)?e["string"==typeof t?"string":"hash"]:e.map}},function(e,t,n){var r=n(172),a=n(54),o=n(173),i=n(174),l=n(175),c=n(20),u=n(76),s="[object Map]",f="[object Promise]",d="[object Set]",p="[object WeakMap]",h="[object DataView]",m=u(r),g=u(a),v=u(o),b=u(i),y=u(l),n=c;(r&&n(new r(new ArrayBuffer(1)))!=h||a&&n(new a)!=s||o&&n(o.resolve())!=f||i&&n(new i)!=d||l&&n(new l)!=p)&&(n=function(e){var t=c(e),e="[object Object]"==t?e.constructor:void 0,e=e?u(e):"";if(e)switch(e){case m:return h;case g:return s;case v:return f;case b:return d;case y:return p}return t}),e.exports=n},function(e,t,n){var r=n(20),a=n(15);e.exports=function(e){return"symbol"==typeof e||a(e)&&"[object Symbol]"==r(e)}},function(e,t,n){var r=n(35);e.exports=function(e){var t;return"string"==typeof e||r(e)?e:"0"==(t=e+"")&&1/e==-1/0?"-0":t}},function(e,t,n){var u=n(88),s=n(89);e.exports=function(e,t,n,r){for(var a=!n,o=(n=n||{},-1),i=t.length;++o<i;){var l=t[o],c=r?r(n[l],e[l],l,n,e):void 0;void 0===c&&(c=e[l]),(a?s:u)(n,l,c)}return n}},function(e,t,n){function r(e,t){return function(){return e.apply(t,arguments)}}n.d(t,"a",function(){return r})},function(e,t,n){t.a=null},function(e,t,n){!function(e){e="object"==typeof e&&e&&e.Object===Object&&e;t.a=e}.call(this,n(23))},function(e,t){function n(){return e.exports=n=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n,r=arguments[t];for(n in r)!{}.hasOwnProperty.call(r,n)||(e[n]=r[n])}return e},e.exports.__esModule=!0,e.exports.default=e.exports,n.apply(null,arguments)}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){var n,r,e=e.exports={};function a(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}try{n="function"==typeof setTimeout?setTimeout:a}catch(e){n=a}try{r="function"==typeof clearTimeout?clearTimeout:o}catch(e){r=o}function i(t){if(n===setTimeout)return setTimeout(t,0);if((n===a||!n)&&setTimeout)return(n=setTimeout)(t,0);try{return n(t,0)}catch(e){try{return n.call(null,t,0)}catch(e){return n.call(this,t,0)}}}var l,c=[],u=!1,s=-1;function f(){u&&l&&(u=!1,l.length?c=l.concat(c):s=-1,c.length)&&d()}function d(){if(!u){for(var e=i(f),t=(u=!0,c.length);t;){for(l=c,c=[];++s<t;)l&&l[s].run();s=-1,t=c.length}l=null,u=!1,!function(t){if(r===clearTimeout)return clearTimeout(t);if((r===o||!r)&&clearTimeout)return(r=clearTimeout)(t);try{r(t)}catch(e){try{return r.call(null,t)}catch(e){return r.call(this,t)}}}(e)}}function p(e,t){this.fun=e,this.array=t}function h(){}e.nextTick=function(e){var t=new Array(arguments.length-1);if(1<arguments.length)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];c.push(new p(e,t)),1!==c.length||u||i(d)},p.prototype.run=function(){this.fun.apply(null,this.array)},e.title="browser",e.browser=!0,e.env={},e.argv=[],e.version="",e.versions={},e.on=h,e.addListener=h,e.once=h,e.off=h,e.removeListener=h,e.removeAllListeners=h,e.emit=h,e.prependListener=h,e.prependOnceListener=h,e.listeners=function(e){return[]},e.binding=function(e){throw new Error("process.binding is not supported")},e.cwd=function(){return"/"},e.chdir=function(e){throw new Error("process.chdir is not supported")},e.umask=function(){return 0}},function(t,e){function n(e){return t.exports=n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},t.exports.__esModule=!0,t.exports.default=t.exports,n(e)}t.exports=n,t.exports.__esModule=!0,t.exports.default=t.exports},function(e,t,n){var r=n(67),a=n(129);e.exports=function(e,t){return e&&r(e,a(t))}},function(e,o,i){!function(e){var t=i(13),n=i(125),r=o&&!o.nodeType&&o,a=r&&"object"==typeof e&&e&&!e.nodeType&&e,a=a&&a.exports===r?t.Buffer:void 0,r=a?a.isBuffer:void 0;e.exports=r||n}.call(this,i(46)(e))},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t){e.exports=function(e){return"number"==typeof e&&-1<e&&e%1==0&&e<=9007199254740991}},function(e,t){e.exports=function(t){return function(e){return t(e)}}},function(e,o,i){!function(e){var t=i(66),n=o&&!o.nodeType&&o,r=n&&"object"==typeof e&&e&&!e.nodeType&&e,a=r&&r.exports===n&&t.process,n=(()=>{try{var e=r&&r.require&&r.require("util").types;return e?e:a&&a.binding&&a.binding("util")}catch(e){}})();e.exports=n}.call(this,i(46)(e))},function(e,t){var n=Object.prototype;e.exports=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||n)}},function(e,t,n){n=n(72)(Object.getPrototypeOf,Object);e.exports=n},function(e,t,n){var r=n(30),a=n(140),o=n(141),i=n(142),l=n(143),n=n(144);function c(e){e=this.__data__=new r(e);this.size=e.size}c.prototype.clear=a,c.prototype.delete=o,c.prototype.get=i,c.prototype.has=l,c.prototype.set=n,e.exports=c},function(e,t){e.exports=function(e,t){return e===t||e!=e&&t!=t}},function(e,t,n){n=n(21)(n(13),"Map");e.exports=n},function(e,t,n){var r=n(149),a=n(156),o=n(158),i=n(159),n=n(160);function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}l.prototype.clear=r,l.prototype.delete=a,l.prototype.get=o,l.prototype.has=i,l.prototype.set=n,e.exports=l},function(e,t,n){var r=n(171),n=n(83),a=Object.prototype.propertyIsEnumerable,o=Object.getOwnPropertySymbols;e.exports=o?function(t){return null==t?[]:(t=Object(t),r(o(t),function(e){return a.call(t,e)}))}:n},function(e,t,n){var r=n(14),a=n(35),o=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,i=/^\w*$/;e.exports=function(e,t){var n;return!r(e)&&(!("number"!=(n=typeof e)&&"symbol"!=n&&"boolean"!=n&&null!=e&&!a(e))||i.test(e)||!o.test(e)||null!=t&&e in Object(t))}},function(e,t,n){var r=n(68),a=n(200),o=n(29);e.exports=function(e){return o(e)?r(e,!0):a(e)}},function(e,t,n){var r=n(79);e.exports=function(e){var t=new e.constructor(e.byteLength);return new r(t).set(new r(e)),t}},function(e,t){e.exports=function(e){var t;return e.webpackPolyfill||((t=Object.create(e)).children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),Object.defineProperty(t,"exports",{enumerable:!0}),t.webpackPolyfill=1),t}},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.Direction=void 0,t.Direction={Right:"to right",Left:"to left",Down:"to bottom",Up:"to top"}},function(e,t,n){n=n(112)();e.exports=n;try{regeneratorRuntime=n}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=n:Function("r","regeneratorRuntime = r")(n)}},function(e,t,n){function r(a){return({dispatch:n,getState:r})=>t=>e=>"function"==typeof e?e(n,r,a):t(e)}n.d(t,"a",function(){return a}),n.d(t,"b",function(){return o});var a=r(),o=r},function(e,o,i){!function(e){var t=i(40),n="object"==typeof exports&&exports&&!exports.nodeType&&exports,r=n&&"object"==typeof e&&e&&!e.nodeType&&e,a=r&&r.exports===n&&t.a.process,e=(()=>{try{var e=r&&r.require&&r.require("util").types;return e?e:a&&a.binding&&a.binding("util")}catch(e){}})();o.a=e}.call(this,i(60)(e))},function(e,a,o){!function(e){var t=void 0!==e&&e||"undefined"!=typeof self&&self||window,n=Function.prototype.apply;function r(e,t){this._id=e,this._clearFn=t}a.setTimeout=function(){return new r(n.call(setTimeout,t,arguments),clearTimeout)},a.setInterval=function(){return new r(n.call(setInterval,t,arguments),clearInterval)},a.clearTimeout=a.clearInterval=function(e){e&&e.close()},r.prototype.unref=r.prototype.ref=function(){},r.prototype.close=function(){this._clearFn.call(t,this._id)},a.enroll=function(e,t){clearTimeout(e._idleTimeoutId),e._idleTimeout=t},a.unenroll=function(e){clearTimeout(e._idleTimeoutId),e._idleTimeout=-1},a._unrefActive=a.active=function(e){clearTimeout(e._idleTimeoutId);var t=e._idleTimeout;0<=t&&(e._idleTimeoutId=setTimeout(function(){e._onTimeout&&e._onTimeout()},t))},o(104),a.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==e&&e.setImmediate||this&&this.setImmediate,a.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==e&&e.clearImmediate||this&&this.clearImmediate}.call(this,o(23))},function(t,e,n){!function(e){e="object"==typeof e&&e&&e.Object===Object&&e;t.exports=e}.call(this,n(23))},function(e,t,n){var r=n(121),a=n(27);e.exports=function(e,t){return e&&r(e,t,a)}},function(e,t,n){var s=n(123),f=n(69),d=n(14),p=n(45),h=n(70),m=n(71),g=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n,r=d(e),a=!r&&f(e),o=!r&&!a&&p(e),i=!r&&!a&&!o&&m(e),l=r||a||o||i,c=l?s(e.length,String):[],u=c.length;for(n in e)!t&&!g.call(e,n)||l&&("length"==n||o&&("offset"==n||"parent"==n)||i&&("buffer"==n||"byteLength"==n||"byteOffset"==n)||h(n,u))||c.push(n);return c}},function(e,t,n){var r=n(124),a=n(15),n=Object.prototype,o=n.hasOwnProperty,i=n.propertyIsEnumerable,n=r(function(){return arguments}())?r:function(e){return a(e)&&o.call(e,"callee")&&!i.call(e,"callee")};e.exports=n},function(e,t){var r=/^(?:0|[1-9]\d*)$/;e.exports=function(e,t){var n=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==n||"symbol"!=n&&r.test(e))&&-1<e&&e%1==0&&e<t}},function(e,t,n){var r=n(126),a=n(48),n=n(49),n=n&&n.isTypedArray,a=n?a(n):r;e.exports=a},function(e,t){e.exports=function(t,n){return function(e){return t(n(e))}}},function(e,t,n){var r=n(20),a=n(17);e.exports=function(e){return!!a(e)&&("[object Function]"==(e=r(e))||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e)}},function(e,t){e.exports=function(e){return e}},function(e,t){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,a=Array(r);++n<r;)a[n]=t(e[n],n,e);return a}},function(e,t){var n=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return n.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},function(e,t,n){var i=n(161),l=n(15);e.exports=function e(t,n,r,a,o){return t===n||(null==t||null==n||!l(t)&&!l(n)?t!=t&&n!=n:i(t,n,r,a,e,o))}},function(e,t,n){var g=n(162),v=n(165),b=n(166);e.exports=function(e,t,n,r,a,o){var i=1&n,l=e.length,c=t.length;if(l!=c&&!(i&&l<c))return!1;var c=o.get(e),u=o.get(t);if(c&&u)return c==t&&u==e;var s=-1,f=!0,d=2&n?new g:void 0;for(o.set(e,t),o.set(t,e);++s<l;){var p,h=e[s],m=t[s];if(void 0!==(p=r?i?r(m,h,s,t,e,o):r(h,m,s,e,t,o):p)){if(p)continue;f=!1;break}if(d){if(!v(t,function(e,t){if(!b(d,t)&&(h===e||a(h,e,n,r,o)))return d.push(t)})){f=!1;break}}else if(h!==m&&!a(h,m,n,r,o)){f=!1;break}}return o.delete(e),o.delete(t),f}},function(e,t,n){n=n(13).Uint8Array;e.exports=n},function(e,t,n){var r=n(81),a=n(56),o=n(27);e.exports=function(e){return r(e,o,a)}},function(e,t,n){var r=n(82),a=n(14);e.exports=function(e,t,n){return t=t(e),a(e)?t:r(t,n(e))}},function(e,t){e.exports=function(e,t){for(var n=-1,r=t.length,a=e.length;++n<r;)e[a+n]=t[n];return e}},function(e,t){e.exports=function(){return[]}},function(e,t,n){var r=n(17);e.exports=function(e){return e==e&&!r(e)}},function(e,t){e.exports=function(t,n){return function(e){return null!=e&&e[t]===n&&(void 0!==n||t in Object(e))}}},function(e,t,n){var a=n(87),o=n(36);e.exports=function(e,t){for(var n=0,r=(t=a(t,e)).length;null!=e&&n<r;)e=e[o(t[n++])];return n&&n==r?e:void 0}},function(e,t,n){var r=n(14),a=n(57),o=n(179),i=n(182);e.exports=function(e,t){return r(e)?e:a(e,t)?[e]:o(i(e))}},function(e,t,n){var a=n(89),o=n(53),i=Object.prototype.hasOwnProperty;e.exports=function(e,t,n){var r=e[t];i.call(e,t)&&o(r,n)&&(void 0!==n||t in e)||a(e,t,n)}},function(e,t,n){var r=n(197);e.exports=function(e,t,n){"__proto__"==t&&r?r(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}},function(e,t,n){var r=n(82),a=n(51),o=n(56),n=n(83),i=Object.getOwnPropertySymbols;e.exports=i?function(e){for(var t=[];e;)r(t,o(e)),e=a(e);return t}:n},function(e,c,t){var v=this&&this.__spreadArray||function(e,t,n){if(n||2===arguments.length)for(var r,a=0,o=t.length;a<o;a++)!r&&a in t||((r=r||Array.prototype.slice.call(t,0,a))[a]=t[a]);return e.concat(r||Array.prototype.slice.call(t))},r=(Object.defineProperty(c,"__esModule",{value:!0}),c.isIOS=c.useThumbOverlap=c.assertUnreachable=c.voidFn=c.getTrackBackground=c.replaceAt=c.schd=c.translate=c.getClosestThumbIndex=c.translateThumbs=c.getPaddingAndBorder=c.getMargin=c.checkInitialOverlap=c.checkValuesAgainstBoundaries=c.checkBoundaries=c.isVertical=c.relativeValue=c.normalizeValue=c.isStepDivisible=c.isTouchEvent=c.getStepDecimals=void 0,t(0)),i=t(61);function l(e){return e===i.Direction.Up||e===i.Direction.Down}function a(e,t,n){e.style.transform="translate(".concat(t,"px, ").concat(n,"px)")}c.getStepDecimals=function(e){e=e.toString().split(".")[1];return e?e.length:0},c.isTouchEvent=function(e){return e.touches&&e.touches.length||e.changedTouches&&e.changedTouches.length},c.isStepDivisible=function(e,t,n){return t=Number(((t-e)/n).toFixed(8)),parseInt(t.toString(),10)===t},c.normalizeValue=function(e,t,n,r,a,o,i){var l=1e11;if(e=Math.round(e*l)/l,!o){var o=i[t-1],i=i[t+1];if(o&&e<o)return o;if(i&&i<e)return i}return r<e?r:e<n?n:(t=Math.floor(e*l-n*l)%Math.floor(a*l),o=Math.floor(e*l-Math.abs(t)),i=0==t?e:o/l,r=Math.abs(t/l)<a/2?i:i+a,n=(0,c.getStepDecimals)(a),parseFloat(r.toFixed(n)))},c.relativeValue=function(e,t,n){return(e-t)/(n-t)},c.isVertical=l,c.checkBoundaries=function(e,t,n){if(n<=t)throw new RangeError("min (".concat(t,") is equal/bigger than max (").concat(n,")"));if(e<t)throw new RangeError("value (".concat(e,") is smaller than min (").concat(t,")"));if(n<e)throw new RangeError("value (".concat(e,") is bigger than max (").concat(n,")"))},c.checkValuesAgainstBoundaries=function(e,t,n){return e<t?t:n<e?n:e},c.checkInitialOverlap=function(n){if(!(n.length<2||n.slice(1).every(function(e,t){return n[t]<=e})))throw new RangeError("values={[".concat(n,"]} needs to be sorted when allowOverlap={false}"))},c.getMargin=function(e){return e=window.getComputedStyle(e),{top:parseInt(e["margin-top"],10),bottom:parseInt(e["margin-bottom"],10),left:parseInt(e["margin-left"],10),right:parseInt(e["margin-right"],10)}},c.getPaddingAndBorder=function(e){return e=window.getComputedStyle(e),{top:parseInt(e["padding-top"],10)+parseInt(e["border-top-width"],10),bottom:parseInt(e["padding-bottom"],10)+parseInt(e["border-bottom-width"],10),left:parseInt(e["padding-left"],10)+parseInt(e["border-left-width"],10),right:parseInt(e["padding-right"],10)+parseInt(e["border-right-width"],10)}},c.translateThumbs=function(e,n,t){var r=t?-1:1;e.forEach(function(e,t){return a(e,r*n[t].x,n[t].y)})},c.getClosestThumbIndex=function(e,t,n,r){for(var a=0,o=u(e[0],t,n,r),i=1;i<e.length;i++){var l=u(e[i],t,n,r);l<o&&(o=l,a=i)}return a},c.translate=a;c.schd=function(n){var r,a=null;return function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];r=e,a=a||requestAnimationFrame(function(){a=null,n.apply(void 0,r)})}},c.replaceAt=function(e,t,n){return(e=e.slice(0))[t]=n,e},c.getTrackBackground=function(e){var t=e.values,r=e.colors,n=e.min,a=e.max,o=void 0===(o=e.direction)?i.Direction.Right:o;return(e=void 0!==(e=e.rtl)&&e)&&o===i.Direction.Right?o=i.Direction.Left:e&&i.Direction.Left&&(o=i.Direction.Right),e=t.slice(0).sort(function(e,t){return e-t}).map(function(e){return(e-n)/(a-n)*100}).reduce(function(e,t,n){return"".concat(e,", ").concat(r[n]," ").concat(t,"%, ").concat(r[n+1]," ").concat(t,"%")},""),"linear-gradient(".concat(o,", ").concat(r[0]," 0%").concat(e,", ").concat(r[r.length-1]," 100%)")},c.voidFn=function(){},c.assertUnreachable=function(e){throw new Error("Didn't expect to get here")};var p=function(e,r,a,o,i){return void 0===i&&(i=function(e){return e}),Math.ceil(v([e],Array.from(e.children),!0).reduce(function(e,t){var n=Math.ceil(t.getBoundingClientRect().width);return t.innerText&&t.innerText.includes(a)&&0===t.childElementCount&&((t=t.cloneNode(!0)).innerHTML=i(r.toFixed(o)),t.style.visibility="hidden",document.body.appendChild(t),n=Math.ceil(t.getBoundingClientRect().width),document.body.removeChild(t)),e<n?n:e},e.getBoundingClientRect().width))},b=function(e,t,i,l,c,u,s){void 0===s&&(s=function(e){return e});function f(r){var a=p(i[r],l[r],c,u,s),o=t[r].x;t.forEach(function(e,t){var e=e.x,n=p(i[t],l[t],c,u,s);r!==t&&(e<=o&&o<=e+n||e<=o+a&&o+a<=e+n)&&!d.includes(t)&&(d.push(r),d.push(t),d=v(v([],d,!0),[r,t],!1),f(t))})}var d=[];return f(e),Array.from(new Set(d.sort()))};function u(e,t,n,r){var e=e.getBoundingClientRect(),a=e.left,o=e.width;return l(r)?Math.abs(n-(e.top+e.height/2)):Math.abs(t-(a+o/2))}c.useThumbOverlap=function(u,s,f,e,d,p){void 0===d&&(d=" - "),void 0===p&&(p=function(e){return e});var h=(0,c.getStepDecimals)(e=void 0===e?.1:e),e=(0,r.useState)({}),t=e[0],m=e[1],e=(0,r.useState)(p(s[f].toFixed(h))),n=e[0],g=e[1];return(0,r.useEffect)(function(){var e,a,t,n,r,o,i,l,c;!u||(c=u.getThumbs()).length<1||(e={},a=u.getOffsets(),t=b(f,a,c,s,d,h,p),n=p(s[f].toFixed(h)),t.length&&(r=t.reduce(function(e,t,n,r){return e.length?v(v([],e,!0),[a[r[n]].x],!1):[a[r[n]].x]},[]),Math.min.apply(Math,r)===a[f].x?(o=[],t.forEach(function(e){o.push(s[e].toFixed(h))}),n=Array.from(new Set(o.sort(function(e,t){return parseFloat(e)-parseFloat(t)}))).map(p).join(d),i=Math.min.apply(Math,r),l=Math.max.apply(Math,r),c=c[t[r.indexOf(l)]].getBoundingClientRect().width,e.left="".concat(Math.abs(i-(l+c))/2,"px"),e.transform="translate(-50%, 0)"):e.visibility="hidden"),g(n),m(e))},[u,s]),[n,t]};c.isIOS=function(){var e=(null==(e=navigator.userAgentData)?void 0:e.platform)||navigator.platform;return["iPad Simulator","iPhone Simulator","iPod Simulator","iPad","iPhone","iPod"].includes(e)||navigator.userAgent.includes("Mac")&&"ontouchend"in document}},function(e,t,n){n=n(24);t.createRoot=n.createRoot,t.hydrateRoot=n.hydrateRoot},function(e,t){function c(e,t,n,r,a,o,i){try{var l=e[o](i),c=l.value}catch(e){return n(e)}l.done?t(c):Promise.resolve(c).then(r,a)}e.exports=function(l){return function(){var e=this,i=arguments;return new Promise(function(t,n){var r=l.apply(e,i);function a(e){c(r,t,n,a,o,"next",e)}function o(e){c(r,t,n,a,o,"throw",e)}a(void 0)})}},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){t.a=function(){return!1}},function(e,a,o){!function(e){var t=o(10),n="object"==typeof exports&&exports&&!exports.nodeType&&exports,e=n&&"object"==typeof e&&e&&!e.nodeType&&e,e=e&&e.exports===n?t.a.Buffer:void 0,r=e?e.allocUnsafe:void 0;a.a=function(e,t){return t?e.slice():(t=e.length,t=r?r(t):new e.constructor(t),e.copy(t),t)}}.call(this,o(60)(e))},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n,r=arguments[t];for(n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},n=n(0),i=(n=n)&&n.__esModule?n:{default:n};t.default=function(e){var t=e.fill,t=void 0===t?"currentColor":t,n=e.width,n=void 0===n?24:n,r=e.height,r=void 0===r?24:r,a=e.style,a=void 0===a?{}:a,e=((e,t)=>{var n,r={};for(n in e)0<=t.indexOf(n)||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r})(e,["fill","width","height","style"]);return i.default.createElement("svg",o({viewBox:"0 0 24 24",style:o({fill:t,width:n,height:r},a)},e),i.default.createElement("path",{d:"M12,18.17L8.83,15L7.42,16.41L12,21L16.59,16.41L15.17,15M12,5.83L15.17,9L16.58,7.59L12,3L7.41,7.59L8.83,9L12,5.83Z"}))}},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n,r=arguments[t];for(n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},n=n(0),i=(n=n)&&n.__esModule?n:{default:n};t.default=function(e){var t=e.fill,t=void 0===t?"currentColor":t,n=e.width,n=void 0===n?24:n,r=e.height,r=void 0===r?24:r,a=e.style,a=void 0===a?{}:a,e=((e,t)=>{var n,r={};for(n in e)0<=t.indexOf(n)||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r})(e,["fill","width","height","style"]);return i.default.createElement("svg",o({viewBox:"0 0 24 24",style:o({fill:t,width:n,height:r},a)},e),i.default.createElement("path",{d:"M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"}))}},function(e,t,n){e.exports=n(225)},function(e,t,n){var b=n(17),y=n(226),E=n(227),w=Math.max,x=Math.min;e.exports=function(r,n,e){var a,o,i,l,c,u,s=0,f=!1,d=!1,t=!0;if("function"!=typeof r)throw new TypeError("Expected a function");function p(e){var t=a,n=o;return a=o=void 0,s=e,l=r.apply(n,t)}function h(e){var t=e-u;return void 0===u||n<=t||t<0||d&&i<=e-s}function m(){var e,t=y();if(h(t))return g(t);c=setTimeout(m,(e=n-((t=t)-u),d?x(e,i-(t-s)):e))}function g(e){return c=void 0,t&&a?p(e):(a=o=void 0,l)}function v(){var e=y(),t=h(e);if(a=arguments,o=this,u=e,t){if(void 0===c)return s=e=u,c=setTimeout(m,n),f?p(e):l;if(d)return clearTimeout(c),c=setTimeout(m,n),p(u)}return void 0===c&&(c=setTimeout(m,n)),l}return n=E(n)||0,b(e)&&(f=!!e.leading,d="maxWait"in e,i=d?w(E(e.maxWait)||0,n):i,t="trailing"in e?!!e.trailing:t),v.cancel=function(){void 0!==c&&clearTimeout(c),a=u=o=c=void(s=0)},v.flush=function(){return void 0===c?l:g(y())},v}},function(o,c,M){
     7r={}.hasOwnProperty,e.exports?e.exports=a.default=a:void 0!==(t=function(){return a}.apply(t,[]))&&(e.exports=t)},function(M,e,t){t.d(e,"a",function(){return q}),t.d(e,"b",function(){return f}),t.d(e,"c",function(){return d}),t.d(e,"d",function(){return Y});var N=Object.defineProperty,r=Object.getOwnPropertySymbols,B=Object.prototype.hasOwnProperty,V=Object.prototype.propertyIsEnumerable,a=(e,t,n)=>t in e?N(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,D=(e,t)=>{for(var n in t=t||{})B.call(t,n)&&a(e,n,t[n]);if(r)for(var n of r(t))V.call(t,n)&&a(e,n,t[n]);return e},l=Symbol.for("immer-nothing"),n=Symbol.for("immer-draftable"),c=Symbol.for("immer-state");function u(e){throw new Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var s=Object.getPrototypeOf;function f(e){return!!e&&!!e[c]}function d(e){var t;return!!e&&(p(e)||Array.isArray(e)||!!e[n]||!(null==(t=e.constructor)||!t[n])||v(e)||b(e))}var z=Object.prototype.constructor.toString();function p(e){return!(!e||"object"!=typeof e)&&(null===(e=s(e))||(e=Object.hasOwnProperty.call(e,"constructor")&&e.constructor)===Object||"function"==typeof e&&Function.toString.call(e)===z)}function h(n,r){0===o(n)?Reflect.ownKeys(n).forEach(e=>{r(e,n[e],n)}):n.forEach((e,t)=>r(t,e,n))}function o(e){var t=e[c];return t?t.type_:Array.isArray(e)?1:v(e)?2:b(e)?3:0}function m(e,t){return 2===o(e)?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function g(e,t,n){var r=o(e);2===r?e.set(t,n):3===r?e.add(n):e[t]=n}function v(e){return e instanceof Map}function b(e){return e instanceof Set}function i(e){return e.copy_||e.base_}function y(t,e){if(v(t))return new Map(t);if(b(t))return new Set(t);if(Array.isArray(t))return Array.prototype.slice.call(t);var n=p(t);if(!0===e||"class_only"===e&&!n){var r=Object.getOwnPropertyDescriptors(t),a=(delete r[c],Reflect.ownKeys(r));for(let e=0;e<a.length;e++){var o=a[e],i=r[o];!1===i.writable&&(i.writable=!0,i.configurable=!0),(i.get||i.set)&&(r[o]={configurable:!0,writable:!0,enumerable:i.enumerable,value:t[o]})}return Object.create(s(t),r)}return null!==(e=s(t))&&n?D({},t):(n=Object.create(e),Object.assign(n,t))}function E(e,t=!1){return w(e)||f(e)||!d(e)||(1<o(e)&&(e.set=e.add=e.clear=e.delete=X),Object.freeze(e),t&&Object.entries(e).forEach(([,e])=>E(e,!0))),e}function X(){u(2)}function w(e){return Object.isFrozen(e)}var x,H={};function C(e){e=H[e];return e||u(0),e}function _(e,t){t&&(C("Patches"),e.patches_=[],e.inversePatches_=[],e.patchListener_=t)}function P(e){k(e),e.drafts_.forEach(U),e.drafts_=null}function k(e){e===x&&(x=e.parent_)}function S(e){return x={drafts_:[],parent_:x,immer_:e,canAutoFreeze_:!0,unfinalizedDrafts_:0}}function U(e){e=e[c];0===e.type_||1===e.type_?e.revoke_():e.revoked_=!0}function W(e,t){t.unfinalizedDrafts_=t.drafts_.length;var n=t.drafts_[0];return void 0!==e&&e!==n?(n[c].modified_&&(P(t),u(4)),d(e)&&(e=R(t,e),t.parent_||I(t,e)),t.patches_&&C("Patches").generateReplacementPatches_(n[c].base_,e,t.patches_,t.inversePatches_)):e=R(t,n,[]),P(t),t.patches_&&t.patchListener_(t.patches_,t.inversePatches_),e!==l?e:void 0}function R(a,n,o){if(w(n))return n;let i=n[c];if(!i)return h(n,(e,t)=>Z(a,i,n,e,t,o)),n;if(i.scope_!==a)return n;if(!i.modified_)return I(a,i.base_,!0),i.base_;if(!i.finalized_){i.finalized_=!0,i.scope_.unfinalizedDrafts_--;let n=i.copy_,e=n,r=!1;3===i.type_&&(e=new Set(n),n.clear(),r=!0),h(e,(e,t)=>Z(a,i,n,e,t,o,r)),I(a,n,!1),o&&a.patches_&&C("Patches").generatePatches_(i,o,a.patches_,a.inversePatches_)}return i.copy_}function Z(e,t,n,r,a,o,i){if(f(a)){o=R(e,a,o&&t&&3!==t.type_&&!m(t.assigned_,r)?o.concat(r):void 0);if(g(n,r,o),!f(o))return;e.canAutoFreeze_=!1}else i&&n.add(a);!d(a)||w(a)||!e.immer_.autoFreeze_&&e.unfinalizedDrafts_<1||(R(e,a),t&&t.scope_.parent_)||"symbol"==typeof r||!Object.prototype.propertyIsEnumerable.call(n,r)||I(e,a)}function I(e,t,n=!1){!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&E(t,n)}var O={get(e,t){var n,r;return t===c?e:m(n=i(e),t)?(r=n[t],!e.finalized_&&d(r)&&r===A(e.base_,t)?(L(e),e.copy_[t]=T(r,e)):r):(r=e,(e=$(e=n,n=t))?"value"in e?e.value:null==(n=e.get)?void 0:n.call(r.draft_):void 0)},has(e,t){return t in i(e)},ownKeys(e){return Reflect.ownKeys(i(e))},set(e,t,n){var r=$(i(e),t);if(null!=r&&r.set)r.set.call(e.draft_,n);else{if(!e.modified_){var r=A(i(e),t),a=null==r?void 0:r[c];if(a&&a.base_===n)return e.copy_[t]=n,!(e.assigned_[t]=!1);if(((a=n)===(r=r)?0!==a||1/a==1/r:a!=a&&r!=r)&&(void 0!==n||m(e.base_,t)))return!0;L(e),j(e)}e.copy_[t]===n&&(void 0!==n||t in e.copy_)||Number.isNaN(n)&&Number.isNaN(e.copy_[t])||(e.copy_[t]=n,e.assigned_[t]=!0)}return!0},deleteProperty(e,t){return void 0!==A(e.base_,t)||t in e.base_?(e.assigned_[t]=!1,L(e),j(e)):delete e.assigned_[t],e.copy_&&delete e.copy_[t],!0},getOwnPropertyDescriptor(e,t){var n=i(e),r=Reflect.getOwnPropertyDescriptor(n,t);return r&&{writable:!0,configurable:1!==e.type_||"length"!==t,enumerable:r.enumerable,value:n[t]}},defineProperty(){u(11)},getPrototypeOf(e){return s(e.base_)},setPrototypeOf(){u(12)}},F={};function A(e,t){var n=e[c];return(n?i(n):e)[t]}function $(t,n){if(n in t){let e=s(t);for(;e;){var r=Object.getOwnPropertyDescriptor(e,n);if(r)return r;e=s(e)}}}function j(e){e.modified_||(e.modified_=!0,e.parent_&&j(e.parent_))}function L(e){e.copy_||(e.copy_=y(e.base_,e.scope_.immer_.useStrictShallowCopy_))}h(O,(e,t)=>{F[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}}),F.deleteProperty=function(e,t){return F.set.call(this,e,t,void 0)},F.set=function(e,t,n){return O.set.call(this,e[0],t,n,e[0])};function T(e,t){e=v(e)?C("MapSet").proxyMap_(e,t):b(e)?C("MapSet").proxySet_(e,t):((e,t)=>{var n=Array.isArray(e);let r=t={type_:n?1:0,scope_:t?t.scope_:x,modified_:!1,finalized_:!1,assigned_:{},parent_:t,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1},a=O;n&&(r=[t],a=F);var{revoke:e,proxy:n}=Proxy.revocable(r,a);return t.draft_=n,t.revoke_=e,n})(e,t);return(t?t.scope_:x).drafts_.push(e),e}function q(e){return f(e)||u(10),function n(e){if(!d(e)||w(e))return e;let t=e[c];let r;if(t){if(!t.modified_)return t.base_;t.finalized_=!0,r=y(e,t.scope_.immer_.useStrictShallowCopy_)}else r=y(e,!0);h(r,(e,t)=>{g(r,e,n(t))});t&&(t.finalized_=!1);return r}(e)}var t=new class{constructor(e){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.produce=(t,a,n)=>{if("function"==typeof t&&"function"!=typeof a){let n=a,r=(a=t,this);return function(e=n,...t){return r.produce(e,e=>a.call(this,e,...t))}}"function"!=typeof a&&u(6),void 0!==n&&"function"!=typeof n&&u(7);let r;if(d(t)){var o=S(this),i=T(t,void 0);let e=!0;try{r=a(i),e=!1}finally{(e?P:k)(o)}return _(o,n),W(r,o)}if(!t||"object"!=typeof t)return(r=void 0===(r=a(t))?t:r)===l&&(r=void 0),this.autoFreeze_&&E(r,!0),n&&(i=[],o=[],C("Patches").generateReplacementPatches_(t,r,i,o),n(i,o)),r;u(1)},this.produceWithPatches=(n,e)=>{if("function"==typeof n)return(e,...t)=>this.produceWithPatches(e,e=>n(e,...t));let r,a;return[this.produce(n,e,(e,t)=>{r=e,a=t}),r,a]},"boolean"==typeof(null==e?void 0:e.autoFreeze)&&this.setAutoFreeze(e.autoFreeze),"boolean"==typeof(null==e?void 0:e.useStrictShallowCopy)&&this.setUseStrictShallowCopy(e.useStrictShallowCopy)}createDraft(e){d(e)||u(8),f(e)&&(e=q(e));var t=S(this),e=T(e,void 0);return e[c].isManual_=!0,k(t),e}finishDraft(e,t){e=e&&e[c],e&&e.isManual_||u(9),e=e.scope_;return _(e,t),W(void 0,e)}setAutoFreeze(e){this.autoFreeze_=e}setUseStrictShallowCopy(e){this.useStrictShallowCopy_=e}applyPatches(e,t){let n;for(n=t.length-1;0<=n;n--){var r=t[n];if(0===r.path.length&&"replace"===r.op){e=r.value;break}}-1<n&&(t=t.slice(n+1));let a=C("Patches").applyPatches_;return f(e)?a(e,t):this.produce(e,e=>a(e,t))}},Y=t.produce;t.produceWithPatches.bind(t),t.setAutoFreeze.bind(t),t.setUseStrictShallowCopy.bind(t),t.applyPatches.bind(t),t.createDraft.bind(t),t.finishDraft.bind(t)},function(e,t,n){var n=n(40),r="object"==typeof self&&self&&self.Object===Object&&self,n=n.a||r||Function("return this")();t.a=n},function(e,t,n){function p(e){return`Minified Redux error #${e}; visit https://redux.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}n.d(t,"a",function(){return o}),n.d(t,"b",function(){return a}),n.d(t,"c",function(){return i}),n.d(t,"d",function(){return v}),n.d(t,"e",function(){return l}),n.d(t,"f",function(){return g});var h=(()=>"function"==typeof Symbol&&Symbol.observable||"@@observable")(),r=()=>Math.random().toString(36).substring(7).split("").join("."),m={INIT:"@@redux/INIT"+r(),REPLACE:"@@redux/REPLACE"+r(),PROBE_UNKNOWN_ACTION:()=>"@@redux/PROBE_UNKNOWN_ACTION"+r()};function g(e){if("object"!=typeof e||null===e)return!1;let t=e;for(;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t||null===Object.getPrototypeOf(e)}function v(e,t,n){if("function"!=typeof e)throw new Error(p(2));if("function"==typeof t&&"function"==typeof n||"function"==typeof n&&"function"==typeof arguments[3])throw new Error(p(0));if("function"==typeof t&&void 0===n&&(n=t,t=void 0),void 0!==n){if("function"!=typeof n)throw new Error(p(1));return n(v)(e,t)}let r=e,a=t,o=new Map,i=o,l=0,c=!1;function u(){i===o&&(i=new Map,o.forEach((e,t)=>{i.set(t,e)}))}function s(){if(c)throw new Error(p(3));return a}function f(e){if("function"!=typeof e)throw new Error(p(4));if(c)throw new Error(p(5));let t=!0,n=(u(),l++);return i.set(n,e),function(){if(t){if(c)throw new Error(p(6));t=!1,u(),i.delete(n),o=null}}}function d(e){if(!g(e))throw new Error(p(7));if(void 0===e.type)throw new Error(p(8));if("string"!=typeof e.type)throw new Error(p(17));if(c)throw new Error(p(9));try{c=!0,a=r(a,e)}finally{c=!1}o=i;return o.forEach(e=>{e()}),e}return d({type:m.INIT}),{dispatch:d,subscribe:f,getState:s,replaceReducer:function(e){if("function"!=typeof e)throw new Error(p(10));r=e,d({type:m.REPLACE})},[h]:function(){let n=f;return{subscribe(t){if("object"!=typeof t||null===t)throw new Error(p(11));function e(){var e=t;e.next&&e.next(s())}return e(),{unsubscribe:n(e)}},[h](){return this}}}}}function a(t){var n,r=Object.keys(t);let c={};for(let e=0;e<r.length;e++){var a=r[e];"function"==typeof t[a]&&(c[a]=t[a])}let u=Object.keys(c),s;try{n=c,Object.keys(n).forEach(e=>{e=n[e];if(void 0===e(void 0,{type:m.INIT}))throw new Error(p(12));if(void 0===e(void 0,{type:m.PROBE_UNKNOWN_ACTION()}))throw new Error(p(13))})}catch(e){s=e}return function(t={},n){if(s)throw s;let r=!1;var a={};for(let e=0;e<u.length;e++){var o=u[e],i=c[o],l=t[o],i=i(l,n);if(void 0===i)throw n&&n.type,new Error(p(14));a[o]=i,r=r||i!==l}return(r=r||u.length!==Object.keys(t).length)?a:t}}function i(...e){return 0===e.length?e=>e:1===e.length?e[0]:e.reduce((t,n)=>(...e)=>t(n(...e)))}function o(...o){return a=>(e,t)=>{e=a(e,t);let n=()=>{throw new Error(p(15))},r={getState:e.getState,dispatch:(e,...t)=>n(e,...t)};t=o.map(e=>e(r));return n=i(...t)(e.dispatch),{...e,dispatch:n}}}function l(e){return g(e)&&"type"in e&&"string"==typeof e.type}},function(e,A,j){!function(e){j.d(A,"a",function(){return c}),j.d(A,"b",function(){return R});var v=j(9),t=j(18),u=j(11),n=j(63),r=Object.defineProperty,a=Object.defineProperties,o=Object.getOwnPropertyDescriptors,b=Object.getOwnPropertySymbols,y=Object.prototype.hasOwnProperty,E=Object.prototype.propertyIsEnumerable,i=(e,t,n)=>t in e?r(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,w=(e,t)=>{for(var n in t=t||{})y.call(t,n)&&i(e,n,t[n]);if(b)for(var n of b(t))E.call(t,n)&&i(e,n,t[n]);return e},x=(e,t)=>a(e,o(t)),s=(t.b,"undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return"object"==typeof arguments[0]?u.c:u.c.apply(null,arguments)});function C(n,r){function e(...e){if(r){var t=r(...e);if(t)return w(w({type:n,payload:t.payload},"meta"in t&&{meta:t.meta}),"error"in t&&{error:t.error});throw new Error(O(0))}return{type:n,payload:e[0]}}return e.toString=()=>""+n,e.type=n,e.match=e=>Object(u.e)(e)&&e.type===n,e}var l=class F extends Array{constructor(...e){super(...e),Object.setPrototypeOf(this,F.prototype)}static get[Symbol.species](){return F}concat(...e){return super.concat.apply(this,e)}prepend(...e){return 1===e.length&&Array.isArray(e[0])?new F(...e[0].concat(this)):new F(...e.concat(this))}};function _(e){return Object(v.c)(e)?Object(v.d)(e,()=>{}):e}function P(t,n,r){if(t.has(n)){let e=t.get(n);return r.update&&(e=r.update(e,n,t),t.set(n,e)),e}if(r.insert)return r=r.insert(n,t),t.set(n,r),r;throw new Error(O(10))}var f=()=>function(e){var{thunk:e=!0}=null!=e?e:{},t=new l;return e&&("boolean"==typeof e?t.push(n.a):t.push(Object(n.b)(e.extraArgument))),t},d="RTK_autoBatch",p=t=>e=>{setTimeout(e,t)},h="undefined"!=typeof window&&window.requestAnimationFrame?window.requestAnimationFrame:p(10),m=n=>function(e){var u,{autoBatch:e=!0}=null!=e?e:{},t=new l(n);return e&&t.push(([u={type:"raf"}]=["object"==typeof e?e:void 0],t=>(...e)=>{let n=t(...e),r=!0,a=!1,o=!1,i=new Set,l="tick"===u.type?queueMicrotask:"raf"===u.type?h:"callback"===u.type?u.queueNotification:p(u.timeout),c=()=>{o=!1,a&&(a=!1,i.forEach(e=>e()))};return Object.assign({},n,{subscribe(e){let t=n.subscribe(()=>r&&e());return i.add(e),()=>{t(),i.delete(e)}},dispatch(e){var t;try{return r=!(null!=(t=null==e?void 0:e.meta)&&t[d]),(a=!r)&&!o&&(o=!0,l(c)),n.dispatch(e)}finally{r=!0}}})})),t};function c(e){var t=f(),{reducer:e=void 0,middleware:n,devTools:r=!0,preloadedState:a=void 0,enhancers:o=void 0}=e||{};let i;if("function"==typeof e)i=e;else{if(!Object(u.f)(e))throw new Error(O(1));i=Object(u.b)(e)}let l,c=(l="function"==typeof n?n(t):t(),u.c);r&&(c=s(w({trace:!1},"object"==typeof r&&r)));e=Object(u.a)(...l),n=m(e),t="function"==typeof o?o(n):n(),r=c(...t);return Object(u.d)(i,a,r)}function k(e){let n={},r=[],t,a={addCase(e,t){e="string"==typeof e?e:e.type;if(!e)throw new Error(O(28));if(e in n)throw new Error(O(29));return n[e]=t,a},addMatcher(e,t){return r.push({matcher:e,reducer:t}),a},addDefaultCase(e){return t=e,a}};return e(a),[n,r,t]}var S=Symbol.for("rtk-slice-createasyncthunk");function g({creators:e}={}){let t,g=null==(t=null==e?void 0:e.asyncThunk)?void 0:t[S];return function(f){let{name:s,reducerPath:r=s}=f;if(!s)throw new Error(O(11));let d=("function"==typeof f.reducers?f.reducers((e.withTypes=()=>e,{reducer(t){return Object.assign({[t.name](...e){return t(...e)}}[t.name],{_reducerDefinitionType:"reducer"})},preparedReducer(e,t){return{_reducerDefinitionType:"reducerWithPrepare",prepare:e,reducer:t}},asyncThunk:e})):f.reducers)||{};function e(e,t){return w({_reducerDefinitionType:"asyncThunk",payloadCreator:e},t)}var t=Object.keys(d);let p={sliceCaseReducersByName:{},sliceCaseReducersByType:{},actionCreators:{},sliceMatchers:[]},h={addCase(e,t){e="string"==typeof e?e:e.type;if(!e)throw new Error(O(12));if(e in p.sliceCaseReducersByType)throw new Error(O(13));return p.sliceCaseReducersByType[e]=t,h},addMatcher(e,t){return p.sliceMatchers.push({matcher:e,reducer:t}),h},exposeAction(e,t){return p.actionCreators[e]=t,h},exposeCaseReducer(e,t){return p.sliceCaseReducersByName[e]=t,h}};function n(){let[e={},l=[],c=void 0]="function"==typeof f.extraReducers?k(f.extraReducers):[f.extraReducers],u=w(w({},e),p.sliceCaseReducersByType);{var t=f.initialState,r;let[n,a,o]=k(e=>{for(var t in u)e.addCase(t,u[t]);for(var n of p.sliceMatchers)e.addMatcher(n.matcher,n.reducer);for(var r of l)e.addMatcher(r.matcher,r.reducer);c&&e.addDefaultCase(c)}),i;if("function"==typeof t)i=()=>_(t());else{let e=_(t);i=()=>e}function s(e=i(),r){let t=[n[r.type],...a.filter(({matcher:e})=>e(r)).map(({reducer:e})=>e)];return(t=0===t.filter(e=>!!e).length?[o]:t).reduce((e,t)=>{if(t){if(Object(v.b)(e))return void 0===(n=t(e,r))?e:n;if(Object(v.c)(e))return Object(v.d)(e,e=>t(e,r));var n=t(e,r);if(void 0!==n)return n;if(null===e)return e;throw Error("A case reducer on a non-draftable value must not return undefined")}return e},e)}return s.getInitialState=i,s}}t.forEach(n=>{var r=d[n],n={reducerName:n,type:s+"/"+n,createNotation:"function"==typeof f.reducers};if("asyncThunk"!==r._reducerDefinitionType){var[{type:a,reducerName:o,createNotation:i},l,c]=[n,r,h];let e,t;if("reducer"in l){if(i&&"reducerWithPrepare"!==l._reducerDefinitionType)throw new Error(O(17));e=l.reducer,t=l.prepare}else e=l;c.addCase(a,e).exposeCaseReducer(o,e).exposeAction(o,t?C(a,t):C(a))}else{var[{type:i,reducerName:l},c,o,a]=[n,r,h,g];if(!a)throw new Error(O(18));var{payloadCreator:c,fulfilled:n,pending:r,rejected:e,settled:t,options:u}=c,a=a(i,c,u);o.exposeAction(l,a),n&&o.addCase(a.fulfilled,n),r&&o.addCase(a.pending,r),e&&o.addCase(a.rejected,e),t&&o.addMatcher(a.settled,t),o.exposeCaseReducer(l,{fulfilled:n||I,pending:r||I,rejected:e||I,settled:t||I})}});let i=e=>e,l=new Map,a;function o(e,t){return(a=a||n())(e,t)}function c(){return(a=a||n()).getInitialState()}function u(n,o=!1){function e(e){let t=e[n];return t=void 0===t&&o?c():t}function t(a=i){var e=P(l,o,{insert:()=>new WeakMap});return P(e,a,{insert:()=>{var e,t,n,r={};for([t,n]of Object.entries(null!=(e=f.selectors)?e:{}))r[t]=((r,a,o,i)=>{function e(e,...t){let n=a(e);return void 0===n&&i&&(n=o()),r(n,...t)}return e.unwrapped=r,e})(n,a,c,o);return r}})}return{reducerPath:n,getSelectors:t,get selectors(){return t(e)},selectSlice:e}}let m=x(w({name:s,reducer:o,actions:p.actionCreators,caseReducers:p.sliceCaseReducersByName,getInitialState:c},u(r)),{injectInto(e,t={}){var n=t.reducerPath,t=((e,t)=>{var n={};for(r in e)y.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&b)for(var r of b(e))t.indexOf(r)<0&&E.call(e,r)&&(n[r]=e[r]);return n})(t,["reducerPath"]),n=null!=n?n:r;return e.inject({reducerPath:n,reducer:o},t),w(w({},m),u(n,!0))}});return m}}var R=g();function I(){}v.b;var{}=Object;Symbol.for("rtk-state-proxy-original");function O(e){return`Minified Redux Toolkit error #${e}; visit https://redux-toolkit.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}}.call(this,j(42))},function(e,t,n){var n=n(66),r="object"==typeof self&&self&&self.Object===Object&&self,n=n||r||Function("return this")();e.exports=n},function(e,t){var n=Array.isArray;e.exports=n},function(e,t){e.exports=function(e){return null!=e&&"object"==typeof e}},,function(e,t){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},function(e,t,n){n.d(t,"a",function(){return s}),n.d(t,"b",function(){return E});var r=Object.defineProperty,a=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable,l=(e,t,n)=>t in e?r(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,p=(e,t)=>{for(var n in t=t||{})o.call(t,n)&&l(e,n,t[n]);if(a)for(var n of a(t))i.call(t,n)&&l(e,n,t[n]);return e};function h(e,t="expected a function, instead received "+typeof e){if("function"!=typeof e)throw new TypeError(t)}function c(e,t="expected an object, instead received "+typeof e){if("object"!=typeof e)throw new TypeError(t)}var m=e=>Array.isArray(e)?e:[e];function g(e){var e=Array.isArray(e[0])?e[0]:e,t=e,n="createSelector expects all input-selectors to be functions, but received the following types: ";if(t.every(e=>"function"==typeof e))return e;throw t=t.map(e=>"function"==typeof e?`function ${e.name||"unnamed"}()`:typeof e).join(", "),new TypeError(n+`[${t}]`)}Symbol(),Object.getPrototypeOf({});var v="undefined"!=typeof WeakRef?WeakRef:class{constructor(e){this.value=e}deref(){return this.value}},u=0,b=1;function y(){return{s:u,v:void 0,o:null,p:null}}function E(c,e={}){let u=y(),s=e.resultEqualityCheck,f,d=0;function t(){let e,t,n=u;var r=arguments.length;for(let e=0,t=r;e<t;e++){var a=arguments[e];if("function"==typeof a||"object"==typeof a&&null!==a){let e=n.o;null===e&&(n.o=e=new WeakMap);var o=e.get(a);void 0===o?(n=y(),e.set(a,n)):n=o}else{let e=n.p;null===e&&(n.p=e=new Map);o=e.get(a);void 0===o?(n=y(),e.set(a,n)):n=o}}var i,r=n;let l;return n.s===b?l=n.v:(l=c.apply(null,arguments),d++,s&&(null!=(i=null!=(t=null==(e=null==f?void 0:f.deref)?void 0:e.call(f))?t:f)&&s(i,l)&&(l=i,0!==d)&&d--,i="object"==typeof l&&null!==l||"function"==typeof l,f=i?new v(l):l)),r.s=b,r.v=l}return t.clearCache=()=>{u=y(),t.resetResultsCount()},t.resultsCount=()=>d,t.resetResultsCount=()=>{d=0},t}function s(e,...t){let d="function"==typeof e?{memoize:e,memoizeOptions:t}:e,n=(...e)=>{let t=0,n=0,r,a={},o=e.pop();"object"==typeof o&&(a=o,o=e.pop()),h(o,`createSelector expects an output function after the inputs, but received: [${typeof o}]`);var{memoize:i,memoizeOptions:l=[],argsMemoize:c=E,argsMemoizeOptions:u=[]}=p(p({},d),a),l=m(l),u=m(u);let s=g(e),f=i(function(){return t++,o.apply(null,arguments)},...l);e=c(function(){n++;var e=((t,n)=>{var r=[],a=t.length;for(let e=0;e<a;e++)r.push(t[e].apply(null,n));return r})(s,arguments);return r=f.apply(null,e)},...u);return Object.assign(e,{resultFunc:o,memoizedResultFunc:f,dependencies:s,dependencyRecomputations:()=>n,resetDependencyRecomputations:()=>{n=0},lastResult:()=>r,recomputations:()=>t,resetRecomputations:()=>{t=0},memoize:i,argsMemoize:c})};return Object.assign(n,{withTypes:()=>n}),n}var f=s(E),d=Object.assign((t,e=f)=>{c(t,"createStructuredSelector expects first argument to be an object where each property is a selector, instead received a "+typeof t);let r=Object.keys(t);return e(r.map(e=>t[e]),(...e)=>e.reduce((e,t,n)=>(e[r[n]]=t,e),{}))},{withTypes:()=>d})},function(e,t,n){!function(d){var p=n(2),h=n(7),m=n(39);function g(e){return p.a.isPlainObject(e)||p.a.isArray(e)}function v(e){return p.a.endsWith(e,"[]")?e.slice(0,-2):e}function b(e,t,n){return e?e.concat(t).map(function(e,t){return e=v(e),!n&&t?"["+e+"]":e}).join(n?".":""):t}let y=p.a.toFlatObject(p.a,{},null,function(e){return/^is[A-Z]/.test(e)});t.a=function(e,o,t){if(!p.a.isObject(e))throw new TypeError("target must be an object");o=o||new(m.a||FormData);let i=(t=p.a.toFlatObject(t,{metaTokens:!0,dots:!1,indexes:!1},!1,function(e,t){return!p.a.isUndefined(t[e])})).metaTokens,a=t.visitor||r,l=t.dots,c=t.indexes,n=(t.Blob||"undefined"!=typeof Blob&&Blob)&&p.a.isSpecCompliantForm(o);if(!p.a.isFunction(a))throw new TypeError("visitor must be a function");function u(e){if(null===e)return"";if(p.a.isDate(e))return e.toISOString();if(!n&&p.a.isBlob(e))throw new h.a("Blob is not supported. Use a Buffer instead.");return p.a.isArrayBuffer(e)||p.a.isTypedArray(e)?n&&"function"==typeof Blob?new Blob([e]):d.from(e):e}function r(e,n,t){let r=e;if(e&&!t&&"object"==typeof e)if(p.a.endsWith(n,"{}"))n=i?n:n.slice(0,-2),e=JSON.stringify(e);else if(p.a.isArray(e)&&(a=e,p.a.isArray(a))&&!a.some(g)||(p.a.isFileList(e)||p.a.endsWith(n,"[]"))&&(r=p.a.toArray(e)))return n=v(n),r.forEach(function(e,t){p.a.isUndefined(e)||null===e||o.append(!0===c?b([n],t,l):null===c?n:n+"[]",u(e))}),!1;var a;return!!g(e)||(o.append(b(t,n,l),u(e)),!1)}let s=[],f=Object.assign(y,{defaultVisitor:r,convertValue:u,isVisitable:g});if(p.a.isObject(e))return function n(e,r){if(!p.a.isUndefined(e)){if(-1!==s.indexOf(e))throw Error("Circular reference detected in "+r.join("."));s.push(e),p.a.forEach(e,function(e,t){!0===(!(p.a.isUndefined(e)||null===e)&&a.call(o,e,p.a.isString(t)?t.trim():t,r,f))&&n(e,r?r.concat(t):[t])}),s.pop()}}(e),o;throw new TypeError("data must be an object")}}.call(this,n(113).Buffer)},function(e,t,n){var r=n(25),a=n(119),o=n(120),i=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":(i&&i in Object(e)?a:o)(e)}},function(e,t,n){var r=n(145),a=n(148);e.exports=function(e,t){return e=a(e,t),r(e)?e:void 0}},function(e,a,o){!function(e){var t=o(10),n=o(94),r="object"==typeof exports&&exports&&!exports.nodeType&&exports,e=r&&"object"==typeof e&&e&&!e.nodeType&&e,e=e&&e.exports===r?t.a.Buffer:void 0,r=(e?e.isBuffer:void 0)||n.a;a.a=r}.call(this,o(60)(e))},function(e,t){var n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}},r=(Object.defineProperty(t,"__esModule",{value:!0}),t.checkValuesAgainstBoundaries=t.relativeValue=t.useThumbOverlap=t.Direction=t.getTrackBackground=t.Range=void 0,r(n(230))),a=(t.Range=r.default,n(91)),o=(Object.defineProperty(t,"getTrackBackground",{enumerable:!0,get:function(){return a.getTrackBackground}}),Object.defineProperty(t,"useThumbOverlap",{enumerable:!0,get:function(){return a.useThumbOverlap}}),Object.defineProperty(t,"relativeValue",{enumerable:!0,get:function(){return a.relativeValue}}),Object.defineProperty(t,"checkValuesAgainstBoundaries",{enumerable:!0,get:function(){return a.checkValuesAgainstBoundaries}}),n(61));Object.defineProperty(t,"Direction",{enumerable:!0,get:function(){return o.Direction}})},function(e,t,n){n=n(13).Symbol;e.exports=n},function(e,t,n){var r=n(68),a=n(127),o=n(29);e.exports=function(e){return(o(e)?r:a)(e)}},function(e,t,n){!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),e.exports=n(100)},function(e,t,n){e.exports=(()=>{function c(e){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var u=/^\s+/,s=/\s+$/;function f(e,t){var n;return t=t||{},(e=e||"")instanceof f?e:this instanceof f?(n=(e=>{var t={r:0,g:0,b:0},n=1,r=null,a=null,o=null,i=!1,l=!1;return"string"==typeof e&&(e=(e=>{e=e.replace(u,"").replace(s,"").toLowerCase();var t,n=!1;if(E[e])e=E[e],n=!0;else if("transparent"==e)return{r:0,g:0,b:0,a:0,format:"name"};return(t=O.rgb.exec(e))?{r:t[1],g:t[2],b:t[3]}:(t=O.rgba.exec(e))?{r:t[1],g:t[2],b:t[3],a:t[4]}:(t=O.hsl.exec(e))?{h:t[1],s:t[2],l:t[3]}:(t=O.hsla.exec(e))?{h:t[1],s:t[2],l:t[3],a:t[4]}:(t=O.hsv.exec(e))?{h:t[1],s:t[2],v:t[3]}:(t=O.hsva.exec(e))?{h:t[1],s:t[2],v:t[3],a:t[4]}:(t=O.hex8.exec(e))?{r:P(t[1]),g:P(t[2]),b:P(t[3]),a:I(t[4]),format:n?"name":"hex8"}:(t=O.hex6.exec(e))?{r:P(t[1]),g:P(t[2]),b:P(t[3]),format:n?"name":"hex"}:(t=O.hex4.exec(e))?{r:P(t[1]+""+t[1]),g:P(t[2]+""+t[2]),b:P(t[3]+""+t[3]),a:I(t[4]+""+t[4]),format:n?"name":"hex8"}:!!(t=O.hex3.exec(e))&&{r:P(t[1]+""+t[1]),g:P(t[2]+""+t[2]),b:P(t[3]+""+t[3]),format:n?"name":"hex"}})(e)),n=x(n="object"==c(e)&&(F(e.r)&&F(e.g)&&F(e.b)?(t=((e,t,n)=>({r:255*C(e,255),g:255*C(t,255),b:255*C(n,255)}))(e.r,e.g,e.b),i=!0,l="%"===String(e.r).substr(-1)?"prgb":"rgb"):F(e.h)&&F(e.s)&&F(e.v)?(r=S(e.s),a=S(e.v),t=((e,t,n)=>{e=6*C(e,360),t=C(t,100),n=C(n,100);var r=Math.floor(e),a=n*(1-t),o=n*(1-(e=e-r)*t);return{r:255*[n,o,a,a,e=n*(1-(1-e)*t),n][t=r%6],g:255*[e,n,n,o,a,a][t],b:255*[a,a,e,n,n,o][t]}})(e.h,r,a),i=!0,l="hsv"):F(e.h)&&F(e.s)&&F(e.l)&&(r=S(e.s),o=S(e.l),t=((e,t,n)=>{var r,a,o;function i(e,t,n){return n<0&&(n+=1),1<n&&--n,n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}return e=C(e,360),t=C(t,100),n=C(n,100),0===t?r=a=o=n:(r=i(t=2*n-(n=n<.5?n*(1+t):n+t-n*t),n,e+1/3),a=i(t,n,e),o=i(t,n,e-1/3)),{r:255*r,g:255*a,b:255*o}})(e.h,r,o),i=!0,l="hsl"),e.hasOwnProperty("a"))?e.a:n),{ok:i,format:e.format||l,r:Math.min(255,Math.max(t.r,0)),g:Math.min(255,Math.max(t.g,0)),b:Math.min(255,Math.max(t.b,0)),a:n}})(e),this._originalInput=e,this._r=n.r,this._g=n.g,this._b=n.b,this._a=n.a,this._roundA=Math.round(100*this._a)/100,this._format=t.format||n.format,this._gradientType=t.gradientType,this._r<1&&(this._r=Math.round(this._r)),this._g<1&&(this._g=Math.round(this._g)),this._b<1&&(this._b=Math.round(this._b)),void(this._ok=n.ok)):new f(e,t)}function r(e,t,n){e=C(e,255),t=C(t,255),n=C(n,255);var r,a=Math.max(e,t,n),o=Math.min(e,t,n),i=(a+o)/2;if(a==o)r=c=0;else{var l=a-o,c=.5<i?l/(2-a-o):l/(a+o);switch(a){case e:r=(t-n)/l+(t<n?6:0);break;case t:r=(n-e)/l+2;break;case n:r=(e-t)/l+4}r/=6}return{h:r,s:c,l:i}}function a(e,t,n){e=C(e,255),t=C(t,255),n=C(n,255);var r,a=Math.max(e,t,n),o=Math.min(e,t,n),i=a,l=a-o,c=0===a?0:l/a;if(a==o)r=0;else{switch(a){case e:r=(t-n)/l+(t<n?6:0);break;case t:r=(n-e)/l+2;break;case n:r=(e-t)/l+4}r/=6}return{h:r,s:c,v:i}}function t(e,t,n,r){e=[k(Math.round(e).toString(16)),k(Math.round(t).toString(16)),k(Math.round(n).toString(16))];return r&&e[0].charAt(0)==e[0].charAt(1)&&e[1].charAt(0)==e[1].charAt(1)&&e[2].charAt(0)==e[2].charAt(1)?e[0].charAt(0)+e[1].charAt(0)+e[2].charAt(0):e.join("")}function o(e,t,n,r){return[k(R(r)),k(Math.round(e).toString(16)),k(Math.round(t).toString(16)),k(Math.round(n).toString(16))].join("")}function e(e,t){t=0===t?0:t||10;e=f(e).toHsl();return e.s-=t/100,e.s=_(e.s),f(e)}function n(e,t){t=0===t?0:t||10;e=f(e).toHsl();return e.s+=t/100,e.s=_(e.s),f(e)}function i(e){return f(e).desaturate(100)}function l(e,t){t=0===t?0:t||10;e=f(e).toHsl();return e.l+=t/100,e.l=_(e.l),f(e)}function d(e,t){t=0===t?0:t||10;e=f(e).toRgb();return e.r=Math.max(0,Math.min(255,e.r-Math.round(-t/100*255))),e.g=Math.max(0,Math.min(255,e.g-Math.round(-t/100*255))),e.b=Math.max(0,Math.min(255,e.b-Math.round(-t/100*255))),f(e)}function p(e,t){t=0===t?0:t||10;e=f(e).toHsl();return e.l-=t/100,e.l=_(e.l),f(e)}function h(e,t){e=f(e).toHsl(),t=(e.h+t)%360;return e.h=t<0?360+t:t,f(e)}function m(e){e=f(e).toHsl();return e.h=(e.h+180)%360,f(e)}function g(e,t){if(isNaN(t)||t<=0)throw new Error("Argument to polyad must be a positive number");for(var n=f(e).toHsl(),r=[f(e)],a=360/t,o=1;o<t;o++)r.push(f({h:(n.h+o*a)%360,s:n.s,l:n.l}));return r}function v(e){var t=f(e).toHsl(),n=t.h;return[f(e),f({h:(n+72)%360,s:t.s,l:t.l}),f({h:(n+216)%360,s:t.s,l:t.l})]}function b(e,t,n){t=t||6,n=n||30;var r=f(e).toHsl(),a=360/n,o=[f(e)];for(r.h=(r.h-(a*t>>1)+720)%360;--t;)r.h=(r.h+a)%360,o.push(f(r));return o}function y(e,t){t=t||6;for(var e=f(e).toHsv(),n=e.h,r=e.s,a=e.v,o=[],i=1/t;t--;)o.push(f({h:n,s:r,v:a})),a=(a+i)%1;return o}f.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},getLuminance:function(){var e=this.toRgb(),t=e.r/255,n=e.g/255,e=e.b/255,t=t<=.03928?t/12.92:Math.pow((.055+t)/1.055,2.4),n=n<=.03928?n/12.92:Math.pow((.055+n)/1.055,2.4),e=e<=.03928?e/12.92:Math.pow((.055+e)/1.055,2.4);return.2126*t+.7152*n+.0722*e},setAlpha:function(e){return this._a=x(e),this._roundA=Math.round(100*this._a)/100,this},toHsv:function(){var e=a(this._r,this._g,this._b);return{h:360*e.h,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=a(this._r,this._g,this._b),t=Math.round(360*e.h),n=Math.round(100*e.s),e=Math.round(100*e.v);return 1==this._a?"hsv("+t+", "+n+"%, "+e+"%)":"hsva("+t+", "+n+"%, "+e+"%, "+this._roundA+")"},toHsl:function(){var e=r(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=r(this._r,this._g,this._b),t=Math.round(360*e.h),n=Math.round(100*e.s),e=Math.round(100*e.l);return 1==this._a?"hsl("+t+", "+n+"%, "+e+"%)":"hsla("+t+", "+n+"%, "+e+"%, "+this._roundA+")"},toHex:function(e){return t(this._r,this._g,this._b,e)},toHexString:function(e){return"#"+this.toHex(e)},toHex8:function(e){return t=this._r,n=this._g,r=this._b,a=this._a,e=e,t=[k(Math.round(t).toString(16)),k(Math.round(n).toString(16)),k(Math.round(r).toString(16)),k(R(a))],e&&t[0].charAt(0)==t[0].charAt(1)&&t[1].charAt(0)==t[1].charAt(1)&&t[2].charAt(0)==t[2].charAt(1)&&t[3].charAt(0)==t[3].charAt(1)?t[0].charAt(0)+t[1].charAt(0)+t[2].charAt(0)+t[3].charAt(0):t.join("");var t,n,r,a},toHex8String:function(e){return"#"+this.toHex8(e)},toRgb:function(){return{r:Math.round(this._r),g:Math.round(this._g),b:Math.round(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+")":"rgba("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:Math.round(100*C(this._r,255))+"%",g:Math.round(100*C(this._g,255))+"%",b:Math.round(100*C(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+Math.round(100*C(this._r,255))+"%, "+Math.round(100*C(this._g,255))+"%, "+Math.round(100*C(this._b,255))+"%)":"rgba("+Math.round(100*C(this._r,255))+"%, "+Math.round(100*C(this._g,255))+"%, "+Math.round(100*C(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&w[t(this._r,this._g,this._b,!0)]||!1},toFilter:function(e){var t="#"+o(this._r,this._g,this._b,this._a),n=t;return"progid:DXImageTransform.Microsoft.gradient("+(this._gradientType?"GradientType = 1, ":"")+"startColorstr="+t+",endColorstr="+(n=e?"#"+o((t=f(e))._r,t._g,t._b,t._a):n)+")"},toString:function(e){var t=!!e,n=(e=e||this._format,!1),r=this._a<1&&0<=this._a;return t||!r||"hex"!==e&&"hex6"!==e&&"hex3"!==e&&"hex4"!==e&&"hex8"!==e&&"name"!==e?("rgb"===e&&(n=this.toRgbString()),"prgb"===e&&(n=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(n=this.toHexString()),"hex3"===e&&(n=this.toHexString(!0)),"hex4"===e&&(n=this.toHex8String(!0)),"hex8"===e&&(n=this.toHex8String()),"name"===e&&(n=this.toName()),"hsl"===e&&(n=this.toHslString()),(n="hsv"===e?this.toHsvString():n)||this.toHexString()):"name"===e&&0===this._a?this.toName():this.toRgbString()},clone:function(){return f(this.toString())},_applyModification:function(e,t){e=e.apply(null,[this].concat([].slice.call(t)));return this._r=e._r,this._g=e._g,this._b=e._b,this.setAlpha(e._a),this},lighten:function(){return this._applyModification(l,arguments)},brighten:function(){return this._applyModification(d,arguments)},darken:function(){return this._applyModification(p,arguments)},desaturate:function(){return this._applyModification(e,arguments)},saturate:function(){return this._applyModification(n,arguments)},greyscale:function(){return this._applyModification(i,arguments)},spin:function(){return this._applyModification(h,arguments)},_applyCombination:function(e,t){return e.apply(null,[this].concat([].slice.call(t)))},analogous:function(){return this._applyCombination(b,arguments)},complement:function(){return this._applyCombination(m,arguments)},monochromatic:function(){return this._applyCombination(y,arguments)},splitcomplement:function(){return this._applyCombination(v,arguments)},triad:function(){return this._applyCombination(g,[3])},tetrad:function(){return this._applyCombination(g,[4])}},f.fromRatio=function(e,t){if("object"==c(e)){var n,r={};for(n in e)e.hasOwnProperty(n)&&(r[n]="a"===n?e[n]:S(e[n]));e=r}return f(e,t)},f.equals=function(e,t){return!(!e||!t)&&f(e).toRgbString()==f(t).toRgbString()},f.random=function(){return f.fromRatio({r:Math.random(),g:Math.random(),b:Math.random()})},f.mix=function(e,t,n){n=0===n?0:n||50;e=f(e).toRgb(),t=f(t).toRgb(),n/=100;return f({r:(t.r-e.r)*n+e.r,g:(t.g-e.g)*n+e.g,b:(t.b-e.b)*n+e.b,a:(t.a-e.a)*n+e.a})},f.readability=function(e,t){e=f(e),t=f(t);return(Math.max(e.getLuminance(),t.getLuminance())+.05)/(Math.min(e.getLuminance(),t.getLuminance())+.05)},f.isReadable=function(e,t,n){var r=f.readability(e,t),a=!1,e=(e=>{var t;return t=((e=e||{level:"AA",size:"small"}).level||"AA").toUpperCase(),e=(e.size||"small").toLowerCase(),{level:t="AA"!==t&&"AAA"!==t?"AA":t,size:e="small"!==e&&"large"!==e?"small":e}})(n);switch(e.level+e.size){case"AAsmall":case"AAAlarge":a=4.5<=r;break;case"AAlarge":a=3<=r;break;case"AAAsmall":a=7<=r}return a},f.mostReadable=function(e,t,n){for(var r,a=null,o=0,i=(n=n||{}).includeFallbackColors,l=n.level,c=n.size,u=0;u<t.length;u++)o<(r=f.readability(e,t[u]))&&(o=r,a=f(t[u]));return f.isReadable(e,a,{level:l,size:c})||!i?a:(n.includeFallbackColors=!1,f.mostReadable(e,["#fff","#000"],n))};var E=f.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},w=f.hexNames=(e=>{var t,n={};for(t in e)e.hasOwnProperty(t)&&(n[e[t]]=t);return n})(E);function x(e){return e=parseFloat(e),e=isNaN(e)||e<0||1<e?1:e}function C(e,t){"string"==typeof(n=e)&&-1!=n.indexOf(".")&&1===parseFloat(n)&&(e="100%");var n="string"==typeof(n=e)&&-1!=n.indexOf("%");return e=Math.min(t,Math.max(0,parseFloat(e))),n&&(e=parseInt(e*t,10)/100),Math.abs(e-t)<1e-6?1:e%t/parseFloat(t)}function _(e){return Math.min(1,Math.max(0,e))}function P(e){return parseInt(e,16)}function k(e){return 1==e.length?"0"+e:""+e}function S(e){return e=e<=1?100*e+"%":e}function R(e){return Math.round(255*parseFloat(e)).toString(16)}function I(e){return P(e)/255}var O=(()=>{var e="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)",t="[\\s|\\(]+("+e+")[,|\\s]+("+e+")[,|\\s]+("+e+")\\s*\\)?",n="[\\s|\\(]+("+e+")[,|\\s]+("+e+")[,|\\s]+("+e+")[,|\\s]+("+e+")\\s*\\)?";return{CSS_UNIT:new RegExp(e),rgb:new RegExp("rgb"+t),rgba:new RegExp("rgba"+n),hsl:new RegExp("hsl"+t),hsla:new RegExp("hsla"+n),hsv:new RegExp("hsv"+t),hsva:new RegExp("hsva"+n),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/}})();function F(e){return O.CSS_UNIT.exec(e)}return f})()},function(e,t,n){var r=n(73),a=n(47);e.exports=function(e){return null!=e&&a(e.length)&&!r(e)}},function(e,t,n){var r=n(135),a=n(136),o=n(137),i=n(138),n=n(139);function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}l.prototype.clear=r,l.prototype.delete=a,l.prototype.get=o,l.prototype.has=i,l.prototype.set=n,e.exports=l},function(e,t,n){var r=n(53);e.exports=function(e,t){for(var n=e.length;n--;)if(r(e[n][0],t))return n;return-1}},function(e,t,n){n=n(21)(Object,"create");e.exports=n},function(e,t,n){var r=n(157);e.exports=function(e,t){return e=e.__data__,r(t)?e["string"==typeof t?"string":"hash"]:e.map}},function(e,t,n){var r=n(172),a=n(54),o=n(173),i=n(174),l=n(175),c=n(20),u=n(76),s="[object Map]",f="[object Promise]",d="[object Set]",p="[object WeakMap]",h="[object DataView]",m=u(r),g=u(a),v=u(o),b=u(i),y=u(l),n=c;(r&&n(new r(new ArrayBuffer(1)))!=h||a&&n(new a)!=s||o&&n(o.resolve())!=f||i&&n(new i)!=d||l&&n(new l)!=p)&&(n=function(e){var t=c(e),e="[object Object]"==t?e.constructor:void 0,e=e?u(e):"";if(e)switch(e){case m:return h;case g:return s;case v:return f;case b:return d;case y:return p}return t}),e.exports=n},function(e,t,n){var r=n(20),a=n(15);e.exports=function(e){return"symbol"==typeof e||a(e)&&"[object Symbol]"==r(e)}},function(e,t,n){var r=n(35);e.exports=function(e){var t;return"string"==typeof e||r(e)?e:"0"==(t=e+"")&&1/e==-1/0?"-0":t}},function(e,t,n){var u=n(88),s=n(89);e.exports=function(e,t,n,r){for(var a=!n,o=(n=n||{},-1),i=t.length;++o<i;){var l=t[o],c=r?r(n[l],e[l],l,n,e):void 0;void 0===c&&(c=e[l]),(a?s:u)(n,l,c)}return n}},function(e,t,n){function r(e,t){return function(){return e.apply(t,arguments)}}n.d(t,"a",function(){return r})},function(e,t,n){t.a=null},function(e,t,n){!function(e){e="object"==typeof e&&e&&e.Object===Object&&e;t.a=e}.call(this,n(23))},function(e,t){function n(){return e.exports=n=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n,r=arguments[t];for(n in r)!{}.hasOwnProperty.call(r,n)||(e[n]=r[n])}return e},e.exports.__esModule=!0,e.exports.default=e.exports,n.apply(null,arguments)}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){var n,r,e=e.exports={};function a(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}try{n="function"==typeof setTimeout?setTimeout:a}catch(e){n=a}try{r="function"==typeof clearTimeout?clearTimeout:o}catch(e){r=o}function i(t){if(n===setTimeout)return setTimeout(t,0);if((n===a||!n)&&setTimeout)return(n=setTimeout)(t,0);try{return n(t,0)}catch(e){try{return n.call(null,t,0)}catch(e){return n.call(this,t,0)}}}var l,c=[],u=!1,s=-1;function f(){u&&l&&(u=!1,l.length?c=l.concat(c):s=-1,c.length)&&d()}function d(){if(!u){for(var e=i(f),t=(u=!0,c.length);t;){for(l=c,c=[];++s<t;)l&&l[s].run();s=-1,t=c.length}l=null,u=!1,!function(t){if(r===clearTimeout)return clearTimeout(t);if((r===o||!r)&&clearTimeout)return(r=clearTimeout)(t);try{r(t)}catch(e){try{return r.call(null,t)}catch(e){return r.call(this,t)}}}(e)}}function p(e,t){this.fun=e,this.array=t}function h(){}e.nextTick=function(e){var t=new Array(arguments.length-1);if(1<arguments.length)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];c.push(new p(e,t)),1!==c.length||u||i(d)},p.prototype.run=function(){this.fun.apply(null,this.array)},e.title="browser",e.browser=!0,e.env={},e.argv=[],e.version="",e.versions={},e.on=h,e.addListener=h,e.once=h,e.off=h,e.removeListener=h,e.removeAllListeners=h,e.emit=h,e.prependListener=h,e.prependOnceListener=h,e.listeners=function(e){return[]},e.binding=function(e){throw new Error("process.binding is not supported")},e.cwd=function(){return"/"},e.chdir=function(e){throw new Error("process.chdir is not supported")},e.umask=function(){return 0}},function(t,e){function n(e){return t.exports=n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},t.exports.__esModule=!0,t.exports.default=t.exports,n(e)}t.exports=n,t.exports.__esModule=!0,t.exports.default=t.exports},function(e,t,n){var r=n(67),a=n(129);e.exports=function(e,t){return e&&r(e,a(t))}},function(e,o,i){!function(e){var t=i(13),n=i(125),r=o&&!o.nodeType&&o,a=r&&"object"==typeof e&&e&&!e.nodeType&&e,a=a&&a.exports===r?t.Buffer:void 0,r=a?a.isBuffer:void 0;e.exports=r||n}.call(this,i(46)(e))},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t){e.exports=function(e){return"number"==typeof e&&-1<e&&e%1==0&&e<=9007199254740991}},function(e,t){e.exports=function(t){return function(e){return t(e)}}},function(e,o,i){!function(e){var t=i(66),n=o&&!o.nodeType&&o,r=n&&"object"==typeof e&&e&&!e.nodeType&&e,a=r&&r.exports===n&&t.process,n=(()=>{try{var e=r&&r.require&&r.require("util").types;return e?e:a&&a.binding&&a.binding("util")}catch(e){}})();e.exports=n}.call(this,i(46)(e))},function(e,t){var n=Object.prototype;e.exports=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||n)}},function(e,t,n){n=n(72)(Object.getPrototypeOf,Object);e.exports=n},function(e,t,n){var r=n(30),a=n(140),o=n(141),i=n(142),l=n(143),n=n(144);function c(e){e=this.__data__=new r(e);this.size=e.size}c.prototype.clear=a,c.prototype.delete=o,c.prototype.get=i,c.prototype.has=l,c.prototype.set=n,e.exports=c},function(e,t){e.exports=function(e,t){return e===t||e!=e&&t!=t}},function(e,t,n){n=n(21)(n(13),"Map");e.exports=n},function(e,t,n){var r=n(149),a=n(156),o=n(158),i=n(159),n=n(160);function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}l.prototype.clear=r,l.prototype.delete=a,l.prototype.get=o,l.prototype.has=i,l.prototype.set=n,e.exports=l},function(e,t,n){var r=n(171),n=n(83),a=Object.prototype.propertyIsEnumerable,o=Object.getOwnPropertySymbols;e.exports=o?function(t){return null==t?[]:(t=Object(t),r(o(t),function(e){return a.call(t,e)}))}:n},function(e,t,n){var r=n(14),a=n(35),o=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,i=/^\w*$/;e.exports=function(e,t){var n;return!r(e)&&(!("number"!=(n=typeof e)&&"symbol"!=n&&"boolean"!=n&&null!=e&&!a(e))||i.test(e)||!o.test(e)||null!=t&&e in Object(t))}},function(e,t,n){var r=n(68),a=n(200),o=n(29);e.exports=function(e){return o(e)?r(e,!0):a(e)}},function(e,t,n){var r=n(79);e.exports=function(e){var t=new e.constructor(e.byteLength);return new r(t).set(new r(e)),t}},function(e,t){e.exports=function(e){var t;return e.webpackPolyfill||((t=Object.create(e)).children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),Object.defineProperty(t,"exports",{enumerable:!0}),t.webpackPolyfill=1),t}},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.Direction=void 0,t.Direction={Right:"to right",Left:"to left",Down:"to bottom",Up:"to top"}},function(e,t,n){n=n(112)();e.exports=n;try{regeneratorRuntime=n}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=n:Function("r","regeneratorRuntime = r")(n)}},function(e,t,n){function r(a){return({dispatch:n,getState:r})=>t=>e=>"function"==typeof e?e(n,r,a):t(e)}n.d(t,"a",function(){return a}),n.d(t,"b",function(){return o});var a=r(),o=r},function(e,o,i){!function(e){var t=i(40),n="object"==typeof exports&&exports&&!exports.nodeType&&exports,r=n&&"object"==typeof e&&e&&!e.nodeType&&e,a=r&&r.exports===n&&t.a.process,e=(()=>{try{var e=r&&r.require&&r.require("util").types;return e?e:a&&a.binding&&a.binding("util")}catch(e){}})();o.a=e}.call(this,i(60)(e))},function(e,a,o){!function(e){var t=void 0!==e&&e||"undefined"!=typeof self&&self||window,n=Function.prototype.apply;function r(e,t){this._id=e,this._clearFn=t}a.setTimeout=function(){return new r(n.call(setTimeout,t,arguments),clearTimeout)},a.setInterval=function(){return new r(n.call(setInterval,t,arguments),clearInterval)},a.clearTimeout=a.clearInterval=function(e){e&&e.close()},r.prototype.unref=r.prototype.ref=function(){},r.prototype.close=function(){this._clearFn.call(t,this._id)},a.enroll=function(e,t){clearTimeout(e._idleTimeoutId),e._idleTimeout=t},a.unenroll=function(e){clearTimeout(e._idleTimeoutId),e._idleTimeout=-1},a._unrefActive=a.active=function(e){clearTimeout(e._idleTimeoutId);var t=e._idleTimeout;0<=t&&(e._idleTimeoutId=setTimeout(function(){e._onTimeout&&e._onTimeout()},t))},o(104),a.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==e&&e.setImmediate||this&&this.setImmediate,a.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==e&&e.clearImmediate||this&&this.clearImmediate}.call(this,o(23))},function(t,e,n){!function(e){e="object"==typeof e&&e&&e.Object===Object&&e;t.exports=e}.call(this,n(23))},function(e,t,n){var r=n(121),a=n(26);e.exports=function(e,t){return e&&r(e,t,a)}},function(e,t,n){var s=n(123),f=n(69),d=n(14),p=n(45),h=n(70),m=n(71),g=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n,r=d(e),a=!r&&f(e),o=!r&&!a&&p(e),i=!r&&!a&&!o&&m(e),l=r||a||o||i,c=l?s(e.length,String):[],u=c.length;for(n in e)!t&&!g.call(e,n)||l&&("length"==n||o&&("offset"==n||"parent"==n)||i&&("buffer"==n||"byteLength"==n||"byteOffset"==n)||h(n,u))||c.push(n);return c}},function(e,t,n){var r=n(124),a=n(15),n=Object.prototype,o=n.hasOwnProperty,i=n.propertyIsEnumerable,n=r(function(){return arguments}())?r:function(e){return a(e)&&o.call(e,"callee")&&!i.call(e,"callee")};e.exports=n},function(e,t){var r=/^(?:0|[1-9]\d*)$/;e.exports=function(e,t){var n=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==n||"symbol"!=n&&r.test(e))&&-1<e&&e%1==0&&e<t}},function(e,t,n){var r=n(126),a=n(48),n=n(49),n=n&&n.isTypedArray,a=n?a(n):r;e.exports=a},function(e,t){e.exports=function(t,n){return function(e){return t(n(e))}}},function(e,t,n){var r=n(20),a=n(17);e.exports=function(e){return!!a(e)&&("[object Function]"==(e=r(e))||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e)}},function(e,t){e.exports=function(e){return e}},function(e,t){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,a=Array(r);++n<r;)a[n]=t(e[n],n,e);return a}},function(e,t){var n=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return n.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},function(e,t,n){var i=n(161),l=n(15);e.exports=function e(t,n,r,a,o){return t===n||(null==t||null==n||!l(t)&&!l(n)?t!=t&&n!=n:i(t,n,r,a,e,o))}},function(e,t,n){var g=n(162),v=n(165),b=n(166);e.exports=function(e,t,n,r,a,o){var i=1&n,l=e.length,c=t.length;if(l!=c&&!(i&&l<c))return!1;var c=o.get(e),u=o.get(t);if(c&&u)return c==t&&u==e;var s=-1,f=!0,d=2&n?new g:void 0;for(o.set(e,t),o.set(t,e);++s<l;){var p,h=e[s],m=t[s];if(void 0!==(p=r?i?r(m,h,s,t,e,o):r(h,m,s,e,t,o):p)){if(p)continue;f=!1;break}if(d){if(!v(t,function(e,t){if(!b(d,t)&&(h===e||a(h,e,n,r,o)))return d.push(t)})){f=!1;break}}else if(h!==m&&!a(h,m,n,r,o)){f=!1;break}}return o.delete(e),o.delete(t),f}},function(e,t,n){n=n(13).Uint8Array;e.exports=n},function(e,t,n){var r=n(81),a=n(56),o=n(26);e.exports=function(e){return r(e,o,a)}},function(e,t,n){var r=n(82),a=n(14);e.exports=function(e,t,n){return t=t(e),a(e)?t:r(t,n(e))}},function(e,t){e.exports=function(e,t){for(var n=-1,r=t.length,a=e.length;++n<r;)e[a+n]=t[n];return e}},function(e,t){e.exports=function(){return[]}},function(e,t,n){var r=n(17);e.exports=function(e){return e==e&&!r(e)}},function(e,t){e.exports=function(t,n){return function(e){return null!=e&&e[t]===n&&(void 0!==n||t in Object(e))}}},function(e,t,n){var a=n(87),o=n(36);e.exports=function(e,t){for(var n=0,r=(t=a(t,e)).length;null!=e&&n<r;)e=e[o(t[n++])];return n&&n==r?e:void 0}},function(e,t,n){var r=n(14),a=n(57),o=n(179),i=n(182);e.exports=function(e,t){return r(e)?e:a(e,t)?[e]:o(i(e))}},function(e,t,n){var a=n(89),o=n(53),i=Object.prototype.hasOwnProperty;e.exports=function(e,t,n){var r=e[t];i.call(e,t)&&o(r,n)&&(void 0!==n||t in e)||a(e,t,n)}},function(e,t,n){var r=n(197);e.exports=function(e,t,n){"__proto__"==t&&r?r(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}},function(e,t,n){var r=n(82),a=n(51),o=n(56),n=n(83),i=Object.getOwnPropertySymbols;e.exports=i?function(e){for(var t=[];e;)r(t,o(e)),e=a(e);return t}:n},function(e,c,t){var v=this&&this.__spreadArray||function(e,t,n){if(n||2===arguments.length)for(var r,a=0,o=t.length;a<o;a++)!r&&a in t||((r=r||Array.prototype.slice.call(t,0,a))[a]=t[a]);return e.concat(r||Array.prototype.slice.call(t))},r=(Object.defineProperty(c,"__esModule",{value:!0}),c.isIOS=c.useThumbOverlap=c.assertUnreachable=c.voidFn=c.getTrackBackground=c.replaceAt=c.schd=c.translate=c.getClosestThumbIndex=c.translateThumbs=c.getPaddingAndBorder=c.getMargin=c.checkInitialOverlap=c.checkValuesAgainstBoundaries=c.checkBoundaries=c.isVertical=c.relativeValue=c.normalizeValue=c.isStepDivisible=c.isTouchEvent=c.getStepDecimals=void 0,t(0)),i=t(61);function l(e){return e===i.Direction.Up||e===i.Direction.Down}function a(e,t,n){e.style.transform="translate(".concat(t,"px, ").concat(n,"px)")}c.getStepDecimals=function(e){e=e.toString().split(".")[1];return e?e.length:0},c.isTouchEvent=function(e){return e.touches&&e.touches.length||e.changedTouches&&e.changedTouches.length},c.isStepDivisible=function(e,t,n){return t=Number(((t-e)/n).toFixed(8)),parseInt(t.toString(),10)===t},c.normalizeValue=function(e,t,n,r,a,o,i){var l=1e11;if(e=Math.round(e*l)/l,!o){var o=i[t-1],i=i[t+1];if(o&&e<o)return o;if(i&&i<e)return i}return r<e?r:e<n?n:(t=Math.floor(e*l-n*l)%Math.floor(a*l),o=Math.floor(e*l-Math.abs(t)),i=0==t?e:o/l,r=Math.abs(t/l)<a/2?i:i+a,n=(0,c.getStepDecimals)(a),parseFloat(r.toFixed(n)))},c.relativeValue=function(e,t,n){return(e-t)/(n-t)},c.isVertical=l,c.checkBoundaries=function(e,t,n){if(n<=t)throw new RangeError("min (".concat(t,") is equal/bigger than max (").concat(n,")"));if(e<t)throw new RangeError("value (".concat(e,") is smaller than min (").concat(t,")"));if(n<e)throw new RangeError("value (".concat(e,") is bigger than max (").concat(n,")"))},c.checkValuesAgainstBoundaries=function(e,t,n){return e<t?t:n<e?n:e},c.checkInitialOverlap=function(n){if(!(n.length<2||n.slice(1).every(function(e,t){return n[t]<=e})))throw new RangeError("values={[".concat(n,"]} needs to be sorted when allowOverlap={false}"))},c.getMargin=function(e){return e=window.getComputedStyle(e),{top:parseInt(e["margin-top"],10),bottom:parseInt(e["margin-bottom"],10),left:parseInt(e["margin-left"],10),right:parseInt(e["margin-right"],10)}},c.getPaddingAndBorder=function(e){return e=window.getComputedStyle(e),{top:parseInt(e["padding-top"],10)+parseInt(e["border-top-width"],10),bottom:parseInt(e["padding-bottom"],10)+parseInt(e["border-bottom-width"],10),left:parseInt(e["padding-left"],10)+parseInt(e["border-left-width"],10),right:parseInt(e["padding-right"],10)+parseInt(e["border-right-width"],10)}},c.translateThumbs=function(e,n,t){var r=t?-1:1;e.forEach(function(e,t){return a(e,r*n[t].x,n[t].y)})},c.getClosestThumbIndex=function(e,t,n,r){for(var a=0,o=u(e[0],t,n,r),i=1;i<e.length;i++){var l=u(e[i],t,n,r);l<o&&(o=l,a=i)}return a},c.translate=a;c.schd=function(n){var r,a=null;return function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];r=e,a=a||requestAnimationFrame(function(){a=null,n.apply(void 0,r)})}},c.replaceAt=function(e,t,n){return(e=e.slice(0))[t]=n,e},c.getTrackBackground=function(e){var t=e.values,r=e.colors,n=e.min,a=e.max,o=void 0===(o=e.direction)?i.Direction.Right:o;return(e=void 0!==(e=e.rtl)&&e)&&o===i.Direction.Right?o=i.Direction.Left:e&&i.Direction.Left&&(o=i.Direction.Right),e=t.slice(0).sort(function(e,t){return e-t}).map(function(e){return(e-n)/(a-n)*100}).reduce(function(e,t,n){return"".concat(e,", ").concat(r[n]," ").concat(t,"%, ").concat(r[n+1]," ").concat(t,"%")},""),"linear-gradient(".concat(o,", ").concat(r[0]," 0%").concat(e,", ").concat(r[r.length-1]," 100%)")},c.voidFn=function(){},c.assertUnreachable=function(e){throw new Error("Didn't expect to get here")};var p=function(e,r,a,o,i){return void 0===i&&(i=function(e){return e}),Math.ceil(v([e],Array.from(e.children),!0).reduce(function(e,t){var n=Math.ceil(t.getBoundingClientRect().width);return t.innerText&&t.innerText.includes(a)&&0===t.childElementCount&&((t=t.cloneNode(!0)).innerHTML=i(r.toFixed(o)),t.style.visibility="hidden",document.body.appendChild(t),n=Math.ceil(t.getBoundingClientRect().width),document.body.removeChild(t)),e<n?n:e},e.getBoundingClientRect().width))},b=function(e,t,i,l,c,u,s){void 0===s&&(s=function(e){return e});function f(r){var a=p(i[r],l[r],c,u,s),o=t[r].x;t.forEach(function(e,t){var e=e.x,n=p(i[t],l[t],c,u,s);r!==t&&(e<=o&&o<=e+n||e<=o+a&&o+a<=e+n)&&!d.includes(t)&&(d.push(r),d.push(t),d=v(v([],d,!0),[r,t],!1),f(t))})}var d=[];return f(e),Array.from(new Set(d.sort()))};function u(e,t,n,r){var e=e.getBoundingClientRect(),a=e.left,o=e.width;return l(r)?Math.abs(n-(e.top+e.height/2)):Math.abs(t-(a+o/2))}c.useThumbOverlap=function(u,s,f,e,d,p){void 0===d&&(d=" - "),void 0===p&&(p=function(e){return e});var h=(0,c.getStepDecimals)(e=void 0===e?.1:e),e=(0,r.useState)({}),t=e[0],m=e[1],e=(0,r.useState)(p(s[f].toFixed(h))),n=e[0],g=e[1];return(0,r.useEffect)(function(){var e,a,t,n,r,o,i,l,c;!u||(c=u.getThumbs()).length<1||(e={},a=u.getOffsets(),t=b(f,a,c,s,d,h,p),n=p(s[f].toFixed(h)),t.length&&(r=t.reduce(function(e,t,n,r){return e.length?v(v([],e,!0),[a[r[n]].x],!1):[a[r[n]].x]},[]),Math.min.apply(Math,r)===a[f].x?(o=[],t.forEach(function(e){o.push(s[e].toFixed(h))}),n=Array.from(new Set(o.sort(function(e,t){return parseFloat(e)-parseFloat(t)}))).map(p).join(d),i=Math.min.apply(Math,r),l=Math.max.apply(Math,r),c=c[t[r.indexOf(l)]].getBoundingClientRect().width,e.left="".concat(Math.abs(i-(l+c))/2,"px"),e.transform="translate(-50%, 0)"):e.visibility="hidden"),g(n),m(e))},[u,s]),[n,t]};c.isIOS=function(){var e=(null==(e=navigator.userAgentData)?void 0:e.platform)||navigator.platform;return["iPad Simulator","iPhone Simulator","iPod Simulator","iPad","iPhone","iPod"].includes(e)||navigator.userAgent.includes("Mac")&&"ontouchend"in document}},function(e,t,n){n=n(27);t.createRoot=n.createRoot,t.hydrateRoot=n.hydrateRoot},function(e,t){function c(e,t,n,r,a,o,i){try{var l=e[o](i),c=l.value}catch(e){return n(e)}l.done?t(c):Promise.resolve(c).then(r,a)}e.exports=function(l){return function(){var e=this,i=arguments;return new Promise(function(t,n){var r=l.apply(e,i);function a(e){c(r,t,n,a,o,"next",e)}function o(e){c(r,t,n,a,o,"throw",e)}a(void 0)})}},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){t.a=function(){return!1}},function(e,a,o){!function(e){var t=o(10),n="object"==typeof exports&&exports&&!exports.nodeType&&exports,e=n&&"object"==typeof e&&e&&!e.nodeType&&e,e=e&&e.exports===n?t.a.Buffer:void 0,r=e?e.allocUnsafe:void 0;a.a=function(e,t){return t?e.slice():(t=e.length,t=r?r(t):new e.constructor(t),e.copy(t),t)}}.call(this,o(60)(e))},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n,r=arguments[t];for(n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},n=n(0),i=(n=n)&&n.__esModule?n:{default:n};t.default=function(e){var t=e.fill,t=void 0===t?"currentColor":t,n=e.width,n=void 0===n?24:n,r=e.height,r=void 0===r?24:r,a=e.style,a=void 0===a?{}:a,e=((e,t)=>{var n,r={};for(n in e)0<=t.indexOf(n)||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r})(e,["fill","width","height","style"]);return i.default.createElement("svg",o({viewBox:"0 0 24 24",style:o({fill:t,width:n,height:r},a)},e),i.default.createElement("path",{d:"M12,18.17L8.83,15L7.42,16.41L12,21L16.59,16.41L15.17,15M12,5.83L15.17,9L16.58,7.59L12,3L7.41,7.59L8.83,9L12,5.83Z"}))}},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n,r=arguments[t];for(n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},n=n(0),i=(n=n)&&n.__esModule?n:{default:n};t.default=function(e){var t=e.fill,t=void 0===t?"currentColor":t,n=e.width,n=void 0===n?24:n,r=e.height,r=void 0===r?24:r,a=e.style,a=void 0===a?{}:a,e=((e,t)=>{var n,r={};for(n in e)0<=t.indexOf(n)||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r})(e,["fill","width","height","style"]);return i.default.createElement("svg",o({viewBox:"0 0 24 24",style:o({fill:t,width:n,height:r},a)},e),i.default.createElement("path",{d:"M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"}))}},function(e,t,n){e.exports=n(225)},function(e,t,n){var b=n(17),y=n(226),E=n(227),w=Math.max,x=Math.min;e.exports=function(r,n,e){var a,o,i,l,c,u,s=0,f=!1,d=!1,t=!0;if("function"!=typeof r)throw new TypeError("Expected a function");function p(e){var t=a,n=o;return a=o=void 0,s=e,l=r.apply(n,t)}function h(e){var t=e-u;return void 0===u||n<=t||t<0||d&&i<=e-s}function m(){var e,t=y();if(h(t))return g(t);c=setTimeout(m,(e=n-((t=t)-u),d?x(e,i-(t-s)):e))}function g(e){return c=void 0,t&&a?p(e):(a=o=void 0,l)}function v(){var e=y(),t=h(e);if(a=arguments,o=this,u=e,t){if(void 0===c)return s=e=u,c=setTimeout(m,n),f?p(e):l;if(d)return clearTimeout(c),c=setTimeout(m,n),p(u)}return void 0===c&&(c=setTimeout(m,n)),l}return n=E(n)||0,b(e)&&(f=!!e.leading,d="maxWait"in e,i=d?w(E(e.maxWait)||0,n):i,t="trailing"in e?!!e.trailing:t),v.cancel=function(){void 0!==c&&clearTimeout(c),a=u=o=c=void(s=0)},v.flush=function(){return void 0===c?l:g(y())},v}},function(o,c,M){
    88/**
    99 * @license React
     
    4545var _=j(114),o=j(115),l=j(116);function n(){return f.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function c(e,t){if(n()<t)throw new RangeError("Invalid typed array length");return f.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t)).__proto__=f.prototype:(e=null===e?new f(t):e).length=t,e}function f(e,t,n){if(!(f.TYPED_ARRAY_SUPPORT||this instanceof f))return new f(e,t,n);if("number"!=typeof e)return r(this,e,t,n);if("string"==typeof t)throw new Error("If encoding is specified then the first argument must be a string");return i(this,e)}function r(e,t,n,r){if("number"==typeof t)throw new TypeError('"value" argument must not be a number');if("undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer){var a=e,o=t,i=n;if(o.byteLength,i<0||o.byteLength<i)throw new RangeError("'offset' is out of bounds");if(o.byteLength<i+(r||0))throw new RangeError("'length' is out of bounds");return o=void 0===i&&void 0===r?new Uint8Array(o):void 0===r?new Uint8Array(o,i):new Uint8Array(o,i,r),f.TYPED_ARRAY_SUPPORT?(a=o).__proto__=f.prototype:a=u(a,o),a}if("string"!=typeof t){i=e,r=t;if(f.isBuffer(r))return o=0|s(r.length),0!==(i=c(i,o)).length&&r.copy(i,0,0,o),i;if(r){if("undefined"!=typeof ArrayBuffer&&r.buffer instanceof ArrayBuffer||"length"in r)return"number"!=typeof r.length||(e=>e!=e)(r.length)?c(i,0):u(i,r);if("Buffer"===r.type&&l(r.data))return u(i,r.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}a=e,r=t,e=n;if(f.isEncoding(e="string"==typeof e&&""!==e?e:"utf8"))return t=0|d(r,e),a=(r=(a=c(a,t)).write(r,e))!==t?a.slice(0,r):a;throw new TypeError('"encoding" must be a valid string encoding')}function a(e){if("number"!=typeof e)throw new TypeError('"size" argument must be a number');if(e<0)throw new RangeError('"size" argument must not be negative')}function i(e,t){if(a(t),e=c(e,t<0?0:0|s(t)),!f.TYPED_ARRAY_SUPPORT)for(var n=0;n<t;++n)e[n]=0;return e}function u(e,t){var n=t.length<0?0:0|s(t.length);e=c(e,n);for(var r=0;r<n;r+=1)e[r]=255&t[r];return e}function s(e){if(n()<=e)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+n().toString(16)+" bytes");return 0|e}function d(e,t){if(f.isBuffer(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;var n=(e="string"!=typeof e?""+e:e).length;if(0===n)return 0;for(var r=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return I(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return O(e).length;default:if(r)return I(e).length;t=(""+t).toLowerCase(),r=!0}}function t(e,t,n){var r,a=!1;if((t=void 0===t||t<0?0:t)>this.length)return"";if((n=void 0===n||n>this.length?this.length:n)<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e=e||"utf8";;)switch(e){case"hex":var o=this,i=t,l=n,c=o.length;(!l||l<0||c<l)&&(l=c);for(var u="",s=i=!i||i<0?0:i;s<l;++s)u+=(e=>e<16?"0"+e.toString(16):e.toString(16))(o[s]);return u;case"utf8":case"utf-8":return P(this,t,n);case"ascii":var f=this,c=t,d=n,p="";d=Math.min(f.length,d);for(var h=c;h<d;++h)p+=String.fromCharCode(127&f[h]);return p;case"latin1":case"binary":var m=this,i=t,g=n,v="";g=Math.min(m.length,g);for(var b=i;b<g;++b)v+=String.fromCharCode(m[b]);return v;case"base64":return y=this,r=n,0===(E=t)&&r===y.length?_.fromByteArray(y):_.fromByteArray(y.slice(E,r));case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":for(var y=t,E=n,w=this.slice(y,E),x="",C=0;C<w.length;C+=2)x+=String.fromCharCode(w[C]+256*w[C+1]);return x;default:if(a)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),a=!0}}function p(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function h(e,t,n,r,a){if(0===e.length)return-1;if("string"==typeof n?(r=n,n=0):2147483647<n?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,(n=(n=isNaN(n)?a?0:e.length-1:n)<0?e.length+n:n)>=e.length){if(a)return-1;n=e.length-1}else if(n<0){if(!a)return-1;n=0}if("string"==typeof t&&(t=f.from(t,r)),f.isBuffer(t))return 0===t.length?-1:m(e,t,n,r,a);if("number"==typeof t)return t&=255,f.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?(a?Uint8Array.prototype.indexOf:Uint8Array.prototype.lastIndexOf).call(e,t,n):m(e,[t],n,r,a);throw new TypeError("val must be string, number or Buffer")}function m(e,t,n,r,a){var o=1,i=e.length,l=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;i/=o=2,l/=2,n/=2}function c(e,t){return 1===o?e[t]:e.readUInt16BE(t*o)}if(a)for(var u=-1,s=n;s<i;s++)if(c(e,s)===c(t,-1===u?0:s-u)){if(s-(u=-1===u?s:u)+1===l)return u*o}else-1!==u&&(s-=s-u),u=-1;else for(s=n=i<n+l?i-l:n;0<=s;s--){for(var f=!0,d=0;d<l;d++)if(c(e,s+d)!==c(t,d)){f=!1;break}if(f)return s}return-1}function g(e,t,n,r){return F((e=>{for(var t=[],n=0;n<e.length;++n)t.push(255&e.charCodeAt(n));return t})(t),e,n,r)}function v(e,t,n,r){return F(((e,t)=>{for(var n,r,a=[],o=0;o<e.length&&!((t-=2)<0);++o)n=e.charCodeAt(o),r=n>>8,a.push(n%256),a.push(r);return a})(t,e.length-n),e,n,r)}function P(e,t,n){n=Math.min(e.length,n);for(var r=[],a=t;a<n;){var o,i,l,c,u=e[a],s=null,f=239<u?4:223<u?3:191<u?2:1;if(a+f<=n)switch(f){case 1:u<128&&(s=u);break;case 2:128==(192&(o=e[a+1]))&&127<(c=(31&u)<<6|63&o)&&(s=c);break;case 3:o=e[a+1],i=e[a+2],128==(192&o)&&128==(192&i)&&2047<(c=(15&u)<<12|(63&o)<<6|63&i)&&(c<55296||57343<c)&&(s=c);break;case 4:o=e[a+1],i=e[a+2],l=e[a+3],128==(192&o)&&128==(192&i)&&128==(192&l)&&65535<(c=(15&u)<<18|(63&o)<<12|(63&i)<<6|63&l)&&c<1114112&&(s=c)}null===s?(s=65533,f=1):65535<s&&(r.push((s-=65536)>>>10&1023|55296),s=56320|1023&s),r.push(s),a+=f}var d=r,p=d.length;if(p<=b)return String.fromCharCode.apply(String,d);for(var h="",m=0;m<p;)h+=String.fromCharCode.apply(String,d.slice(m,m+=b));return h}A.Buffer=f,A.SlowBuffer=function(e){+e!=e&&(e=0);return f.alloc(+e)},A.INSPECT_MAX_BYTES=50,f.TYPED_ARRAY_SUPPORT=void 0!==e.TYPED_ARRAY_SUPPORT?e.TYPED_ARRAY_SUPPORT:(()=>{try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===e.foo()&&"function"==typeof e.subarray&&0===e.subarray(1,1).byteLength}catch(e){return!1}})(),A.kMaxLength=n(),f.poolSize=8192,f._augment=function(e){return e.__proto__=f.prototype,e},f.from=function(e,t,n){return r(null,e,t,n)},f.TYPED_ARRAY_SUPPORT&&(f.prototype.__proto__=Uint8Array.prototype,f.__proto__=Uint8Array,"undefined"!=typeof Symbol)&&Symbol.species&&f[Symbol.species]===f&&Object.defineProperty(f,Symbol.species,{value:null,configurable:!0}),f.alloc=function(e,t,n){return r=null,t=t,n=n,a(e=e),!(e<=0)&&void 0!==t?"string"==typeof n?c(r,e).fill(t,n):c(r,e).fill(t):c(r,e);var r},f.allocUnsafe=function(e){return i(null,e)},f.allocUnsafeSlow=function(e){return i(null,e)},f.isBuffer=function(e){return!(null==e||!e._isBuffer)},f.compare=function(e,t){if(!f.isBuffer(e)||!f.isBuffer(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var n=e.length,r=t.length,a=0,o=Math.min(n,r);a<o;++a)if(e[a]!==t[a]){n=e[a],r=t[a];break}return n<r?-1:r<n?1:0},f.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},f.concat=function(e,t){if(!l(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return f.alloc(0);if(void 0===t)for(a=t=0;a<e.length;++a)t+=e[a].length;for(var n=f.allocUnsafe(t),r=0,a=0;a<e.length;++a){var o=e[a];if(!f.isBuffer(o))throw new TypeError('"list" argument must be an Array of Buffers');o.copy(n,r),r+=o.length}return n},f.byteLength=d,f.prototype._isBuffer=!0,f.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)p(this,t,t+1);return this},f.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)p(this,t,t+3),p(this,t+1,t+2);return this},f.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)p(this,t,t+7),p(this,t+1,t+6),p(this,t+2,t+5),p(this,t+3,t+4);return this},f.prototype.toString=function(){var e=0|this.length;return 0==e?"":0===arguments.length?P(this,0,e):t.apply(this,arguments)},f.prototype.equals=function(e){if(f.isBuffer(e))return this===e||0===f.compare(this,e);throw new TypeError("Argument must be a Buffer")},f.prototype.inspect=function(){var e="",t=A.INSPECT_MAX_BYTES;return 0<this.length&&(e=this.toString("hex",0,t).match(/.{2}/g).join(" "),this.length>t)&&(e+=" ... "),"<Buffer "+e+">"},f.prototype.compare=function(e,t,n,r,a){if(!f.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===a&&(a=this.length),(t=void 0===t?0:t)<0||n>e.length||r<0||a>this.length)throw new RangeError("out of range index");if(a<=r&&n<=t)return 0;if(a<=r)return-1;if(n<=t)return 1;if(this===e)return 0;for(var o=(a>>>=0)-(r>>>=0),i=(n>>>=0)-(t>>>=0),l=Math.min(o,i),c=this.slice(r,a),u=e.slice(t,n),s=0;s<l;++s)if(c[s]!==u[s]){o=c[s],i=u[s];break}return o<i?-1:i<o?1:0},f.prototype.includes=function(e,t,n){return-1!==this.indexOf(e,t,n)},f.prototype.indexOf=function(e,t,n){return h(this,e,t,n,!0)},f.prototype.lastIndexOf=function(e,t,n){return h(this,e,t,n,!1)},f.prototype.write=function(e,t,n,r){if(void 0===t)r="utf8",n=this.length,t=0;else if(void 0===n&&"string"==typeof t)r=t,n=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t|=0,isFinite(n)?(n|=0,void 0===r&&(r="utf8")):(r=n,n=void 0)}var a=this.length-t;if((void 0===n||a<n)&&(n=a),0<e.length&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r=r||"utf8";for(var o,i,l,c=!1;;)switch(r){case"hex":var u=this,s=e,f=t,d=n,p=(f=Number(f)||0,u.length-f);if((!d||p<(d=Number(d)))&&(d=p),(p=s.length)%2!=0)throw new TypeError("Invalid hex string");p/2<d&&(d=p/2);for(var h=0;h<d;++h){var m=parseInt(s.substr(2*h,2),16);if(isNaN(m))return h;u[f+h]=m}return h;case"utf8":case"utf-8":return p=t,l=n,F(I(e,(i=this).length-p),i,p,l);case"ascii":return g(this,e,t,n);case"latin1":case"binary":return g(this,e,t,n);case"base64":return i=this,l=t,o=n,F(O(e),i,l,o);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return v(this,e,t,n);default:if(c)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),c=!0}},f.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var b=4096;function y(e,t,n){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(n<e+t)throw new RangeError("Trying to access beyond buffer length")}function E(e,t,n,r,a,o){if(!f.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(a<t||t<o)throw new RangeError('"value" argument is out of bounds');if(n+r>e.length)throw new RangeError("Index out of range")}function w(e,t,n,r){t<0&&(t=65535+t+1);for(var a=0,o=Math.min(e.length-n,2);a<o;++a)e[n+a]=(t&255<<8*(r?a:1-a))>>>8*(r?a:1-a)}function x(e,t,n,r){t<0&&(t=4294967295+t+1);for(var a=0,o=Math.min(e.length-n,4);a<o;++a)e[n+a]=t>>>8*(r?a:3-a)&255}function C(e,t,n,r){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function k(e,t,n,r,a){return a||C(e,0,n,4),o.write(e,t,n,r,23,4),n+4}function S(e,t,n,r,a){return a||C(e,0,n,8),o.write(e,t,n,r,52,8),n+8}f.prototype.slice=function(e,t){var n=this.length;if((e=~~e)<0?(e+=n)<0&&(e=0):n<e&&(e=n),(t=void 0===t?n:~~t)<0?(t+=n)<0&&(t=0):n<t&&(t=n),t<e&&(t=e),f.TYPED_ARRAY_SUPPORT)(a=this.subarray(e,t)).__proto__=f.prototype;else for(var r=t-e,a=new f(r,void 0),o=0;o<r;++o)a[o]=this[o+e];return a},f.prototype.readUIntLE=function(e,t,n){e|=0,t|=0,n||y(e,t,this.length);for(var r=this[e],a=1,o=0;++o<t&&(a*=256);)r+=this[e+o]*a;return r},f.prototype.readUIntBE=function(e,t,n){e|=0,t|=0,n||y(e,t,this.length);for(var r=this[e+--t],a=1;0<t&&(a*=256);)r+=this[e+--t]*a;return r},f.prototype.readUInt8=function(e,t){return t||y(e,1,this.length),this[e]},f.prototype.readUInt16LE=function(e,t){return t||y(e,2,this.length),this[e]|this[e+1]<<8},f.prototype.readUInt16BE=function(e,t){return t||y(e,2,this.length),this[e]<<8|this[e+1]},f.prototype.readUInt32LE=function(e,t){return t||y(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},f.prototype.readUInt32BE=function(e,t){return t||y(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},f.prototype.readIntLE=function(e,t,n){e|=0,t|=0,n||y(e,t,this.length);for(var r=this[e],a=1,o=0;++o<t&&(a*=256);)r+=this[e+o]*a;return(a*=128)<=r&&(r-=Math.pow(2,8*t)),r},f.prototype.readIntBE=function(e,t,n){e|=0,t|=0,n||y(e,t,this.length);for(var r=t,a=1,o=this[e+--r];0<r&&(a*=256);)o+=this[e+--r]*a;return(a*=128)<=o&&(o-=Math.pow(2,8*t)),o},f.prototype.readInt8=function(e,t){return t||y(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},f.prototype.readInt16LE=function(e,t){t||y(e,2,this.length);t=this[e]|this[e+1]<<8;return 32768&t?4294901760|t:t},f.prototype.readInt16BE=function(e,t){t||y(e,2,this.length);t=this[e+1]|this[e]<<8;return 32768&t?4294901760|t:t},f.prototype.readInt32LE=function(e,t){return t||y(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},f.prototype.readInt32BE=function(e,t){return t||y(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},f.prototype.readFloatLE=function(e,t){return t||y(e,4,this.length),o.read(this,e,!0,23,4)},f.prototype.readFloatBE=function(e,t){return t||y(e,4,this.length),o.read(this,e,!1,23,4)},f.prototype.readDoubleLE=function(e,t){return t||y(e,8,this.length),o.read(this,e,!0,52,8)},f.prototype.readDoubleBE=function(e,t){return t||y(e,8,this.length),o.read(this,e,!1,52,8)},f.prototype.writeUIntLE=function(e,t,n,r){e=+e,t|=0,n|=0,r||E(this,e,t,n,Math.pow(2,8*n)-1,0);var a=1,o=0;for(this[t]=255&e;++o<n&&(a*=256);)this[t+o]=e/a&255;return t+n},f.prototype.writeUIntBE=function(e,t,n,r){e=+e,t|=0,n|=0,r||E(this,e,t,n,Math.pow(2,8*n)-1,0);var a=n-1,o=1;for(this[t+a]=255&e;0<=--a&&(o*=256);)this[t+a]=e/o&255;return t+n},f.prototype.writeUInt8=function(e,t,n){return e=+e,t|=0,n||E(this,e,t,1,255,0),f.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},f.prototype.writeUInt16LE=function(e,t,n){return e=+e,t|=0,n||E(this,e,t,2,65535,0),f.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):w(this,e,t,!0),t+2},f.prototype.writeUInt16BE=function(e,t,n){return e=+e,t|=0,n||E(this,e,t,2,65535,0),f.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):w(this,e,t,!1),t+2},f.prototype.writeUInt32LE=function(e,t,n){return e=+e,t|=0,n||E(this,e,t,4,4294967295,0),f.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):x(this,e,t,!0),t+4},f.prototype.writeUInt32BE=function(e,t,n){return e=+e,t|=0,n||E(this,e,t,4,4294967295,0),f.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):x(this,e,t,!1),t+4},f.prototype.writeIntLE=function(e,t,n,r){e=+e,t|=0,r||E(this,e,t,n,(r=Math.pow(2,8*n-1))-1,-r);var a=0,o=1,i=0;for(this[t]=255&e;++a<n&&(o*=256);)e<0&&0===i&&0!==this[t+a-1]&&(i=1),this[t+a]=(e/o>>0)-i&255;return t+n},f.prototype.writeIntBE=function(e,t,n,r){e=+e,t|=0,r||E(this,e,t,n,(r=Math.pow(2,8*n-1))-1,-r);var a=n-1,o=1,i=0;for(this[t+a]=255&e;0<=--a&&(o*=256);)e<0&&0===i&&0!==this[t+a+1]&&(i=1),this[t+a]=(e/o>>0)-i&255;return t+n},f.prototype.writeInt8=function(e,t,n){return e=+e,t|=0,n||E(this,e,t,1,127,-128),f.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&(e=e<0?255+e+1:e),t+1},f.prototype.writeInt16LE=function(e,t,n){return e=+e,t|=0,n||E(this,e,t,2,32767,-32768),f.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):w(this,e,t,!0),t+2},f.prototype.writeInt16BE=function(e,t,n){return e=+e,t|=0,n||E(this,e,t,2,32767,-32768),f.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):w(this,e,t,!1),t+2},f.prototype.writeInt32LE=function(e,t,n){return e=+e,t|=0,n||E(this,e,t,4,2147483647,-2147483648),f.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):x(this,e,t,!0),t+4},f.prototype.writeInt32BE=function(e,t,n){return e=+e,t|=0,n||E(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),f.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):x(this,e,t,!1),t+4},f.prototype.writeFloatLE=function(e,t,n){return k(this,e,t,!0,n)},f.prototype.writeFloatBE=function(e,t,n){return k(this,e,t,!1,n)},f.prototype.writeDoubleLE=function(e,t,n){return S(this,e,t,!0,n)},f.prototype.writeDoubleBE=function(e,t,n){return S(this,e,t,!1,n)},f.prototype.copy=function(e,t,n,r){if(n=n||0,r||0===r||(r=this.length),t>=e.length&&(t=e.length),(r=0<r&&r<n?n:r)===n)return 0;if(0===e.length||0===this.length)return 0;if((t=t||0)<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length);var a,o=(r=e.length-t<r-n?e.length-t+n:r)-n;if(this===e&&n<t&&t<r)for(a=o-1;0<=a;--a)e[a+t]=this[a+n];else if(o<1e3||!f.TYPED_ARRAY_SUPPORT)for(a=0;a<o;++a)e[a+t]=this[a+n];else Uint8Array.prototype.set.call(e,this.subarray(n,n+o),t);return o},f.prototype.fill=function(e,t,n,r){if("string"==typeof e){var a;if("string"==typeof t?(r=t,t=0,n=this.length):"string"==typeof n&&(r=n,n=this.length),1===e.length&&(a=e.charCodeAt(0))<256&&(e=a),void 0!==r&&"string"!=typeof r)throw new TypeError("encoding must be a string");if("string"==typeof r&&!f.isEncoding(r))throw new TypeError("Unknown encoding: "+r)}else"number"==typeof e&&(e&=255);if(t<0||this.length<t||this.length<n)throw new RangeError("Out of range index");if(!(n<=t))if(t>>>=0,n=void 0===n?this.length:n>>>0,"number"==typeof(e=e||0))for(l=t;l<n;++l)this[l]=e;else for(var o=f.isBuffer(e)?e:I(new f(e,r).toString()),i=o.length,l=0;l<n-t;++l)this[l+t]=o[l%i];return this};var R=/[^+\/0-9A-Za-z-_]/g;function I(e,t){t=t||1/0;for(var n,r=e.length,a=null,o=[],i=0;i<r;++i){if(55295<(n=e.charCodeAt(i))&&n<57344){if(!a){if(56319<n){-1<(t-=3)&&o.push(239,191,189);continue}if(i+1===r){-1<(t-=3)&&o.push(239,191,189);continue}a=n;continue}if(n<56320){-1<(t-=3)&&o.push(239,191,189),a=n;continue}n=65536+(a-55296<<10|n-56320)}else a&&-1<(t-=3)&&o.push(239,191,189);if(a=null,n<128){if(--t<0)break;o.push(n)}else if(n<2048){if((t-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return o}function O(e){return _.toByteArray((e=>{var t;if((e=((t=e).trim?t.trim():t.replace(/^\s+|\s+$/g,"")).replace(R,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e})(e))}function F(e,t,n,r){for(var a=0;a<r&&!(a+n>=t.length||a>=e.length);++a)t[a+n]=e[a];return a}}.call(this,j(23))},function(e,t,n){t.byteLength=function(e){var e=s(e),t=e[0],e=e[1];return 3*(t+e)/4-e},t.toByteArray=function(e){var t,n,r=s(e),a=r[0],r=r[1],o=new u(((e,t)=>3*(e+t)/4-t)(a,r)),i=0,l=0<r?a-4:a;for(n=0;n<l;n+=4)t=c[e.charCodeAt(n)]<<18|c[e.charCodeAt(n+1)]<<12|c[e.charCodeAt(n+2)]<<6|c[e.charCodeAt(n+3)],o[i++]=t>>16&255,o[i++]=t>>8&255,o[i++]=255&t;2===r&&(t=c[e.charCodeAt(n)]<<2|c[e.charCodeAt(n+1)]>>4,o[i++]=255&t);1===r&&(t=c[e.charCodeAt(n)]<<10|c[e.charCodeAt(n+1)]<<4|c[e.charCodeAt(n+2)]>>2,o[i++]=t>>8&255,o[i++]=255&t);return o},t.fromByteArray=function(e){for(var t,n=e.length,r=n%3,a=[],o=0,i=n-r;o<i;o+=16383)a.push(((e,t,n)=>{for(var r,a=[],o=t;o<n;o+=3)r=(e[o]<<16&16711680)+(e[o+1]<<8&65280)+(255&e[o+2]),a.push((e=>l[e>>18&63]+l[e>>12&63]+l[e>>6&63]+l[63&e])(r));return a.join("")})(e,o,i<o+16383?i:o+16383));1==r?(t=e[n-1],a.push(l[t>>2]+l[t<<4&63]+"==")):2==r&&(t=(e[n-2]<<8)+e[n-1],a.push(l[t>>10]+l[t>>4&63]+l[t<<2&63]+"="));return a.join("")};for(var l=[],c=[],u="undefined"!=typeof Uint8Array?Uint8Array:Array,r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,o=r.length;a<o;++a)l[a]=r[a],c[r.charCodeAt(a)]=a;function s(e){var t=e.length;if(0<t%4)throw new Error("Invalid string. Length must be a multiple of 4");e=e.indexOf("="),t=(e=-1===e?t:e)===t?0:4-e%4;return[e,t]}c["-".charCodeAt(0)]=62,c["_".charCodeAt(0)]=63},function(e,t){
    4646/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
    47 t.read=function(e,t,n,r,a){var o,i,l=8*a-r-1,c=(1<<l)-1,u=c>>1,s=-7,f=n?a-1:0,d=n?-1:1,a=e[t+f];for(f+=d,o=a&(1<<-s)-1,a>>=-s,s+=l;0<s;o=256*o+e[t+f],f+=d,s-=8);for(i=o&(1<<-s)-1,o>>=-s,s+=r;0<s;i=256*i+e[t+f],f+=d,s-=8);if(0===o)o=1-u;else{if(o===c)return i?NaN:1/0*(a?-1:1);i+=Math.pow(2,r),o-=u}return(a?-1:1)*i*Math.pow(2,o-r)},t.write=function(e,t,n,r,a,o){var i,l,c=8*o-a-1,u=(1<<c)-1,s=u>>1,f=23===a?Math.pow(2,-24)-Math.pow(2,-77):0,d=r?0:o-1,p=r?1:-1,o=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(l=isNaN(t)?1:0,i=u):(i=Math.floor(Math.log(t)/Math.LN2),t*(r=Math.pow(2,-i))<1&&(i--,r*=2),2<=(t+=1<=i+s?f/r:f*Math.pow(2,1-s))*r&&(i++,r/=2),u<=i+s?(l=0,i=u):1<=i+s?(l=(t*r-1)*Math.pow(2,a),i+=s):(l=t*Math.pow(2,s-1)*Math.pow(2,a),i=0));8<=a;e[n+d]=255&l,d+=p,l/=256,a-=8);for(i=i<<a|l,c+=a;0<c;e[n+d]=255&i,d+=p,i/=256,c-=8);e[n+d-p]|=128*o}},function(e,t){var n={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==n.call(e)}},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.flattenNames=void 0;var r=l(n(118)),a=l(n(44)),o=l(n(130)),i=l(n(131));function l(e){return e&&e.__esModule?e:{default:e}}n=t.flattenNames=function t(){var n=[];return(0,i.default)(0<arguments.length&&void 0!==arguments[0]?arguments[0]:[],function(e){Array.isArray(e)?t(e).map(function(e){return n.push(e)}):(0,o.default)(e)?(0,a.default)(e,function(e,t){!0===e&&n.push(t),n.push(t+"-"+e)}):(0,r.default)(e)&&n.push(e)}),n};t.default=n},function(e,t,n){var r=n(20),a=n(14),o=n(15);e.exports=function(e){return"string"==typeof e||!a(e)&&o(e)&&"[object String]"==r(e)}},function(e,t,n){var n=n(26),r=Object.prototype,o=r.hasOwnProperty,i=r.toString,l=n?n.toStringTag:void 0;e.exports=function(e){var t=o.call(e,l),n=e[l];try{var r=!(e[l]=void 0)}catch(e){}var a=i.call(e);return r&&(t?e[l]=n:delete e[l]),a}},function(e,t){var n=Object.prototype.toString;e.exports=function(e){return n.call(e)}},function(e,t,n){n=n(122)();e.exports=n},function(e,t){e.exports=function(c){return function(e,t,n){for(var r=-1,a=Object(e),o=n(e),i=o.length;i--;){var l=o[c?i:++r];if(!1===t(a[l],l,a))break}return e}}},function(e,t){e.exports=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}},function(e,t,n){var r=n(20),a=n(15);e.exports=function(e){return a(e)&&"[object Arguments]"==r(e)}},function(e,t){e.exports=function(){return!1}},function(e,t,n){var r=n(20),a=n(47),o=n(15),i={};i["[object Float32Array]"]=i["[object Float64Array]"]=i["[object Int8Array]"]=i["[object Int16Array]"]=i["[object Int32Array]"]=i["[object Uint8Array]"]=i["[object Uint8ClampedArray]"]=i["[object Uint16Array]"]=i["[object Uint32Array]"]=!0,i["[object Arguments]"]=i["[object Array]"]=i["[object ArrayBuffer]"]=i["[object Boolean]"]=i["[object DataView]"]=i["[object Date]"]=i["[object Error]"]=i["[object Function]"]=i["[object Map]"]=i["[object Number]"]=i["[object Object]"]=i["[object RegExp]"]=i["[object Set]"]=i["[object String]"]=i["[object WeakMap]"]=!1,e.exports=function(e){return o(e)&&a(e.length)&&!!i[r(e)]}},function(e,t,n){var r=n(50),a=n(128),o=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return a(e);var t,n=[];for(t in Object(e))o.call(e,t)&&"constructor"!=t&&n.push(t);return n}},function(e,t,n){n=n(72)(Object.keys,Object);e.exports=n},function(e,t,n){var r=n(74);e.exports=function(e){return"function"==typeof e?e:r}},function(e,t,n){var r=n(20),a=n(51),o=n(15),n=Function.prototype,i=Object.prototype,l=n.toString,c=i.hasOwnProperty,u=l.call(Object);e.exports=function(e){return!(!o(e)||"[object Object]"!=r(e))&&(null===(e=a(e))||"function"==typeof(e=c.call(e,"constructor")&&e.constructor)&&e instanceof e&&l.call(e)==u)}},function(e,t,n){var r=n(75),a=n(132),o=n(190),i=n(14);e.exports=function(e,t){return(i(e)?r:o)(e,a(t,3))}},function(e,t,n){var r=n(133),a=n(177),o=n(74),i=n(14),l=n(187);e.exports=function(e){return"function"==typeof e?e:null==e?o:"object"==typeof e?i(e)?a(e[0],e[1]):r(e):l(e)}},function(e,t,n){var r=n(134),a=n(176),o=n(85);e.exports=function(t){var n=a(t);return 1==n.length&&n[0][2]?o(n[0][0],n[0][1]):function(e){return e===t||r(e,t,n)}}},function(e,t,n){var p=n(52),h=n(77);e.exports=function(e,t,n,r){var a=n.length,o=a,i=!r;if(null==e)return!o;for(e=Object(e);a--;){var l=n[a];if(i&&l[2]?l[1]!==e[l[0]]:!(l[0]in e))return!1}for(;++a<o;){var c=(l=n[a])[0],u=e[c],s=l[1];if(i&&l[2]){if(void 0===u&&!(c in e))return!1}else{var f,d=new p;if(!(void 0===(f=r?r(u,s,c,e,t,d):f)?h(s,u,3,r,d):f))return!1}}return!0}},function(e,t){e.exports=function(){this.__data__=[],this.size=0}},function(e,t,n){var r=n(31),a=Array.prototype.splice;e.exports=function(e){var t=this.__data__;return!((e=r(t,e))<0||(e==t.length-1?t.pop():a.call(t,e,1),--this.size,0))}},function(e,t,n){var r=n(31);e.exports=function(e){var t=this.__data__;return(e=r(t,e))<0?void 0:t[e][1]}},function(e,t,n){var r=n(31);e.exports=function(e){return-1<r(this.__data__,e)}},function(e,t,n){var a=n(31);e.exports=function(e,t){var n=this.__data__,r=a(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}},function(e,t,n){var r=n(30);e.exports=function(){this.__data__=new r,this.size=0}},function(e,t){e.exports=function(e){var t=this.__data__,e=t.delete(e);return this.size=t.size,e}},function(e,t){e.exports=function(e){return this.__data__.get(e)}},function(e,t){e.exports=function(e){return this.__data__.has(e)}},function(e,t,n){var a=n(30),o=n(54),i=n(55);e.exports=function(e,t){var n=this.__data__;if(n instanceof a){var r=n.__data__;if(!o||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new i(r)}return n.set(e,t),this.size=n.size,this}},function(e,t,n){var r=n(73),a=n(146),o=n(17),i=n(76),l=/^\[object .+?Constructor\]$/,n=Function.prototype,c=Object.prototype,n=n.toString,c=c.hasOwnProperty,u=RegExp("^"+n.call(c).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!o(e)||a(e))&&(r(e)?u:l).test(i(e))}},function(e,t,n){var n=n(147),r=(n=/[^.]+$/.exec(n&&n.keys&&n.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"";e.exports=function(e){return!!r&&r in e}},function(e,t,n){n=n(13)["__core-js_shared__"];e.exports=n},function(e,t){e.exports=function(e,t){return null==e?void 0:e[t]}},function(e,t,n){var r=n(150),a=n(30),o=n(54);e.exports=function(){this.size=0,this.__data__={hash:new r,map:new(o||a),string:new r}}},function(e,t,n){var r=n(151),a=n(152),o=n(153),i=n(154),n=n(155);function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}l.prototype.clear=r,l.prototype.delete=a,l.prototype.get=o,l.prototype.has=i,l.prototype.set=n,e.exports=l},function(e,t,n){var r=n(32);e.exports=function(){this.__data__=r?r(null):{},this.size=0}},function(e,t){e.exports=function(e){return e=this.has(e)&&delete this.__data__[e],this.size-=e?1:0,e}},function(e,t,n){var r=n(32),a=Object.prototype.hasOwnProperty;e.exports=function(e){var t,n=this.__data__;return r?"__lodash_hash_undefined__"===(t=n[e])?void 0:t:a.call(n,e)?n[e]:void 0}},function(e,t,n){var r=n(32),a=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return r?void 0!==t[e]:a.call(t,e)}},function(e,t,n){var r=n(32);e.exports=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=r&&void 0===t?"__lodash_hash_undefined__":t,this}},function(e,t,n){var r=n(33);e.exports=function(e){return e=r(this,e).delete(e),this.size-=e?1:0,e}},function(e,t){e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},function(e,t,n){var r=n(33);e.exports=function(e){return r(this,e).get(e)}},function(e,t,n){var r=n(33);e.exports=function(e){return r(this,e).has(e)}},function(e,t,n){var a=n(33);e.exports=function(e,t){var n=a(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}},function(e,t,n){var f=n(52),d=n(78),p=n(167),h=n(170),m=n(34),g=n(14),v=n(45),b=n(71),y="[object Arguments]",E="[object Array]",w="[object Object]",x=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,r,a,o){var i=g(e),l=g(t),c=i?E:m(e),l=l?E:m(t),u=(c=c==y?w:c)==w,s=(l=l==y?w:l)==w;if((l=c==l)&&v(e)){if(!v(t))return!1;u=!(i=!0)}if(l&&!u)return o=o||new f,i||b(e)?d(e,t,n,r,a,o):p(e,t,c,n,r,a,o);if(!(1&n)){i=u&&x.call(e,"__wrapped__"),c=s&&x.call(t,"__wrapped__");if(i||c)return a(i?e.value():e,c?t.value():t,n,r,o=o||new f)}return l&&(o=o||new f,h(e,t,n,r,a,o))}},function(e,t,n){var r=n(55),a=n(163),n=n(164);function o(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new r;++t<n;)this.add(e[t])}o.prototype.add=o.prototype.push=a,o.prototype.has=n,e.exports=o},function(e,t){e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},function(e,t){e.exports=function(e){return this.__data__.has(e)}},function(e,t){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}},function(e,t){e.exports=function(e,t){return e.has(t)}},function(e,t,n){var r=n(26),u=n(79),s=n(53),f=n(78),d=n(168),p=n(169),n=r?r.prototype:void 0,h=n?n.valueOf:void 0;e.exports=function(e,t,n,r,a,o,i){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return e.byteLength==t.byteLength&&o(new u(e),new u(t))?!0:!1;case"[object Boolean]":case"[object Date]":case"[object Number]":return s(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var l=d;case"[object Set]":l=l||p;if(e.size!=t.size&&!(1&r))return!1;var c=i.get(e);if(c)return c==t;r|=2,i.set(e,t);c=f(l(e),l(t),r,a,o,i);return i.delete(e),c;case"[object Symbol]":if(h)return h.call(e)==h.call(t)}return!1}},function(e,t){e.exports=function(e){var n=-1,r=Array(e.size);return e.forEach(function(e,t){r[++n]=[t,e]}),r}},function(e,t){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}},function(e,t,n){var b=n(80),y=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,r,a,o){var i=1&n,l=b(e),c=l.length;if(c!=b(t).length&&!i)return!1;for(var u=c;u--;){var s=l[u];if(!(i?s in t:y.call(t,s)))return!1}var f=o.get(e),d=o.get(t);if(f&&d)return f==t&&d==e;for(var p=!0,h=(o.set(e,t),o.set(t,e),i);++u<c;){var m,g=e[s=l[u]],v=t[s];if(!(void 0===(m=r?i?r(v,g,s,t,e,o):r(g,v,s,e,t,o):m)?g===v||a(g,v,n,r,o):m)){p=!1;break}h=h||"constructor"==s}return p&&!h&&(f=e.constructor)!=(d=t.constructor)&&"constructor"in e&&"constructor"in t&&!("function"==typeof f&&f instanceof f&&"function"==typeof d&&d instanceof d)&&(p=!1),o.delete(e),o.delete(t),p}},function(e,t){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,a=0,o=[];++n<r;){var i=e[n];t(i,n,e)&&(o[a++]=i)}return o}},function(e,t,n){n=n(21)(n(13),"DataView");e.exports=n},function(e,t,n){n=n(21)(n(13),"Promise");e.exports=n},function(e,t,n){n=n(21)(n(13),"Set");e.exports=n},function(e,t,n){n=n(21)(n(13),"WeakMap");e.exports=n},function(e,t,n){var o=n(84),i=n(27);e.exports=function(e){for(var t=i(e),n=t.length;n--;){var r=t[n],a=e[r];t[n]=[r,a,o(a)]}return t}},function(e,t,n){var a=n(77),o=n(178),i=n(184),l=n(57),c=n(84),u=n(85),s=n(36);e.exports=function(n,r){return l(n)&&c(r)?u(s(n),r):function(e){var t=o(e,n);return void 0===t&&t===r?i(e,n):a(r,t,3)}}},function(e,t,n){var r=n(86);e.exports=function(e,t,n){return void 0===(e=null==e?void 0:r(e,t))?n:e}},function(e,t,n){var n=n(180),r=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,o=/\\(\\)?/g,n=n(function(e){var a=[];return 46===e.charCodeAt(0)&&a.push(""),e.replace(r,function(e,t,n,r){a.push(n?r.replace(o,"$1"):t||e)}),a});e.exports=n},function(e,t,n){var r=n(181);e.exports=function(e){var t=(e=r(e,function(e){return 500===t.size&&t.clear(),e})).cache;return e}},function(e,t,n){var i=n(55);function l(r,a){if("function"!=typeof r||null!=a&&"function"!=typeof a)throw new TypeError("Expected a function");function o(){var e=arguments,t=a?a.apply(this,e):e[0],n=o.cache;return n.has(t)?n.get(t):(e=r.apply(this,e),o.cache=n.set(t,e)||n,e)}return o.cache=new(l.Cache||i),o}l.Cache=i,e.exports=l},function(e,t,n){var r=n(183);e.exports=function(e){return null==e?"":r(e)}},function(e,t,n){var r=n(26),a=n(75),o=n(14),i=n(35),n=r?r.prototype:void 0,l=n?n.toString:void 0;e.exports=function e(t){var n;return"string"==typeof t?t:o(t)?a(t,e)+"":i(t)?l?l.call(t):"":"0"==(n=t+"")&&1/t==-1/0?"-0":n}},function(e,t,n){var r=n(185),a=n(186);e.exports=function(e,t){return null!=e&&a(e,t,r)}},function(e,t){e.exports=function(e,t){return null!=e&&t in Object(e)}},function(e,t,n){var l=n(87),c=n(69),u=n(14),s=n(70),f=n(47),d=n(36);e.exports=function(e,t,n){for(var r=-1,a=(t=l(t,e)).length,o=!1;++r<a;){var i=d(t[r]);if(!(o=null!=e&&n(e,i)))break;e=e[i]}return o||++r!=a?o:!!(a=null==e?0:e.length)&&f(a)&&s(i,a)&&(u(e)||c(e))}},function(e,t,n){var r=n(188),a=n(189),o=n(57),i=n(36);e.exports=function(e){return o(e)?r(i(e)):a(e)}},function(e,t){e.exports=function(t){return function(e){return null==e?void 0:e[t]}}},function(e,t,n){var r=n(86);e.exports=function(t){return function(e){return r(e,t)}}},function(e,t,n){var i=n(191),l=n(29);e.exports=function(e,r){var a=-1,o=l(e)?Array(e.length):[];return i(e,function(e,t,n){o[++a]=r(e,t,n)}),o}},function(e,t,n){var r=n(67),n=n(192)(r);e.exports=n},function(e,t,n){var l=n(29);e.exports=function(o,i){return function(e,t){if(null!=e){if(!l(e))return o(e,t);for(var n=e.length,r=i?n:-1,a=Object(e);(i?r--:++r<n)&&!1!==t(a[r],r,a););}return e}}},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.mergeClasses=void 0;var a=r(n(44)),o=r(n(194)),i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n,r=arguments[t];for(n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e};function r(e){return e&&e.__esModule?e:{default:e}}n=t.mergeClasses=function(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:[],r=t.default&&(0,o.default)(t.default)||{};return e.map(function(e){var n=t[e];return n&&(0,a.default)(n,function(e,t){r[t]||(r[t]={}),r[t]=i({},r[t],n[t])}),e}),r};t.default=n},function(e,t,n){var r=n(195);e.exports=function(e){return r(e,5)}},function(e,t,n){var h=n(52),m=n(196),g=n(88),v=n(198),b=n(199),y=n(202),E=n(203),w=n(204),x=n(205),C=n(80),_=n(206),P=n(34),k=n(207),S=n(208),R=n(213),I=n(14),O=n(45),F=n(215),A=n(17),j=n(217),L=n(27),T=n(58),M="[object Arguments]",N="[object Function]",B="[object Object]",V={};V[M]=V["[object Array]"]=V["[object ArrayBuffer]"]=V["[object DataView]"]=V["[object Boolean]"]=V["[object Date]"]=V["[object Float32Array]"]=V["[object Float64Array]"]=V["[object Int8Array]"]=V["[object Int16Array]"]=V["[object Int32Array]"]=V["[object Map]"]=V["[object Number]"]=V[B]=V["[object RegExp]"]=V["[object Set]"]=V["[object String]"]=V["[object Symbol]"]=V["[object Uint8Array]"]=V["[object Uint8ClampedArray]"]=V["[object Uint16Array]"]=V["[object Uint32Array]"]=!0,V["[object Error]"]=V[N]=V["[object WeakMap]"]=!1,e.exports=function n(r,a,o,e,t,i){var l,c=1&a,u=2&a,s=4&a;if(void 0===(l=o?t?o(r,e,t,i):o(r):l)){if(!A(r))return r;if(e=I(r)){if(l=k(r),!c)return E(r,l)}else{var f=P(r),d=f==N||"[object GeneratorFunction]"==f;if(O(r))return y(r,c);if(f==B||f==M||d&&!t){if(l=u||d?{}:R(r),!c)return u?x(r,b(l,r)):w(r,v(l,r))}else{if(!V[f])return t?r:{};l=S(r,f,c)}}if(d=(i=i||new h).get(r))return d;i.set(r,l),j(r)?r.forEach(function(e){l.add(n(e,a,o,e,r,i))}):F(r)&&r.forEach(function(e,t){l.set(t,n(e,a,o,t,r,i))});var p=e?void 0:(s?u?_:C:u?T:L)(r);m(p||r,function(e,t){p&&(e=r[t=e]),g(l,t,n(e,a,o,t,r,i))})}return l}},function(e,t){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e}},function(e,t,n){var r=n(21),n=(()=>{try{var e=r(Object,"defineProperty");return e({},"",{}),e}catch(e){}})();e.exports=n},function(e,t,n){var r=n(37),a=n(27);e.exports=function(e,t){return e&&r(t,a(t),e)}},function(e,t,n){var r=n(37),a=n(58);e.exports=function(e,t){return e&&r(t,a(t),e)}},function(e,t,n){var a=n(17),o=n(50),i=n(201),l=Object.prototype.hasOwnProperty;e.exports=function(e){if(!a(e))return i(e);var t,n=o(e),r=[];for(t in e)("constructor"!=t||!n&&l.call(e,t))&&r.push(t);return r}},function(e,t){e.exports=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}},function(e,o,i){!function(e){var t=i(13),n=o&&!o.nodeType&&o,r=n&&"object"==typeof e&&e&&!e.nodeType&&e,r=r&&r.exports===n?t.Buffer:void 0,a=r?r.allocUnsafe:void 0;e.exports=function(e,t){return t?e.slice():(t=e.length,t=a?a(t):new e.constructor(t),e.copy(t),t)}}.call(this,i(46)(e))},function(e,t){e.exports=function(e,t){var n=-1,r=e.length;for(t=t||Array(r);++n<r;)t[n]=e[n];return t}},function(e,t,n){var r=n(37),a=n(56);e.exports=function(e,t){return r(e,a(e),t)}},function(e,t,n){var r=n(37),a=n(90);e.exports=function(e,t){return r(e,a(e),t)}},function(e,t,n){var r=n(81),a=n(90),o=n(58);e.exports=function(e){return r(e,o,a)}},function(e,t){var r=Object.prototype.hasOwnProperty;e.exports=function(e){var t=e.length,n=new e.constructor(t);return t&&"string"==typeof e[0]&&r.call(e,"index")&&(n.index=e.index,n.input=e.input),n}},function(e,t,n){var a=n(59),o=n(209),i=n(210),l=n(211),c=n(212);e.exports=function(e,t,n){var r=e.constructor;switch(t){case"[object ArrayBuffer]":return a(e);case"[object Boolean]":case"[object Date]":return new r(+e);case"[object DataView]":return o(e,n);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return c(e,n);case"[object Map]":return new r;case"[object Number]":case"[object String]":return new r(e);case"[object RegExp]":return i(e);case"[object Set]":return new r;case"[object Symbol]":return l(e)}}},function(e,t,n){var r=n(59);e.exports=function(e,t){return t=t?r(e.buffer):e.buffer,new e.constructor(t,e.byteOffset,e.byteLength)}},function(e,t){var n=/\w*$/;e.exports=function(e){var t=new e.constructor(e.source,n.exec(e));return t.lastIndex=e.lastIndex,t}},function(e,t,n){var n=n(26),n=n?n.prototype:void 0,r=n?n.valueOf:void 0;e.exports=function(e){return r?Object(r.call(e)):{}}},function(e,t,n){var r=n(59);e.exports=function(e,t){return t=t?r(e.buffer):e.buffer,new e.constructor(t,e.byteOffset,e.length)}},function(e,t,n){var r=n(214),a=n(51),o=n(50);e.exports=function(e){return"function"!=typeof e.constructor||o(e)?{}:r(a(e))}},function(e,t,n){var r=n(17),a=Object.create;function o(){}e.exports=function(e){if(!r(e))return{};if(a)return a(e);o.prototype=e;e=new o;return o.prototype=void 0,e}},function(e,t,n){var r=n(216),a=n(48),n=n(49),n=n&&n.isMap,a=n?a(n):r;e.exports=a},function(e,t,n){var r=n(34),a=n(15);e.exports=function(e){return a(e)&&"[object Map]"==r(e)}},function(e,t,n){var r=n(218),a=n(48),n=n(49),n=n&&n.isSet,a=n?a(n):r;e.exports=a},function(e,t,n){var r=n(34),a=n(15);e.exports=function(e){return a(e)&&"[object Set]"==r(e)}},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.autoprefix=void 0;var n=n(44),a=(n=n)&&n.__esModule?n:{default:n},o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n,r=arguments[t];for(n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e};var i={borderRadius:function(e){return{msBorderRadius:e,MozBorderRadius:e,OBorderRadius:e,WebkitBorderRadius:e,borderRadius:e}},boxShadow:function(e){return{msBoxShadow:e,MozBoxShadow:e,OBoxShadow:e,WebkitBoxShadow:e,boxShadow:e}},userSelect:function(e){return{WebkitTouchCallout:e,KhtmlUserSelect:e,MozUserSelect:e,msUserSelect:e,WebkitUserSelect:e,userSelect:e}},flex:function(e){return{WebkitBoxFlex:e,MozBoxFlex:e,WebkitFlex:e,msFlex:e,flex:e}},flexBasis:function(e){return{WebkitFlexBasis:e,flexBasis:e}},justifyContent:function(e){return{WebkitJustifyContent:e,justifyContent:e}},transition:function(e){return{msTransition:e,MozTransition:e,OTransition:e,WebkitTransition:e,transition:e}},transform:function(e){return{msTransform:e,MozTransform:e,OTransform:e,WebkitTransform:e,transform:e}},absolute:function(e){e=e&&e.split(" ");return{position:"absolute",top:e&&e[0],right:e&&e[1],bottom:e&&e[2],left:e&&e[3]}},extend:function(e,t){t=t[e];return t||{extend:e}}},n=t.autoprefix=function(e){var n={};return(0,a.default)(e,function(e,t){var r={};(0,a.default)(e,function(e,t){var n=i[t];n?r=o({},r,n(e)):r[t]=e}),n[t]=r}),n};t.default=n},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.hover=void 0;var u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n,r=arguments[t];for(n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},n=n(0),s=(n=n)&&n.__esModule?n:{default:n};function f(e,t){if(e)return!t||"object"!=typeof t&&"function"!=typeof t?e:t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}n=t.hover=function(i){var l=1<arguments.length&&void 0!==arguments[1]?arguments[1]:"span",e=s.default.Component,t=c;if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);function c(){var e,t=this,n=c;if(!(t instanceof n))throw new TypeError("Cannot call a class as a function");for(var r=arguments.length,a=Array(r),o=0;o<r;o++)a[o]=arguments[o];return(n=e=f(this,(t=c.__proto__||Object.getPrototypeOf(c)).call.apply(t,[this].concat(a)))).state={hover:!1},e.handleMouseOver=function(){return e.setState({hover:!0})},e.handleMouseOut=function(){return e.setState({hover:!1})},e.render=function(){return s.default.createElement(l,{onMouseOver:e.handleMouseOver,onMouseOut:e.handleMouseOut},s.default.createElement(i,u({},e.props,e.state)))},f(e,n)}return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e),c};t.default=n},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.active=void 0;var u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n,r=arguments[t];for(n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},n=n(0),s=(n=n)&&n.__esModule?n:{default:n};function f(e,t){if(e)return!t||"object"!=typeof t&&"function"!=typeof t?e:t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}n=t.active=function(i){var l=1<arguments.length&&void 0!==arguments[1]?arguments[1]:"span",e=s.default.Component,t=c;if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);function c(){var e,t=this,n=c;if(!(t instanceof n))throw new TypeError("Cannot call a class as a function");for(var r=arguments.length,a=Array(r),o=0;o<r;o++)a[o]=arguments[o];return(n=e=f(this,(t=c.__proto__||Object.getPrototypeOf(c)).call.apply(t,[this].concat(a)))).state={active:!1},e.handleMouseDown=function(){return e.setState({active:!0})},e.handleMouseUp=function(){return e.setState({active:!1})},e.render=function(){return s.default.createElement(l,{onMouseDown:e.handleMouseDown,onMouseUp:e.handleMouseUp},s.default.createElement(i,u({},e.props,e.state)))},f(e,n)}return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e),c};t.default=n},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});t.default=function(e,t){function n(e){r[e]=!(1<arguments.length&&void 0!==arguments[1])||arguments[1]}var r={};return 0===e&&n("first-child"),e===t-1&&n("last-child"),0!==e&&e%2!=0||n("even"),1===Math.abs(e%2)&&n("odd"),n("nth-child",e),r}},function(e,t,n){var i=n(224);function r(){}function a(){}a.resetWarningCache=r,e.exports=function(){function e(e,t,n,r,a,o){if(o!==i)throw(o=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types")).name="Invariant Violation",o}function t(){return e}var n={array:e.isRequired=e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:a,resetWarningCache:r};return n.PropTypes=n}},function(e,t,n){e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){
     47t.read=function(e,t,n,r,a){var o,i,l=8*a-r-1,c=(1<<l)-1,u=c>>1,s=-7,f=n?a-1:0,d=n?-1:1,a=e[t+f];for(f+=d,o=a&(1<<-s)-1,a>>=-s,s+=l;0<s;o=256*o+e[t+f],f+=d,s-=8);for(i=o&(1<<-s)-1,o>>=-s,s+=r;0<s;i=256*i+e[t+f],f+=d,s-=8);if(0===o)o=1-u;else{if(o===c)return i?NaN:1/0*(a?-1:1);i+=Math.pow(2,r),o-=u}return(a?-1:1)*i*Math.pow(2,o-r)},t.write=function(e,t,n,r,a,o){var i,l,c=8*o-a-1,u=(1<<c)-1,s=u>>1,f=23===a?Math.pow(2,-24)-Math.pow(2,-77):0,d=r?0:o-1,p=r?1:-1,o=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(l=isNaN(t)?1:0,i=u):(i=Math.floor(Math.log(t)/Math.LN2),t*(r=Math.pow(2,-i))<1&&(i--,r*=2),2<=(t+=1<=i+s?f/r:f*Math.pow(2,1-s))*r&&(i++,r/=2),u<=i+s?(l=0,i=u):1<=i+s?(l=(t*r-1)*Math.pow(2,a),i+=s):(l=t*Math.pow(2,s-1)*Math.pow(2,a),i=0));8<=a;e[n+d]=255&l,d+=p,l/=256,a-=8);for(i=i<<a|l,c+=a;0<c;e[n+d]=255&i,d+=p,i/=256,c-=8);e[n+d-p]|=128*o}},function(e,t){var n={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==n.call(e)}},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.flattenNames=void 0;var r=l(n(118)),a=l(n(44)),o=l(n(130)),i=l(n(131));function l(e){return e&&e.__esModule?e:{default:e}}n=t.flattenNames=function t(){var n=[];return(0,i.default)(0<arguments.length&&void 0!==arguments[0]?arguments[0]:[],function(e){Array.isArray(e)?t(e).map(function(e){return n.push(e)}):(0,o.default)(e)?(0,a.default)(e,function(e,t){!0===e&&n.push(t),n.push(t+"-"+e)}):(0,r.default)(e)&&n.push(e)}),n};t.default=n},function(e,t,n){var r=n(20),a=n(14),o=n(15);e.exports=function(e){return"string"==typeof e||!a(e)&&o(e)&&"[object String]"==r(e)}},function(e,t,n){var n=n(25),r=Object.prototype,o=r.hasOwnProperty,i=r.toString,l=n?n.toStringTag:void 0;e.exports=function(e){var t=o.call(e,l),n=e[l];try{var r=!(e[l]=void 0)}catch(e){}var a=i.call(e);return r&&(t?e[l]=n:delete e[l]),a}},function(e,t){var n=Object.prototype.toString;e.exports=function(e){return n.call(e)}},function(e,t,n){n=n(122)();e.exports=n},function(e,t){e.exports=function(c){return function(e,t,n){for(var r=-1,a=Object(e),o=n(e),i=o.length;i--;){var l=o[c?i:++r];if(!1===t(a[l],l,a))break}return e}}},function(e,t){e.exports=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}},function(e,t,n){var r=n(20),a=n(15);e.exports=function(e){return a(e)&&"[object Arguments]"==r(e)}},function(e,t){e.exports=function(){return!1}},function(e,t,n){var r=n(20),a=n(47),o=n(15),i={};i["[object Float32Array]"]=i["[object Float64Array]"]=i["[object Int8Array]"]=i["[object Int16Array]"]=i["[object Int32Array]"]=i["[object Uint8Array]"]=i["[object Uint8ClampedArray]"]=i["[object Uint16Array]"]=i["[object Uint32Array]"]=!0,i["[object Arguments]"]=i["[object Array]"]=i["[object ArrayBuffer]"]=i["[object Boolean]"]=i["[object DataView]"]=i["[object Date]"]=i["[object Error]"]=i["[object Function]"]=i["[object Map]"]=i["[object Number]"]=i["[object Object]"]=i["[object RegExp]"]=i["[object Set]"]=i["[object String]"]=i["[object WeakMap]"]=!1,e.exports=function(e){return o(e)&&a(e.length)&&!!i[r(e)]}},function(e,t,n){var r=n(50),a=n(128),o=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return a(e);var t,n=[];for(t in Object(e))o.call(e,t)&&"constructor"!=t&&n.push(t);return n}},function(e,t,n){n=n(72)(Object.keys,Object);e.exports=n},function(e,t,n){var r=n(74);e.exports=function(e){return"function"==typeof e?e:r}},function(e,t,n){var r=n(20),a=n(51),o=n(15),n=Function.prototype,i=Object.prototype,l=n.toString,c=i.hasOwnProperty,u=l.call(Object);e.exports=function(e){return!(!o(e)||"[object Object]"!=r(e))&&(null===(e=a(e))||"function"==typeof(e=c.call(e,"constructor")&&e.constructor)&&e instanceof e&&l.call(e)==u)}},function(e,t,n){var r=n(75),a=n(132),o=n(190),i=n(14);e.exports=function(e,t){return(i(e)?r:o)(e,a(t,3))}},function(e,t,n){var r=n(133),a=n(177),o=n(74),i=n(14),l=n(187);e.exports=function(e){return"function"==typeof e?e:null==e?o:"object"==typeof e?i(e)?a(e[0],e[1]):r(e):l(e)}},function(e,t,n){var r=n(134),a=n(176),o=n(85);e.exports=function(t){var n=a(t);return 1==n.length&&n[0][2]?o(n[0][0],n[0][1]):function(e){return e===t||r(e,t,n)}}},function(e,t,n){var p=n(52),h=n(77);e.exports=function(e,t,n,r){var a=n.length,o=a,i=!r;if(null==e)return!o;for(e=Object(e);a--;){var l=n[a];if(i&&l[2]?l[1]!==e[l[0]]:!(l[0]in e))return!1}for(;++a<o;){var c=(l=n[a])[0],u=e[c],s=l[1];if(i&&l[2]){if(void 0===u&&!(c in e))return!1}else{var f,d=new p;if(!(void 0===(f=r?r(u,s,c,e,t,d):f)?h(s,u,3,r,d):f))return!1}}return!0}},function(e,t){e.exports=function(){this.__data__=[],this.size=0}},function(e,t,n){var r=n(31),a=Array.prototype.splice;e.exports=function(e){var t=this.__data__;return!((e=r(t,e))<0||(e==t.length-1?t.pop():a.call(t,e,1),--this.size,0))}},function(e,t,n){var r=n(31);e.exports=function(e){var t=this.__data__;return(e=r(t,e))<0?void 0:t[e][1]}},function(e,t,n){var r=n(31);e.exports=function(e){return-1<r(this.__data__,e)}},function(e,t,n){var a=n(31);e.exports=function(e,t){var n=this.__data__,r=a(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}},function(e,t,n){var r=n(30);e.exports=function(){this.__data__=new r,this.size=0}},function(e,t){e.exports=function(e){var t=this.__data__,e=t.delete(e);return this.size=t.size,e}},function(e,t){e.exports=function(e){return this.__data__.get(e)}},function(e,t){e.exports=function(e){return this.__data__.has(e)}},function(e,t,n){var a=n(30),o=n(54),i=n(55);e.exports=function(e,t){var n=this.__data__;if(n instanceof a){var r=n.__data__;if(!o||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new i(r)}return n.set(e,t),this.size=n.size,this}},function(e,t,n){var r=n(73),a=n(146),o=n(17),i=n(76),l=/^\[object .+?Constructor\]$/,n=Function.prototype,c=Object.prototype,n=n.toString,c=c.hasOwnProperty,u=RegExp("^"+n.call(c).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!o(e)||a(e))&&(r(e)?u:l).test(i(e))}},function(e,t,n){var n=n(147),r=(n=/[^.]+$/.exec(n&&n.keys&&n.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"";e.exports=function(e){return!!r&&r in e}},function(e,t,n){n=n(13)["__core-js_shared__"];e.exports=n},function(e,t){e.exports=function(e,t){return null==e?void 0:e[t]}},function(e,t,n){var r=n(150),a=n(30),o=n(54);e.exports=function(){this.size=0,this.__data__={hash:new r,map:new(o||a),string:new r}}},function(e,t,n){var r=n(151),a=n(152),o=n(153),i=n(154),n=n(155);function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}l.prototype.clear=r,l.prototype.delete=a,l.prototype.get=o,l.prototype.has=i,l.prototype.set=n,e.exports=l},function(e,t,n){var r=n(32);e.exports=function(){this.__data__=r?r(null):{},this.size=0}},function(e,t){e.exports=function(e){return e=this.has(e)&&delete this.__data__[e],this.size-=e?1:0,e}},function(e,t,n){var r=n(32),a=Object.prototype.hasOwnProperty;e.exports=function(e){var t,n=this.__data__;return r?"__lodash_hash_undefined__"===(t=n[e])?void 0:t:a.call(n,e)?n[e]:void 0}},function(e,t,n){var r=n(32),a=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return r?void 0!==t[e]:a.call(t,e)}},function(e,t,n){var r=n(32);e.exports=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=r&&void 0===t?"__lodash_hash_undefined__":t,this}},function(e,t,n){var r=n(33);e.exports=function(e){return e=r(this,e).delete(e),this.size-=e?1:0,e}},function(e,t){e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},function(e,t,n){var r=n(33);e.exports=function(e){return r(this,e).get(e)}},function(e,t,n){var r=n(33);e.exports=function(e){return r(this,e).has(e)}},function(e,t,n){var a=n(33);e.exports=function(e,t){var n=a(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}},function(e,t,n){var f=n(52),d=n(78),p=n(167),h=n(170),m=n(34),g=n(14),v=n(45),b=n(71),y="[object Arguments]",E="[object Array]",w="[object Object]",x=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,r,a,o){var i=g(e),l=g(t),c=i?E:m(e),l=l?E:m(t),u=(c=c==y?w:c)==w,s=(l=l==y?w:l)==w;if((l=c==l)&&v(e)){if(!v(t))return!1;u=!(i=!0)}if(l&&!u)return o=o||new f,i||b(e)?d(e,t,n,r,a,o):p(e,t,c,n,r,a,o);if(!(1&n)){i=u&&x.call(e,"__wrapped__"),c=s&&x.call(t,"__wrapped__");if(i||c)return a(i?e.value():e,c?t.value():t,n,r,o=o||new f)}return l&&(o=o||new f,h(e,t,n,r,a,o))}},function(e,t,n){var r=n(55),a=n(163),n=n(164);function o(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new r;++t<n;)this.add(e[t])}o.prototype.add=o.prototype.push=a,o.prototype.has=n,e.exports=o},function(e,t){e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},function(e,t){e.exports=function(e){return this.__data__.has(e)}},function(e,t){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}},function(e,t){e.exports=function(e,t){return e.has(t)}},function(e,t,n){var r=n(25),u=n(79),s=n(53),f=n(78),d=n(168),p=n(169),n=r?r.prototype:void 0,h=n?n.valueOf:void 0;e.exports=function(e,t,n,r,a,o,i){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return e.byteLength==t.byteLength&&o(new u(e),new u(t))?!0:!1;case"[object Boolean]":case"[object Date]":case"[object Number]":return s(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var l=d;case"[object Set]":l=l||p;if(e.size!=t.size&&!(1&r))return!1;var c=i.get(e);if(c)return c==t;r|=2,i.set(e,t);c=f(l(e),l(t),r,a,o,i);return i.delete(e),c;case"[object Symbol]":if(h)return h.call(e)==h.call(t)}return!1}},function(e,t){e.exports=function(e){var n=-1,r=Array(e.size);return e.forEach(function(e,t){r[++n]=[t,e]}),r}},function(e,t){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}},function(e,t,n){var b=n(80),y=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,r,a,o){var i=1&n,l=b(e),c=l.length;if(c!=b(t).length&&!i)return!1;for(var u=c;u--;){var s=l[u];if(!(i?s in t:y.call(t,s)))return!1}var f=o.get(e),d=o.get(t);if(f&&d)return f==t&&d==e;for(var p=!0,h=(o.set(e,t),o.set(t,e),i);++u<c;){var m,g=e[s=l[u]],v=t[s];if(!(void 0===(m=r?i?r(v,g,s,t,e,o):r(g,v,s,e,t,o):m)?g===v||a(g,v,n,r,o):m)){p=!1;break}h=h||"constructor"==s}return p&&!h&&(f=e.constructor)!=(d=t.constructor)&&"constructor"in e&&"constructor"in t&&!("function"==typeof f&&f instanceof f&&"function"==typeof d&&d instanceof d)&&(p=!1),o.delete(e),o.delete(t),p}},function(e,t){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,a=0,o=[];++n<r;){var i=e[n];t(i,n,e)&&(o[a++]=i)}return o}},function(e,t,n){n=n(21)(n(13),"DataView");e.exports=n},function(e,t,n){n=n(21)(n(13),"Promise");e.exports=n},function(e,t,n){n=n(21)(n(13),"Set");e.exports=n},function(e,t,n){n=n(21)(n(13),"WeakMap");e.exports=n},function(e,t,n){var o=n(84),i=n(26);e.exports=function(e){for(var t=i(e),n=t.length;n--;){var r=t[n],a=e[r];t[n]=[r,a,o(a)]}return t}},function(e,t,n){var a=n(77),o=n(178),i=n(184),l=n(57),c=n(84),u=n(85),s=n(36);e.exports=function(n,r){return l(n)&&c(r)?u(s(n),r):function(e){var t=o(e,n);return void 0===t&&t===r?i(e,n):a(r,t,3)}}},function(e,t,n){var r=n(86);e.exports=function(e,t,n){return void 0===(e=null==e?void 0:r(e,t))?n:e}},function(e,t,n){var n=n(180),r=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,o=/\\(\\)?/g,n=n(function(e){var a=[];return 46===e.charCodeAt(0)&&a.push(""),e.replace(r,function(e,t,n,r){a.push(n?r.replace(o,"$1"):t||e)}),a});e.exports=n},function(e,t,n){var r=n(181);e.exports=function(e){var t=(e=r(e,function(e){return 500===t.size&&t.clear(),e})).cache;return e}},function(e,t,n){var i=n(55);function l(r,a){if("function"!=typeof r||null!=a&&"function"!=typeof a)throw new TypeError("Expected a function");function o(){var e=arguments,t=a?a.apply(this,e):e[0],n=o.cache;return n.has(t)?n.get(t):(e=r.apply(this,e),o.cache=n.set(t,e)||n,e)}return o.cache=new(l.Cache||i),o}l.Cache=i,e.exports=l},function(e,t,n){var r=n(183);e.exports=function(e){return null==e?"":r(e)}},function(e,t,n){var r=n(25),a=n(75),o=n(14),i=n(35),n=r?r.prototype:void 0,l=n?n.toString:void 0;e.exports=function e(t){var n;return"string"==typeof t?t:o(t)?a(t,e)+"":i(t)?l?l.call(t):"":"0"==(n=t+"")&&1/t==-1/0?"-0":n}},function(e,t,n){var r=n(185),a=n(186);e.exports=function(e,t){return null!=e&&a(e,t,r)}},function(e,t){e.exports=function(e,t){return null!=e&&t in Object(e)}},function(e,t,n){var l=n(87),c=n(69),u=n(14),s=n(70),f=n(47),d=n(36);e.exports=function(e,t,n){for(var r=-1,a=(t=l(t,e)).length,o=!1;++r<a;){var i=d(t[r]);if(!(o=null!=e&&n(e,i)))break;e=e[i]}return o||++r!=a?o:!!(a=null==e?0:e.length)&&f(a)&&s(i,a)&&(u(e)||c(e))}},function(e,t,n){var r=n(188),a=n(189),o=n(57),i=n(36);e.exports=function(e){return o(e)?r(i(e)):a(e)}},function(e,t){e.exports=function(t){return function(e){return null==e?void 0:e[t]}}},function(e,t,n){var r=n(86);e.exports=function(t){return function(e){return r(e,t)}}},function(e,t,n){var i=n(191),l=n(29);e.exports=function(e,r){var a=-1,o=l(e)?Array(e.length):[];return i(e,function(e,t,n){o[++a]=r(e,t,n)}),o}},function(e,t,n){var r=n(67),n=n(192)(r);e.exports=n},function(e,t,n){var l=n(29);e.exports=function(o,i){return function(e,t){if(null!=e){if(!l(e))return o(e,t);for(var n=e.length,r=i?n:-1,a=Object(e);(i?r--:++r<n)&&!1!==t(a[r],r,a););}return e}}},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.mergeClasses=void 0;var a=r(n(44)),o=r(n(194)),i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n,r=arguments[t];for(n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e};function r(e){return e&&e.__esModule?e:{default:e}}n=t.mergeClasses=function(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:[],r=t.default&&(0,o.default)(t.default)||{};return e.map(function(e){var n=t[e];return n&&(0,a.default)(n,function(e,t){r[t]||(r[t]={}),r[t]=i({},r[t],n[t])}),e}),r};t.default=n},function(e,t,n){var r=n(195);e.exports=function(e){return r(e,5)}},function(e,t,n){var h=n(52),m=n(196),g=n(88),v=n(198),b=n(199),y=n(202),E=n(203),w=n(204),x=n(205),C=n(80),_=n(206),P=n(34),k=n(207),S=n(208),R=n(213),I=n(14),O=n(45),F=n(215),A=n(17),j=n(217),L=n(26),T=n(58),M="[object Arguments]",N="[object Function]",B="[object Object]",V={};V[M]=V["[object Array]"]=V["[object ArrayBuffer]"]=V["[object DataView]"]=V["[object Boolean]"]=V["[object Date]"]=V["[object Float32Array]"]=V["[object Float64Array]"]=V["[object Int8Array]"]=V["[object Int16Array]"]=V["[object Int32Array]"]=V["[object Map]"]=V["[object Number]"]=V[B]=V["[object RegExp]"]=V["[object Set]"]=V["[object String]"]=V["[object Symbol]"]=V["[object Uint8Array]"]=V["[object Uint8ClampedArray]"]=V["[object Uint16Array]"]=V["[object Uint32Array]"]=!0,V["[object Error]"]=V[N]=V["[object WeakMap]"]=!1,e.exports=function n(r,a,o,e,t,i){var l,c=1&a,u=2&a,s=4&a;if(void 0===(l=o?t?o(r,e,t,i):o(r):l)){if(!A(r))return r;if(e=I(r)){if(l=k(r),!c)return E(r,l)}else{var f=P(r),d=f==N||"[object GeneratorFunction]"==f;if(O(r))return y(r,c);if(f==B||f==M||d&&!t){if(l=u||d?{}:R(r),!c)return u?x(r,b(l,r)):w(r,v(l,r))}else{if(!V[f])return t?r:{};l=S(r,f,c)}}if(d=(i=i||new h).get(r))return d;i.set(r,l),j(r)?r.forEach(function(e){l.add(n(e,a,o,e,r,i))}):F(r)&&r.forEach(function(e,t){l.set(t,n(e,a,o,t,r,i))});var p=e?void 0:(s?u?_:C:u?T:L)(r);m(p||r,function(e,t){p&&(e=r[t=e]),g(l,t,n(e,a,o,t,r,i))})}return l}},function(e,t){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e}},function(e,t,n){var r=n(21),n=(()=>{try{var e=r(Object,"defineProperty");return e({},"",{}),e}catch(e){}})();e.exports=n},function(e,t,n){var r=n(37),a=n(26);e.exports=function(e,t){return e&&r(t,a(t),e)}},function(e,t,n){var r=n(37),a=n(58);e.exports=function(e,t){return e&&r(t,a(t),e)}},function(e,t,n){var a=n(17),o=n(50),i=n(201),l=Object.prototype.hasOwnProperty;e.exports=function(e){if(!a(e))return i(e);var t,n=o(e),r=[];for(t in e)("constructor"!=t||!n&&l.call(e,t))&&r.push(t);return r}},function(e,t){e.exports=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}},function(e,o,i){!function(e){var t=i(13),n=o&&!o.nodeType&&o,r=n&&"object"==typeof e&&e&&!e.nodeType&&e,r=r&&r.exports===n?t.Buffer:void 0,a=r?r.allocUnsafe:void 0;e.exports=function(e,t){return t?e.slice():(t=e.length,t=a?a(t):new e.constructor(t),e.copy(t),t)}}.call(this,i(46)(e))},function(e,t){e.exports=function(e,t){var n=-1,r=e.length;for(t=t||Array(r);++n<r;)t[n]=e[n];return t}},function(e,t,n){var r=n(37),a=n(56);e.exports=function(e,t){return r(e,a(e),t)}},function(e,t,n){var r=n(37),a=n(90);e.exports=function(e,t){return r(e,a(e),t)}},function(e,t,n){var r=n(81),a=n(90),o=n(58);e.exports=function(e){return r(e,o,a)}},function(e,t){var r=Object.prototype.hasOwnProperty;e.exports=function(e){var t=e.length,n=new e.constructor(t);return t&&"string"==typeof e[0]&&r.call(e,"index")&&(n.index=e.index,n.input=e.input),n}},function(e,t,n){var a=n(59),o=n(209),i=n(210),l=n(211),c=n(212);e.exports=function(e,t,n){var r=e.constructor;switch(t){case"[object ArrayBuffer]":return a(e);case"[object Boolean]":case"[object Date]":return new r(+e);case"[object DataView]":return o(e,n);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return c(e,n);case"[object Map]":return new r;case"[object Number]":case"[object String]":return new r(e);case"[object RegExp]":return i(e);case"[object Set]":return new r;case"[object Symbol]":return l(e)}}},function(e,t,n){var r=n(59);e.exports=function(e,t){return t=t?r(e.buffer):e.buffer,new e.constructor(t,e.byteOffset,e.byteLength)}},function(e,t){var n=/\w*$/;e.exports=function(e){var t=new e.constructor(e.source,n.exec(e));return t.lastIndex=e.lastIndex,t}},function(e,t,n){var n=n(25),n=n?n.prototype:void 0,r=n?n.valueOf:void 0;e.exports=function(e){return r?Object(r.call(e)):{}}},function(e,t,n){var r=n(59);e.exports=function(e,t){return t=t?r(e.buffer):e.buffer,new e.constructor(t,e.byteOffset,e.length)}},function(e,t,n){var r=n(214),a=n(51),o=n(50);e.exports=function(e){return"function"!=typeof e.constructor||o(e)?{}:r(a(e))}},function(e,t,n){var r=n(17),a=Object.create;function o(){}e.exports=function(e){if(!r(e))return{};if(a)return a(e);o.prototype=e;e=new o;return o.prototype=void 0,e}},function(e,t,n){var r=n(216),a=n(48),n=n(49),n=n&&n.isMap,a=n?a(n):r;e.exports=a},function(e,t,n){var r=n(34),a=n(15);e.exports=function(e){return a(e)&&"[object Map]"==r(e)}},function(e,t,n){var r=n(218),a=n(48),n=n(49),n=n&&n.isSet,a=n?a(n):r;e.exports=a},function(e,t,n){var r=n(34),a=n(15);e.exports=function(e){return a(e)&&"[object Set]"==r(e)}},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.autoprefix=void 0;var n=n(44),a=(n=n)&&n.__esModule?n:{default:n},o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n,r=arguments[t];for(n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e};var i={borderRadius:function(e){return{msBorderRadius:e,MozBorderRadius:e,OBorderRadius:e,WebkitBorderRadius:e,borderRadius:e}},boxShadow:function(e){return{msBoxShadow:e,MozBoxShadow:e,OBoxShadow:e,WebkitBoxShadow:e,boxShadow:e}},userSelect:function(e){return{WebkitTouchCallout:e,KhtmlUserSelect:e,MozUserSelect:e,msUserSelect:e,WebkitUserSelect:e,userSelect:e}},flex:function(e){return{WebkitBoxFlex:e,MozBoxFlex:e,WebkitFlex:e,msFlex:e,flex:e}},flexBasis:function(e){return{WebkitFlexBasis:e,flexBasis:e}},justifyContent:function(e){return{WebkitJustifyContent:e,justifyContent:e}},transition:function(e){return{msTransition:e,MozTransition:e,OTransition:e,WebkitTransition:e,transition:e}},transform:function(e){return{msTransform:e,MozTransform:e,OTransform:e,WebkitTransform:e,transform:e}},absolute:function(e){e=e&&e.split(" ");return{position:"absolute",top:e&&e[0],right:e&&e[1],bottom:e&&e[2],left:e&&e[3]}},extend:function(e,t){t=t[e];return t||{extend:e}}},n=t.autoprefix=function(e){var n={};return(0,a.default)(e,function(e,t){var r={};(0,a.default)(e,function(e,t){var n=i[t];n?r=o({},r,n(e)):r[t]=e}),n[t]=r}),n};t.default=n},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.hover=void 0;var u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n,r=arguments[t];for(n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},n=n(0),s=(n=n)&&n.__esModule?n:{default:n};function f(e,t){if(e)return!t||"object"!=typeof t&&"function"!=typeof t?e:t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}n=t.hover=function(i){var l=1<arguments.length&&void 0!==arguments[1]?arguments[1]:"span",e=s.default.Component,t=c;if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);function c(){var e,t=this,n=c;if(!(t instanceof n))throw new TypeError("Cannot call a class as a function");for(var r=arguments.length,a=Array(r),o=0;o<r;o++)a[o]=arguments[o];return(n=e=f(this,(t=c.__proto__||Object.getPrototypeOf(c)).call.apply(t,[this].concat(a)))).state={hover:!1},e.handleMouseOver=function(){return e.setState({hover:!0})},e.handleMouseOut=function(){return e.setState({hover:!1})},e.render=function(){return s.default.createElement(l,{onMouseOver:e.handleMouseOver,onMouseOut:e.handleMouseOut},s.default.createElement(i,u({},e.props,e.state)))},f(e,n)}return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e),c};t.default=n},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.active=void 0;var u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n,r=arguments[t];for(n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},n=n(0),s=(n=n)&&n.__esModule?n:{default:n};function f(e,t){if(e)return!t||"object"!=typeof t&&"function"!=typeof t?e:t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}n=t.active=function(i){var l=1<arguments.length&&void 0!==arguments[1]?arguments[1]:"span",e=s.default.Component,t=c;if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);function c(){var e,t=this,n=c;if(!(t instanceof n))throw new TypeError("Cannot call a class as a function");for(var r=arguments.length,a=Array(r),o=0;o<r;o++)a[o]=arguments[o];return(n=e=f(this,(t=c.__proto__||Object.getPrototypeOf(c)).call.apply(t,[this].concat(a)))).state={active:!1},e.handleMouseDown=function(){return e.setState({active:!0})},e.handleMouseUp=function(){return e.setState({active:!1})},e.render=function(){return s.default.createElement(l,{onMouseDown:e.handleMouseDown,onMouseUp:e.handleMouseUp},s.default.createElement(i,u({},e.props,e.state)))},f(e,n)}return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e),c};t.default=n},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});t.default=function(e,t){function n(e){r[e]=!(1<arguments.length&&void 0!==arguments[1])||arguments[1]}var r={};return 0===e&&n("first-child"),e===t-1&&n("last-child"),0!==e&&e%2!=0||n("even"),1===Math.abs(e%2)&&n("odd"),n("nth-child",e),r}},function(e,t,n){var i=n(224);function r(){}function a(){}a.resetWarningCache=r,e.exports=function(){function e(e,t,n,r,a,o){if(o!==i)throw(o=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types")).name="Invariant Violation",o}function t(){return e}var n={array:e.isRequired=e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:a,resetWarningCache:r};return n.PropTypes=n}},function(e,t,n){e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){
    4848/**
    4949 * @license React
     
    5555 * LICENSE file in the root directory of this source tree.
    5656 */
    57 n=n(0);var s="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},a=n.useSyncExternalStore,o=n.useRef,f=n.useEffect,d=n.useMemo,p=n.useDebugValue;t.useSyncExternalStoreWithSelector=function(e,n,i,l,c){var u,t=o(null),r=(null===t.current?(u={hasValue:!1,value:null},t.current=u):u=t.current,t=d(function(){function e(e){var t;if(o)return n=a,s(r,e)||(t=l(e),void 0!==c&&c(n,t))?n:(r=e,a=t);if(o=!0,e=l(r=e),void 0!==c&&u.hasValue){var n=u.value;if(c(n,e))return a=n}return a=e}var r,a,o=!1,t=void 0===i?null:i;return[function(){return e(n())},null===t?void 0:function(){return e(t())}]},[n,i,l,c]),a(e,t[0],t[1]));return f(function(){u.hasValue=!0,u.value=r},[r]),p(r),r}},function(e,t,n){var r=n(13);e.exports=function(){return r.Date.now()}},function(e,t,n){var r=n(228),a=n(17),o=n(35),i=/^[-+]0x[0-9a-f]+$/i,l=/^0b[01]+$/i,c=/^0o[0-7]+$/i,u=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(o(e))return NaN;if(a(e)&&(t="function"==typeof e.valueOf?e.valueOf():e,e=a(t)?t+"":t),"string"!=typeof e)return 0===e?e:+e;e=r(e);var t=l.test(e);return t||c.test(e)?u(e.slice(2),t?2:8):i.test(e)?NaN:+e}},function(e,t,n){var r=n(229),a=/^\s+/;e.exports=function(e){return e&&e.slice(0,r(e)+1).replace(a,"")}},function(e,t){var n=/\s/;e.exports=function(e){for(var t=e.length;t--&&n.test(e.charAt(t)););return t}},function(e,t,n){var r,a,o=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}))(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var a=Object.getOwnPropertyDescriptor(t,n);a&&("get"in a?t.__esModule:!a.writable&&!a.configurable)||(a={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,a)}:function(e,t,n,r){e[r=void 0===r?n:r]=t[n]}),l=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),c=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&i(t,e,n);return l(t,e),t},h=this&&this.__spreadArray||function(e,t,n){if(n||2===arguments.length)for(var r,a=0,o=t.length;a<o;a++)!r&&a in t||((r=r||Array.prototype.slice.call(t,0,a))[a]=t[a]);return e.concat(r||Array.prototype.slice.call(t))},u=(Object.defineProperty(t,"__esModule",{value:!0}),c(n(0))),x=n(91),C=n(61),s=["ArrowRight","ArrowUp","k","PageUp"],f=["ArrowLeft","ArrowDown","j","PageDown"],c=(a=u.Component,o(d,a),d.prototype.componentDidMount=function(){var t=this,e=this.props,n=e.values,r=e.min,a=e.step;this.resizeObserver=window.ResizeObserver?new window.ResizeObserver(this.onResize):{observe:function(){return window.addEventListener("resize",t.onResize)},unobserve:function(){return window.removeEventListener("resize",t.onResize)}},document.addEventListener("touchstart",this.onMouseOrTouchStart,{passive:!1}),document.addEventListener("mousedown",this.onMouseOrTouchStart,{passive:!1}),this.props.allowOverlap||(0,x.checkInitialOverlap)(this.props.values),this.props.values.forEach(function(e){return(0,x.checkBoundaries)(e,t.props.min,t.props.max)}),this.resizeObserver.observe(this.trackRef.current),(0,x.translateThumbs)(this.getThumbs(),this.getOffsets(),this.props.rtl),this.calculateMarkOffsets(),n.forEach(function(e){(0,x.isStepDivisible)(r,e,a)||console.warn("The `values` property is in conflict with the current `step`, `min`, and `max` properties. Please provide values that are accessible using the min, max, and step values.")})},d.prototype.componentDidUpdate=function(e,t){var n=this.props,r=n.max,a=n.min,o=n.step,i=n.values,n=n.rtl;e.max===r&&e.min===a&&e.step===o||this.updateMarkRefs(this.props),(0,x.translateThumbs)(this.getThumbs(),this.getOffsets(),n),e.max===r&&e.min===a&&e.step===o&&t.markOffsets.length===this.state.markOffsets.length||(this.calculateMarkOffsets(),i.forEach(function(e){(0,x.isStepDivisible)(a,e,o)||console.warn("The `values` property is in conflict with the current `step`, `min`, and `max` properties. Please provide values that are accessible using the min, max, and step values.")}))},d.prototype.componentWillUnmount=function(){document.removeEventListener("mousedown",this.onMouseOrTouchStart,{passive:!1}),document.removeEventListener("mousemove",this.schdOnMouseMove),document.removeEventListener("touchmove",this.schdOnTouchMove),document.removeEventListener("touchstart",this.onMouseOrTouchStart),document.removeEventListener("mouseup",this.schdOnEnd),document.removeEventListener("touchend",this.schdOnEnd),this.resizeObserver.unobserve(this.trackRef.current)},d.prototype.render=function(){var r=this,e=this.props,a=e.label,o=e.labelledBy,t=e.renderTrack,i=e.renderThumb,n=e.renderMark,l=void 0===n?function(){return null}:n,c=e.values,u=e.min,s=e.max,f=e.allowOverlap,d=e.disabled,n=this.state,e=n.draggedThumbIndex,p=n.thumbZIndexes,n=n.markOffsets;return t({props:{style:{transform:"scale(1)",cursor:-1<e?"grabbing":this.props.draggableTrack?(0,x.isVertical)(this.props.direction)?"ns-resize":"ew-resize":1!==c.length||d?"inherit":"pointer"},onMouseDown:d?x.voidFn:this.onMouseDownTrack,onTouchStart:d?x.voidFn:this.onTouchStartTrack,ref:this.trackRef},isDragged:-1<this.state.draggedThumbIndex,disabled:d,children:h(h([],n.map(function(e,t,n){return l({props:{style:r.props.direction===C.Direction.Left||r.props.direction===C.Direction.Right?{position:"absolute",left:"".concat(e[0],"px"),marginTop:"".concat(e[1],"px")}:{position:"absolute",top:"".concat(e[0],"px"),marginLeft:"".concat(e[1],"px")},key:"mark".concat(t),ref:r.markRefs[t]},index:t})}),!0),c.map(function(e,t){var n=r.state.draggedThumbIndex===t;return i({index:t,value:e,isDragged:n,props:{style:{position:"absolute",zIndex:p[t],cursor:d?"inherit":n?"grabbing":"grab",userSelect:"none",touchAction:"none",WebkitUserSelect:"none",MozUserSelect:"none",msUserSelect:"none"},key:t,tabIndex:d?void 0:0,"aria-valuemax":!f&&c[t+1]||s,"aria-valuemin":!f&&c[t-1]||u,"aria-valuenow":e,draggable:!1,ref:r.thumbRefs[t],"aria-label":a,"aria-labelledby":o,role:"slider",onKeyDown:d?x.voidFn:r.onKeyDown,onKeyUp:d?x.voidFn:r.onKeyUp}})}),!0)})},d.defaultProps={label:"Accessibility label",labelledBy:null,step:1,direction:C.Direction.Right,rtl:!1,disabled:!1,allowOverlap:!1,draggableTrack:!1,min:0,max:100},d);function d(e){var w=a.call(this,e)||this;if(w.trackRef=u.createRef(),w.thumbRefs=[],w.state={draggedTrackPos:[-1,-1],draggedThumbIndex:-1,thumbZIndexes:new Array(w.props.values.length).fill(0).map(function(e,t){return t}),isChanged:!1,markOffsets:[]},w.getOffsets=function(){var o,i,e=w.props,l=e.direction,c=e.values,u=e.min,s=e.max,e=w.trackRef.current;return e?(o=e.getBoundingClientRect(),i=(0,x.getPaddingAndBorder)(e),w.getThumbs().map(function(e,t){var n={x:0,y:0},r=e.getBoundingClientRect(),a=(0,x.getMargin)(e);switch(l){case C.Direction.Right:return n.x=-1*(a.left+i.left),n.y=-1*((r.height-o.height)/2+i.top),n.x+=o.width*(0,x.relativeValue)(c[t],u,s)-r.width/2,n;case C.Direction.Left:return n.x=-1*(a.right+i.right),n.y=-1*((r.height-o.height)/2+i.top),n.x+=o.width-o.width*(0,x.relativeValue)(c[t],u,s)-r.width/2,n;case C.Direction.Up:return n.x=-1*((r.width-o.width)/2+a.left+i.left),n.y=-i.left,n.y+=o.height-o.height*(0,x.relativeValue)(c[t],u,s)-r.height/2,n;case C.Direction.Down:return n.x=-1*((r.width-o.width)/2+a.left+i.left),n.y=-i.left,n.y+=o.height*(0,x.relativeValue)(c[t],u,s)-r.height/2,n;default:return(0,x.assertUnreachable)(l)}})):(console.warn("No track element found."),[])},w.getThumbs=function(){return w.trackRef&&w.trackRef.current?Array.from(w.trackRef.current.children).filter(function(e){return e.hasAttribute("aria-valuenow")}):(console.warn("No thumbs found in the track container. Did you forget to pass & spread the `props` param in renderTrack?"),[])},w.getTargetIndex=function(t){return w.getThumbs().findIndex(function(e){return e===t.target||e.contains(t.target)})},w.addTouchEvents=function(e){document.addEventListener("touchmove",w.schdOnTouchMove,{passive:!1}),document.addEventListener("touchend",w.schdOnEnd,{passive:!1}),document.addEventListener("touchcancel",w.schdOnEnd,{passive:!1})},w.addMouseEvents=function(e){document.addEventListener("mousemove",w.schdOnMouseMove),document.addEventListener("mouseup",w.schdOnEnd)},w.onMouseDownTrack=function(t){var e,n;0!==t.button||(0,x.isIOS)()||(t.persist(),t.preventDefault(),w.addMouseEvents(t.nativeEvent),1<w.props.values.length&&w.props.draggableTrack?w.thumbRefs.some(function(e){return null==(e=e.current)?void 0:e.contains(t.target)})||w.setState({draggedTrackPos:[t.clientX,t.clientY]},function(){return w.onMove(t.clientX,t.clientY)}):(n=(0,x.getClosestThumbIndex)(w.thumbRefs.map(function(e){return e.current}),t.clientX,t.clientY,w.props.direction),null!=(e=w.thumbRefs[n].current)&&e.focus(),w.setState({draggedThumbIndex:n},function(){return w.onMove(t.clientX,t.clientY)})))},w.onResize=function(){(0,x.translateThumbs)(w.getThumbs(),w.getOffsets(),w.props.rtl),w.calculateMarkOffsets()},w.onTouchStartTrack=function(t){var e,n;t.persist(),w.addTouchEvents(t.nativeEvent),1<w.props.values.length&&w.props.draggableTrack?w.thumbRefs.some(function(e){return null==(e=e.current)?void 0:e.contains(t.target)})||w.setState({draggedTrackPos:[t.touches[0].clientX,t.touches[0].clientY]},function(){return w.onMove(t.touches[0].clientX,t.touches[0].clientY)}):(n=(0,x.getClosestThumbIndex)(w.thumbRefs.map(function(e){return e.current}),t.touches[0].clientX,t.touches[0].clientY,w.props.direction),null!=(e=w.thumbRefs[n].current)&&e.focus(),w.setState({draggedThumbIndex:n},function(){return w.onMove(t.touches[0].clientX,t.touches[0].clientY)}))},w.onMouseOrTouchStart=function(e){var t,n;w.props.disabled||!(t=(0,x.isTouchEvent)(e))&&0!==e.button||-1===(n=w.getTargetIndex(e))||(t?w.addTouchEvents(e):w.addMouseEvents(e),w.setState({draggedThumbIndex:n,thumbZIndexes:w.state.thumbZIndexes.map(function(e,t){return t===n?Math.max.apply(Math,w.state.thumbZIndexes):e<=w.state.thumbZIndexes[n]?e:e-1})}))},w.onMouseMove=function(e){e.preventDefault(),w.onMove(e.clientX,e.clientY)},w.onTouchMove=function(e){e.preventDefault(),w.onMove(e.touches[0].clientX,e.touches[0].clientY)},w.onKeyDown=function(e){var t=w.props,n=t.values,r=t.onChange,a=t.step,o=t.rtl,t=t.direction,i=w.state.isChanged,l=w.getTargetIndex(e.nativeEvent),o=o||t===C.Direction.Left||t===C.Direction.Down?-1:1;-1!==l&&(s.includes(e.key)?(e.preventDefault(),w.setState({draggedThumbIndex:l,isChanged:!0}),r((0,x.replaceAt)(n,l,w.normalizeValue(n[l]+o*("PageUp"===e.key?10*a:a),l)))):f.includes(e.key)?(e.preventDefault(),w.setState({draggedThumbIndex:l,isChanged:!0}),r((0,x.replaceAt)(n,l,w.normalizeValue(n[l]-o*("PageDown"===e.key?10*a:a),l)))):"Tab"===e.key?w.setState({draggedThumbIndex:-1},function(){i&&w.fireOnFinalChange()}):i&&w.fireOnFinalChange())},w.onKeyUp=function(e){var t=w.state.isChanged;w.setState({draggedThumbIndex:-1},function(){t&&w.fireOnFinalChange()})},w.onMove=function(e,t){var n=w.state,r=n.draggedThumbIndex,n=n.draggedTrackPos,a=w.props,o=a.direction,i=a.min,l=a.max,c=a.onChange,u=a.values,s=a.step,a=a.rtl;if(-1===r&&-1===n[0]&&-1===n[1])return null;var f=w.trackRef.current;if(!f)return null;var d=f.getBoundingClientRect(),p=(0,x.isVertical)(o)?d.height:d.width;if(-1!==n[0]&&-1!==n[1]){var h=e-n[0],m=t-n[1],g=0;switch(o){case C.Direction.Right:case C.Direction.Left:g=h/p*(l-i);break;case C.Direction.Down:case C.Direction.Up:g=m/p*(l-i);break;default:(0,x.assertUnreachable)(o)}if(a&&(g*=-1),Math.abs(g)>=s/2){for(var v=0;v<w.thumbRefs.length;v++){if(u[v]===l&&1===Math.sign(g)||u[v]===i&&-1===Math.sign(g))return;var b=u[v]+g;l<b?g=l-u[v]:b<i&&(g=i-u[v])}for(var y=u.slice(0),v=0;v<w.thumbRefs.length;v++)y=(0,x.replaceAt)(y,v,w.normalizeValue(u[v]+g,v));w.setState({draggedTrackPos:[e,t]}),c(y)}}else{var E=0;switch(o){case C.Direction.Right:E=(e-d.left)/p*(l-i)+i;break;case C.Direction.Left:E=(p-(e-d.left))/p*(l-i)+i;break;case C.Direction.Down:E=(t-d.top)/p*(l-i)+i;break;case C.Direction.Up:E=(p-(t-d.top))/p*(l-i)+i;break;default:(0,x.assertUnreachable)(o)}a&&(E=l+i-E),Math.abs(u[r]-E)>=s/2&&c((0,x.replaceAt)(u,r,w.normalizeValue(E,r)))}},w.normalizeValue=function(e,t){var n=w.props,r=n.min;return(0,x.normalizeValue)(e,t,r,n.max,n.step,n.allowOverlap,n.values)},w.onEnd=function(e){if(e.preventDefault(),document.removeEventListener("mousemove",w.schdOnMouseMove),document.removeEventListener("touchmove",w.schdOnTouchMove),document.removeEventListener("mouseup",w.schdOnEnd),document.removeEventListener("touchend",w.schdOnEnd),document.removeEventListener("touchcancel",w.schdOnEnd),-1===w.state.draggedThumbIndex&&-1===w.state.draggedTrackPos[0]&&-1===w.state.draggedTrackPos[1])return null;w.setState({draggedThumbIndex:-1,draggedTrackPos:[-1,-1]},function(){w.fireOnFinalChange()})},w.fireOnFinalChange=function(){w.setState({isChanged:!1});var e=w.props,t=e.onFinalChange;t&&t(e.values)},w.updateMarkRefs=function(e){if(e.renderMark){w.numOfMarks=(e.max-e.min)/w.props.step,w.markRefs=[];for(var t=0;t<w.numOfMarks+1;t++)w.markRefs[t]=u.createRef()}else w.numOfMarks=void 0,w.markRefs=void 0},w.calculateMarkOffsets=function(){if(w.props.renderMark&&w.trackRef&&w.numOfMarks&&w.markRefs&&null!==w.trackRef.current){for(var e=window.getComputedStyle(w.trackRef.current),t=parseInt(e.width,10),n=parseInt(e.height,10),r=parseInt(e.paddingLeft,10),a=parseInt(e.paddingTop,10),o=[],i=0;i<w.numOfMarks+1;i++){var l,c=9999,u=9999;w.markRefs[i].current&&(c=(l=w.markRefs[i].current.getBoundingClientRect()).height,u=l.width),w.props.direction===C.Direction.Left||w.props.direction===C.Direction.Right?o.push([Math.round(t/w.numOfMarks*i+r-u/2),-Math.round((c-n)/2)]):o.push([Math.round(n/w.numOfMarks*i+a-c/2),-Math.round((u-t)/2)])}w.setState({markOffsets:o})}},0===e.step)throw new Error('"step" property should be a positive number');return w.schdOnMouseMove=(0,x.schd)(w.onMouseMove),w.schdOnTouchMove=(0,x.schd)(w.onTouchMove),w.schdOnEnd=(0,x.schd)(w.onEnd),w.thumbRefs=e.values.map(function(){return u.createRef()}),w.updateMarkRefs(e),w}t.default=c},,,,function(N,e,t){t.r(e);function p(e){var t=void 0===(t=e.title)?"":t,n=e.icon,r=e.leftIcon,a=e.isActive,o=void 0===(o=e.type)?"primary":o,i=e.small,l=e.onClick,c=void 0===l?function(){}:l,u=void 0!==(l=e.link)&&l,s=void 0!==(l=e.target)&&l,e=void 0!==(l=e.disabled)&&l,o=X()((l={},g()(g()(g()(g()(g()(g()(g()(g()(g()(g()(l,v.VIRFICE_APP_PREFIX+"-btn",!0),v.VIRFICE_APP_PREFIX+"-btn-primary","primary"===o),v.VIRFICE_APP_PREFIX+"-btn-outline","outline"===o),v.VIRFICE_APP_PREFIX+"-btn-danger","danger"===o),v.VIRFICE_APP_PREFIX+"-btn-secondary","secondary"===o),v.VIRFICE_APP_PREFIX+"-btn-tertiary","tertiary"===o),v.VIRFICE_APP_PREFIX+"-btn-plain","plain"===o),v.VIRFICE_APP_PREFIX+"-active",a),v.VIRFICE_APP_PREFIX+"-icon",n),v.VIRFICE_APP_PREFIX+"-small",i),g()(l,"label__mediumprominent",!0)));return m.a.createElement("button",{className:o,onClick:function(e){e.stopPropagation(),!1!==u&&("_blank"===s?window.open(u,s):window.location.href=u),c&&c()},disabled:e},r,n,t)}function B(e){var t=e.children,e=e.size1280,n=X()(g()({},v.VIRFICE_APP_PREFIX+"-container",!0)),r={};return e&&(r.width=1280),m.a.createElement("div",{className:n,style:r},t)}function l(e){var t=e.children,n=void 0!==(n=e.className)&&n,r=void 0===(r=e.style)?{}:r,e=void 0!==(e=e.zeroPadding)&&e,e=X()(g()(g()({},v.VIRFICE_APP_PREFIX+"-card",!0),v.VIRFICE_APP_PREFIX+"-padding-0",!0===e),n);return m.a.createElement("div",{className:e,style:r},t)}function V(e){var t=e.heading,n=e.subHeading,r=e.ActionButton,e=e.Illustration;return m.a.createElement(l,{className:"".concat(v.VIRFICE_APP_PREFIX,"-callout-card ").concat(v.VIRFICE_APP_PREFIX,"-flex-space-between")},m.a.createElement("div",null,m.a.createElement("h2",{className:"".concat(v.VIRFICE_APP_PREFIX,"-heading")},t),m.a.createElement("p",{className:"".concat(v.VIRFICE_APP_PREFIX,"-sub-heading")},n),r),m.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-illustration-wrapper")},e))}function D(e){var t=e.title,e=e.Illustration;return m.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-feature-list-item ").concat(v.VIRFICE_APP_PREFIX,"-flex-col ").concat(v.VIRFICE_APP_PREFIX,"-gap-4")},m.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-illustration-wrapper")},e),m.a.createElement("p",{className:"".concat(v.VIRFICE_APP_PREFIX,"-title")},t))}var e={},z=(t.r(e),t.d(e,"hasBrowserEnv",function(){return te}),t.d(e,"hasStandardBrowserWebWorkerEnv",function(){return ae}),t.d(e,"hasStandardBrowserEnv",function(){return re}),t.d(e,"navigator",function(){return ne}),t.d(e,"origin",function(){return oe}),t(92)),z=t.n(z),h=t(0),m=t.n(h),n=t(6),g=t.n(n),n=t(8),X=t.n(n),v=t(1),n=t(93),H=t.n(n),n=t(5),b=t.n(n),n=t(62),U=t.n(n),n=t(12),r=Object(n.b)({name:v.VIRFICE_APP_PREFIX,initialState:{value:0},reducers:{increment:function(e){e.value+=1},decrement:function(e){--e.value},incrementByAmount:function(e,t){e.value+=t.payload}}}),a=r.actions,W=(a.increment,a.incrementByAmount),a=r.reducer,C=t(2),Z=t(38),$=t(19);function q(e){let t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(e){return t[e]})}function Y(e,t){this._pairs=[],e&&Object($.a)(e,this,t)}var r=Y.prototype,G=(r.append=function(e,t){this._pairs.push([e,t])},r.toString=function(t){let n=t?function(e){return t.call(this,e,q)}:q;return this._pairs.map(function(e){return n(e[0])+"="+n(e[1])},"").join("&")},Y);function K(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Q(t,n,r){if(n){var a=r&&r.encode||K,o=r&&r.serialize;let e;(e=o?o(n,r):C.a.isURLSearchParams(n)?n.toString():new G(n,r).toString(a))&&(-1!==(o=t.indexOf("#"))&&(t=t.slice(0,o)),t+=(-1===t.indexOf("?")?"?":"&")+e)}return t}var J=class{constructor(){this.handlers=[]}use(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){C.a.forEach(this.handlers,function(e){null!==e&&t(e)})}},_=t(7),ee={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},r={isBrowser:!0,classes:{URLSearchParams:"undefined"!=typeof URLSearchParams?URLSearchParams:G,FormData:"undefined"!=typeof FormData?FormData:null,Blob:"undefined"!=typeof Blob?Blob:null},protocols:["http","https","file","blob","url","data"]};let te="undefined"!=typeof window&&"undefined"!=typeof document,ne="object"==typeof navigator&&navigator||void 0,re=te&&(!ne||["ReactNative","NativeScript","NS"].indexOf(ne.product)<0),ae="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,oe=te&&window.location.href||"http://localhost";var ie={...e,...r};var le=function(e){function l(e,t,n,r){var a,o,i;return"__proto__"===(i=e[r++])||(a=Number.isFinite(+i),o=r>=e.length,i=!i&&C.a.isArray(n)?n.length:i,o?C.a.hasOwnProp(n,i)?n[i]=[n[i],t]:n[i]=t:(n[i]&&C.a.isObject(n[i])||(n[i]=[]),l(e,t,n[i],r)&&C.a.isArray(n[i])&&(n[i]=(e=>{var t={},n=Object.keys(e);let r;var a,o=n.length;for(r=0;r<o;r++)t[a=n[r]]=e[a];return t})(n[i]))),!a)}if(C.a.isFormData(e)&&C.a.isFunction(e.entries)){let n={};return C.a.forEachEntry(e,(e,t)=>{l(C.a.matchAll(/\w+|\[(\w*)]/g,e).map(e=>"[]"===e[0]?"":e[1]||e[0]),t,n,0)}),n}return null};let ce={transitional:ee,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){var n,r=t.getContentType()||"",a=-1<r.indexOf("application/json"),o=C.a.isObject(e),i=(o&&C.a.isHTMLForm(e)&&(e=new FormData(e)),C.a.isFormData(e));if(i)return a?JSON.stringify(le(e)):e;if(!(C.a.isArrayBuffer(e)||C.a.isBuffer(e)||C.a.isStream(e)||C.a.isFile(e)||C.a.isBlob(e)||C.a.isReadableStream(e))){if(C.a.isArrayBufferView(e))return e.buffer;if(C.a.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();if(o){if(-1<r.indexOf("application/x-www-form-urlencoded"))return i=e,n=this.formSerializer,Object($.a)(i,new ie.classes.URLSearchParams,Object.assign({visitor:function(e,t,n,r){return ie.isNode&&C.a.isBuffer(e)?(this.append(t,e.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)}},n)).toString();if((i=C.a.isFileList(e))||-1<r.indexOf("multipart/form-data"))return n=this.env&&this.env.FormData,Object($.a)(i?{"files[]":e}:e,n&&new n,this.formSerializer)}if(o||a){t.setContentType("application/json",!1);r=e,i=void 0,o=void 0;if(C.a.isString(r))try{return(i||JSON.parse)(r),C.a.trim(r)}catch(e){if("SyntaxError"!==e.name)throw e}return(o||JSON.stringify)(r)}}return e}],transformResponse:[function(e){var t=this.transitional||ce.transitional,n=t&&t.forcedJSONParsing,r="json"===this.responseType;if(!C.a.isResponse(e)&&!C.a.isReadableStream(e)&&e&&C.a.isString(e)&&(n&&!this.responseType||r)){n=!(t&&t.silentJSONParsing)&&r;try{return JSON.parse(e)}catch(e){if(n){if("SyntaxError"===e.name)throw _.a.from(e,_.a.ERR_BAD_RESPONSE,this,null,this.response);throw e}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:ie.classes.FormData,Blob:ie.classes.Blob},validateStatus:function(e){return 200<=e&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};C.a.forEach(["delete","get","head","post","put","patch"],e=>{ce.headers[e]={}});var ue=ce;let se=C.a.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]);let fe=Symbol("internals");function de(e){return e&&String(e).trim().toLowerCase()}function pe(e){return!1===e||null==e?e:C.a.isArray(e)?e.map(pe):String(e)}function he(e,t,n,r,a){return C.a.isFunction(r)?r.call(this,t,n):C.a.isString(t=a?n:t)&&(C.a.isString(r)?-1!==t.indexOf(r):C.a.isRegExp(r)&&r.test(t))}class me{constructor(e){e&&this.set(e)}set(e,t,n){let a=this;function r(e,t,n){var r=de(t);if(!r)throw new Error("header name must be a non-empty string");r=C.a.findKey(a,r);r&&void 0!==a[r]&&!0!==n&&(void 0!==n||!1===a[r])||(a[r||t]=pe(e))}var o=(e,n)=>C.a.forEach(e,(e,t)=>r(e,t,n));if(C.a.isPlainObject(e)||e instanceof this.constructor)o(e,t);else if(C.a.isString(e)&&(e=e.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim()))o((e=>{let t={},n,r,a;return e&&e.split("\n").forEach(function(e){a=e.indexOf(":"),n=e.substring(0,a).trim().toLowerCase(),r=e.substring(a+1).trim(),!n||t[n]&&se[n]||("set-cookie"===n?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t})(e),t);else if(C.a.isHeaders(e))for(var[i,l]of e.entries())r(l,i,n);else null!=e&&r(t,e,n);return this}get(e,t){if(e=de(e)){e=C.a.findKey(this,e);if(e){var n=this[e];if(!t)return n;if(!0===t){for(var r,a=n,o=Object.create(null),i=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;r=i.exec(a);)o[r[1]]=r[2];return o}if(C.a.isFunction(t))return t.call(this,n,e);if(C.a.isRegExp(t))return t.exec(n);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){return!!(e=de(e))&&!(!(e=C.a.findKey(this,e))||void 0===this[e]||t&&!he(0,this[e],e,t))}delete(e,t){let n=this,r=!1;function a(e){(e=de(e))&&(e=C.a.findKey(n,e))&&(!t||he(n,n[e],e,t))&&(delete n[e],r=!0)}return C.a.isArray(e)?e.forEach(a):a(e),r}clear(e){var t=Object.keys(this);let n=t.length,r=!1;for(;n--;){var a=t[n];e&&!he(0,this[a],a,e,!0)||(delete this[a],r=!0)}return r}normalize(r){let a=this,o={};return C.a.forEach(this,(e,t)=>{var n=C.a.findKey(o,t);n?(a[n]=pe(e),delete a[t]):((n=r?t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,t,n)=>t.toUpperCase()+n):String(t).trim())!==t&&delete a[t],a[n]=pe(e),o[n]=!0)}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(n){let r=Object.create(null);return C.a.forEach(this,(e,t)=>{null!=e&&!1!==e&&(r[t]=n&&C.a.isArray(e)?e.join(", "):e)}),r}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,t])=>e+": "+t).join("\n")}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){let n=new this(e);return t.forEach(e=>n.set(e)),n}static accessor(e){let r=(this[fe]=this[fe]={accessors:{}}).accessors,o=this.prototype;function t(t){var e=de(t);if(!r[e]){{var n=o;var a=t;let e=C.a.toCamelCase(" "+a);["get","set","has"].forEach(r=>{Object.defineProperty(n,r+e,{value:function(e,t,n){return this[r].call(this,a,e,t,n)},configurable:!0})})}r[e]=!0}}return C.a.isArray(e)?e.forEach(t):t(e),this}}me.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),C.a.reduceDescriptors(me.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[n]=e}}}),C.a.freezeMethods(me);var ge=me;function ve(e,t){let n=this||ue;var r=t||n;let a=ge.from(r.headers),o=r.data;return C.a.forEach(e,function(e){o=e.call(n,o,a.normalize(),t?t.status:void 0)}),a.normalize(),o}function be(e){return!(!e||!e.__CANCEL__)}function ye(e,t,n){_.a.call(this,null==e?"canceled":e,_.a.ERR_CANCELED,t,n),this.name="CanceledError"}C.a.inherits(ye,_.a,{__CANCEL__:!0});var Ee=ye,e=t(39);function we(e,t,n){var r=n.config.validateStatus;n.status&&r&&!r(n.status)?t(new _.a("Request failed with status code "+n.status,[_.a.ERR_BAD_REQUEST,_.a.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):e(n)}var xe=function(o,i){o=o||10;let l=new Array(o),c=new Array(o),u=0,s=0,f;return i=void 0!==i?i:1e3,function(e){var t=Date.now(),n=c[s];f=f||t,l[u]=e,c[u]=t;let r=s,a=0;for(;r!==u;)a+=l[r++],r%=o;return(u=(u+1)%o)===s&&(s=(s+1)%o),!(t-f<i)&&(e=n&&t-n)?Math.round(1e3*a/e):void 0}};var Ce=function(n,e){let r=0,a=1e3/e,o,i,l=(e,t=Date.now())=>{r=t,o=null,i&&(clearTimeout(i),i=null),n.apply(null,e)};return[(...e)=>{var t=Date.now(),n=t-r;n>=a?l(e,t):(o=e,i=i||setTimeout(()=>{i=null,l(o)},a-n))},()=>o&&l(o)]};let _e=(i,l,e=3)=>{let c=0,u=xe(50,250);return Ce(e=>{var t=e.loaded,n=e.lengthComputable?e.total:void 0,r=t-c,a=u(r),o=t<=n,r={loaded:c=t,total:n,progress:n?t/n:void 0,bytes:r,rate:a||void 0,estimated:a&&n&&o?(n-t)/a:void 0,event:e,lengthComputable:null!=n,[l?"download":"upload"]:!0};i(r)},e)},Pe=(t,n)=>{let r=null!=t;return[e=>n[0]({lengthComputable:r,total:t,loaded:e}),n[1]]},ke=t=>(...e)=>C.a.asap(()=>t(...e));var Se=ie.hasStandardBrowserEnv?(()=>{let n=ie.navigator&&/(msie|trident)/i.test(ie.navigator.userAgent),r=document.createElement("a"),t;function a(e){let t=e;return n&&(r.setAttribute("href",t),t=r.href),r.setAttribute("href",t),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:"/"===r.pathname.charAt(0)?r.pathname:"/"+r.pathname}}return t=a(window.location.href),function(e){e=C.a.isString(e)?a(e):e;return e.protocol===t.protocol&&e.host===t.host}})():function(){return!0},Re=ie.hasStandardBrowserEnv?{write(e,t,n,r,a,o){e=[e+"="+encodeURIComponent(t)];C.a.isNumber(n)&&e.push("expires="+new Date(n).toGMTString()),C.a.isString(r)&&e.push("path="+r),C.a.isString(a)&&e.push("domain="+a),!0===o&&e.push("secure"),document.cookie=e.join("; ")},read(e){e=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function Ie(e,t){var n;return e&&!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)?(e=e,(n=t)?e.replace(/\/?\/$/,"")+"/"+n.replace(/^\/+/,""):e):t}let Oe=e=>e instanceof ge?{...e}:e;function Fe(r,a){a=a||{};let o={};function i(e,t,n){return C.a.isPlainObject(e)&&C.a.isPlainObject(t)?C.a.merge.call({caseless:n},e,t):C.a.isPlainObject(t)?C.a.merge({},t):C.a.isArray(t)?t.slice():t}function l(e,t,n){return C.a.isUndefined(t)?C.a.isUndefined(e)?void 0:i(void 0,e,n):i(e,t,n)}function e(e,t){if(!C.a.isUndefined(t))return i(void 0,t)}function t(e,t){return C.a.isUndefined(t)?C.a.isUndefined(e)?void 0:i(void 0,e):i(void 0,t)}function c(e,t,n){return n in a?i(e,t):n in r?i(void 0,e):void 0}let u={url:e,method:e,data:e,baseURL:t,transformRequest:t,transformResponse:t,paramsSerializer:t,timeout:t,timeoutMessage:t,withCredentials:t,withXSRFToken:t,adapter:t,responseType:t,xsrfCookieName:t,xsrfHeaderName:t,onUploadProgress:t,onDownloadProgress:t,decompress:t,maxContentLength:t,maxBodyLength:t,beforeRedirect:t,transport:t,httpAgent:t,httpsAgent:t,cancelToken:t,socketPath:t,responseEncoding:t,validateStatus:c,headers:(e,t)=>l(Oe(e),Oe(t),!0)};return C.a.forEach(Object.keys(Object.assign({},r,a)),function(e){var t=u[e]||l,n=t(r[e],a[e],e);C.a.isUndefined(n)&&t!==c||(o[e]=n)}),o}var Ae=e=>{var t,n=Fe({},e);let{data:r,withXSRFToken:a,xsrfHeaderName:o,xsrfCookieName:i,headers:l,auth:c}=n;return n.headers=l=ge.from(l),n.url=Q(Ie(n.baseURL,n.url),e.params,e.paramsSerializer),c&&l.set("Authorization","Basic "+btoa((c.username||"")+":"+(c.password?unescape(encodeURIComponent(c.password)):""))),C.a.isFormData(r)&&(ie.hasStandardBrowserEnv||ie.hasStandardBrowserWebWorkerEnv?l.setContentType(void 0):!1!==(e=l.getContentType())&&([e,...t]=e?e.split(";").map(e=>e.trim()).filter(Boolean):[],l.setContentType([e||"multipart/form-data",...t].join("; ")))),ie.hasStandardBrowserEnv&&((a=a&&C.a.isFunction(a)?a(n):a)||!1!==a&&Se(n.url))&&(e=o&&i&&Re.read(i))&&l.set(o,e),n},r="undefined"!=typeof XMLHttpRequest&&function(h){return new Promise(function(t,n){let r=Ae(h);var e=r.data,a=ge.from(r.headers).normalize();let{responseType:o,onUploadProgress:i,onDownloadProgress:l}=r,c,u,s;function f(){u&&u(),s&&s(),r.cancelToken&&r.cancelToken.unsubscribe(c),r.signal&&r.signal.removeEventListener("abort",c)}let d=new XMLHttpRequest;function p(){var e;d&&(e=ge.from("getAllResponseHeaders"in d&&d.getAllResponseHeaders()),we(function(e){t(e),f()},function(e){n(e),f()},{data:o&&"text"!==o&&"json"!==o?d.response:d.responseText,status:d.status,statusText:d.statusText,headers:e,config:h,request:d}),d=null)}d.open(r.method.toUpperCase(),r.url,!0),d.timeout=r.timeout,"onloadend"in d?d.onloadend=p:d.onreadystatechange=function(){d&&4===d.readyState&&(0!==d.status||d.responseURL&&0===d.responseURL.indexOf("file:"))&&setTimeout(p)},d.onabort=function(){d&&(n(new _.a("Request aborted",_.a.ECONNABORTED,h,d)),d=null)},d.onerror=function(){n(new _.a("Network Error",_.a.ERR_NETWORK,h,d)),d=null},d.ontimeout=function(){let e=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";var t=r.transitional||ee;r.timeoutErrorMessage&&(e=r.timeoutErrorMessage),n(new _.a(e,t.clarifyTimeoutError?_.a.ETIMEDOUT:_.a.ECONNABORTED,h,d)),d=null},void 0===e&&a.setContentType(null),"setRequestHeader"in d&&C.a.forEach(a.toJSON(),function(e,t){d.setRequestHeader(t,e)}),C.a.isUndefined(r.withCredentials)||(d.withCredentials=!!r.withCredentials),o&&"json"!==o&&(d.responseType=r.responseType),l&&([a,s]=_e(l,!0),d.addEventListener("progress",a)),i&&d.upload&&([a,u]=_e(i),d.upload.addEventListener("progress",a),d.upload.addEventListener("loadend",u)),(r.cancelToken||r.signal)&&(c=e=>{d&&(n(!e||e.type?new Ee(null,h,d):e),d.abort(),d=null)},r.cancelToken&&r.cancelToken.subscribe(c),r.signal)&&(r.signal.aborted?c():r.signal.addEventListener("abort",c));a=r.url;a=(a=/^([-+\w]{1,25})(:?\/\/|:)/.exec(a))&&a[1]||"";a&&-1===ie.protocols.indexOf(a)?n(new _.a("Unsupported protocol "+a+":",_.a.ERR_BAD_REQUEST,h)):d.send(e||null)})},je=(o,i)=>{var l=(o=o?o.filter(Boolean):[]).length;if(i||l){let t=new AbortController,n,r=function(e){n||(n=!0,a(),e=e instanceof Error?e:this.reason,t.abort(e instanceof _.a?e:new Ee(e instanceof Error?e.message:e)))},e=i&&setTimeout(()=>{e=null,r(new _.a(`timeout ${i} of ms exceeded`,_.a.ETIMEDOUT))},i),a=()=>{o&&(e&&clearTimeout(e),e=null,o.forEach(e=>{e.unsubscribe?e.unsubscribe(r):e.removeEventListener("abort",r)}),o=null)};o.forEach(e=>e.addEventListener("abort",r));l=t.signal;return l.unsubscribe=()=>C.a.asap(a),l}};let Le=function*(t,n){var r,a=t.byteLength;if(!n||a<n)yield t;else{let e=0;for(;e<a;)r=e+n,yield t.slice(e,r),e=r}},Te=async function*(e){if(e[Symbol.asyncIterator])yield*e;else{var t=e.getReader();try{for(;;){var{done:n,value:r}=await t.read();if(n)break;yield r}}finally{await t.cancel()}}},Me=(e,t,o,n)=>{let i=async function*(e,t){for await(var n of Te(e))yield*Le(n,t)}(e,t),l=0,r,c=e=>{r||(r=!0,n&&n(e))};return new ReadableStream({async pull(e){try{var t,n,{done:r,value:a}=await i.next();r?(c(),e.close()):(t=a.byteLength,o&&(n=l+=t,o(n)),e.enqueue(new Uint8Array(a)))}catch(e){throw c(e),e}},cancel(e){return c(e),i.return()}},{highWaterMark:2})};var Ne,o="function"==typeof fetch&&"function"==typeof Request&&"function"==typeof Response,i=o&&"function"==typeof ReadableStream;let Be=o&&("function"==typeof TextEncoder?(Ne=new TextEncoder,e=>Ne.encode(e)):async e=>new Uint8Array(await new Response(e).arrayBuffer()));var Ve,c=(e,...t)=>{try{return!!e(...t)}catch(e){return!1}};let De=i&&c(()=>{let e=!1;var t=new Request(ie.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),ze=i&&c(()=>C.a.isReadableStream(new Response("").body)),Xe={stream:ze&&(e=>e.body)},He=(o&&(Ve=new Response,["text","arrayBuffer","blob","formData","stream"].forEach(n=>{Xe[n]||(Xe[n]=C.a.isFunction(Ve[n])?e=>e[n]():(e,t)=>{throw new _.a(`Response type '${n}' is not supported`,_.a.ERR_NOT_SUPPORT,t)})})),async(e,t)=>{e=C.a.toFiniteNumber(e.getContentLength());return null==e?(async e=>null==e?0:C.a.isBlob(e)?e.size:C.a.isSpecCompliantForm(e)?(await new Request(ie.origin,{method:"POST",body:e}).arrayBuffer()).byteLength:C.a.isArrayBufferView(e)||C.a.isArrayBuffer(e)?e.byteLength:(C.a.isURLSearchParams(e)&&(e+=""),C.a.isString(e)?(await Be(e)).byteLength:void 0))(t):e}),Ue=o&&(async a=>{let{url:t,method:e,data:o,signal:n,cancelToken:r,timeout:i,onDownloadProgress:l,onUploadProgress:c,responseType:u,headers:s,withCredentials:f="same-origin",fetchOptions:d}=Ae(a),p=(u=u?(u+"").toLowerCase():"text",je([n,r&&r.toAbortSignal()],i)),h,m=p&&p.unsubscribe&&(()=>{p.unsubscribe()}),g;try{if(c&&De&&"get"!==e&&"head"!==e&&0!==(g=await He(s,o))){var v,b,y=new Request(t,{method:"POST",body:o,duplex:"half"});let e;C.a.isFormData(o)&&(e=y.headers.get("content-type"))&&s.setContentType(e),y.body&&([v,b]=Pe(g,_e(ke(c))),o=Me(y.body,65536,v,b))}C.a.isString(f)||(f=f?"include":"omit");var E="credentials"in Request.prototype;h=new Request(t,{...d,signal:p,method:e.toUpperCase(),headers:s.normalize().toJSON(),body:o,duplex:"half",credentials:E?f:void 0});let r=await fetch(h);var w=ze&&("stream"===u||"response"===u);if(ze&&(l||w&&m)){let t={};["status","statusText","headers"].forEach(e=>{t[e]=r[e]});var x=C.a.toFiniteNumber(r.headers.get("content-length"));let[e,n]=l&&Pe(x,_e(ke(l),!0))||[];r=new Response(Me(r.body,65536,e,()=>{n&&n(),m&&m()}),t)}u=u||"text";let n=await Xe[C.a.findKey(Xe,u)||"text"](r,a);return!w&&m&&m(),await new Promise((e,t)=>{we(e,t,{data:n,headers:ge.from(r.headers),status:r.status,statusText:r.statusText,config:a,request:h})})}catch(e){if(m&&m(),e&&"TypeError"===e.name&&/fetch/i.test(e.message))throw Object.assign(new _.a("Network Error",_.a.ERR_NETWORK,a,h),{cause:e.cause||e});throw _.a.from(e,e&&e.code,a,h)}}),We={http:e.a,xhr:r,fetch:Ue},Ze=(C.a.forEach(We,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(e){}Object.defineProperty(e,"adapterName",{value:t})}}),e=>"- "+e);var $e=n=>{var r,e=(n=C.a.isArray(n)?n:[n]).length;let a;var o,t,i={};for(let t=0;t<e;t++){r=n[t];let e;if(a=r,o=r,!C.a.isFunction(o)&&null!==o&&!1!==o&&void 0===(a=We[(e=String(r)).toLowerCase()]))throw new _.a(`Unknown adapter '${e}'`);if(a)break;i[e||"#"+t]=a}if(a)return a;throw t=Object.entries(i).map(([e,t])=>`adapter ${e} `+(!1===t?"is not supported by the environment":"is not available in the build")),t=e?1<t.length?"since :\n"+t.map(Ze).join("\n"):" - "+t[0]:"as no adapter specified",new _.a("There is no suitable adapter to dispatch the request "+t,"ERR_NOT_SUPPORT")};We;function qe(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Ee(null,e)}function Ye(t){return qe(t),t.headers=ge.from(t.headers),t.data=ve.call(t,t.transformRequest),-1!==["post","put","patch"].indexOf(t.method)&&t.headers.setContentType("application/x-www-form-urlencoded",!1),$e(t.adapter||ue.adapter)(t).then(function(e){return qe(t),e.data=ve.call(t,t.transformResponse,e),e.headers=ge.from(e.headers),e},function(e){return be(e)||(qe(t),e&&e.response&&(e.response.data=ve.call(t,t.transformResponse,e.response),e.response.headers=ge.from(e.response.headers))),Promise.reject(e)})}let Ge={},Ke=(["object","boolean","number","function","string","symbol"].forEach((t,n)=>{Ge[t]=function(e){return typeof e===t||"a"+(n<1?"n ":" ")+t}}),{});Ge.transitional=function(r,a,n){function o(e,t){return"[Axios v1.7.7] Transitional option '"+e+"'"+t+(n?". "+n:"")}return(e,t,n)=>{if(!1===r)throw new _.a(o(t," has been removed"+(a?" in "+a:"")),_.a.ERR_DEPRECATED);return a&&!Ke[t]&&(Ke[t]=!0,console.warn(o(t," has been deprecated since v"+a+" and will be removed in the near future"))),!r||r(e,t,n)}};var Qe={assertOptions:function(e,t,n){if("object"!=typeof e)throw new _.a("options must be an object",_.a.ERR_BAD_OPTION_VALUE);var r=Object.keys(e);let a=r.length;for(;0<a--;){var o=r[a],i=t[o];if(i){var l=e[o],i=void 0===l||i(l,o,e);if(!0!==i)throw new _.a("option "+o+" must be "+i,_.a.ERR_BAD_OPTION_VALUE)}else if(!0!==n)throw new _.a("Unknown option "+o,_.a.ERR_BAD_OPTION)}},validators:Ge};let Je=Qe.validators;class et{constructor(e){this.defaults=e,this.interceptors={request:new J,response:new J}}async request(n,e){try{return await this._request(n,e)}catch(t){if(t instanceof Error){let e;Error.captureStackTrace?Error.captureStackTrace(e={}):e=new Error;n=e.stack?e.stack.replace(/^.+\n/,""):"";try{t.stack?n&&!String(t.stack).endsWith(n.replace(/^.+\n.+\n/,""))&&(t.stack+="\n"+n):t.stack=n}catch(e){}}throw t}}_request(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{};let{transitional:n,paramsSerializer:r,headers:a}=t=Fe(this.defaults,t);void 0!==n&&Qe.assertOptions(n,{silentJSONParsing:Je.transitional(Je.boolean),forcedJSONParsing:Je.transitional(Je.boolean),clarifyTimeoutError:Je.transitional(Je.boolean)},!1),null!=r&&(C.a.isFunction(r)?t.paramsSerializer={serialize:r}:Qe.assertOptions(r,{encode:Je.function,serialize:Je.function},!0)),t.method=(t.method||this.defaults.method||"get").toLowerCase();e=a&&C.a.merge(a.common,a[t.method]);a&&C.a.forEach(["delete","get","head","post","put","patch","common"],e=>{delete a[e]}),t.headers=ge.concat(e,a);let o=[],i=!0,l=(this.interceptors.request.forEach(function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(i=i&&e.synchronous,o.unshift(e.fulfilled,e.rejected))}),[]);this.interceptors.response.forEach(function(e){l.push(e.fulfilled,e.rejected)});let c,u=0,s;if(i){s=o.length;let e=t;for(u=0;u<s;){var f=o[u++],d=o[u++];try{e=f(e)}catch(e){d.call(this,e);break}}try{c=Ye.call(this,e)}catch(e){return Promise.reject(e)}for(u=0,s=l.length;u<s;)c=c.then(l[u++],l[u++])}else{var p=[Ye.bind(this),void 0];for(p.unshift.apply(p,o),p.push.apply(p,l),s=p.length,c=Promise.resolve(t);u<s;)c=c.then(p[u++],p[u++])}return c}getUri(e){return Q(Ie((e=Fe(this.defaults,e)).baseURL,e.url),e.params,e.paramsSerializer)}}C.a.forEach(["delete","get","head","options"],function(n){et.prototype[n]=function(e,t){return this.request(Fe(t||{},{method:n,url:e,data:(t||{}).data}))}}),C.a.forEach(["post","put","patch"],function(a){function e(r){return function(e,t,n){return this.request(Fe(n||{},{method:a,headers:r?{"Content-Type":"multipart/form-data"}:{},url:e,data:t}))}}et.prototype[a]=e(),et.prototype[a+"Form"]=e(!0)});var tt=et;i=class B1{constructor(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");let r,a=(this.promise=new Promise(function(e){r=e}),this);this.promise.then(t=>{if(a._listeners){let e=a._listeners.length;for(;0<e--;)a._listeners[e](t);a._listeners=null}}),this.promise.then=e=>{let t;return(e=new Promise(e=>{a.subscribe(e),t=e}).then(e)).cancel=function(){a.unsubscribe(t)},e},e(function(e,t,n){a.reason||(a.reason=new Ee(e,t,n),r(a.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){this._listeners&&-1!==(e=this._listeners.indexOf(e))&&this._listeners.splice(e,1)}toAbortSignal(){let t=new AbortController,e=e=>{t.abort(e)};return this.subscribe(e),t.signal.unsubscribe=()=>this.unsubscribe(e),t.signal}static source(){let t;return{token:new B1(function(e){t=e}),cancel:t}}};let nt={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(nt).forEach(([e,t])=>{nt[t]=e});c=nt;var o=function t(n){var e=new tt(n),r=Object(Z.a)(tt.prototype.request,e);return C.a.extend(r,tt.prototype,e,{allOwnKeys:!0}),C.a.extend(r,e,null,{allOwnKeys:!0}),r.create=function(e){return t(Fe(n,e))},r}(ue),rt=(o.Axios=tt,o.CanceledError=Ee,o.CancelToken=i,o.isCancel=be,o.VERSION="1.7.7",o.toFormData=$.a,o.AxiosError=_.a,o.Cancel=o.CanceledError,o.all=function(e){return Promise.all(e)},o.spread=function(t){return function(e){return t.apply(null,e)}},o.isAxiosError=function(e){return C.a.isObject(e)&&!0===e.isAxiosError},o.mergeConfig=Fe,o.AxiosHeaders=ge,o.formToJSON=e=>le(C.a.isHTMLForm(e)?new FormData(e):e),o.getAdapter=$e,o.HttpStatusCode=c,o.default=o),e=Object(n.b)({name:v.VIRFICE_APP_PREFIX,initialState:{notificationBell:{open:!1}},reducers:{setComponentsStateData:function(e,t){t=t.payload;e[t.key]=t.value}}}),y=function(e){var t=e.title,n=e.type,r=void 0===n?"success":n,n=e.duration,a=void 0===n?3e3:n;return function(e){e(ot({key:"notificationBell",value:{open:!0,title:t,type:r,duration:a}})),a&&setTimeout(function(){e(at())},a)}},at=function(){return function(e){e(ot({key:"notificationBell",value:{open:!1}}))}},ot=e.actions.setComponentsStateData,r=e.reducer;function it(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)),r}function lt(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?it(Object(n),!0).forEach(function(e){g()(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):it(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function ct(){return function(t){var n;rt.get("".concat(virfice.restBase).concat("virfice/v1/woo-email/virfice-brand-settings"),{headers:{"X-WP-Nonce":virfice.nonce},params:{}}).then(function(e){n=e.data,t(ft({key:"settings",value:{loaded:!0,data:n}})),t(ft({key:"changedSettings",value:n}))}).catch(function(e){console.log(e)})}}function ut(a){return function(n,r){var e=new FormData;e.append("data",JSON.stringify(a)),rt.post("".concat(virfice.restBase).concat("virfice/v1/woo-email/virfice-brand-settings"),e,{headers:{"X-WP-Nonce":virfice.nonce}}).then(function(e){var t=lt(lt({},r().virficeBrandSettings.settings.data||{}),a);n(ft({key:"settings",value:{loaded:!0,data:t}})),n(y({title:"Settings saved"}))}).catch(function(e){console.log(e),n(y({title:"Settings save failed",type:"danger"}))})}}function st(r,a){return function(t,e){var n=new FormData;n.append("email_id",r),n.append("status",a),rt.post("".concat(virfice.restBase).concat("virfice/v1/woo-email/update-virfice-template-status"),n,{headers:{"X-WP-Nonce":virfice.nonce}}).then(function(e){e.data,t(y({title:"Virfice template "+(a?"enabled":"disabled")+" for "+r}))}).catch(function(e){console.log(e),t(y({title:"Settings saved failed",type:"danger"}))})}}var i=Object(n.b)({name:v.VIRFICE_APP_PREFIX,initialState:{settings:{loaded:!1,data:{}},changedSettings:{}},reducers:{setVirficeBrandSettingsData:function(e,t){t=t.payload;e[t.key]=t.value}}}),ft=i.actions.setVirficeBrandSettingsData,c=i.reducer,o=Object(n.b)({name:v.VIRFICE_APP_PREFIX,initialState:{emailList:{loaded:!1,data:[]}},reducers:{setWooEmailListData:function(e,t){t=t.payload;e[t.key]=t.value}}}),dt=o.actions.setWooEmailListData,e=o.reducer;function pt(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)),r}function ht(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?pt(Object(n),!0).forEach(function(e){g()(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):pt(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function mt(e){return function(t){var n;rt.get("".concat(virfice.restBase).concat("virfice/v1/woo-email/single"),{headers:{"X-WP-Nonce":virfice.nonce},params:{email_id:e}}).then(function(e){n=e.data,t(It({key:"email",value:{loaded:!0,settings:ht(ht({},n.object),{},{previewUrl:n.previewUrl})}})),t(It({key:"changedSettings",value:n.object.settings}))}).catch(function(e){console.log(e)})}}function gt(e){return function(t){var n;rt.get("".concat(virfice.restBase).concat("virfice/v1/woo-email/single-virfice"),{headers:{"X-WP-Nonce":virfice.nonce},params:{email_id:e}}).then(function(e){n=e.data,t(It({key:"virfice_template",value:n}))}).catch(function(e){console.log(e)})}}function vt(n,r){return function(t){var e=new FormData;e.append("settings",JSON.stringify(r)),e.append("email_id",n),rt.post("".concat(virfice.restBase).concat("virfice/v1/woo-email/save-email-settings"),e,{headers:{"X-WP-Nonce":virfice.nonce}}).then(function(e){e.data,t(Ot({settings:r})),t(y({title:"Settings saved"}))}).catch(function(e){console.log(e),t(y({title:"Settings saved failed",type:"danger"}))})}}function bt(e){return function(t){var n;rt.get("".concat(virfice.restBase).concat("virfice/v1/settings/get-settings"),{headers:{"X-WP-Nonce":virfice.nonce},params:{keys:JSON.stringify(e)}}).then(function(e){n=e.data,Object.keys(n).forEach(function(e){t(Ft({key:e,value:{loaded:!0,data:n[e]}})),t(Ft({key:"changedSettings-"+e,value:n[e]}))})}).catch(function(e){console.log(e)})}}function yt(r){return function(t,e){var e=e().globalSettings["changedSettings-"+r],n=new FormData;n.append("key",r),n.append("settings",JSON.stringify(e)),rt.post("".concat(virfice.restBase).concat("virfice/v1/settings/save-settings"),n,{headers:{"X-WP-Nonce":virfice.nonce}}).then(function(e){e.data,t(y({title:"Settings saved"}))}).catch(function(e){console.log(e),t(y({title:"Settings saved failed",type:"danger"}))})}}function Et(e){return function(t){var n;rt.get("".concat(virfice.restBase).concat("virfice/v1/virfice-template/single"),{headers:{"X-WP-Nonce":virfice.nonce},params:{id:e}}).then(function(e){n=e.data,t(Tt({key:"html",value:n.post_content})),t(Tt({key:"global_style",value:n.global_style})),t(Tt({key:"preview_url",value:n.preview_url})),t(Tt({key:"post",value:n}))}).catch(function(e){console.log(e)})}}function wt(n,e){var r=e.post_content;return function(t){var e=new FormData;e.append("template_id",n),e.append("post_content",r),rt.post("".concat(virfice.restBase).concat("virfice/v1/virfice-template/save"),e,{headers:{"X-WP-Nonce":virfice.nonce}}).then(function(e){e.data,t(y({title:"Template saved"}))}).catch(function(e){console.log(e),t(y({title:"Template saved failed",type:"danger"}))})}}function xt(){return function(t){var n,e=v.VIRFICE_ASSETS_BASE+"/templates/ready-blocks";rt.get("".concat(e),{}).then(function(e){n=e.data,t(Mt({key:"loaded",value:!0})),t(Mt({key:"data",value:n}))}).catch(function(e){console.log(e)})}}function Ct(){var e,t=E();t&&(e=t.templateWrapper)&&setTimeout(function(){Bt(e)},100)}function _t(e,t){return e.querySelectorAll("[".concat(v.VIRFICE_APP_PREFIX,'-selector="').concat(t,'"]'))}function f(e,t){return e.querySelector("[".concat(v.VIRFICE_APP_PREFIX,'-my_selector="').concat(t,'"]'))}function Pt(e){var a;return e?(a=function(e){for(var t=0,n=Array.from(e.children);t<n.length;t++){var r=n[t];if(w(r,"ele_type"))return Array.from(r.parentNode.children);r=a(r);if(r)return r}return[]})(e):(console.error("Element is null or undefined."),[])}function kt(e){var t,n=e.element,r=e.parent,a=void 0===(a=e.behavior)?"smooth":a,e=void 0===(e=e.block)?"center":e;n?r&&r instanceof HTMLElement?(t=n.offsetTop-r.offsetTop,r.scrollTo({top:t,behavior:a})):n.scrollIntoView({behavior:a,block:e}):console.error("Invalid element passed to scrollToCanvasElement")}function St(){var e=E().templateWrapper.cloneNode(!0),t=e.querySelector("#".concat(v.VIRFICE_APP_PREFIX,"-global-style"));return t&&t.remove(),e.innerHTML}function Rt(e){var t=e.white,n=e.grey,r=e.size,a=e.renderers,o=e.borderRadius,i=e.boxShadow,e=e.children,a=k()({default:{grid:{borderRadius:o,boxShadow:i,absolute:"0px 0px 0px 0px",background:"url("+(o=t,i=n,t=r,n=a.canvas,qt[r=o+"-"+i+"-"+t+(n?"-server":"")]||(o=Yt(o,i,t,n),qt[r]=o))+") center left"}}});return Object(h.isValidElement)(e)?m.a.cloneElement(e,Gt({},e.props,{style:Gt({},e.props.style,a.grid)})):m.a.createElement("div",{style:a.grid})}var i=Object(n.b)({name:v.VIRFICE_APP_PREFIX,initialState:{email:{loaded:!1,settings:{}},changedSettings:{},selectedOrder:{},virfice_template:""},reducers:{setWooEmailSingleData:function(e,t){t=t.payload;e[t.key]=t.value},setWooEmailSingleSettingsData:function(e,t){t=t.payload.settings;e.email.settings.settings=t}}}),o=i.actions,It=o.setWooEmailSingleData,Ot=o.setWooEmailSingleSettingsData,o=i.reducer,i=Object(n.b)({name:v.VIRFICE_APP_PREFIX,initialState:{email:{loaded:!1,data:{}},brand:{loaded:!1,data:{}}},reducers:{setGlobalSettingsData:function(e,t){t=t.payload;e[t.key]=t.value}}}),Ft=i.actions.setGlobalSettingsData,i=i.reducer,u=Object(n.b)({name:v.VIRFICE_APP_PREFIX,initialState:{html:"",global_style:"",preview_url:"",selectedElementId:!1,selectedSectionId:!1,hoveredSectionId:!1,post:{},showReadyBlocks:!1},reducers:{setBuilderData:function(e,t){t=t.payload;e[t.key]=t.value}}}),At=function(t){return function(e){e(Tt({key:"selectedElementId",value:t})),e(Tt({key:"showReadyBlocks",value:!1}))}},jt=function(t){return function(e){e(Tt({key:"selectedSectionId",value:t}))}},Lt=function(t){return function(e){e(Tt({key:"hoveredSectionId",value:t}))}},Tt=u.actions.setBuilderData,u=u.reducer,s=Object(n.b)({name:v.VIRFICE_APP_PREFIX,initialState:{loaded:!1,data:[]},reducers:{setReadyBlockStateData:function(e,t){t=t.payload;e[t.key]=t.value}}}),Mt=s.actions.setReadyBlockStateData,s=s.reducer,Nt=Object(n.a)({reducer:{landing:a,virficeBrandSettings:c,wooEmailList:e,wooEmailSingle:o,components:r,globalSettings:i,builder:u,readyBlocks:s}}),E=function(){var e=document.getElementById("virfice-editor-wrapper");return e?(e=e.querySelector("iframe"))&&e.contentWindow?{iframe:e,document:e.contentWindow.document,body:e.contentWindow.document.body,templateWrapper:e.contentWindow.document.getElementById("virfice-email-preview"),editorWrapper:e.contentWindow.document.getElementById("virfice-editor-wrapper"),window:e.contentWindow}:(console.error("Iframe not found or not loaded yet"),{}):{}},Bt=function(e){e.querySelectorAll("[".concat(v.VIRFICE_APP_PREFIX,"-ele_type]")).forEach(function(e,t){Vt(e),zt(e)}),e.querySelectorAll("a").forEach(function(e){e.addEventListener("click",function(e){e.preventDefault(),e.stopPropagation()})}),E().editorWrapper.addEventListener("click",function(){Dl(At,null)})},Vt=function(t){t.addEventListener("click",function(e){e.stopPropagation();e=w(t,"id");Dt(e)})},Dt=function(e){var t=Xt(e),n=null,n=e?t:Zt(t);(n=Ut(n)?n:n.querySelector("[".concat(v.VIRFICE_APP_PREFIX,"-ele_type]")))&&Dl(At,w(n,"id")),t&&("section"!==w(e=t,"ele_type")&&(e=$t(e)),Dl(jt,w(e,"id")))},zt=function(t){t.addEventListener("mouseover",function(e){e.stopPropagation(),window.AddSectionButtonOpen||(e=$t(t),Dl(Lt,w(e,"id")))}),t.addEventListener("mouseleave",function(e){e.stopPropagation()})},Xt=function(e){var t=E().document.getElementById(v.VIRFICE_APP_PREFIX+"-email-preview");if(t)return t.querySelector("[".concat(v.VIRFICE_APP_PREFIX,'-id="').concat(e,'"]'))},w=function(e,t){if(e)return e.getAttribute(v.VIRFICE_APP_PREFIX+"-"+t)},Ht=function(e,t,n){e&&e.setAttribute(v.VIRFICE_APP_PREFIX+"-"+t,n)},Ut=function(e){return"disabled"!==w(e,"settings_status")},Wt=function(e){e=e.cloneNode(!0);return Ht(e,"id",Xl()),e.querySelectorAll("[".concat(v.VIRFICE_APP_PREFIX,"-ele_type]")).forEach(function(e){Ht(e,"id",Xl())}),e},Zt=function(e){for(var t=e;t;){var t=t.parentNode,n=w(t,"ele_type");if(!t)return!1;if(n)return t;if(t.id===v.VIRFICE_APP_PREFIX+"-email-preview")return!1}return!1},$t=function(e){for(var t=e;;){if(!t)return!1;if("section"===w(t,"ele_type"))return t;t=t.parentNode}return!1},x=function(e,t){return e?window.getComputedStyle(e)[t]:""},P=function(e,t){return x(e,t).replace("px","")},n=t(4),k=t.n(n),qt={},Yt=function(e,t,n,r){var a;return("undefined"!=typeof document||r)&&((r=r?new r:document.createElement("canvas")).width=2*n,r.height=2*n,a=r.getContext("2d"))?(a.fillStyle=e,a.fillRect(0,0,r.width,r.height),a.fillStyle=t,a.fillRect(0,0,n,n),a.translate(n,n),a.fillRect(0,0,n,n),r.toDataURL()):null},Gt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n,r=arguments[t];for(n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Kt=(Rt.defaultProps={size:8,white:"transparent",grey:"rgba(0,0,0,.08)",renderers:{}},Rt),Qt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n,r=arguments[t];for(n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Jt=function(e,t,n){return t&&en(e.prototype,t),n&&en(e,n),e};function en(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function tn(e,t){if(e)return!t||"object"!=typeof t&&"function"!=typeof t?e:t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}var nn=(e=>{var t=i;if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);function i(){var n,e=this,t=i;if(!(e instanceof t))throw new TypeError("Cannot call a class as a function");for(var r=arguments.length,a=Array(r),o=0;o<r;o++)a[o]=arguments[o];return(t=n=tn(this,(e=i.__proto__||Object.getPrototypeOf(i)).call.apply(e,[this].concat(a)))).handleChange=function(e){var t=((e,t,n,r,a)=>{var o=a.clientWidth,i=a.clientHeight,l=("number"==typeof e.pageX?e:e.touches[0]).pageX,e=("number"==typeof e.pageY?e:e.touches[0]).pageY,l=l-(a.getBoundingClientRect().left+window.pageXOffset),e=e-(a.getBoundingClientRect().top+window.pageYOffset);if("vertical"===n){a=void 0,a=e<0?0:i<e?1:Math.round(100*e/i)/100;if(t.a!==a)return{h:t.h,s:t.s,l:t.l,a:a,source:"rgb"}}else{n=void 0;if(r!==(n=l<0?0:o<l?1:Math.round(100*l/o)/100))return{h:t.h,s:t.s,l:t.l,a:n,source:"rgb"}}return null})(e,n.props.hsl,n.props.direction,n.props.a,n.container);t&&"function"==typeof n.props.onChange&&n.props.onChange(t,e)},n.handleMouseDown=function(e){n.handleChange(e),window.addEventListener("mousemove",n.handleChange),window.addEventListener("mouseup",n.handleMouseUp)},n.handleMouseUp=function(){n.unbindEventListeners()},n.unbindEventListeners=function(){window.removeEventListener("mousemove",n.handleChange),window.removeEventListener("mouseup",n.handleMouseUp)},tn(n,t)}return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e),Jt(i,[{key:"componentWillUnmount",value:function(){this.unbindEventListeners()}},{key:"render",value:function(){var t=this,e=this.props.rgb,e=k()({default:{alpha:{absolute:"0px 0px 0px 0px",borderRadius:this.props.radius},checkboard:{absolute:"0px 0px 0px 0px",overflow:"hidden",borderRadius:this.props.radius},gradient:{absolute:"0px 0px 0px 0px",background:"linear-gradient(to right, rgba("+e.r+","+e.g+","+e.b+", 0) 0%,\n           rgba("+e.r+","+e.g+","+e.b+", 1) 100%)",boxShadow:this.props.shadow,borderRadius:this.props.radius},container:{position:"relative",height:"100%",margin:"0 3px"},pointer:{position:"absolute",left:100*e.a+"%"},slider:{width:"4px",borderRadius:"1px",height:"8px",boxShadow:"0 0 2px rgba(0, 0, 0, .6)",background:"#fff",marginTop:"1px",transform:"translateX(-2px)"}},vertical:{gradient:{background:"linear-gradient(to bottom, rgba("+e.r+","+e.g+","+e.b+", 0) 0%,\n           rgba("+e.r+","+e.g+","+e.b+", 1) 100%)"},pointer:{left:0,top:100*e.a+"%"}},overwrite:Qt({},this.props.style)},{vertical:"vertical"===this.props.direction,overwrite:!0});return m.a.createElement("div",{style:e.alpha},m.a.createElement("div",{style:e.checkboard},m.a.createElement(Kt,{renderers:this.props.renderers})),m.a.createElement("div",{style:e.gradient}),m.a.createElement("div",{style:e.container,ref:function(e){return t.container=e},onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},m.a.createElement("div",{style:e.pointer},this.props.pointer?m.a.createElement(this.props.pointer,this.props):m.a.createElement("div",{style:e.slider}))))}}]),i})(h.PureComponent||h.Component),rn=function(e,t,n){return t&&an(e.prototype,t),n&&an(e,n),e};function an(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var on=[38,40],ln=1,S=(e=>{var t=n;if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);function n(e){var r;if(this instanceof n)return(r=((e,t)=>{if(e)return!t||"object"!=typeof t&&"function"!=typeof t?e:t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")})(this,(n.__proto__||Object.getPrototypeOf(n)).call(this))).handleBlur=function(){r.state.blurValue&&r.setState({value:r.state.blurValue,blurValue:null})},r.handleChange=function(e){r.setUpdatedValue(e.target.value,e)},r.handleKeyDown=function(e){n=e.target.value;var t,n=Number(String(n).replace(/%/g,""));!isNaN(n)&&(t=e.keyCode,-1<on.indexOf(t))&&(t=r.getArrowOffset(),n=38===e.keyCode?n+t:n-t,r.setUpdatedValue(n,e))},r.handleDrag=function(e){var t;r.props.dragLabel&&0<=(t=Math.round(r.props.value+e.movementX))&&t<=r.props.dragMax&&r.props.onChange&&r.props.onChange(r.getValueObjectWithLabel(t),e)},r.handleMouseDown=function(e){r.props.dragLabel&&(e.preventDefault(),r.handleDrag(e),window.addEventListener("mousemove",r.handleDrag),window.addEventListener("mouseup",r.handleMouseUp))},r.handleMouseUp=function(){r.unbindEventListeners()},r.unbindEventListeners=function(){window.removeEventListener("mousemove",r.handleDrag),window.removeEventListener("mouseup",r.handleMouseUp)},r.state={value:String(e.value).toUpperCase(),blurValue:String(e.value).toUpperCase()},r.inputId="rc-editable-input-"+ln++,r;throw new TypeError("Cannot call a class as a function")}return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e),rn(n,[{key:"componentDidUpdate",value:function(e,t){this.props.value===this.state.value||e.value===this.props.value&&t.value===this.state.value||(this.input===document.activeElement?this.setState({blurValue:String(this.props.value).toUpperCase()}):this.setState({value:String(this.props.value).toUpperCase(),blurValue:!this.state.blurValue&&String(this.props.value).toUpperCase()}))}},{key:"componentWillUnmount",value:function(){this.unbindEventListeners()}},{key:"getValueObjectWithLabel",value:function(e){return t={},n=this.props.label,e=e,n in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e,t;var t,n}},{key:"getArrowOffset",value:function(){return this.props.arrowOffset||1}},{key:"setUpdatedValue",value:function(e,t){var n=this.props.label?this.getValueObjectWithLabel(e):e;this.props.onChange&&this.props.onChange(n,t),this.setState({value:e})}},{key:"render",value:function(){var t=this,e=k()({default:{wrap:{position:"relative"}},"user-override":{wrap:this.props.style&&this.props.style.wrap?this.props.style.wrap:{},input:this.props.style&&this.props.style.input?this.props.style.input:{},label:this.props.style&&this.props.style.label?this.props.style.label:{}},"dragLabel-true":{label:{cursor:"ew-resize"}}},{"user-override":!0},this.props);return m.a.createElement("div",{style:e.wrap},m.a.createElement("input",{id:this.inputId,style:e.input,ref:function(e){return t.input=e},value:this.state.value,onKeyDown:this.handleKeyDown,onChange:this.handleChange,onBlur:this.handleBlur,placeholder:this.props.placeholder,spellCheck:"false"}),this.props.label&&!this.props.hideLabel?m.a.createElement("label",{htmlFor:this.inputId,style:e.label,onMouseDown:this.handleMouseDown},this.props.label):null)}}]),n})(h.PureComponent||h.Component),cn=function(e,t,n){return t&&un(e.prototype,t),n&&un(e,n),e};function un(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function sn(e,t){if(e)return!t||"object"!=typeof t&&"function"!=typeof t?e:t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}var fn=(e=>{var t=i;if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);function i(){var n,e=this,t=i;if(!(e instanceof t))throw new TypeError("Cannot call a class as a function");for(var r=arguments.length,a=Array(r),o=0;o<r;o++)a[o]=arguments[o];return(t=n=sn(this,(e=i.__proto__||Object.getPrototypeOf(i)).call.apply(e,[this].concat(a)))).handleChange=function(e){var t=((e,t,n,r)=>{var a=r.clientWidth,o=r.clientHeight,i=("number"==typeof e.pageX?e:e.touches[0]).pageX,e=("number"==typeof e.pageY?e:e.touches[0]).pageY,i=i-(r.getBoundingClientRect().left+window.pageXOffset),e=e-(r.getBoundingClientRect().top+window.pageYOffset);if("vertical"===t){r=void 0;if(n.h!==(r=e<0?359:o<e?0:360*(-100*e/o+100)/100))return{h:r,s:n.s,l:n.l,a:n.a,source:"hsl"}}else{t=void 0;if(n.h!==(t=i<0?0:a<i?359:360*(100*i/a)/100))return{h:t,s:n.s,l:n.l,a:n.a,source:"hsl"}}return null})(e,n.props.direction,n.props.hsl,n.container);t&&"function"==typeof n.props.onChange&&n.props.onChange(t,e)},n.handleMouseDown=function(e){n.handleChange(e),window.addEventListener("mousemove",n.handleChange),window.addEventListener("mouseup",n.handleMouseUp)},n.handleMouseUp=function(){n.unbindEventListeners()},sn(n,t)}return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e),cn(i,[{key:"componentWillUnmount",value:function(){this.unbindEventListeners()}},{key:"unbindEventListeners",value:function(){window.removeEventListener("mousemove",this.handleChange),window.removeEventListener("mouseup",this.handleMouseUp)}},{key:"render",value:function(){var t=this,e=this.props.direction,e=void 0===e?"horizontal":e,n=k()({default:{hue:{absolute:"0px 0px 0px 0px",borderRadius:this.props.radius,boxShadow:this.props.shadow},container:{padding:"0 2px",position:"relative",height:"100%",borderRadius:this.props.radius},pointer:{position:"absolute",left:100*this.props.hsl.h/360+"%"},slider:{marginTop:"1px",width:"4px",borderRadius:"1px",height:"8px",boxShadow:"0 0 2px rgba(0, 0, 0, .6)",background:"#fff",transform:"translateX(-2px)"}},vertical:{pointer:{left:"0px",top:-100*this.props.hsl.h/360+100+"%"}}},{vertical:"vertical"===e});return m.a.createElement("div",{style:n.hue},m.a.createElement("div",{className:"hue-"+e,style:n.container,ref:function(e){return t.container=e},onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},m.a.createElement("style",null,"\n            .hue-horizontal {\n              background: linear-gradient(to right, #f00 0%, #ff0 17%, #0f0\n                33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);\n              background: -webkit-linear-gradient(to right, #f00 0%, #ff0\n                17%, #0f0 33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);\n            }\n\n            .hue-vertical {\n              background: linear-gradient(to top, #f00 0%, #ff0 17%, #0f0 33%,\n                #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);\n              background: -webkit-linear-gradient(to top, #f00 0%, #ff0 17%,\n                #0f0 33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);\n            }\n          "),m.a.createElement("div",{style:n.pointer},this.props.pointer?m.a.createElement(this.props.pointer,this.props):m.a.createElement("div",{style:n.slider}))))}}]),i})(h.PureComponent||h.Component),a=t(3),c=t.n(a);var dn=function(e,t){return e===t||e!=e&&t!=t};var pn=function(e,t){for(var n=e.length;n--;)if(dn(e[n][0],t))return n;return-1},hn=Array.prototype.splice;function mn(e){var t=this.__data__;return!((e=pn(t,e))<0||(e==t.length-1?t.pop():hn.call(t,e,1),--this.size,0))}function gn(e){var t=this.__data__;return(e=pn(t,e))<0?void 0:t[e][1]}function vn(e){return-1<pn(this.__data__,e)}function bn(e,t){var n=this.__data__,r=pn(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}function yn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}yn.prototype.clear=function(){this.__data__=[],this.size=0},yn.prototype.delete=mn,yn.prototype.get=gn,yn.prototype.has=vn,yn.prototype.set=bn;var En=yn;function wn(){this.__data__=new En,this.size=0}function xn(e){var t=this.__data__,e=t.delete(e);return this.size=t.size,e}function Cn(e){return this.__data__.get(e)}function _n(e){return this.__data__.has(e)}var Pn=t(10),e=Pn.a.Symbol,o=Object.prototype,kn=o.hasOwnProperty,Sn=o.toString,Rn=e?e.toStringTag:void 0;var In=function(e){var t=kn.call(e,Rn),n=e[Rn];try{var r=!(e[Rn]=void 0)}catch(e){}var a=Sn.call(e);return r&&(t?e[Rn]=n:delete e[Rn]),a},On=Object.prototype.toString;var Fn=function(e){return On.call(e)},An=e?e.toStringTag:void 0;var jn=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":(An&&An in Object(e)?In:Fn)(e)};var Ln=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)};var Tn=function(e){return!!Ln(e)&&("[object Function]"==(e=jn(e))||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e)},r=Pn.a["__core-js_shared__"],Mn=(i=/[^.]+$/.exec(r&&r.keys&&r.keys.IE_PROTO||""))?"Symbol(src)_1."+i:"";var Nn=function(e){return!!Mn&&Mn in e},Bn=Function.prototype.toString;var Vn=function(e){if(null!=e){try{return Bn.call(e)}catch(e){}try{return e+""}catch(e){}}return""},Dn=/^\[object .+?Constructor\]$/,u=Object.prototype,s=Function.prototype.toString,a=u.hasOwnProperty,zn=RegExp("^"+s.call(a).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");var Xn=function(e){return!(!Ln(e)||Nn(e))&&(Tn(e)?zn:Dn).test(Vn(e))};var Hn=function(e,t){return null==e?void 0:e[t]};var Un=function(e,t){return e=Hn(e,t),Xn(e)?e:void 0},Wn=Un(Pn.a,"Map"),Zn=Un(Object,"create");function $n(e){return e=this.has(e)&&delete this.__data__[e],this.size-=e?1:0,e}var qn=Object.prototype.hasOwnProperty;function Yn(e){var t,n=this.__data__;return Zn?"__lodash_hash_undefined__"===(t=n[e])?void 0:t:qn.call(n,e)?n[e]:void 0}var Gn=Object.prototype.hasOwnProperty;function Kn(e){var t=this.__data__;return Zn?void 0!==t[e]:Gn.call(t,e)}function Qn(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=Zn&&void 0===t?"__lodash_hash_undefined__":t,this}function Jn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Jn.prototype.clear=function(){this.__data__=Zn?Zn(null):{},this.size=0},Jn.prototype.delete=$n,Jn.prototype.get=Yn,Jn.prototype.has=Kn,Jn.prototype.set=Qn;var er=Jn;var tr=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e};var nr=function(e,t){return e=e.__data__,tr(t)?e["string"==typeof t?"string":"hash"]:e.map};function rr(e){return e=nr(this,e).delete(e),this.size-=e?1:0,e}function ar(e){return nr(this,e).get(e)}function or(e){return nr(this,e).has(e)}function ir(e,t){var n=nr(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}function lr(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}lr.prototype.clear=function(){this.size=0,this.__data__={hash:new er,map:new(Wn||En),string:new er}},lr.prototype.delete=rr,lr.prototype.get=ar,lr.prototype.has=or,lr.prototype.set=ir;var cr=lr;function ur(e,t){var n=this.__data__;if(n instanceof En){var r=n.__data__;if(!Wn||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new cr(r)}return n.set(e,t),this.size=n.size,this}function sr(e){e=this.__data__=new En(e);this.size=e.size}sr.prototype.clear=wn,sr.prototype.delete=xn,sr.prototype.get=Cn,sr.prototype.has=_n,sr.prototype.set=ur;var fr=sr,dr=(()=>{try{var e=Un(Object,"defineProperty");return e({},"",{}),e}catch(e){}})();var pr=function(e,t,n){"__proto__"==t&&dr?dr(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n};var hr=function(e,t,n){(void 0===n||dn(e[t],n))&&(void 0!==n||t in e)||pr(e,t,n)};var mr=function(c){return function(e,t,n){for(var r=-1,a=Object(e),o=n(e),i=o.length;i--;){var l=o[c?i:++r];if(!1===t(a[l],l,a))break}return e}}(),gr=t(95),vr=Pn.a.Uint8Array;var br=function(e){var t=new e.constructor(e.byteLength);return new vr(t).set(new vr(e)),t};var yr=function(e,t){return t=t?br(e.buffer):e.buffer,new e.constructor(t,e.byteOffset,e.length)};var Er=function(e,t){var n=-1,r=e.length;for(t=t||Array(r);++n<r;)t[n]=e[n];return t},wr=Object.create;function xr(){}var Cr=function(e){if(!Ln(e))return{};if(wr)return wr(e);xr.prototype=e;e=new xr;return xr.prototype=void 0,e};var o=function(t,n){return function(e){return t(n(e))}},_r=o(Object.getPrototypeOf,Object),Pr=Object.prototype;var kr=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||Pr)};var Sr=function(e){return"function"!=typeof e.constructor||kr(e)?{}:Cr(_r(e))};var Rr=function(e){return null!=e&&"object"==typeof e};var r=function(e){return Rr(e)&&"[object Arguments]"==jn(e)},i=Object.prototype,Ir=i.hasOwnProperty,Or=i.propertyIsEnumerable,Fr=r(function(){return arguments}())?r:function(e){return Rr(e)&&Ir.call(e,"callee")&&!Or.call(e,"callee")},Ar=Array.isArray;var jr=function(e){return"number"==typeof e&&-1<e&&e%1==0&&e<=9007199254740991};var Lr=function(e){return null!=e&&jr(e.length)&&!Tn(e)};var Tr=function(e){return Rr(e)&&Lr(e)},Mr=t(22),u=Function.prototype,s=Object.prototype,Nr=u.toString,Br=s.hasOwnProperty,Vr=Nr.call(Object);var Dr=function(e){return!(!Rr(e)||"[object Object]"!=jn(e))&&(null===(e=_r(e))||"function"==typeof(e=Br.call(e,"constructor")&&e.constructor)&&e instanceof e&&Nr.call(e)==Vr)},R={};R["[object Float32Array]"]=R["[object Float64Array]"]=R["[object Int8Array]"]=R["[object Int16Array]"]=R["[object Int32Array]"]=R["[object Uint8Array]"]=R["[object Uint8ClampedArray]"]=R["[object Uint16Array]"]=R["[object Uint32Array]"]=!0,R["[object Arguments]"]=R["[object Array]"]=R["[object ArrayBuffer]"]=R["[object Boolean]"]=R["[object DataView]"]=R["[object Date]"]=R["[object Error]"]=R["[object Function]"]=R["[object Map]"]=R["[object Number]"]=R["[object Object]"]=R["[object RegExp]"]=R["[object Set]"]=R["[object String]"]=R["[object WeakMap]"]=!1;function zr(e){return Rr(e)&&jr(e.length)&&!!R[jn(e)]}var a=function(t){return function(e){return t(e)}},i=t(64),r=i.a&&i.a.isTypedArray,Xr=r?a(r):zr;var Hr=function(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]},Ur=Object.prototype.hasOwnProperty;var Wr=function(e,t,n){var r=e[t];Ur.call(e,t)&&dn(r,n)&&(void 0!==n||t in e)||pr(e,t,n)};var Zr=function(e,t,n,r){for(var a=!n,o=(n=n||{},-1),i=t.length;++o<i;){var l=t[o],c=r?r(n[l],e[l],l,n,e):void 0;void 0===c&&(c=e[l]),(a?pr:Wr)(n,l,c)}return n};var $r=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r},qr=/^(?:0|[1-9]\d*)$/;var Yr=function(e,t){var n=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==n||"symbol"!=n&&qr.test(e))&&-1<e&&e%1==0&&e<t},Gr=Object.prototype.hasOwnProperty;var Kr=function(e,t){var n,r=Ar(e),a=!r&&Fr(e),o=!r&&!a&&Object(Mr.a)(e),i=!r&&!a&&!o&&Xr(e),l=r||a||o||i,c=l?$r(e.length,String):[],u=c.length;for(n in e)!t&&!Gr.call(e,n)||l&&("length"==n||o&&("offset"==n||"parent"==n)||i&&("buffer"==n||"byteLength"==n||"byteOffset"==n)||Yr(n,u))||c.push(n);return c};var Qr=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t},Jr=Object.prototype.hasOwnProperty;var ea=function(e){if(!Ln(e))return Qr(e);var t,n=kr(e),r=[];for(t in e)("constructor"!=t||!n&&Jr.call(e,t))&&r.push(t);return r};var ta=function(e){return Lr(e)?Kr(e,!0):ea(e)};var na=function(e){return Zr(e,ta(e))};var ra=function(e,t,n,r,a,o,i){var l,c,u,s=Hr(e,n),f=Hr(t,n),d=i.get(f);d||((t=void 0===(d=o?o(s,f,n+"",e,t,i):void 0))&&(c=!(l=Ar(f))&&Object(Mr.a)(f),u=!l&&!c&&Xr(f),d=f,l||c||u?d=Ar(s)?s:Tr(s)?Er(s):c?(t=!1,Object(gr.a)(f,!0)):u?yr(f,!(t=!1)):[]:Dr(f)||Fr(f)?Fr(d=s)?d=na(s):Ln(s)&&!Tn(s)||(d=Sr(f)):t=!1),t&&(i.set(f,d),a(d,f,r,o,i),i.delete(f))),hr(e,n,d)};var aa=function r(a,o,i,l,c){a!==o&&mr(o,function(e,t){var n;c=c||new fr,Ln(e)?ra(a,o,t,i,r,l,c):(n=l?l(Hr(a,t),e,t+"",a,o,c):void 0,hr(a,t,n=void 0===n?e:n))},ta)};function oa(e){return e}var ia=function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)},la=Math.max;var ca=function(o,i,l){return i=la(void 0===i?o.length-1:i,0),function(){for(var e=arguments,t=-1,n=la(e.length-i,0),r=Array(n);++t<n;)r[t]=e[i+t];for(var t=-1,a=Array(i+1);++t<i;)a[t]=e[t];return a[i]=l(r),ia(o,this,a)}};var ua=function(e){return function(){return e}},sa=Date.now;var fa=function(n){var r=0,a=0;return function(){var e=sa(),t=16-(e-a);if(a=e,0<t){if(800<=++r)return arguments[0]}else r=0;return n.apply(void 0,arguments)}}(dr?function(e,t){return dr(e,"toString",{configurable:!0,enumerable:!1,value:ua(t),writable:!0})}:oa);var da=function(e,t){return fa(ca(e,t,oa),e+"")};var pa=function(e,t,n){var r;return!!Ln(n)&&!!("number"==(r=typeof t)?Lr(n)&&Yr(t,n.length):"string"==r&&t in n)&&dn(n[t],e)};function ha(e){var t=e.zDepth,n=e.radius,r=e.background,a=e.children,e=void 0===(e=e.styles)?{}:e,n=k()(ma({default:{wrap:{position:"relative",display:"inline-block"},content:{position:"relative"},bg:{absolute:"0px 0px 0px 0px",boxShadow:"0 "+t+"px "+4*t+"px rgba(0,0,0,.24)",borderRadius:n,background:r}},"zDepth-0":{bg:{boxShadow:"none"}},"zDepth-1":{bg:{boxShadow:"0 2px 10px rgba(0,0,0,.12), 0 2px 5px rgba(0,0,0,.16)"}},"zDepth-2":{bg:{boxShadow:"0 6px 20px rgba(0,0,0,.19), 0 8px 17px rgba(0,0,0,.2)"}},"zDepth-3":{bg:{boxShadow:"0 17px 50px rgba(0,0,0,.19), 0 12px 15px rgba(0,0,0,.24)"}},"zDepth-4":{bg:{boxShadow:"0 25px 55px rgba(0,0,0,.21), 0 16px 28px rgba(0,0,0,.22)"}},"zDepth-5":{bg:{boxShadow:"0 40px 77px rgba(0,0,0,.22), 0 27px 24px rgba(0,0,0,.2)"}},square:{bg:{borderRadius:"0"}},circle:{bg:{borderRadius:"50%"}}},e),{"zDepth-1":1===t});return m.a.createElement("div",{style:n.wrap},m.a.createElement("div",{style:n.bg}),m.a.createElement("div",{style:n.content},a))}var ma=function(l){return da(function(e,t){var n=-1,r=t.length,a=1<r?t[r-1]:void 0,o=2<r?t[2]:void 0,a=3<l.length&&"function"==typeof a?(r--,a):void 0;for(o&&pa(t[0],t[1],o)&&(a=r<3?void 0:a,r=1),e=Object(e);++n<r;){var i=t[n];i&&l(e,i,n,a)}return e})}(function(e,t,n){aa(e,t,n)}),ga=(ha.propTypes={background:c.a.string,zDepth:c.a.oneOf([0,1,2,3,4,5]),radius:c.a.number,styles:c.a.object},ha.defaultProps={background:"#fff",zDepth:1,radius:2,styles:{}},ha),va=function(){return Pn.a.Date.now()},ba=/\s/;var ya=function(e){for(var t=e.length;t--&&ba.test(e.charAt(t)););return t},Ea=/^\s+/;var wa=function(e){return e&&e.slice(0,ya(e)+1).replace(Ea,"")};var xa=function(e){return"symbol"==typeof e||Rr(e)&&"[object Symbol]"==jn(e)},Ca=/^[-+]0x[0-9a-f]+$/i,_a=/^0b[01]+$/i,Pa=/^0o[0-7]+$/i,ka=parseInt;var Sa=function(e){if("number"==typeof e)return e;if(xa(e))return NaN;if(Ln(e)&&(t="function"==typeof e.valueOf?e.valueOf():e,e=Ln(t)?t+"":t),"string"!=typeof e)return 0===e?e:+e;e=wa(e);var t=_a.test(e);return t||Pa.test(e)?ka(e.slice(2),t?2:8):Ca.test(e)?NaN:+e},Ra=Math.max,Ia=Math.min;var Oa=function(r,n,e){var a,o,i,l,c,u,s=0,f=!1,d=!1,t=!0;if("function"!=typeof r)throw new TypeError("Expected a function");function p(e){var t=a,n=o;return a=o=void 0,s=e,l=r.apply(n,t)}function h(e){var t=e-u;return void 0===u||n<=t||t<0||d&&i<=e-s}function m(){var e,t=va();if(h(t))return g(t);c=setTimeout(m,(e=n-((t=t)-u),d?Ia(e,i-(t-s)):e))}function g(e){return c=void 0,t&&a?p(e):(a=o=void 0,l)}function v(){var e=va(),t=h(e);if(a=arguments,o=this,u=e,t){if(void 0===c)return s=e=u,c=setTimeout(m,n),f?p(e):l;if(d)return clearTimeout(c),c=setTimeout(m,n),p(u)}return void 0===c&&(c=setTimeout(m,n)),l}return n=Sa(n)||0,Ln(e)&&(f=!!e.leading,d="maxWait"in e,i=d?Ra(Sa(e.maxWait)||0,n):i,t="trailing"in e?!!e.trailing:t),v.cancel=function(){void 0!==c&&clearTimeout(c),a=u=o=c=void(s=0)},v.flush=function(){return void 0===c?l:g(va())},v};var Fa=function(e,t,n){var r=!0,a=!0;if("function"!=typeof e)throw new TypeError("Expected a function");return Ln(n)&&(r="leading"in n?!!n.leading:r,a="trailing"in n?!!n.trailing:a),Oa(e,t,{leading:r,maxWait:t,trailing:a})},Aa=function(e,t,n){return t&&ja(e.prototype,t),n&&ja(e,n),e};function ja(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var La=(e=>{var t=n;if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);function n(e){var l;if(this instanceof n)return(l=((e,t)=>{if(e)return!t||"object"!=typeof t&&"function"!=typeof t?e:t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")})(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,e))).handleChange=function(e){var t,n,r,a,o,i;"function"==typeof l.props.onChange&&l.throttle(l.props.onChange,(t=e,n=l.props.hsl,r=l.container,a=r.getBoundingClientRect(),o=a.width,a=a.height,i=("number"==typeof t.pageX?t:t.touches[0]).pageX,t=("number"==typeof t.pageY?t:t.touches[0]).pageY,i-=r.getBoundingClientRect().left+window.pageXOffset,t-=r.getBoundingClientRect().top+window.pageYOffset,i<0?i=0:o<i&&(i=o),t<0?t=0:a<t&&(t=a),{h:n.h,s:i/o,v:1-t/a,a:n.a,source:"hsv"}),e)},l.handleMouseDown=function(e){l.handleChange(e);e=l.getContainerRenderWindow();e.addEventListener("mousemove",l.handleChange),e.addEventListener("mouseup",l.handleMouseUp)},l.handleMouseUp=function(){l.unbindEventListeners()},l.throttle=Fa(function(e,t,n){e(t,n)},50),l;throw new TypeError("Cannot call a class as a function")}return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e),Aa(n,[{key:"componentWillUnmount",value:function(){this.throttle.cancel(),this.unbindEventListeners()}},{key:"getContainerRenderWindow",value:function(){for(var e=this.container,t=window;!t.document.contains(e)&&t.parent!==t;)t=t.parent;return t}},{key:"unbindEventListeners",value:function(){var e=this.getContainerRenderWindow();e.removeEventListener("mousemove",this.handleChange),e.removeEventListener("mouseup",this.handleMouseUp)}},{key:"render",value:function(){var t=this,e=this.props.style||{},n=e.color,r=e.white,a=e.black,o=e.pointer,e=e.circle,n=k()({default:{color:{absolute:"0px 0px 0px 0px",background:"hsl("+this.props.hsl.h+",100%, 50%)",borderRadius:this.props.radius},white:{absolute:"0px 0px 0px 0px",borderRadius:this.props.radius},black:{absolute:"0px 0px 0px 0px",boxShadow:this.props.shadow,borderRadius:this.props.radius},pointer:{position:"absolute",top:-100*this.props.hsv.v+100+"%",left:100*this.props.hsv.s+"%",cursor:"default"},circle:{width:"4px",height:"4px",boxShadow:"0 0 0 1.5px #fff, inset 0 0 1px 1px rgba(0,0,0,.3),\n            0 0 1px 2px rgba(0,0,0,.4)",borderRadius:"50%",cursor:"hand",transform:"translate(-2px, -2px)"}},custom:{color:n,white:r,black:a,pointer:o,circle:e}},{custom:!!this.props.style});return m.a.createElement("div",{style:n.color,ref:function(e){return t.container=e},onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},m.a.createElement("style",null,"\n          .saturation-white {\n            background: -webkit-linear-gradient(to right, #fff, rgba(255,255,255,0));\n            background: linear-gradient(to right, #fff, rgba(255,255,255,0));\n          }\n          .saturation-black {\n            background: -webkit-linear-gradient(to top, #000, rgba(0,0,0,0));\n            background: linear-gradient(to top, #000, rgba(0,0,0,0));\n          }\n        "),m.a.createElement("div",{style:n.white,className:"saturation-white"},m.a.createElement("div",{style:n.black,className:"saturation-black"}),m.a.createElement("div",{style:n.pointer},this.props.pointer?m.a.createElement(this.props.pointer,this.props):m.a.createElement("div",{style:n.circle}))))}}]),n})(h.PureComponent||h.Component);function Ta(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e}var Ma=o(Object.keys,Object),Na=Object.prototype.hasOwnProperty;var Ba=function(e){if(!kr(e))return Ma(e);var t,n=[];for(t in Object(e))Na.call(e,t)&&"constructor"!=t&&n.push(t);return n};var Va=function(e){return(Lr(e)?Kr:Ba)(e)};var Da=function(o,i){return function(e,t){if(null!=e){if(!Lr(e))return o(e,t);for(var n=e.length,r=i?n:-1,a=Object(e);(i?r--:++r<n)&&!1!==t(a[r],r,a););}return e}}(function(e,t){return e&&mr(e,t,Va)});var za=function(e){return"function"==typeof e?e:oa};function Xa(t){var n=0,r=0;return Za(["r","g","b","a","h","s","l","v"],function(e){t[e]&&(n+=1,isNaN(t[e])||(r+=1),"s"!==e&&"l"!==e||/^\d+%$/.test(t[e])&&(r+=1))}),n===r&&t}function Ha(e){var t;return"transparent"===e||(t="#"===String(e).charAt(0)?1:0,e.length!==4+t&&e.length<7+t&&$a()(e).isValid())}function Ua(e){return e?"transparent"===(e=qa(e)).hex?"rgba(0,0,0,0.4)":128<=(299*e.rgb.r+587*e.rgb.g+114*e.rgb.b)/1e3?"#000":"#fff":"#fff"}function Wa(e,t){return e=e.replace("°",""),$a()(t+" ("+e+")")._ok}var Za=function(e,t){return(Ar(e)?Ta:Da)(e,za(t))},u=t(28),$a=t.n(u),qa=function(e,t){var n=e.hex?$a()(e.hex):$a()(e),r=n.toHsl(),a=n.toHsv(),o=n.toRgb(),n=n.toHex(),i=(0===r.s&&(r.h=t||0,a.h=t||0),"000000"===n&&0===o.a);return{hsl:r,hex:i?"transparent":"#"+n,rgb:o,hsv:a,oldHue:e.h||t||r.h,source:e.source}},Ya=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n,r=arguments[t];for(n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Ga=function(e,t,n){return t&&Ka(e.prototype,t),n&&Ka(e,n),e};function Ka(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var s=function(n){var e=(e=>{var t=r;if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);function r(e){var n;if(this instanceof r)return(n=((e,t)=>{if(e)return!t||"object"!=typeof t&&"function"!=typeof t?e:t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")})(this,(r.__proto__||Object.getPrototypeOf(r)).call(this))).handleChange=function(e,t){Xa(e)&&(e=qa(e,e.h||n.state.oldHue),n.setState(e),n.props.onChangeComplete&&n.debounce(n.props.onChangeComplete,e,t),n.props.onChange)&&n.props.onChange(e,t)},n.handleSwatchHover=function(e,t){Xa(e)&&(e=qa(e,e.h||n.state.oldHue),n.props.onSwatchHover)&&n.props.onSwatchHover(e,t)},n.state=Ya({},qa(e.color,0)),n.debounce=Oa(function(e,t,n){e(t,n)},100),n;throw new TypeError("Cannot call a class as a function")}return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e),Ga(r,[{key:"render",value:function(){var e={};return this.props.onSwatchHover&&(e.onSwatchHover=this.handleSwatchHover),m.a.createElement(n,Ya({},this.props,this.state,{onChange:this.handleChange},e))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return Ya({},qa(e.color,t.oldHue))}}]),r})(h.PureComponent||h.Component);return e.propTypes=Ya({},n.propTypes),e.defaultProps=Ya({},n.defaultProps,{color:{h:250,s:.5,l:.2,a:1}}),e},Qa=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n,r=arguments[t];for(n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Ja=function(e,t,n){return t&&eo(e.prototype,t),n&&eo(e,n),e};function eo(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function to(e,t){if(e)return!t||"object"!=typeof t&&"function"!=typeof t?e:t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}function no(e){var t=e.rgb,n=e.hsl,r=e.width,a=e.height,o=e.onChange,i=e.direction,l=e.style,c=e.renderers,u=e.pointer,e=void 0===(e=e.className)?"":e,r=k()({default:{picker:{position:"relative",width:r,height:a},alpha:{radius:"2px",style:l}}});return m.a.createElement("div",{style:r.picker,className:"alpha-picker "+e},m.a.createElement(nn,oo({},r.alpha,{rgb:t,hsl:n,pointer:u,renderers:c,onChange:o,direction:i})))}var ro=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n,r=arguments[t];for(n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},ao=function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:"span",n=m.a.Component,r=i;if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function, not "+typeof n);function i(){var e,t=this,n=i;if(!(t instanceof n))throw new TypeError("Cannot call a class as a function");for(var r=arguments.length,a=Array(r),o=0;o<r;o++)a[o]=arguments[o];return(n=e=to(this,(t=i.__proto__||Object.getPrototypeOf(i)).call.apply(t,[this].concat(a)))).state={focus:!1},e.handleFocus=function(){return e.setState({focus:!0})},e.handleBlur=function(){return e.setState({focus:!1})},to(e,n)}return r.prototype=Object.create(n&&n.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),n&&(Object.setPrototypeOf?Object.setPrototypeOf(r,n):r.__proto__=n),Ja(i,[{key:"render",value:function(){return m.a.createElement(t,{onFocus:this.handleFocus,onBlur:this.handleBlur},m.a.createElement(e,Qa({},this.props,this.state)))}}]),i}(function(e){var t=e.color,n=e.style,r=e.onClick,a=void 0===r?function(){}:r,o=e.onHover,r=e.title,r=void 0===r?t:r,i=e.children,l=e.focus,e=e.focusStyle,e=void 0===e?{}:e,c="transparent"===t,n=k()({default:{swatch:ro({background:t,height:"100%",width:"100%",cursor:"pointer",position:"relative",outline:"none"},n,l?e:{})}}),l={};return o&&(l.onMouseOver=function(e){return o(t,e)}),m.a.createElement("div",ro({style:n.swatch,onClick:function(e){return a(t,e)},title:r,tabIndex:0,onKeyDown:function(e){return 13===e.keyCode&&a(t,e)}},l),i,c&&m.a.createElement(Kt,{borderRadius:n.swatch.borderRadius,boxShadow:"inset 0 0 0 1px rgba(0,0,0,0.1)"}))}),oo=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n,r=arguments[t];for(n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e};no.defaultProps={width:"316px",height:"16px",direction:"horizontal",pointer:function(e){e=e.direction,e=k()({default:{picker:{width:"18px",height:"18px",borderRadius:"50%",transform:"translate(-9px, -1px)",backgroundColor:"rgb(248, 248, 248)",boxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.37)"}},vertical:{picker:{transform:"translate(-3px, -9px)"}}},{vertical:"vertical"===e});return m.a.createElement("div",{style:e.picker})}},s(no);var io=function(e,t){for(var n=-1,r=null==e?0:e.length,a=Array(r);++n<r;)a[n]=t(e[n],n,e);return a};function lo(e){return this.__data__.has(e)}function co(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new cr;++t<n;)this.add(e[t])}co.prototype.add=co.prototype.push=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this},co.prototype.has=lo;var uo=co;var so=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1};var fo=function(e,t){return e.has(t)};var po=function(e,t,n,r,a,o){var i=1&n,l=e.length,c=t.length;if(l!=c&&!(i&&l<c))return!1;var c=o.get(e),u=o.get(t);if(c&&u)return c==t&&u==e;var s=-1,f=!0,d=2&n?new uo:void 0;for(o.set(e,t),o.set(t,e);++s<l;){var p,h=e[s],m=t[s];if(void 0!==(p=r?i?r(m,h,s,t,e,o):r(h,m,s,e,t,o):p)){if(p)continue;f=!1;break}if(d){if(!so(t,function(e,t){if(!fo(d,t)&&(h===e||a(h,e,n,r,o)))return d.push(t)})){f=!1;break}}else if(h!==m&&!a(h,m,n,r,o)){f=!1;break}}return o.delete(e),o.delete(t),f};function ho(e){var n=-1,r=Array(e.size);return e.forEach(function(e,t){r[++n]=[t,e]}),r}function mo(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}var i=e?e.prototype:void 0,go=i?i.valueOf:void 0;var vo=function(e,t,n,r,a,o,i){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return e.byteLength==t.byteLength&&o(new vr(e),new vr(t))?!0:!1;case"[object Boolean]":case"[object Date]":case"[object Number]":return dn(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var l=ho;case"[object Set]":l=l||mo;if(e.size!=t.size&&!(1&r))return!1;var c=i.get(e);if(c)return c==t;r|=2,i.set(e,t);c=po(l(e),l(t),r,a,o,i);return i.delete(e),c;case"[object Symbol]":if(go)return go.call(e)==go.call(t)}return!1};var bo=function(e,t){for(var n=-1,r=t.length,a=e.length;++n<r;)e[a+n]=t[n];return e};var yo=function(e,t,n){return t=t(e),Ar(e)?t:bo(t,n(e))};var Eo=function(e,t){for(var n=-1,r=null==e?0:e.length,a=0,o=[];++n<r;){var i=e[n];t(i,n,e)&&(o[a++]=i)}return o};var wo=Object.prototype.propertyIsEnumerable,xo=Object.getOwnPropertySymbols,Co=xo?function(t){return null==t?[]:(t=Object(t),Eo(xo(t),function(e){return wo.call(t,e)}))}:function(){return[]};var _o=function(e){return yo(e,Va,Co)},Po=Object.prototype.hasOwnProperty;var ko=function(e,t,n,r,a,o){var i=1&n,l=_o(e),c=l.length;if(c!=_o(t).length&&!i)return!1;for(var u=c;u--;){var s=l[u];if(!(i?s in t:Po.call(t,s)))return!1}var f=o.get(e),d=o.get(t);if(f&&d)return f==t&&d==e;for(var p=!0,h=(o.set(e,t),o.set(t,e),i);++u<c;){var m,g=e[s=l[u]],v=t[s];if(!(void 0===(m=r?i?r(v,g,s,t,e,o):r(g,v,s,e,t,o):m)?g===v||a(g,v,n,r,o):m)){p=!1;break}h=h||"constructor"==s}return p&&!h&&(f=e.constructor)!=(d=t.constructor)&&"constructor"in e&&"constructor"in t&&!("function"==typeof f&&f instanceof f&&"function"==typeof d&&d instanceof d)&&(p=!1),o.delete(e),o.delete(t),p},a=Un(Pn.a,"DataView"),r=Un(Pn.a,"Promise"),o=Un(Pn.a,"Set"),u=Un(Pn.a,"WeakMap"),So="[object Map]",Ro="[object Promise]",Io="[object Set]",Oo="[object WeakMap]",Fo="[object DataView]",Ao=Vn(a),jo=Vn(Wn),Lo=Vn(r),To=Vn(o),Mo=Vn(u),i=jn,No=i=a&&i(new a(new ArrayBuffer(1)))!=Fo||Wn&&i(new Wn)!=So||r&&i(r.resolve())!=Ro||o&&i(new o)!=Io||u&&i(new u)!=Oo?function(e){var t=jn(e),e="[object Object]"==t?e.constructor:void 0,e=e?Vn(e):"";if(e)switch(e){case Ao:return Fo;case jo:return So;case Lo:return Ro;case To:return Io;case Mo:return Oo}return t}:i,Bo="[object Arguments]",Vo="[object Array]",Do="[object Object]",zo=Object.prototype.hasOwnProperty;var Xo=function(e,t,n,r,a,o){var i=Ar(e),l=Ar(t),c=i?Vo:No(e),l=l?Vo:No(t),u=(c=c==Bo?Do:c)==Do,s=(l=l==Bo?Do:l)==Do;if((l=c==l)&&Object(Mr.a)(e)){if(!Object(Mr.a)(t))return!1;u=!(i=!0)}if(l&&!u)return o=o||new fr,i||Xr(e)?po(e,t,n,r,a,o):vo(e,t,c,n,r,a,o);if(!(1&n)){i=u&&zo.call(e,"__wrapped__"),c=s&&zo.call(t,"__wrapped__");if(i||c)return a(i?e.value():e,c?t.value():t,n,r,o=o||new fr)}return l&&(o=o||new fr,ko(e,t,n,r,a,o))};var Ho=function e(t,n,r,a,o){return t===n||(null==t||null==n||!Rr(t)&&!Rr(n)?t!=t&&n!=n:Xo(t,n,r,a,e,o))};var Uo=function(e,t,n,r){var a=n.length,o=a,i=!r;if(null==e)return!o;for(e=Object(e);a--;){var l=n[a];if(i&&l[2]?l[1]!==e[l[0]]:!(l[0]in e))return!1}for(;++a<o;){var c=(l=n[a])[0],u=e[c],s=l[1];if(i&&l[2]){if(void 0===u&&!(c in e))return!1}else{var f,d=new fr;if(!(void 0===(f=r?r(u,s,c,e,t,d):f)?Ho(s,u,3,r,d):f))return!1}}return!0};var Wo=function(e){return e==e&&!Ln(e)};var Zo=function(e){for(var t=Va(e),n=t.length;n--;){var r=t[n],a=e[r];t[n]=[r,a,Wo(a)]}return t};var $o=function(t,n){return function(e){return null!=e&&e[t]===n&&(void 0!==n||t in Object(e))}};var qo=function(t){var n=Zo(t);return 1==n.length&&n[0][2]?$o(n[0][0],n[0][1]):function(e){return e===t||Uo(e,t,n)}},Yo=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Go=/^\w*$/;var Ko=function(e,t){var n;return!Ar(e)&&(!("number"!=(n=typeof e)&&"symbol"!=n&&"boolean"!=n&&null!=e&&!xa(e))||Go.test(e)||!Yo.test(e)||null!=t&&e in Object(t))};function Qo(r,a){if("function"!=typeof r||null!=a&&"function"!=typeof a)throw new TypeError("Expected a function");function o(){var e=arguments,t=a?a.apply(this,e):e[0],n=o.cache;return n.has(t)?n.get(t):(e=r.apply(this,e),o.cache=n.set(t,e)||n,e)}return o.cache=new(Qo.Cache||cr),o}Qo.Cache=cr;var Jo=Qo;var ei=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,ti=/\\(\\)?/g,ni=function(e){var t=(e=Jo(e,function(e){return 500===t.size&&t.clear(),e})).cache;return e}(function(e){var a=[];return 46===e.charCodeAt(0)&&a.push(""),e.replace(ei,function(e,t,n,r){a.push(n?r.replace(ti,"$1"):t||e)}),a}),a=e?e.prototype:void 0,ri=a?a.toString:void 0;var ai=function e(t){var n;return"string"==typeof t?t:Ar(t)?io(t,e)+"":xa(t)?ri?ri.call(t):"":"0"==(n=t+"")&&1/t==-1/0?"-0":n};var oi=function(e){return null==e?"":ai(e)};var ii=function(e,t){return Ar(e)?e:Ko(e,t)?[e]:ni(oi(e))};var li=function(e){var t;return"string"==typeof e||xa(e)?e:"0"==(t=e+"")&&1/e==-1/0?"-0":t};var ci=function(e,t){for(var n=0,r=(t=ii(t,e)).length;null!=e&&n<r;)e=e[li(t[n++])];return n&&n==r?e:void 0};var ui=function(e,t,n){return void 0===(e=null==e?void 0:ci(e,t))?n:e};function si(e,t){return null!=e&&t in Object(e)}var fi=function(e,t,n){for(var r=-1,a=(t=ii(t,e)).length,o=!1;++r<a;){var i=li(t[r]);if(!(o=null!=e&&n(e,i)))break;e=e[i]}return o||++r!=a?o:!!(a=null==e?0:e.length)&&jr(a)&&Yr(i,a)&&(Ar(e)||Fr(e))};var di=function(e,t){return null!=e&&fi(e,t,si)};var pi=function(n,r){return Ko(n)&&Wo(r)?$o(li(n),r):function(e){var t=ui(e,n);return void 0===t&&t===r?di(e,n):Ho(r,t,3)}};var hi=function(t){return function(e){return null==e?void 0:e[t]}};var mi=function(t){return function(e){return ci(e,t)}};var gi=function(e){return Ko(e)?hi(li(e)):mi(e)};var vi=function(e){return"function"==typeof e?e:null==e?oa:"object"==typeof e?Ar(e)?pi(e[0],e[1]):qo(e):gi(e)};function bi(e,r){var a=-1,o=Lr(e)?Array(e.length):[];return Da(e,function(e,t,n){o[++a]=r(e,t,n)}),o}function yi(e){var t=e.colors,n=e.onClick,r=e.onSwatchHover,a=k()({default:{swatches:{marginRight:"-10px"},swatch:{width:"22px",height:"22px",float:"left",marginRight:"10px",marginBottom:"10px",borderRadius:"4px"},clear:{clear:"both"}}});return m.a.createElement("div",{style:a.swatches},Ci(t,function(e){return m.a.createElement(ao,{key:e,color:e,style:a.swatch,onClick:n,onHover:r,focusStyle:{boxShadow:"0 0 4px "+e}})}),m.a.createElement("div",{style:a.clear}))}function Ei(e){function t(e,t){Ha(e)&&n({hex:e,source:"hex"},t)}var n=e.onChange,r=e.onSwatchHover,a=e.hex,o=e.colors,i=e.width,l=e.triangle,c=void 0===(c=e.styles)?{}:c,e=void 0===(e=e.className)?"":e,u="transparent"===a,i=k()(ma({default:{card:{width:i,background:"#fff",boxShadow:"0 1px rgba(0,0,0,.1)",borderRadius:"6px",position:"relative"},head:{height:"110px",background:a,borderRadius:"6px 6px 0 0",display:"flex",alignItems:"center",justifyContent:"center",position:"relative"},body:{padding:"10px"},label:{fontSize:"18px",color:Ua(a),position:"relative"},triangle:{width:"0px",height:"0px",borderStyle:"solid",borderWidth:"0 10px 10px 10px",borderColor:"transparent transparent "+a+" transparent",position:"absolute",top:"-10px",left:"50%",marginLeft:"-10px"},input:{width:"100%",fontSize:"12px",color:"#666",border:"0px",outline:"none",height:"22px",boxShadow:"inset 0 0 0 1px #ddd",borderRadius:"4px",padding:"0 7px",boxSizing:"border-box"}},"hide-triangle":{triangle:{display:"none"}}},c),{"hide-triangle":"hide"===l});return m.a.createElement("div",{style:i.card,className:"block-picker "+e},m.a.createElement("div",{style:i.triangle}),m.a.createElement("div",{style:i.head},u&&m.a.createElement(Kt,{borderRadius:"6px 6px 0 0"}),m.a.createElement("div",{style:i.label},a)),m.a.createElement("div",{style:i.body},m.a.createElement(yi,{colors:o,onClick:t,onSwatchHover:r}),m.a.createElement(S,{style:{input:i.input},value:a,onChange:t})))}function wi(e){var t=e.color,n=e.onClick,r=e.onSwatchHover,a=e.hover,o=e.active,i=e.circleSize,e=e.circleSpacing,e=k()({default:{swatch:{width:i,height:i,marginRight:e,marginBottom:e,transform:"scale(1)",transition:"100ms transform ease"},Swatch:{borderRadius:"50%",background:"transparent",boxShadow:"inset 0 0 0 "+(i/2+1)+"px "+t,transition:"100ms box-shadow ease"}},hover:{swatch:{transform:"scale(1.2)"}},active:{Swatch:{boxShadow:"inset 0 0 0 3px "+t}}},{hover:a,active:o});return m.a.createElement("div",{style:e.swatch},m.a.createElement(ao,{style:e.Swatch,color:t,onClick:n,onHover:r,focusStyle:{boxShadow:e.Swatch.boxShadow+", 0 0 5px "+t}}))}function xi(e){function t(e,t){return r({hex:e,source:"hex"},t)}var n=e.width,r=e.onChange,a=e.onSwatchHover,o=e.colors,i=e.hex,l=e.circleSize,c=void 0===(c=e.styles)?{}:c,u=e.circleSpacing,e=void 0===(e=e.className)?"":e,n=k()(ma({default:{card:{width:n,display:"flex",flexWrap:"wrap",marginRight:-u,marginBottom:-u}}},c));return m.a.createElement("div",{style:n.card,className:"circle-picker "+e},Ci(o,function(e){return m.a.createElement(Mi,{key:e,color:e,onClick:t,onSwatchHover:a,active:i===e.toLowerCase(),circleSize:l,circleSpacing:u})}))}var Ci=function(e,t){return(Ar(e)?io:bi)(e,vi(t,3))},r=(Ei.propTypes={width:c.a.oneOfType([c.a.string,c.a.number]),colors:c.a.arrayOf(c.a.string),triangle:c.a.oneOf(["top","hide"]),styles:c.a.object},Ei.defaultProps={width:170,colors:["#D9E3F0","#F47373","#697689","#37D67A","#2CCCE4","#555555","#dce775","#ff8a65","#ba68c8"],triangle:"top",styles:{}},s(Ei),{50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",a100:"#ff8a80",a200:"#ff5252",a400:"#ff1744",a700:"#d50000"}),o={50:"#fce4ec",100:"#f8bbd0",200:"#f48fb1",300:"#f06292",400:"#ec407a",500:"#e91e63",600:"#d81b60",700:"#c2185b",800:"#ad1457",900:"#880e4f",a100:"#ff80ab",a200:"#ff4081",a400:"#f50057",a700:"#c51162"},u={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",a100:"#ea80fc",a200:"#e040fb",a400:"#d500f9",a700:"#aa00ff"},i={50:"#ede7f6",100:"#d1c4e9",200:"#b39ddb",300:"#9575cd",400:"#7e57c2",500:"#673ab7",600:"#5e35b1",700:"#512da8",800:"#4527a0",900:"#311b92",a100:"#b388ff",a200:"#7c4dff",a400:"#651fff",a700:"#6200ea"},e={50:"#e8eaf6",100:"#c5cae9",200:"#9fa8da",300:"#7986cb",400:"#5c6bc0",500:"#3f51b5",600:"#3949ab",700:"#303f9f",800:"#283593",900:"#1a237e",a100:"#8c9eff",a200:"#536dfe",a400:"#3d5afe",a700:"#304ffe"},a={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",a100:"#82b1ff",a200:"#448aff",a400:"#2979ff",a700:"#2962ff"},_i={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",a100:"#80d8ff",a200:"#40c4ff",a400:"#00b0ff",a700:"#0091ea"},Pi={50:"#e0f7fa",100:"#b2ebf2",200:"#80deea",300:"#4dd0e1",400:"#26c6da",500:"#00bcd4",600:"#00acc1",700:"#0097a7",800:"#00838f",900:"#006064",a100:"#84ffff",a200:"#18ffff",a400:"#00e5ff",a700:"#00b8d4"},ki={50:"#e0f2f1",100:"#b2dfdb",200:"#80cbc4",300:"#4db6ac",400:"#26a69a",500:"#009688",600:"#00897b",700:"#00796b",800:"#00695c",900:"#004d40",a100:"#a7ffeb",a200:"#64ffda",a400:"#1de9b6",a700:"#00bfa5"},Si={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",a100:"#b9f6ca",a200:"#69f0ae",a400:"#00e676",a700:"#00c853"},Ri={50:"#f1f8e9",100:"#dcedc8",200:"#c5e1a5",300:"#aed581",400:"#9ccc65",500:"#8bc34a",600:"#7cb342",700:"#689f38",800:"#558b2f",900:"#33691e",a100:"#ccff90",a200:"#b2ff59",a400:"#76ff03",a700:"#64dd17"},Ii={50:"#f9fbe7",100:"#f0f4c3",200:"#e6ee9c",300:"#dce775",400:"#d4e157",500:"#cddc39",600:"#c0ca33",700:"#afb42b",800:"#9e9d24",900:"#827717",a100:"#f4ff81",a200:"#eeff41",a400:"#c6ff00",a700:"#aeea00"},Oi={50:"#fffde7",100:"#fff9c4",200:"#fff59d",300:"#fff176",400:"#ffee58",500:"#ffeb3b",600:"#fdd835",700:"#fbc02d",800:"#f9a825",900:"#f57f17",a100:"#ffff8d",a200:"#ffff00",a400:"#ffea00",a700:"#ffd600"},Fi={50:"#fff8e1",100:"#ffecb3",200:"#ffe082",300:"#ffd54f",400:"#ffca28",500:"#ffc107",600:"#ffb300",700:"#ffa000",800:"#ff8f00",900:"#ff6f00",a100:"#ffe57f",a200:"#ffd740",a400:"#ffc400",a700:"#ffab00"},Ai={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",a100:"#ffd180",a200:"#ffab40",a400:"#ff9100",a700:"#ff6d00"},ji={50:"#fbe9e7",100:"#ffccbc",200:"#ffab91",300:"#ff8a65",400:"#ff7043",500:"#ff5722",600:"#f4511e",700:"#e64a19",800:"#d84315",900:"#bf360c",a100:"#ff9e80",a200:"#ff6e40",a400:"#ff3d00",a700:"#dd2c00"},Li={50:"#efebe9",100:"#d7ccc8",200:"#bcaaa4",300:"#a1887f",400:"#8d6e63",500:"#795548",600:"#6d4c41",700:"#5d4037",800:"#4e342e",900:"#3e2723"},Ti={50:"#eceff1",100:"#cfd8dc",200:"#b0bec5",300:"#90a4ae",400:"#78909c",500:"#607d8b",600:"#546e7a",700:"#455a64",800:"#37474f",900:"#263238"},Mi=(wi.defaultProps={circleSize:28,circleSpacing:14},Object(n.handleHover)(wi));xi.propTypes={width:c.a.oneOfType([c.a.string,c.a.number]),circleSize:c.a.number,circleSpacing:c.a.number,styles:c.a.object},xi.defaultProps={width:252,circleSize:28,circleSpacing:14,colors:[r[500],o[500],u[500],i[500],e[500],a[500],_i[500],Pi[500],ki[500],Si[500],Ri[500],Ii[500],Oi[500],Fi[500],Ai[500],ji[500],Li[500],Ti[500]],styles:{}},s(xi);var Ni=function(e){return void 0===e},Bi=t(96),Vi=t.n(Bi),Di=function(e,t,n){return t&&zi(e.prototype,t),n&&zi(e,n),e};function zi(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Xi(){var e=k()({default:{picker:{width:"12px",height:"12px",borderRadius:"6px",transform:"translate(-6px, -1px)",backgroundColor:"rgb(248, 248, 248)",boxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.37)"}}});return m.a.createElement("div",{style:e.picker})}function Hi(){var e=k()({default:{picker:{width:"12px",height:"12px",borderRadius:"6px",boxShadow:"inset 0 0 0 1px #fff",transform:"translate(-6px, -6px)"}}});return m.a.createElement("div",{style:e.picker})}function Ui(e){var t=e.width,n=e.onChange,r=e.disableAlpha,a=e.rgb,o=e.hsl,i=e.hsv,l=e.hex,c=e.renderers,u=void 0===(u=e.styles)?{}:u,s=void 0===(s=e.className)?"":s,e=e.defaultView,t=k()(ma({default:{picker:{width:t,background:"#fff",borderRadius:"2px",boxShadow:"0 0 2px rgba(0,0,0,.3), 0 4px 8px rgba(0,0,0,.3)",boxSizing:"initial",fontFamily:"Menlo"},saturation:{width:"100%",paddingBottom:"55%",position:"relative",borderRadius:"2px 2px 0 0",overflow:"hidden"},Saturation:{radius:"2px 2px 0 0"},body:{padding:"16px 16px 12px"},controls:{display:"flex"},color:{width:"32px"},swatch:{marginTop:"6px",width:"16px",height:"16px",borderRadius:"8px",position:"relative",overflow:"hidden"},active:{absolute:"0px 0px 0px 0px",borderRadius:"8px",boxShadow:"inset 0 0 0 1px rgba(0,0,0,.1)",background:"rgba("+a.r+", "+a.g+", "+a.b+", "+a.a+")",zIndex:"2"},toggles:{flex:"1"},hue:{height:"10px",position:"relative",marginBottom:"8px"},Hue:{radius:"2px"},alpha:{height:"10px",position:"relative"},Alpha:{radius:"2px"}},disableAlpha:{color:{width:"22px"},alpha:{display:"none"},hue:{marginBottom:"0px"},swatch:{width:"10px",height:"10px",marginTop:"0px"}}},u),{disableAlpha:r});return m.a.createElement("div",{style:t.picker,className:"chrome-picker "+s},m.a.createElement("div",{style:t.saturation},m.a.createElement(La,{style:t.Saturation,hsl:o,hsv:i,pointer:Hi,onChange:n})),m.a.createElement("div",{style:t.body},m.a.createElement("div",{style:t.controls,className:"flexbox-fix"},m.a.createElement("div",{style:t.color},m.a.createElement("div",{style:t.swatch},m.a.createElement("div",{style:t.active}),m.a.createElement(Kt,{renderers:c}))),m.a.createElement("div",{style:t.toggles},m.a.createElement("div",{style:t.hue},m.a.createElement(fn,{style:t.Hue,hsl:o,pointer:Xi,onChange:n})),m.a.createElement("div",{style:t.alpha},m.a.createElement(nn,{style:t.Alpha,rgb:a,hsl:o,pointer:Xi,renderers:c,onChange:n})))),m.a.createElement(nl,{rgb:a,hsl:o,hex:l,view:e,onChange:n,disableAlpha:r})))}function Wi(e){var t=e.color,n=void 0===(n=e.onClick)?function(){}:n,r=e.onSwatchHover,e=e.active,e=k()({default:{color:{background:t,width:"15px",height:"15px",float:"left",marginRight:"5px",marginBottom:"5px",position:"relative",cursor:"pointer"},dot:{absolute:"5px 5px 5px 5px",background:Ua(t),borderRadius:"50%",opacity:"0"}},active:{dot:{opacity:"1"}},"color-#FFFFFF":{color:{boxShadow:"inset 0 0 0 1px #ddd"},dot:{background:"#000"}},transparent:{dot:{background:"#000"}}},{active:e,"color-#FFFFFF":"#FFFFFF"===t,transparent:"transparent"===t});return m.a.createElement(ao,{style:e.color,color:t,onClick:n,onHover:r,focusStyle:{boxShadow:"0 0 4px "+t}},m.a.createElement("div",{style:e.dot}))}function Zi(e){function t(e,t){e.r||e.g||e.b?a({r:e.r||r.r,g:e.g||r.g,b:e.b||r.b,source:"rgb"},t):a({hex:e.hex,source:"hex"},t)}var n=e.hex,r=e.rgb,a=e.onChange,e=k()({default:{fields:{display:"flex",paddingBottom:"6px",paddingRight:"5px",position:"relative"},active:{position:"absolute",top:"6px",left:"5px",height:"9px",width:"9px",background:n},HEXwrap:{flex:"6",position:"relative"},HEXinput:{width:"80%",padding:"0px",paddingLeft:"20%",border:"none",outline:"none",background:"none",fontSize:"12px",color:"#333",height:"16px"},HEXlabel:{display:"none"},RGBwrap:{flex:"3",position:"relative"},RGBinput:{width:"70%",padding:"0px",paddingLeft:"30%",border:"none",outline:"none",background:"none",fontSize:"12px",color:"#333",height:"16px"},RGBlabel:{position:"absolute",top:"3px",left:"0px",lineHeight:"16px",textTransform:"uppercase",fontSize:"12px",color:"#999"}}});return m.a.createElement("div",{style:e.fields,className:"flexbox-fix"},m.a.createElement("div",{style:e.active}),m.a.createElement(S,{style:{wrap:e.HEXwrap,input:e.HEXinput,label:e.HEXlabel},label:"hex",value:n,onChange:t}),m.a.createElement(S,{style:{wrap:e.RGBwrap,input:e.RGBinput,label:e.RGBlabel},label:"r",value:r.r,onChange:t}),m.a.createElement(S,{style:{wrap:e.RGBwrap,input:e.RGBinput,label:e.RGBlabel},label:"g",value:r.g,onChange:t}),m.a.createElement(S,{style:{wrap:e.RGBwrap,input:e.RGBinput,label:e.RGBlabel},label:"b",value:r.b,onChange:t}))}function $i(e){function t(e,t){e.hex?Ha(e.hex)&&n({hex:e.hex,source:"hex"},t):n(e,t)}var n=e.onChange,r=e.onSwatchHover,a=e.colors,o=e.hex,i=e.rgb,l=void 0===(l=e.styles)?{}:l,e=void 0===(e=e.className)?"":e,c=k()(ma({default:{Compact:{background:"#f6f6f6",radius:"4px"},compact:{paddingTop:"5px",paddingLeft:"5px",boxSizing:"initial",width:"240px"},clear:{clear:"both"}}},l));return m.a.createElement(ga,{style:c.Compact,styles:l},m.a.createElement("div",{style:c.compact,className:"compact-picker "+e},m.a.createElement("div",null,Ci(a,function(e){return m.a.createElement(Wi,{key:e,color:e,active:e.toLowerCase()===o,onClick:t,onSwatchHover:r})}),m.a.createElement("div",{style:c.clear})),m.a.createElement(Zi,{hex:o,rgb:i,onChange:t})))}function qi(e){function t(e,t){return a({hex:e,source:"hex"},t)}var n=e.width,r=e.colors,a=e.onChange,o=e.onSwatchHover,i=e.triangle,l=void 0===(l=e.styles)?{}:l,e=void 0===(e=e.className)?"":e,n=k()(ma({default:{card:{width:n,background:"#fff",border:"1px solid rgba(0,0,0,0.2)",boxShadow:"0 3px 12px rgba(0,0,0,0.15)",borderRadius:"4px",position:"relative",padding:"5px",display:"flex",flexWrap:"wrap"},triangle:{position:"absolute",border:"7px solid transparent",borderBottomColor:"#fff"},triangleShadow:{position:"absolute",border:"8px solid transparent",borderBottomColor:"rgba(0,0,0,0.15)"}},"hide-triangle":{triangle:{display:"none"},triangleShadow:{display:"none"}},"top-left-triangle":{triangle:{top:"-14px",left:"10px"},triangleShadow:{top:"-16px",left:"9px"}},"top-right-triangle":{triangle:{top:"-14px",right:"10px"},triangleShadow:{top:"-16px",right:"9px"}},"bottom-left-triangle":{triangle:{top:"35px",left:"10px",transform:"rotate(180deg)"},triangleShadow:{top:"37px",left:"9px",transform:"rotate(180deg)"}},"bottom-right-triangle":{triangle:{top:"35px",right:"10px",transform:"rotate(180deg)"},triangleShadow:{top:"37px",right:"9px",transform:"rotate(180deg)"}}},l),{"hide-triangle":"hide"===i,"top-left-triangle":"top-left"===i,"top-right-triangle":"top-right"===i,"bottom-left-triangle":"bottom-left"===i,"bottom-right-triangle":"bottom-right"===i});return m.a.createElement("div",{style:n.card,className:"github-picker "+e},m.a.createElement("div",{style:n.triangleShadow}),m.a.createElement("div",{style:n.triangle}),Ci(r,function(e){return m.a.createElement(rl,{color:e,key:e,onClick:t,onSwatchHover:o})}))}function Yi(e){return e=e.direction,e=k()({default:{picker:{width:"18px",height:"18px",borderRadius:"50%",transform:"translate(-9px, -1px)",backgroundColor:"rgb(248, 248, 248)",boxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.37)"}},vertical:{picker:{transform:"translate(-3px, -9px)"}}},{vertical:"vertical"===e}),m.a.createElement("div",{style:e.picker})}function Gi(e){var t=e.width,n=e.height,r=e.onChange,a=e.hsl,o=e.direction,i=e.pointer,l=void 0===(l=e.styles)?{}:l,e=void 0===(e=e.className)?"":e,t=k()(ma({default:{picker:{position:"relative",width:t,height:n},hue:{radius:"2px"}}},l));return m.a.createElement("div",{style:t.picker,className:"hue-picker "+e},m.a.createElement(fn,al({},t.hue,{hsl:a,pointer:i,onChange:function(e){return r({a:1,h:e.h,l:.5,s:1})},direction:o})))}function Ki(e){function t(e,t){e["#"]?Ha(e["#"])&&n({hex:e["#"],source:"hex"},t):e.r||e.g||e.b?n({r:e.r||r.r,g:e.g||r.g,b:e.b||r.b,source:"rgb"},t):(e.h||e.s||e.v)&&n({h:e.h||a.h,s:e.s||a.s,v:e.v||a.v,source:"hsv"},t)}var n=e.onChange,r=e.rgb,a=e.hsv,e=e.hex,o=k()({default:{fields:{paddingTop:"5px",paddingBottom:"9px",width:"80px",position:"relative"},divider:{height:"5px"},RGBwrap:{position:"relative"},RGBinput:{marginLeft:"40%",width:"40%",height:"18px",border:"1px solid #888888",boxShadow:"inset 0 1px 1px rgba(0,0,0,.1), 0 1px 0 0 #ECECEC",marginBottom:"5px",fontSize:"13px",paddingLeft:"3px",marginRight:"10px"},RGBlabel:{left:"0px",top:"0px",width:"34px",textTransform:"uppercase",fontSize:"13px",height:"18px",lineHeight:"22px",position:"absolute"},HEXwrap:{position:"relative"},HEXinput:{marginLeft:"20%",width:"80%",height:"18px",border:"1px solid #888888",boxShadow:"inset 0 1px 1px rgba(0,0,0,.1), 0 1px 0 0 #ECECEC",marginBottom:"6px",fontSize:"13px",paddingLeft:"3px"},HEXlabel:{position:"absolute",top:"0px",left:"0px",width:"14px",textTransform:"uppercase",fontSize:"13px",height:"18px",lineHeight:"22px"},fieldSymbols:{position:"absolute",top:"5px",right:"-7px",fontSize:"13px"},symbol:{height:"20px",lineHeight:"22px",paddingBottom:"7px"}}});return m.a.createElement("div",{style:o.fields},m.a.createElement(S,{style:{wrap:o.RGBwrap,input:o.RGBinput,label:o.RGBlabel},label:"h",value:Math.round(a.h),onChange:t}),m.a.createElement(S,{style:{wrap:o.RGBwrap,input:o.RGBinput,label:o.RGBlabel},label:"s",value:Math.round(100*a.s),onChange:t}),m.a.createElement(S,{style:{wrap:o.RGBwrap,input:o.RGBinput,label:o.RGBlabel},label:"v",value:Math.round(100*a.v),onChange:t}),m.a.createElement("div",{style:o.divider}),m.a.createElement(S,{style:{wrap:o.RGBwrap,input:o.RGBinput,label:o.RGBlabel},label:"r",value:r.r,onChange:t}),m.a.createElement(S,{style:{wrap:o.RGBwrap,input:o.RGBinput,label:o.RGBlabel},label:"g",value:r.g,onChange:t}),m.a.createElement(S,{style:{wrap:o.RGBwrap,input:o.RGBinput,label:o.RGBlabel},label:"b",value:r.b,onChange:t}),m.a.createElement("div",{style:o.divider}),m.a.createElement(S,{style:{wrap:o.HEXwrap,input:o.HEXinput,label:o.HEXlabel},label:"#",value:e.replace("#",""),onChange:t}),m.a.createElement("div",{style:o.fieldSymbols},m.a.createElement("div",{style:o.symbol},"°"),m.a.createElement("div",{style:o.symbol},"%"),m.a.createElement("div",{style:o.symbol},"%")))}function Qi(e){return e=e.hsl,e=k()({default:{picker:{width:"12px",height:"12px",borderRadius:"6px",boxShadow:"inset 0 0 0 1px #fff",transform:"translate(-6px, -6px)"}},"black-outline":{picker:{boxShadow:"inset 0 0 0 1px #000"}}},{"black-outline":.5<e.l}),m.a.createElement("div",{style:e.picker})}function Ji(){var e=k()({default:{triangle:{width:0,height:0,borderStyle:"solid",borderWidth:"4px 0 4px 6px",borderColor:"transparent transparent transparent #fff",position:"absolute",top:"1px",left:"1px"},triangleBorder:{width:0,height:0,borderStyle:"solid",borderWidth:"5px 0 5px 8px",borderColor:"transparent transparent transparent #555"},left:{Extend:"triangleBorder",transform:"translate(-13px, -4px)"},leftInside:{Extend:"triangle",transform:"translate(-8px, -5px)"},right:{Extend:"triangleBorder",transform:"translate(20px, -14px) rotate(180deg)"},rightInside:{Extend:"triangle",transform:"translate(-8px, -5px)"}}});return m.a.createElement("div",{style:e.pointer},m.a.createElement("div",{style:e.left},m.a.createElement("div",{style:e.leftInside})),m.a.createElement("div",{style:e.right},m.a.createElement("div",{style:e.rightInside})))}function el(e){var t=e.onClick,n=e.label,r=e.children,e=e.active,e=k()({default:{button:{backgroundImage:"linear-gradient(-180deg, #FFFFFF 0%, #E6E6E6 100%)",border:"1px solid #878787",borderRadius:"2px",height:"20px",boxShadow:"0 1px 0 0 #EAEAEA",fontSize:"14px",color:"#000",lineHeight:"20px",textAlign:"center",marginBottom:"10px",cursor:"pointer"}},active:{button:{boxShadow:"0 0 0 1px #878787"}}},{active:e});return m.a.createElement("div",{style:e.button,onClick:t},n||r)}function tl(e){var t=e.rgb,e=e.currentColor,t=k()({default:{swatches:{border:"1px solid #B3B3B3",borderBottom:"1px solid #F0F0F0",marginBottom:"2px",marginTop:"1px"},new:{height:"34px",background:"rgb("+t.r+","+t.g+", "+t.b+")",boxShadow:"inset 1px 0 0 #000, inset -1px 0 0 #000, inset 0 1px 0 #000"},current:{height:"34px",background:e,boxShadow:"inset 1px 0 0 #000, inset -1px 0 0 #000, inset 0 -1px 0 #000"},label:{fontSize:"14px",color:"#000",textAlign:"center"}}});return m.a.createElement("div",null,m.a.createElement("div",{style:t.label},"new"),m.a.createElement("div",{style:t.swatches},m.a.createElement("div",{style:t.new}),m.a.createElement("div",{style:t.current})),m.a.createElement("div",{style:t.label},"current"))}var Bi=(e=>{var t=r;if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);function r(e){var n;if(this instanceof r)return(n=((e,t)=>{if(e)return!t||"object"!=typeof t&&"function"!=typeof t?e:t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")})(this,(r.__proto__||Object.getPrototypeOf(r)).call(this))).toggleViews=function(){"hex"===n.state.view?n.setState({view:"rgb"}):"rgb"===n.state.view?n.setState({view:"hsl"}):"hsl"===n.state.view&&(1===n.props.hsl.a?n.setState({view:"hex"}):n.setState({view:"rgb"}))},n.handleChange=function(e,t){e.hex?Ha(e.hex)&&n.props.onChange({hex:e.hex,source:"hex"},t):e.r||e.g||e.b?n.props.onChange({r:e.r||n.props.rgb.r,g:e.g||n.props.rgb.g,b:e.b||n.props.rgb.b,source:"rgb"},t):e.a?(e.a<0?e.a=0:1<e.a&&(e.a=1),n.props.onChange({h:n.props.hsl.h,s:n.props.hsl.s,l:n.props.hsl.l,a:Math.round(100*e.a)/100,source:"rgb"},t)):(e.h||e.s||e.l)&&("string"==typeof e.s&&e.s.includes("%")&&(e.s=e.s.replace("%","")),"string"==typeof e.l&&e.l.includes("%")&&(e.l=e.l.replace("%","")),1==e.s?e.s=.01:1==e.l&&(e.l=.01),n.props.onChange({h:e.h||n.props.hsl.h,s:Number((Ni(e.s)?n.props.hsl:e).s),l:Number((Ni(e.l)?n.props.hsl:e).l),source:"hsl"},t))},n.showHighlight=function(e){e.currentTarget.style.background="#eee"},n.hideHighlight=function(e){e.currentTarget.style.background="transparent"},1!==e.hsl.a&&"hex"===e.view?n.state={view:"rgb"}:n.state={view:e.view},n;throw new TypeError("Cannot call a class as a function")}return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e),Di(r,[{key:"render",value:function(){var t=this,e=k()({default:{wrap:{paddingTop:"16px",display:"flex"},fields:{flex:"1",display:"flex",marginLeft:"-6px"},field:{paddingLeft:"6px",width:"100%"},alpha:{paddingLeft:"6px",width:"100%"},toggle:{width:"32px",textAlign:"right",position:"relative"},icon:{marginRight:"-4px",marginTop:"12px",cursor:"pointer",position:"relative"},iconHighlight:{position:"absolute",width:"24px",height:"28px",background:"#eee",borderRadius:"4px",top:"10px",left:"12px",display:"none"},input:{fontSize:"11px",color:"#333",width:"100%",borderRadius:"2px",border:"none",boxShadow:"inset 0 0 0 1px #dadada",height:"21px",textAlign:"center"},label:{textTransform:"uppercase",fontSize:"11px",lineHeight:"11px",color:"#969696",textAlign:"center",display:"block",marginTop:"12px"},svg:{fill:"#333",width:"24px",height:"24px",border:"1px transparent solid",borderRadius:"5px"}},disableAlpha:{alpha:{display:"none"}}},this.props,this.state),n=void 0;return"hex"===this.state.view?n=m.a.createElement("div",{style:e.fields,className:"flexbox-fix"},m.a.createElement("div",{style:e.field},m.a.createElement(S,{style:{input:e.input,label:e.label},label:"hex",value:this.props.hex,onChange:this.handleChange}))):"rgb"===this.state.view?n=m.a.createElement("div",{style:e.fields,className:"flexbox-fix"},m.a.createElement("div",{style:e.field},m.a.createElement(S,{style:{input:e.input,label:e.label},label:"r",value:this.props.rgb.r,onChange:this.handleChange})),m.a.createElement("div",{style:e.field},m.a.createElement(S,{style:{input:e.input,label:e.label},label:"g",value:this.props.rgb.g,onChange:this.handleChange})),m.a.createElement("div",{style:e.field},m.a.createElement(S,{style:{input:e.input,label:e.label},label:"b",value:this.props.rgb.b,onChange:this.handleChange})),m.a.createElement("div",{style:e.alpha},m.a.createElement(S,{style:{input:e.input,label:e.label},label:"a",value:this.props.rgb.a,arrowOffset:.01,onChange:this.handleChange}))):"hsl"===this.state.view&&(n=m.a.createElement("div",{style:e.fields,className:"flexbox-fix"},m.a.createElement("div",{style:e.field},m.a.createElement(S,{style:{input:e.input,label:e.label},label:"h",value:Math.round(this.props.hsl.h),onChange:this.handleChange})),m.a.createElement("div",{style:e.field},m.a.createElement(S,{style:{input:e.input,label:e.label},label:"s",value:Math.round(100*this.props.hsl.s)+"%",onChange:this.handleChange})),m.a.createElement("div",{style:e.field},m.a.createElement(S,{style:{input:e.input,label:e.label},label:"l",value:Math.round(100*this.props.hsl.l)+"%",onChange:this.handleChange})),m.a.createElement("div",{style:e.alpha},m.a.createElement(S,{style:{input:e.input,label:e.label},label:"a",value:this.props.hsl.a,arrowOffset:.01,onChange:this.handleChange})))),m.a.createElement("div",{style:e.wrap,className:"flexbox-fix"},n,m.a.createElement("div",{style:e.toggle},m.a.createElement("div",{style:e.icon,onClick:this.toggleViews,ref:function(e){return t.icon=e}},m.a.createElement(Vi.a,{style:e.svg,onMouseOver:this.showHighlight,onMouseEnter:this.showHighlight,onMouseOut:this.hideHighlight}))))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return 1!==e.hsl.a&&"hex"===t.view?{view:"rgb"}:null}}]),r})(m.a.Component),nl=(Bi.defaultProps={view:"hex"},Bi),rl=(Ui.propTypes={width:c.a.oneOfType([c.a.string,c.a.number]),disableAlpha:c.a.bool,styles:c.a.object,defaultView:c.a.oneOf(["hex","rgb","hsl"])},Ui.defaultProps={width:225,disableAlpha:!1,styles:{}},s(Ui),$i.propTypes={colors:c.a.arrayOf(c.a.string),styles:c.a.object},$i.defaultProps={colors:["#4D4D4D","#999999","#FFFFFF","#F44E3B","#FE9200","#FCDC00","#DBDF00","#A4DD00","#68CCCA","#73D8FF","#AEA1FF","#FDA1FF","#333333","#808080","#cccccc","#D33115","#E27300","#FCC400","#B0BC00","#68BC00","#16A5A5","#009CE0","#7B64FF","#FA28FF","#000000","#666666","#B3B3B3","#9F0500","#C45100","#FB9E00","#808900","#194D33","#0C797D","#0062B1","#653294","#AB149E"],styles:{}},s($i),Object(n.handleHover)(function(e){var t=e.hover,n=e.color,r=e.onClick,e=e.onSwatchHover,a={position:"relative",zIndex:"2",outline:"2px solid #fff",boxShadow:"0 0 5px 2px rgba(0,0,0,0.25)"},t=k()({default:{swatch:{width:"25px",height:"25px",fontSize:"0"}},hover:{swatch:a}},{hover:t});return m.a.createElement("div",{style:t.swatch},m.a.createElement(ao,{color:n,onClick:r,onHover:e,focusStyle:a}))})),al=(qi.propTypes={width:c.a.oneOfType([c.a.string,c.a.number]),colors:c.a.arrayOf(c.a.string),triangle:c.a.oneOf(["hide","top-left","top-right","bottom-left","bottom-right"]),styles:c.a.object},qi.defaultProps={width:200,colors:["#B80000","#DB3E00","#FCCB00","#008B02","#006B76","#1273DE","#004DCF","#5300EB","#EB9694","#FAD0C3","#FEF3BD","#C1E1C5","#BEDADC","#C4DEF6","#BED3F3","#D4C4FB"],triangle:"top-left",styles:{}},s(qi),Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n,r=arguments[t];for(n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}),ol=(Gi.propTypes={styles:c.a.object},Gi.defaultProps={width:"316px",height:"16px",direction:"horizontal",pointer:Yi,styles:{}},s(Gi),s(function(e){function t(e,t){e.hex?Ha(e.hex)&&n({hex:e.hex,source:"hex"},t):(e.r||e.g||e.b)&&n({r:e.r||a.r,g:e.g||a.g,b:e.b||a.b,source:"rgb"},t)}var n=e.onChange,r=e.hex,a=e.rgb,o=e.styles,o=void 0===o?{}:o,e=e.className,e=void 0===e?"":e,i=k()(ma({default:{material:{width:"98px",height:"98px",padding:"16px",fontFamily:"Roboto"},HEXwrap:{position:"relative"},HEXinput:{width:"100%",marginTop:"12px",fontSize:"15px",color:"#333",padding:"0px",border:"0px",borderBottom:"2px solid "+r,outline:"none",height:"30px"},HEXlabel:{position:"absolute",top:"0px",left:"0px",fontSize:"11px",color:"#999999",textTransform:"capitalize"},Hex:{style:{}},RGBwrap:{position:"relative"},RGBinput:{width:"100%",marginTop:"12px",fontSize:"15px",color:"#333",padding:"0px",border:"0px",borderBottom:"1px solid #eee",outline:"none",height:"30px"},RGBlabel:{position:"absolute",top:"0px",left:"0px",fontSize:"11px",color:"#999999",textTransform:"capitalize"},split:{display:"flex",marginRight:"-10px",paddingTop:"11px"},third:{flex:"1",paddingRight:"10px"}}},o));return m.a.createElement(ga,{styles:o},m.a.createElement("div",{style:i.material,className:"material-picker "+e},m.a.createElement(S,{style:{wrap:i.HEXwrap,input:i.HEXinput,label:i.HEXlabel},label:"hex",value:r,onChange:t}),m.a.createElement("div",{style:i.split,className:"flexbox-fix"},m.a.createElement("div",{style:i.third},m.a.createElement(S,{style:{wrap:i.RGBwrap,input:i.RGBinput,label:i.RGBlabel},label:"r",value:a.r,onChange:t})),m.a.createElement("div",{style:i.third},m.a.createElement(S,{style:{wrap:i.RGBwrap,input:i.RGBinput,label:i.RGBlabel},label:"g",value:a.g,onChange:t})),m.a.createElement("div",{style:i.third},m.a.createElement(S,{style:{wrap:i.RGBwrap,input:i.RGBinput,label:i.RGBlabel},label:"b",value:a.b,onChange:t})))))}),function(e,t,n){return t&&il(e.prototype,t),n&&il(e,n),e});function il(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ll(e){function t(e,t){e.hex?Ha(e.hex)&&n({hex:e.hex,source:"hex"},t):e.r||e.g||e.b?n({r:e.r||r.r,g:e.g||r.g,b:e.b||r.b,a:r.a,source:"rgb"},t):e.a&&(e.a<0?e.a=0:100<e.a&&(e.a=100),e.a/=100,n({h:a.h,s:a.s,l:a.l,a:e.a,source:"rgb"},t))}var n=e.onChange,r=e.rgb,a=e.hsl,o=e.hex,e=e.disableAlpha,e=k()({default:{fields:{display:"flex",paddingTop:"4px"},single:{flex:"1",paddingLeft:"6px"},alpha:{flex:"1",paddingLeft:"6px"},double:{flex:"2"},input:{width:"80%",padding:"4px 10% 3px",border:"none",boxShadow:"inset 0 0 0 1px #ccc",fontSize:"11px"},label:{display:"block",textAlign:"center",fontSize:"11px",color:"#222",paddingTop:"3px",paddingBottom:"4px",textTransform:"capitalize"}},disableAlpha:{alpha:{display:"none"}}},{disableAlpha:e});return m.a.createElement("div",{style:e.fields,className:"flexbox-fix"},m.a.createElement("div",{style:e.double},m.a.createElement(S,{style:{input:e.input,label:e.label},label:"hex",value:o.replace("#",""),onChange:t})),m.a.createElement("div",{style:e.single},m.a.createElement(S,{style:{input:e.input,label:e.label},label:"r",value:r.r,onChange:t,dragLabel:"true",dragMax:"255"})),m.a.createElement("div",{style:e.single},m.a.createElement(S,{style:{input:e.input,label:e.label},label:"g",value:r.g,onChange:t,dragLabel:"true",dragMax:"255"})),m.a.createElement("div",{style:e.single},m.a.createElement(S,{style:{input:e.input,label:e.label},label:"b",value:r.b,onChange:t,dragLabel:"true",dragMax:"255"})),m.a.createElement("div",{style:e.alpha},m.a.createElement(S,{style:{input:e.input,label:e.label},label:"a",value:Math.round(100*r.a),onChange:t,dragLabel:"true",dragMax:"100"})))}function cl(e){function n(e,t){a({hex:e,source:"hex"},t)}var t=e.colors,r=e.onClick,a=void 0===r?function(){}:r,o=e.onSwatchHover,i=k()({default:{colors:{margin:"0 -10px",padding:"10px 0 0 10px",borderTop:"1px solid #eee",display:"flex",flexWrap:"wrap",position:"relative"},swatchWrap:{width:"16px",height:"16px",margin:"0 10px 10px 0"},swatch:{borderRadius:"3px",boxShadow:"inset 0 0 0 1px rgba(0,0,0,.15)"}},"no-presets":{colors:{display:"none"}}},{"no-presets":!t||!t.length});return m.a.createElement("div",{style:i.colors,className:"flexbox-fix"},t.map(function(e){var e="string"==typeof e?{color:e}:e,t=""+e.color+(e.title||"");return m.a.createElement("div",{key:t,style:i.swatchWrap},m.a.createElement(ao,Cl({},e,{style:i.swatch,onClick:n,onHover:o,focusStyle:{boxShadow:"inset 0 0 0 1px rgba(0,0,0,.15), 0 0 4px "+e.color}})))}))}function ul(e){var t=e.width,n=e.rgb,r=e.hex,a=e.hsv,o=e.hsl,i=e.onChange,l=e.onSwatchHover,c=e.disableAlpha,u=e.presetColors,s=e.renderers,f=void 0===(f=e.styles)?{}:f,e=void 0===(e=e.className)?"":e,t=k()(ma({default:Pl({picker:{width:t,padding:"10px 10px 0",boxSizing:"initial",background:"#fff",borderRadius:"4px",boxShadow:"0 0 0 1px rgba(0,0,0,.15), 0 8px 16px rgba(0,0,0,.15)"},saturation:{width:"100%",paddingBottom:"75%",position:"relative",overflow:"hidden"},Saturation:{radius:"3px",shadow:"inset 0 0 0 1px rgba(0,0,0,.15), inset 0 0 4px rgba(0,0,0,.25)"},controls:{display:"flex"},sliders:{padding:"4px 0",flex:"1"},color:{width:"24px",height:"24px",position:"relative",marginTop:"4px",marginLeft:"4px",borderRadius:"3px"},activeColor:{absolute:"0px 0px 0px 0px",borderRadius:"2px",background:"rgba("+n.r+","+n.g+","+n.b+","+n.a+")",boxShadow:"inset 0 0 0 1px rgba(0,0,0,.15), inset 0 0 4px rgba(0,0,0,.25)"},hue:{position:"relative",height:"10px",overflow:"hidden"},Hue:{radius:"2px",shadow:"inset 0 0 0 1px rgba(0,0,0,.15), inset 0 0 4px rgba(0,0,0,.25)"},alpha:{position:"relative",height:"10px",marginTop:"4px",overflow:"hidden"},Alpha:{radius:"2px",shadow:"inset 0 0 0 1px rgba(0,0,0,.15), inset 0 0 4px rgba(0,0,0,.25)"}},f),disableAlpha:{color:{height:"10px"},hue:{height:"10px"},alpha:{display:"none"}}},f),{disableAlpha:c});return m.a.createElement("div",{style:t.picker,className:"sketch-picker "+e},m.a.createElement("div",{style:t.saturation},m.a.createElement(La,{style:t.Saturation,hsl:o,hsv:a,onChange:i})),m.a.createElement("div",{style:t.controls,className:"flexbox-fix"},m.a.createElement("div",{style:t.sliders},m.a.createElement("div",{style:t.hue},m.a.createElement(fn,{style:t.Hue,hsl:o,onChange:i})),m.a.createElement("div",{style:t.alpha},m.a.createElement(nn,{style:t.Alpha,rgb:n,hsl:o,renderers:s,onChange:i}))),m.a.createElement("div",{style:t.color},m.a.createElement(Kt,null),m.a.createElement("div",{style:t.activeColor}))),m.a.createElement(ll,{rgb:n,hsl:o,hex:r,onChange:i,disableAlpha:c}),m.a.createElement(_l,{colors:u,onClick:i,onSwatchHover:l}))}function sl(e){var t=e.hsl,n=e.offset,r=void 0===(a=e.onClick)?function(){}:a,a=e.active,o=e.first,e=e.last,a=k()({default:{swatch:{height:"12px",background:"hsl("+t.h+", 50%, "+100*n+"%)",cursor:"pointer"}},first:{swatch:{borderRadius:"2px 0 0 2px"}},last:{swatch:{borderRadius:"0 2px 2px 0"}},active:{swatch:{transform:"scaleY(1.8)",borderRadius:"3.6px/2px"}}},{active:a,first:o,last:e});return m.a.createElement("div",{style:a.swatch,onClick:function(e){return r({h:t.h,s:.5,l:n,source:"hsl"},e)}})}function fl(e){var t=e.onClick,e=e.hsl,n=k()({default:{swatches:{marginTop:"20px"},swatch:{boxSizing:"border-box",width:"20%",paddingRight:"1px",float:"left"},clear:{clear:"both"}}});return m.a.createElement("div",{style:n.swatches},m.a.createElement("div",{style:n.swatch},m.a.createElement(sl,{hsl:e,offset:".80",active:Math.abs(e.l-.8)<.1&&Math.abs(e.s-.5)<.1,onClick:t,first:!0})),m.a.createElement("div",{style:n.swatch},m.a.createElement(sl,{hsl:e,offset:".65",active:Math.abs(e.l-.65)<.1&&Math.abs(e.s-.5)<.1,onClick:t})),m.a.createElement("div",{style:n.swatch},m.a.createElement(sl,{hsl:e,offset:".50",active:Math.abs(e.l-.5)<.1&&Math.abs(e.s-.5)<.1,onClick:t})),m.a.createElement("div",{style:n.swatch},m.a.createElement(sl,{hsl:e,offset:".35",active:Math.abs(e.l-.35)<.1&&Math.abs(e.s-.5)<.1,onClick:t})),m.a.createElement("div",{style:n.swatch},m.a.createElement(sl,{hsl:e,offset:".20",active:Math.abs(e.l-.2)<.1&&Math.abs(e.s-.5)<.1,onClick:t,last:!0})),m.a.createElement("div",{style:n.clear}))}function dl(){var e=k()({default:{picker:{width:"14px",height:"14px",borderRadius:"6px",transform:"translate(-7px, -1px)",backgroundColor:"rgb(248, 248, 248)",boxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.37)"}}});return m.a.createElement("div",{style:e.picker})}function pl(e){var t=e.hsl,n=e.onChange,r=e.pointer,a=void 0===(a=e.styles)?{}:a,e=void 0===(e=e.className)?"":e,a=k()(ma({default:{hue:{height:"12px",position:"relative"},Hue:{radius:"2px"}}},a));return m.a.createElement("div",{style:a.wrap||{},className:"slider-picker "+e},m.a.createElement("div",{style:a.hue},m.a.createElement(fn,{style:a.Hue,hsl:t,pointer:r,onChange:n})),m.a.createElement("div",{style:a.swatches},m.a.createElement(fl,{hsl:t,onClick:n})))}function hl(e){var t=e.color,n=void 0===(n=e.onClick)?function(){}:n,r=e.onSwatchHover,a=e.first,o=e.last,e=e.active,a=k()({default:{color:{width:"40px",height:"24px",cursor:"pointer",background:t,marginBottom:"1px"},check:{color:Ua(t),marginLeft:"8px",display:"none"}},first:{color:{overflow:"hidden",borderRadius:"2px 2px 0 0"}},last:{color:{overflow:"hidden",borderRadius:"0 0 2px 2px"}},active:{check:{display:"block"}},"color-#FFFFFF":{color:{boxShadow:"inset 0 0 0 1px #ddd"},check:{color:"#333"}},transparent:{check:{color:"#333"}}},{first:a,last:o,active:e,"color-#FFFFFF":"#FFFFFF"===t,transparent:"transparent"===t});return m.a.createElement(ao,{color:t,style:a.color,onClick:n,onHover:r,focusStyle:{boxShadow:"0 0 4px "+t}},m.a.createElement("div",{style:a.check},m.a.createElement(Sl.a,null)))}function ml(e){var n=e.onClick,r=e.onSwatchHover,a=e.group,o=e.active,e=k()({default:{group:{paddingBottom:"10px",width:"40px",float:"left",marginRight:"10px"}}});return m.a.createElement("div",{style:e.group},Ci(a,function(e,t){return m.a.createElement(hl,{key:e,color:e,active:e.toLowerCase()===o,first:0===t,last:t===a.length-1,onClick:n,onSwatchHover:r})}))}function gl(e){function t(e,t){return a({hex:e,source:"hex"},t)}var n=e.width,r=e.height,a=e.onChange,o=e.onSwatchHover,i=e.colors,l=e.hex,c=void 0===(c=e.styles)?{}:c,e=void 0===(e=e.className)?"":e,n=k()(ma({default:{picker:{width:n,height:r},overflow:{height:r,overflowY:"scroll"},body:{padding:"16px 0 6px 16px"},clear:{clear:"both"}}},c));return m.a.createElement("div",{style:n.picker,className:"swatches-picker "+e},m.a.createElement(ga,null,m.a.createElement("div",{style:n.overflow},m.a.createElement("div",{style:n.body},Ci(i,function(e){return m.a.createElement(ml,{key:e.toString(),group:e,active:l,onClick:t,onSwatchHover:o})}),m.a.createElement("div",{style:n.clear})))))}function vl(e){function n(e,t){Ha(e)&&r({hex:e,source:"hex"},t)}var r=e.onChange,a=e.onSwatchHover,t=e.hex,o=e.colors,i=e.width,l=e.triangle,c=void 0===(c=e.styles)?{}:c,e=void 0===(e=e.className)?"":e,u=k()(ma({default:{card:{width:i,background:"#fff",border:"0 solid rgba(0,0,0,0.25)",boxShadow:"0 1px 4px rgba(0,0,0,0.25)",borderRadius:"4px",position:"relative"},body:{padding:"15px 9px 9px 15px"},label:{fontSize:"18px",color:"#fff"},triangle:{width:"0px",height:"0px",borderStyle:"solid",borderWidth:"0 9px 10px 9px",borderColor:"transparent transparent #fff transparent",position:"absolute"},triangleShadow:{width:"0px",height:"0px",borderStyle:"solid",borderWidth:"0 9px 10px 9px",borderColor:"transparent transparent rgba(0,0,0,.1) transparent",position:"absolute"},hash:{background:"#F0F0F0",height:"30px",width:"30px",borderRadius:"4px 0 0 4px",float:"left",color:"#98A1A4",display:"flex",alignItems:"center",justifyContent:"center"},input:{width:"100px",fontSize:"14px",color:"#666",border:"0px",outline:"none",height:"28px",boxShadow:"inset 0 0 0 1px #F0F0F0",boxSizing:"content-box",borderRadius:"0 4px 4px 0",float:"left",paddingLeft:"8px"},swatch:{width:"30px",height:"30px",float:"left",borderRadius:"4px",margin:"0 6px 6px 0"},clear:{clear:"both"}},"hide-triangle":{triangle:{display:"none"},triangleShadow:{display:"none"}},"top-left-triangle":{triangle:{top:"-10px",left:"12px"},triangleShadow:{top:"-11px",left:"12px"}},"top-right-triangle":{triangle:{top:"-10px",right:"12px"},triangleShadow:{top:"-11px",right:"12px"}}},c),{"hide-triangle":"hide"===l,"top-left-triangle":"top-left"===l,"top-right-triangle":"top-right"===l});return m.a.createElement("div",{style:u.card,className:"twitter-picker "+e},m.a.createElement("div",{style:u.triangleShadow}),m.a.createElement("div",{style:u.triangle}),m.a.createElement("div",{style:u.body},Ci(o,function(e,t){return m.a.createElement(ao,{key:t,color:e,hex:e,style:u.swatch,onClick:n,onHover:a,focusStyle:{boxShadow:"0 0 4px "+e}})}),m.a.createElement("div",{style:u.hash},"#"),m.a.createElement(S,{label:null,style:{input:u.input},value:t.replace("#",""),onChange:n}),m.a.createElement("div",{style:u.clear})))}function bl(e){return e=k()({default:{picker:{width:"20px",height:"20px",borderRadius:"22px",border:"2px #fff solid",transform:"translate(-12px, -13px)",background:"hsl("+Math.round(e.hsl.h)+", "+Math.round(100*e.hsl.s)+"%, "+Math.round(100*e.hsl.l)+"%)"}}}),m.a.createElement("div",{style:e.picker})}function yl(e){return e=k()({default:{picker:{width:"20px",height:"20px",borderRadius:"22px",transform:"translate(-10px, -7px)",background:"hsl("+Math.round(e.hsl.h)+", 100%, 50%)",border:"2px white solid"}}}),m.a.createElement("div",{style:e.picker})}function El(e){function t(e,t){var n;e.hex?Ha(e.hex)&&r({hex:e.hex,source:"hex"},t):e.rgb?(n=e.rgb.split(","),Wa(e.rgb,"rgb")&&r({r:n[0],g:n[1],b:n[2],a:1,source:"rgb"},t)):e.hsv?(n=e.hsv.split(","),Wa(e.hsv,"hsv")&&(n[2]=n[2].replace("%",""),n[1]=n[1].replace("%",""),n[0]=n[0].replace("°",""),1==n[1]?n[1]=.01:1==n[2]&&(n[2]=.01),r({h:Number(n[0]),s:Number(n[1]),v:Number(n[2]),source:"hsv"},t))):e.hsl&&(n=e.hsl.split(","),Wa(e.hsl,"hsl"))&&(n[2]=n[2].replace("%",""),n[1]=n[1].replace("%",""),n[0]=n[0].replace("°",""),1==l[1]?l[1]=.01:1==l[2]&&(l[2]=.01),r({h:Number(n[0]),s:Number(n[1]),v:Number(n[2]),source:"hsl"},t))}var r=e.onChange,n=e.rgb,a=e.hsl,o=e.hex,e=e.hsv,i=k()({default:{wrap:{display:"flex",height:"100px",marginTop:"4px"},fields:{width:"100%"},column:{paddingTop:"10px",display:"flex",justifyContent:"space-between"},double:{padding:"0px 4.4px",boxSizing:"border-box"},input:{width:"100%",height:"38px",boxSizing:"border-box",padding:"4px 10% 3px",textAlign:"center",border:"1px solid #dadce0",fontSize:"11px",textTransform:"lowercase",borderRadius:"5px",outline:"none",fontFamily:"Roboto,Arial,sans-serif"},input2:{height:"38px",width:"100%",border:"1px solid #dadce0",boxSizing:"border-box",fontSize:"11px",textTransform:"lowercase",borderRadius:"5px",outline:"none",paddingLeft:"10px",fontFamily:"Roboto,Arial,sans-serif"},label:{textAlign:"center",fontSize:"12px",background:"#fff",position:"absolute",textTransform:"uppercase",color:"#3c4043",width:"35px",top:"-6px",left:"0",right:"0",marginLeft:"auto",marginRight:"auto",fontFamily:"Roboto,Arial,sans-serif"},label2:{left:"10px",textAlign:"center",fontSize:"12px",background:"#fff",position:"absolute",textTransform:"uppercase",color:"#3c4043",width:"32px",top:"-6px",fontFamily:"Roboto,Arial,sans-serif"},single:{flexGrow:"1",margin:"0px 4.4px"}}}),n=n.r+", "+n.g+", "+n.b,a=Math.round(a.h)+"°, "+Math.round(100*a.s)+"%, "+Math.round(100*a.l)+"%",l=Math.round(e.h)+"°, "+Math.round(100*e.s)+"%, "+Math.round(100*e.v)+"%";return m.a.createElement("div",{style:i.wrap,className:"flexbox-fix"},m.a.createElement("div",{style:i.fields},m.a.createElement("div",{style:i.double},m.a.createElement(S,{style:{input:i.input,label:i.label},label:"hex",value:o,onChange:t})),m.a.createElement("div",{style:i.column},m.a.createElement("div",{style:i.single},m.a.createElement(S,{style:{input:i.input2,label:i.label2},label:"rgb",value:n,onChange:t})),m.a.createElement("div",{style:i.single},m.a.createElement(S,{style:{input:i.input2,label:i.label2},label:"hsv",value:l,onChange:t})),m.a.createElement("div",{style:i.single},m.a.createElement(S,{style:{input:i.input2,label:i.label2},label:"hsl",value:a,onChange:t})))))}function wl(e){var t=e.width,n=e.onChange,r=e.rgb,a=e.hsl,o=e.hsv,i=e.hex,l=e.header,c=void 0===(c=e.styles)?{}:c,e=void 0===(e=e.className)?"":e,t=k()(ma({default:{picker:{width:t,background:"#fff",border:"1px solid #dfe1e5",boxSizing:"initial",display:"flex",flexWrap:"wrap",borderRadius:"8px 8px 0px 0px"},head:{height:"57px",width:"100%",paddingTop:"16px",paddingBottom:"16px",paddingLeft:"16px",fontSize:"20px",boxSizing:"border-box",fontFamily:"Roboto-Regular,HelveticaNeue,Arial,sans-serif"},saturation:{width:"70%",padding:"0px",position:"relative",overflow:"hidden"},swatch:{width:"30%",height:"228px",padding:"0px",background:"rgba("+r.r+", "+r.g+", "+r.b+", 1)",position:"relative",overflow:"hidden"},body:{margin:"auto",width:"95%"},controls:{display:"flex",boxSizing:"border-box",height:"52px",paddingTop:"22px"},color:{width:"32px"},hue:{height:"8px",position:"relative",margin:"0px 16px 0px 16px",width:"100%"},Hue:{radius:"2px"}}},c));return m.a.createElement("div",{style:t.picker,className:"google-picker "+e},m.a.createElement("div",{style:t.head},l),m.a.createElement("div",{style:t.swatch}),m.a.createElement("div",{style:t.saturation},m.a.createElement(La,{hsl:a,hsv:o,pointer:Rl,onChange:n})),m.a.createElement("div",{style:t.body},m.a.createElement("div",{style:t.controls,className:"flexbox-fix"},m.a.createElement("div",{style:t.hue},m.a.createElement(fn,{style:t.Hue,hsl:a,radius:"4px",pointer:Il,onChange:n}))),m.a.createElement(El,{rgb:r,hsl:a,hex:i,hsv:o,onChange:n})))}function xl(e){return e=e.text,m.a.createElement("span",{className:"".concat(v.VIRFICE_APP_PREFIX,"-help-text .body__medium"),style:{color:"var(--Text-text-caption, #616161)"}},e)}function I(e){function t(e){e=e.target.value,p(e),c(e)}function n(e){var t;void 0!==s&&(t=Number(d),!isNaN(t))&&t<s&&(p(s.toString()),c(s)),f(e)}var r=e.placeholder,a=e.label,o=e.value,i=e.helpText,l=void 0!==(l=e.error)&&l,c=void 0===(u=e.onChange)?function(){}:u,u=void 0!==(u=e.multiline)&&u,s=e.min,f=void 0===(e=e.onBlur)?function(){}:e,e=Object(h.useState)(null!=o?o:""),d=(e=b()(e,2))[0],p=e[1];return Object(h.useEffect)(function(){p(null!=o?o:"")},[o]),m.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-textfileld-wrapper")},a&&m.a.createElement("label",{className:"body__medium"},a),u?m.a.createElement("textarea",{placeholder:r||a,value:d,onChange:t,onBlur:n,rows:u}):m.a.createElement("input",{placeholder:r||a,value:d,onChange:t,onKeyDown:function(e){var t;"ArrowUp"!==e.key&&"ArrowDown"!==e.key||(t=Number(d),!isNaN(t)&&Number.isInteger(t)&&(t+="ArrowUp"===e.key?1:-1,p(t.toString()),c(t.toString())))},onBlur:n,type:"text"}),l&&m.a.createElement("span",{style:{color:"var(--text-text-error)",display:"flex",alignItems:"center",gap:4}},m.a.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},m.a.createElement("path",{d:"M8 14C11.3137 14 14 11.3137 14 8C14 4.68629 11.3137 2 8 2C4.68629 2 2 4.68629 2 8C2 11.3137 4.68629 14 8 14Z",stroke:"#CC0A00",strokeLinecap:"round",strokeLinejoin:"round"}),m.a.createElement("path",{d:"M8 8.5V5",stroke:"#CC0A00",strokeLinecap:"round",strokeLinejoin:"round"}),m.a.createElement("path",{d:"M8 11.25C8.27614 11.25 8.5 11.0261 8.5 10.75C8.5 10.4739 8.27614 10.25 8 10.25C7.72386 10.25 7.5 10.4739 7.5 10.75C7.5 11.0261 7.72386 11.25 8 11.25Z",fill:"#CC0A00"})),l),i&&m.a.createElement(xl,{text:i}))}var Bi=(e=>{var t=n;if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);function n(e){var t;if(this instanceof n)return(t=((e,t)=>{if(e)return!t||"object"!=typeof t&&"function"!=typeof t?e:t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")})(this,(n.__proto__||Object.getPrototypeOf(n)).call(this))).state={currentColor:e.hex},t;throw new TypeError("Cannot call a class as a function")}return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e),ol(n,[{key:"render",value:function(){var e=this.props,t=e.styles,t=void 0===t?{}:t,e=e.className,e=void 0===e?"":e,t=k()(ma({default:{picker:{background:"#DCDCDC",borderRadius:"4px",boxShadow:"0 0 0 1px rgba(0,0,0,.25), 0 8px 16px rgba(0,0,0,.15)",boxSizing:"initial",width:"513px"},head:{backgroundImage:"linear-gradient(-180deg, #F0F0F0 0%, #D4D4D4 100%)",borderBottom:"1px solid #B1B1B1",boxShadow:"inset 0 1px 0 0 rgba(255,255,255,.2), inset 0 -1px 0 0 rgba(0,0,0,.02)",height:"23px",lineHeight:"24px",borderRadius:"4px 4px 0 0",fontSize:"13px",color:"#4D4D4D",textAlign:"center"},body:{padding:"15px 15px 0",display:"flex"},saturation:{width:"256px",height:"256px",position:"relative",border:"2px solid #B3B3B3",borderBottom:"2px solid #F0F0F0",overflow:"hidden"},hue:{position:"relative",height:"256px",width:"19px",marginLeft:"10px",border:"2px solid #B3B3B3",borderBottom:"2px solid #F0F0F0"},controls:{width:"180px",marginLeft:"10px"},top:{display:"flex"},previews:{width:"60px"},actions:{flex:"1",marginLeft:"20px"}}},t));return m.a.createElement("div",{style:t.picker,className:"photoshop-picker "+e},m.a.createElement("div",{style:t.head},this.props.header),m.a.createElement("div",{style:t.body,className:"flexbox-fix"},m.a.createElement("div",{style:t.saturation},m.a.createElement(La,{hsl:this.props.hsl,hsv:this.props.hsv,pointer:Qi,onChange:this.props.onChange})),m.a.createElement("div",{style:t.hue},m.a.createElement(fn,{direction:"vertical",hsl:this.props.hsl,pointer:Ji,onChange:this.props.onChange})),m.a.createElement("div",{style:t.controls},m.a.createElement("div",{style:t.top,className:"flexbox-fix"},m.a.createElement("div",{style:t.previews},m.a.createElement(tl,{rgb:this.props.rgb,currentColor:this.state.currentColor})),m.a.createElement("div",{style:t.actions},m.a.createElement(el,{label:"OK",onClick:this.props.onAccept,active:!0}),m.a.createElement(el,{label:"Cancel",onClick:this.props.onCancel}),m.a.createElement(Ki,{onChange:this.props.onChange,rgb:this.props.rgb,hsv:this.props.hsv,hex:this.props.hex}))))))}}]),n})(m.a.Component),Cl=(Bi.propTypes={header:c.a.string,styles:c.a.object},Bi.defaultProps={header:"Color Picker",styles:{}},s(Bi),Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n,r=arguments[t];for(n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}),_l=(cl.propTypes={colors:c.a.arrayOf(c.a.oneOfType([c.a.string,c.a.shape({color:c.a.string,title:c.a.string})])).isRequired},cl),Pl=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n,r=arguments[t];for(n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},kl=(ul.propTypes={disableAlpha:c.a.bool,width:c.a.oneOfType([c.a.string,c.a.number]),styles:c.a.object},ul.defaultProps={disableAlpha:!1,width:200,styles:{},presetColors:["#D0021B","#F5A623","#F8E71C","#8B572A","#7ED321","#417505","#BD10E0","#9013FE","#4A90E2","#50E3C2","#B8E986","#000000","#4A4A4A","#9B9B9B","#FFFFFF"]},s(ul)),n=(pl.propTypes={styles:c.a.object},pl.defaultProps={pointer:dl,styles:{}},s(pl),t(97)),Sl=t.n(n),Rl=(gl.propTypes={width:c.a.oneOfType([c.a.string,c.a.number]),height:c.a.oneOfType([c.a.string,c.a.number]),colors:c.a.arrayOf(c.a.arrayOf(c.a.string)),styles:c.a.object},gl.defaultProps={width:320,height:240,colors:[[r[900],r[700],r[500],r[300],r[100]],[o[900],o[700],o[500],o[300],o[100]],[u[900],u[700],u[500],u[300],u[100]],[i[900],i[700],i[500],i[300],i[100]],[e[900],e[700],e[500],e[300],e[100]],[a[900],a[700],a[500],a[300],a[100]],[_i[900],_i[700],_i[500],_i[300],_i[100]],[Pi[900],Pi[700],Pi[500],Pi[300],Pi[100]],[ki[900],ki[700],ki[500],ki[300],ki[100]],["#194D33",Si[700],Si[500],Si[300],Si[100]],[Ri[900],Ri[700],Ri[500],Ri[300],Ri[100]],[Ii[900],Ii[700],Ii[500],Ii[300],Ii[100]],[Oi[900],Oi[700],Oi[500],Oi[300],Oi[100]],[Fi[900],Fi[700],Fi[500],Fi[300],Fi[100]],[Ai[900],Ai[700],Ai[500],Ai[300],Ai[100]],[ji[900],ji[700],ji[500],ji[300],ji[100]],[Li[900],Li[700],Li[500],Li[300],Li[100]],[Ti[900],Ti[700],Ti[500],Ti[300],Ti[100]],["#000000","#525252","#969696","#D9D9D9","#FFFFFF"]],styles:{}},s(gl),vl.propTypes={width:c.a.oneOfType([c.a.string,c.a.number]),triangle:c.a.oneOf(["hide","top-left","top-right"]),colors:c.a.arrayOf(c.a.string),styles:c.a.object},vl.defaultProps={width:276,colors:["#FF6900","#FCB900","#7BDCB5","#00D084","#8ED1FC","#0693E3","#ABB8C3","#EB144C","#F78DA7","#9900EF"],triangle:"top-left",styles:{}},s(vl),bl.propTypes={hsl:c.a.shape({h:c.a.number,s:c.a.number,l:c.a.number,a:c.a.number})},bl.defaultProps={hsl:{a:1,h:249.94,l:.2,s:.5}},bl),Il=(yl.propTypes={hsl:c.a.shape({h:c.a.number,s:c.a.number,l:c.a.number,a:c.a.number})},yl.defaultProps={hsl:{a:1,h:249.94,l:.2,s:.5}},yl);wl.propTypes={width:c.a.oneOfType([c.a.string,c.a.number]),styles:c.a.object,header:c.a.string},wl.defaultProps={width:652,styles:{},header:"Color picker"},s(wl);function Ol(e){return null!=e&&e.hex?e.hex:e}function Fl(e){var t,n;return!(e=""+e)||e.indexOf("rgb")<0||"#"==e.charAt(0)?e:(e=/(.*?)rgb\((\d+),\s*(\d+),\s*(\d+)\)/i.exec(e),t=parseInt(e[2],10).toString(16),n=parseInt(e[3],10).toString(16),e=parseInt(e[4],10).toString(16),"#"+((1==t.length?"0"+t:t)+(1==n.length?"0"+n:n)+(1==e.length?"0"+e:e)))}function O(e){function t(e){c(e),o(Ol(e))}function n(){var e;d.current&&(e=d.current.getBoundingClientRect(),e=window.innerHeight-e.bottom,f(e<296?"bottom":"top"))}var r=e.label,a=void 0===(u=e.value)?"#000000":u,o=void 0===(u=e.onChange)?function(){}:u,e=Object(h.useState)(!1),i=(u=b()(e,2))[0],l=u[1],e=Object(h.useState)(a),e=(u=b()(e,2))[0],c=u[1],u=Object(h.useState)("top"),s=(u=b()(u,2))[0],f=u[1],u=Al(function(){i&&l(!1)}),d=Object(h.useRef)(null),s=(Object(h.useEffect)(function(){c(a)},[a]),{color:{width:"100%",height:"24px",background:Ol(e),borderRadius:"3px"},swatch:{padding:"5px",background:"#fff",cursor:"pointer",width:"100%",borderRadius:"4px"},popover:g()({position:"absolute",zIndex:"2"},s,"calc(100% ".concat("top"===s?"- 30px":"+ 36px",")"))});return m.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-paintfield-wrapper")},r&&m.a.createElement("label",{className:"body__medium"},r),m.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-flex ").concat(v.VIRFICE_APP_PREFIX,"-w-100")},m.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-color-code")},m.a.createElement("div",{style:s.swatch,onClick:function(){i||n(),l(!i)},ref:d},m.a.createElement("div",{style:s.color})),i&&m.a.createElement("div",{style:s.popover,ref:u},m.a.createElement(kl,{color:Ol(e),onChange:t,disableAlpha:!0}))),m.a.createElement(I,{placeholder:"code",value:Ol(e),onChange:t})))}var Al=function(t){var n=Object(h.useRef)();return Object(h.useEffect)(function(){function e(e){n.current&&!n.current.contains(e.target)&&t()}return document.addEventListener("mousedown",e),function(){document.removeEventListener("mousedown",e)}},[t]),n};function jl(e,t){var n,r,a,o,i="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(i)return a=!(r=!0),{s:function(){i=i.call(e)},n:function(){var e=i.next();return r=e.done,e},e:function(e){a=!0,n=e},f:function(){try{r||null==i.return||i.return()}finally{if(a)throw n}}};if(Array.isArray(e)||(i=((e,t)=>{var n;if(e)return"string"==typeof e?Ll(e,t):"Map"===(n="Object"===(n={}.toString.call(e).slice(8,-1))&&e.constructor?e.constructor.name:n)||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ll(e,t):void 0})(e))||t&&e&&"number"==typeof e.length)return i&&(e=i),o=0,{s:t=function(){},n:function(){return o>=e.length?{done:!0}:{done:!1,value:e[o++]}},e:function(e){throw e},f:t};throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Ll(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function Tl(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:window.location.href;return new URLSearchParams(new URL(n).search).get(e)===t}function F(e){for(var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:window.location.href,n=new URL(t),r=0,a=Object.entries(e);r<a.length;r++){var o=b()(a[r],2),i=o[0];n.searchParams.set(i,o[1])}return n.toString()}function Ml(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:window.location.href;return new URL(t).searchParams.get(e)}function Nl(e){return v.VIRFICE_PLUGIN_BASE+"assets/"+e}function Bl(e,t){var n={value:"",title:"Select"};return e.forEach(function(e){e.value==t&&(n=e)}),n}function Vl(e){var t,n=/^[^\s@]+@[^\s@]+\.[^\s@]+$/,r=jl(e.split(",").map(function(e){return e.trim()}));try{for(r.s();!(t=r.n()).done;){var a=t.value;if(a&&!n.test(a))return}}catch(e){r.e(e)}finally{r.f()}return 1}function Dl(e,t){Nt.dispatch(e(t))}function zl(){return m.a.createElement(l,{className:"".concat(v.VIRFICE_APP_PREFIX,"-feature-card")},m.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-flex-center-center ").concat(v.VIRFICE_APP_PREFIX,"-gap-24"),style:{marginLeft:-20}},m.a.createElement("svg",{width:"302",height:"301",viewBox:"0 0 302 301",fill:"none",xmlns:"http://www.w3.org/2000/svg"},m.a.createElement("path",{d:"M194.623 83.6111C182.5 79.9297 184.483 86.756 186.99 90.6294C177.21 88.9637 176.267 92.041 180.231 99.2252C171.25 105.345 167.289 122.976 166.431 131.026C166.253 132.505 165.099 136.936 161.903 142.835C154.228 153.612 158.189 151.96 157.886 153.806C157.583 155.651 151.633 162.953 150.556 165.114C149.478 167.275 137.271 174.235 135.132 175.696C132.993 177.157 128.171 177.805 122.051 179.033C115.932 180.261 109.803 177.48 108.252 175.412C107.64 173.964 107.092 173.718 106.894 173.776C106.557 173.627 105.635 173.494 104.639 174.16C103.394 174.992 104.722 180.96 105.08 182.066C95.581 176.017 96.3081 182.676 97.8378 186.514C101.013 194.585 113.572 213.388 138.407 224.028C169.45 237.328 202.753 234.539 212.925 225.453C220.296 218.027 223.269 209.489 223.833 206.148C225.012 207.462 228.113 209.476 231.091 207.02C234.07 204.564 233.963 198.775 233.538 196.188C236.054 199.981 241.867 206.531 244.982 202.39C248.097 198.248 246.38 192.114 245.132 189.564C248.163 192.709 255.178 198.003 258.996 194.011C262.813 190.019 258.344 182.861 255.633 179.782C259.965 180.493 269.122 180.944 271.094 177.058C273.066 173.172 269.031 169.038 266.766 167.457C270.241 167.82 277.519 167.293 278.841 162.281C280.163 157.27 274.479 153.877 271.471 152.806C274.561 151.378 280.611 147.687 280.095 144.353C279.579 141.019 274.498 139.645 272.021 139.375C266.022 138.926 252.028 140.327 244.053 149.513C235.597 161.341 229.764 163.585 227.797 160.895C226.223 158.742 227.32 141.258 228.065 132.785C229.442 125.179 230.709 108.185 224.759 101.056C217.322 92.146 209.777 88.2129 194.623 83.6111Z",fill:"#B5D72D"}),m.a.createElement("path",{d:"M86.9113 99.881C86.3335 100.911 86.1496 102.221 86.369 103.79C86.742 106.486 88.2968 108.972 90.7457 110.793C93.3948 112.761 96.7567 113.658 99.738 113.191C103.463 112.607 106.751 110.944 109.593 108.591C106.463 103.46 101.526 99.2296 96.5703 97.7333C93.1781 96.7086 89.7683 97.0866 87.8867 98.6975C87.4872 99.0391 87.1623 99.4332 86.9113 99.881ZM114.679 127.49C114.347 128.082 113.976 128.656 113.566 129.211C107.683 137.188 97.102 137.6 89.161 135.326L90.2339 131.583C96.9185 133.5 105.735 133.274 110.435 126.902C113.813 122.308 113.121 117.139 111.945 113.6C111.775 113.093 111.587 112.589 111.38 112.087C108.185 114.603 104.504 116.383 100.34 117.035C96.2883 117.669 91.9468 116.532 88.4252 113.917C85.1309 111.469 83.0306 108.062 82.5135 104.325C81.8852 99.7746 83.7135 97.1464 85.3561 95.7408C88.2642 93.2533 92.992 92.5886 97.6938 94.0066C103.26 95.6877 108.787 100.259 112.443 105.852C118.708 98.9303 122.225 88.5973 122.884 80.7517C124.277 64.146 117.87 49.9069 112.251 40.885C106.387 31.4717 97.9958 22.9481 87.9874 16.2342C80.1029 10.945 71.0033 6.98321 63.0212 5.36309C17.5842 -3.85681 -6.93434 42.8373 -13.3639 57.374L-16.9235 55.8C1.05331 15.2057 31.2108 -5.06248 63.796 1.54947C72.2577 3.26576 81.8629 7.4408 90.1548 13.0012C100.618 20.019 109.401 28.9504 115.554 38.8299C124.06 52.482 127.935 67.0917 126.762 81.0783C126.021 89.9228 121.862 101.658 114.412 109.345C114.887 110.339 115.298 111.351 115.638 112.371C117.463 117.859 117.112 123.15 114.679 127.49Z",fill:"#D3E883"}),m.a.createElement("path",{d:"M238.974 262.364L239.372 265.077C227.941 266.755 220.439 270.894 217.071 277.384C212.035 287.091 217.962 299.05 218.024 299.17L215.578 300.41C215.304 299.871 208.952 287.104 214.63 276.138C218.421 268.811 226.612 264.178 238.974 262.364Z",fill:"#D3E883"}),m.a.createElement("path",{d:"M226.793 191.042C227.398 187.646 227.366 169.705 227.274 161.159C230.157 162.132 236.997 162.081 241.294 154.09C246.666 144.1 254.954 143.214 258.744 141.624C262.173 144.409 264.356 150.07 257.804 155.582C263.048 160.957 257.115 165.398 251.602 167.026C256.36 171.688 249.904 178.439 243.759 178.519C246.794 185.264 239.11 185.896 234.217 184.408C234.729 188.314 230.374 191.881 226.793 191.042Z",fill:"#D3E883"}),m.a.createElement("path",{d:"M137.052 187.625C129.106 191.121 128.648 182.907 129.412 178.363C133.083 177.086 140.977 171.98 151.632 164.998C160.157 159.412 170.193 160.765 174.145 162.139C187.125 166.316 191.493 180.257 192.055 186.706C190.952 188.618 187.372 191.771 181.871 189.082C178.858 199.453 172.753 198.021 170.077 196.009C168.17 198.943 163.017 202.753 157.658 194.518C151.222 199.062 138.606 200.573 137.052 187.625Z",fill:"#D3E883"}),m.a.createElement("path",{d:"M189.228 103.32C187.698 104.626 186.659 104.493 186.331 104.263C185.846 104.203 185.218 103.687 186.584 102.1C188.292 100.116 191.978 99.4321 194.532 100.722C196.575 101.754 196.118 103.274 194.987 103.135C193.694 102.976 190.758 102.013 189.228 103.32Z",fill:"#1F1F1F"}),m.a.createElement("path",{d:"M218.123 105.903C217.537 105.311 215.402 105.351 214.407 105.445C214.15 104.846 215.005 104.545 215.778 104.234C216.552 103.924 218.491 104.328 218.947 104.462C219.422 104.601 220.282 104.951 220.748 105.17C221.214 105.39 221.5 105.75 221.909 106.45C222.319 107.149 221.678 107.72 221.023 107.72C220.367 107.721 218.855 106.642 218.123 105.903Z",fill:"#1F1F1F"}),m.a.createElement("ellipse",{cx:"7.61187",cy:"9.20623",rx:"7.61187",ry:"9.20623",transform:"matrix(0.996089 0.0822537 -0.0719269 0.997957 185.18 106.204)",fill:"white"}),m.a.createElement("ellipse",{cx:"5.15579",cy:"6.78919",rx:"5.15579",ry:"6.78919",transform:"matrix(0.992278 0.124091 -0.114628 0.993415 187.822 108.98)",fill:"#272727"}),m.a.createElement("ellipse",{cx:"2.45133",cy:"2.42156",rx:"2.45133",ry:"2.42156",transform:"matrix(0.992274 0.124124 -0.114598 0.993419 186.119 109.916)",fill:"white"}),m.a.createElement("ellipse",{cx:"6.69611",cy:"8.04631",rx:"6.69611",ry:"8.04631",transform:"matrix(0.99607 0.0825265 -0.0716457 0.997981 210.201 109.127)",fill:"white"}),m.a.createElement("ellipse",{cx:"4.53558",cy:"5.93376",rx:"4.53558",ry:"5.93376",transform:"matrix(0.992277 0.124094 -0.114626 0.993415 212.527 111.556)",fill:"#272727"}),m.a.createElement("ellipse",{cx:"2.15646",cy:"2.11643",rx:"2.15646",ry:"2.11643",transform:"matrix(0.992274 0.124124 -0.114598 0.993419 211.029 112.372)",fill:"white"}),m.a.createElement("rect",{x:"160.183",y:"223.846",width:"12.8897",height:"20.3556",rx:"6.44483",transform:"rotate(28.0052 160.183 223.846)",fill:"#FD8E08"}),m.a.createElement("rect",{x:"189.816",y:"226.031",width:"12.8897",height:"20.3556",rx:"6.44483",transform:"rotate(12.6621 189.816 226.031)",fill:"#FD8E08"}),m.a.createElement("path",{d:"M223.652 138.5C224.788 137.904 225.695 135.08 220.847 128.942C219.264 126.938 217.111 125.576 214.891 124.544C211.673 123.048 208.78 121.78 206.679 121.909C204.422 122.286 203.919 123.774 200.412 127.097C196.216 127.236 188.993 127.332 191.689 134.348C198.254 148.851 212.367 147.314 216.544 147.335C219.886 147.352 219.524 145.47 218.925 144.527C217.792 142.785 215.665 138.959 216.219 137.591C219.185 137.464 222.516 139.095 223.652 138.5Z",fill:"#F85D1C"}),m.a.createElement("path",{d:"M212.924 134.301C201.357 133.475 198.256 129.496 198.151 127.61C198.036 127.433 198.089 127.032 199.225 126.845C200.645 126.611 202.558 124.972 203.888 123.424C204.952 122.185 205.971 121.968 206.348 122.014C207.431 121.63 211.231 121.861 217.771 125.853C225.946 130.842 225.007 136.022 224.499 136.856C223.99 137.69 221.692 137.735 220.433 136.603C219.174 135.472 215.669 134.637 212.924 134.301Z",fill:"#FF8D05"}),m.a.createElement("path",{d:"M210.431 137.839C206.876 138.196 200.291 135.55 197.444 134.182C198.6 135.643 201.358 139.052 203.145 140.999C205.379 143.432 210.346 144.759 211.396 143.447C212.445 142.135 211.783 140.164 210.431 137.839Z",fill:"#FFCAB3"}),m.a.createElement("path",{d:"M212.585 137.648L210.266 137.854C213.84 143.674 209.601 143.482 206.208 143.067C210.97 145.77 216.801 145.667 215.827 144.895C215.048 144.278 213.341 139.807 212.585 137.648Z",fill:"#A76C24"}),m.a.createElement("ellipse",{cx:"218.06",cy:"127.722",rx:"1.55149",ry:"0.628745",transform:"rotate(39.3267 218.06 127.722)",fill:"#FFBC4D"}),m.a.createElement("ellipse",{cx:"221.168",cy:"131.432",rx:"2.26137",ry:"0.809784",transform:"rotate(54.8599 221.168 131.432)",fill:"#FFBC4D"}),m.a.createElement("rect",{width:"47.1322",height:"28.8364",transform:"matrix(0.980749 0.195193 -0.190073 0.981755 255.538 133)",fill:"#09FB66"}),m.a.createElement("path",{d:"M255.611 138.1L274.537 154.994L298.837 146.683",stroke:"#04AF45",strokeWidth:"2"})),m.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-flex-col ").concat(v.VIRFICE_APP_PREFIX,"-gap-8")},m.a.createElement("h1",{className:"".concat(v.VIRFICE_APP_PREFIX,"-heading")},"Howdy!"),m.a.createElement("p",{className:"".concat(v.VIRFICE_APP_PREFIX,"-sub-heading")},m.a.createElement("strong",null,"Virfice")," is here, design, test, and preview WooCommerce emails effortlessly."),m.a.createElement(p,{type:"primary",title:"Customize now!",link:F({menu:"virfice-brand-settings"}),disabled:!virfice.isWooActive}))),m.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-feature-list-wrapper")},m.a.createElement(D,{title:"Customize",Illustration:m.a.createElement("svg",{width:"46",height:"39",viewBox:"0 0 46 39",fill:"none",xmlns:"http://www.w3.org/2000/svg"},m.a.createElement("path",{d:"M20.5001 38.5L0.689453 36.313L5.78101 5.02934L23.5001 6.49999L20.5001 38.5Z",fill:"#89A31F"}),m.a.createElement("path",{d:"M41.1699 27.2593L27.6934 38.2862L5.2007 12.6496L19.2568 1.31811L41.1699 27.2593Z",fill:"#B5D72D"}),m.a.createElement("path",{d:"M45.2532 5.06501L43.9711 21.509L10.6139 18.0162L12.08 0.0899963L45.2532 5.06501Z",fill:"#B5D72D"}),m.a.createElement("path",{d:"M15.7364 7.47522L13.685 8.77882L13.1895 10.6896L14.5524 12.1156L16.8751 11.9526L17.8651 9.64893L15.7364 7.47522Z",fill:"#89A31F"}),m.a.createElement("path",{d:"M10.6139 18.0162L39.1232 24.8353L35.5691 20.6302L10.6139 18.0162Z",fill:"#89A31F"}),m.a.createElement("path",{d:"M26.0475 4.86008L23.9553 16.9066L26.2711 17.9113L28.8844 5.08126L26.0475 4.86008Z",fill:"#FFFEFA"}),m.a.createElement("path",{d:"M31.9369 5.50194L30.9645 17.974L33.6672 18.1847L34.8366 5.54532L31.9369 5.50194Z",fill:"#FFFEFA"}),m.a.createElement("path",{d:"M38.6835 6.11934L41.042 6.57726L39.7788 18.6612L37.0993 18.7555L38.6835 6.11934Z",fill:"#FFFEFA"}))}),m.a.createElement(D,{title:"Configuration",Illustration:m.a.createElement("svg",{width:"44",height:"44",viewBox:"0 0 44 44",fill:"none",xmlns:"http://www.w3.org/2000/svg"},m.a.createElement("path",{d:"M15.3901 6.9498L21.0433 5.67989L23.9544 -0.00156403L32.4243 2.26628L31.8957 8.58563L35.508 12.3797L41.4439 11.1422L43.7951 21.4768L39.235 23.5828L37.6408 28.5439L40.1144 34.047L33.2745 40.962L29.1354 37.7828L23.2556 39.1929L21.3305 43.6697L11.9605 41.1609L12.1529 36.0311L8.89577 32.1018L2.95673 31.8364L0.47876 22.1076L5.39262 19.7539L6.58059 14.2804L3.77699 9.78941L10.4251 3.64199L15.3901 6.9498Z",fill:"#B5D72D"}),m.a.createElement("path",{d:"M27.1693 10.401L14.9446 10.5177L8.49644 21.6972L15.5908 33.1463L28.931 34.1787L34.7636 25.681L34.4736 17.2723L27.1693 10.401Z",fill:"#89A31F"}),m.a.createElement("path",{d:"M30.6879 17.6623L23.7178 16.4102L23.4695 15.4185L21.2113 14.0225L19.2641 15.5012L16.6051 14.7124L16.2291 15.8815L18.981 16.6616L19.1342 18.1259L21.7524 18.9569L23.5325 17.8153L30.6251 19.1101L30.6874 17.6641L30.6879 17.6623ZM21.809 17.4956L21.5145 17.7573L20.2973 17.2523L20.2941 17.2199L20.1607 16.1448L21.0946 15.5169L21.2197 15.4322L21.527 15.5933L22.3862 16.0458L22.2467 17.1108L21.809 17.4956Z",fill:"#FFFEFA"}),m.a.createElement("path",{d:"M29.1291 22.8592L26.9725 22.3409L27.0517 21.6849L26.7516 21.1439L24.3993 19.9963L22.7028 20.9653L22.3699 21.2089L15.0892 19.4327L14.4941 20.6041L22.3301 22.5192L22.5941 23.7828L25.2252 24.5877L26.5114 23.6072L28.9356 24.1992L29.1277 22.8569L29.1291 22.8592ZM25.112 23.2089L24.9064 23.396L24.8226 23.4739L24.1893 23.2217L23.6 22.9891L23.5968 22.9568L23.4491 21.8837L24.227 21.3459L24.3744 21.2436L24.4976 21.1585L24.8082 21.3145L25.4477 21.6393L25.6732 21.7528L25.5489 22.82L25.1175 23.2104L25.112 23.2089Z",fill:"#FFFEFA"}),m.a.createElement("path",{d:"M27.7115 28.3303L20.2323 25.8986L18.7404 23.7432L16.8035 23.9116L16.0882 24.0468L15.8866 24.6307L13.7135 24.0488L13.2805 25.1514L15.6334 25.8996L15.6713 26.5081L17.5946 28.2358L19.5601 27.9018L19.562 27.9023L19.8587 27.397L27.4565 29.7385L27.7138 28.329L27.7115 28.3303ZM18.6512 26.7528L18.0969 26.9332L17.7231 27.0575L17.2763 26.6013L16.8009 26.1196L16.8093 26.0884L17.1098 25.0468L18.2116 24.8359L18.3611 24.807L18.5808 25.0745L18.6134 25.1147L19.1924 25.8269L18.6493 26.7524L18.6512 26.7528Z",fill:"#FFFEFA"}))}),m.a.createElement(D,{title:"Send test email",Illustration:m.a.createElement("svg",{width:"80",height:"80",viewBox:"0 0 80 80",fill:"none",xmlns:"http://www.w3.org/2000/svg"},m.a.createElement("rect",{width:"80",height:"80",rx:"6",fill:"#F4F9E1"}),m.a.createElement("path",{d:"M26.7878 41.9522L29.5687 37.5222L61.7505 27.7623L44.6042 46.0511L34.6702 47.8693L26.956 54L26.7897 42.1581L26.7873 42.1533L26.7897 42.1523L26.7873 41.9527L26.7878 41.9522Z",fill:"#89A31F"}),m.a.createElement("path",{d:"M60.5487 28.3486L26.9607 42.0821L26.7877 41.9519L16.1504 33.9669L63.2375 26.9999L42.0521 53.4111L34.6701 47.8695L30.1769 44.4967L60.5487 28.3486Z",fill:"#B5D72D"}))}),m.a.createElement(D,{title:"Live preview",Illustration:m.a.createElement("svg",{width:"80",height:"80",viewBox:"0 0 80 80",fill:"none",xmlns:"http://www.w3.org/2000/svg"},m.a.createElement("rect",{width:"80",height:"80",rx:"6",fill:"#F4F9E1"}),m.a.createElement("path",{d:"M54.3575 49.6311L26.9837 51.4346L19.2378 26.7135L53.2963 23L54.3575 49.6311Z",fill:"#8EAA1D"}),m.a.createElement("path",{d:"M36.5848 52.63L46.5476 51.7685L46.5848 55.2685L36.585 55.7685L36.5848 52.63Z",fill:"#8EAA1D"}),m.a.createElement("path",{d:"M22.585 28.7686L52.085 24.7686L54.085 47.2686L27.585 50.2686L22.585 28.7686Z",fill:"#B5D72D"}),m.a.createElement("path",{d:"M50.1033 30.2473L60.1024 30.7469L58.0334 46.1373L48.5851 45.6918L50.1033 30.2473Z",fill:"#89A31F"}),m.a.createElement("rect",{x:"52.9274",y:"32.1846",width:"4",height:"1",transform:"rotate(3.71754 52.9274 32.1846)",fill:"#FFFEFA"}))})))}var Xl=function(){return Date.now().toString(36)+Math.random().toString(36).substr(2,9)},Hl=(()=>{var e=H()(U.a.mark(function e(){var t,n;return U.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:t=E().body,n=E().templateWrapper,t=x(t,"background-color"),n=x(n,"background-color"),Dl(ut,{email_outer_background_color:Fl(t),email_background_color:Fl(n)});case 5:case"end":return e.stop()}},e)}));return function(){return e.apply(this,arguments)}})(),Bi=t(98),Ul=(Object.defineProperty,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable,"default"in h?m.a:h),Wl=Symbol.for("react-redux-context"),Zl="undefined"!=typeof globalThis?globalThis:{};function $l(){if(!Ul.createContext)return{};var e=null!=(e=Zl[Wl])?e:Zl[Wl]=new Map;let t=e.get(Ul.createContext);return t||(t=Ul.createContext(null),e.set(Ul.createContext,t)),t}var ql=$l(),n=()=>{throw new Error("uSES not initialized!")};function Yl(e=ql){return function(){return Ul.useContext(e)}}var Gl=Yl(),Kl=n;function Ql(e=ql){let l=e===ql?Gl:Yl(e),t=(t,e={})=>{var{equalityFn:e=(e,t)=>e===t,devModeChecks:n={}}="function"==typeof e?{equalityFn:e}:e,{store:r,subscription:a,getServerState:o,stabilityCheck:i}=l(),i=(Ul.useRef(!0),Ul.useCallback({[t.name](e){return t(e)}}[t.name],[t,i,n.stabilityCheck])),n=Kl(a.addNestedSub,r.getState,o||r.getState,i,e);return Ul.useDebugValue(n),n};return Object.assign(t,{withTypes:()=>t}),t}var A=Ql();Symbol.for("react.element"),Symbol.for("react.portal"),Symbol.for("react.fragment"),Symbol.for("react.strict_mode"),Symbol.for("react.profiler"),Symbol.for("react.provider"),Symbol.for("react.context"),Symbol.for("react.server_context"),Symbol.for("react.forward_ref"),Symbol.for("react.suspense"),Symbol.for("react.suspense_list"),Symbol.for("react.memo"),Symbol.for("react.lazy"),Symbol.for("react.offscreen"),Symbol.for("react.client.reference");function Jl(e){e()}var ec={notify(){},get:()=>[]};function tc(e,t){let n,r=ec,a=0,o=!1;function i(){u.onStateChange&&u.onStateChange()}function l(){a++,n||(n=t?t.addNestedSub(i):e.subscribe(i),r=(()=>{let r=null,a=null;return{clear(){r=null,a=null},notify(){Jl(()=>{let e=r;for(;e;)e.callback(),e=e.next})},get(){var e=[];let t=r;for(;t;)e.push(t),t=t.next;return e},subscribe(e){let t=!0,n=a={callback:e,next:null,prev:a};return n.prev?n.prev.next=n:r=n,function(){t&&null!==r&&(t=!1,n.next?n.next.prev=n.prev:a=n.prev,n.prev?n.prev.next=n.next:r=n.next)}}}})())}function c(){a--,n&&0===a&&(n(),n=void 0,r.clear(),r=ec)}let u={addNestedSub:function(e){l();let t=r.subscribe(e),n=!1;return()=>{n||(n=!0,t(),c())}},notifyNestedSubs:function(){r.notify()},handleChangeWrapper:i,isSubscribed:function(){return o},trySubscribe:function(){o||(o=!0,l())},tryUnsubscribe:function(){o&&(o=!1,c())},getListeners:()=>r};return u}var r=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),o="undefined"!=typeof navigator&&"ReactNative"===navigator.product,nc=r||o?Ul.useLayoutEffect:Ul.useEffect;Object.defineProperty;function rc({store:t,context:e,children:n,serverState:r,stabilityCheck:a="once",identityFunctionCheck:o="once"}){let i=Ul.useMemo(()=>{var e=tc(t);return{store:t,subscription:e,getServerState:r?()=>r:void 0,stabilityCheck:a,identityFunctionCheck:o}},[t,r,a,o]),l=Ul.useMemo(()=>t.getState(),[t]);return nc(()=>{let e=i.subscription;return e.onStateChange=e.notifyNestedSubs,e.trySubscribe(),l!==t.getState()&&e.notifyNestedSubs(),()=>{e.tryUnsubscribe(),e.onStateChange=void 0}},[i,l]),Ul.createElement((e||ql).Provider,{value:i},n)}function ac(e=ql){let t=e===ql?Gl:Yl(e),n=()=>{var e=t().store;return e};return Object.assign(n,{withTypes:()=>n}),n}var oc=ac();function ic(e=ql){let t=e===ql?oc:ac(e),n=()=>t().dispatch;return Object.assign(n,{withTypes:()=>n}),n}function lc(){return m.a.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},m.a.createElement("path",{d:"M16.875 10H3.125",stroke:"#666666",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),m.a.createElement("path",{d:"M8.75 4.375L3.125 10L8.75 15.625",stroke:"#666666",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))}function cc(){return m.a.createElement("svg",{viewBox:"0 0 75 25",fill:"none",xmlns:"http://www.w3.org/2000/svg"},m.a.createElement("path",{d:"M19.6005 11.9082L13.5821 5.79228C12.9986 5.19931 12.7068 4.90281 12.3663 4.69078C12.0645 4.5028 11.7354 4.36427 11.3911 4.28028C11.0028 4.18555 10.5902 4.18555 9.76498 4.18555H8.40216C6.51259 4.18555 5.5678 4.18555 4.84608 4.55924C4.21125 4.88795 3.69511 5.41245 3.37164 6.05758C3.00391 6.79099 3.00391 7.75109 3.00391 9.67128V14.6998C3.00391 16.62 3.00391 17.5801 3.37164 18.3135C3.69511 18.9587 4.21125 19.4831 4.84608 19.8118C5.5678 20.1855 6.51259 20.1855 8.40216 20.1855H16.2267C17.5274 20.1855 18.1779 20.1855 18.7025 20.0057C19.7008 19.6635 20.4844 18.8673 20.8211 17.8528C20.998 17.3196 20.998 16.6587 20.998 15.3368C20.998 14.7583 20.998 14.4691 20.9536 14.1933C20.8694 13.6722 20.6678 13.1778 20.3647 12.7488C20.2043 12.5218 20.0032 12.3173 19.6005 11.9082Z",fill:"#B5D72D"}),m.a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.9392 4.18555H20.0838C20.4038 4.18555 20.5638 4.18555 20.686 4.24783C20.7935 4.30261 20.8809 4.39003 20.9358 4.49755C20.998 4.61979 20.998 4.7798 20.998 5.09982V8.24438C20.998 8.76365 20.998 9.02328 20.8953 9.1435C20.8062 9.24782 20.6726 9.30319 20.5358 9.29242C20.3782 9.28002 20.1945 9.09643 19.8273 8.72925L18.7448 7.64667L15.3089 11.0825C14.8774 11.514 14.5172 11.8742 14.1989 12.1444C13.8668 12.4263 13.5244 12.6603 13.1129 12.794C12.4817 12.9991 11.8018 12.9991 11.1705 12.794C10.7591 12.6603 10.4167 12.4263 10.0846 12.1444C9.76612 11.8741 9.4057 11.5136 8.97389 11.0818L6.39279 8.5007C6.05805 8.16596 6.05805 7.62325 6.39278 7.28852C6.72752 6.95378 7.27023 6.95378 7.60496 7.2885L10.1618 9.84539C10.6244 10.308 10.9354 10.618 11.194 10.8376C11.445 11.0506 11.5898 11.1277 11.7003 11.1636C11.9872 11.2568 12.2963 11.2568 12.5832 11.1636C12.6937 11.1277 12.8385 11.0506 13.0894 10.8376C13.3481 10.618 13.6591 10.308 14.1216 9.84539L17.5326 6.43448L16.4543 5.35613C16.0872 4.98901 15.9035 4.80535 15.8911 4.64774C15.8803 4.51098 15.9357 4.37733 16.04 4.28823C16.1602 4.18555 16.4199 4.18555 16.9392 4.18555Z",fill:"#5D7015"}),m.a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M40.2599 17.9591V10.8135C40.2599 10.1136 40.8272 9.5463 41.5271 9.5463H42.1607V16.6919C42.1607 17.3918 41.5935 17.9591 40.8935 17.9591H40.2599Z",fill:"#303030"}),m.a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M41.2596 8.66491C40.6375 8.66491 40.1332 8.16061 40.1332 7.53851C40.1332 6.91641 40.6375 6.41211 41.2596 6.41211C41.8816 6.41211 42.386 6.91641 42.386 7.53851C42.386 8.16061 41.8816 8.66491 41.2596 8.66491Z",fill:"#303030"}),m.a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M53.9883 17.9591V10.8135C53.9883 10.1136 54.5556 9.5463 55.2555 9.5463H55.8891V16.6919C55.8891 17.3918 55.3218 17.9591 54.6219 17.9591H53.9883Z",fill:"#303030"}),m.a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M54.9879 8.66491C54.3659 8.66491 53.8615 8.16061 53.8615 7.53851C53.8615 6.91641 54.3659 6.41211 54.9879 6.41211C55.61 6.41211 56.1143 6.91641 56.1143 7.53851C56.1143 8.16061 55.61 8.66491 54.9879 8.66491Z",fill:"#303030"}),m.a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M64.9421 15.0765C64.2487 14.7298 63.4004 15.1325 62.7775 15.594C62.3825 15.8866 61.8937 16.0597 61.3644 16.0597C60.0522 16.0597 58.9884 14.9959 58.9884 13.6837C58.9884 12.3714 60.0522 11.3077 61.3644 11.3077C61.8583 11.3077 62.3171 11.4584 62.6972 11.7164C63.28 12.112 64.0416 12.4243 64.6717 12.1092C64.9768 11.9566 65.1067 11.5841 64.9164 11.3009C64.1486 10.1585 62.8442 9.40686 61.3644 9.40686C59.0023 9.40686 57.0876 11.3217 57.0876 13.6837C57.0876 16.0457 59.0023 17.9605 61.3644 17.9605C63.1645 17.9605 64.705 16.8482 65.336 15.2735L64.9421 15.0765Z",fill:"#303030"}),m.a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M70.2124 16.0597C70.3923 16.0597 70.5675 16.0397 70.7359 16.0018C71.4995 15.8301 72.2551 15.4775 73.035 15.5425L74.0243 15.6249C73.3169 17.0112 71.8755 17.9605 70.2124 17.9605C67.8503 17.9605 65.9356 16.0457 65.9356 13.6837C65.9356 11.3217 67.8503 9.40686 70.2124 9.40686C72.5745 9.40686 74.4892 11.3217 74.4892 13.6837C74.4892 14.1455 74.0813 14.4757 73.6195 14.4757H67.9716C68.2978 15.3985 69.1778 16.0597 70.2124 16.0597ZM67.9716 12.8917C68.2978 11.9688 69.1778 11.3077 70.2124 11.3077C71.2469 11.3077 72.127 11.9688 72.4532 12.8917H67.9716Z",fill:"#303030"}),m.a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M47.8421 10.8135C47.8421 11.1634 47.5526 11.438 47.2168 11.5365C46.2965 11.8064 45.6245 12.6571 45.6245 13.6647V16.6919C45.6245 17.3918 45.0572 17.9591 44.3573 17.9591H43.7237V13.6647C43.7237 11.3902 45.5676 9.5463 47.8421 9.5463V10.8135Z",fill:"#303030"}),m.a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M51.0468 9.26331C51.0468 8.73843 51.4723 8.31291 51.9972 8.31291C52.3471 8.31291 52.6308 8.02924 52.6308 7.67931V6.41211H51.9972C50.4225 6.41211 49.146 7.68863 49.146 9.26331V17.9577H49.7796C50.4795 17.9577 51.0468 17.3904 51.0468 16.6905V11.9385H51.3636C52.0635 11.9385 52.6308 11.3712 52.6308 10.6713V10.3545H51.0468V9.26331Z",fill:"#303030"}),m.a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M39.0048 7.54029L35.15 17.1635C34.9574 17.6443 34.4915 17.9595 33.9736 17.9595H33.8983C33.3804 17.9595 32.9145 17.6443 32.7219 17.1635L28.8672 7.54029H30.0529C30.5709 7.54029 31.0366 7.85549 31.2293 8.33628L33.936 15.0934L36.6426 8.33628C36.8352 7.85549 37.301 7.54029 37.819 7.54029H39.0048Z",fill:"#303030"}))}function uc(){return m.a.createElement("svg",{width:"60",height:"48",viewBox:"0 0 60 48",fill:"none",xmlns:"http://www.w3.org/2000/svg"},m.a.createElement("path",{d:"M0 2C0 0.895432 0.895431 0 2 0H58C59.1046 0 60 0.895431 60 2V46C60 47.1046 59.1046 48 58 48H2C0.895432 48 0 47.1046 0 46V2Z",fill:"#F4F9E1"}),m.a.createElement("ellipse",{cx:"20.0357",cy:"19.0357",rx:"5.03571",ry:"5.03571",fill:"#A9C92C"}),m.a.createElement("path",{d:"M26.4643 37.9286L21.4286 31.2143L8 48H55L36.5357 24.5L26.4643 37.9286Z",fill:"#A9C92C"}))}function sc(){return m.a.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},m.a.createElement("path",{d:"M8.75 16.25V3.75C8.75 3.40482 8.47018 3.125 8.125 3.125L5 3.125C4.65482 3.125 4.375 3.40482 4.375 3.75L4.375 16.25C4.375 16.5952 4.65482 16.875 5 16.875H8.125C8.47018 16.875 8.75 16.5952 8.75 16.25Z",stroke:"#666666",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),m.a.createElement("path",{d:"M15.625 16.25V3.75C15.625 3.40482 15.3452 3.125 15 3.125L11.875 3.125C11.5298 3.125 11.25 3.40482 11.25 3.75V16.25C11.25 16.5952 11.5298 16.875 11.875 16.875H15C15.3452 16.875 15.625 16.5952 15.625 16.25Z",stroke:"#666666",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}))}function fc(){return m.a.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},m.a.createElement("path",{d:"M3.125 10H16.875",stroke:"#666666",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}))}function dc(){return m.a.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},m.a.createElement("path",{d:"M3.33334 5.83325C3.33334 5.05668 3.33334 4.6684 3.4602 4.36211C3.62936 3.95373 3.95382 3.62928 4.3622 3.46012C4.66848 3.33325 5.05677 3.33325 5.83334 3.33325H14.1667C14.9432 3.33325 15.3315 3.33325 15.6378 3.46012C16.0462 3.62928 16.3706 3.95373 16.5398 4.36211C16.6667 4.6684 16.6667 5.05668 16.6667 5.83325M7.5 16.6666H12.5M10 3.33325V16.6666",stroke:"#666666",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"}))}function pc(){return m.a.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},m.a.createElement("path",{d:"M8.75 10H16.875",stroke:"#666666",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),m.a.createElement("path",{d:"M8.75 5H16.875",stroke:"#666666",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),m.a.createElement("path",{d:"M3.125 15H16.875",stroke:"#666666",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),m.a.createElement("path",{d:"M5.625 4.375L2.5 7.5L5.625 10.625",stroke:"#666666",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}))}function hc(){return m.a.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},m.a.createElement("path",{d:"M5 5.9375C5 4.86006 5.42801 3.82675 6.18988 3.06488C6.95175 2.30301 7.98506 1.875 9.0625 1.875C10.1399 1.875 11.1733 2.30301 11.9351 3.06488C12.697 3.82675 13.125 4.86006 13.125 5.9375",stroke:"#666666",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),m.a.createElement("path",{d:"M5.62499 17.5L3.33437 13.5938C3.13044 13.2351 3.07666 12.8103 3.18476 12.4121C3.29287 12.0139 3.55408 11.6746 3.91141 11.4683C4.26873 11.262 4.69315 11.2054 5.09205 11.3109C5.49095 11.4163 5.83195 11.6753 6.04062 12.0312L7.49999 14.375V5.9375C7.49999 5.5231 7.66461 5.12567 7.95764 4.83265C8.25067 4.53962 8.64809 4.375 9.06249 4.375C9.4769 4.375 9.87432 4.53962 10.1673 4.83265C10.4604 5.12567 10.625 5.5231 10.625 5.9375V10.3125C10.625 9.8981 10.7896 9.50067 11.0826 9.20765C11.3757 8.91462 11.7731 8.75 12.1875 8.75C12.6019 8.75 12.9993 8.91462 13.2923 9.20765C13.5854 9.50067 13.75 9.8981 13.75 10.3125V11.5625C13.75 11.1481 13.9146 10.7507 14.2076 10.4576C14.5007 10.1646 14.8981 10 15.3125 10C15.7269 10 16.1243 10.1646 16.4173 10.4576C16.7104 10.7507 16.875 11.1481 16.875 11.5625V14.375C16.875 16.25 16.25 17.5 16.25 17.5",stroke:"#666666",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}))}function mc(){return m.a.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},m.a.createElement("path",{d:"M2.5 4.375H17.5V15C17.5 15.1658 17.4342 15.3247 17.3169 15.4419C17.1997 15.5592 17.0408 15.625 16.875 15.625H3.125C2.95924 15.625 2.80027 15.5592 2.68306 15.4419C2.56585 15.3247 2.5 15.1658 2.5 15V4.375Z",stroke:"#666666",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),m.a.createElement("path",{d:"M2.5 8.125H17.5",stroke:"#666666",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),m.a.createElement("path",{d:"M2.5 11.875H17.5",stroke:"#666666",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),m.a.createElement("path",{d:"M6.875 8.125V15.625",stroke:"#666666",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}))}function gc(){return m.a.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},m.a.createElement("path",{d:"M4.375 18.125H15.625",stroke:"#666666",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),m.a.createElement("path",{d:"M10 10.625C11.3807 10.625 12.5 9.50571 12.5 8.125C12.5 6.74429 11.3807 5.625 10 5.625C8.61929 5.625 7.5 6.74429 7.5 8.125C7.5 9.50571 8.61929 10.625 10 10.625Z",stroke:"#666666",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),m.a.createElement("path",{d:"M16.25 8.125C16.25 13.75 10 18.125 10 18.125C10 18.125 3.75 13.75 3.75 8.125C3.75 6.4674 4.40848 4.87769 5.58058 3.70558C6.75269 2.53348 8.3424 1.875 10 1.875C11.6576 1.875 13.2473 2.53348 14.4194 3.70558C15.5915 4.87769 16.25 6.4674 16.25 8.125Z",stroke:"#666666",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}))}function vc(){return m.a.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},m.a.createElement("path",{d:"M16.875 3.75H3.125C2.77982 3.75 2.5 4.02982 2.5 4.375V15.625C2.5 15.9702 2.77982 16.25 3.125 16.25H16.875C17.2202 16.25 17.5 15.9702 17.5 15.625V4.375C17.5 4.02982 17.2202 3.75 16.875 3.75Z",stroke:"#666666",strokeLinecap:"round",strokeLinejoin:"round"}),m.a.createElement("path",{d:"M12.1875 8.4375C12.5327 8.4375 12.8125 8.15768 12.8125 7.8125C12.8125 7.46732 12.5327 7.1875 12.1875 7.1875C11.8423 7.1875 11.5625 7.46732 11.5625 7.8125C11.5625 8.15768 11.8423 8.4375 12.1875 8.4375Z",fill:"#666666"}),m.a.createElement("path",{d:"M11.5086 12.8126L13.5156 10.8079C13.6328 10.6908 13.7917 10.625 13.9574 10.625C14.1231 10.625 14.282 10.6908 14.3992 10.8079L17.5 13.911",stroke:"#666666",strokeLinecap:"round",strokeLinejoin:"round"}),m.a.createElement("path",{d:"M2.5 13.1789L6.74531 8.93282C6.80336 8.87471 6.87229 8.82861 6.94816 8.79715C7.02404 8.7657 7.10537 8.74951 7.1875 8.74951C7.26963 8.74951 7.35096 8.7657 7.42684 8.79715C7.50271 8.82861 7.57164 8.87471 7.62969 8.93282L14.9461 16.25",stroke:"#666666",strokeLinecap:"round",strokeLinejoin:"round"}))}function bc(e){return"flat"===e.type?m.a.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},m.a.createElement("path",{d:"M2.5 4.375H17.5V15C17.5 15.1658 17.4342 15.3247 17.3169 15.4419C17.1997 15.5592 17.0408 15.625 16.875 15.625H3.125C2.95924 15.625 2.80027 15.5592 2.68306 15.4419C2.56585 15.3247 2.5 15.1658 2.5 15V4.375Z",stroke:"#666666",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),m.a.createElement("path",{d:"M17.5 4.375L10 11.25L2.5 4.375",stroke:"#666666",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})):m.a.createElement("svg",{width:"16",height:"9",viewBox:"0 0 16 9",fill:"none",xmlns:"http://www.w3.org/2000/svg"},m.a.createElement("path",{d:"M5.135 0.5C4.83919 0.500116 4.55301 0.605136 4.32734 0.796384C4.10167 0.987632 3.95113 1.25272 3.9025 1.5445L2.9025 7.5445C2.87266 7.72353 2.88217 7.90691 2.93036 8.08189C2.97855 8.25688 3.06427 8.41927 3.18156 8.55778C3.29885 8.69629 3.44489 8.8076 3.60954 8.88397C3.77419 8.96033 3.9535 8.99993 4.135 9H13.114C13.4099 9 13.6962 8.89504 13.922 8.70378C14.1477 8.51252 14.2984 8.24737 14.347 7.9555L15.347 1.9555C15.3768 1.77651 15.3673 1.59317 15.3192 1.41823C15.271 1.24328 15.1853 1.08091 15.0681 0.94241C14.9509 0.803908 14.8049 0.692591 14.6403 0.616192C14.4757 0.539793 14.2965 0.500144 14.115 0.5H5.135ZM4.8885 1.709C4.89822 1.65054 4.92839 1.59743 4.97363 1.55915C5.01887 1.52087 5.07624 1.49991 5.1355 1.5H14.1145C14.1508 1.49994 14.1867 1.50781 14.2197 1.52304C14.2527 1.53828 14.282 1.56052 14.3055 1.58822C14.329 1.61592 14.3462 1.64841 14.3559 1.68343C14.3655 1.71845 14.3675 1.75516 14.3615 1.791L14.3145 2.0705L9.1695 4.8405C9.12879 4.86243 9.08279 4.87264 9.03663 4.86999C8.99046 4.86734 8.94594 4.85194 8.908 4.8255L4.8435 1.9805L4.8885 1.709ZM4.6615 3.0735L7.2415 4.879L4.0765 6.5835L4.6615 3.0735ZM8.1585 5.521L8.3345 5.6445C8.52431 5.77742 8.74733 5.85496 8.97865 5.86847C9.20998 5.88198 9.44051 5.83092 9.6445 5.721L9.83 5.621L13.3415 7.8555C13.3214 7.89872 13.2893 7.93529 13.2491 7.9609C13.2089 7.9865 13.1622 8.00007 13.1145 8H4.1355C4.08085 8.00003 4.02769 7.98215 3.98417 7.9491C3.94064 7.91605 3.90915 7.86965 3.8945 7.817L8.1585 5.521ZM10.839 5.0775L14.1065 3.318L13.5285 6.789L10.839 5.0775ZM0.875 1.5C0.775544 1.5 0.680161 1.53951 0.609835 1.60983C0.539509 1.68016 0.5 1.77554 0.5 1.875C0.5 1.97446 0.539509 2.06984 0.609835 2.14017C0.680161 2.21049 0.775544 2.25 0.875 2.25H3.125C3.22446 2.25 3.31984 2.21049 3.39017 2.14017C3.46049 2.06984 3.5 1.97446 3.5 1.875C3.5 1.77554 3.46049 1.68016 3.39017 1.60983C3.31984 1.53951 3.22446 1.5 3.125 1.5H0.875ZM0.875 3.5C0.775544 3.5 0.680161 3.53951 0.609835 3.60983C0.539509 3.68016 0.5 3.77554 0.5 3.875C0.5 3.97446 0.539509 4.06984 0.609835 4.14017C0.680161 4.21049 0.775544 4.25 0.875 4.25H2.625C2.72446 4.25 2.81984 4.21049 2.89017 4.14017C2.96049 4.06984 3 3.97446 3 3.875C3 3.77554 2.96049 3.68016 2.89017 3.60983C2.81984 3.53951 2.72446 3.5 2.625 3.5H0.875ZM0.5 5.875C0.5 5.77554 0.539509 5.68016 0.609835 5.60983C0.680161 5.53951 0.775544 5.5 0.875 5.5H2.125C2.22446 5.5 2.31984 5.53951 2.39017 5.60983C2.46049 5.68016 2.5 5.77554 2.5 5.875C2.5 5.97446 2.46049 6.06984 2.39017 6.14017C2.31984 6.21049 2.22446 6.25 2.125 6.25H0.875C0.775544 6.25 0.680161 6.21049 0.609835 6.14017C0.539509 6.06984 0.5 5.97446 0.5 5.875Z",fill:"#666666"}))}function yc(e){return e.type,m.a.createElement("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},m.a.createElement("path",{d:"M6 4.125C6 3.72718 6.15804 3.34564 6.43934 3.06434C6.72064 2.78304 7.10218 2.625 7.5 2.625H10.875V9.375H7.5C7.10218 9.375 6.72064 9.53304 6.43934 9.81434C6.15804 10.0956 6 10.4772 6 10.875",stroke:"#0066CC",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),m.a.createElement("path",{d:"M1.125 9.375H4.5C4.89782 9.375 5.27936 9.53304 5.56066 9.81434C5.84196 10.0956 6 10.4772 6 10.875V4.125C6 3.72718 5.84196 3.34564 5.56066 3.06434C5.27936 2.78304 4.89782 2.625 4.5 2.625H1.125V9.375Z",stroke:"#0066CC",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))}function Ec(){return m.a.createElement("svg",{width:"7",height:"6",viewBox:"0 0 7 6",fill:"none",xmlns:"http://www.w3.org/2000/svg"},m.a.createElement("path",{d:"M3.20001 6C4.85687 6 6.20001 4.65685 6.20001 3C6.20001 1.34315 4.85687 0 3.20001 0C1.54316 0 0.200012 1.34315 0.200012 3C0.200012 4.65685 1.54316 6 3.20001 6Z",fill:"currentColor"}))}function wc(){return m.a.createElement("svg",{width:16,height:17,viewBox:"0 0 16 17",fill:"none",xmlns:"http://www.w3.org/2000/svg"},m.a.createElement("path",{d:"M11.3337 5.1665L4.66699 11.8332M4.66699 5.1665L11.3337 11.8332",stroke:"#171717",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}))}function xc(){return m.a.createElement("svg",{width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},m.a.createElement("path",{d:"M13.9806 1.6366C14.0047 1.55107 14.0056 1.46066 13.9831 1.37468C13.9607 1.2887 13.9157 1.21026 13.8529 1.14742C13.79 1.08459 13.7116 1.03964 13.6256 1.01719C13.5396 0.994745 13.4492 0.995618 13.3637 1.01972L1.36371 4.65847C1.26574 4.68612 1.17854 4.74301 1.11377 4.82155C1.049 4.90008 1.00975 4.99652 1.00126 5.09796C0.992762 5.1994 1.01543 5.30102 1.06624 5.38923C1.11705 5.47744 1.19357 5.54804 1.28558 5.5916L6.74996 8.25035L9.4087 13.7141C9.45226 13.8061 9.52286 13.8826 9.61107 13.9334C9.69928 13.9842 9.8009 14.0069 9.90234 13.9984C10.0038 13.9899 10.1002 13.9507 10.1788 13.8859C10.2573 13.8211 10.3142 13.7339 10.3418 13.636L13.9806 1.6366Z",stroke:"#666666",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))}function Cc(){return m.a.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},m.a.createElement("path",{d:"M2.5 11V4.5C2.5 4.23478 2.60536 3.98043 2.79289 3.79289C2.98043 3.60536 3.23478 3.5 3.5 3.5H12.5C12.7652 3.5 13.0196 3.60536 13.2071 3.79289C13.3946 3.98043 13.5 4.23478 13.5 4.5V11",stroke:"black",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),m.a.createElement("path",{d:"M1.5 11H14.5V12C14.5 12.2652 14.3946 12.5196 14.2071 12.7071C14.0196 12.8946 13.7652 13 13.5 13H2.5C2.23478 13 1.98043 12.8946 1.79289 12.7071C1.60536 12.5196 1.5 12.2652 1.5 12V11Z",stroke:"black",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),m.a.createElement("path",{d:"M9 5.5H7",stroke:"black",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))}function _c(){return m.a.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},m.a.createElement("path",{d:"M11 1.5H5C4.44772 1.5 4 1.94772 4 2.5V13.5C4 14.0523 4.44772 14.5 5 14.5H11C11.5523 14.5 12 14.0523 12 13.5V2.5C12 1.94772 11.5523 1.5 11 1.5Z",stroke:"#666666",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),m.a.createElement("path",{d:"M4 3.5H12",stroke:"#666666",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),m.a.createElement("path",{d:"M4 12.5H12",stroke:"#666666",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))}function Pc(){return m.a.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},m.a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.34519 4.5H14.0708C14.8101 4.5 15.4122 5.1021 15.4122 5.84138V10.3152C15.4122 11.0545 14.8101 11.6566 14.0708 11.6566H9.8638L10.4392 13.0704L7.89745 11.6566H2.34138C1.6021 11.6566 1 11.0545 1 10.3152V5.84138C1 5.1021 1.6021 4.5 2.34519 4.5Z",fill:"#7F54B3"}),m.a.createElement("path",{d:"M1.72834 5.71859C1.81981 5.60807 1.95319 5.53948 2.09799 5.53567C2.39523 5.51662 2.56671 5.65762 2.61245 5.95867C2.79537 7.18572 2.99352 8.22987 3.2031 9.08729L4.49496 6.63317C4.61309 6.41214 4.75789 6.29401 4.93701 6.28259C5.19614 6.26353 5.35618 6.42739 5.42097 6.77798C5.54291 7.46392 5.72964 8.13842 5.97733 8.79005C6.13357 7.29624 6.3927 6.21399 6.75473 5.54711C6.82713 5.39468 6.97574 5.2956 7.14342 5.28798C7.2768 5.27654 7.41018 5.31847 7.51307 5.40612C7.61977 5.48613 7.68455 5.6119 7.69217 5.74526C7.6998 5.84434 7.68073 5.94343 7.63501 6.02726C7.40636 6.45407 7.21582 7.16286 7.06721 8.15366C6.92239 9.11016 6.86524 9.86087 6.90334 10.3982C6.91859 10.5316 6.89191 10.6649 6.83475 10.7831C6.77759 10.905 6.65565 10.9889 6.52227 10.9965C6.36603 11.0079 6.2136 10.9355 6.05736 10.7793C5.50861 10.2191 5.07419 9.38454 4.75409 8.2756C4.37682 9.03013 4.09101 9.59793 3.90428 9.97139C3.55751 10.6383 3.26028 10.9774 3.01639 10.9965C2.85633 11.0079 2.71914 10.8745 2.60864 10.5925C2.30758 9.82276 1.98367 8.33276 1.63689 6.12252C1.6064 5.97772 1.6407 5.83292 1.72834 5.71859Z",fill:"white"}),m.a.createElement("path",{d:"M10.695 6.64123C10.4968 6.28682 10.1539 6.03531 9.75373 5.9591C9.64701 5.93624 9.54032 5.9248 9.43362 5.9248C8.86963 5.9248 8.40852 6.21823 8.05031 6.80508C7.74545 7.30429 7.5854 7.87972 7.59303 8.46276C7.59303 8.91623 7.68829 9.30494 7.87502 9.62885C8.07319 9.98326 8.41616 10.2348 8.81628 10.311C8.92298 10.3338 9.02967 10.3453 9.13639 10.3453C9.70419 10.3453 10.1653 10.0518 10.5197 9.46498C10.8245 8.96197 10.9846 8.38655 10.977 7.79588C10.977 7.34241 10.8817 6.95751 10.695 6.64123ZM9.95188 8.27603C9.87186 8.66093 9.72324 8.95053 9.50221 9.1487C9.33073 9.30494 9.17068 9.36591 9.02587 9.33923C8.88106 9.31255 8.76674 9.18299 8.67909 8.95816C8.61431 8.78668 8.5762 8.60756 8.5762 8.42084C8.5762 8.27603 8.59145 8.13123 8.61811 7.99022C8.67528 7.73872 8.77817 7.50245 8.93061 7.28904C9.12495 7.00325 9.33073 6.88131 9.54412 6.92702C9.68894 6.95751 9.80325 7.08326 9.89091 7.30811C9.95568 7.47959 9.9938 7.65869 9.9938 7.84161C9.9938 7.98642 9.98237 8.13123 9.95188 8.27603Z",fill:"white"}),m.a.createElement("path",{d:"M14.3834 6.64123C14.1853 6.28682 13.8423 6.03531 13.4422 5.9591C13.3355 5.93624 13.2289 5.9248 13.122 5.9248C12.5582 5.9248 12.097 6.21823 11.7388 6.80508C11.4339 7.30429 11.2739 7.87972 11.2815 8.46276C11.2815 8.91623 11.3768 9.30494 11.5635 9.62885C11.7617 9.98326 12.1047 10.2348 12.5047 10.311C12.6115 10.3338 12.7182 10.3453 12.8248 10.3453C13.3927 10.3453 13.8537 10.0518 14.2081 9.46498C14.513 8.96197 14.673 8.38655 14.6655 7.79588C14.6655 7.34241 14.5702 6.95751 14.3834 6.64123ZM13.6404 8.27603C13.5603 8.66093 13.4117 8.95053 13.1906 9.1487C13.0192 9.30494 12.8592 9.36591 12.7143 9.33923C12.5696 9.31257 12.4552 9.18299 12.3675 8.95816C12.3028 8.78668 12.2647 8.60756 12.2647 8.42084C12.2647 8.27603 12.28 8.13123 12.3066 7.99022C12.3638 7.73872 12.4666 7.50245 12.6191 7.28904C12.8134 7.00325 13.0192 6.88131 13.2326 6.92702C13.3774 6.95751 13.4917 7.08326 13.5794 7.30811C13.6441 7.47959 13.6823 7.65869 13.6823 7.84161C13.6823 7.98642 13.6708 8.13123 13.6404 8.27603Z",fill:"white"}))}function kc(){return m.a.createElement("svg",{width:"13",height:"12",viewBox:"0 0 13 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},m.a.createElement("path",{d:"M4.69995 10.1251H2.44995C2.35049 10.1251 2.25511 10.0856 2.18479 10.0152C2.11446 9.9449 2.07495 9.84952 2.07495 9.75006V7.65522C2.075 7.55589 2.11445 7.46064 2.18464 7.39037L7.96526 1.60975C8.03558 1.53948 8.13093 1.5 8.23034 1.5C8.32976 1.5 8.4251 1.53948 8.49542 1.60975L10.5903 3.70319C10.6605 3.7735 10.7 3.86885 10.7 3.96826C10.7 4.06768 10.6605 4.16302 10.5903 4.23334L4.69995 10.1251Z",stroke:"#666666",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),m.a.createElement("path",{d:"M10.325 10.125H4.69995",stroke:"#666666",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),m.a.createElement("path",{d:"M6.57495 3L9.19995 5.625",stroke:"#666666",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))}function Sc(){return m.a.createElement("svg",{width:"74",height:"74",viewBox:"0 0 74 74",fill:"none",xmlns:"http://www.w3.org/2000/svg"},m.a.createElement("path",{d:"M35.7415 12.3854C31.8736 11.2109 32.5063 13.3888 33.3062 14.6246C30.1858 14.0932 29.8852 15.075 31.1497 17.3671C28.2843 19.3197 27.0205 24.9447 26.7467 27.5132C26.6901 27.9848 26.3219 29.3987 25.3024 31.2808C22.8535 34.7189 24.1174 34.1921 24.0206 34.7808C23.9238 35.3695 22.0257 37.6993 21.6819 38.3888C21.3381 39.0783 17.4434 41.2988 16.761 41.7649C16.0786 42.231 14.54 42.4377 12.5876 42.8296C10.6352 43.2215 8.67991 42.3341 8.18496 41.6743C7.98989 41.2124 7.81487 41.134 7.75174 41.1525C7.64437 41.1048 7.35017 41.0625 7.03234 41.2749C6.63505 41.5403 7.05883 43.4444 7.17302 43.7974C4.14236 41.8673 4.37434 43.9919 4.86236 45.2163C5.87544 47.7914 9.88244 53.7903 17.8058 57.1851C27.71 61.4285 38.3353 60.5386 41.5806 57.6398C43.9323 55.2705 44.8808 52.5465 45.061 51.4806C45.4369 51.8999 46.4264 52.5425 47.3766 51.7588C48.3268 50.9751 48.2929 49.1283 48.1571 48.3029C48.9601 49.513 50.8144 51.6028 51.8084 50.2814C52.8023 48.9601 52.2544 47.0029 51.8562 46.1895C52.8232 47.193 55.0615 48.8818 56.2794 47.6082C57.4973 46.3347 56.0716 44.051 55.2065 43.0684C56.5887 43.2953 59.5103 43.4392 60.1395 42.1994C60.7686 40.9595 59.4811 39.6408 58.7587 39.1364C59.8671 39.2521 62.1893 39.0839 62.6111 37.485C63.0328 35.8862 61.2193 34.8035 60.2598 34.4621C61.2454 34.0063 63.1756 32.8287 63.0111 31.765C62.8465 30.7012 61.2253 30.2628 60.4353 30.1766C58.521 30.0337 54.0564 30.4805 51.512 33.4113C48.8141 37.1849 46.9532 37.901 46.3255 37.0426C45.8234 36.3558 46.1733 30.7776 46.411 28.0744C46.8504 25.6477 47.2547 20.2256 45.3563 17.9513C42.9834 15.1085 40.5763 13.8536 35.7415 12.3854Z",fill:"#B5D72D"}),m.a.createElement("path",{d:"M46.0052 46.6609C46.198 45.5774 46.1879 39.8533 46.1587 37.1267C47.0784 37.4373 49.2606 37.421 50.6318 34.8713C52.3457 31.6841 54.9897 31.4014 56.199 30.8942C57.2929 31.7825 57.9895 33.5888 55.899 35.3474C57.5722 37.0622 55.6794 38.4791 53.9205 38.9987C55.4383 40.486 53.3787 42.6398 51.4181 42.6653C52.3863 44.8174 49.9348 45.0188 48.3736 44.5442C48.5371 45.7905 47.1476 46.9286 46.0052 46.6609Z",fill:"#D3E883"}),m.a.createElement("path",{d:"M17.374 45.5705C14.8388 46.6858 14.6925 44.0652 14.9363 42.6154C16.1075 42.208 18.6261 40.5792 22.0257 38.3514C24.7454 36.5692 27.9474 37.0008 29.2084 37.4394C33.3496 38.7721 34.7433 43.2199 34.9224 45.2773C34.5707 45.8875 33.4285 46.8935 31.6732 46.0354C30.712 49.3442 28.7641 48.8875 27.9103 48.2456C27.302 49.1817 25.6578 50.3971 23.9481 47.7696C21.8947 49.2194 17.8696 49.7016 17.374 45.5705Z",fill:"#D3E883"}),m.a.createElement("path",{d:"M34.0224 18.6465C33.5399 19.0313 33.2048 18.9811 33.0975 18.9079C32.9411 18.8853 32.7353 18.722 33.163 18.2502C33.6976 17.6604 34.8783 17.4854 35.7092 17.9023C36.3739 18.2359 36.2383 18.6956 35.8734 18.6428C35.4564 18.5824 34.5049 18.2617 34.0224 18.6465Z",fill:"#1F1F1F"}),m.a.createElement("path",{d:"M43.2395 19.4965C43.0471 19.3122 42.3623 19.3051 42.0439 19.3247C41.9569 19.1408 42.2289 19.0575 42.4749 18.9705C42.721 18.8834 43.3463 19.0233 43.4935 19.0679C43.647 19.1144 43.9256 19.2279 44.0767 19.2986C44.2279 19.3692 44.3221 19.4807 44.4587 19.6962C44.5953 19.9116 44.394 20.0785 44.1836 20.0727C43.9733 20.067 43.4801 19.7269 43.2395 19.4965Z",fill:"#1F1F1F"}),m.a.createElement("ellipse",{cx:"2.54067",cy:"2.80844",rx:"2.54067",ry:"2.80844",transform:"matrix(0.98897 0.122448 -0.0418972 1.00407 32.542 19.5947)",fill:"#FFFEFA"}),m.a.createElement("ellipse",{cx:"1.71949",cy:"2.08473",rx:"1.71949",ry:"2.08473",transform:"matrix(0.987238 0.161994 -0.0877746 0.996479 33.4419 20.4805)",fill:"#272727"}),m.a.createElement("ellipse",{cx:"0.80977",cy:"0.736542",rx:"0.80977",ry:"0.736542",transform:"matrix(0.987248 0.161848 -0.0878663 0.996461 32.981 20.7783)",fill:"#FFFEFA"}),m.a.createElement("ellipse",{cx:"2.2345",cy:"2.454",rx:"2.2345",ry:"2.454",transform:"matrix(0.988964 0.1227 -0.0415928 1.00412 40.5483 20.5264)",fill:"#FFFEFA"}),m.a.createElement("ellipse",{cx:"1.5123",cy:"1.82168",rx:"1.5123",ry:"1.82168",transform:"matrix(0.987238 0.162001 -0.0877716 0.996479 41.3398 21.3018)",fill:"#272727"}),m.a.createElement("ellipse",{cx:"0.712238",cy:"0.64357",rx:"0.712238",ry:"0.64357",transform:"matrix(0.987248 0.161836 -0.0878726 0.99646 40.9346 21.5615)",fill:"#FFFEFA"}),m.a.createElement("rect",{x:"24.7534",y:"57.127",width:"4.11241",height:"6.49442",rx:"2.05621",transform:"rotate(28.0052 24.7534 57.127)",fill:"#FD8E08"}),m.a.createElement("rect",{x:"34.208",y:"57.8242",width:"4.11241",height:"6.49442",rx:"2.05621",transform:"rotate(12.6621 34.208 57.8242)",fill:"#FD8E08"}),m.a.createElement("path",{d:"M45.0708 29.9667C45.4333 29.7875 45.7107 28.91 44.1174 26.962C43.5972 26.326 42.8969 25.8873 42.1769 25.5514C41.1328 25.0643 40.1947 24.6504 39.5188 24.6781C38.794 24.7822 38.6397 25.2442 37.528 26.2617C36.1776 26.2799 33.8523 26.2662 34.7571 28.4757C36.9469 33.0488 41.4833 32.6537 42.8284 32.6856C43.9045 32.7112 43.778 32.1207 43.5802 31.8223C43.2063 31.2708 42.5013 30.0619 42.6728 29.6378C43.627 29.6161 44.7082 30.1459 45.0708 29.9667Z",fill:"#F85D1C"}),m.a.createElement("path",{d:"M41.6083 28.5195C37.8924 28.1941 36.8765 26.9423 36.833 26.357C36.7949 26.3015 36.8098 26.1775 37.1734 26.1264C37.6279 26.0624 38.2334 25.5657 38.652 25.0938C38.9869 24.7163 39.3129 24.655 39.4341 24.6715C39.7795 24.5591 41.0004 24.6534 43.1199 25.9298C45.7692 27.5253 45.4948 29.1251 45.3361 29.3805C45.1775 29.636 44.44 29.6361 44.0301 29.278C43.6203 28.9198 42.4911 28.6399 41.6083 28.5195Z",fill:"#FF8D05"}),m.a.createElement("path",{d:"M40.79 29.7332C39.6501 29.8229 37.5221 28.9615 36.6006 28.5195C36.9793 28.9803 37.8829 30.0557 38.4669 30.6709C39.1969 31.44 40.7988 31.8819 41.1289 31.4807C41.4591 31.0796 41.2363 30.4635 40.79 29.7332Z",fill:"#FFCAB3"}),m.a.createElement("path",{d:"M41.4558 29.6557L40.71 29.7061C41.8916 31.5487 40.5254 31.463 39.4305 31.3128C40.9783 32.1872 42.8556 32.1901 42.5378 31.9428C42.2836 31.745 41.7105 30.3356 41.4558 29.6557Z",fill:"#A76C24"}),m.a.createElement("ellipse",{cx:"43.2192",cy:"26.4591",rx:"0.495",ry:"0.2006",transform:"rotate(39.3267 43.2192 26.4591)",fill:"#FFBC4D"}),m.a.createElement("ellipse",{cx:"44.2103",cy:"27.642",rx:"0.721485",ry:"0.25836",transform:"rotate(54.8599 44.2103 27.642)",fill:"#FFBC4D"}),m.a.createElement("rect",{opacity:"0.9",x:"57.708",y:"21.8203",width:"1",height:"17.1042",transform:"rotate(13.0425 57.708 21.8203)",fill:"#FD8E08"}),m.a.createElement("rect",{x:"49.1079",y:"13",width:"21",height:"11",rx:"2",transform:"rotate(11.0476 49.1079 13)",fill:"#03C04A"}),m.a.createElement("path",{d:"M53.6407 18.5288L52.932 22.1585L52.1202 22L52.8289 18.3703L53.6407 18.5288ZM52.9612 17.4071C52.9852 17.2841 53.0453 17.1902 53.1416 17.1254C53.2405 17.0589 53.3626 17.0397 53.508 17.0681C53.6511 17.0961 53.756 17.1595 53.8226 17.2584C53.8896 17.3551 53.9111 17.4649 53.8871 17.5879C53.8635 17.7087 53.8025 17.8012 53.704 17.8656C53.6055 17.9299 53.4847 17.9481 53.3416 17.9202C53.1962 17.8918 53.0901 17.8293 53.023 17.7326C52.9582 17.6364 52.9376 17.5279 52.9612 17.4071ZM55.1768 19.6332L54.6194 22.488L53.8109 22.3301L54.5196 18.7004L55.2811 18.8491L55.1768 19.6332ZM54.8557 20.5108L54.5947 20.4563C54.6471 20.1996 54.729 19.9706 54.8402 19.7695C54.9537 19.5688 55.0881 19.4035 55.2435 19.2736C55.4011 19.1442 55.5763 19.0553 55.7692 19.0071C55.9624 18.9566 56.1675 18.9525 56.3845 18.9949C56.5589 19.0289 56.7118 19.0843 56.843 19.161C56.977 19.2359 57.0838 19.3369 57.1635 19.4639C57.2454 19.5913 57.2964 19.7464 57.3165 19.9291C57.337 20.1095 57.323 20.3239 57.2745 20.5721L56.8167 22.917L56.0049 22.7585L56.4633 20.4102C56.4974 20.2358 56.4985 20.0932 56.4667 19.9826C56.4376 19.8701 56.3791 19.7832 56.2913 19.7219C56.2061 19.6589 56.093 19.6136 55.9521 19.5861C55.8135 19.559 55.6837 19.5638 55.5627 19.6006C55.4418 19.6373 55.3335 19.6986 55.2378 19.7844C55.1443 19.8706 55.0646 19.9758 54.9986 20.0999C54.9326 20.224 54.8849 20.3609 54.8557 20.5108ZM58.7355 23.2916L57.9271 23.1338L58.7038 19.1552C58.7567 18.8846 58.8513 18.6674 58.9878 18.5037C59.1269 18.3381 59.3007 18.227 59.5091 18.1702C59.718 18.1111 59.9521 18.1069 60.2115 18.1575C60.292 18.1733 60.3703 18.1944 60.4464 18.2208C60.523 18.2451 60.5962 18.2744 60.666 18.309L60.5241 18.929C60.4815 18.9091 60.4339 18.8917 60.3811 18.8767C60.3305 18.8622 60.275 18.849 60.2146 18.8372C60.0916 18.8132 59.9808 18.816 59.8822 18.8455C59.7862 18.8732 59.7063 18.926 59.6423 19.0041C59.5805 19.0826 59.5372 19.1856 59.5123 19.313L58.7355 23.2916ZM60.1923 19.808L60.077 20.3984L57.9636 19.9858L58.0789 19.3954L60.1923 19.808ZM60.2628 21.7476L60.2779 21.6704C60.329 21.4088 60.4144 21.1735 60.5341 20.9647C60.6542 20.7537 60.802 20.5794 60.9774 20.4419C61.1556 20.3025 61.3576 20.2073 61.5835 20.1562C61.812 20.1033 62.0582 20.1026 62.3221 20.1542C62.5883 20.2061 62.8162 20.2994 63.0058 20.4339C63.1981 20.5667 63.3506 20.7311 63.4632 20.9272C63.5763 21.1211 63.6488 21.3384 63.6807 21.5791C63.7131 21.8176 63.7037 22.0677 63.6526 22.3293L63.6376 22.4065C63.5865 22.6681 63.5011 22.9034 63.3814 23.1122C63.2617 23.321 63.1128 23.495 62.9347 23.6344C62.757 23.7715 62.555 23.8667 62.3287 23.92C62.1028 23.9711 61.8579 23.9709 61.594 23.9194C61.3278 23.8674 61.0986 23.7751 60.9063 23.6423C60.7167 23.5078 60.5653 23.3436 60.4522 23.1497C60.3396 22.9536 60.2671 22.7363 60.2348 22.4978C60.2024 22.2593 60.2117 22.0092 60.2628 21.7476ZM61.0864 21.8283L61.0713 21.9054C61.0394 22.0687 61.0261 22.2263 61.0312 22.3782C61.0364 22.5301 61.0641 22.6678 61.1142 22.7914C61.1644 22.915 61.2393 23.019 61.3389 23.1034C61.4385 23.1879 61.5654 23.2452 61.7197 23.2753C61.8696 23.3045 62.0054 23.2986 62.1272 23.2573C62.2513 23.2165 62.3598 23.1483 62.4527 23.0527C62.5457 22.9571 62.6231 22.8399 62.6851 22.7011C62.7492 22.5627 62.7972 22.4119 62.8291 22.2486L62.8442 22.1715C62.8756 22.0105 62.8874 21.8549 62.8796 21.7048C62.8744 21.5528 62.8459 21.4138 62.7939 21.2875C62.7441 21.1618 62.6695 21.0566 62.5699 20.9722C62.473 20.8859 62.3485 20.828 62.1964 20.7983C62.0443 20.7686 61.906 20.7752 61.7816 20.8183C61.6597 20.8595 61.5521 20.929 61.4587 21.0269C61.3653 21.1247 61.2877 21.243 61.2258 21.3819C61.1643 21.5184 61.1178 21.6672 61.0864 21.8283Z",fill:"#FFFEFA"}))}function Rc(){return m.a.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},m.a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.76923 13H3V3H3.76923V13ZM13.0002 6.8464H5.30794V5.30794H13.0002V6.8464ZM5.30794 10.6924H9.92333V9.15397H5.30794V10.6924Z",fill:"#666666"}))}function Ic(){return m.a.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},m.a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.61538 3H7.84615V5.30769H4V6.84615H7.84615V9.15385H5.53846V10.6923H7.84615V13H8.61538V10.6923H10.9231V9.15385H8.61538V6.84615H12.4615V5.30769H8.61538V3Z",fill:"#666666"}))}function Oc(){return m.a.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},m.a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.2308 13H13V3H12.2308V13ZM3 6.84615H10.6923V5.30769H3V6.84615ZM10.6923 10.6923H6.07692V9.15385H10.6923V10.6923Z",fill:"#666666"}))}function Fc(){return m.a.createElement("svg",{width:"28",height:"28",viewBox:"0 0 28 28",fill:"none",xmlns:"http://www.w3.org/2000/svg"},m.a.createElement("path",{d:"M9 16L14 11L19 16",stroke:"#666666",strokeLinecap:"round",strokeLinejoin:"round"}))}function Ac(){return m.a.createElement("svg",{width:"28",height:"28",viewBox:"0 0 28 28",fill:"none",xmlns:"http://www.w3.org/2000/svg"},m.a.createElement("path",{d:"M19 12L14 17L9 12",stroke:"#666666",strokeLinecap:"round",strokeLinejoin:"round"}))}function jc(){return m.a.createElement("svg",{width:"28",height:"28",viewBox:"0 0 28 28",fill:"none",xmlns:"http://www.w3.org/2000/svg"},m.a.createElement("path",{d:"M17.5 10H8.5C8.36739 10 8.24021 10.0527 8.14645 10.1464C8.05268 10.2402 8 10.3674 8 10.5V19.5C8 19.6326 8.05268 19.7598 8.14645 19.8536C8.24021 19.9473 8.36739 20 8.5 20H17.5C17.6326 20 17.7598 19.9473 17.8536 19.8536C17.9473 19.7598 18 19.6326 18 19.5V10.5C18 10.3674 17.9473 10.2402 17.8536 10.1464C17.7598 10.0527 17.6326 10 17.5 10ZM17 19H9V11H17V19ZM20 8.5V17.5C20 17.6326 19.9473 17.7598 19.8536 17.8536C19.7598 17.9473 19.6326 18 19.5 18C19.3674 18 19.2402 17.9473 19.1464 17.8536C19.0527 17.7598 19 17.6326 19 17.5V9H10.5C10.3674 9 10.2402 8.94732 10.1464 8.85355C10.0527 8.75979 10 8.63261 10 8.5C10 8.36739 10.0527 8.24021 10.1464 8.14645C10.2402 8.05268 10.3674 8 10.5 8H19.5C19.6326 8 19.7598 8.05268 19.8536 8.14645C19.9473 8.24021 20 8.36739 20 8.5Z",fill:"#666666"}))}function Lc(){return m.a.createElement("svg",{width:"28",height:"28",viewBox:"0 0 28 28",fill:"none",xmlns:"http://www.w3.org/2000/svg"},m.a.createElement("path",{d:"M19.5 9H17V8.5C17 8.10218 16.842 7.72064 16.5607 7.43934C16.2794 7.15804 15.8978 7 15.5 7H12.5C12.1022 7 11.7206 7.15804 11.4393 7.43934C11.158 7.72064 11 8.10218 11 8.5V9H8.5C8.36739 9 8.24021 9.05268 8.14645 9.14645C8.05268 9.24021 8 9.36739 8 9.5C8 9.63261 8.05268 9.75979 8.14645 9.85355C8.24021 9.94732 8.36739 10 8.5 10H9V19C9 19.2652 9.10536 19.5196 9.29289 19.7071C9.48043 19.8946 9.73478 20 10 20H18C18.2652 20 18.5196 19.8946 18.7071 19.7071C18.8946 19.5196 19 19.2652 19 19V10H19.5C19.6326 10 19.7598 9.94732 19.8536 9.85355C19.9473 9.75979 20 9.63261 20 9.5C20 9.36739 19.9473 9.24021 19.8536 9.14645C19.7598 9.05268 19.6326 9 19.5 9ZM12 8.5C12 8.36739 12.0527 8.24021 12.1464 8.14645C12.2402 8.05268 12.3674 8 12.5 8H15.5C15.6326 8 15.7598 8.05268 15.8536 8.14645C15.9473 8.24021 16 8.36739 16 8.5V9H12V8.5ZM18 19H10V10H18V19ZM13 12.5V16.5C13 16.6326 12.9473 16.7598 12.8536 16.8536C12.7598 16.9473 12.6326 17 12.5 17C12.3674 17 12.2402 16.9473 12.1464 16.8536C12.0527 16.7598 12 16.6326 12 16.5V12.5C12 12.3674 12.0527 12.2402 12.1464 12.1464C12.2402 12.0527 12.3674 12 12.5 12C12.6326 12 12.7598 12.0527 12.8536 12.1464C12.9473 12.2402 13 12.3674 13 12.5ZM16 12.5V16.5C16 16.6326 15.9473 16.7598 15.8536 16.8536C15.7598 16.9473 15.6326 17 15.5 17C15.3674 17 15.2402 16.9473 15.1464 16.8536C15.0527 16.7598 15 16.6326 15 16.5V12.5C15 12.3674 15.0527 12.2402 15.1464 12.1464C15.2402 12.0527 15.3674 12 15.5 12C15.6326 12 15.7598 12.0527 15.8536 12.1464C15.9473 12.2402 16 12.3674 16 12.5Z",fill:"#CC0A00"}))}function Tc(){return m.a.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},m.a.createElement("path",{d:"M10 4.375C3.75 4.375 1.25 10 1.25 10C1.25 10 3.75 15.625 10 15.625C16.25 15.625 18.75 10 18.75 10C18.75 10 16.25 4.375 10 4.375Z",stroke:"#666666",strokeLinecap:"round",strokeLinejoin:"round"}),m.a.createElement("path",{d:"M10 13.125C11.7259 13.125 13.125 11.7259 13.125 10C13.125 8.27411 11.7259 6.875 10 6.875C8.27411 6.875 6.875 8.27411 6.875 10C6.875 11.7259 8.27411 13.125 10 13.125Z",stroke:"#666666",strokeLinecap:"round",strokeLinejoin:"round"}))}function Mc(){return m.a.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},m.a.createElement("path",{d:"M7.5 3.75L13.75 10L7.5 16.25",stroke:"#666666",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))}function Nc(){return m.a.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},m.a.createElement("path",{d:"M7.1875 5.625C7.70527 5.625 8.125 5.20527 8.125 4.6875C8.125 4.16973 7.70527 3.75 7.1875 3.75C6.66973 3.75 6.25 4.16973 6.25 4.6875C6.25 5.20527 6.66973 5.625 7.1875 5.625Z",fill:"#666666"}),m.a.createElement("path",{d:"M12.8125 5.625C13.3303 5.625 13.75 5.20527 13.75 4.6875C13.75 4.16973 13.3303 3.75 12.8125 3.75C12.2947 3.75 11.875 4.16973 11.875 4.6875C11.875 5.20527 12.2947 5.625 12.8125 5.625Z",fill:"#666666"}),m.a.createElement("path",{d:"M7.1875 10.9375C7.70527 10.9375 8.125 10.5178 8.125 10C8.125 9.48223 7.70527 9.0625 7.1875 9.0625C6.66973 9.0625 6.25 9.48223 6.25 10C6.25 10.5178 6.66973 10.9375 7.1875 10.9375Z",fill:"#666666"}),m.a.createElement("path",{d:"M12.8125 10.9375C13.3303 10.9375 13.75 10.5178 13.75 10C13.75 9.48223 13.3303 9.0625 12.8125 9.0625C12.2947 9.0625 11.875 9.48223 11.875 10C11.875 10.5178 12.2947 10.9375 12.8125 10.9375Z",fill:"#666666"}),m.a.createElement("path",{d:"M7.1875 16.25C7.70527 16.25 8.125 15.8303 8.125 15.3125C8.125 14.7947 7.70527 14.375 7.1875 14.375C6.66973 14.375 6.25 14.7947 6.25 15.3125C6.25 15.8303 6.66973 16.25 7.1875 16.25Z",fill:"#666666"}),m.a.createElement("path",{d:"M12.8125 16.25C13.3303 16.25 13.75 15.8303 13.75 15.3125C13.75 14.7947 13.3303 14.375 12.8125 14.375C12.2947 14.375 11.875 14.7947 11.875 15.3125C11.875 15.8303 12.2947 16.25 12.8125 16.25Z",fill:"#666666"}))}function Bc(){return m.a.createElement("svg",{width:"17",height:"16",viewBox:"0 0 17 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},m.a.createElement("path",{d:"M8.5 3.33325V12.6666M3.83333 7.99992H13.1667",stroke:"#666666",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"}))}function Vc(){return m.a.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},m.a.createElement("path",{d:"M5.33333 2H5.2C4.0799 2 3.51984 2 3.09202 2.21799C2.71569 2.40973 2.40973 2.71569 2.21799 3.09202C2 3.51984 2 4.0799 2 5.2V5.33333M5.33333 14H5.2C4.0799 14 3.51984 14 3.09202 13.782C2.71569 13.5903 2.40973 13.2843 2.21799 12.908C2 12.4802 2 11.9201 2 10.8V10.6667M14 5.33333V5.2C14 4.07989 14 3.51984 13.782 3.09202C13.5903 2.71569 13.2843 2.40973 12.908 2.21799C12.4802 2 11.9201 2 10.8 2H10.6667M14 10.6667V10.8C14 11.9201 14 12.4802 13.782 12.908C13.5903 13.2843 13.2843 13.5903 12.908 13.782C12.4802 14 11.9201 14 10.8 14H10.6667",stroke:"#171717",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))}function Dc(){return m.a.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},m.a.createElement("path",{d:"M2 11.3333L2 4.66667M14 11.3333V4.66667M4.66667 14H11.3333M4.66667 2L11.3333 2",stroke:"#171717",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"}))}function zc(){return m.a.createElement("svg",{width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},m.a.createElement("rect",{x:"0.5",y:"0.745117",width:"14",height:"4",stroke:"#666666"}),m.a.createElement("path",{d:"M14.504 7.28027V13.7549H0.514893V7.28027",stroke:"#666666",strokeDasharray:"4 2"}))}function Xc(){return m.a.createElement("svg",{width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},m.a.createElement("rect",{x:"0.5",y:"-0.5",width:"14",height:"4",transform:"matrix(1 0 0 -1 0 13.7549)",stroke:"#666666"}),m.a.createElement("path",{d:"M14.504 7.71973V1.24512H0.514893V7.71973",stroke:"#666666",strokeDasharray:"4 2"}))}function Hc(){return m.a.createElement("svg",{width:"15",height:"16",viewBox:"0 0 15 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},m.a.createElement("rect",{x:"1.24512",y:"15",width:"14",height:"4",transform:"rotate(-90 1.24512 15)",stroke:"#666666"}),m.a.createElement("path",{d:"M7.78027 0.995987H14.2549V14.9851H7.78027",stroke:"#666666",strokeDasharray:"4 2"}))}function Uc(){return m.a.createElement("svg",{width:"15",height:"16",viewBox:"0 0 15 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},m.a.createElement("rect",{x:"-0.5",y:"-0.5",width:"14",height:"4",transform:"matrix(0 -1 -1 0 13.2549 14.5)",stroke:"#666666"}),m.a.createElement("path",{d:"M7.21973 0.995987H0.745117L0.745117 14.9851H7.21973",stroke:"#666666",strokeDasharray:"4 2"}))}function Wc(){return m.a.createElement("svg",{width:"21",height:"20",viewBox:"0 0 21 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},m.a.createElement("path",{d:"M16.5 4H16.02C11.9876 4 9.97143 4 8.43127 4.78475C7.0765 5.47504 5.97504 6.5765 5.28475 7.93127C4.5 9.47143 4.5 11.4876 4.5 15.52V16",stroke:"#171717",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))}function Zc(){return m.a.createElement("svg",{width:"21",height:"20",viewBox:"0 0 21 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},m.a.createElement("path",{d:"M4.5 4H4.98C9.01238 4 11.0286 4 12.5687 4.78475C13.9235 5.47504 15.025 6.5765 15.7152 7.93127C16.5 9.47143 16.5 11.4876 16.5 15.52V16",stroke:"#171717",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))}function $c(){return m.a.createElement("svg",{width:"21",height:"20",viewBox:"0 0 21 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},m.a.createElement("path",{d:"M16.5 16H16.02C11.9876 16 9.97143 16 8.43127 15.2152C7.0765 14.525 5.97504 13.4235 5.28475 12.0687C4.5 10.5286 4.5 8.51238 4.5 4.48V4",stroke:"#171717",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))}function qc(){return m.a.createElement("svg",{width:"21",height:"20",viewBox:"0 0 21 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},m.a.createElement("path",{d:"M4.5 16H4.98C9.01238 16 11.0286 16 12.5687 15.2152C13.9235 14.525 15.025 13.4235 15.7152 12.0687C16.5 10.5286 16.5 8.51238 16.5 4.48V4",stroke:"#171717",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))}function Yc(){return m.a.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},m.a.createElement("path",{d:"M13 9H3C2.72386 9 2.5 9.22386 2.5 9.5V12C2.5 12.2761 2.72386 12.5 3 12.5H13C13.2761 12.5 13.5 12.2761 13.5 12V9.5C13.5 9.22386 13.2761 9 13 9Z",stroke:"#666666",strokeLinecap:"round",strokeLinejoin:"round"}),m.a.createElement("path",{d:"M13 3.5H3C2.72386 3.5 2.5 3.72386 2.5 4V6.5C2.5 6.77614 2.72386 7 3 7H13C13.2761 7 13.5 6.77614 13.5 6.5V4C13.5 3.72386 13.2761 3.5 13 3.5Z",stroke:"#666666",strokeLinecap:"round",strokeLinejoin:"round"}))}function Gc(){return m.a.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},m.a.createElement("rect",{x:"0.5",y:"-0.5",width:"14",height:"4",transform:"matrix(1 0 0 -1 2.5 15.7539)",stroke:"#666666"}),m.a.createElement("rect",{x:"0.5",y:"-0.5",width:"14",height:"4",transform:"matrix(1 0 0 -1 2.5 7.75391)",stroke:"#666666"}))}function Kc(){return m.a.createElement("svg",{viewBox:"-1 0 46 36",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{margin:0,padding:0,display:"block"}},m.a.createElement("rect",{x:0,y:6,width:38,height:24,rx:12,fill:"#E6E6E6"}),m.a.createElement("rect",{x:0,y:6,width:38,height:24,rx:12,stroke:"#C9C9C9",strokeWidth:1.5}),m.a.createElement("rect",{x:8,y:12,width:12,height:12,rx:6,fill:"#CCCCCC"}))}function Qc(){return m.a.createElement("svg",{viewBox:"-1 0 46 36",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{margin:0,padding:0,display:"block"}},m.a.createElement("rect",{x:0,y:6,width:38,height:24,rx:12,fill:"#B5D72D"}),m.a.createElement("rect",{x:17,y:9,width:18,height:18,rx:9,fill:"#FFFEFA"}))}function Jc(){return m.a.createElement("svg",{width:12,height:13,viewBox:"0 0 12 13",fill:"none",xmlns:"http://www.w3.org/2000/svg"},m.a.createElement("path",{d:"M11.25 9.5V5C11.25 4.58579 10.9142 4.25 10.5 4.25H8.25C7.83579 4.25 7.5 4.58579 7.5 5V9.5C7.5 9.91421 7.83579 10.25 8.25 10.25H10.5C10.9142 10.25 11.25 9.91421 11.25 9.5Z",stroke:"#666666",strokeLinecap:"round",strokeLinejoin:"round"}),m.a.createElement("path",{d:"M6 10.25H4.125",stroke:"#666666",strokeLinecap:"round",strokeLinejoin:"round"}),m.a.createElement("path",{d:"M7.5 8.75H1.875C1.67609 8.75 1.48532 8.67098 1.34467 8.53033C1.20402 8.38968 1.125 8.19891 1.125 8V3.5C1.125 3.30109 1.20402 3.11032 1.34467 2.96967C1.48532 2.82902 1.67609 2.75 1.875 2.75H8.625C8.82391 2.75 9.01468 2.82902 9.15533 2.96967C9.29598 3.11032 9.375 3.30109 9.375 3.5V4.25",stroke:"#666666",strokeLinecap:"round",strokeLinejoin:"round"}),m.a.createElement("path",{d:"M9 5.75H9.75",stroke:"#666666",strokeLinecap:"round",strokeLinejoin:"round"}))}function eu(){return m.a.createElement(m.a.Fragment,null,m.a.createElement("section",{className:"".concat(v.VIRFICE_APP_PREFIX,"-landing-header-section")},!virfice.isWooActive&&m.a.createElement("div",{style:{height:70,background:"#FFE600",display:"flex",justifyContent:"space-between",alignItems:"center",marginBottom:12,marginTop:-8,padding:"0 28px"}},m.a.createElement("div",{style:{display:"flex",alignItems:"center"}},m.a.createElement("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},m.a.createElement("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M15.3463 8.16209C15.633 7.65235 16.3669 7.65235 16.6536 8.16209L24.3713 21.8823C24.6525 22.3822 24.2912 23 23.7176 23H8.28234C7.70872 23 7.34744 22.3822 7.62866 21.8823L15.3463 8.16209ZM16 12.3817C16.497 12.3817 16.9 12.7847 16.9 13.2817V16.3695C16.9 16.8666 16.497 17.2695 16 17.2695C15.5029 17.2695 15.1 16.8666 15.1 16.3695V13.2817C15.1 12.7847 15.5029 12.3817 16 12.3817ZM17.1 20C17.1 19.3925 16.6075 18.9 16 18.9C15.3924 18.9 14.9 19.3925 14.9 20V20.0685C14.9 20.6761 15.3924 21.1685 16 21.1685C16.6075 21.1685 17.1 20.6761 17.1 20.0685V20Z",fill:"black","fill-opacity":"0.8"})),m.a.createElement("span",{style:{fontSize:13,fontWeight:500}},"WooCommerce s required")),m.a.createElement("span",null,"To use this plugin WooCommerce is required, Please install & activate WooCommerce!"),m.a.createElement(p,{type:"outline",title:"Install WooCommerce",link:virfice.wooPluginSearchUrl})),m.a.createElement(B,null,m.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-flex-space-between ").concat(v.VIRFICE_APP_PREFIX,"-flex-align-center")},m.a.createElement("div",null,m.a.createElement("div",{style:{height:30}},m.a.createElement(cc,null)),m.a.createElement("p",null,"Email Customizer for WooCommerce")),m.a.createElement("div",null,m.a.createElement(p,{type:"plain",title:"Explore guide!",link:"https://virfice.com/docs/",leftIcon:m.a.createElement(yc,null),target:"_blank"}))))))}function tu(){var t;return j()((t=200,function(e){setTimeout(function(){e(W(t))},1e3)})),m.a.createElement(m.a.Fragment,null,m.a.createElement(eu,null),m.a.createElement("section",null,m.a.createElement(B,null,m.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-flex-col ").concat(v.VIRFICE_APP_PREFIX,"-gap-16")},m.a.createElement(zl,null),m.a.createElement(V,{heading:"Customize WooCommerce email templates",subHeading:"Set up essential email parameters, store address, and the store’s social links.",ActionButton:m.a.createElement(p,{type:"secondary",title:"Configure now!",link:F({menu:"settings"}),disabled:!virfice.isWooActive}),Illustration:m.a.createElement("img",{src:Nl(gu)})}),m.a.createElement(V,{heading:"Customize and manage all WooCommerce emails",subHeading:"Customize, manage, preview, and test each WooCommerce email individually.",ActionButton:m.a.createElement(p,{type:"secondary",title:"Customize and test!",link:F({menu:"woo-email-list"}),disabled:!virfice.isWooActive}),Illustration:m.a.createElement("img",{src:Nl(vu)})})))))}function nu(e){var t=e.heading;return m.a.createElement(B,{size1280:e.size1280},m.a.createElement("div",{style:{display:"flex",gap:8,alignItems:"center"}},m.a.createElement("h1",null,t),e.quickAction),m.a.createElement("p",null,e.subHeading))}function ru(e){var t=e.children,e=e.className,e=X()(g()({},v.VIRFICE_APP_PREFIX+"-data-table",!0),e);return m.a.createElement("table",{className:e},t)}function au(e){return e=void 0===(e=e.data)?[]:e,m.a.createElement("thead",null,m.a.createElement("tr",null,e.map(function(e,t){return m.a.createElement("th",{key:t,style:{width:e.width}},e.title)})))}function ou(e){return e=e.children,m.a.createElement("tbody",null,e)}function iu(e){var t=e.children,n=e.link;return m.a.createElement("tr",{onClick:function(){n&&(window.location.href=n)}},t)}function lu(e){var t=e.title,n=e.type,r=e.leftIcon,e=void 0!==(e=e.className)&&e,n=X()(g()(g()(g()(g()(g()({},v.VIRFICE_APP_PREFIX+"-badge",!0),v.VIRFICE_APP_PREFIX+"-active","active"===n),v.VIRFICE_APP_PREFIX+"-success","success"===n),v.VIRFICE_APP_PREFIX+"-warning","warning"===n),v.VIRFICE_APP_PREFIX+"-in-active","in-active"===n),e);return m.a.createElement("div",{className:n},r,t)}function cu(e){var t=e.email,n=e.setVirfice_template_status,r=j();return m.a.createElement(bu,{value:t.virfice_template_status||!1,onChange:function(e){r(st(t.id,e)),n(e)},type:"toggle"})}function uu(e){var e=e.email,t=Object(h.useState)(e.virfice_template_status||!1),n=(t=b()(t,2))[0],t=t[1],n=!0===n?"woo-email-edit-virfice":"woo-email-edit";return m.a.createElement(iu,{link:F({menu:n,email_id:e.id})},m.a.createElement("td",null,m.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-flex-align-center ").concat(v.VIRFICE_APP_PREFIX,"-gap-8")},m.a.createElement(bc,{type:"flat"})," ",e.title,m.a.createElement(Pc,null))),m.a.createElement("td",null,"yes"===e.enabled&&m.a.createElement(lu,{type:"active",title:"Active",leftIcon:m.a.createElement(Ec,null)}),"no"===e.enabled&&m.a.createElement(lu,{type:"in-active",title:"Disabled",leftIcon:m.a.createElement(Ec,null)}),!e.enabled&&m.a.createElement(lu,{type:"active",title:"Manual",leftIcon:m.a.createElement(Ec,null)})),m.a.createElement("td",null,"html"===e.email_type?"text/html":"palin text"),m.a.createElement("td",null,e.recipient||"Customer"),m.a.createElement("td",null,m.a.createElement(cu,{email:e,setVirfice_template_status:t})),m.a.createElement("td",null,m.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-action-buttons")},m.a.createElement(p,{leftIcon:m.a.createElement(kc,null),title:"Edit",type:"secondary",small:!0,link:F({menu:n,email_id:e.id})}))))}function su(e){return e=void 0!==(e=e.className)&&e,e=X()(g()({},v.VIRFICE_APP_PREFIX+"-loading",!0),e),m.a.createElement("div",{className:e},"Loading...")}function fu(){var e=A(function(e){return e.wooEmailList.emailList}),t=j();return Object(h.useEffect)(function(){t(function(t){var n;rt.get("".concat(virfice.restBase).concat("virfice/v1/woo-email/all"),{headers:{"X-WP-Nonce":virfice.nonce},params:{}}).then(function(e){n=e.data,t(dt({key:"emailList",value:{loaded:!0,data:n}}))}).catch(function(e){console.log(e)})})},[]),e.loaded?m.a.createElement(ru,null,m.a.createElement(au,{data:[{title:"Emails",width:420},{title:"Status"},{title:"Content type"},{title:"Recipient(s)"},{title:"Virfice template"},{title:""}]}),m.a.createElement(ou,null,e.data.map(function(e){return m.a.createElement(uu,{key:e.id,email:e})}))):m.a.createElement(su,null)}function du(e){var t=e.backAction,n=e.discardAction,r=e.discardButtonText,a=e.saveAction,o=e.saveButtonText,i=e.size1280,l=e.marginBottom,c=e.saveAndNextAction,e=e.saveAndNextButtonText,u={};return void 0===l||l||(u.marginBottom=0),m.a.createElement("section",{className:"".concat(v.VIRFICE_APP_PREFIX,"-stickty-top-nav"),style:u},m.a.createElement(B,{size1280:i},m.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-action-wrapper ").concat(v.VIRFICE_APP_PREFIX,"-flex-space-between ").concat(v.VIRFICE_APP_PREFIX,"-flex-align-center")},t&&m.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-flex-center-center ").concat(v.VIRFICE_APP_PREFIX,"-gap-6 ").concat(v.VIRFICE_APP_PREFIX,"-cursor-pointer"),style:{width:"max-content"},onClick:t},m.a.createElement(lc,null),m.a.createElement("span",{className:"".concat(v.VIRFICE_APP_PREFIX,"-back")},"Back")),(n||a)&&m.a.createElement("div",null,m.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-flex-center-center ").concat(v.VIRFICE_APP_PREFIX,"-gap-6"),style:{width:"max-content"}},n&&m.a.createElement(p,{type:c?"tertiary":"secondary",title:r||"Discard",onClick:n}),c&&m.a.createElement(p,{type:"secondary",title:e||"Save & Next",onClick:c}),a&&m.a.createElement(p,{type:"primary",title:o||"Save",onClick:a}))))))}function pu(){return m.a.createElement(m.a.Fragment,null,m.a.createElement(du,{backAction:function(){window.location.href=F({menu:""})}}),m.a.createElement("section",null,m.a.createElement(nu,{heading:"Email notifications",subHeading:"Customize the look and feel of all WooCommerce emails. Let your emails represent your store."}),m.a.createElement(B,null,m.a.createElement(l,{className:"".concat(v.VIRFICE_APP_PREFIX,"-table-card")},m.a.createElement(fu,null)))))}function hu(e){var t=e.title,n=e.menuList,r=e.activeMenu,a=e.setActiveMenu;return m.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-settings-menu")},m.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-header")},m.a.createElement("h2",null,t)),m.a.createElement("ul",null,n.map(function(e){return m.a.createElement("li",{key:e.key,className:e.key===r.key?v.VIRFICE_APP_PREFIX+"-active":"",onClick:function(){a(e)}},e.icon,e.title)})))}function mu(e){var t=e.Text,n=void 0===(n=e.Illustration)?null:n,e=e.link;return m.a.createElement("div",{className:v.VIRFICE_APP_PREFIX+"-form-info"},n&&m.a.createElement("div",{className:v.VIRFICE_APP_PREFIX+"-form-info-illustration"},m.a.createElement(n,null)),m.a.createElement("div",{className:v.VIRFICE_APP_PREFIX+"-form-info-content"},m.a.createElement("div",{className:"body__large"},t),e&&m.a.createElement(p,{type:"plain",title:"Learn more",link:e,target:"_blank"})))}var j=ic(),gu=(u=Bi.useSyncExternalStoreWithSelector,Kl=u,h.useSyncExternalStore,t.p+"images/BrandCustomize.b8c2cfe9.png"),vu=t.p+"images/Testmail.6cddb96d.png",bu=function(e){function t(e){u(e),l(e)}var n=e.title,r=e.label,a=e.value,o=e.helpText,i=e.onChange,l=void 0===i?function(){}:i,i=e.type,e=void 0===i?"checkbox":i,i=Object(h.useState)(a),i=b()(i,2),c=i[0],u=i[1];Object(h.useEffect)(function(){u(a)},[a]);return m.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-checkbox-wrapper"),onClick:function(e){e.stopPropagation()}},n&&m.a.createElement("label",{className:"body__medium"},n),m.a.createElement("div",null,m.a.createElement("label",{className:"body__medium"},"toggle"===e&&m.a.createElement(m.a.Fragment,null,!0===c||1==c?m.a.createElement("div",{onClick:function(){t(!1)},style:{cursor:"pointer",width:38}},m.a.createElement(Qc,null)):m.a.createElement("div",{onClick:function(){t(!0)},style:{cursor:"pointer",width:38}},m.a.createElement(Kc,null))),"checkbox"===e&&m.a.createElement(m.a.Fragment,null,m.a.createElement("input",{type:"checkbox",checked:!0===c||1==c,onChange:function(e){t(e.target.checked)}})," ",r)),m.a.createElement("div",{style:{paddingLeft:24}},o&&m.a.createElement(xl,{text:o}))))};function yu(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)),r}function Eu(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?yu(Object(n),!0).forEach(function(e){g()(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):yu(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function wu(){function t(e,t){n(Ft({key:"changedSettings-email",value:Eu(Eu({},r),{},g()({},e,t))}))}var n=j(),r=A(function(e){return e.globalSettings["changedSettings-email"]});return m.a.createElement(l,null,m.a.createElement("div",{style:{width:"100%"}},m.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-form-group"),style:{marginBottom:"16px"}},m.a.createElement("div",{className:"title__medium"},"Basic settings"),m.a.createElement("div",{className:"body__medium",style:{maxWidth:521}},"Configure essential email parameters such as sender information, reply-to address, and address.")),m.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-form-group")},m.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-flex ").concat(v.VIRFICE_APP_PREFIX,"-gap-8")},m.a.createElement(I,{label:"From name",value:r.woocommerce_email_from_name||"",onChange:function(e){t("woocommerce_email_from_name",e)}}),m.a.createElement(I,{label:"From email",value:r.woocommerce_email_from_address||"",onChange:function(e){t("woocommerce_email_from_address",e)}})),m.a.createElement(mu,{Text:"Be sure to match your name and email to the domain/SMTP settings. Otherwise, it may result in delivery issues.",Illustration:Sc,link:"https://virfice.com/change-the-sender-email-address-in-woocommerce/"}),m.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-flex ").concat(v.VIRFICE_APP_PREFIX,"-gap-8")},m.a.createElement(I,{label:"Reply-to name",value:r.virfice_reply_to_name||"",onChange:function(e){t("virfice_reply_to_name",e)}}),m.a.createElement(I,{label:"Reply-to email",value:r.virfice_reply_to_email||"",onChange:function(e){t("virfice_reply_to_email",e)}})))))}function xu(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)),r}function Cu(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?xu(Object(n),!0).forEach(function(e){g()(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):xu(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function _u(){function t(e,t){n(Ft({key:"changedSettings-email",value:Cu(Cu({},r),{},g()({},e,t))}))}var n=j(),r=A(function(e){return e.globalSettings["changedSettings-email"]});return m.a.createElement(l,null,m.a.createElement("div",{style:{width:"100%"}},m.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-form-group"),style:{marginBottom:"16px"}},m.a.createElement("div",{className:"title__medium"},"Store/company details"),m.a.createElement("div",{className:"body__medium",style:{maxWidth:521}},"The information provided will automatically generate compliant email footers in accordance with the CAN-SPAM Act and international anti-spam laws.")),m.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-form-group")},m.a.createElement(I,{label:"Store/company name",value:r.virfice_store_name||"",onChange:function(e){t("virfice_store_name",e)}}),m.a.createElement(I,{label:"Website URL",value:r.virfice_website_url||"",onChange:function(e){t("virfice_website_url",e)}}),m.a.createElement(I,{label:"Address",value:r.virfice_address||"",onChange:function(e){t("virfice_address",e)},multiline:5}),m.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-flex ").concat(v.VIRFICE_APP_PREFIX,"-gap-8")},m.a.createElement(I,{label:"Country",value:r.virfice_country||"",onChange:function(e){t("virfice_country",e)}}),m.a.createElement(I,{label:"City",value:r.virfice_city||"",onChange:function(e){t("virfice_city",e)}})))))}function Pu(){var e=j(),t=A(function(e){return e.globalSettings.email.loaded});return Object(h.useEffect)(function(){e(bt(["email"]))},[]),m.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-flex-col ").concat(v.VIRFICE_APP_PREFIX,"-gap-20")},!t&&m.a.createElement(su,null),t&&m.a.createElement(m.a.Fragment,null,m.a.createElement(wu,null),m.a.createElement(_u,null)))}function ku(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)),r}function Su(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?ku(Object(n),!0).forEach(function(e){g()(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):ku(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function Ru(){function t(e,t){n(Ft({key:"changedSettings-brand",value:Su(Su({},r),{},g()({},e,t))}))}var n=j(),r=A(function(e){return e.globalSettings["changedSettings-brand"]});return m.a.createElement(l,null,m.a.createElement("div",{style:{width:"100%"}},m.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-form-group"),style:{marginBottom:"16px"}},m.a.createElement("div",{className:"title__medium"},"Social links"),m.a.createElement("div",{className:"body__medium",style:{maxWidth:521}},"The links set here will be added to the bottom of the emails if the user selects the checkbox 'Show social media icons.'")),m.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-form-group")},m.a.createElement(I,{label:"Facebook",value:r.virfice_facebook_url||"",onChange:function(e){t("virfice_facebook_url",e)}}),m.a.createElement(I,{label:"Instagram",value:r.virfice_instagram_url||"",onChange:function(e){t("virfice_instagram_url",e)}}),m.a.createElement(I,{label:"YouTube",value:r.virfice_youTube_url||"",onChange:function(e){t("virfice_youTube_url",e)}}),m.a.createElement(I,{label:"X",value:r.virfice_x_url||"",onChange:function(e){t("virfice_x_url",e)}}),m.a.createElement(I,{label:"TikTok",value:r.virfice_tiktok_url||"",onChange:function(e){t("virfice_tiktok_url",e)}}),m.a.createElement(I,{label:"Snapchat",value:r.virfice_snapchat_url||"",onChange:function(e){t("virfice_snapchat_url",e)}}),m.a.createElement(I,{label:"Pinterest",value:r.virfice_pinterest_url||"",onChange:function(e){t("virfice_pinterest_url",e)}}),m.a.createElement(I,{label:"Tumblr",value:r.virfice_tumblr_url||"",onChange:function(e){t("virfice_tumblr_url",e)}}),m.a.createElement(I,{label:"Vimeo",value:r.virfice_vimeo_url||"",onChange:function(e){t("virfice_vimeo_url",e)}}),m.a.createElement(I,{label:"Telegram",value:r.virfice_telegram_url||"",onChange:function(e){t("virfice_telegram_url",e)}}),m.a.createElement(I,{label:"VK",value:r.virfice_vk_url||"",onChange:function(e){t("virfice_vk_url",e)}}),m.a.createElement(I,{label:"Phone",value:r.virfice_phone_url||"",onChange:function(e){t("virfice_phone_url",e)}}))))}function Iu(){return m.a.createElement(l,null,m.a.createElement("div",{style:{width:"100%"}},m.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-form-group")},m.a.createElement("div",{className:"title__medium"},"Theme settings"),m.a.createElement("div",{className:"body__medium",style:{maxWidth:521}},"Change your email templates colors, basic settings, and more."),m.a.createElement(p,{type:"secondary",title:"Customize",link:F({menu:"virfice-brand-settings"})}))))}function Ou(){var e=j(),t=A(function(e){return e.globalSettings.brand.loaded});return Object(h.useEffect)(function(){e(bt(["brand"]))},[]),m.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-flex-col ").concat(v.VIRFICE_APP_PREFIX,"-gap-20")},!t&&m.a.createElement(su,null),t&&m.a.createElement(m.a.Fragment,null,m.a.createElement(Iu,null),m.a.createElement(Ru,null)))}function Fu(){var e=j(),t=Object(h.useState)({key:"email",title:"Email"}),r=(t=b()(t,2))[0],t=t[1];return m.a.createElement(m.a.Fragment,null,m.a.createElement(du,{backAction:function(){window.history.back()},discardAction:function(){var n;e((n=r.key,function(e,t){t=(null==(t=t().globalSettings[n])?void 0:t.data)||{};e(Ft({key:"changedSettings-"+n,value:t})),e(y({title:"Settings discarded",type:"danger"}))}))},saveAction:function(){e(yt(r.key))}}),m.a.createElement("section",null,m.a.createElement(B,null,m.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-flex ").concat(v.VIRFICE_APP_PREFIX,"-gap-20")},m.a.createElement(l,{zeroPadding:!0,style:{width:"100%",maxWidth:"240px"}},m.a.createElement(hu,{title:"Settings",menuList:Mu,activeMenu:r,setActiveMenu:t})),m.a.createElement("div",{style:{width:"100%"}},m.a.createElement("h2",{className:"title__medium"},r.title),"email"===r.key&&m.a.createElement(Pu,null),"brand"===r.key&&m.a.createElement(Ou,null))))))}function Au(e){function t(){d(!1),c()}var n=e.children,r=e.open,a=e.heading,o=e.primaryActionProps,i=e.secondaryActionProps,l=void 0===(l=e.showCloseButton)||l,c=e.onClose,u=void 0!==(s=e.closeOnBackdropClick)&&s,e=void 0!==(s=e.hideHeader)&&s,s=Object(h.useState)(r),f=(s=b()(s,2))[0],d=s[1];return Object(h.useEffect)(function(){d(r)},[r]),f?Object(Nu.createPortal)(m.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-modal")},m.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-backdrop"),onClick:function(){u&&t()}}),m.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-modal-wrapper")},!e&&m.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-modal-header")},m.a.createElement("div",null,m.a.createElement("div",{className:"title__small"},a)),l&&m.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-modal-close"),onClick:t},m.a.createElement(wc,null))),m.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-modal-body")},n),m.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-modal-footer")},m.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-flex ").concat(v.VIRFICE_APP_PREFIX,"-gap-8")},i&&m.a.createElement(p,{title:i.title,leftIcon:i.leftIcon,type:"secondary",onClick:function(){i.onClick&&(t(),i.onClick())}}),o&&m.a.createElement(p,{title:o.title,leftIcon:o.leftIcon,type:"primary",onClick:function(){o.onClick&&o.onClick()}}))))),document.body):null}function ju(e){var t=e.email_id,n=e.order_id,r=e.changedSettings,a=j(),o=A(function(e){return e.globalSettings["changedSettings-email"]}),e=Object(h.useState)(!1),i=(e=b()(e,2))[0],l=e[1],e=Object(h.useState)(!1),c=(e=b()(e,2))[0],u=e[1],e=Object(h.useState)(""),s=(e=b()(e,2))[0],f=e[1];return Object(h.useEffect)(function(){a(bt(["email"]))},[]),Object(h.useEffect)(function(){f(o&&o.woocommerce_email_from_address+","||"")},[o]),m.a.createElement(m.a.Fragment,null,m.a.createElement(p,{title:"Send test mail",type:"tertiary",leftIcon:m.a.createElement(bc,null),onClick:function(){l(!0)}}),m.a.createElement(Au,{open:i,heading:"Send test email",primaryActionProps:{title:"Send",leftIcon:m.a.createElement(xc,null),onClick:function(){var e;Vl(s)?(u(!1),(e=new FormData).append("emails",s),e.append("email_id",t),e.append("order_id",n),e.append("changedSettings",JSON.stringify(r)),rt.post("".concat(virfice.restBase).concat("virfice/v1/woo-email/send-test-email"),e,{headers:{"X-WP-Nonce":virfice.nonce}}).then(function(e){e.data,l(!1),a(y({title:"Test email sent! Check your inbox.",type:"success"}))}).catch(function(e){console.log(e),a(y({title:"Failed to send test email!",type:"danger"}))})):u("Please enter a valid email address.")}},secondaryActionProps:{title:"Cancel",onClick:function(){l(!1)}},onClose:function(){l(!1)},closeOnBackdropClick:!0},m.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-form-group")},m.a.createElement(I,{value:s,label:"Recipients",multiline:3,onChange:function(e){f(e)},helpText:"Use comma to separate Cc & Bcc",error:c}),m.a.createElement(mu,{Text:"Make sure your SMTP is properly configured to send emails!",Illustration:Sc}))))}function Lu(){var e=A(function(e){return null==(e=e.wooEmailSingle)||null==(e=e.email)||null==(e=e.settings)?void 0:e.id}),t=A(function(e){return null==(e=e.wooEmailSingle)?void 0:e.selectedOrder}),n=A(function(e){return e.wooEmailSingle.changedSettings});return m.a.createElement(ju,{email_id:e,order_id:(null==t?void 0:t.id)||"",changedSettings:n})}function Tu(){function e(e){var t=document.getElementById(v.VIRFICE_APP_PREFIX+"-email-preview");"Laptop"===e?(t.style.width=v.VIRFICE_RESPONSIVE_BREAKPOINTS.desktop,t.style.marginLeft="unset",t.style.marginRight="unset"):"Mobile"===e&&(t.style.width=v.VIRFICE_RESPONSIVE_BREAKPOINTS.mobile,t.style.marginLeft="auto",t.style.marginRight="auto"),r(e)}var t=Object(h.useState)("Laptop"),n=(t=b()(t,2))[0],r=t[1];return m.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-card-header ").concat(v.VIRFICE_APP_PREFIX,"-flex-space-between ").concat(v.VIRFICE_APP_PREFIX,"-w-100")},m.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-flex")},m.a.createElement(p,{type:"tertiary",icon:m.a.createElement(Cc,null),isActive:"Laptop"===n,onClick:function(){e("Laptop")}}),m.a.createElement(p,{type:"tertiary",icon:m.a.createElement(_c,null),isActive:"Mobile"===n,onClick:function(){e("Mobile")}})),m.a.createElement(Lu,null))}var Mu=[{icon:m.a.createElement(bc,null),title:"Email",key:"email"},{icon:m.a.createElement(function(e){e.type;return m.a.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},m.a.createElement("path",{d:"M12.5481 3.36813C11.3379 2.16974 9.70314 1.49826 8 1.5H7.93313C6.22083 1.51762 4.58466 2.21021 3.3801 3.42729C2.17554 4.64437 1.49991 6.28762 1.5 8C1.5 10.6875 3.16125 12.9413 5.835 13.8856C6.13657 13.992 6.45924 14.0244 6.77594 13.9803C7.09264 13.9362 7.39415 13.8168 7.65518 13.6321C7.91621 13.4474 8.12916 13.2028 8.27615 12.9188C8.42314 12.6348 8.49991 12.3198 8.5 12C8.5 11.7348 8.60536 11.4804 8.79289 11.2929C8.98043 11.1054 9.23478 11 9.5 11H12.3881C12.8418 11.0022 13.2826 10.8492 13.6373 10.5663C13.992 10.2835 14.2393 9.88779 14.3381 9.445C14.4499 8.95294 14.5042 8.44958 14.5 7.945C14.4936 7.09092 14.3178 6.24659 13.9828 5.46094C13.6477 4.67529 13.1601 3.96395 12.5481 3.36813ZM5.25 10.5C5.10166 10.5 4.95666 10.456 4.83332 10.3736C4.70999 10.2912 4.61386 10.1741 4.55709 10.037C4.50032 9.89997 4.48547 9.74917 4.51441 9.60369C4.54335 9.4582 4.61478 9.32456 4.71967 9.21967C4.82456 9.11478 4.9582 9.04335 5.10368 9.01441C5.24917 8.98548 5.39997 9.00033 5.53701 9.05709C5.67406 9.11386 5.79119 9.20999 5.8736 9.33333C5.95601 9.45666 6 9.60167 6 9.75C6 9.94892 5.92098 10.1397 5.78033 10.2803C5.63968 10.421 5.44891 10.5 5.25 10.5ZM5.25 7C5.10166 7 4.95666 6.95602 4.83332 6.87361C4.70999 6.79119 4.61386 6.67406 4.55709 6.53702C4.50032 6.39997 4.48547 6.24917 4.51441 6.10369C4.54335 5.9582 4.61478 5.82456 4.71967 5.71967C4.82456 5.61478 4.9582 5.54335 5.10368 5.51441C5.24917 5.48548 5.39997 5.50033 5.53701 5.55709C5.67406 5.61386 5.79119 5.70999 5.8736 5.83333C5.95601 5.95666 6 6.10167 6 6.25C6 6.44892 5.92098 6.63968 5.78033 6.78033C5.63968 6.92099 5.44891 7 5.25 7ZM8 5.5C7.85166 5.5 7.70666 5.45602 7.58332 5.37361C7.45999 5.29119 7.36386 5.17406 7.30709 5.03702C7.25032 4.89997 7.23547 4.74917 7.26441 4.60369C7.29335 4.4582 7.36478 4.32456 7.46967 4.21967C7.57456 4.11478 7.7082 4.04335 7.85368 4.01441C7.99917 3.98548 8.14997 4.00033 8.28701 4.05709C8.42406 4.11386 8.54119 4.20999 8.6236 4.33333C8.70601 4.45666 8.75 4.60167 8.75 4.75C8.75 4.94892 8.67098 5.13968 8.53033 5.28033C8.38968 5.42099 8.19891 5.5 8 5.5ZM10.75 7C10.6017 7 10.4567 6.95602 10.3333 6.87361C10.21 6.79119 10.1139 6.67406 10.0571 6.53702C10.0003 6.39997 9.98547 6.24917 10.0144 6.10369C10.0434 5.9582 10.1148 5.82456 10.2197 5.71967C10.3246 5.61478 10.4582 5.54335 10.6037 5.51441C10.7492 5.48548 10.9 5.50033 11.037 5.55709C11.1741 5.61386 11.2912 5.70999 11.3736 5.83333C11.456 5.95666 11.5 6.10167 11.5 6.25C11.5 6.44892 11.421 6.63968 11.2803 6.78033C11.1397 6.92099 10.9489 7 10.75 7Z",fill:"#666666"}))},null),title:"Brand",key:"brand"}],Nu=t(24),Bu=t.n(Nu),i=t(99),Vu=t.n(i);function Du(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)),r}function zu(e){var t=void 0!==(t=e.srcDoc)&&t,n=e.src,r=e.id,e=void 0===(e=e.style)?{}:e,a=Object(h.useState)(n),o=(a=b()(a,2))[0],i=a[1],a=Object(h.useState)(658),l=(a=b()(a,2))[0],c=a[1],u=Object(h.useRef)(null),a=(Object(h.useEffect)(function(){var e=Vu()(function(e){i(e)},200);return e(n),function(){e.cancel()}},[n]),Object(h.useEffect)(function(){function e(){t()}var t=function(){u.current&&setTimeout(function(){var e=u.current.contentWindow.document.body.scrollHeight;c(e)},100)};return u.current&&u.current.addEventListener("load",e),function(){u.current&&u.current.removeEventListener("load",e)}},[o]),{id:r,style:function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Du(Object(n),!0).forEach(function(e){g()(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Du(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}({height:l},e),ref:u});return n&&(a.src=n),t&&(a.srcDoc=t),m.a.createElement("iframe",a)}function Xu(){var e=A(function(e){return(null==(e=e.wooEmailSingle)||null==(e=e.email)||null==(e=e.settings)?void 0:e.previewUrl)||!1}),t=A(function(e){return null==(e=e.wooEmailSingle)?void 0:e.changedSettings}),n=A(function(e){return null==(e=e.wooEmailSingle)?void 0:e.selectedOrder});return e?(e=F({order_id:(null==n?void 0:n.id)||""},e),e=F(t,e),m.a.createElement(zu,{src:e,id:v.VIRFICE_APP_PREFIX+"-email-preview"})):null}function Hu(){return m.a.createElement("div",{style:{width:638}},m.a.createElement(l,null,m.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-flex-col ").concat(v.VIRFICE_APP_PREFIX,"-w-100")},m.a.createElement(Tu,null),m.a.createElement(Xu,null))))}function Uu(e){var t=e.label,n=e.value,r=e.options,a=e.onChange,o=e.onSearchInputChange,e=e.helpText,i=Object(h.useState)(!1),l=(i=b()(i,2))[0],c=i[1],i=Object(h.useState)(!1),u=(i=b()(i,2))[0],s=i[1],i=Al(function(){l&&c(!1)});return Object(h.useEffect)(function(){s(!1)},[n]),m.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-selectfileld-wrapper")},t&&m.a.createElement("label",{className:"body__medium"},t),m.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-w-100"),style:{position:"relative"}},m.a.createElement("input",{className:"".concat(v.VIRFICE_APP_PREFIX,"-w-100"),placeholder:t,onFocus:function(){c(!0)},value:u||n.title,onChange:function(e){o&&(s(e.target.value),o(e.target.value))},disabled:!o&&l}),m.a.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{position:"absolute",top:8,right:12}},m.a.createElement("path",{d:"M16.25 7.5L10 13.75L3.75 7.5",stroke:"#666666",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})),l&&m.a.createElement("div",{ref:i},m.a.createElement("ul",null,r.map(function(e){return m.a.createElement("li",{onClick:function(){s(e.title),a(e),c(!1)},key:e.value},e.title)})))),e&&m.a.createElement(xl,{text:e}))}function Wu(e){var t=e.onOrderSelect,e=Object(h.useState)($u),n=(e=b()(e,2))[0],r=e[1],a=(Object(h.useEffect)(function(){a()},[]),function(e){var t;rt.get("".concat(virfice.restBase).concat("virfice/v1/woo-order/all"),{headers:{"X-WP-Nonce":virfice.nonce},params:{}}).then(function(e){t=e.data,r(t)}).catch(function(e){console.log(e)})});return m.a.createElement(Uu,{label:"Order",value:{value:"",title:""},options:n,onChange:function(e){t&&t(e)},onSearchInputChange:function(e){a(e)}})}function Zu(){var t=j();return m.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-form-group")},m.a.createElement("div",{className:"title__medium"},"Select an order for preview"),m.a.createElement(Wu,{onOrderSelect:function(e){t(It({key:"selectedOrder",value:e}))}}))}var $u=[{value:"",title:"Value not selected"}];function qu(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)),r}function Yu(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?qu(Object(n),!0).forEach(function(e){g()(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):qu(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function Gu(e){return e?e.replace(/&amp;/g,"&").replace(/&lt;/g,"<").replace(/&gt;/g,">").replace(/&quot;/g,'"').replace(/&#039;/g,"'"):""}function Ku(n){return Object.keys(n).map(function(e,t){return{value:e,title:n[e]}})}function Qu(){var r,n=j(),a=A(function(e){return null==(e=e.wooEmailSingle)||null==(e=e.email)||null==(e=e.settings)?void 0:e.form_fields}),o=A(function(e){return null==(e=e.wooEmailSingle)?void 0:e.changedSettings});if(a)return r=function(e,t){n(It({key:"changedSettings",value:Yu(Yu({},o),{},g()({},e,t))}))},m.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-form-group")},m.a.createElement("div",{className:"title__medium"},"Settings"),Object.keys(a).map(function(t,e){var n=a[t];switch(n.type){case"textarea":case"text":return m.a.createElement(I,{placeholder:n.placeholder,label:n.title,value:o[t],onChange:function(e){r(t,e)},key:t,multiline:"textarea"===n.type&&3,helpText:m.a.createElement("span",{dangerouslySetInnerHTML:{__html:Gu(n.description)}})});case"checkbox":return m.a.createElement(Uu,{label:n.title,value:Bl([{value:"yes",title:"Enable"},{value:"no",title:"Disable"}],o[t]),options:[{value:"yes",title:"Enable"},{value:"no",title:"Disable"}],onChange:function(e){r(t,e.value)},key:t,helpText:m.a.createElement("span",{dangerouslySetInnerHTML:{__html:Gu(n.description)}})});case"select":return m.a.createElement(Uu,{label:n.title,value:Bl(Ku(n.options),o[t]),options:Ku(n.options),onChange:function(e){r(t,e.value)},key:t,helpText:m.a.createElement("span",{dangerouslySetInnerHTML:{__html:Gu(n.description)}})});default:return"Not implement => "+t}}))}function Ju(){return m.a.createElement("div",{style:{width:380}},m.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-flex-col ").concat(v.VIRFICE_APP_PREFIX,"-gap-20 ").concat(v.VIRFICE_APP_PREFIX,"-sticky-top-110")},m.a.createElement(l,null,m.a.createElement(Zu,null)),m.a.createElement(l,null,m.a.createElement(Qu,null))))}function es(){return m.a.createElement("svg",{width:92,height:90,viewBox:"0 0 92 90",fill:"none",xmlns:"http://www.w3.org/2000/svg"},m.a.createElement("path",{d:"M5.85417 45.356L0 4.45426L74.0002 0L72.9221 43.9122L44.726 45.3561L5.85417 45.356Z",fill:"#8EAA1D"}),m.a.createElement("path",{d:"M39.7902 30.0517C39.7985 29.6435 39.6562 29.2821 39.3643 28.9699C39.0725 28.6565 38.7137 28.4972 38.2879 28.4892C37.7425 28.4776 37.2968 28.6351 36.9499 28.9609C36.602 29.2854 36.4234 29.7288 36.4117 30.2907C36.4029 30.7515 36.5478 31.1547 36.8477 31.5007C37.1474 31.8479 37.5358 32.0256 38.0126 32.0347C38.285 32.0403 38.5285 31.9856 38.7443 31.8708C38.9591 31.7563 39.146 31.6062 39.3028 31.4225C39.4593 31.2382 39.5793 31.0281 39.6605 30.7907C39.7418 30.5537 39.7852 30.3074 39.7902 30.0517ZM49.0914 27.5541C49.0739 28.4403 48.9463 29.2548 48.7105 29.9998C48.4734 30.7447 48.1333 31.39 47.6876 31.9347C47.2426 32.4797 46.6928 32.903 46.0395 33.205C45.3856 33.5084 44.6417 33.6497 43.8076 33.6328C43.603 33.6289 43.4417 33.6183 43.3223 33.5987C43.2033 33.5784 43.0692 33.508 42.9178 33.3848C42.8505 33.3323 42.7175 33.1773 42.5184 32.9175C42.3194 32.6583 42.1076 32.3726 41.8838 32.0614C41.6605 31.75 41.4487 31.4609 41.2494 31.1921C41.0507 30.9253 40.9261 30.7481 40.8765 30.6617C40.8577 30.7461 40.8216 30.8687 40.7675 31.0293C40.713 31.1906 40.6542 31.3556 40.5914 31.5242C40.5285 31.694 40.461 31.8539 40.3899 32.006C40.3185 32.1576 40.2571 32.2677 40.2039 32.3346C40.0645 32.5022 39.8747 32.6436 39.6339 32.7572C39.393 32.8719 39.1356 32.9649 38.8618 33.036C38.5878 33.1084 38.3138 33.1569 38.0407 33.1862C37.7674 33.2151 37.5371 33.2261 37.3504 33.2229C36.8727 33.213 36.4574 33.1462 36.102 33.0193C35.7291 32.8927 35.4026 32.6315 35.1208 32.2327C34.8388 31.8352 34.6008 31.3921 34.4064 30.903C34.2117 30.4128 34.0685 29.9167 33.9758 29.4116C33.8841 28.9078 33.8416 28.4757 33.8488 28.1186C33.8513 27.9822 33.8667 27.8421 33.8953 27.6987C33.9237 27.553 33.991 27.4148 34.0953 27.28C34.2176 27.1124 34.5444 26.9619 35.0754 26.8274C35.606 26.6937 36.1919 26.5772 36.8329 26.4785C37.4743 26.3815 38.0927 26.3087 38.6901 26.2601C39.2873 26.2126 39.705 26.1915 39.9441 26.1964C40.0806 26.1994 40.2067 26.2611 40.3233 26.3824C40.4402 26.5047 40.5393 26.6467 40.6217 26.8102C40.7038 26.9745 40.7719 27.1411 40.8288 27.3133C40.8848 27.4846 40.9203 27.6207 40.9355 27.7232C41.0104 27.3842 41.0519 27.0189 41.0593 26.627C41.067 26.2526 41.0563 25.9453 41.0266 25.7065C40.9977 25.4668 40.9207 25.2872 40.7947 25.1651C40.6701 25.0437 40.4923 24.9589 40.2635 24.9118C40.0342 24.865 39.7321 24.8369 39.3577 24.8292C38.608 24.8147 37.8627 24.8636 37.1186 24.9771C36.3751 25.0891 35.6353 25.2239 34.9003 25.3798L34.7811 22.3617C35.4127 22.2896 36.0489 22.2376 36.688 22.208C37.3283 22.1785 37.9711 22.1698 38.6183 22.1829C38.874 22.1879 39.2312 22.2071 39.69 22.2422C40.1498 22.2769 40.6254 22.3382 41.1177 22.424C41.6105 22.5108 42.0671 22.6309 42.491 22.7836C42.9136 22.9379 43.2162 23.1264 43.3999 23.352C43.4991 23.4911 43.5745 23.7641 43.626 24.1738C43.6773 24.583 43.7156 25.0279 43.7399 25.5059C43.7646 25.9833 43.7768 26.4353 43.7771 26.8605C43.7766 27.2866 43.7753 27.5854 43.7716 27.7552C43.7602 28.3164 43.7407 28.8788 43.7123 29.4401C43.684 30.0019 43.6475 30.5631 43.6021 31.1244L45.2341 31.3109C45.3557 31.1766 45.4824 31.0337 45.6134 30.8836C45.7439 30.7332 45.862 30.5818 45.9671 30.4308C46.0897 30.2455 46.1938 29.9713 46.2776 29.6065C46.3615 29.2418 46.4334 28.852 46.4929 28.4351C46.5525 28.0187 46.5943 27.6106 46.619 27.2106C46.644 26.8115 46.6592 26.483 46.6646 26.2284C46.6725 25.8192 46.6476 25.3584 46.5902 24.8465C46.5318 24.3349 46.4356 23.8247 46.301 23.32C46.1663 22.8153 45.9881 22.3339 45.7674 21.8781C45.5467 21.4223 45.2771 21.0377 44.9599 20.7249C44.2917 20.0646 43.5591 19.6361 42.7623 19.441C41.9652 19.2466 41.107 19.1399 40.1876 19.1217C39.5403 19.1085 38.9514 19.1486 38.421 19.239C37.8913 19.3315 37.3776 19.4664 36.8797 19.6432C36.3822 19.821 35.8964 20.0541 35.4223 20.3419C34.9476 20.6316 34.4519 20.9586 33.9332 21.3218C33.0515 21.9701 32.3751 22.748 31.9059 23.6588C31.4359 24.5693 31.1903 25.5778 31.168 26.6848C31.147 27.7413 31.2842 28.7707 31.5795 29.7724C31.8741 30.7755 32.3207 31.6704 32.9186 32.4581C33.5164 33.2458 34.2573 33.8816 35.142 34.3665C36.0271 34.8541 37.0477 35.1082 38.2062 35.1313C38.4108 35.1353 38.6621 35.1241 38.9608 35.0946C39.2597 35.0674 39.5628 35.0274 39.8708 34.9732C40.1786 34.9202 40.4695 34.8404 40.7442 34.7348C41.0191 34.6296 41.2346 34.5018 41.3907 34.3519L43.7428 35.6008C43.4101 36.0534 43.0236 36.4119 42.584 36.6756C42.1446 36.9398 41.6802 37.1434 41.1918 37.2875C40.7036 37.4303 40.1947 37.5186 39.6656 37.5504C39.1371 37.5821 38.617 37.5933 38.1069 37.5835C36.539 37.552 35.1526 37.2207 33.9474 36.5926C32.7419 35.9635 31.7317 35.1349 30.9181 34.1039C30.1033 33.0745 29.4926 31.8954 29.0843 30.5667C28.6768 29.2384 28.4876 27.8502 28.5163 26.4023C28.5342 25.4818 28.6876 24.6256 28.9764 23.8296C29.2645 23.0351 29.65 22.2931 30.1324 21.604C30.6145 20.9154 31.1766 20.2837 31.8192 19.708C32.4603 19.1333 33.1443 18.6062 33.8691 18.1263C34.6114 17.6474 35.3802 17.3349 36.1754 17.1889C36.9706 17.0429 37.8103 16.9781 38.6967 16.9961C39.3432 17.0089 40.0832 17.0791 40.9154 17.207C41.7474 17.3339 42.5701 17.5248 43.3831 17.7799C44.196 18.0345 44.939 18.3605 45.6122 18.7566C46.2859 19.1543 46.7964 19.6286 47.1434 20.1802C47.4071 20.5947 47.6571 21.1203 47.8906 21.7545C48.125 22.3896 48.3338 23.0532 48.5158 23.7475C48.6977 24.4412 48.8415 25.125 48.9479 25.8009C49.0529 26.4761 49.101 27.0601 49.0914 27.5541Z",fill:"#8EAA1D"}),m.a.createElement("path",{d:"M7.8785 48.9628H40.203V67.1453H7.8785V48.9628Z",fill:"#8EAA1D"}),m.a.createElement("path",{d:"M7.8785 71.1859H72.5275V89.3684H7.8785V71.1859Z",fill:"#8EAA1D"}),m.a.createElement("path",{d:"M44.2161 48.9628H72.5V67.1453H44.2161V48.9628Z",fill:"#8EAA1D"}),m.a.createElement("path",{d:"M7.85417 45.356L2 4.45426L76.0002 0L74.9221 43.9122L46.726 45.3561L7.85417 45.356Z",fill:"#A9C92C"}),m.a.createElement("path",{d:"M41.7902 30.0517C41.7985 29.6435 41.6562 29.2821 41.3643 28.9699C41.0725 28.6565 40.7137 28.4972 40.2879 28.4892C39.7425 28.4776 39.2968 28.6351 38.9499 28.9609C38.602 29.2854 38.4234 29.7288 38.4117 30.2907C38.4029 30.7515 38.5478 31.1547 38.8477 31.5007C39.1474 31.8479 39.5358 32.0256 40.0126 32.0347C40.285 32.0403 40.5285 31.9856 40.7443 31.8708C40.9591 31.7563 41.146 31.6062 41.3028 31.4225C41.4593 31.2382 41.5793 31.0281 41.6605 30.7907C41.7418 30.5537 41.7852 30.3074 41.7902 30.0517ZM51.0914 27.5541C51.0739 28.4403 50.9463 29.2548 50.7105 29.9998C50.4734 30.7447 50.1333 31.39 49.6876 31.9347C49.2426 32.4797 48.6928 32.903 48.0395 33.205C47.3856 33.5084 46.6417 33.6497 45.8076 33.6328C45.603 33.6289 45.4417 33.6183 45.3223 33.5987C45.2033 33.5784 45.0692 33.508 44.9178 33.3848C44.8505 33.3323 44.7175 33.1773 44.5184 32.9175C44.3194 32.6583 44.1076 32.3726 43.8838 32.0614C43.6605 31.75 43.4487 31.4609 43.2494 31.1921C43.0507 30.9253 42.9261 30.7481 42.8765 30.6617C42.8577 30.7461 42.8216 30.8687 42.7675 31.0293C42.713 31.1906 42.6542 31.3556 42.5914 31.5242C42.5285 31.694 42.461 31.8539 42.3899 32.006C42.3185 32.1576 42.2571 32.2677 42.2039 32.3346C42.0645 32.5022 41.8747 32.6436 41.6339 32.7572C41.393 32.8719 41.1356 32.9649 40.8618 33.036C40.5878 33.1084 40.3138 33.1569 40.0407 33.1862C39.7674 33.2151 39.5371 33.2261 39.3504 33.2229C38.8727 33.213 38.4574 33.1462 38.102 33.0193C37.7291 32.8927 37.4026 32.6315 37.1208 32.2327C36.8388 31.8352 36.6008 31.3921 36.4064 30.903C36.2117 30.4128 36.0685 29.9167 35.9758 29.4116C35.8841 28.9078 35.8416 28.4757 35.8488 28.1186C35.8513 27.9822 35.8667 27.8421 35.8953 27.6987C35.9237 27.553 35.991 27.4148 36.0953 27.28C36.2176 27.1124 36.5444 26.9619 37.0754 26.8274C37.606 26.6937 38.1919 26.5772 38.8329 26.4785C39.4743 26.3815 40.0927 26.3087 40.6901 26.2601C41.2873 26.2126 41.705 26.1915 41.9441 26.1964C42.0806 26.1994 42.2067 26.2611 42.3233 26.3824C42.4402 26.5047 42.5393 26.6467 42.6217 26.8102C42.7038 26.9745 42.7719 27.1411 42.8288 27.3133C42.8848 27.4846 42.9203 27.6207 42.9355 27.7232C43.0104 27.3842 43.0519 27.0189 43.0593 26.627C43.067 26.2526 43.0563 25.9453 43.0266 25.7065C42.9977 25.4668 42.9207 25.2872 42.7947 25.1651C42.6701 25.0437 42.4923 24.9589 42.2635 24.9118C42.0342 24.865 41.7321 24.8369 41.3577 24.8292C40.608 24.8147 39.8627 24.8636 39.1186 24.9771C38.3751 25.0891 37.6353 25.2239 36.9003 25.3798L36.7811 22.3617C37.4127 22.2896 38.0489 22.2376 38.688 22.208C39.3283 22.1785 39.9711 22.1698 40.6183 22.1829C40.874 22.1879 41.2312 22.2071 41.69 22.2422C42.1498 22.2769 42.6254 22.3382 43.1177 22.424C43.6105 22.5108 44.0671 22.6309 44.491 22.7836C44.9136 22.9379 45.2162 23.1264 45.3999 23.352C45.4991 23.4911 45.5745 23.7641 45.626 24.1738C45.6773 24.583 45.7156 25.0279 45.7399 25.5059C45.7646 25.9833 45.7768 26.4353 45.7771 26.8605C45.7766 27.2866 45.7753 27.5854 45.7716 27.7552C45.7602 28.3164 45.7407 28.8788 45.7123 29.4401C45.684 30.0019 45.6475 30.5631 45.6021 31.1244L47.2341 31.3109C47.3557 31.1766 47.4824 31.0337 47.6134 30.8836C47.7439 30.7332 47.862 30.5818 47.9671 30.4308C48.0897 30.2455 48.1938 29.9713 48.2776 29.6065C48.3615 29.2418 48.4334 28.852 48.4929 28.4351C48.5525 28.0187 48.5943 27.6106 48.619 27.2106C48.644 26.8115 48.6592 26.483 48.6646 26.2284C48.6725 25.8192 48.6476 25.3584 48.5902 24.8465C48.5318 24.3349 48.4356 23.8247 48.301 23.32C48.1663 22.8153 47.9881 22.3339 47.7674 21.8781C47.5467 21.4223 47.2771 21.0377 46.9599 20.7249C46.2917 20.0646 45.5591 19.6361 44.7623 19.441C43.9652 19.2466 43.107 19.1399 42.1876 19.1217C41.5403 19.1085 40.9514 19.1486 40.421 19.239C39.8913 19.3315 39.3776 19.4664 38.8797 19.6432C38.3822 19.821 37.8964 20.0541 37.4223 20.3419C36.9476 20.6316 36.4519 20.9586 35.9332 21.3218C35.0515 21.9701 34.3751 22.748 33.9059 23.6588C33.4359 24.5693 33.1903 25.5778 33.168 26.6848C33.147 27.7413 33.2842 28.7707 33.5795 29.7724C33.8741 30.7755 34.3207 31.6704 34.9186 32.4581C35.5164 33.2458 36.2573 33.8816 37.142 34.3665C38.0271 34.8541 39.0477 35.1082 40.2062 35.1313C40.4108 35.1353 40.6621 35.1241 40.9608 35.0946C41.2597 35.0674 41.5628 35.0274 41.8708 34.9732C42.1786 34.9202 42.4695 34.8404 42.7442 34.7348C43.0191 34.6296 43.2346 34.5018 43.3907 34.3519L45.7428 35.6008C45.4101 36.0534 45.0236 36.4119 44.584 36.6756C44.1446 36.9398 43.6802 37.1434 43.1918 37.2875C42.7036 37.4303 42.1947 37.5186 41.6656 37.5504C41.1371 37.5821 40.617 37.5933 40.1069 37.5835C38.539 37.552 37.1526 37.2207 35.9474 36.5926C34.7419 35.9635 33.7317 35.1349 32.9181 34.1039C32.1033 33.0745 31.4926 31.8954 31.0843 30.5667C30.6768 29.2384 30.4876 27.8502 30.5163 26.4023C30.5342 25.4818 30.6876 24.6256 30.9764 23.8296C31.2645 23.0351 31.65 22.2931 32.1324 21.604C32.6145 20.9154 33.1766 20.2837 33.8192 19.708C34.4603 19.1333 35.1443 18.6062 35.8691 18.1263C36.6114 17.6474 37.3802 17.3349 38.1754 17.1889C38.9706 17.0429 39.8103 16.9781 40.6967 16.9961C41.3432 17.0089 42.0832 17.0791 42.9154 17.207C43.7474 17.3339 44.5701 17.5248 45.3831 17.7799C46.196 18.0345 46.939 18.3605 47.6122 18.7566C48.2859 19.1543 48.7964 19.6286 49.1434 20.1802C49.4071 20.5947 49.6571 21.1203 49.8906 21.7545C50.125 22.3896 50.3338 23.0532 50.5158 23.7475C50.6977 24.4412 50.8415 25.125 50.9479 25.8009C51.0529 26.4761 51.101 27.0601 51.0914 27.5541Z",fill:"#FFFEFA"}),m.a.createElement("path",{d:"M9.8785 48.9628H42.203V67.1453H9.8785V48.9628Z",fill:"#A9C92C"}),m.a.createElement("path",{d:"M9.8785 71.1859H74.5275V89.3684H9.8785V71.1859Z",fill:"#A9C92C"}),m.a.createElement("path",{d:"M46.2161 48.9628H74.5V67.1453H46.2161V48.9628Z",fill:"#A9C92C"}),m.a.createElement("path",{d:"M78.0496 63.9553C77.9991 63.8287 77.9868 63.6901 78.0143 63.5566C78.0418 63.4231 78.1078 63.3006 78.2042 63.2042C78.3006 63.1078 78.4231 63.0418 78.5566 63.0143C78.6901 62.9868 78.8287 62.9991 78.9553 63.0496L91.5548 67.9493C91.6899 68.0021 91.8052 68.0956 91.8849 68.2167C91.9646 68.3379 92.0046 68.4809 91.9996 68.6258C91.9945 68.7707 91.9445 68.9105 91.8566 69.0258C91.7686 69.1411 91.647 69.2263 91.5086 69.2695L86.6872 70.7646C86.4697 70.8319 86.2718 70.9512 86.1108 71.1122C85.9498 71.2732 85.8305 71.4711 85.7632 71.6886L84.2695 76.5086C84.2263 76.647 84.1411 76.7686 84.0258 76.8566C83.9105 76.9445 83.7707 76.9945 83.6258 76.9996C83.4809 77.0046 83.3379 76.9646 83.2167 76.8849C83.0956 76.8052 83.0021 76.6899 82.9493 76.5548L78.0496 63.9553Z",fill:"#A9C92C"}))}function ts(){var t=j(),e=Object(h.useState)(!0),n=(e=b()(e,2))[0],r=e[1];return m.a.createElement(Au,{open:n,hideHeader:!0,primaryActionProps:{title:"Edit with Virfice",leftIcon:m.a.createElement(kc,null),onClick:function(){var e=Ml("email_id");t(st(e,!0)),window.location.href=F({menu:"woo-email-edit-virfice"})}},secondaryActionProps:{title:"Use Default",onClick:function(){r(!1)}},onClose:function(){},closeOnBackdropClick:!0},m.a.createElement("div",{style:{padding:16,display:"flex",flexDirection:"column",gap:24,alignItems:"center",justifyContent:"center",textAlign:"center"}},m.a.createElement(es,null),m.a.createElement("div",null,m.a.createElement("p",{className:"headline__small",style:{margin:0}},"You are on the regular email customizer!"),m.a.createElement("p",{className:"text__text__title",style:{margin:0,marginTop:8}},"Use the Virfice template to access the email builder for more design options."))))}function ns(){var e=Ml("email_id"),t=j(),n=A(function(e){return null==(e=e.wooEmailSingle)||null==(e=e.email)?void 0:e.settings}),r=A(function(e){return null==(e=e.wooEmailSingle)?void 0:e.changedSettings});return Object(h.useEffect)(function(){t(mt(e))},[]),m.a.createElement(m.a.Fragment,null,m.a.createElement(du,{backAction:function(){window.location.href=F({menu:"woo-email-list"})},discardAction:function(){t(It({key:"changedSettings",value:n.settings})),t(y({title:"Settings discarded",type:"danger"}))},saveAction:function(){t(vt(n.id,{changedSettings:r}))}}),m.a.createElement("section",null,m.a.createElement(nu,{heading:null==n?void 0:n.title,subHeading:null==n?void 0:n.description}),m.a.createElement(B,null,m.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-flex ").concat(v.VIRFICE_APP_PREFIX,"-gap-20")},m.a.createElement(Hu,null),m.a.createElement(Ju,null)))),m.a.createElement(ts,null))}function rs(){return m.a.createElement("div",{style:{marginTop:4,marginBottom:4,lineHeight:0}},m.a.createElement("svg",{width:"18",height:"2",viewBox:"0 0 18 2",fill:"none",xmlns:"http://www.w3.org/2000/svg"},m.a.createElement("path",{d:"M1 1L17 1",stroke:"#C9C9C9",strokeLinecap:"round"})))}function as(e){var n=e.element,t=j();return m.a.createElement("div",{className:v.VIRFICE_APP_PREFIX+"-right-control"},m.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-item"),onClick:function(){var e=n.parentNode;n.previousElementSibling?e.insertBefore(n,n.previousElementSibling):t(y({title:"You can't move up",type:"danger"}))}},m.a.createElement(Fc,null)),m.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-item"),onClick:function(){var e=n.parentNode;n.nextElementSibling?e.insertBefore(n.nextElementSibling,n):t(y({title:"You can't move down",type:"danger"}))}},m.a.createElement(Ac,null)),m.a.createElement(rs,null),m.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-item"),onClick:function(){var e,t=(e=>{var t;if(e&&e.parentNode)return t=Wt(e),e.parentNode.insertBefore(t,e.nextSibling),w(t,"id");console.error("Element not found or has no parent")})(n);e=E().document.getElementById(v.VIRFICE_APP_PREFIX+"-email-preview"),Dl(Tt,{key:"html",value:e.innerHTML}),Dt(t),Ct(),setTimeout(function(){kt({element:Xt(t),parent:E().body})},100)}},m.a.createElement(jc,null)),m.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-item"),onClick:function(){var e;n.id!==v.VIRFICE_APP_PREFIX+"-root"&&(e=Zt(n),n.remove(),Dl(At,w(e,"id")),Dl(Lt,!1))}},m.a.createElement(Lc,null)))}function os(e){return e=e.onClose,m.a.createElement("div",{className:v.VIRFICE_APP_PREFIX+"-add-section-header"},m.a.createElement("span",{className:v.VIRFICE_APP_PREFIX+"-title"},"Add a new section"),m.a.createElement("div",{onClick:e,style:{cursor:"pointer",pointerEvents:"all"}},m.a.createElement(wc,null)))}function is(e){var t=e.title,n=e.content,r=void 0===(r=e.tag)?"p":r,e=void 0===(e=e.selector)?"":e;return"<".concat(r," ").concat(v.VIRFICE_APP_PREFIX,'-title="').concat(t||"Text",'" ').concat(v.VIRFICE_APP_PREFIX,'-ele_type="text" ').concat(v.VIRFICE_APP_PREFIX,'-selector="').concat(e,'" contentEditable>').concat(n||"Add your text here. Edit to add dynamic values like name, email and more.","</").concat(r,">")}function ls(e){return e=e.title,"<a ".concat(v.VIRFICE_APP_PREFIX,'-ele_type="image" ').concat(v.VIRFICE_APP_PREFIX,'-title="').concat(e||"Image",'" style="width:100%;"><img virfice-my_selector="image" src="').concat(v.VIRFICE_PLUGIN_BASE,'/assets/files/demo-image.webp" /></a>')}function cs(e){var t=e.title,e=e.content;return"<a ".concat(v.VIRFICE_APP_PREFIX,'-title="').concat(t||"Button",'" ').concat(v.VIRFICE_APP_PREFIX,'-ele_type="link" style="display: inline-flex; gap: 8px; border-radius: 4px; padding: 8px 16px;" contentEditable>').concat(e||"Button","</a>")}function us(e,t){var n=t.paddingTop,r=t.paddingBottom,a=t.paddingLeft,o=t.paddingRight,i=t.textAlign,t=t.title;return"<div ".concat(v.VIRFICE_APP_PREFIX,'-title="').concat(t||"Section",'" ').concat(v.VIRFICE_APP_PREFIX,'-ele_type="section" ').concat(v.VIRFICE_APP_PREFIX,'-settings_status="disabled"  style="padding-top: ').concat(n||"16px",";padding-bottom: ").concat(r||"16px","; padding-left: ").concat(a||"0px","; padding-right: ").concat(o||"0px","; text-align:").concat(i||"center",';">\n  ').concat(e,"\n  </div>")}function ss(e){function n(e){e=e.template,(t=document.createElement("div")).innerHTML=e;var e=Wt(t.children[0]),t=(a?r(a,e.outerHTML):i.append(e),Ct(),o(),w(e,"id"));Dt(t),kt({element:Xt(t),parent:E().body})}function r(e,t){t&&(e?e.insertAdjacentHTML("afterend",t):i.innerHTML=t)}var a=e.element,o=e.onAdd,i=E().templateWrapper;return m.a.createElement("div",{className:v.VIRFICE_APP_PREFIX+"-add-section-body"},ys.map(function(e,t){return m.a.createElement("div",{className:v.VIRFICE_APP_PREFIX+"-item",onClick:function(){n(e)},key:t},m.a.createElement("div",null,e.icon),m.a.createElement("div",{className:v.VIRFICE_APP_PREFIX+"-item-title"},e.title))}),Es.map(function(e,t){return m.a.createElement("div",{className:v.VIRFICE_APP_PREFIX+"-item",onClick:function(){n(e)},key:t},m.a.createElement("div",null,e.icon),m.a.createElement("div",{className:v.VIRFICE_APP_PREFIX+"-item-title"},e.title))}))}function fs(e){var e=e.element,t=Object(h.useState)(!1),n=(t=b()(t,2))[0],r=t[1];return Object(h.useEffect)(function(){r(!1)},[e]),Object(h.useEffect)(function(){window.AddSectionButtonOpen=n},[n]),m.a.createElement("div",{className:v.VIRFICE_APP_PREFIX+"-add-section-button-wrapper "+"".concat(n?v.VIRFICE_APP_PREFIX+"-add-section-button-wrapper-opened":"")},!n&&m.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-flex ").concat(v.VIRFICE_APP_PREFIX,"-gap-8"),style:{pointerEvents:"all",justifyContent:"center",width:"100%"}},m.a.createElement(p,{leftIcon:m.a.createElement(Bc,null),title:"Elements",type:"secondary",onClick:function(){r(!0)}}),m.a.createElement(p,{leftIcon:m.a.createElement(Yc,null),title:"Ready blocks",onClick:function(){Dl(Tt,{key:"showReadyBlocks",value:!0})}})),n&&m.a.createElement("div",{className:v.VIRFICE_APP_PREFIX+"-add-section-items-wrapper",style:{pointerEvents:"all"}},m.a.createElement(os,{onClose:function(){r(!1)}}),m.a.createElement(ss,{element:e,onAdd:function(){r(!1)}})))}function ds(e){var t=e.element,n=e.type,r=Object(h.useRef)(null),a=ws(t),e=(Object(h.useEffect)(function(){r.current&&t&&(r.current.style.left="".concat(a.left,"px"),r.current.style.top="".concat(a.top,"px"),r.current.style.width="".concat(a.width,"px"),r.current.style.height="".concat(a.height,"px"),r.current.style.position="fixed","hovered"===n)&&(r.current.style.zIndex=1)},[a,t]),X()(g()(g()({},"".concat(v.VIRFICE_APP_PREFIX,"-element-border"),"selected"===n),"".concat(v.VIRFICE_APP_PREFIX,"-element-hover-border"),"hovered"===n)));return t?m.a.createElement("div",{className:e,ref:r},"hovered"===n&&m.a.createElement(m.a.Fragment,null,m.a.createElement(as,{element:t}),m.a.createElement(fs,{element:t}))):null}function ps(){var e=A(function(e){return null==(e=e.builder)?void 0:e.selectedSectionId}),t=A(function(e){return null==(e=e.builder)?void 0:e.selectedElementId}),n=A(function(e){return null==(e=e.builder)?void 0:e.hoveredSectionId}),r=Object(h.useState)(!1),a=(r=b()(r,2))[0],o=r[1],r=Object(h.useState)(!1),i=(r=b()(r,2))[0],l=r[1],c=E().templateWrapper;return Object(h.useEffect)(function(){o(!!e&&Xt(e))},[e]),Object(h.useEffect)(function(){var e;c&&(e=c.querySelector('[virfice-ele_type="section"]'),l(!e))},[t]),Tl("menu","virfice-brand-settings")?null:(r=X()(g()(g()({},v.VIRFICE_APP_PREFIX+"-element-controls",!0),v.VIRFICE_APP_PREFIX+"-empty-canvas",c&&i)),m.a.createElement("div",{className:r},!i&&n&&m.a.createElement(ds,{element:Xt(n),type:"hovered"}),!i&&e&&m.a.createElement(ds,{element:a,type:"selected"}),c&&i&&m.a.createElement("div",{className:v.VIRFICE_APP_PREFIX+"-empty-add-button"},m.a.createElement(fs,null))))}function hs(){var t=Object(h.useRef)(null),e=Object(h.useRef)(null),n=Object(h.useState)(null),r=(n=b()(n,2))[0],a=n[1],n=Object(h.useState)(!1),o=(n=b()(n,2))[0],i=n[1],n=A(function(e){return e.builder.html}),l=A(function(e){return e.builder.global_style}),c=A(function(e){return e.virficeBrandSettings.changedSettings});return Object(h.useEffect)(function(){e.current&&setTimeout(function(){i(!0),Ct(),console.log("initEmailBuilder")},100)},[e.current]),m.a.createElement(m.a.Fragment,null,m.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-editor-wrapper"),id:"".concat(v.VIRFICE_APP_PREFIX,"-editor-wrapper")},m.a.createElement("iframe",{ref:t,srcDoc:"<html><head></head><body>".concat("<style>\n  html{\n    padding-bottom: 280px;\n  }\n  html, body, .virfice-editor-wrapper{\n    min-height: 100vh;\n  }\n</style>","</body></html>"),onLoad:function(){var e;null!=(e=t.current)&&e.contentWindow&&(e=t.current.contentWindow.document,a(e.body))}}),o&&m.a.createElement(ps,null)),r&&Bu.a.createPortal(m.a.createElement(m.a.Fragment,null,m.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-editor-wrapper"),id:"".concat(v.VIRFICE_APP_PREFIX,"-editor-wrapper")},m.a.createElement("div",{id:"".concat(v.VIRFICE_APP_PREFIX,"-global-style"),dangerouslySetInnerHTML:{__html:l}}),m.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-template-wrapper"),id:"".concat(v.VIRFICE_APP_PREFIX,"-email-preview"),dangerouslySetInnerHTML:{__html:n},style:{backgroundColor:c.email_background_color,width:c.email_body_width},ref:e}))),r))}function ms(){function n(){r(!1)}var e=Object(h.useState)(!1),t=(e=b()(e,2))[0],r=e[1],e=Object(h.useState)(!1),a=(e=b()(e,2))[0],o=e[1],e=Object(h.useState)(""),i=(e=b()(e,2))[0],l=e[1],c=j(),u=A(function(e){return e.globalSettings["changedSettings-email"]});return Object(h.useEffect)(function(){c(bt(["email"]))},[]),Object(h.useEffect)(function(){l(u&&u.woocommerce_email_from_address+","||"")},[u]),m.a.createElement(m.a.Fragment,null,m.a.createElement(p,{title:"Send test mail",type:"tertiary",leftIcon:m.a.createElement(bc,null),onClick:function(){r(!0)}}),m.a.createElement(Au,{open:t,heading:"Send test email",primaryActionProps:{title:"Send",leftIcon:m.a.createElement(xc,null),onClick:function(){var e,t;Vl(i)?(o(!1),e=E().templateWrapper.innerHTML.replace(/<style[^>]*>[\s\S]*?<\/style>/gi,""),(t=new FormData).append("emails",i),t.append("template",e),Tl("menu","woo-email-edit-virfice")&&Ml("email_id")?(t.append("email_id",Ml("email_id")),t.append("type","woo_test_email")):t.append("type","test_email"),rt.post("".concat(virfice.restBase).concat("virfice/v1/virfice-test-email-send/send-test-email"),t,{headers:{"X-WP-Nonce":virfice.nonce}}).then(function(e){d=e.data,c(y({title:"Test email sent! Check your inbox.",type:"success"}))}).catch(function(e){console.log(e),c(y({title:"Failed to send test email!",type:"danger"}))}),n()):o("Please enter a valid email address.")}},secondaryActionProps:{title:"Cancel",onClick:function(){r(!1)}},onClose:n,closeOnBackdropClick:!0},m.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-form-group")},m.a.createElement(I,{value:i,label:"Recipients",multiline:3,onChange:function(e){l(e)},helpText:"Use comma to separate Cc & Bcc",error:a}),m.a.createElement(mu,{Text:"Make sure your SMTP is properly configured to send emails!",Illustration:Sc}))))}function gs(){function e(e){var t=E().templateWrapper;"Laptop"===e?t.style.width=v.VIRFICE_RESPONSIVE_BREAKPOINTS.desktop:"Mobile"===e&&(t.style.width=v.VIRFICE_RESPONSIVE_BREAKPOINTS.mobile,t.style.marginLeft="auto",t.style.marginRight="auto"),a(e)}var t=A(function(e){return null==(e=e.wooEmailSingle)||null==(e=e.email)?void 0:e.settings}),n=Object(h.useState)("Laptop"),r=(n=b()(n,2))[0],a=n[1];return m.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-card-header ").concat(v.VIRFICE_APP_PREFIX,"-flex-space-between ").concat(v.VIRFICE_APP_PREFIX,"-w-100")},t.title&&m.a.createElement("div",{className:"title__medium",style:{display:"flex",alignItems:"center"}},t.title),m.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-flex")},m.a.createElement(p,{type:"tertiary",icon:m.a.createElement(Cc,null),isActive:"Laptop"===r,onClick:function(){e("Laptop")}}),m.a.createElement(p,{type:"tertiary",icon:m.a.createElement(_c,null),isActive:"Mobile"===r,onClick:function(){e("Mobile")}})),m.a.createElement(ms,null))}function vs(){return m.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-builder-left-panel-wrapper")},m.a.createElement(l,null,m.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-flex-col ").concat(v.VIRFICE_APP_PREFIX,"-w-100")},m.a.createElement(gs,null),m.a.createElement(hs,null))))}function bs(e){var t=e.element,e=w(t,"title"),n=w(t,"sub_title"),r=(r=Zt(t))&&Ut(r);return m.a.createElement(h.Fragment,null,m.a.createElement("div",null,m.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-flex-align-center ").concat(v.VIRFICE_APP_PREFIX,"-gap-2")},r&&m.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-flex"),onClick:function(){var e=Zt(t);e&&Dl(At,w(e,"id"))},style:{cursor:"pointer"}},m.a.createElement(lc,null)),m.a.createElement("div",{className:"title__medium"},e)),n&&m.a.createElement("div",{className:"body__medium",style:{maxWidth:521}},n)))}var e={title:"Text",icon:m.a.createElement(dc,null),template:us(is({title:"Text",content:"Add your text here. Edit to add dynamic values like name, email and more."}),{paddingTop:"16px",paddingBottom:"16px"})},a={title:"Image",icon:m.a.createElement(vc,null),template:us(ls({title:"Image"}),{paddingTop:"16px",paddingBottom:"16px"})},_i=(us((e=>(e=e.title,"<img ".concat(v.VIRFICE_APP_PREFIX,'-title="').concat(e||"Video",'" ').concat(v.VIRFICE_APP_PREFIX,'-ele_type="video" src="').concat(v.VIRFICE_PLUGIN_BASE,'/assets/files/demo-video.webp" />')))({title:"Video"}),{paddingTop:"16px",paddingBottom:"16px"}),{title:"Button",icon:m.a.createElement(hc,null),template:us(cs({title:"Button",content:"Shop now!"}),{paddingTop:"16px",paddingBottom:"16px"})}),Pi={title:"Image with Text",icon:m.a.createElement(pc,null),template:us("<table>\n    <tbody ".concat(v.VIRFICE_APP_PREFIX,'-title="Columns" ').concat(v.VIRFICE_APP_PREFIX,'-ele_type="row">\n        <tr>\n            <td ').concat(v.VIRFICE_APP_PREFIX,'-title="Column 1" ').concat(v.VIRFICE_APP_PREFIX,'-ele_type="column" style"text-align: center; padding: 8px;">\n                ').concat(ls({title:"Image"}),"\n            </td>\n            <td ").concat(v.VIRFICE_APP_PREFIX,'-title="Column 2" ').concat(v.VIRFICE_APP_PREFIX,'-ele_type="column" style="text-align: center; padding: 8px;">\n                ').concat(is({title:"Text",content:"This is a text field. Add and edit content here."}),"\n                ").concat(cs({title:"Button",content:"Sign up"}),"\n            </td>\n        </tr>\n    </tbody>\n</table>"),{paddingLeft:"16px",paddingRight:"16px",paddingTop:"16px",paddingBottom:"16px",title:"Image with Text"})},ys=[{title:"Columns",icon:m.a.createElement(sc,null),template:us("<table>\n    <tbody ".concat(v.VIRFICE_APP_PREFIX,'-title="Columns" ').concat(v.VIRFICE_APP_PREFIX,'-ele_type="row">\n        <tr>\n            <td ').concat(v.VIRFICE_APP_PREFIX,'-title="Column 1" ').concat(v.VIRFICE_APP_PREFIX,'-ele_type="column" style="padding: 16px;text-align: center;">\n                ').concat(ls({title:"Image"}),"\n                ").concat(is({title:"Text",content:"This is a text field. Add and edit content here."}),"\n                ").concat(cs({title:"Button",content:"Button"}),"\n            </td>\n            <td ").concat(v.VIRFICE_APP_PREFIX,'-title="Column 2" ').concat(v.VIRFICE_APP_PREFIX,'-ele_type="column" style="padding: 16px;text-align: center;">\n                ').concat(ls({title:"Image"}),"\n                ").concat(is({title:"Text",content:"This is a text field. Add and edit content here."}),"\n                ").concat(cs({title:"Button",content:"Button"}),"\n            </td>\n        </tr>\n    </tbody>\n</table>"),{paddingLeft:"30px",paddingRight:"30px",paddingTop:"30px",paddingBottom:"30px"})},e,_i,a,Pi,{title:"Divider",icon:m.a.createElement(fc,null),template:us("<div  ".concat(v.VIRFICE_APP_PREFIX,'-title="Divider" ').concat(v.VIRFICE_APP_PREFIX,'-ele_type="divider" style="border-top-width:2px;border-style:dashed;width: 100%;"></div>'),{title:"Divider",paddingTop:"48px",paddingBottom:"48px"})}],Es=[{title:"Order Table",icon:m.a.createElement(mc,null),template:us((e=>(e=e.title,'<div virfice-title="'.concat(e,'" virfice-ele_type="woocommerce_email_order_details" style="text-align: left;" virfice-id="m58eqnj8nye46vhyg" class="">\n        <div virfice-title="Text" virfice-ele_type="text" virfice-selector="" contenteditable="" virfice-id="m58e705kkmilhca7" class="" style="text-align: left;font-size: 14px;margin-bottom:8px;">\n            You’ve received the following order from virfice</div>\n\n        <div virfice-selector="order_details_title" style="font-size: 18px;text-decoration: underline;">\n            Order #{order_number}\n        </div>\n\n        <div virfice-title="Text" virfice-ele_type="text" virfice-selector="" contenteditable="" virfice-id="m58e705kkmilhca" class="" style="text-align: left;font-size: 14px;">\n            {order_date}</div>\n        <table width="100%" border="0" cellspacing="0" cellpadding="0" virfice-selector="order_table_thead" style="background-color: #FFC900; font-size: 14px; margin-top: 13px;">\n    <tbody><tr>\n        <td width="50%" style="padding: 12px 16px;">\n            <div virfice-selector="order_table_header" virfice-my_selector="order_table_header_product" contenteditable="">\n                Product</div>\n        </td>\n        <td width="25%" style="padding: 12px 16px;">\n            <div virfice-selector="order_table_header" virfice-my_selector="order_table_header_quantity" contenteditable="">\n                Quantity</div>\n        </td>\n        <td width="25%" style="padding: 12px 16px;">\n            <div virfice-selector="order_table_header" virfice-my_selector="order_table_header_price" contenteditable="">\n                Price</div>\n        </td>\n    </tr>\n</tbody></table>\n\n<table width="100%" border="0" cellspacing="0" cellpadding="0"  style="font-size: 14px;">\n    <tbody virfice-short_code="order_items_wrapper">\n    \n    <tr virfice-short_code="order_item_wrapper" style="border-bottom: 1px solid #E5E5E5; padding: 12px;">\n        <td width="50%" style="padding: 12px 16px;">\n            <div virfice-short_code="order_item_name">Sneakers</div>\n        </td>\n        <td width="25%" style="padding: 12px 16px;">\n            <div virfice-short_code="order_item_quantity">1</div>\n        </td>\n        <td width="25%" style="padding: 12px 16px;">\n            <div virfice-short_code="order_item_price">200.00$</div>\n        </td>\n    </tr>\n\n    <tr virfice-short_code="order_item_wrapper" style="border-bottom: 1px solid #E5E5E5; padding: 12px;">\n        <td width="50%" style="padding: 12px 16px;">\n            <div virfice-short_code="order_item_name">Socks All Day</div>\n        </td>\n        <td width="25%" style="padding: 12px 16px;">\n            <div virfice-short_code="order_item_quantity">2</div>\n        </td>\n        <td width="25%" style="padding: 12px 16px;">\n            <div virfice-short_code="order_item_price">29.00$</div>\n        </td>\n    </tr>\n</tbody></table>\n\n\n<table virfice-my_selector="order_table_summary_wrapper" width="100%" border="0" cellspacing="0" cellpadding="0" style="max-width: 317px; border: 1px solid #E5E5E5; margin-left: auto; margin-top: 32px; font-size: 13px;">\n    <tbody>\n    <tr style="padding: 12px;">\n        <td width="50%" style="padding: 12px 16px;">\n            <div virfice-selector="order_table_summary" virfice-my_selector="order_table_summary_subtotal" contenteditable="">Subtotal:</div>\n        </td>\n        <td width="50%" style="padding: 12px 16px;">\n            <div virfice-short_code="order_subtotal">229.00$</div>\n        </td>\n    </tr>\n\n    <tr style="padding: 12px;">\n        <td width="50%" style="padding: 12px 16px;">\n            <div virfice-selector="order_table_summary" virfice-my_selector="order_table_summary_discount" contenteditable="">Discount:</div>\n        </td>\n        <td width="50%" style="padding: 12px 16px;">\n            <div virfice-short_code="discount_amount">50.00$</div>\n        </td>\n    </tr>\n\n    <tr style="padding: 12px;">\n        <td width="50%" style="padding: 12px 16px;">\n            <div virfice-selector="order_table_summary" virfice-my_selector="order_table_summary_shipping" contenteditable="">Shipping:</div>\n        </td>\n        <td width="50%" style="padding: 12px 16px;">\n            <div virfice-short_code="shipping_method">Free shipping</div>\n        </td>\n    </tr>\n    <tr style="padding: 12px;">\n        <td width="50%" style="padding: 12px 16px;">\n            <div virfice-selector="order_table_summary" virfice-my_selector="order_table_summary_payment_method" contenteditable="">Payment method:</div>\n\n        </td>\n        <td width="50%" style="padding: 12px 16px;">\n            <div virfice-short_code="order_payment_method">Cash on delivery\n            </div>\n        </td>\n    </tr>\n\n    <tr style="border-top: 1px solid #E5E5E5; padding: 12px;" virfice-my_selector="order_table_summary_total_wrapper">\n        <td width="50%" style="padding: 12px 16px;">\n            <div virfice-selector="order_table_summary" virfice-my_selector="order_table_summary_total" contenteditable="" style="font-weight: 600;">Total:\n            </div>\n\n\n        </td>\n        <td width="50%" style="padding: 12px 16px;">\n            <div virfice-short_code="order_total" style="font-weight: 600;">\n                179.00$\n            </div>\n        </td>\n    </tr>\n    </tbody>\n</table>\n    <div style="margin-top: 32px;">\n        <span virfice-selector="order_table_summary" virfice-my_selector="order_table_summary_order_notes" contenteditable="">Note:</span>\n        <span virfice-short_code="order_notes">The order note will appear here.</span>\n    </div>\n</div>')))({title:"Order Table"}),{paddingTop:"36px",paddingBottom:"36px",paddingLeft:"48px",paddingRight:"48px",textAlign:"left"})},{title:"Order Address",icon:m.a.createElement(gc,null),template:us((e=>(e=e.title,'<table width="100%" border="0" cellspacing="0" cellpadding="0" style="font-size: 14px;" virfice-title="'.concat(void 0===e?"Order Address":e,'"\n    virfice-ele_type="woocommerce_email_order_address" class="" virfice-id="m6wm8dsxduvdcz1gr">\n    <tbody>\n        <tr>\n            <td width="50%">\n                <div virfice-title="Billing title" virfice-ele_type="text" contenteditable=""\n                    style="margin-bottom: 16px; font-size: 18px;" virfice-id="m6wm8dsxr1qrrctuy">Billing Address\n                </div>\n            </td>\n            <td width="50%">\n                <div virfice-title="Shipping title" virfice-ele_type="text" contenteditable=""\n                    style="margin-bottom: 16px; font-size: 18px;" virfice-id="m6wm8dsxq7ak22rv7">Shipping Address\n                </div>\n            </td>\n        </tr>\n        <tr>\n            <td width="50%" virfice-selector="order_address" virfice-my_selector="order_billing_address"\n                style="padding: 13px; border: 1px solid #E5E5E5;vertical-align: baseline;">\n                <div virfice-short_code="order_billing_address">\n                    <div>\n                        <div>Jhon Doe</div>\n                        <div>Virfice</div>\n                        <div>7400 Edwards Rd</div>\n                        <div>Edwards rd</div>\n                        <div>(910) XXX-XXXX</div>\n                    </div>\n                </div>\n            </td>\n\n            <td width="50%" virfice-selector="order_address" virfice-my_selector="order_shipping_address"\n                style="padding: 13px; border: 1px solid #E5E5E5;vertical-align: baseline;">\n                <div virfice-short_code="order_shipping_address">\n                    <div>\n                        <div>Jhon Doe</div>\n                        <div>Virfice</div>\n                        <div>7400 Edwards Rd</div>\n                        <div>Edwards rd</div>\n                        <div>(910) XXX-XXXX</div>\n                    </div>\n                </div>\n            </td>\n        </tr>\n    </tbody>\n</table>')))({title:"Order Address"}),{paddingTop:"36px",paddingBottom:"36px",paddingLeft:"40px",paddingRight:"40px",textAlign:"left"})}],ws=function(o){var e=Object(h.useState)({top:0,left:0,width:0,height:0}),e=b()(e,2),t=e[0],n=e[1],i=Object(h.useCallback)(function(){var e,t;o&&(t=E().iframe,e=o.getBoundingClientRect(),t=t.getBoundingClientRect(),n({left:e.left+t.left,top:e.top+t.top,width:e.width,height:e.height}))},[o]);return Object(h.useEffect)(function(){if(o){var e,t,n,r,a=E();if(a&&a.iframe&&a.document)return a.iframe,e=a.document,t=a.window,a=o.parentNode,setTimeout(i,100),t.addEventListener("scroll",i),t.addEventListener("resize",i),e.body.addEventListener("scroll",i),(n=new ResizeObserver(i)).observe(o),r=new MutationObserver(i),a&&r.observe(a,{childList:!0,subtree:!1}),function(){t.removeEventListener("scroll",i),t.removeEventListener("resize",i),e.body.removeEventListener("scroll",i),n.disconnect(),r.disconnect()}}},[o,i]),t};function xs(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)),r}function L(e){var t=e.style,e=e.extraWidth;return m.a.createElement("div",{style:function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?xs(Object(n),!0).forEach(function(e){g()(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):xs(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}({marginTop:16,marginBottom:16,height:1,width:"calc(100% + "+(void 0===e?"0px":e)+")",background:"#F0F0F0"},t)})}function Cs(){return Object(h.useContext)(Rs)}function _s(e){var e=e.children,t=Object(h.useState)(0),n=(t=b()(t,2))[0];return m.a.createElement(Rs.Provider,{value:{activeTab:n,setActiveTab:t[1]}},m.a.createElement("div",{className:v.VIRFICE_APP_PREFIX+"-tab-container"},e))}function Ps(e){var t=e.index,e=e.children,n=Cs(),r=n.activeTab,a=n.setActiveTab;return m.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-tab-header ").concat(r===t?"active":""),onClick:function(){return a(t)}},e)}function ks(e){var t=e.index,e=e.children;return Cs().activeTab===t?m.a.createElement("div",{className:v.VIRFICE_APP_PREFIX+"-tab-content"},e):null}function Ss(e){var e=e.children,t=Cs();return t.activeTab,m.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-tab-head")},e)}var Rs=Object(h.createContext)(),ki=t(41),Is=t.n(ki),Os=t(25);function Fs(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)),r}function As(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Fs(Object(n),!0).forEach(function(e){g()(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Fs(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function T(e){var t=e.label,n=e.value,r=e.helpText,a=void 0!==(a=e.error)&&a,o=void 0===(l=e.min)?0:l,i=void 0===(l=e.max)?100:l,l=void 0===(l=e.step)?1:l,c=void 0===(u=e.onChange)?function(){}:u,e=void 0===(u=e.icon)?null:u,u=Object(h.useState)([n]),s=(u=b()(u,2))[0],f=u[1];return Object(h.useEffect)(function(){f([n])},[n]),m.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-rangefield-wrapper")},m.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-flex ").concat(v.VIRFICE_APP_PREFIX,"-gap-8"),style:{alignItems:"center"}},e,t&&m.a.createElement("label",{className:"body__medium"},t)),m.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-range-and-input-wrapper")},m.a.createElement(Os.Range,{values:s,step:l,min:o,max:i,onChange:function(e){e=Math.max(o,Math.min(i,e[0]));f([e]),c(e)},renderTrack:function(e){var t=e.props,e=e.children;return m.a.createElement("div",{onMouseDown:t.onMouseDown,onTouchStart:t.onTouchStart,style:As(As({},t.style),{},{height:"36px",display:"flex",width:"100%"})},m.a.createElement("div",{ref:t.ref,style:{height:"2px",width:"100%",borderRadius:"0",background:Object(Os.getTrackBackground)({values:s,colors:["#191700","rgba(0, 0, 0, 0.10)"],min:o,max:i}),alignSelf:"center"}},e))},renderThumb:function(e){var t=e.props,e=e.isDragged;return m.a.createElement("div",Is()({},t,{key:t.key,style:As(As({},t.style),{},{height:"16px",width:"16px",borderRadius:"100%",backgroundColor:e?"#C8E265":"#191700",display:"flex",justifyContent:"center",alignItems:"center",boxShadow:"0.5px 0.5px 0px 0px rgba(0, 0, 0, 0.20)",border:"1px solid #C8E265"})}))}}),m.a.createElement(I,{value:s[0],onChange:function(e){var t=Number(e);isNaN(t)?""===e&&(f([0]),c(0)):(f([t]),c(t))},onBlur:function(){var e=s[0],e=Number(e);!isNaN(e)&&e<o&&(f([o]),c(o))},min:o})),a&&m.a.createElement("span",{style:{color:"var(--text-text-error)",display:"flex",alignItems:"center",gap:4}},m.a.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},m.a.createElement("path",{d:"M8 14C11.3137 14 14 11.3137 14 8C14 4.68629 11.3137 2 8 2C4.68629 2 2 4.68629 2 8C2 11.3137 4.68629 14 8 14Z",stroke:"#CC0A00",strokeLinecap:"round",strokeLinejoin:"round"}),m.a.createElement("path",{d:"M8 8.5V5",stroke:"#CC0A00",strokeLinecap:"round",strokeLinejoin:"round"}),m.a.createElement("path",{d:"M8 11.25C8.27614 11.25 8.5 11.0261 8.5 10.75C8.5 10.4739 8.27614 10.25 8 10.25C7.72386 10.25 7.5 10.4739 7.5 10.75C7.5 11.0261 7.72386 11.25 8 11.25Z",fill:"#CC0A00"})),a),r&&m.a.createElement(xl,{text:r}))}function js(e){var t=e.element,e=e.borderConf;return m.a.createElement(m.a.Fragment,null,m.a.createElement(O,{label:(null==e?void 0:e.colorTitle)||"Border color",value:x(t,"border-color"),onChange:function(e){t.style.borderColor=e}}),m.a.createElement(T,{label:(null==e?void 0:e.widthTitle)||"Border width",value:P(t,"border-width"),onChange:function(e){t.style.borderWidth="".concat(e,"px"),t.style.borderStyle="solid"},min:0,max:50,step:1}))}function Ls(e){var t=e.element,e=e.disableTitle;return m.a.createElement(m.a.Fragment,null,!(void 0!==e&&e)&&m.a.createElement("div",{className:"title__medium"},"Background"),m.a.createElement(O,{label:"Fill color",value:x(t,"background-color"),onChange:function(e){t.style.backgroundColor=e}}),m.a.createElement(js,{element:t}))}function Ts(e){var t=e.element,e=e.title,n=Object(h.useState)(!1),r=(n=b()(n,2))[0],a=n[1];return m.a.createElement(m.a.Fragment,null,m.a.createElement("div",{className:v.VIRFICE_APP_PREFIX+"-flex-space-between"},m.a.createElement("div",{className:"title__medium"},e||"Padding"),m.a.createElement(p,{icon:m.a.createElement(Dc,null),type:"tertiary",onClick:function(){a(!r)},isActive:r})),r?m.a.createElement(m.a.Fragment,null,m.a.createElement(T,{label:"Top",icon:m.a.createElement(zc,null),value:P(t,"padding-top"),onChange:function(e){t.style.paddingTop="".concat(e,"px")},min:0,max:150,step:1}),m.a.createElement(T,{label:"Bottom",icon:m.a.createElement(Xc,null),value:P(t,"padding-bottom"),onChange:function(e){t.style.paddingBottom="".concat(e,"px")},min:0,max:150,step:1}),m.a.createElement(T,{label:"Left",icon:m.a.createElement(Hc,null),value:P(t,"padding-left"),onChange:function(e){t.style.paddingLeft="".concat(e,"px")},min:0,max:150,step:1}),m.a.createElement(T,{label:"Right",icon:m.a.createElement(Uc,null),value:P(t,"padding-right"),onChange:function(e){t.style.paddingRight="".concat(e,"px")},min:0,max:150,step:1})):m.a.createElement(m.a.Fragment,null,m.a.createElement(T,{label:"Top-Bottom",icon:m.a.createElement(Gc,null),value:P(t,"padding-top"),onChange:function(e){t.style.paddingTop="".concat(e,"px"),t.style.paddingBottom="".concat(e,"px")},min:0,max:150,step:1}),m.a.createElement(T,{label:"Left-Right",icon:m.a.createElement("span",{style:{transform:"rotate(90deg)"}},m.a.createElement(Gc,null)),value:P(t,"padding-left"),onChange:function(e){t.style.paddingLeft="".concat(e,"px"),t.style.paddingRight="".concat(e,"px")},min:0,max:150,step:1})))}function Ms(e){var t=e.element,n=e.borderRadiusConf,e=e.title,r=Object(h.useState)(!1),a=(r=b()(r,2))[0],o=r[1];return m.a.createElement(m.a.Fragment,null,m.a.createElement("div",{className:v.VIRFICE_APP_PREFIX+"-flex-space-between"},m.a.createElement("div",{className:"title__medium"},e||"Border radius"),m.a.createElement(p,{icon:m.a.createElement(Vc,null),type:"tertiary",onClick:function(){o(!a)},isActive:a})),a?m.a.createElement(m.a.Fragment,null,m.a.createElement(T,{label:"Top-left",icon:m.a.createElement(Wc,null),value:P(t,"border-top-left-radius"),onChange:function(e){t.style.borderTopLeftRadius="".concat(e,"px")},min:(null==n?void 0:n.min)||0,max:(null==n?void 0:n.max)||150,step:1}),m.a.createElement(T,{label:"Top-right",icon:m.a.createElement(Zc,null),value:P(t,"border-top-right-radius"),onChange:function(e){t.style.borderTopRightRadius="".concat(e,"px")},min:0,max:150,step:1}),m.a.createElement(T,{label:"Bottom-left",icon:m.a.createElement($c,null),value:P(t,"border-bottom-left-radius"),onChange:function(e){t.style.borderBottomLeftRadius="".concat(e,"px")},min:0,max:150,step:1}),m.a.createElement(T,{label:"Bottom-right",icon:m.a.createElement(qc,null),value:P(t,"border-bottom-right-radius"),onChange:function(e){t.style.borderBottomRightRadius="".concat(e,"px")},min:0,max:150,step:1})):m.a.createElement(m.a.Fragment,null,m.a.createElement(T,{label:"Value",value:P(t,"border-radius"),onChange:function(e){t.style.borderRadius="".concat(e,"px")},min:(null==n?void 0:n.min)||0,max:(null==n?void 0:n.mix)||150,step:1})))}function Ns(e){var n=e.element,r=e.eleArr;return m.a.createElement(m.a.Fragment,null,m.a.createElement(Uu,{label:"Font",value:Bl($s,x(n,"font-family")),options:$s,onChange:function(t){r?r.forEach(function(e){e.style.fontFamily=t.value}):n.style.fontFamily=t.value}}),m.a.createElement(T,{label:"Size",value:P(n,"font-size"),onChange:function(t){r?r.forEach(function(e){e.style.fontSize="".concat(t,"px")}):n.style.fontSize="".concat(t,"px")},min:6,max:200,step:1}))}function Bs(e){var n=e.element,r=e.eleArr;return m.a.createElement(m.a.Fragment,null,m.a.createElement("div",{className:v.VIRFICE_APP_PREFIX+"-border-type-selection"},qs.map(function(e){return m.a.createElement("div",{className:v.VIRFICE_APP_PREFIX+"-border-type-selection-item",onClick:function(){n.style.borderStyle=e},key:e},m.a.createElement("span",{style:{borderTopStyle:e}}))})),m.a.createElement(T,{label:"Divider width",value:P(n,"border-top-width"),onChange:function(t){r?r.forEach(function(e){e.style.borderTopWidth="".concat(t,"px")}):n.style.borderTopWidth="".concat(t,"px")},min:0,max:20,step:1}))}function M(e){var t=e.element,n=e.eleArr,r=e.disableTitle,a=e.borderRadiusConf,o=e.borderConf,i=e.title;switch(e.type){case"background":return m.a.createElement(Ls,{element:t,disableTitle:r});case"border":return m.a.createElement(js,{element:t,borderConf:o});case"padding":return m.a.createElement(Ts,{element:t,title:i});case"border-radius":return m.a.createElement(Ms,{element:t,borderRadiusConf:a,title:i});case"font-and-size":return m.a.createElement(Ns,{element:t,eleArr:n});case"border-type":return m.a.createElement(Bs,{element:t,eleArr:n});default:return m.a.createElement(m.a.Fragment,null,"Not implemented")}}function Vs(e){var t=void 0===(t=e.label)?"":t,n=void 0===(a=e.value)?"":a,r=void 0===(a=e.onChange)?function(){}:a,e=void 0===(a=e.options)?[]:a,a=Object(h.useState)(n),o=(a=b()(a,2))[0],i=a[1],a=(Object(h.useEffect)(function(){i(n)},[n]),X()(g()({},v.VIRFICE_APP_PREFIX+"-toggle-btn",!0)));return m.a.createElement("div",{className:a},t&&m.a.createElement("label",{className:"body__medium"},t),m.a.createElement("div",{className:v.VIRFICE_APP_PREFIX+"-toggle-btn__wrapper"},e.map(function(t){return m.a.createElement("div",{key:t.value,className:X()(g()(g()({},v.VIRFICE_APP_PREFIX+"-toggle-btn__option",!0),v.VIRFICE_APP_PREFIX+"-toggle-btn__option--active",o===t.value)),onClick:function(){var e;e=t.value,i(e),r(e)}},t.component)})))}function Ds(e){return e=e.element,e=Zt(e),Ut(e)?null:m.a.createElement(m.a.Fragment,null,m.a.createElement(M,{element:e,type:"background"}),m.a.createElement(L,{style:{marginLeft:-20,marginTop:8,marginBottom:8},extraWidth:"40px"}),m.a.createElement(M,{element:e,type:"border-radius",title:"Background radius"}),m.a.createElement(L,{style:{marginLeft:-20,marginTop:8,marginBottom:8},extraWidth:"40px"}),m.a.createElement(M,{element:e,type:"padding",title:"Background padding"}))}function zs(e){var t=e.element;return m.a.createElement(m.a.Fragment,null,m.a.createElement(_s,null,m.a.createElement(Ss,null,m.a.createElement(Ps,{index:0},"Content"),m.a.createElement(Ps,{index:1},"Design")),m.a.createElement(L,{style:{marginLeft:-20},extraWidth:"40px"}),m.a.createElement(ks,{index:0},m.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-form-group")},m.a.createElement(I,{label:"Text",value:t.innerText,onChange:function(e){t.innerText=e},multiline:6}),m.a.createElement(M,{element:t,type:"font-and-size"}),m.a.createElement(Vs,{label:"Alignment",value:x(t,"text-align"),options:[{value:"left",component:m.a.createElement(Rc,null)},{value:"center",component:m.a.createElement(Ic,null)},{value:"right",component:m.a.createElement(Oc,null)}],onChange:function(e){t.style.textAlign=e}}))),m.a.createElement(ks,{index:1},m.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-form-group")},m.a.createElement("div",{className:"title__medium"},"Text"),m.a.createElement(O,{label:"Text color",value:x(t,"color"),onChange:function(e){t.style.color=e}}),m.a.createElement(L,{style:{marginLeft:-20,marginTop:8,marginBottom:8},extraWidth:"40px"}),m.a.createElement(Ds,{element:t})))))}function Xs(e){function t(){l.current&&l.current.open()}var n=void 0===(n=e.info)?"Add image":n,r=e.label,a=e.value,o=e.onSelect,i=e.onDelete,l=Object(h.useRef)(null),e=Object(h.useState)({url:""}),c=(e=b()(e,2))[0],u=e[1],e=Object(h.useState)(!1),s=(e=b()(e,2))[0],f=e[1];return Object(h.useEffect)(function(){u({url:a})},[a]),Object(h.useEffect)(function(){o&&s&&(o(c),f(!1))},[s]),Object(h.useEffect)(function(){return"undefined"!=typeof wp&&wp.media&&(l.current=wp.media({title:"Select an Image",library:{type:"image"},multiple:!1,button:{text:"Use This Image"}}),l.current.on("select",function(){var e=l.current.state().get("selection").first();e&&(e=e.toJSON(),u(e),o)&&f(!0)})),function(){l.current&&l.current.off("select")}},[]),m.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-media-uploader-wrapper")},r&&m.a.createElement("label",{className:"body__medium"},r),!c.url&&m.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-media-uploader-empty")},m.a.createElement(uc,null),m.a.createElement("div",{className:"body__medium"},n),m.a.createElement(p,{title:"Upload",type:"secondary",onClick:t})),c.url&&m.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-media-uploader-has-media")},m.a.createElement("img",{src:c.url,alt:c.alt,width:150}),m.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-media-uploader-has-media-actions")},m.a.createElement(p,{title:"Change",type:"secondary",onClick:t}),m.a.createElement(p,{title:"Delete",type:"danger",onClick:function(){u({url:""}),i&&i()}}))))}function Hs(e){return"auto"===e.style.marginLeft&&"auto"===e.style.marginRight?"center":"0px"!==e.style.marginLeft&&"auto"===e.style.marginLeft?"right":"left"}function Us(e){var t,n,r,a,o,i,l,c,u=e.element,s=f(u,"image");return s?(e=Object(h.useState)(Hs(u)),t=(e=b()(e,2))[0],n=e[1],e=Object(h.useState)(u.href),c=(e=b()(e,2))[0],r=e[1],e=Object(h.useState)(s.alt),l=(e=b()(e,2))[0],a=e[1],e=Object(h.useState)(u.target),o=(e=b()(e,2))[0],i=e[1],Object(h.useEffect)(function(){n(Hs(s))},[s]),m.a.createElement(m.a.Fragment,null,m.a.createElement(_s,null,m.a.createElement(Ss,null,m.a.createElement(Ps,{index:0},"Content"),m.a.createElement(Ps,{index:1},"Design")),m.a.createElement(L,{style:{marginLeft:-20},extraWidth:"40px"}),m.a.createElement(ks,{index:0},m.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-form-group")},m.a.createElement(Xs,{label:"Change Image",value:s.src,onDelete:function(){},onSelect:function(e){s.src=e.url},info:"An image you want to show in the email header."}),m.a.createElement(I,{label:"Alt text",value:l||"",onChange:function(e){s.alt=e,a(e)}}),m.a.createElement(I,{label:"URL",value:c,onChange:function(e){u.href=e,r(e)}}),m.a.createElement(bu,{label:"Open in a new tab",value:"_blank"===o,onChange:function(e){u.target=e?"_blank":"",i(!!e&&"_blank")}}))),m.a.createElement(ks,{index:1},m.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-form-group")},m.a.createElement("div",{className:"title__medium"},"Layout"),m.a.createElement(T,{label:"Image size",value:(c=P(e=s,l="width"),e=e.parentElement,l="width"===l?e.offsetWidth:e.offsetHeight,Math.round(+c/l*100)),onChange:function(e){s.style.width="".concat(e,"%")},min:1,max:100,step:1}),m.a.createElement(Vs,{label:"Position",value:t,options:[{value:"left",component:m.a.createElement(Rc,null)},{value:"center",component:m.a.createElement(Ic,null)},{value:"right",component:m.a.createElement(Oc,null)}],onChange:function(e){"left"===e&&(s.style.marginLeft="0px"),"right"===e&&(s.style.marginLeft="auto",s.style.marginRight="0px"),"center"===e&&(s.style.marginLeft="auto",s.style.marginRight="auto"),n(Hs(s))}}),m.a.createElement(M,{element:s,type:"border",borderConf:{widthTitle:"Image border width",colorTitle:"Image border color"}}),m.a.createElement(L,{style:{marginLeft:-20,marginTop:8,marginBottom:8},extraWidth:"40px"}),m.a.createElement(M,{element:s,type:"border-radius",title:"Image radius"}),m.a.createElement(L,{style:{marginLeft:-20,marginTop:8,marginBottom:8},extraWidth:"40px"}),m.a.createElement(Ds,{element:u})))))):null}function Ws(e){var t=e.element;return m.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-item"),onClick:function(){Dl(At,w(t,"id"))}},m.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-flex-align-center ").concat(v.VIRFICE_APP_PREFIX,"-gap-8")},m.a.createElement(Nc,null),m.a.createElement("div",null,w(t,"title"))),m.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-item-action-wrapper")},m.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-item-action")},m.a.createElement(Tc,null)),m.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-item-action")},m.a.createElement(Mc,null))))}function Zs(e){var a=e.element;return m.a.createElement(m.a.Fragment,null,m.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-child-list")},(()=>{for(var e=[],t=Pt(a),n=0;n<t.length;n++){var r=t[n];e.push(m.a.createElement(Ws,{element:r,key:n}))}return e})()))}var $s=[{value:"",title:"Select"},{value:"arial",title:"Arial"},{value:"helvetica",title:"Helvetica"},{value:"verdana",title:"Verdana"},{value:"georgia",title:"Georgia"},{value:"times new roman",title:"Times New Roman"},{value:"tahoma",title:"Tahoma"},{value:"gill sans",title:"Gill Sans"},{value:"trebuchet ms",title:"Trebuchet MS"},{value:"lucida grande",title:"Lucida Grande"},{value:"montserrat",title:"Montserrat"},{value:"source sans",title:"Source Sans"},{value:"garamond",title:"Garamond"},{value:"futura",title:"Futura"},{value:"palatino",title:"Palatino"},{value:"rockwell",title:"Rockwell"}],qs=["none","solid","dotted","dashed","double"];function Ys(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)),r}function Gs(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Ys(Object(n),!0).forEach(function(e){g()(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Ys(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function Ks(e){var t=e.label,n=e.value,r=e.helpText,a=void 0!==(a=e.error)&&a,o=void 0===(l=e.min)?0:l,i=void 0===(l=e.max)?100:l,l=void 0===(l=e.step)?1:l,c=void 0===(u=e.onChange)?function(){}:u,e=void 0===(u=e.icon)?null:u,u=Object(h.useState)([n]),s=(u=b()(u,2))[0],f=u[1];return Object(h.useEffect)(function(){f([n])},[n]),m.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-rangefield-wrapper")},m.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-flex ").concat(v.VIRFICE_APP_PREFIX,"-gap-8"),style:{alignItems:"center"}},e,t&&m.a.createElement("label",{className:"body__medium"},t)),m.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-range-and-input-wrapper")},m.a.createElement(Os.Range,{values:s,step:l,min:o,max:i,onChange:function(e){e=Math.max(o,Math.min(i,e[0]));f([e]),c(e)},renderTrack:function(e){var t=e.props,e=e.children;return m.a.createElement("div",{onMouseDown:t.onMouseDown,onTouchStart:t.onTouchStart,style:Gs(Gs({},t.style),{},{height:"36px",display:"flex",width:"100%"})},m.a.createElement("div",{ref:t.ref,style:{height:"2px",width:"100%",borderRadius:"0",background:Object(Os.getTrackBackground)({values:s,colors:["#191700","rgba(0, 0, 0, 0.10)"],min:o,max:i}),alignSelf:"center"}},e))},renderThumb:function(e){var t=e.props,e=e.isDragged;return m.a.createElement("div",Is()({},t,{key:t.key,style:Gs(Gs({},t.style),{},{height:"16px",width:"16px",borderRadius:"100%",backgroundColor:e?"#C8E265":"#191700",display:"flex",justifyContent:"center",alignItems:"center",boxShadow:"0.5px 0.5px 0px 0px rgba(0, 0, 0, 0.20)",border:"1px solid #C8E265"})}))}}),m.a.createElement(I,{value:s[0],onChange:function(e){var t=Number(e);isNaN(t)?""===e&&(f([0]),c(0)):(f([t]),c(t))},onBlur:function(){var e=s[0],e=Number(e);!isNaN(e)&&e<o&&(f([o]),c(o))},min:o})),a&&m.a.createElement("span",{style:{color:"var(--text-text-error)",display:"flex",alignItems:"center",gap:4}},m.a.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},m.a.createElement("path",{d:"M8 14C11.3137 14 14 11.3137 14 8C14 4.68629 11.3137 2 8 2C4.68629 2 2 4.68629 2 8C2 11.3137 4.68629 14 8 14Z",stroke:"#CC0A00",strokeLinecap:"round",strokeLinejoin:"round"}),m.a.createElement("path",{d:"M8 8.5V5",stroke:"#CC0A00",strokeLinecap:"round",strokeLinejoin:"round"}),m.a.createElement("path",{d:"M8 11.25C8.27614 11.25 8.5 11.0261 8.5 10.75C8.5 10.4739 8.27614 10.25 8 10.25C7.72386 10.25 7.5 10.4739 7.5 10.75C7.5 11.0261 7.72386 11.25 8 11.25Z",fill:"#CC0A00"})),a),r&&m.a.createElement(xl,{text:r}))}function Qs(e){var t=e.element,n=Pt(t);return m.a.createElement(m.a.Fragment,null,m.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-form-group")},m.a.createElement(Zs,{element:t}),m.a.createElement(L,{style:{marginLeft:-20},extraWidth:"40px"}),m.a.createElement(O,{label:"Text color",value:x(t,"color"),onChange:function(e){t.style.color=e}}),m.a.createElement(L,{style:{marginLeft:-20,marginBottom:0},extraWidth:"40px"}),m.a.createElement("div",{className:"title__medium"},"Spacing"),m.a.createElement(Ks,{label:"Between columns",value:2*P(n[0],"padding-right"),onChange:function(t){n.forEach(function(e){e.style.paddingLeft="".concat(t/2,"px"),e.style.paddingRight="".concat(t/2,"px")})},min:0,max:150,step:1}),m.a.createElement(Ks,{label:"Between rows",value:2*P(n[0],"padding-bottom"),onChange:function(t){n.forEach(function(e){e.style.paddingTop="".concat(t/2,"px"),e.style.paddingBottom="".concat(t/2,"px")})},min:0,max:150,step:1}),m.a.createElement(Ds,{element:t})))}function Js(e){var t=e.element,n=Zt(t);return m.a.createElement(m.a.Fragment,null,m.a.createElement(_s,null,m.a.createElement(Ss,null,m.a.createElement(Ps,{index:0},"Content"),m.a.createElement(Ps,{index:1},"Design")),m.a.createElement(L,{style:{marginLeft:-20},extraWidth:"40px"}),m.a.createElement(ks,{index:0},m.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-form-group")},m.a.createElement(I,{label:"Text",value:t.innerText,onChange:function(e){t.innerText=e},multiline:6}),m.a.createElement(I,{label:"URL",value:t.href,onChange:function(e){t.href=e}}),m.a.createElement(bu,{label:"Open in a new tab",value:t.target||!1,onChange:function(e){t.target=e?"_blank":""}}),m.a.createElement(M,{element:t,type:"font-and-size"}))),m.a.createElement(ks,{index:1},m.a.createElement("div",{className:"title__medium"},"Button"),m.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-form-group")},m.a.createElement(O,{label:"Text color",value:x(t,"color"),onChange:function(e){t.style.color=e}}),m.a.createElement(M,{element:t,type:"background",disableTitle:!0}),m.a.createElement(Vs,{label:"Position",value:x(n,"text-align"),options:[{value:"left",component:m.a.createElement(Rc,null)},{value:"center",component:m.a.createElement(Ic,null)},{value:"right",component:m.a.createElement(Oc,null)}],onChange:function(e){n.style.textAlign=e}}),m.a.createElement(L,{style:{marginLeft:-20,marginTop:8,marginBottom:8},extraWidth:"40px"}),m.a.createElement(M,{element:t,type:"border-radius",borderRadiusConf:{min:0,max:100},title:"Button radius"}),m.a.createElement(L,{style:{marginLeft:-20,marginTop:8,marginBottom:8},extraWidth:"40px"}),m.a.createElement(M,{element:t,type:"padding",title:"Button padding"}),m.a.createElement(L,{style:{marginLeft:-20,marginTop:8,marginBottom:8},extraWidth:"40px"}),m.a.createElement(Ds,{element:t})))))}function e1(e){return e=e.element,m.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-form-group")},m.a.createElement(Zs,{element:e}),m.a.createElement(L,{style:{marginLeft:-20,marginBottom:0},extraWidth:"40px"}),m.a.createElement(M,{element:e,type:"background"}),m.a.createElement(M,{element:e,type:"padding"}))}function t1(e){var t=e.element;return m.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-form-group")},m.a.createElement(Zs,{element:t}),m.a.createElement(L,{style:{marginLeft:-20},extraWidth:"40px"}),m.a.createElement(O,{label:"Text color",value:x(t,"color"),onChange:function(e){t.style.color=e}}),m.a.createElement(O,{label:"Background color",value:x(t,"background-color"),onChange:function(e){t.style.backgroundColor=e}}))}function n1(e){var t=e.element;return m.a.createElement(m.a.Fragment,null,m.a.createElement(_s,null,m.a.createElement(Ss,null,m.a.createElement(Ps,{index:0},"Type"),m.a.createElement(Ps,{index:1},"Design")),m.a.createElement(L,{style:{marginLeft:-20},extraWidth:"40px"}),m.a.createElement(ks,{index:0},m.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-form-group")},m.a.createElement(M,{element:t,type:"border-type"}))),m.a.createElement(ks,{index:1},m.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-form-group")},m.a.createElement(O,{label:"Divider color",value:x(t,"color"),onChange:function(e){t.style.color=e}}),m.a.createElement(Ds,{element:t})))))}function r1(e){var t=e.element,e=_t(t,"order_table_header"),n=_t(t,"order_details_title"),r=_t(t,"order_table_thead"),a=_t(t,"order_table_summary"),o=f(t,"order_table_summary_wrapper"),i=f(t,"order_table_summary_total_wrapper");return m.a.createElement(m.a.Fragment,null,m.a.createElement(_s,null,m.a.createElement(Ss,null,m.a.createElement(Ps,{index:0},"Content"),m.a.createElement(Ps,{index:1},"Design")),m.a.createElement(L,{style:{marginLeft:-20},extraWidth:"40px"}),m.a.createElement(ks,{index:0},m.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-form-group")},0<n.length&&m.a.createElement(m.a.Fragment,null,m.a.createElement("div",{className:"title__medium"},"Order title"),m.a.createElement(M,{element:n[0],type:"font-and-size",eleArr:n}),m.a.createElement(I,{label:"Order title",value:n[0].innerText,onChange:function(e){n[0].innerText=e}}),m.a.createElement(Vs,{label:"Alignment",value:x(n[0],"text-align"),options:[{value:"left",component:m.a.createElement(Rc,null)},{value:"center",component:m.a.createElement(Ic,null)},{value:"right",component:m.a.createElement(Oc,null)}],onChange:function(e){n[0].style.textAlign=e}}),m.a.createElement(L,{style:{marginLeft:-20,marginTop:8,marginBottom:8},extraWidth:"40px"})),0<e.length&&m.a.createElement(m.a.Fragment,null,m.a.createElement("div",{className:"title__medium"},"Table header"),m.a.createElement(M,{element:e[0],type:"font-and-size",eleArr:e}),m.a.createElement(I,{label:"Product title",value:f(t,"order_table_header_product").innerText,onChange:function(e){f(t,"order_table_header_product").innerText=e}}),m.a.createElement(I,{label:"Quantity title",value:f(t,"order_table_header_quantity").innerText,onChange:function(e){f(t,"order_table_header_quantity").innerText=e}}),m.a.createElement(I,{label:"Price title",value:f(t,"order_table_header_price").innerText,onChange:function(e){f(t,"order_table_header_price").innerText=e}}),m.a.createElement(L,{style:{marginLeft:-20,marginTop:8,marginBottom:8},extraWidth:"40px"})),m.a.createElement("div",{className:"title__medium"},"Table data"),m.a.createElement(M,{element:t,type:"font-and-size"}),m.a.createElement(L,{style:{marginLeft:-20,marginTop:8,marginBottom:8},extraWidth:"40px"}),0<a.length&&m.a.createElement(m.a.Fragment,null,m.a.createElement("div",{className:"title__medium"},"Order summary"),m.a.createElement(M,{element:a[0],type:"font-and-size",eleArr:a}),m.a.createElement(I,{label:"Subtotal title",value:f(t,"order_table_summary_subtotal").innerText,onChange:function(e){f(t,"order_table_summary_subtotal").innerText=e}}),f(t,"order_table_summary_discount")&&m.a.createElement(I,{label:"Discount title",value:f(t,"order_table_summary_discount").innerText,onChange:function(e){f(t,"order_table_summary_discount").innerText=e}}),m.a.createElement(I,{label:"Shipping title",value:f(t,"order_table_summary_shipping").innerText,onChange:function(e){f(t,"order_table_summary_shipping").innerText=e}}),m.a.createElement(I,{label:"Payment title",value:f(t,"order_table_summary_payment_method").innerText,onChange:function(e){f(t,"order_table_summary_payment_method").innerText=e}}),m.a.createElement(I,{label:"Total title",value:f(t,"order_table_summary_total").innerText,onChange:function(e){f(t,"order_table_summary_total").innerText=e}}),f(t,"order_table_summary_order_notes")&&m.a.createElement(I,{label:"Note title",value:f(t,"order_table_summary_order_notes").innerText,onChange:function(e){f(t,"order_table_summary_order_notes").innerText=e}})))),m.a.createElement(ks,{index:1},m.a.createElement("div",{className:"title__medium"},"Order title"),m.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-form-group")},0<n.length&&m.a.createElement(m.a.Fragment,null,m.a.createElement(O,{label:"Order title font color",value:x(n[0],"color"),onChange:function(t){n.forEach(function(e){e.style.color=t})}}),m.a.createElement(O,{label:"Order title background color",value:x(n[0],"background-color"),onChange:function(e){n[0].style.backgroundColor=e}})),0<r.length&&m.a.createElement(m.a.Fragment,null,m.a.createElement("div",{className:"title__medium"},"Table header"),m.a.createElement(O,{label:"Table header font color",value:x(r[0],"color"),onChange:function(t){r.forEach(function(e){e.style.color=t})}}),m.a.createElement(O,{label:"Table header background color",value:x(r[0],"background-color"),onChange:function(t){r.forEach(function(e){e.style.backgroundColor=t})}})),m.a.createElement("div",{className:"title__medium"},"Table data"),m.a.createElement(O,{label:"Order table item color",value:x(t,"color"),onChange:function(e){t.style.color=e}}),m.a.createElement("div",{className:"title__medium"},"Order summary"),o&&m.a.createElement(m.a.Fragment,null,m.a.createElement(O,{label:"Order summary font color",value:x(o,"color"),onChange:function(e){o.style.color=e}}),m.a.createElement(O,{label:"Order summary background color",value:x(o,"background-color"),onChange:function(e){o.style.backgroundColor=e}})),i&&m.a.createElement(m.a.Fragment,null,m.a.createElement(O,{label:"Order total font color",value:x(i,"color"),onChange:function(e){i.style.color=e}}),m.a.createElement(O,{label:"Order total background color",value:x(i,"background-color"),onChange:function(e){i.style.backgroundColor=e}})),m.a.createElement(Ds,{element:t})))))}function a1(e){var t=e.element,e=$t(t);return m.a.createElement(m.a.Fragment,null,m.a.createElement(_s,null,m.a.createElement(Ss,null,m.a.createElement(Ps,{index:0},"Content"),m.a.createElement(Ps,{index:1},"Design")),m.a.createElement(L,{style:{marginLeft:-20},extraWidth:"40px"}),m.a.createElement(ks,{index:0},m.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-form-group")},m.a.createElement(M,{element:t,type:"font-and-size"}),m.a.createElement(Vs,{label:"Alignment",value:x(t,"text-align"),options:[{value:"left",component:m.a.createElement(Rc,null)},{value:"center",component:m.a.createElement(Ic,null)},{value:"right",component:m.a.createElement(Oc,null)}],onChange:function(e){t.style.textAlign=e}}))),m.a.createElement(ks,{index:1},m.a.createElement("div",{className:"title__medium"},"Colors"),m.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-form-group")},m.a.createElement(O,{label:"Text color",value:x(t,"color"),onChange:function(e){t.style.color=e}}),m.a.createElement(M,{element:e,type:"background"}),m.a.createElement(M,{element:e,type:"border-radius"}),m.a.createElement(M,{element:e,type:"padding"})))))}function o1(e){return e=e.element,m.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-form-group")},m.a.createElement(Zs,{element:e}),m.a.createElement(L,{style:{marginLeft:-20},extraWidth:"40px"}),m.a.createElement(M,{element:e,type:"background"}),m.a.createElement(M,{element:e,type:"padding"}))}function i1(e){var n=e.element,e=Object(h.useState)({}),t=(e=b()(e,2))[0],r=e[1];return Object(h.useEffect)(function(){var e,t;r(((t={}).title=w(e=n,"title"),t.type=w(e,"ele_type"),t.short_code=w(e,"short_code"),t.selector=w(e,"selector"),t.settings_status=w(e,"settings_status"),t))},[n]),m.a.createElement("div",{className:v.VIRFICE_APP_PREFIX+"-settings-wrapper"},"text"===(null==t?void 0:t.type)&&m.a.createElement(zs,{element:n}),"image"===(null==t?void 0:t.type)&&m.a.createElement(Us,{element:n}),"link"===(null==t?void 0:t.type)&&m.a.createElement(Js,{element:n}),"divider"===(null==t?void 0:t.type)&&m.a.createElement(n1,{element:n}),"row"===(null==t?void 0:t.type)&&m.a.createElement(Qs,{element:n}),"column"===(null==t?void 0:t.type)&&m.a.createElement(e1,{element:n}),"section"===(null==t?void 0:t.type)&&m.a.createElement(t1,{element:n}),"wrapper"===(null==t?void 0:t.type)&&m.a.createElement(o1,{element:n}),"woocommerce_email_order_details"===(null==t?void 0:t.type)&&m.a.createElement(r1,{element:n}),"woocommerce_email_order_address"===(null==t?void 0:t.type)&&m.a.createElement(a1,{element:n}))}function l1(e){var t=e.open,n=e.title,r=void 0!==(r=e.className)&&r,a=e.children,o=e.onOpen,e=Object(h.useState)(t),i=(e=b()(e,2))[0],l=e[1],e=(Object(h.useEffect)(function(){l(t)},[t]),Object(h.useEffect)(function(){i&&o&&o()},[i]),X()(g()({},v.VIRFICE_APP_PREFIX+"-accordion",!0),r));return m.a.createElement("div",{className:e},m.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-accordion-header ").concat(i?" ".concat(v.VIRFICE_APP_PREFIX,"-active"):""),onClick:function(){l(!i)}},m.a.createElement("div",null,n),i?m.a.createElement(Fc,null):m.a.createElement(Ac,null)),i&&m.a.createElement("div",{className:v.VIRFICE_APP_PREFIX+"-accordion-content"},a))}function c1(e){function r(e){return n.logo&&e.querySelector('[virfice-short_code="store_logo"]')&&(e.querySelector('[virfice-short_code="store_logo"]').src=n.logo),e}e.title;var a=e.html,t=e.preview,o=e.isComingSoon,n=(Object(h.useRef)(null),A(function(e){return e.virficeBrandSettings.changedSettings})),i=A(function(e){return null==(e=e.builder)?void 0:e.selectedSectionId}),l=A(function(e){return null==(e=e.builder)?void 0:e.hoveredSectionId});return Object(h.useEffect)(function(){},[]),m.a.createElement("div",{className:v.VIRFICE_APP_PREFIX+"-single-ready-block"},m.a.createElement("div",{className:v.VIRFICE_APP_PREFIX+"-single-ready-block-html-wrapper",onClick:function(){var t,n,e;o||((e=document.createElement("div")).innerHTML=a,0!==(e=Array.from(e.children).map(r)).length&&((t=Xt(l||i))?e.reverse().forEach(function(e){t.parentNode.insertBefore(e,t.nextSibling)}):(n=E().templateWrapper,e.forEach(function(e){return n.append(e)})),Ct(),e=e[0])&&(e=w(e,"id"),Dt(e),kt({element:Xt(e),parent:E().body})))},style:{position:"relative",cursor:o?"not-allowed":"default"}},o&&m.a.createElement("div",{style:{position:"absolute",top:4,right:4}},m.a.createElement(lu,{type:"warning",title:"Coming Soon"})),m.a.createElement("img",{src:t})))}function u1(){var e=j(),t=A(function(e){return e.readyBlocks.loaded}),n=A(function(e){return e.readyBlocks.data}),r=Object(h.useState)(0),a=(r=b()(r,2))[0],o=r[1];return Object(h.useEffect)(function(){t||e(xt())},[]),t?(r=n.map(function(e){return{title:e.tag,id:e.tag,blocks:e.templates.map(function(e){return{title:e.title,html:e.content,preview:e.image,isComingSoon:e.isComingSoon}})}}),m.a.createElement("div",{className:v.VIRFICE_APP_PREFIX+"-ready-blocks-wrapper"},r.map(function(e,t){return m.a.createElement(l1,{title:e.title,key:e.id,open:t===a,onOpen:function(){o(t)}},e.blocks.map(function(e,t){var n=e.title;return m.a.createElement(c1,{key:t,title:n,html:e.html,preview:e.preview,isComingSoon:e.isComingSoon})}),m.a.createElement(L,{style:{marginLeft:-20,marginBottom:0},extraWidth:"40px"}))}))):"Loading..."}function s1(e){return null!=e&&e.hex?e.hex:e}function f1(e){function t(e){c(e),o(s1(e))}function n(){var e;d.current&&(e=d.current.getBoundingClientRect(),e=window.innerHeight-e.bottom,f(e<296?"bottom":"top"))}var r=e.label,a=void 0===(u=e.value)?"#000000":u,o=void 0===(u=e.onChange)?function(){}:u,e=Object(h.useState)(!1),i=(u=b()(e,2))[0],l=u[1],e=Object(h.useState)(a),e=(u=b()(e,2))[0],c=u[1],u=Object(h.useState)("top"),s=(u=b()(u,2))[0],f=u[1],u=Al(function(){i&&l(!1)}),d=Object(h.useRef)(null),s=(Object(h.useEffect)(function(){c(a)},[a]),{color:{width:"100%",height:"24px",background:s1(e),borderRadius:"3px"},swatch:{padding:"5px",background:"#fff",cursor:"pointer",width:"100%",borderRadius:"4px"},popover:g()({position:"absolute",zIndex:"2"},s,"calc(100% ".concat("top"===s?"- 30px":"+ 36px",")"))});return m.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-paintfield-wrapper")},r&&m.a.createElement("label",{className:"body__medium"},r),m.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-flex ").concat(v.VIRFICE_APP_PREFIX,"-w-100")},m.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-color-code")},m.a.createElement("div",{style:s.swatch,onClick:function(){i||n(),l(!i)},ref:d},m.a.createElement("div",{style:s.color})),i&&m.a.createElement("div",{style:s.popover,ref:u},m.a.createElement(kl,{color:s1(e),onChange:t,disableAlpha:!0}))),m.a.createElement(I,{placeholder:"code",value:s1(e),onChange:t})))}function d1(){var t=E().templateWrapper,n=E().body;return t&&n?m.a.createElement("div",{style:{width:"100%"}},m.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-flex")},m.a.createElement("div",{className:"title__medium"},"Email background")),m.a.createElement(L,{style:{marginLeft:-20},extraWidth:"40px"}),m.a.createElement("div",{className:v.VIRFICE_APP_PREFIX+"-settings-wrapper"},m.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-form-group")},m.a.createElement(f1,{label:"Body background",value:x(t,"background-color"),onChange:function(e){t.style.backgroundColor=e}}),m.a.createElement(f1,{label:"Outer background",value:x(n,"background-color"),onChange:function(e){n.style.backgroundColor=e}})))):null}function p1(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)),r}function h1(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?p1(Object(n),!0).forEach(function(e){g()(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):p1(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function m1(e){function t(e,t){e=h1(h1({},a),{},g()({},e,t)),r(ft({key:"changedSettings",value:e})),r(Tt({key:"global_style",value:n(e)}))}function n(e){var t=e.email_outer_background_color,n=e.email_background_color,r=e.email_body_width,a=e.email_body_text,o=e.email_body_button_bg,i=e.email_body_button_color,l=e.header_text_color,c=e.header_background_color,u=e.footer_text_color,e=e.footer_background_color;return"<style>\n       body{\n            margin: 0;\n            padding: 0;\n            background-color: ".concat(t,";\n            color: ").concat(a,";\n        }\n        .virfice-template-wrapper{\n            width: ").concat(r,"px;\n            max-width: 100%;\n            margin: auto;\n            background-color: ").concat(n,";\n        }\n        .virfice-template-wrapper table {\n            width: 100%;\n            border-collapse: collapse;\n        }\n        .virfice-template-wrapper a {\n            text-decoration: none;\n            color: inherit;\n        }\n       .virfice-template-wrapper h2 {\n            font-size: 20px;\n            color: inherit;\n        }\n        .virfice-template-wrapper p {\n            font-size: 16px;\n            line-height: 1.5;\n        }\n        .virfice-template-wrapper [virfice-ele_type='link']{\n            display: inline-block;\n            color: ").concat(i,";\n            background-color: ").concat(o,";\n        }\n        .virfice-template-wrapper img {\n            max-width: 100%;\n            height: auto;\n            display: block;\n            border: 0;\n        }\n        .virfice-template-wrapper .virfice-email-header{\n            color: ").concat(l,";\n            background-color: ").concat(c,";\n        }\n        .virfice-template-wrapper .virfice-email-footer{\n            color: ").concat(u,";\n            background-color: ").concat(e,";\n        }\n        </style>")}e.element;var r=j(),a=A(function(e){return e.virficeBrandSettings.changedSettings});return m.a.createElement(m.a.Fragment,null,m.a.createElement(l,{className:"".concat(v.VIRFICE_APP_PREFIX,"-flex-col"),style:{gap:0}},m.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-form-group")},m.a.createElement("div",{className:"title__medium"},"Email appearance"),m.a.createElement(T,{label:"Email width",value:a.email_body_width,onChange:function(e){t("email_body_width",e)},min:400,max:800,step:1}),m.a.createElement(Xs,{label:"Logo",value:a.logo,onDelete:function(){t("logo","")},onSelect:function(e){t("logo",e.url)},info:"An image you want to show in the email header."}),m.a.createElement(I,{label:"Store name",value:a.store_name,onChange:function(e){t("store_name",e)}}))),m.a.createElement(l,{className:"".concat(v.VIRFICE_APP_PREFIX,"-flex-col"),style:{gap:0}},m.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-form-group")},m.a.createElement("div",{className:"title__medium"},"Background colors"),m.a.createElement(f1,{label:"Email background",value:a.email_background_color,onChange:function(e){t("email_background_color",e)}}),m.a.createElement(f1,{label:"Outer background",value:a.email_outer_background_color,onChange:function(e){t("email_outer_background_color",e)}}))),m.a.createElement(l,{className:"".concat(v.VIRFICE_APP_PREFIX,"-flex-col"),style:{gap:0}},m.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-form-group")},m.a.createElement("div",{className:"title__medium"},"Body colors"),m.a.createElement(f1,{label:"Text",value:a.email_body_text,onChange:function(e){t("email_body_text",e)}}),m.a.createElement(f1,{label:"Button",value:a.email_body_button_bg,onChange:function(e){t("email_body_button_bg",e)}}),m.a.createElement(f1,{label:"Button text",value:a.email_body_button_color,onChange:function(e){t("email_body_button_color",e)}}))))}function g1(){var e=A(function(e){return null==(e=e.builder)?void 0:e.selectedElementId}),t=A(function(e){return null==(e=e.builder)?void 0:e.showReadyBlocks}),n=Object(h.useState)(!1),r=(n=b()(n,2))[0],a=n[1],n=Object(h.useState)(!1),o=(n=b()(n,2))[0],i=n[1];return Object(h.useEffect)(function(){a(!!e&&Xt(e))},[e]),Object(h.useEffect)(function(){E().editorWrapper&&i(!0)},[E().editorWrapper]),o?m.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-builder-right-panel-wrapper")},m.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-flex-col ").concat(v.VIRFICE_APP_PREFIX,"-gap-20")},((n=r)?"brand-settings"===w(n,"ele_type"):null)||Tl("menu","virfice-brand-settings")?m.a.createElement(m1,{element:r}):m.a.createElement(l,{className:"".concat(v.VIRFICE_APP_PREFIX,"-flex-col"),style:{gap:0}},t&&m.a.createElement(u1,{category:"*"}),!t&&m.a.createElement(m.a.Fragment,null,r?m.a.createElement(m.a.Fragment,null,m.a.createElement(bs,{element:r}),m.a.createElement(L,{style:{marginLeft:-20},extraWidth:"40px"}),m.a.createElement(i1,{element:r})):m.a.createElement(d1,null))))):null}function v1(){return m.a.createElement(B,{size1280:!0},m.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-flex ").concat(v.VIRFICE_APP_PREFIX,"-gap-20")},m.a.createElement(vs,null),m.a.createElement(g1,null)))}function b1(e){var t=e.template_id,n=j();return Object(h.useEffect)(function(){t&&(n(Et(t)),n(ct()),n(xt()))},[t]),m.a.createElement(v1,null)}function y1(){var e=Ml("email_id"),t=j(),n=A(function(e){return null==(e=e.wooEmailSingle)?void 0:e.virfice_template}),r=A(function(e){return e.builder.post});return Object(h.useEffect)(function(){t(mt(e)),t(gt(e))},[]),m.a.createElement(m.a.Fragment,null,m.a.createElement(du,{backAction:function(){window.location.href=F({menu:"woo-email-list"})},discardAction:function(){E().templateWrapper.innerHTML=r.post_content,Ct(),t(y({title:"Template discarded",type:"success"}))},saveAction:function(){n.id&&(t(wt(n.id,{post_content:St()})),Hl().then(function(){}))},saveButtonText:"Save",saveAndNextAction:function(){n.id&&(t(wt(n.id,{post_content:St()})),Hl().then(function(){window.location.href=F({menu:"woo-email-edit-preview-virfice",email_id:e})}))},saveAndNextButtonText:"Save & Next",size1280:!0,marginBottom:!1}),m.a.createElement("section",{className:"".concat(v.VIRFICE_APP_PREFIX,"-builder-section-main")},n.id&&m.a.createElement(b1,{template_id:n.id}),!n.id&&"Loading..."))}function E1(){var e=A(function(e){return e.globalSettings["changedSettings-email"]}),t=A(function(e){return null==(e=e.wooEmailSingle)?void 0:e.changedSettings}),n=A(function(e){return null==(e=e.wooEmailSingle)||null==(e=e.email)||null==(e=e.settings)?void 0:e.form_fields});return n&&e&&t?m.a.createElement("div",{style:{width:368}},m.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-inbox-preview")},m.a.createElement("div",{style:{marginBottom:16}},m.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-flex"),style:{alignItems:"center"}},m.a.createElement(bc,null),m.a.createElement("span",{style:{marginLeft:4}},"Inbox Preview"))),m.a.createElement("div",null,m.a.createElement("img",{src:virfice.assetsBase+"/inbox-preview.webp",alt:"inbox-preview",style:{width:"100%"}}),m.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-inbox-preview-active")},m.a.createElement("img",{src:virfice.assetsBase+"/v.webp"}),m.a.createElement("div",null,m.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-inbox-preview-active-title")},e.woocommerce_email_from_name||"Virfice"),m.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-inbox-preview-active-sub-title")},t.subject||t.subject_full||(null==n||null==(e=n.subject)?void 0:e.placeholder)||(null==n||null==(e=n.subject_full)?void 0:e.placeholder)),m.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-inbox-preview-active-message")},t.virfice_preview_text||"No preview text")))))):null}function w1(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)),r}function x1(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?w1(Object(n),!0).forEach(function(e){g()(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):w1(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function C1(e){var t,n,e=e.onPreviewButtonClick,r=j(),a=A(function(e){return null==(e=e.wooEmailSingle)||null==(e=e.email)||null==(e=e.settings)?void 0:e.form_fields}),o=A(function(e){return e.globalSettings["changedSettings-email"]}),i=A(function(e){return null==(e=e.wooEmailSingle)?void 0:e.changedSettings});if(a)return t=function(e,t){r(Ft({key:"changedSettings-email",value:x1(x1({},o),{},g()({},e,t))}))},n=function(e,t){r(It({key:"changedSettings",value:x1(x1({},i),{},g()({},e,t))}))},m.a.createElement("div",{style:{flexGrow:1}},m.a.createElement("div",{style:{marginBottom:24}},m.a.createElement(p,{small:!0,type:"secondary",title:"Preview Email",onClick:e,leftIcon:m.a.createElement(Jc,null)})),m.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-form-group")},m.a.createElement(I,{placeholder:(null==a||null==(e=a.subject)?void 0:e.placeholder)||(null==a||null==(e=a.subject_full)?void 0:e.placeholder),label:"Subject",value:i.subject||"",onChange:function(e){n("subject",e)},multiline:5,helpText:m.a.createElement("span",{dangerouslySetInnerHTML:{__html:Gu((null==a||null==(e=a.subject)?void 0:e.description)||(null==a||null==(e=a.subject_full)?void 0:e.description))}})}),m.a.createElement(I,{value:i.virfice_preview_text||"",label:"Preview text",multiline:5,onChange:function(e){n("virfice_preview_text",e)}}),m.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-flex"),style:{gap:16}},m.a.createElement(I,{label:"Sender email",value:o.woocommerce_email_from_address||"",onChange:function(e){t("woocommerce_email_from_address",e)}}),m.a.createElement(I,{label:"Sender name",value:o.woocommerce_email_from_name||"",onChange:function(e){t("woocommerce_email_from_name",e)}}))))}function _1(){return m.a.createElement("svg",{viewBox:"0 0 600 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},m.a.createElement("path",{d:"M0 8C0 3.85786 3.35786 0.5 7.5 0.5H592.5C596.642 0.5 600 3.85786 600 8V19.25H0V8Z",fill:"#F2F2F5"}),m.a.createElement("circle",{cx:11.25,cy:9.875,r:2.8125,fill:"#F3605C"}),m.a.createElement("circle",{cx:22.5,cy:9.875,r:2.8125,fill:"#F8BE39"}),m.a.createElement("circle",{cx:33.75,cy:9.875,r:2.8125,fill:"#50C845"}))}function P1(e){function t(e){console.log(e),l(e)}var n=e.template_id,e=e.onClose,r=j(),a=A(function(e){return e.builder.preview_url}),o=(A(function(e){return e.builder.global_style}),A(function(e){return e.builder.html}),Object(h.useState)("desktop")),i=(o=b()(o,2))[0],l=o[1];return Object(h.useEffect)(function(){n&&(console.log("get template html",n),r(Et(n)))},[n]),m.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-template-preview-wrapper")},m.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-desktop"),style:{width:"desktop"===i?600:400}},"desktop"===i&&m.a.createElement(_1,null),m.a.createElement(zu,{src:a,style:{width:"desktop"===i?600:400}})),m.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-actions")},m.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-flex")},m.a.createElement(p,{type:"tertiary",icon:m.a.createElement(Cc,null),isActive:"desktop"===i,onClick:function(){t("desktop")}}),m.a.createElement(p,{type:"tertiary",icon:m.a.createElement(_c,null),isActive:"mobile"===i,onClick:function(){t("mobile")}}),m.a.createElement(p,{type:"tertiary",icon:m.a.createElement(wc,null),onClick:e}))))}function k1(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)),r}function S1(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?k1(Object(n),!0).forEach(function(e){g()(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):k1(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function R1(){var t=j(),n=A(function(e){return null==(e=e.wooEmailSingle)?void 0:e.changedSettings});return m.a.createElement(bu,{value:"yes"===n.enabled||!1,onChange:function(e){t(It({key:"changedSettings",value:S1(S1({},n),{},{enabled:e?"yes":"no"})}))},type:"toggle"})}function I1(){var n=j(),r=oc(),e=Ml("email_id"),t=A(function(e){return null==(e=e.wooEmailSingle)||null==(e=e.email)?void 0:e.loaded}),a=Object(h.useState)(!1),o=(a=b()(a,2))[0],i=a[1],a=A(function(e){return e.globalSettings.email.loaded}),l=A(function(e){return null==(e=e.wooEmailSingle)||null==(e=e.email)?void 0:e.settings}),c=A(function(e){return null==(e=e.wooEmailSingle)?void 0:e.virfice_template});return Object(h.useEffect)(function(){n(mt(e)),n(bt(["email"])),n(gt(e))},[]),t?o?m.a.createElement(P1,{template_id:c.id,onClose:function(){i(!1)}}):m.a.createElement(m.a.Fragment,null,m.a.createElement(du,{backAction:function(){window.location.href=F({menu:"woo-email-edit-virfice",email_id:e})},discardAction:function(){window.location.href=F({menu:"woo-email-list"})},discardButtonText:"Cancel",saveAction:function(){var e=r.getState(),t=e.wooEmailSingle.email.settings,e=e.wooEmailSingle.changedSettings;n(vt(t.id,{changedSettings:e})),n(yt("email"))}}),m.a.createElement("section",null,m.a.createElement(nu,{heading:null==l?void 0:l.title,subHeading:null==l?void 0:l.description,quickAction:m.a.createElement(R1,null)}),m.a.createElement(B,null,m.a.createElement("div",{style:{marginTop:36}},m.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-flex"),style:{gap:64}},m.a.createElement(E1,null),a&&m.a.createElement(C1,{onPreviewButtonClick:function(){i(!0)}})))))):m.a.createElement(m.a.Fragment,null,"loading")}function O1(){return m.a.createElement(m.a.Fragment,null,Tl("menu","woo-email-edit")&&m.a.createElement(ns,null),Tl("menu","woo-email-edit-virfice")&&m.a.createElement(y1,null),Tl("menu","woo-email-edit-preview-virfice")&&m.a.createElement(I1,null))}function F1(){var e=j(),t=A(function(e){return e.virficeBrandSettings.settings.loaded}),n=A(function(e){return e.virficeBrandSettings.settings.data}),r=A(function(e){return e.virficeBrandSettings.changedSettings}),a=(Object(h.useEffect)(function(){e(ct())},[]),(null==n?void 0:n.template_id)||!1);return t?m.a.createElement(m.a.Fragment,null,m.a.createElement(du,{backAction:function(){window.location.href=F({menu:""})},discardAction:function(){e(ft({key:"changedSettings",value:n})),e(y({title:"Settings discarded",type:"danger"}))},saveAction:function(){e(ut(r)),Hl()},size1280:!0}),m.a.createElement("section",null,m.a.createElement(nu,{heading:"Brand settings",subHeading:"Customize the look and feel of all WooCommerce emails globally. Let your emails represent your store.",size1280:!0}),m.a.createElement("section",{className:"".concat(v.VIRFICE_APP_PREFIX,"-builder-section-main ").concat(v.VIRFICE_APP_PREFIX,"-builder-section-main-brand-settings")},a&&m.a.createElement(b1,{template_id:a}),!a&&"Loading..."))):m.a.createElement(su,null)}function A1(){var e=Ml("template_id"),t=j();return m.a.createElement(m.a.Fragment,null,m.a.createElement(du,{backAction:function(){var e=window.location.origin,e="".concat(e,"/wp-admin/edit.php?post_type=virfice_template");window.location.href=e},discardAction:function(){},saveAction:function(){console.log("save button click"),t(wt(e,{post_content:St()})),t(y({title:"Template saved",type:"success"}))},saveButtonText:"Save",size1280:!0,marginBottom:!1}),m.a.createElement("section",{className:"".concat(v.VIRFICE_APP_PREFIX,"-builder-section-main")},e&&m.a.createElement(b1,{template_id:e}),!e&&"Loading..."))}function j1(){return Tl("menu","virfice-brand-settings")?m.a.createElement(F1,null):Tl("menu","woo-email-list")?m.a.createElement(pu,null):Tl("menu","woo-email-edit")||Tl("menu","woo-email-edit-virfice")||Tl("menu","woo-email-edit-preview-virfice")?m.a.createElement(O1,null):Tl("menu","virfice-template-edit")?m.a.createElement(A1,null):Tl("menu","settings")?m.a.createElement(Fu,null):m.a.createElement(tu,null)}function L1(e){var t=e.open,n=e.title,r=e.leftIcon,a=void 0===(a=e.type)?"success":a,o=e.notificationRef,e=void 0!==(e=e.className)&&e,a=X()(g()(g()(g()(g()({},v.VIRFICE_APP_PREFIX+"-notification-bell",!0),v.VIRFICE_APP_PREFIX+"-success","success"===a),"body__medium","success"===a),v.VIRFICE_APP_PREFIX+"-danger","danger"===a),e);return t?m.a.createElement("div",{className:a,ref:o},r,n):null}function T1(e,t){var n,r,a,o,i="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(i)return a=!(r=!0),{s:function(){i=i.call(e)},n:function(){var e=i.next();return r=e.done,e},e:function(e){a=!0,n=e},f:function(){try{r||null==i.return||i.return()}finally{if(a)throw n}}};if(Array.isArray(e)||(i=((e,t)=>{var n;if(e)return"string"==typeof e?M1(e,t):"Map"===(n="Object"===(n={}.toString.call(e).slice(8,-1))&&e.constructor?e.constructor.name:n)||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?M1(e,t):void 0})(e))||t&&e&&"number"==typeof e.length)return i&&(e=i),o=0,{s:t=function(){},n:function(){return o>=e.length?{done:!0}:{done:!1,value:e[o++]}},e:function(e){throw e},f:t};throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function M1(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function N1(){var t=Object(h.useRef)(null),n=A(function(e){return e.components.notificationBell}),r=(Object(h.useEffect)(function(){r();var e=document.body,t=new MutationObserver(function(e){var t=T1(e);try{for(t.s();!t.n().done;)r()}catch(e){t.e(e)}finally{t.f()}});return t.observe(e,{attributes:!0}),function(){t.disconnect()}},[n.open]),function(){var e;n.open&&t.current&&(e=document.querySelector("body.folded"),t.current.style.position="fixed",t.current.style.top="88px",e?(t.current.style.left="36px",t.current.style.width="calc(100% - 36px)"):(t.current.style.left="160px",t.current.style.width="calc(100% - 160px)"))});return n.open?m.a.createElement(L1,{title:n.title,type:n.type,open:n.open,notificationRef:t}):null}Si=t(1).VIRFICE_APP_PREFIX;z.a.createRoot(document.getElementById(Si+"-dashboard")).render(m.a.createElement(rc,{store:Nt},m.a.createElement(N1,null),m.a.createElement(j1,null))),console.log("Hello from Verfice")}]);
     57n=n(0);var s="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},a=n.useSyncExternalStore,o=n.useRef,f=n.useEffect,d=n.useMemo,p=n.useDebugValue;t.useSyncExternalStoreWithSelector=function(e,n,i,l,c){var u,t=o(null),r=(null===t.current?(u={hasValue:!1,value:null},t.current=u):u=t.current,t=d(function(){function e(e){var t;if(o)return n=a,s(r,e)||(t=l(e),void 0!==c&&c(n,t))?n:(r=e,a=t);if(o=!0,e=l(r=e),void 0!==c&&u.hasValue){var n=u.value;if(c(n,e))return a=n}return a=e}var r,a,o=!1,t=void 0===i?null:i;return[function(){return e(n())},null===t?void 0:function(){return e(t())}]},[n,i,l,c]),a(e,t[0],t[1]));return f(function(){u.hasValue=!0,u.value=r},[r]),p(r),r}},function(e,t,n){var r=n(13);e.exports=function(){return r.Date.now()}},function(e,t,n){var r=n(228),a=n(17),o=n(35),i=/^[-+]0x[0-9a-f]+$/i,l=/^0b[01]+$/i,c=/^0o[0-7]+$/i,u=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(o(e))return NaN;if(a(e)&&(t="function"==typeof e.valueOf?e.valueOf():e,e=a(t)?t+"":t),"string"!=typeof e)return 0===e?e:+e;e=r(e);var t=l.test(e);return t||c.test(e)?u(e.slice(2),t?2:8):i.test(e)?NaN:+e}},function(e,t,n){var r=n(229),a=/^\s+/;e.exports=function(e){return e&&e.slice(0,r(e)+1).replace(a,"")}},function(e,t){var n=/\s/;e.exports=function(e){for(var t=e.length;t--&&n.test(e.charAt(t)););return t}},function(e,t,n){var r,a,o=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}))(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var a=Object.getOwnPropertyDescriptor(t,n);a&&("get"in a?t.__esModule:!a.writable&&!a.configurable)||(a={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,a)}:function(e,t,n,r){e[r=void 0===r?n:r]=t[n]}),l=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),c=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&i(t,e,n);return l(t,e),t},h=this&&this.__spreadArray||function(e,t,n){if(n||2===arguments.length)for(var r,a=0,o=t.length;a<o;a++)!r&&a in t||((r=r||Array.prototype.slice.call(t,0,a))[a]=t[a]);return e.concat(r||Array.prototype.slice.call(t))},u=(Object.defineProperty(t,"__esModule",{value:!0}),c(n(0))),x=n(91),C=n(61),s=["ArrowRight","ArrowUp","k","PageUp"],f=["ArrowLeft","ArrowDown","j","PageDown"],c=(a=u.Component,o(d,a),d.prototype.componentDidMount=function(){var t=this,e=this.props,n=e.values,r=e.min,a=e.step;this.resizeObserver=window.ResizeObserver?new window.ResizeObserver(this.onResize):{observe:function(){return window.addEventListener("resize",t.onResize)},unobserve:function(){return window.removeEventListener("resize",t.onResize)}},document.addEventListener("touchstart",this.onMouseOrTouchStart,{passive:!1}),document.addEventListener("mousedown",this.onMouseOrTouchStart,{passive:!1}),this.props.allowOverlap||(0,x.checkInitialOverlap)(this.props.values),this.props.values.forEach(function(e){return(0,x.checkBoundaries)(e,t.props.min,t.props.max)}),this.resizeObserver.observe(this.trackRef.current),(0,x.translateThumbs)(this.getThumbs(),this.getOffsets(),this.props.rtl),this.calculateMarkOffsets(),n.forEach(function(e){(0,x.isStepDivisible)(r,e,a)||console.warn("The `values` property is in conflict with the current `step`, `min`, and `max` properties. Please provide values that are accessible using the min, max, and step values.")})},d.prototype.componentDidUpdate=function(e,t){var n=this.props,r=n.max,a=n.min,o=n.step,i=n.values,n=n.rtl;e.max===r&&e.min===a&&e.step===o||this.updateMarkRefs(this.props),(0,x.translateThumbs)(this.getThumbs(),this.getOffsets(),n),e.max===r&&e.min===a&&e.step===o&&t.markOffsets.length===this.state.markOffsets.length||(this.calculateMarkOffsets(),i.forEach(function(e){(0,x.isStepDivisible)(a,e,o)||console.warn("The `values` property is in conflict with the current `step`, `min`, and `max` properties. Please provide values that are accessible using the min, max, and step values.")}))},d.prototype.componentWillUnmount=function(){document.removeEventListener("mousedown",this.onMouseOrTouchStart,{passive:!1}),document.removeEventListener("mousemove",this.schdOnMouseMove),document.removeEventListener("touchmove",this.schdOnTouchMove),document.removeEventListener("touchstart",this.onMouseOrTouchStart),document.removeEventListener("mouseup",this.schdOnEnd),document.removeEventListener("touchend",this.schdOnEnd),this.resizeObserver.unobserve(this.trackRef.current)},d.prototype.render=function(){var r=this,e=this.props,a=e.label,o=e.labelledBy,t=e.renderTrack,i=e.renderThumb,n=e.renderMark,l=void 0===n?function(){return null}:n,c=e.values,u=e.min,s=e.max,f=e.allowOverlap,d=e.disabled,n=this.state,e=n.draggedThumbIndex,p=n.thumbZIndexes,n=n.markOffsets;return t({props:{style:{transform:"scale(1)",cursor:-1<e?"grabbing":this.props.draggableTrack?(0,x.isVertical)(this.props.direction)?"ns-resize":"ew-resize":1!==c.length||d?"inherit":"pointer"},onMouseDown:d?x.voidFn:this.onMouseDownTrack,onTouchStart:d?x.voidFn:this.onTouchStartTrack,ref:this.trackRef},isDragged:-1<this.state.draggedThumbIndex,disabled:d,children:h(h([],n.map(function(e,t,n){return l({props:{style:r.props.direction===C.Direction.Left||r.props.direction===C.Direction.Right?{position:"absolute",left:"".concat(e[0],"px"),marginTop:"".concat(e[1],"px")}:{position:"absolute",top:"".concat(e[0],"px"),marginLeft:"".concat(e[1],"px")},key:"mark".concat(t),ref:r.markRefs[t]},index:t})}),!0),c.map(function(e,t){var n=r.state.draggedThumbIndex===t;return i({index:t,value:e,isDragged:n,props:{style:{position:"absolute",zIndex:p[t],cursor:d?"inherit":n?"grabbing":"grab",userSelect:"none",touchAction:"none",WebkitUserSelect:"none",MozUserSelect:"none",msUserSelect:"none"},key:t,tabIndex:d?void 0:0,"aria-valuemax":!f&&c[t+1]||s,"aria-valuemin":!f&&c[t-1]||u,"aria-valuenow":e,draggable:!1,ref:r.thumbRefs[t],"aria-label":a,"aria-labelledby":o,role:"slider",onKeyDown:d?x.voidFn:r.onKeyDown,onKeyUp:d?x.voidFn:r.onKeyUp}})}),!0)})},d.defaultProps={label:"Accessibility label",labelledBy:null,step:1,direction:C.Direction.Right,rtl:!1,disabled:!1,allowOverlap:!1,draggableTrack:!1,min:0,max:100},d);function d(e){var w=a.call(this,e)||this;if(w.trackRef=u.createRef(),w.thumbRefs=[],w.state={draggedTrackPos:[-1,-1],draggedThumbIndex:-1,thumbZIndexes:new Array(w.props.values.length).fill(0).map(function(e,t){return t}),isChanged:!1,markOffsets:[]},w.getOffsets=function(){var o,i,e=w.props,l=e.direction,c=e.values,u=e.min,s=e.max,e=w.trackRef.current;return e?(o=e.getBoundingClientRect(),i=(0,x.getPaddingAndBorder)(e),w.getThumbs().map(function(e,t){var n={x:0,y:0},r=e.getBoundingClientRect(),a=(0,x.getMargin)(e);switch(l){case C.Direction.Right:return n.x=-1*(a.left+i.left),n.y=-1*((r.height-o.height)/2+i.top),n.x+=o.width*(0,x.relativeValue)(c[t],u,s)-r.width/2,n;case C.Direction.Left:return n.x=-1*(a.right+i.right),n.y=-1*((r.height-o.height)/2+i.top),n.x+=o.width-o.width*(0,x.relativeValue)(c[t],u,s)-r.width/2,n;case C.Direction.Up:return n.x=-1*((r.width-o.width)/2+a.left+i.left),n.y=-i.left,n.y+=o.height-o.height*(0,x.relativeValue)(c[t],u,s)-r.height/2,n;case C.Direction.Down:return n.x=-1*((r.width-o.width)/2+a.left+i.left),n.y=-i.left,n.y+=o.height*(0,x.relativeValue)(c[t],u,s)-r.height/2,n;default:return(0,x.assertUnreachable)(l)}})):(console.warn("No track element found."),[])},w.getThumbs=function(){return w.trackRef&&w.trackRef.current?Array.from(w.trackRef.current.children).filter(function(e){return e.hasAttribute("aria-valuenow")}):(console.warn("No thumbs found in the track container. Did you forget to pass & spread the `props` param in renderTrack?"),[])},w.getTargetIndex=function(t){return w.getThumbs().findIndex(function(e){return e===t.target||e.contains(t.target)})},w.addTouchEvents=function(e){document.addEventListener("touchmove",w.schdOnTouchMove,{passive:!1}),document.addEventListener("touchend",w.schdOnEnd,{passive:!1}),document.addEventListener("touchcancel",w.schdOnEnd,{passive:!1})},w.addMouseEvents=function(e){document.addEventListener("mousemove",w.schdOnMouseMove),document.addEventListener("mouseup",w.schdOnEnd)},w.onMouseDownTrack=function(t){var e,n;0!==t.button||(0,x.isIOS)()||(t.persist(),t.preventDefault(),w.addMouseEvents(t.nativeEvent),1<w.props.values.length&&w.props.draggableTrack?w.thumbRefs.some(function(e){return null==(e=e.current)?void 0:e.contains(t.target)})||w.setState({draggedTrackPos:[t.clientX,t.clientY]},function(){return w.onMove(t.clientX,t.clientY)}):(n=(0,x.getClosestThumbIndex)(w.thumbRefs.map(function(e){return e.current}),t.clientX,t.clientY,w.props.direction),null!=(e=w.thumbRefs[n].current)&&e.focus(),w.setState({draggedThumbIndex:n},function(){return w.onMove(t.clientX,t.clientY)})))},w.onResize=function(){(0,x.translateThumbs)(w.getThumbs(),w.getOffsets(),w.props.rtl),w.calculateMarkOffsets()},w.onTouchStartTrack=function(t){var e,n;t.persist(),w.addTouchEvents(t.nativeEvent),1<w.props.values.length&&w.props.draggableTrack?w.thumbRefs.some(function(e){return null==(e=e.current)?void 0:e.contains(t.target)})||w.setState({draggedTrackPos:[t.touches[0].clientX,t.touches[0].clientY]},function(){return w.onMove(t.touches[0].clientX,t.touches[0].clientY)}):(n=(0,x.getClosestThumbIndex)(w.thumbRefs.map(function(e){return e.current}),t.touches[0].clientX,t.touches[0].clientY,w.props.direction),null!=(e=w.thumbRefs[n].current)&&e.focus(),w.setState({draggedThumbIndex:n},function(){return w.onMove(t.touches[0].clientX,t.touches[0].clientY)}))},w.onMouseOrTouchStart=function(e){var t,n;w.props.disabled||!(t=(0,x.isTouchEvent)(e))&&0!==e.button||-1===(n=w.getTargetIndex(e))||(t?w.addTouchEvents(e):w.addMouseEvents(e),w.setState({draggedThumbIndex:n,thumbZIndexes:w.state.thumbZIndexes.map(function(e,t){return t===n?Math.max.apply(Math,w.state.thumbZIndexes):e<=w.state.thumbZIndexes[n]?e:e-1})}))},w.onMouseMove=function(e){e.preventDefault(),w.onMove(e.clientX,e.clientY)},w.onTouchMove=function(e){e.preventDefault(),w.onMove(e.touches[0].clientX,e.touches[0].clientY)},w.onKeyDown=function(e){var t=w.props,n=t.values,r=t.onChange,a=t.step,o=t.rtl,t=t.direction,i=w.state.isChanged,l=w.getTargetIndex(e.nativeEvent),o=o||t===C.Direction.Left||t===C.Direction.Down?-1:1;-1!==l&&(s.includes(e.key)?(e.preventDefault(),w.setState({draggedThumbIndex:l,isChanged:!0}),r((0,x.replaceAt)(n,l,w.normalizeValue(n[l]+o*("PageUp"===e.key?10*a:a),l)))):f.includes(e.key)?(e.preventDefault(),w.setState({draggedThumbIndex:l,isChanged:!0}),r((0,x.replaceAt)(n,l,w.normalizeValue(n[l]-o*("PageDown"===e.key?10*a:a),l)))):"Tab"===e.key?w.setState({draggedThumbIndex:-1},function(){i&&w.fireOnFinalChange()}):i&&w.fireOnFinalChange())},w.onKeyUp=function(e){var t=w.state.isChanged;w.setState({draggedThumbIndex:-1},function(){t&&w.fireOnFinalChange()})},w.onMove=function(e,t){var n=w.state,r=n.draggedThumbIndex,n=n.draggedTrackPos,a=w.props,o=a.direction,i=a.min,l=a.max,c=a.onChange,u=a.values,s=a.step,a=a.rtl;if(-1===r&&-1===n[0]&&-1===n[1])return null;var f=w.trackRef.current;if(!f)return null;var d=f.getBoundingClientRect(),p=(0,x.isVertical)(o)?d.height:d.width;if(-1!==n[0]&&-1!==n[1]){var h=e-n[0],m=t-n[1],g=0;switch(o){case C.Direction.Right:case C.Direction.Left:g=h/p*(l-i);break;case C.Direction.Down:case C.Direction.Up:g=m/p*(l-i);break;default:(0,x.assertUnreachable)(o)}if(a&&(g*=-1),Math.abs(g)>=s/2){for(var v=0;v<w.thumbRefs.length;v++){if(u[v]===l&&1===Math.sign(g)||u[v]===i&&-1===Math.sign(g))return;var b=u[v]+g;l<b?g=l-u[v]:b<i&&(g=i-u[v])}for(var y=u.slice(0),v=0;v<w.thumbRefs.length;v++)y=(0,x.replaceAt)(y,v,w.normalizeValue(u[v]+g,v));w.setState({draggedTrackPos:[e,t]}),c(y)}}else{var E=0;switch(o){case C.Direction.Right:E=(e-d.left)/p*(l-i)+i;break;case C.Direction.Left:E=(p-(e-d.left))/p*(l-i)+i;break;case C.Direction.Down:E=(t-d.top)/p*(l-i)+i;break;case C.Direction.Up:E=(p-(t-d.top))/p*(l-i)+i;break;default:(0,x.assertUnreachable)(o)}a&&(E=l+i-E),Math.abs(u[r]-E)>=s/2&&c((0,x.replaceAt)(u,r,w.normalizeValue(E,r)))}},w.normalizeValue=function(e,t){var n=w.props,r=n.min;return(0,x.normalizeValue)(e,t,r,n.max,n.step,n.allowOverlap,n.values)},w.onEnd=function(e){if(e.preventDefault(),document.removeEventListener("mousemove",w.schdOnMouseMove),document.removeEventListener("touchmove",w.schdOnTouchMove),document.removeEventListener("mouseup",w.schdOnEnd),document.removeEventListener("touchend",w.schdOnEnd),document.removeEventListener("touchcancel",w.schdOnEnd),-1===w.state.draggedThumbIndex&&-1===w.state.draggedTrackPos[0]&&-1===w.state.draggedTrackPos[1])return null;w.setState({draggedThumbIndex:-1,draggedTrackPos:[-1,-1]},function(){w.fireOnFinalChange()})},w.fireOnFinalChange=function(){w.setState({isChanged:!1});var e=w.props,t=e.onFinalChange;t&&t(e.values)},w.updateMarkRefs=function(e){if(e.renderMark){w.numOfMarks=(e.max-e.min)/w.props.step,w.markRefs=[];for(var t=0;t<w.numOfMarks+1;t++)w.markRefs[t]=u.createRef()}else w.numOfMarks=void 0,w.markRefs=void 0},w.calculateMarkOffsets=function(){if(w.props.renderMark&&w.trackRef&&w.numOfMarks&&w.markRefs&&null!==w.trackRef.current){for(var e=window.getComputedStyle(w.trackRef.current),t=parseInt(e.width,10),n=parseInt(e.height,10),r=parseInt(e.paddingLeft,10),a=parseInt(e.paddingTop,10),o=[],i=0;i<w.numOfMarks+1;i++){var l,c=9999,u=9999;w.markRefs[i].current&&(c=(l=w.markRefs[i].current.getBoundingClientRect()).height,u=l.width),w.props.direction===C.Direction.Left||w.props.direction===C.Direction.Right?o.push([Math.round(t/w.numOfMarks*i+r-u/2),-Math.round((c-n)/2)]):o.push([Math.round(n/w.numOfMarks*i+a-c/2),-Math.round((u-t)/2)])}w.setState({markOffsets:o})}},0===e.step)throw new Error('"step" property should be a positive number');return w.schdOnMouseMove=(0,x.schd)(w.onMouseMove),w.schdOnTouchMove=(0,x.schd)(w.onTouchMove),w.schdOnEnd=(0,x.schd)(w.onEnd),w.thumbRefs=e.values.map(function(){return u.createRef()}),w.updateMarkRefs(e),w}t.default=c},,,,function(N,e,t){t.r(e);function p(e){var t=void 0===(t=e.title)?"":t,n=e.icon,r=e.leftIcon,a=e.isActive,o=void 0===(o=e.type)?"primary":o,i=e.small,l=e.onClick,c=void 0===l?function(){}:l,u=void 0!==(l=e.link)&&l,s=void 0!==(l=e.target)&&l,e=void 0!==(l=e.disabled)&&l,o=X()((l={},h()(h()(h()(h()(h()(h()(h()(h()(h()(h()(l,v.VIRFICE_APP_PREFIX+"-btn",!0),v.VIRFICE_APP_PREFIX+"-btn-primary","primary"===o),v.VIRFICE_APP_PREFIX+"-btn-outline","outline"===o),v.VIRFICE_APP_PREFIX+"-btn-danger","danger"===o),v.VIRFICE_APP_PREFIX+"-btn-secondary","secondary"===o),v.VIRFICE_APP_PREFIX+"-btn-tertiary","tertiary"===o),v.VIRFICE_APP_PREFIX+"-btn-plain","plain"===o),v.VIRFICE_APP_PREFIX+"-active",a),v.VIRFICE_APP_PREFIX+"-icon",n),v.VIRFICE_APP_PREFIX+"-small",i),h()(l,"label__mediumprominent",!0)));return g.a.createElement("button",{className:o,onClick:function(e){e.stopPropagation(),!1!==u&&("_blank"===s?window.open(u,s):window.location.href=u),c&&c()},disabled:e},r,n,t)}function B(e){var t=e.children,e=e.size1280,n=X()(h()({},v.VIRFICE_APP_PREFIX+"-container",!0)),r={};return e&&(r.width=1280),g.a.createElement("div",{className:n,style:r},t)}function c(e){var t=e.children,n=void 0!==(n=e.className)&&n,r=void 0===(r=e.style)?{}:r,e=void 0!==(e=e.zeroPadding)&&e,e=X()(h()(h()({},v.VIRFICE_APP_PREFIX+"-card",!0),v.VIRFICE_APP_PREFIX+"-padding-0",!0===e),n);return g.a.createElement("div",{className:e,style:r},t)}function V(e){var t=e.heading,n=e.subHeading,r=e.ActionButton,e=e.Illustration;return g.a.createElement(c,{className:"".concat(v.VIRFICE_APP_PREFIX,"-callout-card ").concat(v.VIRFICE_APP_PREFIX,"-flex-space-between")},g.a.createElement("div",null,g.a.createElement("h2",{className:"".concat(v.VIRFICE_APP_PREFIX,"-heading")},t),g.a.createElement("p",{className:"".concat(v.VIRFICE_APP_PREFIX,"-sub-heading")},n),r),g.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-illustration-wrapper")},e))}function D(e){var t=e.title,e=e.Illustration;return g.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-feature-list-item ").concat(v.VIRFICE_APP_PREFIX,"-flex-col ").concat(v.VIRFICE_APP_PREFIX,"-gap-4")},g.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-illustration-wrapper")},e),g.a.createElement("p",{className:"".concat(v.VIRFICE_APP_PREFIX,"-title")},t))}var e={},z=(t.r(e),t.d(e,"hasBrowserEnv",function(){return te}),t.d(e,"hasStandardBrowserWebWorkerEnv",function(){return ae}),t.d(e,"hasStandardBrowserEnv",function(){return re}),t.d(e,"navigator",function(){return ne}),t.d(e,"origin",function(){return oe}),t(92)),z=t.n(z),m=t(0),g=t.n(m),n=t(6),h=t.n(n),n=t(8),X=t.n(n),v=t(1),n=t(93),H=t.n(n),n=t(4),b=t.n(n),n=t(62),U=t.n(n),n=t(12),r=Object(n.b)({name:v.VIRFICE_APP_PREFIX,initialState:{value:0},reducers:{increment:function(e){e.value+=1},decrement:function(e){--e.value},incrementByAmount:function(e,t){e.value+=t.payload}}}),a=r.actions,W=(a.increment,a.incrementByAmount),a=r.reducer,C=t(2),Z=t(38),$=t(19);function q(e){let t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(e){return t[e]})}function Y(e,t){this._pairs=[],e&&Object($.a)(e,this,t)}var r=Y.prototype,G=(r.append=function(e,t){this._pairs.push([e,t])},r.toString=function(t){let n=t?function(e){return t.call(this,e,q)}:q;return this._pairs.map(function(e){return n(e[0])+"="+n(e[1])},"").join("&")},Y);function K(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Q(t,n,r){if(n){var a=r&&r.encode||K,o=r&&r.serialize;let e;(e=o?o(n,r):C.a.isURLSearchParams(n)?n.toString():new G(n,r).toString(a))&&(-1!==(o=t.indexOf("#"))&&(t=t.slice(0,o)),t+=(-1===t.indexOf("?")?"?":"&")+e)}return t}var J=class{constructor(){this.handlers=[]}use(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){C.a.forEach(this.handlers,function(e){null!==e&&t(e)})}},_=t(7),ee={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},r={isBrowser:!0,classes:{URLSearchParams:"undefined"!=typeof URLSearchParams?URLSearchParams:G,FormData:"undefined"!=typeof FormData?FormData:null,Blob:"undefined"!=typeof Blob?Blob:null},protocols:["http","https","file","blob","url","data"]};let te="undefined"!=typeof window&&"undefined"!=typeof document,ne="object"==typeof navigator&&navigator||void 0,re=te&&(!ne||["ReactNative","NativeScript","NS"].indexOf(ne.product)<0),ae="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,oe=te&&window.location.href||"http://localhost";var ie={...e,...r};var le=function(e){function l(e,t,n,r){var a,o,i;return"__proto__"===(i=e[r++])||(a=Number.isFinite(+i),o=r>=e.length,i=!i&&C.a.isArray(n)?n.length:i,o?C.a.hasOwnProp(n,i)?n[i]=[n[i],t]:n[i]=t:(n[i]&&C.a.isObject(n[i])||(n[i]=[]),l(e,t,n[i],r)&&C.a.isArray(n[i])&&(n[i]=(e=>{var t={},n=Object.keys(e);let r;var a,o=n.length;for(r=0;r<o;r++)t[a=n[r]]=e[a];return t})(n[i]))),!a)}if(C.a.isFormData(e)&&C.a.isFunction(e.entries)){let n={};return C.a.forEachEntry(e,(e,t)=>{l(C.a.matchAll(/\w+|\[(\w*)]/g,e).map(e=>"[]"===e[0]?"":e[1]||e[0]),t,n,0)}),n}return null};let ce={transitional:ee,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){var n,r=t.getContentType()||"",a=-1<r.indexOf("application/json"),o=C.a.isObject(e),i=(o&&C.a.isHTMLForm(e)&&(e=new FormData(e)),C.a.isFormData(e));if(i)return a?JSON.stringify(le(e)):e;if(!(C.a.isArrayBuffer(e)||C.a.isBuffer(e)||C.a.isStream(e)||C.a.isFile(e)||C.a.isBlob(e)||C.a.isReadableStream(e))){if(C.a.isArrayBufferView(e))return e.buffer;if(C.a.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();if(o){if(-1<r.indexOf("application/x-www-form-urlencoded"))return i=e,n=this.formSerializer,Object($.a)(i,new ie.classes.URLSearchParams,Object.assign({visitor:function(e,t,n,r){return ie.isNode&&C.a.isBuffer(e)?(this.append(t,e.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)}},n)).toString();if((i=C.a.isFileList(e))||-1<r.indexOf("multipart/form-data"))return n=this.env&&this.env.FormData,Object($.a)(i?{"files[]":e}:e,n&&new n,this.formSerializer)}if(o||a){t.setContentType("application/json",!1);r=e,i=void 0,o=void 0;if(C.a.isString(r))try{return(i||JSON.parse)(r),C.a.trim(r)}catch(e){if("SyntaxError"!==e.name)throw e}return(o||JSON.stringify)(r)}}return e}],transformResponse:[function(e){var t=this.transitional||ce.transitional,n=t&&t.forcedJSONParsing,r="json"===this.responseType;if(!C.a.isResponse(e)&&!C.a.isReadableStream(e)&&e&&C.a.isString(e)&&(n&&!this.responseType||r)){n=!(t&&t.silentJSONParsing)&&r;try{return JSON.parse(e)}catch(e){if(n){if("SyntaxError"===e.name)throw _.a.from(e,_.a.ERR_BAD_RESPONSE,this,null,this.response);throw e}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:ie.classes.FormData,Blob:ie.classes.Blob},validateStatus:function(e){return 200<=e&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};C.a.forEach(["delete","get","head","post","put","patch"],e=>{ce.headers[e]={}});var ue=ce;let se=C.a.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]);let fe=Symbol("internals");function de(e){return e&&String(e).trim().toLowerCase()}function pe(e){return!1===e||null==e?e:C.a.isArray(e)?e.map(pe):String(e)}function he(e,t,n,r,a){return C.a.isFunction(r)?r.call(this,t,n):C.a.isString(t=a?n:t)&&(C.a.isString(r)?-1!==t.indexOf(r):C.a.isRegExp(r)&&r.test(t))}class me{constructor(e){e&&this.set(e)}set(e,t,n){let a=this;function r(e,t,n){var r=de(t);if(!r)throw new Error("header name must be a non-empty string");r=C.a.findKey(a,r);r&&void 0!==a[r]&&!0!==n&&(void 0!==n||!1===a[r])||(a[r||t]=pe(e))}var o=(e,n)=>C.a.forEach(e,(e,t)=>r(e,t,n));if(C.a.isPlainObject(e)||e instanceof this.constructor)o(e,t);else if(C.a.isString(e)&&(e=e.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim()))o((e=>{let t={},n,r,a;return e&&e.split("\n").forEach(function(e){a=e.indexOf(":"),n=e.substring(0,a).trim().toLowerCase(),r=e.substring(a+1).trim(),!n||t[n]&&se[n]||("set-cookie"===n?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t})(e),t);else if(C.a.isHeaders(e))for(var[i,l]of e.entries())r(l,i,n);else null!=e&&r(t,e,n);return this}get(e,t){if(e=de(e)){e=C.a.findKey(this,e);if(e){var n=this[e];if(!t)return n;if(!0===t){for(var r,a=n,o=Object.create(null),i=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;r=i.exec(a);)o[r[1]]=r[2];return o}if(C.a.isFunction(t))return t.call(this,n,e);if(C.a.isRegExp(t))return t.exec(n);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){return!!(e=de(e))&&!(!(e=C.a.findKey(this,e))||void 0===this[e]||t&&!he(0,this[e],e,t))}delete(e,t){let n=this,r=!1;function a(e){(e=de(e))&&(e=C.a.findKey(n,e))&&(!t||he(n,n[e],e,t))&&(delete n[e],r=!0)}return C.a.isArray(e)?e.forEach(a):a(e),r}clear(e){var t=Object.keys(this);let n=t.length,r=!1;for(;n--;){var a=t[n];e&&!he(0,this[a],a,e,!0)||(delete this[a],r=!0)}return r}normalize(r){let a=this,o={};return C.a.forEach(this,(e,t)=>{var n=C.a.findKey(o,t);n?(a[n]=pe(e),delete a[t]):((n=r?t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,t,n)=>t.toUpperCase()+n):String(t).trim())!==t&&delete a[t],a[n]=pe(e),o[n]=!0)}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(n){let r=Object.create(null);return C.a.forEach(this,(e,t)=>{null!=e&&!1!==e&&(r[t]=n&&C.a.isArray(e)?e.join(", "):e)}),r}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,t])=>e+": "+t).join("\n")}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){let n=new this(e);return t.forEach(e=>n.set(e)),n}static accessor(e){let r=(this[fe]=this[fe]={accessors:{}}).accessors,o=this.prototype;function t(t){var e=de(t);if(!r[e]){{var n=o;var a=t;let e=C.a.toCamelCase(" "+a);["get","set","has"].forEach(r=>{Object.defineProperty(n,r+e,{value:function(e,t,n){return this[r].call(this,a,e,t,n)},configurable:!0})})}r[e]=!0}}return C.a.isArray(e)?e.forEach(t):t(e),this}}me.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),C.a.reduceDescriptors(me.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[n]=e}}}),C.a.freezeMethods(me);var ge=me;function ve(e,t){let n=this||ue;var r=t||n;let a=ge.from(r.headers),o=r.data;return C.a.forEach(e,function(e){o=e.call(n,o,a.normalize(),t?t.status:void 0)}),a.normalize(),o}function be(e){return!(!e||!e.__CANCEL__)}function ye(e,t,n){_.a.call(this,null==e?"canceled":e,_.a.ERR_CANCELED,t,n),this.name="CanceledError"}C.a.inherits(ye,_.a,{__CANCEL__:!0});var Ee=ye,e=t(39);function we(e,t,n){var r=n.config.validateStatus;n.status&&r&&!r(n.status)?t(new _.a("Request failed with status code "+n.status,[_.a.ERR_BAD_REQUEST,_.a.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):e(n)}var xe=function(o,i){o=o||10;let l=new Array(o),c=new Array(o),u=0,s=0,f;return i=void 0!==i?i:1e3,function(e){var t=Date.now(),n=c[s];f=f||t,l[u]=e,c[u]=t;let r=s,a=0;for(;r!==u;)a+=l[r++],r%=o;return(u=(u+1)%o)===s&&(s=(s+1)%o),!(t-f<i)&&(e=n&&t-n)?Math.round(1e3*a/e):void 0}};var Ce=function(n,e){let r=0,a=1e3/e,o,i,l=(e,t=Date.now())=>{r=t,o=null,i&&(clearTimeout(i),i=null),n.apply(null,e)};return[(...e)=>{var t=Date.now(),n=t-r;n>=a?l(e,t):(o=e,i=i||setTimeout(()=>{i=null,l(o)},a-n))},()=>o&&l(o)]};let _e=(i,l,e=3)=>{let c=0,u=xe(50,250);return Ce(e=>{var t=e.loaded,n=e.lengthComputable?e.total:void 0,r=t-c,a=u(r),o=t<=n,r={loaded:c=t,total:n,progress:n?t/n:void 0,bytes:r,rate:a||void 0,estimated:a&&n&&o?(n-t)/a:void 0,event:e,lengthComputable:null!=n,[l?"download":"upload"]:!0};i(r)},e)},Pe=(t,n)=>{let r=null!=t;return[e=>n[0]({lengthComputable:r,total:t,loaded:e}),n[1]]},ke=t=>(...e)=>C.a.asap(()=>t(...e));var Se=ie.hasStandardBrowserEnv?(()=>{let n=ie.navigator&&/(msie|trident)/i.test(ie.navigator.userAgent),r=document.createElement("a"),t;function a(e){let t=e;return n&&(r.setAttribute("href",t),t=r.href),r.setAttribute("href",t),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:"/"===r.pathname.charAt(0)?r.pathname:"/"+r.pathname}}return t=a(window.location.href),function(e){e=C.a.isString(e)?a(e):e;return e.protocol===t.protocol&&e.host===t.host}})():function(){return!0},Re=ie.hasStandardBrowserEnv?{write(e,t,n,r,a,o){e=[e+"="+encodeURIComponent(t)];C.a.isNumber(n)&&e.push("expires="+new Date(n).toGMTString()),C.a.isString(r)&&e.push("path="+r),C.a.isString(a)&&e.push("domain="+a),!0===o&&e.push("secure"),document.cookie=e.join("; ")},read(e){e=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function Ie(e,t){var n;return e&&!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)?(e=e,(n=t)?e.replace(/\/?\/$/,"")+"/"+n.replace(/^\/+/,""):e):t}let Oe=e=>e instanceof ge?{...e}:e;function Fe(r,a){a=a||{};let o={};function i(e,t,n){return C.a.isPlainObject(e)&&C.a.isPlainObject(t)?C.a.merge.call({caseless:n},e,t):C.a.isPlainObject(t)?C.a.merge({},t):C.a.isArray(t)?t.slice():t}function l(e,t,n){return C.a.isUndefined(t)?C.a.isUndefined(e)?void 0:i(void 0,e,n):i(e,t,n)}function e(e,t){if(!C.a.isUndefined(t))return i(void 0,t)}function t(e,t){return C.a.isUndefined(t)?C.a.isUndefined(e)?void 0:i(void 0,e):i(void 0,t)}function c(e,t,n){return n in a?i(e,t):n in r?i(void 0,e):void 0}let u={url:e,method:e,data:e,baseURL:t,transformRequest:t,transformResponse:t,paramsSerializer:t,timeout:t,timeoutMessage:t,withCredentials:t,withXSRFToken:t,adapter:t,responseType:t,xsrfCookieName:t,xsrfHeaderName:t,onUploadProgress:t,onDownloadProgress:t,decompress:t,maxContentLength:t,maxBodyLength:t,beforeRedirect:t,transport:t,httpAgent:t,httpsAgent:t,cancelToken:t,socketPath:t,responseEncoding:t,validateStatus:c,headers:(e,t)=>l(Oe(e),Oe(t),!0)};return C.a.forEach(Object.keys(Object.assign({},r,a)),function(e){var t=u[e]||l,n=t(r[e],a[e],e);C.a.isUndefined(n)&&t!==c||(o[e]=n)}),o}var Ae=e=>{var t,n=Fe({},e);let{data:r,withXSRFToken:a,xsrfHeaderName:o,xsrfCookieName:i,headers:l,auth:c}=n;return n.headers=l=ge.from(l),n.url=Q(Ie(n.baseURL,n.url),e.params,e.paramsSerializer),c&&l.set("Authorization","Basic "+btoa((c.username||"")+":"+(c.password?unescape(encodeURIComponent(c.password)):""))),C.a.isFormData(r)&&(ie.hasStandardBrowserEnv||ie.hasStandardBrowserWebWorkerEnv?l.setContentType(void 0):!1!==(e=l.getContentType())&&([e,...t]=e?e.split(";").map(e=>e.trim()).filter(Boolean):[],l.setContentType([e||"multipart/form-data",...t].join("; ")))),ie.hasStandardBrowserEnv&&((a=a&&C.a.isFunction(a)?a(n):a)||!1!==a&&Se(n.url))&&(e=o&&i&&Re.read(i))&&l.set(o,e),n},r="undefined"!=typeof XMLHttpRequest&&function(h){return new Promise(function(t,n){let r=Ae(h);var e=r.data,a=ge.from(r.headers).normalize();let{responseType:o,onUploadProgress:i,onDownloadProgress:l}=r,c,u,s;function f(){u&&u(),s&&s(),r.cancelToken&&r.cancelToken.unsubscribe(c),r.signal&&r.signal.removeEventListener("abort",c)}let d=new XMLHttpRequest;function p(){var e;d&&(e=ge.from("getAllResponseHeaders"in d&&d.getAllResponseHeaders()),we(function(e){t(e),f()},function(e){n(e),f()},{data:o&&"text"!==o&&"json"!==o?d.response:d.responseText,status:d.status,statusText:d.statusText,headers:e,config:h,request:d}),d=null)}d.open(r.method.toUpperCase(),r.url,!0),d.timeout=r.timeout,"onloadend"in d?d.onloadend=p:d.onreadystatechange=function(){d&&4===d.readyState&&(0!==d.status||d.responseURL&&0===d.responseURL.indexOf("file:"))&&setTimeout(p)},d.onabort=function(){d&&(n(new _.a("Request aborted",_.a.ECONNABORTED,h,d)),d=null)},d.onerror=function(){n(new _.a("Network Error",_.a.ERR_NETWORK,h,d)),d=null},d.ontimeout=function(){let e=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";var t=r.transitional||ee;r.timeoutErrorMessage&&(e=r.timeoutErrorMessage),n(new _.a(e,t.clarifyTimeoutError?_.a.ETIMEDOUT:_.a.ECONNABORTED,h,d)),d=null},void 0===e&&a.setContentType(null),"setRequestHeader"in d&&C.a.forEach(a.toJSON(),function(e,t){d.setRequestHeader(t,e)}),C.a.isUndefined(r.withCredentials)||(d.withCredentials=!!r.withCredentials),o&&"json"!==o&&(d.responseType=r.responseType),l&&([a,s]=_e(l,!0),d.addEventListener("progress",a)),i&&d.upload&&([a,u]=_e(i),d.upload.addEventListener("progress",a),d.upload.addEventListener("loadend",u)),(r.cancelToken||r.signal)&&(c=e=>{d&&(n(!e||e.type?new Ee(null,h,d):e),d.abort(),d=null)},r.cancelToken&&r.cancelToken.subscribe(c),r.signal)&&(r.signal.aborted?c():r.signal.addEventListener("abort",c));a=r.url;a=(a=/^([-+\w]{1,25})(:?\/\/|:)/.exec(a))&&a[1]||"";a&&-1===ie.protocols.indexOf(a)?n(new _.a("Unsupported protocol "+a+":",_.a.ERR_BAD_REQUEST,h)):d.send(e||null)})},je=(o,i)=>{var l=(o=o?o.filter(Boolean):[]).length;if(i||l){let t=new AbortController,n,r=function(e){n||(n=!0,a(),e=e instanceof Error?e:this.reason,t.abort(e instanceof _.a?e:new Ee(e instanceof Error?e.message:e)))},e=i&&setTimeout(()=>{e=null,r(new _.a(`timeout ${i} of ms exceeded`,_.a.ETIMEDOUT))},i),a=()=>{o&&(e&&clearTimeout(e),e=null,o.forEach(e=>{e.unsubscribe?e.unsubscribe(r):e.removeEventListener("abort",r)}),o=null)};o.forEach(e=>e.addEventListener("abort",r));l=t.signal;return l.unsubscribe=()=>C.a.asap(a),l}};let Le=function*(t,n){var r,a=t.byteLength;if(!n||a<n)yield t;else{let e=0;for(;e<a;)r=e+n,yield t.slice(e,r),e=r}},Te=async function*(e){if(e[Symbol.asyncIterator])yield*e;else{var t=e.getReader();try{for(;;){var{done:n,value:r}=await t.read();if(n)break;yield r}}finally{await t.cancel()}}},Me=(e,t,o,n)=>{let i=async function*(e,t){for await(var n of Te(e))yield*Le(n,t)}(e,t),l=0,r,c=e=>{r||(r=!0,n&&n(e))};return new ReadableStream({async pull(e){try{var t,n,{done:r,value:a}=await i.next();r?(c(),e.close()):(t=a.byteLength,o&&(n=l+=t,o(n)),e.enqueue(new Uint8Array(a)))}catch(e){throw c(e),e}},cancel(e){return c(e),i.return()}},{highWaterMark:2})};var Ne,o="function"==typeof fetch&&"function"==typeof Request&&"function"==typeof Response,i=o&&"function"==typeof ReadableStream;let Be=o&&("function"==typeof TextEncoder?(Ne=new TextEncoder,e=>Ne.encode(e)):async e=>new Uint8Array(await new Response(e).arrayBuffer()));var Ve,l=(e,...t)=>{try{return!!e(...t)}catch(e){return!1}};let De=i&&l(()=>{let e=!1;var t=new Request(ie.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),ze=i&&l(()=>C.a.isReadableStream(new Response("").body)),Xe={stream:ze&&(e=>e.body)},He=(o&&(Ve=new Response,["text","arrayBuffer","blob","formData","stream"].forEach(n=>{Xe[n]||(Xe[n]=C.a.isFunction(Ve[n])?e=>e[n]():(e,t)=>{throw new _.a(`Response type '${n}' is not supported`,_.a.ERR_NOT_SUPPORT,t)})})),async(e,t)=>{e=C.a.toFiniteNumber(e.getContentLength());return null==e?(async e=>null==e?0:C.a.isBlob(e)?e.size:C.a.isSpecCompliantForm(e)?(await new Request(ie.origin,{method:"POST",body:e}).arrayBuffer()).byteLength:C.a.isArrayBufferView(e)||C.a.isArrayBuffer(e)?e.byteLength:(C.a.isURLSearchParams(e)&&(e+=""),C.a.isString(e)?(await Be(e)).byteLength:void 0))(t):e}),Ue=o&&(async a=>{let{url:t,method:e,data:o,signal:n,cancelToken:r,timeout:i,onDownloadProgress:l,onUploadProgress:c,responseType:u,headers:s,withCredentials:f="same-origin",fetchOptions:d}=Ae(a),p=(u=u?(u+"").toLowerCase():"text",je([n,r&&r.toAbortSignal()],i)),h,m=p&&p.unsubscribe&&(()=>{p.unsubscribe()}),g;try{if(c&&De&&"get"!==e&&"head"!==e&&0!==(g=await He(s,o))){var v,b,y=new Request(t,{method:"POST",body:o,duplex:"half"});let e;C.a.isFormData(o)&&(e=y.headers.get("content-type"))&&s.setContentType(e),y.body&&([v,b]=Pe(g,_e(ke(c))),o=Me(y.body,65536,v,b))}C.a.isString(f)||(f=f?"include":"omit");var E="credentials"in Request.prototype;h=new Request(t,{...d,signal:p,method:e.toUpperCase(),headers:s.normalize().toJSON(),body:o,duplex:"half",credentials:E?f:void 0});let r=await fetch(h);var w=ze&&("stream"===u||"response"===u);if(ze&&(l||w&&m)){let t={};["status","statusText","headers"].forEach(e=>{t[e]=r[e]});var x=C.a.toFiniteNumber(r.headers.get("content-length"));let[e,n]=l&&Pe(x,_e(ke(l),!0))||[];r=new Response(Me(r.body,65536,e,()=>{n&&n(),m&&m()}),t)}u=u||"text";let n=await Xe[C.a.findKey(Xe,u)||"text"](r,a);return!w&&m&&m(),await new Promise((e,t)=>{we(e,t,{data:n,headers:ge.from(r.headers),status:r.status,statusText:r.statusText,config:a,request:h})})}catch(e){if(m&&m(),e&&"TypeError"===e.name&&/fetch/i.test(e.message))throw Object.assign(new _.a("Network Error",_.a.ERR_NETWORK,a,h),{cause:e.cause||e});throw _.a.from(e,e&&e.code,a,h)}}),We={http:e.a,xhr:r,fetch:Ue},Ze=(C.a.forEach(We,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(e){}Object.defineProperty(e,"adapterName",{value:t})}}),e=>"- "+e);var $e=n=>{var r,e=(n=C.a.isArray(n)?n:[n]).length;let a;var o,t,i={};for(let t=0;t<e;t++){r=n[t];let e;if(a=r,o=r,!C.a.isFunction(o)&&null!==o&&!1!==o&&void 0===(a=We[(e=String(r)).toLowerCase()]))throw new _.a(`Unknown adapter '${e}'`);if(a)break;i[e||"#"+t]=a}if(a)return a;throw t=Object.entries(i).map(([e,t])=>`adapter ${e} `+(!1===t?"is not supported by the environment":"is not available in the build")),t=e?1<t.length?"since :\n"+t.map(Ze).join("\n"):" - "+t[0]:"as no adapter specified",new _.a("There is no suitable adapter to dispatch the request "+t,"ERR_NOT_SUPPORT")};We;function qe(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Ee(null,e)}function Ye(t){return qe(t),t.headers=ge.from(t.headers),t.data=ve.call(t,t.transformRequest),-1!==["post","put","patch"].indexOf(t.method)&&t.headers.setContentType("application/x-www-form-urlencoded",!1),$e(t.adapter||ue.adapter)(t).then(function(e){return qe(t),e.data=ve.call(t,t.transformResponse,e),e.headers=ge.from(e.headers),e},function(e){return be(e)||(qe(t),e&&e.response&&(e.response.data=ve.call(t,t.transformResponse,e.response),e.response.headers=ge.from(e.response.headers))),Promise.reject(e)})}let Ge={},Ke=(["object","boolean","number","function","string","symbol"].forEach((t,n)=>{Ge[t]=function(e){return typeof e===t||"a"+(n<1?"n ":" ")+t}}),{});Ge.transitional=function(r,a,n){function o(e,t){return"[Axios v1.7.7] Transitional option '"+e+"'"+t+(n?". "+n:"")}return(e,t,n)=>{if(!1===r)throw new _.a(o(t," has been removed"+(a?" in "+a:"")),_.a.ERR_DEPRECATED);return a&&!Ke[t]&&(Ke[t]=!0,console.warn(o(t," has been deprecated since v"+a+" and will be removed in the near future"))),!r||r(e,t,n)}};var Qe={assertOptions:function(e,t,n){if("object"!=typeof e)throw new _.a("options must be an object",_.a.ERR_BAD_OPTION_VALUE);var r=Object.keys(e);let a=r.length;for(;0<a--;){var o=r[a],i=t[o];if(i){var l=e[o],i=void 0===l||i(l,o,e);if(!0!==i)throw new _.a("option "+o+" must be "+i,_.a.ERR_BAD_OPTION_VALUE)}else if(!0!==n)throw new _.a("Unknown option "+o,_.a.ERR_BAD_OPTION)}},validators:Ge};let Je=Qe.validators;class et{constructor(e){this.defaults=e,this.interceptors={request:new J,response:new J}}async request(n,e){try{return await this._request(n,e)}catch(t){if(t instanceof Error){let e;Error.captureStackTrace?Error.captureStackTrace(e={}):e=new Error;n=e.stack?e.stack.replace(/^.+\n/,""):"";try{t.stack?n&&!String(t.stack).endsWith(n.replace(/^.+\n.+\n/,""))&&(t.stack+="\n"+n):t.stack=n}catch(e){}}throw t}}_request(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{};let{transitional:n,paramsSerializer:r,headers:a}=t=Fe(this.defaults,t);void 0!==n&&Qe.assertOptions(n,{silentJSONParsing:Je.transitional(Je.boolean),forcedJSONParsing:Je.transitional(Je.boolean),clarifyTimeoutError:Je.transitional(Je.boolean)},!1),null!=r&&(C.a.isFunction(r)?t.paramsSerializer={serialize:r}:Qe.assertOptions(r,{encode:Je.function,serialize:Je.function},!0)),t.method=(t.method||this.defaults.method||"get").toLowerCase();e=a&&C.a.merge(a.common,a[t.method]);a&&C.a.forEach(["delete","get","head","post","put","patch","common"],e=>{delete a[e]}),t.headers=ge.concat(e,a);let o=[],i=!0,l=(this.interceptors.request.forEach(function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(i=i&&e.synchronous,o.unshift(e.fulfilled,e.rejected))}),[]);this.interceptors.response.forEach(function(e){l.push(e.fulfilled,e.rejected)});let c,u=0,s;if(i){s=o.length;let e=t;for(u=0;u<s;){var f=o[u++],d=o[u++];try{e=f(e)}catch(e){d.call(this,e);break}}try{c=Ye.call(this,e)}catch(e){return Promise.reject(e)}for(u=0,s=l.length;u<s;)c=c.then(l[u++],l[u++])}else{var p=[Ye.bind(this),void 0];for(p.unshift.apply(p,o),p.push.apply(p,l),s=p.length,c=Promise.resolve(t);u<s;)c=c.then(p[u++],p[u++])}return c}getUri(e){return Q(Ie((e=Fe(this.defaults,e)).baseURL,e.url),e.params,e.paramsSerializer)}}C.a.forEach(["delete","get","head","options"],function(n){et.prototype[n]=function(e,t){return this.request(Fe(t||{},{method:n,url:e,data:(t||{}).data}))}}),C.a.forEach(["post","put","patch"],function(a){function e(r){return function(e,t,n){return this.request(Fe(n||{},{method:a,headers:r?{"Content-Type":"multipart/form-data"}:{},url:e,data:t}))}}et.prototype[a]=e(),et.prototype[a+"Form"]=e(!0)});var tt=et;i=class U1{constructor(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");let r,a=(this.promise=new Promise(function(e){r=e}),this);this.promise.then(t=>{if(a._listeners){let e=a._listeners.length;for(;0<e--;)a._listeners[e](t);a._listeners=null}}),this.promise.then=e=>{let t;return(e=new Promise(e=>{a.subscribe(e),t=e}).then(e)).cancel=function(){a.unsubscribe(t)},e},e(function(e,t,n){a.reason||(a.reason=new Ee(e,t,n),r(a.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){this._listeners&&-1!==(e=this._listeners.indexOf(e))&&this._listeners.splice(e,1)}toAbortSignal(){let t=new AbortController,e=e=>{t.abort(e)};return this.subscribe(e),t.signal.unsubscribe=()=>this.unsubscribe(e),t.signal}static source(){let t;return{token:new U1(function(e){t=e}),cancel:t}}};let nt={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(nt).forEach(([e,t])=>{nt[t]=e});l=nt;var o=function t(n){var e=new tt(n),r=Object(Z.a)(tt.prototype.request,e);return C.a.extend(r,tt.prototype,e,{allOwnKeys:!0}),C.a.extend(r,e,null,{allOwnKeys:!0}),r.create=function(e){return t(Fe(n,e))},r}(ue),rt=(o.Axios=tt,o.CanceledError=Ee,o.CancelToken=i,o.isCancel=be,o.VERSION="1.7.7",o.toFormData=$.a,o.AxiosError=_.a,o.Cancel=o.CanceledError,o.all=function(e){return Promise.all(e)},o.spread=function(t){return function(e){return t.apply(null,e)}},o.isAxiosError=function(e){return C.a.isObject(e)&&!0===e.isAxiosError},o.mergeConfig=Fe,o.AxiosHeaders=ge,o.formToJSON=e=>le(C.a.isHTMLForm(e)?new FormData(e):e),o.getAdapter=$e,o.HttpStatusCode=l,o.default=o),e=Object(n.b)({name:v.VIRFICE_APP_PREFIX,initialState:{notificationBell:{open:!1}},reducers:{setComponentsStateData:function(e,t){t=t.payload;e[t.key]=t.value}}}),y=function(e){var t=e.title,n=e.type,r=void 0===n?"success":n,n=e.duration,a=void 0===n?3e3:n;return function(e){e(ot({key:"notificationBell",value:{open:!0,title:t,type:r,duration:a}})),a&&setTimeout(function(){e(at())},a)}},at=function(){return function(e){e(ot({key:"notificationBell",value:{open:!1}}))}},ot=e.actions.setComponentsStateData,r=e.reducer;function it(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)),r}function lt(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?it(Object(n),!0).forEach(function(e){h()(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):it(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function ct(){return function(t){var n;rt.get("".concat(virfice.restBase).concat("virfice/v1/woo-email/virfice-brand-settings"),{headers:{"X-WP-Nonce":virfice.nonce},params:{}}).then(function(e){n=e.data,t(ft({key:"settings",value:{loaded:!0,data:n}})),t(ft({key:"changedSettings",value:n}))}).catch(function(e){console.log(e)})}}function ut(a){return function(n,r){var e=new FormData;e.append("data",JSON.stringify(a)),rt.post("".concat(virfice.restBase).concat("virfice/v1/woo-email/virfice-brand-settings"),e,{headers:{"X-WP-Nonce":virfice.nonce}}).then(function(e){var t=lt(lt({},r().virficeBrandSettings.settings.data||{}),a);n(ft({key:"settings",value:{loaded:!0,data:t}})),n(y({title:"Settings saved"}))}).catch(function(e){console.log(e),n(y({title:"Settings save failed",type:"danger"}))})}}function st(r,a){return function(t,e){var n=new FormData;n.append("email_id",r),n.append("status",a),rt.post("".concat(virfice.restBase).concat("virfice/v1/woo-email/update-virfice-template-status"),n,{headers:{"X-WP-Nonce":virfice.nonce}}).then(function(e){e.data,t(y({title:"Virfice template "+(a?"enabled":"disabled")+" for "+r}))}).catch(function(e){console.log(e),t(y({title:"Settings saved failed",type:"danger"}))})}}var i=Object(n.b)({name:v.VIRFICE_APP_PREFIX,initialState:{settings:{loaded:!1,data:{}},changedSettings:{}},reducers:{setVirficeBrandSettingsData:function(e,t){t=t.payload;e[t.key]=t.value}}}),ft=i.actions.setVirficeBrandSettingsData,l=i.reducer,o=Object(n.b)({name:v.VIRFICE_APP_PREFIX,initialState:{emailList:{loaded:!1,data:[]}},reducers:{setWooEmailListData:function(e,t){t=t.payload;e[t.key]=t.value}}}),dt=o.actions.setWooEmailListData,e=o.reducer;function pt(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)),r}function ht(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?pt(Object(n),!0).forEach(function(e){h()(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):pt(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function mt(e){return function(t){var n;rt.get("".concat(virfice.restBase).concat("virfice/v1/woo-email/single"),{headers:{"X-WP-Nonce":virfice.nonce},params:{email_id:e}}).then(function(e){n=e.data,t(Ot({key:"email",value:{loaded:!0,settings:ht(ht({},n.object),{},{previewUrl:n.previewUrl})}})),t(Ot({key:"changedSettings",value:n.object.settings}))}).catch(function(e){console.log(e)})}}function gt(e){return function(t){var n;rt.get("".concat(virfice.restBase).concat("virfice/v1/woo-email/single-virfice"),{headers:{"X-WP-Nonce":virfice.nonce},params:{email_id:e}}).then(function(e){n=e.data,t(Ot({key:"virfice_template",value:n}))}).catch(function(e){console.log(e)})}}function vt(n,r){return function(t){var e=new FormData;e.append("settings",JSON.stringify(r)),e.append("email_id",n),rt.post("".concat(virfice.restBase).concat("virfice/v1/woo-email/save-email-settings"),e,{headers:{"X-WP-Nonce":virfice.nonce}}).then(function(e){e.data,t(Ft({settings:r})),t(y({title:"Settings saved"}))}).catch(function(e){console.log(e),t(y({title:"Settings saved failed",type:"danger"}))})}}function bt(e){return function(t){var n;rt.get("".concat(virfice.restBase).concat("virfice/v1/settings/get-settings"),{headers:{"X-WP-Nonce":virfice.nonce},params:{keys:JSON.stringify(e)}}).then(function(e){n=e.data,Object.keys(n).forEach(function(e){t(At({key:e,value:{loaded:!0,data:n[e]}})),t(At({key:"changedSettings-"+e,value:n[e]}))})}).catch(function(e){console.log(e)})}}function yt(r){return function(t,e){var e=e().globalSettings["changedSettings-"+r],n=new FormData;n.append("key",r),n.append("settings",JSON.stringify(e)),rt.post("".concat(virfice.restBase).concat("virfice/v1/settings/save-settings"),n,{headers:{"X-WP-Nonce":virfice.nonce}}).then(function(e){e.data,t(y({title:"Settings saved"}))}).catch(function(e){console.log(e),t(y({title:"Settings saved failed",type:"danger"}))})}}function Et(e){return function(t){var n;rt.get("".concat(virfice.restBase).concat("virfice/v1/virfice-template/single"),{headers:{"X-WP-Nonce":virfice.nonce},params:{id:e}}).then(function(e){n=e.data,t(Mt({key:"html",value:n.post_content})),t(Mt({key:"global_style",value:n.global_style})),t(Mt({key:"preview_url",value:n.preview_url})),t(Mt({key:"post",value:n}))}).catch(function(e){console.log(e)})}}function wt(n,e){var r=e.post_content;return function(t){var e=new FormData;e.append("template_id",n),e.append("post_content",r),rt.post("".concat(virfice.restBase).concat("virfice/v1/virfice-template/save"),e,{headers:{"X-WP-Nonce":virfice.nonce}}).then(function(e){e.data,t(y({title:"Template saved"}))}).catch(function(e){console.log(e),t(y({title:"Template saved failed",type:"danger"}))})}}function xt(){return function(t){var n,e=v.VIRFICE_ASSETS_BASE+"/templates/ready-blocks";rt.get("".concat(e),{}).then(function(e){n=e.data,t(Nt({key:"loaded",value:!0})),t(Nt({key:"data",value:n}))}).catch(function(e){console.log(e)})}}function Ct(){var e,t=E();t&&(e=t.templateWrapper)&&setTimeout(function(){Vt(e)},100)}function _t(e,t){return e.querySelectorAll("[".concat(v.VIRFICE_APP_PREFIX,'-selector="').concat(t,'"]'))}function f(e,t){return e.querySelector("[".concat(v.VIRFICE_APP_PREFIX,'-my_selector="').concat(t,'"]'))}function Pt(e){var a;return e?(a=function(e){for(var t=0,n=Array.from(e.children);t<n.length;t++){var r=n[t];if(w(r,"ele_type"))return Array.from(r.parentNode.children);r=a(r);if(r)return r}return[]})(e):[]}function kt(e){var t=E().document.getElementById(v.VIRFICE_APP_PREFIX+"-email-preview");Ul(Mt,{key:"html",value:t.innerHTML})}function St(e){var t,n=e.element,r=e.parent,a=void 0===(a=e.behavior)?"smooth":a,e=void 0===(e=e.block)?"center":e;n?r&&r instanceof HTMLElement?(t=n.offsetTop-r.offsetTop,r.scrollTo({top:t,behavior:a})):n.scrollIntoView({behavior:a,block:e}):console.error("Invalid element passed to scrollToCanvasElement")}function Rt(){var e=E().templateWrapper.cloneNode(!0),t=e.querySelector("#".concat(v.VIRFICE_APP_PREFIX,"-global-style"));return t&&t.remove(),e.innerHTML}function It(e){var t=e.white,n=e.grey,r=e.size,a=e.renderers,o=e.borderRadius,i=e.boxShadow,e=e.children,a=k()({default:{grid:{borderRadius:o,boxShadow:i,absolute:"0px 0px 0px 0px",background:"url("+(o=t,i=n,t=r,n=a.canvas,Yt[r=o+"-"+i+"-"+t+(n?"-server":"")]||(o=Gt(o,i,t,n),Yt[r]=o))+") center left"}}});return Object(m.isValidElement)(e)?g.a.cloneElement(e,Kt({},e.props,{style:Kt({},e.props.style,a.grid)})):g.a.createElement("div",{style:a.grid})}var i=Object(n.b)({name:v.VIRFICE_APP_PREFIX,initialState:{email:{loaded:!1,settings:{}},changedSettings:{},selectedOrder:{},virfice_template:""},reducers:{setWooEmailSingleData:function(e,t){t=t.payload;e[t.key]=t.value},setWooEmailSingleSettingsData:function(e,t){t=t.payload.settings;e.email.settings.settings=t}}}),o=i.actions,Ot=o.setWooEmailSingleData,Ft=o.setWooEmailSingleSettingsData,o=i.reducer,i=Object(n.b)({name:v.VIRFICE_APP_PREFIX,initialState:{email:{loaded:!1,data:{}},brand:{loaded:!1,data:{}}},reducers:{setGlobalSettingsData:function(e,t){t=t.payload;e[t.key]=t.value}}}),At=i.actions.setGlobalSettingsData,i=i.reducer,u=Object(n.b)({name:v.VIRFICE_APP_PREFIX,initialState:{html:"",global_style:"",preview_url:"",selectedElementId:!1,selectedSectionId:!1,hoveredSectionId:!1,post:{},showReadyBlocks:!1,forceUpdateToogler:!1},reducers:{setBuilderData:function(e,t){t=t.payload;e[t.key]=t.value}}}),jt=function(t){return function(e){e(Mt({key:"selectedElementId",value:t})),e(Mt({key:"showReadyBlocks",value:!1}))}},Lt=function(t){return function(e){e(Mt({key:"selectedSectionId",value:t}))}},Tt=function(t){return function(e){e(Mt({key:"hoveredSectionId",value:t}))}},Mt=u.actions.setBuilderData,u=u.reducer,s=Object(n.b)({name:v.VIRFICE_APP_PREFIX,initialState:{loaded:!1,data:[]},reducers:{setReadyBlockStateData:function(e,t){t=t.payload;e[t.key]=t.value}}}),Nt=s.actions.setReadyBlockStateData,s=s.reducer,Bt=Object(n.a)({reducer:{landing:a,virficeBrandSettings:l,wooEmailList:e,wooEmailSingle:o,components:r,globalSettings:i,builder:u,readyBlocks:s}}),E=function(){var e=document.getElementById("virfice-editor-wrapper");return e?(e=e.querySelector("iframe"))&&e.contentWindow?{iframe:e,document:e.contentWindow.document,body:e.contentWindow.document.body,templateWrapper:e.contentWindow.document.getElementById("virfice-email-preview"),editorWrapper:e.contentWindow.document.getElementById("virfice-editor-wrapper"),window:e.contentWindow}:(console.error("Iframe not found or not loaded yet"),{}):{}},Vt=function(e){e.querySelectorAll("[".concat(v.VIRFICE_APP_PREFIX,"-ele_type]")).forEach(function(e,t){Dt(e),Xt(e)}),e.querySelectorAll("a").forEach(function(e){e.addEventListener("click",function(e){e.preventDefault(),e.stopPropagation()})}),E().editorWrapper.addEventListener("click",function(){Ul(jt,null)})},Dt=function(t){t.addEventListener("click",function(e){e.stopPropagation();e=w(t,"id");zt(e)})},zt=function(e){var t=Ht(e),n=null,n=e?t:$t(t);(n=Wt(n)?n:n.querySelector("[".concat(v.VIRFICE_APP_PREFIX,"-ele_type]")))&&Ul(jt,w(n,"id")),t&&("section"!==w(e=t,"ele_type")&&(e=qt(e)),Ul(Lt,w(e,"id")))},Xt=function(t){t.addEventListener("mouseover",function(e){e.stopPropagation(),window.AddSectionButtonOpen||(e=qt(t),Ul(Tt,w(e,"id")))}),t.addEventListener("mouseleave",function(e){e.stopPropagation()})},Ht=function(e){var t=E().document.getElementById(v.VIRFICE_APP_PREFIX+"-email-preview");if(t)return t.querySelector("[".concat(v.VIRFICE_APP_PREFIX,'-id="').concat(e,'"]'))},w=function(e,t){if(e)return e.getAttribute(v.VIRFICE_APP_PREFIX+"-"+t)},Ut=function(e,t,n){e&&e.setAttribute(v.VIRFICE_APP_PREFIX+"-"+t,n)},Wt=function(e){return"disabled"!==w(e,"settings_status")},Zt=function(e){e=e.cloneNode(!0);return Ut(e,"id",Zl()),e.querySelectorAll("[".concat(v.VIRFICE_APP_PREFIX,"-ele_type]")).forEach(function(e){Ut(e,"id",Zl())}),e},$t=function(e){for(var t=e;t;){var t=t.parentNode,n=w(t,"ele_type");if(!t)return!1;if(n)return t;if(t.id===v.VIRFICE_APP_PREFIX+"-email-preview")return!1}return!1},qt=function(e){for(var t=e;;){if(!t)return!1;if("section"===w(t,"ele_type"))return t;t=t.parentNode}return!1},x=function(e,t){return e?window.getComputedStyle(e)[t]:""},P=function(e,t){return x(e,t).replace("px","")},n=t(5),k=t.n(n),Yt={},Gt=function(e,t,n,r){var a;return("undefined"!=typeof document||r)&&((r=r?new r:document.createElement("canvas")).width=2*n,r.height=2*n,a=r.getContext("2d"))?(a.fillStyle=e,a.fillRect(0,0,r.width,r.height),a.fillStyle=t,a.fillRect(0,0,n,n),a.translate(n,n),a.fillRect(0,0,n,n),r.toDataURL()):null},Kt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n,r=arguments[t];for(n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Qt=(It.defaultProps={size:8,white:"transparent",grey:"rgba(0,0,0,.08)",renderers:{}},It),Jt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n,r=arguments[t];for(n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},en=function(e,t,n){return t&&tn(e.prototype,t),n&&tn(e,n),e};function tn(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function nn(e,t){if(e)return!t||"object"!=typeof t&&"function"!=typeof t?e:t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}var rn=(e=>{var t=i;if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);function i(){var n,e=this,t=i;if(!(e instanceof t))throw new TypeError("Cannot call a class as a function");for(var r=arguments.length,a=Array(r),o=0;o<r;o++)a[o]=arguments[o];return(t=n=nn(this,(e=i.__proto__||Object.getPrototypeOf(i)).call.apply(e,[this].concat(a)))).handleChange=function(e){var t=((e,t,n,r,a)=>{var o=a.clientWidth,i=a.clientHeight,l=("number"==typeof e.pageX?e:e.touches[0]).pageX,e=("number"==typeof e.pageY?e:e.touches[0]).pageY,l=l-(a.getBoundingClientRect().left+window.pageXOffset),e=e-(a.getBoundingClientRect().top+window.pageYOffset);if("vertical"===n){a=void 0,a=e<0?0:i<e?1:Math.round(100*e/i)/100;if(t.a!==a)return{h:t.h,s:t.s,l:t.l,a:a,source:"rgb"}}else{n=void 0;if(r!==(n=l<0?0:o<l?1:Math.round(100*l/o)/100))return{h:t.h,s:t.s,l:t.l,a:n,source:"rgb"}}return null})(e,n.props.hsl,n.props.direction,n.props.a,n.container);t&&"function"==typeof n.props.onChange&&n.props.onChange(t,e)},n.handleMouseDown=function(e){n.handleChange(e),window.addEventListener("mousemove",n.handleChange),window.addEventListener("mouseup",n.handleMouseUp)},n.handleMouseUp=function(){n.unbindEventListeners()},n.unbindEventListeners=function(){window.removeEventListener("mousemove",n.handleChange),window.removeEventListener("mouseup",n.handleMouseUp)},nn(n,t)}return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e),en(i,[{key:"componentWillUnmount",value:function(){this.unbindEventListeners()}},{key:"render",value:function(){var t=this,e=this.props.rgb,e=k()({default:{alpha:{absolute:"0px 0px 0px 0px",borderRadius:this.props.radius},checkboard:{absolute:"0px 0px 0px 0px",overflow:"hidden",borderRadius:this.props.radius},gradient:{absolute:"0px 0px 0px 0px",background:"linear-gradient(to right, rgba("+e.r+","+e.g+","+e.b+", 0) 0%,\n           rgba("+e.r+","+e.g+","+e.b+", 1) 100%)",boxShadow:this.props.shadow,borderRadius:this.props.radius},container:{position:"relative",height:"100%",margin:"0 3px"},pointer:{position:"absolute",left:100*e.a+"%"},slider:{width:"4px",borderRadius:"1px",height:"8px",boxShadow:"0 0 2px rgba(0, 0, 0, .6)",background:"#fff",marginTop:"1px",transform:"translateX(-2px)"}},vertical:{gradient:{background:"linear-gradient(to bottom, rgba("+e.r+","+e.g+","+e.b+", 0) 0%,\n           rgba("+e.r+","+e.g+","+e.b+", 1) 100%)"},pointer:{left:0,top:100*e.a+"%"}},overwrite:Jt({},this.props.style)},{vertical:"vertical"===this.props.direction,overwrite:!0});return g.a.createElement("div",{style:e.alpha},g.a.createElement("div",{style:e.checkboard},g.a.createElement(Qt,{renderers:this.props.renderers})),g.a.createElement("div",{style:e.gradient}),g.a.createElement("div",{style:e.container,ref:function(e){return t.container=e},onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},g.a.createElement("div",{style:e.pointer},this.props.pointer?g.a.createElement(this.props.pointer,this.props):g.a.createElement("div",{style:e.slider}))))}}]),i})(m.PureComponent||m.Component),an=function(e,t,n){return t&&on(e.prototype,t),n&&on(e,n),e};function on(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var ln=[38,40],cn=1,S=(e=>{var t=n;if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);function n(e){var r;if(this instanceof n)return(r=((e,t)=>{if(e)return!t||"object"!=typeof t&&"function"!=typeof t?e:t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")})(this,(n.__proto__||Object.getPrototypeOf(n)).call(this))).handleBlur=function(){r.state.blurValue&&r.setState({value:r.state.blurValue,blurValue:null})},r.handleChange=function(e){r.setUpdatedValue(e.target.value,e)},r.handleKeyDown=function(e){n=e.target.value;var t,n=Number(String(n).replace(/%/g,""));!isNaN(n)&&(t=e.keyCode,-1<ln.indexOf(t))&&(t=r.getArrowOffset(),n=38===e.keyCode?n+t:n-t,r.setUpdatedValue(n,e))},r.handleDrag=function(e){var t;r.props.dragLabel&&0<=(t=Math.round(r.props.value+e.movementX))&&t<=r.props.dragMax&&r.props.onChange&&r.props.onChange(r.getValueObjectWithLabel(t),e)},r.handleMouseDown=function(e){r.props.dragLabel&&(e.preventDefault(),r.handleDrag(e),window.addEventListener("mousemove",r.handleDrag),window.addEventListener("mouseup",r.handleMouseUp))},r.handleMouseUp=function(){r.unbindEventListeners()},r.unbindEventListeners=function(){window.removeEventListener("mousemove",r.handleDrag),window.removeEventListener("mouseup",r.handleMouseUp)},r.state={value:String(e.value).toUpperCase(),blurValue:String(e.value).toUpperCase()},r.inputId="rc-editable-input-"+cn++,r;throw new TypeError("Cannot call a class as a function")}return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e),an(n,[{key:"componentDidUpdate",value:function(e,t){this.props.value===this.state.value||e.value===this.props.value&&t.value===this.state.value||(this.input===document.activeElement?this.setState({blurValue:String(this.props.value).toUpperCase()}):this.setState({value:String(this.props.value).toUpperCase(),blurValue:!this.state.blurValue&&String(this.props.value).toUpperCase()}))}},{key:"componentWillUnmount",value:function(){this.unbindEventListeners()}},{key:"getValueObjectWithLabel",value:function(e){return t={},n=this.props.label,e=e,n in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e,t;var t,n}},{key:"getArrowOffset",value:function(){return this.props.arrowOffset||1}},{key:"setUpdatedValue",value:function(e,t){var n=this.props.label?this.getValueObjectWithLabel(e):e;this.props.onChange&&this.props.onChange(n,t),this.setState({value:e})}},{key:"render",value:function(){var t=this,e=k()({default:{wrap:{position:"relative"}},"user-override":{wrap:this.props.style&&this.props.style.wrap?this.props.style.wrap:{},input:this.props.style&&this.props.style.input?this.props.style.input:{},label:this.props.style&&this.props.style.label?this.props.style.label:{}},"dragLabel-true":{label:{cursor:"ew-resize"}}},{"user-override":!0},this.props);return g.a.createElement("div",{style:e.wrap},g.a.createElement("input",{id:this.inputId,style:e.input,ref:function(e){return t.input=e},value:this.state.value,onKeyDown:this.handleKeyDown,onChange:this.handleChange,onBlur:this.handleBlur,placeholder:this.props.placeholder,spellCheck:"false"}),this.props.label&&!this.props.hideLabel?g.a.createElement("label",{htmlFor:this.inputId,style:e.label,onMouseDown:this.handleMouseDown},this.props.label):null)}}]),n})(m.PureComponent||m.Component),un=function(e,t,n){return t&&sn(e.prototype,t),n&&sn(e,n),e};function sn(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function fn(e,t){if(e)return!t||"object"!=typeof t&&"function"!=typeof t?e:t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}var dn=(e=>{var t=i;if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);function i(){var n,e=this,t=i;if(!(e instanceof t))throw new TypeError("Cannot call a class as a function");for(var r=arguments.length,a=Array(r),o=0;o<r;o++)a[o]=arguments[o];return(t=n=fn(this,(e=i.__proto__||Object.getPrototypeOf(i)).call.apply(e,[this].concat(a)))).handleChange=function(e){var t=((e,t,n,r)=>{var a=r.clientWidth,o=r.clientHeight,i=("number"==typeof e.pageX?e:e.touches[0]).pageX,e=("number"==typeof e.pageY?e:e.touches[0]).pageY,i=i-(r.getBoundingClientRect().left+window.pageXOffset),e=e-(r.getBoundingClientRect().top+window.pageYOffset);if("vertical"===t){r=void 0;if(n.h!==(r=e<0?359:o<e?0:360*(-100*e/o+100)/100))return{h:r,s:n.s,l:n.l,a:n.a,source:"hsl"}}else{t=void 0;if(n.h!==(t=i<0?0:a<i?359:360*(100*i/a)/100))return{h:t,s:n.s,l:n.l,a:n.a,source:"hsl"}}return null})(e,n.props.direction,n.props.hsl,n.container);t&&"function"==typeof n.props.onChange&&n.props.onChange(t,e)},n.handleMouseDown=function(e){n.handleChange(e),window.addEventListener("mousemove",n.handleChange),window.addEventListener("mouseup",n.handleMouseUp)},n.handleMouseUp=function(){n.unbindEventListeners()},fn(n,t)}return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e),un(i,[{key:"componentWillUnmount",value:function(){this.unbindEventListeners()}},{key:"unbindEventListeners",value:function(){window.removeEventListener("mousemove",this.handleChange),window.removeEventListener("mouseup",this.handleMouseUp)}},{key:"render",value:function(){var t=this,e=this.props.direction,e=void 0===e?"horizontal":e,n=k()({default:{hue:{absolute:"0px 0px 0px 0px",borderRadius:this.props.radius,boxShadow:this.props.shadow},container:{padding:"0 2px",position:"relative",height:"100%",borderRadius:this.props.radius},pointer:{position:"absolute",left:100*this.props.hsl.h/360+"%"},slider:{marginTop:"1px",width:"4px",borderRadius:"1px",height:"8px",boxShadow:"0 0 2px rgba(0, 0, 0, .6)",background:"#fff",transform:"translateX(-2px)"}},vertical:{pointer:{left:"0px",top:-100*this.props.hsl.h/360+100+"%"}}},{vertical:"vertical"===e});return g.a.createElement("div",{style:n.hue},g.a.createElement("div",{className:"hue-"+e,style:n.container,ref:function(e){return t.container=e},onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},g.a.createElement("style",null,"\n            .hue-horizontal {\n              background: linear-gradient(to right, #f00 0%, #ff0 17%, #0f0\n                33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);\n              background: -webkit-linear-gradient(to right, #f00 0%, #ff0\n                17%, #0f0 33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);\n            }\n\n            .hue-vertical {\n              background: linear-gradient(to top, #f00 0%, #ff0 17%, #0f0 33%,\n                #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);\n              background: -webkit-linear-gradient(to top, #f00 0%, #ff0 17%,\n                #0f0 33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);\n            }\n          "),g.a.createElement("div",{style:n.pointer},this.props.pointer?g.a.createElement(this.props.pointer,this.props):g.a.createElement("div",{style:n.slider}))))}}]),i})(m.PureComponent||m.Component),a=t(3),l=t.n(a);var pn=function(e,t){return e===t||e!=e&&t!=t};var hn=function(e,t){for(var n=e.length;n--;)if(pn(e[n][0],t))return n;return-1},mn=Array.prototype.splice;function gn(e){var t=this.__data__;return!((e=hn(t,e))<0||(e==t.length-1?t.pop():mn.call(t,e,1),--this.size,0))}function vn(e){var t=this.__data__;return(e=hn(t,e))<0?void 0:t[e][1]}function bn(e){return-1<hn(this.__data__,e)}function yn(e,t){var n=this.__data__,r=hn(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}function En(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}En.prototype.clear=function(){this.__data__=[],this.size=0},En.prototype.delete=gn,En.prototype.get=vn,En.prototype.has=bn,En.prototype.set=yn;var wn=En;function xn(){this.__data__=new wn,this.size=0}function Cn(e){var t=this.__data__,e=t.delete(e);return this.size=t.size,e}function _n(e){return this.__data__.get(e)}function Pn(e){return this.__data__.has(e)}var kn=t(10),e=kn.a.Symbol,o=Object.prototype,Sn=o.hasOwnProperty,Rn=o.toString,In=e?e.toStringTag:void 0;var On=function(e){var t=Sn.call(e,In),n=e[In];try{var r=!(e[In]=void 0)}catch(e){}var a=Rn.call(e);return r&&(t?e[In]=n:delete e[In]),a},Fn=Object.prototype.toString;var An=function(e){return Fn.call(e)},jn=e?e.toStringTag:void 0;var Ln=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":(jn&&jn in Object(e)?On:An)(e)};var Tn=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)};var Mn=function(e){return!!Tn(e)&&("[object Function]"==(e=Ln(e))||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e)},r=kn.a["__core-js_shared__"],Nn=(i=/[^.]+$/.exec(r&&r.keys&&r.keys.IE_PROTO||""))?"Symbol(src)_1."+i:"";var Bn=function(e){return!!Nn&&Nn in e},Vn=Function.prototype.toString;var Dn=function(e){if(null!=e){try{return Vn.call(e)}catch(e){}try{return e+""}catch(e){}}return""},zn=/^\[object .+?Constructor\]$/,u=Object.prototype,s=Function.prototype.toString,a=u.hasOwnProperty,Xn=RegExp("^"+s.call(a).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");var Hn=function(e){return!(!Tn(e)||Bn(e))&&(Mn(e)?Xn:zn).test(Dn(e))};var Un=function(e,t){return null==e?void 0:e[t]};var Wn=function(e,t){return e=Un(e,t),Hn(e)?e:void 0},Zn=Wn(kn.a,"Map"),$n=Wn(Object,"create");function qn(e){return e=this.has(e)&&delete this.__data__[e],this.size-=e?1:0,e}var Yn=Object.prototype.hasOwnProperty;function Gn(e){var t,n=this.__data__;return $n?"__lodash_hash_undefined__"===(t=n[e])?void 0:t:Yn.call(n,e)?n[e]:void 0}var Kn=Object.prototype.hasOwnProperty;function Qn(e){var t=this.__data__;return $n?void 0!==t[e]:Kn.call(t,e)}function Jn(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=$n&&void 0===t?"__lodash_hash_undefined__":t,this}function er(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}er.prototype.clear=function(){this.__data__=$n?$n(null):{},this.size=0},er.prototype.delete=qn,er.prototype.get=Gn,er.prototype.has=Qn,er.prototype.set=Jn;var tr=er;var nr=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e};var rr=function(e,t){return e=e.__data__,nr(t)?e["string"==typeof t?"string":"hash"]:e.map};function ar(e){return e=rr(this,e).delete(e),this.size-=e?1:0,e}function or(e){return rr(this,e).get(e)}function ir(e){return rr(this,e).has(e)}function lr(e,t){var n=rr(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}function cr(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}cr.prototype.clear=function(){this.size=0,this.__data__={hash:new tr,map:new(Zn||wn),string:new tr}},cr.prototype.delete=ar,cr.prototype.get=or,cr.prototype.has=ir,cr.prototype.set=lr;var ur=cr;function sr(e,t){var n=this.__data__;if(n instanceof wn){var r=n.__data__;if(!Zn||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new ur(r)}return n.set(e,t),this.size=n.size,this}function fr(e){e=this.__data__=new wn(e);this.size=e.size}fr.prototype.clear=xn,fr.prototype.delete=Cn,fr.prototype.get=_n,fr.prototype.has=Pn,fr.prototype.set=sr;var dr=fr,pr=(()=>{try{var e=Wn(Object,"defineProperty");return e({},"",{}),e}catch(e){}})();var hr=function(e,t,n){"__proto__"==t&&pr?pr(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n};var mr=function(e,t,n){(void 0===n||pn(e[t],n))&&(void 0!==n||t in e)||hr(e,t,n)};var gr=function(c){return function(e,t,n){for(var r=-1,a=Object(e),o=n(e),i=o.length;i--;){var l=o[c?i:++r];if(!1===t(a[l],l,a))break}return e}}(),vr=t(95),br=kn.a.Uint8Array;var yr=function(e){var t=new e.constructor(e.byteLength);return new br(t).set(new br(e)),t};var Er=function(e,t){return t=t?yr(e.buffer):e.buffer,new e.constructor(t,e.byteOffset,e.length)};var wr=function(e,t){var n=-1,r=e.length;for(t=t||Array(r);++n<r;)t[n]=e[n];return t},xr=Object.create;function Cr(){}var _r=function(e){if(!Tn(e))return{};if(xr)return xr(e);Cr.prototype=e;e=new Cr;return Cr.prototype=void 0,e};var o=function(t,n){return function(e){return t(n(e))}},Pr=o(Object.getPrototypeOf,Object),kr=Object.prototype;var Sr=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||kr)};var Rr=function(e){return"function"!=typeof e.constructor||Sr(e)?{}:_r(Pr(e))};var Ir=function(e){return null!=e&&"object"==typeof e};var r=function(e){return Ir(e)&&"[object Arguments]"==Ln(e)},i=Object.prototype,Or=i.hasOwnProperty,Fr=i.propertyIsEnumerable,Ar=r(function(){return arguments}())?r:function(e){return Ir(e)&&Or.call(e,"callee")&&!Fr.call(e,"callee")},jr=Array.isArray;var Lr=function(e){return"number"==typeof e&&-1<e&&e%1==0&&e<=9007199254740991};var Tr=function(e){return null!=e&&Lr(e.length)&&!Mn(e)};var Mr=function(e){return Ir(e)&&Tr(e)},Nr=t(22),u=Function.prototype,s=Object.prototype,Br=u.toString,Vr=s.hasOwnProperty,Dr=Br.call(Object);var zr=function(e){return!(!Ir(e)||"[object Object]"!=Ln(e))&&(null===(e=Pr(e))||"function"==typeof(e=Vr.call(e,"constructor")&&e.constructor)&&e instanceof e&&Br.call(e)==Dr)},R={};R["[object Float32Array]"]=R["[object Float64Array]"]=R["[object Int8Array]"]=R["[object Int16Array]"]=R["[object Int32Array]"]=R["[object Uint8Array]"]=R["[object Uint8ClampedArray]"]=R["[object Uint16Array]"]=R["[object Uint32Array]"]=!0,R["[object Arguments]"]=R["[object Array]"]=R["[object ArrayBuffer]"]=R["[object Boolean]"]=R["[object DataView]"]=R["[object Date]"]=R["[object Error]"]=R["[object Function]"]=R["[object Map]"]=R["[object Number]"]=R["[object Object]"]=R["[object RegExp]"]=R["[object Set]"]=R["[object String]"]=R["[object WeakMap]"]=!1;function Xr(e){return Ir(e)&&Lr(e.length)&&!!R[Ln(e)]}var a=function(t){return function(e){return t(e)}},i=t(64),r=i.a&&i.a.isTypedArray,Hr=r?a(r):Xr;var Ur=function(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]},Wr=Object.prototype.hasOwnProperty;var Zr=function(e,t,n){var r=e[t];Wr.call(e,t)&&pn(r,n)&&(void 0!==n||t in e)||hr(e,t,n)};var $r=function(e,t,n,r){for(var a=!n,o=(n=n||{},-1),i=t.length;++o<i;){var l=t[o],c=r?r(n[l],e[l],l,n,e):void 0;void 0===c&&(c=e[l]),(a?hr:Zr)(n,l,c)}return n};var qr=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r},Yr=/^(?:0|[1-9]\d*)$/;var Gr=function(e,t){var n=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==n||"symbol"!=n&&Yr.test(e))&&-1<e&&e%1==0&&e<t},Kr=Object.prototype.hasOwnProperty;var Qr=function(e,t){var n,r=jr(e),a=!r&&Ar(e),o=!r&&!a&&Object(Nr.a)(e),i=!r&&!a&&!o&&Hr(e),l=r||a||o||i,c=l?qr(e.length,String):[],u=c.length;for(n in e)!t&&!Kr.call(e,n)||l&&("length"==n||o&&("offset"==n||"parent"==n)||i&&("buffer"==n||"byteLength"==n||"byteOffset"==n)||Gr(n,u))||c.push(n);return c};var Jr=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t},ea=Object.prototype.hasOwnProperty;var ta=function(e){if(!Tn(e))return Jr(e);var t,n=Sr(e),r=[];for(t in e)("constructor"!=t||!n&&ea.call(e,t))&&r.push(t);return r};var na=function(e){return Tr(e)?Qr(e,!0):ta(e)};var ra=function(e){return $r(e,na(e))};var aa=function(e,t,n,r,a,o,i){var l,c,u,s=Ur(e,n),f=Ur(t,n),d=i.get(f);d||((t=void 0===(d=o?o(s,f,n+"",e,t,i):void 0))&&(c=!(l=jr(f))&&Object(Nr.a)(f),u=!l&&!c&&Hr(f),d=f,l||c||u?d=jr(s)?s:Mr(s)?wr(s):c?(t=!1,Object(vr.a)(f,!0)):u?Er(f,!(t=!1)):[]:zr(f)||Ar(f)?Ar(d=s)?d=ra(s):Tn(s)&&!Mn(s)||(d=Rr(f)):t=!1),t&&(i.set(f,d),a(d,f,r,o,i),i.delete(f))),mr(e,n,d)};var oa=function r(a,o,i,l,c){a!==o&&gr(o,function(e,t){var n;c=c||new dr,Tn(e)?aa(a,o,t,i,r,l,c):(n=l?l(Ur(a,t),e,t+"",a,o,c):void 0,mr(a,t,n=void 0===n?e:n))},na)};function ia(e){return e}var la=function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)},ca=Math.max;var ua=function(o,i,l){return i=ca(void 0===i?o.length-1:i,0),function(){for(var e=arguments,t=-1,n=ca(e.length-i,0),r=Array(n);++t<n;)r[t]=e[i+t];for(var t=-1,a=Array(i+1);++t<i;)a[t]=e[t];return a[i]=l(r),la(o,this,a)}};var sa=function(e){return function(){return e}},fa=Date.now;var da=function(n){var r=0,a=0;return function(){var e=fa(),t=16-(e-a);if(a=e,0<t){if(800<=++r)return arguments[0]}else r=0;return n.apply(void 0,arguments)}}(pr?function(e,t){return pr(e,"toString",{configurable:!0,enumerable:!1,value:sa(t),writable:!0})}:ia);var pa=function(e,t){return da(ua(e,t,ia),e+"")};var ha=function(e,t,n){var r;return!!Tn(n)&&!!("number"==(r=typeof t)?Tr(n)&&Gr(t,n.length):"string"==r&&t in n)&&pn(n[t],e)};function ma(e){var t=e.zDepth,n=e.radius,r=e.background,a=e.children,e=void 0===(e=e.styles)?{}:e,n=k()(ga({default:{wrap:{position:"relative",display:"inline-block"},content:{position:"relative"},bg:{absolute:"0px 0px 0px 0px",boxShadow:"0 "+t+"px "+4*t+"px rgba(0,0,0,.24)",borderRadius:n,background:r}},"zDepth-0":{bg:{boxShadow:"none"}},"zDepth-1":{bg:{boxShadow:"0 2px 10px rgba(0,0,0,.12), 0 2px 5px rgba(0,0,0,.16)"}},"zDepth-2":{bg:{boxShadow:"0 6px 20px rgba(0,0,0,.19), 0 8px 17px rgba(0,0,0,.2)"}},"zDepth-3":{bg:{boxShadow:"0 17px 50px rgba(0,0,0,.19), 0 12px 15px rgba(0,0,0,.24)"}},"zDepth-4":{bg:{boxShadow:"0 25px 55px rgba(0,0,0,.21), 0 16px 28px rgba(0,0,0,.22)"}},"zDepth-5":{bg:{boxShadow:"0 40px 77px rgba(0,0,0,.22), 0 27px 24px rgba(0,0,0,.2)"}},square:{bg:{borderRadius:"0"}},circle:{bg:{borderRadius:"50%"}}},e),{"zDepth-1":1===t});return g.a.createElement("div",{style:n.wrap},g.a.createElement("div",{style:n.bg}),g.a.createElement("div",{style:n.content},a))}var ga=function(l){return pa(function(e,t){var n=-1,r=t.length,a=1<r?t[r-1]:void 0,o=2<r?t[2]:void 0,a=3<l.length&&"function"==typeof a?(r--,a):void 0;for(o&&ha(t[0],t[1],o)&&(a=r<3?void 0:a,r=1),e=Object(e);++n<r;){var i=t[n];i&&l(e,i,n,a)}return e})}(function(e,t,n){oa(e,t,n)}),va=(ma.propTypes={background:l.a.string,zDepth:l.a.oneOf([0,1,2,3,4,5]),radius:l.a.number,styles:l.a.object},ma.defaultProps={background:"#fff",zDepth:1,radius:2,styles:{}},ma),ba=function(){return kn.a.Date.now()},ya=/\s/;var Ea=function(e){for(var t=e.length;t--&&ya.test(e.charAt(t)););return t},wa=/^\s+/;var xa=function(e){return e&&e.slice(0,Ea(e)+1).replace(wa,"")};var Ca=function(e){return"symbol"==typeof e||Ir(e)&&"[object Symbol]"==Ln(e)},_a=/^[-+]0x[0-9a-f]+$/i,Pa=/^0b[01]+$/i,ka=/^0o[0-7]+$/i,Sa=parseInt;var Ra=function(e){if("number"==typeof e)return e;if(Ca(e))return NaN;if(Tn(e)&&(t="function"==typeof e.valueOf?e.valueOf():e,e=Tn(t)?t+"":t),"string"!=typeof e)return 0===e?e:+e;e=xa(e);var t=Pa.test(e);return t||ka.test(e)?Sa(e.slice(2),t?2:8):_a.test(e)?NaN:+e},Ia=Math.max,Oa=Math.min;var Fa=function(r,n,e){var a,o,i,l,c,u,s=0,f=!1,d=!1,t=!0;if("function"!=typeof r)throw new TypeError("Expected a function");function p(e){var t=a,n=o;return a=o=void 0,s=e,l=r.apply(n,t)}function h(e){var t=e-u;return void 0===u||n<=t||t<0||d&&i<=e-s}function m(){var e,t=ba();if(h(t))return g(t);c=setTimeout(m,(e=n-((t=t)-u),d?Oa(e,i-(t-s)):e))}function g(e){return c=void 0,t&&a?p(e):(a=o=void 0,l)}function v(){var e=ba(),t=h(e);if(a=arguments,o=this,u=e,t){if(void 0===c)return s=e=u,c=setTimeout(m,n),f?p(e):l;if(d)return clearTimeout(c),c=setTimeout(m,n),p(u)}return void 0===c&&(c=setTimeout(m,n)),l}return n=Ra(n)||0,Tn(e)&&(f=!!e.leading,d="maxWait"in e,i=d?Ia(Ra(e.maxWait)||0,n):i,t="trailing"in e?!!e.trailing:t),v.cancel=function(){void 0!==c&&clearTimeout(c),a=u=o=c=void(s=0)},v.flush=function(){return void 0===c?l:g(ba())},v};var Aa=function(e,t,n){var r=!0,a=!0;if("function"!=typeof e)throw new TypeError("Expected a function");return Tn(n)&&(r="leading"in n?!!n.leading:r,a="trailing"in n?!!n.trailing:a),Fa(e,t,{leading:r,maxWait:t,trailing:a})},ja=function(e,t,n){return t&&La(e.prototype,t),n&&La(e,n),e};function La(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var Ta=(e=>{var t=n;if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);function n(e){var l;if(this instanceof n)return(l=((e,t)=>{if(e)return!t||"object"!=typeof t&&"function"!=typeof t?e:t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")})(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,e))).handleChange=function(e){var t,n,r,a,o,i;"function"==typeof l.props.onChange&&l.throttle(l.props.onChange,(t=e,n=l.props.hsl,r=l.container,a=r.getBoundingClientRect(),o=a.width,a=a.height,i=("number"==typeof t.pageX?t:t.touches[0]).pageX,t=("number"==typeof t.pageY?t:t.touches[0]).pageY,i-=r.getBoundingClientRect().left+window.pageXOffset,t-=r.getBoundingClientRect().top+window.pageYOffset,i<0?i=0:o<i&&(i=o),t<0?t=0:a<t&&(t=a),{h:n.h,s:i/o,v:1-t/a,a:n.a,source:"hsv"}),e)},l.handleMouseDown=function(e){l.handleChange(e);e=l.getContainerRenderWindow();e.addEventListener("mousemove",l.handleChange),e.addEventListener("mouseup",l.handleMouseUp)},l.handleMouseUp=function(){l.unbindEventListeners()},l.throttle=Aa(function(e,t,n){e(t,n)},50),l;throw new TypeError("Cannot call a class as a function")}return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e),ja(n,[{key:"componentWillUnmount",value:function(){this.throttle.cancel(),this.unbindEventListeners()}},{key:"getContainerRenderWindow",value:function(){for(var e=this.container,t=window;!t.document.contains(e)&&t.parent!==t;)t=t.parent;return t}},{key:"unbindEventListeners",value:function(){var e=this.getContainerRenderWindow();e.removeEventListener("mousemove",this.handleChange),e.removeEventListener("mouseup",this.handleMouseUp)}},{key:"render",value:function(){var t=this,e=this.props.style||{},n=e.color,r=e.white,a=e.black,o=e.pointer,e=e.circle,n=k()({default:{color:{absolute:"0px 0px 0px 0px",background:"hsl("+this.props.hsl.h+",100%, 50%)",borderRadius:this.props.radius},white:{absolute:"0px 0px 0px 0px",borderRadius:this.props.radius},black:{absolute:"0px 0px 0px 0px",boxShadow:this.props.shadow,borderRadius:this.props.radius},pointer:{position:"absolute",top:-100*this.props.hsv.v+100+"%",left:100*this.props.hsv.s+"%",cursor:"default"},circle:{width:"4px",height:"4px",boxShadow:"0 0 0 1.5px #fff, inset 0 0 1px 1px rgba(0,0,0,.3),\n            0 0 1px 2px rgba(0,0,0,.4)",borderRadius:"50%",cursor:"hand",transform:"translate(-2px, -2px)"}},custom:{color:n,white:r,black:a,pointer:o,circle:e}},{custom:!!this.props.style});return g.a.createElement("div",{style:n.color,ref:function(e){return t.container=e},onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},g.a.createElement("style",null,"\n          .saturation-white {\n            background: -webkit-linear-gradient(to right, #fff, rgba(255,255,255,0));\n            background: linear-gradient(to right, #fff, rgba(255,255,255,0));\n          }\n          .saturation-black {\n            background: -webkit-linear-gradient(to top, #000, rgba(0,0,0,0));\n            background: linear-gradient(to top, #000, rgba(0,0,0,0));\n          }\n        "),g.a.createElement("div",{style:n.white,className:"saturation-white"},g.a.createElement("div",{style:n.black,className:"saturation-black"}),g.a.createElement("div",{style:n.pointer},this.props.pointer?g.a.createElement(this.props.pointer,this.props):g.a.createElement("div",{style:n.circle}))))}}]),n})(m.PureComponent||m.Component);function Ma(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e}var Na=o(Object.keys,Object),Ba=Object.prototype.hasOwnProperty;var Va=function(e){if(!Sr(e))return Na(e);var t,n=[];for(t in Object(e))Ba.call(e,t)&&"constructor"!=t&&n.push(t);return n};var Da=function(e){return(Tr(e)?Qr:Va)(e)};var za=function(o,i){return function(e,t){if(null!=e){if(!Tr(e))return o(e,t);for(var n=e.length,r=i?n:-1,a=Object(e);(i?r--:++r<n)&&!1!==t(a[r],r,a););}return e}}(function(e,t){return e&&gr(e,t,Da)});var Xa=function(e){return"function"==typeof e?e:ia};function Ha(t){var n=0,r=0;return $a(["r","g","b","a","h","s","l","v"],function(e){t[e]&&(n+=1,isNaN(t[e])||(r+=1),"s"!==e&&"l"!==e||/^\d+%$/.test(t[e])&&(r+=1))}),n===r&&t}function Ua(e){var t;return"transparent"===e||(t="#"===String(e).charAt(0)?1:0,e.length!==4+t&&e.length<7+t&&qa()(e).isValid())}function Wa(e){return e?"transparent"===(e=Ya(e)).hex?"rgba(0,0,0,0.4)":128<=(299*e.rgb.r+587*e.rgb.g+114*e.rgb.b)/1e3?"#000":"#fff":"#fff"}function Za(e,t){return e=e.replace("°",""),qa()(t+" ("+e+")")._ok}var $a=function(e,t){return(jr(e)?Ma:za)(e,Xa(t))},u=t(28),qa=t.n(u),Ya=function(e,t){var n=e.hex?qa()(e.hex):qa()(e),r=n.toHsl(),a=n.toHsv(),o=n.toRgb(),n=n.toHex(),i=(0===r.s&&(r.h=t||0,a.h=t||0),"000000"===n&&0===o.a);return{hsl:r,hex:i?"transparent":"#"+n,rgb:o,hsv:a,oldHue:e.h||t||r.h,source:e.source}},Ga=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n,r=arguments[t];for(n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Ka=function(e,t,n){return t&&Qa(e.prototype,t),n&&Qa(e,n),e};function Qa(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var s=function(n){var e=(e=>{var t=r;if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);function r(e){var n;if(this instanceof r)return(n=((e,t)=>{if(e)return!t||"object"!=typeof t&&"function"!=typeof t?e:t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")})(this,(r.__proto__||Object.getPrototypeOf(r)).call(this))).handleChange=function(e,t){Ha(e)&&(e=Ya(e,e.h||n.state.oldHue),n.setState(e),n.props.onChangeComplete&&n.debounce(n.props.onChangeComplete,e,t),n.props.onChange)&&n.props.onChange(e,t)},n.handleSwatchHover=function(e,t){Ha(e)&&(e=Ya(e,e.h||n.state.oldHue),n.props.onSwatchHover)&&n.props.onSwatchHover(e,t)},n.state=Ga({},Ya(e.color,0)),n.debounce=Fa(function(e,t,n){e(t,n)},100),n;throw new TypeError("Cannot call a class as a function")}return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e),Ka(r,[{key:"render",value:function(){var e={};return this.props.onSwatchHover&&(e.onSwatchHover=this.handleSwatchHover),g.a.createElement(n,Ga({},this.props,this.state,{onChange:this.handleChange},e))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return Ga({},Ya(e.color,t.oldHue))}}]),r})(m.PureComponent||m.Component);return e.propTypes=Ga({},n.propTypes),e.defaultProps=Ga({},n.defaultProps,{color:{h:250,s:.5,l:.2,a:1}}),e},Ja=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n,r=arguments[t];for(n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},eo=function(e,t,n){return t&&to(e.prototype,t),n&&to(e,n),e};function to(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function no(e,t){if(e)return!t||"object"!=typeof t&&"function"!=typeof t?e:t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}function ro(e){var t=e.rgb,n=e.hsl,r=e.width,a=e.height,o=e.onChange,i=e.direction,l=e.style,c=e.renderers,u=e.pointer,e=void 0===(e=e.className)?"":e,r=k()({default:{picker:{position:"relative",width:r,height:a},alpha:{radius:"2px",style:l}}});return g.a.createElement("div",{style:r.picker,className:"alpha-picker "+e},g.a.createElement(rn,io({},r.alpha,{rgb:t,hsl:n,pointer:u,renderers:c,onChange:o,direction:i})))}var ao=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n,r=arguments[t];for(n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},oo=function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:"span",n=g.a.Component,r=i;if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function, not "+typeof n);function i(){var e,t=this,n=i;if(!(t instanceof n))throw new TypeError("Cannot call a class as a function");for(var r=arguments.length,a=Array(r),o=0;o<r;o++)a[o]=arguments[o];return(n=e=no(this,(t=i.__proto__||Object.getPrototypeOf(i)).call.apply(t,[this].concat(a)))).state={focus:!1},e.handleFocus=function(){return e.setState({focus:!0})},e.handleBlur=function(){return e.setState({focus:!1})},no(e,n)}return r.prototype=Object.create(n&&n.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),n&&(Object.setPrototypeOf?Object.setPrototypeOf(r,n):r.__proto__=n),eo(i,[{key:"render",value:function(){return g.a.createElement(t,{onFocus:this.handleFocus,onBlur:this.handleBlur},g.a.createElement(e,Ja({},this.props,this.state)))}}]),i}(function(e){var t=e.color,n=e.style,r=e.onClick,a=void 0===r?function(){}:r,o=e.onHover,r=e.title,r=void 0===r?t:r,i=e.children,l=e.focus,e=e.focusStyle,e=void 0===e?{}:e,c="transparent"===t,n=k()({default:{swatch:ao({background:t,height:"100%",width:"100%",cursor:"pointer",position:"relative",outline:"none"},n,l?e:{})}}),l={};return o&&(l.onMouseOver=function(e){return o(t,e)}),g.a.createElement("div",ao({style:n.swatch,onClick:function(e){return a(t,e)},title:r,tabIndex:0,onKeyDown:function(e){return 13===e.keyCode&&a(t,e)}},l),i,c&&g.a.createElement(Qt,{borderRadius:n.swatch.borderRadius,boxShadow:"inset 0 0 0 1px rgba(0,0,0,0.1)"}))}),io=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n,r=arguments[t];for(n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e};ro.defaultProps={width:"316px",height:"16px",direction:"horizontal",pointer:function(e){e=e.direction,e=k()({default:{picker:{width:"18px",height:"18px",borderRadius:"50%",transform:"translate(-9px, -1px)",backgroundColor:"rgb(248, 248, 248)",boxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.37)"}},vertical:{picker:{transform:"translate(-3px, -9px)"}}},{vertical:"vertical"===e});return g.a.createElement("div",{style:e.picker})}},s(ro);var lo=function(e,t){for(var n=-1,r=null==e?0:e.length,a=Array(r);++n<r;)a[n]=t(e[n],n,e);return a};function co(e){return this.__data__.has(e)}function uo(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new ur;++t<n;)this.add(e[t])}uo.prototype.add=uo.prototype.push=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this},uo.prototype.has=co;var so=uo;var fo=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1};var po=function(e,t){return e.has(t)};var ho=function(e,t,n,r,a,o){var i=1&n,l=e.length,c=t.length;if(l!=c&&!(i&&l<c))return!1;var c=o.get(e),u=o.get(t);if(c&&u)return c==t&&u==e;var s=-1,f=!0,d=2&n?new so:void 0;for(o.set(e,t),o.set(t,e);++s<l;){var p,h=e[s],m=t[s];if(void 0!==(p=r?i?r(m,h,s,t,e,o):r(h,m,s,e,t,o):p)){if(p)continue;f=!1;break}if(d){if(!fo(t,function(e,t){if(!po(d,t)&&(h===e||a(h,e,n,r,o)))return d.push(t)})){f=!1;break}}else if(h!==m&&!a(h,m,n,r,o)){f=!1;break}}return o.delete(e),o.delete(t),f};function mo(e){var n=-1,r=Array(e.size);return e.forEach(function(e,t){r[++n]=[t,e]}),r}function go(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}var i=e?e.prototype:void 0,vo=i?i.valueOf:void 0;var bo=function(e,t,n,r,a,o,i){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return e.byteLength==t.byteLength&&o(new br(e),new br(t))?!0:!1;case"[object Boolean]":case"[object Date]":case"[object Number]":return pn(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var l=mo;case"[object Set]":l=l||go;if(e.size!=t.size&&!(1&r))return!1;var c=i.get(e);if(c)return c==t;r|=2,i.set(e,t);c=ho(l(e),l(t),r,a,o,i);return i.delete(e),c;case"[object Symbol]":if(vo)return vo.call(e)==vo.call(t)}return!1};var yo=function(e,t){for(var n=-1,r=t.length,a=e.length;++n<r;)e[a+n]=t[n];return e};var Eo=function(e,t,n){return t=t(e),jr(e)?t:yo(t,n(e))};var wo=function(e,t){for(var n=-1,r=null==e?0:e.length,a=0,o=[];++n<r;){var i=e[n];t(i,n,e)&&(o[a++]=i)}return o};var xo=Object.prototype.propertyIsEnumerable,Co=Object.getOwnPropertySymbols,_o=Co?function(t){return null==t?[]:(t=Object(t),wo(Co(t),function(e){return xo.call(t,e)}))}:function(){return[]};var Po=function(e){return Eo(e,Da,_o)},ko=Object.prototype.hasOwnProperty;var So=function(e,t,n,r,a,o){var i=1&n,l=Po(e),c=l.length;if(c!=Po(t).length&&!i)return!1;for(var u=c;u--;){var s=l[u];if(!(i?s in t:ko.call(t,s)))return!1}var f=o.get(e),d=o.get(t);if(f&&d)return f==t&&d==e;for(var p=!0,h=(o.set(e,t),o.set(t,e),i);++u<c;){var m,g=e[s=l[u]],v=t[s];if(!(void 0===(m=r?i?r(v,g,s,t,e,o):r(g,v,s,e,t,o):m)?g===v||a(g,v,n,r,o):m)){p=!1;break}h=h||"constructor"==s}return p&&!h&&(f=e.constructor)!=(d=t.constructor)&&"constructor"in e&&"constructor"in t&&!("function"==typeof f&&f instanceof f&&"function"==typeof d&&d instanceof d)&&(p=!1),o.delete(e),o.delete(t),p},a=Wn(kn.a,"DataView"),r=Wn(kn.a,"Promise"),o=Wn(kn.a,"Set"),u=Wn(kn.a,"WeakMap"),Ro="[object Map]",Io="[object Promise]",Oo="[object Set]",Fo="[object WeakMap]",Ao="[object DataView]",jo=Dn(a),Lo=Dn(Zn),To=Dn(r),Mo=Dn(o),No=Dn(u),i=Ln,Bo=i=a&&i(new a(new ArrayBuffer(1)))!=Ao||Zn&&i(new Zn)!=Ro||r&&i(r.resolve())!=Io||o&&i(new o)!=Oo||u&&i(new u)!=Fo?function(e){var t=Ln(e),e="[object Object]"==t?e.constructor:void 0,e=e?Dn(e):"";if(e)switch(e){case jo:return Ao;case Lo:return Ro;case To:return Io;case Mo:return Oo;case No:return Fo}return t}:i,Vo="[object Arguments]",Do="[object Array]",zo="[object Object]",Xo=Object.prototype.hasOwnProperty;var Ho=function(e,t,n,r,a,o){var i=jr(e),l=jr(t),c=i?Do:Bo(e),l=l?Do:Bo(t),u=(c=c==Vo?zo:c)==zo,s=(l=l==Vo?zo:l)==zo;if((l=c==l)&&Object(Nr.a)(e)){if(!Object(Nr.a)(t))return!1;u=!(i=!0)}if(l&&!u)return o=o||new dr,i||Hr(e)?ho(e,t,n,r,a,o):bo(e,t,c,n,r,a,o);if(!(1&n)){i=u&&Xo.call(e,"__wrapped__"),c=s&&Xo.call(t,"__wrapped__");if(i||c)return a(i?e.value():e,c?t.value():t,n,r,o=o||new dr)}return l&&(o=o||new dr,So(e,t,n,r,a,o))};var Uo=function e(t,n,r,a,o){return t===n||(null==t||null==n||!Ir(t)&&!Ir(n)?t!=t&&n!=n:Ho(t,n,r,a,e,o))};var Wo=function(e,t,n,r){var a=n.length,o=a,i=!r;if(null==e)return!o;for(e=Object(e);a--;){var l=n[a];if(i&&l[2]?l[1]!==e[l[0]]:!(l[0]in e))return!1}for(;++a<o;){var c=(l=n[a])[0],u=e[c],s=l[1];if(i&&l[2]){if(void 0===u&&!(c in e))return!1}else{var f,d=new dr;if(!(void 0===(f=r?r(u,s,c,e,t,d):f)?Uo(s,u,3,r,d):f))return!1}}return!0};var Zo=function(e){return e==e&&!Tn(e)};var $o=function(e){for(var t=Da(e),n=t.length;n--;){var r=t[n],a=e[r];t[n]=[r,a,Zo(a)]}return t};var qo=function(t,n){return function(e){return null!=e&&e[t]===n&&(void 0!==n||t in Object(e))}};var Yo=function(t){var n=$o(t);return 1==n.length&&n[0][2]?qo(n[0][0],n[0][1]):function(e){return e===t||Wo(e,t,n)}},Go=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Ko=/^\w*$/;var Qo=function(e,t){var n;return!jr(e)&&(!("number"!=(n=typeof e)&&"symbol"!=n&&"boolean"!=n&&null!=e&&!Ca(e))||Ko.test(e)||!Go.test(e)||null!=t&&e in Object(t))};function Jo(r,a){if("function"!=typeof r||null!=a&&"function"!=typeof a)throw new TypeError("Expected a function");function o(){var e=arguments,t=a?a.apply(this,e):e[0],n=o.cache;return n.has(t)?n.get(t):(e=r.apply(this,e),o.cache=n.set(t,e)||n,e)}return o.cache=new(Jo.Cache||ur),o}Jo.Cache=ur;var ei=Jo;var ti=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,ni=/\\(\\)?/g,ri=function(e){var t=(e=ei(e,function(e){return 500===t.size&&t.clear(),e})).cache;return e}(function(e){var a=[];return 46===e.charCodeAt(0)&&a.push(""),e.replace(ti,function(e,t,n,r){a.push(n?r.replace(ni,"$1"):t||e)}),a}),a=e?e.prototype:void 0,ai=a?a.toString:void 0;var oi=function e(t){var n;return"string"==typeof t?t:jr(t)?lo(t,e)+"":Ca(t)?ai?ai.call(t):"":"0"==(n=t+"")&&1/t==-1/0?"-0":n};var ii=function(e){return null==e?"":oi(e)};var li=function(e,t){return jr(e)?e:Qo(e,t)?[e]:ri(ii(e))};var ci=function(e){var t;return"string"==typeof e||Ca(e)?e:"0"==(t=e+"")&&1/e==-1/0?"-0":t};var ui=function(e,t){for(var n=0,r=(t=li(t,e)).length;null!=e&&n<r;)e=e[ci(t[n++])];return n&&n==r?e:void 0};var si=function(e,t,n){return void 0===(e=null==e?void 0:ui(e,t))?n:e};function fi(e,t){return null!=e&&t in Object(e)}var di=function(e,t,n){for(var r=-1,a=(t=li(t,e)).length,o=!1;++r<a;){var i=ci(t[r]);if(!(o=null!=e&&n(e,i)))break;e=e[i]}return o||++r!=a?o:!!(a=null==e?0:e.length)&&Lr(a)&&Gr(i,a)&&(jr(e)||Ar(e))};var pi=function(e,t){return null!=e&&di(e,t,fi)};var hi=function(n,r){return Qo(n)&&Zo(r)?qo(ci(n),r):function(e){var t=si(e,n);return void 0===t&&t===r?pi(e,n):Uo(r,t,3)}};var mi=function(t){return function(e){return null==e?void 0:e[t]}};var gi=function(t){return function(e){return ui(e,t)}};var vi=function(e){return Qo(e)?mi(ci(e)):gi(e)};var bi=function(e){return"function"==typeof e?e:null==e?ia:"object"==typeof e?jr(e)?hi(e[0],e[1]):Yo(e):vi(e)};function yi(e,r){var a=-1,o=Tr(e)?Array(e.length):[];return za(e,function(e,t,n){o[++a]=r(e,t,n)}),o}function Ei(e){var t=e.colors,n=e.onClick,r=e.onSwatchHover,a=k()({default:{swatches:{marginRight:"-10px"},swatch:{width:"22px",height:"22px",float:"left",marginRight:"10px",marginBottom:"10px",borderRadius:"4px"},clear:{clear:"both"}}});return g.a.createElement("div",{style:a.swatches},_i(t,function(e){return g.a.createElement(oo,{key:e,color:e,style:a.swatch,onClick:n,onHover:r,focusStyle:{boxShadow:"0 0 4px "+e}})}),g.a.createElement("div",{style:a.clear}))}function wi(e){function t(e,t){Ua(e)&&n({hex:e,source:"hex"},t)}var n=e.onChange,r=e.onSwatchHover,a=e.hex,o=e.colors,i=e.width,l=e.triangle,c=void 0===(c=e.styles)?{}:c,e=void 0===(e=e.className)?"":e,u="transparent"===a,i=k()(ga({default:{card:{width:i,background:"#fff",boxShadow:"0 1px rgba(0,0,0,.1)",borderRadius:"6px",position:"relative"},head:{height:"110px",background:a,borderRadius:"6px 6px 0 0",display:"flex",alignItems:"center",justifyContent:"center",position:"relative"},body:{padding:"10px"},label:{fontSize:"18px",color:Wa(a),position:"relative"},triangle:{width:"0px",height:"0px",borderStyle:"solid",borderWidth:"0 10px 10px 10px",borderColor:"transparent transparent "+a+" transparent",position:"absolute",top:"-10px",left:"50%",marginLeft:"-10px"},input:{width:"100%",fontSize:"12px",color:"#666",border:"0px",outline:"none",height:"22px",boxShadow:"inset 0 0 0 1px #ddd",borderRadius:"4px",padding:"0 7px",boxSizing:"border-box"}},"hide-triangle":{triangle:{display:"none"}}},c),{"hide-triangle":"hide"===l});return g.a.createElement("div",{style:i.card,className:"block-picker "+e},g.a.createElement("div",{style:i.triangle}),g.a.createElement("div",{style:i.head},u&&g.a.createElement(Qt,{borderRadius:"6px 6px 0 0"}),g.a.createElement("div",{style:i.label},a)),g.a.createElement("div",{style:i.body},g.a.createElement(Ei,{colors:o,onClick:t,onSwatchHover:r}),g.a.createElement(S,{style:{input:i.input},value:a,onChange:t})))}function xi(e){var t=e.color,n=e.onClick,r=e.onSwatchHover,a=e.hover,o=e.active,i=e.circleSize,e=e.circleSpacing,e=k()({default:{swatch:{width:i,height:i,marginRight:e,marginBottom:e,transform:"scale(1)",transition:"100ms transform ease"},Swatch:{borderRadius:"50%",background:"transparent",boxShadow:"inset 0 0 0 "+(i/2+1)+"px "+t,transition:"100ms box-shadow ease"}},hover:{swatch:{transform:"scale(1.2)"}},active:{Swatch:{boxShadow:"inset 0 0 0 3px "+t}}},{hover:a,active:o});return g.a.createElement("div",{style:e.swatch},g.a.createElement(oo,{style:e.Swatch,color:t,onClick:n,onHover:r,focusStyle:{boxShadow:e.Swatch.boxShadow+", 0 0 5px "+t}}))}function Ci(e){function t(e,t){return r({hex:e,source:"hex"},t)}var n=e.width,r=e.onChange,a=e.onSwatchHover,o=e.colors,i=e.hex,l=e.circleSize,c=void 0===(c=e.styles)?{}:c,u=e.circleSpacing,e=void 0===(e=e.className)?"":e,n=k()(ga({default:{card:{width:n,display:"flex",flexWrap:"wrap",marginRight:-u,marginBottom:-u}}},c));return g.a.createElement("div",{style:n.card,className:"circle-picker "+e},_i(o,function(e){return g.a.createElement(Ni,{key:e,color:e,onClick:t,onSwatchHover:a,active:i===e.toLowerCase(),circleSize:l,circleSpacing:u})}))}var _i=function(e,t){return(jr(e)?lo:yi)(e,bi(t,3))},r=(wi.propTypes={width:l.a.oneOfType([l.a.string,l.a.number]),colors:l.a.arrayOf(l.a.string),triangle:l.a.oneOf(["top","hide"]),styles:l.a.object},wi.defaultProps={width:170,colors:["#D9E3F0","#F47373","#697689","#37D67A","#2CCCE4","#555555","#dce775","#ff8a65","#ba68c8"],triangle:"top",styles:{}},s(wi),{50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",a100:"#ff8a80",a200:"#ff5252",a400:"#ff1744",a700:"#d50000"}),o={50:"#fce4ec",100:"#f8bbd0",200:"#f48fb1",300:"#f06292",400:"#ec407a",500:"#e91e63",600:"#d81b60",700:"#c2185b",800:"#ad1457",900:"#880e4f",a100:"#ff80ab",a200:"#ff4081",a400:"#f50057",a700:"#c51162"},u={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",a100:"#ea80fc",a200:"#e040fb",a400:"#d500f9",a700:"#aa00ff"},i={50:"#ede7f6",100:"#d1c4e9",200:"#b39ddb",300:"#9575cd",400:"#7e57c2",500:"#673ab7",600:"#5e35b1",700:"#512da8",800:"#4527a0",900:"#311b92",a100:"#b388ff",a200:"#7c4dff",a400:"#651fff",a700:"#6200ea"},e={50:"#e8eaf6",100:"#c5cae9",200:"#9fa8da",300:"#7986cb",400:"#5c6bc0",500:"#3f51b5",600:"#3949ab",700:"#303f9f",800:"#283593",900:"#1a237e",a100:"#8c9eff",a200:"#536dfe",a400:"#3d5afe",a700:"#304ffe"},a={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",a100:"#82b1ff",a200:"#448aff",a400:"#2979ff",a700:"#2962ff"},Pi={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",a100:"#80d8ff",a200:"#40c4ff",a400:"#00b0ff",a700:"#0091ea"},ki={50:"#e0f7fa",100:"#b2ebf2",200:"#80deea",300:"#4dd0e1",400:"#26c6da",500:"#00bcd4",600:"#00acc1",700:"#0097a7",800:"#00838f",900:"#006064",a100:"#84ffff",a200:"#18ffff",a400:"#00e5ff",a700:"#00b8d4"},Si={50:"#e0f2f1",100:"#b2dfdb",200:"#80cbc4",300:"#4db6ac",400:"#26a69a",500:"#009688",600:"#00897b",700:"#00796b",800:"#00695c",900:"#004d40",a100:"#a7ffeb",a200:"#64ffda",a400:"#1de9b6",a700:"#00bfa5"},Ri={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",a100:"#b9f6ca",a200:"#69f0ae",a400:"#00e676",a700:"#00c853"},Ii={50:"#f1f8e9",100:"#dcedc8",200:"#c5e1a5",300:"#aed581",400:"#9ccc65",500:"#8bc34a",600:"#7cb342",700:"#689f38",800:"#558b2f",900:"#33691e",a100:"#ccff90",a200:"#b2ff59",a400:"#76ff03",a700:"#64dd17"},Oi={50:"#f9fbe7",100:"#f0f4c3",200:"#e6ee9c",300:"#dce775",400:"#d4e157",500:"#cddc39",600:"#c0ca33",700:"#afb42b",800:"#9e9d24",900:"#827717",a100:"#f4ff81",a200:"#eeff41",a400:"#c6ff00",a700:"#aeea00"},Fi={50:"#fffde7",100:"#fff9c4",200:"#fff59d",300:"#fff176",400:"#ffee58",500:"#ffeb3b",600:"#fdd835",700:"#fbc02d",800:"#f9a825",900:"#f57f17",a100:"#ffff8d",a200:"#ffff00",a400:"#ffea00",a700:"#ffd600"},Ai={50:"#fff8e1",100:"#ffecb3",200:"#ffe082",300:"#ffd54f",400:"#ffca28",500:"#ffc107",600:"#ffb300",700:"#ffa000",800:"#ff8f00",900:"#ff6f00",a100:"#ffe57f",a200:"#ffd740",a400:"#ffc400",a700:"#ffab00"},ji={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",a100:"#ffd180",a200:"#ffab40",a400:"#ff9100",a700:"#ff6d00"},Li={50:"#fbe9e7",100:"#ffccbc",200:"#ffab91",300:"#ff8a65",400:"#ff7043",500:"#ff5722",600:"#f4511e",700:"#e64a19",800:"#d84315",900:"#bf360c",a100:"#ff9e80",a200:"#ff6e40",a400:"#ff3d00",a700:"#dd2c00"},Ti={50:"#efebe9",100:"#d7ccc8",200:"#bcaaa4",300:"#a1887f",400:"#8d6e63",500:"#795548",600:"#6d4c41",700:"#5d4037",800:"#4e342e",900:"#3e2723"},Mi={50:"#eceff1",100:"#cfd8dc",200:"#b0bec5",300:"#90a4ae",400:"#78909c",500:"#607d8b",600:"#546e7a",700:"#455a64",800:"#37474f",900:"#263238"},Ni=(xi.defaultProps={circleSize:28,circleSpacing:14},Object(n.handleHover)(xi));Ci.propTypes={width:l.a.oneOfType([l.a.string,l.a.number]),circleSize:l.a.number,circleSpacing:l.a.number,styles:l.a.object},Ci.defaultProps={width:252,circleSize:28,circleSpacing:14,colors:[r[500],o[500],u[500],i[500],e[500],a[500],Pi[500],ki[500],Si[500],Ri[500],Ii[500],Oi[500],Fi[500],Ai[500],ji[500],Li[500],Ti[500],Mi[500]],styles:{}},s(Ci);var Bi=function(e){return void 0===e},Vi=t(96),Di=t.n(Vi),zi=function(e,t,n){return t&&Xi(e.prototype,t),n&&Xi(e,n),e};function Xi(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Hi(){var e=k()({default:{picker:{width:"12px",height:"12px",borderRadius:"6px",transform:"translate(-6px, -1px)",backgroundColor:"rgb(248, 248, 248)",boxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.37)"}}});return g.a.createElement("div",{style:e.picker})}function Ui(){var e=k()({default:{picker:{width:"12px",height:"12px",borderRadius:"6px",boxShadow:"inset 0 0 0 1px #fff",transform:"translate(-6px, -6px)"}}});return g.a.createElement("div",{style:e.picker})}function Wi(e){var t=e.width,n=e.onChange,r=e.disableAlpha,a=e.rgb,o=e.hsl,i=e.hsv,l=e.hex,c=e.renderers,u=void 0===(u=e.styles)?{}:u,s=void 0===(s=e.className)?"":s,e=e.defaultView,t=k()(ga({default:{picker:{width:t,background:"#fff",borderRadius:"2px",boxShadow:"0 0 2px rgba(0,0,0,.3), 0 4px 8px rgba(0,0,0,.3)",boxSizing:"initial",fontFamily:"Menlo"},saturation:{width:"100%",paddingBottom:"55%",position:"relative",borderRadius:"2px 2px 0 0",overflow:"hidden"},Saturation:{radius:"2px 2px 0 0"},body:{padding:"16px 16px 12px"},controls:{display:"flex"},color:{width:"32px"},swatch:{marginTop:"6px",width:"16px",height:"16px",borderRadius:"8px",position:"relative",overflow:"hidden"},active:{absolute:"0px 0px 0px 0px",borderRadius:"8px",boxShadow:"inset 0 0 0 1px rgba(0,0,0,.1)",background:"rgba("+a.r+", "+a.g+", "+a.b+", "+a.a+")",zIndex:"2"},toggles:{flex:"1"},hue:{height:"10px",position:"relative",marginBottom:"8px"},Hue:{radius:"2px"},alpha:{height:"10px",position:"relative"},Alpha:{radius:"2px"}},disableAlpha:{color:{width:"22px"},alpha:{display:"none"},hue:{marginBottom:"0px"},swatch:{width:"10px",height:"10px",marginTop:"0px"}}},u),{disableAlpha:r});return g.a.createElement("div",{style:t.picker,className:"chrome-picker "+s},g.a.createElement("div",{style:t.saturation},g.a.createElement(Ta,{style:t.Saturation,hsl:o,hsv:i,pointer:Ui,onChange:n})),g.a.createElement("div",{style:t.body},g.a.createElement("div",{style:t.controls,className:"flexbox-fix"},g.a.createElement("div",{style:t.color},g.a.createElement("div",{style:t.swatch},g.a.createElement("div",{style:t.active}),g.a.createElement(Qt,{renderers:c}))),g.a.createElement("div",{style:t.toggles},g.a.createElement("div",{style:t.hue},g.a.createElement(dn,{style:t.Hue,hsl:o,pointer:Hi,onChange:n})),g.a.createElement("div",{style:t.alpha},g.a.createElement(rn,{style:t.Alpha,rgb:a,hsl:o,pointer:Hi,renderers:c,onChange:n})))),g.a.createElement(rl,{rgb:a,hsl:o,hex:l,view:e,onChange:n,disableAlpha:r})))}function Zi(e){var t=e.color,n=void 0===(n=e.onClick)?function(){}:n,r=e.onSwatchHover,e=e.active,e=k()({default:{color:{background:t,width:"15px",height:"15px",float:"left",marginRight:"5px",marginBottom:"5px",position:"relative",cursor:"pointer"},dot:{absolute:"5px 5px 5px 5px",background:Wa(t),borderRadius:"50%",opacity:"0"}},active:{dot:{opacity:"1"}},"color-#FFFFFF":{color:{boxShadow:"inset 0 0 0 1px #ddd"},dot:{background:"#000"}},transparent:{dot:{background:"#000"}}},{active:e,"color-#FFFFFF":"#FFFFFF"===t,transparent:"transparent"===t});return g.a.createElement(oo,{style:e.color,color:t,onClick:n,onHover:r,focusStyle:{boxShadow:"0 0 4px "+t}},g.a.createElement("div",{style:e.dot}))}function $i(e){function t(e,t){e.r||e.g||e.b?a({r:e.r||r.r,g:e.g||r.g,b:e.b||r.b,source:"rgb"},t):a({hex:e.hex,source:"hex"},t)}var n=e.hex,r=e.rgb,a=e.onChange,e=k()({default:{fields:{display:"flex",paddingBottom:"6px",paddingRight:"5px",position:"relative"},active:{position:"absolute",top:"6px",left:"5px",height:"9px",width:"9px",background:n},HEXwrap:{flex:"6",position:"relative"},HEXinput:{width:"80%",padding:"0px",paddingLeft:"20%",border:"none",outline:"none",background:"none",fontSize:"12px",color:"#333",height:"16px"},HEXlabel:{display:"none"},RGBwrap:{flex:"3",position:"relative"},RGBinput:{width:"70%",padding:"0px",paddingLeft:"30%",border:"none",outline:"none",background:"none",fontSize:"12px",color:"#333",height:"16px"},RGBlabel:{position:"absolute",top:"3px",left:"0px",lineHeight:"16px",textTransform:"uppercase",fontSize:"12px",color:"#999"}}});return g.a.createElement("div",{style:e.fields,className:"flexbox-fix"},g.a.createElement("div",{style:e.active}),g.a.createElement(S,{style:{wrap:e.HEXwrap,input:e.HEXinput,label:e.HEXlabel},label:"hex",value:n,onChange:t}),g.a.createElement(S,{style:{wrap:e.RGBwrap,input:e.RGBinput,label:e.RGBlabel},label:"r",value:r.r,onChange:t}),g.a.createElement(S,{style:{wrap:e.RGBwrap,input:e.RGBinput,label:e.RGBlabel},label:"g",value:r.g,onChange:t}),g.a.createElement(S,{style:{wrap:e.RGBwrap,input:e.RGBinput,label:e.RGBlabel},label:"b",value:r.b,onChange:t}))}function qi(e){function t(e,t){e.hex?Ua(e.hex)&&n({hex:e.hex,source:"hex"},t):n(e,t)}var n=e.onChange,r=e.onSwatchHover,a=e.colors,o=e.hex,i=e.rgb,l=void 0===(l=e.styles)?{}:l,e=void 0===(e=e.className)?"":e,c=k()(ga({default:{Compact:{background:"#f6f6f6",radius:"4px"},compact:{paddingTop:"5px",paddingLeft:"5px",boxSizing:"initial",width:"240px"},clear:{clear:"both"}}},l));return g.a.createElement(va,{style:c.Compact,styles:l},g.a.createElement("div",{style:c.compact,className:"compact-picker "+e},g.a.createElement("div",null,_i(a,function(e){return g.a.createElement(Zi,{key:e,color:e,active:e.toLowerCase()===o,onClick:t,onSwatchHover:r})}),g.a.createElement("div",{style:c.clear})),g.a.createElement($i,{hex:o,rgb:i,onChange:t})))}function Yi(e){function t(e,t){return a({hex:e,source:"hex"},t)}var n=e.width,r=e.colors,a=e.onChange,o=e.onSwatchHover,i=e.triangle,l=void 0===(l=e.styles)?{}:l,e=void 0===(e=e.className)?"":e,n=k()(ga({default:{card:{width:n,background:"#fff",border:"1px solid rgba(0,0,0,0.2)",boxShadow:"0 3px 12px rgba(0,0,0,0.15)",borderRadius:"4px",position:"relative",padding:"5px",display:"flex",flexWrap:"wrap"},triangle:{position:"absolute",border:"7px solid transparent",borderBottomColor:"#fff"},triangleShadow:{position:"absolute",border:"8px solid transparent",borderBottomColor:"rgba(0,0,0,0.15)"}},"hide-triangle":{triangle:{display:"none"},triangleShadow:{display:"none"}},"top-left-triangle":{triangle:{top:"-14px",left:"10px"},triangleShadow:{top:"-16px",left:"9px"}},"top-right-triangle":{triangle:{top:"-14px",right:"10px"},triangleShadow:{top:"-16px",right:"9px"}},"bottom-left-triangle":{triangle:{top:"35px",left:"10px",transform:"rotate(180deg)"},triangleShadow:{top:"37px",left:"9px",transform:"rotate(180deg)"}},"bottom-right-triangle":{triangle:{top:"35px",right:"10px",transform:"rotate(180deg)"},triangleShadow:{top:"37px",right:"9px",transform:"rotate(180deg)"}}},l),{"hide-triangle":"hide"===i,"top-left-triangle":"top-left"===i,"top-right-triangle":"top-right"===i,"bottom-left-triangle":"bottom-left"===i,"bottom-right-triangle":"bottom-right"===i});return g.a.createElement("div",{style:n.card,className:"github-picker "+e},g.a.createElement("div",{style:n.triangleShadow}),g.a.createElement("div",{style:n.triangle}),_i(r,function(e){return g.a.createElement(al,{color:e,key:e,onClick:t,onSwatchHover:o})}))}function Gi(e){return e=e.direction,e=k()({default:{picker:{width:"18px",height:"18px",borderRadius:"50%",transform:"translate(-9px, -1px)",backgroundColor:"rgb(248, 248, 248)",boxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.37)"}},vertical:{picker:{transform:"translate(-3px, -9px)"}}},{vertical:"vertical"===e}),g.a.createElement("div",{style:e.picker})}function Ki(e){var t=e.width,n=e.height,r=e.onChange,a=e.hsl,o=e.direction,i=e.pointer,l=void 0===(l=e.styles)?{}:l,e=void 0===(e=e.className)?"":e,t=k()(ga({default:{picker:{position:"relative",width:t,height:n},hue:{radius:"2px"}}},l));return g.a.createElement("div",{style:t.picker,className:"hue-picker "+e},g.a.createElement(dn,ol({},t.hue,{hsl:a,pointer:i,onChange:function(e){return r({a:1,h:e.h,l:.5,s:1})},direction:o})))}function Qi(e){function t(e,t){e["#"]?Ua(e["#"])&&n({hex:e["#"],source:"hex"},t):e.r||e.g||e.b?n({r:e.r||r.r,g:e.g||r.g,b:e.b||r.b,source:"rgb"},t):(e.h||e.s||e.v)&&n({h:e.h||a.h,s:e.s||a.s,v:e.v||a.v,source:"hsv"},t)}var n=e.onChange,r=e.rgb,a=e.hsv,e=e.hex,o=k()({default:{fields:{paddingTop:"5px",paddingBottom:"9px",width:"80px",position:"relative"},divider:{height:"5px"},RGBwrap:{position:"relative"},RGBinput:{marginLeft:"40%",width:"40%",height:"18px",border:"1px solid #888888",boxShadow:"inset 0 1px 1px rgba(0,0,0,.1), 0 1px 0 0 #ECECEC",marginBottom:"5px",fontSize:"13px",paddingLeft:"3px",marginRight:"10px"},RGBlabel:{left:"0px",top:"0px",width:"34px",textTransform:"uppercase",fontSize:"13px",height:"18px",lineHeight:"22px",position:"absolute"},HEXwrap:{position:"relative"},HEXinput:{marginLeft:"20%",width:"80%",height:"18px",border:"1px solid #888888",boxShadow:"inset 0 1px 1px rgba(0,0,0,.1), 0 1px 0 0 #ECECEC",marginBottom:"6px",fontSize:"13px",paddingLeft:"3px"},HEXlabel:{position:"absolute",top:"0px",left:"0px",width:"14px",textTransform:"uppercase",fontSize:"13px",height:"18px",lineHeight:"22px"},fieldSymbols:{position:"absolute",top:"5px",right:"-7px",fontSize:"13px"},symbol:{height:"20px",lineHeight:"22px",paddingBottom:"7px"}}});return g.a.createElement("div",{style:o.fields},g.a.createElement(S,{style:{wrap:o.RGBwrap,input:o.RGBinput,label:o.RGBlabel},label:"h",value:Math.round(a.h),onChange:t}),g.a.createElement(S,{style:{wrap:o.RGBwrap,input:o.RGBinput,label:o.RGBlabel},label:"s",value:Math.round(100*a.s),onChange:t}),g.a.createElement(S,{style:{wrap:o.RGBwrap,input:o.RGBinput,label:o.RGBlabel},label:"v",value:Math.round(100*a.v),onChange:t}),g.a.createElement("div",{style:o.divider}),g.a.createElement(S,{style:{wrap:o.RGBwrap,input:o.RGBinput,label:o.RGBlabel},label:"r",value:r.r,onChange:t}),g.a.createElement(S,{style:{wrap:o.RGBwrap,input:o.RGBinput,label:o.RGBlabel},label:"g",value:r.g,onChange:t}),g.a.createElement(S,{style:{wrap:o.RGBwrap,input:o.RGBinput,label:o.RGBlabel},label:"b",value:r.b,onChange:t}),g.a.createElement("div",{style:o.divider}),g.a.createElement(S,{style:{wrap:o.HEXwrap,input:o.HEXinput,label:o.HEXlabel},label:"#",value:e.replace("#",""),onChange:t}),g.a.createElement("div",{style:o.fieldSymbols},g.a.createElement("div",{style:o.symbol},"°"),g.a.createElement("div",{style:o.symbol},"%"),g.a.createElement("div",{style:o.symbol},"%")))}function Ji(e){return e=e.hsl,e=k()({default:{picker:{width:"12px",height:"12px",borderRadius:"6px",boxShadow:"inset 0 0 0 1px #fff",transform:"translate(-6px, -6px)"}},"black-outline":{picker:{boxShadow:"inset 0 0 0 1px #000"}}},{"black-outline":.5<e.l}),g.a.createElement("div",{style:e.picker})}function el(){var e=k()({default:{triangle:{width:0,height:0,borderStyle:"solid",borderWidth:"4px 0 4px 6px",borderColor:"transparent transparent transparent #fff",position:"absolute",top:"1px",left:"1px"},triangleBorder:{width:0,height:0,borderStyle:"solid",borderWidth:"5px 0 5px 8px",borderColor:"transparent transparent transparent #555"},left:{Extend:"triangleBorder",transform:"translate(-13px, -4px)"},leftInside:{Extend:"triangle",transform:"translate(-8px, -5px)"},right:{Extend:"triangleBorder",transform:"translate(20px, -14px) rotate(180deg)"},rightInside:{Extend:"triangle",transform:"translate(-8px, -5px)"}}});return g.a.createElement("div",{style:e.pointer},g.a.createElement("div",{style:e.left},g.a.createElement("div",{style:e.leftInside})),g.a.createElement("div",{style:e.right},g.a.createElement("div",{style:e.rightInside})))}function tl(e){var t=e.onClick,n=e.label,r=e.children,e=e.active,e=k()({default:{button:{backgroundImage:"linear-gradient(-180deg, #FFFFFF 0%, #E6E6E6 100%)",border:"1px solid #878787",borderRadius:"2px",height:"20px",boxShadow:"0 1px 0 0 #EAEAEA",fontSize:"14px",color:"#000",lineHeight:"20px",textAlign:"center",marginBottom:"10px",cursor:"pointer"}},active:{button:{boxShadow:"0 0 0 1px #878787"}}},{active:e});return g.a.createElement("div",{style:e.button,onClick:t},n||r)}function nl(e){var t=e.rgb,e=e.currentColor,t=k()({default:{swatches:{border:"1px solid #B3B3B3",borderBottom:"1px solid #F0F0F0",marginBottom:"2px",marginTop:"1px"},new:{height:"34px",background:"rgb("+t.r+","+t.g+", "+t.b+")",boxShadow:"inset 1px 0 0 #000, inset -1px 0 0 #000, inset 0 1px 0 #000"},current:{height:"34px",background:e,boxShadow:"inset 1px 0 0 #000, inset -1px 0 0 #000, inset 0 -1px 0 #000"},label:{fontSize:"14px",color:"#000",textAlign:"center"}}});return g.a.createElement("div",null,g.a.createElement("div",{style:t.label},"new"),g.a.createElement("div",{style:t.swatches},g.a.createElement("div",{style:t.new}),g.a.createElement("div",{style:t.current})),g.a.createElement("div",{style:t.label},"current"))}var Vi=(e=>{var t=r;if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);function r(e){var n;if(this instanceof r)return(n=((e,t)=>{if(e)return!t||"object"!=typeof t&&"function"!=typeof t?e:t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")})(this,(r.__proto__||Object.getPrototypeOf(r)).call(this))).toggleViews=function(){"hex"===n.state.view?n.setState({view:"rgb"}):"rgb"===n.state.view?n.setState({view:"hsl"}):"hsl"===n.state.view&&(1===n.props.hsl.a?n.setState({view:"hex"}):n.setState({view:"rgb"}))},n.handleChange=function(e,t){e.hex?Ua(e.hex)&&n.props.onChange({hex:e.hex,source:"hex"},t):e.r||e.g||e.b?n.props.onChange({r:e.r||n.props.rgb.r,g:e.g||n.props.rgb.g,b:e.b||n.props.rgb.b,source:"rgb"},t):e.a?(e.a<0?e.a=0:1<e.a&&(e.a=1),n.props.onChange({h:n.props.hsl.h,s:n.props.hsl.s,l:n.props.hsl.l,a:Math.round(100*e.a)/100,source:"rgb"},t)):(e.h||e.s||e.l)&&("string"==typeof e.s&&e.s.includes("%")&&(e.s=e.s.replace("%","")),"string"==typeof e.l&&e.l.includes("%")&&(e.l=e.l.replace("%","")),1==e.s?e.s=.01:1==e.l&&(e.l=.01),n.props.onChange({h:e.h||n.props.hsl.h,s:Number((Bi(e.s)?n.props.hsl:e).s),l:Number((Bi(e.l)?n.props.hsl:e).l),source:"hsl"},t))},n.showHighlight=function(e){e.currentTarget.style.background="#eee"},n.hideHighlight=function(e){e.currentTarget.style.background="transparent"},1!==e.hsl.a&&"hex"===e.view?n.state={view:"rgb"}:n.state={view:e.view},n;throw new TypeError("Cannot call a class as a function")}return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e),zi(r,[{key:"render",value:function(){var t=this,e=k()({default:{wrap:{paddingTop:"16px",display:"flex"},fields:{flex:"1",display:"flex",marginLeft:"-6px"},field:{paddingLeft:"6px",width:"100%"},alpha:{paddingLeft:"6px",width:"100%"},toggle:{width:"32px",textAlign:"right",position:"relative"},icon:{marginRight:"-4px",marginTop:"12px",cursor:"pointer",position:"relative"},iconHighlight:{position:"absolute",width:"24px",height:"28px",background:"#eee",borderRadius:"4px",top:"10px",left:"12px",display:"none"},input:{fontSize:"11px",color:"#333",width:"100%",borderRadius:"2px",border:"none",boxShadow:"inset 0 0 0 1px #dadada",height:"21px",textAlign:"center"},label:{textTransform:"uppercase",fontSize:"11px",lineHeight:"11px",color:"#969696",textAlign:"center",display:"block",marginTop:"12px"},svg:{fill:"#333",width:"24px",height:"24px",border:"1px transparent solid",borderRadius:"5px"}},disableAlpha:{alpha:{display:"none"}}},this.props,this.state),n=void 0;return"hex"===this.state.view?n=g.a.createElement("div",{style:e.fields,className:"flexbox-fix"},g.a.createElement("div",{style:e.field},g.a.createElement(S,{style:{input:e.input,label:e.label},label:"hex",value:this.props.hex,onChange:this.handleChange}))):"rgb"===this.state.view?n=g.a.createElement("div",{style:e.fields,className:"flexbox-fix"},g.a.createElement("div",{style:e.field},g.a.createElement(S,{style:{input:e.input,label:e.label},label:"r",value:this.props.rgb.r,onChange:this.handleChange})),g.a.createElement("div",{style:e.field},g.a.createElement(S,{style:{input:e.input,label:e.label},label:"g",value:this.props.rgb.g,onChange:this.handleChange})),g.a.createElement("div",{style:e.field},g.a.createElement(S,{style:{input:e.input,label:e.label},label:"b",value:this.props.rgb.b,onChange:this.handleChange})),g.a.createElement("div",{style:e.alpha},g.a.createElement(S,{style:{input:e.input,label:e.label},label:"a",value:this.props.rgb.a,arrowOffset:.01,onChange:this.handleChange}))):"hsl"===this.state.view&&(n=g.a.createElement("div",{style:e.fields,className:"flexbox-fix"},g.a.createElement("div",{style:e.field},g.a.createElement(S,{style:{input:e.input,label:e.label},label:"h",value:Math.round(this.props.hsl.h),onChange:this.handleChange})),g.a.createElement("div",{style:e.field},g.a.createElement(S,{style:{input:e.input,label:e.label},label:"s",value:Math.round(100*this.props.hsl.s)+"%",onChange:this.handleChange})),g.a.createElement("div",{style:e.field},g.a.createElement(S,{style:{input:e.input,label:e.label},label:"l",value:Math.round(100*this.props.hsl.l)+"%",onChange:this.handleChange})),g.a.createElement("div",{style:e.alpha},g.a.createElement(S,{style:{input:e.input,label:e.label},label:"a",value:this.props.hsl.a,arrowOffset:.01,onChange:this.handleChange})))),g.a.createElement("div",{style:e.wrap,className:"flexbox-fix"},n,g.a.createElement("div",{style:e.toggle},g.a.createElement("div",{style:e.icon,onClick:this.toggleViews,ref:function(e){return t.icon=e}},g.a.createElement(Di.a,{style:e.svg,onMouseOver:this.showHighlight,onMouseEnter:this.showHighlight,onMouseOut:this.hideHighlight}))))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return 1!==e.hsl.a&&"hex"===t.view?{view:"rgb"}:null}}]),r})(g.a.Component),rl=(Vi.defaultProps={view:"hex"},Vi),al=(Wi.propTypes={width:l.a.oneOfType([l.a.string,l.a.number]),disableAlpha:l.a.bool,styles:l.a.object,defaultView:l.a.oneOf(["hex","rgb","hsl"])},Wi.defaultProps={width:225,disableAlpha:!1,styles:{}},s(Wi),qi.propTypes={colors:l.a.arrayOf(l.a.string),styles:l.a.object},qi.defaultProps={colors:["#4D4D4D","#999999","#FFFFFF","#F44E3B","#FE9200","#FCDC00","#DBDF00","#A4DD00","#68CCCA","#73D8FF","#AEA1FF","#FDA1FF","#333333","#808080","#cccccc","#D33115","#E27300","#FCC400","#B0BC00","#68BC00","#16A5A5","#009CE0","#7B64FF","#FA28FF","#000000","#666666","#B3B3B3","#9F0500","#C45100","#FB9E00","#808900","#194D33","#0C797D","#0062B1","#653294","#AB149E"],styles:{}},s(qi),Object(n.handleHover)(function(e){var t=e.hover,n=e.color,r=e.onClick,e=e.onSwatchHover,a={position:"relative",zIndex:"2",outline:"2px solid #fff",boxShadow:"0 0 5px 2px rgba(0,0,0,0.25)"},t=k()({default:{swatch:{width:"25px",height:"25px",fontSize:"0"}},hover:{swatch:a}},{hover:t});return g.a.createElement("div",{style:t.swatch},g.a.createElement(oo,{color:n,onClick:r,onHover:e,focusStyle:a}))})),ol=(Yi.propTypes={width:l.a.oneOfType([l.a.string,l.a.number]),colors:l.a.arrayOf(l.a.string),triangle:l.a.oneOf(["hide","top-left","top-right","bottom-left","bottom-right"]),styles:l.a.object},Yi.defaultProps={width:200,colors:["#B80000","#DB3E00","#FCCB00","#008B02","#006B76","#1273DE","#004DCF","#5300EB","#EB9694","#FAD0C3","#FEF3BD","#C1E1C5","#BEDADC","#C4DEF6","#BED3F3","#D4C4FB"],triangle:"top-left",styles:{}},s(Yi),Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n,r=arguments[t];for(n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}),il=(Ki.propTypes={styles:l.a.object},Ki.defaultProps={width:"316px",height:"16px",direction:"horizontal",pointer:Gi,styles:{}},s(Ki),s(function(e){function t(e,t){e.hex?Ua(e.hex)&&n({hex:e.hex,source:"hex"},t):(e.r||e.g||e.b)&&n({r:e.r||a.r,g:e.g||a.g,b:e.b||a.b,source:"rgb"},t)}var n=e.onChange,r=e.hex,a=e.rgb,o=e.styles,o=void 0===o?{}:o,e=e.className,e=void 0===e?"":e,i=k()(ga({default:{material:{width:"98px",height:"98px",padding:"16px",fontFamily:"Roboto"},HEXwrap:{position:"relative"},HEXinput:{width:"100%",marginTop:"12px",fontSize:"15px",color:"#333",padding:"0px",border:"0px",borderBottom:"2px solid "+r,outline:"none",height:"30px"},HEXlabel:{position:"absolute",top:"0px",left:"0px",fontSize:"11px",color:"#999999",textTransform:"capitalize"},Hex:{style:{}},RGBwrap:{position:"relative"},RGBinput:{width:"100%",marginTop:"12px",fontSize:"15px",color:"#333",padding:"0px",border:"0px",borderBottom:"1px solid #eee",outline:"none",height:"30px"},RGBlabel:{position:"absolute",top:"0px",left:"0px",fontSize:"11px",color:"#999999",textTransform:"capitalize"},split:{display:"flex",marginRight:"-10px",paddingTop:"11px"},third:{flex:"1",paddingRight:"10px"}}},o));return g.a.createElement(va,{styles:o},g.a.createElement("div",{style:i.material,className:"material-picker "+e},g.a.createElement(S,{style:{wrap:i.HEXwrap,input:i.HEXinput,label:i.HEXlabel},label:"hex",value:r,onChange:t}),g.a.createElement("div",{style:i.split,className:"flexbox-fix"},g.a.createElement("div",{style:i.third},g.a.createElement(S,{style:{wrap:i.RGBwrap,input:i.RGBinput,label:i.RGBlabel},label:"r",value:a.r,onChange:t})),g.a.createElement("div",{style:i.third},g.a.createElement(S,{style:{wrap:i.RGBwrap,input:i.RGBinput,label:i.RGBlabel},label:"g",value:a.g,onChange:t})),g.a.createElement("div",{style:i.third},g.a.createElement(S,{style:{wrap:i.RGBwrap,input:i.RGBinput,label:i.RGBlabel},label:"b",value:a.b,onChange:t})))))}),function(e,t,n){return t&&ll(e.prototype,t),n&&ll(e,n),e});function ll(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function cl(e){function t(e,t){e.hex?Ua(e.hex)&&n({hex:e.hex,source:"hex"},t):e.r||e.g||e.b?n({r:e.r||r.r,g:e.g||r.g,b:e.b||r.b,a:r.a,source:"rgb"},t):e.a&&(e.a<0?e.a=0:100<e.a&&(e.a=100),e.a/=100,n({h:a.h,s:a.s,l:a.l,a:e.a,source:"rgb"},t))}var n=e.onChange,r=e.rgb,a=e.hsl,o=e.hex,e=e.disableAlpha,e=k()({default:{fields:{display:"flex",paddingTop:"4px"},single:{flex:"1",paddingLeft:"6px"},alpha:{flex:"1",paddingLeft:"6px"},double:{flex:"2"},input:{width:"80%",padding:"4px 10% 3px",border:"none",boxShadow:"inset 0 0 0 1px #ccc",fontSize:"11px"},label:{display:"block",textAlign:"center",fontSize:"11px",color:"#222",paddingTop:"3px",paddingBottom:"4px",textTransform:"capitalize"}},disableAlpha:{alpha:{display:"none"}}},{disableAlpha:e});return g.a.createElement("div",{style:e.fields,className:"flexbox-fix"},g.a.createElement("div",{style:e.double},g.a.createElement(S,{style:{input:e.input,label:e.label},label:"hex",value:o.replace("#",""),onChange:t})),g.a.createElement("div",{style:e.single},g.a.createElement(S,{style:{input:e.input,label:e.label},label:"r",value:r.r,onChange:t,dragLabel:"true",dragMax:"255"})),g.a.createElement("div",{style:e.single},g.a.createElement(S,{style:{input:e.input,label:e.label},label:"g",value:r.g,onChange:t,dragLabel:"true",dragMax:"255"})),g.a.createElement("div",{style:e.single},g.a.createElement(S,{style:{input:e.input,label:e.label},label:"b",value:r.b,onChange:t,dragLabel:"true",dragMax:"255"})),g.a.createElement("div",{style:e.alpha},g.a.createElement(S,{style:{input:e.input,label:e.label},label:"a",value:Math.round(100*r.a),onChange:t,dragLabel:"true",dragMax:"100"})))}function ul(e){function n(e,t){a({hex:e,source:"hex"},t)}var t=e.colors,r=e.onClick,a=void 0===r?function(){}:r,o=e.onSwatchHover,i=k()({default:{colors:{margin:"0 -10px",padding:"10px 0 0 10px",borderTop:"1px solid #eee",display:"flex",flexWrap:"wrap",position:"relative"},swatchWrap:{width:"16px",height:"16px",margin:"0 10px 10px 0"},swatch:{borderRadius:"3px",boxShadow:"inset 0 0 0 1px rgba(0,0,0,.15)"}},"no-presets":{colors:{display:"none"}}},{"no-presets":!t||!t.length});return g.a.createElement("div",{style:i.colors,className:"flexbox-fix"},t.map(function(e){var e="string"==typeof e?{color:e}:e,t=""+e.color+(e.title||"");return g.a.createElement("div",{key:t,style:i.swatchWrap},g.a.createElement(oo,_l({},e,{style:i.swatch,onClick:n,onHover:o,focusStyle:{boxShadow:"inset 0 0 0 1px rgba(0,0,0,.15), 0 0 4px "+e.color}})))}))}function sl(e){var t=e.width,n=e.rgb,r=e.hex,a=e.hsv,o=e.hsl,i=e.onChange,l=e.onSwatchHover,c=e.disableAlpha,u=e.presetColors,s=e.renderers,f=void 0===(f=e.styles)?{}:f,e=void 0===(e=e.className)?"":e,t=k()(ga({default:kl({picker:{width:t,padding:"10px 10px 0",boxSizing:"initial",background:"#fff",borderRadius:"4px",boxShadow:"0 0 0 1px rgba(0,0,0,.15), 0 8px 16px rgba(0,0,0,.15)"},saturation:{width:"100%",paddingBottom:"75%",position:"relative",overflow:"hidden"},Saturation:{radius:"3px",shadow:"inset 0 0 0 1px rgba(0,0,0,.15), inset 0 0 4px rgba(0,0,0,.25)"},controls:{display:"flex"},sliders:{padding:"4px 0",flex:"1"},color:{width:"24px",height:"24px",position:"relative",marginTop:"4px",marginLeft:"4px",borderRadius:"3px"},activeColor:{absolute:"0px 0px 0px 0px",borderRadius:"2px",background:"rgba("+n.r+","+n.g+","+n.b+","+n.a+")",boxShadow:"inset 0 0 0 1px rgba(0,0,0,.15), inset 0 0 4px rgba(0,0,0,.25)"},hue:{position:"relative",height:"10px",overflow:"hidden"},Hue:{radius:"2px",shadow:"inset 0 0 0 1px rgba(0,0,0,.15), inset 0 0 4px rgba(0,0,0,.25)"},alpha:{position:"relative",height:"10px",marginTop:"4px",overflow:"hidden"},Alpha:{radius:"2px",shadow:"inset 0 0 0 1px rgba(0,0,0,.15), inset 0 0 4px rgba(0,0,0,.25)"}},f),disableAlpha:{color:{height:"10px"},hue:{height:"10px"},alpha:{display:"none"}}},f),{disableAlpha:c});return g.a.createElement("div",{style:t.picker,className:"sketch-picker "+e},g.a.createElement("div",{style:t.saturation},g.a.createElement(Ta,{style:t.Saturation,hsl:o,hsv:a,onChange:i})),g.a.createElement("div",{style:t.controls,className:"flexbox-fix"},g.a.createElement("div",{style:t.sliders},g.a.createElement("div",{style:t.hue},g.a.createElement(dn,{style:t.Hue,hsl:o,onChange:i})),g.a.createElement("div",{style:t.alpha},g.a.createElement(rn,{style:t.Alpha,rgb:n,hsl:o,renderers:s,onChange:i}))),g.a.createElement("div",{style:t.color},g.a.createElement(Qt,null),g.a.createElement("div",{style:t.activeColor}))),g.a.createElement(cl,{rgb:n,hsl:o,hex:r,onChange:i,disableAlpha:c}),g.a.createElement(Pl,{colors:u,onClick:i,onSwatchHover:l}))}function fl(e){var t=e.hsl,n=e.offset,r=void 0===(a=e.onClick)?function(){}:a,a=e.active,o=e.first,e=e.last,a=k()({default:{swatch:{height:"12px",background:"hsl("+t.h+", 50%, "+100*n+"%)",cursor:"pointer"}},first:{swatch:{borderRadius:"2px 0 0 2px"}},last:{swatch:{borderRadius:"0 2px 2px 0"}},active:{swatch:{transform:"scaleY(1.8)",borderRadius:"3.6px/2px"}}},{active:a,first:o,last:e});return g.a.createElement("div",{style:a.swatch,onClick:function(e){return r({h:t.h,s:.5,l:n,source:"hsl"},e)}})}function dl(e){var t=e.onClick,e=e.hsl,n=k()({default:{swatches:{marginTop:"20px"},swatch:{boxSizing:"border-box",width:"20%",paddingRight:"1px",float:"left"},clear:{clear:"both"}}});return g.a.createElement("div",{style:n.swatches},g.a.createElement("div",{style:n.swatch},g.a.createElement(fl,{hsl:e,offset:".80",active:Math.abs(e.l-.8)<.1&&Math.abs(e.s-.5)<.1,onClick:t,first:!0})),g.a.createElement("div",{style:n.swatch},g.a.createElement(fl,{hsl:e,offset:".65",active:Math.abs(e.l-.65)<.1&&Math.abs(e.s-.5)<.1,onClick:t})),g.a.createElement("div",{style:n.swatch},g.a.createElement(fl,{hsl:e,offset:".50",active:Math.abs(e.l-.5)<.1&&Math.abs(e.s-.5)<.1,onClick:t})),g.a.createElement("div",{style:n.swatch},g.a.createElement(fl,{hsl:e,offset:".35",active:Math.abs(e.l-.35)<.1&&Math.abs(e.s-.5)<.1,onClick:t})),g.a.createElement("div",{style:n.swatch},g.a.createElement(fl,{hsl:e,offset:".20",active:Math.abs(e.l-.2)<.1&&Math.abs(e.s-.5)<.1,onClick:t,last:!0})),g.a.createElement("div",{style:n.clear}))}function pl(){var e=k()({default:{picker:{width:"14px",height:"14px",borderRadius:"6px",transform:"translate(-7px, -1px)",backgroundColor:"rgb(248, 248, 248)",boxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.37)"}}});return g.a.createElement("div",{style:e.picker})}function hl(e){var t=e.hsl,n=e.onChange,r=e.pointer,a=void 0===(a=e.styles)?{}:a,e=void 0===(e=e.className)?"":e,a=k()(ga({default:{hue:{height:"12px",position:"relative"},Hue:{radius:"2px"}}},a));return g.a.createElement("div",{style:a.wrap||{},className:"slider-picker "+e},g.a.createElement("div",{style:a.hue},g.a.createElement(dn,{style:a.Hue,hsl:t,pointer:r,onChange:n})),g.a.createElement("div",{style:a.swatches},g.a.createElement(dl,{hsl:t,onClick:n})))}function ml(e){var t=e.color,n=void 0===(n=e.onClick)?function(){}:n,r=e.onSwatchHover,a=e.first,o=e.last,e=e.active,a=k()({default:{color:{width:"40px",height:"24px",cursor:"pointer",background:t,marginBottom:"1px"},check:{color:Wa(t),marginLeft:"8px",display:"none"}},first:{color:{overflow:"hidden",borderRadius:"2px 2px 0 0"}},last:{color:{overflow:"hidden",borderRadius:"0 0 2px 2px"}},active:{check:{display:"block"}},"color-#FFFFFF":{color:{boxShadow:"inset 0 0 0 1px #ddd"},check:{color:"#333"}},transparent:{check:{color:"#333"}}},{first:a,last:o,active:e,"color-#FFFFFF":"#FFFFFF"===t,transparent:"transparent"===t});return g.a.createElement(oo,{color:t,style:a.color,onClick:n,onHover:r,focusStyle:{boxShadow:"0 0 4px "+t}},g.a.createElement("div",{style:a.check},g.a.createElement(Rl.a,null)))}function gl(e){var n=e.onClick,r=e.onSwatchHover,a=e.group,o=e.active,e=k()({default:{group:{paddingBottom:"10px",width:"40px",float:"left",marginRight:"10px"}}});return g.a.createElement("div",{style:e.group},_i(a,function(e,t){return g.a.createElement(ml,{key:e,color:e,active:e.toLowerCase()===o,first:0===t,last:t===a.length-1,onClick:n,onSwatchHover:r})}))}function vl(e){function t(e,t){return a({hex:e,source:"hex"},t)}var n=e.width,r=e.height,a=e.onChange,o=e.onSwatchHover,i=e.colors,l=e.hex,c=void 0===(c=e.styles)?{}:c,e=void 0===(e=e.className)?"":e,n=k()(ga({default:{picker:{width:n,height:r},overflow:{height:r,overflowY:"scroll"},body:{padding:"16px 0 6px 16px"},clear:{clear:"both"}}},c));return g.a.createElement("div",{style:n.picker,className:"swatches-picker "+e},g.a.createElement(va,null,g.a.createElement("div",{style:n.overflow},g.a.createElement("div",{style:n.body},_i(i,function(e){return g.a.createElement(gl,{key:e.toString(),group:e,active:l,onClick:t,onSwatchHover:o})}),g.a.createElement("div",{style:n.clear})))))}function bl(e){function n(e,t){Ua(e)&&r({hex:e,source:"hex"},t)}var r=e.onChange,a=e.onSwatchHover,t=e.hex,o=e.colors,i=e.width,l=e.triangle,c=void 0===(c=e.styles)?{}:c,e=void 0===(e=e.className)?"":e,u=k()(ga({default:{card:{width:i,background:"#fff",border:"0 solid rgba(0,0,0,0.25)",boxShadow:"0 1px 4px rgba(0,0,0,0.25)",borderRadius:"4px",position:"relative"},body:{padding:"15px 9px 9px 15px"},label:{fontSize:"18px",color:"#fff"},triangle:{width:"0px",height:"0px",borderStyle:"solid",borderWidth:"0 9px 10px 9px",borderColor:"transparent transparent #fff transparent",position:"absolute"},triangleShadow:{width:"0px",height:"0px",borderStyle:"solid",borderWidth:"0 9px 10px 9px",borderColor:"transparent transparent rgba(0,0,0,.1) transparent",position:"absolute"},hash:{background:"#F0F0F0",height:"30px",width:"30px",borderRadius:"4px 0 0 4px",float:"left",color:"#98A1A4",display:"flex",alignItems:"center",justifyContent:"center"},input:{width:"100px",fontSize:"14px",color:"#666",border:"0px",outline:"none",height:"28px",boxShadow:"inset 0 0 0 1px #F0F0F0",boxSizing:"content-box",borderRadius:"0 4px 4px 0",float:"left",paddingLeft:"8px"},swatch:{width:"30px",height:"30px",float:"left",borderRadius:"4px",margin:"0 6px 6px 0"},clear:{clear:"both"}},"hide-triangle":{triangle:{display:"none"},triangleShadow:{display:"none"}},"top-left-triangle":{triangle:{top:"-10px",left:"12px"},triangleShadow:{top:"-11px",left:"12px"}},"top-right-triangle":{triangle:{top:"-10px",right:"12px"},triangleShadow:{top:"-11px",right:"12px"}}},c),{"hide-triangle":"hide"===l,"top-left-triangle":"top-left"===l,"top-right-triangle":"top-right"===l});return g.a.createElement("div",{style:u.card,className:"twitter-picker "+e},g.a.createElement("div",{style:u.triangleShadow}),g.a.createElement("div",{style:u.triangle}),g.a.createElement("div",{style:u.body},_i(o,function(e,t){return g.a.createElement(oo,{key:t,color:e,hex:e,style:u.swatch,onClick:n,onHover:a,focusStyle:{boxShadow:"0 0 4px "+e}})}),g.a.createElement("div",{style:u.hash},"#"),g.a.createElement(S,{label:null,style:{input:u.input},value:t.replace("#",""),onChange:n}),g.a.createElement("div",{style:u.clear})))}function yl(e){return e=k()({default:{picker:{width:"20px",height:"20px",borderRadius:"22px",border:"2px #fff solid",transform:"translate(-12px, -13px)",background:"hsl("+Math.round(e.hsl.h)+", "+Math.round(100*e.hsl.s)+"%, "+Math.round(100*e.hsl.l)+"%)"}}}),g.a.createElement("div",{style:e.picker})}function El(e){return e=k()({default:{picker:{width:"20px",height:"20px",borderRadius:"22px",transform:"translate(-10px, -7px)",background:"hsl("+Math.round(e.hsl.h)+", 100%, 50%)",border:"2px white solid"}}}),g.a.createElement("div",{style:e.picker})}function wl(e){function t(e,t){var n;e.hex?Ua(e.hex)&&r({hex:e.hex,source:"hex"},t):e.rgb?(n=e.rgb.split(","),Za(e.rgb,"rgb")&&r({r:n[0],g:n[1],b:n[2],a:1,source:"rgb"},t)):e.hsv?(n=e.hsv.split(","),Za(e.hsv,"hsv")&&(n[2]=n[2].replace("%",""),n[1]=n[1].replace("%",""),n[0]=n[0].replace("°",""),1==n[1]?n[1]=.01:1==n[2]&&(n[2]=.01),r({h:Number(n[0]),s:Number(n[1]),v:Number(n[2]),source:"hsv"},t))):e.hsl&&(n=e.hsl.split(","),Za(e.hsl,"hsl"))&&(n[2]=n[2].replace("%",""),n[1]=n[1].replace("%",""),n[0]=n[0].replace("°",""),1==l[1]?l[1]=.01:1==l[2]&&(l[2]=.01),r({h:Number(n[0]),s:Number(n[1]),v:Number(n[2]),source:"hsl"},t))}var r=e.onChange,n=e.rgb,a=e.hsl,o=e.hex,e=e.hsv,i=k()({default:{wrap:{display:"flex",height:"100px",marginTop:"4px"},fields:{width:"100%"},column:{paddingTop:"10px",display:"flex",justifyContent:"space-between"},double:{padding:"0px 4.4px",boxSizing:"border-box"},input:{width:"100%",height:"38px",boxSizing:"border-box",padding:"4px 10% 3px",textAlign:"center",border:"1px solid #dadce0",fontSize:"11px",textTransform:"lowercase",borderRadius:"5px",outline:"none",fontFamily:"Roboto,Arial,sans-serif"},input2:{height:"38px",width:"100%",border:"1px solid #dadce0",boxSizing:"border-box",fontSize:"11px",textTransform:"lowercase",borderRadius:"5px",outline:"none",paddingLeft:"10px",fontFamily:"Roboto,Arial,sans-serif"},label:{textAlign:"center",fontSize:"12px",background:"#fff",position:"absolute",textTransform:"uppercase",color:"#3c4043",width:"35px",top:"-6px",left:"0",right:"0",marginLeft:"auto",marginRight:"auto",fontFamily:"Roboto,Arial,sans-serif"},label2:{left:"10px",textAlign:"center",fontSize:"12px",background:"#fff",position:"absolute",textTransform:"uppercase",color:"#3c4043",width:"32px",top:"-6px",fontFamily:"Roboto,Arial,sans-serif"},single:{flexGrow:"1",margin:"0px 4.4px"}}}),n=n.r+", "+n.g+", "+n.b,a=Math.round(a.h)+"°, "+Math.round(100*a.s)+"%, "+Math.round(100*a.l)+"%",l=Math.round(e.h)+"°, "+Math.round(100*e.s)+"%, "+Math.round(100*e.v)+"%";return g.a.createElement("div",{style:i.wrap,className:"flexbox-fix"},g.a.createElement("div",{style:i.fields},g.a.createElement("div",{style:i.double},g.a.createElement(S,{style:{input:i.input,label:i.label},label:"hex",value:o,onChange:t})),g.a.createElement("div",{style:i.column},g.a.createElement("div",{style:i.single},g.a.createElement(S,{style:{input:i.input2,label:i.label2},label:"rgb",value:n,onChange:t})),g.a.createElement("div",{style:i.single},g.a.createElement(S,{style:{input:i.input2,label:i.label2},label:"hsv",value:l,onChange:t})),g.a.createElement("div",{style:i.single},g.a.createElement(S,{style:{input:i.input2,label:i.label2},label:"hsl",value:a,onChange:t})))))}function xl(e){var t=e.width,n=e.onChange,r=e.rgb,a=e.hsl,o=e.hsv,i=e.hex,l=e.header,c=void 0===(c=e.styles)?{}:c,e=void 0===(e=e.className)?"":e,t=k()(ga({default:{picker:{width:t,background:"#fff",border:"1px solid #dfe1e5",boxSizing:"initial",display:"flex",flexWrap:"wrap",borderRadius:"8px 8px 0px 0px"},head:{height:"57px",width:"100%",paddingTop:"16px",paddingBottom:"16px",paddingLeft:"16px",fontSize:"20px",boxSizing:"border-box",fontFamily:"Roboto-Regular,HelveticaNeue,Arial,sans-serif"},saturation:{width:"70%",padding:"0px",position:"relative",overflow:"hidden"},swatch:{width:"30%",height:"228px",padding:"0px",background:"rgba("+r.r+", "+r.g+", "+r.b+", 1)",position:"relative",overflow:"hidden"},body:{margin:"auto",width:"95%"},controls:{display:"flex",boxSizing:"border-box",height:"52px",paddingTop:"22px"},color:{width:"32px"},hue:{height:"8px",position:"relative",margin:"0px 16px 0px 16px",width:"100%"},Hue:{radius:"2px"}}},c));return g.a.createElement("div",{style:t.picker,className:"google-picker "+e},g.a.createElement("div",{style:t.head},l),g.a.createElement("div",{style:t.swatch}),g.a.createElement("div",{style:t.saturation},g.a.createElement(Ta,{hsl:a,hsv:o,pointer:Il,onChange:n})),g.a.createElement("div",{style:t.body},g.a.createElement("div",{style:t.controls,className:"flexbox-fix"},g.a.createElement("div",{style:t.hue},g.a.createElement(dn,{style:t.Hue,hsl:a,radius:"4px",pointer:Ol,onChange:n}))),g.a.createElement(wl,{rgb:r,hsl:a,hex:i,hsv:o,onChange:n})))}function Cl(e){return e=e.text,g.a.createElement("span",{className:"".concat(v.VIRFICE_APP_PREFIX,"-help-text .body__medium"),style:{color:"var(--Text-text-caption, #616161)"}},e)}var Vi=(e=>{var t=n;if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);function n(e){var t;if(this instanceof n)return(t=((e,t)=>{if(e)return!t||"object"!=typeof t&&"function"!=typeof t?e:t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")})(this,(n.__proto__||Object.getPrototypeOf(n)).call(this))).state={currentColor:e.hex},t;throw new TypeError("Cannot call a class as a function")}return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e),il(n,[{key:"render",value:function(){var e=this.props,t=e.styles,t=void 0===t?{}:t,e=e.className,e=void 0===e?"":e,t=k()(ga({default:{picker:{background:"#DCDCDC",borderRadius:"4px",boxShadow:"0 0 0 1px rgba(0,0,0,.25), 0 8px 16px rgba(0,0,0,.15)",boxSizing:"initial",width:"513px"},head:{backgroundImage:"linear-gradient(-180deg, #F0F0F0 0%, #D4D4D4 100%)",borderBottom:"1px solid #B1B1B1",boxShadow:"inset 0 1px 0 0 rgba(255,255,255,.2), inset 0 -1px 0 0 rgba(0,0,0,.02)",height:"23px",lineHeight:"24px",borderRadius:"4px 4px 0 0",fontSize:"13px",color:"#4D4D4D",textAlign:"center"},body:{padding:"15px 15px 0",display:"flex"},saturation:{width:"256px",height:"256px",position:"relative",border:"2px solid #B3B3B3",borderBottom:"2px solid #F0F0F0",overflow:"hidden"},hue:{position:"relative",height:"256px",width:"19px",marginLeft:"10px",border:"2px solid #B3B3B3",borderBottom:"2px solid #F0F0F0"},controls:{width:"180px",marginLeft:"10px"},top:{display:"flex"},previews:{width:"60px"},actions:{flex:"1",marginLeft:"20px"}}},t));return g.a.createElement("div",{style:t.picker,className:"photoshop-picker "+e},g.a.createElement("div",{style:t.head},this.props.header),g.a.createElement("div",{style:t.body,className:"flexbox-fix"},g.a.createElement("div",{style:t.saturation},g.a.createElement(Ta,{hsl:this.props.hsl,hsv:this.props.hsv,pointer:Ji,onChange:this.props.onChange})),g.a.createElement("div",{style:t.hue},g.a.createElement(dn,{direction:"vertical",hsl:this.props.hsl,pointer:el,onChange:this.props.onChange})),g.a.createElement("div",{style:t.controls},g.a.createElement("div",{style:t.top,className:"flexbox-fix"},g.a.createElement("div",{style:t.previews},g.a.createElement(nl,{rgb:this.props.rgb,currentColor:this.state.currentColor})),g.a.createElement("div",{style:t.actions},g.a.createElement(tl,{label:"OK",onClick:this.props.onAccept,active:!0}),g.a.createElement(tl,{label:"Cancel",onClick:this.props.onCancel}),g.a.createElement(Qi,{onChange:this.props.onChange,rgb:this.props.rgb,hsv:this.props.hsv,hex:this.props.hex}))))))}}]),n})(g.a.Component),_l=(Vi.propTypes={header:l.a.string,styles:l.a.object},Vi.defaultProps={header:"Color Picker",styles:{}},s(Vi),Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n,r=arguments[t];for(n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}),Pl=(ul.propTypes={colors:l.a.arrayOf(l.a.oneOfType([l.a.string,l.a.shape({color:l.a.string,title:l.a.string})])).isRequired},ul),kl=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n,r=arguments[t];for(n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Sl=(sl.propTypes={disableAlpha:l.a.bool,width:l.a.oneOfType([l.a.string,l.a.number]),styles:l.a.object},sl.defaultProps={disableAlpha:!1,width:200,styles:{},presetColors:["#D0021B","#F5A623","#F8E71C","#8B572A","#7ED321","#417505","#BD10E0","#9013FE","#4A90E2","#50E3C2","#B8E986","#000000","#4A4A4A","#9B9B9B","#FFFFFF"]},s(sl)),n=(hl.propTypes={styles:l.a.object},hl.defaultProps={pointer:pl,styles:{}},s(hl),t(97)),Rl=t.n(n),Il=(vl.propTypes={width:l.a.oneOfType([l.a.string,l.a.number]),height:l.a.oneOfType([l.a.string,l.a.number]),colors:l.a.arrayOf(l.a.arrayOf(l.a.string)),styles:l.a.object},vl.defaultProps={width:320,height:240,colors:[[r[900],r[700],r[500],r[300],r[100]],[o[900],o[700],o[500],o[300],o[100]],[u[900],u[700],u[500],u[300],u[100]],[i[900],i[700],i[500],i[300],i[100]],[e[900],e[700],e[500],e[300],e[100]],[a[900],a[700],a[500],a[300],a[100]],[Pi[900],Pi[700],Pi[500],Pi[300],Pi[100]],[ki[900],ki[700],ki[500],ki[300],ki[100]],[Si[900],Si[700],Si[500],Si[300],Si[100]],["#194D33",Ri[700],Ri[500],Ri[300],Ri[100]],[Ii[900],Ii[700],Ii[500],Ii[300],Ii[100]],[Oi[900],Oi[700],Oi[500],Oi[300],Oi[100]],[Fi[900],Fi[700],Fi[500],Fi[300],Fi[100]],[Ai[900],Ai[700],Ai[500],Ai[300],Ai[100]],[ji[900],ji[700],ji[500],ji[300],ji[100]],[Li[900],Li[700],Li[500],Li[300],Li[100]],[Ti[900],Ti[700],Ti[500],Ti[300],Ti[100]],[Mi[900],Mi[700],Mi[500],Mi[300],Mi[100]],["#000000","#525252","#969696","#D9D9D9","#FFFFFF"]],styles:{}},s(vl),bl.propTypes={width:l.a.oneOfType([l.a.string,l.a.number]),triangle:l.a.oneOf(["hide","top-left","top-right"]),colors:l.a.arrayOf(l.a.string),styles:l.a.object},bl.defaultProps={width:276,colors:["#FF6900","#FCB900","#7BDCB5","#00D084","#8ED1FC","#0693E3","#ABB8C3","#EB144C","#F78DA7","#9900EF"],triangle:"top-left",styles:{}},s(bl),yl.propTypes={hsl:l.a.shape({h:l.a.number,s:l.a.number,l:l.a.number,a:l.a.number})},yl.defaultProps={hsl:{a:1,h:249.94,l:.2,s:.5}},yl),Ol=(El.propTypes={hsl:l.a.shape({h:l.a.number,s:l.a.number,l:l.a.number,a:l.a.number})},El.defaultProps={hsl:{a:1,h:249.94,l:.2,s:.5}},El);xl.propTypes={width:l.a.oneOfType([l.a.string,l.a.number]),styles:l.a.object,header:l.a.string},xl.defaultProps={width:652,styles:{},header:"Color picker"},s(xl);function Fl(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)),r}function Al(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Fl(Object(n),!0).forEach(function(e){h()(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Fl(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function jl(e){function t(e){document.execCommand(e,!1,1<arguments.length&&void 0!==arguments[1]?arguments[1]:null),s.current&&s.current.focus()}var n=e.onChange,r=e.value,e=Object(m.useState)(r),a=(e=b()(e,2))[0],o=e[1],e=Object(m.useState)(!1),i=(e=b()(e,2))[0],l=e[1],e=Object(m.useState)({top:0,left:0}),c=(e=b()(e,2))[0],u=e[1],s=Object(m.useRef)(null),f=Object(m.useRef)(null);Object(m.useEffect)(function(){o(r)},[r]),Object(m.useEffect)(function(){function e(){var e,t=window.getSelection();0<t.rangeCount&&""!==t.toString().trim()?(t=t.getRangeAt(0),s.current&&s.current.contains(t.commonAncestorContainer)&&(t=t.getBoundingClientRect(),e=s.current.getBoundingClientRect(),u({top:t.top-e.top-(f.current?f.current.offsetHeight+5:40),left:t.left+t.width/2-e.left-(f.current?f.current.offsetWidth/2:100)}),l(!0))):l(!1)}return document.addEventListener("selectionchange",e),document.addEventListener("mouseup",e),function(){document.removeEventListener("selectionchange",e),document.removeEventListener("mouseup",e)}},[]);c=Al(Al({},(e={container:{position:"relative",width:"100%",maxWidth:"700px",border:"1px solid #d1d5db",borderRadius:"6px",boxShadow:"0 1px 2px 0 rgba(0, 0, 0, 0.05)",margin:"20px auto"},editor:{padding:"16px",minHeight:"200px",outline:"none",fontSize:"16px",lineHeight:"1.5"},toolbar:{position:"absolute",display:"flex",alignItems:"center",padding:"4px",borderRadius:"4px",backgroundColor:"#374151",boxShadow:"0 2px 5px rgba(0, 0, 0, 0.2)",zIndex:10,transition:"opacity 0.2s ease"},button:{padding:"6px 8px",margin:"0 2px",backgroundColor:"transparent",border:"none",borderRadius:"4px",color:"white",cursor:"pointer",fontSize:"14px",display:"flex",alignItems:"center",justifyContent:"center"},footer:{padding:"8px 16px",borderTop:"1px solid #d1d5db",backgroundColor:"#f9fafb",fontSize:"12px",color:"#6b7280",borderBottomLeftRadius:"5px",borderBottomRightRadius:"5px"}}).toolbar),{},{top:"".concat(c.top,"px"),left:"".concat(c.left,"px"),opacity:i?1:0,pointerEvents:i?"auto":"none"});return g.a.createElement("div",{style:e.container},g.a.createElement("div",{ref:f,style:c},g.a.createElement("button",{onClick:function(){return t("bold")},style:e.button,title:"Bold"},g.a.createElement("strong",null,"B")),g.a.createElement("button",{onClick:function(){return t("italic")},style:e.button,title:"Italic"},g.a.createElement("em",null,"I")),g.a.createElement("button",{onClick:function(){return t("underline")},style:e.button,title:"Underline"},g.a.createElement("u",null,"U")),g.a.createElement("button",{onClick:function(){var e=prompt("Enter the URL:");e&&t("createLink",e)},style:e.button,title:"Link"},g.a.createElement("svg",{width:"14",height:"14",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},g.a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M13.828 10.172a4 4 0 00-5.656 0l-4 4a4 4 0 105.656 5.656l1.102-1.101m-.758-4.899a4 4 0 005.656 0l4-4a4 4 0 00-5.656-5.656l-1.1 1.1"})))),g.a.createElement("div",{ref:s,style:e.editor,contentEditable:"true",onInput:function(e){n(e.currentTarget.innerHTML)},dangerouslySetInnerHTML:{__html:a}}),g.a.createElement("div",{style:e.footer},"Select text to format it"))}function I(e){function t(e){e=e.target.value,h(e),c(e)}function n(e){var t;void 0!==s&&(t=Number(p),!isNaN(t))&&t<s&&(h(s.toString()),c(s)),f(e)}var r=e.placeholder,a=e.label,o=e.value,i=e.helpText,l=void 0!==(l=e.error)&&l,c=void 0===(u=e.onChange)?function(){}:u,u=void 0!==(u=e.multiline)&&u,s=e.min,f=void 0===(d=e.onBlur)?function(){}:d,e=void 0!==(d=e.richText)&&d,d=Object(m.useState)(null!=o?o:""),p=(d=b()(d,2))[0],h=d[1];return Object(m.useEffect)(function(){h(null!=o?o:"")},[o]),e?g.a.createElement(jl,{value:o,onChange:function(e){h(e),c(e)}}):g.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-textfileld-wrapper")},a&&g.a.createElement("label",{className:"body__medium"},a),u?g.a.createElement("textarea",{placeholder:r||a,value:p,onChange:t,onBlur:n,rows:u}):g.a.createElement("input",{placeholder:r||a,value:p,onChange:t,onKeyDown:function(e){var t;"ArrowUp"!==e.key&&"ArrowDown"!==e.key||(t=Number(p),!isNaN(t)&&Number.isInteger(t)&&(t+="ArrowUp"===e.key?1:-1,h(t.toString()),c(t.toString())))},onBlur:n,type:"text"}),l&&g.a.createElement("span",{style:{color:"var(--text-text-error)",display:"flex",alignItems:"center",gap:4}},g.a.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},g.a.createElement("path",{d:"M8 14C11.3137 14 14 11.3137 14 8C14 4.68629 11.3137 2 8 2C4.68629 2 2 4.68629 2 8C2 11.3137 4.68629 14 8 14Z",stroke:"#CC0A00",strokeLinecap:"round",strokeLinejoin:"round"}),g.a.createElement("path",{d:"M8 8.5V5",stroke:"#CC0A00",strokeLinecap:"round",strokeLinejoin:"round"}),g.a.createElement("path",{d:"M8 11.25C8.27614 11.25 8.5 11.0261 8.5 10.75C8.5 10.4739 8.27614 10.25 8 10.25C7.72386 10.25 7.5 10.4739 7.5 10.75C7.5 11.0261 7.72386 11.25 8 11.25Z",fill:"#CC0A00"})),l),i&&g.a.createElement(Cl,{text:i}))}function Ll(e){return null!=e&&e.hex?e.hex:e}function Tl(e){var t,n;return!(e=""+e)||e.indexOf("rgb")<0||"#"==e.charAt(0)?e:(e=/(.*?)rgb\((\d+),\s*(\d+),\s*(\d+)\)/i.exec(e),t=parseInt(e[2],10).toString(16),n=parseInt(e[3],10).toString(16),e=parseInt(e[4],10).toString(16),"#"+((1==t.length?"0"+t:t)+(1==n.length?"0"+n:n)+(1==e.length?"0"+e:e)))}function O(e){function t(e){c(e),o(Ll(e))}function n(){var e;d.current&&(e=d.current.getBoundingClientRect(),e=window.innerHeight-e.bottom,f(e<296?"bottom":"top"))}var r=e.label,a=void 0===(u=e.value)?"#000000":u,o=void 0===(u=e.onChange)?function(){}:u,e=Object(m.useState)(!1),i=(u=b()(e,2))[0],l=u[1],e=Object(m.useState)(a),e=(u=b()(e,2))[0],c=u[1],u=Object(m.useState)("top"),s=(u=b()(u,2))[0],f=u[1],u=Ml(function(){i&&l(!1)}),d=Object(m.useRef)(null),s=(Object(m.useEffect)(function(){c(a)},[a]),{color:{width:"100%",height:"24px",background:Ll(e),borderRadius:"3px"},swatch:{padding:"5px",background:"#fff",cursor:"pointer",width:"100%",borderRadius:"4px"},popover:h()({position:"absolute",zIndex:"2"},s,"calc(100% ".concat("top"===s?"- 30px":"+ 36px",")"))});return g.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-paintfield-wrapper")},r&&g.a.createElement("label",{className:"body__medium"},r),g.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-flex ").concat(v.VIRFICE_APP_PREFIX,"-w-100")},g.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-color-code")},g.a.createElement("div",{style:s.swatch,onClick:function(){i||n(),l(!i)},ref:d},g.a.createElement("div",{style:s.color})),i&&g.a.createElement("div",{style:s.popover,ref:u},g.a.createElement(Sl,{color:Ll(e),onChange:t,disableAlpha:!0,presetColors:[{color:"none",title:"None"},"#F47373","#697689","#37D67A","#2CCCE4","#555555","#dce775","#ff8a65","#ba68c8","#FF6900","#FCB900","#7BDCB5","#00D084","#EB144C","#F78DA7","#9900EF"]}),g.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-color-none"),onClick:function(){t("")}},g.a.createElement("div",null)))),g.a.createElement(I,{placeholder:"No color",value:Ll(e),onChange:t})))}var Ml=function(t){var n=Object(m.useRef)();return Object(m.useEffect)(function(){function e(e){n.current&&!n.current.contains(e.target)&&t()}return document.addEventListener("mousedown",e),function(){document.removeEventListener("mousedown",e)}},[t]),n};function Nl(e,t){var n,r,a,o,i="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(i)return a=!(r=!0),{s:function(){i=i.call(e)},n:function(){var e=i.next();return r=e.done,e},e:function(e){a=!0,n=e},f:function(){try{r||null==i.return||i.return()}finally{if(a)throw n}}};if(Array.isArray(e)||(i=((e,t)=>{var n;if(e)return"string"==typeof e?Bl(e,t):"Map"===(n="Object"===(n={}.toString.call(e).slice(8,-1))&&e.constructor?e.constructor.name:n)||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Bl(e,t):void 0})(e))||t&&e&&"number"==typeof e.length)return i&&(e=i),o=0,{s:t=function(){},n:function(){return o>=e.length?{done:!0}:{done:!1,value:e[o++]}},e:function(e){throw e},f:t};throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Bl(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function Vl(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:window.location.href;return new URLSearchParams(new URL(n).search).get(e)===t}function F(e){for(var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:window.location.href,n=new URL(t),r=0,a=Object.entries(e);r<a.length;r++){var o=b()(a[r],2),i=o[0];n.searchParams.set(i,o[1])}return n.toString()}function Dl(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:window.location.href;return new URL(t).searchParams.get(e)}function zl(e){return v.VIRFICE_PLUGIN_BASE+"assets/"+e}function Xl(e,t){var n={value:"",title:"Select"};return e.forEach(function(e){e.value==t&&(n=e)}),n}function Hl(e){var t,n=/^[^\s@]+@[^\s@]+\.[^\s@]+$/,r=Nl(e.split(",").map(function(e){return e.trim()}));try{for(r.s();!(t=r.n()).done;){var a=t.value;if(a&&!n.test(a))return}}catch(e){r.e(e)}finally{r.f()}return 1}function Ul(e,t){Bt.dispatch(e(t))}function Wl(){return g.a.createElement(c,{className:"".concat(v.VIRFICE_APP_PREFIX,"-feature-card")},g.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-flex-center-center ").concat(v.VIRFICE_APP_PREFIX,"-gap-24"),style:{marginLeft:-20}},g.a.createElement("svg",{width:"302",height:"301",viewBox:"0 0 302 301",fill:"none",xmlns:"http://www.w3.org/2000/svg"},g.a.createElement("path",{d:"M194.623 83.6111C182.5 79.9297 184.483 86.756 186.99 90.6294C177.21 88.9637 176.267 92.041 180.231 99.2252C171.25 105.345 167.289 122.976 166.431 131.026C166.253 132.505 165.099 136.936 161.903 142.835C154.228 153.612 158.189 151.96 157.886 153.806C157.583 155.651 151.633 162.953 150.556 165.114C149.478 167.275 137.271 174.235 135.132 175.696C132.993 177.157 128.171 177.805 122.051 179.033C115.932 180.261 109.803 177.48 108.252 175.412C107.64 173.964 107.092 173.718 106.894 173.776C106.557 173.627 105.635 173.494 104.639 174.16C103.394 174.992 104.722 180.96 105.08 182.066C95.581 176.017 96.3081 182.676 97.8378 186.514C101.013 194.585 113.572 213.388 138.407 224.028C169.45 237.328 202.753 234.539 212.925 225.453C220.296 218.027 223.269 209.489 223.833 206.148C225.012 207.462 228.113 209.476 231.091 207.02C234.07 204.564 233.963 198.775 233.538 196.188C236.054 199.981 241.867 206.531 244.982 202.39C248.097 198.248 246.38 192.114 245.132 189.564C248.163 192.709 255.178 198.003 258.996 194.011C262.813 190.019 258.344 182.861 255.633 179.782C259.965 180.493 269.122 180.944 271.094 177.058C273.066 173.172 269.031 169.038 266.766 167.457C270.241 167.82 277.519 167.293 278.841 162.281C280.163 157.27 274.479 153.877 271.471 152.806C274.561 151.378 280.611 147.687 280.095 144.353C279.579 141.019 274.498 139.645 272.021 139.375C266.022 138.926 252.028 140.327 244.053 149.513C235.597 161.341 229.764 163.585 227.797 160.895C226.223 158.742 227.32 141.258 228.065 132.785C229.442 125.179 230.709 108.185 224.759 101.056C217.322 92.146 209.777 88.2129 194.623 83.6111Z",fill:"#B5D72D"}),g.a.createElement("path",{d:"M86.9113 99.881C86.3335 100.911 86.1496 102.221 86.369 103.79C86.742 106.486 88.2968 108.972 90.7457 110.793C93.3948 112.761 96.7567 113.658 99.738 113.191C103.463 112.607 106.751 110.944 109.593 108.591C106.463 103.46 101.526 99.2296 96.5703 97.7333C93.1781 96.7086 89.7683 97.0866 87.8867 98.6975C87.4872 99.0391 87.1623 99.4332 86.9113 99.881ZM114.679 127.49C114.347 128.082 113.976 128.656 113.566 129.211C107.683 137.188 97.102 137.6 89.161 135.326L90.2339 131.583C96.9185 133.5 105.735 133.274 110.435 126.902C113.813 122.308 113.121 117.139 111.945 113.6C111.775 113.093 111.587 112.589 111.38 112.087C108.185 114.603 104.504 116.383 100.34 117.035C96.2883 117.669 91.9468 116.532 88.4252 113.917C85.1309 111.469 83.0306 108.062 82.5135 104.325C81.8852 99.7746 83.7135 97.1464 85.3561 95.7408C88.2642 93.2533 92.992 92.5886 97.6938 94.0066C103.26 95.6877 108.787 100.259 112.443 105.852C118.708 98.9303 122.225 88.5973 122.884 80.7517C124.277 64.146 117.87 49.9069 112.251 40.885C106.387 31.4717 97.9958 22.9481 87.9874 16.2342C80.1029 10.945 71.0033 6.98321 63.0212 5.36309C17.5842 -3.85681 -6.93434 42.8373 -13.3639 57.374L-16.9235 55.8C1.05331 15.2057 31.2108 -5.06248 63.796 1.54947C72.2577 3.26576 81.8629 7.4408 90.1548 13.0012C100.618 20.019 109.401 28.9504 115.554 38.8299C124.06 52.482 127.935 67.0917 126.762 81.0783C126.021 89.9228 121.862 101.658 114.412 109.345C114.887 110.339 115.298 111.351 115.638 112.371C117.463 117.859 117.112 123.15 114.679 127.49Z",fill:"#D3E883"}),g.a.createElement("path",{d:"M238.974 262.364L239.372 265.077C227.941 266.755 220.439 270.894 217.071 277.384C212.035 287.091 217.962 299.05 218.024 299.17L215.578 300.41C215.304 299.871 208.952 287.104 214.63 276.138C218.421 268.811 226.612 264.178 238.974 262.364Z",fill:"#D3E883"}),g.a.createElement("path",{d:"M226.793 191.042C227.398 187.646 227.366 169.705 227.274 161.159C230.157 162.132 236.997 162.081 241.294 154.09C246.666 144.1 254.954 143.214 258.744 141.624C262.173 144.409 264.356 150.07 257.804 155.582C263.048 160.957 257.115 165.398 251.602 167.026C256.36 171.688 249.904 178.439 243.759 178.519C246.794 185.264 239.11 185.896 234.217 184.408C234.729 188.314 230.374 191.881 226.793 191.042Z",fill:"#D3E883"}),g.a.createElement("path",{d:"M137.052 187.625C129.106 191.121 128.648 182.907 129.412 178.363C133.083 177.086 140.977 171.98 151.632 164.998C160.157 159.412 170.193 160.765 174.145 162.139C187.125 166.316 191.493 180.257 192.055 186.706C190.952 188.618 187.372 191.771 181.871 189.082C178.858 199.453 172.753 198.021 170.077 196.009C168.17 198.943 163.017 202.753 157.658 194.518C151.222 199.062 138.606 200.573 137.052 187.625Z",fill:"#D3E883"}),g.a.createElement("path",{d:"M189.228 103.32C187.698 104.626 186.659 104.493 186.331 104.263C185.846 104.203 185.218 103.687 186.584 102.1C188.292 100.116 191.978 99.4321 194.532 100.722C196.575 101.754 196.118 103.274 194.987 103.135C193.694 102.976 190.758 102.013 189.228 103.32Z",fill:"#1F1F1F"}),g.a.createElement("path",{d:"M218.123 105.903C217.537 105.311 215.402 105.351 214.407 105.445C214.15 104.846 215.005 104.545 215.778 104.234C216.552 103.924 218.491 104.328 218.947 104.462C219.422 104.601 220.282 104.951 220.748 105.17C221.214 105.39 221.5 105.75 221.909 106.45C222.319 107.149 221.678 107.72 221.023 107.72C220.367 107.721 218.855 106.642 218.123 105.903Z",fill:"#1F1F1F"}),g.a.createElement("ellipse",{cx:"7.61187",cy:"9.20623",rx:"7.61187",ry:"9.20623",transform:"matrix(0.996089 0.0822537 -0.0719269 0.997957 185.18 106.204)",fill:"white"}),g.a.createElement("ellipse",{cx:"5.15579",cy:"6.78919",rx:"5.15579",ry:"6.78919",transform:"matrix(0.992278 0.124091 -0.114628 0.993415 187.822 108.98)",fill:"#272727"}),g.a.createElement("ellipse",{cx:"2.45133",cy:"2.42156",rx:"2.45133",ry:"2.42156",transform:"matrix(0.992274 0.124124 -0.114598 0.993419 186.119 109.916)",fill:"white"}),g.a.createElement("ellipse",{cx:"6.69611",cy:"8.04631",rx:"6.69611",ry:"8.04631",transform:"matrix(0.99607 0.0825265 -0.0716457 0.997981 210.201 109.127)",fill:"white"}),g.a.createElement("ellipse",{cx:"4.53558",cy:"5.93376",rx:"4.53558",ry:"5.93376",transform:"matrix(0.992277 0.124094 -0.114626 0.993415 212.527 111.556)",fill:"#272727"}),g.a.createElement("ellipse",{cx:"2.15646",cy:"2.11643",rx:"2.15646",ry:"2.11643",transform:"matrix(0.992274 0.124124 -0.114598 0.993419 211.029 112.372)",fill:"white"}),g.a.createElement("rect",{x:"160.183",y:"223.846",width:"12.8897",height:"20.3556",rx:"6.44483",transform:"rotate(28.0052 160.183 223.846)",fill:"#FD8E08"}),g.a.createElement("rect",{x:"189.816",y:"226.031",width:"12.8897",height:"20.3556",rx:"6.44483",transform:"rotate(12.6621 189.816 226.031)",fill:"#FD8E08"}),g.a.createElement("path",{d:"M223.652 138.5C224.788 137.904 225.695 135.08 220.847 128.942C219.264 126.938 217.111 125.576 214.891 124.544C211.673 123.048 208.78 121.78 206.679 121.909C204.422 122.286 203.919 123.774 200.412 127.097C196.216 127.236 188.993 127.332 191.689 134.348C198.254 148.851 212.367 147.314 216.544 147.335C219.886 147.352 219.524 145.47 218.925 144.527C217.792 142.785 215.665 138.959 216.219 137.591C219.185 137.464 222.516 139.095 223.652 138.5Z",fill:"#F85D1C"}),g.a.createElement("path",{d:"M212.924 134.301C201.357 133.475 198.256 129.496 198.151 127.61C198.036 127.433 198.089 127.032 199.225 126.845C200.645 126.611 202.558 124.972 203.888 123.424C204.952 122.185 205.971 121.968 206.348 122.014C207.431 121.63 211.231 121.861 217.771 125.853C225.946 130.842 225.007 136.022 224.499 136.856C223.99 137.69 221.692 137.735 220.433 136.603C219.174 135.472 215.669 134.637 212.924 134.301Z",fill:"#FF8D05"}),g.a.createElement("path",{d:"M210.431 137.839C206.876 138.196 200.291 135.55 197.444 134.182C198.6 135.643 201.358 139.052 203.145 140.999C205.379 143.432 210.346 144.759 211.396 143.447C212.445 142.135 211.783 140.164 210.431 137.839Z",fill:"#FFCAB3"}),g.a.createElement("path",{d:"M212.585 137.648L210.266 137.854C213.84 143.674 209.601 143.482 206.208 143.067C210.97 145.77 216.801 145.667 215.827 144.895C215.048 144.278 213.341 139.807 212.585 137.648Z",fill:"#A76C24"}),g.a.createElement("ellipse",{cx:"218.06",cy:"127.722",rx:"1.55149",ry:"0.628745",transform:"rotate(39.3267 218.06 127.722)",fill:"#FFBC4D"}),g.a.createElement("ellipse",{cx:"221.168",cy:"131.432",rx:"2.26137",ry:"0.809784",transform:"rotate(54.8599 221.168 131.432)",fill:"#FFBC4D"}),g.a.createElement("rect",{width:"47.1322",height:"28.8364",transform:"matrix(0.980749 0.195193 -0.190073 0.981755 255.538 133)",fill:"#09FB66"}),g.a.createElement("path",{d:"M255.611 138.1L274.537 154.994L298.837 146.683",stroke:"#04AF45",strokeWidth:"2"})),g.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-flex-col ").concat(v.VIRFICE_APP_PREFIX,"-gap-8")},g.a.createElement("h1",{className:"".concat(v.VIRFICE_APP_PREFIX,"-heading")},"Howdy!"),g.a.createElement("p",{className:"".concat(v.VIRFICE_APP_PREFIX,"-sub-heading")},g.a.createElement("strong",null,"Virfice")," is here, design, test, and preview WooCommerce emails effortlessly."),g.a.createElement(p,{type:"primary",title:"Customize now!",link:F({menu:"virfice-brand-settings"}),disabled:!virfice.isWooActive}))),g.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-feature-list-wrapper")},g.a.createElement(D,{title:"Customize",Illustration:g.a.createElement("svg",{width:"46",height:"39",viewBox:"0 0 46 39",fill:"none",xmlns:"http://www.w3.org/2000/svg"},g.a.createElement("path",{d:"M20.5001 38.5L0.689453 36.313L5.78101 5.02934L23.5001 6.49999L20.5001 38.5Z",fill:"#89A31F"}),g.a.createElement("path",{d:"M41.1699 27.2593L27.6934 38.2862L5.2007 12.6496L19.2568 1.31811L41.1699 27.2593Z",fill:"#B5D72D"}),g.a.createElement("path",{d:"M45.2532 5.06501L43.9711 21.509L10.6139 18.0162L12.08 0.0899963L45.2532 5.06501Z",fill:"#B5D72D"}),g.a.createElement("path",{d:"M15.7364 7.47522L13.685 8.77882L13.1895 10.6896L14.5524 12.1156L16.8751 11.9526L17.8651 9.64893L15.7364 7.47522Z",fill:"#89A31F"}),g.a.createElement("path",{d:"M10.6139 18.0162L39.1232 24.8353L35.5691 20.6302L10.6139 18.0162Z",fill:"#89A31F"}),g.a.createElement("path",{d:"M26.0475 4.86008L23.9553 16.9066L26.2711 17.9113L28.8844 5.08126L26.0475 4.86008Z",fill:"#FFFEFA"}),g.a.createElement("path",{d:"M31.9369 5.50194L30.9645 17.974L33.6672 18.1847L34.8366 5.54532L31.9369 5.50194Z",fill:"#FFFEFA"}),g.a.createElement("path",{d:"M38.6835 6.11934L41.042 6.57726L39.7788 18.6612L37.0993 18.7555L38.6835 6.11934Z",fill:"#FFFEFA"}))}),g.a.createElement(D,{title:"Configuration",Illustration:g.a.createElement("svg",{width:"44",height:"44",viewBox:"0 0 44 44",fill:"none",xmlns:"http://www.w3.org/2000/svg"},g.a.createElement("path",{d:"M15.3901 6.9498L21.0433 5.67989L23.9544 -0.00156403L32.4243 2.26628L31.8957 8.58563L35.508 12.3797L41.4439 11.1422L43.7951 21.4768L39.235 23.5828L37.6408 28.5439L40.1144 34.047L33.2745 40.962L29.1354 37.7828L23.2556 39.1929L21.3305 43.6697L11.9605 41.1609L12.1529 36.0311L8.89577 32.1018L2.95673 31.8364L0.47876 22.1076L5.39262 19.7539L6.58059 14.2804L3.77699 9.78941L10.4251 3.64199L15.3901 6.9498Z",fill:"#B5D72D"}),g.a.createElement("path",{d:"M27.1693 10.401L14.9446 10.5177L8.49644 21.6972L15.5908 33.1463L28.931 34.1787L34.7636 25.681L34.4736 17.2723L27.1693 10.401Z",fill:"#89A31F"}),g.a.createElement("path",{d:"M30.6879 17.6623L23.7178 16.4102L23.4695 15.4185L21.2113 14.0225L19.2641 15.5012L16.6051 14.7124L16.2291 15.8815L18.981 16.6616L19.1342 18.1259L21.7524 18.9569L23.5325 17.8153L30.6251 19.1101L30.6874 17.6641L30.6879 17.6623ZM21.809 17.4956L21.5145 17.7573L20.2973 17.2523L20.2941 17.2199L20.1607 16.1448L21.0946 15.5169L21.2197 15.4322L21.527 15.5933L22.3862 16.0458L22.2467 17.1108L21.809 17.4956Z",fill:"#FFFEFA"}),g.a.createElement("path",{d:"M29.1291 22.8592L26.9725 22.3409L27.0517 21.6849L26.7516 21.1439L24.3993 19.9963L22.7028 20.9653L22.3699 21.2089L15.0892 19.4327L14.4941 20.6041L22.3301 22.5192L22.5941 23.7828L25.2252 24.5877L26.5114 23.6072L28.9356 24.1992L29.1277 22.8569L29.1291 22.8592ZM25.112 23.2089L24.9064 23.396L24.8226 23.4739L24.1893 23.2217L23.6 22.9891L23.5968 22.9568L23.4491 21.8837L24.227 21.3459L24.3744 21.2436L24.4976 21.1585L24.8082 21.3145L25.4477 21.6393L25.6732 21.7528L25.5489 22.82L25.1175 23.2104L25.112 23.2089Z",fill:"#FFFEFA"}),g.a.createElement("path",{d:"M27.7115 28.3303L20.2323 25.8986L18.7404 23.7432L16.8035 23.9116L16.0882 24.0468L15.8866 24.6307L13.7135 24.0488L13.2805 25.1514L15.6334 25.8996L15.6713 26.5081L17.5946 28.2358L19.5601 27.9018L19.562 27.9023L19.8587 27.397L27.4565 29.7385L27.7138 28.329L27.7115 28.3303ZM18.6512 26.7528L18.0969 26.9332L17.7231 27.0575L17.2763 26.6013L16.8009 26.1196L16.8093 26.0884L17.1098 25.0468L18.2116 24.8359L18.3611 24.807L18.5808 25.0745L18.6134 25.1147L19.1924 25.8269L18.6493 26.7524L18.6512 26.7528Z",fill:"#FFFEFA"}))}),g.a.createElement(D,{title:"Send test email",Illustration:g.a.createElement("svg",{width:"80",height:"80",viewBox:"0 0 80 80",fill:"none",xmlns:"http://www.w3.org/2000/svg"},g.a.createElement("rect",{width:"80",height:"80",rx:"6",fill:"#F4F9E1"}),g.a.createElement("path",{d:"M26.7878 41.9522L29.5687 37.5222L61.7505 27.7623L44.6042 46.0511L34.6702 47.8693L26.956 54L26.7897 42.1581L26.7873 42.1533L26.7897 42.1523L26.7873 41.9527L26.7878 41.9522Z",fill:"#89A31F"}),g.a.createElement("path",{d:"M60.5487 28.3486L26.9607 42.0821L26.7877 41.9519L16.1504 33.9669L63.2375 26.9999L42.0521 53.4111L34.6701 47.8695L30.1769 44.4967L60.5487 28.3486Z",fill:"#B5D72D"}))}),g.a.createElement(D,{title:"Live preview",Illustration:g.a.createElement("svg",{width:"80",height:"80",viewBox:"0 0 80 80",fill:"none",xmlns:"http://www.w3.org/2000/svg"},g.a.createElement("rect",{width:"80",height:"80",rx:"6",fill:"#F4F9E1"}),g.a.createElement("path",{d:"M54.3575 49.6311L26.9837 51.4346L19.2378 26.7135L53.2963 23L54.3575 49.6311Z",fill:"#8EAA1D"}),g.a.createElement("path",{d:"M36.5848 52.63L46.5476 51.7685L46.5848 55.2685L36.585 55.7685L36.5848 52.63Z",fill:"#8EAA1D"}),g.a.createElement("path",{d:"M22.585 28.7686L52.085 24.7686L54.085 47.2686L27.585 50.2686L22.585 28.7686Z",fill:"#B5D72D"}),g.a.createElement("path",{d:"M50.1033 30.2473L60.1024 30.7469L58.0334 46.1373L48.5851 45.6918L50.1033 30.2473Z",fill:"#89A31F"}),g.a.createElement("rect",{x:"52.9274",y:"32.1846",width:"4",height:"1",transform:"rotate(3.71754 52.9274 32.1846)",fill:"#FFFEFA"}))})))}var Zl=function(){return Date.now().toString(36)+Math.random().toString(36).substr(2,9)},$l=(()=>{var e=H()(U.a.mark(function e(){var t,n;return U.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:t=E().body,n=E().templateWrapper,t=x(t,"background-color"),n=x(n,"background-color"),Ul(ut,{email_outer_background_color:Tl(t),email_background_color:Tl(n)});case 5:case"end":return e.stop()}},e)}));return function(){return e.apply(this,arguments)}})(),Vi=t(98),ql=(Object.defineProperty,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable,"default"in m?g.a:m),Yl=Symbol.for("react-redux-context"),Gl="undefined"!=typeof globalThis?globalThis:{};function Kl(){if(!ql.createContext)return{};var e=null!=(e=Gl[Yl])?e:Gl[Yl]=new Map;let t=e.get(ql.createContext);return t||(t=ql.createContext(null),e.set(ql.createContext,t)),t}var Ql=Kl(),n=()=>{throw new Error("uSES not initialized!")};function Jl(e=Ql){return function(){return ql.useContext(e)}}var ec=Jl(),tc=n;function nc(e=Ql){let l=e===Ql?ec:Jl(e),t=(t,e={})=>{var{equalityFn:e=(e,t)=>e===t,devModeChecks:n={}}="function"==typeof e?{equalityFn:e}:e,{store:r,subscription:a,getServerState:o,stabilityCheck:i}=l(),i=(ql.useRef(!0),ql.useCallback({[t.name](e){return t(e)}}[t.name],[t,i,n.stabilityCheck])),n=tc(a.addNestedSub,r.getState,o||r.getState,i,e);return ql.useDebugValue(n),n};return Object.assign(t,{withTypes:()=>t}),t}var A=nc();Symbol.for("react.element"),Symbol.for("react.portal"),Symbol.for("react.fragment"),Symbol.for("react.strict_mode"),Symbol.for("react.profiler"),Symbol.for("react.provider"),Symbol.for("react.context"),Symbol.for("react.server_context"),Symbol.for("react.forward_ref"),Symbol.for("react.suspense"),Symbol.for("react.suspense_list"),Symbol.for("react.memo"),Symbol.for("react.lazy"),Symbol.for("react.offscreen"),Symbol.for("react.client.reference");function rc(e){e()}var ac={notify(){},get:()=>[]};function oc(e,t){let n,r=ac,a=0,o=!1;function i(){u.onStateChange&&u.onStateChange()}function l(){a++,n||(n=t?t.addNestedSub(i):e.subscribe(i),r=(()=>{let r=null,a=null;return{clear(){r=null,a=null},notify(){rc(()=>{let e=r;for(;e;)e.callback(),e=e.next})},get(){var e=[];let t=r;for(;t;)e.push(t),t=t.next;return e},subscribe(e){let t=!0,n=a={callback:e,next:null,prev:a};return n.prev?n.prev.next=n:r=n,function(){t&&null!==r&&(t=!1,n.next?n.next.prev=n.prev:a=n.prev,n.prev?n.prev.next=n.next:r=n.next)}}}})())}function c(){a--,n&&0===a&&(n(),n=void 0,r.clear(),r=ac)}let u={addNestedSub:function(e){l();let t=r.subscribe(e),n=!1;return()=>{n||(n=!0,t(),c())}},notifyNestedSubs:function(){r.notify()},handleChangeWrapper:i,isSubscribed:function(){return o},trySubscribe:function(){o||(o=!0,l())},tryUnsubscribe:function(){o&&(o=!1,c())},getListeners:()=>r};return u}var r=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),o="undefined"!=typeof navigator&&"ReactNative"===navigator.product,ic=r||o?ql.useLayoutEffect:ql.useEffect;Object.defineProperty;function lc({store:t,context:e,children:n,serverState:r,stabilityCheck:a="once",identityFunctionCheck:o="once"}){let i=ql.useMemo(()=>{var e=oc(t);return{store:t,subscription:e,getServerState:r?()=>r:void 0,stabilityCheck:a,identityFunctionCheck:o}},[t,r,a,o]),l=ql.useMemo(()=>t.getState(),[t]);return ic(()=>{let e=i.subscription;return e.onStateChange=e.notifyNestedSubs,e.trySubscribe(),l!==t.getState()&&e.notifyNestedSubs(),()=>{e.tryUnsubscribe(),e.onStateChange=void 0}},[i,l]),ql.createElement((e||Ql).Provider,{value:i},n)}function cc(e=Ql){let t=e===Ql?ec:Jl(e),n=()=>{var e=t().store;return e};return Object.assign(n,{withTypes:()=>n}),n}var uc=cc();function sc(e=Ql){let t=e===Ql?uc:cc(e),n=()=>t().dispatch;return Object.assign(n,{withTypes:()=>n}),n}function fc(){return g.a.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},g.a.createElement("path",{d:"M16.875 10H3.125",stroke:"#666666",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),g.a.createElement("path",{d:"M8.75 4.375L3.125 10L8.75 15.625",stroke:"#666666",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))}function dc(){return g.a.createElement("svg",{viewBox:"0 0 75 25",fill:"none",xmlns:"http://www.w3.org/2000/svg"},g.a.createElement("path",{d:"M19.6005 11.9082L13.5821 5.79228C12.9986 5.19931 12.7068 4.90281 12.3663 4.69078C12.0645 4.5028 11.7354 4.36427 11.3911 4.28028C11.0028 4.18555 10.5902 4.18555 9.76498 4.18555H8.40216C6.51259 4.18555 5.5678 4.18555 4.84608 4.55924C4.21125 4.88795 3.69511 5.41245 3.37164 6.05758C3.00391 6.79099 3.00391 7.75109 3.00391 9.67128V14.6998C3.00391 16.62 3.00391 17.5801 3.37164 18.3135C3.69511 18.9587 4.21125 19.4831 4.84608 19.8118C5.5678 20.1855 6.51259 20.1855 8.40216 20.1855H16.2267C17.5274 20.1855 18.1779 20.1855 18.7025 20.0057C19.7008 19.6635 20.4844 18.8673 20.8211 17.8528C20.998 17.3196 20.998 16.6587 20.998 15.3368C20.998 14.7583 20.998 14.4691 20.9536 14.1933C20.8694 13.6722 20.6678 13.1778 20.3647 12.7488C20.2043 12.5218 20.0032 12.3173 19.6005 11.9082Z",fill:"#B5D72D"}),g.a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.9392 4.18555H20.0838C20.4038 4.18555 20.5638 4.18555 20.686 4.24783C20.7935 4.30261 20.8809 4.39003 20.9358 4.49755C20.998 4.61979 20.998 4.7798 20.998 5.09982V8.24438C20.998 8.76365 20.998 9.02328 20.8953 9.1435C20.8062 9.24782 20.6726 9.30319 20.5358 9.29242C20.3782 9.28002 20.1945 9.09643 19.8273 8.72925L18.7448 7.64667L15.3089 11.0825C14.8774 11.514 14.5172 11.8742 14.1989 12.1444C13.8668 12.4263 13.5244 12.6603 13.1129 12.794C12.4817 12.9991 11.8018 12.9991 11.1705 12.794C10.7591 12.6603 10.4167 12.4263 10.0846 12.1444C9.76612 11.8741 9.4057 11.5136 8.97389 11.0818L6.39279 8.5007C6.05805 8.16596 6.05805 7.62325 6.39278 7.28852C6.72752 6.95378 7.27023 6.95378 7.60496 7.2885L10.1618 9.84539C10.6244 10.308 10.9354 10.618 11.194 10.8376C11.445 11.0506 11.5898 11.1277 11.7003 11.1636C11.9872 11.2568 12.2963 11.2568 12.5832 11.1636C12.6937 11.1277 12.8385 11.0506 13.0894 10.8376C13.3481 10.618 13.6591 10.308 14.1216 9.84539L17.5326 6.43448L16.4543 5.35613C16.0872 4.98901 15.9035 4.80535 15.8911 4.64774C15.8803 4.51098 15.9357 4.37733 16.04 4.28823C16.1602 4.18555 16.4199 4.18555 16.9392 4.18555Z",fill:"#5D7015"}),g.a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M40.2599 17.9591V10.8135C40.2599 10.1136 40.8272 9.5463 41.5271 9.5463H42.1607V16.6919C42.1607 17.3918 41.5935 17.9591 40.8935 17.9591H40.2599Z",fill:"#303030"}),g.a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M41.2596 8.66491C40.6375 8.66491 40.1332 8.16061 40.1332 7.53851C40.1332 6.91641 40.6375 6.41211 41.2596 6.41211C41.8816 6.41211 42.386 6.91641 42.386 7.53851C42.386 8.16061 41.8816 8.66491 41.2596 8.66491Z",fill:"#303030"}),g.a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M53.9883 17.9591V10.8135C53.9883 10.1136 54.5556 9.5463 55.2555 9.5463H55.8891V16.6919C55.8891 17.3918 55.3218 17.9591 54.6219 17.9591H53.9883Z",fill:"#303030"}),g.a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M54.9879 8.66491C54.3659 8.66491 53.8615 8.16061 53.8615 7.53851C53.8615 6.91641 54.3659 6.41211 54.9879 6.41211C55.61 6.41211 56.1143 6.91641 56.1143 7.53851C56.1143 8.16061 55.61 8.66491 54.9879 8.66491Z",fill:"#303030"}),g.a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M64.9421 15.0765C64.2487 14.7298 63.4004 15.1325 62.7775 15.594C62.3825 15.8866 61.8937 16.0597 61.3644 16.0597C60.0522 16.0597 58.9884 14.9959 58.9884 13.6837C58.9884 12.3714 60.0522 11.3077 61.3644 11.3077C61.8583 11.3077 62.3171 11.4584 62.6972 11.7164C63.28 12.112 64.0416 12.4243 64.6717 12.1092C64.9768 11.9566 65.1067 11.5841 64.9164 11.3009C64.1486 10.1585 62.8442 9.40686 61.3644 9.40686C59.0023 9.40686 57.0876 11.3217 57.0876 13.6837C57.0876 16.0457 59.0023 17.9605 61.3644 17.9605C63.1645 17.9605 64.705 16.8482 65.336 15.2735L64.9421 15.0765Z",fill:"#303030"}),g.a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M70.2124 16.0597C70.3923 16.0597 70.5675 16.0397 70.7359 16.0018C71.4995 15.8301 72.2551 15.4775 73.035 15.5425L74.0243 15.6249C73.3169 17.0112 71.8755 17.9605 70.2124 17.9605C67.8503 17.9605 65.9356 16.0457 65.9356 13.6837C65.9356 11.3217 67.8503 9.40686 70.2124 9.40686C72.5745 9.40686 74.4892 11.3217 74.4892 13.6837C74.4892 14.1455 74.0813 14.4757 73.6195 14.4757H67.9716C68.2978 15.3985 69.1778 16.0597 70.2124 16.0597ZM67.9716 12.8917C68.2978 11.9688 69.1778 11.3077 70.2124 11.3077C71.2469 11.3077 72.127 11.9688 72.4532 12.8917H67.9716Z",fill:"#303030"}),g.a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M47.8421 10.8135C47.8421 11.1634 47.5526 11.438 47.2168 11.5365C46.2965 11.8064 45.6245 12.6571 45.6245 13.6647V16.6919C45.6245 17.3918 45.0572 17.9591 44.3573 17.9591H43.7237V13.6647C43.7237 11.3902 45.5676 9.5463 47.8421 9.5463V10.8135Z",fill:"#303030"}),g.a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M51.0468 9.26331C51.0468 8.73843 51.4723 8.31291 51.9972 8.31291C52.3471 8.31291 52.6308 8.02924 52.6308 7.67931V6.41211H51.9972C50.4225 6.41211 49.146 7.68863 49.146 9.26331V17.9577H49.7796C50.4795 17.9577 51.0468 17.3904 51.0468 16.6905V11.9385H51.3636C52.0635 11.9385 52.6308 11.3712 52.6308 10.6713V10.3545H51.0468V9.26331Z",fill:"#303030"}),g.a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M39.0048 7.54029L35.15 17.1635C34.9574 17.6443 34.4915 17.9595 33.9736 17.9595H33.8983C33.3804 17.9595 32.9145 17.6443 32.7219 17.1635L28.8672 7.54029H30.0529C30.5709 7.54029 31.0366 7.85549 31.2293 8.33628L33.936 15.0934L36.6426 8.33628C36.8352 7.85549 37.301 7.54029 37.819 7.54029H39.0048Z",fill:"#303030"}))}function pc(){return g.a.createElement("svg",{width:"60",height:"48",viewBox:"0 0 60 48",fill:"none",xmlns:"http://www.w3.org/2000/svg"},g.a.createElement("path",{d:"M0 2C0 0.895432 0.895431 0 2 0H58C59.1046 0 60 0.895431 60 2V46C60 47.1046 59.1046 48 58 48H2C0.895432 48 0 47.1046 0 46V2Z",fill:"#F4F9E1"}),g.a.createElement("ellipse",{cx:"20.0357",cy:"19.0357",rx:"5.03571",ry:"5.03571",fill:"#A9C92C"}),g.a.createElement("path",{d:"M26.4643 37.9286L21.4286 31.2143L8 48H55L36.5357 24.5L26.4643 37.9286Z",fill:"#A9C92C"}))}function hc(){return g.a.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},g.a.createElement("path",{d:"M8.75 16.25V3.75C8.75 3.40482 8.47018 3.125 8.125 3.125L5 3.125C4.65482 3.125 4.375 3.40482 4.375 3.75L4.375 16.25C4.375 16.5952 4.65482 16.875 5 16.875H8.125C8.47018 16.875 8.75 16.5952 8.75 16.25Z",stroke:"#666666",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),g.a.createElement("path",{d:"M15.625 16.25V3.75C15.625 3.40482 15.3452 3.125 15 3.125L11.875 3.125C11.5298 3.125 11.25 3.40482 11.25 3.75V16.25C11.25 16.5952 11.5298 16.875 11.875 16.875H15C15.3452 16.875 15.625 16.5952 15.625 16.25Z",stroke:"#666666",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}))}function mc(){return g.a.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},g.a.createElement("path",{d:"M3.125 10H16.875",stroke:"#666666",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}))}function gc(){return g.a.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},g.a.createElement("path",{d:"M3.33334 5.83325C3.33334 5.05668 3.33334 4.6684 3.4602 4.36211C3.62936 3.95373 3.95382 3.62928 4.3622 3.46012C4.66848 3.33325 5.05677 3.33325 5.83334 3.33325H14.1667C14.9432 3.33325 15.3315 3.33325 15.6378 3.46012C16.0462 3.62928 16.3706 3.95373 16.5398 4.36211C16.6667 4.6684 16.6667 5.05668 16.6667 5.83325M7.5 16.6666H12.5M10 3.33325V16.6666",stroke:"#666666",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"}))}function vc(){return g.a.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},g.a.createElement("path",{d:"M8.75 10H16.875",stroke:"#666666",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),g.a.createElement("path",{d:"M8.75 5H16.875",stroke:"#666666",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),g.a.createElement("path",{d:"M3.125 15H16.875",stroke:"#666666",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),g.a.createElement("path",{d:"M5.625 4.375L2.5 7.5L5.625 10.625",stroke:"#666666",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}))}function bc(){return g.a.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},g.a.createElement("path",{d:"M5 5.9375C5 4.86006 5.42801 3.82675 6.18988 3.06488C6.95175 2.30301 7.98506 1.875 9.0625 1.875C10.1399 1.875 11.1733 2.30301 11.9351 3.06488C12.697 3.82675 13.125 4.86006 13.125 5.9375",stroke:"#666666",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),g.a.createElement("path",{d:"M5.62499 17.5L3.33437 13.5938C3.13044 13.2351 3.07666 12.8103 3.18476 12.4121C3.29287 12.0139 3.55408 11.6746 3.91141 11.4683C4.26873 11.262 4.69315 11.2054 5.09205 11.3109C5.49095 11.4163 5.83195 11.6753 6.04062 12.0312L7.49999 14.375V5.9375C7.49999 5.5231 7.66461 5.12567 7.95764 4.83265C8.25067 4.53962 8.64809 4.375 9.06249 4.375C9.4769 4.375 9.87432 4.53962 10.1673 4.83265C10.4604 5.12567 10.625 5.5231 10.625 5.9375V10.3125C10.625 9.8981 10.7896 9.50067 11.0826 9.20765C11.3757 8.91462 11.7731 8.75 12.1875 8.75C12.6019 8.75 12.9993 8.91462 13.2923 9.20765C13.5854 9.50067 13.75 9.8981 13.75 10.3125V11.5625C13.75 11.1481 13.9146 10.7507 14.2076 10.4576C14.5007 10.1646 14.8981 10 15.3125 10C15.7269 10 16.1243 10.1646 16.4173 10.4576C16.7104 10.7507 16.875 11.1481 16.875 11.5625V14.375C16.875 16.25 16.25 17.5 16.25 17.5",stroke:"#666666",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}))}function yc(){return g.a.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},g.a.createElement("path",{d:"M2.5 4.375H17.5V15C17.5 15.1658 17.4342 15.3247 17.3169 15.4419C17.1997 15.5592 17.0408 15.625 16.875 15.625H3.125C2.95924 15.625 2.80027 15.5592 2.68306 15.4419C2.56585 15.3247 2.5 15.1658 2.5 15V4.375Z",stroke:"#666666",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),g.a.createElement("path",{d:"M2.5 8.125H17.5",stroke:"#666666",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),g.a.createElement("path",{d:"M2.5 11.875H17.5",stroke:"#666666",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),g.a.createElement("path",{d:"M6.875 8.125V15.625",stroke:"#666666",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}))}function Ec(){return g.a.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},g.a.createElement("path",{d:"M4.375 18.125H15.625",stroke:"#666666",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),g.a.createElement("path",{d:"M10 10.625C11.3807 10.625 12.5 9.50571 12.5 8.125C12.5 6.74429 11.3807 5.625 10 5.625C8.61929 5.625 7.5 6.74429 7.5 8.125C7.5 9.50571 8.61929 10.625 10 10.625Z",stroke:"#666666",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),g.a.createElement("path",{d:"M16.25 8.125C16.25 13.75 10 18.125 10 18.125C10 18.125 3.75 13.75 3.75 8.125C3.75 6.4674 4.40848 4.87769 5.58058 3.70558C6.75269 2.53348 8.3424 1.875 10 1.875C11.6576 1.875 13.2473 2.53348 14.4194 3.70558C15.5915 4.87769 16.25 6.4674 16.25 8.125Z",stroke:"#666666",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}))}function wc(){return g.a.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},g.a.createElement("path",{d:"M16.875 3.75H3.125C2.77982 3.75 2.5 4.02982 2.5 4.375V15.625C2.5 15.9702 2.77982 16.25 3.125 16.25H16.875C17.2202 16.25 17.5 15.9702 17.5 15.625V4.375C17.5 4.02982 17.2202 3.75 16.875 3.75Z",stroke:"#666666",strokeLinecap:"round",strokeLinejoin:"round"}),g.a.createElement("path",{d:"M12.1875 8.4375C12.5327 8.4375 12.8125 8.15768 12.8125 7.8125C12.8125 7.46732 12.5327 7.1875 12.1875 7.1875C11.8423 7.1875 11.5625 7.46732 11.5625 7.8125C11.5625 8.15768 11.8423 8.4375 12.1875 8.4375Z",fill:"#666666"}),g.a.createElement("path",{d:"M11.5086 12.8126L13.5156 10.8079C13.6328 10.6908 13.7917 10.625 13.9574 10.625C14.1231 10.625 14.282 10.6908 14.3992 10.8079L17.5 13.911",stroke:"#666666",strokeLinecap:"round",strokeLinejoin:"round"}),g.a.createElement("path",{d:"M2.5 13.1789L6.74531 8.93282C6.80336 8.87471 6.87229 8.82861 6.94816 8.79715C7.02404 8.7657 7.10537 8.74951 7.1875 8.74951C7.26963 8.74951 7.35096 8.7657 7.42684 8.79715C7.50271 8.82861 7.57164 8.87471 7.62969 8.93282L14.9461 16.25",stroke:"#666666",strokeLinecap:"round",strokeLinejoin:"round"}))}function xc(e){return"flat"===e.type?g.a.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},g.a.createElement("path",{d:"M2.5 4.375H17.5V15C17.5 15.1658 17.4342 15.3247 17.3169 15.4419C17.1997 15.5592 17.0408 15.625 16.875 15.625H3.125C2.95924 15.625 2.80027 15.5592 2.68306 15.4419C2.56585 15.3247 2.5 15.1658 2.5 15V4.375Z",stroke:"#666666",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),g.a.createElement("path",{d:"M17.5 4.375L10 11.25L2.5 4.375",stroke:"#666666",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})):g.a.createElement("svg",{width:"16",height:"9",viewBox:"0 0 16 9",fill:"none",xmlns:"http://www.w3.org/2000/svg"},g.a.createElement("path",{d:"M5.135 0.5C4.83919 0.500116 4.55301 0.605136 4.32734 0.796384C4.10167 0.987632 3.95113 1.25272 3.9025 1.5445L2.9025 7.5445C2.87266 7.72353 2.88217 7.90691 2.93036 8.08189C2.97855 8.25688 3.06427 8.41927 3.18156 8.55778C3.29885 8.69629 3.44489 8.8076 3.60954 8.88397C3.77419 8.96033 3.9535 8.99993 4.135 9H13.114C13.4099 9 13.6962 8.89504 13.922 8.70378C14.1477 8.51252 14.2984 8.24737 14.347 7.9555L15.347 1.9555C15.3768 1.77651 15.3673 1.59317 15.3192 1.41823C15.271 1.24328 15.1853 1.08091 15.0681 0.94241C14.9509 0.803908 14.8049 0.692591 14.6403 0.616192C14.4757 0.539793 14.2965 0.500144 14.115 0.5H5.135ZM4.8885 1.709C4.89822 1.65054 4.92839 1.59743 4.97363 1.55915C5.01887 1.52087 5.07624 1.49991 5.1355 1.5H14.1145C14.1508 1.49994 14.1867 1.50781 14.2197 1.52304C14.2527 1.53828 14.282 1.56052 14.3055 1.58822C14.329 1.61592 14.3462 1.64841 14.3559 1.68343C14.3655 1.71845 14.3675 1.75516 14.3615 1.791L14.3145 2.0705L9.1695 4.8405C9.12879 4.86243 9.08279 4.87264 9.03663 4.86999C8.99046 4.86734 8.94594 4.85194 8.908 4.8255L4.8435 1.9805L4.8885 1.709ZM4.6615 3.0735L7.2415 4.879L4.0765 6.5835L4.6615 3.0735ZM8.1585 5.521L8.3345 5.6445C8.52431 5.77742 8.74733 5.85496 8.97865 5.86847C9.20998 5.88198 9.44051 5.83092 9.6445 5.721L9.83 5.621L13.3415 7.8555C13.3214 7.89872 13.2893 7.93529 13.2491 7.9609C13.2089 7.9865 13.1622 8.00007 13.1145 8H4.1355C4.08085 8.00003 4.02769 7.98215 3.98417 7.9491C3.94064 7.91605 3.90915 7.86965 3.8945 7.817L8.1585 5.521ZM10.839 5.0775L14.1065 3.318L13.5285 6.789L10.839 5.0775ZM0.875 1.5C0.775544 1.5 0.680161 1.53951 0.609835 1.60983C0.539509 1.68016 0.5 1.77554 0.5 1.875C0.5 1.97446 0.539509 2.06984 0.609835 2.14017C0.680161 2.21049 0.775544 2.25 0.875 2.25H3.125C3.22446 2.25 3.31984 2.21049 3.39017 2.14017C3.46049 2.06984 3.5 1.97446 3.5 1.875C3.5 1.77554 3.46049 1.68016 3.39017 1.60983C3.31984 1.53951 3.22446 1.5 3.125 1.5H0.875ZM0.875 3.5C0.775544 3.5 0.680161 3.53951 0.609835 3.60983C0.539509 3.68016 0.5 3.77554 0.5 3.875C0.5 3.97446 0.539509 4.06984 0.609835 4.14017C0.680161 4.21049 0.775544 4.25 0.875 4.25H2.625C2.72446 4.25 2.81984 4.21049 2.89017 4.14017C2.96049 4.06984 3 3.97446 3 3.875C3 3.77554 2.96049 3.68016 2.89017 3.60983C2.81984 3.53951 2.72446 3.5 2.625 3.5H0.875ZM0.5 5.875C0.5 5.77554 0.539509 5.68016 0.609835 5.60983C0.680161 5.53951 0.775544 5.5 0.875 5.5H2.125C2.22446 5.5 2.31984 5.53951 2.39017 5.60983C2.46049 5.68016 2.5 5.77554 2.5 5.875C2.5 5.97446 2.46049 6.06984 2.39017 6.14017C2.31984 6.21049 2.22446 6.25 2.125 6.25H0.875C0.775544 6.25 0.680161 6.21049 0.609835 6.14017C0.539509 6.06984 0.5 5.97446 0.5 5.875Z",fill:"#666666"}))}function Cc(e){return e.type,g.a.createElement("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},g.a.createElement("path",{d:"M6 4.125C6 3.72718 6.15804 3.34564 6.43934 3.06434C6.72064 2.78304 7.10218 2.625 7.5 2.625H10.875V9.375H7.5C7.10218 9.375 6.72064 9.53304 6.43934 9.81434C6.15804 10.0956 6 10.4772 6 10.875",stroke:"#0066CC",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),g.a.createElement("path",{d:"M1.125 9.375H4.5C4.89782 9.375 5.27936 9.53304 5.56066 9.81434C5.84196 10.0956 6 10.4772 6 10.875V4.125C6 3.72718 5.84196 3.34564 5.56066 3.06434C5.27936 2.78304 4.89782 2.625 4.5 2.625H1.125V9.375Z",stroke:"#0066CC",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))}function _c(){return g.a.createElement("svg",{width:"7",height:"6",viewBox:"0 0 7 6",fill:"none",xmlns:"http://www.w3.org/2000/svg"},g.a.createElement("path",{d:"M3.20001 6C4.85687 6 6.20001 4.65685 6.20001 3C6.20001 1.34315 4.85687 0 3.20001 0C1.54316 0 0.200012 1.34315 0.200012 3C0.200012 4.65685 1.54316 6 3.20001 6Z",fill:"currentColor"}))}function Pc(){return g.a.createElement("svg",{width:16,height:17,viewBox:"0 0 16 17",fill:"none",xmlns:"http://www.w3.org/2000/svg"},g.a.createElement("path",{d:"M11.3337 5.1665L4.66699 11.8332M4.66699 5.1665L11.3337 11.8332",stroke:"#171717",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}))}function kc(){return g.a.createElement("svg",{width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},g.a.createElement("path",{d:"M13.9806 1.6366C14.0047 1.55107 14.0056 1.46066 13.9831 1.37468C13.9607 1.2887 13.9157 1.21026 13.8529 1.14742C13.79 1.08459 13.7116 1.03964 13.6256 1.01719C13.5396 0.994745 13.4492 0.995618 13.3637 1.01972L1.36371 4.65847C1.26574 4.68612 1.17854 4.74301 1.11377 4.82155C1.049 4.90008 1.00975 4.99652 1.00126 5.09796C0.992762 5.1994 1.01543 5.30102 1.06624 5.38923C1.11705 5.47744 1.19357 5.54804 1.28558 5.5916L6.74996 8.25035L9.4087 13.7141C9.45226 13.8061 9.52286 13.8826 9.61107 13.9334C9.69928 13.9842 9.8009 14.0069 9.90234 13.9984C10.0038 13.9899 10.1002 13.9507 10.1788 13.8859C10.2573 13.8211 10.3142 13.7339 10.3418 13.636L13.9806 1.6366Z",stroke:"#666666",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))}function Sc(){return g.a.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},g.a.createElement("path",{d:"M2.5 11V4.5C2.5 4.23478 2.60536 3.98043 2.79289 3.79289C2.98043 3.60536 3.23478 3.5 3.5 3.5H12.5C12.7652 3.5 13.0196 3.60536 13.2071 3.79289C13.3946 3.98043 13.5 4.23478 13.5 4.5V11",stroke:"black",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),g.a.createElement("path",{d:"M1.5 11H14.5V12C14.5 12.2652 14.3946 12.5196 14.2071 12.7071C14.0196 12.8946 13.7652 13 13.5 13H2.5C2.23478 13 1.98043 12.8946 1.79289 12.7071C1.60536 12.5196 1.5 12.2652 1.5 12V11Z",stroke:"black",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),g.a.createElement("path",{d:"M9 5.5H7",stroke:"black",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))}function Rc(){return g.a.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},g.a.createElement("path",{d:"M11 1.5H5C4.44772 1.5 4 1.94772 4 2.5V13.5C4 14.0523 4.44772 14.5 5 14.5H11C11.5523 14.5 12 14.0523 12 13.5V2.5C12 1.94772 11.5523 1.5 11 1.5Z",stroke:"#666666",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),g.a.createElement("path",{d:"M4 3.5H12",stroke:"#666666",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),g.a.createElement("path",{d:"M4 12.5H12",stroke:"#666666",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))}function Ic(){return g.a.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},g.a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.34519 4.5H14.0708C14.8101 4.5 15.4122 5.1021 15.4122 5.84138V10.3152C15.4122 11.0545 14.8101 11.6566 14.0708 11.6566H9.8638L10.4392 13.0704L7.89745 11.6566H2.34138C1.6021 11.6566 1 11.0545 1 10.3152V5.84138C1 5.1021 1.6021 4.5 2.34519 4.5Z",fill:"#7F54B3"}),g.a.createElement("path",{d:"M1.72834 5.71859C1.81981 5.60807 1.95319 5.53948 2.09799 5.53567C2.39523 5.51662 2.56671 5.65762 2.61245 5.95867C2.79537 7.18572 2.99352 8.22987 3.2031 9.08729L4.49496 6.63317C4.61309 6.41214 4.75789 6.29401 4.93701 6.28259C5.19614 6.26353 5.35618 6.42739 5.42097 6.77798C5.54291 7.46392 5.72964 8.13842 5.97733 8.79005C6.13357 7.29624 6.3927 6.21399 6.75473 5.54711C6.82713 5.39468 6.97574 5.2956 7.14342 5.28798C7.2768 5.27654 7.41018 5.31847 7.51307 5.40612C7.61977 5.48613 7.68455 5.6119 7.69217 5.74526C7.6998 5.84434 7.68073 5.94343 7.63501 6.02726C7.40636 6.45407 7.21582 7.16286 7.06721 8.15366C6.92239 9.11016 6.86524 9.86087 6.90334 10.3982C6.91859 10.5316 6.89191 10.6649 6.83475 10.7831C6.77759 10.905 6.65565 10.9889 6.52227 10.9965C6.36603 11.0079 6.2136 10.9355 6.05736 10.7793C5.50861 10.2191 5.07419 9.38454 4.75409 8.2756C4.37682 9.03013 4.09101 9.59793 3.90428 9.97139C3.55751 10.6383 3.26028 10.9774 3.01639 10.9965C2.85633 11.0079 2.71914 10.8745 2.60864 10.5925C2.30758 9.82276 1.98367 8.33276 1.63689 6.12252C1.6064 5.97772 1.6407 5.83292 1.72834 5.71859Z",fill:"white"}),g.a.createElement("path",{d:"M10.695 6.64123C10.4968 6.28682 10.1539 6.03531 9.75373 5.9591C9.64701 5.93624 9.54032 5.9248 9.43362 5.9248C8.86963 5.9248 8.40852 6.21823 8.05031 6.80508C7.74545 7.30429 7.5854 7.87972 7.59303 8.46276C7.59303 8.91623 7.68829 9.30494 7.87502 9.62885C8.07319 9.98326 8.41616 10.2348 8.81628 10.311C8.92298 10.3338 9.02967 10.3453 9.13639 10.3453C9.70419 10.3453 10.1653 10.0518 10.5197 9.46498C10.8245 8.96197 10.9846 8.38655 10.977 7.79588C10.977 7.34241 10.8817 6.95751 10.695 6.64123ZM9.95188 8.27603C9.87186 8.66093 9.72324 8.95053 9.50221 9.1487C9.33073 9.30494 9.17068 9.36591 9.02587 9.33923C8.88106 9.31255 8.76674 9.18299 8.67909 8.95816C8.61431 8.78668 8.5762 8.60756 8.5762 8.42084C8.5762 8.27603 8.59145 8.13123 8.61811 7.99022C8.67528 7.73872 8.77817 7.50245 8.93061 7.28904C9.12495 7.00325 9.33073 6.88131 9.54412 6.92702C9.68894 6.95751 9.80325 7.08326 9.89091 7.30811C9.95568 7.47959 9.9938 7.65869 9.9938 7.84161C9.9938 7.98642 9.98237 8.13123 9.95188 8.27603Z",fill:"white"}),g.a.createElement("path",{d:"M14.3834 6.64123C14.1853 6.28682 13.8423 6.03531 13.4422 5.9591C13.3355 5.93624 13.2289 5.9248 13.122 5.9248C12.5582 5.9248 12.097 6.21823 11.7388 6.80508C11.4339 7.30429 11.2739 7.87972 11.2815 8.46276C11.2815 8.91623 11.3768 9.30494 11.5635 9.62885C11.7617 9.98326 12.1047 10.2348 12.5047 10.311C12.6115 10.3338 12.7182 10.3453 12.8248 10.3453C13.3927 10.3453 13.8537 10.0518 14.2081 9.46498C14.513 8.96197 14.673 8.38655 14.6655 7.79588C14.6655 7.34241 14.5702 6.95751 14.3834 6.64123ZM13.6404 8.27603C13.5603 8.66093 13.4117 8.95053 13.1906 9.1487C13.0192 9.30494 12.8592 9.36591 12.7143 9.33923C12.5696 9.31257 12.4552 9.18299 12.3675 8.95816C12.3028 8.78668 12.2647 8.60756 12.2647 8.42084C12.2647 8.27603 12.28 8.13123 12.3066 7.99022C12.3638 7.73872 12.4666 7.50245 12.6191 7.28904C12.8134 7.00325 13.0192 6.88131 13.2326 6.92702C13.3774 6.95751 13.4917 7.08326 13.5794 7.30811C13.6441 7.47959 13.6823 7.65869 13.6823 7.84161C13.6823 7.98642 13.6708 8.13123 13.6404 8.27603Z",fill:"white"}))}function Oc(){return g.a.createElement("svg",{width:"13",height:"12",viewBox:"0 0 13 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},g.a.createElement("path",{d:"M4.69995 10.1251H2.44995C2.35049 10.1251 2.25511 10.0856 2.18479 10.0152C2.11446 9.9449 2.07495 9.84952 2.07495 9.75006V7.65522C2.075 7.55589 2.11445 7.46064 2.18464 7.39037L7.96526 1.60975C8.03558 1.53948 8.13093 1.5 8.23034 1.5C8.32976 1.5 8.4251 1.53948 8.49542 1.60975L10.5903 3.70319C10.6605 3.7735 10.7 3.86885 10.7 3.96826C10.7 4.06768 10.6605 4.16302 10.5903 4.23334L4.69995 10.1251Z",stroke:"#666666",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),g.a.createElement("path",{d:"M10.325 10.125H4.69995",stroke:"#666666",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),g.a.createElement("path",{d:"M6.57495 3L9.19995 5.625",stroke:"#666666",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))}function Fc(){return g.a.createElement("svg",{width:"74",height:"74",viewBox:"0 0 74 74",fill:"none",xmlns:"http://www.w3.org/2000/svg"},g.a.createElement("path",{d:"M35.7415 12.3854C31.8736 11.2109 32.5063 13.3888 33.3062 14.6246C30.1858 14.0932 29.8852 15.075 31.1497 17.3671C28.2843 19.3197 27.0205 24.9447 26.7467 27.5132C26.6901 27.9848 26.3219 29.3987 25.3024 31.2808C22.8535 34.7189 24.1174 34.1921 24.0206 34.7808C23.9238 35.3695 22.0257 37.6993 21.6819 38.3888C21.3381 39.0783 17.4434 41.2988 16.761 41.7649C16.0786 42.231 14.54 42.4377 12.5876 42.8296C10.6352 43.2215 8.67991 42.3341 8.18496 41.6743C7.98989 41.2124 7.81487 41.134 7.75174 41.1525C7.64437 41.1048 7.35017 41.0625 7.03234 41.2749C6.63505 41.5403 7.05883 43.4444 7.17302 43.7974C4.14236 41.8673 4.37434 43.9919 4.86236 45.2163C5.87544 47.7914 9.88244 53.7903 17.8058 57.1851C27.71 61.4285 38.3353 60.5386 41.5806 57.6398C43.9323 55.2705 44.8808 52.5465 45.061 51.4806C45.4369 51.8999 46.4264 52.5425 47.3766 51.7588C48.3268 50.9751 48.2929 49.1283 48.1571 48.3029C48.9601 49.513 50.8144 51.6028 51.8084 50.2814C52.8023 48.9601 52.2544 47.0029 51.8562 46.1895C52.8232 47.193 55.0615 48.8818 56.2794 47.6082C57.4973 46.3347 56.0716 44.051 55.2065 43.0684C56.5887 43.2953 59.5103 43.4392 60.1395 42.1994C60.7686 40.9595 59.4811 39.6408 58.7587 39.1364C59.8671 39.2521 62.1893 39.0839 62.6111 37.485C63.0328 35.8862 61.2193 34.8035 60.2598 34.4621C61.2454 34.0063 63.1756 32.8287 63.0111 31.765C62.8465 30.7012 61.2253 30.2628 60.4353 30.1766C58.521 30.0337 54.0564 30.4805 51.512 33.4113C48.8141 37.1849 46.9532 37.901 46.3255 37.0426C45.8234 36.3558 46.1733 30.7776 46.411 28.0744C46.8504 25.6477 47.2547 20.2256 45.3563 17.9513C42.9834 15.1085 40.5763 13.8536 35.7415 12.3854Z",fill:"#B5D72D"}),g.a.createElement("path",{d:"M46.0052 46.6609C46.198 45.5774 46.1879 39.8533 46.1587 37.1267C47.0784 37.4373 49.2606 37.421 50.6318 34.8713C52.3457 31.6841 54.9897 31.4014 56.199 30.8942C57.2929 31.7825 57.9895 33.5888 55.899 35.3474C57.5722 37.0622 55.6794 38.4791 53.9205 38.9987C55.4383 40.486 53.3787 42.6398 51.4181 42.6653C52.3863 44.8174 49.9348 45.0188 48.3736 44.5442C48.5371 45.7905 47.1476 46.9286 46.0052 46.6609Z",fill:"#D3E883"}),g.a.createElement("path",{d:"M17.374 45.5705C14.8388 46.6858 14.6925 44.0652 14.9363 42.6154C16.1075 42.208 18.6261 40.5792 22.0257 38.3514C24.7454 36.5692 27.9474 37.0008 29.2084 37.4394C33.3496 38.7721 34.7433 43.2199 34.9224 45.2773C34.5707 45.8875 33.4285 46.8935 31.6732 46.0354C30.712 49.3442 28.7641 48.8875 27.9103 48.2456C27.302 49.1817 25.6578 50.3971 23.9481 47.7696C21.8947 49.2194 17.8696 49.7016 17.374 45.5705Z",fill:"#D3E883"}),g.a.createElement("path",{d:"M34.0224 18.6465C33.5399 19.0313 33.2048 18.9811 33.0975 18.9079C32.9411 18.8853 32.7353 18.722 33.163 18.2502C33.6976 17.6604 34.8783 17.4854 35.7092 17.9023C36.3739 18.2359 36.2383 18.6956 35.8734 18.6428C35.4564 18.5824 34.5049 18.2617 34.0224 18.6465Z",fill:"#1F1F1F"}),g.a.createElement("path",{d:"M43.2395 19.4965C43.0471 19.3122 42.3623 19.3051 42.0439 19.3247C41.9569 19.1408 42.2289 19.0575 42.4749 18.9705C42.721 18.8834 43.3463 19.0233 43.4935 19.0679C43.647 19.1144 43.9256 19.2279 44.0767 19.2986C44.2279 19.3692 44.3221 19.4807 44.4587 19.6962C44.5953 19.9116 44.394 20.0785 44.1836 20.0727C43.9733 20.067 43.4801 19.7269 43.2395 19.4965Z",fill:"#1F1F1F"}),g.a.createElement("ellipse",{cx:"2.54067",cy:"2.80844",rx:"2.54067",ry:"2.80844",transform:"matrix(0.98897 0.122448 -0.0418972 1.00407 32.542 19.5947)",fill:"#FFFEFA"}),g.a.createElement("ellipse",{cx:"1.71949",cy:"2.08473",rx:"1.71949",ry:"2.08473",transform:"matrix(0.987238 0.161994 -0.0877746 0.996479 33.4419 20.4805)",fill:"#272727"}),g.a.createElement("ellipse",{cx:"0.80977",cy:"0.736542",rx:"0.80977",ry:"0.736542",transform:"matrix(0.987248 0.161848 -0.0878663 0.996461 32.981 20.7783)",fill:"#FFFEFA"}),g.a.createElement("ellipse",{cx:"2.2345",cy:"2.454",rx:"2.2345",ry:"2.454",transform:"matrix(0.988964 0.1227 -0.0415928 1.00412 40.5483 20.5264)",fill:"#FFFEFA"}),g.a.createElement("ellipse",{cx:"1.5123",cy:"1.82168",rx:"1.5123",ry:"1.82168",transform:"matrix(0.987238 0.162001 -0.0877716 0.996479 41.3398 21.3018)",fill:"#272727"}),g.a.createElement("ellipse",{cx:"0.712238",cy:"0.64357",rx:"0.712238",ry:"0.64357",transform:"matrix(0.987248 0.161836 -0.0878726 0.99646 40.9346 21.5615)",fill:"#FFFEFA"}),g.a.createElement("rect",{x:"24.7534",y:"57.127",width:"4.11241",height:"6.49442",rx:"2.05621",transform:"rotate(28.0052 24.7534 57.127)",fill:"#FD8E08"}),g.a.createElement("rect",{x:"34.208",y:"57.8242",width:"4.11241",height:"6.49442",rx:"2.05621",transform:"rotate(12.6621 34.208 57.8242)",fill:"#FD8E08"}),g.a.createElement("path",{d:"M45.0708 29.9667C45.4333 29.7875 45.7107 28.91 44.1174 26.962C43.5972 26.326 42.8969 25.8873 42.1769 25.5514C41.1328 25.0643 40.1947 24.6504 39.5188 24.6781C38.794 24.7822 38.6397 25.2442 37.528 26.2617C36.1776 26.2799 33.8523 26.2662 34.7571 28.4757C36.9469 33.0488 41.4833 32.6537 42.8284 32.6856C43.9045 32.7112 43.778 32.1207 43.5802 31.8223C43.2063 31.2708 42.5013 30.0619 42.6728 29.6378C43.627 29.6161 44.7082 30.1459 45.0708 29.9667Z",fill:"#F85D1C"}),g.a.createElement("path",{d:"M41.6083 28.5195C37.8924 28.1941 36.8765 26.9423 36.833 26.357C36.7949 26.3015 36.8098 26.1775 37.1734 26.1264C37.6279 26.0624 38.2334 25.5657 38.652 25.0938C38.9869 24.7163 39.3129 24.655 39.4341 24.6715C39.7795 24.5591 41.0004 24.6534 43.1199 25.9298C45.7692 27.5253 45.4948 29.1251 45.3361 29.3805C45.1775 29.636 44.44 29.6361 44.0301 29.278C43.6203 28.9198 42.4911 28.6399 41.6083 28.5195Z",fill:"#FF8D05"}),g.a.createElement("path",{d:"M40.79 29.7332C39.6501 29.8229 37.5221 28.9615 36.6006 28.5195C36.9793 28.9803 37.8829 30.0557 38.4669 30.6709C39.1969 31.44 40.7988 31.8819 41.1289 31.4807C41.4591 31.0796 41.2363 30.4635 40.79 29.7332Z",fill:"#FFCAB3"}),g.a.createElement("path",{d:"M41.4558 29.6557L40.71 29.7061C41.8916 31.5487 40.5254 31.463 39.4305 31.3128C40.9783 32.1872 42.8556 32.1901 42.5378 31.9428C42.2836 31.745 41.7105 30.3356 41.4558 29.6557Z",fill:"#A76C24"}),g.a.createElement("ellipse",{cx:"43.2192",cy:"26.4591",rx:"0.495",ry:"0.2006",transform:"rotate(39.3267 43.2192 26.4591)",fill:"#FFBC4D"}),g.a.createElement("ellipse",{cx:"44.2103",cy:"27.642",rx:"0.721485",ry:"0.25836",transform:"rotate(54.8599 44.2103 27.642)",fill:"#FFBC4D"}),g.a.createElement("rect",{opacity:"0.9",x:"57.708",y:"21.8203",width:"1",height:"17.1042",transform:"rotate(13.0425 57.708 21.8203)",fill:"#FD8E08"}),g.a.createElement("rect",{x:"49.1079",y:"13",width:"21",height:"11",rx:"2",transform:"rotate(11.0476 49.1079 13)",fill:"#03C04A"}),g.a.createElement("path",{d:"M53.6407 18.5288L52.932 22.1585L52.1202 22L52.8289 18.3703L53.6407 18.5288ZM52.9612 17.4071C52.9852 17.2841 53.0453 17.1902 53.1416 17.1254C53.2405 17.0589 53.3626 17.0397 53.508 17.0681C53.6511 17.0961 53.756 17.1595 53.8226 17.2584C53.8896 17.3551 53.9111 17.4649 53.8871 17.5879C53.8635 17.7087 53.8025 17.8012 53.704 17.8656C53.6055 17.9299 53.4847 17.9481 53.3416 17.9202C53.1962 17.8918 53.0901 17.8293 53.023 17.7326C52.9582 17.6364 52.9376 17.5279 52.9612 17.4071ZM55.1768 19.6332L54.6194 22.488L53.8109 22.3301L54.5196 18.7004L55.2811 18.8491L55.1768 19.6332ZM54.8557 20.5108L54.5947 20.4563C54.6471 20.1996 54.729 19.9706 54.8402 19.7695C54.9537 19.5688 55.0881 19.4035 55.2435 19.2736C55.4011 19.1442 55.5763 19.0553 55.7692 19.0071C55.9624 18.9566 56.1675 18.9525 56.3845 18.9949C56.5589 19.0289 56.7118 19.0843 56.843 19.161C56.977 19.2359 57.0838 19.3369 57.1635 19.4639C57.2454 19.5913 57.2964 19.7464 57.3165 19.9291C57.337 20.1095 57.323 20.3239 57.2745 20.5721L56.8167 22.917L56.0049 22.7585L56.4633 20.4102C56.4974 20.2358 56.4985 20.0932 56.4667 19.9826C56.4376 19.8701 56.3791 19.7832 56.2913 19.7219C56.2061 19.6589 56.093 19.6136 55.9521 19.5861C55.8135 19.559 55.6837 19.5638 55.5627 19.6006C55.4418 19.6373 55.3335 19.6986 55.2378 19.7844C55.1443 19.8706 55.0646 19.9758 54.9986 20.0999C54.9326 20.224 54.8849 20.3609 54.8557 20.5108ZM58.7355 23.2916L57.9271 23.1338L58.7038 19.1552C58.7567 18.8846 58.8513 18.6674 58.9878 18.5037C59.1269 18.3381 59.3007 18.227 59.5091 18.1702C59.718 18.1111 59.9521 18.1069 60.2115 18.1575C60.292 18.1733 60.3703 18.1944 60.4464 18.2208C60.523 18.2451 60.5962 18.2744 60.666 18.309L60.5241 18.929C60.4815 18.9091 60.4339 18.8917 60.3811 18.8767C60.3305 18.8622 60.275 18.849 60.2146 18.8372C60.0916 18.8132 59.9808 18.816 59.8822 18.8455C59.7862 18.8732 59.7063 18.926 59.6423 19.0041C59.5805 19.0826 59.5372 19.1856 59.5123 19.313L58.7355 23.2916ZM60.1923 19.808L60.077 20.3984L57.9636 19.9858L58.0789 19.3954L60.1923 19.808ZM60.2628 21.7476L60.2779 21.6704C60.329 21.4088 60.4144 21.1735 60.5341 20.9647C60.6542 20.7537 60.802 20.5794 60.9774 20.4419C61.1556 20.3025 61.3576 20.2073 61.5835 20.1562C61.812 20.1033 62.0582 20.1026 62.3221 20.1542C62.5883 20.2061 62.8162 20.2994 63.0058 20.4339C63.1981 20.5667 63.3506 20.7311 63.4632 20.9272C63.5763 21.1211 63.6488 21.3384 63.6807 21.5791C63.7131 21.8176 63.7037 22.0677 63.6526 22.3293L63.6376 22.4065C63.5865 22.6681 63.5011 22.9034 63.3814 23.1122C63.2617 23.321 63.1128 23.495 62.9347 23.6344C62.757 23.7715 62.555 23.8667 62.3287 23.92C62.1028 23.9711 61.8579 23.9709 61.594 23.9194C61.3278 23.8674 61.0986 23.7751 60.9063 23.6423C60.7167 23.5078 60.5653 23.3436 60.4522 23.1497C60.3396 22.9536 60.2671 22.7363 60.2348 22.4978C60.2024 22.2593 60.2117 22.0092 60.2628 21.7476ZM61.0864 21.8283L61.0713 21.9054C61.0394 22.0687 61.0261 22.2263 61.0312 22.3782C61.0364 22.5301 61.0641 22.6678 61.1142 22.7914C61.1644 22.915 61.2393 23.019 61.3389 23.1034C61.4385 23.1879 61.5654 23.2452 61.7197 23.2753C61.8696 23.3045 62.0054 23.2986 62.1272 23.2573C62.2513 23.2165 62.3598 23.1483 62.4527 23.0527C62.5457 22.9571 62.6231 22.8399 62.6851 22.7011C62.7492 22.5627 62.7972 22.4119 62.8291 22.2486L62.8442 22.1715C62.8756 22.0105 62.8874 21.8549 62.8796 21.7048C62.8744 21.5528 62.8459 21.4138 62.7939 21.2875C62.7441 21.1618 62.6695 21.0566 62.5699 20.9722C62.473 20.8859 62.3485 20.828 62.1964 20.7983C62.0443 20.7686 61.906 20.7752 61.7816 20.8183C61.6597 20.8595 61.5521 20.929 61.4587 21.0269C61.3653 21.1247 61.2877 21.243 61.2258 21.3819C61.1643 21.5184 61.1178 21.6672 61.0864 21.8283Z",fill:"#FFFEFA"}))}function Ac(){return g.a.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},g.a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.76923 13H3V3H3.76923V13ZM13.0002 6.8464H5.30794V5.30794H13.0002V6.8464ZM5.30794 10.6924H9.92333V9.15397H5.30794V10.6924Z",fill:"#666666"}))}function jc(){return g.a.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},g.a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.61538 3H7.84615V5.30769H4V6.84615H7.84615V9.15385H5.53846V10.6923H7.84615V13H8.61538V10.6923H10.9231V9.15385H8.61538V6.84615H12.4615V5.30769H8.61538V3Z",fill:"#666666"}))}function Lc(){return g.a.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},g.a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.2308 13H13V3H12.2308V13ZM3 6.84615H10.6923V5.30769H3V6.84615ZM10.6923 10.6923H6.07692V9.15385H10.6923V10.6923Z",fill:"#666666"}))}function Tc(){return g.a.createElement("svg",{width:"28",height:"28",viewBox:"0 0 28 28",fill:"none",xmlns:"http://www.w3.org/2000/svg"},g.a.createElement("path",{d:"M9 16L14 11L19 16",stroke:"#666666",strokeLinecap:"round",strokeLinejoin:"round"}))}function Mc(){return g.a.createElement("svg",{width:"28",height:"28",viewBox:"0 0 28 28",fill:"none",xmlns:"http://www.w3.org/2000/svg"},g.a.createElement("path",{d:"M19 12L14 17L9 12",stroke:"#666666",strokeLinecap:"round",strokeLinejoin:"round"}))}function Nc(){return g.a.createElement("svg",{width:"28",height:"28",viewBox:"0 0 28 28",fill:"none",xmlns:"http://www.w3.org/2000/svg"},g.a.createElement("path",{d:"M17.5 10H8.5C8.36739 10 8.24021 10.0527 8.14645 10.1464C8.05268 10.2402 8 10.3674 8 10.5V19.5C8 19.6326 8.05268 19.7598 8.14645 19.8536C8.24021 19.9473 8.36739 20 8.5 20H17.5C17.6326 20 17.7598 19.9473 17.8536 19.8536C17.9473 19.7598 18 19.6326 18 19.5V10.5C18 10.3674 17.9473 10.2402 17.8536 10.1464C17.7598 10.0527 17.6326 10 17.5 10ZM17 19H9V11H17V19ZM20 8.5V17.5C20 17.6326 19.9473 17.7598 19.8536 17.8536C19.7598 17.9473 19.6326 18 19.5 18C19.3674 18 19.2402 17.9473 19.1464 17.8536C19.0527 17.7598 19 17.6326 19 17.5V9H10.5C10.3674 9 10.2402 8.94732 10.1464 8.85355C10.0527 8.75979 10 8.63261 10 8.5C10 8.36739 10.0527 8.24021 10.1464 8.14645C10.2402 8.05268 10.3674 8 10.5 8H19.5C19.6326 8 19.7598 8.05268 19.8536 8.14645C19.9473 8.24021 20 8.36739 20 8.5Z",fill:"#666666"}))}function Bc(){return g.a.createElement("svg",{width:"28",height:"28",viewBox:"0 0 28 28",fill:"none",xmlns:"http://www.w3.org/2000/svg"},g.a.createElement("path",{d:"M19.5 9H17V8.5C17 8.10218 16.842 7.72064 16.5607 7.43934C16.2794 7.15804 15.8978 7 15.5 7H12.5C12.1022 7 11.7206 7.15804 11.4393 7.43934C11.158 7.72064 11 8.10218 11 8.5V9H8.5C8.36739 9 8.24021 9.05268 8.14645 9.14645C8.05268 9.24021 8 9.36739 8 9.5C8 9.63261 8.05268 9.75979 8.14645 9.85355C8.24021 9.94732 8.36739 10 8.5 10H9V19C9 19.2652 9.10536 19.5196 9.29289 19.7071C9.48043 19.8946 9.73478 20 10 20H18C18.2652 20 18.5196 19.8946 18.7071 19.7071C18.8946 19.5196 19 19.2652 19 19V10H19.5C19.6326 10 19.7598 9.94732 19.8536 9.85355C19.9473 9.75979 20 9.63261 20 9.5C20 9.36739 19.9473 9.24021 19.8536 9.14645C19.7598 9.05268 19.6326 9 19.5 9ZM12 8.5C12 8.36739 12.0527 8.24021 12.1464 8.14645C12.2402 8.05268 12.3674 8 12.5 8H15.5C15.6326 8 15.7598 8.05268 15.8536 8.14645C15.9473 8.24021 16 8.36739 16 8.5V9H12V8.5ZM18 19H10V10H18V19ZM13 12.5V16.5C13 16.6326 12.9473 16.7598 12.8536 16.8536C12.7598 16.9473 12.6326 17 12.5 17C12.3674 17 12.2402 16.9473 12.1464 16.8536C12.0527 16.7598 12 16.6326 12 16.5V12.5C12 12.3674 12.0527 12.2402 12.1464 12.1464C12.2402 12.0527 12.3674 12 12.5 12C12.6326 12 12.7598 12.0527 12.8536 12.1464C12.9473 12.2402 13 12.3674 13 12.5ZM16 12.5V16.5C16 16.6326 15.9473 16.7598 15.8536 16.8536C15.7598 16.9473 15.6326 17 15.5 17C15.3674 17 15.2402 16.9473 15.1464 16.8536C15.0527 16.7598 15 16.6326 15 16.5V12.5C15 12.3674 15.0527 12.2402 15.1464 12.1464C15.2402 12.0527 15.3674 12 15.5 12C15.6326 12 15.7598 12.0527 15.8536 12.1464C15.9473 12.2402 16 12.3674 16 12.5Z",fill:"#CC0A00"}))}function Vc(){return g.a.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",fill:"none",viewBox:"0 0 20 20"},g.a.createElement("path",{stroke:"#666",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",d:"M7.5 3.75 13.75 10 7.5 16.25"}))}function Dc(){return g.a.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},g.a.createElement("path",{d:"M7.1875 5.625C7.70527 5.625 8.125 5.20527 8.125 4.6875C8.125 4.16973 7.70527 3.75 7.1875 3.75C6.66973 3.75 6.25 4.16973 6.25 4.6875C6.25 5.20527 6.66973 5.625 7.1875 5.625Z",fill:"#666666"}),g.a.createElement("path",{d:"M12.8125 5.625C13.3303 5.625 13.75 5.20527 13.75 4.6875C13.75 4.16973 13.3303 3.75 12.8125 3.75C12.2947 3.75 11.875 4.16973 11.875 4.6875C11.875 5.20527 12.2947 5.625 12.8125 5.625Z",fill:"#666666"}),g.a.createElement("path",{d:"M7.1875 10.9375C7.70527 10.9375 8.125 10.5178 8.125 10C8.125 9.48223 7.70527 9.0625 7.1875 9.0625C6.66973 9.0625 6.25 9.48223 6.25 10C6.25 10.5178 6.66973 10.9375 7.1875 10.9375Z",fill:"#666666"}),g.a.createElement("path",{d:"M12.8125 10.9375C13.3303 10.9375 13.75 10.5178 13.75 10C13.75 9.48223 13.3303 9.0625 12.8125 9.0625C12.2947 9.0625 11.875 9.48223 11.875 10C11.875 10.5178 12.2947 10.9375 12.8125 10.9375Z",fill:"#666666"}),g.a.createElement("path",{d:"M7.1875 16.25C7.70527 16.25 8.125 15.8303 8.125 15.3125C8.125 14.7947 7.70527 14.375 7.1875 14.375C6.66973 14.375 6.25 14.7947 6.25 15.3125C6.25 15.8303 6.66973 16.25 7.1875 16.25Z",fill:"#666666"}),g.a.createElement("path",{d:"M12.8125 16.25C13.3303 16.25 13.75 15.8303 13.75 15.3125C13.75 14.7947 13.3303 14.375 12.8125 14.375C12.2947 14.375 11.875 14.7947 11.875 15.3125C11.875 15.8303 12.2947 16.25 12.8125 16.25Z",fill:"#666666"}))}function zc(){return g.a.createElement("svg",{width:"17",height:"16",viewBox:"0 0 17 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},g.a.createElement("path",{d:"M8.5 3.33325V12.6666M3.83333 7.99992H13.1667",stroke:"#666666",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"}))}function Xc(){return g.a.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},g.a.createElement("path",{d:"M5.33333 2H5.2C4.0799 2 3.51984 2 3.09202 2.21799C2.71569 2.40973 2.40973 2.71569 2.21799 3.09202C2 3.51984 2 4.0799 2 5.2V5.33333M5.33333 14H5.2C4.0799 14 3.51984 14 3.09202 13.782C2.71569 13.5903 2.40973 13.2843 2.21799 12.908C2 12.4802 2 11.9201 2 10.8V10.6667M14 5.33333V5.2C14 4.07989 14 3.51984 13.782 3.09202C13.5903 2.71569 13.2843 2.40973 12.908 2.21799C12.4802 2 11.9201 2 10.8 2H10.6667M14 10.6667V10.8C14 11.9201 14 12.4802 13.782 12.908C13.5903 13.2843 13.2843 13.5903 12.908 13.782C12.4802 14 11.9201 14 10.8 14H10.6667",stroke:"#171717",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))}function Hc(){return g.a.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},g.a.createElement("path",{d:"M2 11.3333L2 4.66667M14 11.3333V4.66667M4.66667 14H11.3333M4.66667 2L11.3333 2",stroke:"#171717",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"}))}function Uc(){return g.a.createElement("svg",{width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},g.a.createElement("rect",{x:"0.5",y:"0.745117",width:"14",height:"4",stroke:"#666666"}),g.a.createElement("path",{d:"M14.504 7.28027V13.7549H0.514893V7.28027",stroke:"#666666",strokeDasharray:"4 2"}))}function Wc(){return g.a.createElement("svg",{width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},g.a.createElement("rect",{x:"0.5",y:"-0.5",width:"14",height:"4",transform:"matrix(1 0 0 -1 0 13.7549)",stroke:"#666666"}),g.a.createElement("path",{d:"M14.504 7.71973V1.24512H0.514893V7.71973",stroke:"#666666",strokeDasharray:"4 2"}))}function Zc(){return g.a.createElement("svg",{width:"15",height:"16",viewBox:"0 0 15 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},g.a.createElement("rect",{x:"1.24512",y:"15",width:"14",height:"4",transform:"rotate(-90 1.24512 15)",stroke:"#666666"}),g.a.createElement("path",{d:"M7.78027 0.995987H14.2549V14.9851H7.78027",stroke:"#666666",strokeDasharray:"4 2"}))}function $c(){return g.a.createElement("svg",{width:"15",height:"16",viewBox:"0 0 15 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},g.a.createElement("rect",{x:"-0.5",y:"-0.5",width:"14",height:"4",transform:"matrix(0 -1 -1 0 13.2549 14.5)",stroke:"#666666"}),g.a.createElement("path",{d:"M7.21973 0.995987H0.745117L0.745117 14.9851H7.21973",stroke:"#666666",strokeDasharray:"4 2"}))}function qc(){return g.a.createElement("svg",{width:"21",height:"20",viewBox:"0 0 21 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},g.a.createElement("path",{d:"M16.5 4H16.02C11.9876 4 9.97143 4 8.43127 4.78475C7.0765 5.47504 5.97504 6.5765 5.28475 7.93127C4.5 9.47143 4.5 11.4876 4.5 15.52V16",stroke:"#171717",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))}function Yc(){return g.a.createElement("svg",{width:"21",height:"20",viewBox:"0 0 21 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},g.a.createElement("path",{d:"M4.5 4H4.98C9.01238 4 11.0286 4 12.5687 4.78475C13.9235 5.47504 15.025 6.5765 15.7152 7.93127C16.5 9.47143 16.5 11.4876 16.5 15.52V16",stroke:"#171717",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))}function Gc(){return g.a.createElement("svg",{width:"21",height:"20",viewBox:"0 0 21 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},g.a.createElement("path",{d:"M16.5 16H16.02C11.9876 16 9.97143 16 8.43127 15.2152C7.0765 14.525 5.97504 13.4235 5.28475 12.0687C4.5 10.5286 4.5 8.51238 4.5 4.48V4",stroke:"#171717",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))}function Kc(){return g.a.createElement("svg",{width:"21",height:"20",viewBox:"0 0 21 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},g.a.createElement("path",{d:"M4.5 16H4.98C9.01238 16 11.0286 16 12.5687 15.2152C13.9235 14.525 15.025 13.4235 15.7152 12.0687C16.5 10.5286 16.5 8.51238 16.5 4.48V4",stroke:"#171717",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))}function Qc(){return g.a.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},g.a.createElement("path",{d:"M13 9H3C2.72386 9 2.5 9.22386 2.5 9.5V12C2.5 12.2761 2.72386 12.5 3 12.5H13C13.2761 12.5 13.5 12.2761 13.5 12V9.5C13.5 9.22386 13.2761 9 13 9Z",stroke:"#666666",strokeLinecap:"round",strokeLinejoin:"round"}),g.a.createElement("path",{d:"M13 3.5H3C2.72386 3.5 2.5 3.72386 2.5 4V6.5C2.5 6.77614 2.72386 7 3 7H13C13.2761 7 13.5 6.77614 13.5 6.5V4C13.5 3.72386 13.2761 3.5 13 3.5Z",stroke:"#666666",strokeLinecap:"round",strokeLinejoin:"round"}))}function Jc(){return g.a.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},g.a.createElement("rect",{x:"0.5",y:"-0.5",width:"14",height:"4",transform:"matrix(1 0 0 -1 2.5 15.7539)",stroke:"#666666"}),g.a.createElement("rect",{x:"0.5",y:"-0.5",width:"14",height:"4",transform:"matrix(1 0 0 -1 2.5 7.75391)",stroke:"#666666"}))}function eu(){return g.a.createElement("svg",{viewBox:"-1 0 46 36",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{margin:0,padding:0,display:"block"}},g.a.createElement("rect",{x:0,y:6,width:38,height:24,rx:12,fill:"#E6E6E6"}),g.a.createElement("rect",{x:0,y:6,width:38,height:24,rx:12,stroke:"#C9C9C9",strokeWidth:1.5}),g.a.createElement("rect",{x:8,y:12,width:12,height:12,rx:6,fill:"#CCCCCC"}))}function tu(){return g.a.createElement("svg",{viewBox:"-1 0 46 36",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{margin:0,padding:0,display:"block"}},g.a.createElement("rect",{x:0,y:6,width:38,height:24,rx:12,fill:"#B5D72D"}),g.a.createElement("rect",{x:17,y:9,width:18,height:18,rx:9,fill:"#FFFEFA"}))}function nu(){return g.a.createElement("svg",{width:12,height:13,viewBox:"0 0 12 13",fill:"none",xmlns:"http://www.w3.org/2000/svg"},g.a.createElement("path",{d:"M11.25 9.5V5C11.25 4.58579 10.9142 4.25 10.5 4.25H8.25C7.83579 4.25 7.5 4.58579 7.5 5V9.5C7.5 9.91421 7.83579 10.25 8.25 10.25H10.5C10.9142 10.25 11.25 9.91421 11.25 9.5Z",stroke:"#666666",strokeLinecap:"round",strokeLinejoin:"round"}),g.a.createElement("path",{d:"M6 10.25H4.125",stroke:"#666666",strokeLinecap:"round",strokeLinejoin:"round"}),g.a.createElement("path",{d:"M7.5 8.75H1.875C1.67609 8.75 1.48532 8.67098 1.34467 8.53033C1.20402 8.38968 1.125 8.19891 1.125 8V3.5C1.125 3.30109 1.20402 3.11032 1.34467 2.96967C1.48532 2.82902 1.67609 2.75 1.875 2.75H8.625C8.82391 2.75 9.01468 2.82902 9.15533 2.96967C9.29598 3.11032 9.375 3.30109 9.375 3.5V4.25",stroke:"#666666",strokeLinecap:"round",strokeLinejoin:"round"}),g.a.createElement("path",{d:"M9 5.75H9.75",stroke:"#666666",strokeLinecap:"round",strokeLinejoin:"round"}))}function ru(){return g.a.createElement(g.a.Fragment,null,g.a.createElement("section",{className:"".concat(v.VIRFICE_APP_PREFIX,"-landing-header-section")},!virfice.isWooActive&&g.a.createElement("div",{style:{height:70,background:"#FFE600",display:"flex",justifyContent:"space-between",alignItems:"center",marginBottom:12,marginTop:-8,padding:"0 28px"}},g.a.createElement("div",{style:{display:"flex",alignItems:"center"}},g.a.createElement("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},g.a.createElement("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M15.3463 8.16209C15.633 7.65235 16.3669 7.65235 16.6536 8.16209L24.3713 21.8823C24.6525 22.3822 24.2912 23 23.7176 23H8.28234C7.70872 23 7.34744 22.3822 7.62866 21.8823L15.3463 8.16209ZM16 12.3817C16.497 12.3817 16.9 12.7847 16.9 13.2817V16.3695C16.9 16.8666 16.497 17.2695 16 17.2695C15.5029 17.2695 15.1 16.8666 15.1 16.3695V13.2817C15.1 12.7847 15.5029 12.3817 16 12.3817ZM17.1 20C17.1 19.3925 16.6075 18.9 16 18.9C15.3924 18.9 14.9 19.3925 14.9 20V20.0685C14.9 20.6761 15.3924 21.1685 16 21.1685C16.6075 21.1685 17.1 20.6761 17.1 20.0685V20Z",fill:"black","fill-opacity":"0.8"})),g.a.createElement("span",{style:{fontSize:13,fontWeight:500}},"WooCommerce Required")),g.a.createElement("span",null,"This plugin requires WooCommerce to function. Please install and activate WooCommerce to continue."),g.a.createElement(p,{type:"outline",title:"Install WooCommerce",link:virfice.wooPluginSearchUrl})),g.a.createElement(B,null,g.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-flex-space-between ").concat(v.VIRFICE_APP_PREFIX,"-flex-align-center")},g.a.createElement("div",null,g.a.createElement("div",{style:{height:30}},g.a.createElement(dc,null)),g.a.createElement("p",null,"Email Customizer for WooCommerce")),g.a.createElement("div",null,g.a.createElement(p,{type:"plain",title:"Explore guide!",link:"https://virfice.com/docs/",leftIcon:g.a.createElement(Cc,null),target:"_blank"}))))))}function au(){var t;return j()((t=200,function(e){setTimeout(function(){e(W(t))},1e3)})),g.a.createElement(g.a.Fragment,null,g.a.createElement(ru,null),g.a.createElement("section",null,g.a.createElement(B,null,g.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-flex-col ").concat(v.VIRFICE_APP_PREFIX,"-gap-16")},g.a.createElement(Wl,null),g.a.createElement(V,{heading:"Customize WooCommerce email templates",subHeading:"Set up essential email parameters, store address, and the store’s social links.",ActionButton:g.a.createElement(p,{type:"secondary",title:"Configure now!",link:F({menu:"settings"}),disabled:!virfice.isWooActive}),Illustration:g.a.createElement("img",{src:zl(yu)})}),g.a.createElement(V,{heading:"Customize and manage all WooCommerce emails",subHeading:"Customize, manage, preview, and test each WooCommerce email individually.",ActionButton:g.a.createElement(p,{type:"secondary",title:"Customize and test!",link:F({menu:"woo-email-list"}),disabled:!virfice.isWooActive}),Illustration:g.a.createElement("img",{src:zl(Eu)})})))))}function ou(e){var t=e.heading;return g.a.createElement(B,{size1280:e.size1280},g.a.createElement("div",{style:{display:"flex",gap:8,alignItems:"center"}},g.a.createElement("h1",null,t),e.quickAction),g.a.createElement("p",null,e.subHeading))}function iu(e){var t=e.children,e=e.className,e=X()(h()({},v.VIRFICE_APP_PREFIX+"-data-table",!0),e);return g.a.createElement("table",{className:e},t)}function lu(e){return e=void 0===(e=e.data)?[]:e,g.a.createElement("thead",null,g.a.createElement("tr",null,e.map(function(e,t){return g.a.createElement("th",{key:t,style:{width:e.width}},e.title)})))}function cu(e){return e=e.children,g.a.createElement("tbody",null,e)}function uu(e){var t=e.children,n=e.link;return g.a.createElement("tr",{onClick:function(){n&&(window.location.href=n)}},t)}function su(e){var t=e.title,n=e.type,r=e.leftIcon,e=void 0!==(e=e.className)&&e,n=X()(h()(h()(h()(h()(h()({},v.VIRFICE_APP_PREFIX+"-badge",!0),v.VIRFICE_APP_PREFIX+"-active","active"===n),v.VIRFICE_APP_PREFIX+"-success","success"===n),v.VIRFICE_APP_PREFIX+"-warning","warning"===n),v.VIRFICE_APP_PREFIX+"-in-active","in-active"===n),e);return g.a.createElement("div",{className:n},r,t)}function fu(e){var t=e.email,n=e.setVirfice_template_status,r=j();return g.a.createElement(wu,{value:t.virfice_template_status||!1,onChange:function(e){r(st(t.id,e)),n(e)},type:"toggle"})}function du(e){var e=e.email,t=Object(m.useState)(e.virfice_template_status||!1),n=(t=b()(t,2))[0],t=t[1],n=!0===n?"woo-email-edit-virfice":"woo-email-edit";return g.a.createElement(uu,{link:F({menu:n,email_id:e.id})},g.a.createElement("td",null,g.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-flex-align-center ").concat(v.VIRFICE_APP_PREFIX,"-gap-8")},g.a.createElement(xc,{type:"flat"})," ",e.title,g.a.createElement(Ic,null))),g.a.createElement("td",null,"yes"===e.enabled&&g.a.createElement(su,{type:"active",title:"Active",leftIcon:g.a.createElement(_c,null)}),"no"===e.enabled&&g.a.createElement(su,{type:"in-active",title:"Disabled",leftIcon:g.a.createElement(_c,null)}),!e.enabled&&g.a.createElement(su,{type:"active",title:"Manual",leftIcon:g.a.createElement(_c,null)})),g.a.createElement("td",null,"html"===e.email_type?"text/html":"palin text"),g.a.createElement("td",null,e.recipient||"Customer"),g.a.createElement("td",null,g.a.createElement(fu,{email:e,setVirfice_template_status:t})),g.a.createElement("td",null,g.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-action-buttons")},g.a.createElement(p,{leftIcon:g.a.createElement(Oc,null),title:"Edit",type:"secondary",small:!0,link:F({menu:n,email_id:e.id})}))))}function pu(e){return e=void 0!==(e=e.className)&&e,e=X()(h()({},v.VIRFICE_APP_PREFIX+"-loading",!0),e),g.a.createElement("div",{className:e},"Loading...")}function hu(){var e=A(function(e){return e.wooEmailList.emailList}),t=j();return Object(m.useEffect)(function(){t(function(t){var n;rt.get("".concat(virfice.restBase).concat("virfice/v1/woo-email/all"),{headers:{"X-WP-Nonce":virfice.nonce},params:{}}).then(function(e){n=e.data,t(dt({key:"emailList",value:{loaded:!0,data:n}}))}).catch(function(e){console.log(e)})})},[]),e.loaded?g.a.createElement(iu,null,g.a.createElement(lu,{data:[{title:"Emails",width:420},{title:"Status"},{title:"Content type"},{title:"Recipient(s)"},{title:"Virfice template"},{title:""}]}),g.a.createElement(cu,null,e.data.map(function(e){return g.a.createElement(du,{key:e.id,email:e})}))):g.a.createElement(pu,null)}function mu(e){var t=e.backAction,n=e.discardAction,r=e.discardButtonText,a=e.saveAction,o=e.saveButtonText,i=e.size1280,l=e.marginBottom,c=e.saveAndNextAction,u=e.saveAndNextButtonText,s=void 0!==(e=e.breadCrumb)&&e,e={};return void 0===l||l||(e.marginBottom=0),g.a.createElement("section",{className:"".concat(v.VIRFICE_APP_PREFIX,"-stickty-top-nav"),style:e},g.a.createElement(B,{size1280:i},g.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-action-wrapper ").concat(v.VIRFICE_APP_PREFIX,"-flex-space-between ").concat(v.VIRFICE_APP_PREFIX,"-flex-align-center")},g.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-flex-center-center"),style:{gap:"50px"}},t&&g.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-flex-center-center ").concat(v.VIRFICE_APP_PREFIX,"-gap-6 ").concat(v.VIRFICE_APP_PREFIX,"-cursor-pointer"),style:{width:"max-content"},onClick:t},g.a.createElement(fc,null),g.a.createElement("span",{className:"".concat(v.VIRFICE_APP_PREFIX,"-back")},"Back")),s&&g.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-bread-crumb")},s.map(function(e,t){return g.a.createElement(m.Fragment,{key:t},g.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-bread-crumb-item ").concat(e.isActive?"".concat(v.VIRFICE_APP_PREFIX,"-active"):""," ").concat(e.link||e.callBack?"".concat(v.VIRFICE_APP_PREFIX,"-has-link"):""),onClick:function(){e.link&&(window.location.href=e.link),e.callBack&&e.callBack()}},g.a.createElement("span",null,t+1,". ",e.title)),t!==s.length-1&&g.a.createElement(Vc,null))}))),(n||a)&&g.a.createElement("div",null,g.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-flex-center-center ").concat(v.VIRFICE_APP_PREFIX,"-gap-6"),style:{width:"max-content"}},n&&g.a.createElement(p,{type:c?"tertiary":"secondary",title:r||"Discard",onClick:n}),c&&g.a.createElement(p,{type:"secondary",title:u||"Save & Next",onClick:c}),a&&g.a.createElement(p,{type:"primary",title:o||"Save",onClick:a}))))))}function gu(){return g.a.createElement(g.a.Fragment,null,g.a.createElement(mu,{backAction:function(){window.location.href=F({menu:""})}}),g.a.createElement("section",null,g.a.createElement(ou,{heading:"Email notifications",subHeading:"Customize the look and feel of all WooCommerce emails. Let your emails represent your store."}),g.a.createElement(B,null,g.a.createElement(c,{className:"".concat(v.VIRFICE_APP_PREFIX,"-table-card")},g.a.createElement(hu,null)))))}function vu(e){var t=e.title,n=e.menuList,r=e.activeMenu,a=e.setActiveMenu;return g.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-settings-menu")},g.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-header")},g.a.createElement("h2",null,t)),g.a.createElement("ul",null,n.map(function(e){return g.a.createElement("li",{key:e.key,className:e.key===r.key?v.VIRFICE_APP_PREFIX+"-active":"",onClick:function(){a(e)}},e.icon,e.title)})))}function bu(e){var t=e.Text,n=void 0===(n=e.Illustration)?null:n,e=e.link;return g.a.createElement("div",{className:v.VIRFICE_APP_PREFIX+"-form-info"},n&&g.a.createElement("div",{className:v.VIRFICE_APP_PREFIX+"-form-info-illustration"},g.a.createElement(n,null)),g.a.createElement("div",{className:v.VIRFICE_APP_PREFIX+"-form-info-content"},g.a.createElement("div",{className:"body__large"},t),e&&g.a.createElement(p,{type:"plain",title:"Learn more",link:e,target:"_blank"})))}var j=sc(),yu=(u=Vi.useSyncExternalStoreWithSelector,tc=u,m.useSyncExternalStore,t.p+"images/BrandCustomize.b8c2cfe9.png"),Eu=t.p+"images/Testmail.6cddb96d.png",wu=function(e){function t(e){u(e),l(e)}var n=e.title,r=e.label,a=e.value,o=e.helpText,i=e.onChange,l=void 0===i?function(){}:i,i=e.type,e=void 0===i?"checkbox":i,i=Object(m.useState)(a),i=b()(i,2),c=i[0],u=i[1];Object(m.useEffect)(function(){u(a)},[a]);return g.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-checkbox-wrapper"),onClick:function(e){e.stopPropagation()}},n&&g.a.createElement("label",{className:"body__medium"},n),g.a.createElement("div",null,g.a.createElement("label",{className:"body__medium"},"toggle"===e&&g.a.createElement(g.a.Fragment,null,!0===c||1==c?g.a.createElement("div",{onClick:function(){t(!1)},style:{cursor:"pointer",width:38}},g.a.createElement(tu,null)):g.a.createElement("div",{onClick:function(){t(!0)},style:{cursor:"pointer",width:38}},g.a.createElement(eu,null))),"checkbox"===e&&g.a.createElement(g.a.Fragment,null,g.a.createElement("input",{type:"checkbox",checked:!0===c||1==c,onChange:function(e){t(e.target.checked)}})," ",r)),g.a.createElement("div",{style:{paddingLeft:24}},o&&g.a.createElement(Cl,{text:o}))))};function xu(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)),r}function Cu(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?xu(Object(n),!0).forEach(function(e){h()(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):xu(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function _u(){function t(e,t){n(At({key:"changedSettings-email",value:Cu(Cu({},r),{},h()({},e,t))}))}var n=j(),r=A(function(e){return e.globalSettings["changedSettings-email"]});return g.a.createElement(c,null,g.a.createElement("div",{style:{width:"100%"}},g.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-form-group"),style:{marginBottom:"16px"}},g.a.createElement("div",{className:"title__medium"},"Basic settings"),g.a.createElement("div",{className:"body__medium",style:{maxWidth:521}},"Configure essential email parameters such as sender information, reply-to address, and address.")),g.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-form-group")},g.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-flex ").concat(v.VIRFICE_APP_PREFIX,"-gap-8")},g.a.createElement(I,{label:"From name",value:r.woocommerce_email_from_name||"",onChange:function(e){t("woocommerce_email_from_name",e)}}),g.a.createElement(I,{label:"From email",value:r.woocommerce_email_from_address||"",onChange:function(e){t("woocommerce_email_from_address",e)}})),g.a.createElement(bu,{Text:"Be sure to match your name and email to the domain/SMTP settings. Otherwise, it may result in delivery issues.",Illustration:Fc,link:"https://virfice.com/change-the-sender-email-address-in-woocommerce/"}),g.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-flex ").concat(v.VIRFICE_APP_PREFIX,"-gap-8")},g.a.createElement(I,{label:"Reply-to name",value:r.virfice_reply_to_name||"",onChange:function(e){t("virfice_reply_to_name",e)}}),g.a.createElement(I,{label:"Reply-to email",value:r.virfice_reply_to_email||"",onChange:function(e){t("virfice_reply_to_email",e)}})))))}function Pu(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)),r}function ku(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Pu(Object(n),!0).forEach(function(e){h()(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Pu(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function Su(){function t(e,t){n(At({key:"changedSettings-email",value:ku(ku({},r),{},h()({},e,t))}))}var n=j(),r=A(function(e){return e.globalSettings["changedSettings-email"]});return g.a.createElement(c,null,g.a.createElement("div",{style:{width:"100%"}},g.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-form-group"),style:{marginBottom:"16px"}},g.a.createElement("div",{className:"title__medium"},"Store/company details"),g.a.createElement("div",{className:"body__medium",style:{maxWidth:521}},"The information provided will automatically generate compliant email footers in accordance with the CAN-SPAM Act and international anti-spam laws.")),g.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-form-group")},g.a.createElement(I,{label:"Store/company name",value:r.virfice_store_name||"",onChange:function(e){t("virfice_store_name",e)}}),g.a.createElement(I,{label:"Website URL",value:r.virfice_website_url||"",onChange:function(e){t("virfice_website_url",e)}}),g.a.createElement(I,{label:"Address",value:r.virfice_address||"",onChange:function(e){t("virfice_address",e)},multiline:5}),g.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-flex ").concat(v.VIRFICE_APP_PREFIX,"-gap-8")},g.a.createElement(I,{label:"Country",value:r.virfice_country||"",onChange:function(e){t("virfice_country",e)}}),g.a.createElement(I,{label:"City",value:r.virfice_city||"",onChange:function(e){t("virfice_city",e)}})))))}function Ru(){var e=j(),t=A(function(e){return e.globalSettings.email.loaded});return Object(m.useEffect)(function(){e(bt(["email"]))},[]),g.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-flex-col ").concat(v.VIRFICE_APP_PREFIX,"-gap-20")},!t&&g.a.createElement(pu,null),t&&g.a.createElement(g.a.Fragment,null,g.a.createElement(_u,null),g.a.createElement(Su,null)))}function Iu(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)),r}function Ou(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Iu(Object(n),!0).forEach(function(e){h()(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Iu(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function Fu(){function t(e,t){n(At({key:"changedSettings-brand",value:Ou(Ou({},r),{},h()({},e,t))}))}var n=j(),r=A(function(e){return e.globalSettings["changedSettings-brand"]});return g.a.createElement(c,null,g.a.createElement("div",{style:{width:"100%"}},g.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-form-group"),style:{marginBottom:"16px"}},g.a.createElement("div",{className:"title__medium"},"Social links"),g.a.createElement("div",{className:"body__medium",style:{maxWidth:521}},"The links set here will be added to the bottom of the emails if the user selects the checkbox 'Show social media icons.'")),g.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-form-group")},g.a.createElement(I,{label:"Facebook",value:r.virfice_facebook_url||"",onChange:function(e){t("virfice_facebook_url",e)}}),g.a.createElement(I,{label:"Instagram",value:r.virfice_instagram_url||"",onChange:function(e){t("virfice_instagram_url",e)}}),g.a.createElement(I,{label:"YouTube",value:r.virfice_youTube_url||"",onChange:function(e){t("virfice_youTube_url",e)}}),g.a.createElement(I,{label:"X",value:r.virfice_x_url||"",onChange:function(e){t("virfice_x_url",e)}}),g.a.createElement(I,{label:"TikTok",value:r.virfice_tiktok_url||"",onChange:function(e){t("virfice_tiktok_url",e)}}),g.a.createElement(I,{label:"Snapchat",value:r.virfice_snapchat_url||"",onChange:function(e){t("virfice_snapchat_url",e)}}),g.a.createElement(I,{label:"Pinterest",value:r.virfice_pinterest_url||"",onChange:function(e){t("virfice_pinterest_url",e)}}),g.a.createElement(I,{label:"Tumblr",value:r.virfice_tumblr_url||"",onChange:function(e){t("virfice_tumblr_url",e)}}),g.a.createElement(I,{label:"Vimeo",value:r.virfice_vimeo_url||"",onChange:function(e){t("virfice_vimeo_url",e)}}),g.a.createElement(I,{label:"Telegram",value:r.virfice_telegram_url||"",onChange:function(e){t("virfice_telegram_url",e)}}),g.a.createElement(I,{label:"VK",value:r.virfice_vk_url||"",onChange:function(e){t("virfice_vk_url",e)}}),g.a.createElement(I,{label:"Phone",value:r.virfice_phone_url||"",onChange:function(e){t("virfice_phone_url",e)}}))))}function Au(){return g.a.createElement(c,null,g.a.createElement("div",{style:{width:"100%"}},g.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-form-group")},g.a.createElement("div",{className:"title__medium"},"Theme settings"),g.a.createElement("div",{className:"body__medium",style:{maxWidth:521}},"Change your email templates colors, basic settings, and more."),g.a.createElement(p,{type:"secondary",title:"Customize",link:F({menu:"virfice-brand-settings"})}))))}function ju(){var e=j(),t=A(function(e){return e.globalSettings.brand.loaded});return Object(m.useEffect)(function(){e(bt(["brand"]))},[]),g.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-flex-col ").concat(v.VIRFICE_APP_PREFIX,"-gap-20")},!t&&g.a.createElement(pu,null),t&&g.a.createElement(g.a.Fragment,null,g.a.createElement(Au,null),g.a.createElement(Fu,null)))}function Lu(){var e=j(),t=Object(m.useState)({key:"email",title:"Email"}),r=(t=b()(t,2))[0],t=t[1];return g.a.createElement(g.a.Fragment,null,g.a.createElement(mu,{backAction:function(){window.history.back()},discardAction:function(){var n;e((n=r.key,function(e,t){t=(null==(t=t().globalSettings[n])?void 0:t.data)||{};e(At({key:"changedSettings-"+n,value:t})),e(y({title:"Settings discarded",type:"danger"}))}))},saveAction:function(){e(yt(r.key))}}),g.a.createElement("section",null,g.a.createElement(B,null,g.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-flex ").concat(v.VIRFICE_APP_PREFIX,"-gap-20")},g.a.createElement(c,{zeroPadding:!0,style:{width:"100%",maxWidth:"240px"}},g.a.createElement(vu,{title:"Settings",menuList:Vu,activeMenu:r,setActiveMenu:t})),g.a.createElement("div",{style:{width:"100%"}},g.a.createElement("h2",{className:"title__medium"},r.title),"email"===r.key&&g.a.createElement(Ru,null),"brand"===r.key&&g.a.createElement(ju,null))))))}function Tu(e){function t(){d(!1),c()}var n=e.children,r=e.open,a=e.heading,o=e.primaryActionProps,i=e.secondaryActionProps,l=void 0===(l=e.showCloseButton)||l,c=e.onClose,u=void 0!==(s=e.closeOnBackdropClick)&&s,e=void 0!==(s=e.hideHeader)&&s,s=Object(m.useState)(r),f=(s=b()(s,2))[0],d=s[1];return Object(m.useEffect)(function(){d(r)},[r]),f?Object(Du.createPortal)(g.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-modal")},g.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-backdrop"),onClick:function(){u&&t()}}),g.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-modal-wrapper")},!e&&g.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-modal-header")},g.a.createElement("div",null,g.a.createElement("div",{className:"title__small"},a)),l&&g.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-modal-close"),onClick:t},g.a.createElement(Pc,null))),g.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-modal-body")},n),g.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-modal-footer")},g.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-flex ").concat(v.VIRFICE_APP_PREFIX,"-gap-8")},i&&g.a.createElement(p,{title:i.title,leftIcon:i.leftIcon,type:"secondary",onClick:function(){i.onClick&&(t(),i.onClick())}}),o&&g.a.createElement(p,{title:o.title,leftIcon:o.leftIcon,type:"primary",onClick:function(){o.onClick&&o.onClick()}}))))),document.body):null}function Mu(e){var t=e.email_id,n=e.order_id,r=e.changedSettings,a=j(),o=A(function(e){return e.globalSettings["changedSettings-email"]}),e=Object(m.useState)(!1),i=(e=b()(e,2))[0],l=e[1],e=Object(m.useState)(!1),c=(e=b()(e,2))[0],u=e[1],e=Object(m.useState)(""),s=(e=b()(e,2))[0],f=e[1];return Object(m.useEffect)(function(){a(bt(["email"]))},[]),Object(m.useEffect)(function(){f(o&&o.woocommerce_email_from_address+","||"")},[o]),g.a.createElement(g.a.Fragment,null,g.a.createElement(p,{title:"Send test mail",type:"tertiary",leftIcon:g.a.createElement(xc,null),onClick:function(){l(!0)}}),g.a.createElement(Tu,{open:i,heading:"Send test email",primaryActionProps:{title:"Send",leftIcon:g.a.createElement(kc,null),onClick:function(){var e;Hl(s)?(u(!1),(e=new FormData).append("emails",s),e.append("email_id",t),e.append("order_id",n),e.append("changedSettings",JSON.stringify(r)),rt.post("".concat(virfice.restBase).concat("virfice/v1/woo-email/send-test-email"),e,{headers:{"X-WP-Nonce":virfice.nonce}}).then(function(e){e.data,l(!1),a(y({title:"Test email sent! Check your inbox.",type:"success"}))}).catch(function(e){console.log(e),a(y({title:"Failed to send test email!",type:"danger"}))})):u("Please enter a valid email address.")}},secondaryActionProps:{title:"Cancel",onClick:function(){l(!1)}},onClose:function(){l(!1)},closeOnBackdropClick:!0},g.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-form-group")},g.a.createElement(I,{value:s,label:"Recipients",multiline:3,onChange:function(e){f(e)},helpText:"Use comma to separate Cc & Bcc",error:c}),g.a.createElement(bu,{Text:"Make sure your SMTP is properly configured to send emails!",Illustration:Fc}))))}function Nu(){var e=A(function(e){return null==(e=e.wooEmailSingle)||null==(e=e.email)||null==(e=e.settings)?void 0:e.id}),t=A(function(e){return null==(e=e.wooEmailSingle)?void 0:e.selectedOrder}),n=A(function(e){return e.wooEmailSingle.changedSettings});return g.a.createElement(Mu,{email_id:e,order_id:(null==t?void 0:t.id)||"",changedSettings:n})}function Bu(){function e(e){var t=document.getElementById(v.VIRFICE_APP_PREFIX+"-email-preview");"Laptop"===e?(t.style.width=v.VIRFICE_RESPONSIVE_BREAKPOINTS.desktop,t.style.marginLeft="unset",t.style.marginRight="unset"):"Mobile"===e&&(t.style.width=v.VIRFICE_RESPONSIVE_BREAKPOINTS.mobile,t.style.marginLeft="auto",t.style.marginRight="auto"),r(e)}var t=Object(m.useState)("Laptop"),n=(t=b()(t,2))[0],r=t[1];return g.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-card-header ").concat(v.VIRFICE_APP_PREFIX,"-flex-space-between ").concat(v.VIRFICE_APP_PREFIX,"-w-100")},g.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-flex")},g.a.createElement(p,{type:"tertiary",icon:g.a.createElement(Sc,null),isActive:"Laptop"===n,onClick:function(){e("Laptop")}}),g.a.createElement(p,{type:"tertiary",icon:g.a.createElement(Rc,null),isActive:"Mobile"===n,onClick:function(){e("Mobile")}})),g.a.createElement(Nu,null))}var Vu=[{icon:g.a.createElement(xc,null),title:"Email",key:"email"},{icon:g.a.createElement(function(e){e.type;return g.a.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},g.a.createElement("path",{d:"M12.5481 3.36813C11.3379 2.16974 9.70314 1.49826 8 1.5H7.93313C6.22083 1.51762 4.58466 2.21021 3.3801 3.42729C2.17554 4.64437 1.49991 6.28762 1.5 8C1.5 10.6875 3.16125 12.9413 5.835 13.8856C6.13657 13.992 6.45924 14.0244 6.77594 13.9803C7.09264 13.9362 7.39415 13.8168 7.65518 13.6321C7.91621 13.4474 8.12916 13.2028 8.27615 12.9188C8.42314 12.6348 8.49991 12.3198 8.5 12C8.5 11.7348 8.60536 11.4804 8.79289 11.2929C8.98043 11.1054 9.23478 11 9.5 11H12.3881C12.8418 11.0022 13.2826 10.8492 13.6373 10.5663C13.992 10.2835 14.2393 9.88779 14.3381 9.445C14.4499 8.95294 14.5042 8.44958 14.5 7.945C14.4936 7.09092 14.3178 6.24659 13.9828 5.46094C13.6477 4.67529 13.1601 3.96395 12.5481 3.36813ZM5.25 10.5C5.10166 10.5 4.95666 10.456 4.83332 10.3736C4.70999 10.2912 4.61386 10.1741 4.55709 10.037C4.50032 9.89997 4.48547 9.74917 4.51441 9.60369C4.54335 9.4582 4.61478 9.32456 4.71967 9.21967C4.82456 9.11478 4.9582 9.04335 5.10368 9.01441C5.24917 8.98548 5.39997 9.00033 5.53701 9.05709C5.67406 9.11386 5.79119 9.20999 5.8736 9.33333C5.95601 9.45666 6 9.60167 6 9.75C6 9.94892 5.92098 10.1397 5.78033 10.2803C5.63968 10.421 5.44891 10.5 5.25 10.5ZM5.25 7C5.10166 7 4.95666 6.95602 4.83332 6.87361C4.70999 6.79119 4.61386 6.67406 4.55709 6.53702C4.50032 6.39997 4.48547 6.24917 4.51441 6.10369C4.54335 5.9582 4.61478 5.82456 4.71967 5.71967C4.82456 5.61478 4.9582 5.54335 5.10368 5.51441C5.24917 5.48548 5.39997 5.50033 5.53701 5.55709C5.67406 5.61386 5.79119 5.70999 5.8736 5.83333C5.95601 5.95666 6 6.10167 6 6.25C6 6.44892 5.92098 6.63968 5.78033 6.78033C5.63968 6.92099 5.44891 7 5.25 7ZM8 5.5C7.85166 5.5 7.70666 5.45602 7.58332 5.37361C7.45999 5.29119 7.36386 5.17406 7.30709 5.03702C7.25032 4.89997 7.23547 4.74917 7.26441 4.60369C7.29335 4.4582 7.36478 4.32456 7.46967 4.21967C7.57456 4.11478 7.7082 4.04335 7.85368 4.01441C7.99917 3.98548 8.14997 4.00033 8.28701 4.05709C8.42406 4.11386 8.54119 4.20999 8.6236 4.33333C8.70601 4.45666 8.75 4.60167 8.75 4.75C8.75 4.94892 8.67098 5.13968 8.53033 5.28033C8.38968 5.42099 8.19891 5.5 8 5.5ZM10.75 7C10.6017 7 10.4567 6.95602 10.3333 6.87361C10.21 6.79119 10.1139 6.67406 10.0571 6.53702C10.0003 6.39997 9.98547 6.24917 10.0144 6.10369C10.0434 5.9582 10.1148 5.82456 10.2197 5.71967C10.3246 5.61478 10.4582 5.54335 10.6037 5.51441C10.7492 5.48548 10.9 5.50033 11.037 5.55709C11.1741 5.61386 11.2912 5.70999 11.3736 5.83333C11.456 5.95666 11.5 6.10167 11.5 6.25C11.5 6.44892 11.421 6.63968 11.2803 6.78033C11.1397 6.92099 10.9489 7 10.75 7Z",fill:"#666666"}))},null),title:"Brand",key:"brand"}],Du=t(27),zu=t.n(Du),i=t(99),Xu=t.n(i);function Hu(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)),r}function Uu(e){var t=void 0!==(t=e.srcDoc)&&t,n=e.src,r=e.id,e=void 0===(e=e.style)?{}:e,a=Object(m.useState)(n),o=(a=b()(a,2))[0],i=a[1],a=Object(m.useState)(658),l=(a=b()(a,2))[0],c=a[1],u=Object(m.useRef)(null),a=(Object(m.useEffect)(function(){var e=Xu()(function(e){i(e)},200);return e(n),function(){e.cancel()}},[n]),Object(m.useEffect)(function(){function e(){t()}var t=function(){u.current&&setTimeout(function(){var e=u.current.contentWindow.document.body.scrollHeight;c(e)},100)};return u.current&&u.current.addEventListener("load",e),function(){u.current&&u.current.removeEventListener("load",e)}},[o]),{id:r,style:function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Hu(Object(n),!0).forEach(function(e){h()(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Hu(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}({height:l},e),ref:u});return n&&(a.src=n),t&&(a.srcDoc=t),g.a.createElement("iframe",a)}function Wu(){var e=A(function(e){return(null==(e=e.wooEmailSingle)||null==(e=e.email)||null==(e=e.settings)?void 0:e.previewUrl)||!1}),t=A(function(e){return null==(e=e.wooEmailSingle)?void 0:e.changedSettings}),n=A(function(e){return null==(e=e.wooEmailSingle)?void 0:e.selectedOrder});return e?(e=F({order_id:(null==n?void 0:n.id)||""},e),e=F(t,e),g.a.createElement(Uu,{src:e,id:v.VIRFICE_APP_PREFIX+"-email-preview"})):null}function Zu(){return g.a.createElement("div",{style:{width:638}},g.a.createElement(c,null,g.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-flex-col ").concat(v.VIRFICE_APP_PREFIX,"-w-100")},g.a.createElement(Bu,null),g.a.createElement(Wu,null))))}function $u(e){var t=e.label,n=e.value,r=e.options,a=e.onChange,o=e.onSearchInputChange,e=e.helpText,i=Object(m.useState)(!1),l=(i=b()(i,2))[0],c=i[1],i=Object(m.useState)(!1),u=(i=b()(i,2))[0],s=i[1],i=Ml(function(){l&&c(!1)});return Object(m.useEffect)(function(){s(!1)},[n]),g.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-selectfileld-wrapper")},t&&g.a.createElement("label",{className:"body__medium"},t),g.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-w-100"),style:{position:"relative"}},g.a.createElement("input",{className:"".concat(v.VIRFICE_APP_PREFIX,"-w-100"),placeholder:t,onFocus:function(){c(!0)},value:u||n.title,onChange:function(e){o&&(s(e.target.value),o(e.target.value))},disabled:!o&&l}),g.a.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{position:"absolute",top:8,right:12}},g.a.createElement("path",{d:"M16.25 7.5L10 13.75L3.75 7.5",stroke:"#666666",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})),l&&g.a.createElement("div",{ref:i},g.a.createElement("ul",null,r.map(function(e){return g.a.createElement("li",{onClick:function(){s(e.title),a(e),c(!1)},key:e.value},e.title)})))),e&&g.a.createElement(Cl,{text:e}))}function qu(e){var t=e.onOrderSelect,e=Object(m.useState)(Gu),n=(e=b()(e,2))[0],r=e[1],a=(Object(m.useEffect)(function(){a()},[]),function(e){var t;rt.get("".concat(virfice.restBase).concat("virfice/v1/woo-order/all"),{headers:{"X-WP-Nonce":virfice.nonce},params:{}}).then(function(e){t=e.data,r(t)}).catch(function(e){console.log(e)})});return g.a.createElement($u,{label:"Order",value:{value:"",title:""},options:n,onChange:function(e){t&&t(e)},onSearchInputChange:function(e){a(e)}})}function Yu(){var t=j();return g.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-form-group")},g.a.createElement("div",{className:"title__medium"},"Select an order for preview"),g.a.createElement(qu,{onOrderSelect:function(e){t(Ot({key:"selectedOrder",value:e}))}}))}var Gu=[{value:"",title:"Value not selected"}];function Ku(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)),r}function Qu(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Ku(Object(n),!0).forEach(function(e){h()(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Ku(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function Ju(e){return e?e.replace(/&amp;/g,"&").replace(/&lt;/g,"<").replace(/&gt;/g,">").replace(/&quot;/g,'"').replace(/&#039;/g,"'"):""}function es(n){return Object.keys(n).map(function(e,t){return{value:e,title:n[e]}})}function ts(){var r,n=j(),a=A(function(e){return null==(e=e.wooEmailSingle)||null==(e=e.email)||null==(e=e.settings)?void 0:e.form_fields}),o=A(function(e){return null==(e=e.wooEmailSingle)?void 0:e.changedSettings});if(a)return r=function(e,t){n(Ot({key:"changedSettings",value:Qu(Qu({},o),{},h()({},e,t))}))},g.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-form-group")},g.a.createElement("div",{className:"title__medium"},"Settings"),Object.keys(a).map(function(t,e){var n=a[t];switch(n.type){case"textarea":case"text":return g.a.createElement(I,{placeholder:n.placeholder,label:n.title,value:o[t],onChange:function(e){r(t,e)},key:t,multiline:"textarea"===n.type&&3,helpText:g.a.createElement("span",{dangerouslySetInnerHTML:{__html:Ju(n.description)}})});case"checkbox":return g.a.createElement($u,{label:n.title,value:Xl([{value:"yes",title:"Enable"},{value:"no",title:"Disable"}],o[t]),options:[{value:"yes",title:"Enable"},{value:"no",title:"Disable"}],onChange:function(e){r(t,e.value)},key:t,helpText:g.a.createElement("span",{dangerouslySetInnerHTML:{__html:Ju(n.description)}})});case"select":return g.a.createElement($u,{label:n.title,value:Xl(es(n.options),o[t]),options:es(n.options),onChange:function(e){r(t,e.value)},key:t,helpText:g.a.createElement("span",{dangerouslySetInnerHTML:{__html:Ju(n.description)}})});default:return"Not implement => "+t}}))}function ns(){return g.a.createElement("div",{style:{width:380}},g.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-flex-col ").concat(v.VIRFICE_APP_PREFIX,"-gap-20 ").concat(v.VIRFICE_APP_PREFIX,"-sticky-top-110")},g.a.createElement(c,null,g.a.createElement(Yu,null)),g.a.createElement(c,null,g.a.createElement(ts,null))))}function rs(){return g.a.createElement("svg",{width:92,height:90,viewBox:"0 0 92 90",fill:"none",xmlns:"http://www.w3.org/2000/svg"},g.a.createElement("path",{d:"M5.85417 45.356L0 4.45426L74.0002 0L72.9221 43.9122L44.726 45.3561L5.85417 45.356Z",fill:"#8EAA1D"}),g.a.createElement("path",{d:"M39.7902 30.0517C39.7985 29.6435 39.6562 29.2821 39.3643 28.9699C39.0725 28.6565 38.7137 28.4972 38.2879 28.4892C37.7425 28.4776 37.2968 28.6351 36.9499 28.9609C36.602 29.2854 36.4234 29.7288 36.4117 30.2907C36.4029 30.7515 36.5478 31.1547 36.8477 31.5007C37.1474 31.8479 37.5358 32.0256 38.0126 32.0347C38.285 32.0403 38.5285 31.9856 38.7443 31.8708C38.9591 31.7563 39.146 31.6062 39.3028 31.4225C39.4593 31.2382 39.5793 31.0281 39.6605 30.7907C39.7418 30.5537 39.7852 30.3074 39.7902 30.0517ZM49.0914 27.5541C49.0739 28.4403 48.9463 29.2548 48.7105 29.9998C48.4734 30.7447 48.1333 31.39 47.6876 31.9347C47.2426 32.4797 46.6928 32.903 46.0395 33.205C45.3856 33.5084 44.6417 33.6497 43.8076 33.6328C43.603 33.6289 43.4417 33.6183 43.3223 33.5987C43.2033 33.5784 43.0692 33.508 42.9178 33.3848C42.8505 33.3323 42.7175 33.1773 42.5184 32.9175C42.3194 32.6583 42.1076 32.3726 41.8838 32.0614C41.6605 31.75 41.4487 31.4609 41.2494 31.1921C41.0507 30.9253 40.9261 30.7481 40.8765 30.6617C40.8577 30.7461 40.8216 30.8687 40.7675 31.0293C40.713 31.1906 40.6542 31.3556 40.5914 31.5242C40.5285 31.694 40.461 31.8539 40.3899 32.006C40.3185 32.1576 40.2571 32.2677 40.2039 32.3346C40.0645 32.5022 39.8747 32.6436 39.6339 32.7572C39.393 32.8719 39.1356 32.9649 38.8618 33.036C38.5878 33.1084 38.3138 33.1569 38.0407 33.1862C37.7674 33.2151 37.5371 33.2261 37.3504 33.2229C36.8727 33.213 36.4574 33.1462 36.102 33.0193C35.7291 32.8927 35.4026 32.6315 35.1208 32.2327C34.8388 31.8352 34.6008 31.3921 34.4064 30.903C34.2117 30.4128 34.0685 29.9167 33.9758 29.4116C33.8841 28.9078 33.8416 28.4757 33.8488 28.1186C33.8513 27.9822 33.8667 27.8421 33.8953 27.6987C33.9237 27.553 33.991 27.4148 34.0953 27.28C34.2176 27.1124 34.5444 26.9619 35.0754 26.8274C35.606 26.6937 36.1919 26.5772 36.8329 26.4785C37.4743 26.3815 38.0927 26.3087 38.6901 26.2601C39.2873 26.2126 39.705 26.1915 39.9441 26.1964C40.0806 26.1994 40.2067 26.2611 40.3233 26.3824C40.4402 26.5047 40.5393 26.6467 40.6217 26.8102C40.7038 26.9745 40.7719 27.1411 40.8288 27.3133C40.8848 27.4846 40.9203 27.6207 40.9355 27.7232C41.0104 27.3842 41.0519 27.0189 41.0593 26.627C41.067 26.2526 41.0563 25.9453 41.0266 25.7065C40.9977 25.4668 40.9207 25.2872 40.7947 25.1651C40.6701 25.0437 40.4923 24.9589 40.2635 24.9118C40.0342 24.865 39.7321 24.8369 39.3577 24.8292C38.608 24.8147 37.8627 24.8636 37.1186 24.9771C36.3751 25.0891 35.6353 25.2239 34.9003 25.3798L34.7811 22.3617C35.4127 22.2896 36.0489 22.2376 36.688 22.208C37.3283 22.1785 37.9711 22.1698 38.6183 22.1829C38.874 22.1879 39.2312 22.2071 39.69 22.2422C40.1498 22.2769 40.6254 22.3382 41.1177 22.424C41.6105 22.5108 42.0671 22.6309 42.491 22.7836C42.9136 22.9379 43.2162 23.1264 43.3999 23.352C43.4991 23.4911 43.5745 23.7641 43.626 24.1738C43.6773 24.583 43.7156 25.0279 43.7399 25.5059C43.7646 25.9833 43.7768 26.4353 43.7771 26.8605C43.7766 27.2866 43.7753 27.5854 43.7716 27.7552C43.7602 28.3164 43.7407 28.8788 43.7123 29.4401C43.684 30.0019 43.6475 30.5631 43.6021 31.1244L45.2341 31.3109C45.3557 31.1766 45.4824 31.0337 45.6134 30.8836C45.7439 30.7332 45.862 30.5818 45.9671 30.4308C46.0897 30.2455 46.1938 29.9713 46.2776 29.6065C46.3615 29.2418 46.4334 28.852 46.4929 28.4351C46.5525 28.0187 46.5943 27.6106 46.619 27.2106C46.644 26.8115 46.6592 26.483 46.6646 26.2284C46.6725 25.8192 46.6476 25.3584 46.5902 24.8465C46.5318 24.3349 46.4356 23.8247 46.301 23.32C46.1663 22.8153 45.9881 22.3339 45.7674 21.8781C45.5467 21.4223 45.2771 21.0377 44.9599 20.7249C44.2917 20.0646 43.5591 19.6361 42.7623 19.441C41.9652 19.2466 41.107 19.1399 40.1876 19.1217C39.5403 19.1085 38.9514 19.1486 38.421 19.239C37.8913 19.3315 37.3776 19.4664 36.8797 19.6432C36.3822 19.821 35.8964 20.0541 35.4223 20.3419C34.9476 20.6316 34.4519 20.9586 33.9332 21.3218C33.0515 21.9701 32.3751 22.748 31.9059 23.6588C31.4359 24.5693 31.1903 25.5778 31.168 26.6848C31.147 27.7413 31.2842 28.7707 31.5795 29.7724C31.8741 30.7755 32.3207 31.6704 32.9186 32.4581C33.5164 33.2458 34.2573 33.8816 35.142 34.3665C36.0271 34.8541 37.0477 35.1082 38.2062 35.1313C38.4108 35.1353 38.6621 35.1241 38.9608 35.0946C39.2597 35.0674 39.5628 35.0274 39.8708 34.9732C40.1786 34.9202 40.4695 34.8404 40.7442 34.7348C41.0191 34.6296 41.2346 34.5018 41.3907 34.3519L43.7428 35.6008C43.4101 36.0534 43.0236 36.4119 42.584 36.6756C42.1446 36.9398 41.6802 37.1434 41.1918 37.2875C40.7036 37.4303 40.1947 37.5186 39.6656 37.5504C39.1371 37.5821 38.617 37.5933 38.1069 37.5835C36.539 37.552 35.1526 37.2207 33.9474 36.5926C32.7419 35.9635 31.7317 35.1349 30.9181 34.1039C30.1033 33.0745 29.4926 31.8954 29.0843 30.5667C28.6768 29.2384 28.4876 27.8502 28.5163 26.4023C28.5342 25.4818 28.6876 24.6256 28.9764 23.8296C29.2645 23.0351 29.65 22.2931 30.1324 21.604C30.6145 20.9154 31.1766 20.2837 31.8192 19.708C32.4603 19.1333 33.1443 18.6062 33.8691 18.1263C34.6114 17.6474 35.3802 17.3349 36.1754 17.1889C36.9706 17.0429 37.8103 16.9781 38.6967 16.9961C39.3432 17.0089 40.0832 17.0791 40.9154 17.207C41.7474 17.3339 42.5701 17.5248 43.3831 17.7799C44.196 18.0345 44.939 18.3605 45.6122 18.7566C46.2859 19.1543 46.7964 19.6286 47.1434 20.1802C47.4071 20.5947 47.6571 21.1203 47.8906 21.7545C48.125 22.3896 48.3338 23.0532 48.5158 23.7475C48.6977 24.4412 48.8415 25.125 48.9479 25.8009C49.0529 26.4761 49.101 27.0601 49.0914 27.5541Z",fill:"#8EAA1D"}),g.a.createElement("path",{d:"M7.8785 48.9628H40.203V67.1453H7.8785V48.9628Z",fill:"#8EAA1D"}),g.a.createElement("path",{d:"M7.8785 71.1859H72.5275V89.3684H7.8785V71.1859Z",fill:"#8EAA1D"}),g.a.createElement("path",{d:"M44.2161 48.9628H72.5V67.1453H44.2161V48.9628Z",fill:"#8EAA1D"}),g.a.createElement("path",{d:"M7.85417 45.356L2 4.45426L76.0002 0L74.9221 43.9122L46.726 45.3561L7.85417 45.356Z",fill:"#A9C92C"}),g.a.createElement("path",{d:"M41.7902 30.0517C41.7985 29.6435 41.6562 29.2821 41.3643 28.9699C41.0725 28.6565 40.7137 28.4972 40.2879 28.4892C39.7425 28.4776 39.2968 28.6351 38.9499 28.9609C38.602 29.2854 38.4234 29.7288 38.4117 30.2907C38.4029 30.7515 38.5478 31.1547 38.8477 31.5007C39.1474 31.8479 39.5358 32.0256 40.0126 32.0347C40.285 32.0403 40.5285 31.9856 40.7443 31.8708C40.9591 31.7563 41.146 31.6062 41.3028 31.4225C41.4593 31.2382 41.5793 31.0281 41.6605 30.7907C41.7418 30.5537 41.7852 30.3074 41.7902 30.0517ZM51.0914 27.5541C51.0739 28.4403 50.9463 29.2548 50.7105 29.9998C50.4734 30.7447 50.1333 31.39 49.6876 31.9347C49.2426 32.4797 48.6928 32.903 48.0395 33.205C47.3856 33.5084 46.6417 33.6497 45.8076 33.6328C45.603 33.6289 45.4417 33.6183 45.3223 33.5987C45.2033 33.5784 45.0692 33.508 44.9178 33.3848C44.8505 33.3323 44.7175 33.1773 44.5184 32.9175C44.3194 32.6583 44.1076 32.3726 43.8838 32.0614C43.6605 31.75 43.4487 31.4609 43.2494 31.1921C43.0507 30.9253 42.9261 30.7481 42.8765 30.6617C42.8577 30.7461 42.8216 30.8687 42.7675 31.0293C42.713 31.1906 42.6542 31.3556 42.5914 31.5242C42.5285 31.694 42.461 31.8539 42.3899 32.006C42.3185 32.1576 42.2571 32.2677 42.2039 32.3346C42.0645 32.5022 41.8747 32.6436 41.6339 32.7572C41.393 32.8719 41.1356 32.9649 40.8618 33.036C40.5878 33.1084 40.3138 33.1569 40.0407 33.1862C39.7674 33.2151 39.5371 33.2261 39.3504 33.2229C38.8727 33.213 38.4574 33.1462 38.102 33.0193C37.7291 32.8927 37.4026 32.6315 37.1208 32.2327C36.8388 31.8352 36.6008 31.3921 36.4064 30.903C36.2117 30.4128 36.0685 29.9167 35.9758 29.4116C35.8841 28.9078 35.8416 28.4757 35.8488 28.1186C35.8513 27.9822 35.8667 27.8421 35.8953 27.6987C35.9237 27.553 35.991 27.4148 36.0953 27.28C36.2176 27.1124 36.5444 26.9619 37.0754 26.8274C37.606 26.6937 38.1919 26.5772 38.8329 26.4785C39.4743 26.3815 40.0927 26.3087 40.6901 26.2601C41.2873 26.2126 41.705 26.1915 41.9441 26.1964C42.0806 26.1994 42.2067 26.2611 42.3233 26.3824C42.4402 26.5047 42.5393 26.6467 42.6217 26.8102C42.7038 26.9745 42.7719 27.1411 42.8288 27.3133C42.8848 27.4846 42.9203 27.6207 42.9355 27.7232C43.0104 27.3842 43.0519 27.0189 43.0593 26.627C43.067 26.2526 43.0563 25.9453 43.0266 25.7065C42.9977 25.4668 42.9207 25.2872 42.7947 25.1651C42.6701 25.0437 42.4923 24.9589 42.2635 24.9118C42.0342 24.865 41.7321 24.8369 41.3577 24.8292C40.608 24.8147 39.8627 24.8636 39.1186 24.9771C38.3751 25.0891 37.6353 25.2239 36.9003 25.3798L36.7811 22.3617C37.4127 22.2896 38.0489 22.2376 38.688 22.208C39.3283 22.1785 39.9711 22.1698 40.6183 22.1829C40.874 22.1879 41.2312 22.2071 41.69 22.2422C42.1498 22.2769 42.6254 22.3382 43.1177 22.424C43.6105 22.5108 44.0671 22.6309 44.491 22.7836C44.9136 22.9379 45.2162 23.1264 45.3999 23.352C45.4991 23.4911 45.5745 23.7641 45.626 24.1738C45.6773 24.583 45.7156 25.0279 45.7399 25.5059C45.7646 25.9833 45.7768 26.4353 45.7771 26.8605C45.7766 27.2866 45.7753 27.5854 45.7716 27.7552C45.7602 28.3164 45.7407 28.8788 45.7123 29.4401C45.684 30.0019 45.6475 30.5631 45.6021 31.1244L47.2341 31.3109C47.3557 31.1766 47.4824 31.0337 47.6134 30.8836C47.7439 30.7332 47.862 30.5818 47.9671 30.4308C48.0897 30.2455 48.1938 29.9713 48.2776 29.6065C48.3615 29.2418 48.4334 28.852 48.4929 28.4351C48.5525 28.0187 48.5943 27.6106 48.619 27.2106C48.644 26.8115 48.6592 26.483 48.6646 26.2284C48.6725 25.8192 48.6476 25.3584 48.5902 24.8465C48.5318 24.3349 48.4356 23.8247 48.301 23.32C48.1663 22.8153 47.9881 22.3339 47.7674 21.8781C47.5467 21.4223 47.2771 21.0377 46.9599 20.7249C46.2917 20.0646 45.5591 19.6361 44.7623 19.441C43.9652 19.2466 43.107 19.1399 42.1876 19.1217C41.5403 19.1085 40.9514 19.1486 40.421 19.239C39.8913 19.3315 39.3776 19.4664 38.8797 19.6432C38.3822 19.821 37.8964 20.0541 37.4223 20.3419C36.9476 20.6316 36.4519 20.9586 35.9332 21.3218C35.0515 21.9701 34.3751 22.748 33.9059 23.6588C33.4359 24.5693 33.1903 25.5778 33.168 26.6848C33.147 27.7413 33.2842 28.7707 33.5795 29.7724C33.8741 30.7755 34.3207 31.6704 34.9186 32.4581C35.5164 33.2458 36.2573 33.8816 37.142 34.3665C38.0271 34.8541 39.0477 35.1082 40.2062 35.1313C40.4108 35.1353 40.6621 35.1241 40.9608 35.0946C41.2597 35.0674 41.5628 35.0274 41.8708 34.9732C42.1786 34.9202 42.4695 34.8404 42.7442 34.7348C43.0191 34.6296 43.2346 34.5018 43.3907 34.3519L45.7428 35.6008C45.4101 36.0534 45.0236 36.4119 44.584 36.6756C44.1446 36.9398 43.6802 37.1434 43.1918 37.2875C42.7036 37.4303 42.1947 37.5186 41.6656 37.5504C41.1371 37.5821 40.617 37.5933 40.1069 37.5835C38.539 37.552 37.1526 37.2207 35.9474 36.5926C34.7419 35.9635 33.7317 35.1349 32.9181 34.1039C32.1033 33.0745 31.4926 31.8954 31.0843 30.5667C30.6768 29.2384 30.4876 27.8502 30.5163 26.4023C30.5342 25.4818 30.6876 24.6256 30.9764 23.8296C31.2645 23.0351 31.65 22.2931 32.1324 21.604C32.6145 20.9154 33.1766 20.2837 33.8192 19.708C34.4603 19.1333 35.1443 18.6062 35.8691 18.1263C36.6114 17.6474 37.3802 17.3349 38.1754 17.1889C38.9706 17.0429 39.8103 16.9781 40.6967 16.9961C41.3432 17.0089 42.0832 17.0791 42.9154 17.207C43.7474 17.3339 44.5701 17.5248 45.3831 17.7799C46.196 18.0345 46.939 18.3605 47.6122 18.7566C48.2859 19.1543 48.7964 19.6286 49.1434 20.1802C49.4071 20.5947 49.6571 21.1203 49.8906 21.7545C50.125 22.3896 50.3338 23.0532 50.5158 23.7475C50.6977 24.4412 50.8415 25.125 50.9479 25.8009C51.0529 26.4761 51.101 27.0601 51.0914 27.5541Z",fill:"#FFFEFA"}),g.a.createElement("path",{d:"M9.8785 48.9628H42.203V67.1453H9.8785V48.9628Z",fill:"#A9C92C"}),g.a.createElement("path",{d:"M9.8785 71.1859H74.5275V89.3684H9.8785V71.1859Z",fill:"#A9C92C"}),g.a.createElement("path",{d:"M46.2161 48.9628H74.5V67.1453H46.2161V48.9628Z",fill:"#A9C92C"}),g.a.createElement("path",{d:"M78.0496 63.9553C77.9991 63.8287 77.9868 63.6901 78.0143 63.5566C78.0418 63.4231 78.1078 63.3006 78.2042 63.2042C78.3006 63.1078 78.4231 63.0418 78.5566 63.0143C78.6901 62.9868 78.8287 62.9991 78.9553 63.0496L91.5548 67.9493C91.6899 68.0021 91.8052 68.0956 91.8849 68.2167C91.9646 68.3379 92.0046 68.4809 91.9996 68.6258C91.9945 68.7707 91.9445 68.9105 91.8566 69.0258C91.7686 69.1411 91.647 69.2263 91.5086 69.2695L86.6872 70.7646C86.4697 70.8319 86.2718 70.9512 86.1108 71.1122C85.9498 71.2732 85.8305 71.4711 85.7632 71.6886L84.2695 76.5086C84.2263 76.647 84.1411 76.7686 84.0258 76.8566C83.9105 76.9445 83.7707 76.9945 83.6258 76.9996C83.4809 77.0046 83.3379 76.9646 83.2167 76.8849C83.0956 76.8052 83.0021 76.6899 82.9493 76.5548L78.0496 63.9553Z",fill:"#A9C92C"}))}function as(){var t=j(),e=Object(m.useState)(!0),n=(e=b()(e,2))[0],r=e[1];return g.a.createElement(Tu,{open:n,hideHeader:!0,primaryActionProps:{title:"Edit with Virfice",leftIcon:g.a.createElement(Oc,null),onClick:function(){var e=Dl("email_id");t(st(e,!0)),window.location.href=F({menu:"woo-email-edit-virfice"})}},secondaryActionProps:{title:"Use Default",onClick:function(){r(!1)}},onClose:function(){},closeOnBackdropClick:!0},g.a.createElement("div",{style:{padding:16,display:"flex",flexDirection:"column",gap:24,alignItems:"center",justifyContent:"center",textAlign:"center"}},g.a.createElement(rs,null),g.a.createElement("div",null,g.a.createElement("p",{className:"headline__small",style:{margin:0}},"You are on the regular email customizer!"),g.a.createElement("p",{className:"text__text__title",style:{margin:0,marginTop:8}},"Use the Virfice template to access the email builder for more design options."))))}function os(){var e=Dl("email_id"),t=j(),n=A(function(e){return null==(e=e.wooEmailSingle)||null==(e=e.email)?void 0:e.settings}),r=A(function(e){return null==(e=e.wooEmailSingle)?void 0:e.changedSettings});return Object(m.useEffect)(function(){t(mt(e))},[]),g.a.createElement(g.a.Fragment,null,g.a.createElement(mu,{backAction:function(){window.location.href=F({menu:"woo-email-list"})},discardAction:function(){t(Ot({key:"changedSettings",value:n.settings})),t(y({title:"Settings discarded",type:"danger"}))},saveAction:function(){t(vt(n.id,{changedSettings:r}))}}),g.a.createElement("section",null,g.a.createElement(ou,{heading:null==n?void 0:n.title,subHeading:null==n?void 0:n.description}),g.a.createElement(B,null,g.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-flex ").concat(v.VIRFICE_APP_PREFIX,"-gap-20")},g.a.createElement(Zu,null),g.a.createElement(ns,null)))),g.a.createElement(as,null))}function is(e){var t;if(e&&e.parentNode)return t=Zt(e),e.parentNode.insertBefore(t,e.nextSibling),w(t,"id");console.error("Element not found or has no parent")}function ls(){return g.a.createElement("div",{style:{marginTop:4,marginBottom:4,lineHeight:0}},g.a.createElement("svg",{width:"18",height:"2",viewBox:"0 0 18 2",fill:"none",xmlns:"http://www.w3.org/2000/svg"},g.a.createElement("path",{d:"M1 1L17 1",stroke:"#C9C9C9",strokeLinecap:"round"})))}function cs(e){var t=e.element,n=j();return g.a.createElement("div",{className:v.VIRFICE_APP_PREFIX+"-right-control"},g.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-item"),onClick:function(){var e=t.parentNode;t.previousElementSibling?e.insertBefore(t,t.previousElementSibling):n(y({title:"You can't move up",type:"danger"}))}},g.a.createElement(Tc,null)),g.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-item"),onClick:function(){var e=t.parentNode;t.nextElementSibling?e.insertBefore(t.nextElementSibling,t):n(y({title:"You can't move down",type:"danger"}))}},g.a.createElement(Mc,null)),g.a.createElement(ls,null),g.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-item"),onClick:function(){var e=is(t);kt(),zt(e),Ct(),setTimeout(function(){St({element:Ht(e),parent:E().body})},100)}},g.a.createElement(Nc,null)),g.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-item"),onClick:function(){var e;t.id!==v.VIRFICE_APP_PREFIX+"-root"&&(e=$t(t),t.remove(),Ul(jt,w(e,"id")),Ul(Tt,!1))}},g.a.createElement(Bc,null)))}function us(e){return e=e.onClose,g.a.createElement("div",{className:v.VIRFICE_APP_PREFIX+"-add-section-header"},g.a.createElement("span",{className:v.VIRFICE_APP_PREFIX+"-title"},"Add a new section"),g.a.createElement("div",{onClick:e,style:{cursor:"pointer",pointerEvents:"all"}},g.a.createElement(Pc,null)))}function ss(e){var t=e.title,n=e.content,r=void 0===(r=e.tag)?"p":r,e=void 0===(e=e.selector)?"":e;return"<".concat(r," ").concat(v.VIRFICE_APP_PREFIX,'-title="').concat(t||"Text",'" ').concat(v.VIRFICE_APP_PREFIX,'-ele_type="text" ').concat(v.VIRFICE_APP_PREFIX,'-selector="').concat(e,'" contentEditable>').concat(n||"Add your text here. Edit to add dynamic values like name, email and more.","</").concat(r,">")}function fs(e){return e=e.title,"<a ".concat(v.VIRFICE_APP_PREFIX,'-ele_type="image" ').concat(v.VIRFICE_APP_PREFIX,'-title="').concat(e||"Image",'" style="width:100%;"><img virfice-my_selector="image" src="').concat(v.VIRFICE_PLUGIN_BASE,'/assets/files/demo-image.webp" /></a>')}function ds(e){var t=e.title,e=e.content;return"<a ".concat(v.VIRFICE_APP_PREFIX,'-title="').concat(t||"Button",'" ').concat(v.VIRFICE_APP_PREFIX,'-ele_type="link" style="display: inline-flex; gap: 8px; border-radius: 4px; padding: 8px 16px;" contentEditable>').concat(e||"Button","</a>")}function ps(e,t){var n=t.paddingTop,r=t.paddingBottom,a=t.paddingLeft,o=t.paddingRight,i=t.textAlign,t=t.title;return"<div ".concat(v.VIRFICE_APP_PREFIX,'-title="').concat(t||"Section",'" ').concat(v.VIRFICE_APP_PREFIX,'-ele_type="section" ').concat(v.VIRFICE_APP_PREFIX,'-settings_status="disabled"  style="padding-top: ').concat(n||"16px",";padding-bottom: ").concat(r||"16px","; padding-left: ").concat(a||"0px","; padding-right: ").concat(o||"0px","; text-align:").concat(i||"center",';">\n  ').concat(e,"\n  </div>")}function hs(e){function n(e){e=e.template,(t=document.createElement("div")).innerHTML=e;var e=Zt(t.children[0]),t=(a?r(a,e.outerHTML):i.append(e),Ct(),o(),w(e,"id"));zt(t),St({element:Ht(t),parent:E().body})}function r(e,t){t&&(e?e.insertAdjacentHTML("afterend",t):i.innerHTML=t)}var a=e.element,o=e.onAdd,i=E().templateWrapper;return g.a.createElement("div",{className:v.VIRFICE_APP_PREFIX+"-add-section-body"},Cs.map(function(e,t){return g.a.createElement("div",{className:v.VIRFICE_APP_PREFIX+"-item",onClick:function(){n(e)},key:t},g.a.createElement("div",null,e.icon),g.a.createElement("div",{className:v.VIRFICE_APP_PREFIX+"-item-title"},e.title))}),_s.map(function(e,t){return g.a.createElement("div",{className:v.VIRFICE_APP_PREFIX+"-item",onClick:function(){n(e)},key:t},g.a.createElement("div",null,e.icon),g.a.createElement("div",{className:v.VIRFICE_APP_PREFIX+"-item-title"},e.title))}))}function ms(e){var e=e.element,t=Object(m.useState)(!1),n=(t=b()(t,2))[0],r=t[1];return Object(m.useEffect)(function(){r(!1)},[e]),Object(m.useEffect)(function(){window.AddSectionButtonOpen=n},[n]),g.a.createElement("div",{className:v.VIRFICE_APP_PREFIX+"-add-section-button-wrapper "+"".concat(n?v.VIRFICE_APP_PREFIX+"-add-section-button-wrapper-opened":"")},!n&&g.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-flex ").concat(v.VIRFICE_APP_PREFIX,"-gap-8"),style:{pointerEvents:"all",justifyContent:"center",width:"100%"}},g.a.createElement(p,{leftIcon:g.a.createElement(zc,null),title:"Elements",type:"secondary",onClick:function(){r(!0)}}),g.a.createElement(p,{leftIcon:g.a.createElement(Qc,null),title:"Ready blocks",onClick:function(){Ul(Mt,{key:"showReadyBlocks",value:!0})}})),n&&g.a.createElement("div",{className:v.VIRFICE_APP_PREFIX+"-add-section-items-wrapper",style:{pointerEvents:"all"}},g.a.createElement(us,{onClose:function(){r(!1)}}),g.a.createElement(hs,{element:e,onAdd:function(){r(!1)}})))}function gs(e){var t=e.element,n=e.type,r=Object(m.useRef)(null),a=Ps(t),e=(Object(m.useEffect)(function(){r.current&&t&&(r.current.style.left="".concat(a.left,"px"),r.current.style.top="".concat(a.top,"px"),r.current.style.width="".concat(a.width,"px"),r.current.style.height="".concat(a.height,"px"),r.current.style.position="absolute","hovered"===n)&&(r.current.style.zIndex=1)},[a,t]),X()(h()(h()({},"".concat(v.VIRFICE_APP_PREFIX,"-element-border"),"selected"===n),"".concat(v.VIRFICE_APP_PREFIX,"-element-hover-border"),"hovered"===n)));return t?g.a.createElement("div",{className:e,ref:r},"hovered"===n&&g.a.createElement(g.a.Fragment,null,g.a.createElement(cs,{element:t}),g.a.createElement(ms,{element:t}))):null}function vs(){var e=A(function(e){return null==(e=e.builder)?void 0:e.selectedSectionId}),t=A(function(e){return null==(e=e.builder)?void 0:e.selectedElementId}),n=A(function(e){return null==(e=e.builder)?void 0:e.hoveredSectionId}),r=Object(m.useState)(!1),a=(r=b()(r,2))[0],o=r[1],r=Object(m.useState)(!1),i=(r=b()(r,2))[0],l=r[1],c=E().templateWrapper,u=ks(a,E().window);return Object(m.useEffect)(function(){o(!!e&&Ht(e))},[e]),Object(m.useEffect)(function(){zt(w(u,"id"))},[u]),Object(m.useEffect)(function(){var e;c&&(e=c.querySelector('[virfice-ele_type="section"]'),l(!e))},[t]),!Vl("menu","virfice-brand-settings")&&(r=X()(h()(h()({},v.VIRFICE_APP_PREFIX+"-element-controls",!0),v.VIRFICE_APP_PREFIX+"-empty-canvas",c&&i)),t)?g.a.createElement("div",{className:r},!i&&n&&g.a.createElement(gs,{element:Ht(n),type:"hovered"}),!i&&e&&g.a.createElement(gs,{element:a,type:"selected"}),c&&i&&g.a.createElement("div",{className:v.VIRFICE_APP_PREFIX+"-empty-add-button"},g.a.createElement(ms,null))):null}function bs(){var t=Object(m.useRef)(null),e=Object(m.useRef)(null),n=Object(m.useState)(null),r=(n=b()(n,2))[0],a=n[1],n=Object(m.useState)(!1),o=(n=b()(n,2))[0],i=n[1],n=A(function(e){return e.builder.html}),l=A(function(e){return e.builder.global_style}),c=A(function(e){return e.virficeBrandSettings.changedSettings});return Object(m.useEffect)(function(){e.current&&setTimeout(function(){i(!0),Ct(),console.log("initEmailBuilder")},100)},[e.current]),g.a.createElement(g.a.Fragment,null,g.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-editor-wrapper"),id:"".concat(v.VIRFICE_APP_PREFIX,"-editor-wrapper")},g.a.createElement("iframe",{ref:t,srcDoc:"<html><head></head><body>".concat("<style>\n  html{\n    padding-bottom: 280px;\n  }\n  html, body, .virfice-editor-wrapper{\n    min-height: 100vh;\n  }\n</style>","</body></html>"),onLoad:function(){var e;null!=(e=t.current)&&e.contentWindow&&(e=t.current.contentWindow.document,a(e.body))}}),o&&g.a.createElement(vs,null)),r&&zu.a.createPortal(g.a.createElement(g.a.Fragment,null,g.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-editor-wrapper"),id:"".concat(v.VIRFICE_APP_PREFIX,"-editor-wrapper")},g.a.createElement("div",{id:"".concat(v.VIRFICE_APP_PREFIX,"-global-style"),dangerouslySetInnerHTML:{__html:l}}),g.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-template-wrapper"),id:"".concat(v.VIRFICE_APP_PREFIX,"-email-preview"),dangerouslySetInnerHTML:{__html:n},style:{backgroundColor:c.email_background_color,width:c.email_body_width},ref:e}))),r))}function ys(){function n(){r(!1)}var e=Object(m.useState)(!1),t=(e=b()(e,2))[0],r=e[1],e=Object(m.useState)(!1),a=(e=b()(e,2))[0],o=e[1],e=Object(m.useState)(""),i=(e=b()(e,2))[0],l=e[1],c=j(),u=A(function(e){return e.globalSettings["changedSettings-email"]});return Object(m.useEffect)(function(){c(bt(["email"]))},[]),Object(m.useEffect)(function(){l(u&&u.woocommerce_email_from_address+","||"")},[u]),g.a.createElement(g.a.Fragment,null,g.a.createElement(p,{title:"Send test mail",type:"tertiary",leftIcon:g.a.createElement(xc,null),onClick:function(){r(!0)}}),g.a.createElement(Tu,{open:t,heading:"Send test email",primaryActionProps:{title:"Send",leftIcon:g.a.createElement(kc,null),onClick:function(){var e,t;Hl(i)?(o(!1),e=E().templateWrapper.innerHTML.replace(/<style[^>]*>[\s\S]*?<\/style>/gi,""),(t=new FormData).append("emails",i),t.append("template",e),Vl("menu","woo-email-edit-virfice")&&Dl("email_id")?(t.append("email_id",Dl("email_id")),t.append("type","woo_test_email")):t.append("type","test_email"),rt.post("".concat(virfice.restBase).concat("virfice/v1/virfice-test-email-send/send-test-email"),t,{headers:{"X-WP-Nonce":virfice.nonce}}).then(function(e){d=e.data,c(y({title:"Test email sent! Check your inbox.",type:"success"}))}).catch(function(e){console.log(e),c(y({title:"Failed to send test email!",type:"danger"}))}),n()):o("Please enter a valid email address.")}},secondaryActionProps:{title:"Cancel",onClick:function(){r(!1)}},onClose:n,closeOnBackdropClick:!0},g.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-form-group")},g.a.createElement(I,{value:i,label:"Recipients",multiline:3,onChange:function(e){l(e)},helpText:"Use comma to separate Cc & Bcc",error:a}),g.a.createElement(bu,{Text:"Make sure your SMTP is properly configured to send emails!",Illustration:Fc}))))}function Es(){function e(e){var t=E().templateWrapper;"Laptop"===e?t.style.width=v.VIRFICE_RESPONSIVE_BREAKPOINTS.desktop:"Mobile"===e&&(t.style.width=v.VIRFICE_RESPONSIVE_BREAKPOINTS.mobile,t.style.marginLeft="auto",t.style.marginRight="auto"),a(e)}var t=A(function(e){return null==(e=e.wooEmailSingle)||null==(e=e.email)?void 0:e.settings}),n=Object(m.useState)("Laptop"),r=(n=b()(n,2))[0],a=n[1];return g.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-card-header ").concat(v.VIRFICE_APP_PREFIX,"-flex-space-between ").concat(v.VIRFICE_APP_PREFIX,"-w-100")},t.title&&g.a.createElement("div",{className:"title__medium",style:{display:"flex",alignItems:"center"}},t.title),g.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-flex")},g.a.createElement(p,{type:"tertiary",icon:g.a.createElement(Sc,null),isActive:"Laptop"===r,onClick:function(){e("Laptop")}}),g.a.createElement(p,{type:"tertiary",icon:g.a.createElement(Rc,null),isActive:"Mobile"===r,onClick:function(){e("Mobile")}})),g.a.createElement(ys,null))}function ws(){return g.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-builder-left-panel-wrapper")},g.a.createElement(c,null,g.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-flex-col ").concat(v.VIRFICE_APP_PREFIX,"-w-100")},g.a.createElement(Es,null),g.a.createElement(bs,null))))}function xs(e){var t=e.element,e=w(t,"title"),n=w(t,"sub_title"),r=(r=$t(t))&&Wt(r);return g.a.createElement(m.Fragment,null,g.a.createElement("div",null,g.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-flex-align-center ").concat(v.VIRFICE_APP_PREFIX,"-gap-2")},r&&g.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-flex"),onClick:function(){var e=$t(t);e&&Ul(jt,w(e,"id"))},style:{cursor:"pointer"}},g.a.createElement(fc,null)),g.a.createElement("div",{className:"title__medium"},e)),n&&g.a.createElement("div",{className:"body__medium",style:{maxWidth:521}},n)))}var e={title:"Text",icon:g.a.createElement(gc,null),template:ps(ss({title:"Text",content:"Add your text here. Edit to add dynamic values like name, email and more."}),{paddingTop:"16px",paddingBottom:"16px"})},a={title:"Image",icon:g.a.createElement(wc,null),template:ps(fs({title:"Image"}),{paddingTop:"16px",paddingBottom:"16px"})},Pi=(ps((e=>(e=e.title,"<img ".concat(v.VIRFICE_APP_PREFIX,'-title="').concat(e||"Video",'" ').concat(v.VIRFICE_APP_PREFIX,'-ele_type="video" src="').concat(v.VIRFICE_PLUGIN_BASE,'/assets/files/demo-video.webp" />')))({title:"Video"}),{paddingTop:"16px",paddingBottom:"16px"}),{title:"Button",icon:g.a.createElement(bc,null),template:ps(ds({title:"Button",content:"Shop now!"}),{paddingTop:"16px",paddingBottom:"16px"})}),ki={title:"Image with Text",icon:g.a.createElement(vc,null),template:ps("<table>\n    <tbody ".concat(v.VIRFICE_APP_PREFIX,'-title="Columns" ').concat(v.VIRFICE_APP_PREFIX,'-ele_type="row">\n        <tr>\n            <td ').concat(v.VIRFICE_APP_PREFIX,'-title="Column 1" ').concat(v.VIRFICE_APP_PREFIX,'-ele_type="column" style"text-align: center; padding: 8px;">\n                ').concat(fs({title:"Image"}),"\n            </td>\n            <td ").concat(v.VIRFICE_APP_PREFIX,'-title="Column 2" ').concat(v.VIRFICE_APP_PREFIX,'-ele_type="column" style="text-align: center; padding: 8px;">\n                ').concat(ss({title:"Text",content:"This is a text field. Add and edit content here."}),"\n                ").concat(ds({title:"Button",content:"Sign up"}),"\n            </td>\n        </tr>\n    </tbody>\n</table>"),{paddingLeft:"16px",paddingRight:"16px",paddingTop:"16px",paddingBottom:"16px",title:"Image with Text"})},Cs=[{title:"Columns",icon:g.a.createElement(hc,null),template:ps("<table>\n    <tbody ".concat(v.VIRFICE_APP_PREFIX,'-title="Columns" ').concat(v.VIRFICE_APP_PREFIX,'-ele_type="row">\n        <tr>\n            <td ').concat(v.VIRFICE_APP_PREFIX,'-title="Column 1" ').concat(v.VIRFICE_APP_PREFIX,'-ele_type="column" style="padding: 16px;text-align: center;">\n                ').concat(fs({title:"Image"}),"\n                ").concat(ss({title:"Text",content:"This is a text field. Add and edit content here."}),"\n                ").concat(ds({title:"Button",content:"Button"}),"\n            </td>\n            <td ").concat(v.VIRFICE_APP_PREFIX,'-title="Column 2" ').concat(v.VIRFICE_APP_PREFIX,'-ele_type="column" style="padding: 16px;text-align: center;">\n                ').concat(fs({title:"Image"}),"\n                ").concat(ss({title:"Text",content:"This is a text field. Add and edit content here."}),"\n                ").concat(ds({title:"Button",content:"Button"}),"\n            </td>\n        </tr>\n    </tbody>\n</table>"),{paddingLeft:"30px",paddingRight:"30px",paddingTop:"30px",paddingBottom:"30px"})},e,Pi,a,ki,{title:"Divider",icon:g.a.createElement(mc,null),template:ps("<div  ".concat(v.VIRFICE_APP_PREFIX,'-title="Divider" ').concat(v.VIRFICE_APP_PREFIX,'-ele_type="divider" style="border-top-width:2px;border-style:dashed;width: 100%;"></div>'),{title:"Divider",paddingTop:"48px",paddingBottom:"48px"})}],_s=[{title:"Order Table",icon:g.a.createElement(yc,null),template:ps((e=>(e=e.title,'<div virfice-title="'.concat(e,'" virfice-ele_type="woocommerce_email_order_details" style="text-align: left;" virfice-id="m58eqnj8nye46vhyg" class="">\n        <div virfice-title="Text" virfice-ele_type="text" virfice-selector="" contenteditable="" virfice-id="m58e705kkmilhca7" class="" style="text-align: left;font-size: 14px;margin-bottom:8px;">\n            You’ve received the following order from virfice</div>\n\n        <div virfice-selector="order_details_title" style="font-size: 18px;text-decoration: underline;">\n            Order #{order_number}\n        </div>\n\n        <div virfice-title="Text" virfice-ele_type="text" virfice-selector="" contenteditable="" virfice-id="m58e705kkmilhca" class="" style="text-align: left;font-size: 14px;">\n            {order_date}</div>\n        <table width="100%" border="0" cellspacing="0" cellpadding="0" virfice-selector="order_table_thead" style="background-color: #FFC900; font-size: 14px; margin-top: 13px;">\n    <tbody><tr>\n        <td width="50%" style="padding: 12px 16px;">\n            <div virfice-selector="order_table_header" virfice-my_selector="order_table_header_product" contenteditable="">\n                Product</div>\n        </td>\n        <td width="25%" style="padding: 12px 16px;">\n            <div virfice-selector="order_table_header" virfice-my_selector="order_table_header_quantity" contenteditable="">\n                Quantity</div>\n        </td>\n        <td width="25%" style="padding: 12px 16px;">\n            <div virfice-selector="order_table_header" virfice-my_selector="order_table_header_price" contenteditable="">\n                Price</div>\n        </td>\n    </tr>\n</tbody></table>\n\n<table width="100%" border="0" cellspacing="0" cellpadding="0"  style="font-size: 14px;">\n    <tbody virfice-short_code="order_items_wrapper">\n    \n    <tr virfice-short_code="order_item_wrapper" style="border-bottom: 1px solid #E5E5E5; padding: 12px;">\n        <td width="50%" style="padding: 12px 16px;">\n            <div virfice-short_code="order_item_name">Sneakers</div>\n        </td>\n        <td width="25%" style="padding: 12px 16px;">\n            <div virfice-short_code="order_item_quantity">1</div>\n        </td>\n        <td width="25%" style="padding: 12px 16px;">\n            <div virfice-short_code="order_item_price">200.00$</div>\n        </td>\n    </tr>\n\n    <tr virfice-short_code="order_item_wrapper" style="border-bottom: 1px solid #E5E5E5; padding: 12px;">\n        <td width="50%" style="padding: 12px 16px;">\n            <div virfice-short_code="order_item_name">Socks All Day</div>\n        </td>\n        <td width="25%" style="padding: 12px 16px;">\n            <div virfice-short_code="order_item_quantity">2</div>\n        </td>\n        <td width="25%" style="padding: 12px 16px;">\n            <div virfice-short_code="order_item_price">29.00$</div>\n        </td>\n    </tr>\n</tbody></table>\n\n\n<table virfice-my_selector="order_table_summary_wrapper" width="100%" border="0" cellspacing="0" cellpadding="0" style="max-width: 317px; border: 1px solid #E5E5E5; margin-left: auto; margin-top: 32px; font-size: 13px;">\n    <tbody>\n    <tr style="padding: 12px;">\n        <td width="50%" style="padding: 12px 16px;">\n            <div virfice-selector="order_table_summary" virfice-my_selector="order_table_summary_subtotal" contenteditable="">Subtotal:</div>\n        </td>\n        <td width="50%" style="padding: 12px 16px;">\n            <div virfice-short_code="order_subtotal">229.00$</div>\n        </td>\n    </tr>\n\n    <tr style="padding: 12px;">\n        <td width="50%" style="padding: 12px 16px;">\n            <div virfice-selector="order_table_summary" virfice-my_selector="order_table_summary_discount" contenteditable="">Discount:</div>\n        </td>\n        <td width="50%" style="padding: 12px 16px;">\n            <div virfice-short_code="discount_amount">50.00$</div>\n        </td>\n    </tr>\n\n    <tr style="padding: 12px;">\n        <td width="50%" style="padding: 12px 16px;">\n            <div virfice-selector="order_table_summary" virfice-my_selector="order_table_summary_shipping" contenteditable="">Shipping:</div>\n        </td>\n        <td width="50%" style="padding: 12px 16px;">\n            <div virfice-short_code="shipping_method">Free shipping</div>\n        </td>\n    </tr>\n    <tr style="padding: 12px;">\n        <td width="50%" style="padding: 12px 16px;">\n            <div virfice-selector="order_table_summary" virfice-my_selector="order_table_summary_payment_method" contenteditable="">Payment method:</div>\n\n        </td>\n        <td width="50%" style="padding: 12px 16px;">\n            <div virfice-short_code="order_payment_method">Cash on delivery\n            </div>\n        </td>\n    </tr>\n\n    <tr style="border-top: 1px solid #E5E5E5; padding: 12px;" virfice-my_selector="order_table_summary_total_wrapper">\n        <td width="50%" style="padding: 12px 16px;">\n            <div virfice-selector="order_table_summary" virfice-my_selector="order_table_summary_total" contenteditable="" style="font-weight: 600;">Total:\n            </div>\n\n\n        </td>\n        <td width="50%" style="padding: 12px 16px;">\n            <div virfice-short_code="order_total" style="font-weight: 600;">\n                179.00$\n            </div>\n        </td>\n    </tr>\n    </tbody>\n</table>\n    <div style="margin-top: 32px;">\n        <span virfice-selector="order_table_summary" virfice-my_selector="order_table_summary_order_notes" contenteditable="">Note:</span>\n        <span virfice-short_code="order_notes">The order note will appear here.</span>\n    </div>\n</div>')))({title:"Order Table"}),{paddingTop:"36px",paddingBottom:"36px",paddingLeft:"48px",paddingRight:"48px",textAlign:"left"})},{title:"Order Address",icon:g.a.createElement(Ec,null),template:ps((e=>(e=e.title,'<table width="100%" border="0" cellspacing="0" cellpadding="0" style="font-size: 14px;" virfice-title="'.concat(void 0===e?"Order Address":e,'"\n    virfice-ele_type="woocommerce_email_order_address" class="" virfice-id="m6wm8dsxduvdcz1gr">\n    <tbody>\n        <tr>\n            <td width="50%">\n                <div virfice-title="Billing title" virfice-ele_type="text" contenteditable=""\n                    style="margin-bottom: 16px; font-size: 18px;" virfice-id="m6wm8dsxr1qrrctuy">Billing Address\n                </div>\n            </td>\n            <td width="50%">\n                <div virfice-title="Shipping title" virfice-ele_type="text" contenteditable=""\n                    style="margin-bottom: 16px; font-size: 18px;" virfice-id="m6wm8dsxq7ak22rv7">Shipping Address\n                </div>\n            </td>\n        </tr>\n        <tr>\n            <td width="50%" virfice-selector="order_address" virfice-my_selector="order_billing_address"\n                style="padding: 13px; border: 1px solid #E5E5E5;vertical-align: baseline;">\n                <div virfice-short_code="order_billing_address">\n                    <div>\n                        <div>Jhon Doe</div>\n                        <div>Virfice</div>\n                        <div>7400 Edwards Rd</div>\n                        <div>Edwards rd</div>\n                        <div>(910) XXX-XXXX</div>\n                    </div>\n                </div>\n            </td>\n\n            <td width="50%" virfice-selector="order_address" virfice-my_selector="order_shipping_address"\n                style="padding: 13px; border: 1px solid #E5E5E5;vertical-align: baseline;">\n                <div virfice-short_code="order_shipping_address">\n                    <div>\n                        <div>Jhon Doe</div>\n                        <div>Virfice</div>\n                        <div>7400 Edwards Rd</div>\n                        <div>Edwards rd</div>\n                        <div>(910) XXX-XXXX</div>\n                    </div>\n                </div>\n            </td>\n        </tr>\n    </tbody>\n</table>')))({title:"Order Address"}),{paddingTop:"36px",paddingBottom:"36px",paddingLeft:"40px",paddingRight:"40px",textAlign:"left"})}],Ps=function(c){function u(e){if(!e)return[];for(var t=[],n=e;n&&n!==document.body;){var r=window.getComputedStyle(n).overflow;"auto"!==r&&"scroll"!==r&&"overlay"!==r||t.push(n),n=n.parentNode}return t}var e=Object(m.useState)({top:0,left:0,width:0,height:0}),e=b()(e,2),t=e[0],a=e[1],s=Object(m.useCallback)(function(){var e,t,n,r;c&&(r=E().iframe,r)&&(e=c.getBoundingClientRect(),r=u(r),n=t=0,r.forEach(function(e){t+=e.scrollLeft,n+=e.scrollTop}),r={left:e.left+t,top:e.top+n,width:e.width,height:e.height},a(r))},[c]);return Object(m.useEffect)(function(){if(c){var e,t,n,r,a,o,i,l=E();if(l&&l.iframe&&l.document)return e=l.iframe,t=l.document,n=l.window,r=u(e),s(),a=setTimeout(s,100),window.addEventListener("scroll",s,{passive:!0}),window.addEventListener("resize",s,{passive:!0}),n.addEventListener("scroll",s,{passive:!0}),n.addEventListener("resize",s,{passive:!0}),r.forEach(function(e){e.addEventListener("scroll",s,{passive:!0})}),(o=new MutationObserver(s)).observe(t.body,{childList:!0,subtree:!0,attributes:!0,characterData:!0}),(i=new ResizeObserver(s)).observe(c),i.observe(e),function(){clearTimeout(a),window.removeEventListener("scroll",s),window.removeEventListener("resize",s),n.removeEventListener("scroll",s),n.removeEventListener("resize",s),r.forEach(function(e){e.removeEventListener("scroll",s)}),o.disconnect(),i.disconnect()}}},[c,s]),t},ks=function(t,n){var e=Object(m.useState)(t),e=b()(e,2),r=e[0],a=e[1];return Object(m.useEffect)(function(){var e;if(t)return e=function(e){"ArrowUp"===e.key&&null!=t&&t.previousElementSibling?a(t.previousElementSibling):"ArrowDown"===e.key&&null!=t&&t.nextElementSibling&&a(t.nextElementSibling)},n&&t&&n.addEventListener("keydown",e),function(){return null==n?void 0:n.removeEventListener("keydown",e)}},[t,n]),r};function Ss(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)),r}function L(e){var t=e.style,e=e.extraWidth;return g.a.createElement("div",{style:function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Ss(Object(n),!0).forEach(function(e){h()(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Ss(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}({marginTop:16,marginBottom:16,height:1,width:"calc(100% + "+(void 0===e?"0px":e)+")",background:"#F0F0F0"},t)})}function Rs(){return Object(m.useContext)(js)}function Is(e){var e=e.children,t=Object(m.useState)(0),n=(t=b()(t,2))[0];return g.a.createElement(js.Provider,{value:{activeTab:n,setActiveTab:t[1]}},g.a.createElement("div",{className:v.VIRFICE_APP_PREFIX+"-tab-container"},e))}function Os(e){var t=e.index,e=e.children,n=Rs(),r=n.activeTab,a=n.setActiveTab;return g.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-tab-header ").concat(r===t?"active":""),onClick:function(){return a(t)}},e)}function Fs(e){var t=e.index,e=e.children;return Rs().activeTab===t?g.a.createElement("div",{className:v.VIRFICE_APP_PREFIX+"-tab-content"},e):null}function As(e){var e=e.children,t=Rs();return t.activeTab,g.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-tab-head")},e)}var js=Object(m.createContext)(),Si=t(41),Ls=t.n(Si),Ts=t(24);function Ms(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)),r}function Ns(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Ms(Object(n),!0).forEach(function(e){h()(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Ms(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function T(e){var t=e.label,n=e.value,r=e.helpText,a=void 0!==(a=e.error)&&a,o=void 0===(l=e.min)?0:l,i=void 0===(l=e.max)?100:l,l=void 0===(l=e.step)?1:l,c=void 0===(u=e.onChange)?function(){}:u,e=void 0===(u=e.icon)?null:u,u=Object(m.useState)([n]),s=(u=b()(u,2))[0],f=u[1];return Object(m.useEffect)(function(){f([n])},[n]),g.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-rangefield-wrapper")},g.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-flex ").concat(v.VIRFICE_APP_PREFIX,"-gap-8"),style:{alignItems:"center"}},e,t&&g.a.createElement("label",{className:"body__medium"},t)),g.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-range-and-input-wrapper")},g.a.createElement(Ts.Range,{values:s.map(function(e){return Math.max(o,Math.min(i,e))}),step:l,min:o,max:i,onChange:function(e){e=Math.max(o,Math.min(i,e[0]));f([e]),c(e)},renderTrack:function(e){var t=e.props,e=e.children;return g.a.createElement("div",{onMouseDown:t.onMouseDown,onTouchStart:t.onTouchStart,style:Ns(Ns({},t.style),{},{height:"36px",display:"flex",width:"100%"})},g.a.createElement("div",{ref:t.ref,style:{height:"2px",width:"100%",borderRadius:"0",background:Object(Ts.getTrackBackground)({values:s,colors:["#191700","rgba(0, 0, 0, 0.10)"],min:o,max:i}),alignSelf:"center"}},e))},renderThumb:function(e){var t=e.props,e=e.isDragged;return g.a.createElement("div",Ls()({},t,{key:t.key,style:Ns(Ns({},t.style),{},{height:"16px",width:"16px",borderRadius:"100%",backgroundColor:e?"#C8E265":"#191700",display:"flex",justifyContent:"center",alignItems:"center",boxShadow:"0.5px 0.5px 0px 0px rgba(0, 0, 0, 0.20)",border:"1px solid #C8E265"})}))}}),g.a.createElement(I,{value:s[0],onChange:function(e){var t=Number(e);isNaN(t)?""===e&&(f([0]),c(0)):(f([t]),c(t))},onBlur:function(){var e=s[0],e=Number(e);!isNaN(e)&&e<o&&(f([o]),c(o))},min:o})),a&&g.a.createElement("span",{style:{color:"var(--text-text-error)",display:"flex",alignItems:"center",gap:4}},g.a.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},g.a.createElement("path",{d:"M8 14C11.3137 14 14 11.3137 14 8C14 4.68629 11.3137 2 8 2C4.68629 2 2 4.68629 2 8C2 11.3137 4.68629 14 8 14Z",stroke:"#CC0A00",strokeLinecap:"round",strokeLinejoin:"round"}),g.a.createElement("path",{d:"M8 8.5V5",stroke:"#CC0A00",strokeLinecap:"round",strokeLinejoin:"round"}),g.a.createElement("path",{d:"M8 11.25C8.27614 11.25 8.5 11.0261 8.5 10.75C8.5 10.4739 8.27614 10.25 8 10.25C7.72386 10.25 7.5 10.4739 7.5 10.75C7.5 11.0261 7.72386 11.25 8 11.25Z",fill:"#CC0A00"})),a),r&&g.a.createElement(Cl,{text:r}))}function Bs(e){var t=e.element,e=e.borderConf;return g.a.createElement(g.a.Fragment,null,g.a.createElement(O,{label:(null==e?void 0:e.colorTitle)||"Border color",value:x(t,"border-color"),onChange:function(e){t.style.borderColor=e}}),g.a.createElement(T,{label:(null==e?void 0:e.widthTitle)||"Border width",value:P(t,"border-width"),onChange:function(e){t.style.borderWidth="".concat(e,"px"),t.style.borderStyle="solid"},min:0,max:50,step:1}))}function Vs(e){var t=e.element,e=e.disableTitle;return g.a.createElement(g.a.Fragment,null,!(void 0!==e&&e)&&g.a.createElement("div",{className:"title__medium"},"Background"),g.a.createElement(O,{label:"Fill color",value:x(t,"background-color"),onChange:function(e){t.style.backgroundColor=e}}),g.a.createElement(Bs,{element:t}))}function Ds(e){var t=e.element,e=e.title,n=Object(m.useState)(!1),r=(n=b()(n,2))[0],a=n[1];return g.a.createElement(g.a.Fragment,null,g.a.createElement("div",{className:v.VIRFICE_APP_PREFIX+"-flex-space-between"},g.a.createElement("div",{className:"title__medium"},e||"Padding"),g.a.createElement(p,{icon:g.a.createElement(Hc,null),type:"tertiary",onClick:function(){a(!r)},isActive:r})),r?g.a.createElement(g.a.Fragment,null,g.a.createElement(T,{label:"Top",icon:g.a.createElement(Uc,null),value:P(t,"padding-top"),onChange:function(e){t.style.paddingTop="".concat(e,"px")},min:0,max:150,step:1}),g.a.createElement(T,{label:"Bottom",icon:g.a.createElement(Wc,null),value:P(t,"padding-bottom"),onChange:function(e){t.style.paddingBottom="".concat(e,"px")},min:0,max:150,step:1}),g.a.createElement(T,{label:"Left",icon:g.a.createElement(Zc,null),value:P(t,"padding-left"),onChange:function(e){t.style.paddingLeft="".concat(e,"px")},min:0,max:150,step:1}),g.a.createElement(T,{label:"Right",icon:g.a.createElement($c,null),value:P(t,"padding-right"),onChange:function(e){t.style.paddingRight="".concat(e,"px")},min:0,max:150,step:1})):g.a.createElement(g.a.Fragment,null,g.a.createElement(T,{label:"Top-Bottom",icon:g.a.createElement(Jc,null),value:P(t,"padding-top"),onChange:function(e){t.style.paddingTop="".concat(e,"px"),t.style.paddingBottom="".concat(e,"px")},min:0,max:150,step:1}),g.a.createElement(T,{label:"Left-Right",icon:g.a.createElement("span",{style:{transform:"rotate(90deg)"}},g.a.createElement(Jc,null)),value:P(t,"padding-left"),onChange:function(e){t.style.paddingLeft="".concat(e,"px"),t.style.paddingRight="".concat(e,"px")},min:0,max:150,step:1})))}function zs(e){var t=e.element,n=e.borderRadiusConf,e=e.title,r=Object(m.useState)(!1),a=(r=b()(r,2))[0],o=r[1];return g.a.createElement(g.a.Fragment,null,g.a.createElement("div",{className:v.VIRFICE_APP_PREFIX+"-flex-space-between"},g.a.createElement("div",{className:"title__medium"},e||"Border radius"),g.a.createElement(p,{icon:g.a.createElement(Xc,null),type:"tertiary",onClick:function(){o(!a)},isActive:a})),a?g.a.createElement(g.a.Fragment,null,g.a.createElement(T,{label:"Top-left",icon:g.a.createElement(qc,null),value:P(t,"border-top-left-radius"),onChange:function(e){t.style.borderTopLeftRadius="".concat(e,"px")},min:(null==n?void 0:n.min)||0,max:(null==n?void 0:n.max)||150,step:1}),g.a.createElement(T,{label:"Top-right",icon:g.a.createElement(Yc,null),value:P(t,"border-top-right-radius"),onChange:function(e){t.style.borderTopRightRadius="".concat(e,"px")},min:0,max:150,step:1}),g.a.createElement(T,{label:"Bottom-left",icon:g.a.createElement(Gc,null),value:P(t,"border-bottom-left-radius"),onChange:function(e){t.style.borderBottomLeftRadius="".concat(e,"px")},min:0,max:150,step:1}),g.a.createElement(T,{label:"Bottom-right",icon:g.a.createElement(Kc,null),value:P(t,"border-bottom-right-radius"),onChange:function(e){t.style.borderBottomRightRadius="".concat(e,"px")},min:0,max:150,step:1})):g.a.createElement(g.a.Fragment,null,g.a.createElement(T,{label:"Value",value:P(t,"border-radius"),onChange:function(e){t.style.borderRadius="".concat(e,"px")},min:(null==n?void 0:n.min)||0,max:(null==n?void 0:n.mix)||150,step:1})))}function Xs(e){var n=e.element,r=e.eleArr;return g.a.createElement(g.a.Fragment,null,g.a.createElement($u,{label:"Font",value:Xl(Qs,x(n,"font-family")),options:Qs,onChange:function(t){r?r.forEach(function(e){e.style.fontFamily=t.value}):n.style.fontFamily=t.value}}),g.a.createElement(T,{label:"Size",value:P(n,"font-size"),onChange:function(t){r?r.forEach(function(e){e.style.fontSize="".concat(t,"px")}):n.style.fontSize="".concat(t,"px")},min:6,max:200,step:1}))}function Hs(e){var n=e.element,r=e.eleArr;return g.a.createElement(g.a.Fragment,null,g.a.createElement("div",{className:v.VIRFICE_APP_PREFIX+"-border-type-selection"},Js.map(function(e){return g.a.createElement("div",{className:v.VIRFICE_APP_PREFIX+"-border-type-selection-item",onClick:function(){n.style.borderStyle=e},key:e},g.a.createElement("span",{style:{borderTopStyle:e}}))})),g.a.createElement(T,{label:"Divider width",value:P(n,"border-top-width"),onChange:function(t){r?r.forEach(function(e){e.style.borderTopWidth="".concat(t,"px")}):n.style.borderTopWidth="".concat(t,"px")},min:0,max:20,step:1}))}function M(e){var t=e.element,n=e.eleArr,r=e.disableTitle,a=e.borderRadiusConf,o=e.borderConf,i=e.title;switch(e.type){case"background":return g.a.createElement(Vs,{element:t,disableTitle:r});case"border":return g.a.createElement(Bs,{element:t,borderConf:o});case"padding":return g.a.createElement(Ds,{element:t,title:i});case"border-radius":return g.a.createElement(zs,{element:t,borderRadiusConf:a,title:i});case"font-and-size":return g.a.createElement(Xs,{element:t,eleArr:n});case"border-type":return g.a.createElement(Hs,{element:t,eleArr:n});default:return g.a.createElement(g.a.Fragment,null,"Not implemented")}}function Us(e){var t=void 0===(t=e.label)?"":t,n=void 0===(a=e.value)?"":a,r=void 0===(a=e.onChange)?function(){}:a,e=void 0===(a=e.options)?[]:a,a=Object(m.useState)(n),o=(a=b()(a,2))[0],i=a[1],a=(Object(m.useEffect)(function(){i(n)},[n]),X()(h()({},v.VIRFICE_APP_PREFIX+"-toggle-btn",!0)));return g.a.createElement("div",{className:a},t&&g.a.createElement("label",{className:"body__medium"},t),g.a.createElement("div",{className:v.VIRFICE_APP_PREFIX+"-toggle-btn__wrapper"},e.map(function(t){return g.a.createElement("div",{key:t.value,className:X()(h()(h()({},v.VIRFICE_APP_PREFIX+"-toggle-btn__option",!0),v.VIRFICE_APP_PREFIX+"-toggle-btn__option--active",o===t.value)),onClick:function(){var e;e=t.value,i(e),r(e)}},t.component)})))}function Ws(e){return e=e.element,e=$t(e),Wt(e)?null:g.a.createElement(g.a.Fragment,null,g.a.createElement(M,{element:e,type:"background"}),g.a.createElement(L,{style:{marginLeft:-20,marginTop:8,marginBottom:8},extraWidth:"40px"}),g.a.createElement(M,{element:e,type:"border-radius",title:"Background radius"}),g.a.createElement(L,{style:{marginLeft:-20,marginTop:8,marginBottom:8},extraWidth:"40px"}),g.a.createElement(M,{element:e,type:"padding",title:"Background padding"}))}function Zs(e){var t=e.element;return g.a.createElement(g.a.Fragment,null,g.a.createElement(Is,null,g.a.createElement(As,null,g.a.createElement(Os,{index:0},"Content"),g.a.createElement(Os,{index:1},"Design")),g.a.createElement(L,{style:{marginLeft:-20},extraWidth:"40px"}),g.a.createElement(Fs,{index:0},g.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-form-group")},g.a.createElement(I,{label:"Text",value:t.innerHTML,onChange:function(e){t.innerHTML=e},multiline:6,richText:!0}),g.a.createElement(M,{element:t,type:"font-and-size"}),g.a.createElement(Us,{label:"Alignment",value:x(t,"text-align"),options:[{value:"left",component:g.a.createElement(Ac,null)},{value:"center",component:g.a.createElement(jc,null)},{value:"right",component:g.a.createElement(Lc,null)}],onChange:function(e){t.style.textAlign=e}}))),g.a.createElement(Fs,{index:1},g.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-form-group")},g.a.createElement("div",{className:"title__medium"},"Text"),g.a.createElement(O,{label:"Text color",value:x(t,"color"),onChange:function(e){t.style.color=e}}),g.a.createElement(L,{style:{marginLeft:-20,marginTop:8,marginBottom:8},extraWidth:"40px"}),g.a.createElement(Ws,{element:t})))))}function $s(e){function t(){l.current&&l.current.open()}var n=void 0===(n=e.info)?"Add image":n,r=e.label,a=e.value,o=e.onSelect,i=e.onDelete,l=Object(m.useRef)(null),e=Object(m.useState)({url:""}),c=(e=b()(e,2))[0],u=e[1],e=Object(m.useState)(!1),s=(e=b()(e,2))[0],f=e[1];return Object(m.useEffect)(function(){u({url:a})},[a]),Object(m.useEffect)(function(){o&&s&&(o(c),f(!1))},[s]),Object(m.useEffect)(function(){return"undefined"!=typeof wp&&wp.media&&(l.current=wp.media({title:"Select an Image",library:{type:"image"},multiple:!1,button:{text:"Use This Image"}}),l.current.on("select",function(){var e=l.current.state().get("selection").first();e&&(e=e.toJSON(),u(e),o)&&f(!0)})),function(){l.current&&l.current.off("select")}},[]),g.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-media-uploader-wrapper")},r&&g.a.createElement("label",{className:"body__medium"},r),!c.url&&g.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-media-uploader-empty")},g.a.createElement(pc,null),g.a.createElement("div",{className:"body__medium"},n),g.a.createElement(p,{title:"Upload",type:"secondary",onClick:t})),c.url&&g.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-media-uploader-has-media")},g.a.createElement("img",{src:c.url,alt:c.alt,width:150}),g.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-media-uploader-has-media-actions")},g.a.createElement(p,{title:"Change",type:"secondary",onClick:t}),g.a.createElement(p,{title:"Delete",type:"danger",onClick:function(){u({url:""}),i&&i()}}))))}function qs(e){return"auto"===e.style.marginLeft&&"auto"===e.style.marginRight?"center":"0px"!==e.style.marginLeft&&"auto"===e.style.marginLeft?"right":"left"}function Ys(e){var t,n,r,a,o,i,l,c,u=e.element,s=f(u,"image");return s?(e=Object(m.useState)(qs(u)),t=(e=b()(e,2))[0],n=e[1],e=Object(m.useState)(u.href),c=(e=b()(e,2))[0],r=e[1],e=Object(m.useState)(s.alt),l=(e=b()(e,2))[0],a=e[1],e=Object(m.useState)(u.target),o=(e=b()(e,2))[0],i=e[1],Object(m.useEffect)(function(){n(qs(s))},[s]),g.a.createElement(g.a.Fragment,null,g.a.createElement(Is,null,g.a.createElement(As,null,g.a.createElement(Os,{index:0},"Content"),g.a.createElement(Os,{index:1},"Design")),g.a.createElement(L,{style:{marginLeft:-20},extraWidth:"40px"}),g.a.createElement(Fs,{index:0},g.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-form-group")},g.a.createElement($s,{label:"Change Image",value:s.src,onDelete:function(){s.src=""},onSelect:function(e){s.src=e.url},info:"An image you want to show in the email header."}),g.a.createElement(I,{label:"Alt text",value:l||"",onChange:function(e){s.alt=e,a(e)}}),g.a.createElement(I,{label:"URL",value:c,onChange:function(e){u.href=e,r(e)}}),g.a.createElement(wu,{label:"Open in a new tab",value:"_blank"===o,onChange:function(e){u.target=e?"_blank":"",i(!!e&&"_blank")}}))),g.a.createElement(Fs,{index:1},g.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-form-group")},g.a.createElement("div",{className:"title__medium"},"Layout"),g.a.createElement(T,{label:"Image size",value:(c=P(e=s,l="width"),e=e.parentElement,l="width"===l?e.offsetWidth:e.offsetHeight,Math.round(+c/l*100)),onChange:function(e){s.style.width="".concat(e,"%")},min:1,max:100,step:1}),g.a.createElement(Us,{label:"Position",value:t,options:[{value:"left",component:g.a.createElement(Ac,null)},{value:"center",component:g.a.createElement(jc,null)},{value:"right",component:g.a.createElement(Lc,null)}],onChange:function(e){"left"===e&&(s.style.marginLeft="0px"),"right"===e&&(s.style.marginLeft="auto",s.style.marginRight="0px"),"center"===e&&(s.style.marginLeft="auto",s.style.marginRight="auto"),n(qs(s))}}),g.a.createElement(M,{element:s,type:"border",borderConf:{widthTitle:"Image border width",colorTitle:"Image border color"}}),g.a.createElement(L,{style:{marginLeft:-20,marginTop:8,marginBottom:8},extraWidth:"40px"}),g.a.createElement(M,{element:s,type:"border-radius",title:"Image radius"}),g.a.createElement(L,{style:{marginLeft:-20,marginTop:8,marginBottom:8},extraWidth:"40px"}),g.a.createElement(Ws,{element:u})))))):null}function Gs(e){var t=e.element;return g.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-item"),onClick:function(){Ul(jt,w(t,"id"))}},g.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-flex-align-center ").concat(v.VIRFICE_APP_PREFIX,"-gap-8")},g.a.createElement(Dc,null),g.a.createElement("div",null,w(t,"title"))),g.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-item-action-wrapper")},g.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-item-action"),style:{display:"none"}},g.a.createElement(p,{type:"tertiary",icon:g.a.createElement(Nc,null),small:!0,onClick:function(){is(t);kt(),Ct()}})),g.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-item-action"),style:{display:"none"}},g.a.createElement(p,{type:"tertiary",icon:g.a.createElement(Bc,null),small:!0,onClick:function(){t.remove()}})),g.a.createElement(Vc,null)))}function Ks(e){var t=e.element,n=j(),e=Object(m.useState)([]),r=(e=b()(e,2))[0],a=e[1],e=e1(t);return Object(m.useEffect)(function(){t&&a(Pt(t))},[t]),Object(m.useEffect)(function(){n(Mt({key:"forceUpdateToogler",value:Math.random()}))},[e]),g.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-child-list")},r.map(function(e,t){return g.a.createElement(Gs,{element:e,key:t})}))}var Qs=[{value:"",title:"Select"},{value:"arial",title:"Arial"},{value:"helvetica",title:"Helvetica"},{value:"verdana",title:"Verdana"},{value:"georgia",title:"Georgia"},{value:"times new roman",title:"Times New Roman"},{value:"tahoma",title:"Tahoma"},{value:"gill sans",title:"Gill Sans"},{value:"trebuchet ms",title:"Trebuchet MS"},{value:"lucida grande",title:"Lucida Grande"},{value:"montserrat",title:"Montserrat"},{value:"source sans",title:"Source Sans"},{value:"garamond",title:"Garamond"},{value:"futura",title:"Futura"},{value:"palatino",title:"Palatino"},{value:"rockwell",title:"Rockwell"}],Js=["none","solid","dotted","dashed","double"],e1=function(t){var e=Object(m.useState)(!1),e=b()(e,2),n=e[0],r=e[1];return Object(m.useEffect)(function(){var e;if(t)return(e=new MutationObserver(function(){r(function(e){return!e})})).observe(t,{childList:!0,subtree:!0,attributes:!0}),function(){return e.disconnect()}},[t]),n};function t1(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)),r}function n1(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?t1(Object(n),!0).forEach(function(e){h()(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):t1(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function r1(e){var t=e.label,n=e.value,r=e.helpText,a=void 0!==(a=e.error)&&a,o=void 0===(l=e.min)?0:l,i=void 0===(l=e.max)?100:l,l=void 0===(l=e.step)?1:l,c=void 0===(u=e.onChange)?function(){}:u,e=void 0===(u=e.icon)?null:u,u=Object(m.useState)([n]),s=(u=b()(u,2))[0],f=u[1];return Object(m.useEffect)(function(){f([n])},[n]),g.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-rangefield-wrapper")},g.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-flex ").concat(v.VIRFICE_APP_PREFIX,"-gap-8"),style:{alignItems:"center"}},e,t&&g.a.createElement("label",{className:"body__medium"},t)),g.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-range-and-input-wrapper")},g.a.createElement(Ts.Range,{values:s.map(function(e){return Math.max(o,Math.min(i,e))}),step:l,min:o,max:i,onChange:function(e){e=Math.max(o,Math.min(i,e[0]));f([e]),c(e)},renderTrack:function(e){var t=e.props,e=e.children;return g.a.createElement("div",{onMouseDown:t.onMouseDown,onTouchStart:t.onTouchStart,style:n1(n1({},t.style),{},{height:"36px",display:"flex",width:"100%"})},g.a.createElement("div",{ref:t.ref,style:{height:"2px",width:"100%",borderRadius:"0",background:Object(Ts.getTrackBackground)({values:s,colors:["#191700","rgba(0, 0, 0, 0.10)"],min:o,max:i}),alignSelf:"center"}},e))},renderThumb:function(e){var t=e.props,e=e.isDragged;return g.a.createElement("div",Ls()({},t,{key:t.key,style:n1(n1({},t.style),{},{height:"16px",width:"16px",borderRadius:"100%",backgroundColor:e?"#C8E265":"#191700",display:"flex",justifyContent:"center",alignItems:"center",boxShadow:"0.5px 0.5px 0px 0px rgba(0, 0, 0, 0.20)",border:"1px solid #C8E265"})}))}}),g.a.createElement(I,{value:s[0],onChange:function(e){var t=Number(e);isNaN(t)?""===e&&(f([0]),c(0)):(f([t]),c(t))},onBlur:function(){var e=s[0],e=Number(e);!isNaN(e)&&e<o&&(f([o]),c(o))},min:o})),a&&g.a.createElement("span",{style:{color:"var(--text-text-error)",display:"flex",alignItems:"center",gap:4}},g.a.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},g.a.createElement("path",{d:"M8 14C11.3137 14 14 11.3137 14 8C14 4.68629 11.3137 2 8 2C4.68629 2 2 4.68629 2 8C2 11.3137 4.68629 14 8 14Z",stroke:"#CC0A00",strokeLinecap:"round",strokeLinejoin:"round"}),g.a.createElement("path",{d:"M8 8.5V5",stroke:"#CC0A00",strokeLinecap:"round",strokeLinejoin:"round"}),g.a.createElement("path",{d:"M8 11.25C8.27614 11.25 8.5 11.0261 8.5 10.75C8.5 10.4739 8.27614 10.25 8 10.25C7.72386 10.25 7.5 10.4739 7.5 10.75C7.5 11.0261 7.72386 11.25 8 11.25Z",fill:"#CC0A00"})),a),r&&g.a.createElement(Cl,{text:r}))}function a1(e){var t=e.element,n=Pt(t);return g.a.createElement(g.a.Fragment,null,g.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-form-group")},g.a.createElement(Ks,{element:t}),g.a.createElement(L,{style:{marginLeft:-20},extraWidth:"40px"}),g.a.createElement(O,{label:"Text color",value:x(t,"color"),onChange:function(e){t.style.color=e}}),g.a.createElement(L,{style:{marginLeft:-20,marginBottom:0},extraWidth:"40px"}),g.a.createElement("div",{className:"title__medium"},"Spacing"),g.a.createElement(r1,{label:"Between columns",value:2*P(n[0],"padding-right"),onChange:function(t){n.forEach(function(e){e.style.paddingLeft="".concat(t/2,"px"),e.style.paddingRight="".concat(t/2,"px")})},min:0,max:150,step:1}),g.a.createElement(r1,{label:"Between rows",value:2*P(n[0],"padding-bottom"),onChange:function(t){n.forEach(function(e){e.style.paddingTop="".concat(t/2,"px"),e.style.paddingBottom="".concat(t/2,"px")})},min:0,max:150,step:1}),g.a.createElement(Ws,{element:t})))}function o1(e){var t=e.element,n=$t(t);return g.a.createElement(g.a.Fragment,null,g.a.createElement(Is,null,g.a.createElement(As,null,g.a.createElement(Os,{index:0},"Content"),g.a.createElement(Os,{index:1},"Design")),g.a.createElement(L,{style:{marginLeft:-20},extraWidth:"40px"}),g.a.createElement(Fs,{index:0},g.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-form-group")},g.a.createElement(I,{label:"Text",value:t.innerText,onChange:function(e){t.innerText=e}}),g.a.createElement(I,{label:"URL",value:t.href,onChange:function(e){t.href=e}}),g.a.createElement(wu,{label:"Open in a new tab",value:t.target||!1,onChange:function(e){t.target=e?"_blank":""}}),g.a.createElement(M,{element:t,type:"font-and-size"}))),g.a.createElement(Fs,{index:1},g.a.createElement("div",{className:"title__medium"},"Button"),g.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-form-group")},g.a.createElement(O,{label:"Text color",value:x(t,"color"),onChange:function(e){t.style.color=e}}),g.a.createElement(M,{element:t,type:"background",disableTitle:!0}),g.a.createElement(Us,{label:"Position",value:x(n,"text-align"),options:[{value:"left",component:g.a.createElement(Ac,null)},{value:"center",component:g.a.createElement(jc,null)},{value:"right",component:g.a.createElement(Lc,null)}],onChange:function(e){n.style.textAlign=e}}),g.a.createElement(L,{style:{marginLeft:-20,marginTop:8,marginBottom:8},extraWidth:"40px"}),g.a.createElement(M,{element:t,type:"border-radius",borderRadiusConf:{min:0,max:100},title:"Button radius"}),g.a.createElement(L,{style:{marginLeft:-20,marginTop:8,marginBottom:8},extraWidth:"40px"}),g.a.createElement(M,{element:t,type:"padding",title:"Button padding"}),g.a.createElement(L,{style:{marginLeft:-20,marginTop:8,marginBottom:8},extraWidth:"40px"}),g.a.createElement(Ws,{element:t})))))}function i1(e){return e=e.element,g.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-form-group")},g.a.createElement(Ks,{element:e}),g.a.createElement(L,{style:{marginLeft:-20,marginBottom:0},extraWidth:"40px"}),g.a.createElement(M,{element:e,type:"background"}),g.a.createElement(M,{element:e,type:"padding"}))}function l1(e){var t=e.element;return g.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-form-group")},g.a.createElement(Ks,{element:t}),g.a.createElement(L,{style:{marginLeft:-20},extraWidth:"40px"}),g.a.createElement(O,{label:"Text color",value:x(t,"color"),onChange:function(e){t.style.color=e}}),g.a.createElement(O,{label:"Background color",value:x(t,"background-color"),onChange:function(e){t.style.backgroundColor=e}}))}function c1(e){var t=e.element;return g.a.createElement(g.a.Fragment,null,g.a.createElement(Is,null,g.a.createElement(As,null,g.a.createElement(Os,{index:0},"Type"),g.a.createElement(Os,{index:1},"Design")),g.a.createElement(L,{style:{marginLeft:-20},extraWidth:"40px"}),g.a.createElement(Fs,{index:0},g.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-form-group")},g.a.createElement(M,{element:t,type:"border-type"}))),g.a.createElement(Fs,{index:1},g.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-form-group")},g.a.createElement(O,{label:"Divider color",value:x(t,"color"),onChange:function(e){t.style.color=e}}),g.a.createElement(Ws,{element:t})))))}function u1(e){var t=e.element,e=_t(t,"order_table_header"),n=_t(t,"order_details_title"),r=_t(t,"order_table_thead"),a=_t(t,"order_table_summary"),o=f(t,"order_table_summary_wrapper"),i=f(t,"order_table_summary_total_wrapper");return g.a.createElement(g.a.Fragment,null,g.a.createElement(Is,null,g.a.createElement(As,null,g.a.createElement(Os,{index:0},"Content"),g.a.createElement(Os,{index:1},"Design")),g.a.createElement(L,{style:{marginLeft:-20},extraWidth:"40px"}),g.a.createElement(Fs,{index:0},g.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-form-group")},0<n.length&&g.a.createElement(g.a.Fragment,null,g.a.createElement("div",{className:"title__medium"},"Order title"),g.a.createElement(M,{element:n[0],type:"font-and-size",eleArr:n}),g.a.createElement(I,{label:"Order title",value:n[0].innerText,onChange:function(e){n[0].innerText=e}}),g.a.createElement(Us,{label:"Alignment",value:x(n[0],"text-align"),options:[{value:"left",component:g.a.createElement(Ac,null)},{value:"center",component:g.a.createElement(jc,null)},{value:"right",component:g.a.createElement(Lc,null)}],onChange:function(e){n[0].style.textAlign=e}}),g.a.createElement(L,{style:{marginLeft:-20,marginTop:8,marginBottom:8},extraWidth:"40px"})),0<e.length&&g.a.createElement(g.a.Fragment,null,g.a.createElement("div",{className:"title__medium"},"Table header"),g.a.createElement(M,{element:e[0],type:"font-and-size",eleArr:e}),g.a.createElement(I,{label:"Product title",value:f(t,"order_table_header_product").innerText,onChange:function(e){f(t,"order_table_header_product").innerText=e}}),g.a.createElement(I,{label:"Quantity title",value:f(t,"order_table_header_quantity").innerText,onChange:function(e){f(t,"order_table_header_quantity").innerText=e}}),g.a.createElement(I,{label:"Price title",value:f(t,"order_table_header_price").innerText,onChange:function(e){f(t,"order_table_header_price").innerText=e}}),g.a.createElement(L,{style:{marginLeft:-20,marginTop:8,marginBottom:8},extraWidth:"40px"})),g.a.createElement("div",{className:"title__medium"},"Table data"),g.a.createElement(M,{element:t,type:"font-and-size"}),g.a.createElement(L,{style:{marginLeft:-20,marginTop:8,marginBottom:8},extraWidth:"40px"}),0<a.length&&g.a.createElement(g.a.Fragment,null,g.a.createElement("div",{className:"title__medium"},"Order summary"),g.a.createElement(M,{element:a[0],type:"font-and-size",eleArr:a}),g.a.createElement(I,{label:"Subtotal title",value:f(t,"order_table_summary_subtotal").innerText,onChange:function(e){f(t,"order_table_summary_subtotal").innerText=e}}),f(t,"order_table_summary_discount")&&g.a.createElement(I,{label:"Discount title",value:f(t,"order_table_summary_discount").innerText,onChange:function(e){f(t,"order_table_summary_discount").innerText=e}}),g.a.createElement(I,{label:"Shipping title",value:f(t,"order_table_summary_shipping").innerText,onChange:function(e){f(t,"order_table_summary_shipping").innerText=e}}),g.a.createElement(I,{label:"Payment title",value:f(t,"order_table_summary_payment_method").innerText,onChange:function(e){f(t,"order_table_summary_payment_method").innerText=e}}),g.a.createElement(I,{label:"Total title",value:f(t,"order_table_summary_total").innerText,onChange:function(e){f(t,"order_table_summary_total").innerText=e}}),f(t,"order_table_summary_order_notes")&&g.a.createElement(I,{label:"Note title",value:f(t,"order_table_summary_order_notes").innerText,onChange:function(e){f(t,"order_table_summary_order_notes").innerText=e}})))),g.a.createElement(Fs,{index:1},g.a.createElement("div",{className:"title__medium"},"Order title"),g.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-form-group")},0<n.length&&g.a.createElement(g.a.Fragment,null,g.a.createElement(O,{label:"Order title font color",value:x(n[0],"color"),onChange:function(t){n.forEach(function(e){e.style.color=t})}}),g.a.createElement(O,{label:"Order title background color",value:x(n[0],"background-color"),onChange:function(e){n[0].style.backgroundColor=e}})),0<r.length&&g.a.createElement(g.a.Fragment,null,g.a.createElement("div",{className:"title__medium"},"Table header"),g.a.createElement(O,{label:"Table header font color",value:x(r[0],"color"),onChange:function(t){r.forEach(function(e){e.style.color=t})}}),g.a.createElement(O,{label:"Table header background color",value:x(r[0],"background-color"),onChange:function(t){r.forEach(function(e){e.style.backgroundColor=t})}})),g.a.createElement("div",{className:"title__medium"},"Table data"),g.a.createElement(O,{label:"Order table item color",value:x(t,"color"),onChange:function(e){t.style.color=e}}),g.a.createElement("div",{className:"title__medium"},"Order summary"),o&&g.a.createElement(g.a.Fragment,null,g.a.createElement(O,{label:"Order summary font color",value:x(o,"color"),onChange:function(e){o.style.color=e}}),g.a.createElement(O,{label:"Order summary background color",value:x(o,"background-color"),onChange:function(e){o.style.backgroundColor=e}})),i&&g.a.createElement(g.a.Fragment,null,g.a.createElement(O,{label:"Order total font color",value:x(i,"color"),onChange:function(e){i.style.color=e}}),g.a.createElement(O,{label:"Order total background color",value:x(i,"background-color"),onChange:function(e){i.style.backgroundColor=e}})),g.a.createElement(Ws,{element:t})))))}function s1(e){var t=e.element,e=qt(t);return g.a.createElement(g.a.Fragment,null,g.a.createElement(Is,null,g.a.createElement(As,null,g.a.createElement(Os,{index:0},"Content"),g.a.createElement(Os,{index:1},"Design")),g.a.createElement(L,{style:{marginLeft:-20},extraWidth:"40px"}),g.a.createElement(Fs,{index:0},g.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-form-group")},g.a.createElement(M,{element:t,type:"font-and-size"}),g.a.createElement(Us,{label:"Alignment",value:x(t,"text-align"),options:[{value:"left",component:g.a.createElement(Ac,null)},{value:"center",component:g.a.createElement(jc,null)},{value:"right",component:g.a.createElement(Lc,null)}],onChange:function(e){t.style.textAlign=e}}))),g.a.createElement(Fs,{index:1},g.a.createElement("div",{className:"title__medium"},"Colors"),g.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-form-group")},g.a.createElement(O,{label:"Text color",value:x(t,"color"),onChange:function(e){t.style.color=e}}),g.a.createElement(M,{element:e,type:"background"}),g.a.createElement(M,{element:e,type:"border-radius"}),g.a.createElement(M,{element:e,type:"padding"})))))}function f1(e){return e=e.element,g.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-form-group")},g.a.createElement(Ks,{element:e}),g.a.createElement(L,{style:{marginLeft:-20},extraWidth:"40px"}),g.a.createElement(M,{element:e,type:"background"}),g.a.createElement(M,{element:e,type:"padding"}))}function d1(e){var n=e.element,e=Object(m.useState)({}),t=(e=b()(e,2))[0],r=e[1];return Object(m.useEffect)(function(){var e,t;r(((t={}).title=w(e=n,"title"),t.type=w(e,"ele_type"),t.short_code=w(e,"short_code"),t.selector=w(e,"selector"),t.settings_status=w(e,"settings_status"),t))},[n]),g.a.createElement("div",{className:v.VIRFICE_APP_PREFIX+"-settings-wrapper"},"text"===(null==t?void 0:t.type)&&g.a.createElement(Zs,{element:n}),"image"===(null==t?void 0:t.type)&&g.a.createElement(Ys,{element:n}),"link"===(null==t?void 0:t.type)&&g.a.createElement(o1,{element:n}),"divider"===(null==t?void 0:t.type)&&g.a.createElement(c1,{element:n}),"row"===(null==t?void 0:t.type)&&g.a.createElement(a1,{element:n}),"column"===(null==t?void 0:t.type)&&g.a.createElement(i1,{element:n}),"section"===(null==t?void 0:t.type)&&g.a.createElement(l1,{element:n}),"wrapper"===(null==t?void 0:t.type)&&g.a.createElement(f1,{element:n}),"woocommerce_email_order_details"===(null==t?void 0:t.type)&&g.a.createElement(u1,{element:n}),"woocommerce_email_order_address"===(null==t?void 0:t.type)&&g.a.createElement(s1,{element:n}))}function p1(e){var t=e.open,n=e.title,r=void 0!==(r=e.className)&&r,a=e.children,o=e.onOpen,e=Object(m.useState)(t),i=(e=b()(e,2))[0],l=e[1],e=(Object(m.useEffect)(function(){l(t)},[t]),Object(m.useEffect)(function(){i&&o&&o()},[i]),X()(h()({},v.VIRFICE_APP_PREFIX+"-accordion",!0),r));return g.a.createElement("div",{className:e},g.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-accordion-header ").concat(i?" ".concat(v.VIRFICE_APP_PREFIX,"-active"):""),onClick:function(){l(!i)}},g.a.createElement("div",null,n),i?g.a.createElement(Tc,null):g.a.createElement(Mc,null)),i&&g.a.createElement("div",{className:v.VIRFICE_APP_PREFIX+"-accordion-content"},a))}function h1(e){function r(e){return n.logo&&e.querySelector('[virfice-short_code="store_logo"]')&&(e.querySelector('[virfice-short_code="store_logo"]').src=n.logo),e}e.title;var a=e.html,t=e.preview,o=e.isComingSoon,n=(Object(m.useRef)(null),A(function(e){return e.virficeBrandSettings.changedSettings})),i=A(function(e){return null==(e=e.builder)?void 0:e.selectedSectionId}),l=A(function(e){return null==(e=e.builder)?void 0:e.hoveredSectionId});return Object(m.useEffect)(function(){},[]),g.a.createElement("div",{className:v.VIRFICE_APP_PREFIX+"-single-ready-block"},g.a.createElement("div",{className:v.VIRFICE_APP_PREFIX+"-single-ready-block-html-wrapper",onClick:function(){var t,n,e;o||((e=document.createElement("div")).innerHTML=a,0!==(e=Array.from(e.children).map(r)).length&&((t=Ht(l||i))?e.reverse().forEach(function(e){t.parentNode.insertBefore(e,t.nextSibling)}):(n=E().templateWrapper,e.forEach(function(e){return n.append(e)})),Ct(),e=e[0])&&(e=w(e,"id"),zt(e),St({element:Ht(e),parent:E().body})))},style:{position:"relative",cursor:o?"not-allowed":"default"}},o&&g.a.createElement("div",{style:{position:"absolute",top:4,right:4}},g.a.createElement(su,{type:"warning",title:"Coming Soon"})),g.a.createElement("img",{src:t})))}function m1(){var e=j(),t=A(function(e){return e.readyBlocks.loaded}),n=A(function(e){return e.readyBlocks.data}),r=Object(m.useState)(0),a=(r=b()(r,2))[0],o=r[1];return Object(m.useEffect)(function(){t||e(xt())},[]),t?(r=n.map(function(e){return{title:e.tag,id:e.tag,blocks:e.templates.map(function(e){return{title:e.title,html:e.content,preview:e.image,isComingSoon:e.isComingSoon}})}}),g.a.createElement("div",{className:v.VIRFICE_APP_PREFIX+"-ready-blocks-wrapper"},r.map(function(e,t){return g.a.createElement(p1,{title:e.title,key:e.id,open:t===a,onOpen:function(){o(t)}},e.blocks.map(function(e,t){var n=e.title;return g.a.createElement(h1,{key:t,title:n,html:e.html,preview:e.preview,isComingSoon:e.isComingSoon})}),g.a.createElement(L,{style:{marginLeft:-20,marginBottom:0},extraWidth:"40px"}))}))):"Loading..."}function g1(e){return null!=e&&e.hex?e.hex:e}function v1(e){function t(e){c(e),o(g1(e))}function n(){var e;d.current&&(e=d.current.getBoundingClientRect(),e=window.innerHeight-e.bottom,f(e<296?"bottom":"top"))}var r=e.label,a=void 0===(u=e.value)?"#000000":u,o=void 0===(u=e.onChange)?function(){}:u,e=Object(m.useState)(!1),i=(u=b()(e,2))[0],l=u[1],e=Object(m.useState)(a),e=(u=b()(e,2))[0],c=u[1],u=Object(m.useState)("top"),s=(u=b()(u,2))[0],f=u[1],u=Ml(function(){i&&l(!1)}),d=Object(m.useRef)(null),s=(Object(m.useEffect)(function(){c(a)},[a]),{color:{width:"100%",height:"24px",background:g1(e),borderRadius:"3px"},swatch:{padding:"5px",background:"#fff",cursor:"pointer",width:"100%",borderRadius:"4px"},popover:h()({position:"absolute",zIndex:"2"},s,"calc(100% ".concat("top"===s?"- 30px":"+ 36px",")"))});return g.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-paintfield-wrapper")},r&&g.a.createElement("label",{className:"body__medium"},r),g.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-flex ").concat(v.VIRFICE_APP_PREFIX,"-w-100")},g.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-color-code")},g.a.createElement("div",{style:s.swatch,onClick:function(){i||n(),l(!i)},ref:d},g.a.createElement("div",{style:s.color})),i&&g.a.createElement("div",{style:s.popover,ref:u},g.a.createElement(Sl,{color:g1(e),onChange:t,disableAlpha:!0,presetColors:[{color:"none",title:"None"},"#F47373","#697689","#37D67A","#2CCCE4","#555555","#dce775","#ff8a65","#ba68c8","#FF6900","#FCB900","#7BDCB5","#00D084","#EB144C","#F78DA7","#9900EF"]}),g.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-color-none"),onClick:function(){t("")}},g.a.createElement("div",null)))),g.a.createElement(I,{placeholder:"No color",value:g1(e),onChange:t})))}function b1(){var t=E().templateWrapper,n=E().body;return t&&n?g.a.createElement("div",{style:{width:"100%"}},g.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-flex")},g.a.createElement("div",{className:"title__medium"},"Email background")),g.a.createElement(L,{style:{marginLeft:-20},extraWidth:"40px"}),g.a.createElement("div",{className:v.VIRFICE_APP_PREFIX+"-settings-wrapper"},g.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-form-group")},g.a.createElement(v1,{label:"Body background",value:x(t,"background-color"),onChange:function(e){t.style.backgroundColor=e}}),g.a.createElement(v1,{label:"Outer background",value:x(n,"background-color"),onChange:function(e){n.style.backgroundColor=e}})))):null}function y1(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)),r}function E1(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?y1(Object(n),!0).forEach(function(e){h()(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):y1(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function w1(e){function t(e,t){e=E1(E1({},a),{},h()({},e,t)),r(ft({key:"changedSettings",value:e})),r(Mt({key:"global_style",value:n(e)}))}function n(e){var t=e.email_outer_background_color,n=e.email_background_color,r=e.email_body_width,a=e.email_body_text,o=e.email_body_button_bg,i=e.email_body_button_color,l=e.header_text_color,c=e.header_background_color,u=e.footer_text_color,e=e.footer_background_color;return"<style>\n       body{\n            margin: 0;\n            padding: 0;\n            background-color: ".concat(t,";\n            color: ").concat(a,";\n        }\n        .virfice-template-wrapper{\n            width: ").concat(r,"px;\n            max-width: 100%;\n            margin: auto;\n            background-color: ").concat(n,";\n        }\n        .virfice-template-wrapper table {\n            width: 100%;\n            border-collapse: collapse;\n        }\n        .virfice-template-wrapper a {\n            text-decoration: none;\n            color: inherit;\n        }\n       .virfice-template-wrapper h2 {\n            font-size: 20px;\n            color: inherit;\n        }\n        .virfice-template-wrapper p {\n            font-size: 16px;\n            line-height: 1.5;\n            margin: 0;\n        }\n        .virfice-template-wrapper [virfice-ele_type='link']{\n            display: inline-block;\n            color: ").concat(i,";\n            background-color: ").concat(o,";\n        }\n        .virfice-template-wrapper img {\n            max-width: 100%;\n            height: auto;\n            display: block;\n            border: 0;\n        }\n        .virfice-template-wrapper .virfice-email-header{\n            color: ").concat(l,";\n            background-color: ").concat(c,";\n        }\n        .virfice-template-wrapper .virfice-email-footer{\n            color: ").concat(u,";\n            background-color: ").concat(e,";\n        }\n        </style>")}e.element;var r=j(),a=A(function(e){return e.virficeBrandSettings.changedSettings});return g.a.createElement(g.a.Fragment,null,g.a.createElement(c,{className:"".concat(v.VIRFICE_APP_PREFIX,"-flex-col"),style:{gap:0}},g.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-form-group")},g.a.createElement("div",{className:"title__medium"},"Email appearance"),g.a.createElement(T,{label:"Email width",value:a.email_body_width,onChange:function(e){t("email_body_width",e)},min:400,max:800,step:1}),g.a.createElement($s,{label:"Logo",value:a.logo,onDelete:function(){t("logo","")},onSelect:function(e){t("logo",e.url)},info:"An image you want to show in the email header."}),g.a.createElement(I,{label:"Store name",value:a.store_name,onChange:function(e){t("store_name",e)}}))),g.a.createElement(c,{className:"".concat(v.VIRFICE_APP_PREFIX,"-flex-col"),style:{gap:0}},g.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-form-group")},g.a.createElement("div",{className:"title__medium"},"Background colors"),g.a.createElement(v1,{label:"Email background",value:a.email_background_color,onChange:function(e){t("email_background_color",e)}}),g.a.createElement(v1,{label:"Outer background",value:a.email_outer_background_color,onChange:function(e){t("email_outer_background_color",e)}}))),g.a.createElement(c,{className:"".concat(v.VIRFICE_APP_PREFIX,"-flex-col"),style:{gap:0}},g.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-form-group")},g.a.createElement("div",{className:"title__medium"},"Body colors"),g.a.createElement(v1,{label:"Text",value:a.email_body_text,onChange:function(e){t("email_body_text",e)}}),g.a.createElement(v1,{label:"Button",value:a.email_body_button_bg,onChange:function(e){t("email_body_button_bg",e)}}),g.a.createElement(v1,{label:"Button text",value:a.email_body_button_color,onChange:function(e){t("email_body_button_color",e)}}))))}function x1(){var e=A(function(e){return null==(e=e.builder)?void 0:e.selectedElementId}),t=A(function(e){return null==(e=e.builder)?void 0:e.forceUpdateToogler}),n=A(function(e){return null==(e=e.builder)?void 0:e.showReadyBlocks}),r=Object(m.useState)(!1),a=(r=b()(r,2))[0],o=r[1],r=Object(m.useState)(!1),i=(r=b()(r,2))[0],l=r[1];return Object(m.useEffect)(function(){o(!!e&&Ht(e))},[e,t]),Object(m.useEffect)(function(){E().editorWrapper&&l(!0)},[E().editorWrapper]),i?g.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-builder-right-panel-wrapper")},g.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-flex-col ").concat(v.VIRFICE_APP_PREFIX,"-gap-20")},((r=a)?"brand-settings"===w(r,"ele_type"):null)||Vl("menu","virfice-brand-settings")?g.a.createElement(w1,{element:a}):g.a.createElement(c,{className:"".concat(v.VIRFICE_APP_PREFIX,"-flex-col"),style:{gap:0}},n&&g.a.createElement(m1,{category:"*"}),!n&&g.a.createElement(g.a.Fragment,null,a?g.a.createElement(g.a.Fragment,null,g.a.createElement(xs,{element:a}),g.a.createElement(L,{style:{marginLeft:-20},extraWidth:"40px"}),g.a.createElement(d1,{element:a})):g.a.createElement(b1,null))))):null}function C1(){return g.a.createElement(B,{size1280:!0},g.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-flex ").concat(v.VIRFICE_APP_PREFIX,"-gap-20")},g.a.createElement(ws,null),g.a.createElement(x1,null)))}function _1(e){var t=e.template_id,n=j();return Object(m.useEffect)(function(){t&&(n(Et(t)),n(ct()),n(xt()))},[t]),g.a.createElement(C1,null)}function P1(){function e(){r.id&&(n(wt(r.id,{post_content:Rt()})),$l().then(function(){window.location.href=F({menu:"woo-email-edit-preview-virfice",email_id:t})}))}var t=Dl("email_id"),n=j(),r=A(function(e){return null==(e=e.wooEmailSingle)?void 0:e.virfice_template}),a=A(function(e){return e.builder.post});return Object(m.useEffect)(function(){n(mt(t)),n(gt(t))},[]),g.a.createElement(g.a.Fragment,null,g.a.createElement(mu,{backAction:function(){window.location.href=F({menu:"woo-email-list"})},discardAction:function(){E().templateWrapper.innerHTML=a.post_content,Ct(),n(y({title:"Template discarded",type:"success"}))},saveAction:function(){r.id&&(n(wt(r.id,{post_content:Rt()})),$l().then(function(){}))},saveButtonText:"Save",saveAndNextAction:e,saveAndNextButtonText:"Save & Next",size1280:!0,marginBottom:!1,breadCrumb:[{title:"Design",isActive:!0},{title:"Settings",callBack:e}]}),g.a.createElement("section",{className:"".concat(v.VIRFICE_APP_PREFIX,"-builder-section-main")},r.id&&g.a.createElement(_1,{template_id:r.id}),!r.id&&"Loading..."))}function k1(){var e=A(function(e){return e.globalSettings["changedSettings-email"]}),t=A(function(e){return null==(e=e.wooEmailSingle)?void 0:e.changedSettings}),n=A(function(e){return null==(e=e.wooEmailSingle)||null==(e=e.email)||null==(e=e.settings)?void 0:e.form_fields});return n&&e&&t?g.a.createElement("div",{style:{width:368}},g.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-inbox-preview")},g.a.createElement("div",{style:{marginBottom:16}},g.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-flex"),style:{alignItems:"center"}},g.a.createElement(xc,null),g.a.createElement("span",{style:{marginLeft:4}},"Inbox Preview"))),g.a.createElement("div",null,g.a.createElement("img",{src:virfice.assetsBase+"/inbox-preview.webp",alt:"inbox-preview",style:{width:"100%"}}),g.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-inbox-preview-active")},g.a.createElement("img",{src:virfice.assetsBase+"/v.webp"}),g.a.createElement("div",null,g.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-inbox-preview-active-title")},e.woocommerce_email_from_name||"Virfice"),g.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-inbox-preview-active-sub-title")},t.subject||t.subject_full||(null==n||null==(e=n.subject)?void 0:e.placeholder)||(null==n||null==(e=n.subject_full)?void 0:e.placeholder)),g.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-inbox-preview-active-message")},t.virfice_preview_text||"No preview text")))))):null}function S1(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)),r}function R1(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?S1(Object(n),!0).forEach(function(e){h()(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):S1(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function I1(e){var t,n,e=e.onPreviewButtonClick,r=j(),a=A(function(e){return null==(e=e.wooEmailSingle)||null==(e=e.email)||null==(e=e.settings)?void 0:e.form_fields}),o=A(function(e){return e.globalSettings["changedSettings-email"]}),i=A(function(e){return null==(e=e.wooEmailSingle)?void 0:e.changedSettings});if(a)return t=function(e,t){r(At({key:"changedSettings-email",value:R1(R1({},o),{},h()({},e,t))}))},n=function(e,t){r(Ot({key:"changedSettings",value:R1(R1({},i),{},h()({},e,t))}))},g.a.createElement("div",{style:{flexGrow:1}},g.a.createElement("div",{style:{marginBottom:24}},g.a.createElement(p,{small:!0,type:"secondary",title:"Preview Email",onClick:e,leftIcon:g.a.createElement(nu,null)})),g.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-form-group")},g.a.createElement(I,{placeholder:(null==a||null==(e=a.subject)?void 0:e.placeholder)||(null==a||null==(e=a.subject_full)?void 0:e.placeholder),label:"Subject",value:i.subject||"",onChange:function(e){n("subject",e)},multiline:5,helpText:g.a.createElement("span",{dangerouslySetInnerHTML:{__html:Ju((null==a||null==(e=a.subject)?void 0:e.description)||(null==a||null==(e=a.subject_full)?void 0:e.description))}})}),g.a.createElement(I,{value:i.virfice_preview_text||"",label:"Preview text",multiline:5,onChange:function(e){n("virfice_preview_text",e)}}),g.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-flex"),style:{gap:16}},g.a.createElement(I,{label:"Sender email",value:o.woocommerce_email_from_address||"",onChange:function(e){t("woocommerce_email_from_address",e)}}),g.a.createElement(I,{label:"Sender name",value:o.woocommerce_email_from_name||"",onChange:function(e){t("woocommerce_email_from_name",e)}}))))}function O1(){return g.a.createElement("svg",{viewBox:"0 0 600 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},g.a.createElement("path",{d:"M0 8C0 3.85786 3.35786 0.5 7.5 0.5H592.5C596.642 0.5 600 3.85786 600 8V19.25H0V8Z",fill:"#F2F2F5"}),g.a.createElement("circle",{cx:11.25,cy:9.875,r:2.8125,fill:"#F3605C"}),g.a.createElement("circle",{cx:22.5,cy:9.875,r:2.8125,fill:"#F8BE39"}),g.a.createElement("circle",{cx:33.75,cy:9.875,r:2.8125,fill:"#50C845"}))}function F1(e){function t(e){console.log(e),l(e)}var n=e.template_id,e=e.onClose,r=j(),a=A(function(e){return e.builder.preview_url}),o=(A(function(e){return e.builder.global_style}),A(function(e){return e.builder.html}),Object(m.useState)("desktop")),i=(o=b()(o,2))[0],l=o[1];return Object(m.useEffect)(function(){n&&(console.log("get template html",n),r(Et(n)))},[n]),g.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-template-preview-wrapper")},g.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-desktop"),style:{width:"desktop"===i?600:400}},"desktop"===i&&g.a.createElement(O1,null),g.a.createElement(Uu,{src:a,style:{width:"desktop"===i?600:400}})),g.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-actions")},g.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-flex")},g.a.createElement(p,{type:"tertiary",icon:g.a.createElement(Sc,null),isActive:"desktop"===i,onClick:function(){t("desktop")}}),g.a.createElement(p,{type:"tertiary",icon:g.a.createElement(Rc,null),isActive:"mobile"===i,onClick:function(){t("mobile")}}),g.a.createElement(p,{type:"tertiary",icon:g.a.createElement(Pc,null),onClick:e}))))}function A1(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)),r}function j1(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?A1(Object(n),!0).forEach(function(e){h()(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):A1(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function L1(){var t=j(),n=A(function(e){return null==(e=e.wooEmailSingle)?void 0:e.changedSettings});return g.a.createElement(wu,{value:"yes"===n.enabled||!1,onChange:function(e){t(Ot({key:"changedSettings",value:j1(j1({},n),{},{enabled:e?"yes":"no"})}))},type:"toggle"})}function T1(){var n=j(),r=uc(),e=Dl("email_id"),t=A(function(e){return null==(e=e.wooEmailSingle)||null==(e=e.email)?void 0:e.loaded}),a=Object(m.useState)(!1),o=(a=b()(a,2))[0],i=a[1],a=A(function(e){return e.globalSettings.email.loaded}),l=A(function(e){return null==(e=e.wooEmailSingle)||null==(e=e.email)?void 0:e.settings}),c=A(function(e){return null==(e=e.wooEmailSingle)?void 0:e.virfice_template});return Object(m.useEffect)(function(){n(mt(e)),n(bt(["email"])),n(gt(e))},[]),t?o?g.a.createElement(F1,{template_id:c.id,onClose:function(){i(!1)}}):g.a.createElement(g.a.Fragment,null,g.a.createElement(mu,{backAction:function(){window.location.href=F({menu:"woo-email-edit-virfice",email_id:e})},discardAction:function(){window.location.href=F({menu:"woo-email-list"})},discardButtonText:"Cancel",saveAction:function(){var e=r.getState(),t=e.wooEmailSingle.email.settings,e=e.wooEmailSingle.changedSettings;n(vt(t.id,{changedSettings:e})),n(yt("email"))},breadCrumb:[{title:"Design",isActive:!1,link:F({menu:"woo-email-edit-virfice",email_id:e})},{title:"Settings",isActive:!0}]}),g.a.createElement("section",null,g.a.createElement(ou,{heading:null==l?void 0:l.title,subHeading:null==l?void 0:l.description,quickAction:g.a.createElement(L1,null)}),g.a.createElement(B,null,g.a.createElement("div",{style:{marginTop:36}},g.a.createElement("div",{className:"".concat(v.VIRFICE_APP_PREFIX,"-flex"),style:{gap:64}},g.a.createElement(k1,null),a&&g.a.createElement(I1,{onPreviewButtonClick:function(){i(!0)}})))))):g.a.createElement(g.a.Fragment,null,"loading")}function M1(){return g.a.createElement(g.a.Fragment,null,Vl("menu","woo-email-edit")&&g.a.createElement(os,null),Vl("menu","woo-email-edit-virfice")&&g.a.createElement(P1,null),Vl("menu","woo-email-edit-preview-virfice")&&g.a.createElement(T1,null))}function N1(){var e=j(),t=A(function(e){return e.virficeBrandSettings.settings.loaded}),n=A(function(e){return e.virficeBrandSettings.settings.data}),r=A(function(e){return e.virficeBrandSettings.changedSettings}),a=(Object(m.useEffect)(function(){e(ct())},[]),(null==n?void 0:n.template_id)||!1);return t?g.a.createElement(g.a.Fragment,null,g.a.createElement(mu,{backAction:function(){window.location.href=F({menu:""})},discardAction:function(){e(ft({key:"changedSettings",value:n})),e(y({title:"Settings discarded",type:"danger"}))},saveAction:function(){e(ut(r)),$l()},size1280:!0}),g.a.createElement("section",null,g.a.createElement(ou,{heading:"Brand settings",subHeading:"Customize the look and feel of all WooCommerce emails globally. Let your emails represent your store.",size1280:!0}),g.a.createElement("section",{className:"".concat(v.VIRFICE_APP_PREFIX,"-builder-section-main ").concat(v.VIRFICE_APP_PREFIX,"-builder-section-main-brand-settings")},a&&g.a.createElement(_1,{template_id:a}),!a&&"Loading..."))):g.a.createElement(pu,null)}function B1(){var e=Dl("template_id"),t=j();return g.a.createElement(g.a.Fragment,null,g.a.createElement(mu,{backAction:function(){var e=window.location.origin,e="".concat(e,"/wp-admin/edit.php?post_type=virfice_template");window.location.href=e},discardAction:function(){},saveAction:function(){console.log("save button click"),t(wt(e,{post_content:Rt()})),t(y({title:"Template saved",type:"success"}))},saveButtonText:"Save",size1280:!0,marginBottom:!1}),g.a.createElement("section",{className:"".concat(v.VIRFICE_APP_PREFIX,"-builder-section-main")},e&&g.a.createElement(_1,{template_id:e}),!e&&"Loading..."))}function V1(){return Vl("menu","virfice-brand-settings")?g.a.createElement(N1,null):Vl("menu","woo-email-list")?g.a.createElement(gu,null):Vl("menu","woo-email-edit")||Vl("menu","woo-email-edit-virfice")||Vl("menu","woo-email-edit-preview-virfice")?g.a.createElement(M1,null):Vl("menu","virfice-template-edit")?g.a.createElement(B1,null):Vl("menu","settings")?g.a.createElement(Lu,null):g.a.createElement(au,null)}function D1(e){var t=e.open,n=e.title,r=e.leftIcon,a=void 0===(a=e.type)?"success":a,o=e.notificationRef,e=void 0!==(e=e.className)&&e,a=X()(h()(h()(h()(h()({},v.VIRFICE_APP_PREFIX+"-notification-bell",!0),v.VIRFICE_APP_PREFIX+"-success","success"===a),"body__medium","success"===a),v.VIRFICE_APP_PREFIX+"-danger","danger"===a),e);return t?g.a.createElement("div",{className:a,ref:o},r,n):null}function z1(e,t){var n,r,a,o,i="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(i)return a=!(r=!0),{s:function(){i=i.call(e)},n:function(){var e=i.next();return r=e.done,e},e:function(e){a=!0,n=e},f:function(){try{r||null==i.return||i.return()}finally{if(a)throw n}}};if(Array.isArray(e)||(i=((e,t)=>{var n;if(e)return"string"==typeof e?X1(e,t):"Map"===(n="Object"===(n={}.toString.call(e).slice(8,-1))&&e.constructor?e.constructor.name:n)||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?X1(e,t):void 0})(e))||t&&e&&"number"==typeof e.length)return i&&(e=i),o=0,{s:t=function(){},n:function(){return o>=e.length?{done:!0}:{done:!1,value:e[o++]}},e:function(e){throw e},f:t};throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function X1(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function H1(){var t=Object(m.useRef)(null),n=A(function(e){return e.components.notificationBell}),r=(Object(m.useEffect)(function(){r();var e=document.body,t=new MutationObserver(function(e){var t=z1(e);try{for(t.s();!t.n().done;)r()}catch(e){t.e(e)}finally{t.f()}});return t.observe(e,{attributes:!0}),function(){t.disconnect()}},[n.open]),function(){var e;n.open&&t.current&&(e=document.querySelector("body.folded"),t.current.style.position="fixed",t.current.style.top="88px",e?(t.current.style.left="36px",t.current.style.width="calc(100% - 36px)"):(t.current.style.left="160px",t.current.style.width="calc(100% - 160px)"))});return n.open?g.a.createElement(D1,{title:n.title,type:n.type,open:n.open,notificationRef:t}):null}Ri=t(1).VIRFICE_APP_PREFIX;z.a.createRoot(document.getElementById(Ri+"-dashboard")).render(g.a.createElement(lc,{store:Bt},g.a.createElement(H1,null),g.a.createElement(V1,null))),console.log("Hello from Verfice")}]);
  • emails-for-woocommerce/trunk/readme.txt

    r3249767 r3252867  
    66Requires at least: WordPress 5.5
    77Tested up to: 6.7.2
    8 Stable tag: 1.1.1
     8Stable tag: 1.1.2
    99Requires PHP: 7.3
    1010License: GPLv2 or later
     
    9999
    100100== Changelog ==
     101= 1.1.2 =
     102New: Option to remove selected color in the color picker
     103New: Validation to prevent email width from being set below 400px or above 800px
     104New: [Test] label added before every test email
     105New: Settings & Documentation links in the plugin list
     106Update: Default logo size in header-ready blocks optimized for design
     107Update: Dashboard notification when Virfice is installed without WooCommerce
     108Fix: Virfice deactivating after updating to a new version
     109Fix: Brand settings inaccessible when email width exceeds 800px
     110Fix: Extra 4px padding applied when background top-bottom padding is set to 0
     111Fix: Green mark overlapping issue when applying top-bottom background padding to elements
     112Fix: Image delete option not working in columns
     113Fix: Green area overlapping issue on scroll-top
     114Fix: Various security issues
     115Fix: Several known bugs
     116Fix: Reply to email address in test email not working
     117
    101118= 1.1.1 =
    102119Fix: Reply-to email address not working issue
  • emails-for-woocommerce/trunk/src/API/VirficeTestEmailSend.php

    r3249220 r3252867  
    7676            $template = Utils::wrap_template_with_html_tag($template);
    7777            $headers      = "Content-Type: text/html\r\n";
    78             wp_mail($emails, 'Test Email from Virfice - Brand Settings', $template, $headers);
     78            $headers = Utils::add_reply_to_headers($headers);
     79
     80            wp_mail($emails, '[Test] - Brand Settings', $template, $headers);
    7981        }
    8082
     
    9092        $subject = apply_filters('woocommerce_email_subject_' . $email_id, $subject, $email_obj);
    9193
     94        $subject = "[Test] - $subject";
     95
    9296        // Clean up slashes in the template
    9397        $template = Utils::wrap_template_with_html_tag($template);
     
    96100
    97101        $headers      = "Content-Type: text/html\r\n";
     102        $headers = Utils::add_reply_to_headers($headers);
    98103        // $sendMail     = \WC_Emails::instance();
    99104        if (! empty($emails)) {
  • emails-for-woocommerce/trunk/src/AdminNotice.php

    r3130685 r3252867  
    3434            <div class="notice notice-success is-dismissible virfice-notice">
    3535                <div style="display: flex; gap: 40px; padding: 20px 32px;">
    36                     <img src="<?php echo VIRFICE_STATIC_FILES_BASE; ?>/greeting-bird.webp" alt="Hello Virfice" style="object-fit: contain;" />
     36                    <img src="<?php echo esc_url(VIRFICE_STATIC_FILES_BASE); ?>/greeting-bird.webp" alt="Hello Virfice"
     37                        style="object-fit: contain;" />
    3738                    <div>
    38                         <h1 style="color: #1A1A1A;font-family: Roboto; font-size: 32px; font-style: normal; font-weight: 400; line-height: 40px;">Congraaaatulations! 🥳 🎉 <strong>Virfice</strong> is now active!</h1>
    39                         <p style="color: #1A1A1A; font-family: Roboto; font-size: 16px; font-style: normal; font-weight: 400; line-height: 24px;letter-spacing: 0.5px;max-width: 522px;">Say hello to your WooCommerce email friend. Let your emails speak for your store's brand!</p>
     39                        <h1
     40                            style="color: #1A1A1A;font-family: Roboto; font-size: 32px; font-style: normal; font-weight: 400; line-height: 40px;">
     41                            Congraaaatulations! 🥳 🎉 <strong>Virfice</strong> is now active!</h1>
     42                        <p
     43                            style="color: #1A1A1A; font-family: Roboto; font-size: 16px; font-style: normal; font-weight: 400; line-height: 24px;letter-spacing: 0.5px;max-width: 522px;">
     44                            Say hello to your WooCommerce email friend. Let your emails speak for your store's brand!</p>
    4045                        <div style="display: flex; align-items: center; gap: 16px;">
    41                             <a href="<?php echo $url; ?>" style="width: max-content; display: flex; padding: 6px 12px; justify-content: center; align-items: center; gap: 4px; border-radius: 999px; background: #C8E265; box-shadow: 1.5px 1.5px 0px 0px rgba(0, 0, 0, 0.2); border: 1px solid #949494; color: #303030; cursor: pointer;text-decoration: none;font-size: 12px; font-family: Roboto, sans-serif; font-weight: 600; letter-spacing: 0.5px; line-height: 16px;"><?php echo _e('Try Virfice now!', 'virfice'); ?></a>
    42                             <a href="https://virfice.com/docs/" target="_blank" style="text-decoration: none; display: flex; justify-content: center; align-items: center; gap: 4px;"><svg width="12" height="12" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg">
    43                                     <path d="M6 4.125C6 3.72718 6.15804 3.34564 6.43934 3.06434C6.72064 2.78304 7.10218 2.625 7.5 2.625H10.875V9.375H7.5C7.10218 9.375 6.72064 9.53304 6.43934 9.81434C6.15804 10.0956 6 10.4772 6 10.875" stroke="#0066CC" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />
    44                                     <path d="M1.125 9.375H4.5C4.89782 9.375 5.27936 9.53304 5.56066 9.81434C5.84196 10.0956 6 10.4772 6 10.875V4.125C6 3.72718 5.84196 3.34564 5.56066 3.06434C5.27936 2.78304 4.89782 2.625 4.5 2.625H1.125V9.375Z" stroke="#0066CC" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />
     46                            <a href="<?php echo esc_url($url); ?>"
     47                                style="width: max-content; display: flex; padding: 6px 12px; justify-content: center; align-items: center; gap: 4px; border-radius: 999px; background: #C8E265; box-shadow: 1.5px 1.5px 0px 0px rgba(0, 0, 0, 0.2); border: 1px solid #949494; color: #303030; cursor: pointer;text-decoration: none;font-size: 12px; font-family: Roboto, sans-serif; font-weight: 600; letter-spacing: 0.5px; line-height: 16px;"><?php echo esc_html(_e('Try Virfice now!', 'virfice')); ?></a>
     48                            <a href="https://virfice.com/docs/" target="_blank"
     49                                style="text-decoration: none; display: flex; justify-content: center; align-items: center; gap: 4px;"><svg
     50                                    width="12" height="12" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg">
     51                                    <path
     52                                        d="M6 4.125C6 3.72718 6.15804 3.34564 6.43934 3.06434C6.72064 2.78304 7.10218 2.625 7.5 2.625H10.875V9.375H7.5C7.10218 9.375 6.72064 9.53304 6.43934 9.81434C6.15804 10.0956 6 10.4772 6 10.875"
     53                                        stroke="#0066CC" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />
     54                                    <path
     55                                        d="M1.125 9.375H4.5C4.89782 9.375 5.27936 9.53304 5.56066 9.81434C5.84196 10.0956 6 10.4772 6 10.875V4.125C6 3.72718 5.84196 3.34564 5.56066 3.06434C5.27936 2.78304 4.89782 2.625 4.5 2.625H1.125V9.375Z"
     56                                        stroke="#0066CC" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />
    4557                                </svg>
    4658                                Explore guide!</a>
     
    6173                    $('.virfice-notice').on('click', '.notice-dismiss', function() {
    6274                        $.ajax({
    63                             url: '<?php echo admin_url('admin-ajax.php'); ?>',
     75                            url: '<?php echo esc_url(admin_url('admin-ajax.php')); ?>',
    6476                            type: 'POST',
    6577                            data: {
    6678                                action: 'virfice_dismiss_notice',
    67                                 nonce: '<?php echo wp_create_nonce('virfice_dismiss_notice'); ?>'
     79                                nonce: '<?php echo esc_html(wp_create_nonce('virfice_dismiss_notice')); ?>'
    6880                            },
    6981                            success: function(response) {
  • emails-for-woocommerce/trunk/src/Dashboard.php

    r3249767 r3252867  
    3535        add_action('admin_head', [$this, 'my_plugin_highlight_submenu']);
    3636        add_action('admin_footer', [$this, 'my_plugin_custom_script']);
     37
     38        add_filter('plugin_action_links_' . VIRFICE_PLUGIN_BASE_FILE, [$this, 'my_plugin_action_links']);
    3739    }
    3840
     41    public function my_plugin_action_links($links)
     42    {
     43        $settings_link = '<a href="admin.php?page=virfice&menu=settings">Settings</a>';
     44        $docs_link = '<a href="https://virfice.com/docs" target="_blank">Documentation</a>';
     45
     46        array_unshift($links, $settings_link, $docs_link);
     47        return $links;
     48    }
    3949
    4050
     
    7383    }
    7484
    75 public function my_plugin_custom_script()
     85    public function my_plugin_custom_script()
    7686    {
    7787?>
     
    8090                var currentUrl = window.location.href;
    8191
    82                 $('#toplevel_page_<?php echo VIRFICE_APP_PREFIX; ?> .wp-submenu .wp-first-item').remove();
    83                 $('#toplevel_page_<?php echo VIRFICE_APP_PREFIX; ?> .wp-submenu a').each(function() {
     92                $('#toplevel_page_<?php echo esc_html(VIRFICE_APP_PREFIX); ?> .wp-submenu .wp-first-item').remove();
     93                $('#toplevel_page_<?php echo esc_html(VIRFICE_APP_PREFIX); ?> .wp-submenu a').each(function() {
    8494                    if (currentUrl.indexOf($(this).attr('href')) !== -1) {
    8595                        $(this).parent().addClass('current');
  • emails-for-woocommerce/trunk/src/Includes/Logger.php

    r3249220 r3252867  
    3737        if (file_put_contents($this->logFile, $logEntry, FILE_APPEND | LOCK_EX) === false) {
    3838            // If writing fails, throw an exception or handle accordingly
    39             throw new Exception("Unable to write to log file: $this->logFile");
     39            // throw new Exception("Unable to write to log file: $this->logFile");
    4040        }
    4141    }
  • emails-for-woocommerce/trunk/src/MetaHelper.php

    r3249220 r3252867  
    5959
    6060        // Check if the meta already exists
     61        // phpcs:ignore WordPress.DB.DirectDatabaseQuery.DirectQuery,WordPress.DB.DirectDatabaseQuery.NoCaching
    6162        $meta_exists = $wpdb->get_var($wpdb->prepare(
    6263            "SELECT COUNT(*) FROM $table_name WHERE parent_id = %d AND parent = %s AND meta_key = %s",
     
    6869        if ($meta_exists) {
    6970            // Update existing meta
     71            // phpcs:ignore WordPress.DB.DirectDatabaseQuery.DirectQuery,WordPress.DB.DirectDatabaseQuery.NoCaching
    7072            $wpdb->update(
    7173                $table_name,
     
    7779        } else {
    7880            // Insert new meta
     81            // phpcs:ignore WordPress.DB.DirectDatabaseQuery.DirectQuery,WordPress.DB.DirectDatabaseQuery.NoCaching
    7982            $wpdb->insert(
    8083                $table_name,
     
    9699        $table_name = $wpdb->prefix . VIRFICE_APP_PREFIX . '_meta';
    97100
     101        // phpcs:ignore WordPress.DB.DirectDatabaseQuery.DirectQuery,WordPress.DB.DirectDatabaseQuery.NoCaching
    98102        $meta_value = $wpdb->get_var($wpdb->prepare(
    99103            "SELECT meta_value FROM $table_name WHERE parent_id = %d AND parent = %s AND meta_key = %s",
     
    112116        $table_name = $wpdb->prefix . VIRFICE_APP_PREFIX . '_meta';
    113117
     118        // phpcs:ignore WordPress.DB.DirectDatabaseQuery.DirectQuery,WordPress.DB.DirectDatabaseQuery.NoCaching
    114119        $wpdb->delete(
    115120            $table_name,
  • emails-for-woocommerce/trunk/src/Utils.php

    r3249767 r3252867  
    207207    }
    208208
     209    public static function add_reply_to_headers($headers)
     210    {
     211        $brand_settings = self::get_brand_settings();
     212
     213        if (!empty($brand_settings['virfice_reply_to_email']) && !empty($brand_settings['virfice_reply_to_name'])) {
     214            $name = sanitize_text_field($brand_settings['virfice_reply_to_name']);
     215            $email = sanitize_email($brand_settings['virfice_reply_to_email']);
     216
     217            if (is_email($email)) {
     218                // Remove any existing "Reply-To" header
     219                $headers = preg_replace("/Reply-To: [^\r\n]*\r\n/i", '', $headers);
     220
     221                // Add the new "Reply-To" header
     222                $headers .= "Reply-To: $name <$email>\r\n";
     223            }
     224        }
     225
     226        return $headers;
     227    }
     228
    209229    /**
    210230     * Retrieves the HTML for store address.
     
    277297            font-size: 16px;
    278298            line-height: 1.5;
     299            margin: 0;
    279300        }
    280301        .virfice-template-wrapper [virfice-ele_type='link']{
     
    361382            $logger->logError($message);
    362383        } catch (Exception $e) {
    363             echo "Failed to write to log file: " . $e->getMessage();
     384            echo esc_html("Failed to write to log file: " . $e->getMessage());
    364385        }
    365386    }
  • emails-for-woocommerce/trunk/src/WooEmailHooks.php

    r3249767 r3252867  
    2929    public function change_reply_to_email($headers, $email_id, $order)
    3030    {
    31         $brand_settings = Utils::get_brand_settings();
    32 
    33         if (!empty($brand_settings['virfice_reply_to_email']) && !empty($brand_settings['virfice_reply_to_name'])) {
    34             $name = sanitize_text_field($brand_settings['virfice_reply_to_name']);
    35             $email = sanitize_email($brand_settings['virfice_reply_to_email']);
    36 
    37             if (is_email($email)) {
    38                 // Remove any existing "Reply-To" header
    39                 $headers = preg_replace("/Reply-To: [^\r\n]*\r\n/i", '', $headers);
    40 
    41                 // Add the new "Reply-To" header
    42                 $headers .= "Reply-To: $name <$email>\r\n";
    43             }
    44         }
    45 
    46         return $headers;
     31        return Utils::add_reply_to_headers($headers);
    4732    }
    4833
  • emails-for-woocommerce/trunk/src/WooEmailPreview/Route.php

    r3249220 r3252867  
    11<?php
    2 
     2// phpcs:ignoreFile
    33namespace Virfice\WooEmailPreview;
    44
  • emails-for-woocommerce/trunk/src/views/woocommerce/emails/admin-cancelled-order.php

    r3249220 r3252867  
    11<?php
    2 
     2// phpcs:ignoreFile
    33use Virfice\Includes\ShortCodes\ShortCodes;
    44use Virfice\Utils;
  • emails-for-woocommerce/trunk/src/views/woocommerce/emails/admin-failed-order.php

    r3249220 r3252867  
    11<?php
    2 
     2// phpcs:ignoreFile
    33use Virfice\Includes\ShortCodes\ShortCodes;
    44use Virfice\Utils;
  • emails-for-woocommerce/trunk/src/views/woocommerce/emails/admin-new-order.php

    r3249220 r3252867  
    11<?php
    2 
     2// phpcs:ignoreFile
    33use Virfice\Includes\ShortCodes\ShortCodes;
    44use Virfice\Utils;
  • emails-for-woocommerce/trunk/src/views/woocommerce/emails/customer-completed-order.php

    r3249220 r3252867  
    11<?php
    2 
     2// phpcs:ignoreFile
    33use Virfice\Includes\ShortCodes\ShortCodes;
    44use Virfice\Utils;
  • emails-for-woocommerce/trunk/src/views/woocommerce/emails/customer-failed-order.php

    r3249220 r3252867  
    11<?php
    2 
     2// phpcs:ignoreFile
    33use Virfice\Includes\ShortCodes\ShortCodes;
    44use Virfice\Utils;
  • emails-for-woocommerce/trunk/src/views/woocommerce/emails/customer-invoice.php

    r3249220 r3252867  
    11<?php
    2 
     2// phpcs:ignoreFile
    33use Virfice\Includes\ShortCodes\ShortCodes;
    44use Virfice\Utils;
  • emails-for-woocommerce/trunk/src/views/woocommerce/emails/customer-new-account.php

    r3249220 r3252867  
    11<?php
    2 
     2// phpcs:ignoreFile
    33use Virfice\Includes\ShortCodes\ShortCodes;
    44use Virfice\Utils;
  • emails-for-woocommerce/trunk/src/views/woocommerce/emails/customer-note.php

    r3249220 r3252867  
    11<?php
    2 
     2// phpcs:ignoreFile
    33use Virfice\Includes\ShortCodes\ShortCodes;
    44use Virfice\Utils;
  • emails-for-woocommerce/trunk/src/views/woocommerce/emails/customer-on-hold-order.php

    r3249220 r3252867  
    11<?php
    2 
     2// phpcs:ignoreFile
    33use Virfice\Includes\ShortCodes\ShortCodes;
    44use Virfice\Utils;
  • emails-for-woocommerce/trunk/src/views/woocommerce/emails/customer-processing-order.php

    r3249220 r3252867  
    11<?php
    2 
     2// phpcs:ignoreFile
    33use Virfice\Includes\ShortCodes\ShortCodes;
    44use Virfice\Utils;
  • emails-for-woocommerce/trunk/src/views/woocommerce/emails/customer-refunded-order.php

    r3249220 r3252867  
    11<?php
    2 
     2// phpcs:ignoreFile
    33use Virfice\Includes\ShortCodes\ShortCodes;
    44use Virfice\Utils;
  • emails-for-woocommerce/trunk/src/views/woocommerce/emails/customer-reset-password.php

    r3249220 r3252867  
    11<?php
    2 
     2// phpcs:ignoreFile
    33use Virfice\Includes\ShortCodes\ShortCodes;
    44use Virfice\Utils;
  • emails-for-woocommerce/trunk/src/views/woocommerce/emails/plain/customer-note.php

    r3249220 r3252867  
    11<?php
     2// phpcs:ignoreFile
    23/**
    34 * Customer note email
     
    1617 */
    1718
    18 defined( 'ABSPATH' ) || exit;
     19defined('ABSPATH') || exit;
    1920
    2021echo "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=\n";
    21 echo esc_html( wp_strip_all_tags( $email_heading ) );
     22echo esc_html(wp_strip_all_tags($email_heading));
    2223echo "\n=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=\n\n";
    2324
    2425/* translators: %s: Customer first name */
    25 echo sprintf( esc_html__( 'Hi %s,', 'woocommerce' ), esc_html( $order->get_billing_first_name() ) ) . "\n\n";
    26 echo esc_html__( 'The following note has been added to your order:', 'woocommerce' ) . "\n\n";
     26echo sprintf(esc_html__('Hi %s,', 'woocommerce'), esc_html($order->get_billing_first_name())) . "\n\n";
     27echo esc_html__('The following note has been added to your order:', 'woocommerce') . "\n\n";
    2728
    2829echo "----------\n\n";
    2930
    30 echo wptexturize( $customer_note ) . "\n\n"; // phpcs:ignore WordPress.XSS.EscapeOutput.OutputNotEscaped
     31echo wptexturize($customer_note) . "\n\n"; // phpcs:ignore WordPress.XSS.EscapeOutput.OutputNotEscaped
    3132
    3233echo "----------\n\n";
    3334
    34 echo esc_html__( 'As a reminder, here are your order details:', 'woocommerce' ) . "\n\n";
     35echo esc_html__('As a reminder, here are your order details:', 'woocommerce') . "\n\n";
    3536
    3637/*
     
    4041 * @since 2.5.0
    4142 */
    42 do_action( 'woocommerce_email_order_details', $order, $sent_to_admin, $plain_text, $email );
     43do_action('woocommerce_email_order_details', $order, $sent_to_admin, $plain_text, $email);
    4344
    4445echo "\n----------------------------------------\n\n";
     
    4748 * @hooked WC_Emails::order_meta() Shows order meta data.
    4849 */
    49 do_action( 'woocommerce_email_order_meta', $order, $sent_to_admin, $plain_text, $email );
     50do_action('woocommerce_email_order_meta', $order, $sent_to_admin, $plain_text, $email);
    5051
    5152/*
     
    5354 * @hooked WC_Emails::email_address() Shows email address
    5455 */
    55 do_action( 'woocommerce_email_customer_details', $order, $sent_to_admin, $plain_text, $email );
     56do_action('woocommerce_email_customer_details', $order, $sent_to_admin, $plain_text, $email);
    5657
    5758echo "\n\n----------------------------------------\n\n";
     
    6061 * Show user-defined additional content - this is set in each email's settings.
    6162 */
    62 if ( $additional_content ) {
    63     echo esc_html( wp_strip_all_tags( wptexturize( $additional_content ) ) );
     63if ($additional_content) {
     64    echo esc_html(wp_strip_all_tags(wptexturize($additional_content)));
    6465    echo "\n\n----------------------------------------\n\n";
    6566}
    6667
    67 echo wp_kses_post( apply_filters( 'woocommerce_email_footer_text', get_option( 'woocommerce_email_footer_text' ) ) );
     68echo wp_kses_post(apply_filters('woocommerce_email_footer_text', get_option('woocommerce_email_footer_text')));
  • emails-for-woocommerce/trunk/src/views/woocommerce/emails/plain/customer-refunded-order.php

    r3249220 r3252867  
    11<?php
     2// phpcs:ignoreFile
    23/**
    34 * Customer refunded order email (plain text)
     
    1617 */
    1718
    18 defined( 'ABSPATH' ) || exit;
     19defined('ABSPATH') || exit;
    1920
    2021echo "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=\n";
    21 echo esc_html( wp_strip_all_tags( $email_heading ) );
     22echo esc_html(wp_strip_all_tags($email_heading));
    2223echo "\n=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=\n\n";
    2324
    2425/* translators: %s: Customer first name */
    25 echo sprintf( esc_html__( 'Hi %s,', 'woocommerce' ), esc_html( $order->get_billing_first_name() ) ) . "\n\n";
    26 if ( $partial_refund ) {
     26echo sprintf(esc_html__('Hi %s,', 'woocommerce'), esc_html($order->get_billing_first_name())) . "\n\n";
     27if ($partial_refund) {
    2728    /* translators: %s: Site title */
    28     echo sprintf( esc_html__( 'Your order on %s has been partially refunded. There are more details below for your reference:', 'woocommerce' ), wp_specialchars_decode( get_option( 'blogname' ), ENT_QUOTES ) ) . "\n\n"; // phpcs:ignore WordPress.XSS.EscapeOutput.OutputNotEscaped
     29    echo sprintf(esc_html__('Your order on %s has been partially refunded. There are more details below for your reference:', 'woocommerce'), wp_specialchars_decode(get_option('blogname'), ENT_QUOTES)) . "\n\n"; // phpcs:ignore WordPress.XSS.EscapeOutput.OutputNotEscaped
    2930} else {
    3031    /* translators: %s: Site title */
    31     echo sprintf( esc_html__( 'Your order on %s has been refunded. There are more details below for your reference:', 'woocommerce' ), wp_specialchars_decode( get_option( 'blogname' ), ENT_QUOTES ) ) . "\n\n"; // phpcs:ignore WordPress.XSS.EscapeOutput.OutputNotEscaped
     32    echo sprintf(esc_html__('Your order on %s has been refunded. There are more details below for your reference:', 'woocommerce'), wp_specialchars_decode(get_option('blogname'), ENT_QUOTES)) . "\n\n"; // phpcs:ignore WordPress.XSS.EscapeOutput.OutputNotEscaped
    3233}
    3334
     
    3839 * @since 2.5.0
    3940 */
    40 do_action( 'woocommerce_email_order_details', $order, $sent_to_admin, $plain_text, $email );
     41do_action('woocommerce_email_order_details', $order, $sent_to_admin, $plain_text, $email);
    4142
    4243echo "\n----------------------------------------\n\n";
     
    4546 * @hooked WC_Emails::order_meta() Shows order meta data.
    4647 */
    47 do_action( 'woocommerce_email_order_meta', $order, $sent_to_admin, $plain_text, $email );
     48do_action('woocommerce_email_order_meta', $order, $sent_to_admin, $plain_text, $email);
    4849
    4950/*
     
    5152 * @hooked WC_Emails::email_address() Shows email address
    5253 */
    53 do_action( 'woocommerce_email_customer_details', $order, $sent_to_admin, $plain_text, $email );
     54do_action('woocommerce_email_customer_details', $order, $sent_to_admin, $plain_text, $email);
    5455
    5556echo "\n\n----------------------------------------\n\n";
     
    5859 * Show user-defined additional content - this is set in each email's settings.
    5960 */
    60 if ( $additional_content ) {
    61     echo esc_html( wp_strip_all_tags( wptexturize( $additional_content ) ) );
     61if ($additional_content) {
     62    echo esc_html(wp_strip_all_tags(wptexturize($additional_content)));
    6263    echo "\n\n----------------------------------------\n\n";
    6364}
    6465
    65 echo wp_kses_post( apply_filters( 'woocommerce_email_footer_text', get_option( 'woocommerce_email_footer_text' ) ) );
     66echo wp_kses_post(apply_filters('woocommerce_email_footer_text', get_option('woocommerce_email_footer_text')));
  • emails-for-woocommerce/trunk/src/woo-email-presets/customer_new_account.php

    r3249220 r3252867  
    1010    virfice-id="m75577s6wwes9m6fa">
    1111    <a virfice-ele_type="image" virfice-title="Image" style="width:100%;" virfice-id="m75577s6yg6hurgwm"><img
    12             virfice-my_selector="image" virfice-short_code="store_logo" src="<?php echo $store_logo; ?>"
     12            virfice-my_selector="image" virfice-short_code="store_logo" src="<?php echo esc_url($store_logo); ?>"
    1313            style="margin-left: auto; margin-right: auto;"></a>
    1414</div>
     
    1818    <a virfice-ele_type="image" virfice-title="Image" style="width:100%;" virfice-id="m75r94wzd4iua9muc"><img
    1919            virfice-my_selector="image"
    20             src="<?php echo VIRFICE_STATIC_FILES_BASE; ?>/woo-email-presets/create-new-account.png"
     20            src="<?php echo esc_url(VIRFICE_STATIC_FILES_BASE); ?>/woo-email-presets/create-new-account.png"
    2121            style="margin-left: auto;margin-right: auto;width: 128px;"></a>
    2222</div>
  • emails-for-woocommerce/trunk/src/woo-email-presets/customer_reset_password.php

    r3249220 r3252867  
    1010    virfice-id="m75577s6wwes9m6fa">
    1111    <a virfice-ele_type="image" virfice-title="Image" style="width:100%;" virfice-id="m75577s6yg6hurgwm"><img
    12             virfice-my_selector="image" virfice-short_code="store_logo" src="<?php echo $store_logo; ?>"
     12            virfice-my_selector="image" virfice-short_code="store_logo" src="<?php echo esc_url($store_logo); ?>"
    1313            style="margin-left: auto; margin-right: auto;"></a>
    1414</div>
     
    1818    <a virfice-ele_type="image" virfice-title="Image" style="width:100%;" virfice-id="m75r94wzd4iua9muc"><img
    1919            virfice-my_selector="image"
    20             src="<?php echo VIRFICE_STATIC_FILES_BASE; ?>/woo-email-presets/set-new-password.png"
     20            src="<?php echo esc_url(VIRFICE_STATIC_FILES_BASE); ?>/woo-email-presets/set-new-password.png"
    2121            style="margin-left: auto;margin-right: auto;width: 128px;"></a>
    2222</div>
  • emails-for-woocommerce/trunk/src/woo-email-presets/dummy_email_template_for_brand_settings.php

    r3249220 r3252867  
    1818    virfice-id="m6c9744tsdk97ahbb">
    1919    <?php if ($store_logo) { ?>
    20         <a virfice-ele_type="image" virfice-title="Image" style="width:100%;" virfice-id="m6c9744t1tyq8ef9s"><img
    21                 virfice-my_selector="image" virfice-short_code="store_logo" src="<?php echo $store_logo; ?>"
    22                 style="margin-left: auto; margin-right: auto;"></a>
     20    <a virfice-ele_type="image" virfice-title="Image" style="width:100%;" virfice-id="m6c9744t1tyq8ef9s"><img
     21            virfice-my_selector="image" virfice-short_code="store_logo" src="<?php echo esc_url($store_logo); ?>"
     22            style="margin-left: auto; margin-right: auto;"></a>
    2323    <?php } else if ($store_name) { ?>
    24         <p><?php echo $store_name; ?></p>
     24    <p><?php echo esc_url($store_name); ?></p>
    2525    <?php } ?>
    2626</div>
  • emails-for-woocommerce/trunk/virfice.php

    r3249767 r3252867  
    77Author: Virfice
    88Author URI: https://virfice.com/
    9 Version: 1.1.1
     9Version: 1.1.2
    1010License: GPL v2 or later
    1111License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    3434        update_option('virfice_first_install', true);
    3535    }
    36     // If WooCommerce class does not exist, WooCommerce is not installed or activated
    37     if (!class_exists('WooCommerce')) {
    38         // Deactivate the current plugin
    39         deactivate_plugins(plugin_basename(__FILE__));
    40 
    41         // Display an error message and stop execution
    42         wp_die(
    43             wp_kses(
    44                 // Error message with instructions to install WooCommerce and a link back to the plugins page
    45                 '<strong>Virfice:</strong> WooCommerce is required for this plugin to work. Please install and activate WooCommerce. <br><br> <a href="' . admin_url('plugins.php') . '">Go Back</a>',
    46                 array(
    47                     'strong' => array(), // Allowed HTML tags
    48                     'br'     => array(),
    49                     'a'      => array('href'),
    50                 )
    51             )
    52         );
    53     }
    54 
    55     // if (is_admin()) { // Check if in the admin area
    56     //     add_rewrite_rule(
    57     //         '^virfice$', // Custom URL: https://wordpress.test/virfice
    58     //         'wp-admin/admin.php?page=virfice', // Redirect target
    59     //         'top'
    60     //     );
    61     // }
    62     // flush_rewrite_rules(); // Saves changes to .htaccess
    6336}
    6437
     
    7750
    7851
    79 
    8052// Define plugin constants for easier reference
    81 define('VIRFICE_VERISION', '1.1.1'); // Plugin version
     53define('VIRFICE_VERISION', '1.1.2'); // Plugin version
    8254define('VIRFICE_DEBUG', false); // Plugin version
    8355define('VIRFICE_APP_NAME', 'Virfice'); // Plugin name
    8456define('VIRFICE_APP_PREFIX', 'virfice'); // Prefix for naming consistency
    8557define('VIRFICE_PLUGIN_ROOT', plugin_dir_path(__FILE__)); // Path to the plugin directory
     58define('VIRFICE_PLUGIN_BASE_FILE', plugin_basename(__FILE__)); // plugin base file: virfice/virfice.php
    8659define('VIRFICE_PLUGIN_VIEWS_ROOT', VIRFICE_PLUGIN_ROOT . 'src/views'); // Path to the plugin directory
    8760define('VIRFICE_PLUGIN_BASE', plugin_dir_url(__FILE__)); // URL of the plugin directory
Note: See TracChangeset for help on using the changeset viewer.