Current Path : /var/www/wptbox/wp-content/plugins/astra-sites/inc/lib/onboarding/assets/dist/onboarding/ |
Current File : /var/www/wptbox/wp-content/plugins/astra-sites/inc/lib/onboarding/assets/dist/onboarding/main.js |
(()=>{var __webpack_modules__={6997:(e,t,r)=>{(()=>{var t={820:(e,t,r)=>{var n=r(314),i=r(883);(t=n(!1)).i(i),t.push([e.id,".stc-button{margin:0;padding:0 10px;cursor:pointer;border-width:1px;white-space:nowrap;border-style:solid;text-decoration:none;display:inline-block;box-sizing:border-box;-webkit-appearance:none;color:var(--stc-color-white);font-size:var(--stc-font-size-xs);border-color:var(--stc-color-accent);min-height:var(--stc-font-line-height-l);border-radius:var(--stc-border-radius-3);background-color:var(--stc-color-accent)}.stc-button:hover,.stc-button:focus{border-color:var(--stc-color-accent-hover);background-color:var(--stc-color-accent-hover)}",""]),e.exports=t},283:(e,t,r)=>{var n=r(314),i=r(883);(t=n(!1)).i(i),t.push([e.id,".stc-category-list{display:flex}.stc-category-list-item{display:flex;cursor:pointer;padding:0px 10px;align-items:center;justify-content:space-between;color:rgba(49,42,64,.7)}.stc-category-list-item:hover .stc-category-list-title,.stc-category-list-item.active .stc-category-list-title{color:var(--stc-color-heading)}.stc-category-list-more{--stc-toggle-dropdown-selected-background: transparent;--stc-toggle-dropdown-popup-min-width: 220px;--stc-toggle-dropdown-popup-item-padding: 5px 17px;--stc-toggle-dropdown-popup-padding: 10px 0;--stc-toggle-dropdown-border-color: transparent;--stc-toggle-dropdown-selected-padding: 0;--stc-toggle-dropdown-popup-left: calc( 100% - var( --stc-toggle-dropdown-popup-min-width ) )}",""]),e.exports=t},632:(e,t,r)=>{var n=r(314),i=r(883);(t=n(!1)).i(i),t.push([e.id,'@keyframes stc-visible{0%{opacity:0;visibility:hidden}100%{opacity:1;visibility:visible}}.stc-grid-wrap{display:grid;grid-gap:2.5rem}.stc-grid-wrap.grid-1{grid-template-columns:repeat(1, 1fr)}.stc-grid-wrap.grid-2{grid-template-columns:repeat(2, 1fr)}.stc-grid-wrap.grid-3{grid-template-columns:repeat(3, 1fr)}.stc-grid-wrap.grid-4{grid-template-columns:repeat(4, 1fr)}.stc-grid-wrap.grid-5{grid-template-columns:repeat(5, 1fr)}.stc-grid-wrap.grid-6{grid-template-columns:repeat(6, 1fr)}.stc-grid-item-header{display:flex;align-items:center;justify-content:space-between;padding:16px 25px;border-top:1px solid #e9e9e9;position:absolute;bottom:0;width:100%;background-color:var(--stc-color-white);flex-direction:row;flex-wrap:nowrap}.stc-grid-item-title{margin:15px 0;text-align:center;color:var(--stc-color-body);font-size:var(--stc-font-size-m);font-weight:var(--stc-font-weight-bold);line-height:var(--stc-font-line-height-s)}.stc-grid-item{cursor:pointer;height:30vw}.stc-grid-item:hover .stc-grid-item-hover-button-wrap{animation:stc-visible .2s linear forwards}.stc-grid-item-screenshot{display:block;cursor:pointer;overflow:hidden;position:relative;background-size:100%;background-repeat:no-repeat;background-position:center top;background-color:var(--stc-background-secondary);border-top-left-radius:var(--stc-border-radius-2);border-top-right-radius:var(--stc-border-radius-2)}.stc-grid-item-screenshot:after{content:"";display:block;padding-top:118%}.stc-grid-site-screenshot{max-width:100%;background-color:var(--stc-background-secondary);border-top-left-radius:var(--stc-border-radius-2);border-top-right-radius:var(--stc-border-radius-2)}.stc-grid-item-inner{margin:0;max-height:100%;overflow:hidden;position:relative;transition:all .15s;box-sizing:border-box;background:var(--stc-color-white);border-radius:var(--stc-border-radius-5);border:1px solid var(--stc-color-light-gray)}.stc-grid-item-inner:hover{box-shadow:0 6px 14px rgba(0,0,0,.12)}.stc-grid-item-badge{background:#ffc107;color:#000;padding:4px 12px;font-size:var(--stc-font-size-xxs);top:0px;right:0px;text-transform:uppercase;position:absolute;z-index:1;border-radius:var(--stc-border-radius-2);font-weight:var(--stc-font-weight-extra-bold);letter-spacing:.3px}.stc-grid-favorite svg{width:16px;height:16px;cursor:pointer}.stc-grid-favorite svg path{fill:var(--stc-color-placeholder)}.stc-grid-favorite svg:hover path,.stc-grid-favorite.active svg path{fill:var(--stc-color-favorite)}.stc-grid-item-hover-button-wrap{display:flex;align-items:center;justify-content:center;position:absolute;left:0;background:var(--stc-background-primary);width:100%;height:auto;visibility:hidden;opacity:0}.stc-grid-item-hover-button{padding:7px 42px;background:var(--stc-color-accent);font-size:var(--stc-font-size-s);font-weight:var(--stc-font-weight-extra-bold);color:var(--stc-color-white);line-height:24px;text-decoration:none !important;border-radius:var(--stc-border-radius-4);box-shadow:0px 10px 10px -5px rgba(86,74,151,.5) !important}.stc-grid-item-hover-button:hover{background:var(--stc-color-accent-hover);color:var(--stc-color-white)}.stc-grid-item-hover-button-wrapper{justify-content:center;position:absolute;left:0;background:transparent;width:100%;height:auto;visibility:hidden;opacity:0;top:35%;bottom:50%;font-weight:600;font-size:16px;line-height:24px;align-items:center;text-align:center;z-index:3}.st-template-page-builder-wrap{display:flex;align-content:center;justify-content:center;align-items:center}.st-template-page-builder-wrap span:last-of-type{display:flex;align-items:center;padding-left:20px}.st-template-page-builder-wrap span>svg{width:25px;height:auto;margin:5px;border-radius:50%}.st-template-page-builder-wrap span>svg:last-of-type{margin-right:0}.stc-grid-item-screenshot-wrap{position:relative}.stc-grid-item-blur{background:rgba(255,255,255,.8);z-index:2;position:absolute;inset:0;opacity:0;transition:opacity 150ms linear}@media(max-width: 1280px){.stc-grid-item{height:45vw}}@media(max-width: 991px){.stc-grid-item{height:60vw}}@media(max-width: 767px){.stc-grid-item{height:120vw}}',""]),e.exports=t},664:(e,t,r)=>{var n=r(314),i=r(883);(t=n(!1)).i(i),t.push([e.id,".stc-logo{display:flex;align-items:center}.stc-logo-image{width:var(--stc-logo-width, 34px);height:var(--stc-logo-height, 34px);border-radius:var(--stc-logo-border-raidus, 0)}.stc-logo-text{margin-left:8px;color:var(--stc-color-body);font-size:var(--stc-font-size-xs);font-weight:var(--stc-font-weight-normal);line-height:var(--stc-font-line-height-xs)}",""]),e.exports=t},690:(e,t,r)=>{(t=r(314)(!1)).push([e.id,".stc-mega-menu-wrap{text-align:left}.stc-mega-menu-toggle{background:var(--stc-color-white);border:1px solid var(--stc-border-color);border-radius:var(--stc-border-radius-2);fill:var(--stc-color-placeholder);padding:10px 13px;box-sizing:border-box;cursor:pointer;display:none}.stc-mega-menu-group,.stc-mega-menu-more-group{background:var(--stc-color-white);box-shadow:0 2px 4px -1px rgba(0,0,0,.1),0 4px 6px rgba(0,0,0,.1);border-radius:0 0 var(--stc-border-radius-4) var(--stc-border-radius-4);padding:18px 22px 22px 22px;left:-22px;z-index:9;display:flex;flex-wrap:wrap;margin:var(--stc-mega-menu-group-margin, 0)}.stc-mega-menu-group.stc-mega-menu-group-two-col,.stc-mega-menu-more-group.stc-mega-menu-group-two-col{width:400px}.stc-mega-menu-item{position:relative;white-space:nowrap}.stc-mega-menu-item:hover>.stc-mega-menu-group,.stc-mega-menu-item:hover>.stc-mega-menu-more-group{visibility:visible;opacity:1}.stc-mega-menu-item:last-child{margin-right:0}.stc-mega-more-menu-section{position:relative;white-space:nowrap}.stc-mega-more-menu-section:hover>.stc-mega-menu-group{visibility:visible;opacity:1}.stc-mega-menu-section-title,.stc-mega-more-menu-section-title{font-weight:600;font-size:var(--stc-font-size-xs);line-height:var(--stc-font-line-height-xs);display:flex;align-items:center;color:var(--stc-color-heading);margin-bottom:6px}.stc-mega-menu-children{color:var(--stc-color-body);font-weight:normal;font-size:var(--stc-font-size-xs);line-height:var(--stc-font-line-height-xs)}.stc-mega-menu-child-item{margin-bottom:6px;cursor:pointer;font-size:13px}.stc-mega-menu-child-item.stc-mega-menu-child-item-active,.stc-mega-menu-child-item:hover{color:var(--stc-color-accent-hover)}.stc-mega-menu-child-item:last-child{margin-bottom:0}.stc-mega-menu-item:hover>.stc-mega-menu-item-title,.stc-mega-menu-item-active>.stc-mega-menu-item-title{border-bottom-color:var(--stc-color-heading)}.stc-mega-menu-item-title{cursor:pointer;border-bottom:2px solid transparent;display:inline-block;font-size:15px;margin:var(--stc-mega-menu-item-title-margin, 0 20px 0 0);padding:var(--stc-mega-menu-item-title-padding, 0 0 20px 0)}.stc-mega-menu-item-title svg{width:10px;height:10px;fill:var(--stc-color-placeholder);margin-left:10px}.stc-mega-menu-item-title:hover svg{fill:var(--stc-color-heading)}.stc-mega-more-menu-item-title svg{transform:rotate(270deg)}.stc-mega-menu-item-active svg{fill:var(--stc-color-heading)}@media(min-width: 768px){.stc-mega-menu{display:flex;position:relative}.stc-mega-menu-group,.stc-mega-menu-more-group{position:absolute;top:100%;opacity:0;visibility:hidden;width:230px}.stc-mega-menu-more-group{width:192px;padding:4px;border-radius:6px;background:#fff;border:1px solid #d8dfe9;box-shadow:0px 10px 15px -3px #0000001A}.stc-mega-more-menu-section{padding:6px 8px 6px 10px;border-radius:4px}.stc-mega-more-menu-section:hover{background:#f6fafe;width:100%}.stc-mega-more-menu-section .stc-mega-more-menu-item-title{font-size:14px;line-height:20px}.stc-more-group{width:168px;border-radius:6px;background:#fff;border:1px solid #d8dfe9;box-shadow:0px 10px 15px -3px #0000001A;left:160px;top:-22px;padding:0}.stc-more-group .stc-mega-menu-section{border-bottom:1px solid #d8dfe9;width:100%}.stc-more-group .stc-mega-menu-section .stc-mega-menu-section-title,.stc-more-group .stc-mega-menu-section .stc-mega-menu-child-item{padding:6px 8px 6px 10px;border-radius:4px;margin-bottom:0px;font-size:14px;line-height:20px}.stc-mega-menu-group-col-2,.stc-mega-menu-group-col-3{width:400px}.stc-mega-menu-group-col-2 .stc-mega-menu-section,.stc-mega-menu-group-col-3 .stc-mega-menu-section{width:50%}.stc-mega-menu-group-col-2 .stc-mega-menu-section:nth-child(1),.stc-mega-menu-group-col-2 .stc-mega-menu-section:nth-child(2),.stc-mega-menu-group-col-3 .stc-mega-menu-section:nth-child(1),.stc-mega-menu-group-col-3 .stc-mega-menu-section:nth-child(2){padding-bottom:20px}.stc-mega-menu-group-col-2 .stc-mega-menu-section:nth-child(1),.stc-mega-menu-group-col-2 .stc-mega-menu-section:nth-child(3),.stc-mega-menu-group-col-3 .stc-mega-menu-section:nth-child(1),.stc-mega-menu-group-col-3 .stc-mega-menu-section:nth-child(3){border-right:1px solid var(--stc-color-light-gray)}.stc-mega-menu-group-col-2 .stc-mega-menu-section:nth-child(2),.stc-mega-menu-group-col-2 .stc-mega-menu-section:nth-child(4),.stc-mega-menu-group-col-3 .stc-mega-menu-section:nth-child(2),.stc-mega-menu-group-col-3 .stc-mega-menu-section:nth-child(4){padding-left:25px}}@media(max-width: 767px){.stc-mega-menu-item-title{font-weight:var(--stc-font-weight-bold);font-size:var(--stc-font-size-m);line-height:var(--stc-font-line-height-xs);color:var(--stc-color-heading);margin-bottom:8px;padding:0}.stc-mega-menu-section-title{color:var(--stc-color-placeholder);font-size:var(--stc-font-size-s)}.stc-mega-menu-container{display:none}.stc-mega-menu-show .stc-mega-menu-container{display:block}.stc-mega-menu-toggle{display:inline-block}.stc-mega-menu-item-title svg{display:none}.stc-mega-menu-item{margin-bottom:38px}.stc-mega-menu-group{background:transparent;box-shadow:none;border-radius:initial;padding:0;margin:0;width:100%;flex-direction:column}.stc-mega-menu-group-col-2 .stc-mega-menu-section:nth-child(2),.stc-mega-menu-group-col-2 .stc-mega-menu-section:nth-child(4),.stc-mega-menu-group-col-3 .stc-mega-menu-section:nth-child(2),.stc-mega-menu-group-col-3 .stc-mega-menu-section:nth-child(4){padding:0}.stc-mega-menu-container{background:var(--stc-color-white);box-shadow:0 2px 4px -1px rgba(0,0,0,.1),0 4px 6px rgba(0,0,0,.1);border-radius:0 0 var(--stc-border-radius-4) var(--stc-border-radius-4);padding:37px 45px;position:absolute;left:0;right:0;z-index:2;margin-top:15px;overflow-y:auto;height:50vh}.stc-mega-menu-section{width:100%;margin-bottom:15px}.stc-mega-menu-section:last-child{margin-bottom:0}}",""]),e.exports=t},974:(e,t,r)=>{(t=r(314)(!1)).push([e.id,".stc-sites-no-results{border-bottom:1px solid var(--stc-border-color);box-sizing:border-box;padding:var(--stc-sites-no-results-padding, 30px 30px 30px 0);text-align:left;background:var(--stc-background-secondary)}",""]),e.exports=t},140:(e,t,r)=>{var n=r(314),i=r(883);(t=n(!1)).i(i),t.push([e.id,".stc-search{display:inline-block;position:relative}.stc-search .stc-search-input{width:740px;padding:5px 15px;opacity:1;font-size:var(--stc-font-size-s);border:var(--stc-search-input-border, none);background:var(--stc-background-primary, #FFF);box-shadow:0px 10px 65px -10px rgba(0,0,0,.12);height:var(--stc-search-input-height, 50px)}.stc-search .stc-search-input:focus{outline:none;border:var(--stc-search-input--focus-border, none)}.stc-search .stc-search-input:hover,.stc-search .stc-search-input:active,.stc-search .stc-search-input:focus{box-shadow:0px 10px 65px -10px rgba(0,0,0,.12)}.stc-search .stc-search-input::-webkit-input-placeholder{color:var(--stc-color-placeholder);font-size:var(--stc-font-size-xs)}.stc-search .stc-search-input::-webkit-search-cancel-button{display:none}.stc-search.stc-search-have-input .stc-search-input:focus+.stc-search-icon,.stc-search.stc-search-have-input .stc-search-input:hover+.stc-search-icon{--stc-search-icon-opacity: 0;--stc-search-icon-visibility: hidden}.stc-search-icon,.stc-cross-icon{top:0;bottom:0;padding:0;left:18px;border:none;line-height:0;position:absolute;background:var(--stc-search-icon-background, 0 0);color:var(--stc-color-light-gray);opacity:var(--stc-search-icon-opacity, 1);visibility:var(--stc-search-icon-visibility, visible)}.stc-search-icon:focus,.stc-search-icon:hover,.stc-cross-icon:focus,.stc-cross-icon:hover{background:transparent;box-shadow:none}.stc-search-icon svg,.stc-cross-icon svg{fill:var(--stc-color-placeholder)}.stc-search-icon svg{width:14px}.stc-cross-icon{display:none;cursor:pointer}.stc-search-have-input .stc-cross-icon{display:block}.stc-search-have-input .stc-search-icon{display:none}",""]),e.exports=t},123:(e,t,r)=>{(t=r(314)(!1)).push([e.id,".stc-mega-menu-filter{--stc-mega-menu-item-title-margin: 0px 20px -20px 0px;--stc-mega-menu-item-title-padding: 0px 0px 15px 0px;--stc-mega-menu-group-margin: 18px 0px 0px 0px}",""]),e.exports=t},278:(e,t,r)=>{(t=r(314)(!1)).push([e.id,".stc-suggestion-list{border:1px solid var(--stc-border-color);font-size:var(--stc-font-size-xs);line-height:var(--stc-font-line-height-xs);color:var(--stc-border-color);max-width:var(--stc-suggestion-list-max-width, 100%);text-align:var(--stc-suggestion-list-text-align, left);z-index:var(--stc-suggestion-list-z-index, 10);background:var(--stc-suggestion-list-background, var(--stc-color-white));position:var(--stc-suggestion-list-position, relative);left:var(--stc-suggestion-list-left, 0);right:var(--stc-suggestion-list-right, 0);border-radius:var(--stc-suggestion-list-border-radius, 0);padding:0;margin:0}.stc-suggession{cursor:pointer;padding:9px 22px;font-size:var(--stc-font-size-s);color:rgba(75,85,99,.5)}.stc-suggession:hover{background:var(--stc-background-light)}.stc-suggestion-highlight{color:var(--stc-color-heading)}",""]),e.exports=t},340:(e,t,r)=>{(t=r(314)(!1)).push([e.id,".st-toaster{display:flex;align-items:center;justify-content:space-between;width:max-content;max-width:20.125rem;padding:1rem;background-color:var(--st-background-primary);box-shadow:0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -2px rgba(0,0,0,.05);border:1px solid #ddd;border-radius:var(--stc-border-radius-4);position:fixed;z-index:999}.st-toaster.bottom-right,.st-toaster.bottom-center,.st-toaster.bottom-left{bottom:12%}.st-toaster.bottom-right{right:2%;left:auto}.st-toaster.bottom-center{right:50%;left:auto;transform:translateX(50%)}.st-toaster.bottom-left{left:2%;right:auto}.st-toaster.top-right,.st-toaster.top-center,.st-toaster.top-left{top:12%}.st-toaster.top-left{left:2%;right:auto}.st-toaster.top-center{left:50%;right:auto;transform:translateX(-50%)}.st-toaster.top-right{right:2%;left:auto}.st-toaster.left-center{top:50%;left:2%;transform:translateY(-50%)}.st-toaster .content{display:flex}.st-toaster .content .status-icon svg{width:1.25rem;height:1.25rem}.st-toaster .content .status-icon.success{color:var(--st-context-success-color, #39b54a)}.st-toaster .content .status-icon.failed{color:var(--st-context-error-color, #d72b3f)}.st-toaster .content .message{display:flex;margin-left:.625rem}.st-toaster .toaster-close{display:flex;margin-left:1rem}.st-toaster .toaster-close .close-btn{cursor:pointer;padding:0;margin:0;background:none;border:none}.st-toaster .toaster-close .close-btn svg{width:1.25rem;height:1.25rem;fill:var(--st-color-placeholder, #6B7280)}.st-toaster.visible{animation:toaster-in .3s linear forwards}.st-toaster.hidden{animation:toaster-out .3s linear forwards}@keyframes toaster-in{from{opacity:0}to{opacity:1}}@keyframes toaster-out{from{opacity:1;visibility:visible}to{opacity:0;visibility:hidden}}",""]),e.exports=t},694:(e,t,r)=>{var n=r(314),i=r(883);(t=n(!1)).i(i),t.push([e.id,".stc-toggle-dropdown{--stc-logo-width: 20px;--stc-logo-height: 20px;--stc-logo-border-raidus: 50%;position:relative}.stc-toggle-dropdown-popup{right:0;position:absolute;z-index:99;background:var(--stc-color-white);box-shadow:1px 2px 5px 1px rgba(0,0,0,.15);top:var(--stc-toggle-dropdown-popup-top, 100%);left:var(--stc-toggle-dropdown-popup-left, 0);text-align:left;padding:var(--stc-toggle-dropdown-popup-padding, 0);border-radius:var(--stc-border-radius-4);min-width:var(--stc-toggle-dropdown-popup-min-width, auto)}.stc-toggle-dropdown-popup-item{margin:var(--stc-toggle-dropdown-popup-item-margin, 0 0 5px 0);cursor:var(--stc-toggle-dropdown-popup-item-cursor, initial);padding:var(--stc-toggle-dropdown-popup-item-padding, 12px 8px);margin-bottom:0}.stc-toggle-dropdown-popup-item:last-child{margin-bottom:0}.stc-toggle-dropdown-popup-item:last-child:hover,.stc-toggle-dropdown-popup-item:last-child.active{border-radius:0 0 var(--stc-border-radius-4) var(--stc-border-radius-4)}.stc-toggle-dropdown-popup-item:hover,.stc-toggle-dropdown-popup-item.active{background-color:var(--stc-background-light)}.stc-toggle-dropdown-selected{border:1px solid var(--stc-toggle-dropdown-border-color, var(--stc-border-color));background:var(--stc-toggle-dropdown-selected-background, var(--stc-color-white));padding:var(--stc-toggle-dropdown-selected-padding, 6px 10px 6px 16px);border-radius:var(--stc-border-radius-4);font-size:var(--stc-font-size-xs);line-height:var(--stc-font-line-height-xs);color:var(--stc-color-body);display:flex;align-items:center;justify-content:space-between;cursor:pointer}.stc-toggle-dropdown-selected svg{margin-left:10px;height:var(--stc-toggle-dropdown-icon-height, 6px);fill:var(--stc-color-body)}",""]),e.exports=t},55:(e,t,r)=>{(t=r(314)(!1)).push([e.id,".stc-tooltip{position:relative}.stc-tooltip-visible{opacity:1;visibility:visible}.stc-tooltip-hidden{opacity:0;visibility:hidden}.stc-tooltip-content{position:absolute;right:0;z-index:99;color:#fff;box-shadow:0px 4px 8px -2px rgba(9,30,66,.25),0px 0px 1px rgba(9,30,66,.31);font-weight:400;line-height:1;text-align:center;min-width:max-content;border-radius:2px;background:var(--stc-color-heading);font-size:13px;top:55%;right:100%;padding:6px 12px}",""]),e.exports=t},883:(e,t,r)=>{(t=r(314)(!1)).push([e.id,"body {\n\t/* Colors */\n --stc-color-accent: #2563EB;\n --stc-color-accent-hover: #1D4ED8;\n --stc-color-accent-2: #492CDD;\n --stc-color-heading: #1F2937;\n --stc-color-body: #4B5563;\n --stc-color-light-gray: #E5E7EB;\n --stc-color-placeholder: #BDBDC7;\n --stc-color-white: #FFFFFF;\n --stc-color-favorite: #E91E63;\n --stc-background-secondary: #F7F7F9;\n --stc-background-primary: #FFFFFF;\n --stc-background-light: #F9FAFB;\n --stc-icon-color: #C6C6D1;\n\n /* Font sizes */\n --stc-font-size-xxl: 30px;\n --stc-font-size-xl: 24px;\n --stc-font-size-l: 20px;\n --stc-font-size-m: 18px;\n --stc-font-size-s: 16px;\n --stc-font-size-xs: 14px;\n --stc-font-size-xxs: 11px;\n\n\n /** Font Weight */\n --stc-font-weight-extra-bold: 600;\n --stc-font-weight-bold: 500;\n --stc-font-weight-normal: 400;\n\n /** Font Line Height */\n --stc-font-line-height-xl: 36px;\n --stc-font-line-height-l: 32px;\n --stc-font-line-height-m: 28px;\n --stc-font-line-height-s: 24px;\n --stc-font-line-height-xs: 20px;\n\n /** Border */\n --stc-border-color: #D1D5DB;\n --stc-border-color-2: #C4C7CC;\n --stc-border-radius-5: 5px;\n --stc-border-radius-4: 4px;\n --stc-border-radius-3: 3px;\n --stc-border-radius-2: 2px;\n --stc-border-radius-1: 1px;\n}\n",""]),e.exports=t},314:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var r=function(e,t){var r,n,i,a=e[1]||"",s=e[3];if(!s)return a;if(t&&"function"==typeof btoa){var o=(r=s,n=btoa(unescape(encodeURIComponent(JSON.stringify(r)))),i="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(n),"/*# ".concat(i," */")),l=s.sources.map((function(e){return"/*# sourceURL=".concat(s.sourceRoot||"").concat(e," */")}));return[a].concat(l).concat([o]).join("\n")}return[a].join("\n")}(t,e);return t[2]?"@media ".concat(t[2]," {").concat(r,"}"):r})).join("")},t.i=function(e,r,n){"string"==typeof e&&(e=[[null,e,""]]);var i={};if(n)for(var a=0;a<this.length;a++){var s=this[a][0];null!=s&&(i[s]=!0)}for(var o=0;o<e.length;o++){var l=[].concat(e[o]);n&&i[l[0]]||(r&&(l[2]?l[2]="".concat(r," and ").concat(l[2]):l[2]=r),t.push(l))}},t}},604:(e,t,r)=>{var n;!function(){"use strict";var i={not_string:/[^s]/,not_bool:/[^t]/,not_type:/[^T]/,not_primitive:/[^v]/,number:/[diefg]/,numeric_arg:/[bcdiefguxX]/,json:/[j]/,not_json:/[^j]/,text:/^[^\x25]+/,modulo:/^\x25{2}/,placeholder:/^\x25(?:([1-9]\d*)\$|\(([^)]+)\))?(\+)?(0|'[^$])?(-)?(\d+)?(?:\.(\d+))?([b-gijostTuvxX])/,key:/^([a-z_][a-z_\d]*)/i,key_access:/^\.([a-z_][a-z_\d]*)/i,index_access:/^\[(\d+)\]/,sign:/^[+-]/};function a(e){return function(e,t){var r,n,s,o,l,c,u,p,d,f=1,h=e.length,m="";for(n=0;n<h;n++)if("string"==typeof e[n])m+=e[n];else if("object"==typeof e[n]){if((o=e[n]).keys)for(r=t[f],s=0;s<o.keys.length;s++){if(null==r)throw new Error(a('[sprintf] Cannot access property "%s" of undefined value "%s"',o.keys[s],o.keys[s-1]));r=r[o.keys[s]]}else r=o.param_no?t[o.param_no]:t[f++];if(i.not_type.test(o.type)&&i.not_primitive.test(o.type)&&r instanceof Function&&(r=r()),i.numeric_arg.test(o.type)&&"number"!=typeof r&&isNaN(r))throw new TypeError(a("[sprintf] expecting number but found %T",r));switch(i.number.test(o.type)&&(p=r>=0),o.type){case"b":r=parseInt(r,10).toString(2);break;case"c":r=String.fromCharCode(parseInt(r,10));break;case"d":case"i":r=parseInt(r,10);break;case"j":r=JSON.stringify(r,null,o.width?parseInt(o.width):0);break;case"e":r=o.precision?parseFloat(r).toExponential(o.precision):parseFloat(r).toExponential();break;case"f":r=o.precision?parseFloat(r).toFixed(o.precision):parseFloat(r);break;case"g":r=o.precision?String(Number(r.toPrecision(o.precision))):parseFloat(r);break;case"o":r=(parseInt(r,10)>>>0).toString(8);break;case"s":r=String(r),r=o.precision?r.substring(0,o.precision):r;break;case"t":r=String(!!r),r=o.precision?r.substring(0,o.precision):r;break;case"T":r=Object.prototype.toString.call(r).slice(8,-1).toLowerCase(),r=o.precision?r.substring(0,o.precision):r;break;case"u":r=parseInt(r,10)>>>0;break;case"v":r=r.valueOf(),r=o.precision?r.substring(0,o.precision):r;break;case"x":r=(parseInt(r,10)>>>0).toString(16);break;case"X":r=(parseInt(r,10)>>>0).toString(16).toUpperCase()}i.json.test(o.type)?m+=r:(!i.number.test(o.type)||p&&!o.sign?d="":(d=p?"+":"-",r=r.toString().replace(i.sign,"")),c=o.pad_char?"0"===o.pad_char?"0":o.pad_char.charAt(1):" ",u=o.width-(d+r).length,l=o.width&&u>0?c.repeat(u):"",m+=o.align?d+r+l:"0"===c?d+l+r:l+d+r)}return m}(function(e){if(o[e])return o[e];for(var t,r=e,n=[],a=0;r;){if(null!==(t=i.text.exec(r)))n.push(t[0]);else if(null!==(t=i.modulo.exec(r)))n.push("%");else{if(null===(t=i.placeholder.exec(r)))throw new SyntaxError("[sprintf] unexpected placeholder");if(t[2]){a|=1;var s=[],l=t[2],c=[];if(null===(c=i.key.exec(l)))throw new SyntaxError("[sprintf] failed to parse named argument key");for(s.push(c[1]);""!==(l=l.substring(c[0].length));)if(null!==(c=i.key_access.exec(l)))s.push(c[1]);else{if(null===(c=i.index_access.exec(l)))throw new SyntaxError("[sprintf] failed to parse named argument key");s.push(c[1])}t[2]=s}else a|=2;if(3===a)throw new Error("[sprintf] mixing positional and named placeholders is not (yet) supported");n.push({placeholder:t[0],param_no:t[1],keys:t[2],sign:t[3],pad_char:t[4],align:t[5],width:t[6],precision:t[7],type:t[8]})}r=r.substring(t[0].length)}return o[e]=n}(e),arguments)}function s(e,t){return a.apply(null,[e].concat(t||[]))}var o=Object.create(null);t.sprintf=a,t.vsprintf=s,"undefined"!=typeof window&&(window.sprintf=a,window.vsprintf=s,void 0===(n=function(){return{sprintf:a,vsprintf:s}}.call(t,r,t,e))||(e.exports=n))}()},177:(e,t,r)=>{var n=r(72),i=r(820);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[e.id,i,""]]),n(i,{insert:"head",singleton:!1}),e.exports=i.locals||{}},148:(e,t,r)=>{var n=r(72),i=r(283);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[e.id,i,""]]),n(i,{insert:"head",singleton:!1}),e.exports=i.locals||{}},561:(e,t,r)=>{var n=r(72),i=r(632);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[e.id,i,""]]),n(i,{insert:"head",singleton:!1}),e.exports=i.locals||{}},142:(e,t,r)=>{var n=r(72),i=r(664);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[e.id,i,""]]),n(i,{insert:"head",singleton:!1}),e.exports=i.locals||{}},437:(e,t,r)=>{var n=r(72),i=r(690);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[e.id,i,""]]),n(i,{insert:"head",singleton:!1}),e.exports=i.locals||{}},189:(e,t,r)=>{var n=r(72),i=r(974);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[e.id,i,""]]),n(i,{insert:"head",singleton:!1}),e.exports=i.locals||{}},729:(e,t,r)=>{var n=r(72),i=r(140);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[e.id,i,""]]),n(i,{insert:"head",singleton:!1}),e.exports=i.locals||{}},986:(e,t,r)=>{var n=r(72),i=r(123);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[e.id,i,""]]),n(i,{insert:"head",singleton:!1}),e.exports=i.locals||{}},85:(e,t,r)=>{var n=r(72),i=r(278);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[e.id,i,""]]),n(i,{insert:"head",singleton:!1}),e.exports=i.locals||{}},899:(e,t,r)=>{var n=r(72),i=r(340);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[e.id,i,""]]),n(i,{insert:"head",singleton:!1}),e.exports=i.locals||{}},557:(e,t,r)=>{var n=r(72),i=r(694);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[e.id,i,""]]),n(i,{insert:"head",singleton:!1}),e.exports=i.locals||{}},416:(e,t,r)=>{var n=r(72),i=r(55);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[e.id,i,""]]),n(i,{insert:"head",singleton:!1}),e.exports=i.locals||{}},72:(e,t,r)=>{"use strict";var n,i=function(){var e={};return function(t){if(void 0===e[t]){var r=document.querySelector(t);if(window.HTMLIFrameElement&&r instanceof window.HTMLIFrameElement)try{r=r.contentDocument.head}catch(e){r=null}e[t]=r}return e[t]}}(),a=[];function s(e){for(var t=-1,r=0;r<a.length;r++)if(a[r].identifier===e){t=r;break}return t}function o(e,t){for(var r={},n=[],i=0;i<e.length;i++){var o=e[i],l=t.base?o[0]+t.base:o[0],c=r[l]||0,u="".concat(l," ").concat(c);r[l]=c+1;var p=s(u),d={css:o[1],media:o[2],sourceMap:o[3]};-1!==p?(a[p].references++,a[p].updater(d)):a.push({identifier:u,updater:m(d,t),references:1}),n.push(u)}return n}function l(e){var t=document.createElement("style"),n=e.attributes||{};if(void 0===n.nonce){var a=r.nc;a&&(n.nonce=a)}if(Object.keys(n).forEach((function(e){t.setAttribute(e,n[e])})),"function"==typeof e.insert)e.insert(t);else{var s=i(e.insert||"head");if(!s)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");s.appendChild(t)}return t}var c,u=(c=[],function(e,t){return c[e]=t,c.filter(Boolean).join("\n")});function p(e,t,r,n){var i=r?"":n.media?"@media ".concat(n.media," {").concat(n.css,"}"):n.css;if(e.styleSheet)e.styleSheet.cssText=u(t,i);else{var a=document.createTextNode(i),s=e.childNodes;s[t]&&e.removeChild(s[t]),s.length?e.insertBefore(a,s[t]):e.appendChild(a)}}function d(e,t,r){var n=r.css,i=r.media,a=r.sourceMap;if(i?e.setAttribute("media",i):e.removeAttribute("media"),a&&"undefined"!=typeof btoa&&(n+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(a))))," */")),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}var f=null,h=0;function m(e,t){var r,n,i;if(t.singleton){var a=h++;r=f||(f=l(t)),n=p.bind(null,r,a,!1),i=p.bind(null,r,a,!0)}else r=l(t),n=d.bind(null,r,t),i=function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(r)};return n(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;n(e=t)}else i()}}e.exports=function(e,t){(t=t||{}).singleton||"boolean"==typeof t.singleton||(t.singleton=(void 0===n&&(n=Boolean(window&&document&&document.all&&!window.atob)),n));var r=o(e=e||[],t);return function(e){if(e=e||[],"[object Array]"===Object.prototype.toString.call(e)){for(var n=0;n<r.length;n++){var i=s(r[n]);a[i].references--}for(var l=o(e,t),c=0;c<r.length;c++){var u=s(r[c]);0===a[u].references&&(a[u].updater(),a.splice(u,1))}r=l}}}},563:e=>{"use strict";e.exports=JSON.parse('[{"ID":9888,"title":"Business","parent":"0","children":[{"ID":6771,"title":"Business","parent":"1","children":[{"ID":4523,"title":"Agency","parent":"2"},{"ID":7382,"title":"Restaurant","parent":"2"},{"ID":4232,"title":"Hotel & Travel","parent":"2"},{"ID":5398,"title":"Construction","parent":"2"},{"ID":673,"title":"Real Estate","parent":"2"},{"ID":3667,"title":"Transport","parent":"2"},{"ID":9928,"title":"Manufacturing","parent":"2"},{"ID":1998,"title":"Pets","parent":"2"},{"ID":8288,"title":"Gardening","parent":"2"},{"ID":9990,"title":"Landing Pages","parent":"2"}]}]},{"ID":1373,"title":"Local Business","parent":"0","children":[{"ID":4714,"title":"Local Business","parent":"0","children":[{"ID":5547,"title":"Electrician","parent":"13"},{"ID":4720,"title":"Plumber","parent":"13"},{"ID":4528,"title":"AC Technician","parent":"13"},{"ID":4032,"title":"Roofing Services","parent":"13"},{"ID":2650,"title":"Courier Delivery","parent":"13"},{"ID":8189,"title":"Movers","parent":"13"},{"ID":121,"title":"Cleaning Services","parent":"13"},{"ID":3608,"title":"Transport","parent":"13"},{"ID":5346,"title":"Catering","parent":"13"},{"ID":3057,"title":"Car Garage","parent":"13"}]}]},{"ID":3502,"title":"Personal Care","parent":"0","children":[{"ID":7110,"title":"Personal Care","parent":"0","children":[{"ID":4687,"title":"Salon","parent":"24"},{"ID":1983,"title":"Beauty","parent":"24"},{"ID":8916,"title":"Fitness","parent":"24"},{"ID":2870,"title":"Yoga","parent":"24"},{"ID":7507,"title":"Spa & Massage","parent":"24"}]}]},{"ID":23,"title":"Professionals","parent":"0","children":[{"ID":5502,"title":"Professionals","parent":"0","children":[{"ID":6825,"title":"Finance","parent":"30"},{"ID":2015,"title":"Accountant","parent":"30"},{"ID":1815,"title":"Law","parent":"30"},{"ID":5330,"title":"Coach","parent":"30"},{"ID":8139,"title":"Medical","parent":"30"},{"ID":4121,"title":"Photography","parent":"30"},{"ID":2605,"title":"Consultant","parent":"30"},{"ID":2864,"title":"Interior Designer","parent":"30"},{"ID":4900,"title":"Web Designer","parent":"30"}]}]},{"ID":5770,"title":"Personal Sites","parent":"0","children":[{"ID":9870,"title":"Personal Sites","parent":"0","children":[{"ID":6211,"title":"Portfolio & CV","parent":"40"},{"ID":1768,"title":"Photographer","parent":"40"},{"ID":3180,"title":"Artist","parent":"40"},{"ID":2923,"title":"Author","parent":"40"},{"ID":1650,"title":"Musician","parent":"40"}]}]},{"ID":5358,"title":"Community","parent":"0","children":[{"ID":9049,"title":"Institutes","parent":"46","children":[{"ID":4882,"title":"Preschool","parent":"46"},{"ID":3596,"title":"School","parent":"46"},{"ID":8436,"title":"Kindergarten","parent":"46"},{"ID":4607,"title":"University","parent":"46"}]},{"ID":4677,"title":"Non Profit","parent":"0","children":[{"ID":3816,"title":"Church","parent":"52"},{"ID":6629,"title":"Charity","parent":"52"}]},{"ID":1736,"title":"Events","parent":"0","children":[{"ID":3629,"title":"Wedding","parent":"56"},{"ID":556,"title":"Conference","parent":"56"},{"ID":7875,"title":"Celebrations","parent":"56"}]}]},{"ID":2438,"title":"E-Commerce","parent":"0","children":[{"ID":2306,"title":"Online Store","parent":"60","children":[{"ID":6285,"title":"Online Shop","parent":"60"},{"ID":78,"title":"Clothing store","parent":"60"},{"ID":5341,"title":"Jewelry store","parent":"60"},{"ID":5312,"title":"Sports store","parent":"60"},{"ID":3310,"title":"Book store","parent":"60"}]},{"ID":3751,"title":"E-Learning","parent":"60","children":[{"ID":5309,"title":"Online Courses","parent":"66"},{"ID":6030,"title":"Course Marketplace","parent":"66"},{"ID":5771,"title":"LMS","parent":"66"}]}]},{"ID":24381,"title":"Blog","parent":"0","children":[{"ID":2306,"title":"Blog","parent":"60","children":[{"ID":6285,"title":"Blogger","parent":"60"},{"ID":78,"title":"Food Blog","parent":"60"},{"ID":5341,"title":"Travel Blog","parent":"60"},{"ID":5312,"title":"News Site","parent":"60"},{"ID":3310,"title":"Magazine","parent":"60"},{"ID":5309,"title":"Fashion Blog","parent":"66"},{"ID":6030,"title":"Influence Blog","parent":"66"},{"ID":5771,"title":"Podcast","parent":"66"}]}]}]')}},n={};function i(e){var r=n[e];if(void 0!==r)return r.exports;var a=n[e]={id:e,exports:{}};return t[e](a,a.exports,i),a.exports}i.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return i.d(t,{a:t}),t},i.d=(e,t)=>{for(var r in t)i.o(t,r)&&!i.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.nc=void 0;var a={};(()=>{"use strict";i.r(a),i.d(a,{Button:()=>n,CategoryList:()=>ie,Grid:()=>ee,Logo:()=>de,MegaMenu:()=>Ee,NoResultFound:()=>be,PremiumBadge:()=>ke,Search:()=>te,SiteBusinessType:()=>Ce,SiteOrder:()=>ye,SiteType:()=>ve,SuggestionList:()=>fe,Toaster:()=>ge,ToggleDropdown:()=>ue,Tooltip:()=>K});const e=r(1609);var t=i.n(e);i(177);const n=function(e){var r=e.children;return t().createElement("button",{className:"stc-button"},r)};let s;function o(e){if("string"!=typeof e||-1===e.indexOf("&"))return e;void 0===s&&(s=document.implementation&&document.implementation.createHTMLDocument?document.implementation.createHTMLDocument("").createElement("textarea"):document.createElement("textarea")),s.innerHTML=e;const t=s.textContent;return s.innerHTML="",t}var l=i(604),c=i.n(l);const u=function(e,t){var r,n,i=0;function a(){var a,s,o=r,l=arguments.length;e:for(;o;){if(o.args.length===arguments.length){for(s=0;s<l;s++)if(o.args[s]!==arguments[s]){o=o.next;continue e}return o!==r&&(o===n&&(n=o.prev),o.prev.next=o.next,o.next&&(o.next.prev=o.prev),o.next=r,o.prev=null,r.prev=o,r=o),o.val}o=o.next}for(a=new Array(l),s=0;s<l;s++)a[s]=arguments[s];return o={args:a,val:e.apply(null,a)},r?(r.prev=o,o.next=r):n=o,i===t.maxSize?(n=n.prev).next=null:i++,r=o,o.val}return t=t||{},a.clear=function(){r=null,n=null,i=0},a}(console.error);var p,d,f,h;p={"(":9,"!":8,"*":7,"/":7,"%":7,"+":6,"-":6,"<":5,"<=":5,">":5,">=":5,"==":4,"!=":4,"&&":3,"||":2,"?":1,"?:":1},d=["(","?"],f={")":["("],":":["?","?:"]},h=/<=|>=|==|!=|&&|\|\||\?:|\(|!|\*|\/|%|\+|-|<|>|\?|\)|:/;var m={"!":function(e){return!e},"*":function(e,t){return e*t},"/":function(e,t){return e/t},"%":function(e,t){return e%t},"+":function(e,t){return e+t},"-":function(e,t){return e-t},"<":function(e,t){return e<t},"<=":function(e,t){return e<=t},">":function(e,t){return e>t},">=":function(e,t){return e>=t},"==":function(e,t){return e===t},"!=":function(e,t){return e!==t},"&&":function(e,t){return e&&t},"||":function(e,t){return e||t},"?:":function(e,t,r){if(e)throw t;return r}},g={contextDelimiter:"",onMissingKey:null};function y(e,t){var r;for(r in this.data=e,this.pluralForms={},this.options={},g)this.options[r]=void 0!==t&&r in t?t[r]:g[r]}y.prototype.getPluralForm=function(e,t){var r,n,i,a,s=this.pluralForms[e];return s||("function"!=typeof(i=(r=this.data[e][""])["Plural-Forms"]||r["plural-forms"]||r.plural_forms)&&(n=function(e){var t,r,n;for(t=e.split(";"),r=0;r<t.length;r++)if(0===(n=t[r].trim()).indexOf("plural="))return n.substr(7)}(r["Plural-Forms"]||r["plural-forms"]||r.plural_forms),a=function(e){var t=function(e){for(var t,r,n,i,a=[],s=[];t=e.match(h);){for(r=t[0],(n=e.substr(0,t.index).trim())&&a.push(n);i=s.pop();){if(f[r]){if(f[r][0]===i){r=f[r][1]||r;break}}else if(d.indexOf(i)>=0||p[i]<p[r]){s.push(i);break}a.push(i)}f[r]||s.push(r),e=e.substr(t.index+r.length)}return(e=e.trim())&&a.push(e),a.concat(s.reverse())}(e);return function(e){return function(e,t){var r,n,i,a,s,o,l=[];for(r=0;r<e.length;r++){if(s=e[r],a=m[s]){for(n=a.length,i=Array(n);n--;)i[n]=l.pop();try{o=a.apply(null,i)}catch(e){return e}}else o=t.hasOwnProperty(s)?t[s]:+s;l.push(o)}return l[0]}(t,e)}}(n),i=function(e){return+a({n:e})}),s=this.pluralForms[e]=i),s(t)},y.prototype.dcnpgettext=function(e,t,r,n,i){var a,s,o;return a=void 0===i?0:this.getPluralForm(e,i),s=r,t&&(s=t+this.options.contextDelimiter+r),(o=this.data[e][s])&&o[a]?o[a]:(this.options.onMissingKey&&this.options.onMissingKey(r,e),0===a?r:n)};const v={plural_forms:e=>1===e?0:1},b=/^i18n\.(n?gettext|has_translation)(_|$)/,x=function(e){return"string"!=typeof e||""===e?(console.error("The namespace must be a non-empty string."),!1):!!/^[a-zA-Z][a-zA-Z0-9_.\-\/]*$/.test(e)||(console.error("The namespace can only contain numbers, letters, dashes, periods, underscores and slashes."),!1)},w=function(e){return"string"!=typeof e||""===e?(console.error("The hook name must be a non-empty string."),!1):/^__/.test(e)?(console.error("The hook name cannot begin with `__`."),!1):!!/^[a-zA-Z][a-zA-Z0-9_.-]*$/.test(e)||(console.error("The hook name can only contain numbers, letters, dashes, periods and underscores."),!1)},E=function(e,t){return function(r,n,i,a=10){const s=e[t];if(!w(r))return;if(!x(n))return;if("function"!=typeof i)return void console.error("The hook callback must be a function.");if("number"!=typeof a)return void console.error("If specified, the hook priority must be a number.");const o={callback:i,priority:a,namespace:n};if(s[r]){const e=s[r].handlers;let t;for(t=e.length;t>0&&!(a>=e[t-1].priority);t--);t===e.length?e[t]=o:e.splice(t,0,o),s.__current.forEach((e=>{e.name===r&&e.currentIndex>=t&&e.currentIndex++}))}else s[r]={handlers:[o],runs:0};"hookAdded"!==r&&e.doAction("hookAdded",r,n,i,a)}},k=function(e,t,r=!1){return function(n,i){const a=e[t];if(!w(n))return;if(!r&&!x(i))return;if(!a[n])return 0;let s=0;if(r)s=a[n].handlers.length,a[n]={runs:a[n].runs,handlers:[]};else{const e=a[n].handlers;for(let t=e.length-1;t>=0;t--)e[t].namespace===i&&(e.splice(t,1),s++,a.__current.forEach((e=>{e.name===n&&e.currentIndex>=t&&e.currentIndex--})))}return"hookRemoved"!==n&&e.doAction("hookRemoved",n,i),s}},S=function(e,t){return function(r,n){const i=e[t];return void 0!==n?r in i&&i[r].handlers.some((e=>e.namespace===n)):r in i}},C=function(e,t,r=!1){return function(n,...i){const a=e[t];a[n]||(a[n]={handlers:[],runs:0}),a[n].runs++;const s=a[n].handlers;if(!s||!s.length)return r?i[0]:void 0;const o={name:n,currentIndex:0};for(a.__current.push(o);o.currentIndex<s.length;){const e=s[o.currentIndex].callback.apply(null,i);r&&(i[0]=e),o.currentIndex++}return a.__current.pop(),r?i[0]:void 0}},A=function(e,t){return function(){var r;const n=e[t];return null!==(r=n.__current[n.__current.length-1]?.name)&&void 0!==r?r:null}},P=function(e,t){return function(r){const n=e[t];return void 0===r?void 0!==n.__current[0]:!!n.__current[0]&&r===n.__current[0].name}},_=function(e,t){return function(r){const n=e[t];if(w(r))return n[r]&&n[r].runs?n[r].runs:0}},T=new class{constructor(){this.actions=Object.create(null),this.actions.__current=[],this.filters=Object.create(null),this.filters.__current=[],this.addAction=E(this,"actions"),this.addFilter=E(this,"filters"),this.removeAction=k(this,"actions"),this.removeFilter=k(this,"filters"),this.hasAction=S(this,"actions"),this.hasFilter=S(this,"filters"),this.removeAllActions=k(this,"actions",!0),this.removeAllFilters=k(this,"filters",!0),this.doAction=C(this,"actions"),this.applyFilters=C(this,"filters",!0),this.currentAction=A(this,"actions"),this.currentFilter=A(this,"filters"),this.doingAction=P(this,"actions"),this.doingFilter=P(this,"filters"),this.didAction=_(this,"actions"),this.didFilter=_(this,"filters")}},{addAction:I,addFilter:F,removeAction:M,removeFilter:D,hasAction:R,hasFilter:L,removeAllActions:O,removeAllFilters:V,doAction:N,applyFilters:B,currentAction:j,currentFilter:z,doingAction:H,doingFilter:G,didAction:W,didFilter:q,actions:U,filters:X}=T,Q=((e,t,r)=>{const n=new y({}),i=new Set,a=()=>{i.forEach((e=>e()))},s=(e,t="default")=>{n.data[t]={...n.data[t],...e},n.data[t][""]={...v,...n.data[t]?.[""]},delete n.pluralForms[t]},o=(e,t)=>{s(e,t),a()},l=(e="default",t,r,i,a)=>(n.data[e]||s(void 0,e),n.dcnpgettext(e,t,r,i,a)),c=(e="default")=>e,u=(e,t,n)=>{let i=l(n,t,e);return r?(i=r.applyFilters("i18n.gettext_with_context",i,e,t,n),r.applyFilters("i18n.gettext_with_context_"+c(n),i,e,t,n)):i};if(r){const e=e=>{b.test(e)&&a()};r.addAction("hookAdded","core/i18n",e),r.addAction("hookRemoved","core/i18n",e)}return{getLocaleData:(e="default")=>n.data[e],setLocaleData:o,addLocaleData:(e,t="default")=>{n.data[t]={...n.data[t],...e,"":{...v,...n.data[t]?.[""],...e?.[""]}},delete n.pluralForms[t],a()},resetLocaleData:(e,t)=>{n.data={},n.pluralForms={},o(e,t)},subscribe:e=>(i.add(e),()=>i.delete(e)),__:(e,t)=>{let n=l(t,void 0,e);return r?(n=r.applyFilters("i18n.gettext",n,e,t),r.applyFilters("i18n.gettext_"+c(t),n,e,t)):n},_x:u,_n:(e,t,n,i)=>{let a=l(i,void 0,e,t,n);return r?(a=r.applyFilters("i18n.ngettext",a,e,t,n,i),r.applyFilters("i18n.ngettext_"+c(i),a,e,t,n,i)):a},_nx:(e,t,n,i,a)=>{let s=l(a,i,e,t,n);return r?(s=r.applyFilters("i18n.ngettext_with_context",s,e,t,n,i,a),r.applyFilters("i18n.ngettext_with_context_"+c(a),s,e,t,n,i,a)):s},isRTL:()=>"rtl"===u("ltr","text direction"),hasTranslation:(e,t,i)=>{const a=t?t+""+e:e;let s=!!n.data?.[null!=i?i:"default"]?.[a];return r&&(s=r.applyFilters("i18n.has_translation",s,e,t,i),s=r.applyFilters("i18n.has_translation_"+c(i),s,e,t,i)),s}}})(0,0,T),$=(Q.getLocaleData.bind(Q),Q.setLocaleData.bind(Q),Q.resetLocaleData.bind(Q),Q.subscribe.bind(Q),Q.__.bind(Q));Q._x.bind(Q),Q._n.bind(Q),Q._nx.bind(Q),Q.isRTL.bind(Q),Q.hasTranslation.bind(Q);var J={search:React.createElement("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},React.createElement("path",{d:"M17.7043 16.2848L14.3054 12.8958C15.402 11.4988 15.9971 9.77351 15.9948 7.99743C15.9948 6.41569 15.5258 4.86947 14.647 3.5543C13.7683 2.23913 12.5192 1.21408 11.0579 0.608771C9.59657 0.00346513 7.98855 -0.15491 6.43721 0.153672C4.88586 0.462254 3.46085 1.22393 2.34239 2.34239C1.22393 3.46085 0.462254 4.88586 0.153672 6.43721C-0.15491 7.98855 0.00346513 9.59657 0.608771 11.0579C1.21408 12.5192 2.23913 13.7683 3.5543 14.647C4.86947 15.5258 6.41569 15.9948 7.99743 15.9948C9.77351 15.9971 11.4988 15.402 12.8958 14.3054L16.2848 17.7043C16.3777 17.798 16.4883 17.8724 16.6101 17.9231C16.7319 17.9739 16.8626 18 16.9945 18C17.1265 18 17.2572 17.9739 17.379 17.9231C17.5008 17.8724 17.6114 17.798 17.7043 17.7043C17.798 17.6114 17.8724 17.5008 17.9231 17.379C17.9739 17.2572 18 17.1265 18 16.9945C18 16.8626 17.9739 16.7319 17.9231 16.6101C17.8724 16.4883 17.798 16.3777 17.7043 16.2848ZM1.99936 7.99743C1.99936 6.81112 2.35114 5.65146 3.01022 4.66508C3.66929 3.6787 4.60606 2.90991 5.70207 2.45593C6.79807 2.00196 8.00408 1.88317 9.16759 2.11461C10.3311 2.34605 11.3999 2.91731 12.2387 3.75615C13.0775 4.595 13.6488 5.66375 13.8802 6.82726C14.1117 7.99077 13.9929 9.19678 13.5389 10.2928C13.0849 11.3888 12.3162 12.3256 11.3298 12.9846C10.3434 13.6437 9.18373 13.9955 7.99743 13.9955C6.40664 13.9955 4.88101 13.3636 3.75615 12.2387C2.6313 11.1138 1.99936 9.58821 1.99936 7.99743Z"})),cross:React.createElement("svg",{width:"12",height:"12",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},React.createElement("path",{d:"M14 1.41L12.59 0L7 5.59L1.41 0L0 1.41L5.59 7L0 12.59L1.41 14L7 8.41L12.59 14L14 12.59L8.41 7L14 1.41Z",fill:"#6B7280"})),dropdown:React.createElement("svg",{viewBox:"0 0 6 4",fill:"none",xmlns:"http://www.w3.org/2000/svg"},React.createElement("path",{d:"M2.68303 3.8635L0.132229 1.2304C-0.0440763 1.0484 -0.0440763 0.754114 0.132229 0.574056L0.556111 0.136496C0.732416 -0.0454985 1.01751 -0.0454985 1.19194 0.136496L3 2.0029L4.80806 0.136496C4.98437 -0.0454985 5.26946 -0.0454985 5.44389 0.136496L5.86777 0.574056C6.04408 0.75605 6.04408 1.05034 5.86777 1.2304L3.31697 3.8635C3.14442 4.0455 2.85933 4.0455 2.68303 3.8635Z",fillOpacity:"0.6"})),favorite:React.createElement("svg",{width:"17",height:"16",viewBox:"0 0 17 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},React.createElement("path",{d:"M8.435 15.4782L7.21193 14.3648C2.8679 10.4257 0 7.82768 0 4.63925C0 2.04127 2.04127 0 4.63925 0C6.10694 0 7.51559 0.683235 8.435 1.76292C9.35442 0.683235 10.7631 0 12.2308 0C14.8287 0 16.87 2.04127 16.87 4.63925C16.87 7.82768 14.0021 10.4257 9.65808 14.3732L8.435 15.4782Z"})),close:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true"},React.createElement("path",{fillRule:"evenodd",d:"M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z",clipRule:"evenodd"})),success:React.createElement("svg",{width:"24",height:"24",viewBox:"0 0 1792 1792",fill:"#44C997",xmlns:"http://www.w3.org/2000/svg"},React.createElement("path",{d:"M1299 813l-422 422q-19 19-45 19t-45-19l-294-294q-19-19-19-45t19-45l102-102q19-19 45-19t45 19l147 147 275-275q19-19 45-19t45 19l102 102q19 19 19 45t-19 45zm141 83q0-148-73-273t-198-198-273-73-273 73-198 198-73 273 73 273 198 198 273 73 273-73 198-198 73-273zm224 0q0 209-103 385.5t-279.5 279.5-385.5 103-385.5-103-279.5-279.5-103-385.5 103-385.5 279.5-279.5 385.5-103 385.5 103 279.5 279.5 103 385.5z"})),error:React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true"},React.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zM8.707 7.293a1 1 0 00-1.414 1.414L8.586 10l-1.293 1.293a1 1 0 101.414 1.414L10 11.414l1.293 1.293a1 1 0 001.414-1.414L11.414 10l1.293-1.293a1 1 0 00-1.414-1.414L10 8.586 8.707 7.293z",clipRule:"evenodd"})),toggle:React.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg"},React.createElement("path",{d:"M1 2.05556C0.723858 2.05556 0.5 2.27941 0.5 2.55556C0.5 2.8317 0.723858 3.05556 1 3.05556V2.05556ZM15 3.05556C15.2761 3.05556 15.5 2.8317 15.5 2.55556C15.5 2.27941 15.2761 2.05556 15 2.05556V3.05556ZM1 7.5C0.723858 7.5 0.5 7.72386 0.5 8C0.5 8.27614 0.723858 8.5 1 8.5V7.5ZM15 8.5C15.2761 8.5 15.5 8.27614 15.5 8C15.5 7.72386 15.2761 7.5 15 7.5V8.5ZM1 12.9444C0.723858 12.9444 0.5 13.1683 0.5 13.4444C0.5 13.7206 0.723858 13.9444 1 13.9444V12.9444ZM15 13.9444C15.2761 13.9444 15.5 13.7206 15.5 13.4444C15.5 13.1683 15.2761 12.9444 15 12.9444V13.9444ZM1 3.05556H4.11111V2.05556H1V3.05556ZM15 2.05556H7.22222V3.05556H15V2.05556ZM1 8.5H10.3333V7.5H1V8.5ZM15 7.5H13.4444V8.5H15V7.5ZM1 13.9444H2.55556V12.9444H1V13.9444ZM15 12.9444H5.66667V13.9444H15V12.9444ZM6.72222 2.55556C6.72222 3.13852 6.24963 3.61111 5.66667 3.61111V4.61111C6.80192 4.61111 7.72222 3.69081 7.72222 2.55556H6.72222ZM5.66667 3.61111C5.0837 3.61111 4.61111 3.13852 4.61111 2.55556H3.61111C3.61111 3.69081 4.53141 4.61111 5.66667 4.61111V3.61111ZM4.61111 2.55556C4.61111 1.97259 5.0837 1.5 5.66667 1.5V0.5C4.53141 0.5 3.61111 1.4203 3.61111 2.55556H4.61111ZM5.66667 1.5C6.24963 1.5 6.72222 1.97259 6.72222 2.55556H7.72222C7.72222 1.4203 6.80192 0.5 5.66667 0.5V1.5ZM12.9444 8C12.9444 8.58297 12.4719 9.05556 11.8889 9.05556V10.0556C13.0241 10.0556 13.9444 9.13525 13.9444 8H12.9444ZM11.8889 9.05556C11.3059 9.05556 10.8333 8.58297 10.8333 8H9.83333C9.83333 9.13525 10.7536 10.0556 11.8889 10.0556V9.05556ZM10.8333 8C10.8333 7.41703 11.3059 6.94444 11.8889 6.94444V5.94444C10.7536 5.94444 9.83333 6.86475 9.83333 8H10.8333ZM11.8889 6.94444C12.4719 6.94444 12.9444 7.41703 12.9444 8H13.9444C13.9444 6.86475 13.0241 5.94444 11.8889 5.94444V6.94444ZM5.16667 13.4444C5.16667 14.0274 4.69408 14.5 4.11111 14.5V15.5C5.24636 15.5 6.16667 14.5797 6.16667 13.4444H5.16667ZM4.11111 14.5C3.52814 14.5 3.05556 14.0274 3.05556 13.4444H2.05556C2.05556 14.5797 2.97586 15.5 4.11111 15.5V14.5ZM3.05556 13.4444C3.05556 12.8615 3.52814 12.3889 4.11111 12.3889V11.3889C2.97586 11.3889 2.05556 12.3092 2.05556 13.4444H3.05556ZM4.11111 12.3889C4.69408 12.3889 5.16667 12.8615 5.16667 13.4444H6.16667C6.16667 12.3092 5.24636 11.3889 4.11111 11.3889V12.3889Z"}))};function Y(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,i,a,s,o=[],l=!0,c=!1;try{if(a=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=a.call(r)).done)&&(o.push(n.value),o.length!==t);l=!0);}catch(e){c=!0,i=e}finally{try{if(!l&&null!=r.return&&(s=r.return(),Object(s)!==s))return}finally{if(c)throw i}}return o}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Z(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Z(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Z(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}i(561),i(416);const K=function(r){var n=r.children,i=r.content,a=Y((0,e.useState)(!1),2),s=a[0],o=a[1],l=Y((0,e.useState)(null),2),c=l[0],u=l[1],p=function(){u(setTimeout((function(){o(!1)}),50))};return t().createElement("div",{className:"stc-tooltip",onMouseEnter:function(){o(!0)},onMouseLeave:p},n,i?t().createElement("div",{className:"stc-tooltip-content ".concat(s?"stc-tooltip-visible":"stc-tooltip-hidden"),onMouseEnter:function(){clearTimeout(c)},onMouseLeave:p},i):null)},ee=function(e){var r=e.className,n=e.column,i=e.options,a=e.onClick,s=e.hasFavorite,l=e.onFavoriteClick,c=e.favoriteList,u=e.buttonLabel,p=e.livePreview,d=e.enableNewUi;return i.length?t().createElement("div",{className:"\n\t\t\t\tstc-grid-wrap\t\t\t\t\n\t\t\t\tgrid-".concat(n||"3","\n\t\t\t\t").concat(null!=r?r:"","\n\t\t\t")},i.map((function(e,r){var n=!(!c||!c.length)&&c.includes("id-".concat(e.id));return t().createElement("div",{className:"stc-grid-item","data-id":e.id,key:r},t().createElement("div",{className:"stc-grid-item-inner"},!d&&(e.badge?t().createElement(ke,{badge:e.badge}):null),d?t().createElement("div",{className:"stc-grid-item-screenshot-wrap"},t().createElement("a",{href:e.link,rel:"noreferrer"},t().createElement("img",{className:"stc-grid-site-screenshot",src:e.image,alt:o(e.title),loading:"lazy"}),t().createElement("div",{className:"stc-grid-item-blur"}))):t().createElement("img",{className:"stc-grid-site-screenshot",src:e.image,alt:o(e.title),loading:"lazy",onClick:function(t){"function"==typeof a&&a(t,e)}}),t().createElement("div",{className:"stc-grid-item-header"},t().createElement("div",{className:"stc-grid-item-title"},o(e.title),d&&(e.badge?t().createElement(ke,{badge:e.badge}):null)),e.desc?t().createElement("div",{className:"stc-grid-item-desc"},e.desc.substring(0,100)):null,null!=e&&e.link&&!d?t().createElement("div",{className:"stc-grid-item-hover-button-wrap"},t().createElement("a",{className:"stc-grid-item-hover-button",href:e.link,target:"_blank",rel:"noreferrer"},u)):null,s?t().createElement(K,{content:"".concat(n?"":$("Add to favorites"))},t().createElement("div",{className:"stc-grid-favorite ".concat(n?"active":""),onClick:function(t){"function"==typeof l&&l(t,e,!n)}},J.favorite)):null),d?t().createElement("div",{className:"stc-grid-item-hover-button-wrapper"},t().createElement("div",{className:"stc-grid-item-hover-button-wrap"},"#"!==(null==e?void 0:e.link)?t().createElement("a",{className:"stc-grid-item-hover-button",href:e.link,rel:"noreferrer"},u):null,t().createElement("a",{className:"stc-grid-item-hover-button",href:e.livelink,target:"_blank",rel:"noreferrer"},p))):null))}))):""};i(729);const te=(0,e.memo)((function(r){var n=r.apiUrl,i=r.onSearchResult,a=r.beforeSearchResult,s=r.onSearch,o=r.value,l=r.placeholder,c=r.onKeyUp,u=l||$("Search.."),p=(0,e.useRef)(null),d=function(t,r,n){var i=this,a=(0,e.useRef)(null),s=(0,e.useRef)(0),o=(0,e.useRef)(null),l=(0,e.useRef)([]),c=(0,e.useRef)(),u=(0,e.useRef)(),p=(0,e.useRef)(t),d=(0,e.useRef)(!0);p.current=t;var f=!r&&0!==r&&"undefined"!=typeof window;if("function"!=typeof t)throw new TypeError("Expected a function");r=+r||0;var h=!!(n=n||{}).leading,m=!("trailing"in n)||!!n.trailing,g="maxWait"in n,y=g?Math.max(+n.maxWait||0,r):null;(0,e.useEffect)((function(){return d.current=!0,function(){d.current=!1}}),[]);var v=(0,e.useMemo)((function(){var e=function(e){var t=l.current,r=c.current;return l.current=c.current=null,s.current=e,u.current=p.current.apply(r,t)},t=function(e,t){f&&cancelAnimationFrame(o.current),o.current=f?requestAnimationFrame(e):setTimeout(e,t)},n=function(e){if(!d.current)return!1;var t=e-a.current,n=e-s.current;return!a.current||t>=r||t<0||g&&n>=y},v=function(t){return o.current=null,m&&l.current?e(t):(l.current=c.current=null,u.current)},b=function(){var e=Date.now();if(n(e))return v(e);if(d.current){var i=e-a.current,o=e-s.current,l=r-i,c=g?Math.min(l,y-o):l;t(b,c)}},x=function(){for(var p=[],f=0;f<arguments.length;f++)p[f]=arguments[f];var m=Date.now(),y=n(m);if(l.current=p,c.current=i,a.current=m,y){if(!o.current&&d.current)return s.current=a.current,t(b,r),h?e(a.current):u.current;if(g)return t(b,r),e(a.current)}return o.current||t(b,r),u.current};return x.cancel=function(){o.current&&(f?cancelAnimationFrame(o.current):clearTimeout(o.current)),s.current=0,l.current=a.current=c.current=o.current=null},x.isPending=function(){return!!o.current},x.flush=function(){return o.current?v(Date.now()):u.current},x}),[h,g,r,y,m,f]);return v}((0,e.useCallback)((function(e){"function"==typeof a&&a(),e?fetch(n).then((function(e){return e.json()})).then((function(t){"function"==typeof i&&i(t,e)})):i({},e)}),[o]),300,{maxWait:2e3});return(0,e.useEffect)((function(){n&&d(o),o&&p.current.focus()}),[o]),t().createElement("div",{className:"stc-search ".concat(o?"stc-search-have-input":"")},t().createElement("input",{ref:p,className:"stc-search-input",type:"search",value:o,placeholder:u,onChange:function(e){"function"==typeof s&&s(e,e.target.value)},onKeyUp:function(e){"function"==typeof c&&c(e)}}),t().createElement("button",{className:"stc-search-icon"},J.search),t().createElement("button",{className:"stc-cross-icon",onClick:function(e){"function"==typeof s&&(s(e,""),document.getElementsByClassName("stc-search-input")[0].focus())}},J.cross))}));function re(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,i,a,s,o=[],l=!0,c=!1;try{if(a=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=a.call(r)).done)&&(o.push(n.value),o.length!==t);l=!0);}catch(e){c=!0,i=e}finally{try{if(!l&&null!=r.return&&(s=r.return(),Object(s)!==s))return}finally{if(c)throw i}}return o}}(e,t)||function(e,t){if(e){if("string"==typeof e)return ne(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?ne(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ne(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}i(148);const ie=(0,e.memo)((function(r){var n=r.options,i=r.value,a=r.onClick,s=r.limit,l="";void 0!==i?l=i:n.length&&(l=n[0].id);var c=re((0,e.useState)(l),2),u=c[0],p=c[1],d=re((0,e.useState)(!1),2),f=d[0],h=d[1],m=re((0,e.useState)([]),2),g=m[0],y=m[1],v=re((0,e.useState)(n),2),b=v[0],x=v[1];(0,e.useEffect)((function(){if(s){var e=n.slice(s,s+n.length),t=n.slice(0,s);e.length&&(e=e.map((function(e){return e.title=o(e.name),e}))),y(e),x(t)}}),[]),(0,e.useEffect)((function(){p(l)}),[i]);var w=function(e,t){"function"==typeof a&&a(e,t)};return t().createElement("div",{className:"stc-category-list"},b.length?t().createElement(t().Fragment,null,b.map((function(e,r){return t().createElement("div",{className:"stc-category-list-item ".concat((n=e.id,u===n?"active":"")),onClick:function(t){p(e.id),w(t,e)},key:r},t().createElement("span",{className:"stc-category-list-title"},o(e.name)));var n})),g.length?t().createElement(ue,{className:"stc-category-list-item stc-category-list-more",toggle:f,onToggle:function(e,t){h(t)},label:$("More"),value:u,options:g,onClick:function(e,t){h(!1),w(e,t)}}):null):t().createElement("span",null,$("No Categories")))}));function ae(e){return ae="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},ae(e)}function se(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function oe(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?se(Object(r),!0).forEach((function(t){var n,i,a,s;n=e,i=t,a=r[t],s=function(e,t){if("object"!=ae(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=ae(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(i),(i="symbol"==ae(s)?s:String(s))in n?Object.defineProperty(n,i,{value:a,enumerable:!0,configurable:!0,writable:!0}):n[i]=a})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):se(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function le(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,i,a,s,o=[],l=!0,c=!1;try{if(a=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=a.call(r)).done)&&(o.push(n.value),o.length!==t);l=!0);}catch(e){c=!0,i=e}finally{try{if(!l&&null!=r.return&&(s=r.return(),Object(s)!==s))return}finally{if(c)throw i}}return o}}(e,t)||function(e,t){if(e){if("string"==typeof e)return ce(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?ce(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ce(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}i(557);const ue=function(r){var n=r.label,i=r.options,a=r.className,s=r.value,o=r.onClick,l=r.icon,c=r.dismissAiPopup,u=le((0,e.useState)({option:{id:"",title:"",image:""}}),2),p=u[0],d=u[1],f=le((0,e.useState)(!1),2),h=f[0],m=f[1],g=(0,e.useRef)(),y=function(e){g&&!g.current.contains(e.target)&&m(!1)};return(0,e.useEffect)((function(){var e={id:"",title:"",image:""};i.map((function(t){return s===t.id&&(e=t),e})),d(oe(oe({},p),{},{option:e}))}),[s]),(0,e.useEffect)((function(){return document.querySelector("body").addEventListener("click",y),function(){return document.querySelector("body").removeEventListener("click",y)}}),[]),i.length?t().createElement("div",{ref:g,className:"stc-toggle-dropdown ".concat(a)},t().createElement("div",{className:"stc-toggle-dropdown-selected",onClick:function(){m(!h),"function"==typeof c&&c()}},n&&""===p.option.title?n:t().createElement(t().Fragment,null,p.option.image?t().createElement(de,{text:p.option.title,src:p.option.image}):p.option.title),l||J.dropdown),h&&t().createElement("div",{className:"stc-toggle-dropdown-popup"},t().createElement("div",{className:"stc-toggle-dropdown-popup-content"},i.map((function(e,r){return t().createElement("div",{className:"stc-toggle-dropdown-popup-item ".concat(p.option.id===e.id?"active":""),onClick:function(t){d(oe(oe({},p),{},{option:e})),"function"==typeof o&&(o(t,e),m(!1))},key:r},e.image?t().createElement(de,{text:e.title,src:e.image,extraText:e.extraText}):e.title)}))))):""};function pe(){return pe=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},pe.apply(this,arguments)}i(142);const de=function(e){var r=e.className,n=e.text,i=e.src,a=e.alt,s=e.onClick,o=e.href,l=e.extraText;return n||i?t().createElement("span",pe({className:"stc-logo ".concat(r||"").concat(l?"stc-extra-text":"")},l?{"data-extraText":l}:{},{onClick:function(e){"function"==typeof s&&s(e)}}),i?t().createElement(t().Fragment,null,o?t().createElement("a",{href:o,target:"_blank",rel:"noopener noreferrer"},t().createElement("img",{src:i,className:"stc-logo-image",alt:a})):t().createElement("img",{src:i,className:"stc-logo-image",alt:a})):null,n?t().createElement("div",{className:"stc-logo-text",alt:a},n):null):""};i(85);const fe=(0,e.memo)((function(e){var r=e.value,n=e.options,i=e.onClick;return n.length?t().createElement("div",{className:"stc-suggestion-list"},n.map((function(e,n){var a=o(e).replace(new RegExp("("+r+")","gi"),'<span class="stc-suggestion-highlight">$1</span>');return t().createElement("div",{key:n,className:"stc-suggession",dangerouslySetInnerHTML:{__html:a},onClick:function(t){"function"==typeof i&&i(t,e)}})}))):""}));function he(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,i,a,s,o=[],l=!0,c=!1;try{if(a=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=a.call(r)).done)&&(o.push(n.value),o.length!==t);l=!0);}catch(e){c=!0,i=e}finally{try{if(!l&&null!=r.return&&(s=r.return(),Object(s)!==s))return}finally{if(c)throw i}}return o}}(e,t)||function(e,t){if(e){if("string"==typeof e)return me(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?me(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function me(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}i(899);const ge=function(r){var n=r.type,i=r.message,a=r.autoHideDuration,s=void 0===a?3:a,o=r.topLeft,l=r.topRight,c=r.topCenter,u=r.bottomLeft,p=r.bottomRight,d=r.bottomCenter,f=r.leftCenter,h=r.style,m=he((0,e.useState)(!0),2),g=m[0],y=m[1],v=he((0,e.useState)(!1),2),b=v[0],x=v[1];setTimeout((function(){y(!1)}),1e3*s),g||setTimeout((function(){x(!0)}),500);var w=[o&&"top-left",l&&"top-right",c&&"top-center",u&&"bottom-left",p&&"bottom-right",d&&"bottom-center",f&&"left-center"].filter(Boolean).join("");return b?null:t().createElement("div",{className:"st-toaster ".concat(g?"visible":"hidden"," ").concat(w||""),style:h},t().createElement("div",{className:"content"},t().createElement("div",{className:"status-icon ".concat("error"===n?"failed":n)},J[n]),t().createElement("div",{className:"message"},t().createElement("p",null,i))),t().createElement("div",{className:"toaster-close"},t().createElement("button",{className:"close-btn",onClick:function(e){e.stopPropagation(),y(!1)}},J.close)))},ye=(0,e.memo)((function(e){var r=e.value,n=e.onClick;return t().createElement(ue,{className:"stc-site-order-filter",value:r,options:[{id:"popular",title:$("Popular")},{id:"latest",title:$("Latest")}],onClick:function(e,t){"function"==typeof n&&n(e,t)}})})),ve=(0,e.memo)((function(e){var r=e.value,n=e.onClick;return t().createElement(ue,{className:"stc-site-type-filter",value:r,options:[{id:"",title:$("All")},{id:"agency-mini",title:$("Premium")}],onClick:function(e,t){"function"==typeof n&&n(e,t)}})}));i(189);const be=function(e){var r=e.searchTerm;return r?t().createElement("div",{className:"stc-sites-no-results"},t().createElement("h4",null,function(e,...t){try{return c().sprintf(e,...t)}catch(t){return t instanceof Error&&u("sprintf error: \n\n"+t.toString()),e}}($("Your search - %1$s - did not match any Starter Templates."),o(r)))):null};function xe(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,i,a,s,o=[],l=!0,c=!1;try{if(a=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=a.call(r)).done)&&(o.push(n.value),o.length!==t);l=!0);}catch(e){c=!0,i=e}finally{try{if(!l&&null!=r.return&&(s=r.return(),Object(s)!==s))return}finally{if(c)throw i}}return o}}(e,t)||function(e,t){if(e){if("string"==typeof e)return we(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?we(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function we(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}i(437);const Ee=function(r){var n=r.options,i=r.parent,a=r.menu,s=r.onClick,o=xe((0,e.useState)(!1),2),l=o[0],c=o[1],u=xe((0,e.useState)([]),2),p=u[0],d=u[1];(0,e.useEffect)((function(){var e=function(){var e=window.innerWidth;e>=1181?d(n):e<1181&&e>=1025?d(n.slice(0,5)):e<1025&&e>=950?d(n.slice(0,4)):e<950&&e>=751?d(n.slice(0,3)):e<751&&e>=451&&d(n.slice(0,2))};e();var t=function(){e()};return window.addEventListener("resize",t),function(){window.removeEventListener("resize",t)}}),[n]);var f=n.slice(p.length);return t().createElement("div",{className:"stc-mega-menu-wrap ".concat(l?"stc-mega-menu-show":"")},t().createElement("div",{className:"stc-mega-menu-toggle",onClick:function(){c(!l)}},J.toggle),t().createElement("div",{className:"stc-mega-menu-container"},t().createElement("div",{className:"stc-mega-menu"},p.map((function(e){return t().createElement("div",{key:e.ID,className:"stc-mega-menu-item ".concat(i===e.ID||a===e.ID&&i===e.ID?"stc-mega-menu-item-active":"")},t().createElement("span",{className:"stc-mega-menu-item-title",onClick:function(t){"function"==typeof s&&(t.stopPropagation(),t.preventDefault(),s(t,e,e))}},e.title,J.dropdown),e.children&&e.children.length>0&&t().createElement("div",{className:"stc-mega-menu-group stc-mega-menu-group-col-".concat(e.children.length)},e.children.map((function(r){return t().createElement("div",{key:r.ID,className:"stc-mega-menu-section"},t().createElement("span",{className:"stc-mega-menu-section-title"},r.title),r.children&&r.children.length>0&&t().createElement("div",{className:"stc-mega-menu-children"},r.children.map((function(r){return t().createElement("div",{className:"stc-mega-menu-child-item ".concat(a===r.ID?"stc-mega-menu-child-item-active":""),key:r.ID,onClick:function(t){"function"==typeof s&&(t.stopPropagation(),s(t,e,r))}},r.title)}))))}))))})),f.length>0&&t().createElement("div",{className:"stc-mega-menu-item ".concat(l?"stc-mega-menu-item-active":"")},t().createElement("span",{className:"stc-mega-menu-item-title",onClick:function(e){"function"==typeof s&&(e.stopPropagation(),e.preventDefault(),s(e,f,f))}},"More",J.dropdown),t().createElement("div",{className:"stc-mega-menu-more-group stc-mega-menu-group-col-1"},f.map((function(e){return t().createElement("div",{key:e.ID,className:"stc-mega-more-menu-section"},t().createElement("span",{className:"stc-mega-menu-item-title stc-mega-more-menu-item-title"},e.title,J.dropdown),e.children&&e.children.length>0&&t().createElement("div",{className:"stc-mega-menu-group stc-more-group stc-mega-menu-group-col-1"},e.children.map((function(r){return t().createElement("div",{key:r.ID,className:"stc-mega-menu-section"},t().createElement("span",{className:"stc-mega-menu-section-title"},r.title),r.children&&r.children.length>0&&t().createElement("div",{className:"stc-mega-menu-children"},r.children.map((function(r){return t().createElement("div",{className:"stc-mega-menu-child-item ".concat(a===r.ID?"stc-mega-menu-child-item-active":""),key:r.ID,onClick:function(t){"function"==typeof s&&(t.stopPropagation(),s(t,e,r))}},r.title)}))))}))))})))))))},ke=function(e){var r=e.badge;return t().createElement("span",{className:"stc-grid-item-badge"},r||$("Premium","astra-sites"))};i(986);var Se=i(563);const Ce=function(e){var r=e.parent,n=e.menu,i=e.onClick;return t().createElement("div",{className:"stc-mega-menu-filter"},t().createElement(Ee,{parent:r,menu:n,options:Se,onClick:function(e,t,r){"function"==typeof i&&i(e,t,r)}}))}})(),e.exports=a})()},4300:(e,t,r)=>{"use strict";r.d(t,{A:()=>ne});var n=function(){function e(e){var t=this;this._insertTag=function(e){var r;r=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,r),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var r=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(t);try{r.insertRule(e,r.cssRules.length)}catch(e){}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach((function(e){return e.parentNode&&e.parentNode.removeChild(e)})),this.tags=[],this.ctr=0},e}(),i=Math.abs,a=String.fromCharCode,s=Object.assign;function o(e){return e.trim()}function l(e,t,r){return e.replace(t,r)}function c(e,t){return e.indexOf(t)}function u(e,t){return 0|e.charCodeAt(t)}function p(e,t,r){return e.slice(t,r)}function d(e){return e.length}function f(e){return e.length}function h(e,t){return t.push(e),e}var m=1,g=1,y=0,v=0,b=0,x="";function w(e,t,r,n,i,a,s){return{value:e,root:t,parent:r,type:n,props:i,children:a,line:m,column:g,length:s,return:""}}function E(e,t){return s(w("",null,null,"",null,null,0),e,{length:-e.length},t)}function k(){return b=v>0?u(x,--v):0,g--,10===b&&(g=1,m--),b}function S(){return b=v<y?u(x,v++):0,g++,10===b&&(g=1,m++),b}function C(){return u(x,v)}function A(){return v}function P(e,t){return p(x,e,t)}function _(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function T(e){return m=g=1,y=d(x=e),v=0,[]}function I(e){return x="",e}function F(e){return o(P(v-1,R(91===e?e+2:40===e?e+1:e)))}function M(e){for(;(b=C())&&b<33;)S();return _(e)>2||_(b)>3?"":" "}function D(e,t){for(;--t&&S()&&!(b<48||b>102||b>57&&b<65||b>70&&b<97););return P(e,A()+(t<6&&32==C()&&32==S()))}function R(e){for(;S();)switch(b){case e:return v;case 34:case 39:34!==e&&39!==e&&R(b);break;case 40:41===e&&R(e);break;case 92:S()}return v}function L(e,t){for(;S()&&e+b!==57&&(e+b!==84||47!==C()););return"/*"+P(t,v-1)+"*"+a(47===e?e:S())}function O(e){for(;!_(C());)S();return P(e,v)}var V="-ms-",N="-moz-",B="-webkit-",j="comm",z="rule",H="decl",G="@keyframes";function W(e,t){for(var r="",n=f(e),i=0;i<n;i++)r+=t(e[i],i,e,t)||"";return r}function q(e,t,r,n){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case H:return e.return=e.return||e.value;case j:return"";case G:return e.return=e.value+"{"+W(e.children,n)+"}";case z:e.value=e.props.join(",")}return d(r=W(e.children,n))?e.return=e.value+"{"+r+"}":""}function U(e){return I(X("",null,null,null,[""],e=T(e),0,[0],e))}function X(e,t,r,n,i,s,o,p,f){for(var m=0,g=0,y=o,v=0,b=0,x=0,w=1,E=1,P=1,_=0,T="",I=i,R=s,V=n,N=T;E;)switch(x=_,_=S()){case 40:if(108!=x&&58==u(N,y-1)){-1!=c(N+=l(F(_),"&","&\f"),"&\f")&&(P=-1);break}case 34:case 39:case 91:N+=F(_);break;case 9:case 10:case 13:case 32:N+=M(x);break;case 92:N+=D(A()-1,7);continue;case 47:switch(C()){case 42:case 47:h($(L(S(),A()),t,r),f);break;default:N+="/"}break;case 123*w:p[m++]=d(N)*P;case 125*w:case 59:case 0:switch(_){case 0:case 125:E=0;case 59+g:-1==P&&(N=l(N,/\f/g,"")),b>0&&d(N)-y&&h(b>32?J(N+";",n,r,y-1):J(l(N," ","")+";",n,r,y-2),f);break;case 59:N+=";";default:if(h(V=Q(N,t,r,m,g,i,p,T,I=[],R=[],y),s),123===_)if(0===g)X(N,t,V,V,I,s,y,p,R);else switch(99===v&&110===u(N,3)?100:v){case 100:case 108:case 109:case 115:X(e,V,V,n&&h(Q(e,V,V,0,0,i,p,T,i,I=[],y),R),i,R,y,p,n?I:R);break;default:X(N,V,V,V,[""],R,0,p,R)}}m=g=b=0,w=P=1,T=N="",y=o;break;case 58:y=1+d(N),b=x;default:if(w<1)if(123==_)--w;else if(125==_&&0==w++&&125==k())continue;switch(N+=a(_),_*w){case 38:P=g>0?1:(N+="\f",-1);break;case 44:p[m++]=(d(N)-1)*P,P=1;break;case 64:45===C()&&(N+=F(S())),v=C(),g=y=d(T=N+=O(A())),_++;break;case 45:45===x&&2==d(N)&&(w=0)}}return s}function Q(e,t,r,n,a,s,c,u,d,h,m){for(var g=a-1,y=0===a?s:[""],v=f(y),b=0,x=0,E=0;b<n;++b)for(var k=0,S=p(e,g+1,g=i(x=c[b])),C=e;k<v;++k)(C=o(x>0?y[k]+" "+S:l(S,/&\f/g,y[k])))&&(d[E++]=C);return w(e,t,r,0===a?z:u,d,h,m)}function $(e,t,r){return w(e,t,r,j,a(b),p(e,2,-2),0)}function J(e,t,r,n){return w(e,t,r,H,p(e,0,n),p(e,n+1,-1),n)}var Y=function(e,t,r){for(var n=0,i=0;n=i,i=C(),38===n&&12===i&&(t[r]=1),!_(i);)S();return P(e,v)},Z=new WeakMap,K=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,r=e.parent,n=e.column===r.column&&e.line===r.line;"rule"!==r.type;)if(!(r=r.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||Z.get(r))&&!n){Z.set(e,!0);for(var i=[],s=function(e,t){return I(function(e,t){var r=-1,n=44;do{switch(_(n)){case 0:38===n&&12===C()&&(t[r]=1),e[r]+=Y(v-1,t,r);break;case 2:e[r]+=F(n);break;case 4:if(44===n){e[++r]=58===C()?"&\f":"",t[r]=e[r].length;break}default:e[r]+=a(n)}}while(n=S());return e}(T(e),t))}(t,i),o=r.props,l=0,c=0;l<s.length;l++)for(var u=0;u<o.length;u++,c++)e.props[c]=i[l]?s[l].replace(/&\f/g,o[u]):o[u]+" "+s[l]}}},ee=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function te(e,t){switch(function(e,t){return 45^u(e,0)?(((t<<2^u(e,0))<<2^u(e,1))<<2^u(e,2))<<2^u(e,3):0}(e,t)){case 5103:return B+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return B+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return B+e+N+e+V+e+e;case 6828:case 4268:return B+e+V+e+e;case 6165:return B+e+V+"flex-"+e+e;case 5187:return B+e+l(e,/(\w+).+(:[^]+)/,B+"box-$1$2"+V+"flex-$1$2")+e;case 5443:return B+e+V+"flex-item-"+l(e,/flex-|-self/,"")+e;case 4675:return B+e+V+"flex-line-pack"+l(e,/align-content|flex-|-self/,"")+e;case 5548:return B+e+V+l(e,"shrink","negative")+e;case 5292:return B+e+V+l(e,"basis","preferred-size")+e;case 6060:return B+"box-"+l(e,"-grow","")+B+e+V+l(e,"grow","positive")+e;case 4554:return B+l(e,/([^-])(transform)/g,"$1"+B+"$2")+e;case 6187:return l(l(l(e,/(zoom-|grab)/,B+"$1"),/(image-set)/,B+"$1"),e,"")+e;case 5495:case 3959:return l(e,/(image-set\([^]*)/,B+"$1$`$1");case 4968:return l(l(e,/(.+:)(flex-)?(.*)/,B+"box-pack:$3"+V+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+B+e+e;case 4095:case 3583:case 4068:case 2532:return l(e,/(.+)-inline(.+)/,B+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(d(e)-1-t>6)switch(u(e,t+1)){case 109:if(45!==u(e,t+4))break;case 102:return l(e,/(.+:)(.+)-([^]+)/,"$1"+B+"$2-$3$1"+N+(108==u(e,t+3)?"$3":"$2-$3"))+e;case 115:return~c(e,"stretch")?te(l(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==u(e,t+1))break;case 6444:switch(u(e,d(e)-3-(~c(e,"!important")&&10))){case 107:return l(e,":",":"+B)+e;case 101:return l(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+B+(45===u(e,14)?"inline-":"")+"box$3$1"+B+"$2$3$1"+V+"$2box$3")+e}break;case 5936:switch(u(e,t+11)){case 114:return B+e+V+l(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return B+e+V+l(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return B+e+V+l(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return B+e+V+e+e}return e}var re=[function(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case H:e.return=te(e.value,e.length);break;case G:return W([E(e,{value:l(e.value,"@","@"+B)})],n);case z:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,(function(t){switch(function(e,t){return(e=/(::plac\w+|:read-\w+)/.exec(e))?e[0]:e}(t)){case":read-only":case":read-write":return W([E(e,{props:[l(t,/:(read-\w+)/,":-moz-$1")]})],n);case"::placeholder":return W([E(e,{props:[l(t,/:(plac\w+)/,":"+B+"input-$1")]}),E(e,{props:[l(t,/:(plac\w+)/,":-moz-$1")]}),E(e,{props:[l(t,/:(plac\w+)/,V+"input-$1")]})],n)}return""}))}}],ne=function(e){var t=e.key;if("css"===t){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var i,a,s=e.stylisPlugins||re,o={},l=[];i=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute("data-emotion").split(" "),r=1;r<t.length;r++)o[t[r]]=!0;l.push(e)}));var c,u,p,d,h=[q,(d=function(e){c.insert(e)},function(e){e.root||(e=e.return)&&d(e)})],m=(u=[K,ee].concat(s,h),p=f(u),function(e,t,r,n){for(var i="",a=0;a<p;a++)i+=u[a](e,t,r,n)||"";return i});a=function(e,t,r,n){c=r,W(U(e?e+"{"+t.styles+"}":t.styles),m),n&&(g.inserted[t.name]=!0)};var g={key:t,sheet:new n({key:t,container:i,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:o,registered:{},insert:a};return g.sheet.hydrate(l),g}},6289:(e,t,r)=>{"use strict";function n(e){var t=Object.create(null);return function(r){return void 0===t[r]&&(t[r]=e(r)),t[r]}}r.d(t,{A:()=>n})},5684:(e,t,r)=>{"use strict";r.d(t,{C:()=>o,T:()=>c,i:()=>a,w:()=>l});var n=r(1609),i=r(4300),a=(r(3451),r(1287),!0),s=n.createContext("undefined"!=typeof HTMLElement?(0,i.A)({key:"css"}):null),o=s.Provider,l=function(e){return(0,n.forwardRef)((function(t,r){var i=(0,n.useContext)(s);return e(t,i,r)}))};a||(l=function(e){return function(t){var r=(0,n.useContext)(s);return null===r?(r=(0,i.A)({key:"css"}),n.createElement(s.Provider,{value:r},e(t,r))):e(t,r)}});var c=n.createContext({})},7437:(e,t,r)=>{"use strict";r.d(t,{AH:()=>c,i7:()=>u,mL:()=>l});var n=r(5684),i=r(1609),a=r(41),s=r(1287),o=r(3451),l=(r(4300),r(4146),(0,n.w)((function(e,t){var r=e.styles,l=(0,o.J)([r],void 0,i.useContext(n.T));if(!n.i){for(var c,u=l.name,p=l.styles,d=l.next;void 0!==d;)u+=" "+d.name,p+=d.styles,d=d.next;var f=!0===t.compat,h=t.insert("",{name:u,styles:p},t.sheet,f);return f?null:i.createElement("style",((c={})["data-emotion"]=t.key+"-global "+u,c.dangerouslySetInnerHTML={__html:h},c.nonce=t.sheet.nonce,c))}var m=i.useRef();return(0,s.i)((function(){var e=t.key+"-global",r=new t.sheet.constructor({key:e,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),n=!1,i=document.querySelector('style[data-emotion="'+e+" "+l.name+'"]');return t.sheet.tags.length&&(r.before=t.sheet.tags[0]),null!==i&&(n=!0,i.setAttribute("data-emotion",e),r.hydrate([i])),m.current=[r,n],function(){r.flush()}}),[t]),(0,s.i)((function(){var e=m.current,r=e[0];if(e[1])e[1]=!1;else{if(void 0!==l.next&&(0,a.sk)(t,l.next,!0),r.tags.length){var n=r.tags[r.tags.length-1].nextElementSibling;r.before=n,r.flush()}t.insert("",l,r,!1)}}),[t,l.name]),null})));function c(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return(0,o.J)(t)}var u=function(){var e=c.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}},3451:(e,t,r)=>{"use strict";r.d(t,{J:()=>h});var n={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},i=r(6289),a=/[A-Z]|^ms/g,s=/_EMO_([^_]+?)_([^]*?)_EMO_/g,o=function(e){return 45===e.charCodeAt(1)},l=function(e){return null!=e&&"boolean"!=typeof e},c=(0,i.A)((function(e){return o(e)?e:e.replace(a,"-$&").toLowerCase()})),u=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(s,(function(e,t,r){return d={name:t,styles:r,next:d},t}))}return 1===n[e]||o(e)||"number"!=typeof t||0===t?t:t+"px"};function p(e,t,r){if(null==r)return"";if(void 0!==r.__emotion_styles)return r;switch(typeof r){case"boolean":return"";case"object":if(1===r.anim)return d={name:r.name,styles:r.styles,next:d},r.name;if(void 0!==r.styles){var n=r.next;if(void 0!==n)for(;void 0!==n;)d={name:n.name,styles:n.styles,next:d},n=n.next;return r.styles+";"}return function(e,t,r){var n="";if(Array.isArray(r))for(var i=0;i<r.length;i++)n+=p(e,t,r[i])+";";else for(var a in r){var s=r[a];if("object"!=typeof s)null!=t&&void 0!==t[s]?n+=a+"{"+t[s]+"}":l(s)&&(n+=c(a)+":"+u(a,s)+";");else if(!Array.isArray(s)||"string"!=typeof s[0]||null!=t&&void 0!==t[s[0]]){var o=p(e,t,s);switch(a){case"animation":case"animationName":n+=c(a)+":"+o+";";break;default:n+=a+"{"+o+"}"}}else for(var d=0;d<s.length;d++)l(s[d])&&(n+=c(a)+":"+u(a,s[d])+";")}return n}(e,t,r);case"function":if(void 0!==e){var i=d,a=r(e);return d=i,p(e,t,a)}}if(null==t)return r;var s=t[r];return void 0!==s?s:r}var d,f=/label:\s*([^\s;\n{]+)\s*(;|$)/g,h=function(e,t,r){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var n=!0,i="";d=void 0;var a=e[0];null==a||void 0===a.raw?(n=!1,i+=p(r,t,a)):i+=a[0];for(var s=1;s<e.length;s++)i+=p(r,t,e[s]),n&&(i+=a[s]);f.lastIndex=0;for(var o,l="";null!==(o=f.exec(i));)l+="-"+o[1];var c=function(e){for(var t,r=0,n=0,i=e.length;i>=4;++n,i-=4)t=1540483477*(65535&(t=255&e.charCodeAt(n)|(255&e.charCodeAt(++n))<<8|(255&e.charCodeAt(++n))<<16|(255&e.charCodeAt(++n))<<24))+(59797*(t>>>16)<<16),r=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&r)+(59797*(r>>>16)<<16);switch(i){case 3:r^=(255&e.charCodeAt(n+2))<<16;case 2:r^=(255&e.charCodeAt(n+1))<<8;case 1:r=1540483477*(65535&(r^=255&e.charCodeAt(n)))+(59797*(r>>>16)<<16)}return(((r=1540483477*(65535&(r^=r>>>13))+(59797*(r>>>16)<<16))^r>>>15)>>>0).toString(36)}(i)+l;return{name:c,styles:i,next:d}}},1287:(e,t,r)=>{"use strict";r.d(t,{i:()=>s,s:()=>a});var n=r(1609),i=!!n.useInsertionEffect&&n.useInsertionEffect,a=i||function(e){return e()},s=i||n.useLayoutEffect},41:(e,t,r)=>{"use strict";function n(e,t,r){var n="";return r.split(" ").forEach((function(r){void 0!==e[r]?t.push(e[r]+";"):n+=r+" "})),n}r.d(t,{Rk:()=>n,SF:()=>i,sk:()=>a});var i=function(e,t,r){var n=e.key+"-"+t.name;!1===r&&void 0===e.registered[n]&&(e.registered[n]=t.styles)},a=function(e,t,r){i(e,t,r);var n=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var a=t;do{e.insert(t===a?"."+n:"",a,e.sheet,!0),a=a.next}while(void 0!==a)}}},4073:(e,t,r)=>{"use strict";r.r(t),r.d(t,{GlobalStyles:()=>k,StyledEngineProvider:()=>E,ThemeContext:()=>l.T,css:()=>v.AH,default:()=>S,internal_processStyles:()=>C,keyframes:()=>v.i7});var n=r(8168),i=r(1609),a=r(6289),s=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,o=(0,a.A)((function(e){return s.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91})),l=r(5684),c=r(41),u=r(3451),p=r(1287),d=o,f=function(e){return"theme"!==e},h=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?d:f},m=function(e,t,r){var n;if(t){var i=t.shouldForwardProp;n=e.__emotion_forwardProp&&i?function(t){return e.__emotion_forwardProp(t)&&i(t)}:i}return"function"!=typeof n&&r&&(n=e.__emotion_forwardProp),n},g=function(e){var t=e.cache,r=e.serialized,n=e.isStringTag;return(0,c.SF)(t,r,n),(0,p.s)((function(){return(0,c.sk)(t,r,n)})),null},y=function e(t,r){var a,s,o=t.__emotion_real===t,p=o&&t.__emotion_base||t;void 0!==r&&(a=r.label,s=r.target);var d=m(t,r,o),f=d||h(p),y=!f("as");return function(){var v=arguments,b=o&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==a&&b.push("label:"+a+";"),null==v[0]||void 0===v[0].raw)b.push.apply(b,v);else{b.push(v[0][0]);for(var x=v.length,w=1;w<x;w++)b.push(v[w],v[0][w])}var E=(0,l.w)((function(e,t,r){var n=y&&e.as||p,a="",o=[],m=e;if(null==e.theme){for(var v in m={},e)m[v]=e[v];m.theme=i.useContext(l.T)}"string"==typeof e.className?a=(0,c.Rk)(t.registered,o,e.className):null!=e.className&&(a=e.className+" ");var x=(0,u.J)(b.concat(o),t.registered,m);a+=t.key+"-"+x.name,void 0!==s&&(a+=" "+s);var w=y&&void 0===d?h(n):f,E={};for(var k in e)y&&"as"===k||w(k)&&(E[k]=e[k]);return E.className=a,E.ref=r,i.createElement(i.Fragment,null,i.createElement(g,{cache:t,serialized:x,isStringTag:"string"==typeof n}),i.createElement(n,E))}));return E.displayName=void 0!==a?a:"Styled("+("string"==typeof p?p:p.displayName||p.name||"Component")+")",E.defaultProps=t.defaultProps,E.__emotion_real=E,E.__emotion_base=p,E.__emotion_styles=b,E.__emotion_forwardProp=d,Object.defineProperty(E,"toString",{value:function(){return"."+s}}),E.withComponent=function(t,i){return e(t,(0,n.A)({},r,i,{shouldForwardProp:m(E,i,!0)})).apply(void 0,b)},E}}.bind();["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"].forEach((function(e){y[e]=y(e)}));var v=r(7437),b=r(4300),x=r(4848);let w;function E(e){const{injectFirst:t,children:r}=e;return t&&w?(0,x.jsx)(l.C,{value:w,children:r}):r}function k(e){const{styles:t,defaultTheme:r={}}=e,n="function"==typeof t?e=>{return t(null==(n=e)||0===Object.keys(n).length?r:e);var n}:t;return(0,x.jsx)(v.mL,{styles:n})}function S(e,t){return y(e,t)}"object"==typeof document&&(w=(0,b.A)({key:"css",prepend:!0}));const C=(e,t)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))}},771:(e,t,r)=>{"use strict";var n=r(4994);t.e$=function(e,t){if(e=o(e),t=s(t),-1!==e.type.indexOf("hsl"))e.values[2]*=1-t;else if(-1!==e.type.indexOf("rgb")||-1!==e.type.indexOf("color"))for(let r=0;r<3;r+=1)e.values[r]*=1-t;return l(e)},t.eM=function(e,t){const r=c(e),n=c(t);return(Math.max(r,n)+.05)/(Math.min(r,n)+.05)},t.a=function(e,t){if(e=o(e),t=s(t),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*t;else if(-1!==e.type.indexOf("rgb"))for(let r=0;r<3;r+=1)e.values[r]+=(255-e.values[r])*t;else if(-1!==e.type.indexOf("color"))for(let r=0;r<3;r+=1)e.values[r]+=(1-e.values[r])*t;return l(e)};var i=n(r(2108)),a=n(r(4966));function s(e,t=0,r=1){return(0,a.default)(e,t,r)}function o(e){if(e.type)return e;if("#"===e.charAt(0))return o(function(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let r=e.match(t);return r&&1===r[0].length&&(r=r.map((e=>e+e))),r?`rgb${4===r.length?"a":""}(${r.map(((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3)).join(", ")})`:""}(e));const t=e.indexOf("("),r=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(r))throw new Error((0,i.default)(9,e));let n,a=e.substring(t+1,e.length-1);if("color"===r){if(a=a.split(" "),n=a.shift(),4===a.length&&"/"===a[3].charAt(0)&&(a[3]=a[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(n))throw new Error((0,i.default)(10,n))}else a=a.split(",");return a=a.map((e=>parseFloat(e))),{type:r,values:a,colorSpace:n}}function l(e){const{type:t,colorSpace:r}=e;let{values:n}=e;return-1!==t.indexOf("rgb")?n=n.map(((e,t)=>t<3?parseInt(e,10):e)):-1!==t.indexOf("hsl")&&(n[1]=`${n[1]}%`,n[2]=`${n[2]}%`),n=-1!==t.indexOf("color")?`${r} ${n.join(" ")}`:`${n.join(", ")}`,`${t}(${n})`}function c(e){let t="hsl"===(e=o(e)).type||"hsla"===e.type?o(function(e){e=o(e);const{values:t}=e,r=t[0],n=t[1]/100,i=t[2]/100,a=n*Math.min(i,1-i),s=(e,t=(e+r/30)%12)=>i-a*Math.max(Math.min(t-3,9-t,1),-1);let c="rgb";const u=[Math.round(255*s(0)),Math.round(255*s(8)),Math.round(255*s(4))];return"hsla"===e.type&&(c+="a",u.push(t[3])),l({type:c,values:u})}(e)).values:e.values;return t=t.map((t=>("color"!==e.type&&(t/=255),t<=.03928?t/12.92:((t+.055)/1.055)**2.4))),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}},6461:(e,t,r)=>{"use strict";var n=r(4994);t.Ay=function(e={}){const{themeId:t,defaultTheme:r=m,rootShouldForwardProp:n=h,slotShouldForwardProp:l=h}=e,u=e=>(0,c.default)((0,i.default)({},e,{theme:y((0,i.default)({},e,{defaultTheme:r,themeId:t}))}));return u.__mui_systemSx=!0,(e,c={})=>{(0,s.internal_processStyles)(e,(e=>e.filter((e=>!(null!=e&&e.__mui_systemSx)))));const{name:p,slot:f,skipVariantsResolver:m,skipSx:x,overridesResolver:w=v(g(f))}=c,E=(0,a.default)(c,d),k=void 0!==m?m:f&&"Root"!==f&&"root"!==f||!1,S=x||!1;let C=h;"Root"===f||"root"===f?C=n:f?C=l:function(e){return"string"==typeof e&&e.charCodeAt(0)>96}(e)&&(C=void 0);const A=(0,s.default)(e,(0,i.default)({shouldForwardProp:C,label:void 0},E)),P=e=>"function"==typeof e&&e.__emotion_real!==e||(0,o.isPlainObject)(e)?n=>b(e,(0,i.default)({},n,{theme:y({theme:n.theme,defaultTheme:r,themeId:t})})):e,_=(n,...a)=>{let s=P(n);const o=a?a.map(P):[];p&&w&&o.push((e=>{const n=y((0,i.default)({},e,{defaultTheme:r,themeId:t}));if(!n.components||!n.components[p]||!n.components[p].styleOverrides)return null;const a=n.components[p].styleOverrides,s={};return Object.entries(a).forEach((([t,r])=>{s[t]=b(r,(0,i.default)({},e,{theme:n}))})),w(e,s)})),p&&!k&&o.push((e=>{var n;const a=y((0,i.default)({},e,{defaultTheme:r,themeId:t}));return b({variants:null==a||null==(n=a.components)||null==(n=n[p])?void 0:n.variants},(0,i.default)({},e,{theme:a}))})),S||o.push(u);const l=o.length-a.length;if(Array.isArray(n)&&l>0){const e=new Array(l).fill("");s=[...n,...e],s.raw=[...n.raw,...e]}const c=A(s,...o);return e.muiName&&(c.muiName=e.muiName),c};return A.withConfig&&(_.withConfig=A.withConfig),_}};var i=n(r(4634)),a=n(r(4893)),s=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=f(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=i?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(n,a,s):n[a]=e[a]}return n.default=e,r&&r.set(e,n),n}(r(4073)),o=r(819),l=(n(r(8217)),n(r(1172)),n(r(3142))),c=n(r(3857));const u=["ownerState"],p=["variants"],d=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(f=function(e){return e?r:t})(e)}function h(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}const m=(0,l.default)(),g=e=>e?e.charAt(0).toLowerCase()+e.slice(1):e;function y({defaultTheme:e,theme:t,themeId:r}){return n=t,0===Object.keys(n).length?e:t[r]||t;var n}function v(e){return e?(t,r)=>r[e]:null}function b(e,t){let{ownerState:r}=t,n=(0,a.default)(t,u);const s="function"==typeof e?e((0,i.default)({ownerState:r},n)):e;if(Array.isArray(s))return s.flatMap((e=>b(e,(0,i.default)({ownerState:r},n))));if(s&&"object"==typeof s&&Array.isArray(s.variants)){const{variants:e=[]}=s;let t=(0,a.default)(s,p);return e.forEach((e=>{let a=!0;"function"==typeof e.props?a=e.props((0,i.default)({ownerState:r},n,r)):Object.keys(e.props).forEach((t=>{(null==r?void 0:r[t])!==e.props[t]&&n[t]!==e.props[t]&&(a=!1)})),a&&(Array.isArray(t)||(t=[t]),t.push("function"==typeof e.style?e.style((0,i.default)({ownerState:r},n,r)):e.style))})),t}return s}},9452:(e,t,r)=>{"use strict";r.d(t,{EU:()=>s,NI:()=>a,kW:()=>l,vf:()=>o,zu:()=>n});const n={xs:0,sm:600,md:900,lg:1200,xl:1536},i={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${n[e]}px)`};function a(e,t,r){const a=e.theme||{};if(Array.isArray(t)){const e=a.breakpoints||i;return t.reduce(((n,i,a)=>(n[e.up(e.keys[a])]=r(t[a]),n)),{})}if("object"==typeof t){const e=a.breakpoints||i;return Object.keys(t).reduce(((i,a)=>{if(-1!==Object.keys(e.values||n).indexOf(a))i[e.up(a)]=r(t[a],a);else{const e=a;i[e]=t[e]}return i}),{})}return r(t)}function s(e={}){var t;return(null==(t=e.keys)?void 0:t.reduce(((t,r)=>(t[e.up(r)]={},t)),{}))||{}}function o(e,t){return e.reduce(((e,t)=>{const r=e[t];return(!r||0===Object.keys(r).length)&&delete e[t],e}),t)}function l({values:e,breakpoints:t,base:r}){const n=r||function(e,t){if("object"!=typeof e)return{};const r={},n=Object.keys(t);return Array.isArray(e)?n.forEach(((t,n)=>{n<e.length&&(r[t]=!0)})):n.forEach((t=>{null!=e[t]&&(r[t]=!0)})),r}(e,t),i=Object.keys(n);if(0===i.length)return e;let a;return i.reduce(((t,r,n)=>(Array.isArray(e)?(t[r]=null!=e[n]?e[n]:e[a],a=n):"object"==typeof e?(t[r]=null!=e[r]?e[r]:e[a],a=r):t[r]=e,t)),{})}},8336:(e,t,r)=>{"use strict";function n(e,t){const r=this;return r.vars&&"function"==typeof r.getColorSchemeSelector?{[r.getColorSchemeSelector(e).replace(/(\[[^\]]+\])/,"*:where($1)")]:t}:r.palette.mode===e?t:{}}r.d(t,{A:()=>n})},8094:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=r(8587),i=r(8168);const a=["values","unit","step"],s=e=>{const t=Object.keys(e).map((t=>({key:t,val:e[t]})))||[];return t.sort(((e,t)=>e.val-t.val)),t.reduce(((e,t)=>(0,i.A)({},e,{[t.key]:t.val})),{})};function o(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:r="px",step:o=5}=e,l=(0,n.A)(e,a),c=s(t),u=Object.keys(c);function p(e){return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${r})`}function d(e){return`@media (max-width:${("number"==typeof t[e]?t[e]:e)-o/100}${r})`}function f(e,n){const i=u.indexOf(n);return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${r}) and (max-width:${(-1!==i&&"number"==typeof t[u[i]]?t[u[i]]:n)-o/100}${r})`}return(0,i.A)({keys:u,values:c,up:p,down:d,between:f,only:function(e){return u.indexOf(e)+1<u.length?f(e,u[u.indexOf(e)+1]):p(e)},not:function(e){const t=u.indexOf(e);return 0===t?p(u[1]):t===u.length-1?d(u[t]):f(e,u[u.indexOf(e)+1]).replace("@media","@media not all and")},unit:r},l)}},8749:(e,t,r)=>{"use strict";r.d(t,{A:()=>f});var n=r(8168),i=r(8587),a=r(4521),s=r(8094);const o={borderRadius:4};var l=r(8248),c=r(3571),u=r(4188),p=r(8336);const d=["breakpoints","palette","spacing","shape"],f=function(e={},...t){const{breakpoints:r={},palette:f={},spacing:h,shape:m={}}=e,g=(0,i.A)(e,d),y=(0,s.A)(r),v=function(e=8){if(e.mui)return e;const t=(0,l.LX)({spacing:e}),r=(...e)=>(0===e.length?[1]:e).map((e=>{const r=t(e);return"number"==typeof r?`${r}px`:r})).join(" ");return r.mui=!0,r}(h);let b=(0,a.A)({breakpoints:y,direction:"ltr",components:{},palette:(0,n.A)({mode:"light"},f),spacing:v,shape:(0,n.A)({},o,m)},g);return b.applyStyles=p.A,b=t.reduce(((e,t)=>(0,a.A)(e,t)),b),b.unstable_sxConfig=(0,n.A)({},u.A,null==g?void 0:g.unstable_sxConfig),b.unstable_sx=function(e){return(0,c.A)({sx:e,theme:this})},b}},3142:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n.A,private_createBreakpoints:()=>i.A,unstable_applyStyles:()=>a.A});var n=r(8749),i=r(8094),a=r(8336)},4620:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=r(4521);const i=function(e,t){return t?(0,n.A)(e,t,{clone:!1}):e}},8248:(e,t,r)=>{"use strict";r.d(t,{LX:()=>h,MA:()=>f,_W:()=>m,Lc:()=>y,Ms:()=>v});var n=r(9452),i=r(6481),a=r(4620);const s={m:"margin",p:"padding"},o={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},l={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},c=function(e){const t={};return e=>(void 0===t[e]&&(t[e]=(e=>{if(e.length>2){if(!l[e])return[e];e=l[e]}const[t,r]=e.split(""),n=s[t],i=o[r]||"";return Array.isArray(i)?i.map((e=>n+e)):[n+i]})(e)),t[e])}(),u=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],p=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],d=[...u,...p];function f(e,t,r,n){var a;const s=null!=(a=(0,i.Yn)(e,t,!1))?a:r;return"number"==typeof s?e=>"string"==typeof e?e:s*e:Array.isArray(s)?e=>"string"==typeof e?e:s[e]:"function"==typeof s?s:()=>{}}function h(e){return f(e,"spacing",8)}function m(e,t){if("string"==typeof t||null==t)return t;const r=e(Math.abs(t));return t>=0?r:"number"==typeof r?-r:`-${r}`}function g(e,t){const r=h(e.theme);return Object.keys(e).map((i=>function(e,t,r,i){if(-1===t.indexOf(r))return null;const a=function(e,t){return r=>e.reduce(((e,n)=>(e[n]=m(t,r),e)),{})}(c(r),i),s=e[r];return(0,n.NI)(e,s,a)}(e,t,i,r))).reduce(a.A,{})}function y(e){return g(e,u)}function v(e){return g(e,p)}function b(e){return g(e,d)}y.propTypes={},y.filterProps=u,v.propTypes={},v.filterProps=p,b.propTypes={},b.filterProps=d},6481:(e,t,r)=>{"use strict";r.d(t,{Ay:()=>o,BO:()=>s,Yn:()=>a});var n=r(8659),i=r(9452);function a(e,t,r=!0){if(!t||"string"!=typeof t)return null;if(e&&e.vars&&r){const r=`vars.${t}`.split(".").reduce(((e,t)=>e&&e[t]?e[t]:null),e);if(null!=r)return r}return t.split(".").reduce(((e,t)=>e&&null!=e[t]?e[t]:null),e)}function s(e,t,r,n=r){let i;return i="function"==typeof e?e(r):Array.isArray(e)?e[r]||n:a(e,r)||n,t&&(i=t(i,n,e)),i}const o=function(e){const{prop:t,cssProperty:r=e.prop,themeKey:o,transform:l}=e,c=e=>{if(null==e[t])return null;const c=e[t],u=a(e.theme,o)||{};return(0,i.NI)(e,c,(e=>{let i=s(u,l,e);return e===i&&"string"==typeof e&&(i=s(u,l,`${t}${"default"===e?"":(0,n.A)(e)}`,e)),!1===r?i:{[r]:i}}))};return c.propTypes={},c.filterProps=[t],c}},4188:(e,t,r)=>{"use strict";r.d(t,{A:()=>R});var n=r(8248),i=r(6481),a=r(4620);const s=function(...e){const t=e.reduce(((e,t)=>(t.filterProps.forEach((r=>{e[r]=t})),e)),{}),r=e=>Object.keys(e).reduce(((r,n)=>t[n]?(0,a.A)(r,t[n](e)):r),{});return r.propTypes={},r.filterProps=e.reduce(((e,t)=>e.concat(t.filterProps)),[]),r};var o=r(9452);function l(e){return"number"!=typeof e?e:`${e}px solid`}function c(e,t){return(0,i.Ay)({prop:e,themeKey:"borders",transform:t})}const u=c("border",l),p=c("borderTop",l),d=c("borderRight",l),f=c("borderBottom",l),h=c("borderLeft",l),m=c("borderColor"),g=c("borderTopColor"),y=c("borderRightColor"),v=c("borderBottomColor"),b=c("borderLeftColor"),x=c("outline",l),w=c("outlineColor"),E=e=>{if(void 0!==e.borderRadius&&null!==e.borderRadius){const t=(0,n.MA)(e.theme,"shape.borderRadius",4,"borderRadius"),r=e=>({borderRadius:(0,n._W)(t,e)});return(0,o.NI)(e,e.borderRadius,r)}return null};E.propTypes={},E.filterProps=["borderRadius"],s(u,p,d,f,h,m,g,y,v,b,E,x,w);const k=e=>{if(void 0!==e.gap&&null!==e.gap){const t=(0,n.MA)(e.theme,"spacing",8,"gap"),r=e=>({gap:(0,n._W)(t,e)});return(0,o.NI)(e,e.gap,r)}return null};k.propTypes={},k.filterProps=["gap"];const S=e=>{if(void 0!==e.columnGap&&null!==e.columnGap){const t=(0,n.MA)(e.theme,"spacing",8,"columnGap"),r=e=>({columnGap:(0,n._W)(t,e)});return(0,o.NI)(e,e.columnGap,r)}return null};S.propTypes={},S.filterProps=["columnGap"];const C=e=>{if(void 0!==e.rowGap&&null!==e.rowGap){const t=(0,n.MA)(e.theme,"spacing",8,"rowGap"),r=e=>({rowGap:(0,n._W)(t,e)});return(0,o.NI)(e,e.rowGap,r)}return null};function A(e,t){return"grey"===t?t:e}function P(e){return e<=1&&0!==e?100*e+"%":e}C.propTypes={},C.filterProps=["rowGap"],s(k,S,C,(0,i.Ay)({prop:"gridColumn"}),(0,i.Ay)({prop:"gridRow"}),(0,i.Ay)({prop:"gridAutoFlow"}),(0,i.Ay)({prop:"gridAutoColumns"}),(0,i.Ay)({prop:"gridAutoRows"}),(0,i.Ay)({prop:"gridTemplateColumns"}),(0,i.Ay)({prop:"gridTemplateRows"}),(0,i.Ay)({prop:"gridTemplateAreas"}),(0,i.Ay)({prop:"gridArea"})),s((0,i.Ay)({prop:"color",themeKey:"palette",transform:A}),(0,i.Ay)({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:A}),(0,i.Ay)({prop:"backgroundColor",themeKey:"palette",transform:A}));const _=(0,i.Ay)({prop:"width",transform:P}),T=e=>{if(void 0!==e.maxWidth&&null!==e.maxWidth){const t=t=>{var r,n;const i=(null==(r=e.theme)||null==(r=r.breakpoints)||null==(r=r.values)?void 0:r[t])||o.zu[t];return i?"px"!==(null==(n=e.theme)||null==(n=n.breakpoints)?void 0:n.unit)?{maxWidth:`${i}${e.theme.breakpoints.unit}`}:{maxWidth:i}:{maxWidth:P(t)}};return(0,o.NI)(e,e.maxWidth,t)}return null};T.filterProps=["maxWidth"];const I=(0,i.Ay)({prop:"minWidth",transform:P}),F=(0,i.Ay)({prop:"height",transform:P}),M=(0,i.Ay)({prop:"maxHeight",transform:P}),D=(0,i.Ay)({prop:"minHeight",transform:P}),R=((0,i.Ay)({prop:"size",cssProperty:"width",transform:P}),(0,i.Ay)({prop:"size",cssProperty:"height",transform:P}),s(_,T,I,F,M,D,(0,i.Ay)({prop:"boxSizing"})),{border:{themeKey:"borders",transform:l},borderTop:{themeKey:"borders",transform:l},borderRight:{themeKey:"borders",transform:l},borderBottom:{themeKey:"borders",transform:l},borderLeft:{themeKey:"borders",transform:l},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:l},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:E},color:{themeKey:"palette",transform:A},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:A},backgroundColor:{themeKey:"palette",transform:A},p:{style:n.Ms},pt:{style:n.Ms},pr:{style:n.Ms},pb:{style:n.Ms},pl:{style:n.Ms},px:{style:n.Ms},py:{style:n.Ms},padding:{style:n.Ms},paddingTop:{style:n.Ms},paddingRight:{style:n.Ms},paddingBottom:{style:n.Ms},paddingLeft:{style:n.Ms},paddingX:{style:n.Ms},paddingY:{style:n.Ms},paddingInline:{style:n.Ms},paddingInlineStart:{style:n.Ms},paddingInlineEnd:{style:n.Ms},paddingBlock:{style:n.Ms},paddingBlockStart:{style:n.Ms},paddingBlockEnd:{style:n.Ms},m:{style:n.Lc},mt:{style:n.Lc},mr:{style:n.Lc},mb:{style:n.Lc},ml:{style:n.Lc},mx:{style:n.Lc},my:{style:n.Lc},margin:{style:n.Lc},marginTop:{style:n.Lc},marginRight:{style:n.Lc},marginBottom:{style:n.Lc},marginLeft:{style:n.Lc},marginX:{style:n.Lc},marginY:{style:n.Lc},marginInline:{style:n.Lc},marginInlineStart:{style:n.Lc},marginInlineEnd:{style:n.Lc},marginBlock:{style:n.Lc},marginBlockStart:{style:n.Lc},marginBlockEnd:{style:n.Lc},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:k},rowGap:{style:C},columnGap:{style:S},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:P},maxWidth:{style:T},minWidth:{transform:P},height:{transform:P},maxHeight:{transform:P},minHeight:{transform:P},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}})},9599:(e,t,r)=>{"use strict";r.d(t,{A:()=>c});var n=r(8168),i=r(8587),a=r(4521),s=r(4188);const o=["sx"],l=e=>{var t,r;const n={systemProps:{},otherProps:{}},i=null!=(t=null==e||null==(r=e.theme)?void 0:r.unstable_sxConfig)?t:s.A;return Object.keys(e).forEach((t=>{i[t]?n.systemProps[t]=e[t]:n.otherProps[t]=e[t]})),n};function c(e){const{sx:t}=e,r=(0,i.A)(e,o),{systemProps:s,otherProps:c}=l(r);let u;return u=Array.isArray(t)?[s,...t]:"function"==typeof t?(...e)=>{const r=t(...e);return(0,a.Q)(r)?(0,n.A)({},s,r):s}:(0,n.A)({},s,t),(0,n.A)({},c,{sx:u})}},3857:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n.A,extendSxProp:()=>i.A,unstable_createStyleFunctionSx:()=>n.k,unstable_defaultSxConfig:()=>a.A});var n=r(3571),i=r(9599),a=r(4188)},3571:(e,t,r)=>{"use strict";r.d(t,{A:()=>u,k:()=>l});var n=r(8659),i=r(4620),a=r(6481),s=r(9452),o=r(4188);function l(){function e(e,t,r,i){const o={[e]:t,theme:r},l=i[e];if(!l)return{[e]:t};const{cssProperty:c=e,themeKey:u,transform:p,style:d}=l;if(null==t)return null;if("typography"===u&&"inherit"===t)return{[e]:t};const f=(0,a.Yn)(r,u)||{};return d?d(o):(0,s.NI)(o,t,(t=>{let r=(0,a.BO)(f,p,t);return t===r&&"string"==typeof t&&(r=(0,a.BO)(f,p,`${e}${"default"===t?"":(0,n.A)(t)}`,t)),!1===c?r:{[c]:r}}))}return function t(r){var n;const{sx:a,theme:l={}}=r||{};if(!a)return null;const c=null!=(n=l.unstable_sxConfig)?n:o.A;function u(r){let n=r;if("function"==typeof r)n=r(l);else if("object"!=typeof r)return r;if(!n)return null;const a=(0,s.EU)(l.breakpoints),o=Object.keys(a);let u=a;return Object.keys(n).forEach((r=>{const a="function"==typeof(o=n[r])?o(l):o;var o;if(null!=a)if("object"==typeof a)if(c[r])u=(0,i.A)(u,e(r,a,l,c));else{const e=(0,s.NI)({theme:l},a,(e=>({[r]:e})));!function(...e){const t=e.reduce(((e,t)=>e.concat(Object.keys(t))),[]),r=new Set(t);return e.every((e=>r.size===Object.keys(e).length))}(e,a)?u=(0,i.A)(u,e):u[r]=t({sx:a,theme:l})}else u=(0,i.A)(u,e(r,a,l,c))})),(0,s.vf)(o,u)}return Array.isArray(a)?a.map(u):u(a)}}const c=l();c.filterProps=["sx"];const u=c},8659:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=r(5697);function i(e){if("string"!=typeof e)throw new Error((0,n.A)(7));return e.charAt(0).toUpperCase()+e.slice(1)}},8217:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n.A});var n=r(8659)},6937:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});const n=function(e,t=Number.MIN_SAFE_INTEGER,r=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,r))}},4966:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n.A});var n=r(6937)},4521:(e,t,r)=>{"use strict";r.d(t,{A:()=>s,Q:()=>i});var n=r(8168);function i(e){if("object"!=typeof e||null===e)return!1;const t=Object.getPrototypeOf(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)}function a(e){if(!i(e))return e;const t={};return Object.keys(e).forEach((r=>{t[r]=a(e[r])})),t}function s(e,t,r={clone:!0}){const o=r.clone?(0,n.A)({},e):e;return i(e)&&i(t)&&Object.keys(t).forEach((n=>{"__proto__"!==n&&(i(t[n])&&n in e&&i(e[n])?o[n]=s(e[n],t[n],r):r.clone?o[n]=i(t[n])?a(t[n]):t[n]:o[n]=t[n])})),o}},819:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n.A,isPlainObject:()=>n.Q});var n=r(4521)},5697:(e,t,r)=>{"use strict";function n(e){let t="https://mui.com/production-error/?code="+e;for(let e=1;e<arguments.length;e+=1)t+="&args[]="+encodeURIComponent(arguments[e]);return"Minified MUI error #"+e+"; visit "+t+" for the full message."}r.d(t,{A:()=>n})},2108:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n.A});var n=r(5697)},1172:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>l,getFunctionName:()=>a});var n=r(4363);const i=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function a(e){const t=`${e}`.match(i);return t&&t[1]||""}function s(e,t=""){return e.displayName||e.name||a(e)||t}function o(e,t,r){const n=s(t);return e.displayName||(""!==n?`${r}(${n})`:r)}function l(e){if(null!=e){if("string"==typeof e)return e;if("function"==typeof e)return s(e,"Component");if("object"==typeof e)switch(e.$$typeof){case n.ForwardRef:return o(e,e.render,"ForwardRef");case n.Memo:return o(e,e.type,"memo");default:return}}}},2476:()=>{},94:(e,t,r)=>{"use strict";var n={};r.r(n),r.d(n,{VERSION:()=>l,after:()=>Nt,all:()=>ir,allKeys:()=>xe,any:()=>ar,assign:()=>Ne,before:()=>Bt,bind:()=>At,bindAll:()=>Tt,chain:()=>Et,chunk:()=>zr,clone:()=>He,collect:()=>Zt,compact:()=>Ir,compose:()=>Vt,constant:()=>re,contains:()=>sr,countBy:()=>xr,create:()=>ze,debounce:()=>Rt,default:()=>Wr,defaults:()=>Be,defer:()=>Mt,delay:()=>Ft,detect:()=>$t,difference:()=>Mr,drop:()=>_r,each:()=>Yt,escape:()=>ut,every:()=>ir,extend:()=>Ve,extendOwn:()=>Ne,filter:()=>rr,find:()=>$t,findIndex:()=>Gt,findKey:()=>zt,findLastIndex:()=>Wt,findWhere:()=>Jt,first:()=>Pr,flatten:()=>Fr,foldl:()=>er,foldr:()=>tr,forEach:()=>Yt,functions:()=>Le,get:()=>Xe,groupBy:()=>vr,has:()=>Qe,head:()=>Pr,identity:()=>$e,include:()=>sr,includes:()=>sr,indexBy:()=>br,indexOf:()=>Xt,initial:()=>Ar,inject:()=>er,intersection:()=>Or,invert:()=>Re,invoke:()=>or,isArguments:()=>K,isArray:()=>J,isArrayBuffer:()=>z,isBoolean:()=>M,isDataView:()=>$,isDate:()=>V,isElement:()=>D,isEmpty:()=>de,isEqual:()=>be,isError:()=>B,isFinite:()=>ee,isFunction:()=>W,isMap:()=>_e,isMatch:()=>fe,isNaN:()=>te,isNull:()=>I,isNumber:()=>O,isObject:()=>T,isRegExp:()=>N,isSet:()=>Ie,isString:()=>L,isSymbol:()=>j,isTypedArray:()=>le,isUndefined:()=>F,isWeakMap:()=>Te,isWeakSet:()=>Fe,iteratee:()=>et,keys:()=>pe,last:()=>Tr,lastIndexOf:()=>Qt,map:()=>Zt,mapObject:()=>rt,matcher:()=>Je,matches:()=>Je,max:()=>ur,memoize:()=>It,methods:()=>Le,min:()=>pr,mixin:()=>Gr,negate:()=>Ot,noop:()=>nt,now:()=>ot,object:()=>Br,omit:()=>Cr,once:()=>jt,pairs:()=>De,partial:()=>Ct,partition:()=>wr,pick:()=>Sr,pluck:()=>lr,property:()=>Ye,propertyOf:()=>it,random:()=>st,range:()=>jr,reduce:()=>er,reduceRight:()=>tr,reject:()=>nr,rest:()=>_r,restArguments:()=>_,result:()=>bt,sample:()=>hr,select:()=>rr,shuffle:()=>mr,size:()=>Er,some:()=>ar,sortBy:()=>gr,sortedIndex:()=>qt,tail:()=>_r,take:()=>Pr,tap:()=>Ge,template:()=>vt,templateSettings:()=>dt,throttle:()=>Dt,times:()=>at,toArray:()=>fr,toPath:()=>We,transpose:()=>Vr,unescape:()=>pt,union:()=>Lr,uniq:()=>Rr,unique:()=>Rr,uniqueId:()=>wt,unzip:()=>Vr,values:()=>Me,where:()=>cr,without:()=>Dr,wrap:()=>Lt,zip:()=>Nr});var i=r(1609),a=r.t(i,2),s=r.n(i);const o=window.ReactDOM;var l="1.13.6",c="object"==typeof self&&self.self===self&&self||"object"==typeof global&&global.global===global&&global||Function("return this")()||{},u=Array.prototype,p=Object.prototype,d="undefined"!=typeof Symbol?Symbol.prototype:null,f=u.push,h=u.slice,m=p.toString,g=p.hasOwnProperty,y="undefined"!=typeof ArrayBuffer,v="undefined"!=typeof DataView,b=Array.isArray,x=Object.keys,w=Object.create,E=y&&ArrayBuffer.isView,k=isNaN,S=isFinite,C=!{toString:null}.propertyIsEnumerable("toString"),A=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],P=Math.pow(2,53)-1;function _(e,t){return t=null==t?e.length-1:+t,function(){for(var r=Math.max(arguments.length-t,0),n=Array(r),i=0;i<r;i++)n[i]=arguments[i+t];switch(t){case 0:return e.call(this,n);case 1:return e.call(this,arguments[0],n);case 2:return e.call(this,arguments[0],arguments[1],n)}var a=Array(t+1);for(i=0;i<t;i++)a[i]=arguments[i];return a[t]=n,e.apply(this,a)}}function T(e){var t=typeof e;return"function"===t||"object"===t&&!!e}function I(e){return null===e}function F(e){return void 0===e}function M(e){return!0===e||!1===e||"[object Boolean]"===m.call(e)}function D(e){return!(!e||1!==e.nodeType)}function R(e){var t="[object "+e+"]";return function(e){return m.call(e)===t}}const L=R("String"),O=R("Number"),V=R("Date"),N=R("RegExp"),B=R("Error"),j=R("Symbol"),z=R("ArrayBuffer");var H=R("Function"),G=c.document&&c.document.childNodes;"object"!=typeof Int8Array&&"function"!=typeof G&&(H=function(e){return"function"==typeof e||!1});const W=H,q=R("Object");var U=v&&q(new DataView(new ArrayBuffer(8))),X="undefined"!=typeof Map&&q(new Map),Q=R("DataView");const $=U?function(e){return null!=e&&W(e.getInt8)&&z(e.buffer)}:Q,J=b||R("Array");function Y(e,t){return null!=e&&g.call(e,t)}var Z=R("Arguments");!function(){Z(arguments)||(Z=function(e){return Y(e,"callee")})}();const K=Z;function ee(e){return!j(e)&&S(e)&&!isNaN(parseFloat(e))}function te(e){return O(e)&&k(e)}function re(e){return function(){return e}}function ne(e){return function(t){var r=e(t);return"number"==typeof r&&r>=0&&r<=P}}function ie(e){return function(t){return null==t?void 0:t[e]}}const ae=ie("byteLength"),se=ne(ae);var oe=/\[object ((I|Ui)nt(8|16|32)|Float(32|64)|Uint8Clamped|Big(I|Ui)nt64)Array\]/;const le=y?function(e){return E?E(e)&&!$(e):se(e)&&oe.test(m.call(e))}:re(!1),ce=ie("length");function ue(e,t){t=function(e){for(var t={},r=e.length,n=0;n<r;++n)t[e[n]]=!0;return{contains:function(e){return!0===t[e]},push:function(r){return t[r]=!0,e.push(r)}}}(t);var r=A.length,n=e.constructor,i=W(n)&&n.prototype||p,a="constructor";for(Y(e,a)&&!t.contains(a)&&t.push(a);r--;)(a=A[r])in e&&e[a]!==i[a]&&!t.contains(a)&&t.push(a)}function pe(e){if(!T(e))return[];if(x)return x(e);var t=[];for(var r in e)Y(e,r)&&t.push(r);return C&&ue(e,t),t}function de(e){if(null==e)return!0;var t=ce(e);return"number"==typeof t&&(J(e)||L(e)||K(e))?0===t:0===ce(pe(e))}function fe(e,t){var r=pe(t),n=r.length;if(null==e)return!n;for(var i=Object(e),a=0;a<n;a++){var s=r[a];if(t[s]!==i[s]||!(s in i))return!1}return!0}function he(e){return e instanceof he?e:this instanceof he?void(this._wrapped=e):new he(e)}function me(e){return new Uint8Array(e.buffer||e,e.byteOffset||0,ae(e))}he.VERSION=l,he.prototype.value=function(){return this._wrapped},he.prototype.valueOf=he.prototype.toJSON=he.prototype.value,he.prototype.toString=function(){return String(this._wrapped)};var ge="[object DataView]";function ye(e,t,r,n){if(e===t)return 0!==e||1/e==1/t;if(null==e||null==t)return!1;if(e!=e)return t!=t;var i=typeof e;return("function"===i||"object"===i||"object"==typeof t)&&ve(e,t,r,n)}function ve(e,t,r,n){e instanceof he&&(e=e._wrapped),t instanceof he&&(t=t._wrapped);var i=m.call(e);if(i!==m.call(t))return!1;if(U&&"[object Object]"==i&&$(e)){if(!$(t))return!1;i=ge}switch(i){case"[object RegExp]":case"[object String]":return""+e==""+t;case"[object Number]":return+e!=+e?+t!=+t:0==+e?1/+e==1/t:+e==+t;case"[object Date]":case"[object Boolean]":return+e==+t;case"[object Symbol]":return d.valueOf.call(e)===d.valueOf.call(t);case"[object ArrayBuffer]":case ge:return ve(me(e),me(t),r,n)}var a="[object Array]"===i;if(!a&&le(e)){if(ae(e)!==ae(t))return!1;if(e.buffer===t.buffer&&e.byteOffset===t.byteOffset)return!0;a=!0}if(!a){if("object"!=typeof e||"object"!=typeof t)return!1;var s=e.constructor,o=t.constructor;if(s!==o&&!(W(s)&&s instanceof s&&W(o)&&o instanceof o)&&"constructor"in e&&"constructor"in t)return!1}n=n||[];for(var l=(r=r||[]).length;l--;)if(r[l]===e)return n[l]===t;if(r.push(e),n.push(t),a){if((l=e.length)!==t.length)return!1;for(;l--;)if(!ye(e[l],t[l],r,n))return!1}else{var c,u=pe(e);if(l=u.length,pe(t).length!==l)return!1;for(;l--;)if(!Y(t,c=u[l])||!ye(e[c],t[c],r,n))return!1}return r.pop(),n.pop(),!0}function be(e,t){return ye(e,t)}function xe(e){if(!T(e))return[];var t=[];for(var r in e)t.push(r);return C&&ue(e,t),t}function we(e){var t=ce(e);return function(r){if(null==r)return!1;var n=xe(r);if(ce(n))return!1;for(var i=0;i<t;i++)if(!W(r[e[i]]))return!1;return e!==Ae||!W(r[Ee])}}var Ee="forEach",ke=["clear","delete"],Se=["get","has","set"],Ce=ke.concat(Ee,Se),Ae=ke.concat(Se),Pe=["add"].concat(ke,Ee,"has");const _e=X?we(Ce):R("Map"),Te=X?we(Ae):R("WeakMap"),Ie=X?we(Pe):R("Set"),Fe=R("WeakSet");function Me(e){for(var t=pe(e),r=t.length,n=Array(r),i=0;i<r;i++)n[i]=e[t[i]];return n}function De(e){for(var t=pe(e),r=t.length,n=Array(r),i=0;i<r;i++)n[i]=[t[i],e[t[i]]];return n}function Re(e){for(var t={},r=pe(e),n=0,i=r.length;n<i;n++)t[e[r[n]]]=r[n];return t}function Le(e){var t=[];for(var r in e)W(e[r])&&t.push(r);return t.sort()}function Oe(e,t){return function(r){var n=arguments.length;if(t&&(r=Object(r)),n<2||null==r)return r;for(var i=1;i<n;i++)for(var a=arguments[i],s=e(a),o=s.length,l=0;l<o;l++){var c=s[l];t&&void 0!==r[c]||(r[c]=a[c])}return r}}const Ve=Oe(xe),Ne=Oe(pe),Be=Oe(xe,!0);function je(e){if(!T(e))return{};if(w)return w(e);var t=function(){};t.prototype=e;var r=new t;return t.prototype=null,r}function ze(e,t){var r=je(e);return t&&Ne(r,t),r}function He(e){return T(e)?J(e)?e.slice():Ve({},e):e}function Ge(e,t){return t(e),e}function We(e){return J(e)?e:[e]}function qe(e){return he.toPath(e)}function Ue(e,t){for(var r=t.length,n=0;n<r;n++){if(null==e)return;e=e[t[n]]}return r?e:void 0}function Xe(e,t,r){var n=Ue(e,qe(t));return F(n)?r:n}function Qe(e,t){for(var r=(t=qe(t)).length,n=0;n<r;n++){var i=t[n];if(!Y(e,i))return!1;e=e[i]}return!!r}function $e(e){return e}function Je(e){return e=Ne({},e),function(t){return fe(t,e)}}function Ye(e){return e=qe(e),function(t){return Ue(t,e)}}function Ze(e,t,r){if(void 0===t)return e;switch(null==r?3:r){case 1:return function(r){return e.call(t,r)};case 3:return function(r,n,i){return e.call(t,r,n,i)};case 4:return function(r,n,i,a){return e.call(t,r,n,i,a)}}return function(){return e.apply(t,arguments)}}function Ke(e,t,r){return null==e?$e:W(e)?Ze(e,t,r):T(e)&&!J(e)?Je(e):Ye(e)}function et(e,t){return Ke(e,t,1/0)}function tt(e,t,r){return he.iteratee!==et?he.iteratee(e,t):Ke(e,t,r)}function rt(e,t,r){t=tt(t,r);for(var n=pe(e),i=n.length,a={},s=0;s<i;s++){var o=n[s];a[o]=t(e[o],o,e)}return a}function nt(){}function it(e){return null==e?nt:function(t){return Xe(e,t)}}function at(e,t,r){var n=Array(Math.max(0,e));t=Ze(t,r,1);for(var i=0;i<e;i++)n[i]=t(i);return n}function st(e,t){return null==t&&(t=e,e=0),e+Math.floor(Math.random()*(t-e+1))}he.toPath=We,he.iteratee=et;const ot=Date.now||function(){return(new Date).getTime()};function lt(e){var t=function(t){return e[t]},r="(?:"+pe(e).join("|")+")",n=RegExp(r),i=RegExp(r,"g");return function(e){return e=null==e?"":""+e,n.test(e)?e.replace(i,t):e}}const ct={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`"},ut=lt(ct),pt=lt(Re(ct)),dt=he.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};var ft=/(.)^/,ht={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},mt=/\\|'|\r|\n|\u2028|\u2029/g;function gt(e){return"\\"+ht[e]}var yt=/^\s*(\w|\$)+\s*$/;function vt(e,t,r){!t&&r&&(t=r),t=Be({},t,he.templateSettings);var n=RegExp([(t.escape||ft).source,(t.interpolate||ft).source,(t.evaluate||ft).source].join("|")+"|$","g"),i=0,a="__p+='";e.replace(n,(function(t,r,n,s,o){return a+=e.slice(i,o).replace(mt,gt),i=o+t.length,r?a+="'+\n((__t=("+r+"))==null?'':_.escape(__t))+\n'":n?a+="'+\n((__t=("+n+"))==null?'':__t)+\n'":s&&(a+="';\n"+s+"\n__p+='"),t})),a+="';\n";var s,o=t.variable;if(o){if(!yt.test(o))throw new Error("variable is not a bare identifier: "+o)}else a="with(obj||{}){\n"+a+"}\n",o="obj";a="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+a+"return __p;\n";try{s=new Function(o,"_",a)}catch(e){throw e.source=a,e}var l=function(e){return s.call(this,e,he)};return l.source="function("+o+"){\n"+a+"}",l}function bt(e,t,r){var n=(t=qe(t)).length;if(!n)return W(r)?r.call(e):r;for(var i=0;i<n;i++){var a=null==e?void 0:e[t[i]];void 0===a&&(a=r,i=n),e=W(a)?a.call(e):a}return e}var xt=0;function wt(e){var t=++xt+"";return e?e+t:t}function Et(e){var t=he(e);return t._chain=!0,t}function kt(e,t,r,n,i){if(!(n instanceof t))return e.apply(r,i);var a=je(e.prototype),s=e.apply(a,i);return T(s)?s:a}var St=_((function(e,t){var r=St.placeholder,n=function(){for(var i=0,a=t.length,s=Array(a),o=0;o<a;o++)s[o]=t[o]===r?arguments[i++]:t[o];for(;i<arguments.length;)s.push(arguments[i++]);return kt(e,n,this,this,s)};return n}));St.placeholder=he;const Ct=St,At=_((function(e,t,r){if(!W(e))throw new TypeError("Bind must be called on a function");var n=_((function(i){return kt(e,n,t,this,r.concat(i))}));return n})),Pt=ne(ce);function _t(e,t,r,n){if(n=n||[],t||0===t){if(t<=0)return n.concat(e)}else t=1/0;for(var i=n.length,a=0,s=ce(e);a<s;a++){var o=e[a];if(Pt(o)&&(J(o)||K(o)))if(t>1)_t(o,t-1,r,n),i=n.length;else for(var l=0,c=o.length;l<c;)n[i++]=o[l++];else r||(n[i++]=o)}return n}const Tt=_((function(e,t){var r=(t=_t(t,!1,!1)).length;if(r<1)throw new Error("bindAll must be passed function names");for(;r--;){var n=t[r];e[n]=At(e[n],e)}return e}));function It(e,t){var r=function(n){var i=r.cache,a=""+(t?t.apply(this,arguments):n);return Y(i,a)||(i[a]=e.apply(this,arguments)),i[a]};return r.cache={},r}const Ft=_((function(e,t,r){return setTimeout((function(){return e.apply(null,r)}),t)})),Mt=Ct(Ft,he,1);function Dt(e,t,r){var n,i,a,s,o=0;r||(r={});var l=function(){o=!1===r.leading?0:ot(),n=null,s=e.apply(i,a),n||(i=a=null)},c=function(){var c=ot();o||!1!==r.leading||(o=c);var u=t-(c-o);return i=this,a=arguments,u<=0||u>t?(n&&(clearTimeout(n),n=null),o=c,s=e.apply(i,a),n||(i=a=null)):n||!1===r.trailing||(n=setTimeout(l,u)),s};return c.cancel=function(){clearTimeout(n),o=0,n=i=a=null},c}function Rt(e,t,r){var n,i,a,s,o,l=function(){var c=ot()-i;t>c?n=setTimeout(l,t-c):(n=null,r||(s=e.apply(o,a)),n||(a=o=null))},c=_((function(c){return o=this,a=c,i=ot(),n||(n=setTimeout(l,t),r&&(s=e.apply(o,a))),s}));return c.cancel=function(){clearTimeout(n),n=a=o=null},c}function Lt(e,t){return Ct(t,e)}function Ot(e){return function(){return!e.apply(this,arguments)}}function Vt(){var e=arguments,t=e.length-1;return function(){for(var r=t,n=e[t].apply(this,arguments);r--;)n=e[r].call(this,n);return n}}function Nt(e,t){return function(){if(--e<1)return t.apply(this,arguments)}}function Bt(e,t){var r;return function(){return--e>0&&(r=t.apply(this,arguments)),e<=1&&(t=null),r}}const jt=Ct(Bt,2);function zt(e,t,r){t=tt(t,r);for(var n,i=pe(e),a=0,s=i.length;a<s;a++)if(t(e[n=i[a]],n,e))return n}function Ht(e){return function(t,r,n){r=tt(r,n);for(var i=ce(t),a=e>0?0:i-1;a>=0&&a<i;a+=e)if(r(t[a],a,t))return a;return-1}}const Gt=Ht(1),Wt=Ht(-1);function qt(e,t,r,n){for(var i=(r=tt(r,n,1))(t),a=0,s=ce(e);a<s;){var o=Math.floor((a+s)/2);r(e[o])<i?a=o+1:s=o}return a}function Ut(e,t,r){return function(n,i,a){var s=0,o=ce(n);if("number"==typeof a)e>0?s=a>=0?a:Math.max(a+o,s):o=a>=0?Math.min(a+1,o):a+o+1;else if(r&&a&&o)return n[a=r(n,i)]===i?a:-1;if(i!=i)return(a=t(h.call(n,s,o),te))>=0?a+s:-1;for(a=e>0?s:o-1;a>=0&&a<o;a+=e)if(n[a]===i)return a;return-1}}const Xt=Ut(1,Gt,qt),Qt=Ut(-1,Wt);function $t(e,t,r){var n=(Pt(e)?Gt:zt)(e,t,r);if(void 0!==n&&-1!==n)return e[n]}function Jt(e,t){return $t(e,Je(t))}function Yt(e,t,r){var n,i;if(t=Ze(t,r),Pt(e))for(n=0,i=e.length;n<i;n++)t(e[n],n,e);else{var a=pe(e);for(n=0,i=a.length;n<i;n++)t(e[a[n]],a[n],e)}return e}function Zt(e,t,r){t=tt(t,r);for(var n=!Pt(e)&&pe(e),i=(n||e).length,a=Array(i),s=0;s<i;s++){var o=n?n[s]:s;a[s]=t(e[o],o,e)}return a}function Kt(e){return function(t,r,n,i){var a=arguments.length>=3;return function(t,r,n,i){var a=!Pt(t)&&pe(t),s=(a||t).length,o=e>0?0:s-1;for(i||(n=t[a?a[o]:o],o+=e);o>=0&&o<s;o+=e){var l=a?a[o]:o;n=r(n,t[l],l,t)}return n}(t,Ze(r,i,4),n,a)}}const er=Kt(1),tr=Kt(-1);function rr(e,t,r){var n=[];return t=tt(t,r),Yt(e,(function(e,r,i){t(e,r,i)&&n.push(e)})),n}function nr(e,t,r){return rr(e,Ot(tt(t)),r)}function ir(e,t,r){t=tt(t,r);for(var n=!Pt(e)&&pe(e),i=(n||e).length,a=0;a<i;a++){var s=n?n[a]:a;if(!t(e[s],s,e))return!1}return!0}function ar(e,t,r){t=tt(t,r);for(var n=!Pt(e)&&pe(e),i=(n||e).length,a=0;a<i;a++){var s=n?n[a]:a;if(t(e[s],s,e))return!0}return!1}function sr(e,t,r,n){return Pt(e)||(e=Me(e)),("number"!=typeof r||n)&&(r=0),Xt(e,t,r)>=0}const or=_((function(e,t,r){var n,i;return W(t)?i=t:(t=qe(t),n=t.slice(0,-1),t=t[t.length-1]),Zt(e,(function(e){var a=i;if(!a){if(n&&n.length&&(e=Ue(e,n)),null==e)return;a=e[t]}return null==a?a:a.apply(e,r)}))}));function lr(e,t){return Zt(e,Ye(t))}function cr(e,t){return rr(e,Je(t))}function ur(e,t,r){var n,i,a=-1/0,s=-1/0;if(null==t||"number"==typeof t&&"object"!=typeof e[0]&&null!=e)for(var o=0,l=(e=Pt(e)?e:Me(e)).length;o<l;o++)null!=(n=e[o])&&n>a&&(a=n);else t=tt(t,r),Yt(e,(function(e,r,n){((i=t(e,r,n))>s||i===-1/0&&a===-1/0)&&(a=e,s=i)}));return a}function pr(e,t,r){var n,i,a=1/0,s=1/0;if(null==t||"number"==typeof t&&"object"!=typeof e[0]&&null!=e)for(var o=0,l=(e=Pt(e)?e:Me(e)).length;o<l;o++)null!=(n=e[o])&&n<a&&(a=n);else t=tt(t,r),Yt(e,(function(e,r,n){((i=t(e,r,n))<s||i===1/0&&a===1/0)&&(a=e,s=i)}));return a}var dr=/[^\ud800-\udfff]|[\ud800-\udbff][\udc00-\udfff]|[\ud800-\udfff]/g;function fr(e){return e?J(e)?h.call(e):L(e)?e.match(dr):Pt(e)?Zt(e,$e):Me(e):[]}function hr(e,t,r){if(null==t||r)return Pt(e)||(e=Me(e)),e[st(e.length-1)];var n=fr(e),i=ce(n);t=Math.max(Math.min(t,i),0);for(var a=i-1,s=0;s<t;s++){var o=st(s,a),l=n[s];n[s]=n[o],n[o]=l}return n.slice(0,t)}function mr(e){return hr(e,1/0)}function gr(e,t,r){var n=0;return t=tt(t,r),lr(Zt(e,(function(e,r,i){return{value:e,index:n++,criteria:t(e,r,i)}})).sort((function(e,t){var r=e.criteria,n=t.criteria;if(r!==n){if(r>n||void 0===r)return 1;if(r<n||void 0===n)return-1}return e.index-t.index})),"value")}function yr(e,t){return function(r,n,i){var a=t?[[],[]]:{};return n=tt(n,i),Yt(r,(function(t,i){var s=n(t,i,r);e(a,t,s)})),a}}const vr=yr((function(e,t,r){Y(e,r)?e[r].push(t):e[r]=[t]})),br=yr((function(e,t,r){e[r]=t})),xr=yr((function(e,t,r){Y(e,r)?e[r]++:e[r]=1})),wr=yr((function(e,t,r){e[r?0:1].push(t)}),!0);function Er(e){return null==e?0:Pt(e)?e.length:pe(e).length}function kr(e,t,r){return t in r}const Sr=_((function(e,t){var r={},n=t[0];if(null==e)return r;W(n)?(t.length>1&&(n=Ze(n,t[1])),t=xe(e)):(n=kr,t=_t(t,!1,!1),e=Object(e));for(var i=0,a=t.length;i<a;i++){var s=t[i],o=e[s];n(o,s,e)&&(r[s]=o)}return r})),Cr=_((function(e,t){var r,n=t[0];return W(n)?(n=Ot(n),t.length>1&&(r=t[1])):(t=Zt(_t(t,!1,!1),String),n=function(e,r){return!sr(t,r)}),Sr(e,n,r)}));function Ar(e,t,r){return h.call(e,0,Math.max(0,e.length-(null==t||r?1:t)))}function Pr(e,t,r){return null==e||e.length<1?null==t||r?void 0:[]:null==t||r?e[0]:Ar(e,e.length-t)}function _r(e,t,r){return h.call(e,null==t||r?1:t)}function Tr(e,t,r){return null==e||e.length<1?null==t||r?void 0:[]:null==t||r?e[e.length-1]:_r(e,Math.max(0,e.length-t))}function Ir(e){return rr(e,Boolean)}function Fr(e,t){return _t(e,t,!1)}const Mr=_((function(e,t){return t=_t(t,!0,!0),rr(e,(function(e){return!sr(t,e)}))})),Dr=_((function(e,t){return Mr(e,t)}));function Rr(e,t,r,n){M(t)||(n=r,r=t,t=!1),null!=r&&(r=tt(r,n));for(var i=[],a=[],s=0,o=ce(e);s<o;s++){var l=e[s],c=r?r(l,s,e):l;t&&!r?(s&&a===c||i.push(l),a=c):r?sr(a,c)||(a.push(c),i.push(l)):sr(i,l)||i.push(l)}return i}const Lr=_((function(e){return Rr(_t(e,!0,!0))}));function Or(e){for(var t=[],r=arguments.length,n=0,i=ce(e);n<i;n++){var a=e[n];if(!sr(t,a)){var s;for(s=1;s<r&&sr(arguments[s],a);s++);s===r&&t.push(a)}}return t}function Vr(e){for(var t=e&&ur(e,ce).length||0,r=Array(t),n=0;n<t;n++)r[n]=lr(e,n);return r}const Nr=_(Vr);function Br(e,t){for(var r={},n=0,i=ce(e);n<i;n++)t?r[e[n]]=t[n]:r[e[n][0]]=e[n][1];return r}function jr(e,t,r){null==t&&(t=e||0,e=0),r||(r=t<e?-1:1);for(var n=Math.max(Math.ceil((t-e)/r),0),i=Array(n),a=0;a<n;a++,e+=r)i[a]=e;return i}function zr(e,t){if(null==t||t<1)return[];for(var r=[],n=0,i=e.length;n<i;)r.push(h.call(e,n,n+=t));return r}function Hr(e,t){return e._chain?he(t).chain():t}function Gr(e){return Yt(Le(e),(function(t){var r=he[t]=e[t];he.prototype[t]=function(){var e=[this._wrapped];return f.apply(e,arguments),Hr(this,r.apply(he,e))}})),he}Yt(["pop","push","reverse","shift","sort","splice","unshift"],(function(e){var t=u[e];he.prototype[e]=function(){var r=this._wrapped;return null!=r&&(t.apply(r,arguments),"shift"!==e&&"splice"!==e||0!==r.length||delete r[0]),Hr(this,r)}})),Yt(["concat","join","slice"],(function(e){var t=u[e];he.prototype[e]=function(){var e=this._wrapped;return null!=e&&(e=t.apply(e,arguments)),Hr(this,e)}}));const Wr=he;var qr=Gr(n);qr._=qr;var Ur,Xr,Qr=r(6997);function $r(){return $r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},$r.apply(this,arguments)}(Xr=Ur||(Ur={})).Pop="POP",Xr.Push="PUSH",Xr.Replace="REPLACE";const Jr="popstate";function Yr(e,t){if(!1===e||null==e)throw new Error(t)}function Zr(e,t){return{usr:e.state,key:e.key,idx:t}}function Kr(e,t,r,n){return void 0===r&&(r=null),$r({pathname:"string"==typeof e?e:e.pathname,search:"",hash:""},"string"==typeof t?tn(t):t,{state:r,key:t&&t.key||n||Math.random().toString(36).substr(2,8)})}function en(e){let{pathname:t="/",search:r="",hash:n=""}=e;return r&&"?"!==r&&(t+="?"===r.charAt(0)?r:"?"+r),n&&"#"!==n&&(t+="#"===n.charAt(0)?n:"#"+n),t}function tn(e){let t={};if(e){let r=e.indexOf("#");r>=0&&(t.hash=e.substr(r),e=e.substr(0,r));let n=e.indexOf("?");n>=0&&(t.search=e.substr(n),e=e.substr(0,n)),e&&(t.pathname=e)}return t}var rn;function nn(e,t,r,n){return"Cannot include a '"+e+"' character in a manually specified `to."+t+"` field ["+JSON.stringify(n)+"]. Please separate it out to the `to."+r+'` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.'}!function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"}(rn||(rn={})),new Set(["lazy","caseSensitive","path","id","index","children"]);const an=e=>e&&"?"!==e?e.startsWith("?")?e:"?"+e:"",sn=e=>e&&"#"!==e?e.startsWith("#")?e:"#"+e:"";Error;const on=["post","put","patch","delete"],ln=(new Set(on),["get",...on]);function cn(){return cn=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},cn.apply(this,arguments)}new Set(ln),new Set([301,302,303,307,308]),new Set([307,308]),Symbol("deferred");const un=i.createContext(null),pn=i.createContext(null),dn=i.createContext(null),fn=i.createContext({outlet:null,matches:[],isDataRoute:!1});function hn(){return null!=i.useContext(dn)}function mn(e){i.useContext(pn).static||i.useLayoutEffect(e)}function gn(){let{isDataRoute:e}=i.useContext(fn);return e?function(){let{router:e}=function(e){let t=i.useContext(un);return t||Yr(!1),t}(yn.UseNavigateStable),t=function(e){let t=function(e){let t=i.useContext(fn);return t||Yr(!1),t}(),r=t.matches[t.matches.length-1];return r.route.id||Yr(!1),r.route.id}(vn.UseNavigateStable),r=i.useRef(!1);return mn((()=>{r.current=!0})),i.useCallback((function(n,i){void 0===i&&(i={}),r.current&&("number"==typeof n?e.navigate(n):e.navigate(n,cn({fromRouteId:t},i)))}),[e,t])}():function(){hn()||Yr(!1);let e=i.useContext(un),{basename:t,future:r,navigator:n}=i.useContext(pn),{matches:a}=i.useContext(fn),{pathname:s}=(hn()||Yr(!1),i.useContext(dn).location),o=JSON.stringify(function(e,t){let r=function(e){return e.filter(((e,t)=>0===t||e.route.path&&e.route.path.length>0))}(e);return t?r.map(((t,r)=>r===e.length-1?t.pathname:t.pathnameBase)):r.map((e=>e.pathnameBase))}(a,r.v7_relativeSplatPath)),l=i.useRef(!1);return mn((()=>{l.current=!0})),i.useCallback((function(r,i){if(void 0===i&&(i={}),!l.current)return;if("number"==typeof r)return void n.go(r);let a=function(e,t,r,n){let i;void 0===n&&(n=!1),"string"==typeof e?i=tn(e):(i=$r({},e),Yr(!i.pathname||!i.pathname.includes("?"),nn("?","pathname","search",i)),Yr(!i.pathname||!i.pathname.includes("#"),nn("#","pathname","hash",i)),Yr(!i.search||!i.search.includes("#"),nn("#","search","hash",i)));let a,s=""===e||""===i.pathname,o=s?"/":i.pathname;if(null==o)a=r;else{let e=t.length-1;if(!n&&o.startsWith("..")){let t=o.split("/");for(;".."===t[0];)t.shift(),e-=1;i.pathname=t.join("/")}a=e>=0?t[e]:"/"}let l=function(e,t){void 0===t&&(t="/");let{pathname:r,search:n="",hash:i=""}="string"==typeof e?tn(e):e,a=r?r.startsWith("/")?r:function(e,t){let r=t.replace(/\/+$/,"").split("/");return e.split("/").forEach((e=>{".."===e?r.length>1&&r.pop():"."!==e&&r.push(e)})),r.length>1?r.join("/"):"/"}(r,t):t;return{pathname:a,search:an(n),hash:sn(i)}}(i,a),c=o&&"/"!==o&&o.endsWith("/"),u=(s||"."===o)&&r.endsWith("/");return l.pathname.endsWith("/")||!c&&!u||(l.pathname+="/"),l}(r,JSON.parse(o),s,"path"===i.relative);null==e&&"/"!==t&&(a.pathname="/"===a.pathname?t:[t,a.pathname].join("/").replace(/\/\/+/g,"/")),(i.replace?n.replace:n.push)(a,i.state,i)}),[t,n,o,s,e])}()}i.Component;var yn=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(yn||{}),vn=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(vn||{});function bn(e){let{basename:t="/",children:r=null,location:n,navigationType:a=Ur.Pop,navigator:s,static:o=!1,future:l}=e;hn()&&Yr(!1);let c=t.replace(/^\/*/,"/"),u=i.useMemo((()=>({basename:c,navigator:s,static:o,future:cn({v7_relativeSplatPath:!1},l)})),[c,l,s,o]);"string"==typeof n&&(n=tn(n));let{pathname:p="/",search:d="",hash:f="",state:h=null,key:m="default"}=n,g=i.useMemo((()=>{let e=function(e,t){if("/"===t)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let r=t.endsWith("/")?t.length-1:t.length,n=e.charAt(r);return n&&"/"!==n?null:e.slice(r)||"/"}(p,c);return null==e?null:{location:{pathname:e,search:d,hash:f,state:h,key:m},navigationType:a}}),[c,p,d,f,h,m,a]);return null==g?null:i.createElement(pn.Provider,{value:u},i.createElement(dn.Provider,{children:r,value:g}))}i.startTransition,new Promise((()=>{})),i.Component;const xn=window.wp.htmlEntities,wn=window.wp.i18n;var En=function(){return En=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},En.apply(this,arguments)};function kn(e,t,r){if(r||2===arguments.length)for(var n,i=0,a=t.length;i<a;i++)!n&&i in t||(n||(n=Array.prototype.slice.call(t,0,i)),n[i]=t[i]);return e.concat(n||Array.prototype.slice.call(t))}Object.create,Object.create;var Sn=r(2833),Cn=r.n(Sn),An="-ms-",Pn="-moz-",Tn="-webkit-",In="comm",Fn="rule",Mn="decl",Dn="@import",Rn="@keyframes",Ln="@layer",On=Math.abs,Vn=String.fromCharCode,Nn=Object.assign;function Bn(e){return e.trim()}function jn(e,t){return(e=t.exec(e))?e[0]:e}function zn(e,t,r){return e.replace(t,r)}function Hn(e,t,r){return e.indexOf(t,r)}function Gn(e,t){return 0|e.charCodeAt(t)}function Wn(e,t,r){return e.slice(t,r)}function qn(e){return e.length}function Un(e){return e.length}function Xn(e,t){return t.push(e),e}function Qn(e,t){return e.filter((function(e){return!jn(e,t)}))}var $n=1,Jn=1,Yn=0,Zn=0,Kn=0,ei="";function ti(e,t,r,n,i,a,s,o){return{value:e,root:t,parent:r,type:n,props:i,children:a,line:$n,column:Jn,length:s,return:"",siblings:o}}function ri(e,t){return Nn(ti("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},t)}function ni(e){for(;e.root;)e=ri(e.root,{children:[e]});Xn(e,e.siblings)}function ii(){return Kn=Zn>0?Gn(ei,--Zn):0,Jn--,10===Kn&&(Jn=1,$n--),Kn}function ai(){return Kn=Zn<Yn?Gn(ei,Zn++):0,Jn++,10===Kn&&(Jn=1,$n++),Kn}function si(){return Gn(ei,Zn)}function oi(){return Zn}function li(e,t){return Wn(ei,e,t)}function ci(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function ui(e){return Bn(li(Zn-1,fi(91===e?e+2:40===e?e+1:e)))}function pi(e){for(;(Kn=si())&&Kn<33;)ai();return ci(e)>2||ci(Kn)>3?"":" "}function di(e,t){for(;--t&&ai()&&!(Kn<48||Kn>102||Kn>57&&Kn<65||Kn>70&&Kn<97););return li(e,oi()+(t<6&&32==si()&&32==ai()))}function fi(e){for(;ai();)switch(Kn){case e:return Zn;case 34:case 39:34!==e&&39!==e&&fi(Kn);break;case 40:41===e&&fi(e);break;case 92:ai()}return Zn}function hi(e,t){for(;ai()&&e+Kn!==57&&(e+Kn!==84||47!==si()););return"/*"+li(t,Zn-1)+"*"+Vn(47===e?e:ai())}function mi(e){for(;!ci(si());)ai();return li(e,Zn)}function gi(e,t){for(var r="",n=0;n<e.length;n++)r+=t(e[n],n,e,t)||"";return r}function yi(e,t,r,n){switch(e.type){case Ln:if(e.children.length)break;case Dn:case Mn:return e.return=e.return||e.value;case In:return"";case Rn:return e.return=e.value+"{"+gi(e.children,n)+"}";case Fn:if(!qn(e.value=e.props.join(",")))return""}return qn(r=gi(e.children,n))?e.return=e.value+"{"+r+"}":""}function vi(e,t,r){switch(function(e,t){return 45^Gn(e,0)?(((t<<2^Gn(e,0))<<2^Gn(e,1))<<2^Gn(e,2))<<2^Gn(e,3):0}(e,t)){case 5103:return Tn+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return Tn+e+e;case 4789:return Pn+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Tn+e+Pn+e+An+e+e;case 5936:switch(Gn(e,t+11)){case 114:return Tn+e+An+zn(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Tn+e+An+zn(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Tn+e+An+zn(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return Tn+e+An+e+e;case 6165:return Tn+e+An+"flex-"+e+e;case 5187:return Tn+e+zn(e,/(\w+).+(:[^]+)/,Tn+"box-$1$2"+An+"flex-$1$2")+e;case 5443:return Tn+e+An+"flex-item-"+zn(e,/flex-|-self/g,"")+(jn(e,/flex-|baseline/)?"":An+"grid-row-"+zn(e,/flex-|-self/g,""))+e;case 4675:return Tn+e+An+"flex-line-pack"+zn(e,/align-content|flex-|-self/g,"")+e;case 5548:return Tn+e+An+zn(e,"shrink","negative")+e;case 5292:return Tn+e+An+zn(e,"basis","preferred-size")+e;case 6060:return Tn+"box-"+zn(e,"-grow","")+Tn+e+An+zn(e,"grow","positive")+e;case 4554:return Tn+zn(e,/([^-])(transform)/g,"$1"+Tn+"$2")+e;case 6187:return zn(zn(zn(e,/(zoom-|grab)/,Tn+"$1"),/(image-set)/,Tn+"$1"),e,"")+e;case 5495:case 3959:return zn(e,/(image-set\([^]*)/,Tn+"$1$`$1");case 4968:return zn(zn(e,/(.+:)(flex-)?(.*)/,Tn+"box-pack:$3"+An+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Tn+e+e;case 4200:if(!jn(e,/flex-|baseline/))return An+"grid-column-align"+Wn(e,t)+e;break;case 2592:case 3360:return An+zn(e,"template-","")+e;case 4384:case 3616:return r&&r.some((function(e,r){return t=r,jn(e.props,/grid-\w+-end/)}))?~Hn(e+(r=r[t].value),"span",0)?e:An+zn(e,"-start","")+e+An+"grid-row-span:"+(~Hn(r,"span",0)?jn(r,/\d+/):+jn(r,/\d+/)-+jn(e,/\d+/))+";":An+zn(e,"-start","")+e;case 4896:case 4128:return r&&r.some((function(e){return jn(e.props,/grid-\w+-start/)}))?e:An+zn(zn(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return zn(e,/(.+)-inline(.+)/,Tn+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(qn(e)-1-t>6)switch(Gn(e,t+1)){case 109:if(45!==Gn(e,t+4))break;case 102:return zn(e,/(.+:)(.+)-([^]+)/,"$1"+Tn+"$2-$3$1"+Pn+(108==Gn(e,t+3)?"$3":"$2-$3"))+e;case 115:return~Hn(e,"stretch",0)?vi(zn(e,"stretch","fill-available"),t,r)+e:e}break;case 5152:case 5920:return zn(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,(function(t,r,n,i,a,s,o){return An+r+":"+n+o+(i?An+r+"-span:"+(a?s:+s-+n)+o:"")+e}));case 4949:if(121===Gn(e,t+6))return zn(e,":",":"+Tn)+e;break;case 6444:switch(Gn(e,45===Gn(e,14)?18:11)){case 120:return zn(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+Tn+(45===Gn(e,14)?"inline-":"")+"box$3$1"+Tn+"$2$3$1"+An+"$2box$3")+e;case 100:return zn(e,":",":"+An)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return zn(e,"scroll-","scroll-snap-")+e}return e}function bi(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case Mn:return void(e.return=vi(e.value,e.length,r));case Rn:return gi([ri(e,{value:zn(e.value,"@","@"+Tn)})],n);case Fn:if(e.length)return function(e,t){return e.map(t).join("")}(r=e.props,(function(t){switch(jn(t,n=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":ni(ri(e,{props:[zn(t,/:(read-\w+)/,":"+Pn+"$1")]})),ni(ri(e,{props:[t]})),Nn(e,{props:Qn(r,n)});break;case"::placeholder":ni(ri(e,{props:[zn(t,/:(plac\w+)/,":"+Tn+"input-$1")]})),ni(ri(e,{props:[zn(t,/:(plac\w+)/,":"+Pn+"$1")]})),ni(ri(e,{props:[zn(t,/:(plac\w+)/,An+"input-$1")]})),ni(ri(e,{props:[t]})),Nn(e,{props:Qn(r,n)})}return""}))}}function xi(e){return function(e){return ei="",e}(wi("",null,null,null,[""],e=function(e){return $n=Jn=1,Yn=qn(ei=e),Zn=0,[]}(e),0,[0],e))}function wi(e,t,r,n,i,a,s,o,l){for(var c=0,u=0,p=s,d=0,f=0,h=0,m=1,g=1,y=1,v=0,b="",x=i,w=a,E=n,k=b;g;)switch(h=v,v=ai()){case 40:if(108!=h&&58==Gn(k,p-1)){-1!=Hn(k+=zn(ui(v),"&","&\f"),"&\f",On(c?o[c-1]:0))&&(y=-1);break}case 34:case 39:case 91:k+=ui(v);break;case 9:case 10:case 13:case 32:k+=pi(h);break;case 92:k+=di(oi()-1,7);continue;case 47:switch(si()){case 42:case 47:Xn(ki(hi(ai(),oi()),t,r,l),l);break;default:k+="/"}break;case 123*m:o[c++]=qn(k)*y;case 125*m:case 59:case 0:switch(v){case 0:case 125:g=0;case 59+u:-1==y&&(k=zn(k,/\f/g,"")),f>0&&qn(k)-p&&Xn(f>32?Si(k+";",n,r,p-1,l):Si(zn(k," ","")+";",n,r,p-2,l),l);break;case 59:k+=";";default:if(Xn(E=Ei(k,t,r,c,u,i,o,b,x=[],w=[],p,a),a),123===v)if(0===u)wi(k,t,E,E,x,a,p,o,w);else switch(99===d&&110===Gn(k,3)?100:d){case 100:case 108:case 109:case 115:wi(e,E,E,n&&Xn(Ei(e,E,E,0,0,i,o,b,i,x=[],p,w),w),i,w,p,o,n?x:w);break;default:wi(k,E,E,E,[""],w,0,o,w)}}c=u=f=0,m=y=1,b=k="",p=s;break;case 58:p=1+qn(k),f=h;default:if(m<1)if(123==v)--m;else if(125==v&&0==m++&&125==ii())continue;switch(k+=Vn(v),v*m){case 38:y=u>0?1:(k+="\f",-1);break;case 44:o[c++]=(qn(k)-1)*y,y=1;break;case 64:45===si()&&(k+=ui(ai())),d=si(),u=p=qn(b=k+=mi(oi())),v++;break;case 45:45===h&&2==qn(k)&&(m=0)}}return a}function Ei(e,t,r,n,i,a,s,o,l,c,u,p){for(var d=i-1,f=0===i?a:[""],h=Un(f),m=0,g=0,y=0;m<n;++m)for(var v=0,b=Wn(e,d+1,d=On(g=s[m])),x=e;v<h;++v)(x=Bn(g>0?f[v]+" "+b:zn(b,/&\f/g,f[v])))&&(l[y++]=x);return ti(e,t,r,0===i?Fn:o,l,c,u,p)}function ki(e,t,r,n){return ti(e,t,r,In,Vn(Kn),Wn(e,2,-2),0,n)}function Si(e,t,r,n,i){return ti(e,t,r,Mn,Wn(e,0,n),Wn(e,n+1,-1),n,i)}const Ci={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};var Ai="undefined"!=typeof process&&void 0!==process.env&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",Pi="active",_i="data-styled-version",Ti="6.1.8",Ii="/*!sc*/\n",Fi="undefined"!=typeof window&&"HTMLElement"in window,Mi=Boolean("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!==process.env&&void 0!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&""!==process.env.REACT_APP_SC_DISABLE_SPEEDY?"false"!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&process.env.REACT_APP_SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!==process.env&&void 0!==process.env.SC_DISABLE_SPEEDY&&""!==process.env.SC_DISABLE_SPEEDY&&"false"!==process.env.SC_DISABLE_SPEEDY&&process.env.SC_DISABLE_SPEEDY),Di=(new Set,Object.freeze([])),Ri=Object.freeze({});var Li=new Set(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","u","ul","use","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),Oi=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,Vi=/(^-|-$)/g;function Ni(e){return e.replace(Oi,"-").replace(Vi,"")}var Bi=/(a)(d)/gi,ji=52,zi=function(e){return String.fromCharCode(e+(e>25?39:97))};function Hi(e){var t,r="";for(t=Math.abs(e);t>ji;t=t/ji|0)r=zi(t%ji)+r;return(zi(t%ji)+r).replace(Bi,"$1-$2")}var Gi,Wi=5381,qi=function(e,t){for(var r=t.length;r;)e=33*e^t.charCodeAt(--r);return e},Ui=function(e){return qi(Wi,e)};function Xi(e){return"string"==typeof e&&!0}var Qi="function"==typeof Symbol&&Symbol.for,$i=Qi?Symbol.for("react.memo"):60115,Ji=Qi?Symbol.for("react.forward_ref"):60112,Yi={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},Zi={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},Ki={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},ea=((Gi={})[Ji]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Gi[$i]=Ki,Gi);function ta(e){return("type"in(t=e)&&t.type.$$typeof)===$i?Ki:"$$typeof"in e?ea[e.$$typeof]:Yi;var t}var ra=Object.defineProperty,na=Object.getOwnPropertyNames,ia=Object.getOwnPropertySymbols,aa=Object.getOwnPropertyDescriptor,sa=Object.getPrototypeOf,oa=Object.prototype;function la(e,t,r){if("string"!=typeof t){if(oa){var n=sa(t);n&&n!==oa&&la(e,n,r)}var i=na(t);ia&&(i=i.concat(ia(t)));for(var a=ta(e),s=ta(t),o=0;o<i.length;++o){var l=i[o];if(!(l in Zi||r&&r[l]||s&&l in s||a&&l in a)){var c=aa(t,l);try{ra(e,l,c)}catch(e){}}}}return e}function ca(e){return"function"==typeof e}function ua(e){return"object"==typeof e&&"styledComponentId"in e}function pa(e,t){return e&&t?"".concat(e," ").concat(t):e||t||""}function da(e,t){if(0===e.length)return"";for(var r=e[0],n=1;n<e.length;n++)r+=t?t+e[n]:e[n];return r}function fa(e){return null!==e&&"object"==typeof e&&e.constructor.name===Object.name&&!("props"in e&&e.$$typeof)}function ha(e,t,r){if(void 0===r&&(r=!1),!r&&!fa(e)&&!Array.isArray(e))return t;if(Array.isArray(t))for(var n=0;n<t.length;n++)e[n]=ha(e[n],t[n]);else if(fa(t))for(var n in t)e[n]=ha(e[n],t[n]);return e}function ma(e,t){Object.defineProperty(e,"toString",{value:t})}function ga(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return new Error("An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#".concat(e," for more information.").concat(t.length>0?" Args: ".concat(t.join(", ")):""))}var ya=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}return e.prototype.indexOfGroup=function(e){for(var t=0,r=0;r<e;r++)t+=this.groupSizes[r];return t},e.prototype.insertRules=function(e,t){if(e>=this.groupSizes.length){for(var r=this.groupSizes,n=r.length,i=n;e>=i;)if((i<<=1)<0)throw ga(16,"".concat(e));this.groupSizes=new Uint32Array(i),this.groupSizes.set(r),this.length=i;for(var a=n;a<i;a++)this.groupSizes[a]=0}for(var s=this.indexOfGroup(e+1),o=(a=0,t.length);a<o;a++)this.tag.insertRule(s,t[a])&&(this.groupSizes[e]++,s++)},e.prototype.clearGroup=function(e){if(e<this.length){var t=this.groupSizes[e],r=this.indexOfGroup(e),n=r+t;this.groupSizes[e]=0;for(var i=r;i<n;i++)this.tag.deleteRule(r)}},e.prototype.getGroup=function(e){var t="";if(e>=this.length||0===this.groupSizes[e])return t;for(var r=this.groupSizes[e],n=this.indexOfGroup(e),i=n+r,a=n;a<i;a++)t+="".concat(this.tag.getRule(a)).concat(Ii);return t},e}(),va=new Map,ba=new Map,xa=1,wa=function(e){if(va.has(e))return va.get(e);for(;ba.has(xa);)xa++;var t=xa++;return va.set(e,t),ba.set(t,e),t},Ea=function(e,t){xa=t+1,va.set(e,t),ba.set(t,e)},ka="style[".concat(Ai,"][").concat(_i,'="').concat(Ti,'"]'),Sa=new RegExp("^".concat(Ai,'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),Ca=function(e,t,r){for(var n,i=r.split(","),a=0,s=i.length;a<s;a++)(n=i[a])&&e.registerName(t,n)},Aa=function(e,t){for(var r,n=(null!==(r=t.textContent)&&void 0!==r?r:"").split(Ii),i=[],a=0,s=n.length;a<s;a++){var o=n[a].trim();if(o){var l=o.match(Sa);if(l){var c=0|parseInt(l[1],10),u=l[2];0!==c&&(Ea(u,c),Ca(e,u,l[3]),e.getTag().insertRules(c,i)),i.length=0}else i.push(o)}}};function Pa(){return r.nc}var _a=function(e){var t=document.head,r=e||t,n=document.createElement("style"),i=function(e){var t=Array.from(e.querySelectorAll("style[".concat(Ai,"]")));return t[t.length-1]}(r),a=void 0!==i?i.nextSibling:null;n.setAttribute(Ai,Pi),n.setAttribute(_i,Ti);var s=Pa();return s&&n.setAttribute("nonce",s),r.insertBefore(n,a),n},Ta=function(){function e(e){this.element=_a(e),this.element.appendChild(document.createTextNode("")),this.sheet=function(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets,r=0,n=t.length;r<n;r++){var i=t[r];if(i.ownerNode===e)return i}throw ga(17)}(this.element),this.length=0}return e.prototype.insertRule=function(e,t){try{return this.sheet.insertRule(t,e),this.length++,!0}catch(e){return!1}},e.prototype.deleteRule=function(e){this.sheet.deleteRule(e),this.length--},e.prototype.getRule=function(e){var t=this.sheet.cssRules[e];return t&&t.cssText?t.cssText:""},e}(),Ia=function(){function e(e){this.element=_a(e),this.nodes=this.element.childNodes,this.length=0}return e.prototype.insertRule=function(e,t){if(e<=this.length&&e>=0){var r=document.createTextNode(t);return this.element.insertBefore(r,this.nodes[e]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},e.prototype.getRule=function(e){return e<this.length?this.nodes[e].textContent:""},e}(),Fa=function(){function e(e){this.rules=[],this.length=0}return e.prototype.insertRule=function(e,t){return e<=this.length&&(this.rules.splice(e,0,t),this.length++,!0)},e.prototype.deleteRule=function(e){this.rules.splice(e,1),this.length--},e.prototype.getRule=function(e){return e<this.length?this.rules[e]:""},e}(),Ma=Fi,Da={isServer:!Fi,useCSSOMInjection:!Mi},Ra=function(){function e(e,t,r){void 0===e&&(e=Ri),void 0===t&&(t={});var n=this;this.options=En(En({},Da),e),this.gs=t,this.names=new Map(r),this.server=!!e.isServer,!this.server&&Fi&&Ma&&(Ma=!1,function(e){for(var t=document.querySelectorAll(ka),r=0,n=t.length;r<n;r++){var i=t[r];i&&i.getAttribute(Ai)!==Pi&&(Aa(e,i),i.parentNode&&i.parentNode.removeChild(i))}}(this)),ma(this,(function(){return function(e){for(var t=e.getTag(),r=t.length,n="",i=function(r){var i=function(e){return ba.get(e)}(r);if(void 0===i)return"continue";var a=e.names.get(i),s=t.getGroup(r);if(void 0===a||0===s.length)return"continue";var o="".concat(Ai,".g").concat(r,'[id="').concat(i,'"]'),l="";void 0!==a&&a.forEach((function(e){e.length>0&&(l+="".concat(e,","))})),n+="".concat(s).concat(o,'{content:"').concat(l,'"}').concat(Ii)},a=0;a<r;a++)i(a);return n}(n)}))}return e.registerId=function(e){return wa(e)},e.prototype.reconstructWithOptions=function(t,r){return void 0===r&&(r=!0),new e(En(En({},this.options),t),this.gs,r&&this.names||void 0)},e.prototype.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},e.prototype.getTag=function(){return this.tag||(this.tag=(e=function(e){var t=e.useCSSOMInjection,r=e.target;return e.isServer?new Fa(r):t?new Ta(r):new Ia(r)}(this.options),new ya(e)));var e},e.prototype.hasNameForId=function(e,t){return this.names.has(e)&&this.names.get(e).has(t)},e.prototype.registerName=function(e,t){if(wa(e),this.names.has(e))this.names.get(e).add(t);else{var r=new Set;r.add(t),this.names.set(e,r)}},e.prototype.insertRules=function(e,t,r){this.registerName(e,t),this.getTag().insertRules(wa(e),r)},e.prototype.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},e.prototype.clearRules=function(e){this.getTag().clearGroup(wa(e)),this.clearNames(e)},e.prototype.clearTag=function(){this.tag=void 0},e}(),La=/&/g,Oa=/^\s*\/\/.*$/gm;function Va(e,t){return e.map((function(e){return"rule"===e.type&&(e.value="".concat(t," ").concat(e.value),e.value=e.value.replaceAll(",",",".concat(t," ")),e.props=e.props.map((function(e){return"".concat(t," ").concat(e)}))),Array.isArray(e.children)&&"@keyframes"!==e.type&&(e.children=Va(e.children,t)),e}))}function Na(e){var t,r,n,i=void 0===e?Ri:e,a=i.options,s=void 0===a?Ri:a,o=i.plugins,l=void 0===o?Di:o,c=function(e,n,i){return i.startsWith(r)&&i.endsWith(r)&&i.replaceAll(r,"").length>0?".".concat(t):e},u=l.slice();u.push((function(e){e.type===Fn&&e.value.includes("&")&&(e.props[0]=e.props[0].replace(La,r).replace(n,c))})),s.prefix&&u.push(bi),u.push(yi);var p=function(e,i,a,o){void 0===i&&(i=""),void 0===a&&(a=""),void 0===o&&(o="&"),t=o,r=i,n=new RegExp("\\".concat(r,"\\b"),"g");var l=e.replace(Oa,""),c=xi(a||i?"".concat(a," ").concat(i," { ").concat(l," }"):l);s.namespace&&(c=Va(c,s.namespace));var p,d,f,h=[];return gi(c,(p=u.concat((f=function(e){return h.push(e)},function(e){e.root||(e=e.return)&&f(e)})),d=Un(p),function(e,t,r,n){for(var i="",a=0;a<d;a++)i+=p[a](e,t,r,n)||"";return i})),h};return p.hash=l.length?l.reduce((function(e,t){return t.name||ga(15),qi(e,t.name)}),Wi).toString():"",p}var Ba=new Ra,ja=Na(),za=s().createContext({shouldForwardProp:void 0,styleSheet:Ba,stylis:ja}),Ha=(za.Consumer,s().createContext(void 0));function Ga(){return(0,i.useContext)(za)}function Wa(e){var t=(0,i.useState)(e.stylisPlugins),r=t[0],n=t[1],a=Ga().styleSheet,o=(0,i.useMemo)((function(){var t=a;return e.sheet?t=e.sheet:e.target&&(t=t.reconstructWithOptions({target:e.target},!1)),e.disableCSSOMInjection&&(t=t.reconstructWithOptions({useCSSOMInjection:!1})),t}),[e.disableCSSOMInjection,e.sheet,e.target,a]),l=(0,i.useMemo)((function(){return Na({options:{namespace:e.namespace,prefix:e.enableVendorPrefixes},plugins:r})}),[e.enableVendorPrefixes,e.namespace,r]);(0,i.useEffect)((function(){Cn()(r,e.stylisPlugins)||n(e.stylisPlugins)}),[e.stylisPlugins]);var c=(0,i.useMemo)((function(){return{shouldForwardProp:e.shouldForwardProp,styleSheet:o,stylis:l}}),[e.shouldForwardProp,o,l]);return s().createElement(za.Provider,{value:c},s().createElement(Ha.Provider,{value:l},e.children))}var qa=function(){function e(e,t){var r=this;this.inject=function(e,t){void 0===t&&(t=ja);var n=r.name+t.hash;e.hasNameForId(r.id,n)||e.insertRules(r.id,n,t(r.rules,n,"@keyframes"))},this.name=e,this.id="sc-keyframes-".concat(e),this.rules=t,ma(this,(function(){throw ga(12,String(r.name))}))}return e.prototype.getName=function(e){return void 0===e&&(e=ja),this.name+e.hash},e}(),Ua=function(e){return e>="A"&&e<="Z"};function Xa(e){for(var t="",r=0;r<e.length;r++){var n=e[r];if(1===r&&"-"===n&&"-"===e[0])return e;Ua(n)?t+="-"+n.toLowerCase():t+=n}return t.startsWith("ms-")?"-"+t:t}var Qa=function(e){return null==e||!1===e||""===e},$a=function(e){var t,r,n=[];for(var i in e){var a=e[i];e.hasOwnProperty(i)&&!Qa(a)&&(Array.isArray(a)&&a.isCss||ca(a)?n.push("".concat(Xa(i),":"),a,";"):fa(a)?n.push.apply(n,kn(kn(["".concat(i," {")],$a(a),!1),["}"],!1)):n.push("".concat(Xa(i),": ").concat((t=i,null==(r=a)||"boolean"==typeof r||""===r?"":"number"!=typeof r||0===r||t in Ci||t.startsWith("--")?String(r).trim():"".concat(r,"px")),";")))}return n};function Ja(e,t,r,n){return Qa(e)?[]:ua(e)?[".".concat(e.styledComponentId)]:ca(e)?!ca(i=e)||i.prototype&&i.prototype.isReactComponent||!t?[e]:Ja(e(t),t,r,n):e instanceof qa?r?(e.inject(r,n),[e.getName(n)]):[e]:fa(e)?$a(e):Array.isArray(e)?Array.prototype.concat.apply(Di,e.map((function(e){return Ja(e,t,r,n)}))):[e.toString()];var i}function Ya(e){for(var t=0;t<e.length;t+=1){var r=e[t];if(ca(r)&&!ua(r))return!1}return!0}var Za=Ui(Ti),Ka=function(){function e(e,t,r){this.rules=e,this.staticRulesId="",this.isStatic=(void 0===r||r.isStatic)&&Ya(e),this.componentId=t,this.baseHash=qi(Za,t),this.baseStyle=r,Ra.registerId(t)}return e.prototype.generateAndInjectStyles=function(e,t,r){var n=this.baseStyle?this.baseStyle.generateAndInjectStyles(e,t,r):"";if(this.isStatic&&!r.hash)if(this.staticRulesId&&t.hasNameForId(this.componentId,this.staticRulesId))n=pa(n,this.staticRulesId);else{var i=da(Ja(this.rules,e,t,r)),a=Hi(qi(this.baseHash,i)>>>0);if(!t.hasNameForId(this.componentId,a)){var s=r(i,".".concat(a),void 0,this.componentId);t.insertRules(this.componentId,a,s)}n=pa(n,a),this.staticRulesId=a}else{for(var o=qi(this.baseHash,r.hash),l="",c=0;c<this.rules.length;c++){var u=this.rules[c];if("string"==typeof u)l+=u;else if(u){var p=da(Ja(u,e,t,r));o=qi(o,p+c),l+=p}}if(l){var d=Hi(o>>>0);t.hasNameForId(this.componentId,d)||t.insertRules(this.componentId,d,r(l,".".concat(d),void 0,this.componentId)),n=pa(n,d)}}return n},e}(),es=s().createContext(void 0);es.Consumer;var ts={};function rs(e,t,r){var n=ua(e),a=e,o=!Xi(e),l=t.attrs,c=void 0===l?Di:l,u=t.componentId,p=void 0===u?function(e,t){var r="string"!=typeof e?"sc":Ni(e);ts[r]=(ts[r]||0)+1;var n="".concat(r,"-").concat(function(e){return Hi(Ui(e)>>>0)}(Ti+r+ts[r]));return t?"".concat(t,"-").concat(n):n}(t.displayName,t.parentComponentId):u,d=t.displayName,f=void 0===d?function(e){return Xi(e)?"styled.".concat(e):"Styled(".concat(function(e){return e.displayName||e.name||"Component"}(e),")")}(e):d,h=t.displayName&&t.componentId?"".concat(Ni(t.displayName),"-").concat(t.componentId):t.componentId||p,m=n&&a.attrs?a.attrs.concat(c).filter(Boolean):c,g=t.shouldForwardProp;if(n&&a.shouldForwardProp){var y=a.shouldForwardProp;if(t.shouldForwardProp){var v=t.shouldForwardProp;g=function(e,t){return y(e,t)&&v(e,t)}}else g=y}var b=new Ka(r,h,n?a.componentStyle:void 0);function x(e,t){return function(e,t,r){var n=e.attrs,a=e.componentStyle,o=e.defaultProps,l=e.foldedComponentIds,c=e.styledComponentId,u=e.target,p=s().useContext(es),d=Ga(),f=e.shouldForwardProp||d.shouldForwardProp,h=function(e,t,r){return void 0===r&&(r=Ri),e.theme!==r.theme&&e.theme||t||r.theme}(t,p,o)||Ri,m=function(e,t,r){for(var n,i=En(En({},t),{className:void 0,theme:r}),a=0;a<e.length;a+=1){var s=ca(n=e[a])?n(i):n;for(var o in s)i[o]="className"===o?pa(i[o],s[o]):"style"===o?En(En({},i[o]),s[o]):s[o]}return t.className&&(i.className=pa(i.className,t.className)),i}(n,t,h),g=m.as||u,y={};for(var v in m)void 0===m[v]||"$"===v[0]||"as"===v||"theme"===v&&m.theme===h||("forwardedAs"===v?y.as=m.forwardedAs:f&&!f(v,g)||(y[v]=m[v]));var b=function(e,t){var r=Ga();return e.generateAndInjectStyles(t,r.styleSheet,r.stylis)}(a,m),x=pa(l,c);return b&&(x+=" "+b),m.className&&(x+=" "+m.className),y[Xi(g)&&!Li.has(g)?"class":"className"]=x,y.ref=r,(0,i.createElement)(g,y)}(w,e,t)}x.displayName=f;var w=s().forwardRef(x);return w.attrs=m,w.componentStyle=b,w.displayName=f,w.shouldForwardProp=g,w.foldedComponentIds=n?pa(a.foldedComponentIds,a.styledComponentId):"",w.styledComponentId=h,w.target=n?a.target:e,Object.defineProperty(w,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(e){this._foldedDefaultProps=n?function(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];for(var n=0,i=t;n<i.length;n++)ha(e,i[n],!0);return e}({},a.defaultProps,e):e}}),ma(w,(function(){return".".concat(w.styledComponentId)})),o&&la(w,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0}),w}function ns(e,t){for(var r=[e[0]],n=0,i=t.length;n<i;n+=1)r.push(t[n],e[n+1]);return r}new Set;var is=function(e){return Object.assign(e,{isCss:!0})};function as(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];if(ca(e)||fa(e))return is(Ja(ns(Di,kn([e],t,!0))));var n=e;return 0===t.length&&1===n.length&&"string"==typeof n[0]?Ja(n):is(Ja(ns(n,t)))}function ss(e,t,r){if(void 0===r&&(r=Ri),!t)throw ga(1,t);var n=function(n){for(var i=[],a=1;a<arguments.length;a++)i[a-1]=arguments[a];return e(t,r,as.apply(void 0,kn([n],i,!1)))};return n.attrs=function(n){return ss(e,t,En(En({},r),{attrs:Array.prototype.concat(r.attrs,n).filter(Boolean)}))},n.withConfig=function(n){return ss(e,t,En(En({},r),n))},n}var os=function(e){return ss(rs,e)},ls=os;Li.forEach((function(e){ls[e]=os(e)})),function(){function e(e,t){this.rules=e,this.componentId=t,this.isStatic=Ya(e),Ra.registerId(this.componentId+1)}e.prototype.createStyles=function(e,t,r,n){var i=n(da(Ja(this.rules,t,r,n)),""),a=this.componentId+e;r.insertRules(a,a,i)},e.prototype.removeStyles=function(e,t){t.clearRules(this.componentId+e)},e.prototype.renderStyles=function(e,t,r,n){e>2&&Ra.registerId(this.componentId+e),this.removeStyles(e,r),this.createStyles(e,t,r,n)}}(),function(){function e(){var e=this;this._emitSheetCSS=function(){var t=e.instance.toString(),r=Pa(),n=da([r&&'nonce="'.concat(r,'"'),"".concat(Ai,'="true"'),"".concat(_i,'="').concat(Ti,'"')].filter(Boolean)," ");return"<style ".concat(n,">").concat(t,"</style>")},this.getStyleTags=function(){if(e.sealed)throw ga(2);return e._emitSheetCSS()},this.getStyleElement=function(){var t;if(e.sealed)throw ga(2);var r=((t={})[Ai]="",t[_i]=Ti,t.dangerouslySetInnerHTML={__html:e.instance.toString()},t),n=Pa();return n&&(r.nonce=n),[s().createElement("style",En({},r,{key:"sc-0-0"}))]},this.seal=function(){e.sealed=!0},this.instance=new Ra({isServer:!0}),this.sealed=!1}e.prototype.collectStyles=function(e){if(this.sealed)throw ga(2);return s().createElement(Wa,{sheet:this.instance},e)},e.prototype.interleaveWithNodeStream=function(e){throw ga(3)}}(),"__sc-".concat(Ai,"__"),ls.div` display: ${e=>e.hidden?"none":"flex"}; justify-content: space-between; ${e=>e.maxHeight&&`\n\t\tmax-height: ${e.maxHeight}px;\n\t`} `,ls.div` width: 50%; ${e=>e.width&&`\n width: ${e.width};\n `} `;const cs=ls.button` color: var( --st-background-primary ); border: none; margin-top: 1em; display: flex; flex-direction: row; justify-content: center; align-items: center; position: relative; background: var( --st-color-accent ); border-radius: var( --st-border-radius-6 ); margin: 0; cursor: pointer; line-height: 1; font-size: 15px; font-weight: var( --st-font-weight-bold ); padding: 15px 28px; transition: background 200ms ease-in-out; &:hover { background: var( --st-color-accent-hover ); } &:focus { outline: none; background: var( --st-color-accent-hover ); } svg { fill: #fff; } ${e=>e.before&&"\n svg {\n margin: 0 12px 0 0;\n }\n "} ${e=>e.after&&"\n svg {\n\t\t\tmargin: 0 0 0 12px;\n }\n "} ${e=>e.ml1&&"\n margin-left: 1em;\n "} ${e=>e.type&&"primary"===e.type&&"\n\t\tbackground: #2271b1;\n "} ${e=>e.type&&"secondary"===e.type&&"\n\t\tbackground: #f6f7f7;\n\t\tcolor: #2563EB;\n\t\tborder-color: #2271b1;\n\t\t&:hover {\n\t\t\tbackground: #f6f7f7;\n\t\t}\n\t\t&:focus {\n\t\t\tbackground: #f6f7f7;\n\t\t}\n "} `,us=(ls.progress` width: 100%; `,ls.span` cursor: pointer; font-size: var(--st-font-size-xs); color: var(--st-color-body); svg { fill: #757575; } &: hover, &: focus { color: #2d4ad1; outline: none; svg { fill: #2d4ad1; } } ${e=>e.$before&&"\n\t\tsvg {\n\t\t\tmargin-right: 10px;\n\t\t}\n\t"} ${e=>e.$after&&"\n\t\tsvg {\n\t\t\tmargin-left: 10px;\n\t\t}\n\t"} `),ps=({className:e,children:t,onClick:r,after:n,before:a,gray:s,large:o,mb1:l,ml1:c,disabled:u,type:p})=>(0,i.createElement)(cs,{className:e,gray:s,large:o,mb1:l,ml1:c,after:n,before:a,onClick:r,disabled:u,type:p},a?(0,i.createElement)("svg",{width:"14",height:"9",viewBox:"0 0 14 9",xmlns:"http://www.w3.org/2000/svg"},(0,i.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.0009 4.4999C14.0009 4.36729 13.9482 4.24011 13.8544 4.14635C13.7607 4.05258 13.6335 3.9999 13.5009 3.9999H1.70789L4.85489 0.853899C4.90138 0.807411 4.93826 0.752222 4.96342 0.691483C4.98858 0.630743 5.00153 0.565643 5.00153 0.499899C5.00153 0.434155 4.98858 0.369055 4.96342 0.308316C4.93826 0.247576 4.90138 0.192387 4.85489 0.145899C4.80841 0.0994111 4.75322 0.062535 4.69248 0.0373759C4.63174 0.0122168 4.56664 -0.000732422 4.50089 -0.000732422C4.43515 -0.000732422 4.37005 0.0122168 4.30931 0.0373759C4.24857 0.062535 4.19338 0.0994111 4.14689 0.145899L0.146894 4.1459C0.100331 4.19234 0.0633877 4.24752 0.0381812 4.30827C0.0129748 4.36901 0 4.43413 0 4.4999C0 4.56567 0.0129748 4.63079 0.0381812 4.69153C0.0633877 4.75228 0.100331 4.80745 0.146894 4.8539L4.14689 8.8539C4.19338 8.90039 4.24857 8.93726 4.30931 8.96242C4.37005 8.98758 4.43515 9.00053 4.50089 9.00053C4.56664 9.00053 4.63174 8.98758 4.69248 8.96242C4.75322 8.93726 4.80841 8.90039 4.85489 8.8539C4.90138 8.80741 4.93826 8.75222 4.96342 8.69148C4.98858 8.63074 5.00153 8.56564 5.00153 8.4999C5.00153 8.43416 4.98858 8.36905 4.96342 8.30832C4.93826 8.24758 4.90138 8.19239 4.85489 8.1459L1.70789 4.9999H13.5009C13.6335 4.9999 13.7607 4.94722 13.8544 4.85345C13.9482 4.75968 14.0009 4.63251 14.0009 4.4999Z"})):"",t,n?(0,i.createElement)("svg",{width:"14",height:"9",viewBox:"0 0 14 9",xmlns:"http://www.w3.org/2000/svg"},(0,i.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 4.50002C0 4.36741 0.0526784 4.24024 0.146447 4.14647C0.240215 4.0527 0.367392 4.00002 0.5 4.00002H12.293L9.146 0.854021C9.05211 0.760135 8.99937 0.632797 8.99937 0.500021C8.99937 0.367245 9.05211 0.239908 9.146 0.146021C9.23989 0.0521345 9.36722 -0.000610348 9.5 -0.000610352C9.63278 -0.000610355 9.76011 0.0521345 9.854 0.146021L13.854 4.14602C13.9006 4.19247 13.9375 4.24764 13.9627 4.30839C13.9879 4.36913 14.0009 4.43425 14.0009 4.50002C14.0009 4.56579 13.9879 4.63091 13.9627 4.69165C13.9375 4.7524 13.9006 4.80758 13.854 4.85402L9.854 8.85402C9.76011 8.94791 9.63278 9.00065 9.5 9.00065C9.36722 9.00065 9.23989 8.94791 9.146 8.85402C9.05211 8.76013 8.99937 8.6328 8.99937 8.50002C8.99937 8.36725 9.05211 8.23991 9.146 8.14602L12.293 5.00002H0.5C0.367392 5.00002 0.240215 4.94734 0.146447 4.85357C0.0526784 4.75981 0 4.63263 0 4.50002Z"})):""),ds=(0,i.createContext)(),fs=()=>(0,i.useContext)(ds),hs=({children:e,after:t,before:r,onClick:n,customizeStep:a,disabled:s,hidden:o})=>{const[{currentIndex:l},c]=fs(),u=e=>{!0!==a&&c({type:"set",currentIndex:l-1}),"function"==typeof n&&n(e)};return(0,i.createElement)(us,{$before:r,$after:t,className:`ist-link\n\t\t\t\t${s?"disabled":""}\n\t\t\t\t${o?"hidden-btn":""}\n\t\t\t`,onClick:u,tabIndex:o?-1:0,onKeyPress:u},r?(0,i.createElement)("svg",{width:"14",height:"9",viewBox:"0 0 14 9",xmlns:"http://www.w3.org/2000/svg"},(0,i.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.0009 4.4999C14.0009 4.36729 13.9482 4.24011 13.8544 4.14635C13.7607 4.05258 13.6335 3.9999 13.5009 3.9999H1.70789L4.85489 0.853899C4.90138 0.807411 4.93826 0.752222 4.96342 0.691483C4.98858 0.630743 5.00153 0.565643 5.00153 0.499899C5.00153 0.434155 4.98858 0.369055 4.96342 0.308316C4.93826 0.247576 4.90138 0.192387 4.85489 0.145899C4.80841 0.0994111 4.75322 0.062535 4.69248 0.0373759C4.63174 0.0122168 4.56664 -0.000732422 4.50089 -0.000732422C4.43515 -0.000732422 4.37005 0.0122168 4.30931 0.0373759C4.24857 0.062535 4.19338 0.0994111 4.14689 0.145899L0.146894 4.1459C0.100331 4.19234 0.0633877 4.24752 0.0381812 4.30827C0.0129748 4.36901 0 4.43413 0 4.4999C0 4.56567 0.0129748 4.63079 0.0381812 4.69153C0.0633877 4.75228 0.100331 4.80745 0.146894 4.8539L4.14689 8.8539C4.19338 8.90039 4.24857 8.93726 4.30931 8.96242C4.37005 8.98758 4.43515 9.00053 4.50089 9.00053C4.56664 9.00053 4.63174 8.98758 4.69248 8.96242C4.75322 8.93726 4.80841 8.90039 4.85489 8.8539C4.90138 8.80741 4.93826 8.75222 4.96342 8.69148C4.98858 8.63074 5.00153 8.56564 5.00153 8.4999C5.00153 8.43416 4.98858 8.36905 4.96342 8.30832C4.93826 8.24758 4.90138 8.19239 4.85489 8.1459L1.70789 4.9999H13.5009C13.6335 4.9999 13.7607 4.94722 13.8544 4.85345C13.9482 4.75968 14.0009 4.63251 14.0009 4.4999Z"})):"",e,t?(0,i.createElement)("svg",{width:"14",height:"9",viewBox:"0 0 14 9",xmlns:"http://www.w3.org/2000/svg"},(0,i.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 4.50002C0 4.36741 0.0526784 4.24024 0.146447 4.14647C0.240215 4.0527 0.367392 4.00002 0.5 4.00002H12.293L9.146 0.854021C9.05211 0.760135 8.99937 0.632797 8.99937 0.500021C8.99937 0.367245 9.05211 0.239908 9.146 0.146021C9.23989 0.0521345 9.36722 -0.000610348 9.5 -0.000610352C9.63278 -0.000610355 9.76011 0.0521345 9.854 0.146021L13.854 4.14602C13.9006 4.19247 13.9375 4.24764 13.9627 4.30839C13.9879 4.36913 14.0009 4.43425 14.0009 4.50002C14.0009 4.56579 13.9879 4.63091 13.9627 4.69165C13.9375 4.7524 13.9006 4.80758 13.854 4.85402L9.854 8.85402C9.76011 8.94791 9.63278 9.00065 9.5 9.00065C9.36722 9.00065 9.23989 8.94791 9.146 8.85402C9.05211 8.76013 8.99937 8.6328 8.99937 8.50002C8.99937 8.36725 9.05211 8.23991 9.146 8.14602L12.293 5.00002H0.5C0.367392 5.00002 0.240215 4.94734 0.146447 4.85357C0.0526784 4.75981 0 4.63263 0 4.50002Z"})):"")},ms={dashboard:(0,i.createElement)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,i.createElement)("path",{d:"M6 18L18 6M6 6L18 18",stroke:"#6B7280",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})),tada:(0,i.createElement)("svg",{width:"40",height:"41",viewBox:"0 0 40 41",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,i.createElement)("path",{d:"M29.5749 28.3335L3.52519 39.6683C1.82715 40.3441 0.139647 38.6711 0.800662 36.9674L12.1842 10.5077",fill:"#FFB636"}),(0,i.createElement)("path",{d:"M0.79938 36.9688L1.70407 34.866C1.78165 34.7477 1.85899 34.6292 1.93665 34.511C6.43641 27.656 11.0021 20.8429 15.7238 14.1385L21.0179 19.5651C17.0234 22.3075 4.05305 35.7111 1.33625 39.2664C0.744848 38.7225 0.457426 37.8502 0.79938 36.9688Z",fill:"#FFD469"}),(0,i.createElement)("path",{d:"M23.78 16.5201C28.6123 21.3524 31.2554 26.5442 29.6834 28.1162C28.1115 29.6882 22.9198 27.0451 18.0873 22.2128C13.2549 17.3804 10.6119 12.1887 12.1839 10.6167C13.7559 9.04464 18.9476 11.6877 23.78 16.5201Z",fill:"#A06C33"}),(0,i.createElement)("path",{d:"M12.1563 26.1402C12.1563 26.6099 11.7756 26.9906 11.306 26.9906C10.8363 26.9906 10.4556 26.6099 10.4556 26.1402C10.4556 25.6705 10.8363 25.2898 11.306 25.2898C11.7756 25.2898 12.1563 25.6705 12.1563 26.1402Z",fill:"#F7F9AA"}),(0,i.createElement)("path",{d:"M39.2181 17.2028C39.2181 17.8768 38.6717 18.4232 37.9976 18.4232C37.3236 18.4232 36.7772 17.8768 36.7772 17.2028C36.7772 16.5287 37.3236 15.9823 37.9976 15.9823C38.6717 15.9823 39.2181 16.5287 39.2181 17.2028ZM31.0679 33.4545C30.3938 33.4545 29.8474 34.0009 29.8474 34.675C29.8474 35.349 30.3938 35.8954 31.0679 35.8954C31.7419 35.8954 32.2884 35.349 32.2884 34.675C32.2884 34.0009 31.7419 33.4545 31.0679 33.4545Z",fill:"#FFB636"}),(0,i.createElement)("path",{d:"M27.8093 6.76157C27.7046 7.46978 27.2471 8.09532 26.5539 8.47782C26.0753 8.74189 25.5125 8.87915 24.9283 8.87915C24.7422 8.87906 24.5564 8.86533 24.3723 8.83806C23.9592 8.77696 23.5457 8.83931 23.2379 9.00907C23.1 9.08517 22.8629 9.25165 22.8244 9.51204C22.786 9.77243 22.9647 10.0004 23.0746 10.1131C23.3135 10.3581 23.6782 10.5335 24.0785 10.5991C24.0895 10.6002 24.1004 10.6006 24.1114 10.6023C25.8004 10.852 27.0068 12.1898 26.8006 13.5845C26.6959 14.2928 26.2383 14.9184 25.545 15.3009C25.0664 15.5649 24.5037 15.7022 23.9196 15.7022C23.7335 15.7021 23.5476 15.6884 23.3635 15.6611C22.9505 15.5999 22.5368 15.6623 22.2291 15.8321C22.0911 15.9082 21.8541 16.0747 21.8156 16.3351C21.7539 16.753 22.267 17.3047 23.1023 17.4281C23.5568 17.4953 23.8707 17.9182 23.8035 18.3727C23.7425 18.786 23.3873 19.0831 22.9817 19.0831C22.9411 19.0831 22.9002 19.0801 22.8589 19.074C21.17 18.8243 19.9636 17.4864 20.1698 16.0917C20.2745 15.3834 20.7321 14.7579 21.4253 14.3754C22.0546 14.0282 22.8294 13.9002 23.6069 14.0152C24.02 14.0762 24.4335 14.0139 24.7413 13.8442C24.8793 13.7681 25.1163 13.6016 25.1548 13.3412C25.2155 12.9301 24.7191 12.3903 23.9077 12.2554C23.8944 12.2541 23.881 12.253 23.8677 12.251C23.0903 12.136 22.3856 11.7895 21.8837 11.275C21.3308 10.7083 21.0738 9.97704 21.1785 9.26868C21.2832 8.56048 21.7408 7.93493 22.434 7.55243C23.0633 7.20525 23.8381 7.07728 24.6156 7.1922C25.0285 7.25314 25.4422 7.19095 25.75 7.02118C25.8879 6.94509 26.125 6.7786 26.1635 6.51821C26.2019 6.25782 26.0232 6.02985 25.9132 5.91712C25.6678 5.66556 25.29 5.48618 24.8768 5.42517C24.4223 5.35798 24.1083 4.93509 24.1755 4.48056C24.2426 4.02603 24.6657 3.71243 25.1201 3.77923C25.8975 3.89423 26.6022 4.24079 27.1041 4.75525C27.6571 5.32204 27.9141 6.05329 27.8093 6.76157Z",fill:"#BEA4FF"}),(0,i.createElement)("path",{d:"M6.38487 13.0244C6.38487 13.7882 5.76565 14.4075 5.00182 14.4075C4.23799 14.4075 3.61877 13.7882 3.61877 13.0244C3.61877 12.2606 4.23799 11.6414 5.00182 11.6414C5.76565 11.6414 6.38487 12.2605 6.38487 13.0244ZM31.1071 11.4265C30.2246 11.4265 29.5093 12.1419 29.5093 13.0243C29.5093 13.9067 30.2247 14.6221 31.1071 14.6221C31.9896 14.6221 32.7049 13.9067 32.7049 13.0243C32.7049 12.1419 31.9896 11.4265 31.1071 11.4265ZM16.8378 31.4783C15.9553 31.4783 15.24 32.1937 15.24 33.0761C15.24 33.9585 15.9554 34.6739 16.8378 34.6739C17.7203 34.6739 18.4357 33.9585 18.4357 33.0761C18.4357 32.1937 17.7203 31.4783 16.8378 31.4783ZM38.0334 24.1622C38.275 23.6943 38.0916 23.1191 37.6237 22.8775C37.4371 22.7812 37.2145 22.6534 36.9567 22.5055C34.6916 21.206 29.9786 18.5022 24.4292 22.9828C24.0194 23.3135 23.9555 23.9139 24.2863 24.3236C24.617 24.7334 25.2173 24.7975 25.6271 24.4665C30.1611 20.8059 33.821 22.9052 36.0077 24.1596C36.2735 24.3121 36.5246 24.4562 36.7485 24.5718C36.8598 24.6293 36.9813 24.6643 37.1061 24.6748C37.2309 24.6853 37.3565 24.6712 37.4758 24.6331C37.5951 24.5951 37.7058 24.5339 37.8014 24.4531C37.8971 24.3723 37.9759 24.2735 38.0334 24.1622Z",fill:"#FF6E83"}),(0,i.createElement)("path",{d:"M33.972 5.45348C33.972 5.92317 33.5912 6.30387 33.1216 6.30387C32.6519 6.30387 32.2712 5.92317 32.2712 5.45348C32.2712 4.98379 32.6519 4.60309 33.1216 4.60309C33.5913 4.60301 33.972 4.98379 33.972 5.45348ZM3.61968 1.47832C3.14999 1.47832 2.76929 1.85903 2.76929 2.32871C2.76929 2.7984 3.14999 3.17911 3.61968 3.17911C4.08937 3.17911 4.47015 2.7984 4.47015 2.32871C4.47015 1.85903 4.08937 1.47832 3.61968 1.47832ZM16.9541 12.5765C17.0503 12.3879 17.1689 12.1732 17.2944 11.9458C17.9315 10.7918 18.8038 9.21153 18.8563 7.3709C18.9194 5.15965 17.7677 3.152 15.4335 1.40372C15.0283 1.1002 14.4539 1.18278 14.1506 1.58786C13.8472 1.99301 13.9296 2.56739 14.3348 2.87075C16.1902 4.26043 17.0699 5.71536 17.0242 7.31864C16.9844 8.71489 16.2666 10.0152 15.6898 11.06C15.5569 11.3008 15.4313 11.5282 15.3216 11.7433C15.0916 12.1942 15.2705 12.7461 15.7213 12.9762C15.85 13.0422 15.9926 13.0766 16.1372 13.0766C16.3062 13.0767 16.472 13.0301 16.6162 12.9418C16.7604 12.8535 16.8773 12.7271 16.9541 12.5765Z",fill:"#59CAFC"})),tooltip:(0,i.createElement)("svg",{width:"18",height:"18",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,i.createElement)("path",{d:"M7 0.875C3.61758 0.875 0.875 3.61758 0.875 7C0.875 10.3824 3.61758 13.125 7 13.125C10.3824 13.125 13.125 10.3824 13.125 7C13.125 3.61758 10.3824 0.875 7 0.875ZM7 12.0859C4.1918 12.0859 1.91406 9.8082 1.91406 7C1.91406 4.1918 4.1918 1.91406 7 1.91406C9.8082 1.91406 12.0859 4.1918 12.0859 7C12.0859 9.8082 9.8082 12.0859 7 12.0859Z",fill:"#3B3F5C"}),(0,i.createElement)("path",{d:"M8.52578 4.32988C8.11562 3.97031 7.57422 3.77344 7 3.77344C6.42578 3.77344 5.88437 3.97168 5.47422 4.32988C5.04766 4.70313 4.8125 5.20488 4.8125 5.74219V5.84609C4.8125 5.90625 4.86172 5.95547 4.92187 5.95547H5.57812C5.63828 5.95547 5.6875 5.90625 5.6875 5.84609V5.74219C5.6875 5.13926 6.27676 4.64844 7 4.64844C7.72324 4.64844 8.3125 5.13926 8.3125 5.74219C8.3125 6.16738 8.01172 6.55703 7.54551 6.73613C7.25566 6.84688 7.00957 7.04102 6.8332 7.29531C6.6541 7.55508 6.56113 7.8668 6.56113 8.18262V8.47656C6.56113 8.53672 6.61035 8.58594 6.67051 8.58594H7.32676C7.38691 8.58594 7.43613 8.53672 7.43613 8.47656V8.16621C7.43684 8.03349 7.47753 7.90405 7.55288 7.7948C7.62824 7.68554 7.73478 7.60152 7.85859 7.55371C8.66523 7.24336 9.18613 6.53242 9.18613 5.74219C9.1875 5.20488 8.95234 4.70313 8.52578 4.32988ZM6.45312 10.0078C6.45312 10.1529 6.51074 10.292 6.6133 10.3945C6.71586 10.4971 6.85496 10.5547 7 10.5547C7.14504 10.5547 7.28414 10.4971 7.3867 10.3945C7.48926 10.292 7.54687 10.1529 7.54687 10.0078C7.54687 9.86277 7.48926 9.72367 7.3867 9.62111C7.28414 9.51855 7.14504 9.46094 7 9.46094C6.85496 9.46094 6.71586 9.51855 6.6133 9.62111C6.51074 9.72367 6.45312 9.86277 6.45312 10.0078Z",fill:"#3B3F5C"})),youtube:(0,i.createElement)("svg",{width:"70",height:"50",viewBox:"0 0 70 50",fill:"none",xmlns:"http://www.w3.org/2000/svg"}," ",(0,i.createElement)("path",{d:"M68.454 7.67676C68.0525 6.19296 67.2693 4.84024 66.1824 3.75328C65.0955 2.66632 63.7428 1.88306 62.259 1.48148C56.8269 0 34.9645 0 34.9645 0C34.9645 0 13.101 0.0448436 7.66888 1.52633C6.18507 1.92793 4.83236 2.71123 3.74545 3.79824C2.65853 4.88525 1.87535 6.23803 1.47388 7.72187C-0.169205 17.3737 -0.806588 32.0808 1.519 41.3465C1.92051 42.8303 2.70371 44.183 3.79062 45.27C4.87753 46.3569 6.23022 47.1402 7.714 47.5418C13.1461 49.0232 35.0091 49.0232 35.0091 49.0232C35.0091 49.0232 56.8718 49.0232 62.3036 47.5418C63.7874 47.1402 65.1402 46.357 66.2271 45.27C67.3141 44.1831 68.0973 42.8303 68.4989 41.3465C70.2319 31.681 70.766 16.9832 68.454 7.67703V7.67676Z",fill:"#FF0000"})," ",(0,i.createElement)("path",{d:"M26 35.0098L44.1368 24.5049L26.0003 14L26 35.0098Z",fill:"white"})," "),clickToPlay:(0,i.createElement)("svg",{width:"301",height:"210",viewBox:"0 0 301 210",fill:"none",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"}," ",(0,i.createElement)("rect",{width:"301",height:"210",fill:"url(#pattern0)"})," ",(0,i.createElement)("defs",null," ",(0,i.createElement)("pattern",{id:"pattern0",patternContentUnits:"objectBoundingBox",width:"1",height:"1"}," ",(0,i.createElement)("use",{xlinkHref:"#image0_114_1409",transform:"translate(-0.00133934) scale(0.00182637 0.0026178)"})," ")," ",(0,i.createElement)("image",{id:"image0_114_1409",width:"549",height:"382",xlinkHref:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAiUAAAF+CAYAAABdzGpCAAAgAElEQVR4Ae29UXLrvI6F2wPoEfRrv95p3kH2TO5LV91ajj/3MgxQkuNkO9ZSlQIQJEHwoyzgONn/+Y//yBUCIRACIRACIRACIRACIRACIRACIRACIRACIRACIRACIRACIRACIRACIRACIRACIRACIRACIRACIRACIRACIRACIRACIRACIRACIRACIRACIRACIRACIRACIRACIRACIRACIRACIRACIRACIRACIRACIRACIRACIRACIRACIRACIRACIRACIRACIbAm8J/r7vSGQAiEQAiEQAiEwOsIeOGxR3/dyvEUAiEQAiEQAiEQAg2BriDpbEz1PmyRIRACIRACIRACIXCYAEUFUg7Q98rDi2ZCCIRACIRACIRACDiBVdHhfdK9jY/ORl9kCIRACIRACIRACGwSoJjQQHSXR/TOx2YAGRACIRACIRACIXBuAhQbooAuWXVsK+k+zk01uw+BEAiBEAiBEDhMoBYfcrAqPLb6fD764aAyIQRCIARCIARC4DwEKEa0Y/StgmNvPz7xS/s8dLPTEAiBEAiBEAiBQwQoGlzuLTy2xikQxhwKKoNDIARCIARCIATOQ6AWIdo5BcSrJb5dnod0dhoCIRACIRACIbBJoBYmm8XIf//3f/8///M///P/6pa+o5BREL7OZlAZEAIhEAIhEAIhcB4CtUjYLEb+4z/+479UXKgY+d///d//j3tnYYJ/EWbt89DOTkMgBEIgBEIgBDYJUCzskSpK/otiBKkihYIl35ps8s6AEAiBEAiBEAiBQoBvK1x2hcnl2xErOh6KEhUn12KEsZ0fX0eh0C5hpRkCIRACIRACIXA2AhQFUwHhdoqN9puSa1HCGM1z3f2gn4119hsCIRACIRACIbAgoAJBF4VCJykuLsWIig39/Qi/tnG585uSuuY1hIgQCIEQCIEQCIGzEqjFQVeQYLsVJCpK6h+5qjCxvylhLHMnKe7qyxUCIRACIRACIRACt6JgKhz8WxKNuRQci6KEMS4730Ive64QCIEQCIEQCIEQuBUFXdHgRQXffNxkV5Rc/0kwY+r8bg0dgey5QiAEQiAEQiAEQuBSFHQFQy0qKDYu0v+OBJ1vUUy6j24Nx6/+XCEQAiEQAiEQAiclQCHQFQzYKEbURn/458DN35NoLD5WUujVnysEQiAEQiAEQuAAAZIn0qd2Nu9/R10xTzcFiPrRL7L7lzdDUbJVmIjJX+T2jmeZmEIgBEIgBD6YAMkSyVa97Tr9kpPdx/xrnRglu/uuEPHCpPt7Eu+/6vJJUYKs6/wVVv/6rLJ+CIRACITAiQkoefpFe6/0ue+o+z6kr+6H4qQWJRvfkqQgeccnIDGFQAiEQAi8PQGStQJFX8na5/Oq/m6b99il+00h8VCQ6NuPFxUlvv67sUk8IRACIRACIfBPCZAkFQS6S+n1rmMZ7/Z/uqlhceKs+6FNMaI2+k3yr22QT35TQgxDiDGHQAiEQAiEwPkIeHIkKYsCdmxbss6BJH5ov4vc2s+tCPHCpPsj1/LfJ/F5W2s4s3fhkjhCIARCIARC4J8ToHhwuZVUV/3aEL7++eauARCPy7oHFRWyeXFx0+uvbvRtyTT2aq/+ab8jn3c5p8QRAiEQAiFwQgJKkLpckjSflfhzn9gui/3jHx5X3eOyIFGRUYuSjV/d4B+/tJH/GEWWD4EQCIEQCIH3IKDEqKuTJM3vys7/16q//9P3udoXBcTt2xH/JoS/I0EuihL3063nbH6fRlYMgRAIgRAIgTcksDdZd4l1r03bZp2qvxLJtAZ2l9L99iKiLUgO/j0J/nyNqr9y7/EVAiEQAiEQAn+SgJKjLpc1YXbty68vrt8OdP0rW13vK4Lv/dR69XJb1af4KCBcPhQm9Vc3G39PorXw161b4047BEIgBEIgBE5LgITdJczO9vD3FNd/ddKNXdkEXP0ur80HwTgfu7LRh2QebcnppoB4KEb49U0tSnb86mZai7geNhxDCIRACIRACJyNwJ4kTUIlWf9nTcrXbwo07jZmkfTx52vDfWWrY9Su4/Fd+6qdtktiH4uRJ4sS/PparrOvyBAIgRAIgRA4LQElRl0uPVlW/Zas+eNOl6Ug2UrE7psYiIN2lfSvpPutOv6qnVhv+6P4mGQtyhbflGgt/Nd11SamqxoRAiEQAiEQAucl4ImxS5qykVQvSbv7I8/yTYmPn3x2dp0CdnSk7K53beYekR5r1S/7rYVJt//rr6/a8banLi729LW7/AyBEAiBEAiBExI4ktRJtprz8PckKkjKNwWXcaWY6RLyEZuOiPGuY3tG7ipCalFSvyXR/oeiRDGxxhTfCR+9bDkEQiAEQiAEHgkoUeqaEiYJ1eWeokTjfc6e5DzF8BN2j41Yd8uuKKmFi7VXe4f91ynkZwiEQAiEQAiclICSpa6tpP+QwLukPHxTMCX6VaLeimdvP3Ez3ttTXJt27bPbvxUh7mPPPq/HEBECIRACIRAC5yWghKmLpN1JErkn2vabkiEp3827ruU+uzW/a6v+iUF+0Q9LL7r8j3ubX125b9ac9gT/r5PIzxAIgRAIgRA4IQElSV1TsvRk6kn2oh/4puBhrhUGdY0uFs2vdrehd+vgfzWmm/dgoyBBvrAoUYy5QiAEQiAETkZgevlP9k/Gw54lp3uZyGtSVtuKjYekvqNPcdQ1q22r/cy6tzkUHHtk3b+KtGaPHq/07tZzJnuuEAiBEAiBkxCoL/3a/jQMdX/eRncp3e9aHNwSN4m3JuUXFCW+hmLxtuve57qP2aV78cE3P5K6vU+xeFt63f9QlCgO59rpn/bsZT8hEAIhEAJXAnrpc3U6SUFj6J8kfv6KrPvY2iMsJklCbRN8l5RJ3IuCovX1ivFauxYUk1/ilGTetB/G1MKkjsdnWVNs4dhx9jP6K89Z4gyBEAiBEDhIQAmAC31LMv6vSPajeNE7OdlkrzcJ1OVDIaEEXJMy3xRMSdyTekncD/6P9q/iqb4oHohTUrF3+/ExPq8bT39dr2FcmfO8cU60I0MgBEIgBP4oAX+ho/Py15bQvc/t6J2U7d0u9qG40F1Kf/beLBK6pCwbidml6yRsbLS/K7t4VGTILt9aj7u2Ze/mM76T3fhhD1tn4Of3bs9Y4gmBEAiBEHiCAMlYU9Fd7k0MPocwsNF+B0lMLquu9pF7+c2IJ9xVEifhV6k52FzHhqSIoC25ut1XVyioMNGYrbt+S7I1r1uriVP84bo6i3d4phJDCIRACITACwjoZc+F7nKVDGqf/Phc/Lrdbb+tE5vHg63uZW+bpLlM/jXhdkl5K/FP/Z0v2brxikP2Khl7xBdzJI8WJd0c2SqnjcKwO8fffqayXgiEQAiEwIsJfDcxdwlcIbpfb784/E13xOExdDEfsT1VjFAMdMmfPk/2W3rnxwuErfldv8+XPhU4zJ1ioH+SdR2NG4oSWHfns3n4GRACIRACIfD+BEjULruX/itsosE6Vf8tUnX9I/vypFh1tXfdJF3JLpFPyXuydz5qot9TVFT/1a/adYy3uzVl8zGdXudpTGG5dUb/6ln6rWc264RACITAqQiQqLde/t7vSdntW7rAMgb9t2Gz/h5JocFY9o39KUlyrgl5K/Ezz2X1sWr7vC29FiXyu5rTrbtnP3UdtQ8WJTobXchrMyIEQiAEQuAvEeAl7lL66iYpawx6lav59ImT9E5ezS8Tvk7ViadKig3Z0b8tldTlj+ReE/meJM5cyTpfbXzUZO997mPSu/lHxu5dTzx8LenGHP71fGj78/OyByaOQiAEQiAEfp+AXuy6eMGvpBcelySi5KEkdU0gmsuYqq/8sv5XJOtCRX6+czF/FQ97+HYBYon17o9KPbHXogKmPmbSPZHjp87vxkz+qv3IXNavssZT1/A2Y52bPVOcS3d2eiY42+88H5kbAiEQAiHwjwjwEu9e8m4jGdyStBKJJx9LJprHOPdxRBcOje/kZPsaPf90f1uxePyX4kv7tX3R30rGkmyZ53bZ6HeO0mFJ/0rWuWp34+u4vWtoXJ3b+e/GMa8bX20wGuTWefnZzk9AekIgBEIgBN6WQH2Rdy9+JV3ZSb43vUtCstlYn8u8bo3OJmjY0ZGyo1/Vtt314XOSHvNlz77PZn9wuRUY2j8Jd9LpR5K8kVqHvpX02Lbm0o/8zhpdTPjtZDe+s5Vn58b2ap/ObHoe/Pyjh0AIhEAIvDkBf5l3L/yHBO1Jo0s+q6RtxU231hGbsHrsYMZW29hdSu/umgj/q+7T96jESuGB7JLtytYVFqvx3tfF5v2uHxnr8/bE143x9dzfpMPPn7Gr3p1TZ6vnTjsyBEIgBELgzQnopa6re7nLtixIlFg86aB7wm6Si/v0NaYY9th9D187+r+ChTZjkJPfh4JEe2BvSO1R+1fflGCP2LuEvmd+N4/Y6vwjY/fMrWNg08kppupjeF44k+nMZOdcr2pECIRACITAXySwetF7MkC/yS7JKSFtJJbb/Bd+a1KTEm2dR9W39qt+j/Gid4m2JtTvtDuWe/wdiatbY2+x0M31+Gp/1/bxnU6B59LOgnNZnV8977/4eUzMIRACIXBaAtMLXomYJPCQoEkUNfGQIOnfKX0d9CmuvXYdqMZyoa/mj3tWAmVvLmtiFY961zFTu2M5jcXezZGN/io9dvTV+K353o8/ZI1tzzrdHHuGVmfn56szp835R4ZACIRACLw5AV7c08t+maSVLGoSUUKSTX1KWJZQxsKmjFEsvi6xYaO9ksJOv+uy1TbjJFnjLlYSL8nWJX0dB8apj3ErWX3smVfnaM1pjW6sxu9ZB5/sCYm9+la7szG+k/isUn6sQPbz6nTO9+uk8zMEQiAEQuBPEehe7GOCVuJWQkHWBKL2NYncjbsm/Ltkv8PmcbhO8TDFjl0H0enYqnyIb7XXLvF2PLB1idhtR5O45uIbKR/u03XGVLma4/NX67lP/LlNevXl7bp3n6u+67NSz8vbnPWf+vAl2BAIgRAIgf8joJe6Ln+5SyfpL5N0l6Q8+ciPxri8+n7we9BOjMRZ46/tbo8+Bj8PcZE4V0nTE+hKJ1njs8q6xtHxzn7Ld42zjp/adV6N2WOoYyefstex3tYa1+fDz6zqfsaXhzo/QiAEQiAE/g4BvdR11Zf7mKApHDy5ePJA9350zZWOjxdJxU68dR9H2w8FCTEr7i75st8qV2Ph0cnqpxvjtm4d73e9+q5tH7vSuzXdl/o1v47D3vmuY92fdM1pntPufK+P9OWZRo8MgRAIgRB4cwJ6oevqXuyyjQl6K1Gvkg8JCR8upzV32ol52s+WncLmbt/EK7mVOJU86967OXWMr1GT8Wqs5u0dX+Oo7Rq7+qe1u7keB/up4yZ/jHcfrmve9TnljLqz5Fl2eXnA8yMEQiAEQuBvENDLXVd9yd8lZooCJQ+KCBJJTTw1ufk49E7il7Wq1DrX5NTGdh2vfawSV92nt1u/Hmu3V0+ePtZ1HzPxYfyRsZqzd3wdp7ndfjobsbms/mhrPuOwIbF3UucmO2Ml8XWgINF55gqBEAiBEPiDBHiBe2J2fTNJK4msktiqb5WYvCDpfFiy6mL0PezVKWTu/ClGkmVNmJ48pXf7wVbHEj/9yNVeGVNl9V371a5+ff06v2vv8al57ldzqq/Oj2ww5twZR/sqt85SH0GN4XIdW2QIhEAIhMCTBPylukc/sgz+JOt9l5hJDJ48SBqSNfFstWvicl9V3+OL+BpZ97XVHvdNXFM89E+yzpsYyF7HTj6xb42vPuvatb/6q+NZF6l+bmyS1e/kpzm3eg6rc9MzTz/Pv9q5QiAEQuBGwF8Krt8GRHkgACckA7yNXmU3FluVzJUdXdJvJQW175KDJxzXaxLbavvclb7lh34luxqrxe/7mvR2v/Kp+JDSWdPlag/0+XjpU4KuiVxj8TFJ99359f7JX7cu86Z1t+zMR3ax4aM5P3/2pnOTvT7HV1NECITA2QnwgnAObnNdY2rb551FhwHSuWCT5F71w4x5Prbq3sa3S08IF13Jw5Oz2koyq2RGMkKukhLJCcmcvZL4SnLzPU16LUg07rZ/4kHWePbsqWOEv07WNboxbvPxNR7vk177Jz/M8/6jOj6QdT7Pk0tnf9Wnc5O9PsdXU0QIhMAZCdSXghhU29Q+I6+6Z9hM3NTPzRjaLr2PNdTv19R2P+g1Sd+KEiWVLsGSdDqp8atEWBOV2p0f2fDVxSBbk9DYC3tbScZe9osvxSN92vuevXX76faNrY7HPslpfLVvxap9whae05pbdvx4DHUOjBdS58W51LPT8y1bvTpbHZN2CITAhxDwD/xKVx/9SCFAr/JD8IzbYL8rBhpTb8ZXe9f2segupevS3Cqrv1tiViLpEownm6prvO6ahPa0p7Xq3G7NJrlpX1NSY8/03/bsfnzdLjbv7/Rn5tS9dX7dVsdPbZ8z6dq7+iY5zav2rX0740FfnZ0/v65rTq4QCIETEuDD30m3TXpFxrhq/4tt30vVabuU/spbzNw/DKttWvOSnLukMiW7aq8Jam97WrOb341dJLdurxQj6kN/KEx87W5N7696N16s6rjaPsqzju/aioV1tF/p35X462SNgfV9zSv3B+bX55cz6c6OZ1x9uUIgBE5KwF8AVfcXh/DQ7vRq+6s4nQF72pJw+S1JPMTayS6W29f4NbnQVpLhxobsktQeG/NdkszqfNl9nPQhyWl/U4Jze5ccL8mbteuaU2waX8cSK75WkrFIxnpCl432tBbziZPxLqVz45P2JBlHXFV28eyNwdbsnsv6/PLuwE47MgRC4IMJ+AceXZJbW0ffK+sc2u+MUXvThXQdm0vpr7o9eR71OcU5xXpLUkokfnfJiMSHJPnURLXV1jx8IFe+uvGW0G57uNq2mDFe49Av0uMmLuQUXxeb5kzjtaazxT/S+2p8zNWYbl3ZGMNc/NF+RuLDpXTde+MY1l2dlT/L0nOFQAi8GQESy0+H5eugr14eW32K1/38dPwr/8TBGNrPSM35zq1EqPlH5Z41O+Z1nq97ScqeOEg6LkmcyCnx+pxOZ77Lbhy2LvF5rKY7T9d9r9jv9qy15Ic1PTbpda9dTMypY6tv1pFkDpKxtqe7OLFrnNZhLew/JYmryo6DYmDcIh7OQXK6+ZxGhkAI/GMC+pDqQl6bNzHZbwOeUNyndNror5AKy/0+EebmlM4/NibTRnZx0Sf5qrtLjvLdJR63o2/FwT40Dh05ze3WvtiUWLi75EPfEdn5UUJe+ejmDIlvDyc/g7u9ewwUCUjFoP4uFsZIMs59Se/OuPPXjXs3G/uR9L2j74h365y+nt7/e1dMbeyRIRACLyZQk4i7r320NWbSff5RHZ+SP3G/Km6Pc/LZjdmyvWrPJD/5Q79Lgjte3nW8+1rF6TxW48a4PPF0yVMJSPajd5fUp0SO727OwI69si/nha0yvWuzJgl2r5z2oDjlc4j3tjbzt8a9oB8mzsNtt5hWa7Gnykf7WM27vlNYm/Ny6c+u9FwhEAK/SEAfxu7iQ6o+xrit2jsfR2y+Br5Zb5R6MekldH0RjeOa4oY1jsTIWGLt2sTg/lc2+l4p/YW76wW/8RLvfCheX2eKHw7qd53x+Lhbg4Qjya0z9gSkNn1HpPtA35rPOCRrN9y2uLT7xY/HwVp7JPH4fHR8/yPpPHzv3fnXsXfPRBd/fSbESrZu7NXmaxBDlTynX09sfoZACPwzAvpw6nLpOn3YaF8m2TzaRyV+JauO7U76S8leRndjmoKEfo9ftq2rjql+pjb2V8v6kvf25gt98eK+zN2R1Fb7EUv6Xcfmso1V6ytG4qjJWedN317pz4v725rvYzcSn+/LdT8b2Zd7nuKscag9xT6tsdPuMe7R2Q9jJauObSV3cWIPHSfZ6C9yTzxb74D0h0AI/BABfUC50HlZyI7eSe9Hr75o75U1hm5dt11eXvWldH0h+bhJ97g1ZuvyMfjUHPTfkLywtVbV1X76VmLTfMnKdCMJexzPMCBm9kT7Ij2umpAV55SQJ/u0t2m87N0cWBXm7MFlZQKvu33ihzi6NffuH19DjL6ux+lxuX3S8TP1y/7dm5hYgzVvsuPk+zcdH6uY+DxvvQvSHwIh8EME9AHV5XL1oZ363EfVLwts/PD1mT+tdfeiqi8lta8voml+tbMeIRIL7a6fMdXXK9t3+7QXPPbbi9levIdsSoCai6wsaxJUm7G2pvZMTN3+4df1YWvjZi3JLjbZj97TnlZ+6tpqa7wx8PjZk0vng+7yNh+/dU3Ys3YX7xDPzXdzTh6DxzvpjJ/6f8ru697tpzvPwkEx+fwpRp5T/9xHD4EQ+CUC+mDqcjl9WFd2fDCGdidlW11HYuEl8/DPGfWSuu6LMcQ2SWJifdqSbpvmv8pOvEj5lU4b/VuSpOdSepcEuxc+ydFiI77vcGj35DF28an/6N3tactHnaNYyv6JHwbOZKUz704qniP7VSya43IRn8dDvH9BErfLh89/ORvti/GrPdbPur8DoodACPwSAX1IdfFhdR3bs/LL8/6fNZZpXV4wkhd9kTDkg/GTP+zsfZIaRx9zjkpiQWo+ukvpL709YXUJuEuAcO36youfWI/yYDzzW0nsNQ61u71s2diXy9Wcuq7m6XyIq5yVnyn76yR7ZTztm+zW7eJcxHLzdY2Rtbp4ftvGZwl5dH3t7bIfP0fp4vbEfolDMlcIhMAvEtAHWZfLqqv97I1v9/m14vyzjt1a++5lu3gp3V5cO/dD7ERKXNi34vJ+X9t1jSF+130M/S+RJE+XNblVhrzcGdclSNuHx+4MjurjfhVHjVExEd8RedRPN77snbg5z9W+YcVY5t5J7adj7vtUDGq7HOLyNVex/WQfn6H62dKaulweiqNyUnvn593X9Bi+IsrPEAiBHyfQfQjdduhlsPHB12bwXfVuo4ydYuDF+vDy3pE05JP5k3/sxKq26/RPEv/Ep3HVRl9nZ7yP2a2TxPRC1k3yImHR7mR9qYun+2BO5TwkwInPyt7xuOxda7OHun4XI7Gu5BE/HRvi+cb+fb/tuSv+ujb7revDaIinrrU6h1WffxZc15ypjb2TbnO98zfFddlbx2nj3VT9+frSc4VACPwygfqh3GpfPvy8zPUS2Pmh17bke8/FuFUs/oKV3v6fuA0vafll/mqN2qfYq402/lxWXe0fu0m+9cWss7qe0+V/TTOuymleHac2548c9gWbo3JkpLW1FusiZevi3LIxHzmN79gwttm79svZ7937cs91fT9P9t7EUX3ujUXjeNa35N6xXx6P/ex8b+5B5+LnufjMui/f57EoMzoE/hgBPljvFjZx8cFUfOid5CX7kPyvL8huTrWxxhYLzdNV56t9i6O+hOuLWy+mOsba7qtb54htjMnWqwniW229eOXbpb+MeSm7VP/q9rHo3fjKmQRZ9vos302WdX3F2sXZ8cHG+OpLbfqQdYzWk63s18/zyLNTObmfi644agzsw+UiHpjWtTxOPm9I9aGvZNfnNum68Hdt7hbMcyn9lbfHxzq7A8zAEHg1gfoQ0q5S61bbVttjncb6mN/SPRbpWzcvtYskYSGvL2j5YNzKn3Os+9U8Xav5rMNakpe7vrgVH32NxI/LrXVr/0MMzTq3+I72KRlpjkvt0dv0y8Z5TFJjprtjx1p1TvVPf7O/ymtve8m1xupxwmNLEvPKl8bUfu2d9Zr9ctZ796lxvlfa+LnJylwx+B4XsVT/XWx85lxePog7fsjfT1347mS3j2dsir36/6n9xG8ILAnwIGoQOrKzdX0+rtOZU6XG6urs2K5DfkywjuR0+wvt8oKcXtLmgzmTz2nfbHQrLvxf4vGXcY2NF7ePGXStid8pbrcz9iGGzj/JTfHoJiFqrHTmoCPpr/tSgsIHshtTExljO9nN3zOO/bCHIo9yhfGSaxcrrFy6rr107c6XbNyVoez4kr9yP7vf5b61XhdHWbvGQhvfneQz10mNf6eLeDrZ7W3Lpr0xBv2d9ptYTkCge5j9YeweUJ/jOvPcNumMrZLx1a72T19ae+vWS01jXD786oYEaS/ILb/qny76Jh93sdialxfwN17c7ndaG3sde1m7xqJ2l/A8Rk/6Gk/b9S4hyQfJUf1b69TxrKN5+PG4uvHTGvjq9r/jGYPpJFu2XSwwIw7FVXVsVda9T22ti8+FnPayx+7P1t3ea0wHYsFnt74+h7L/lctjRe/2Ndm0T5/nbRjQTzsyBF5OwB8ydJfSubU4epVdHzak5rhefdD2MeidlO3V194YeZktX456WdoLWr59HvutUnsijk6v4719F4+t/fDHjztf3O5P63TxV5vPafUucdbEojZJfZIrP8ypfrs5jEXWObUtH9y1jza+JP0ciu5nt1d33g98WR+pOIkBWWK4+ej6ZcPXJLXG5PNq37u3adzhPe+IB5/dmvVz9+r3zKv9aQ9c6OxL9k7HhmScy6qrnSsEfoyAHkYudB7Qd5KK0eOjXW3s5bvS/VYOvMhuL3Jeft3Le3hZ4xNftF12e1C/Lh+Hji+XtxhXsXWJiD0tpNb1tWjf1vS5rCEpJlNy6+yaM90rX12fbPiS7m3skt3cLrbJ5r6kOwvTObtnJJwfuNeY2KOty9y7X491/dhWTOSfcYMkxmf2Wef4M3fbR7fnIRafX33T5jP29Wn7+z+1L111f26nv5OXyfkRAj9JgIdRa3QPKrZ3l69m1HHpGNxehv7i6xLZxgu78+02zqdKH+O6v3DvYnwitrv5vs9GVwyb40nUNYGorfimfuydZF/IzrfbOh+Tzeft1X0f+BUb6Q0jP7tn9JZ5x0Jry97E0PqYxmkf8sM9jTM7z8a0v73PNvPbeOv5LPa6FY/6//Ll8Xe6bNhdut7tn/6uL7YQ+BYBHi7JqmN7dykAHiPtbz37P7AAACAASURBVIG5Tna/nc5LUX3oF1lfjGrXMdZmfreGbLo6OY1XDOq7i4m2XtI1PpImCRPJnFdIfLJWjUFtxUa/ZI219vtY1+u8upaP3atv+ST+rRgblpzVdJ5b9vG867693cTRPi8vGLcVv/rrM75nDmPu4vY9ciZlD5rHHHx00mP6ivBv/9QedSFX+tfIr58+3u3RQ+ClBPxBQ5d85ualqLmuP+PrFXMESn6+czG/i4c98mJ7kDtejA9zNthpLx4T7Sm+1r8ScJdctbYnZ9rXmFpfR/rc9xRDl8xrrN2Y6pt2PQPaR3zgC4kPl/TtkQuu3TkesemMNP7urDzOqtexL24Ti8tpP/4so1fZzfU9s87ev5fq/LnN15f+iZf2yzXp9EeGwK8Q4EH0D+Ok8wJQPzqys636WIMxW5Lxe6TAaZzLa3O38PnTmoq5vWsiVTKQTeOVuKZ5llSmNX1P0xjZneddjFq/i69LqB4vcSMXe3hYr/qRj5og1e5iqLGq3Y3rbN0a0zrd/M7W+ezGdTbFrntgtzrPPX3tmXfxYhviuDu/HWPq8+axEpPbqu7PtOt13NRmjVvc9ZnRWdg+5MfnTH5l/+Tr0/f3yWf3cXvzh3H1gaSPD7Datw9+o3u/68xH0ufSdcZNUmP33Do4jeNyHdskGduto7g8NtoXqRdgfSmSCBtmd3OL327tVVyMX8amNUhKSMXbJVFsmuMvdte39oQPlxMfH4NOjMitWJnXrSEfe+fjp8rObx3TtX2e9MJNZ8e5cY5IPaPoW5LnSeMuOtw6yZidEp8uXff4XdeY6WZvLjt9mo/d13v45+XX9RmDZG4nPQb15wqBEPhBAnzIug+j2/zDK51bY9CPyDqvti++SBrXNRgj6brGYpukEKrP5Ur3vskn67b7JhlNCYD+Hfym9Ylx6pd9jFHrq7/GB3Pim6Tm4gNZ94LdpXS/j6xfx7qfle5FgPtYzdnT1/ndmlfnqF24rc7T+7bO/+Hsfe+uNzHUZ7o+S972mJ7V2YvLSd+7xmUPvk/pOp8r7z1+agxq5wqBEPgBAvpAcm19OB9ebuUlWl9gL2n7y3t4aSpuYqv6tCftWX0uJ93HTf7avfLik6wvRe2lJi7tgzkNW63t+5xi6extfL7envhqvFtt98++pjl1/WmcPw/MmcZWeze3O4c6b6vd+d2aQ+xI+Shn3p0jNp5V2luS5+byHHTxKo4mhrt5VvRj31r3SD97cindL/nT5XK1xi3Oumedz9XPbYztr/Pp635FkZ8hEAIvJcAHW075ELqOTZIPruSv3ry0kRsvzi5mt7nOXoGqPl2d9Hmuw0I29JskMdUXovZCX5Xyc31h3vyYb1/7iC5fDzGyThefbDW2qa2x3NOYlb1bfxrPc4A8GifzkEfmTzHJjj/kamy3Xztjzn06X55R9bs+jcd+ewa69RW3YrY4NI851QftV0j24PKysfJDa/lFe08MD7++ue51z1ytyVq+fvQQCIEfIMCHbfXh5MXEy7KV+pDrZed3ecm18+wl2PbzkkfK/9YcK7JW+6p9wovNdWydbGNWfNo7+++SAP2dZP6wzy6OlU0xqv8h1mfjI+ZuXyQ3xuyRkx/ZfX43zvu3dJ4hl8zpmKvP7d5mHtJ9Sq+xM67bg2zlfDiv6Vzr81nb07zbs1DjVdueE1+fOZPPZ+3E7FL61qX1dB1at3I/MJ+1XF4CyI8QCIHXEeCDLY/o3YecF9JDQuMlqpdt/cD7C099vJD9Bc/8Lem+0LfmXPu1H+Lv9jbZYKJ+1308flsu2q/WZt/E7ZK+STL/ugdfx+PYo4+xsnZ3fvRN0vfS6dO8zt7Nx6bYuvjU789W57fa8OmyctacavMz8H7XuxhrfNMY93/Vp3P15xEdOc3B7s/Bfyp2j0d6KUo0jzn4eFZ6jOgupeuS/z0X41wuY9N+OXfb62qO4qB/T0wZEwIh8E0CWx9oXkiSDzcvZH+x8aHvpMYzp/pb2Ttfdf7Q1v7YAy+XV8kHHsTAXtivZN2DmHn/pOOzyCP7Yv8P8WpN+ZXsznCKaRr/7B7lr87d217F2PVVv5xD4XtjJR9dX7Wr3TFkvVVf59+SYX1e9ZGXbUvWebXNcyH7pNc5e9pTXJrb9bnta8Txn8SFL9rflfgjIvZAOzIEQuCFBPiArT64t5ezvzh5IW+9iHkhI0kAmuc+8F1tK//MqVJr6Da79ucv3dV+9/Thq2WjtXwf0x4qC43rbtuHr3d0T23MHqfi4ZwkV/HVsT6v6t2equ2IP/df/exp+3zpWrue2cD8dq7erzW9Xf1vtev8q6/pOdTHX31+0XY5ze/sPBtd3xGbYmI8usuqq/2dS2vpQqITw3ckvlxKzxUCIfBDBPggrz64vKw8Gd5ezHqZrpLJ1FcTh17CvJiRbuv8kEg8GUivY93fdexqv3v6WiYeR92f2jUukmE3lvGao1tt92/60Xg1/u4s1SaGmjxZm35ktxf20/VNfvAnOc2rMdHe49P9o3frqK/j8qxt2g+xI9lDsw7n1J2vvw7Uz4Xuspv/EzbF4OsSU5WMqfZXtfHvUvrRW/G4D+LDRjsyBELghQT4gE0f2Db58gJfvXh52U5jvF9j3KcnSfq6RCIbY/2lXscy7jpGe/V9TXvv7MzDx0Ny93iIHVnjUmKiz2U3TmPd93UPrN/F2tkYfye1Nr5JlkjF4rFJn+LzscxHel/1R7v69TnS/WbOM7KuoxgLzzs+3+kjZjggZVfsg+/u7LDp4y/d5bV5J3xM1fH1Hcn67hsbgdA3tbG/SrJeJ2XbcyuWOt9tr4o1fkIgBAoB/+B1H1a9mGVvX9B6oXYvd710eeF6wuBljOzG+Hit6+1uLdm6+FjDpXyVsezZ91ltXbvlgW/W8djRPR50+pDYOznslzMi1k76Htv4p/WxI7tzUKz0I+s4temb5DNzJl/VzvMkWdlqXc7vDeTqPPURVr/LPXr3TDxrY70ujktgb/Kjxsd+p/jp7+a9yZYSRgh8LgH/4PmHseoPCYyXfU0gvOin5EO/S3ztkd16nmjkg7avgU5/k3R8z568ZWf/rmN7kKwx7YdYkJUV9pVkDYuNmH0frtPv8i524u0Y04fsYqPPZfVV9+pj0Z+Zw9yV5LlA1j1o3cLT+XD2kxy5Lny6f3T37+dXdb2VZNt7MdZl9bmnrfUYh04M+Kb9r6XH0+nYJLl9T/T/631k/RA4FQE+eHwoXbYvWr34pxc7L/opOdDvchrb2X0eOrF4XDWx+dgmSWjPJAWX2Kv0MXe6x9DFLxuxID1RY9uSrFPi9jilT/ddzPjAZ8fO99LF5v2uV1++Vx/n+jNzfD7xyY/2pj6X0usamsN4eFwlDMXM+da297nesm7WYBzrTVIvJ/W5vDZbwVjvxOZS+nSzFuNp49Pt2N5Repzs1fdS+9mD27FFhkAIvJgAHzQ+nJ3kRXknSQDdi10vd/o7ScJw2Y2bbD5PumLQWL3kXdZxjC3J4G5f3+3z9af4O2aM7WIm7jqPtUrM3Rm6TftV2+WFAf4k61qKgRi7Ptnor7IbX8fUdp2z8l/nVoaFz/IZkS8bXzk5x706nDtf9F34LwoCX0uvALVdXputYCyd3kZ36TprdDb8Mcbb766zH+Ks7bqnrp+5kSEQAi8mwAdOst71pcnL8yL1Aq8JgARaE4W3uznev6XX+SQsJRPNRXaJzRLO3V5eYfe1V3uocWk/Gl/3pTZ7U3+dx3oldp0h51bPk/a4d3zWtYixi9NjVH931711Y9xW19+zRp0DP+ejNbxd51gfrH5C+vm4vnctvQI0tl6drY6h7WM7XbbJ3vnA9pdktz/F7/a/tJ/EGgIfQYCXTyd5Yd4lMV7sNdHQ9uTS6Yxz2Y3rbDWJyIePU1JRG+njsVviudvXXrt8crM269FeSY/JGVRd49xP7V/Ey1lyfrSrbPevNbsYZa8x1Bg9XtfrPO+b9KNz6ni1F4zu9q4YrmNhtMWOcb8p9cLRej914RupdVz/qXXfye/Z9vtO7BPLyQnw4ZPsbl7Kdy9vkm+XtJQEtpJUN29rjietbj79xNbJa8J52MsRe7c2e2ZNYlnJLnlWW8fEx9DfxM9Zcn5de5ND3ava1aZ4Vvv0Po9dOv4kfZzrdY73ud7FxRoNn27vYgQvJNzeQepVpTg6eTV/S+C7Oql2b7te56UdAiEQAk8R4MUi2d0PL3AlA73Ap0TgyaLTu3mrxFR91Pl1rmIjxi25M2Fd/NUEWds1jhq3t+vc2u58Tfse9uBnWZOstx/OF37dejVO39OWXufW9p49a05dp8aJX40b2PiexYk2urM7ousD6ONr2/uO6PhxKf2nLsWWKwRCIAR+nQAvn+4FyYu6lXrh8/J3WRNG1/bx6F1C6uZ263ZzSaz4oO3SktG4R8YT55bsYiEGlys/nQ/Z6hz8NfvQeWpP3blio3/ce7emx9DFSUyd3OMP3j7f10Tf66th4/vdwwleLvVBpe26bFtt5m1J/CDxTVsyVwiEQAh8DAFecquX45i4pqTgyaTTn53nvkhMSPn0fvSa4Gi7JGlpTtXxwzpVat1uP8xbyerL290875fuY4i7SM6VM6Ttkj5P1De925vH4TFMumJSH3LyKbuPY7xs0xyPxXX8FB63fV3t4uD7dy6Trg8/feguO13j3V7n00Yyts7DfnGWHyEQAiHwiQT8xcdLUdJf1vVlPv4qg8SipDDdXYLZM8/9eQKSfnQ+SWsl6evi1ZpiREw1HuyTnHzKTzen+q/7vZ6Xn5OfoZ9rpzOPObTHX88pnhoDccPFpesaV/evdh1T23VOZeIxae7ihoHGoG9JffY1ppNX87K/m9vZ3P9KZ83IEAiBEPgYAv5SlF7v8cU+JQgS00qukgnzSEi0XXZre/8eHf9bUr66eOsadUztr+1uD55UfXw31vulDwlY57mVeL3/4by7tdkr7FgfWWOZ7HXc1Pb50ruYZNM9+TD7Hib1c6APvGwur83R1vVXH7Tdb2dzX9FDIARC4CMJ8PKTrDeJ6iFJ6eW+Sgzq27pJakglE+bgv0r6Jbuk5P179bpGbU9rebysxV6Q2CfZ7UFz6/huXF1fcTe3zpRzrOdb24x78NOtrzhlr7y83cTz4PuXxxzhAR8++Gp3V7XXdjens3XzOls3N7YQCIEQ+BgCevFNd5tESJokX5ckJcYgsZOEaqLTOMa47jZ8Sdb5anv/EZ01kHWu749kXMeoXWPqxritjp981/XVdj/oir+5p7Nd2e/8dHEqhmatu3lv1K+9KrbVnrs+fchld1n1r97nfuL7udmZFQIhEAIfRoCXYvdC5iXeJpouUclGgnSphKC2SxIW42pfHc84ZE3U09qM3yuJg/FH9qk5jN8TT92D2nXenjFaF55Fdue6ZXs4d/bkschW1mqfk388hr2yJ9orqY+4+jt5NUeEQAiEQAj8BAF/+dYX9TLJeIJCJ5EjlZBImMjO5n2exLC7lK6bNZE1mTPOJcl1z1jm4d8lfd+V7tN1xUesbpc+xe7cTNeZHknI/gww73KGHodisDWWz4mNI5ab32vy39PeWgPfLquu9urW54t+9J/4zMVnCIRACIRAQ0AvYF28iKscE4GSsSepmiyViDTGZdUtWY3r+Bz3160v2+quSX5K7u6jzqn79LHP6JXhVnsV88CznunR9l3BwB6HtfwctQ5tdNbGp9s7W9fPOKSPqbrae27/DHx9Ir7mobuUv1whEAIhEAI/RGB6afPSl3y4p2StsUpcLrv5z9jcr/SawEmYk+xinsZif2YOc/fIuodVe6sg0XqF63S2z9h5BjQXXXJqY39mrdUc1qz+3b6aX/v0sZLN5bUZEQIhEAIh8FsE/EVcX9Rqe+K505X8uuSpOSRG5MrPM33yy11jwD7JZwqMusaqMJjWnexdPHU9b6/WXrDszvY7Nk/+k87z8511fnquPmdaw+W1ebPTjgyBEAiBEPhhAquXPsnmrhgh8SnJerKUTsLUGPUz9ickSd5jYH36Ounj0btxbmMccs86Pn+lyxd+kRrf2env1h8Yr86XPj1i6Eckz4fmuN61j/j9rbHs22XV1c4VAiEQAiHwwwT04udaJYG2IFES6pKmbOpTUnV5TVqjr6P9JPkaQ5esGYsksbukb5I+VvqeddyXxk9zZK/+69zaT9vHSR84rs7X+/Q8ePsTdfbYSbdJzxUCIRACIbAgoCTBhb4lNZ4xna6+7uZ/+bq8KyqmZDokxru53x1DAq4xTInfkzcJHfnMHPe3pXuM3VjvJ6Y6rhvDWPUteHZn6zZ/JmSvbR/7E3pdj7bH8t118bmS6ssVAiEQAiEwEPCXsobQdh3bSnZ9su25x4JESZCk6FJ2JVSXi4RZCxXFVG0Pbffva0tXgq4JvbZfMaf6nNp1rW5cV3B042Sr/mjLR1OcwHM6673PkuYzdvK1svtc9FfLGuMe/xqTKwRCIARCYEGAlytDaLuUvro1d+pf9TFnWYxQOJAQXdKnBIq+kFqPomPS6b9JfHdJ+p2KEueCrpjrfaQo0dxuPP5LYcJ5dpLnYK+UD8ZW3f0zppNuW+nq4/K1ZPtuG7+RIRACIRACA4E9L1p/8f+GvlmYkAiRFARWaNwKicamPXRrYF/NvfQ9U5R0CZ24a7HgbfaI9L5O79bpxsl2ZCw+ujnEpr5r8obv6nnRI6n+6fI+/Ghs1bG5dN39yO6X97nuY6ru41yv49IOgRAIgRDYScBfpugupf/2TSIbi4IpkV6T4e3XN00hMvlkj94vm7dvutZXnySJGEnSnmSXzKexbse/pHx4X9W7NVZzuvHVJ232jezmynZlB9cqeTxl53JdtqmNfZLdXNb4CUkcne9VXzc+thAIgRA4HQFelJ2U7V/eSvxa3+WtGLjaL+1VMlQC9bGDPq2DvV0XX1qji4HkPcln5sjX3qKk8y+bfCj2TtY5jK9j2XuVGu/3dd7Wc8QHT+O4XMfWydW4VV/nK7YQCIEQCIF/RIAXdifdJv3oTSFxdF4dj59lUVATKd8geOKtybNpa23WQUdiH2UXgxLy6vbiAr2O9z3QV9dSW32MlV7HwAQfjK1S/cTCnDpG7Z03/CTrrcdeNpfX5tMCf52DVV83PrYQCIEQCIFfIMDLuZOyHb2VoDSHRMV8t9NP30oyjzn4HeWUgD2ZWnyjn2YfxLKac+nrYqAAmKQnfwoAxnrs1datJRt39eu+Kwf59rWku3/667wd7dUZ06fHXTqX69giQyAEQiAEPpCAv/DRJY/cnqQ1j2SNjuzGsQ59tDtZ/dJupSdRErJsxPeNxNquh1+k/HcxqF99002sSPnwscz3dbAxZ498hgVxsPYByTPgsp6xPl7YPvCjli2FQAiEQAhMBPTy5yIRHJFKzBrv0pM1fW6ruo9Bl/Tb/fuY6uuureTZFQTfSKp3/hf7vhu3isFjQZesBQVFidZUfy0E3NbNr/7U9oKk+ntx28/Mz7XqehZl43IdW2QIhEAIhMAHE+DF7wlC2/V21ZV0ZSP5Tjr9eyQ+OtnZ9vi8+3UDiVlJ25O47WOXz6Pju6JEPoihk8SK9KJkz/ryydwq5esHC5LprGRf3f7MffDHLVsLgRAIgRCoBJQcdLlcJQz6lLSld/LVCX1aB/tyPRJ9VxCQkBnjBcKehH90TI1BbdaeZFdIHF1X47UWN2s948fOHe5+Dugupe+9/Vms+uVBzY8QCIEQCIHPJKBEwbU3afxGEUKy69ZSnN6/W68FgZJ9VxQ863/PvBqD2j6vFgtqb83x+T+gw7uTk032Z289j5rr8tqMCIEQCIEQ+EQC9aW/J4F0BcLuguDFyVLxHlq7S+4UJfJFMVDl0XUYjx/ayK7AqGO7tn9bUgsZfD8hK0dvd7psP3XrcybfXK7LVtuMiwyBEAiBEPjDBPzlLn3P7QXJoWLAEyXJFkmf2txKuNNd5inuQ7HUgoCiBL+TPLKOfLCOZJ1LnxcZjGF92i593mqcz9nQnR96J2X76VsfJ62RKwRCIARC4CQE/KVPktHW0TtJ0lcf+i5J4pTUraTK7Qn5qC4fR2NhvOKo68kfMWqc9E7iYyWrf3z5nDpG8Xj/StfcYf+cT5U6q2rztvSujf0npD9z6C6l5wqBEAiBEDgBASUZXS67xOPJbLMI8eSL/ooCpBYQtC1xK/bN+HwMPlyqX3ET+yTdT9U1x31Kr2No13GsR/8B6ftHd+k6Zyqb35Pdxzyj85xpbqdj++rNzxAIgRAIgdMR2JtcDiV6JVEl1p8sRDyRP5vEidF9SZcdn+je3ioSNLbzOc0TJx8/fPvRnYHOjyICufdMf2KcPkD47XRsLqXr0rxcIRACIRACJyPAy98liaTKLhEubUrINcl6wn21XhK44ic+17HdJEVGFys+GSPpOmtMtrpH/DGvSvnxOcN49rOS6vvNWx8d1kN36R8tjeuuzt7ZurmxhUAIhEAI/GECvOwlV7eSt/pd3hK6J1VPzF2C92T7al3rsb7Fuxmzx9/FjF/5xn+V7gNdY+oe5Yv+ldRcjb2Ohz17oc2ZYUdi/y2pj4DW2iN9zNeM/AyBEAiBEDg9gS6JTElMyW7zJlErkdZkvKdNEkbib8/aVoRoD8TKfryN3squkFDsxCLJzTreh61jIBv9ByT78b2g/wupD47WXclr920c7cgQCIEQCIEQeCDgSWWV2JS41d8mcOyelLtkvCpINN7n41MSu9s2dGJlT8SNfdd+uj1QUBCTJLrHKttq/hB/Fx82l9JffevhqD6xIdWP7rLql0H5EQIhEAIhEAJHCXiiqUlJ7V0JnMTcJeKpGNFY5tWE7u0hgVNoIGus7IX4aSOxM/9BTnshNmKvcpon+7AXYicm2p0k/mekng3Nq9J91T5vu44ft0nPFQIhEAIhEAKHCZBUPCFVnST5kLC75Dol41qU1ORMUifZd7532BQ78dZ90Ka/k+0ea+xqEz9xu5wYMKfZh8fdxUXs35V6QOSjk52NsV3fxUl+hEAIhEAIhMB3CZBsXEqvtyfINmF7Mu6Sd7WRmH2ekjTtJmG365ZxiptYq173VNvMc3m35laRodh1T+O8iClx1zWJDTvtZ6SeEc1byWv3bRztyBAIgRAIgRD4NQKerKaER2K8S9CeVCkkJGvxUdtTMYI/fNHeKRU7cVZ92tdkH/epNep+jrTZ+2JPxOR7wbYl9dBoTJXVdh1yJxjjxmqrbR8bPQRCIARCIASeJkCCcSm93iTHMVFTRKy+HSBxM7bKRZIe17UixGOs8R9tV18P6yt29nNEsudmr4qxrns0bj0IzEH3h0N9uUIgBEIgBELgbQmQqEhmVXqifEjOnly3ChL/hoDkjHQ/B3TFSnxVr/t4to3/h70fKUx874v9PRujHi7N9Ys20vuih0AIhEAIhMBbESBZuZRe74dk7EmVomJvQcJ4+XDdfW7ois8LBeLFRvtVEr8jh9Xe1bdjn9OetvagB4ox6G/1kCWYEAiBEAiBENhDQMlMF0mtSk/G6ntIyiTbVVLWrzYYh+x87bARg8uqq/1Tt/N4YEH8YrGzEMHf0Xg5M5eXg8yPEAiBEAiBEPiLBJQIdW0lxDH5ehJe/U2FChEvRlzHx0IqvmeTd90b+0V6f2fzfteJZ5PNjn25L1+j0z1GdEldGp8rBEIgBEIgBP4cARJYl/hk80TZJl4Ki9U3JOqTL8YiF4na16pxTLHuseuAGIdeZe2n3Unno36Pe0tnfOd3ZfN4q652rhAIgRAIgRD4swRWCZDEuUywWwWJihAKEeSOBM7aW/Ht6dfhMI6DUlvXSjJnS07FiebBDh1fdQ72SXqsVb9sJD9CIARCIARC4K8SUPLTNSVB2UmoD5LiYk9BIj+Mr/qwBmuvYlv1sS+Xl81aEUK7k/Kty+VqPfooNGobe5WM25I1lq/o8jMEQiAEQiAEPoCAkqAul54YPXlKb28VGtPfkKhYoRBBTn7MrhhY2+NZ6XUf3r5ssuwTW5Vao17YVut3fd0eOls3122Kh3aNjb7OHlsIhEAIhEAI/BkCSnS6SHhVtkWIFQ+Xbz6OFCQ7ChPFcCRxE7/Lla6+Zy5npfmV1Z72kX3hj7U8ZmJxW/QQCIEQCIEQ+JMEPKmR/KokgT4UJhQWkqtf2/g4L2QGXeuzZo3F2wKuNpfr2H5Ssp5L6a++tQdfw9s/ub/4DoEQCIEQCIFfJ7CVRB+KES8mXlyQ7ClG3ilBeyxV3+K66tdD4P5+/aHIgiEQAiEQAiHwmwRq0qtJkgKhLUr824/p1zY+RoUMbS9qTK/rd23xIe7fZLV3LWImTtrPStZ95z0TY2QIhEAIhEAIfJvAKmG2BQmFhIqMqSDRr3N2FCL4VwwUQV082mRNzLX9bRBPOiAOpMeKTXK6p/GEgw/akSEQAiEQAiHwcQRIktoYukuKBAqHBzn9HYn/SxsKmIXUmqzl66MT3185AMWtq8rO1o35mv1/82lHhkAIhEAIhMBHEvBkKL3eDwUIRQW/gpkKEn1zorGMQzK/kXVtbwu+2n/5In6k9rJH/8t7TuwhEAIhEAIhsItATYhq+823FsvCZPq1jYoQChFkU4j4Gr6269qM2p98ffr+PvnssrcQCIEQCIEXEfDkX3UvGB4KExUa07cksvu3JEMx4v7r2iRp5Iu2GzchEAIhEAIhEALvSICE3xUEsj0UIm5TUTJ9S7KzIKEomdYXM4/xHRkmphAIgRAIgRAIgRcQ8IRfCwMKhofChF/FTN+SqJ8xSC9mTNearFPX1/aI7wVbjYsQCIEQCIEQCIF3JUDCr8WA2hQKhwsSFSobhQg+fZ0aw7syS1whEAIhEAIhEAIvJqAiQFctBrxN8XAnKTh+8Nc2xPUVYX6GQAiEQAiEQAh8PAEvQFxXEaL2XTGiNgXJ9Gsb/ri1m1tsvl7VAS97rhAIIWbeGQAAIABJREFUgRAIgRAIgQ8nQMKvBQHth4KEokKFyTe/JdEaFD6sJ6kLeW1GhEAIhEAIhEAIfDIBEr8XBOgUCw9FyYu+JdE6rMGaSDGXnisEQiAEQiAEQuBEBGohQPuhGOEbEskXfEuSguRED1m2GgIhEAIhEAJbBPg2gkLEJUXDXXHywm9JfC3XFbPauUIgBEIgBEIgBE5CgMTvBQF6W5DwTYkKk+kPXPkWhbELyVouhV7tXCEQAiEQAiEQAicj4AWB62NRooJk+tXNzn9xo3Xw72sKvdq5QiAEQiAEQiAETkSA5O9Fget3v7Lh246tX91oHGOQzDXp61T9REeQrYZACIRACIRACECgFgTebosSio7unwHrWxIKEaQVIu7P10FXTNJzhUAIhEAIhEAInIwABQBFgUsvIB50FRxdUSL7RjEiX76O68Kvdq4QCIEQCIEQCIGTEaAA8MJAOoXDQzHCtx6rP3DlmxTGFun+67onw5/thkAIhEAIhEAIQKAWBd4eC5LpW5Kdf+BKweNrSdeFvDYjQiAEQiAEQiAEzkCAAqAWB2pTODwUJvx6ZvrVTb4lOcOjkz2GQAiEQAiEwOsJHCpI+DXM6lc3T/49iXZGkfT6XcZjCIRACIRACITAWxOgCJgKk4dvSfgWpCtKZHuyICGOt4aV4EIgBEIgBEIgBH6OQFeMyDb+6oZvSrpf3ez4exL3Xdf+uV3GcwiEQAiEQAiEwFsTUFGgqxYHtNtvSVSUdN+SqEjhWxQKl0Hi3yVxfEWUnyEQAiEQAiEQAqcj4IUBOsWI2uh38htFCT5Zy+Xp4GfDIRACIRACIRACXwRUEOjywgD9rgjx4kR/M9IVJbJt/D2JfMsva7i8hhIRAiEQAiEQAiFwVgJeGLi+LEqe/HuSVUGitXOFQAiEQAiEQAickABFgBci6BQPbWGib0O6omTjWxL3yTouT3gE2XIIhEAIhEAIhAAEvChwvS1G+BVO96sb/siVMYP0NVxXPGrnCoEQCIEQCIEQOCEBigAvDqT7NxptcdIVJTv+nsT91jVPiD9bDoEQCIEQCIEQcAK1ONhVlHS/ulFRooJm8Ssc913X9Ziih0AIhEAIhEAInIyACgNdtUCgeGi/JVHhsSpKhl/brL4l8TiuIUWEQAiEQAiEQAichYAXArUooRhpi5OtP3Ld+KakruVxnIV99hkCIRACIRACIdAQ6IqEthjhG5Du70n4I9dFQeKFTl1TYVGcNCHGFAIhEAIhEAIh8MkEamHgbf9VC8XETU5FyUZBIv/49bWk5wqBEAiBEAiBEDg5gVoc0L4VIHw7IknRMRUlPsbnmY7/KnUMsuUKgRAIgRAIgRA4IQGKgFog8G3GWJh0RYlsFC1WhLgPrYPvuuYJ8WfLIRACIRACIRACTqAWB7S9mLjTVXhMRYmKjkVhkqLEyUcPgRAIgRAIgRC4EaAAqZJvM+6KES84nvznwPit66mdKwRCIARCIARC4OQEugJBtoeCBJu+CXmiKMFnt56OQPZcIRACIRACIRACJyVAIVALBb7ReChM+NVMV5TQh6SIKbKuRfukR5Bth0AIhEAIhEAIiAAFQZUPxQiFBQXHqihhbCPrOrSJJacSAiEQAiEQAiFwYgIUBlUuC5NvFCV8C1PXO/ERZOshEAIhEAIhEAK1MKBN4dAWJvq2pCtK9M0I36Q035LgkzVc6iTUzhUCIRACIRACIXBiAl4cuN4WJBQeU1EyFCMUJEhfh2IEeeKjyNZDIARCIARC4LwEanFAm+KhLUxW35QsihL3yTrI855Adh4CIRACIRACIXAhoKJAF8UBsi1GKDhWRUl+fXMlGhECIRACIRACIXCYAIVIlWNh0v3XXPXrHIqWQco/35bUtdTOFQIhEAIhEAIhcGICXXHgxUNbmDxZlKQgOfGDlq2HQAiEQAiEwBaBVVFCEfFQmKx+fTN8S4KPaT3Zc4VACIRACIRACJyYAMVAVyxQSNxJFSSromTxNyVaQ766tXQExHLi48jWQyAEQiAEQuC8BLoCwYuHu4KEb0FWRQljBum+69rnPYXsPARCIARCIAROTkBFga5aHFA4tAWJio1VUbL4pmT6loQ4ruFEhEAIhEAIhEAInJFAV5BQlCDvihOKju4/nkYfsvm2ZFpP9lwhEAIhEAIhEAInJkAx0BULd8WIFxgqOlZFiY9t9G4tHQGxnPg4svUQCIEQCIEQODeBrkjgVy1tYfIDRUkKknM/g9l9CIRACIRACNy+nZgKk7Yo0bcf3Tcl+u+XqG/Hr28oenzdHEcIhEAIhEAIhMDJCXhhgE7R0BYlKjq6/4AaRUnzKxv3wxqdPPlRZPshEAIhEAIhcF4CKgx0dQXCWJh8oyjROvj1NYnhK5r8DIEQCIEQCIEQOCUBLw5c9283bjq/mpm+KaF/8W2Jr+G64KudKwRCIARCIARC4IQEKAq0dXQk32jcChIKjdU3JTuLEnyzFvKER5Ath0AIhEAIhEAIQICCwCVFw0NBQmHSfVPC/1PwRmGidfDvayoetXOFQAiEQAiEQAicmIAXB+gUDm1hosKj+xc4FCRIihiT+O/kiY8gWw+BEAiBEAiBEFBxoKsrEsaCREVGV5TwL3AWRQnFTl2PGL6iyc8QCIEQCIEQCIHTEajFgbcpIB6KExUd3a9wKErsm5E6V/7x62tJ14W8NiNCIARCIARCIATORKAWB2pTONSi4taeipKNb0ncb7fumbhnryEQAiEQAiEQAkaAbya6AuFWgNRvPqZvSnb+sSuFSV1TYRGPhRg1BEIgBEIgBELgLAQoBGqRoPayMOn+roRvSpCND/x2652FefYZAiEQAiEQAiFQCKgw0NUVCBQPY2HSFSU7/q5k+qaEGK4hRYRACIRACIRACJyRAAWBS4qHtiiZfoWjokR9i29K8OdroYu99FwhEAIhEAIhEAInJEARQGHgcixMpqLkm39X4rGc8Ciy5RAIgRAIgRAIAS9Eqs43Gw9ShcnqVzjf+LYkJxICIRACIRACIXBSAv4NhRclFCKyoV8kBcdUlNCPrPOvv6aRL18PXccgPVcIhEAIhEAIhMCJCJD8KQiqvCtGvLhQwdH990pe9CucEx1BthoCIRACIRACIeAEVsXJsjCZvi1RAbP4pgSftQii7bFFD4EQCIEQCIEQOAmBrYJE/RQRD3IqSnYWJPJHIYIUdo/pJMeQbYZACIRACIRACIiAFwEUB0gKh4eCRMXK9CscFSXfKEyIJ6cTAiEQAiEQAiFwMgIUARQiLttihG9PVHhM35bs+BWO1qHo8TWl60JemxEhEAIhEAIhEAJnIEABUIsDtdvChG9Cpm9LdhQlFCTIuvYZuGePIRACIRACIRAChcBWUdIWJypMpqJE9gOFSVeQEFMJNc0QCIEQCIEQCIFPJkABUIsD2u23JXyL0v0KRzb6N6TW6L4tEW/i+mT22VsIhEAIhEAIhEAhQAFAIeKSouGuONn6Fc43vy3xeEqoaYZACIRACIRACHwqAS8AvBhBb4sSfcNBYbL6toQxO74xYT2XYq52rhAIgRAIgRAIgRMRIPl7UYB+9y1JLTD2/m3JokDROhQ/rInUEUjPFQIhEAIhEAIhcAICJH0KAZcUC8vCZPq2hEIEWQsaa/uaVecIZM8VAiEQAiEQAiFwAgIk/VoU0G4LExUcq29LKEiQVohUf6zjUtjVzhUCIRACIRACIXACAiR9LwaqXguIh/bq2xIKEmRTmGg9+azrevsER5EthkAIhEAIhEAIQEBFgC4vBlx/KEZUTKjY0D0VJoxxeS1Cqj+t1RUnxOTyEmh+hEAIhEAIhEAIfB6BVUFCoVCLiFtbRcnq1zg7ChJ8eRFUdagTK+3IEAiBEAiBEAiBDyNAsq/FAO1lcbL6tkR9XpjQLt+YaB3WYM0qQS57rhAIgRAIgRAIgQ8mQLKvxQBtvtG4kxQZ07cl+tWOFyWlGLnztbMwIc4PPopsLQRCIARCIARCgIRPIeKyKyDubFNhIjvFC3JRnGhN+fW10XVC0rlcxxYZAiEQAiEQAiHwxwmQ4CkAOnlXhFBYUGhITn/0qsJE430s8xvZre02oVY7VwiEQAiEQAiEwAcTINl7EeD6sjCZvi1RsaKChKKkKUQ6v75u1XUEsuUKgRAIgRAIgRD4YAK1AKDNr1W6AuJm21OYUJwgmyJFa7Ie67sUfrVdXpsRIRACIRACIRACn0LAk70XAui3AqQpJi59069xnvzD173FifgT+6ecRfYRAiEQAiEQAqclQFJ3STGCpEh4KE745kNyKkxe+IevxKPDIt7THlw2HgIhEAIhEAKfSoCEP8mHgsS/NVFR8sLCxIugKR6Kkio/9XyyrxAIgRAIgRA4DQFP7qtCYCxOVJSs/r7k4DcmFCaKxXVi08FU/TSHlY2GQAiEQAiEwKcTUJLXRbKvcixI/FuTo4WJihmf3+g1jq59DT2/1gFEZAiEQAiEQAj8dQJK+Lq6xI+tLU4oLn7oG5Pu2xLicUnsX7vIzxAIgRAIgRAIgT9LQAlelyf6qrdFiX/DcaQw8XkLXTFsFSbE7fKymfwIgRAIgRAIgRD4mwT2FCYUCW2BoqLkSGGisYuCpK5Ri6SuLfK+j795Eok6BEIgBEIgBELgQsCTek38fGtRC4Zb+9nCZKNAURy+do2rtjlK2XOFQAiEQAiEQAj8QQIk8Zrkve3Fwa0YUdHghYX01R+/dv9Jep+/+AZFsRCDx+W60Kvt8tqMCIEQCIEQCIEQ+CsEPJl7onedouCuKKmFxN7CxAuaFxYmxCvu7OmvnEHiDIEQCIEQCIEQMAIkcpJ7lZuFiQqMPYWJvlH5pcKEPWmbrtu2o4ZACIRACIRACLwTARK2S+n1Xn5TwjcnewuTnd+SdGvWuKa2GKvP5bUZEQIhEAIhEAIh8O4ESPCKE73KrlC4sx0pTChOkBQ3g1QsrFXjmtrsxeW7n0PiC4EQCIEQCIHTE1Bi1zUleNlVFCApEC6yFhZqT/8nftg1hnlIKzzu/A/2Vaz0sadOXjacH29DQGfG5Tq2yBAIgRAIgRMRIBGQ0Du5WSxQYEhSgEyy+//MYf5QiLC+YpPusosXm45ROhc6Envk7xPYOoOt/t+POCuGQAiEQAj8CgESgOTqpjhYShUYW/9kWAULhQhyoyCpaxInRQrtSQqk+nL9GwLOHn1LKlLGVP3f7CKrhkAIhEAI/AoBXv6S000BUAuEW5sCY29h8uS/zrmtd42VuKa43S6Yarus+ldvfr6KALwrZ+ycj/e7ze1VVztXCIRACITABxKoSYLE4JICwAuDUVdxMv0ax+0a5wXNE9+aeFwe70rXEaqfy3Vskc8TcJ7oktzyXO3Y3I7NpfRcIRACIRACH07AkwHJo0ovANqChAKD4mLPr3P8b000r/rA1yAVo8dVY57aOk76OFq1c72WgDOF9xGpaBiPToTuG1tkCIRACITAhxDgJU8S6KQXAG1hQvFAcbGnMPG/NdF85iLxuSEVL/F1sXc2HZ3snbyaI3YSgGNlCXfstI9In4sumSsEQiAEQuCDCZBYVgmDxL8sSryAUHGxpzjxb00oSJDub9AVMzGhr/bR9eloZe/k1RyxQaDj17F+1paz2TiAdIdACITAJxEgqWhPW4mDImCUFBV7CxN9a6LiRAWGz7WCY1zLxihujXO5tRf62XcnP+mcX70X8eOC5U9LrVfXJYbIEAiBEAiBP06AF7zLKbGQ9NW/p1C4jPlOcXJkHRtLfNM+VnYdp/o7eTVHGIGO1Yqv+vw52hrb9fvZWChRQyAEQiAEPomAEgBXlwywkVQ2CxP/5kO6/0ucSf/mr3S6mBQ3MbOHvVI8NLaTV/NpRcdli6ufAzpyay79fhZVP+1hZOMhEAIh8EkEpgSjPZIMXJJIJHfdFCh7/taEX+loDvOq3LmuYvZYfQ/P6jDh/OXnbBd73svQz8B1zZ/aW77FnDjOxj/7DYEQCIHTEOBFv5UUvF+JZfetAuPZ4kTrUKAcWfOawIhRsZMMfR97dT0MjEXnAZH9LBcMRslZ+zdgG+cmX3vPRpzPxPssz1X2GQIhEAItgTHZWFImgZDwW1kLCbV1T7/GqXaSGn6QGwmujcWSnse+Z6/TGMHz5IiObOH+USN7cim9u/+rnuPGucmHnxntzje2yv6PYk3YIRACIRACKwJ66XORAFbSE7wnllEnQe391mT1a52SzMY1h3Hal8e/2ueePnHTOC50JPa/LNmLZHf/13Susg/n0J2bfHM23TrYxFJ6rhAIgRAIgQ8mwIveJYmgSpJHl1xuNooRJRvXpyRW/9f2i4sT7YHY0DtZ93qkrcdD4zt5Nf8p4XsZOazOM4XJnzrvBBsCIRACb0mABKTg0CdJoj8kVaSsklktUDRWcyhuqrSC41Ac1/1pjvZX5bTnPXbYraT3SX+nS3vUtdrrhZfOop6Xtw8WJnvOgLhcXoLNjxAIgRAIgc8ksEpGXZ+SyXhTRPgY2XQfKU749kR+8Il030/q2leXFLF1+37GpidG81by2v3Phcc57fVyFl6IdPrBc9JaW9yd3z8HlQBCIARCIAReT4AkJM9VH5OS/S/qsTDpCgUSleQzxYnPl3/a3VoHbJ4QPTG6PrF4xu6sNb9ru+1rxM/+9DhWe4LJhf3WGR48H62L/ymG3+bys9TjPQRCIARCYElgb3LyBKJEcuhWsuLeSmz1f4VrvG6tSdKr8mg8w/i6R29Lf9WtA5GvSda+69CboP9mOKgw36X0elMw3J311vlxNgPjO1/XNVmnrk9b25Pu8tqMCIEQCIEQ+DQCvPC1LxLBHlkTzK72s8UJv9oh6VW5MwnuiVF790SJjtzD5jtjOAekfKGvpPddJlx/MN/7sa3iHFltFSa1iNxxNopjxddj971FD4EQCIEQ+FACnqi0xa2ERf+YvHYko/GfnNZvTLytpFcTH0XKnjWfGONJk+SJhMNPS85kr1Q809itWNlbe7ZifbQw2XE+xMTatJHsRe1cIRACIRACJyDAC98lSWGSJJE2gdUCgOSEpH8ryXlR4npXoODzB6QYsE/0TrpN+m/dekRZCx2Jfa/cPNetM1O/zpmzRhpDWLpUfKzdxcp+JHOFQAiEQAichIASgq4uMXQ2EoknmF26JyvpW8nOixLXa4GC3yo3kuKumBsfYsJc+KiNHds7S4+XvdzJylJtP4Oqe2Giscw3Vnf+r/YtZjyXLi8Pa36EQAiEQAh8HgElBV2d3Eqqm4ltSkg1YT1bnCgx1gKFNesa2L8pSaJ179hX0vuk/6t7iv2haKC4cFmLkdr2segbzPdwuT6mt+eUdmQIhEAIhMCHElBy0EWydB1blZ7g1PeQ2LZsSlyMkf6HCpQ9e4WJS9fh5zbpP3F3a7V74EwoKqrcOqM6njbnPMgVA57FywOaHyEQAiEQAucjcDQxkvTaRDckooexSmAayzcg9X+J720z3xMivpF7Y3rROJKuc8J2RHIu+KHdSca4rLratxs2LqXX+x8UJuxPn0TpuUIgBEIgBE5AgBe+SxLClvSEp7G3ZHdErwlxKwHuKVS8SFEsvoa3j8T5g2Nh5xK9Y0zfltx1Hs6mFiPe3joX9ft41zfYaR/drY+f7LlCIARCIAROSMATAHqXLDqbJ89dyXAjUe36r43uKVA0hiJFaypZdnIrnh/oF8cVK+9H3ys3z8M5eAGx0n+oMPE9SfdbH0O1c4VACIRACJyUAEnAk8MenUSosatke7hPiXIrIe4tULxI8cSsmGv71ft4R3++Z+l77hXrJ78xWT1f+hiqP1cIhEAIhEAI3BLCKnF4Xy1O1He4EPEiwecrafLNxyo5HunDn2Rd15N27fO4/pru+9pTiNQxK76rwoR1B17+HLmuj6HauUIgBEIgBE5OgGRAkhAO9C1JgeLycIFCIqtSiY2CYpUkn+nD76cVKs6w6mofube4Tr6GgsSfkfpc8cyd/KOY7YdACIRACDgBJQtdLmsCmdo16RwuTmoyI6liV5tiYithPtOPb6TWJYYtSYzvJBXzd2+xWLFc+R9YTM+PP3dfT2F+hkAIhEAInJ6AFySCMSWRzv6ywqQWAZ7g6KN42Eqcq6S6p8/Xkc76W1IxM8bj/ymdtTop27P3Ft/J77BPPTc8JzxDPGen//AFQAiEQAiEwExASUMXyeNZybcmmo/+tCTpVl+yU0DsKTZeMYb1kMR2VGovzKn7mtrdeGySr7y3ChP1d+sNsXfPEc/Z1xOXnyEQAiEQAiHQEFAC4SKZqI2+kvV/EVOIaA76U9KTr3zRdl02ioVXFCDP+GB9l8T6XVn3Stv9Sn/VrT2sGKi/rqWYmnt6ZniueN4iQyAEQiAEQqAloETChT4lly27EpXGkLBcx/YtSWK2NS7+ZKdAWCXY3+wjnk6yj5X0Puk/fa/YfLMwqc8X7cgQCIEQCIEQaAmogNCFRFf72VsFg+Z+qxDp5nvC9n7sskn3gmCVdN+lz+Od9J8sTlYcamHi3E2fnpWvpys/QyAEQiAEQuAgASUWLvQp2azsFCWMof3yIsWS4sW3FyfeR0L3hL9KxJ/Q53vdo2/tGYYDY87apZ4ltXOFQAiEQAiEwFMEPImgu5R+5KYg0Rx0l5diwguIV+pDAn34m5WatLcS9Fn7KUyGM+qei6cewkwKgRAIgRAIgRUBEo7GoB+RFCKag+6y6mr/+t0VMbLVokXtMxcmzdn4ufJc8Kysnqv0hUAIhEAIhMAhAkoyXOidJBk9K70wkY9fL0q0ZleYEMvUNxUun1q8wKPI7tz13MieKwRCIARCIAR+lADJhmSkxdCPyq4gkQ+3U6Rgp/1P5FSgkKhX/epbFTJ8M/Ou38awR5OcST33H30A4zwEQiAEQiAEOgJKRrpISq5je1ZSmDCfIkRt9LeVq+Kkxk+xIjvzOsk4lxQyz8q9BZD8E1OJn/NB8gxcHoz8CIEQCIEQCIHfJKBkxIXukmT1rPTiBH2PfNuCxZN6TfS0vfD4SV3FxlZhcqAg4Yzr80A7MgRCIARCIAR+hQCFCIvR7iTJ6ztyT2Ei/3+iOOni/OkC5ZsFCfzrGer8ZcsVAiEQAiEQAm9JgCRFAlOQ6K+QniDR90iNeaubQkRxof/ENyVb346o39cdOE1n95YPYYIKgRAIgRAIgY6AkhkX+pTgXmmvhYp8V5u3V7r6fuT2YoTixAuE7+hHvh1hHWJo9tudjc5V9lwhEAIhEAIh8KcIkLyQCh5d8qdvig7WoY2UHV3SdfrcxpiXSS9QKBKelXsKks53U4ywZ7gh/fz+1IOYYEMgBEIgBEKgElBy04V0ncT3W9ITb6djW0nvk37o9oJEc7uCYa9t69c1/DFr9TfErDNgb/U8vk4wP0MgBEIgBELgwwgo4dULG8lQ/ej/SnqCrjptyUO3FyW1WNjb3vPtyKogIYYS+8SZs1J/rhAIgRAIgRD4WAKe6FY6fZL/8qYYUQxV3yxOKAZc7i1EGLf17Uj9Y1bmsWYpRIi57scZ6+FTO1cIhEAIhEAInI6AJ8AtnX6X0n/rroWJ1iXRt5LiwKUXDpP+nW9HfK0mvomVHjz15QqBEAiBEAiBEBgIkCiPyCnxvsJeC5O2GPFiwIuEqQhx+w8WJMSOrDx0BHAejiPmEAiBEAiBEAiBjoAnUHSkxqMjsan93ZvEvlmUqEDxomOlb/26ZvrbEfn0QmjQtWfi9v3DpWMcWwiEQAiEQAiEwDcJKOn6RXslPVHv0UnwY2FCsbAqRNT3nW9HKEBYi3aRW/sRK9g4t+ghEAIhEAIhEAL/gABJ2eVWMqcg0Tj0m6QYUR96lVvfjmz9MWuKkX/wpGTJEAiBEAiBEPgFAkcLkrYYqQUKhYgXJ89+O1J9L9rEJtnd4FRfrhAIgRAIgRAIgTci4MkZ3aX0eutbEdlu345MOoWJ5NGCRD75RgQ5rWPx1Fi9Lexq5wqBEAiBEAiBEPgDBEjansyrfrgo2fp1jf8x6y8UI+zxDxxHQgyBEAiBEAiBcxIgWbusBYnafEPiOrY7uffbkYOFCGuwfhcjNp2kdJfXZkQIhEAIhEAIhMA7E/AETmKvUkWBbBQHD3Lvr2v4tUyVK9+2do2rtsVZtlwhEAIhEAIhEAJ/iIAn75rcvb1ZkDzz7Yh/U7IoSIiDGGhXKeyy5QqBEAiBEAiBEPjDBGqC9zbFwMM3IxQSzxQkfEuCj0EqDtb3mKou9LL5VdveFz0EQiAEQiAEQuDNCJC4XUqvd1uQqLDY+8esKi52FiJehLheYyJmIXX9zRAnnBAIgRAIgRAIgSMEuoRfbXeFyZFvR54oSPYUI8R3ZJ8ZGwIhEAIhEAIh8KYE+IaBBF8lxcGtING3HXsKkgPfitx8X7/xYM0aS22DVPZcIRACIRACIRACH0CApF6TPm2KhP/aU4xozPD3IV58VJ21tqRwa0yuEAiBEAiBEAiBDyNAgt8qBn66IKHwWcUh9MT7YceQ7YRACIRACIRACJDkXdbCYLMg0bcjT/y6RuvsLUZ0UsSYUwuBEAiBEAiBEPhAAiT6WojctVe/tvnGr2v2FiTE+IH4s6UQCIEQCIEQCAEnQNK/K0Su30zINn5T8uS3Ixef5r9bV/HJzuU6tsgQCIEQCIEQCIEPIeCJvisM7mz+bckT347IF9+MIO/8W5EivOrjch1bZAiEQAiEQAiEwAcSIOm7lD7dFBWSfmt81578dHbhld3ltRkRAiEQAiEQAiHw6QS8COgKBWwUI2qju3TdxzB/JcVY/blCIARCIARCIAROToCCYFU41L5ahKgfWx27agu9+rlcxxYZAiEQAiEQAiFwIgIUAy6l/9QttKxV9RNhz1ZDIARCIARCIAScAMWBy58qRnwNxUDb44keAiEQAiEQAiFwcgIUCBQkwoH+KonPk6PO9kMgBEIgBEIgBDoCFCPS8ZyHAAABCUlEQVTqQ6cIwUb7qGQ+6+KfdmQIhEAIhEAIhEAIPBCgYHB5tAjxuVqgth8WjSEEQiAEQiAEQiAEnADFAzbanXSb65qrdrXhk35vRw+BEAiBEAiBEAiBkQBFhQagd7Kz4ZQ+2pEhEAIhEAIhEAIh8C0CXlxM+rcWyOQQCIEQCIEQCIEQeAUBL1Re4S8+QiAEQiAEQiAEQiAEQiAEQiAEQiAEQiAEQiAEQiAEQiAEQiAEQiAEQiAEQiAEQiAEQiAEQiAEQiAEQiAEQiAEQiAEQiAEQiAEQiAEQiAEQiAEQiAEQiAEQiAEQiAEQiAEQiAEQiAEQiAEQiAEQiAEQiAEQiAEQiAEzkbg/weHhyJVF3c2ogAAAABJRU5ErkJggg=="})," ")," "),twitter:(0,i.createElement)("svg",{width:"14",height:"10",viewBox:"0 0 14 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,i.createElement)("path",{d:"M14 1.18378C13.4848 1.38455 12.9313 1.52024 12.3503 1.58129C12.9434 1.26885 13.3988 0.774108 13.6132 0.184623C13.0494 0.478685 12.4326 0.685871 11.7893 0.797228C11.2654 0.306615 10.5189 0 9.69276 0C8.10649 0 6.82041 1.13033 6.82041 2.52444C6.82041 2.72233 6.84584 2.91498 6.89478 3.0998C4.50767 2.99448 2.39127 1.98946 0.974586 0.462109C0.727398 0.83496 0.585758 1.26866 0.585758 1.73125C0.585758 2.60712 1.09288 3.37978 1.86353 3.83252C1.40741 3.81996 0.961324 3.71168 0.562516 3.51672C0.562352 3.5273 0.562352 3.53787 0.562352 3.54849C0.562352 4.77164 1.55241 5.79199 2.86634 6.02391C2.44338 6.12501 1.99972 6.13981 1.56926 6.06717C1.93473 7.07012 2.99551 7.79996 4.25234 7.82039C3.26933 8.49745 2.03082 8.90106 0.68518 8.90106C0.453305 8.90106 0.224711 8.88909 0 8.86578C1.2711 9.58206 2.78086 10 4.40289 10C9.68609 10 12.5751 6.15321 12.5751 2.81721C12.5751 2.70772 12.5723 2.59885 12.5668 2.4906C13.1291 2.13332 13.6144 1.69079 14 1.18378Z",fill:"#59CAFC"})),angleLeft:(0,i.createElement)("svg",{width:"12",height:"18",viewBox:"0 0 12 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,i.createElement)("path",{d:"M11.115 15.885L4.245 9L11.115 2.115L9 0L0 9L9 18L11.115 15.885Z",fill:"black"})),angleRight:(0,i.createElement)("svg",{width:"12",height:"18",viewBox:"0 0 12 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,i.createElement)("path",{d:"M0.000232837 15.885L6.87023 9L0.000232837 2.115L2.11523 0L11.1152 9L2.11523 18L0.000232837 15.885Z",fill:"black"})),sync:(0,i.createElement)("svg",{width:"22",height:"22",viewBox:"0 0 22 22",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,i.createElement)("path",{d:"M4.5835 7.33332L8.25016 11H5.50016C5.50016 14.0342 7.966 16.5 11.0002 16.5C11.926 16.5 12.806 16.2708 13.5668 15.8583L14.9052 17.1967C13.7777 17.9117 12.4393 18.3333 11.0002 18.3333C6.9485 18.3333 3.66683 15.0517 3.66683 11H0.916832L4.5835 7.33332ZM16.5002 11C16.5002 7.96582 14.0343 5.49999 11.0002 5.49999C10.0743 5.49999 9.19433 5.72916 8.4335 6.14166L7.09516 4.80332C8.22266 4.08832 9.561 3.66666 11.0002 3.66666C15.0518 3.66666 18.3335 6.94832 18.3335 11H21.0835L17.4168 14.6667L13.7502 11H16.5002Z",fill:"#6B7280"})),angleUP:(0,i.createElement)("svg",{width:"10",height:"6",viewBox:"0 0 10 6",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,i.createElement)("path",{d:"M4.47171 0.204743L0.220381 4.1544C-0.0734605 4.4274 -0.0734605 4.86883 0.220381 5.13892L0.926852 5.79526C1.22069 6.06825 1.69584 6.06825 1.98656 5.79526L5 2.99564L8.01344 5.79526C8.30728 6.06825 8.78243 6.06825 9.07315 5.79526L9.77962 5.13892C10.0735 4.86592 10.0735 4.42449 9.77962 4.1544L5.52829 0.204743C5.2407 -0.0682478 4.76555 -0.0682478 4.47171 0.204743Z",fill:"#3B3F5C"})),angleDown:(0,i.createElement)("svg",{width:"10",height:"6",viewBox:"0 0 10 6",fill:"none",xmlns:"http://www.w3.org/2000/svg"}," ",(0,i.createElement)("path",{d:"M4.47171 5.79526L0.220381 1.8456C-0.0734605 1.5726 -0.0734605 1.13117 0.220381 0.861084L0.926852 0.204743C1.22069 -0.0682478 1.69584 -0.0682478 1.98656 0.204743L5 3.00436L8.01344 0.204743C8.30728 -0.0682478 8.78243 -0.0682478 9.07315 0.204743L9.77962 0.861084C10.0735 1.13408 10.0735 1.57551 9.77962 1.8456L5.52829 5.79526C5.2407 6.06825 4.76555 6.06825 4.47171 5.79526Z",fill:"#3B3F5C"})," "),arrowRight:(0,i.createElement)("svg",{width:"14",height:"9",viewBox:"0 0 14 9",fill:"none",xmlns:"http://www.w3.org/2000/svg"}," ",(0,i.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M-0.000488281 4.50001C-0.000488281 4.3674 0.0521901 4.24022 0.145958 4.14645C0.239726 4.05268 0.366903 4.00001 0.499512 4.00001H12.2925L9.14551 0.854006C9.05162 0.760119 8.99888 0.632782 8.99888 0.500006C8.99888 0.36723 9.05162 0.239893 9.14551 0.146006C9.2394 0.0521192 9.36674 -0.000625607 9.49951 -0.00062561C9.63229 -0.000625613 9.75963 0.0521192 9.85351 0.146006L13.8535 4.14601C13.9001 4.19245 13.937 4.24763 13.9622 4.30837C13.9874 4.36912 14.0004 4.43424 14.0004 4.50001C14.0004 4.56577 13.9874 4.63089 13.9622 4.69164C13.937 4.75238 13.9001 4.80756 13.8535 4.85401L9.85351 8.85401C9.75963 8.94789 9.63229 9.00064 9.49951 9.00064C9.36674 9.00064 9.2394 8.94789 9.14551 8.85401C9.05162 8.76012 8.99888 8.63278 8.99888 8.50001C8.99888 8.36723 9.05162 8.23989 9.14551 8.14601L12.2925 5.00001H0.499512C0.366903 5.00001 0.239726 4.94733 0.145958 4.85356C0.0521901 4.75979 -0.000488281 4.63261 -0.000488281 4.50001V4.50001Z",fill:"white"})," "),arrowRightDisabled:(0,i.createElement)("svg",{width:"14",height:"9",viewBox:"0 0 14 9",fill:"none",xmlns:"http://www.w3.org/2000/svg"}," ",(0,i.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M-0.000488281 4.50001C-0.000488281 4.3674 0.0521901 4.24022 0.145958 4.14645C0.239726 4.05268 0.366903 4.00001 0.499512 4.00001H12.2925L9.14551 0.854006C9.05162 0.760119 8.99888 0.632782 8.99888 0.500006C8.99888 0.36723 9.05162 0.239893 9.14551 0.146006C9.2394 0.0521192 9.36674 -0.000625607 9.49951 -0.00062561C9.63229 -0.000625613 9.75963 0.0521192 9.85351 0.146006L13.8535 4.14601C13.9001 4.19245 13.937 4.24763 13.9622 4.30837C13.9874 4.36912 14.0004 4.43424 14.0004 4.50001C14.0004 4.56577 13.9874 4.63089 13.9622 4.69164C13.937 4.75238 13.9001 4.80756 13.8535 4.85401L9.85351 8.85401C9.75963 8.94789 9.63229 9.00064 9.49951 9.00064C9.36674 9.00064 9.2394 8.94789 9.14551 8.85401C9.05162 8.76012 8.99888 8.63278 8.99888 8.50001C8.99888 8.36723 9.05162 8.23989 9.14551 8.14601L12.2925 5.00001H0.499512C0.366903 5.00001 0.239726 4.94733 0.145958 4.85356C0.0521901 4.75979 -0.000488281 4.63261 -0.000488281 4.50001V4.50001Z",fill:"white"})," "),questionMarkNoFill:(0,i.createElement)("svg",{width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"}," ",(0,i.createElement)("path",{d:"M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22Z",stroke:"#09090B",strokeLinecap:"round",strokeLinejoin:"round"}),(0,i.createElement)("path",{d:"M9.08984 9C9.32495 8.33167 9.789 7.7681 10.3998 7.40913C11.0106 7.05016 11.7287 6.91894 12.427 7.03871C13.1253 7.15848 13.7587 7.52152 14.2149 8.06353C14.6712 8.60553 14.9209 9.29152 14.9198 10C14.9198 12 11.9198 13 11.9198 13",stroke:"#09090B",strokeLinecap:"round",strokeLinejoin:"round"}),(0,i.createElement)("path",{d:"M12 17H12.01",stroke:"#09090B",strokeLinecap:"round",strokeLinejoin:"round"})," "),questionMark:(0,i.createElement)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"}," ",(0,i.createElement)("path",{d:"M8 0C3.58214 0 0 3.58214 0 8C0 12.4179 3.58214 16 8 16C12.4179 16 16 12.4179 16 8C16 3.58214 12.4179 0 8 0ZM8 12.6429C7.60536 12.6429 7.28571 12.3232 7.28571 11.9286C7.28571 11.5339 7.60536 11.2143 8 11.2143C8.39464 11.2143 8.71429 11.5339 8.71429 11.9286C8.71429 12.3232 8.39464 12.6429 8 12.6429ZM9.12321 8.72322C8.9615 8.78566 8.82235 8.8954 8.72392 9.0381C8.62549 9.18081 8.57235 9.34986 8.57143 9.52321V9.92857C8.57143 10.0071 8.50714 10.0714 8.42857 10.0714H7.57143C7.49286 10.0714 7.42857 10.0071 7.42857 9.92857V9.54464C7.42857 9.13214 7.54821 8.725 7.78393 8.38571C8.01429 8.05357 8.33571 7.8 8.71429 7.65536C9.32143 7.42143 9.71429 6.9125 9.71429 6.35714C9.71429 5.56964 8.94464 4.92857 8 4.92857C7.05536 4.92857 6.28571 5.56964 6.28571 6.35714V6.49286C6.28571 6.57143 6.22143 6.63571 6.14286 6.63571H5.28571C5.20714 6.63571 5.14286 6.57143 5.14286 6.49286V6.35714C5.14286 5.65536 5.45 5 6.00714 4.5125C6.54286 4.04286 7.25 3.78571 8 3.78571C8.75 3.78571 9.45714 4.04464 9.99286 4.5125C10.55 5 10.8571 5.65536 10.8571 6.35714C10.8571 7.38929 10.1768 8.31786 9.12321 8.72322Z",fill:"#3B3F5C"})," "),favorite:(0,i.createElement)("svg",{width:"17",height:"16",viewBox:"0 0 17 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,i.createElement)("path",{d:"M8.435 15.4782L7.21193 14.3648C2.8679 10.4257 0 7.82768 0 4.63925C0 2.04127 2.04127 0 4.63925 0C6.10694 0 7.51559 0.683235 8.435 1.76292C9.35442 0.683235 10.7631 0 12.2308 0C14.8287 0 16.87 2.04127 16.87 4.63925C16.87 7.82768 14.0021 10.4257 9.65808 14.3732L8.435 15.4782Z"})),arrowRightBold:(0,i.createElement)("svg",{width:"51",height:"44",viewBox:"0 0 51 44",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,i.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 22C0 21.1712 0.329241 20.3763 0.915292 19.7903C1.50134 19.2042 2.2962 18.875 3.125 18.875H39.3313L25.9125 5.46248C25.3257 4.87569 24.9961 4.07983 24.9961 3.24998C24.9961 2.42013 25.3257 1.62427 25.9125 1.03748C26.4993 0.450689 27.2952 0.121033 28.125 0.121033C28.9548 0.121033 29.7507 0.450689 30.3375 1.03748L49.0875 19.7875C49.3785 20.0778 49.6094 20.4226 49.767 20.8023C49.9245 21.1819 50.0056 21.5889 50.0056 22C50.0056 22.411 49.9245 22.818 49.767 23.1977C49.6094 23.5773 49.3785 23.9222 49.0875 24.2125L30.3375 42.9625C29.7507 43.5493 28.9548 43.8789 28.125 43.8789C27.2952 43.8789 26.4993 43.5493 25.9125 42.9625C25.3257 42.3757 24.9961 41.5798 24.9961 40.75C24.9961 39.9201 25.3257 39.1243 25.9125 38.5375L39.3313 25.125H3.125C2.2962 25.125 1.50134 24.7957 0.915292 24.2097C0.329241 23.6236 0 22.8288 0 22Z",fill:"black"})),spinner:(0,i.createElement)("svg",{width:"16px",height:"16px",viewBox:"0 0 1024 1024",className:"icon",xmlns:"http://www.w3.org/2000/svg"},(0,i.createElement)("path",{fill:"black",d:"M512 64a32 32 0 0132 32v192a32 32 0 01-64 0V96a32 32 0 0132-32zm0 640a32 32 0 0132 32v192a32 32 0 11-64 0V736a32 32 0 0132-32zm448-192a32 32 0 01-32 32H736a32 32 0 110-64h192a32 32 0 0132 32zm-640 0a32 32 0 01-32 32H96a32 32 0 010-64h192a32 32 0 0132 32zM195.2 195.2a32 32 0 0145.248 0L376.32 331.008a32 32 0 01-45.248 45.248L195.2 240.448a32 32 0 010-45.248zm452.544 452.544a32 32 0 0145.248 0L828.8 783.552a32 32 0 01-45.248 45.248L647.744 692.992a32 32 0 010-45.248zM828.8 195.264a32 32 0 010 45.184L692.992 376.32a32 32 0 01-45.248-45.248l135.808-135.808a32 32 0 0145.248 0zm-452.544 452.48a32 32 0 010 45.248L240.448 828.8a32 32 0 01-45.248-45.248l135.808-135.808a32 32 0 0145.248 0z"})),cross:(0,i.createElement)("svg",{width:"12",height:"12",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,i.createElement)("path",{d:"M14 1.41L12.59 0L7 5.59L1.41 0L0 1.41L5.59 7L0 12.59L1.41 14L7 8.41L12.59 14L14 12.59L8.41 7L14 1.41Z",fill:"#6B7280"})),reset:(0,i.createElement)("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,i.createElement)("path",{d:"M1.76219 1.7625C2.84969 0.675 4.34219 0 5.99969 0C9.31469 0 11.9922 2.685 11.9922 6C11.9922 9.315 9.31469 12 5.99969 12C3.20219 12 0.869689 10.0875 0.202188 7.5H1.76219C2.37719 9.2475 4.04219 10.5 5.99969 10.5C8.48219 10.5 10.4997 8.4825 10.4997 6C10.4997 3.5175 8.48219 1.5 5.99969 1.5C4.75469 1.5 3.64469 2.0175 2.83469 2.835L5.24969 5.25H-0.000311852V0L1.76219 1.7625Z",fill:"#6B7280"})),remove:(0,i.createElement)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,i.createElement)("path",{d:"M6 18L18 6M6 6L18 18",stroke:"#6B7280",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})),premiumIcon:(0,i.createElement)("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,i.createElement)("g",{clipPath:"url(#clip0_26119_59306)"},(0,i.createElement)("path",{d:"M18 9C18 4.02944 13.9706 0 9 0C4.02944 0 0 4.02944 0 9C0 13.9706 4.02944 18 9 18C13.9706 18 18 13.9706 18 9Z",fill:"url(#paint0_linear_26119_59306)"}),(0,i.createElement)("path",{d:"M13.7502 5.84406C13.652 5.75804 13.5327 5.70272 13.406 5.6844C13.2793 5.66609 13.1503 5.68552 13.0336 5.74048L10.8624 6.75372L9.60092 4.36699C9.54062 4.25556 9.45327 4.1629 9.34774 4.09843C9.24222 4.03396 9.1223 4 9.0002 4C8.8781 4 8.75819 4.03396 8.65266 4.09843C8.54714 4.1629 8.45978 4.25556 8.39949 4.36699L7.13798 6.75372L4.96682 5.74048C4.8499 5.6856 4.72068 5.66614 4.59377 5.68431C4.46686 5.70247 4.34733 5.75753 4.24867 5.84326C4.15002 5.929 4.07619 6.04198 4.03552 6.16945C3.99486 6.29692 3.98898 6.43379 4.01855 6.56458L5.10842 11.4416C5.12926 11.536 5.16815 11.625 5.22273 11.7032C5.27731 11.7814 5.34644 11.8471 5.42594 11.8964C5.53358 11.964 5.65664 11.9998 5.78208 12C5.84306 11.9999 6 12 6 12C6 12 9.96618 12 12 12C12.1992 12 12.4081 11.9955 12.5702 11.8964C12.6502 11.8477 12.7197 11.7822 12.7743 11.7039C12.829 11.6256 12.8676 11.5363 12.8877 11.4416L13.9819 6.56458C14.0111 6.43375 14.0049 6.29695 13.964 6.16963C13.923 6.0423 13.849 5.92953 13.7502 5.84406Z",fill:"white"}),(0,i.createElement)("path",{d:"M12.5 13H5.5C5.22386 13 5 13.2239 5 13.5C5 13.7761 5.22386 14 5.5 14H12.5C12.7761 14 13 13.7761 13 13.5C13 13.2239 12.7761 13 12.5 13Z",fill:"white"})),(0,i.createElement)("defs",null,(0,i.createElement)("linearGradient",{id:"paint0_linear_26119_59306",x1:"8.175",y1:"1.18801e-05",x2:"22.2753",y2:"0.536807",gradientUnits:"userSpaceOnUse"},(0,i.createElement)("stop",{stopColor:"#492CDD"}),(0,i.createElement)("stop",{offset:"1",stopColor:"#AD38E2"})),(0,i.createElement)("clipPath",{id:"clip0_26119_59306"},(0,i.createElement)("rect",{width:"18",height:"18",fill:"white"})))),reloadIcon:(0,i.createElement)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,i.createElement)("path",{d:"M17.5 1.6665V6.6665H12.5",stroke:"#2563EB",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),(0,i.createElement)("path",{d:"M2.5 10C2.50132 8.55277 2.92133 7.13682 3.70938 5.92295C4.49743 4.70909 5.61985 3.74914 6.94126 3.15891C8.26267 2.56868 9.72662 2.37338 11.1566 2.59655C12.5865 2.81973 13.9213 3.45185 15 4.41667L17.5 6.66667",stroke:"#2563EB",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),(0,i.createElement)("path",{d:"M2.5 18.3335V13.3335H7.5",stroke:"#2563EB",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),(0,i.createElement)("path",{d:"M17.5 10C17.4987 11.4472 17.0787 12.8632 16.2906 14.0771C15.5026 15.2909 14.3802 16.2509 13.0587 16.8411C11.7373 17.4313 10.2734 17.6266 8.84345 17.4035C7.41352 17.1803 6.07871 16.5482 5 15.5833L2.5 13.3333",stroke:"#2563EB",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}))};function gs(e){var t,r,n="";if("string"==typeof e||"number"==typeof e)n+=e;else if("object"==typeof e)if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(r=gs(e[t]))&&(n&&(n+=" "),n+=r)}else for(r in e)e[r]&&(n&&(n+=" "),n+=r);return n}const ys=function(){for(var e,t,r=0,n="",i=arguments.length;r<i;r++)(e=arguments[r])&&(t=gs(e))&&(n&&(n+=" "),n+=t);return n},vs="-";function bs(e){const t=function(e){const{theme:t,prefix:r}=e,n={nextPart:new Map,validators:[]},i=function(e,t){return t?e.map((([e,r])=>[e,r.map((e=>"string"==typeof e?t+e:"object"==typeof e?Object.fromEntries(Object.entries(e).map((([e,r])=>[t+e,r]))):e))])):e}(Object.entries(e.classGroups),r);return i.forEach((([e,r])=>{Es(r,n,e,t)})),n}(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:n}=e;return{getClassGroupId:function(e){const r=e.split(vs);return""===r[0]&&1!==r.length&&r.shift(),xs(r,t)||function(e){if(ws.test(e)){const t=ws.exec(e)[1],r=t?.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}}(e)},getConflictingClassGroupIds:function(e,t){const i=r[e]||[];return t&&n[e]?[...i,...n[e]]:i}}}function xs(e,t){if(0===e.length)return t.classGroupId;const r=e[0],n=t.nextPart.get(r),i=n?xs(e.slice(1),n):void 0;if(i)return i;if(0===t.validators.length)return;const a=e.join(vs);return t.validators.find((({validator:e})=>e(a)))?.classGroupId}const ws=/^\[(.+)\]$/;function Es(e,t,r,n){e.forEach((e=>{if("string"!=typeof e){if("function"==typeof e)return e.isThemeGetter?void Es(e(n),t,r,n):void t.validators.push({validator:e,classGroupId:r});Object.entries(e).forEach((([e,i])=>{Es(i,ks(t,e),r,n)}))}else(""===e?t:ks(t,e)).classGroupId=r}))}function ks(e,t){let r=e;return t.split(vs).forEach((e=>{r.nextPart.has(e)||r.nextPart.set(e,{nextPart:new Map,validators:[]}),r=r.nextPart.get(e)})),r}function Ss(e){if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,n=new Map;function i(i,a){r.set(i,a),t++,t>e&&(t=0,n=r,r=new Map)}return{get(e){let t=r.get(e);return void 0!==t?t:void 0!==(t=n.get(e))?(i(e,t),t):void 0},set(e,t){r.has(e)?r.set(e,t):i(e,t)}}}const Cs="!";function As(e){const t=e.separator,r=1===t.length,n=t[0],i=t.length;return function(e){const a=[];let s,o=0,l=0;for(let c=0;c<e.length;c++){let u=e[c];if(0===o){if(u===n&&(r||e.slice(c,c+i)===t)){a.push(e.slice(l,c)),l=c+i;continue}if("/"===u){s=c;continue}}"["===u?o++:"]"===u&&o--}const c=0===a.length?e:e.substring(l),u=c.startsWith(Cs);return{modifiers:a,hasImportantModifier:u,baseClassName:u?c.substring(1):c,maybePostfixModifierPosition:s&&s>l?s-l:void 0}}}const Ps=/\s+/;function _s(){let e,t,r=0,n="";for(;r<arguments.length;)(e=arguments[r++])&&(t=Ts(e))&&(n&&(n+=" "),n+=t);return n}function Ts(e){if("string"==typeof e)return e;let t,r="";for(let n=0;n<e.length;n++)e[n]&&(t=Ts(e[n]))&&(r&&(r+=" "),r+=t);return r}function Is(e,...t){let r,n,i,a=function(o){const l=t.reduce(((e,t)=>t(e)),e());return r=function(e){return{cache:Ss(e.cacheSize),splitModifiers:As(e),...bs(e)}}(l),n=r.cache.get,i=r.cache.set,a=s,s(o)};function s(e){const t=n(e);if(t)return t;const a=function(e,t){const{splitModifiers:r,getClassGroupId:n,getConflictingClassGroupIds:i}=t,a=new Set;return e.trim().split(Ps).map((e=>{const{modifiers:t,hasImportantModifier:i,baseClassName:a,maybePostfixModifierPosition:s}=r(e);let o=n(s?a.substring(0,s):a),l=Boolean(s);if(!o){if(!s)return{isTailwindClass:!1,originalClassName:e};if(o=n(a),!o)return{isTailwindClass:!1,originalClassName:e};l=!1}const c=function(e){if(e.length<=1)return e;const t=[];let r=[];return e.forEach((e=>{"["===e[0]?(t.push(...r.sort(),e),r=[]):r.push(e)})),t.push(...r.sort()),t}(t).join(":");return{isTailwindClass:!0,modifierId:i?c+Cs:c,classGroupId:o,originalClassName:e,hasPostfixModifier:l}})).reverse().filter((e=>{if(!e.isTailwindClass)return!0;const{modifierId:t,classGroupId:r,hasPostfixModifier:n}=e,s=t+r;return!a.has(s)&&(a.add(s),i(r,n).forEach((e=>a.add(t+e))),!0)})).reverse().map((e=>e.originalClassName)).join(" ")}(e,r);return i(e,a),a}return function(){return a(_s.apply(null,arguments))}}function Fs(e){const t=t=>t[e]||[];return t.isThemeGetter=!0,t}const Ms=/^\[(?:([a-z-]+):)?(.+)\]$/i,Ds=/^\d+\/\d+$/,Rs=new Set(["px","full","screen"]),Ls=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Os=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Vs=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Ns=/^-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Bs=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/;function js(e){return Hs(e)||Rs.has(e)||Ds.test(e)}function zs(e){return to(e,"length",ro)}function Hs(e){return Boolean(e)&&!Number.isNaN(Number(e))}function Gs(e){return to(e,"number",Hs)}function Ws(e){return Boolean(e)&&Number.isInteger(Number(e))}function qs(e){return e.endsWith("%")&&Hs(e.slice(0,-1))}function Us(e){return Ms.test(e)}function Xs(e){return Ls.test(e)}const Qs=new Set(["length","size","percentage"]);function $s(e){return to(e,Qs,no)}function Js(e){return to(e,"position",no)}const Ys=new Set(["image","url"]);function Zs(e){return to(e,Ys,ao)}function Ks(e){return to(e,"",io)}function eo(){return!0}function to(e,t,r){const n=Ms.exec(e);return!!n&&(n[1]?"string"==typeof t?n[1]===t:t.has(n[1]):r(n[2]))}function ro(e){return Os.test(e)&&!Vs.test(e)}function no(){return!1}function io(e){return Ns.test(e)}function ao(e){return Bs.test(e)}function so(){const e=Fs("colors"),t=Fs("spacing"),r=Fs("blur"),n=Fs("brightness"),i=Fs("borderColor"),a=Fs("borderRadius"),s=Fs("borderSpacing"),o=Fs("borderWidth"),l=Fs("contrast"),c=Fs("grayscale"),u=Fs("hueRotate"),p=Fs("invert"),d=Fs("gap"),f=Fs("gradientColorStops"),h=Fs("gradientColorStopPositions"),m=Fs("inset"),g=Fs("margin"),y=Fs("opacity"),v=Fs("padding"),b=Fs("saturate"),x=Fs("scale"),w=Fs("sepia"),E=Fs("skew"),k=Fs("space"),S=Fs("translate"),C=()=>["auto",Us,t],A=()=>[Us,t],P=()=>["",js,zs],_=()=>["auto",Hs,Us],T=()=>["","0",Us],I=()=>[Hs,Gs],F=()=>[Hs,Us];return{cacheSize:500,separator:":",theme:{colors:[eo],spacing:[js,zs],blur:["none","",Xs,Us],brightness:I(),borderColor:[e],borderRadius:["none","","full",Xs,Us],borderSpacing:A(),borderWidth:P(),contrast:I(),grayscale:T(),hueRotate:F(),invert:T(),gap:A(),gradientColorStops:[e],gradientColorStopPositions:[qs,zs],inset:C(),margin:C(),opacity:I(),padding:A(),saturate:I(),scale:I(),sepia:T(),skew:F(),space:A(),translate:A()},classGroups:{aspect:[{aspect:["auto","square","video",Us]}],container:["container"],columns:[{columns:[Xs]}],"break-after":[{"break-after":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-before":[{"break-before":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top",Us]}],overflow:[{overflow:["auto","hidden","clip","visible","scroll"]}],"overflow-x":[{"overflow-x":["auto","hidden","clip","visible","scroll"]}],"overflow-y":[{"overflow-y":["auto","hidden","clip","visible","scroll"]}],overscroll:[{overscroll:["auto","contain","none"]}],"overscroll-x":[{"overscroll-x":["auto","contain","none"]}],"overscroll-y":[{"overscroll-y":["auto","contain","none"]}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[m]}],"inset-x":[{"inset-x":[m]}],"inset-y":[{"inset-y":[m]}],start:[{start:[m]}],end:[{end:[m]}],top:[{top:[m]}],right:[{right:[m]}],bottom:[{bottom:[m]}],left:[{left:[m]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",Ws,Us]}],basis:[{basis:C()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",Us]}],grow:[{grow:T()}],shrink:[{shrink:T()}],order:[{order:["first","last","none",Ws,Us]}],"grid-cols":[{"grid-cols":[eo]}],"col-start-end":[{col:["auto",{span:["full",Ws,Us]},Us]}],"col-start":[{"col-start":_()}],"col-end":[{"col-end":_()}],"grid-rows":[{"grid-rows":[eo]}],"row-start-end":[{row:["auto",{span:[Ws,Us]},Us]}],"row-start":[{"row-start":_()}],"row-end":[{"row-end":_()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",Us]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",Us]}],gap:[{gap:[d]}],"gap-x":[{"gap-x":[d]}],"gap-y":[{"gap-y":[d]}],"justify-content":[{justify:["normal","start","end","center","between","around","evenly","stretch"]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal","start","end","center","between","around","evenly","stretch","baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":["start","end","center","between","around","evenly","stretch","baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[v]}],px:[{px:[v]}],py:[{py:[v]}],ps:[{ps:[v]}],pe:[{pe:[v]}],pt:[{pt:[v]}],pr:[{pr:[v]}],pb:[{pb:[v]}],pl:[{pl:[v]}],m:[{m:[g]}],mx:[{mx:[g]}],my:[{my:[g]}],ms:[{ms:[g]}],me:[{me:[g]}],mt:[{mt:[g]}],mr:[{mr:[g]}],mb:[{mb:[g]}],ml:[{ml:[g]}],"space-x":[{"space-x":[k]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[k]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",Us,t]}],"min-w":[{"min-w":[Us,t,"min","max","fit"]}],"max-w":[{"max-w":[Us,t,"none","full","min","max","fit","prose",{screen:[Xs]},Xs]}],h:[{h:[Us,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[Us,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[Us,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[Us,t,"auto","min","max","fit"]}],"font-size":[{text:["base",Xs,zs]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Gs]}],"font-family":[{font:[eo]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",Us]}],"line-clamp":[{"line-clamp":["none",Hs,Gs]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",js,Us]}],"list-image":[{"list-image":["none",Us]}],"list-style-type":[{list:["none","disc","decimal",Us]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[y]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[y]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:["solid","dashed","dotted","double","none","wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",js,zs]}],"underline-offset":[{"underline-offset":["auto",js,Us]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:A()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",Us]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",Us]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[y]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top",Js]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",$s]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Zs]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[h]}],"gradient-via-pos":[{via:[h]}],"gradient-to-pos":[{to:[h]}],"gradient-from":[{from:[f]}],"gradient-via":[{via:[f]}],"gradient-to":[{to:[f]}],rounded:[{rounded:[a]}],"rounded-s":[{"rounded-s":[a]}],"rounded-e":[{"rounded-e":[a]}],"rounded-t":[{"rounded-t":[a]}],"rounded-r":[{"rounded-r":[a]}],"rounded-b":[{"rounded-b":[a]}],"rounded-l":[{"rounded-l":[a]}],"rounded-ss":[{"rounded-ss":[a]}],"rounded-se":[{"rounded-se":[a]}],"rounded-ee":[{"rounded-ee":[a]}],"rounded-es":[{"rounded-es":[a]}],"rounded-tl":[{"rounded-tl":[a]}],"rounded-tr":[{"rounded-tr":[a]}],"rounded-br":[{"rounded-br":[a]}],"rounded-bl":[{"rounded-bl":[a]}],"border-w":[{border:[o]}],"border-w-x":[{"border-x":[o]}],"border-w-y":[{"border-y":[o]}],"border-w-s":[{"border-s":[o]}],"border-w-e":[{"border-e":[o]}],"border-w-t":[{"border-t":[o]}],"border-w-r":[{"border-r":[o]}],"border-w-b":[{"border-b":[o]}],"border-w-l":[{"border-l":[o]}],"border-opacity":[{"border-opacity":[y]}],"border-style":[{border:["solid","dashed","dotted","double","none","hidden"]}],"divide-x":[{"divide-x":[o]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[o]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[y]}],"divide-style":[{divide:["solid","dashed","dotted","double","none"]}],"border-color":[{border:[i]}],"border-color-x":[{"border-x":[i]}],"border-color-y":[{"border-y":[i]}],"border-color-t":[{"border-t":[i]}],"border-color-r":[{"border-r":[i]}],"border-color-b":[{"border-b":[i]}],"border-color-l":[{"border-l":[i]}],"divide-color":[{divide:[i]}],"outline-style":[{outline:["","solid","dashed","dotted","double","none"]}],"outline-offset":[{"outline-offset":[js,Us]}],"outline-w":[{outline:[js,zs]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:P()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[y]}],"ring-offset-w":[{"ring-offset":[js,zs]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",Xs,Ks]}],"shadow-color":[{shadow:[eo]}],opacity:[{opacity:[y]}],"mix-blend":[{"mix-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-lighter"]}],"bg-blend":[{"bg-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-lighter"]}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[n]}],contrast:[{contrast:[l]}],"drop-shadow":[{"drop-shadow":["","none",Xs,Us]}],grayscale:[{grayscale:[c]}],"hue-rotate":[{"hue-rotate":[u]}],invert:[{invert:[p]}],saturate:[{saturate:[b]}],sepia:[{sepia:[w]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[n]}],"backdrop-contrast":[{"backdrop-contrast":[l]}],"backdrop-grayscale":[{"backdrop-grayscale":[c]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[u]}],"backdrop-invert":[{"backdrop-invert":[p]}],"backdrop-opacity":[{"backdrop-opacity":[y]}],"backdrop-saturate":[{"backdrop-saturate":[b]}],"backdrop-sepia":[{"backdrop-sepia":[w]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[s]}],"border-spacing-x":[{"border-spacing-x":[s]}],"border-spacing-y":[{"border-spacing-y":[s]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",Us]}],duration:[{duration:F()}],ease:[{ease:["linear","in","out","in-out",Us]}],delay:[{delay:F()}],animate:[{animate:["none","spin","ping","pulse","bounce",Us]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[x]}],"scale-x":[{"scale-x":[x]}],"scale-y":[{"scale-y":[x]}],rotate:[{rotate:[Ws,Us]}],"translate-x":[{"translate-x":[S]}],"translate-y":[{"translate-y":[S]}],"skew-x":[{"skew-x":[E]}],"skew-y":[{"skew-y":[E]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",Us]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",Us]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":A()}],"scroll-mx":[{"scroll-mx":A()}],"scroll-my":[{"scroll-my":A()}],"scroll-ms":[{"scroll-ms":A()}],"scroll-me":[{"scroll-me":A()}],"scroll-mt":[{"scroll-mt":A()}],"scroll-mr":[{"scroll-mr":A()}],"scroll-mb":[{"scroll-mb":A()}],"scroll-ml":[{"scroll-ml":A()}],"scroll-p":[{"scroll-p":A()}],"scroll-px":[{"scroll-px":A()}],"scroll-py":[{"scroll-py":A()}],"scroll-ps":[{"scroll-ps":A()}],"scroll-pe":[{"scroll-pe":A()}],"scroll-pt":[{"scroll-pt":A()}],"scroll-pr":[{"scroll-pr":A()}],"scroll-pb":[{"scroll-pb":A()}],"scroll-pl":[{"scroll-pl":A()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",Us]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[js,zs,Gs]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}}Symbol.toStringTag;const oo=Is(so),lo=()=>!!astraSitesVars?.isWhiteLabeled,co=e=>{const t=document.getElementById("astra-starter-templates-preview");t&&t.contentWindow.postMessage({call:"starterTemplatePreviewDispatch",value:e},"*")},uo=(e,t)=>{const r=new Image;r.onload=function(){const e=document.createElement("canvas");e.width=this.naturalWidth,e.height=this.naturalHeight,e.getContext("2d").drawImage(this,0,0),t(e.toDataURL("image/png"))},r.src=e},po=e=>{try{localStorage.setItem("starter-templates-onboarding",JSON.stringify(e))}catch(e){return!1}},fo=e=>{let t=e["thumbnail-image-url"]||"";return""===t&&!1===lo()&&(t="fse"===astraSitesVars?.default_page_builder?`${starterTemplates.imageDir}spectra-placeholder.png`:`${starterTemplates.imageDir}placeholder.png`),{id:e.id,image:t,title:(0,xn.decodeEntities)(e.title),badge:"free"!==e["astra-sites-type"]?(0,wn.__)("Premium","astra-sites"):"",...e}},ho=(...e)=>oo(ys(e)),mo=(e,t,r)=>{let n;return(...i)=>{const a=r&&!n;clearTimeout(n),n=setTimeout((()=>{n=null,r||e(...i)}),t),a&&e(...i)}},go=(e="")=>AI.findIndex((t=>t.name===e)),yo=({open:e=!1})=>(0,i.createElement)("div",{className:ho("w-full absolute hidden h-screen top-0 left-0 bg-st-background-secondary/80",e&&"flex justify-center items-center")},(0,i.createElement)("div",{className:"bg-white w-[296px] rounded-lg shadow-2xl flex flex-col items-center justify-center -mt-36 p-5"},(0,i.createElement)("div",{className:"flex items-center justify-center text-blue-500 mb-3 animate-spin"},ms.reloadIcon),(0,i.createElement)("p",{className:"!text-base !font-semibold text-nav-active"},(0,wn.__)("Syncing Templates Library…","astra-sites")),(0,i.createElement)("p",{className:"text-sm text-[#4B5563] text-center !mt-1"},(0,wn.__)("Updating the library to include all the latest templates.","astra-sites")))),vo=({preview:e,content:t,controls:r,actions:n,stepName:a})=>{const[{bgSyncInProgress:s,showSidebar:o,currentIndex:l,sitesSyncing:c},u]=fs();return(0,i.useEffect)((()=>{document.querySelector(".step-content").addEventListener("scroll",(e=>{setTimeout((()=>{1===e.target.classList.length&&localStorage.setItem("st-scroll-position",e.target.scrollTop)}),200)}))}),[]),(0,i.useLayoutEffect)((()=>{const e=document.querySelector(".step-content"),t=localStorage.getItem("st-scroll-position");t&&t>100&&l===go("site-list")&&1===e.classList.length&&e.scrollTo(0,t)})),(0,i.createElement)("div",{className:`step-row\n\t\t\t\t${e?"":"step-full-width"}\n\t\t\t\t${o?"show-sidebar":"hide-sidebar"}\n\t\t\t`},(0,i.createElement)("div",{className:`step-col ${e?"step-col-left":""} `},(0,i.createElement)("div",{className:"toggle-sidebar-wrap",onClick:()=>{u({type:"set",showSidebar:!o})}},o&&ms.angleLeft,!o&&ms.angleRight),(0,i.createElement)("div",{className:`step-content ${a||""}`,style:{padding:l===go("site-list")?"5% 6% 6% 6%":""}},(0,i.createElement)("div",{className:`content-wrapper pb-14 sm:pb-0\n\t\t\t\t\t${l===go("customizer")?"flex flex-col items-start h-full":""}\n\t\t\t\t\t`},t&&t,r&&(0,i.createElement)("div",{className:`step-controls\n\t\t\t\t\t\t\t${l===go("customizer")?"flex flex-col items-start h-full w-full":""}\n\t\t\t\t\t\t\t`,tabIndex:"1"},r)),(0,i.createElement)(yo,{open:(s||c)&&2===l})),n&&l!==go("page-builder")&&(0,i.createElement)("div",{className:"step-actions",tabIndex:"1"},n)),e&&(0,i.createElement)("div",{className:"step-col step-col-right"},e))},bo=window.wp.url,xo=/^(?:[a-z]+:|#|\?|\.|\/)/i;var wo=r(8587),Eo=r(8168),ko=r(7437);function So(e,t,r=void 0){const n={};return Object.keys(e).forEach((i=>{n[i]=e[i].reduce(((e,n)=>{if(n){const i=t(n);""!==i&&e.push(i),r&&r[n]&&e.push(r[n])}return e}),[]).join(" ")})),n}var Co=r(5697),Ao=r(6937);function Po(e){if(e.type)return e;if("#"===e.charAt(0))return Po(function(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let r=e.match(t);return r&&1===r[0].length&&(r=r.map((e=>e+e))),r?`rgb${4===r.length?"a":""}(${r.map(((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3)).join(", ")})`:""}(e));const t=e.indexOf("("),r=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(r))throw new Error((0,Co.A)(9,e));let n,i=e.substring(t+1,e.length-1);if("color"===r){if(i=i.split(" "),n=i.shift(),4===i.length&&"/"===i[3].charAt(0)&&(i[3]=i[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(n))throw new Error((0,Co.A)(10,n))}else i=i.split(",");return i=i.map((e=>parseFloat(e))),{type:r,values:i,colorSpace:n}}function _o(e,t){return e=Po(e),t=function(e,t=0,r=1){return(0,Ao.A)(e,t,r)}(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),"color"===e.type?e.values[3]=`/${t}`:e.values[3]=t,function(e){const{type:t,colorSpace:r}=e;let{values:n}=e;return-1!==t.indexOf("rgb")?n=n.map(((e,t)=>t<3?parseInt(e,10):e)):-1!==t.indexOf("hsl")&&(n[1]=`${n[1]}%`,n[2]=`${n[2]}%`),n=-1!==t.indexOf("color")?`${r} ${n.join(" ")}`:`${n.join(", ")}`,`${t}(${n})`}(e)}var To=r(6461),Io=r(4521),Fo=r(4188),Mo=r(3571),Do=r(8749);function Ro(e,t){return(0,Eo.A)({toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}}},t)}var Lo=r(771);const Oo={black:"#000",white:"#fff"},Vo={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},No={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"},Bo={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"},jo={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"},zo={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"},Ho={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"},Go={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"},Wo=["mode","contrastThreshold","tonalOffset"],qo={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:Oo.white,default:Oo.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},Uo={text:{primary:Oo.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:Oo.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function Xo(e,t,r,n){const i=n.light||n,a=n.dark||1.5*n;e[t]||(e.hasOwnProperty(r)?e[t]=e[r]:"light"===t?e.light=(0,Lo.a)(e.main,i):"dark"===t&&(e.dark=(0,Lo.e$)(e.main,a)))}const Qo=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"],$o={textTransform:"uppercase"},Jo='"Roboto", "Helvetica", "Arial", sans-serif';function Yo(e,t){const r="function"==typeof t?t(e):t,{fontFamily:n=Jo,fontSize:i=14,fontWeightLight:a=300,fontWeightRegular:s=400,fontWeightMedium:o=500,fontWeightBold:l=700,htmlFontSize:c=16,allVariants:u,pxToRem:p}=r,d=(0,wo.A)(r,Qo),f=i/14,h=p||(e=>e/c*f+"rem"),m=(e,t,r,i,a)=>{return(0,Eo.A)({fontFamily:n,fontWeight:e,fontSize:h(t),lineHeight:r},n===Jo?{letterSpacing:(s=i/t,Math.round(1e5*s)/1e5+"em")}:{},a,u);var s},g={h1:m(a,96,1.167,-1.5),h2:m(a,60,1.2,-.5),h3:m(s,48,1.167,0),h4:m(s,34,1.235,.25),h5:m(s,24,1.334,0),h6:m(o,20,1.6,.15),subtitle1:m(s,16,1.75,.15),subtitle2:m(o,14,1.57,.1),body1:m(s,16,1.5,.15),body2:m(s,14,1.43,.15),button:m(o,14,1.75,.4,$o),caption:m(s,12,1.66,.4),overline:m(s,12,2.66,1,$o),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return(0,Io.A)((0,Eo.A)({htmlFontSize:c,pxToRem:h,fontFamily:n,fontSize:i,fontWeightLight:a,fontWeightRegular:s,fontWeightMedium:o,fontWeightBold:l},g),d,{clone:!1})}function Zo(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,0.2)`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,0.14)`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,0.12)`].join(",")}const Ko=["none",Zo(0,2,1,-1,0,1,1,0,0,1,3,0),Zo(0,3,1,-2,0,2,2,0,0,1,5,0),Zo(0,3,3,-2,0,3,4,0,0,1,8,0),Zo(0,2,4,-1,0,4,5,0,0,1,10,0),Zo(0,3,5,-1,0,5,8,0,0,1,14,0),Zo(0,3,5,-1,0,6,10,0,0,1,18,0),Zo(0,4,5,-2,0,7,10,1,0,2,16,1),Zo(0,5,5,-3,0,8,10,1,0,3,14,2),Zo(0,5,6,-3,0,9,12,1,0,3,16,2),Zo(0,6,6,-3,0,10,14,1,0,4,18,3),Zo(0,6,7,-4,0,11,15,1,0,4,20,3),Zo(0,7,8,-4,0,12,17,2,0,5,22,4),Zo(0,7,8,-4,0,13,19,2,0,5,24,4),Zo(0,7,9,-4,0,14,21,2,0,5,26,4),Zo(0,8,9,-5,0,15,22,2,0,6,28,5),Zo(0,8,10,-5,0,16,24,2,0,6,30,5),Zo(0,8,11,-5,0,17,26,2,0,6,32,5),Zo(0,9,11,-5,0,18,28,2,0,7,34,6),Zo(0,9,12,-6,0,19,29,2,0,7,36,6),Zo(0,10,13,-6,0,20,31,3,0,8,38,7),Zo(0,10,13,-6,0,21,33,3,0,8,40,7),Zo(0,10,14,-6,0,22,35,3,0,8,42,7),Zo(0,11,14,-7,0,23,36,3,0,9,44,8),Zo(0,11,15,-7,0,24,38,3,0,9,46,8)],el=["duration","easing","delay"],tl={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},rl={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function nl(e){return`${Math.round(e)}ms`}function il(e){if(!e)return 0;const t=e/36;return Math.round(10*(4+15*t**.25+t/5))}function al(e){const t=(0,Eo.A)({},tl,e.easing),r=(0,Eo.A)({},rl,e.duration);return(0,Eo.A)({getAutoHeightDuration:il,create:(e=["all"],n={})=>{const{duration:i=r.standard,easing:a=t.easeInOut,delay:s=0}=n;return(0,wo.A)(n,el),(Array.isArray(e)?e:[e]).map((e=>`${e} ${"string"==typeof i?i:nl(i)} ${a} ${"string"==typeof s?s:nl(s)}`)).join(",")}},e,{easing:t,duration:r})}const sl={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},ol=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];const ll=function(e={},...t){const{mixins:r={},palette:n={},transitions:i={},typography:a={}}=e,s=(0,wo.A)(e,ol);if(e.vars)throw new Error((0,Co.A)(18));const o=function(e){const{mode:t="light",contrastThreshold:r=3,tonalOffset:n=.2}=e,i=(0,wo.A)(e,Wo),a=e.primary||function(e="light"){return"dark"===e?{main:zo[200],light:zo[50],dark:zo[400]}:{main:zo[700],light:zo[400],dark:zo[800]}}(t),s=e.secondary||function(e="light"){return"dark"===e?{main:No[200],light:No[50],dark:No[400]}:{main:No[500],light:No[300],dark:No[700]}}(t),o=e.error||function(e="light"){return"dark"===e?{main:Bo[500],light:Bo[300],dark:Bo[700]}:{main:Bo[700],light:Bo[400],dark:Bo[800]}}(t),l=e.info||function(e="light"){return"dark"===e?{main:Ho[400],light:Ho[300],dark:Ho[700]}:{main:Ho[700],light:Ho[500],dark:Ho[900]}}(t),c=e.success||function(e="light"){return"dark"===e?{main:Go[400],light:Go[300],dark:Go[700]}:{main:Go[800],light:Go[500],dark:Go[900]}}(t),u=e.warning||function(e="light"){return"dark"===e?{main:jo[400],light:jo[300],dark:jo[700]}:{main:"#ed6c02",light:jo[500],dark:jo[900]}}(t);function p(e){return(0,Lo.eM)(e,Uo.text.primary)>=r?Uo.text.primary:qo.text.primary}const d=({color:e,name:t,mainShade:r=500,lightShade:i=300,darkShade:a=700})=>{if(!(e=(0,Eo.A)({},e)).main&&e[r]&&(e.main=e[r]),!e.hasOwnProperty("main"))throw new Error((0,Co.A)(11,t?` (${t})`:"",r));if("string"!=typeof e.main)throw new Error((0,Co.A)(12,t?` (${t})`:"",JSON.stringify(e.main)));return Xo(e,"light",i,n),Xo(e,"dark",a,n),e.contrastText||(e.contrastText=p(e.main)),e},f={dark:Uo,light:qo};return(0,Io.A)((0,Eo.A)({common:(0,Eo.A)({},Oo),mode:t,primary:d({color:a,name:"primary"}),secondary:d({color:s,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:d({color:o,name:"error"}),warning:d({color:u,name:"warning"}),info:d({color:l,name:"info"}),success:d({color:c,name:"success"}),grey:Vo,contrastThreshold:r,getContrastText:p,augmentColor:d,tonalOffset:n},f[t]),i)}(n),l=(0,Do.A)(e);let c=(0,Io.A)(l,{mixins:Ro(l.breakpoints,r),palette:o,shadows:Ko.slice(),typography:Yo(o,a),transitions:al(i),zIndex:(0,Eo.A)({},sl)});return c=(0,Io.A)(c,s),c=t.reduce(((e,t)=>(0,Io.A)(e,t)),c),c.unstable_sxConfig=(0,Eo.A)({},Fo.A,null==s?void 0:s.unstable_sxConfig),c.unstable_sx=function(e){return(0,Mo.A)({sx:e,theme:this})},c},cl=ll(),ul="$$material",pl=(0,To.Ay)({themeId:ul,defaultTheme:cl,rootShouldForwardProp:e=>function(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}(e)&&"classes"!==e});function dl(e,t){const r=(0,Eo.A)({},t);return Object.keys(e).forEach((n=>{if(n.toString().match(/^(components|slots)$/))r[n]=(0,Eo.A)({},e[n],r[n]);else if(n.toString().match(/^(componentsProps|slotProps)$/)){const i=e[n]||{},a=t[n];r[n]={},a&&Object.keys(a)?i&&Object.keys(i)?(r[n]=(0,Eo.A)({},a),Object.keys(i).forEach((e=>{r[n][e]=dl(i[e],a[e])}))):r[n]=a:r[n]=i}else void 0===r[n]&&(r[n]=e[n])})),r}function fl(e){const{theme:t,name:r,props:n}=e;return t&&t.components&&t.components[r]&&t.components[r].defaultProps?dl(t.components[r].defaultProps,n):n}var hl=r(5684);const ml=(0,Do.A)(),gl=function(e=ml){return function(e=null){const t=i.useContext(hl.T);return t&&(r=t,0!==Object.keys(r).length)?t:e;var r}(e)};function yl({props:e,name:t}){return function({props:e,name:t,defaultTheme:r,themeId:n}){let i=gl(r);return n&&(i=i[n]||i),fl({theme:i,name:t,props:e})}({props:e,name:t,defaultTheme:cl,themeId:ul})}const vl=e=>e,bl=(()=>{let e=vl;return{configure(t){e=t},generate:t=>e(t),reset(){e=vl}}})(),xl={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function wl(e,t,r="Mui"){const n=xl[t];return n?`${r}-${n}`:`${bl.generate(e)}-${t}`}function El(e,t,r="Mui"){const n={};return t.forEach((t=>{n[t]=wl(e,t,r)})),n}function kl(e){return wl("MuiSkeleton",e)}El("MuiSkeleton",["root","text","rectangular","rounded","circular","pulse","wave","withChildren","fitContent","heightAuto"]);var Sl=r(4848);const Cl=["animation","className","component","height","style","variant","width"];let Al,Pl,_l,Tl,Il=e=>e;const Fl=(0,ko.i7)(Al||(Al=Il` 0% { opacity: 1; } 50% { opacity: 0.4; } 100% { opacity: 1; } `)),Ml=(0,ko.i7)(Pl||(Pl=Il` 0% { transform: translateX(-100%); } 50% { /* +0.5s of delay between each loop */ transform: translateX(100%); } 100% { transform: translateX(100%); } `)),Dl=pl("span",{name:"MuiSkeleton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant],!1!==r.animation&&t[r.animation],r.hasChildren&&t.withChildren,r.hasChildren&&!r.width&&t.fitContent,r.hasChildren&&!r.height&&t.heightAuto]}})((({theme:e,ownerState:t})=>{const r=function(e){return String(e).match(/[\d.\-+]*\s*(.*)/)[1]||""}(e.shape.borderRadius)||"px",n=(i=e.shape.borderRadius,parseFloat(i));var i;return(0,Eo.A)({display:"block",backgroundColor:e.vars?e.vars.palette.Skeleton.bg:_o(e.palette.text.primary,"light"===e.palette.mode?.11:.13),height:"1.2em"},"text"===t.variant&&{marginTop:0,marginBottom:0,height:"auto",transformOrigin:"0 55%",transform:"scale(1, 0.60)",borderRadius:`${n}${r}/${Math.round(n/.6*10)/10}${r}`,"&:empty:before":{content:'"\\00a0"'}},"circular"===t.variant&&{borderRadius:"50%"},"rounded"===t.variant&&{borderRadius:(e.vars||e).shape.borderRadius},t.hasChildren&&{"& > *":{visibility:"hidden"}},t.hasChildren&&!t.width&&{maxWidth:"fit-content"},t.hasChildren&&!t.height&&{height:"auto"})}),(({ownerState:e})=>"pulse"===e.animation&&(0,ko.AH)(_l||(_l=Il` animation: ${0} 2s ease-in-out 0.5s infinite; `),Fl)),(({ownerState:e,theme:t})=>"wave"===e.animation&&(0,ko.AH)(Tl||(Tl=Il` position: relative; overflow: hidden; /* Fix bug in Safari https://bugs.webkit.org/show_bug.cgi?id=68196 */ -webkit-mask-image: -webkit-radial-gradient(white, black); &::after { animation: ${0} 2s linear 0.5s infinite; background: linear-gradient( 90deg, transparent, ${0}, transparent ); content: ''; position: absolute; transform: translateX(-100%); /* Avoid flash during server-side hydration */ bottom: 0; left: 0; right: 0; top: 0; } `),Ml,(t.vars||t).palette.action.hover))),Rl=i.forwardRef((function(e,t){const r=yl({props:e,name:"MuiSkeleton"}),{animation:n="pulse",className:i,component:a="span",height:s,style:o,variant:l="text",width:c}=r,u=(0,wo.A)(r,Cl),p=(0,Eo.A)({},r,{animation:n,component:a,variant:l,hasChildren:Boolean(u.children)}),d=(e=>{const{classes:t,variant:r,animation:n,hasChildren:i,width:a,height:s}=e;return So({root:["root",r,n,i&&"withChildren",i&&!a&&"fitContent",i&&!s&&"heightAuto"]},kl,t)})(p);return(0,Sl.jsx)(Dl,(0,Eo.A)({as:a,ref:t,className:ys(d.root,i),ownerState:p},u,{style:(0,Eo.A)({width:c,height:s},o)}))}));var Ll=r(9452),Ol=r(9599);const Vl=i.createContext();function Nl(e){return wl("MuiGrid",e)}const Bl=["auto",!0,1,2,3,4,5,6,7,8,9,10,11,12],jl=El("MuiGrid",["root","container","item","zeroMinWidth",...[0,1,2,3,4,5,6,7,8,9,10].map((e=>`spacing-xs-${e}`)),...["column-reverse","column","row-reverse","row"].map((e=>`direction-xs-${e}`)),...["nowrap","wrap-reverse","wrap"].map((e=>`wrap-xs-${e}`)),...Bl.map((e=>`grid-xs-${e}`)),...Bl.map((e=>`grid-sm-${e}`)),...Bl.map((e=>`grid-md-${e}`)),...Bl.map((e=>`grid-lg-${e}`)),...Bl.map((e=>`grid-xl-${e}`))]),zl=jl,Hl=["className","columns","columnSpacing","component","container","direction","item","rowSpacing","spacing","wrap","zeroMinWidth"];function Gl(e){const t=parseFloat(e);return`${t}${String(e).replace(String(t),"")||"px"}`}function Wl({breakpoints:e,values:t}){let r="";Object.keys(t).forEach((e=>{""===r&&0!==t[e]&&(r=e)}));const n=Object.keys(e).sort(((t,r)=>e[t]-e[r]));return n.slice(0,n.indexOf(r))}const ql=pl("div",{name:"MuiGrid",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e,{container:n,direction:i,item:a,spacing:s,wrap:o,zeroMinWidth:l,breakpoints:c}=r;let u=[];n&&(u=function(e,t,r={}){if(!e||e<=0)return[];if("string"==typeof e&&!Number.isNaN(Number(e))||"number"==typeof e)return[r[`spacing-xs-${String(e)}`]];const n=[];return t.forEach((t=>{const i=e[t];Number(i)>0&&n.push(r[`spacing-${t}-${String(i)}`])})),n}(s,c,t));const p=[];return c.forEach((e=>{const n=r[e];n&&p.push(t[`grid-${e}-${String(n)}`])})),[t.root,n&&t.container,a&&t.item,l&&t.zeroMinWidth,...u,"row"!==i&&t[`direction-xs-${String(i)}`],"wrap"!==o&&t[`wrap-xs-${String(o)}`],...p]}})((({ownerState:e})=>(0,Eo.A)({boxSizing:"border-box"},e.container&&{display:"flex",flexWrap:"wrap",width:"100%"},e.item&&{margin:0},e.zeroMinWidth&&{minWidth:0},"wrap"!==e.wrap&&{flexWrap:e.wrap})),(function({theme:e,ownerState:t}){const r=(0,Ll.kW)({values:t.direction,breakpoints:e.breakpoints.values});return(0,Ll.NI)({theme:e},r,(e=>{const t={flexDirection:e};return 0===e.indexOf("column")&&(t[`& > .${zl.item}`]={maxWidth:"none"}),t}))}),(function({theme:e,ownerState:t}){const{container:r,rowSpacing:n}=t;let i={};if(r&&0!==n){const t=(0,Ll.kW)({values:n,breakpoints:e.breakpoints.values});let r;"object"==typeof t&&(r=Wl({breakpoints:e.breakpoints.values,values:t})),i=(0,Ll.NI)({theme:e},t,((t,n)=>{var i;const a=e.spacing(t);return"0px"!==a?{marginTop:`-${Gl(a)}`,[`& > .${zl.item}`]:{paddingTop:Gl(a)}}:null!=(i=r)&&i.includes(n)?{}:{marginTop:0,[`& > .${zl.item}`]:{paddingTop:0}}}))}return i}),(function({theme:e,ownerState:t}){const{container:r,columnSpacing:n}=t;let i={};if(r&&0!==n){const t=(0,Ll.kW)({values:n,breakpoints:e.breakpoints.values});let r;"object"==typeof t&&(r=Wl({breakpoints:e.breakpoints.values,values:t})),i=(0,Ll.NI)({theme:e},t,((t,n)=>{var i;const a=e.spacing(t);return"0px"!==a?{width:`calc(100% + ${Gl(a)})`,marginLeft:`-${Gl(a)}`,[`& > .${zl.item}`]:{paddingLeft:Gl(a)}}:null!=(i=r)&&i.includes(n)?{}:{width:"100%",marginLeft:0,[`& > .${zl.item}`]:{paddingLeft:0}}}))}return i}),(function({theme:e,ownerState:t}){let r;return e.breakpoints.keys.reduce(((n,i)=>{let a={};if(t[i]&&(r=t[i]),!r)return n;if(!0===r)a={flexBasis:0,flexGrow:1,maxWidth:"100%"};else if("auto"===r)a={flexBasis:"auto",flexGrow:0,flexShrink:0,maxWidth:"none",width:"auto"};else{const s=(0,Ll.kW)({values:t.columns,breakpoints:e.breakpoints.values}),o="object"==typeof s?s[i]:s;if(null==o)return n;const l=Math.round(r/o*1e8)/1e6+"%";let c={};if(t.container&&t.item&&0!==t.columnSpacing){const r=e.spacing(t.columnSpacing);if("0px"!==r){const e=`calc(${l} + ${Gl(r)})`;c={flexBasis:e,maxWidth:e}}}a=(0,Eo.A)({flexBasis:l,flexGrow:0,maxWidth:l},c)}return 0===e.breakpoints.values[i]?Object.assign(n,a):n[e.breakpoints.up(i)]=a,n}),{})})),Ul=i.forwardRef((function(e,t){const r=yl({props:e,name:"MuiGrid"}),{breakpoints:n}=function(){const e=gl(cl);return e[ul]||e}(),a=(0,Ol.A)(r),{className:s,columns:o,columnSpacing:l,component:c="div",container:u=!1,direction:p="row",item:d=!1,rowSpacing:f,spacing:h=0,wrap:m="wrap",zeroMinWidth:g=!1}=a,y=(0,wo.A)(a,Hl),v=f||h,b=l||h,x=i.useContext(Vl),w=u?o||12:x,E={},k=(0,Eo.A)({},y);n.keys.forEach((e=>{null!=y[e]&&(E[e]=y[e],delete k[e])}));const S=(0,Eo.A)({},a,{columns:w,container:u,direction:p,item:d,rowSpacing:v,columnSpacing:b,wrap:m,zeroMinWidth:g,spacing:h},E,{breakpoints:n.keys}),C=(e=>{const{classes:t,container:r,direction:n,item:i,spacing:a,wrap:s,zeroMinWidth:o,breakpoints:l}=e;let c=[];r&&(c=function(e,t){if(!e||e<=0)return[];if("string"==typeof e&&!Number.isNaN(Number(e))||"number"==typeof e)return[`spacing-xs-${String(e)}`];const r=[];return t.forEach((t=>{const n=e[t];if(Number(n)>0){const e=`spacing-${t}-${String(n)}`;r.push(e)}})),r}(a,l));const u=[];return l.forEach((t=>{const r=e[t];r&&u.push(`grid-${t}-${String(r)}`)})),So({root:["root",r&&"container",i&&"item",o&&"zeroMinWidth",...c,"row"!==n&&`direction-xs-${String(n)}`,"wrap"!==s&&`wrap-xs-${String(s)}`,...u]},Nl,t)})(S);return(0,Sl.jsx)(Vl.Provider,{value:w,children:(0,Sl.jsx)(ql,(0,Eo.A)({ownerState:S,className:ys(C.root,s),as:c,ref:t},k))})})),Xl=Ul;var Ql=r(4073);const $l=["className","component"],Jl=El("MuiBox",["root"]),Yl=ll(),Zl=function(e={}){const{themeId:t,defaultTheme:r,defaultClassName:n="MuiBox-root",generateClassName:a}=e,s=(0,Ql.default)("div",{shouldForwardProp:e=>"theme"!==e&&"sx"!==e&&"as"!==e})(Mo.A);return i.forwardRef((function(e,i){const o=gl(r),l=(0,Ol.A)(e),{className:c,component:u="div"}=l,p=(0,wo.A)(l,$l);return(0,Sl.jsx)(s,(0,Eo.A)({as:u,ref:i,className:ys(c,a?a(n):n),theme:t&&o[t]||o},p))}))}({themeId:ul,defaultTheme:Yl,defaultClassName:Jl.root,generateClassName:bl.generate}),Kl=({className:e})=>(0,i.createElement)("div",{className:ho("site-loading-skeleton",e)},(0,i.createElement)(Xl,{container:!0},(0,i.createElement)(Xl,{item:!0,xs:4},(0,i.createElement)(Zl,{p:"3em 8em",display:"flex"},(0,i.createElement)(Rl,{variant:"rect",width:234,height:45,animation:"wave"}))),(0,i.createElement)(Xl,{item:!0,xs:8},(0,i.createElement)(Zl,{p:"3em 8em",display:"flex",justifyContent:"flex-end",gap:"25px"},(0,i.createElement)(Rl,{variant:"rect",width:100,height:45,animation:"wave"}),(0,i.createElement)(Rl,{variant:"rect",width:100,height:45,animation:"wave"}),(0,i.createElement)(Rl,{variant:"rect",width:100,height:45,animation:"wave"}),(0,i.createElement)(Rl,{variant:"rect",width:100,height:45,animation:"wave"}),(0,i.createElement)(Rl,{variant:"rect",width:200,height:45,animation:"wave"}))),(0,i.createElement)(Xl,{item:!0,xs:6},(0,i.createElement)(Zl,{p:"1rem 2rem 1rem 8rem",display:"flex",flexDirection:"column",height:"100%"},(0,i.createElement)(Zl,null,(0,i.createElement)(Rl,{variant:"rect",height:120,animation:"wave"})),(0,i.createElement)(Zl,{m:"1em 0"},(0,i.createElement)(Rl,{variant:"rect",height:20,animation:"wave"})),(0,i.createElement)(Zl,{m:"1em 0"},(0,i.createElement)(Rl,{variant:"rect",height:20,animation:"wave"})),(0,i.createElement)(Zl,{m:"3em 0"},(0,i.createElement)(Rl,{variant:"rect",width:250,height:50,animation:"wave"})))),(0,i.createElement)(Xl,{item:!0,xs:6},(0,i.createElement)(Zl,{p:"1rem 8rem 1rem 2rem",display:"flex",justifyContent:"flex-end",gap:"25px"},(0,i.createElement)(Rl,{variant:"rect",width:516,height:320,animation:"wave"}))),(0,i.createElement)(Xl,{item:!0,xs:12},(0,i.createElement)(Zl,{p:"3em 8em",display:"flex",justifyContent:"space-evenly",gap:"25px"},(0,i.createElement)(Rl,{variant:"rect",width:"100%",height:320,animation:"wave"}),(0,i.createElement)(Rl,{variant:"rect",width:"100%",height:320,animation:"wave"}),(0,i.createElement)(Rl,{variant:"rect",width:"100%",height:320,animation:"wave"}))))),ec=(0,i.memo)((()=>{const[{templateResponse:e,showSidebar:t,siteLogo:r},n]=fs(),[a,s]=(0,i.useState)(""),[o,l]=(0,i.useState)(!0),c=(0,i.useRef)(null);(0,i.useEffect)((()=>{const t=e?e["astra-site-url"]:"";var r;""!==t&&s((r=(e=>e?(e=e.trim(),xo.test(e)||(0,bo.isEmail)(e)?e:"https://"+e+"/"):e)(t.replace(/^\/+|\/+$/g,""))).endsWith("/")?r:r+"/")}),[e]),(0,i.useEffect)((()=>{!1===o&&co({param:"cleanStorage",data:r})}),[o]);const u=()=>{var e;const t=c.current;if(!t)return;const r=null!==(e=t.querySelector("iframe"))&&void 0!==e?e:t.children[1],n=document.body.clientWidth,i=document.body.clientHeight-44,a=n/r.clientWidth,s=i/r.clientHeight,o=Math.min(a,s);r.style.transform=`scale(${o})`,r.style.transformOrigin="top left",r.style.height=i/o+"px"};(0,i.useEffect)((()=>{const e=setInterval(u,125);return setTimeout((()=>{clearInterval(e)}),500),()=>{clearInterval(e)}}),[t]);const p=()=>{t&&(window.innerWidth<1024?n({type:"set",showSidebar:!1}):n({type:"set",showSidebar:!0})),u()};return(0,i.useEffect)((()=>(p(),window.addEventListener("resize",p),()=>{window.removeEventListener("resize",p)})),[]),(0,i.createElement)(i.Fragment,null,o?(0,i.createElement)(Kl,null):null,""!==a&&(0,i.createElement)("div",{className:"w-full h-full p-4"},(0,i.createElement)("div",{ref:c,className:"h-full relative overflow-hidden shadow-template-preview w-full mx-auto"},(0,i.createElement)("div",{className:ho("flex items-center justify-start py-3 px-4 bg-browser-bar shadow-sm rounded-t-lg mx-auto h-[44px] z-[1] relative","w-full mx-0")},(0,i.createElement)("div",{className:"flex gap-2 py-[3px] w-20"},(0,i.createElement)("div",{className:"w-[14px] h-[14px] border border-solid border-border-primary rounded-full"}),(0,i.createElement)("div",{className:"w-[14px] h-[14px] border border-solid border-border-primary rounded-full"}),(0,i.createElement)("div",{className:"w-[14px] h-[14px] border border-solid border-border-primary rounded-full"}))),(0,i.createElement)("div",{className:"w-full h-full"},(0,i.createElement)("iframe",{id:"astra-starter-templates-preview",className:"w-full h-full",title:"Website Preview",height:"100%",width:"100%",src:a,onLoad:()=>{u(),l(!1)}})))))})),tc=(e,t)=>{const r=new URLSearchParams(window.location.search);return t?r.set(e,t):r.delete(e),r.toString()},rc=()=>(0,i.createElement)("div",{className:"site-list-loading-skeleton"},(0,i.createElement)(Xl,{container:!0},(0,i.createElement)(Xl,{item:!0,xs:12},(0,i.createElement)(Zl,{display:"flex",justifyContent:"center"},(0,i.createElement)(Rl,{variant:"rect",width:600,height:36,animation:"wave"}))),(0,i.createElement)(Xl,{item:!0,xs:12},(0,i.createElement)(Zl,{display:"flex",justifyContent:"center",m:"44px 0 50px 0"},(0,i.createElement)(Rl,{variant:"rect",width:740,height:48,animation:"wave"}))),(0,i.createElement)(Xl,{item:!0,xs:12},(0,i.createElement)(Zl,{display:"flex",justifyContent:"space-between",p:"0 0 8px 0"},(0,i.createElement)(Zl,{display:"flex",gap:"15px",alignItems:"center"},(0,i.createElement)(Zl,null,(0,i.createElement)(Rl,{variant:"rect",width:80,height:41,animation:"wave"})),(0,i.createElement)(Zl,null,(0,i.createElement)(Rl,{variant:"rect",width:80,height:41,animation:"wave"})),(0,i.createElement)(Zl,null,(0,i.createElement)(Rl,{variant:"rect",width:80,height:41,animation:"wave"})),(0,i.createElement)(Zl,null,(0,i.createElement)(Rl,{variant:"rect",width:80,height:41,animation:"wave"})),(0,i.createElement)(Zl,null,(0,i.createElement)(Rl,{variant:"rect",width:80,height:41,animation:"wave"})),(0,i.createElement)(Zl,null,(0,i.createElement)(Rl,{variant:"rect",width:80,height:41,animation:"wave"})),(0,i.createElement)(Zl,null,(0,i.createElement)(Rl,{variant:"rect",width:80,height:41,animation:"wave"})),(0,i.createElement)(Zl,null,(0,i.createElement)(Rl,{variant:"rect",width:80,height:41,animation:"wave"}))),(0,i.createElement)(Zl,{display:"flex",gap:"15px",alignItems:"center"},(0,i.createElement)(Zl,null,(0,i.createElement)(Rl,{variant:"rect",width:110,height:40,animation:"wave"})),(0,i.createElement)(Zl,null,(0,i.createElement)(Rl,{variant:"rect",width:110,height:40,animation:"wave"}))))),(0,i.createElement)(Xl,{item:!0,xs:12},(0,i.createElement)(Zl,{p:"44px 0 0 0",display:"grid",gap:"40px",gridTemplateColumns:"1fr 1fr 1fr 1fr"},(0,i.createElement)(Rl,{variant:"rect",height:380,animation:"wave"}),(0,i.createElement)(Rl,{variant:"rect",height:380,animation:"wave"}),(0,i.createElement)(Rl,{variant:"rect",height:380,animation:"wave"}),(0,i.createElement)(Rl,{variant:"rect",height:380,animation:"wave"}))))),nc=window.wp.element,ic=()=>{const[e,t]=(0,nc.useState)(4);(0,nc.useEffect)((()=>{const e=()=>{window.innerWidth<=768?t(2):window.innerWidth>768&&window.innerWidth<=1024?t(3):t(4)};return window.addEventListener("resize",e),e(),()=>window.removeEventListener("resize",e)}),[]);const r=[];for(let t=0;t<2*e;t++)r.push((0,i.createElement)(Rl,{key:t,variant:"rect",height:380,animation:"wave"}));return(0,i.createElement)("div",{className:"st-grid-skeleton"},(0,i.createElement)(Xl,{container:!0},(0,i.createElement)(Xl,{item:!0,xs:12},(0,i.createElement)(Zl,{p:"0",display:"grid",gap:"40px",gridTemplateColumns:`repeat(${e}, 1fr)`},r))))},ac=window.wp.apiFetch;var sc=r.n(ac);const{themeStatus:oc}=starterTemplates,lc=async(e,t)=>{const[{currentIndex:r},n]=t,i=new FormData;i.append("action","astra-sites-api-request"),i.append("url","astra-sites/"+e),i.append("_ajax_nonce",astraSitesVars?._ajax_nonce),await fetch(ajaxurl,{method:"post",body:i}).then((e=>e.json())).then((t=>{if(t.success){const r=t?.data["required-plugins"]?.some((e=>"surecart"===e?.slug||"woocommerce"===e?.slug));starterTemplates.previewUrl="https:"+t.data["astra-site-url"],n({type:"set",templateId:e,templateResponse:t.data,importErrorMessages:{},importErrorResponse:[],importError:!1,isEcommerce:r})}else{let e={};if(void 0!==t.data.response_code){const i=t.data.code.toString();switch(i){case"401":case"404":e={primaryText:astraSitesVars?.server_import_primary_error,secondaryText:"",errorCode:i,errorText:t.data.message,solutionText:"",tryAgain:!0};break;case"500":e={primaryText:astraSitesVars?.server_import_primary_error,secondaryText:"",errorCode:i,errorText:t.data.message,solutionText:astraSitesVars?.ajax_request_failed_secondary,tryAgain:!0};break;case"WP_Error":e={primaryText:astraSitesVars?.client_import_primary_error,secondaryText:"",errorCode:i,errorText:t.data.message,solutionText:"",tryAgain:!0};break;case"Cloudflare":e={primaryText:astraSitesVars?.cloudflare_import_primary_error,secondaryText:"",errorCode:i,errorText:t.data.message,solutionText:"",tryAgain:!0};break;default:e={primaryText:(0,wn.__)("Fetching related demo failed.","astra-sites"),secondaryText:"",errorCode:"",errorText:t.data,solutionText:astraSitesVars?.ajax_request_failed_secondary,tryAgain:!1}}n({type:"set",importError:!0,importErrorMessages:e,importErrorResponse:t.data,templateResponse:null,currentIndex:r+3})}}})).catch((e=>{n({type:"set",importError:!0,importErrorMessages:{primaryText:(0,wn.__)("Fetching related demo failed.","astra-sites"),secondaryText:astraSitesVars?.ajax_request_failed_secondary,errorCode:"",errorText:e,solutionText:"",tryAgain:!1}})}))},cc=async e=>{const[{enabledFeatureIds:t,selectedEcommercePlugin:r},n]=e,i=new FormData;if(i.append("action","astra-sites-required_plugins"),i.append("_ajax_nonce",astraSitesVars?._ajax_nonce),0!==t.length){const e=function(e,t){const r=[];return e?.forEach((e=>{switch(e){case"ecommerce":"surecart"===t?r.push({name:"SureCart",slug:"surecart",init:"surecart/surecart.php"}):"woocommerce"===t&&(r.push({name:"WooCommerce",slug:"woocommerce",init:"woocommerce/woocommerce.php"}),r.push({name:"Checkout Plugins Stripe Woo",slug:"checkout-plugins-stripe-woo",init:"checkout-plugins-stripe-woo/checkout-plugins-stripe-woo.php"}));break;case"donations":r.push({name:"SureCart",slug:"surecart",init:"surecart/surecart.php"});break;case"automation-integrations":r.push({name:"SureTriggers",slug:"suretriggers",init:"suretriggers/suretriggers.php"});break;case"sales-funnels":r.push({name:"CartFlows",slug:"cartflows",init:"cartflows/cartflows.php"}),r.push({name:"Woocommerce Cart Abandonment Recovery",slug:"woo-cart-abandonment-recovery",init:"woo-cart-abandonment-recovery/woo-cart-abandonment-recovery.php"});break;case"video-player":r.push({name:"Preso Player",slug:"presto-player",init:"presto-player/presto-player.php"});break;case"live-chat":r.push({name:"WP Live Chat Support",slug:"wp-live-chat-support",init:"wp-live-chat-support/wp-live-chat-support.php"})}})),r}(t,r);i.append("feature_plugins",JSON.stringify(e))}await fetch(ajaxurl,{method:"post",body:i}).then((e=>e.json())).then((e=>{if(e.success){const t=e.data?.required_plugins,r=t.notinstalled||"",i=t.inactive||"";n({type:"set",requiredPlugins:e.data,notInstalledList:r,notActivatedList:i})}}))},uc=e=>{const[,t]=e,r=new FormData;r.append("action","astra-sites-activate_theme"),r.append("_ajax_nonce",astraSitesVars?._ajax_nonce),fetch(ajaxurl,{method:"post",body:r}).then((e=>e.json())).then((e=>{e.success?t({type:"set",themeStatus:e,importStatus:(0,wn.__)("Astra Theme Installed.","astra-sites")}):t({type:"set",importError:!0,importErrorMessages:{primaryText:(0,wn.__)("Astra theme installation failed.","astra-sites"),secondaryText:"",errorCode:"",errorText:e.data,solutionText:"",tryAgain:!0}})})).catch((e=>{console.error(e)}))},pc=e=>{const[{importPercent:t},r]=e;let n=t;"not-installed"===oc&&(wp.updates.shouldRequestFilesystemCredentials&&!wp.updates.ajaxLocked&&wp.updates.requestFilesystemCredentials(),n+=5,r({type:"set",importPercent:n,importStatus:(0,wn.__)("Installing Astra Theme…","astra-sites")}),wp.updates.installTheme({slug:"astra",ajax_nonce:astraSitesVars?._ajax_nonce}),jQuery(document).on("wp-theme-install-success",(function(){r({type:"set",importStatus:(0,wn.__)("Astra Theme Installed.","astra-sites")}),uc(e)}))),"installed-but-inactive"===oc&&setTimeout((()=>uc(e)),3e3),"installed-and-active"===oc&&r({type:"set",themeStatus:!0})},dc=async([,e])=>{try{const t=new FormData;t.append("action","astra-sites-filesystem_permission"),t.append("_ajax_nonce",astraSitesVars?._ajax_nonce);const r=await fetch(astraSitesVars?.ajaxurl,{method:"POST",body:t});e({type:"set",fileSystemPermissions:(await r.json()).data})}catch(e){console.error(e)}},fc=async(e,t,r,n)=>{const i=new FormData;i.append("action","astra-sites-generate-analytics-lead"),i.append("status",t),i.append("id",r),i.append("try-again-count",e),i.append("type","astra-sites"),i.append("page-builder",n),i.append("_ajax_nonce",astraSitesVars?._ajax_nonce),await fetch(ajaxurl,{method:"post",body:i})},hc=({sites:e})=>{const t=e||{},r=fs(),[{favoriteSiteIDs:n,currentIndex:a},s]=r,[o,l]=(0,i.useState)(4),c=[];if(Object.keys(t).length)for(const e in t){const r=t[e];if(void 0!==r.related_ecommerce_template&&""!==r.related_ecommerce_template&&void 0!==r.ecommerce_parent_template&&""!==r.ecommerce_parent_template)continue;const n=fo(r);c.push(n)}const u=(e,t)=>{let r=n;t&&!r.includes(e)?r.push(e):r=n.filter((t=>t!==e)),s({type:"set",favoriteSiteIDs:r})};return(0,i.useEffect)((()=>{const e=()=>{window.innerWidth<=768?l(2):window.innerWidth>768&&window.innerWidth<=1024?l(3):l(4)};return window.addEventListener("resize",e),e(),()=>window.removeEventListener("resize",e)}),[]),(0,i.createElement)(Qr.Grid,{column:o,options:c,hasFavorite:!0,onFavoriteClick:async(e,t,r)=>{try{e.preventDefault();const n=`id-${t.id}`;u(n,r);const i=new FormData;i.append("action","astra-sites-favorite"),i.append("is_favorite",r),i.append("site_id",n),i.append("_ajax_nonce",astraSitesVars?._ajax_nonce);const a=await fetch(ajaxurl,{method:"post",body:i});(await a.json()).success||u(n,!1)}catch(e){}},favoriteList:n,onClick:async(e,t)=>{e.stopPropagation(),s({type:"set",currentIndex:a+1,selectedTemplateName:t.title,selectedTemplateID:t.id,selectedTemplateType:t["astra-sites-type"]}),await lc(t.id,r),await cc(r),dc(r)}})},mc=({setSiteData:e})=>{const[{siteSearchTerm:t,searchTerms:r,searchTermsWithCount:n,builder:a,siteType:s,stagingConnected:o},l]=fs(),c=Lc(),u=gn(),p=(0,i.useRef)(),d=(0,i.useRef)(),f=e=>{if(e.preventDefault(),p&&d){const e=document.querySelector(".site-list-header");let t=0;e&&e.clientHeight&&(t=e.clientHeight),t-=p.current.clientHeight,(d.current.getBoundingClientRect().top||0)<=t?document.body.classList.add("st-search-box-fixed"):document.body.classList.remove("st-search-box-fixed")}};return(0,i.useEffect)((()=>(document.querySelector(".step-content")?.addEventListener("scroll",f),()=>document.querySelector(".step-content")?.removeEventListener("scroll",f))),[]),(0,i.createElement)("div",{className:"st-search-box-wrap",ref:d},(0,i.createElement)("div",{className:"st-search-filter st-search-box",ref:p},(0,i.createElement)(Qr.Search,{apiUrl:`${astraSitesVars?.ApiDomain}wp-json/starter-templates/v2/sites-search/?search=${t}&page-builder=${a}&type=${s}${o}`,beforeSearchResult:()=>{t&&e({gridSkeleton:!0})},onSearchResult:i=>{if(!t)return void e({gridSkeleton:!1});const a=[];if(i.success&&i.ids.length)for(const e of i.ids)if(c[e]){const t=c[e];if(void 0!==t.related_ecommerce_template&&""!==t.related_ecommerce_template&&void 0!==t.ecommerce_parent_template&&""!==t.ecommerce_parent_template)continue;a[e]=c[e]}(e=>{const i=t.toLowerCase(),a=r,s=n;""===i||i.length<3||r.includes(i)||(a.push(i),s.push({term:i,count:e}),l({type:"set",searchTerms:a,searchTermsWithCount:s}))})(Object.keys(a).length),e({sites:a,gridSkeleton:!1})},value:(0,xn.decodeEntities)(t),placeholder:(0,wn.__)("Search for Starter Templates","astra-sites"),onSearch:(t,r)=>{const n={gridSkeleton:!0};r||(n.sites=c),e(n),l({type:"set",siteSearchTerm:r,onMyFavorite:!1,siteBusinessType:"",selectedMegaMenu:"",siteType:"",siteOrder:"popular"});const i=tc("s",r);u(`?${i}`)},onKeyUp:e=>{e.preventDefault();const t=document.querySelector(".st-templates-content");if((t?parseInt(t.getBoundingClientRect().top):0)<0&&32!==e.keyCode&&16!==e.keyCode&&17!==e.keyCode&&18!==e.keyCode){const e=document.querySelector(".site-list-header"),r=e?parseInt(e.clientHeight):0;document.querySelector(".step-content").scrollTo({behavior:"smooth",left:0,top:t.offsetTop-r-20})}}})))},gc=()=>(0,i.createElement)("div",{className:"st-no-favorites"},(0,i.createElement)("h3",null,(0,wn.__)("No favorites added. Press the heart icon to add templates as favorites.","astra-sites"))),yc=({sites:e})=>{const[{siteSearchTerm:t}]=fs(),r=Lc();let n=e;if(t){const e={multipurpose:{},top20:{}};for(const t in r){const n=r[t];Object.values(n.categories).includes("multipurpose")?e.multipurpose[t]=n:Object.keys(e.top20).length<=20&&(e.top20[t]=n)}n=Object.assign(e.multipurpose,e.top20)}return n.length?(0,i.createElement)(i.Fragment,null,(0,i.createElement)("div",{className:"st-sites-grid st-related-sites-grid"},(0,i.createElement)("div",{className:"st-sites-found-message"},(0,wn.__)("Other suggested Starter Templates","astra-sites")),(0,i.createElement)(hc,{sites:n}))):null},vc=()=>{const[e,t]=(0,i.useState)({skeleton:!0,allFavorites:[]}),[{favoriteSiteIDs:r,onMyFavorite:n}]=fs(),a=Lc();return(0,i.useEffect)((()=>{t({...e,skeleton:!0});const i=[];if(n&&Object.keys(a).length>0)for(const e in a)if(r.length&&r.includes(e)){const t=fo(a[e]);i.push(t)}t({...e,allFavorites:i,skeleton:!1})}),[r,n]),(0,i.createElement)(i.Fragment,null,e.skeleton?(0,i.createElement)("div",{className:"st-sites-grid st-sites-favorites-grid"},(0,i.createElement)(hc,{skeleton:e.skeleton})):(0,i.createElement)(i.Fragment,null,e.allFavorites.length?(0,i.createElement)("div",{className:"st-sites-grid"},(0,i.createElement)(hc,{sites:e.allFavorites})):(0,i.createElement)(i.Fragment,null,(0,i.createElement)(gc,null),(0,i.createElement)(yc,{sites:a}))))},bc=i.forwardRef((function({title:e,titleId:t,...r},n){return i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?i.createElement("title",{id:t},e):null,i.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m4.5 15.75 7.5-7.5 7.5 7.5"}))})),{post:xc}=wp.ajax;let wc=[],Ec=!1;const kc=(e,t)=>{const r=new FormData;return r.append(e,t),r},Sc=()=>{if(wc&&Ec){const e=wc.every(Boolean);return wc=[],Ec=!1,e}},Cc=async()=>{try{const e=new FormData;e.append("action","astra-sites-update-library"),e.append("_ajax_nonce",astraSitesVars?._ajax_nonce);const t=await fetch(ajaxurl,{method:"post",body:e}),r=await t.json(),n=await r.data;let i=null,a=null,s=null;return wc=[],"updated"===n?(wc.push(!0),Ec=!0):(i=await Mc(),wc.push(await Fc()),wc.push(await Ic()),wc.push(await Tc()),wc.push(await _c()),wc.push(await Pc()),wc.push(await Ac()),wc.push(i),a=await Dc(),s=await Rc(),Ec=!0),{allSitesData:i,categories:a,categoriesAndTags:s}}catch(e){return wc.push(!1),Ec=!0,!1}},Ac=async()=>{try{const e=new FormData;return e.append("action","astra-sites-update-library-complete"),e.append("_ajax_nonce",astraSitesVars?._ajax_nonce),!0===(await fetch(ajaxurl,{method:"post",body:e}).then((e=>e.json()))).success}catch(e){return!1}},Pc=async()=>{try{const e=new FormData;return e.append("action","astra-sites-import-page-builders"),e.append("_ajax_nonce",astraSitesVars?._ajax_nonce),!0===(await fetch(ajaxurl,{method:"post",body:e}).then((e=>e.json()))).success}catch(e){return!1}},_c=async()=>{try{const e=new FormData;e.append("action","astra-sites-get-blocks-request-count"),e.append("_ajax_nonce",astraSitesVars?._ajax_nonce);const t=await fetch(ajaxurl,{method:"post",body:e}).then((e=>e.json())).then((e=>e.data));if(t){const e=[];for(let r=1;r<=t;r++){const t=new FormData;t.append("action","astra-sites-import-blocks"),t.append("page_no",r),t.append("_ajax_nonce",astraSitesVars?._ajax_nonce),e.push(fetch(ajaxurl,{method:"post",body:t}))}return(await Promise.allSettled(e).then((e=>Promise.all(e.map((e=>e.value.json())))))).every((e=>!0===e.success))}}catch(e){return!1}},Tc=async()=>{try{const e=new FormData;return e.append("action","astra-sites-import-page-builders"),e.append("_ajax_nonce",astraSitesVars?._ajax_nonce),!0===(await fetch(ajaxurl,{method:"post",body:e}).then((e=>e.json()))).success}catch(e){return!1}},Ic=async()=>{try{const e=new FormData;return e.append("action","astra-sites-import-all-categories"),e.append("_ajax_nonce",astraSitesVars?._ajax_nonce),!0===(await fetch(ajaxurl,{method:"post",body:e}).then((e=>e.json()))).success}catch(e){return!1}},Fc=async()=>{try{const e=new FormData;return e.append("action","astra-sites-import-all-categories-and-tags"),e.append("_ajax_nonce",astraSitesVars?._ajax_nonce),!0===(await fetch(ajaxurl,{method:"post",body:e}).then((e=>e.json()))).success}catch(e){return!1}},Mc=async()=>{try{const e=await xc({action:"astra-sites-get-sites-request-count",_ajax_nonce:astraSitesVars?._ajax_nonce});if(e){const t=[];for(let r=1;r<=e;r++){const e=new FormData;e.append("action","astra-sites-import-sites"),e.append("page_no",r),e.append("_ajax_nonce",astraSitesVars?._ajax_nonce),t.push(await fetch(ajaxurl,{method:"post",body:e}))}const r=await Promise.allSettled(t),n=await Promise.all(r.map((e=>e.value.json())));let i={};for(const e of n)"object"==typeof e.data&&(i={...i,...e.data});return i}return null}catch(e){return null}},Dc=async()=>{try{const e=await fetch(ajaxurl,{method:"post",body:kc("action","astra-sites-get-all-categories")}),t=await e.json();return t.data.length?t.data:null}catch(e){return null}},Rc=async()=>{try{const e=await fetch(ajaxurl,{method:"post",body:kc("action","astra-sites-get-all-categories-and-tags")}),t=await e.json();return t.data.length?t.data:null}catch(e){return null}},Lc=()=>{const[{builder:e,siteType:t,siteOrder:r,allSitesData:n}]=fs(),i=Object.keys(n).length?n:astraSitesVars?.all_sites;let a=[];if(e)for(const t in i)e===i[t]["astra-site-page-builder"]&&(a[t]=i[t]);if(t)for(const e in a)"free"!==a[e]["astra-sites-type"]?a[e]=a[e]:delete a[e];return"latest"===r&&Object.keys(a).length&&(a=gr(Object.values(a),"publish-date").reverse()),a},{imageDir:Oc}=starterTemplates,Vc=()=>(0,i.createElement)("div",{className:"branding-wrap"},lo()?(0,i.createElement)("h3",null,astraSitesVars?.whiteLabelName):(0,i.createElement)(Qr.Logo,{className:"ist-logo",src:`${Oc}logo.svg`,alt:(0,wn.__)("Starter Templates","astra-sites"),onClick:()=>window.open(astraSitesVars?.st_page_url,"_self")}));function Nc(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Bc(e){return e instanceof Nc(e).Element||e instanceof Element}function jc(e){return e instanceof Nc(e).HTMLElement||e instanceof HTMLElement}function zc(e){return"undefined"!=typeof ShadowRoot&&(e instanceof Nc(e).ShadowRoot||e instanceof ShadowRoot)}var Hc=Math.max,Gc=Math.min,Wc=Math.round;function qc(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map((function(e){return e.brand+"/"+e.version})).join(" "):navigator.userAgent}function Uc(){return!/^((?!chrome|android).)*safari/i.test(qc())}function Xc(e,t,r){void 0===t&&(t=!1),void 0===r&&(r=!1);var n=e.getBoundingClientRect(),i=1,a=1;t&&jc(e)&&(i=e.offsetWidth>0&&Wc(n.width)/e.offsetWidth||1,a=e.offsetHeight>0&&Wc(n.height)/e.offsetHeight||1);var s=(Bc(e)?Nc(e):window).visualViewport,o=!Uc()&&r,l=(n.left+(o&&s?s.offsetLeft:0))/i,c=(n.top+(o&&s?s.offsetTop:0))/a,u=n.width/i,p=n.height/a;return{width:u,height:p,top:c,right:l+u,bottom:c+p,left:l,x:l,y:c}}function Qc(e){var t=Nc(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function $c(e){return e?(e.nodeName||"").toLowerCase():null}function Jc(e){return((Bc(e)?e.ownerDocument:e.document)||window.document).documentElement}function Yc(e){return Xc(Jc(e)).left+Qc(e).scrollLeft}function Zc(e){return Nc(e).getComputedStyle(e)}function Kc(e){var t=Zc(e),r=t.overflow,n=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+i+n)}function eu(e,t,r){void 0===r&&(r=!1);var n=jc(t),i=jc(t)&&function(e){var t=e.getBoundingClientRect(),r=Wc(t.width)/e.offsetWidth||1,n=Wc(t.height)/e.offsetHeight||1;return 1!==r||1!==n}(t),a=Jc(t),s=Xc(e,i,r),o={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(n||!n&&!r)&&(("body"!==$c(t)||Kc(a))&&(o=function(e){return e!==Nc(e)&&jc(e)?{scrollLeft:(t=e).scrollLeft,scrollTop:t.scrollTop}:Qc(e);var t}(t)),jc(t)?((l=Xc(t,!0)).x+=t.clientLeft,l.y+=t.clientTop):a&&(l.x=Yc(a))),{x:s.left+o.scrollLeft-l.x,y:s.top+o.scrollTop-l.y,width:s.width,height:s.height}}function tu(e){var t=Xc(e),r=e.offsetWidth,n=e.offsetHeight;return Math.abs(t.width-r)<=1&&(r=t.width),Math.abs(t.height-n)<=1&&(n=t.height),{x:e.offsetLeft,y:e.offsetTop,width:r,height:n}}function ru(e){return"html"===$c(e)?e:e.assignedSlot||e.parentNode||(zc(e)?e.host:null)||Jc(e)}function nu(e){return["html","body","#document"].indexOf($c(e))>=0?e.ownerDocument.body:jc(e)&&Kc(e)?e:nu(ru(e))}function iu(e,t){var r;void 0===t&&(t=[]);var n=nu(e),i=n===(null==(r=e.ownerDocument)?void 0:r.body),a=Nc(n),s=i?[a].concat(a.visualViewport||[],Kc(n)?n:[]):n,o=t.concat(s);return i?o:o.concat(iu(ru(s)))}function au(e){return["table","td","th"].indexOf($c(e))>=0}function su(e){return jc(e)&&"fixed"!==Zc(e).position?e.offsetParent:null}function ou(e){for(var t=Nc(e),r=su(e);r&&au(r)&&"static"===Zc(r).position;)r=su(r);return r&&("html"===$c(r)||"body"===$c(r)&&"static"===Zc(r).position)?t:r||function(e){var t=/firefox/i.test(qc());if(/Trident/i.test(qc())&&jc(e)&&"fixed"===Zc(e).position)return null;var r=ru(e);for(zc(r)&&(r=r.host);jc(r)&&["html","body"].indexOf($c(r))<0;){var n=Zc(r);if("none"!==n.transform||"none"!==n.perspective||"paint"===n.contain||-1!==["transform","perspective"].indexOf(n.willChange)||t&&"filter"===n.willChange||t&&n.filter&&"none"!==n.filter)return r;r=r.parentNode}return null}(e)||t}var lu="top",cu="bottom",uu="right",pu="left",du="auto",fu=[lu,cu,uu,pu],hu="start",mu="end",gu="viewport",yu="popper",vu=fu.reduce((function(e,t){return e.concat([t+"-"+hu,t+"-"+mu])}),[]),bu=[].concat(fu,[du]).reduce((function(e,t){return e.concat([t,t+"-"+hu,t+"-"+mu])}),[]),xu=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function wu(e){var t=new Map,r=new Set,n=[];function i(e){r.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!r.has(e)){var n=t.get(e);n&&i(n)}})),n.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){r.has(e.name)||i(e)})),n}var Eu={placement:"bottom",modifiers:[],strategy:"absolute"};function ku(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return!t.some((function(e){return!(e&&"function"==typeof e.getBoundingClientRect)}))}function Su(e){void 0===e&&(e={});var t=e,r=t.defaultModifiers,n=void 0===r?[]:r,i=t.defaultOptions,a=void 0===i?Eu:i;return function(e,t,r){void 0===r&&(r=a);var i,s,o={placement:"bottom",orderedModifiers:[],options:Object.assign({},Eu,a),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},l=[],c=!1,u={state:o,setOptions:function(r){var i="function"==typeof r?r(o.options):r;p(),o.options=Object.assign({},a,o.options,i),o.scrollParents={reference:Bc(e)?iu(e):e.contextElement?iu(e.contextElement):[],popper:iu(t)};var s,c,d=function(e){var t=wu(e);return xu.reduce((function(e,r){return e.concat(t.filter((function(e){return e.phase===r})))}),[])}((s=[].concat(n,o.options.modifiers),c=s.reduce((function(e,t){var r=e[t.name];return e[t.name]=r?Object.assign({},r,t,{options:Object.assign({},r.options,t.options),data:Object.assign({},r.data,t.data)}):t,e}),{}),Object.keys(c).map((function(e){return c[e]}))));return o.orderedModifiers=d.filter((function(e){return e.enabled})),o.orderedModifiers.forEach((function(e){var t=e.name,r=e.options,n=void 0===r?{}:r,i=e.effect;if("function"==typeof i){var a=i({state:o,name:t,instance:u,options:n});l.push(a||function(){})}})),u.update()},forceUpdate:function(){if(!c){var e=o.elements,t=e.reference,r=e.popper;if(ku(t,r)){o.rects={reference:eu(t,ou(r),"fixed"===o.options.strategy),popper:tu(r)},o.reset=!1,o.placement=o.options.placement,o.orderedModifiers.forEach((function(e){return o.modifiersData[e.name]=Object.assign({},e.data)}));for(var n=0;n<o.orderedModifiers.length;n++)if(!0!==o.reset){var i=o.orderedModifiers[n],a=i.fn,s=i.options,l=void 0===s?{}:s,p=i.name;"function"==typeof a&&(o=a({state:o,options:l,name:p,instance:u})||o)}else o.reset=!1,n=-1}}},update:(i=function(){return new Promise((function(e){u.forceUpdate(),e(o)}))},function(){return s||(s=new Promise((function(e){Promise.resolve().then((function(){s=void 0,e(i())}))}))),s}),destroy:function(){p(),c=!0}};if(!ku(e,t))return u;function p(){l.forEach((function(e){return e()})),l=[]}return u.setOptions(r).then((function(e){!c&&r.onFirstUpdate&&r.onFirstUpdate(e)})),u}}var Cu={passive:!0};const Au={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,r=e.instance,n=e.options,i=n.scroll,a=void 0===i||i,s=n.resize,o=void 0===s||s,l=Nc(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&c.forEach((function(e){e.addEventListener("scroll",r.update,Cu)})),o&&l.addEventListener("resize",r.update,Cu),function(){a&&c.forEach((function(e){e.removeEventListener("scroll",r.update,Cu)})),o&&l.removeEventListener("resize",r.update,Cu)}},data:{}};function Pu(e){return e.split("-")[0]}function _u(e){return e.split("-")[1]}function Tu(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Iu(e){var t,r=e.reference,n=e.element,i=e.placement,a=i?Pu(i):null,s=i?_u(i):null,o=r.x+r.width/2-n.width/2,l=r.y+r.height/2-n.height/2;switch(a){case lu:t={x:o,y:r.y-n.height};break;case cu:t={x:o,y:r.y+r.height};break;case uu:t={x:r.x+r.width,y:l};break;case pu:t={x:r.x-n.width,y:l};break;default:t={x:r.x,y:r.y}}var c=a?Tu(a):null;if(null!=c){var u="y"===c?"height":"width";switch(s){case hu:t[c]=t[c]-(r[u]/2-n[u]/2);break;case mu:t[c]=t[c]+(r[u]/2-n[u]/2)}}return t}const Fu={name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,r=e.name;t.modifiersData[r]=Iu({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}};var Mu={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Du(e){var t,r=e.popper,n=e.popperRect,i=e.placement,a=e.variation,s=e.offsets,o=e.position,l=e.gpuAcceleration,c=e.adaptive,u=e.roundOffsets,p=e.isFixed,d=s.x,f=void 0===d?0:d,h=s.y,m=void 0===h?0:h,g="function"==typeof u?u({x:f,y:m}):{x:f,y:m};f=g.x,m=g.y;var y=s.hasOwnProperty("x"),v=s.hasOwnProperty("y"),b=pu,x=lu,w=window;if(c){var E=ou(r),k="clientHeight",S="clientWidth";E===Nc(r)&&"static"!==Zc(E=Jc(r)).position&&"absolute"===o&&(k="scrollHeight",S="scrollWidth"),(i===lu||(i===pu||i===uu)&&a===mu)&&(x=cu,m-=(p&&E===w&&w.visualViewport?w.visualViewport.height:E[k])-n.height,m*=l?1:-1),i!==pu&&(i!==lu&&i!==cu||a!==mu)||(b=uu,f-=(p&&E===w&&w.visualViewport?w.visualViewport.width:E[S])-n.width,f*=l?1:-1)}var C,A=Object.assign({position:o},c&&Mu),P=!0===u?function(e,t){var r=e.x,n=e.y,i=t.devicePixelRatio||1;return{x:Wc(r*i)/i||0,y:Wc(n*i)/i||0}}({x:f,y:m},Nc(r)):{x:f,y:m};return f=P.x,m=P.y,l?Object.assign({},A,((C={})[x]=v?"0":"",C[b]=y?"0":"",C.transform=(w.devicePixelRatio||1)<=1?"translate("+f+"px, "+m+"px)":"translate3d("+f+"px, "+m+"px, 0)",C)):Object.assign({},A,((t={})[x]=v?m+"px":"",t[b]=y?f+"px":"",t.transform="",t))}const Ru={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var r=t.styles[e]||{},n=t.attributes[e]||{},i=t.elements[e];jc(i)&&$c(i)&&(Object.assign(i.style,r),Object.keys(n).forEach((function(e){var t=n[e];!1===t?i.removeAttribute(e):i.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,r={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,r.popper),t.styles=r,t.elements.arrow&&Object.assign(t.elements.arrow.style,r.arrow),function(){Object.keys(t.elements).forEach((function(e){var n=t.elements[e],i=t.attributes[e]||{},a=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:r[e]).reduce((function(e,t){return e[t]="",e}),{});jc(n)&&$c(n)&&(Object.assign(n.style,a),Object.keys(i).forEach((function(e){n.removeAttribute(e)})))}))}},requires:["computeStyles"]},Lu={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,r=e.options,n=e.name,i=r.offset,a=void 0===i?[0,0]:i,s=bu.reduce((function(e,r){return e[r]=function(e,t,r){var n=Pu(e),i=[pu,lu].indexOf(n)>=0?-1:1,a="function"==typeof r?r(Object.assign({},t,{placement:e})):r,s=a[0],o=a[1];return s=s||0,o=(o||0)*i,[pu,uu].indexOf(n)>=0?{x:o,y:s}:{x:s,y:o}}(r,t.rects,a),e}),{}),o=s[t.placement],l=o.x,c=o.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=c),t.modifiersData[n]=s}};var Ou={left:"right",right:"left",bottom:"top",top:"bottom"};function Vu(e){return e.replace(/left|right|bottom|top/g,(function(e){return Ou[e]}))}var Nu={start:"end",end:"start"};function Bu(e){return e.replace(/start|end/g,(function(e){return Nu[e]}))}function ju(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(r&&zc(r)){var n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function zu(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Hu(e,t,r){return t===gu?zu(function(e,t){var r=Nc(e),n=Jc(e),i=r.visualViewport,a=n.clientWidth,s=n.clientHeight,o=0,l=0;if(i){a=i.width,s=i.height;var c=Uc();(c||!c&&"fixed"===t)&&(o=i.offsetLeft,l=i.offsetTop)}return{width:a,height:s,x:o+Yc(e),y:l}}(e,r)):Bc(t)?function(e,t){var r=Xc(e,!1,"fixed"===t);return r.top=r.top+e.clientTop,r.left=r.left+e.clientLeft,r.bottom=r.top+e.clientHeight,r.right=r.left+e.clientWidth,r.width=e.clientWidth,r.height=e.clientHeight,r.x=r.left,r.y=r.top,r}(t,r):zu(function(e){var t,r=Jc(e),n=Qc(e),i=null==(t=e.ownerDocument)?void 0:t.body,a=Hc(r.scrollWidth,r.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),s=Hc(r.scrollHeight,r.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),o=-n.scrollLeft+Yc(e),l=-n.scrollTop;return"rtl"===Zc(i||r).direction&&(o+=Hc(r.clientWidth,i?i.clientWidth:0)-a),{width:a,height:s,x:o,y:l}}(Jc(e)))}function Gu(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function Wu(e,t){return t.reduce((function(t,r){return t[r]=e,t}),{})}function qu(e,t){void 0===t&&(t={});var r=t,n=r.placement,i=void 0===n?e.placement:n,a=r.strategy,s=void 0===a?e.strategy:a,o=r.boundary,l=void 0===o?"clippingParents":o,c=r.rootBoundary,u=void 0===c?gu:c,p=r.elementContext,d=void 0===p?yu:p,f=r.altBoundary,h=void 0!==f&&f,m=r.padding,g=void 0===m?0:m,y=Gu("number"!=typeof g?g:Wu(g,fu)),v=d===yu?"reference":yu,b=e.rects.popper,x=e.elements[h?v:d],w=function(e,t,r,n){var i="clippingParents"===t?function(e){var t=iu(ru(e)),r=["absolute","fixed"].indexOf(Zc(e).position)>=0&&jc(e)?ou(e):e;return Bc(r)?t.filter((function(e){return Bc(e)&&ju(e,r)&&"body"!==$c(e)})):[]}(e):[].concat(t),a=[].concat(i,[r]),s=a[0],o=a.reduce((function(t,r){var i=Hu(e,r,n);return t.top=Hc(i.top,t.top),t.right=Gc(i.right,t.right),t.bottom=Gc(i.bottom,t.bottom),t.left=Hc(i.left,t.left),t}),Hu(e,s,n));return o.width=o.right-o.left,o.height=o.bottom-o.top,o.x=o.left,o.y=o.top,o}(Bc(x)?x:x.contextElement||Jc(e.elements.popper),l,u,s),E=Xc(e.elements.reference),k=Iu({reference:E,element:b,strategy:"absolute",placement:i}),S=zu(Object.assign({},b,k)),C=d===yu?S:E,A={top:w.top-C.top+y.top,bottom:C.bottom-w.bottom+y.bottom,left:w.left-C.left+y.left,right:C.right-w.right+y.right},P=e.modifiersData.offset;if(d===yu&&P){var _=P[i];Object.keys(A).forEach((function(e){var t=[uu,cu].indexOf(e)>=0?1:-1,r=[lu,cu].indexOf(e)>=0?"y":"x";A[e]+=_[r]*t}))}return A}const Uu={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,r=e.options,n=e.name;if(!t.modifiersData[n]._skip){for(var i=r.mainAxis,a=void 0===i||i,s=r.altAxis,o=void 0===s||s,l=r.fallbackPlacements,c=r.padding,u=r.boundary,p=r.rootBoundary,d=r.altBoundary,f=r.flipVariations,h=void 0===f||f,m=r.allowedAutoPlacements,g=t.options.placement,y=Pu(g),v=l||(y!==g&&h?function(e){if(Pu(e)===du)return[];var t=Vu(e);return[Bu(e),t,Bu(t)]}(g):[Vu(g)]),b=[g].concat(v).reduce((function(e,r){return e.concat(Pu(r)===du?function(e,t){void 0===t&&(t={});var r=t,n=r.placement,i=r.boundary,a=r.rootBoundary,s=r.padding,o=r.flipVariations,l=r.allowedAutoPlacements,c=void 0===l?bu:l,u=_u(n),p=u?o?vu:vu.filter((function(e){return _u(e)===u})):fu,d=p.filter((function(e){return c.indexOf(e)>=0}));0===d.length&&(d=p);var f=d.reduce((function(t,r){return t[r]=qu(e,{placement:r,boundary:i,rootBoundary:a,padding:s})[Pu(r)],t}),{});return Object.keys(f).sort((function(e,t){return f[e]-f[t]}))}(t,{placement:r,boundary:u,rootBoundary:p,padding:c,flipVariations:h,allowedAutoPlacements:m}):r)}),[]),x=t.rects.reference,w=t.rects.popper,E=new Map,k=!0,S=b[0],C=0;C<b.length;C++){var A=b[C],P=Pu(A),_=_u(A)===hu,T=[lu,cu].indexOf(P)>=0,I=T?"width":"height",F=qu(t,{placement:A,boundary:u,rootBoundary:p,altBoundary:d,padding:c}),M=T?_?uu:pu:_?cu:lu;x[I]>w[I]&&(M=Vu(M));var D=Vu(M),R=[];if(a&&R.push(F[P]<=0),o&&R.push(F[M]<=0,F[D]<=0),R.every((function(e){return e}))){S=A,k=!1;break}E.set(A,R)}if(k)for(var L=function(e){var t=b.find((function(t){var r=E.get(t);if(r)return r.slice(0,e).every((function(e){return e}))}));if(t)return S=t,"break"},O=h?3:1;O>0&&"break"!==L(O);O--);t.placement!==S&&(t.modifiersData[n]._skip=!0,t.placement=S,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function Xu(e,t,r){return Hc(e,Gc(t,r))}const Qu={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,r=e.options,n=e.name,i=r.mainAxis,a=void 0===i||i,s=r.altAxis,o=void 0!==s&&s,l=r.boundary,c=r.rootBoundary,u=r.altBoundary,p=r.padding,d=r.tether,f=void 0===d||d,h=r.tetherOffset,m=void 0===h?0:h,g=qu(t,{boundary:l,rootBoundary:c,padding:p,altBoundary:u}),y=Pu(t.placement),v=_u(t.placement),b=!v,x=Tu(y),w="x"===x?"y":"x",E=t.modifiersData.popperOffsets,k=t.rects.reference,S=t.rects.popper,C="function"==typeof m?m(Object.assign({},t.rects,{placement:t.placement})):m,A="number"==typeof C?{mainAxis:C,altAxis:C}:Object.assign({mainAxis:0,altAxis:0},C),P=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,_={x:0,y:0};if(E){if(a){var T,I="y"===x?lu:pu,F="y"===x?cu:uu,M="y"===x?"height":"width",D=E[x],R=D+g[I],L=D-g[F],O=f?-S[M]/2:0,V=v===hu?k[M]:S[M],N=v===hu?-S[M]:-k[M],B=t.elements.arrow,j=f&&B?tu(B):{width:0,height:0},z=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},H=z[I],G=z[F],W=Xu(0,k[M],j[M]),q=b?k[M]/2-O-W-H-A.mainAxis:V-W-H-A.mainAxis,U=b?-k[M]/2+O+W+G+A.mainAxis:N+W+G+A.mainAxis,X=t.elements.arrow&&ou(t.elements.arrow),Q=X?"y"===x?X.clientTop||0:X.clientLeft||0:0,$=null!=(T=null==P?void 0:P[x])?T:0,J=D+U-$,Y=Xu(f?Gc(R,D+q-$-Q):R,D,f?Hc(L,J):L);E[x]=Y,_[x]=Y-D}if(o){var Z,K="x"===x?lu:pu,ee="x"===x?cu:uu,te=E[w],re="y"===w?"height":"width",ne=te+g[K],ie=te-g[ee],ae=-1!==[lu,pu].indexOf(y),se=null!=(Z=null==P?void 0:P[w])?Z:0,oe=ae?ne:te-k[re]-S[re]-se+A.altAxis,le=ae?te+k[re]+S[re]-se-A.altAxis:ie,ce=f&&ae?function(e,t,r){var n=Xu(e,t,r);return n>r?r:n}(oe,te,le):Xu(f?oe:ne,te,f?le:ie);E[w]=ce,_[w]=ce-te}t.modifiersData[n]=_}},requiresIfExists:["offset"]},$u={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,r=e.state,n=e.name,i=e.options,a=r.elements.arrow,s=r.modifiersData.popperOffsets,o=Pu(r.placement),l=Tu(o),c=[pu,uu].indexOf(o)>=0?"height":"width";if(a&&s){var u=function(e,t){return Gu("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:Wu(e,fu))}(i.padding,r),p=tu(a),d="y"===l?lu:pu,f="y"===l?cu:uu,h=r.rects.reference[c]+r.rects.reference[l]-s[l]-r.rects.popper[c],m=s[l]-r.rects.reference[l],g=ou(a),y=g?"y"===l?g.clientHeight||0:g.clientWidth||0:0,v=h/2-m/2,b=u[d],x=y-p[c]-u[f],w=y/2-p[c]/2+v,E=Xu(b,w,x),k=l;r.modifiersData[n]=((t={})[k]=E,t.centerOffset=E-w,t)}},effect:function(e){var t=e.state,r=e.options.element,n=void 0===r?"[data-popper-arrow]":r;null!=n&&("string"!=typeof n||(n=t.elements.popper.querySelector(n)))&&ju(t.elements.popper,n)&&(t.elements.arrow=n)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Ju(e,t,r){return void 0===r&&(r={x:0,y:0}),{top:e.top-t.height-r.y,right:e.right-t.width+r.x,bottom:e.bottom-t.height+r.y,left:e.left-t.width-r.x}}function Yu(e){return[lu,uu,cu,pu].some((function(t){return e[t]>=0}))}const Zu={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,r=e.name,n=t.rects.reference,i=t.rects.popper,a=t.modifiersData.preventOverflow,s=qu(t,{elementContext:"reference"}),o=qu(t,{altBoundary:!0}),l=Ju(s,n),c=Ju(o,i,a),u=Yu(l),p=Yu(c);t.modifiersData[r]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:p},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":p})}};var Ku=Su({defaultModifiers:[Au,Fu,{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,r=e.options,n=r.gpuAcceleration,i=void 0===n||n,a=r.adaptive,s=void 0===a||a,o=r.roundOffsets,l=void 0===o||o,c={placement:Pu(t.placement),variation:_u(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:i,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,Du(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:s,roundOffsets:l})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,Du(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},Ru,Lu,Uu,Qu,$u,Zu]}),ep="tippy-content",tp="tippy-backdrop",rp="tippy-arrow",np="tippy-svg-arrow",ip={passive:!0,capture:!0},ap=function(){return document.body};function sp(e,t,r){if(Array.isArray(e)){var n=e[t];return null==n?Array.isArray(r)?r[t]:r:n}return e}function op(e,t){var r={}.toString.call(e);return 0===r.indexOf("[object")&&r.indexOf(t+"]")>-1}function lp(e,t){return"function"==typeof e?e.apply(void 0,t):e}function cp(e,t){return 0===t?e:function(n){clearTimeout(r),r=setTimeout((function(){e(n)}),t)};var r}function up(e){return[].concat(e)}function pp(e,t){-1===e.indexOf(t)&&e.push(t)}function dp(e){return[].slice.call(e)}function fp(e){return Object.keys(e).reduce((function(t,r){return void 0!==e[r]&&(t[r]=e[r]),t}),{})}function hp(e){return["Element","Fragment"].some((function(t){return op(e,t)}))}function mp(e,t){e.forEach((function(e){e&&(e.style.transitionDuration=t+"ms")}))}function gp(e,t){e.forEach((function(e){e&&e.setAttribute("data-state",t)}))}function yp(e,t,r){var n=t+"EventListener";["transitionend","webkitTransitionEnd"].forEach((function(t){e[n](t,r)}))}function vp(e,t){for(var r=t;r;){var n;if(e.contains(r))return!0;r=null==r.getRootNode||null==(n=r.getRootNode())?void 0:n.host}return!1}var bp={isTouch:!1},xp=0;function Ep(){bp.isTouch||(bp.isTouch=!0,window.performance&&document.addEventListener("mousemove",kp))}function kp(){var e=performance.now();e-xp<20&&(bp.isTouch=!1,document.removeEventListener("mousemove",kp)),xp=e}function Sp(){var e,t=document.activeElement;if((e=t)&&e._tippy&&e._tippy.reference===e){var r=t._tippy;t.blur&&!r.state.isVisible&&t.blur()}}var Cp=!("undefined"==typeof window||"undefined"==typeof document||!window.msCrypto),Ap=Object.assign({appendTo:ap,aria:{content:"auto",expanded:"auto"},delay:0,duration:[300,250],getReferenceClientRect:null,hideOnClick:!0,ignoreAttributes:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,moveTransition:"",offset:[0,10],onAfterUpdate:function(){},onBeforeUpdate:function(){},onCreate:function(){},onDestroy:function(){},onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},onTrigger:function(){},onUntrigger:function(){},onClickOutside:function(){},placement:"top",plugins:[],popperOptions:{},render:null,showOnCreate:!1,touch:!0,trigger:"mouseenter focus",triggerTarget:null},{animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},{allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999}),Pp=Object.keys(Ap);function _p(e){var t=(e.plugins||[]).reduce((function(t,r){var n,i=r.name,a=r.defaultValue;return i&&(t[i]=void 0!==e[i]?e[i]:null!=(n=Ap[i])?n:a),t}),{});return Object.assign({},e,t)}function Tp(e,t){var r=Object.assign({},t,{content:lp(t.content,[e])},t.ignoreAttributes?{}:function(e,t){return(t?Object.keys(_p(Object.assign({},Ap,{plugins:t}))):Pp).reduce((function(t,r){var n=(e.getAttribute("data-tippy-"+r)||"").trim();if(!n)return t;if("content"===r)t[r]=n;else try{t[r]=JSON.parse(n)}catch(e){t[r]=n}return t}),{})}(e,t.plugins));return r.aria=Object.assign({},Ap.aria,r.aria),r.aria={expanded:"auto"===r.aria.expanded?t.interactive:r.aria.expanded,content:"auto"===r.aria.content?t.interactive?null:"describedby":r.aria.content},r}function Ip(e){var t=e.firstElementChild,r=dp(t.children);return{box:t,content:r.find((function(e){return e.classList.contains(ep)})),arrow:r.find((function(e){return e.classList.contains(rp)||e.classList.contains(np)})),backdrop:r.find((function(e){return e.classList.contains(tp)}))}}var Fp=1,Mp=[],Dp=[];function Rp(e,t){var r,n,i,a,s,o,l,c,u=Tp(e,Object.assign({},Ap,_p(fp(t)))),p=!1,d=!1,f=!1,h=!1,m=[],g=cp(X,u.interactiveDebounce),y=Fp++,v=(c=u.plugins).filter((function(e,t){return c.indexOf(e)===t})),b={id:y,reference:e,popper:document.createElement("div"),popperInstance:null,props:u,state:{isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},plugins:v,clearDelayTimeouts:function(){clearTimeout(r),clearTimeout(n),cancelAnimationFrame(i)},setProps:function(t){if(!b.state.isDestroyed){D("onBeforeUpdate",[b,t]),q();var r=b.props,n=Tp(e,Object.assign({},r,fp(t),{ignoreAttributes:!0}));b.props=n,W(),r.interactiveDebounce!==n.interactiveDebounce&&(O(),g=cp(X,n.interactiveDebounce)),r.triggerTarget&&!n.triggerTarget?up(r.triggerTarget).forEach((function(e){e.removeAttribute("aria-expanded")})):n.triggerTarget&&e.removeAttribute("aria-expanded"),L(),M(),E&&E(r,n),b.popperInstance&&(Y(),K().forEach((function(e){requestAnimationFrame(e._tippy.popperInstance.forceUpdate)}))),D("onAfterUpdate",[b,t])}},setContent:function(e){b.setProps({content:e})},show:function(){var e=b.state.isVisible,t=b.state.isDestroyed,r=!b.state.isEnabled,n=bp.isTouch&&!b.props.touch,i=sp(b.props.duration,0,Ap.duration);if(!(e||t||r||n||_().hasAttribute("disabled")||(D("onShow",[b],!1),!1===b.props.onShow(b)))){if(b.state.isVisible=!0,P()&&(w.style.visibility="visible"),M(),j(),b.state.isMounted||(w.style.transition="none"),P()){var a=I();mp([a.box,a.content],0)}o=function(){var e;if(b.state.isVisible&&!h){if(h=!0,w.offsetHeight,w.style.transition=b.props.moveTransition,P()&&b.props.animation){var t=I(),r=t.box,n=t.content;mp([r,n],i),gp([r,n],"visible")}R(),L(),pp(Dp,b),null==(e=b.popperInstance)||e.forceUpdate(),D("onMount",[b]),b.props.animation&&P()&&function(e,t){H(e,(function(){b.state.isShown=!0,D("onShown",[b])}))}(i)}},function(){var e,t=b.props.appendTo,r=_();(e=b.props.interactive&&t===ap||"parent"===t?r.parentNode:lp(t,[r])).contains(w)||e.appendChild(w),b.state.isMounted=!0,Y()}()}},hide:function(){var e=!b.state.isVisible,t=b.state.isDestroyed,r=!b.state.isEnabled,n=sp(b.props.duration,1,Ap.duration);if(!(e||t||r)&&(D("onHide",[b],!1),!1!==b.props.onHide(b))){if(b.state.isVisible=!1,b.state.isShown=!1,h=!1,p=!1,P()&&(w.style.visibility="hidden"),O(),z(),M(!0),P()){var i=I(),a=i.box,s=i.content;b.props.animation&&(mp([a,s],n),gp([a,s],"hidden"))}R(),L(),b.props.animation?P()&&function(e,t){H(e,(function(){!b.state.isVisible&&w.parentNode&&w.parentNode.contains(w)&&t()}))}(n,b.unmount):b.unmount()}},hideWithInteractivity:function(e){T().addEventListener("mousemove",g),pp(Mp,g),g(e)},enable:function(){b.state.isEnabled=!0},disable:function(){b.hide(),b.state.isEnabled=!1},unmount:function(){b.state.isVisible&&b.hide(),b.state.isMounted&&(Z(),K().forEach((function(e){e._tippy.unmount()})),w.parentNode&&w.parentNode.removeChild(w),Dp=Dp.filter((function(e){return e!==b})),b.state.isMounted=!1,D("onHidden",[b]))},destroy:function(){b.state.isDestroyed||(b.clearDelayTimeouts(),b.unmount(),q(),delete e._tippy,b.state.isDestroyed=!0,D("onDestroy",[b]))}};if(!u.render)return b;var x=u.render(b),w=x.popper,E=x.onUpdate;w.setAttribute("data-tippy-root",""),w.id="tippy-"+b.id,b.popper=w,e._tippy=b,w._tippy=b;var k=v.map((function(e){return e.fn(b)})),S=e.hasAttribute("aria-expanded");return W(),L(),M(),D("onCreate",[b]),u.showOnCreate&&ee(),w.addEventListener("mouseenter",(function(){b.props.interactive&&b.state.isVisible&&b.clearDelayTimeouts()})),w.addEventListener("mouseleave",(function(){b.props.interactive&&b.props.trigger.indexOf("mouseenter")>=0&&T().addEventListener("mousemove",g)})),b;function C(){var e=b.props.touch;return Array.isArray(e)?e:[e,0]}function A(){return"hold"===C()[0]}function P(){var e;return!(null==(e=b.props.render)||!e.$$tippy)}function _(){return l||e}function T(){var e,t,r=_().parentNode;return r?null!=(t=up(r)[0])&&null!=(e=t.ownerDocument)&&e.body?t.ownerDocument:document:document}function I(){return Ip(w)}function F(e){return b.state.isMounted&&!b.state.isVisible||bp.isTouch||a&&"focus"===a.type?0:sp(b.props.delay,e?0:1,Ap.delay)}function M(e){void 0===e&&(e=!1),w.style.pointerEvents=b.props.interactive&&!e?"":"none",w.style.zIndex=""+b.props.zIndex}function D(e,t,r){var n;void 0===r&&(r=!0),k.forEach((function(r){r[e]&&r[e].apply(r,t)})),r&&(n=b.props)[e].apply(n,t)}function R(){var t=b.props.aria;if(t.content){var r="aria-"+t.content,n=w.id;up(b.props.triggerTarget||e).forEach((function(e){var t=e.getAttribute(r);if(b.state.isVisible)e.setAttribute(r,t?t+" "+n:n);else{var i=t&&t.replace(n,"").trim();i?e.setAttribute(r,i):e.removeAttribute(r)}}))}}function L(){!S&&b.props.aria.expanded&&up(b.props.triggerTarget||e).forEach((function(e){b.props.interactive?e.setAttribute("aria-expanded",b.state.isVisible&&e===_()?"true":"false"):e.removeAttribute("aria-expanded")}))}function O(){T().removeEventListener("mousemove",g),Mp=Mp.filter((function(e){return e!==g}))}function V(t){if(!bp.isTouch||!f&&"mousedown"!==t.type){var r=t.composedPath&&t.composedPath()[0]||t.target;if(!b.props.interactive||!vp(w,r)){if(up(b.props.triggerTarget||e).some((function(e){return vp(e,r)}))){if(bp.isTouch)return;if(b.state.isVisible&&b.props.trigger.indexOf("click")>=0)return}else D("onClickOutside",[b,t]);!0===b.props.hideOnClick&&(b.clearDelayTimeouts(),b.hide(),d=!0,setTimeout((function(){d=!1})),b.state.isMounted||z())}}}function N(){f=!0}function B(){f=!1}function j(){var e=T();e.addEventListener("mousedown",V,!0),e.addEventListener("touchend",V,ip),e.addEventListener("touchstart",B,ip),e.addEventListener("touchmove",N,ip)}function z(){var e=T();e.removeEventListener("mousedown",V,!0),e.removeEventListener("touchend",V,ip),e.removeEventListener("touchstart",B,ip),e.removeEventListener("touchmove",N,ip)}function H(e,t){var r=I().box;function n(e){e.target===r&&(yp(r,"remove",n),t())}if(0===e)return t();yp(r,"remove",s),yp(r,"add",n),s=n}function G(t,r,n){void 0===n&&(n=!1),up(b.props.triggerTarget||e).forEach((function(e){e.addEventListener(t,r,n),m.push({node:e,eventType:t,handler:r,options:n})}))}function W(){var e;A()&&(G("touchstart",U,{passive:!0}),G("touchend",Q,{passive:!0})),(e=b.props.trigger,e.split(/\s+/).filter(Boolean)).forEach((function(e){if("manual"!==e)switch(G(e,U),e){case"mouseenter":G("mouseleave",Q);break;case"focus":G(Cp?"focusout":"blur",$);break;case"focusin":G("focusout",$)}}))}function q(){m.forEach((function(e){var t=e.node,r=e.eventType,n=e.handler,i=e.options;t.removeEventListener(r,n,i)})),m=[]}function U(e){var t,r=!1;if(b.state.isEnabled&&!J(e)&&!d){var n="focus"===(null==(t=a)?void 0:t.type);a=e,l=e.currentTarget,L(),!b.state.isVisible&&op(e,"MouseEvent")&&Mp.forEach((function(t){return t(e)})),"click"===e.type&&(b.props.trigger.indexOf("mouseenter")<0||p)&&!1!==b.props.hideOnClick&&b.state.isVisible?r=!0:ee(e),"click"===e.type&&(p=!r),r&&!n&&te(e)}}function X(e){var t=e.target,r=_().contains(t)||w.contains(t);if("mousemove"!==e.type||!r){var n=K().concat(w).map((function(e){var t,r=null==(t=e._tippy.popperInstance)?void 0:t.state;return r?{popperRect:e.getBoundingClientRect(),popperState:r,props:u}:null})).filter(Boolean);(function(e,t){var r=t.clientX,n=t.clientY;return e.every((function(e){var t=e.popperRect,i=e.popperState,a=e.props.interactiveBorder,s=i.placement.split("-")[0],o=i.modifiersData.offset;if(!o)return!0;var l="bottom"===s?o.top.y:0,c="top"===s?o.bottom.y:0,u="right"===s?o.left.x:0,p="left"===s?o.right.x:0,d=t.top-n+l>a,f=n-t.bottom-c>a,h=t.left-r+u>a,m=r-t.right-p>a;return d||f||h||m}))})(n,e)&&(O(),te(e))}}function Q(e){J(e)||b.props.trigger.indexOf("click")>=0&&p||(b.props.interactive?b.hideWithInteractivity(e):te(e))}function $(e){b.props.trigger.indexOf("focusin")<0&&e.target!==_()||b.props.interactive&&e.relatedTarget&&w.contains(e.relatedTarget)||te(e)}function J(e){return!!bp.isTouch&&A()!==e.type.indexOf("touch")>=0}function Y(){Z();var t=b.props,r=t.popperOptions,n=t.placement,i=t.offset,a=t.getReferenceClientRect,s=t.moveTransition,l=P()?Ip(w).arrow:null,c=a?{getBoundingClientRect:a,contextElement:a.contextElement||_()}:e,u=[{name:"offset",options:{offset:i}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!s}},{name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(e){var t=e.state;if(P()){var r=I().box;["placement","reference-hidden","escaped"].forEach((function(e){"placement"===e?r.setAttribute("data-placement",t.placement):t.attributes.popper["data-popper-"+e]?r.setAttribute("data-"+e,""):r.removeAttribute("data-"+e)})),t.attributes.popper={}}}}];P()&&l&&u.push({name:"arrow",options:{element:l,padding:3}}),u.push.apply(u,(null==r?void 0:r.modifiers)||[]),b.popperInstance=Ku(c,w,Object.assign({},r,{placement:n,onFirstUpdate:o,modifiers:u}))}function Z(){b.popperInstance&&(b.popperInstance.destroy(),b.popperInstance=null)}function K(){return dp(w.querySelectorAll("[data-tippy-root]"))}function ee(e){b.clearDelayTimeouts(),e&&D("onTrigger",[b,e]),j();var t=F(!0),n=C(),i=n[0],a=n[1];bp.isTouch&&"hold"===i&&a&&(t=a),t?r=setTimeout((function(){b.show()}),t):b.show()}function te(e){if(b.clearDelayTimeouts(),D("onUntrigger",[b,e]),b.state.isVisible){if(!(b.props.trigger.indexOf("mouseenter")>=0&&b.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(e.type)>=0&&p)){var t=F(!1);t?n=setTimeout((function(){b.state.isVisible&&b.hide()}),t):i=requestAnimationFrame((function(){b.hide()}))}}else z()}}function Lp(e,t){void 0===t&&(t={});var r=Ap.plugins.concat(t.plugins||[]);document.addEventListener("touchstart",Ep,ip),window.addEventListener("blur",Sp);var n,i=Object.assign({},t,{plugins:r}),a=(n=e,hp(n)?[n]:function(e){return op(e,"NodeList")}(n)?dp(n):Array.isArray(n)?n:dp(document.querySelectorAll(n))).reduce((function(e,t){var r=t&&Rp(t,i);return r&&e.push(r),e}),[]);return hp(e)?a[0]:a}Lp.defaultProps=Ap,Lp.setDefaultProps=function(e){Object.keys(e).forEach((function(t){Ap[t]=e[t]}))},Lp.currentInput=bp,Object.assign({},Ru,{effect:function(e){var t=e.state,r={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(t.elements.popper.style,r.popper),t.styles=r,t.elements.arrow&&Object.assign(t.elements.arrow.style,r.arrow)}}),Lp.setDefaultProps({animation:!1});const Op=Lp;function Vp(e,t){if(null==e)return{};var r,n,i={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}var Np="undefined"!=typeof window&&"undefined"!=typeof document;function Bp(e,t){e&&("function"==typeof e&&e(t),{}.hasOwnProperty.call(e,"current")&&(e.current=t))}function jp(){return Np&&document.createElement("div")}function zp(e,t){if(e===t)return!0;if("object"==typeof e&&null!=e&&"object"==typeof t&&null!=t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var r in e){if(!t.hasOwnProperty(r))return!1;if(!zp(e[r],t[r]))return!1}return!0}return!1}function Hp(e){var t=[];return e.forEach((function(e){t.find((function(t){return zp(e,t)}))||t.push(e)})),t}var Gp=Np?i.useLayoutEffect:i.useEffect;function Wp(e,t,r){r.split(/\s+/).forEach((function(r){r&&e.classList[t](r)}))}var qp={name:"className",defaultValue:"",fn:function(e){var t=e.popper.firstElementChild,r=function(){var t;return!!(null==(t=e.props.render)?void 0:t.$$tippy)};function n(){e.props.className&&!r()||Wp(t,"add",e.props.className)}return{onCreate:n,onBeforeUpdate:function(){r()&&Wp(t,"remove",e.props.className)},onAfterUpdate:n}}};function Up(e){return function(t){var r,n,a=t.children,l=t.content,c=t.visible,u=t.singleton,p=t.render,d=t.reference,f=t.disabled,h=void 0!==f&&f,m=t.ignoreAttributes,g=void 0===m||m,y=(t.__source,t.__self,Vp(t,["children","content","visible","singleton","render","reference","disabled","ignoreAttributes","__source","__self"])),v=void 0!==c,b=void 0!==u,x=(0,i.useState)(!1),w=x[0],E=x[1],k=(0,i.useState)({}),S=k[0],C=k[1],A=(0,i.useState)(),P=A[0],_=A[1],T=(r=function(){return{container:jp(),renders:1}},(n=(0,i.useRef)()).current||(n.current="function"==typeof r?r():r),n.current),I=Object.assign({ignoreAttributes:g},y,{content:T.container});v&&(I.trigger="manual",I.hideOnClick=!1),b&&(h=!0);var F=I,M=I.plugins||[];p&&(F=Object.assign({},I,{plugins:b&&null!=u.data?[].concat(M,[{fn:function(){return{onTrigger:function(e,t){var r=u.data.children.find((function(e){return e.instance.reference===t.currentTarget}));e.state.$$activeSingletonInstance=r.instance,_(r.content)}}}}]):M,render:function(){return{popper:T.container}}}));var D=[d].concat(a?[a.type]:[]);return Gp((function(){var t=d;d&&d.hasOwnProperty("current")&&(t=d.current);var r=e(t||T.ref||jp(),Object.assign({},F,{plugins:[qp].concat(I.plugins||[])}));return T.instance=r,h&&r.disable(),c&&r.show(),b&&u.hook({instance:r,content:l,props:F,setSingletonContent:_}),E(!0),function(){r.destroy(),null==u||u.cleanup(r)}}),D),Gp((function(){var e,t,r,n,i;if(1!==T.renders){var a=T.instance;a.setProps((t=a.props,r=F,Object.assign({},r,{popperOptions:Object.assign({},t.popperOptions,r.popperOptions,{modifiers:Hp([].concat((null==(n=t.popperOptions)?void 0:n.modifiers)||[],(null==(i=r.popperOptions)?void 0:i.modifiers)||[]))})}))),null==(e=a.popperInstance)||e.forceUpdate(),h?a.disable():a.enable(),v&&(c?a.show():a.hide()),b&&u.hook({instance:a,content:l,props:F,setSingletonContent:_})}else T.renders++})),Gp((function(){var e;if(p){var t=T.instance;t.setProps({popperOptions:Object.assign({},t.props.popperOptions,{modifiers:[].concat(((null==(e=t.props.popperOptions)?void 0:e.modifiers)||[]).filter((function(e){return"$$tippyReact"!==e.name})),[{name:"$$tippyReact",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(e){var t,r=e.state,n=null==(t=r.modifiersData)?void 0:t.hide;S.placement===r.placement&&S.referenceHidden===(null==n?void 0:n.isReferenceHidden)&&S.escaped===(null==n?void 0:n.hasPopperEscaped)||C({placement:r.placement,referenceHidden:null==n?void 0:n.isReferenceHidden,escaped:null==n?void 0:n.hasPopperEscaped}),r.attributes.popper={}}}])})})}}),[S.placement,S.referenceHidden,S.escaped].concat(D)),s().createElement(s().Fragment,null,a?(0,i.cloneElement)(a,{ref:function(e){T.ref=e,Bp(a.ref,e)}}):null,w&&(0,o.createPortal)(p?p(function(e){var t={"data-placement":e.placement};return e.referenceHidden&&(t["data-reference-hidden"]=""),e.escaped&&(t["data-escaped"]=""),t}(S),P,T.instance):l,T.container))}}var Xp=function(e,t){return(0,i.forwardRef)((function(r,n){var a=r.children,o=Vp(r,["children"]);return s().createElement(e,Object.assign({},t,o),a?(0,i.cloneElement)(a,{ref:function(e){Bp(n,e),Bp(a.ref,e)}}):null)}))};const Qp=Xp(Up(Op),{render:function(){return""}});var $p=function(e,t){return $p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},$p(e,t)};function Jp(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}$p(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}var Yp=function(){return Yp=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},Yp.apply(this,arguments)};function Zp(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]])}return r}function Kp(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,a=r.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(n=a.next()).done;)s.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=a.return)&&r.call(a)}finally{if(i)throw i.error}}return s}function ed(e,t,r){if(r||2===arguments.length)for(var n,i=0,a=t.length;i<a;i++)!n&&i in t||(n||(n=Array.prototype.slice.call(t,0,i)),n[i]=t[i]);return e.concat(n||Array.prototype.slice.call(t))}Object.create,Object.create,"function"==typeof SuppressedError&&SuppressedError;var td=("undefined"==typeof process||process.env,"production"),rd=function(e){return{isEnabled:function(t){return e.some((function(e){return!!t[e]}))}}},nd={measureLayout:rd(["layout","layoutId","drag"]),animation:rd(["animate","exit","variants","whileHover","whileTap","whileFocus","whileDrag","whileInView"]),exit:rd(["exit"]),drag:rd(["drag","dragControls"]),focus:rd(["whileFocus"]),hover:rd(["whileHover","onHoverStart","onHoverEnd"]),tap:rd(["whileTap","onTap","onTapStart","onTapCancel"]),pan:rd(["onPan","onPanStart","onPanSessionStart","onPanEnd"]),inView:rd(["whileInView","onViewportEnter","onViewportLeave"])},id=function(){},ad=function(){},sd=(0,i.createContext)({strict:!1}),od=Object.keys(nd),ld=od.length,cd=(0,i.createContext)({transformPagePoint:function(e){return e},isStatic:!1,reducedMotion:"never"}),ud=(0,i.createContext)({}),pd=(0,i.createContext)(null),dd="undefined"!=typeof document,fd=dd?i.useLayoutEffect:i.useEffect,hd={current:null},md=!1;function gd(e,t,r,n){var a,s,o=(0,i.useContext)(sd),l=(0,i.useContext)(ud).visualElement,c=(0,i.useContext)(pd),u=(!md&&function(){if(md=!0,dd)if(window.matchMedia){var e=window.matchMedia("(prefers-reduced-motion)"),t=function(){return hd.current=e.matches};e.addListener(t),t()}else hd.current=!1}(),a=Kp((0,i.useState)(hd.current),1)[0],"never"!==(s=(0,i.useContext)(cd).reducedMotion)&&("always"===s||a)),p=(0,i.useRef)(void 0);n||(n=o.renderer),!p.current&&n&&(p.current=n(e,{visualState:t,parent:l,props:r,presenceId:null==c?void 0:c.id,blockInitialAnimation:!1===(null==c?void 0:c.initial),shouldReduceMotion:u}));var d=p.current;return fd((function(){null==d||d.syncRender()})),(0,i.useEffect)((function(){var e;null===(e=null==d?void 0:d.animationState)||void 0===e||e.animateChanges()})),fd((function(){return function(){return null==d?void 0:d.notifyUnmount()}}),[]),d}function yd(e){return"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}function vd(e){return Array.isArray(e)}function bd(e){return"string"==typeof e||vd(e)}function xd(e,t,r,n,i){var a;return void 0===n&&(n={}),void 0===i&&(i={}),"function"==typeof t&&(t=t(null!=r?r:e.custom,n,i)),"string"==typeof t&&(t=null===(a=e.variants)||void 0===a?void 0:a[t]),"function"==typeof t&&(t=t(null!=r?r:e.custom,n,i)),t}function wd(e,t,r){var n=e.getProps();return xd(n,t,null!=r?r:n.custom,function(e){var t={};return e.forEachValue((function(e,r){return t[r]=e.get()})),t}(e),function(e){var t={};return e.forEachValue((function(e,r){return t[r]=e.getVelocity()})),t}(e))}function Ed(e){var t;return"function"==typeof(null===(t=e.animate)||void 0===t?void 0:t.start)||bd(e.initial)||bd(e.animate)||bd(e.whileHover)||bd(e.whileDrag)||bd(e.whileTap)||bd(e.whileFocus)||bd(e.exit)}function kd(e){return Boolean(Ed(e)||e.variants)}function Sd(e){return Array.isArray(e)?e.join(" "):e}function Cd(e){var t=(0,i.useRef)(null);return null===t.current&&(t.current=e()),t.current}var Ad={hasAnimatedSinceResize:!0,hasEverUpdated:!1},Pd=1,_d=(0,i.createContext)({}),Td=(0,i.createContext)({}),Id=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Jp(t,e),t.prototype.getSnapshotBeforeUpdate=function(){return this.updateProps(),null},t.prototype.componentDidUpdate=function(){},t.prototype.updateProps=function(){var e=this.props,t=e.visualElement,r=e.props;t&&t.setProps(r)},t.prototype.render=function(){return this.props.children},t}(i.Component);function Fd(e){var t=e.preloadedFeatures,r=e.createVisualElement,n=e.projectionNodeConstructor,a=e.useRender,s=e.useVisualState,o=e.Component;return t&&function(e){for(var t in e)null!==e[t]&&("projectionNodeConstructor"===t?nd.projectionNodeConstructor=e[t]:nd[t].Component=e[t])}(t),(0,i.forwardRef)((function(e,l){var c=function(e){var t,r=e.layoutId,n=null===(t=(0,i.useContext)(_d))||void 0===t?void 0:t.id;return n&&void 0!==r?n+"-"+r:r}(e);e=Yp(Yp({},e),{layoutId:c});var u=(0,i.useContext)(cd),p=null,d=function(e){var t=function(e,t){if(Ed(e)){var r=e.initial,n=e.animate;return{initial:!1===r||bd(r)?r:void 0,animate:bd(n)?n:void 0}}return!1!==e.inherit?t:{}}(e,(0,i.useContext)(ud)),r=t.initial,n=t.animate;return(0,i.useMemo)((function(){return{initial:r,animate:n}}),[Sd(r),Sd(n)])}(e),f=u.isStatic?void 0:Cd((function(){if(Ad.hasEverUpdated)return Pd++})),h=s(e,u.isStatic);return!u.isStatic&&dd&&(d.visualElement=gd(o,h,Yp(Yp({},u),e),r),function(e,t,r,n){var a,s=t.layoutId,o=t.layout,l=t.drag,c=t.dragConstraints,u=t.layoutScroll,p=(0,i.useContext)(Td);n&&r&&!(null==r?void 0:r.projection)&&(r.projection=new n(e,r.getLatestValues(),null===(a=r.parent)||void 0===a?void 0:a.projection),r.projection.setOptions({layoutId:s,layout:o,alwaysMeasureLayout:Boolean(l)||c&&yd(c),visualElement:r,scheduleRender:function(){return r.scheduleRender()},animationType:"string"==typeof o?o:"both",initialPromotionConfig:p,layoutScroll:u}))}(f,e,d.visualElement,n||nd.projectionNodeConstructor),p=function(e,t,r){var n=[],a=(0,i.useContext)(sd);if(!t)return null;"production"!==td&&r&&a.strict&&ad(!1,"You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.");for(var s=0;s<ld;s++){var o=od[s],l=nd[o],c=l.isEnabled,u=l.Component;c(e)&&u&&n.push(i.createElement(u,Yp({key:o},e,{visualElement:t})))}return n}(e,d.visualElement,t)),i.createElement(Id,{visualElement:d.visualElement,props:Yp(Yp({},u),e)},p,i.createElement(ud.Provider,{value:d},a(o,e,f,function(e,t,r){return(0,i.useCallback)((function(n){var i;n&&(null===(i=e.mount)||void 0===i||i.call(e,n)),t&&(n?t.mount(n):t.unmount()),r&&("function"==typeof r?r(n):yd(r)&&(r.current=n))}),[t])}(h,d.visualElement,l),h,u.isStatic,d.visualElement)))}))}function Md(e){function t(t,r){return void 0===r&&(r={}),Fd(e(t,r))}if("undefined"==typeof Proxy)return t;var r=new Map;return new Proxy(t,{get:function(e,n){return r.has(n)||r.set(n,t(n)),r.get(n)}})}var Dd=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","svg","switch","symbol","text","tspan","use","view"];function Rd(e){return"string"==typeof e&&!e.includes("-")&&!!(Dd.indexOf(e)>-1||/[A-Z]/.test(e))}var Ld={},Od=["","X","Y","Z"],Vd=["transformPerspective","x","y","z"];function Nd(e,t){return Vd.indexOf(e)-Vd.indexOf(t)}["translate","scale","rotate","skew"].forEach((function(e){return Od.forEach((function(t){return Vd.push(e+t)}))}));var Bd=new Set(Vd);function jd(e){return Bd.has(e)}var zd=new Set(["originX","originY","originZ"]);function Hd(e){return zd.has(e)}function Gd(e,t){var r=t.layout,n=t.layoutId;return jd(e)||Hd(e)||(r||void 0!==n)&&(!!Ld[e]||"opacity"===e)}var Wd=function(e){return Boolean(null!==e&&"object"==typeof e&&e.getVelocity)},qd={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"};function Ud(e){return e.startsWith("--")}var Xd=function(e,t){return t&&"number"==typeof e?t.transform(e):e};const Qd=(e,t)=>r=>Math.max(Math.min(r,t),e),$d=e=>e%1?Number(e.toFixed(5)):e,Jd=/(-)?([\d]*\.?[\d])+/g,Yd=/(#[0-9a-f]{6}|#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2,3}\s*\/*\s*[\d\.]+%?\))/gi,Zd=/^(#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2,3}\s*\/*\s*[\d\.]+%?\))$/i;function Kd(e){return"string"==typeof e}const ef=e=>({test:t=>Kd(t)&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>`${t}${e}`}),tf=ef("deg"),rf=ef("%"),nf=ef("px"),af=ef("vh"),sf=ef("vw"),of=Object.assign(Object.assign({},rf),{parse:e=>rf.parse(e)/100,transform:e=>rf.transform(100*e)}),lf={test:e=>"number"==typeof e,parse:parseFloat,transform:e=>e},cf=Object.assign(Object.assign({},lf),{transform:Qd(0,1)}),uf=Object.assign(Object.assign({},lf),{default:1});var pf=Yp(Yp({},lf),{transform:Math.round}),df={borderWidth:nf,borderTopWidth:nf,borderRightWidth:nf,borderBottomWidth:nf,borderLeftWidth:nf,borderRadius:nf,radius:nf,borderTopLeftRadius:nf,borderTopRightRadius:nf,borderBottomRightRadius:nf,borderBottomLeftRadius:nf,width:nf,maxWidth:nf,height:nf,maxHeight:nf,size:nf,top:nf,right:nf,bottom:nf,left:nf,padding:nf,paddingTop:nf,paddingRight:nf,paddingBottom:nf,paddingLeft:nf,margin:nf,marginTop:nf,marginRight:nf,marginBottom:nf,marginLeft:nf,rotate:tf,rotateX:tf,rotateY:tf,rotateZ:tf,scale:uf,scaleX:uf,scaleY:uf,scaleZ:uf,skew:tf,skewX:tf,skewY:tf,distance:nf,translateX:nf,translateY:nf,translateZ:nf,x:nf,y:nf,z:nf,perspective:nf,transformPerspective:nf,opacity:cf,originX:of,originY:of,originZ:nf,zIndex:pf,fillOpacity:cf,strokeOpacity:cf,numOctaves:pf};function ff(e,t,r,n){var i,a=e.style,s=e.vars,o=e.transform,l=e.transformKeys,c=e.transformOrigin;l.length=0;var u=!1,p=!1,d=!0;for(var f in t){var h=t[f];if(Ud(f))s[f]=h;else{var m=df[f],g=Xd(h,m);if(jd(f)){if(u=!0,o[f]=g,l.push(f),!d)continue;h!==(null!==(i=m.default)&&void 0!==i?i:0)&&(d=!1)}else Hd(f)?(c[f]=g,p=!0):a[f]=g}}u?a.transform=function(e,t,r,n){var i=e.transform,a=e.transformKeys,s=t.enableHardwareAcceleration,o=void 0===s||s,l=t.allowTransformNone,c=void 0===l||l,u="";a.sort(Nd);for(var p=!1,d=a.length,f=0;f<d;f++){var h=a[f];u+="".concat(qd[h]||h,"(").concat(i[h],") "),"z"===h&&(p=!0)}return!p&&o?u+="translateZ(0)":u=u.trim(),n?u=n(i,r?"":u):c&&r&&(u="none"),u}(e,r,d,n):n?a.transform=n({},""):!t.transform&&a.transform&&(a.transform="none"),p&&(a.transformOrigin=function(e){var t=e.originX,r=void 0===t?"50%":t,n=e.originY,i=void 0===n?"50%":n,a=e.originZ,s=void 0===a?0:a;return"".concat(r," ").concat(i," ").concat(s)}(c))}var hf=function(){return{style:{},transform:{},transformKeys:[],transformOrigin:{},vars:{}}};function mf(e,t,r){for(var n in t)Wd(t[n])||Gd(n,r)||(e[n]=t[n])}function gf(e,t,r){var n={},a=function(e,t,r){var n={};return mf(n,e.style||{},e),Object.assign(n,function(e,t,r){var n=e.transformTemplate;return(0,i.useMemo)((function(){var e=hf();ff(e,t,{enableHardwareAcceleration:!r},n);var i=e.vars,a=e.style;return Yp(Yp({},i),a)}),[t])}(e,t,r)),e.transformValues&&(n=e.transformValues(n)),n}(e,t,r);return Boolean(e.drag)&&!1!==e.dragListener&&(n.draggable=!1,a.userSelect=a.WebkitUserSelect=a.WebkitTouchCallout="none",a.touchAction=!0===e.drag?"none":"pan-".concat("x"===e.drag?"y":"x")),n.style=a,n}var yf=new Set(["initial","animate","exit","style","variants","transition","transformTemplate","transformValues","custom","inherit","layout","layoutId","layoutDependency","onLayoutAnimationStart","onLayoutAnimationComplete","onLayoutMeasure","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","drag","dragControls","dragListener","dragConstraints","dragDirectionLock","dragSnapToOrigin","_dragX","_dragY","dragElastic","dragMomentum","dragPropagation","dragTransition","whileDrag","onPan","onPanStart","onPanEnd","onPanSessionStart","onTap","onTapStart","onTapCancel","onHoverStart","onHoverEnd","whileFocus","whileTap","whileHover","whileInView","onViewportEnter","onViewportLeave","viewport","layoutScroll"]);function vf(e){return yf.has(e)}var bf,xf=function(e){return!vf(e)};try{(bf=require("@emotion/is-prop-valid").default)&&(xf=function(e){return e.startsWith("on")?!vf(e):bf(e)})}catch(e){}function wf(e,t,r){return"string"==typeof e?e:nf.transform(t+r*e)}var Ef={offset:"stroke-dashoffset",array:"stroke-dasharray"},kf={offset:"strokeDashoffset",array:"strokeDasharray"};function Sf(e,t,r,n){var i=t.attrX,a=t.attrY,s=t.originX,o=t.originY,l=t.pathLength,c=t.pathSpacing,u=void 0===c?1:c,p=t.pathOffset,d=void 0===p?0:p;ff(e,Zp(t,["attrX","attrY","originX","originY","pathLength","pathSpacing","pathOffset"]),r,n),e.attrs=e.style,e.style={};var f=e.attrs,h=e.style,m=e.dimensions;f.transform&&(m&&(h.transform=f.transform),delete f.transform),m&&(void 0!==s||void 0!==o||h.transform)&&(h.transformOrigin=function(e,t,r){var n=wf(t,e.x,e.width),i=wf(r,e.y,e.height);return"".concat(n," ").concat(i)}(m,void 0!==s?s:.5,void 0!==o?o:.5)),void 0!==i&&(f.x=i),void 0!==a&&(f.y=a),void 0!==l&&function(e,t,r,n,i){void 0===r&&(r=1),void 0===n&&(n=0),void 0===i&&(i=!0),e.pathLength=1;var a=i?Ef:kf;e[a.offset]=nf.transform(-n);var s=nf.transform(t),o=nf.transform(r);e[a.array]="".concat(s," ").concat(o)}(f,l,u,d,!1)}var Cf=function(){return Yp(Yp({},hf()),{attrs:{}})};function Af(e,t){var r=(0,i.useMemo)((function(){var r=Cf();return Sf(r,t,{enableHardwareAcceleration:!1},e.transformTemplate),Yp(Yp({},r.attrs),{style:Yp({},r.style)})}),[t]);if(e.style){var n={};mf(n,e.style,e),r.style=Yp(Yp({},n),r.style)}return r}function Pf(e){return void 0===e&&(e=!1),function(t,r,n,a,s,o){var l=s.latestValues,c=(Rd(t)?Af:gf)(r,l,o),u=function(e,t,r){var n={};for(var i in e)(xf(i)||!0===r&&vf(i)||!t&&!vf(i)||e.draggable&&i.startsWith("onDrag"))&&(n[i]=e[i]);return n}(r,"string"==typeof t,e),p=Yp(Yp(Yp({},u),c),{ref:a});return n&&(p["data-projection-id"]=n),(0,i.createElement)(t,p)}}var _f=/([a-z])([A-Z])/g,Tf=function(e){return e.replace(_f,"$1-$2").toLowerCase()};function If(e,t,r,n){var i=t.style,a=t.vars;for(var s in Object.assign(e.style,i,n&&n.getProjectionStyles(r)),a)e.style.setProperty(s,a[s])}var Ff=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength"]);function Mf(e,t,r,n){for(var i in If(e,t,void 0,n),t.attrs)e.setAttribute(Ff.has(i)?i:Tf(i),t.attrs[i])}function Df(e){var t=e.style,r={};for(var n in t)(Wd(t[n])||Gd(n,e))&&(r[n]=t[n]);return r}function Rf(e){var t=Df(e);for(var r in e)Wd(e[r])&&(t["x"===r||"y"===r?"attr"+r.toUpperCase():r]=e[r]);return t}function Lf(e){return"object"==typeof e&&"function"==typeof e.start}var Of=function(e){return Array.isArray(e)},Vf=function(e){return Boolean(e&&"object"==typeof e&&e.mix&&e.toValue)},Nf=function(e){return Of(e)?e[e.length-1]||0:e};function Bf(e){var t=Wd(e)?e.get():e;return Vf(t)?t.toValue():t}function jf(e,t,r,n){var i=e.scrapeMotionValuesFromProps,a=e.createRenderState,s=e.onMount,o={latestValues:Hf(t,r,n,i),renderState:a()};return s&&(o.mount=function(e){return s(t,e,o)}),o}var zf=function(e){return function(t,r){var n=(0,i.useContext)(ud),a=(0,i.useContext)(pd);return r?jf(e,t,n,a):Cd((function(){return jf(e,t,n,a)}))}};function Hf(e,t,r,n){var i={},a=!1===(null==r?void 0:r.initial),s=n(e);for(var o in s)i[o]=Bf(s[o]);var l=e.initial,c=e.animate,u=Ed(e),p=kd(e);t&&p&&!u&&!1!==e.inherit&&(null!=l||(l=t.initial),null!=c||(c=t.animate));var d=a||!1===l,f=d?c:l;return f&&"boolean"!=typeof f&&!Lf(f)&&(Array.isArray(f)?f:[f]).forEach((function(t){var r=xd(e,t);if(r){var n=r.transitionEnd;r.transition;var a=Zp(r,["transitionEnd","transition"]);for(var s in a){var o=a[s];Array.isArray(o)&&(o=o[d?o.length-1:0]),null!==o&&(i[s]=o)}for(var s in n)i[s]=n[s]}})),i}var Gf,Wf={useVisualState:zf({scrapeMotionValuesFromProps:Rf,createRenderState:Cf,onMount:function(e,t,r){var n=r.renderState,i=r.latestValues;try{n.dimensions="function"==typeof t.getBBox?t.getBBox():t.getBoundingClientRect()}catch(e){n.dimensions={x:0,y:0,width:0,height:0}}Sf(n,i,{enableHardwareAcceleration:!1},e.transformTemplate),Mf(t,n)}})},qf={useVisualState:zf({scrapeMotionValuesFromProps:Df,createRenderState:hf})};function Uf(e,t,r,n){return void 0===n&&(n={passive:!0}),e.addEventListener(t,r,n),function(){return e.removeEventListener(t,r)}}function Xf(e,t,r,n){(0,i.useEffect)((function(){var i=e.current;if(r&&i)return Uf(i,t,r,n)}),[e,t,r,n])}function Qf(e){return"undefined"!=typeof PointerEvent&&e instanceof PointerEvent?!("mouse"!==e.pointerType):e instanceof MouseEvent}function $f(e){return!!e.touches}!function(e){e.Animate="animate",e.Hover="whileHover",e.Tap="whileTap",e.Drag="whileDrag",e.Focus="whileFocus",e.InView="whileInView",e.Exit="exit"}(Gf||(Gf={}));var Jf={pageX:0,pageY:0};function Yf(e,t){void 0===t&&(t="page");var r=e.touches[0]||e.changedTouches[0]||Jf;return{x:r[t+"X"],y:r[t+"Y"]}}function Zf(e,t){return void 0===t&&(t="page"),{x:e[t+"X"],y:e[t+"Y"]}}function Kf(e,t){return void 0===t&&(t="page"),{point:$f(e)?Yf(e,t):Zf(e,t)}}var eh=function(e,t){void 0===t&&(t=!1);var r,n=function(t){return e(t,Kf(t))};return t?(r=n,function(e){var t=e instanceof MouseEvent;(!t||t&&0===e.button)&&r(e)}):n},th=function(){return dd&&null===window.onpointerdown},rh=function(){return dd&&null===window.ontouchstart},nh=function(){return dd&&null===window.onmousedown},ih={pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointercancel:"mousecancel",pointerover:"mouseover",pointerout:"mouseout",pointerenter:"mouseenter",pointerleave:"mouseleave"},ah={pointerdown:"touchstart",pointermove:"touchmove",pointerup:"touchend",pointercancel:"touchcancel"};function sh(e){return th()?e:rh()?ah[e]:nh()?ih[e]:e}function oh(e,t,r,n){return Uf(e,sh(t),eh(r,"pointerdown"===t),n)}function lh(e,t,r,n){return Xf(e,sh(t),r&&eh(r,"pointerdown"===t),n)}function ch(e){var t=null;return function(){return null===t&&(t=e,function(){t=null})}}var uh=ch("dragHorizontal"),ph=ch("dragVertical");function dh(e){var t=!1;if("y"===e)t=ph();else if("x"===e)t=uh();else{var r=uh(),n=ph();r&&n?t=function(){r(),n()}:(r&&r(),n&&n())}return t}function fh(){var e=dh(!0);return!e||(e(),!1)}function hh(e,t,r){return function(n,i){var a;Qf(n)&&!fh()&&(null===(a=e.animationState)||void 0===a||a.setActive(Gf.Hover,t),null==r||r(n,i))}}var mh=function(e,t){return!!t&&(e===t||mh(e,t.parentElement))};function gh(e){return(0,i.useEffect)((function(){return function(){return e()}}),[])}const yh=(e,t)=>r=>t(e(r)),vh=(...e)=>e.reduce(yh);var bh=new Set,xh=new WeakMap,wh=new WeakMap,Eh=function(e){var t;null===(t=xh.get(e.target))||void 0===t||t(e)},kh=function(e){e.forEach(Eh)};var Sh={some:0,all:1};function Ch(e,t,r,n){var a=n.root,s=n.margin,o=n.amount,l=void 0===o?"some":o,c=n.once;(0,i.useEffect)((function(){if(e){var n={root:null==a?void 0:a.current,rootMargin:s,threshold:"number"==typeof l?l:Sh[l]};return function(e,t,r){var n=function(e){var t=e.root,r=Zp(e,["root"]),n=t||document;wh.has(n)||wh.set(n,{});var i=wh.get(n),a=JSON.stringify(r);return i[a]||(i[a]=new IntersectionObserver(kh,Yp({root:t},r))),i[a]}(t);return xh.set(e,r),n.observe(e),function(){xh.delete(e),n.unobserve(e)}}(r.getInstance(),n,(function(e){var n,i=e.isIntersecting;if(t.isInView!==i&&(t.isInView=i,!c||i||!t.hasEnteredView)){i&&(t.hasEnteredView=!0),null===(n=r.animationState)||void 0===n||n.setActive(Gf.InView,i);var a=r.getProps(),s=i?a.onViewportEnter:a.onViewportLeave;null==s||s(e)}}))}}),[e,a,s,l])}function Ah(e,t,r,n){var a=n.fallback,s=void 0===a||a;(0,i.useEffect)((function(){var n;e&&s&&("production"!==td&&(n="IntersectionObserver not available on this device. whileInView animations will trigger on mount.",bh.has(n)||(console.warn(n),bh.add(n))),requestAnimationFrame((function(){var e;t.hasEnteredView=!0;var n=r.getProps().onViewportEnter;null==n||n(null),null===(e=r.animationState)||void 0===e||e.setActive(Gf.InView,!0)})))}),[e])}var Ph=function(e){return function(t){return e(t),null}},_h={inView:Ph((function(e){var t=e.visualElement,r=e.whileInView,n=e.onViewportEnter,a=e.onViewportLeave,s=e.viewport,o=void 0===s?{}:s,l=(0,i.useRef)({hasEnteredView:!1,isInView:!1}),c=Boolean(r||n||a);o.once&&l.current.hasEnteredView&&(c=!1),("undefined"==typeof IntersectionObserver?Ah:Ch)(c,l.current,t,o)})),tap:Ph((function(e){var t=e.onTap,r=e.onTapStart,n=e.onTapCancel,a=e.whileTap,s=e.visualElement,o=t||r||n||a,l=(0,i.useRef)(!1),c=(0,i.useRef)(null),u={passive:!(r||t||n||m)};function p(){var e;null===(e=c.current)||void 0===e||e.call(c),c.current=null}function d(){var e;return p(),l.current=!1,null===(e=s.animationState)||void 0===e||e.setActive(Gf.Tap,!1),!fh()}function f(e,r){d()&&(mh(s.getInstance(),e.target)?null==t||t(e,r):null==n||n(e,r))}function h(e,t){d()&&(null==n||n(e,t))}function m(e,t){var n;p(),l.current||(l.current=!0,c.current=vh(oh(window,"pointerup",f,u),oh(window,"pointercancel",h,u)),null===(n=s.animationState)||void 0===n||n.setActive(Gf.Tap,!0),null==r||r(e,t))}lh(s,"pointerdown",o?m:void 0,u),gh(p)})),focus:Ph((function(e){var t=e.whileFocus,r=e.visualElement;Xf(r,"focus",t?function(){var e;null===(e=r.animationState)||void 0===e||e.setActive(Gf.Focus,!0)}:void 0),Xf(r,"blur",t?function(){var e;null===(e=r.animationState)||void 0===e||e.setActive(Gf.Focus,!1)}:void 0)})),hover:Ph((function(e){var t=e.onHoverStart,r=e.onHoverEnd,n=e.whileHover,i=e.visualElement;lh(i,"pointerenter",t||n?hh(i,!0,t):void 0,{passive:!t}),lh(i,"pointerleave",r||n?hh(i,!1,r):void 0,{passive:!r})}))},Th=0,Ih=function(){return Th++};function Fh(){var e=(0,i.useContext)(pd);if(null===e)return[!0,null];var t=e.isPresent,r=e.onExitComplete,n=e.register,a=Cd(Ih);return(0,i.useEffect)((function(){return n(a)}),[]),!t&&r?[!1,function(){return null==r?void 0:r(a)}]:[!0]}function Mh(e,t){if(!Array.isArray(t))return!1;var r=t.length;if(r!==e.length)return!1;for(var n=0;n<r;n++)if(t[n]!==e[n])return!1;return!0}const Dh=(e,t,r)=>Math.min(Math.max(r,e),t),Rh=.001,Lh=.01,Oh=10,Vh=.05,Nh=1;const Bh=12;function jh(e,t){return e*Math.sqrt(1-t*t)}const zh=["duration","bounce"],Hh=["stiffness","damping","mass"];function Gh(e,t){return t.some((t=>void 0!==e[t]))}function Wh(e){var{from:t=0,to:r=1,restSpeed:n=2,restDelta:i}=e,a=Zp(e,["from","to","restSpeed","restDelta"]);const s={done:!1,value:t};let{stiffness:o,damping:l,mass:c,velocity:u,duration:p,isResolvedFromDuration:d}=function(e){let t=Object.assign({velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1},e);if(!Gh(e,Hh)&&Gh(e,zh)){const r=function({duration:e=800,bounce:t=.25,velocity:r=0,mass:n=1}){let i,a;id(e<=1e3*Oh,"Spring duration must be 10 seconds or less");let s=1-t;s=Dh(Vh,Nh,s),e=Dh(Lh,Oh,e/1e3),s<1?(i=t=>{const n=t*s,i=n*e,a=n-r,o=jh(t,s),l=Math.exp(-i);return Rh-a/o*l},a=t=>{const n=t*s*e,a=n*r+r,o=Math.pow(s,2)*Math.pow(t,2)*e,l=Math.exp(-n),c=jh(Math.pow(t,2),s);return(-i(t)+Rh>0?-1:1)*((a-o)*l)/c}):(i=t=>Math.exp(-t*e)*((t-r)*e+1)-Rh,a=t=>Math.exp(-t*e)*(e*e*(r-t)));const o=function(e,t,r){let n=r;for(let r=1;r<Bh;r++)n-=e(n)/t(n);return n}(i,a,5/e);if(e*=1e3,isNaN(o))return{stiffness:100,damping:10,duration:e};{const t=Math.pow(o,2)*n;return{stiffness:t,damping:2*s*Math.sqrt(n*t),duration:e}}}(e);t=Object.assign(Object.assign(Object.assign({},t),r),{velocity:0,mass:1}),t.isResolvedFromDuration=!0}return t}(a),f=qh,h=qh;function m(){const e=u?-u/1e3:0,n=r-t,a=l/(2*Math.sqrt(o*c)),s=Math.sqrt(o/c)/1e3;if(void 0===i&&(i=Math.min(Math.abs(r-t)/100,.4)),a<1){const t=jh(s,a);f=i=>{const o=Math.exp(-a*s*i);return r-o*((e+a*s*n)/t*Math.sin(t*i)+n*Math.cos(t*i))},h=r=>{const i=Math.exp(-a*s*r);return a*s*i*(Math.sin(t*r)*(e+a*s*n)/t+n*Math.cos(t*r))-i*(Math.cos(t*r)*(e+a*s*n)-t*n*Math.sin(t*r))}}else if(1===a)f=t=>r-Math.exp(-s*t)*(n+(e+s*n)*t);else{const t=s*Math.sqrt(a*a-1);f=i=>{const o=Math.exp(-a*s*i),l=Math.min(t*i,300);return r-o*((e+a*s*n)*Math.sinh(l)+t*n*Math.cosh(l))/t}}}return m(),{next:e=>{const t=f(e);if(d)s.done=e>=p;else{const a=1e3*h(e),o=Math.abs(a)<=n,l=Math.abs(r-t)<=i;s.done=o&&l}return s.value=s.done?r:t,s},flipTarget:()=>{u=-u,[t,r]=[r,t],m()}}}Wh.needsInterpolation=(e,t)=>"string"==typeof e||"string"==typeof t;const qh=e=>0,Uh=(e,t,r)=>{const n=t-e;return 0===n?1:(r-e)/n},Xh=(e,t,r)=>-r*e+r*t+e,Qh=(e,t)=>r=>Boolean(Kd(r)&&Zd.test(r)&&r.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(r,t)),$h=(e,t,r)=>n=>{if(!Kd(n))return n;const[i,a,s,o]=n.match(Jd);return{[e]:parseFloat(i),[t]:parseFloat(a),[r]:parseFloat(s),alpha:void 0!==o?parseFloat(o):1}},Jh=Qd(0,255),Yh=Object.assign(Object.assign({},lf),{transform:e=>Math.round(Jh(e))}),Zh={test:Qh("rgb","red"),parse:$h("red","green","blue"),transform:({red:e,green:t,blue:r,alpha:n=1})=>"rgba("+Yh.transform(e)+", "+Yh.transform(t)+", "+Yh.transform(r)+", "+$d(cf.transform(n))+")"},Kh={test:Qh("#"),parse:function(e){let t="",r="",n="",i="";return e.length>5?(t=e.substr(1,2),r=e.substr(3,2),n=e.substr(5,2),i=e.substr(7,2)):(t=e.substr(1,1),r=e.substr(2,1),n=e.substr(3,1),i=e.substr(4,1),t+=t,r+=r,n+=n,i+=i),{red:parseInt(t,16),green:parseInt(r,16),blue:parseInt(n,16),alpha:i?parseInt(i,16)/255:1}},transform:Zh.transform},em={test:Qh("hsl","hue"),parse:$h("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:r,alpha:n=1})=>"hsla("+Math.round(e)+", "+rf.transform($d(t))+", "+rf.transform($d(r))+", "+$d(cf.transform(n))+")"};function tm(e,t,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?e+6*(t-e)*r:r<.5?t:r<2/3?e+(t-e)*(2/3-r)*6:e}function rm({hue:e,saturation:t,lightness:r,alpha:n}){e/=360,r/=100;let i=0,a=0,s=0;if(t/=100){const n=r<.5?r*(1+t):r+t-r*t,o=2*r-n;i=tm(o,n,e+1/3),a=tm(o,n,e),s=tm(o,n,e-1/3)}else i=a=s=r;return{red:Math.round(255*i),green:Math.round(255*a),blue:Math.round(255*s),alpha:n}}const nm=(e,t,r)=>{const n=e*e,i=t*t;return Math.sqrt(Math.max(0,r*(i-n)+n))},im=[Kh,Zh,em],am=e=>im.find((t=>t.test(e))),sm=e=>`'${e}' is not an animatable color. Use the equivalent color code instead.`,om=(e,t)=>{let r=am(e),n=am(t);ad(!!r,sm(e)),ad(!!n,sm(t));let i=r.parse(e),a=n.parse(t);r===em&&(i=rm(i),r=Zh),n===em&&(a=rm(a),n=Zh);const s=Object.assign({},i);return e=>{for(const t in s)"alpha"!==t&&(s[t]=nm(i[t],a[t],e));return s.alpha=Xh(i.alpha,a.alpha,e),r.transform(s)}},lm={test:e=>Zh.test(e)||Kh.test(e)||em.test(e),parse:e=>Zh.test(e)?Zh.parse(e):em.test(e)?em.parse(e):Kh.parse(e),transform:e=>Kd(e)?e:e.hasOwnProperty("red")?Zh.transform(e):em.transform(e)},cm="${c}",um="${n}";function pm(e){"number"==typeof e&&(e=`${e}`);const t=[];let r=0;const n=e.match(Yd);n&&(r=n.length,e=e.replace(Yd,cm),t.push(...n.map(lm.parse)));const i=e.match(Jd);return i&&(e=e.replace(Jd,um),t.push(...i.map(lf.parse))),{values:t,numColors:r,tokenised:e}}function dm(e){return pm(e).values}function fm(e){const{values:t,numColors:r,tokenised:n}=pm(e),i=t.length;return e=>{let t=n;for(let n=0;n<i;n++)t=t.replace(n<r?cm:um,n<r?lm.transform(e[n]):$d(e[n]));return t}}const hm=e=>"number"==typeof e?0:e,mm={test:function(e){var t,r,n,i;return isNaN(e)&&Kd(e)&&(null!==(r=null===(t=e.match(Jd))||void 0===t?void 0:t.length)&&void 0!==r?r:0)+(null!==(i=null===(n=e.match(Yd))||void 0===n?void 0:n.length)&&void 0!==i?i:0)>0},parse:dm,createTransformer:fm,getAnimatableNone:function(e){const t=dm(e);return fm(e)(t.map(hm))}},gm=e=>"number"==typeof e;function ym(e,t){return gm(e)?r=>Xh(e,t,r):lm.test(e)?om(e,t):wm(e,t)}const vm=(e,t)=>{const r=[...e],n=r.length,i=e.map(((e,r)=>ym(e,t[r])));return e=>{for(let t=0;t<n;t++)r[t]=i[t](e);return r}},bm=(e,t)=>{const r=Object.assign(Object.assign({},e),t),n={};for(const i in r)void 0!==e[i]&&void 0!==t[i]&&(n[i]=ym(e[i],t[i]));return e=>{for(const t in n)r[t]=n[t](e);return r}};function xm(e){const t=mm.parse(e),r=t.length;let n=0,i=0,a=0;for(let e=0;e<r;e++)n||"number"==typeof t[e]?n++:void 0!==t[e].hue?a++:i++;return{parsed:t,numNumbers:n,numRGB:i,numHSL:a}}const wm=(e,t)=>{const r=mm.createTransformer(t),n=xm(e),i=xm(t);return n.numHSL===i.numHSL&&n.numRGB===i.numRGB&&n.numNumbers>=i.numNumbers?vh(vm(n.parsed,i.parsed),r):(id(!0,`Complex values '${e}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`),r=>`${r>0?t:e}`)},Em=(e,t)=>r=>Xh(e,t,r);function km(e,t,{clamp:r=!0,ease:n,mixer:i}={}){const a=e.length;ad(a===t.length,"Both input and output ranges must be the same length"),ad(!n||!Array.isArray(n)||n.length===a-1,"Array of easing functions must be of length `input.length - 1`, as it applies to the transitions **between** the defined values."),e[0]>e[a-1]&&(e=[].concat(e),t=[].concat(t),e.reverse(),t.reverse());const s=function(e,t,r){const n=[],i=r||function(e){return"number"==typeof e?Em:"string"==typeof e?lm.test(e)?om:wm:Array.isArray(e)?vm:"object"==typeof e?bm:void 0}(e[0]),a=e.length-1;for(let r=0;r<a;r++){let a=i(e[r],e[r+1]);if(t){const e=Array.isArray(t)?t[r]:t;a=vh(e,a)}n.push(a)}return n}(t,n,i),o=2===a?function([e,t],[r]){return n=>r(Uh(e,t,n))}(e,s):function(e,t){const r=e.length,n=r-1;return i=>{let a=0,s=!1;if(i<=e[0]?s=!0:i>=e[n]&&(a=n-1,s=!0),!s){let t=1;for(;t<r&&!(e[t]>i||t===n);t++);a=t-1}const o=Uh(e[a],e[a+1],i);return t[a](o)}}(e,s);return r?t=>o(Dh(e[0],e[a-1],t)):o}const Sm=e=>t=>1-e(1-t),Cm=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,Am=e=>t=>t*t*((e+1)*t-e),Pm=e=>e,_m=(2,e=>Math.pow(e,2));const Tm=Sm(_m),Im=Cm(_m),Fm=e=>1-Math.sin(Math.acos(e)),Mm=Sm(Fm),Dm=Cm(Mm),Rm=Am(1.525),Lm=Sm(Rm),Om=Cm(Rm),Vm=(e=>{const t=Am(1.525);return e=>(e*=2)<1?.5*t(e):.5*(2-Math.pow(2,-10*(e-1)))})(),Nm=e=>{if(1===e||0===e)return e;const t=e*e;return e<.36363636363636365?7.5625*t:e<.7272727272727273?9.075*t-9.9*e+3.4:e<.9?12.066481994459833*t-19.63545706371191*e+8.898060941828255:10.8*e*e-20.52*e+10.72},Bm=Sm(Nm);function jm(e,t){return e.map((()=>t||Im)).splice(0,e.length-1)}function zm({from:e=0,to:t=1,ease:r,offset:n,duration:i=300}){const a={done:!1,value:e},s=Array.isArray(t)?t:[e,t],o=function(e,t){return e.map((e=>e*t))}(n&&n.length===s.length?n:function(e){const t=e.length;return e.map(((e,r)=>0!==r?r/(t-1):0))}(s),i);function l(){return km(o,s,{ease:Array.isArray(r)?r:jm(s,r)})}let c=l();return{next:e=>(a.value=c(e),a.done=e>=i,a),flipTarget:()=>{s.reverse(),c=l()}}}const Hm={keyframes:zm,spring:Wh,decay:function({velocity:e=0,from:t=0,power:r=.8,timeConstant:n=350,restDelta:i=.5,modifyTarget:a}){const s={done:!1,value:t};let o=r*e;const l=t+o,c=void 0===a?l:a(l);return c!==l&&(o=c-t),{next:e=>{const t=-o*Math.exp(-e/n);return s.done=!(t>i||t<-i),s.value=s.done?c:c+t,s},flipTarget:()=>{}}}},Gm=1/60*1e3,Wm="undefined"!=typeof performance?()=>performance.now():()=>Date.now(),qm="undefined"!=typeof window?e=>window.requestAnimationFrame(e):e=>setTimeout((()=>e(Wm())),Gm);let Um=!0,Xm=!1,Qm=!1;const $m={delta:0,timestamp:0},Jm=["read","update","preRender","render","postRender"],Ym=Jm.reduce(((e,t)=>(e[t]=function(e){let t=[],r=[],n=0,i=!1,a=!1;const s=new WeakSet,o={schedule:(e,a=!1,o=!1)=>{const l=o&&i,c=l?t:r;return a&&s.add(e),-1===c.indexOf(e)&&(c.push(e),l&&i&&(n=t.length)),e},cancel:e=>{const t=r.indexOf(e);-1!==t&&r.splice(t,1),s.delete(e)},process:l=>{if(i)a=!0;else{if(i=!0,[t,r]=[r,t],r.length=0,n=t.length,n)for(let r=0;r<n;r++){const n=t[r];n(l),s.has(n)&&(o.schedule(n),e())}i=!1,a&&(a=!1,o.process(l))}}};return o}((()=>Xm=!0)),e)),{}),Zm=Jm.reduce(((e,t)=>{const r=Ym[t];return e[t]=(e,t=!1,n=!1)=>(Xm||ng(),r.schedule(e,t,n)),e}),{}),Km=Jm.reduce(((e,t)=>(e[t]=Ym[t].cancel,e)),{}),eg=Jm.reduce(((e,t)=>(e[t]=()=>Ym[t].process($m),e)),{}),tg=e=>Ym[e].process($m),rg=e=>{Xm=!1,$m.delta=Um?Gm:Math.max(Math.min(e-$m.timestamp,40),1),$m.timestamp=e,Qm=!0,Jm.forEach(tg),Qm=!1,Xm&&(Um=!1,qm(rg))},ng=()=>{Xm=!0,Um=!0,Qm||qm(rg)},ig=()=>$m,ag=Zm;function sg(e,t,r=0){return e-t-r}const og=e=>{const t=({delta:t})=>e(t);return{start:()=>ag.update(t,!0),stop:()=>Km.update(t)}};function lg(e){var t,r,{from:n,autoplay:i=!0,driver:a=og,elapsed:s=0,repeat:o=0,repeatType:l="loop",repeatDelay:c=0,onPlay:u,onStop:p,onComplete:d,onRepeat:f,onUpdate:h}=e,m=Zp(e,["from","autoplay","driver","elapsed","repeat","repeatType","repeatDelay","onPlay","onStop","onComplete","onRepeat","onUpdate"]);let g,y,v,{to:b}=m,x=0,w=m.duration,E=!1,k=!0;const S=function(e){if(Array.isArray(e.to))return zm;if(Hm[e.type])return Hm[e.type];const t=new Set(Object.keys(e));return t.has("ease")||t.has("duration")&&!t.has("dampingRatio")?zm:t.has("dampingRatio")||t.has("stiffness")||t.has("mass")||t.has("damping")||t.has("restSpeed")||t.has("restDelta")?Wh:zm}(m);(null===(r=(t=S).needsInterpolation)||void 0===r?void 0:r.call(t,n,b))&&(v=km([0,100],[n,b],{clamp:!1}),n=0,b=100);const C=S(Object.assign(Object.assign({},m),{from:n,to:b}));return i&&(null==u||u(),g=a((function(e){if(k||(e=-e),s+=e,!E){const e=C.next(Math.max(0,s));y=e.value,v&&(y=v(y)),E=k?e.done:s<=0}null==h||h(y),E&&(0===x&&(null!=w||(w=s)),x<o?function(e,t,r,n){return n?e>=t+r:e<=-r}(s,w,c,k)&&(x++,"reverse"===l?(k=x%2==0,s=function(e,t,r=0,n=!0){return n?sg(t+-e,t,r):t-(e-t)+r}(s,w,c,k)):(s=sg(s,w,c),"mirror"===l&&C.flipTarget()),E=!1,f&&f()):(g.stop(),d&&d()))})),g.start()),{stop:()=>{null==p||p(),g.stop()}}}function cg(e,t){return t?e*(1e3/t):0}var ug=function(e){return 1e3*e};const pg=(e,t)=>1-3*t+3*e,dg=(e,t)=>3*t-6*e,fg=e=>3*e,hg=(e,t,r)=>((pg(t,r)*e+dg(t,r))*e+fg(t))*e,mg=(e,t,r)=>3*pg(t,r)*e*e+2*dg(t,r)*e+fg(t),gg=.1;function yg(e,t,r,n){if(e===t&&r===n)return Pm;const i=new Float32Array(11);for(let t=0;t<11;++t)i[t]=hg(t*gg,e,r);return a=>0===a||1===a?a:hg(function(t){let n=0,a=1;for(;10!==a&&i[a]<=t;++a)n+=gg;--a;const s=n+(t-i[a])/(i[a+1]-i[a])*gg,o=mg(s,e,r);return o>=.001?function(e,t,r,n){for(let i=0;i<8;++i){const i=mg(t,r,n);if(0===i)return t;t-=(hg(t,r,n)-e)/i}return t}(t,s,e,r):0===o?s:function(e,t,r,n,i){let a,s,o=0;do{s=t+(r-t)/2,a=hg(s,n,i)-e,a>0?r=s:t=s}while(Math.abs(a)>1e-7&&++o<10);return s}(t,n,n+gg,e,r)}(a),t,n)}var vg={linear:Pm,easeIn:_m,easeInOut:Im,easeOut:Tm,circIn:Fm,circInOut:Dm,circOut:Mm,backIn:Rm,backInOut:Om,backOut:Lm,anticipate:Vm,bounceIn:Bm,bounceInOut:e=>e<.5?.5*(1-Nm(1-2*e)):.5*Nm(2*e-1)+.5,bounceOut:Nm},bg=function(e){if(Array.isArray(e)){ad(4===e.length,"Cubic bezier arrays must contain four numerical values.");var t=Kp(e,4);return yg(t[0],t[1],t[2],t[3])}return"string"==typeof e?(ad(void 0!==vg[e],"Invalid easing type '".concat(e,"'")),vg[e]):e},xg=function(e){return Array.isArray(e)&&"number"!=typeof e[0]},wg=function(e,t){return!("zIndex"===e||"number"!=typeof t&&!Array.isArray(t)&&("string"!=typeof t||!mm.test(t)||t.startsWith("url(")))},Eg=function(){return{type:"spring",stiffness:500,damping:25,restSpeed:10}},kg=function(e){return{type:"spring",stiffness:550,damping:0===e?2*Math.sqrt(550):30,restSpeed:10}},Sg=function(){return{type:"keyframes",ease:"linear",duration:.3}},Cg=function(e){return{type:"keyframes",duration:.8,values:e}},Ag={x:Eg,y:Eg,z:Eg,rotate:Eg,rotateX:Eg,rotateY:Eg,rotateZ:Eg,scaleX:kg,scaleY:kg,scale:kg,opacity:Sg,backgroundColor:Sg,color:Sg,default:kg},Pg=function(e,t){var r;return r=Of(t)?Cg:Ag[e]||Ag.default,Yp({to:t},r(t))};const _g=new Set(["brightness","contrast","saturate","opacity"]);function Tg(e){let[t,r]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;const[n]=r.match(Jd)||[];if(!n)return e;const i=r.replace(n,"");let a=_g.has(t)?1:0;return n!==r&&(a*=100),t+"("+a+i+")"}const Ig=/([a-z-]*)\(.*?\)/g,Fg=Object.assign(Object.assign({},mm),{getAnimatableNone:e=>{const t=e.match(Ig);return t?t.map(Tg).join(" "):e}});var Mg=Yp(Yp({},df),{color:lm,backgroundColor:lm,outlineColor:lm,fill:lm,stroke:lm,borderColor:lm,borderTopColor:lm,borderRightColor:lm,borderBottomColor:lm,borderLeftColor:lm,filter:Fg,WebkitFilter:Fg}),Dg=function(e){return Mg[e]};function Rg(e,t){var r,n=Dg(e);return n!==Fg&&(n=mm),null===(r=n.getAnimatableNone)||void 0===r?void 0:r.call(n,t)}var Lg={current:!1},Og=!1;function Vg(e,t,r,n,i){var a,s=jg(n,e),o=null!==(a=s.from)&&void 0!==a?a:t.get(),l=wg(e,r);"none"===o&&l&&"string"==typeof r?o=Rg(e,r):Ng(o)&&"string"==typeof r?o=Bg(r):!Array.isArray(r)&&Ng(r)&&"string"==typeof o&&(r=Bg(o));var c=wg(e,o);return id(c===l,"You are trying to animate ".concat(e,' from "').concat(o,'" to "').concat(r,'". ').concat(o," is not an animatable value - to enable this animation set ").concat(o," to a value animatable to ").concat(r," via the `style` property.")),c&&l&&!1!==s.type?function(){var n={from:o,to:r,velocity:t.getVelocity(),onComplete:i,onUpdate:function(e){return t.set(e)}};return"inertia"===s.type||"decay"===s.type?function({from:e=0,velocity:t=0,min:r,max:n,power:i=.8,timeConstant:a=750,bounceStiffness:s=500,bounceDamping:o=10,restDelta:l=1,modifyTarget:c,driver:u,onUpdate:p,onComplete:d,onStop:f}){let h;function m(e){return void 0!==r&&e<r||void 0!==n&&e>n}function g(e){return void 0===r?n:void 0===n||Math.abs(r-e)<Math.abs(n-e)?r:n}function y(e){null==h||h.stop(),h=lg(Object.assign(Object.assign({},e),{driver:u,onUpdate:t=>{var r;null==p||p(t),null===(r=e.onUpdate)||void 0===r||r.call(e,t)},onComplete:d,onStop:f}))}function v(e){y(Object.assign({type:"spring",stiffness:s,damping:o,restDelta:l},e))}if(m(e))v({from:e,velocity:t,to:g(e)});else{let n=i*t+e;void 0!==c&&(n=c(n));const s=g(n),o=s===r?-1:1;let u,p;const d=e=>{u=p,p=e,t=cg(e-u,ig().delta),(1===o&&e>s||-1===o&&e<s)&&v({from:e,to:s,velocity:t})};y({type:"decay",from:e,velocity:t,timeConstant:a,power:i,restDelta:l,modifyTarget:c,onUpdate:m(n)?d:void 0})}return{stop:()=>null==h?void 0:h.stop()}}(Yp(Yp({},n),s)):lg(Yp(Yp({},function(e,t,r){var n;return Array.isArray(t.to)&&(null!==(n=e.duration)&&void 0!==n||(e.duration=.8)),function(e){Array.isArray(e.to)&&null===e.to[0]&&(e.to=ed([],Kp(e.to),!1),e.to[0]=e.from)}(t),function(e){e.when,e.delay,e.delayChildren,e.staggerChildren,e.staggerDirection,e.repeat,e.repeatType,e.repeatDelay,e.from;var t=Zp(e,["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from"]);return!!Object.keys(t).length}(e)||(e=Yp(Yp({},e),Pg(r,t.to))),Yp(Yp({},t),function(e){var t=e.ease,r=e.times,n=e.yoyo,i=e.flip,a=e.loop,s=Zp(e,["ease","times","yoyo","flip","loop"]),o=Yp({},s);return r&&(o.offset=r),s.duration&&(o.duration=ug(s.duration)),s.repeatDelay&&(o.repeatDelay=ug(s.repeatDelay)),t&&(o.ease=xg(t)?t.map(bg):bg(t)),"tween"===s.type&&(o.type="keyframes"),(n||a||i)&&(id(!Og,"yoyo, loop and flip have been removed from the API. Replace with repeat and repeatType options."),Og=!0,n?o.repeatType="reverse":a?o.repeatType="loop":i&&(o.repeatType="mirror"),o.repeat=a||n||i||s.repeat),"spring"!==s.type&&(o.type="keyframes"),o}(e))}(s,n,e)),{onUpdate:function(e){var t;n.onUpdate(e),null===(t=s.onUpdate)||void 0===t||t.call(s,e)},onComplete:function(){var e;n.onComplete(),null===(e=s.onComplete)||void 0===e||e.call(s)}}))}:function(){var e,n,a=Nf(r);return t.set(a),i(),null===(e=null==s?void 0:s.onUpdate)||void 0===e||e.call(s,a),null===(n=null==s?void 0:s.onComplete)||void 0===n||n.call(s),{stop:function(){}}}}function Ng(e){return 0===e||"string"==typeof e&&0===parseFloat(e)&&-1===e.indexOf(" ")}function Bg(e){return"number"==typeof e?0:Rg("",e)}function jg(e,t){return e[t]||e.default||e}function zg(e,t,r,n){return void 0===n&&(n={}),Lg.current&&(n={type:!1}),t.start((function(i){var a,s,o=Vg(e,t,r,n,i),l=function(e,t){var r,n;return null!==(n=null!==(r=(jg(e,t)||{}).delay)&&void 0!==r?r:e.delay)&&void 0!==n?n:0}(n,e),c=function(){return s=o()};return l?a=window.setTimeout(c,ug(l)):c(),function(){clearTimeout(a),null==s||s.stop()}}))}var Hg=function(e){return/^\-?\d*\.?\d+$/.test(e)},Gg=function(e){return/^0[^.\s]+$/.test(e)};function Wg(e,t){-1===e.indexOf(t)&&e.push(t)}function qg(e,t){var r=e.indexOf(t);r>-1&&e.splice(r,1)}var Ug=function(){function e(){this.subscriptions=[]}return e.prototype.add=function(e){var t=this;return Wg(this.subscriptions,e),function(){return qg(t.subscriptions,e)}},e.prototype.notify=function(e,t,r){var n=this.subscriptions.length;if(n)if(1===n)this.subscriptions[0](e,t,r);else for(var i=0;i<n;i++){var a=this.subscriptions[i];a&&a(e,t,r)}},e.prototype.getSize=function(){return this.subscriptions.length},e.prototype.clear=function(){this.subscriptions.length=0},e}(),Xg=function(){function e(e){var t,r=this;this.version="6.5.1",this.timeDelta=0,this.lastUpdated=0,this.updateSubscribers=new Ug,this.velocityUpdateSubscribers=new Ug,this.renderSubscribers=new Ug,this.canTrackVelocity=!1,this.updateAndNotify=function(e,t){void 0===t&&(t=!0),r.prev=r.current,r.current=e;var n=ig(),i=n.delta,a=n.timestamp;r.lastUpdated!==a&&(r.timeDelta=i,r.lastUpdated=a,ag.postRender(r.scheduleVelocityCheck)),r.prev!==r.current&&r.updateSubscribers.notify(r.current),r.velocityUpdateSubscribers.getSize()&&r.velocityUpdateSubscribers.notify(r.getVelocity()),t&&r.renderSubscribers.notify(r.current)},this.scheduleVelocityCheck=function(){return ag.postRender(r.velocityCheck)},this.velocityCheck=function(e){e.timestamp!==r.lastUpdated&&(r.prev=r.current,r.velocityUpdateSubscribers.notify(r.getVelocity()))},this.hasAnimated=!1,this.prev=this.current=e,this.canTrackVelocity=(t=this.current,!isNaN(parseFloat(t)))}return e.prototype.onChange=function(e){return this.updateSubscribers.add(e)},e.prototype.clearListeners=function(){this.updateSubscribers.clear()},e.prototype.onRenderRequest=function(e){return e(this.get()),this.renderSubscribers.add(e)},e.prototype.attach=function(e){this.passiveEffect=e},e.prototype.set=function(e,t){void 0===t&&(t=!0),t&&this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e,t)},e.prototype.get=function(){return this.current},e.prototype.getPrevious=function(){return this.prev},e.prototype.getVelocity=function(){return this.canTrackVelocity?cg(parseFloat(this.current)-parseFloat(this.prev),this.timeDelta):0},e.prototype.start=function(e){var t=this;return this.stop(),new Promise((function(r){t.hasAnimated=!0,t.stopAnimation=e(r)})).then((function(){return t.clearAnimation()}))},e.prototype.stop=function(){this.stopAnimation&&this.stopAnimation(),this.clearAnimation()},e.prototype.isAnimating=function(){return!!this.stopAnimation},e.prototype.clearAnimation=function(){this.stopAnimation=null},e.prototype.destroy=function(){this.updateSubscribers.clear(),this.renderSubscribers.clear(),this.stop()},e}();function Qg(e){return new Xg(e)}var $g=function(e){return function(t){return t.test(e)}},Jg=[lf,nf,rf,tf,sf,af,{test:function(e){return"auto"===e},parse:function(e){return e}}],Yg=function(e){return Jg.find($g(e))},Zg=ed(ed([],Kp(Jg),!1),[lm,mm],!1),Kg=function(e){return Zg.find($g(e))};function ey(e,t,r){e.hasValue(t)?e.getValue(t).set(r):e.addValue(t,Qg(r))}function ty(e,t){if(t)return(t[e]||t.default||t).from}function ry(e,t,r){var n;void 0===r&&(r={});var i=wd(e,t,r.custom),a=(i||{}).transition,s=void 0===a?e.getDefaultTransition()||{}:a;r.transitionOverride&&(s=r.transitionOverride);var o=i?function(){return ny(e,i,r)}:function(){return Promise.resolve()},l=(null===(n=e.variantChildren)||void 0===n?void 0:n.size)?function(n){void 0===n&&(n=0);var i=s.delayChildren,a=void 0===i?0:i,o=s.staggerChildren,l=s.staggerDirection;return function(e,t,r,n,i,a){void 0===r&&(r=0),void 0===n&&(n=0),void 0===i&&(i=1);var s=[],o=(e.variantChildren.size-1)*n,l=1===i?function(e){return void 0===e&&(e=0),e*n}:function(e){return void 0===e&&(e=0),o-e*n};return Array.from(e.variantChildren).sort(iy).forEach((function(e,n){s.push(ry(e,t,Yp(Yp({},a),{delay:r+l(n)})).then((function(){return e.notifyAnimationComplete(t)})))})),Promise.all(s)}(e,t,a+n,o,l,r)}:function(){return Promise.resolve()},c=s.when;if(c){var u=Kp("beforeChildren"===c?[o,l]:[l,o],2),p=u[0],d=u[1];return p().then(d)}return Promise.all([o(),l(r.delay)])}function ny(e,t,r){var n,i=void 0===r?{}:r,a=i.delay,s=void 0===a?0:a,o=i.transitionOverride,l=i.type,c=e.makeTargetAnimatable(t),u=c.transition,p=void 0===u?e.getDefaultTransition():u,d=c.transitionEnd,f=Zp(c,["transition","transitionEnd"]);o&&(p=o);var h=[],m=l&&(null===(n=e.animationState)||void 0===n?void 0:n.getState()[l]);for(var g in f){var y=e.getValue(g),v=f[g];if(!(!y||void 0===v||m&&ay(m,g))){var b=Yp({delay:s},p);e.shouldReduceMotion&&jd(g)&&(b=Yp(Yp({},b),{type:!1,delay:0}));var x=zg(g,y,v,b);h.push(x)}}return Promise.all(h).then((function(){d&&function(e,t){var r=wd(e,t),n=r?e.makeTargetAnimatable(r,!1):{},i=n.transitionEnd,a=void 0===i?{}:i;n.transition;var s=Zp(n,["transitionEnd","transition"]);for(var o in s=Yp(Yp({},s),a))ey(e,o,Nf(s[o]))}(e,d)}))}function iy(e,t){return e.sortNodePosition(t)}function ay(e,t){var r=e.protectedKeys,n=e.needsAnimating,i=r.hasOwnProperty(t)&&!0!==n[t];return n[t]=!1,i}var sy=[Gf.Animate,Gf.InView,Gf.Focus,Gf.Hover,Gf.Tap,Gf.Drag,Gf.Exit],oy=ed([],Kp(sy),!1).reverse(),ly=sy.length;function cy(e){var t,r=function(e){return function(t){return Promise.all(t.map((function(t){var r=t.animation,n=t.options;return function(e,t,r){var n;if(void 0===r&&(r={}),e.notifyAnimationStart(t),Array.isArray(t)){var i=t.map((function(t){return ry(e,t,r)}));n=Promise.all(i)}else if("string"==typeof t)n=ry(e,t,r);else{var a="function"==typeof t?wd(e,t,r.custom):t;n=ny(e,a,r)}return n.then((function(){return e.notifyAnimationComplete(t)}))}(e,r,n)})))}}(e),n=((t={})[Gf.Animate]=uy(!0),t[Gf.InView]=uy(),t[Gf.Hover]=uy(),t[Gf.Tap]=uy(),t[Gf.Drag]=uy(),t[Gf.Focus]=uy(),t[Gf.Exit]=uy(),t),i={},a=!0,s=function(t,r){var n=wd(e,r);if(n){n.transition;var i=n.transitionEnd,a=Zp(n,["transition","transitionEnd"]);t=Yp(Yp(Yp({},t),a),i)}return t};function o(t,o){for(var l,c=e.getProps(),u=e.getVariantContext(!0)||{},p=[],d=new Set,f={},h=1/0,m=function(r){var i=oy[r],m=n[i],g=null!==(l=c[i])&&void 0!==l?l:u[i],y=bd(g),v=i===o?m.isActive:null;!1===v&&(h=r);var b=g===u[i]&&g!==c[i]&&y;if(b&&a&&e.manuallyAnimateOnMount&&(b=!1),m.protectedKeys=Yp({},f),!m.isActive&&null===v||!g&&!m.prevProp||Lf(g)||"boolean"==typeof g)return"continue";var x=function(e,t){return"string"==typeof t?t!==e:!!vd(t)&&!Mh(t,e)}(m.prevProp,g),w=x||i===o&&m.isActive&&!b&&y||r>h&&y,E=Array.isArray(g)?g:[g],k=E.reduce(s,{});!1===v&&(k={});var S=m.prevResolvedValues,C=void 0===S?{}:S,A=Yp(Yp({},C),k),P=function(e){w=!0,d.delete(e),m.needsAnimating[e]=!0};for(var _ in A){var T=k[_],I=C[_];f.hasOwnProperty(_)||(T!==I?Of(T)&&Of(I)?!Mh(T,I)||x?P(_):m.protectedKeys[_]=!0:void 0!==T?P(_):d.add(_):void 0!==T&&d.has(_)?P(_):m.protectedKeys[_]=!0)}m.prevProp=g,m.prevResolvedValues=k,m.isActive&&(f=Yp(Yp({},f),k)),a&&e.blockInitialAnimation&&(w=!1),w&&!b&&p.push.apply(p,ed([],Kp(E.map((function(e){return{animation:e,options:Yp({type:i},t)}}))),!1))},g=0;g<ly;g++)m(g);if(i=Yp({},f),d.size){var y={};d.forEach((function(t){var r=e.getBaseTarget(t);void 0!==r&&(y[t]=r)})),p.push({animation:y})}var v=Boolean(p.length);return a&&!1===c.initial&&!e.manuallyAnimateOnMount&&(v=!1),a=!1,v?r(p):Promise.resolve()}return{isAnimated:function(e){return void 0!==i[e]},animateChanges:o,setActive:function(t,r,i){var a;if(n[t].isActive===r)return Promise.resolve();null===(a=e.variantChildren)||void 0===a||a.forEach((function(e){var n;return null===(n=e.animationState)||void 0===n?void 0:n.setActive(t,r)})),n[t].isActive=r;var s=o(i,t);for(var l in n)n[l].protectedKeys={};return s},setAnimateFunction:function(t){r=t(e)},getState:function(){return n}}}function uy(e){return void 0===e&&(e=!1),{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}var py={animation:Ph((function(e){var t=e.visualElement,r=e.animate;t.animationState||(t.animationState=cy(t)),Lf(r)&&(0,i.useEffect)((function(){return r.subscribe(t)}),[r])})),exit:Ph((function(e){var t=e.custom,r=e.visualElement,n=Kp(Fh(),2),a=n[0],s=n[1],o=(0,i.useContext)(pd);(0,i.useEffect)((function(){var e,n;r.isPresent=a;var i=null===(e=r.animationState)||void 0===e?void 0:e.setActive(Gf.Exit,!a,{custom:null!==(n=null==o?void 0:o.custom)&&void 0!==n?n:t});!a&&(null==i||i.then(s))}),[a])}))};const dy=e=>e.hasOwnProperty("x")&&e.hasOwnProperty("y"),fy=e=>dy(e)&&e.hasOwnProperty("z"),hy=(e,t)=>Math.abs(e-t);function my(e,t){if(gm(e)&&gm(t))return hy(e,t);if(dy(e)&&dy(t)){const r=hy(e.x,t.x),n=hy(e.y,t.y),i=fy(e)&&fy(t)?hy(e.z,t.z):0;return Math.sqrt(Math.pow(r,2)+Math.pow(n,2)+Math.pow(i,2))}}var gy=function(){function e(e,t,r){var n=this,i=(void 0===r?{}:r).transformPagePoint;if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.updatePoint=function(){if(n.lastMoveEvent&&n.lastMoveEventInfo){var e=by(n.lastMoveEventInfo,n.history),t=null!==n.startEvent,r=my(e.offset,{x:0,y:0})>=3;if(t||r){var i=e.point,a=ig().timestamp;n.history.push(Yp(Yp({},i),{timestamp:a}));var s=n.handlers,o=s.onStart,l=s.onMove;t||(o&&o(n.lastMoveEvent,e),n.startEvent=n.lastMoveEvent),l&&l(n.lastMoveEvent,e)}}},this.handlePointerMove=function(e,t){n.lastMoveEvent=e,n.lastMoveEventInfo=yy(t,n.transformPagePoint),Qf(e)&&0===e.buttons?n.handlePointerUp(e,t):ag.update(n.updatePoint,!0)},this.handlePointerUp=function(e,t){n.end();var r=n.handlers,i=r.onEnd,a=r.onSessionEnd,s=by(yy(t,n.transformPagePoint),n.history);n.startEvent&&i&&i(e,s),a&&a(e,s)},!($f(e)&&e.touches.length>1)){this.handlers=t,this.transformPagePoint=i;var a=yy(Kf(e),this.transformPagePoint),s=a.point,o=ig().timestamp;this.history=[Yp(Yp({},s),{timestamp:o})];var l=t.onSessionStart;l&&l(e,by(a,this.history)),this.removeListeners=vh(oh(window,"pointermove",this.handlePointerMove),oh(window,"pointerup",this.handlePointerUp),oh(window,"pointercancel",this.handlePointerUp))}}return e.prototype.updateHandlers=function(e){this.handlers=e},e.prototype.end=function(){this.removeListeners&&this.removeListeners(),Km.update(this.updatePoint)},e}();function yy(e,t){return t?{point:t(e.point)}:e}function vy(e,t){return{x:e.x-t.x,y:e.y-t.y}}function by(e,t){var r=e.point;return{point:r,delta:vy(r,wy(t)),offset:vy(r,xy(t)),velocity:Ey(t,.1)}}function xy(e){return e[0]}function wy(e){return e[e.length-1]}function Ey(e,t){if(e.length<2)return{x:0,y:0};for(var r=e.length-1,n=null,i=wy(e);r>=0&&(n=e[r],!(i.timestamp-n.timestamp>ug(t)));)r--;if(!n)return{x:0,y:0};var a=(i.timestamp-n.timestamp)/1e3;if(0===a)return{x:0,y:0};var s={x:(i.x-n.x)/a,y:(i.y-n.y)/a};return s.x===1/0&&(s.x=0),s.y===1/0&&(s.y=0),s}function ky(e){return e.max-e.min}function Sy(e,t,r){return void 0===t&&(t=0),void 0===r&&(r=.01),my(e,t)<r}function Cy(e,t,r,n){void 0===n&&(n=.5),e.origin=n,e.originPoint=Xh(t.min,t.max,e.origin),e.scale=ky(r)/ky(t),(Sy(e.scale,1,1e-4)||isNaN(e.scale))&&(e.scale=1),e.translate=Xh(r.min,r.max,e.origin)-e.originPoint,(Sy(e.translate)||isNaN(e.translate))&&(e.translate=0)}function Ay(e,t,r,n){Cy(e.x,t.x,r.x,null==n?void 0:n.originX),Cy(e.y,t.y,r.y,null==n?void 0:n.originY)}function Py(e,t,r){e.min=r.min+t.min,e.max=e.min+ky(t)}function _y(e,t,r){e.min=t.min-r.min,e.max=e.min+ky(t)}function Ty(e,t,r){_y(e.x,t.x,r.x),_y(e.y,t.y,r.y)}function Iy(e,t,r){return{min:void 0!==t?e.min+t:void 0,max:void 0!==r?e.max+r-(e.max-e.min):void 0}}function Fy(e,t){var r,n=t.min-e.min,i=t.max-e.max;return t.max-t.min<e.max-e.min&&(n=(r=Kp([i,n],2))[0],i=r[1]),{min:n,max:i}}var My=.35;function Dy(e,t,r){return{min:Ry(e,t),max:Ry(e,r)}}function Ry(e,t){var r;return"number"==typeof e?e:null!==(r=e[t])&&void 0!==r?r:0}var Ly=function(){return{x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}}},Oy=function(){return{x:{min:0,max:0},y:{min:0,max:0}}};function Vy(e){return[e("x"),e("y")]}function Ny(e){var t=e.top;return{x:{min:e.left,max:e.right},y:{min:t,max:e.bottom}}}function By(e){return void 0===e||1===e}function jy(e){var t=e.scale,r=e.scaleX,n=e.scaleY;return!By(t)||!By(r)||!By(n)}function zy(e){return jy(e)||Hy(e.x)||Hy(e.y)||e.z||e.rotate||e.rotateX||e.rotateY}function Hy(e){return e&&"0%"!==e}function Gy(e,t,r){return r+t*(e-r)}function Wy(e,t,r,n,i){return void 0!==i&&(e=Gy(e,i,n)),Gy(e,r,n)+t}function qy(e,t,r,n,i){void 0===t&&(t=0),void 0===r&&(r=1),e.min=Wy(e.min,t,r,n,i),e.max=Wy(e.max,t,r,n,i)}function Uy(e,t){var r=t.x,n=t.y;qy(e.x,r.translate,r.scale,r.originPoint),qy(e.y,n.translate,n.scale,n.originPoint)}function Xy(e,t){e.min=e.min+t,e.max=e.max+t}function Qy(e,t,r){var n=Kp(r,3),i=n[0],a=n[1],s=n[2],o=void 0!==t[s]?t[s]:.5,l=Xh(e.min,e.max,o);qy(e,t[i],t[a],l,t.scale)}var $y=["x","scaleX","originX"],Jy=["y","scaleY","originY"];function Yy(e,t){Qy(e.x,t,$y),Qy(e.y,t,Jy)}function Zy(e,t){return Ny(function(e,t){if(!t)return e;var r=t({x:e.left,y:e.top}),n=t({x:e.right,y:e.bottom});return{top:r.y,left:r.x,bottom:n.y,right:n.x}}(e.getBoundingClientRect(),t))}var Ky=new WeakMap,ev=function(){function e(e){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=Oy(),this.visualElement=e}return e.prototype.start=function(e,t){var r=this,n=(void 0===t?{}:t).snapToCursor,i=void 0!==n&&n;!1!==this.visualElement.isPresent&&(this.panSession=new gy(e,{onSessionStart:function(e){r.stopAnimation(),i&&r.snapToCursor(Kf(e,"page").point)},onStart:function(e,t){var n,i=r.getProps(),a=i.drag,s=i.dragPropagation,o=i.onDragStart;(!a||s||(r.openGlobalLock&&r.openGlobalLock(),r.openGlobalLock=dh(a),r.openGlobalLock))&&(r.isDragging=!0,r.currentDirection=null,r.resolveConstraints(),r.visualElement.projection&&(r.visualElement.projection.isAnimationBlocked=!0,r.visualElement.projection.target=void 0),Vy((function(e){var t,n,i=r.getAxisMotionValue(e).get()||0;if(rf.test(i)){var a=null===(n=null===(t=r.visualElement.projection)||void 0===t?void 0:t.layout)||void 0===n?void 0:n.actual[e];a&&(i=ky(a)*(parseFloat(i)/100))}r.originPoint[e]=i})),null==o||o(e,t),null===(n=r.visualElement.animationState)||void 0===n||n.setActive(Gf.Drag,!0))},onMove:function(e,t){var n=r.getProps(),i=n.dragPropagation,a=n.dragDirectionLock,s=n.onDirectionLock,o=n.onDrag;if(i||r.openGlobalLock){var l=t.offset;if(a&&null===r.currentDirection)return r.currentDirection=function(e,t){void 0===t&&(t=10);var r=null;return Math.abs(e.y)>t?r="y":Math.abs(e.x)>t&&(r="x"),r}(l),void(null!==r.currentDirection&&(null==s||s(r.currentDirection)));r.updateAxis("x",t.point,l),r.updateAxis("y",t.point,l),r.visualElement.syncRender(),null==o||o(e,t)}},onSessionEnd:function(e,t){return r.stop(e,t)}},{transformPagePoint:this.visualElement.getTransformPagePoint()}))},e.prototype.stop=function(e,t){var r=this.isDragging;if(this.cancel(),r){var n=t.velocity;this.startAnimation(n);var i=this.getProps().onDragEnd;null==i||i(e,t)}},e.prototype.cancel=function(){var e,t;this.isDragging=!1,this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!1),null===(e=this.panSession)||void 0===e||e.end(),this.panSession=void 0,!this.getProps().dragPropagation&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),null===(t=this.visualElement.animationState)||void 0===t||t.setActive(Gf.Drag,!1)},e.prototype.updateAxis=function(e,t,r){var n,i,a,s,o,l=this.getProps().drag;if(r&&tv(e,l,this.currentDirection)){var c=this.getAxisMotionValue(e),u=this.originPoint[e]+r[e];this.constraints&&this.constraints[e]&&(n=u,i=this.constraints[e],a=this.elastic[e],s=i.min,o=i.max,void 0!==s&&n<s?n=a?Xh(s,n,a.min):Math.max(n,s):void 0!==o&&n>o&&(n=a?Xh(o,n,a.max):Math.min(n,o)),u=n),c.set(u)}},e.prototype.resolveConstraints=function(){var e=this,t=this.getProps(),r=t.dragConstraints,n=t.dragElastic,i=(this.visualElement.projection||{}).layout,a=this.constraints;r&&yd(r)?this.constraints||(this.constraints=this.resolveRefConstraints()):this.constraints=!(!r||!i)&&function(e,t){var r=t.top,n=t.left,i=t.bottom,a=t.right;return{x:Iy(e.x,n,a),y:Iy(e.y,r,i)}}(i.actual,r),this.elastic=function(e){return void 0===e&&(e=My),!1===e?e=0:!0===e&&(e=My),{x:Dy(e,"left","right"),y:Dy(e,"top","bottom")}}(n),a!==this.constraints&&i&&this.constraints&&!this.hasMutatedConstraints&&Vy((function(t){e.getAxisMotionValue(t)&&(e.constraints[t]=function(e,t){var r={};return void 0!==t.min&&(r.min=t.min-e.min),void 0!==t.max&&(r.max=t.max-e.min),r}(i.actual[t],e.constraints[t]))}))},e.prototype.resolveRefConstraints=function(){var e=this.getProps(),t=e.dragConstraints,r=e.onMeasureDragConstraints;if(!t||!yd(t))return!1;var n=t.current;ad(null!==n,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");var i=this.visualElement.projection;if(!i||!i.layout)return!1;var a=function(e,t,r){var n=Zy(e,r),i=t.scroll;return i&&(Xy(n.x,i.x),Xy(n.y,i.y)),n}(n,i.root,this.visualElement.getTransformPagePoint()),s=function(e,t){return{x:Fy(e.x,t.x),y:Fy(e.y,t.y)}}(i.layout.actual,a);if(r){var o=r(function(e){var t=e.x,r=e.y;return{top:r.min,right:t.max,bottom:r.max,left:t.min}}(s));this.hasMutatedConstraints=!!o,o&&(s=Ny(o))}return s},e.prototype.startAnimation=function(e){var t=this,r=this.getProps(),n=r.drag,i=r.dragMomentum,a=r.dragElastic,s=r.dragTransition,o=r.dragSnapToOrigin,l=r.onDragTransitionEnd,c=this.constraints||{},u=Vy((function(r){var l;if(tv(r,n,t.currentDirection)){var u=null!==(l=null==c?void 0:c[r])&&void 0!==l?l:{};o&&(u={min:0,max:0});var p=a?200:1e6,d=a?40:1e7,f=Yp(Yp({type:"inertia",velocity:i?e[r]:0,bounceStiffness:p,bounceDamping:d,timeConstant:750,restDelta:1,restSpeed:10},s),u);return t.startAxisValueAnimation(r,f)}}));return Promise.all(u).then(l)},e.prototype.startAxisValueAnimation=function(e,t){return zg(e,this.getAxisMotionValue(e),0,t)},e.prototype.stopAnimation=function(){var e=this;Vy((function(t){return e.getAxisMotionValue(t).stop()}))},e.prototype.getAxisMotionValue=function(e){var t,r,n="_drag"+e.toUpperCase();return this.visualElement.getProps()[n]||this.visualElement.getValue(e,null!==(r=null===(t=this.visualElement.getProps().initial)||void 0===t?void 0:t[e])&&void 0!==r?r:0)},e.prototype.snapToCursor=function(e){var t=this;Vy((function(r){if(tv(r,t.getProps().drag,t.currentDirection)){var n=t.visualElement.projection,i=t.getAxisMotionValue(r);if(n&&n.layout){var a=n.layout.actual[r],s=a.min,o=a.max;i.set(e[r]-Xh(s,o,.5))}}}))},e.prototype.scalePositionWithinConstraints=function(){var e,t=this,r=this.getProps(),n=r.drag,i=r.dragConstraints,a=this.visualElement.projection;if(yd(i)&&a&&this.constraints){this.stopAnimation();var s={x:0,y:0};Vy((function(e){var r,n,i,a,o,l=t.getAxisMotionValue(e);if(l){var c=l.get();s[e]=(r={min:c,max:c},n=t.constraints[e],i=.5,a=ky(r),(o=ky(n))>a?i=Uh(n.min,n.max-a,r.min):a>o&&(i=Uh(r.min,r.max-o,n.min)),Dh(0,1,i))}}));var o=this.visualElement.getProps().transformTemplate;this.visualElement.getInstance().style.transform=o?o({},""):"none",null===(e=a.root)||void 0===e||e.updateScroll(),a.updateLayout(),this.resolveConstraints(),Vy((function(e){if(tv(e,n,null)){var r=t.getAxisMotionValue(e),i=t.constraints[e],a=i.min,o=i.max;r.set(Xh(a,o,s[e]))}}))}},e.prototype.addListeners=function(){var e,t=this;Ky.set(this.visualElement,this);var r=oh(this.visualElement.getInstance(),"pointerdown",(function(e){var r=t.getProps(),n=r.drag,i=r.dragListener;n&&(void 0===i||i)&&t.start(e)})),n=function(){yd(t.getProps().dragConstraints)&&(t.constraints=t.resolveRefConstraints())},i=this.visualElement.projection,a=i.addEventListener("measure",n);i&&!i.layout&&(null===(e=i.root)||void 0===e||e.updateScroll(),i.updateLayout()),n();var s=Uf(window,"resize",(function(){return t.scalePositionWithinConstraints()}));return i.addEventListener("didUpdate",(function(e){var r=e.delta,n=e.hasLayoutChanged;t.isDragging&&n&&(Vy((function(e){var n=t.getAxisMotionValue(e);n&&(t.originPoint[e]+=r[e].translate,n.set(n.get()+r[e].translate))})),t.visualElement.syncRender())})),function(){s(),r(),a()}},e.prototype.getProps=function(){var e=this.visualElement.getProps(),t=e.drag,r=void 0!==t&&t,n=e.dragDirectionLock,i=void 0!==n&&n,a=e.dragPropagation,s=void 0!==a&&a,o=e.dragConstraints,l=void 0!==o&&o,c=e.dragElastic,u=void 0===c?My:c,p=e.dragMomentum,d=void 0===p||p;return Yp(Yp({},e),{drag:r,dragDirectionLock:i,dragPropagation:s,dragConstraints:l,dragElastic:u,dragMomentum:d})},e}();function tv(e,t,r){return!(!0!==t&&t!==e||null!==r&&r!==e)}var rv={pan:Ph((function(e){var t=e.onPan,r=e.onPanStart,n=e.onPanEnd,a=e.onPanSessionStart,s=e.visualElement,o=t||r||n||a,l=(0,i.useRef)(null),c=(0,i.useContext)(cd).transformPagePoint,u={onSessionStart:a,onStart:r,onMove:t,onEnd:function(e,t){l.current=null,n&&n(e,t)}};(0,i.useEffect)((function(){null!==l.current&&l.current.updateHandlers(u)})),lh(s,"pointerdown",o&&function(e){l.current=new gy(e,u,{transformPagePoint:c})}),gh((function(){return l.current&&l.current.end()}))})),drag:Ph((function(e){var t=e.dragControls,r=e.visualElement,n=Cd((function(){return new ev(r)}));(0,i.useEffect)((function(){return t&&t.subscribe(n)}),[n,t]),(0,i.useEffect)((function(){return n.addListeners()}),[n])}))},nv=["LayoutMeasure","BeforeLayoutMeasure","LayoutUpdate","ViewportBoxUpdate","Update","Render","AnimationComplete","LayoutAnimationComplete","AnimationStart","LayoutAnimationStart","SetAxisTarget","Unmount"],iv=function(e){var t=e.treeType,r=void 0===t?"":t,n=e.build,i=e.getBaseTarget,a=e.makeTargetAnimatable,s=e.measureViewportBox,o=e.render,l=e.readValueFromInstance,c=e.removeValueFromRenderState,u=e.sortNodePosition,p=e.scrapeMotionValuesFromProps;return function(e,t){var d=e.parent,f=e.props,h=e.presenceId,m=e.blockInitialAnimation,g=e.visualState,y=e.shouldReduceMotion;void 0===t&&(t={});var v,b,x=!1,w=g.latestValues,E=g.renderState,k=function(){var e=nv.map((function(){return new Ug})),t={},r={clearAllListeners:function(){return e.forEach((function(e){return e.clear()}))},updatePropListeners:function(e){nv.forEach((function(n){var i,a="on"+n,s=e[a];null===(i=t[n])||void 0===i||i.call(t),s&&(t[n]=r[a](s))}))}};return e.forEach((function(e,t){r["on"+nv[t]]=function(t){return e.add(t)},r["notify"+nv[t]]=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return e.notify.apply(e,ed([],Kp(t),!1))}})),r}(),S=new Map,C=new Map,A={},P=Yp({},w);function _(){v&&x&&(T(),o(v,E,f.style,V.projection))}function T(){n(V,E,w,t,f)}function I(){k.notifyUpdate(w)}function F(e,t){var r=t.onChange((function(t){w[e]=t,f.onUpdate&&ag.update(I,!1,!0)})),n=t.onRenderRequest(V.scheduleRender);C.set(e,(function(){r(),n()}))}var M=p(f);for(var D in M){var R=M[D];void 0!==w[D]&&Wd(R)&&R.set(w[D],!1)}var L=Ed(f),O=kd(f),V=Yp(Yp({treeType:r,current:null,depth:d?d.depth+1:0,parent:d,children:new Set,presenceId:h,shouldReduceMotion:y,variantChildren:O?new Set:void 0,isVisible:void 0,manuallyAnimateOnMount:Boolean(null==d?void 0:d.isMounted()),blockInitialAnimation:m,isMounted:function(){return Boolean(v)},mount:function(e){x=!0,v=V.current=e,V.projection&&V.projection.mount(e),O&&d&&!L&&(b=null==d?void 0:d.addVariantChild(V)),S.forEach((function(e,t){return F(t,e)})),null==d||d.children.add(V),V.setProps(f)},unmount:function(){var e;null===(e=V.projection)||void 0===e||e.unmount(),Km.update(I),Km.render(_),C.forEach((function(e){return e()})),null==b||b(),null==d||d.children.delete(V),k.clearAllListeners(),v=void 0,x=!1},addVariantChild:function(e){var t,r=V.getClosestVariantNode();if(r)return null===(t=r.variantChildren)||void 0===t||t.add(e),function(){return r.variantChildren.delete(e)}},sortNodePosition:function(e){return u&&r===e.treeType?u(V.getInstance(),e.getInstance()):0},getClosestVariantNode:function(){return O?V:null==d?void 0:d.getClosestVariantNode()},getLayoutId:function(){return f.layoutId},getInstance:function(){return v},getStaticValue:function(e){return w[e]},setStaticValue:function(e,t){return w[e]=t},getLatestValues:function(){return w},setVisibility:function(e){V.isVisible!==e&&(V.isVisible=e,V.scheduleRender())},makeTargetAnimatable:function(e,t){return void 0===t&&(t=!0),a(V,e,f,t)},measureViewportBox:function(){return s(v,f)},addValue:function(e,t){V.hasValue(e)&&V.removeValue(e),S.set(e,t),w[e]=t.get(),F(e,t)},removeValue:function(e){var t;S.delete(e),null===(t=C.get(e))||void 0===t||t(),C.delete(e),delete w[e],c(e,E)},hasValue:function(e){return S.has(e)},getValue:function(e,t){var r=S.get(e);return void 0===r&&void 0!==t&&(r=Qg(t),V.addValue(e,r)),r},forEachValue:function(e){return S.forEach(e)},readValue:function(e){var r;return null!==(r=w[e])&&void 0!==r?r:l(v,e,t)},setBaseTarget:function(e,t){P[e]=t},getBaseTarget:function(e){if(i){var t=i(f,e);if(void 0!==t&&!Wd(t))return t}return P[e]}},k),{build:function(){return T(),E},scheduleRender:function(){ag.render(_,!1,!0)},syncRender:_,setProps:function(e){(e.transformTemplate||f.transformTemplate)&&V.scheduleRender(),f=e,k.updatePropListeners(e),A=function(e,t,r){var n;for(var i in t){var a=t[i],s=r[i];if(Wd(a))e.addValue(i,a);else if(Wd(s))e.addValue(i,Qg(a));else if(s!==a)if(e.hasValue(i)){var o=e.getValue(i);!o.hasAnimated&&o.set(a)}else e.addValue(i,Qg(null!==(n=e.getStaticValue(i))&&void 0!==n?n:a))}for(var i in r)void 0===t[i]&&e.removeValue(i);return t}(V,p(f),A)},getProps:function(){return f},getVariant:function(e){var t;return null===(t=f.variants)||void 0===t?void 0:t[e]},getDefaultTransition:function(){return f.transition},getTransformPagePoint:function(){return f.transformPagePoint},getVariantContext:function(e){if(void 0===e&&(e=!1),e)return null==d?void 0:d.getVariantContext();if(!L){var t=(null==d?void 0:d.getVariantContext())||{};return void 0!==f.initial&&(t.initial=f.initial),t}for(var r={},n=0;n<sv;n++){var i=av[n],a=f[i];(bd(a)||!1===a)&&(r[i]=a)}return r}});return V}},av=ed(["initial"],Kp(sy),!1),sv=av.length;function ov(e){return"string"==typeof e&&e.startsWith("var(--")}var lv=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function cv(e,t,r){void 0===r&&(r=1),ad(r<=4,'Max CSS variable fallback depth detected in property "'.concat(e,'". This may indicate a circular fallback dependency.'));var n=Kp(function(e){var t=lv.exec(e);if(!t)return[,];var r=Kp(t,3);return[r[1],r[2]]}(e),2),i=n[0],a=n[1];if(i){var s=window.getComputedStyle(t).getPropertyValue(i);return s?s.trim():ov(a)?cv(a,t,r+1):a}}var uv,pv=new Set(["width","height","top","left","right","bottom","x","y"]),dv=function(e){return pv.has(e)},fv=function(e,t){e.set(t,!1),e.set(t)},hv=function(e){return e===lf||e===nf};!function(e){e.width="width",e.height="height",e.left="left",e.right="right",e.top="top",e.bottom="bottom"}(uv||(uv={}));var mv=function(e,t){return parseFloat(e.split(", ")[t])},gv=function(e,t){return function(r,n){var i=n.transform;if("none"===i||!i)return 0;var a=i.match(/^matrix3d\((.+)\)$/);if(a)return mv(a[1],t);var s=i.match(/^matrix\((.+)\)$/);return s?mv(s[1],e):0}},yv=new Set(["x","y","z"]),vv=Vd.filter((function(e){return!yv.has(e)})),bv={width:function(e,t){var r=e.x,n=t.paddingLeft,i=void 0===n?"0":n,a=t.paddingRight,s=void 0===a?"0":a;return r.max-r.min-parseFloat(i)-parseFloat(s)},height:function(e,t){var r=e.y,n=t.paddingTop,i=void 0===n?"0":n,a=t.paddingBottom,s=void 0===a?"0":a;return r.max-r.min-parseFloat(i)-parseFloat(s)},top:function(e,t){var r=t.top;return parseFloat(r)},left:function(e,t){var r=t.left;return parseFloat(r)},bottom:function(e,t){var r=e.y,n=t.top;return parseFloat(n)+(r.max-r.min)},right:function(e,t){var r=e.x,n=t.left;return parseFloat(n)+(r.max-r.min)},x:gv(4,13),y:gv(5,14)};function xv(e,t,r,n){return function(e){return Object.keys(e).some(dv)}(t)?function(e,t,r,n){void 0===r&&(r={}),void 0===n&&(n={}),t=Yp({},t),n=Yp({},n);var i=Object.keys(t).filter(dv),a=[],s=!1,o=[];if(i.forEach((function(i){var l=e.getValue(i);if(e.hasValue(i)){var c,u=r[i],p=Yg(u),d=t[i];if(Of(d)){var f=d.length,h=null===d[0]?1:0;u=d[h],p=Yg(u);for(var m=h;m<f;m++)c?ad(Yg(d[m])===c,"All keyframes must be of the same type"):(c=Yg(d[m]),ad(c===p||hv(p)&&hv(c),"Keyframes must be of the same dimension as the current value"))}else c=Yg(d);if(p!==c)if(hv(p)&&hv(c)){var g=l.get();"string"==typeof g&&l.set(parseFloat(g)),"string"==typeof d?t[i]=parseFloat(d):Array.isArray(d)&&c===nf&&(t[i]=d.map(parseFloat))}else(null==p?void 0:p.transform)&&(null==c?void 0:c.transform)&&(0===u||0===d)?0===u?l.set(c.transform(u)):t[i]=p.transform(d):(s||(a=function(e){var t=[];return vv.forEach((function(r){var n=e.getValue(r);void 0!==n&&(t.push([r,n.get()]),n.set(r.startsWith("scale")?1:0))})),t.length&&e.syncRender(),t}(e),s=!0),o.push(i),n[i]=void 0!==n[i]?n[i]:t[i],fv(l,d))}})),o.length){var l=o.indexOf("height")>=0?window.pageYOffset:null,c=function(e,t,r){var n=t.measureViewportBox(),i=t.getInstance(),a=getComputedStyle(i),s=a.display,o={};"none"===s&&t.setStaticValue("display",e.display||"block"),r.forEach((function(e){o[e]=bv[e](n,a)})),t.syncRender();var l=t.measureViewportBox();return r.forEach((function(r){var n=t.getValue(r);fv(n,o[r]),e[r]=bv[r](l,a)})),e}(t,e,o);return a.length&&a.forEach((function(t){var r=Kp(t,2),n=r[0],i=r[1];e.getValue(n).set(i)})),e.syncRender(),null!==l&&window.scrollTo({top:l}),{target:c,transitionEnd:n}}return{target:t,transitionEnd:n}}(e,t,r,n):{target:t,transitionEnd:n}}var wv={treeType:"dom",readValueFromInstance:function(e,t){if(jd(t)){var r=Dg(t);return r&&r.default||0}var n,i=(n=e,window.getComputedStyle(n));return(Ud(t)?i.getPropertyValue(t):i[t])||0},sortNodePosition:function(e,t){return 2&e.compareDocumentPosition(t)?1:-1},getBaseTarget:function(e,t){var r;return null===(r=e.style)||void 0===r?void 0:r[t]},measureViewportBox:function(e,t){return Zy(e,t.transformPagePoint)},resetTransform:function(e,t,r){var n=r.transformTemplate;t.style.transform=n?n({},""):"none",e.scheduleRender()},restoreTransform:function(e,t){e.style.transform=t.style.transform},removeValueFromRenderState:function(e,t){var r=t.vars,n=t.style;delete r[e],delete n[e]},makeTargetAnimatable:function(e,t,r,n){var i=r.transformValues;void 0===n&&(n=!0);var a=t.transition,s=t.transitionEnd,o=Zp(t,["transition","transitionEnd"]),l=function(e,t,r){var n,i,a={};for(var s in e)a[s]=null!==(n=ty(s,t))&&void 0!==n?n:null===(i=r.getValue(s))||void 0===i?void 0:i.get();return a}(o,a||{},e);if(i&&(s&&(s=i(s)),o&&(o=i(o)),l&&(l=i(l))),n){!function(e,t,r){var n,i,a,s,o=Object.keys(t).filter((function(t){return!e.hasValue(t)})),l=o.length;if(l)for(var c=0;c<l;c++){var u=o[c],p=t[u],d=null;Array.isArray(p)&&(d=p[0]),null===d&&(d=null!==(i=null!==(n=r[u])&&void 0!==n?n:e.readValue(u))&&void 0!==i?i:t[u]),null!=d&&("string"==typeof d&&(Hg(d)||Gg(d))?d=parseFloat(d):!Kg(d)&&mm.test(p)&&(d=Rg(u,p)),e.addValue(u,Qg(d)),null!==(a=(s=r)[u])&&void 0!==a||(s[u]=d),e.setBaseTarget(u,d))}}(e,o,l);var c=function(e,t,r,n){var i=function(e,t,r){var n,i=Zp(t,[]),a=e.getInstance();if(!(a instanceof Element))return{target:i,transitionEnd:r};for(var s in r&&(r=Yp({},r)),e.forEachValue((function(e){var t=e.get();if(ov(t)){var r=cv(t,a);r&&e.set(r)}})),i){var o=i[s];if(ov(o)){var l=cv(o,a);l&&(i[s]=l,r&&(null!==(n=r[s])&&void 0!==n||(r[s]=o)))}}return{target:i,transitionEnd:r}}(e,t,n);return xv(e,t=i.target,r,n=i.transitionEnd)}(e,o,l,s);s=c.transitionEnd,o=c.target}return Yp({transition:a,transitionEnd:s},o)},scrapeMotionValuesFromProps:Df,build:function(e,t,r,n,i){void 0!==e.isVisible&&(t.style.visibility=e.isVisible?"visible":"hidden"),ff(t,r,n,i.transformTemplate)},render:If},Ev=iv(wv),kv=iv(Yp(Yp({},wv),{getBaseTarget:function(e,t){return e[t]},readValueFromInstance:function(e,t){var r;return jd(t)?(null===(r=Dg(t))||void 0===r?void 0:r.default)||0:(t=Ff.has(t)?t:Tf(t),e.getAttribute(t))},scrapeMotionValuesFromProps:Rf,build:function(e,t,r,n,i){Sf(t,r,n,i.transformTemplate)},render:Mf})),Sv=function(e,t){return Rd(e)?kv(t,{enableHardwareAcceleration:!1}):Ev(t,{enableHardwareAcceleration:!0})};function Cv(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}var Av={correct:function(e,t){if(!t.target)return e;if("string"==typeof e){if(!nf.test(e))return e;e=parseFloat(e)}var r=Cv(e,t.target.x),n=Cv(e,t.target.y);return"".concat(r,"% ").concat(n,"%")}},Pv="_$css",_v={correct:function(e,t){var r=t.treeScale,n=t.projectionDelta,i=e,a=e.includes("var("),s=[];a&&(e=e.replace(lv,(function(e){return s.push(e),Pv})));var o=mm.parse(e);if(o.length>5)return i;var l=mm.createTransformer(e),c="number"!=typeof o[0]?1:0,u=n.x.scale*r.x,p=n.y.scale*r.y;o[0+c]/=u,o[1+c]/=p;var d=Xh(u,p,.5);"number"==typeof o[2+c]&&(o[2+c]/=d),"number"==typeof o[3+c]&&(o[3+c]/=d);var f=l(o);if(a){var h=0;f=f.replace(Pv,(function(){var e=s[h];return h++,e}))}return f}},Tv=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Jp(t,e),t.prototype.componentDidMount=function(){var e,t=this,r=this.props,n=r.visualElement,i=r.layoutGroup,a=r.switchLayoutGroup,s=r.layoutId,o=n.projection;e=Iv,Object.assign(Ld,e),o&&((null==i?void 0:i.group)&&i.group.add(o),(null==a?void 0:a.register)&&s&&a.register(o),o.root.didUpdate(),o.addEventListener("animationComplete",(function(){t.safeToRemove()})),o.setOptions(Yp(Yp({},o.options),{onExitComplete:function(){return t.safeToRemove()}}))),Ad.hasEverUpdated=!0},t.prototype.getSnapshotBeforeUpdate=function(e){var t=this,r=this.props,n=r.layoutDependency,i=r.visualElement,a=r.drag,s=r.isPresent,o=i.projection;return o?(o.isPresent=s,a||e.layoutDependency!==n||void 0===n?o.willUpdate():this.safeToRemove(),e.isPresent!==s&&(s?o.promote():o.relegate()||ag.postRender((function(){var e;(null===(e=o.getStack())||void 0===e?void 0:e.members.length)||t.safeToRemove()}))),null):null},t.prototype.componentDidUpdate=function(){var e=this.props.visualElement.projection;e&&(e.root.didUpdate(),!e.currentAnimation&&e.isLead()&&this.safeToRemove())},t.prototype.componentWillUnmount=function(){var e=this.props,t=e.visualElement,r=e.layoutGroup,n=e.switchLayoutGroup,i=t.projection;i&&(i.scheduleCheckAfterUnmount(),(null==r?void 0:r.group)&&r.group.remove(i),(null==n?void 0:n.deregister)&&n.deregister(i))},t.prototype.safeToRemove=function(){var e=this.props.safeToRemove;null==e||e()},t.prototype.render=function(){return null},t}(i.Component),Iv={borderRadius:Yp(Yp({},Av),{applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]}),borderTopLeftRadius:Av,borderTopRightRadius:Av,borderBottomLeftRadius:Av,borderBottomRightRadius:Av,boxShadow:_v},Fv={measureLayout:function(e){var t=Kp(Fh(),2),r=t[0],n=t[1],a=(0,i.useContext)(_d);return i.createElement(Tv,Yp({},e,{layoutGroup:a,switchLayoutGroup:(0,i.useContext)(Td),isPresent:r,safeToRemove:n}))}},Mv=["TopLeft","TopRight","BottomLeft","BottomRight"],Dv=Mv.length,Rv=function(e){return"string"==typeof e?parseFloat(e):e},Lv=function(e){return"number"==typeof e||nf.test(e)};function Ov(e,t){var r;return null!==(r=e[t])&&void 0!==r?r:e.borderRadius}var Vv=Bv(0,.5,Mm),Nv=Bv(.5,.95,Pm);function Bv(e,t,r){return function(n){return n<e?0:n>t?1:r(Uh(e,t,n))}}function jv(e,t){e.min=t.min,e.max=t.max}function zv(e,t){jv(e.x,t.x),jv(e.y,t.y)}function Hv(e,t,r,n,i){return e=Gy(e-=t,1/r,n),void 0!==i&&(e=Gy(e,1/i,n)),e}function Gv(e,t,r,n,i){var a=Kp(r,3),s=a[0],o=a[1],l=a[2];!function(e,t,r,n,i,a,s){if(void 0===t&&(t=0),void 0===r&&(r=1),void 0===n&&(n=.5),void 0===a&&(a=e),void 0===s&&(s=e),rf.test(t)&&(t=parseFloat(t),t=Xh(s.min,s.max,t/100)-s.min),"number"==typeof t){var o=Xh(a.min,a.max,n);e===a&&(o-=t),e.min=Hv(e.min,t,r,o,i),e.max=Hv(e.max,t,r,o,i)}}(e,t[s],t[o],t[l],t.scale,n,i)}var Wv=["x","scaleX","originX"],qv=["y","scaleY","originY"];function Uv(e,t,r,n){Gv(e.x,t,Wv,null==r?void 0:r.x,null==n?void 0:n.x),Gv(e.y,t,qv,null==r?void 0:r.y,null==n?void 0:n.y)}function Xv(e){return 0===e.translate&&1===e.scale}function Qv(e){return Xv(e.x)&&Xv(e.y)}function $v(e,t){return e.x.min===t.x.min&&e.x.max===t.x.max&&e.y.min===t.y.min&&e.y.max===t.y.max}var Jv=function(){function e(){this.members=[]}return e.prototype.add=function(e){Wg(this.members,e),e.scheduleRender()},e.prototype.remove=function(e){if(qg(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){var t=this.members[this.members.length-1];t&&this.promote(t)}},e.prototype.relegate=function(e){var t,r=this.members.findIndex((function(t){return e===t}));if(0===r)return!1;for(var n=r;n>=0;n--){var i=this.members[n];if(!1!==i.isPresent){t=i;break}}return!!t&&(this.promote(t),!0)},e.prototype.promote=function(e,t){var r,n=this.lead;e!==n&&(this.prevLead=n,this.lead=e,e.show(),n&&(n.instance&&n.scheduleRender(),e.scheduleRender(),e.resumeFrom=n,t&&(e.resumeFrom.preserveOpacity=!0),n.snapshot&&(e.snapshot=n.snapshot,e.snapshot.latestValues=n.animationValues||n.latestValues,e.snapshot.isShared=!0),(null===(r=e.root)||void 0===r?void 0:r.isUpdating)&&(e.isLayoutDirty=!0),!1===e.options.crossfade&&n.hide()))},e.prototype.exitAnimationComplete=function(){this.members.forEach((function(e){var t,r,n,i,a;null===(r=(t=e.options).onExitComplete)||void 0===r||r.call(t),null===(a=null===(n=e.resumingFrom)||void 0===n?void 0:(i=n.options).onExitComplete)||void 0===a||a.call(i)}))},e.prototype.scheduleRender=function(){this.members.forEach((function(e){e.instance&&e.scheduleRender(!1)}))},e.prototype.removeLeadSnapshot=function(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)},e}(),Yv="translate3d(0px, 0px, 0) scale(1, 1) scale(1, 1)";function Zv(e,t,r){var n=e.x.translate/t.x,i=e.y.translate/t.y,a="translate3d(".concat(n,"px, ").concat(i,"px, 0) ");if(a+="scale(".concat(1/t.x,", ").concat(1/t.y,") "),r){var s=r.rotate,o=r.rotateX,l=r.rotateY;s&&(a+="rotate(".concat(s,"deg) ")),o&&(a+="rotateX(".concat(o,"deg) ")),l&&(a+="rotateY(".concat(l,"deg) "))}var c=e.x.scale*t.x,u=e.y.scale*t.y;return(a+="scale(".concat(c,", ").concat(u,")"))===Yv?"none":a}var Kv=function(e,t){return e.depth-t.depth},eb=function(){function e(){this.children=[],this.isDirty=!1}return e.prototype.add=function(e){Wg(this.children,e),this.isDirty=!0},e.prototype.remove=function(e){qg(this.children,e),this.isDirty=!0},e.prototype.forEach=function(e){this.isDirty&&this.children.sort(Kv),this.isDirty=!1,this.children.forEach(e)},e}();function tb(e){var t=e.attachResizeListener,r=e.defaultParent,n=e.measureScroll,i=e.checkIsScrollRoot,a=e.resetTransform;return function(){function e(e,t,n){var i=this;void 0===t&&(t={}),void 0===n&&(n=null==r?void 0:r()),this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.potentialNodes=new Map,this.checkUpdateFailed=function(){i.isUpdating&&(i.isUpdating=!1,i.clearAllSnapshots())},this.updateProjection=function(){i.nodes.forEach(lb),i.nodes.forEach(cb)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.id=e,this.latestValues=t,this.root=n?n.root||n:this,this.path=n?ed(ed([],Kp(n.path),!1),[n],!1):[],this.parent=n,this.depth=n?n.depth+1:0,e&&this.root.registerPotentialNode(e,this);for(var a=0;a<this.path.length;a++)this.path[a].shouldResetTransform=!0;this.root===this&&(this.nodes=new eb)}return e.prototype.addEventListener=function(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new Ug),this.eventHandlers.get(e).add(t)},e.prototype.notifyListeners=function(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];var n=this.eventHandlers.get(e);null==n||n.notify.apply(n,ed([],Kp(t),!1))},e.prototype.hasListeners=function(e){return this.eventHandlers.has(e)},e.prototype.registerPotentialNode=function(e,t){this.potentialNodes.set(e,t)},e.prototype.mount=function(e,r){var n,i=this;if(void 0===r&&(r=!1),!this.instance){this.isSVG=e instanceof SVGElement&&"svg"!==e.tagName,this.instance=e;var a=this.options,s=a.layoutId,o=a.layout,l=a.visualElement;if(l&&!l.getInstance()&&l.mount(e),this.root.nodes.add(this),null===(n=this.parent)||void 0===n||n.children.add(this),this.id&&this.root.potentialNodes.delete(this.id),r&&(o||s)&&(this.isLayoutDirty=!0),t){var c,u=function(){return i.root.updateBlockedByResize=!1};t(e,(function(){i.root.updateBlockedByResize=!0,clearTimeout(c),c=window.setTimeout(u,250),Ad.hasAnimatedSinceResize&&(Ad.hasAnimatedSinceResize=!1,i.nodes.forEach(ob))}))}s&&this.root.registerSharedNode(s,this),!1!==this.options.animate&&l&&(s||o)&&this.addEventListener("didUpdate",(function(e){var t,r,n,a,s,o=e.delta,c=e.hasLayoutChanged,u=e.hasRelativeTargetChanged,p=e.layout;if(i.isTreeAnimationBlocked())return i.target=void 0,void(i.relativeTarget=void 0);var d=null!==(r=null!==(t=i.options.transition)&&void 0!==t?t:l.getDefaultTransition())&&void 0!==r?r:mb,f=l.getProps(),h=f.onLayoutAnimationStart,m=f.onLayoutAnimationComplete,g=!i.targetLayout||!$v(i.targetLayout,p)||u,y=!c&&u;if((null===(n=i.resumeFrom)||void 0===n?void 0:n.instance)||y||c&&(g||!i.currentAnimation)){i.resumeFrom&&(i.resumingFrom=i.resumeFrom,i.resumingFrom.resumingFrom=void 0),i.setAnimationOrigin(o,y);var v=Yp(Yp({},jg(d,"layout")),{onPlay:h,onComplete:m});l.shouldReduceMotion&&(v.delay=0,v.type=!1),i.startAnimation(v)}else c||0!==i.animationProgress||i.finishAnimation(),i.isLead()&&(null===(s=(a=i.options).onExitComplete)||void 0===s||s.call(a));i.targetLayout=p}))}},e.prototype.unmount=function(){var e,t;this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this),null===(e=this.getStack())||void 0===e||e.remove(this),null===(t=this.parent)||void 0===t||t.children.delete(this),this.instance=void 0,Km.preRender(this.updateProjection)},e.prototype.blockUpdate=function(){this.updateManuallyBlocked=!0},e.prototype.unblockUpdate=function(){this.updateManuallyBlocked=!1},e.prototype.isUpdateBlocked=function(){return this.updateManuallyBlocked||this.updateBlockedByResize},e.prototype.isTreeAnimationBlocked=function(){var e;return this.isAnimationBlocked||(null===(e=this.parent)||void 0===e?void 0:e.isTreeAnimationBlocked())||!1},e.prototype.startUpdate=function(){var e;this.isUpdateBlocked()||(this.isUpdating=!0,null===(e=this.nodes)||void 0===e||e.forEach(ub))},e.prototype.willUpdate=function(e){var t,r,n;if(void 0===e&&(e=!0),this.root.isUpdateBlocked())null===(r=(t=this.options).onExitComplete)||void 0===r||r.call(t);else if(!this.root.isUpdating&&this.root.startUpdate(),!this.isLayoutDirty){this.isLayoutDirty=!0;for(var i=0;i<this.path.length;i++){var a=this.path[i];a.shouldResetTransform=!0,a.updateScroll()}var s=this.options,o=s.layoutId,l=s.layout;if(void 0!==o||l){var c=null===(n=this.options.visualElement)||void 0===n?void 0:n.getProps().transformTemplate;this.prevTransformTemplateValue=null==c?void 0:c(this.latestValues,""),this.updateSnapshot(),e&&this.notifyListeners("willUpdate")}}},e.prototype.didUpdate=function(){if(this.isUpdateBlocked())return this.unblockUpdate(),this.clearAllSnapshots(),void this.nodes.forEach(ab);this.isUpdating&&(this.isUpdating=!1,this.potentialNodes.size&&(this.potentialNodes.forEach(gb),this.potentialNodes.clear()),this.nodes.forEach(sb),this.nodes.forEach(rb),this.nodes.forEach(nb),this.clearAllSnapshots(),eg.update(),eg.preRender(),eg.render())},e.prototype.clearAllSnapshots=function(){this.nodes.forEach(ib),this.sharedNodes.forEach(pb)},e.prototype.scheduleUpdateProjection=function(){ag.preRender(this.updateProjection,!1,!0)},e.prototype.scheduleCheckAfterUnmount=function(){var e=this;ag.postRender((function(){e.isLayoutDirty?e.root.didUpdate():e.root.checkUpdateFailed()}))},e.prototype.updateSnapshot=function(){if(!this.snapshot&&this.instance){var e=this.measure(),t=this.removeTransform(this.removeElementScroll(e));vb(t),this.snapshot={measured:e,layout:t,latestValues:{}}}},e.prototype.updateLayout=function(){var e;if(this.instance&&(this.updateScroll(),this.options.alwaysMeasureLayout&&this.isLead()||this.isLayoutDirty)){if(this.resumeFrom&&!this.resumeFrom.instance)for(var t=0;t<this.path.length;t++)this.path[t].updateScroll();var r=this.measure();vb(r);var n=this.layout;this.layout={measured:r,actual:this.removeElementScroll(r)},this.layoutCorrected=Oy(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.actual),null===(e=this.options.visualElement)||void 0===e||e.notifyLayoutMeasure(this.layout.actual,null==n?void 0:n.actual)}},e.prototype.updateScroll=function(){this.options.layoutScroll&&this.instance&&(this.isScrollRoot=i(this.instance),this.scroll=n(this.instance))},e.prototype.resetTransform=function(){var e;if(a){var t=this.isLayoutDirty||this.shouldResetTransform,r=this.projectionDelta&&!Qv(this.projectionDelta),n=null===(e=this.options.visualElement)||void 0===e?void 0:e.getProps().transformTemplate,i=null==n?void 0:n(this.latestValues,""),s=i!==this.prevTransformTemplateValue;t&&(r||zy(this.latestValues)||s)&&(a(this.instance,i),this.shouldResetTransform=!1,this.scheduleRender())}},e.prototype.measure=function(){var e=this.options.visualElement;if(!e)return Oy();var t=e.measureViewportBox(),r=this.root.scroll;return r&&(Xy(t.x,r.x),Xy(t.y,r.y)),t},e.prototype.removeElementScroll=function(e){var t=Oy();zv(t,e);for(var r=0;r<this.path.length;r++){var n=this.path[r],i=n.scroll,a=n.options,s=n.isScrollRoot;if(n!==this.root&&i&&a.layoutScroll){if(s){zv(t,e);var o=this.root.scroll;o&&(Xy(t.x,-o.x),Xy(t.y,-o.y))}Xy(t.x,i.x),Xy(t.y,i.y)}}return t},e.prototype.applyTransform=function(e,t){void 0===t&&(t=!1);var r=Oy();zv(r,e);for(var n=0;n<this.path.length;n++){var i=this.path[n];!t&&i.options.layoutScroll&&i.scroll&&i!==i.root&&Yy(r,{x:-i.scroll.x,y:-i.scroll.y}),zy(i.latestValues)&&Yy(r,i.latestValues)}return zy(this.latestValues)&&Yy(r,this.latestValues),r},e.prototype.removeTransform=function(e){var t,r=Oy();zv(r,e);for(var n=0;n<this.path.length;n++){var i=this.path[n];if(i.instance&&zy(i.latestValues)){jy(i.latestValues)&&i.updateSnapshot();var a=Oy();zv(a,i.measure()),Uv(r,i.latestValues,null===(t=i.snapshot)||void 0===t?void 0:t.layout,a)}}return zy(this.latestValues)&&Uv(r,this.latestValues),r},e.prototype.setTargetDelta=function(e){this.targetDelta=e,this.root.scheduleUpdateProjection()},e.prototype.setOptions=function(e){var t;this.options=Yp(Yp(Yp({},this.options),e),{crossfade:null===(t=e.crossfade)||void 0===t||t})},e.prototype.clearMeasurements=function(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1},e.prototype.resolveTargetDelta=function(){var e,t,r,n,i=this.options,a=i.layout,s=i.layoutId;this.layout&&(a||s)&&(this.targetDelta||this.relativeTarget||(this.relativeParent=this.getClosestProjectingParent(),this.relativeParent&&this.relativeParent.layout&&(this.relativeTarget=Oy(),this.relativeTargetOrigin=Oy(),Ty(this.relativeTargetOrigin,this.layout.actual,this.relativeParent.layout.actual),zv(this.relativeTarget,this.relativeTargetOrigin))),(this.relativeTarget||this.targetDelta)&&(this.target||(this.target=Oy(),this.targetWithTransforms=Oy()),this.relativeTarget&&this.relativeTargetOrigin&&(null===(e=this.relativeParent)||void 0===e?void 0:e.target)?(t=this.target,r=this.relativeTarget,n=this.relativeParent.target,Py(t.x,r.x,n.x),Py(t.y,r.y,n.y)):this.targetDelta?(Boolean(this.resumingFrom)?this.target=this.applyTransform(this.layout.actual):zv(this.target,this.layout.actual),Uy(this.target,this.targetDelta)):zv(this.target,this.layout.actual),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,this.relativeParent=this.getClosestProjectingParent(),this.relativeParent&&Boolean(this.relativeParent.resumingFrom)===Boolean(this.resumingFrom)&&!this.relativeParent.options.layoutScroll&&this.relativeParent.target&&(this.relativeTarget=Oy(),this.relativeTargetOrigin=Oy(),Ty(this.relativeTargetOrigin,this.target,this.relativeParent.target),zv(this.relativeTarget,this.relativeTargetOrigin)))))},e.prototype.getClosestProjectingParent=function(){if(this.parent&&!zy(this.parent.latestValues))return(this.parent.relativeTarget||this.parent.targetDelta)&&this.parent.layout?this.parent:this.parent.getClosestProjectingParent()},e.prototype.calcProjection=function(){var e,t=this.options,r=t.layout,n=t.layoutId;if(this.isTreeAnimating=Boolean((null===(e=this.parent)||void 0===e?void 0:e.isTreeAnimating)||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),this.layout&&(r||n)){var i=this.getLead();zv(this.layoutCorrected,this.layout.actual),function(e,t,r,n){var i,a;void 0===n&&(n=!1);var s=r.length;if(s){var o,l;t.x=t.y=1;for(var c=0;c<s;c++)l=(o=r[c]).projectionDelta,"contents"!==(null===(a=null===(i=o.instance)||void 0===i?void 0:i.style)||void 0===a?void 0:a.display)&&(n&&o.options.layoutScroll&&o.scroll&&o!==o.root&&Yy(e,{x:-o.scroll.x,y:-o.scroll.y}),l&&(t.x*=l.x.scale,t.y*=l.y.scale,Uy(e,l)),n&&zy(o.latestValues)&&Yy(e,o.latestValues))}}(this.layoutCorrected,this.treeScale,this.path,Boolean(this.resumingFrom)||this!==i);var a=i.target;if(a){this.projectionDelta||(this.projectionDelta=Ly(),this.projectionDeltaWithTransform=Ly());var s=this.treeScale.x,o=this.treeScale.y,l=this.projectionTransform;Ay(this.projectionDelta,this.layoutCorrected,a,this.latestValues),this.projectionTransform=Zv(this.projectionDelta,this.treeScale),this.projectionTransform===l&&this.treeScale.x===s&&this.treeScale.y===o||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",a))}}},e.prototype.hide=function(){this.isVisible=!1},e.prototype.show=function(){this.isVisible=!0},e.prototype.scheduleRender=function(e){var t,r,n;void 0===e&&(e=!0),null===(r=(t=this.options).scheduleRender)||void 0===r||r.call(t),e&&(null===(n=this.getStack())||void 0===n||n.scheduleRender()),this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)},e.prototype.setAnimationOrigin=function(e,t){var r,n=this;void 0===t&&(t=!1);var i=this.snapshot,a=(null==i?void 0:i.latestValues)||{},s=Yp({},this.latestValues),o=Ly();this.relativeTarget=this.relativeTargetOrigin=void 0,this.attemptToResolveRelativeTarget=!t;var l=Oy(),c=null==i?void 0:i.isShared,u=((null===(r=this.getStack())||void 0===r?void 0:r.members.length)||0)<=1,p=Boolean(c&&!u&&!0===this.options.crossfade&&!this.path.some(hb));this.animationProgress=0,this.mixTargetDelta=function(t){var r,i=t/1e3;db(o.x,e.x,i),db(o.y,e.y,i),n.setTargetDelta(o),n.relativeTarget&&n.relativeTargetOrigin&&n.layout&&(null===(r=n.relativeParent)||void 0===r?void 0:r.layout)&&(Ty(l,n.layout.actual,n.relativeParent.layout.actual),function(e,t,r,n){fb(e.x,t.x,r.x,n),fb(e.y,t.y,r.y,n)}(n.relativeTarget,n.relativeTargetOrigin,l,i)),c&&(n.animationValues=s,function(e,t,r,n,i,a){var s,o,l,c;i?(e.opacity=Xh(0,null!==(s=r.opacity)&&void 0!==s?s:1,Vv(n)),e.opacityExit=Xh(null!==(o=t.opacity)&&void 0!==o?o:1,0,Nv(n))):a&&(e.opacity=Xh(null!==(l=t.opacity)&&void 0!==l?l:1,null!==(c=r.opacity)&&void 0!==c?c:1,n));for(var u=0;u<Dv;u++){var p="border".concat(Mv[u],"Radius"),d=Ov(t,p),f=Ov(r,p);void 0===d&&void 0===f||(d||(d=0),f||(f=0),0===d||0===f||Lv(d)===Lv(f)?(e[p]=Math.max(Xh(Rv(d),Rv(f),n),0),(rf.test(f)||rf.test(d))&&(e[p]+="%")):e[p]=f)}(t.rotate||r.rotate)&&(e.rotate=Xh(t.rotate||0,r.rotate||0,n))}(s,a,n.latestValues,i,p,u)),n.root.scheduleUpdateProjection(),n.scheduleRender(),n.animationProgress=i},this.mixTargetDelta(0)},e.prototype.startAnimation=function(e){var t,r,n=this;this.notifyListeners("animationStart"),null===(t=this.currentAnimation)||void 0===t||t.stop(),this.resumingFrom&&(null===(r=this.resumingFrom.currentAnimation)||void 0===r||r.stop()),this.pendingAnimation&&(Km.update(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=ag.update((function(){Ad.hasAnimatedSinceResize=!0,n.currentAnimation=function(e,t,r){void 0===r&&(r={});var n=Wd(0)?0:Qg(0);return zg("",n,1e3,r),{stop:function(){return n.stop()},isAnimating:function(){return n.isAnimating()}}}(0,0,Yp(Yp({},e),{onUpdate:function(t){var r;n.mixTargetDelta(t),null===(r=e.onUpdate)||void 0===r||r.call(e,t)},onComplete:function(){var t;null===(t=e.onComplete)||void 0===t||t.call(e),n.completeAnimation()}})),n.resumingFrom&&(n.resumingFrom.currentAnimation=n.currentAnimation),n.pendingAnimation=void 0}))},e.prototype.completeAnimation=function(){var e;this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0),null===(e=this.getStack())||void 0===e||e.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")},e.prototype.finishAnimation=function(){var e;this.currentAnimation&&(null===(e=this.mixTargetDelta)||void 0===e||e.call(this,1e3),this.currentAnimation.stop()),this.completeAnimation()},e.prototype.applyTransformsToTarget=function(){var e=this.getLead(),t=e.targetWithTransforms,r=e.target,n=e.layout,i=e.latestValues;t&&r&&n&&(zv(t,r),Yy(t,i),Ay(this.projectionDeltaWithTransform,this.layoutCorrected,t,i))},e.prototype.registerSharedNode=function(e,t){var r,n,i;this.sharedNodes.has(e)||this.sharedNodes.set(e,new Jv),this.sharedNodes.get(e).add(t),t.promote({transition:null===(r=t.options.initialPromotionConfig)||void 0===r?void 0:r.transition,preserveFollowOpacity:null===(i=null===(n=t.options.initialPromotionConfig)||void 0===n?void 0:n.shouldPreserveFollowOpacity)||void 0===i?void 0:i.call(n,t)})},e.prototype.isLead=function(){var e=this.getStack();return!e||e.lead===this},e.prototype.getLead=function(){var e;return this.options.layoutId&&(null===(e=this.getStack())||void 0===e?void 0:e.lead)||this},e.prototype.getPrevLead=function(){var e;return this.options.layoutId?null===(e=this.getStack())||void 0===e?void 0:e.prevLead:void 0},e.prototype.getStack=function(){var e=this.options.layoutId;if(e)return this.root.sharedNodes.get(e)},e.prototype.promote=function(e){var t=void 0===e?{}:e,r=t.needsReset,n=t.transition,i=t.preserveFollowOpacity,a=this.getStack();a&&a.promote(this,i),r&&(this.projectionDelta=void 0,this.needsReset=!0),n&&this.setOptions({transition:n})},e.prototype.relegate=function(){var e=this.getStack();return!!e&&e.relegate(this)},e.prototype.resetRotation=function(){var e=this.options.visualElement;if(e){for(var t=!1,r={},n=0;n<Od.length;n++){var i="rotate"+Od[n];e.getStaticValue(i)&&(t=!0,r[i]=e.getStaticValue(i),e.setStaticValue(i,0))}if(t){for(var i in null==e||e.syncRender(),r)e.setStaticValue(i,r[i]);e.scheduleRender()}}},e.prototype.getProjectionStyles=function(e){var t,r,n,i,a,s;void 0===e&&(e={});var o={};if(!this.instance||this.isSVG)return o;if(!this.isVisible)return{visibility:"hidden"};o.visibility="";var l=null===(t=this.options.visualElement)||void 0===t?void 0:t.getProps().transformTemplate;if(this.needsReset)return this.needsReset=!1,o.opacity="",o.pointerEvents=Bf(e.pointerEvents)||"",o.transform=l?l(this.latestValues,""):"none",o;var c=this.getLead();if(!this.projectionDelta||!this.layout||!c.target){var u={};return this.options.layoutId&&(u.opacity=null!==(r=this.latestValues.opacity)&&void 0!==r?r:1,u.pointerEvents=Bf(e.pointerEvents)||""),this.hasProjected&&!zy(this.latestValues)&&(u.transform=l?l({},""):"none",this.hasProjected=!1),u}var p=c.animationValues||c.latestValues;this.applyTransformsToTarget(),o.transform=Zv(this.projectionDeltaWithTransform,this.treeScale,p),l&&(o.transform=l(p,o.transform));var d=this.projectionDelta,f=d.x,h=d.y;for(var m in o.transformOrigin="".concat(100*f.origin,"% ").concat(100*h.origin,"% 0"),c.animationValues?o.opacity=c===this?null!==(i=null!==(n=p.opacity)&&void 0!==n?n:this.latestValues.opacity)&&void 0!==i?i:1:this.preserveOpacity?this.latestValues.opacity:p.opacityExit:o.opacity=c===this?null!==(a=p.opacity)&&void 0!==a?a:"":null!==(s=p.opacityExit)&&void 0!==s?s:0,Ld)if(void 0!==p[m]){var g=Ld[m],y=g.correct,v=g.applyTo,b=y(p[m],c);if(v)for(var x=v.length,w=0;w<x;w++)o[v[w]]=b;else o[m]=b}return this.options.layoutId&&(o.pointerEvents=c===this?Bf(e.pointerEvents)||"":"none"),o},e.prototype.clearSnapshot=function(){this.resumeFrom=this.snapshot=void 0},e.prototype.resetTree=function(){this.root.nodes.forEach((function(e){var t;return null===(t=e.currentAnimation)||void 0===t?void 0:t.stop()})),this.root.nodes.forEach(ab),this.root.sharedNodes.clear()},e}()}function rb(e){e.updateLayout()}function nb(e){var t,r,n,i,a=null!==(r=null===(t=e.resumeFrom)||void 0===t?void 0:t.snapshot)&&void 0!==r?r:e.snapshot;if(e.isLead()&&e.layout&&a&&e.hasListeners("didUpdate")){var s=e.layout,o=s.actual,l=s.measured;"size"===e.options.animationType?Vy((function(e){var t=a.isShared?a.measured[e]:a.layout[e],r=ky(t);t.min=o[e].min,t.max=t.min+r})):"position"===e.options.animationType&&Vy((function(e){var t=a.isShared?a.measured[e]:a.layout[e],r=ky(o[e]);t.max=t.min+r}));var c=Ly();Ay(c,o,a.layout);var u=Ly();a.isShared?Ay(u,e.applyTransform(l,!0),a.measured):Ay(u,o,a.layout);var p=!Qv(c),d=!1;if(!e.resumeFrom&&(e.relativeParent=e.getClosestProjectingParent(),e.relativeParent&&!e.relativeParent.resumeFrom)){var f=e.relativeParent,h=f.snapshot,m=f.layout;if(h&&m){var g=Oy();Ty(g,a.layout,h.layout);var y=Oy();Ty(y,o,m.actual),$v(g,y)||(d=!0)}}e.notifyListeners("didUpdate",{layout:o,snapshot:a,delta:u,layoutDelta:c,hasLayoutChanged:p,hasRelativeTargetChanged:d})}else e.isLead()&&(null===(i=(n=e.options).onExitComplete)||void 0===i||i.call(n));e.options.transition=void 0}function ib(e){e.clearSnapshot()}function ab(e){e.clearMeasurements()}function sb(e){var t=e.options.visualElement;(null==t?void 0:t.getProps().onBeforeLayoutMeasure)&&t.notifyBeforeLayoutMeasure(),e.resetTransform()}function ob(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0}function lb(e){e.resolveTargetDelta()}function cb(e){e.calcProjection()}function ub(e){e.resetRotation()}function pb(e){e.removeLeadSnapshot()}function db(e,t,r){e.translate=Xh(t.translate,0,r),e.scale=Xh(t.scale,1,r),e.origin=t.origin,e.originPoint=t.originPoint}function fb(e,t,r,n){e.min=Xh(t.min,r.min,n),e.max=Xh(t.max,r.max,n)}function hb(e){return e.animationValues&&void 0!==e.animationValues.opacityExit}var mb={duration:.45,ease:[.4,0,.1,1]};function gb(e,t){for(var r=e.root,n=e.path.length-1;n>=0;n--)if(Boolean(e.path[n].instance)){r=e.path[n];break}var i=(r&&r!==e.root?r.instance:document).querySelector('[data-projection-id="'.concat(t,'"]'));i&&e.mount(i,!0)}function yb(e){e.min=Math.round(e.min),e.max=Math.round(e.max)}function vb(e){yb(e.x),yb(e.y)}var bb=tb({attachResizeListener:function(e,t){return Uf(e,"resize",t)},measureScroll:function(){return{x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}},checkIsScrollRoot:function(){return!0}}),xb={current:void 0},wb=tb({measureScroll:function(e){return{x:e.scrollLeft,y:e.scrollTop}},defaultParent:function(){if(!xb.current){var e=new bb(0,{});e.mount(window),e.setOptions({layoutScroll:!0}),xb.current=e}return xb.current},resetTransform:function(e,t){e.style.transform=null!=t?t:"none"},checkIsScrollRoot:function(e){return Boolean("fixed"===window.getComputedStyle(e).position)}}),Eb=Yp(Yp(Yp(Yp({},py),_h),rv),Fv),kb=Md((function(e,t){return function(e,t,r,n,i){var a=t.forwardMotionProps,s=void 0!==a&&a,o=Rd(e)?Wf:qf;return Yp(Yp({},o),{preloadedFeatures:r,useRender:Pf(s),createVisualElement:n,projectionNodeConstructor:i,Component:e})}(e,t,Eb,Sv,wb)}));const Sb=i.forwardRef((function({title:e,titleId:t,...r},n){return i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?i.createElement("title",{id:t},e):null,i.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M13.5 4.5 21 12m0 0-7.5 7.5M21 12H3"}))})),Cb=({className:e})=>(0,i.createElement)("svg",{className:e,width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",strokeWidth:"1.5"},(0,i.createElement)("path",{d:"M12.5 5L15 7.5M5 17.5L17.5 5L15 2.5L2.5 15L5 17.5ZM7.5 2.5C7.5 2.94203 7.67559 3.36595 7.98816 3.67851C8.30072 3.99107 8.72464 4.16667 9.16667 4.16667C8.72464 4.16667 8.30072 4.34226 7.98816 4.65482C7.67559 4.96738 7.5 5.39131 7.5 5.83333C7.5 5.39131 7.3244 4.96738 7.01184 4.65482C6.69928 4.34226 6.27536 4.16667 5.83333 4.16667C6.27536 4.16667 6.69928 3.99107 7.01184 3.67851C7.3244 3.36595 7.5 2.94203 7.5 2.5ZM15.8333 10.8333C15.8333 11.2754 16.0089 11.6993 16.3215 12.0118C16.634 12.3244 17.058 12.5 17.5 12.5C17.058 12.5 16.634 12.6756 16.3215 12.9882C16.0089 13.3007 15.8333 13.7246 15.8333 14.1667C15.8333 13.7246 15.6577 13.3007 15.3452 12.9882C15.0326 12.6756 14.6087 12.5 14.1667 12.5C14.6087 12.5 15.0326 12.3244 15.3452 12.0118C15.6577 11.6993 15.8333 11.2754 15.8333 10.8333Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"})),Ab=({className:e})=>(0,i.createElement)("svg",{className:ho(e),xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},(0,i.createElement)("path",{d:"M12.0003 9.00043V12.7504M2.69702 16.1261C1.83163 17.6261 2.9142 19.5004 4.64593 19.5004H19.3546C21.0863 19.5004 22.1689 17.6261 21.3035 16.1261L13.9492 3.37855C13.0833 1.87772 10.9172 1.87772 10.0513 3.37855L2.69702 16.1261ZM12.0003 15.7504H12.0078V15.7579H12.0003V15.7504Z",stroke:"url(#paint0_linear_17495_33324)",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),(0,i.createElement)("defs",null,(0,i.createElement)("linearGradient",{id:"paint0_linear_17495_33324",x1:"12.0003",y1:"2.25293",x2:"12.0003",y2:"19.5004",gradientUnits:"userSpaceOnUse"},(0,i.createElement)("stop",{stopColor:"#B809A7"}),(0,i.createElement)("stop",{offset:"0.46875",stopColor:"#E90B76"}),(0,i.createElement)("stop",{offset:"1",stopColor:"#FC8536"})))),Pb=({className:e})=>(0,i.createElement)("svg",{className:e,width:"52",height:"36",viewBox:"0 0 52 36",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,i.createElement)("g",{clipPath:"url(#clip0_27794_45971)"},(0,i.createElement)("rect",{width:"8",height:"8",fill:"#333E52"}),(0,i.createElement)("rect",{x:"32",width:"8",height:"8",fill:"#333E52"}),(0,i.createElement)("rect",{x:"16",width:"8",height:"8",fill:"#333E52"}),(0,i.createElement)("rect",{x:"48",width:"8",height:"8",fill:"#333E52"}),(0,i.createElement)("rect",{y:"16",width:"8",height:"8",fill:"#333E52"}),(0,i.createElement)("rect",{x:"32",y:"16",width:"8",height:"8",fill:"#333E52"}),(0,i.createElement)("rect",{x:"16",y:"16",width:"8",height:"8",fill:"#333E52"}),(0,i.createElement)("rect",{x:"48",y:"16",width:"8",height:"8",fill:"#333E52"}),(0,i.createElement)("rect",{x:"8",y:"8",width:"8",height:"8",fill:"#333E52"}),(0,i.createElement)("rect",{x:"8",y:"24",width:"8",height:"8",fill:"#333E52"}),(0,i.createElement)("rect",{x:"24",y:"8",width:"8",height:"8",fill:"#333E52"}),(0,i.createElement)("rect",{x:"40",y:"8",width:"8",height:"8",fill:"#333E52"}),(0,i.createElement)("rect",{x:"24",y:"24",width:"8",height:"8",fill:"#333E52"}),(0,i.createElement)("rect",{x:"40",y:"24",width:"8",height:"8",fill:"#333E52"}),(0,i.createElement)("rect",{y:"32",width:"8",height:"8",fill:"#333E52"}),(0,i.createElement)("rect",{x:"32",y:"32",width:"8",height:"8",fill:"#333E52"}),(0,i.createElement)("rect",{x:"16",y:"32",width:"8",height:"8",fill:"#333E52"}),(0,i.createElement)("rect",{x:"48",y:"32",width:"8",height:"8",fill:"#333E52"})),(0,i.createElement)("defs",null,(0,i.createElement)("clipPath",{id:"clip0_27794_45971"},(0,i.createElement)("path",{d:"M0 2C0 0.895431 0.895431 0 2 0H70C71.1046 0 72 0.895431 72 2V42C72 43.1046 71.1046 44 70 44H2C0.895431 44 0 43.1046 0 42V2Z",fill:"white"})))),_b=()=>(0,i.createElement)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,i.createElement)("g",{clipPath:"url(#clip0_2088_1759)"},(0,i.createElement)("path",{d:"M15.3828 16.0001V7.6001H17.0268V16.0001H15.3828Z",fill:"url(#paint0_linear_2088_1759)"}),(0,i.createElement)("path",{d:"M12.636 16.0001L9.42 7.6001H11.064L14.376 16.0001H12.636ZM6 16.0001L9.312 7.6001H10.956L7.74 16.0001H6ZM7.56 14.1521V12.7001H12.828V14.1521H7.56Z",fill:"url(#paint1_linear_2088_1759)"}),(0,i.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18 4H6C3.79086 4 2 5.79086 2 8V16C2 18.2091 3.79086 20 6 20H18C20.2091 20 22 18.2091 22 16V8C22 5.79086 20.2091 4 18 4ZM6 2C2.68629 2 0 4.68629 0 8V16C0 19.3137 2.68629 22 6 22H18C21.3137 22 24 19.3137 24 16V8C24 4.68629 21.3137 2 18 2H6Z",fill:"url(#paint2_linear_2088_1759)"})),(0,i.createElement)("defs",null,(0,i.createElement)("linearGradient",{id:"paint0_linear_2088_1759",x1:"18.9044",y1:"16.0001",x2:"11.7628",y2:"4.39495",gradientUnits:"userSpaceOnUse"},(0,i.createElement)("stop",{stopColor:"#FE5BE4"}),(0,i.createElement)("stop",{offset:"1",stopColor:"#5A03EF"})),(0,i.createElement)("linearGradient",{id:"paint1_linear_2088_1759",x1:"18.904",y1:"16.0001",x2:"11.7624",y2:"4.39495",gradientUnits:"userSpaceOnUse"},(0,i.createElement)("stop",{stopColor:"#FE5BE4"}),(0,i.createElement)("stop",{offset:"1",stopColor:"#5A03EF"})),(0,i.createElement)("linearGradient",{id:"paint2_linear_2088_1759",x1:"24",y1:"22",x2:"4.32787",y2:"-1.60656",gradientUnits:"userSpaceOnUse"},(0,i.createElement)("stop",{stopColor:"#FE5BE4"}),(0,i.createElement)("stop",{offset:"1",stopColor:"#5A03EF"})),(0,i.createElement)("clipPath",{id:"clip0_2088_1759"},(0,i.createElement)("rect",{width:"24",height:"24",fill:"white"})))),{imageDir:Tb,isElementorDisabled:Ib,isBeaverBuilderDisabled:Fb}=starterTemplates,Mb=astraSitesVars?.zip_plans,Db=Mb?.plan_data?.remaining,Rb=Db?.ai_sites_count,Lb=({placement:e="bottom-end",isDisabled:t})=>{const[{builder:r,currentIndex:n,dismissAINotice:a,limitExceedModal:s},o]=fs(),[l,c]=(0,i.useState)("true"!==a),u=()=>{c(!1);const e=new FormData;e.append("action","astra-sites-dismiss-ai-promotion"),e.append("_ajax_nonce",astraSitesVars?._ajax_nonce),e.append("dismiss_ai_promotion",!0),fetch(ajaxurl,{method:"post",body:e}),o({type:"set",dismissAINotice:"true"})};if("fse"===r)return null;const p="number"==typeof Rb&&Rb<=0,d=[{id:"gutenberg",title:(0,wn.__)("Block Editor","astra-sites"),image:`${Tb}block-editor.svg`,extraText:""},{id:"elementor",title:(0,wn.__)("Elementor","astra-sites"),image:`${Tb}elementor.svg`,extraText:""},{id:"beaver-builder",title:(0,wn.__)("Beaver Builder","astra-sites"),image:`${Tb}beaver-builder.svg`,extraText:""},{id:"ai-builder",title:(0,wn.__)("AI Website Builder","astra-sites"),image:`${Tb}ai-builder.svg`,extraText:(0,wn.__)("Hot!","astra-sites")}];if("1"===Ib){const e=d.findIndex((e=>"elementor"===e.id));-1!==e&&d.splice(e,1)}if("1"===Fb){const e=d.findIndex((e=>"beaver-builder"===e.id));-1!==e&&d.splice(e,1)}const f=()=>{if("number"==typeof Rb&&Rb<=0)return void o({type:"set",limitExceedModal:{...s,open:!0}});const e=new FormData;e.append("action","astra-sites-change-page-builder"),e.append("_ajax_nonce",astraSitesVars?._ajax_nonce),e.append("page_builder","ai-builder"),fetch(ajaxurl,{method:"post",body:e}),l&&u(),window.location.href=astraSitesVars?.adminURL+"themes.php?page=ai-builder"};return 1!==n?(0,i.createElement)("div",{className:"relative"},(0,i.createElement)(Qp,{visible:l,arrow:!1,offset:[60,8],render:e=>n===go("site-list")&&(0,i.createElement)(kb.div,{className:"flex flex-col items-start gap-5 min-w-[250px] sm:min-w-[304px] bg-white rounded-lg shadow-lg p-4 border border-button-disabled",...e},(0,i.createElement)("div",{className:"flex-row sm:flex-col flex-wrap flex bg-white text-left relative rounded-xl max-w-[356px]",tabIndex:"0"},(0,i.createElement)(_b,null),(0,i.createElement)("div",{className:"mt-0 sm:mt-2 ml-2 sm:ml-0 mb-1 text-heading-text flex gap-2"},(0,i.createElement)("span",{className:"text-base font-semibold leading-1"},(0,wn.__)("Build website 10x faster!","astra-sites"))),(0,i.createElement)("div",{className:"zw-sm-normal text-body-text sm:block hidden"}," ",(0,wn.__)("Experience the future of website building.","astra-sites")," "),(0,i.createElement)("div",{className:"pt-2 sm:pt-4 mt-auto flex gap-5 items-center"},(0,i.createElement)(ps,{className:"!p-2 !px-3",onClick:f},(0,i.createElement)("span",{className:"text-xs"},(0,wn.__)("Try AI Builder","astra-sites"))," ",(0,i.createElement)(Sb,{className:"size-4 ml-2"})),(0,i.createElement)("a",{className:"!text-zip-app-inactive-icon !text-center !text-xs !font-semibold",rel:"noreferrer",onClick:u},(0,wn.__)("Maybe Later","astra-sites"))))),interactive:!0,interactiveBorder:20,placement:e},(0,i.createElement)("div",{className:"st-page-builder-filter"},(0,i.createElement)(Qr.ToggleDropdown,{value:r,options:d,className:"st-page-builder-toggle",onClick:(e,t)=>{if("ai-builder"===t.id)return p?void o({type:"set",limitExceedModal:{...s,open:!0},currentIndex:0}):window.location=`${astraSitesVars?.adminURL}themes.php?page=ai-builder`;o({type:"set",builder:t.id,siteSearchTerm:"",siteBusinessType:II.siteBusinessType,selectedMegaMenu:II.selectedMegaMenu,siteType:"",siteOrder:"popular",onMyFavorite:!1,currentIndex:2});const r=p&&"ai-builder"===t.id?"gutenberg":t.id,n=new FormData;n.append("action","astra-sites-change-page-builder"),n.append("_ajax_nonce",astraSitesVars?._ajax_nonce),n.append("page_builder",r),fetch(ajaxurl,{method:"post",body:n})},dismissAiPopup:()=>{c(!1)}}))),t&&(0,i.createElement)("div",{className:"w-full absolute h-full top-0 bg-white/75 cursor-not-allowed"})):void 0};var Ob="tippy-content",Vb="tippy-backdrop",Nb="tippy-arrow",Bb="tippy-svg-arrow",jb={passive:!0,capture:!0},zb=function(){return document.body};function Hb(e,t,r){if(Array.isArray(e)){var n=e[t];return null==n?Array.isArray(r)?r[t]:r:n}return e}function Gb(e,t){var r={}.toString.call(e);return 0===r.indexOf("[object")&&r.indexOf(t+"]")>-1}function Wb(e,t){return"function"==typeof e?e.apply(void 0,t):e}function qb(e,t){return 0===t?e:function(n){clearTimeout(r),r=setTimeout((function(){e(n)}),t)};var r}function Ub(e){return[].concat(e)}function Xb(e,t){-1===e.indexOf(t)&&e.push(t)}function Qb(e){return[].slice.call(e)}function $b(e){return Object.keys(e).reduce((function(t,r){return void 0!==e[r]&&(t[r]=e[r]),t}),{})}function Jb(){return document.createElement("div")}function Yb(e){return["Element","Fragment"].some((function(t){return Gb(e,t)}))}function Zb(e,t){e.forEach((function(e){e&&(e.style.transitionDuration=t+"ms")}))}function Kb(e,t){e.forEach((function(e){e&&e.setAttribute("data-state",t)}))}function ex(e,t,r){var n=t+"EventListener";["transitionend","webkitTransitionEnd"].forEach((function(t){e[n](t,r)}))}function tx(e,t){for(var r=t;r;){var n;if(e.contains(r))return!0;r=null==r.getRootNode||null==(n=r.getRootNode())?void 0:n.host}return!1}var rx={isTouch:!1},nx=0;function ix(){rx.isTouch||(rx.isTouch=!0,window.performance&&document.addEventListener("mousemove",ax))}function ax(){var e=performance.now();e-nx<20&&(rx.isTouch=!1,document.removeEventListener("mousemove",ax)),nx=e}function sx(){var e,t=document.activeElement;if((e=t)&&e._tippy&&e._tippy.reference===e){var r=t._tippy;t.blur&&!r.state.isVisible&&t.blur()}}var ox=!("undefined"==typeof window||"undefined"==typeof document||!window.msCrypto),lx=Object.assign({appendTo:zb,aria:{content:"auto",expanded:"auto"},delay:0,duration:[300,250],getReferenceClientRect:null,hideOnClick:!0,ignoreAttributes:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,moveTransition:"",offset:[0,10],onAfterUpdate:function(){},onBeforeUpdate:function(){},onCreate:function(){},onDestroy:function(){},onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},onTrigger:function(){},onUntrigger:function(){},onClickOutside:function(){},placement:"top",plugins:[],popperOptions:{},render:null,showOnCreate:!1,touch:!0,trigger:"mouseenter focus",triggerTarget:null},{animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},{allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999}),cx=Object.keys(lx);function ux(e){var t=(e.plugins||[]).reduce((function(t,r){var n,i=r.name,a=r.defaultValue;return i&&(t[i]=void 0!==e[i]?e[i]:null!=(n=lx[i])?n:a),t}),{});return Object.assign({},e,t)}function px(e,t){var r=Object.assign({},t,{content:Wb(t.content,[e])},t.ignoreAttributes?{}:function(e,t){return(t?Object.keys(ux(Object.assign({},lx,{plugins:t}))):cx).reduce((function(t,r){var n=(e.getAttribute("data-tippy-"+r)||"").trim();if(!n)return t;if("content"===r)t[r]=n;else try{t[r]=JSON.parse(n)}catch(e){t[r]=n}return t}),{})}(e,t.plugins));return r.aria=Object.assign({},lx.aria,r.aria),r.aria={expanded:"auto"===r.aria.expanded?t.interactive:r.aria.expanded,content:"auto"===r.aria.content?t.interactive?null:"describedby":r.aria.content},r}var dx=function(){return"innerHTML"};function fx(e,t){e[dx()]=t}function hx(e){var t=Jb();return!0===e?t.className=Nb:(t.className=Bb,Yb(e)?t.appendChild(e):fx(t,e)),t}function mx(e,t){Yb(t.content)?(fx(e,""),e.appendChild(t.content)):"function"!=typeof t.content&&(t.allowHTML?fx(e,t.content):e.textContent=t.content)}function gx(e){var t=e.firstElementChild,r=Qb(t.children);return{box:t,content:r.find((function(e){return e.classList.contains(Ob)})),arrow:r.find((function(e){return e.classList.contains(Nb)||e.classList.contains(Bb)})),backdrop:r.find((function(e){return e.classList.contains(Vb)}))}}function yx(e){var t=Jb(),r=Jb();r.className="tippy-box",r.setAttribute("data-state","hidden"),r.setAttribute("tabindex","-1");var n=Jb();function i(r,n){var i=gx(t),a=i.box,s=i.content,o=i.arrow;n.theme?a.setAttribute("data-theme",n.theme):a.removeAttribute("data-theme"),"string"==typeof n.animation?a.setAttribute("data-animation",n.animation):a.removeAttribute("data-animation"),n.inertia?a.setAttribute("data-inertia",""):a.removeAttribute("data-inertia"),a.style.maxWidth="number"==typeof n.maxWidth?n.maxWidth+"px":n.maxWidth,n.role?a.setAttribute("role",n.role):a.removeAttribute("role"),r.content===n.content&&r.allowHTML===n.allowHTML||mx(s,e.props),n.arrow?o?r.arrow!==n.arrow&&(a.removeChild(o),a.appendChild(hx(n.arrow))):a.appendChild(hx(n.arrow)):o&&a.removeChild(o)}return n.className=Ob,n.setAttribute("data-state","hidden"),mx(n,e.props),t.appendChild(r),r.appendChild(n),i(e.props,e.props),{popper:t,onUpdate:i}}yx.$$tippy=!0;var vx=1,bx=[],xx=[];function wx(e,t){var r,n,i,a,s,o,l,c,u=px(e,Object.assign({},lx,ux($b(t)))),p=!1,d=!1,f=!1,h=!1,m=[],g=qb(X,u.interactiveDebounce),y=vx++,v=(c=u.plugins).filter((function(e,t){return c.indexOf(e)===t})),b={id:y,reference:e,popper:Jb(),popperInstance:null,props:u,state:{isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},plugins:v,clearDelayTimeouts:function(){clearTimeout(r),clearTimeout(n),cancelAnimationFrame(i)},setProps:function(t){if(!b.state.isDestroyed){D("onBeforeUpdate",[b,t]),q();var r=b.props,n=px(e,Object.assign({},r,$b(t),{ignoreAttributes:!0}));b.props=n,W(),r.interactiveDebounce!==n.interactiveDebounce&&(O(),g=qb(X,n.interactiveDebounce)),r.triggerTarget&&!n.triggerTarget?Ub(r.triggerTarget).forEach((function(e){e.removeAttribute("aria-expanded")})):n.triggerTarget&&e.removeAttribute("aria-expanded"),L(),M(),E&&E(r,n),b.popperInstance&&(Y(),K().forEach((function(e){requestAnimationFrame(e._tippy.popperInstance.forceUpdate)}))),D("onAfterUpdate",[b,t])}},setContent:function(e){b.setProps({content:e})},show:function(){var e=b.state.isVisible,t=b.state.isDestroyed,r=!b.state.isEnabled,n=rx.isTouch&&!b.props.touch,i=Hb(b.props.duration,0,lx.duration);if(!(e||t||r||n||_().hasAttribute("disabled")||(D("onShow",[b],!1),!1===b.props.onShow(b)))){if(b.state.isVisible=!0,P()&&(w.style.visibility="visible"),M(),j(),b.state.isMounted||(w.style.transition="none"),P()){var a=I();Zb([a.box,a.content],0)}o=function(){var e;if(b.state.isVisible&&!h){if(h=!0,w.offsetHeight,w.style.transition=b.props.moveTransition,P()&&b.props.animation){var t=I(),r=t.box,n=t.content;Zb([r,n],i),Kb([r,n],"visible")}R(),L(),Xb(xx,b),null==(e=b.popperInstance)||e.forceUpdate(),D("onMount",[b]),b.props.animation&&P()&&function(e,t){H(e,(function(){b.state.isShown=!0,D("onShown",[b])}))}(i)}},function(){var e,t=b.props.appendTo,r=_();(e=b.props.interactive&&t===zb||"parent"===t?r.parentNode:Wb(t,[r])).contains(w)||e.appendChild(w),b.state.isMounted=!0,Y()}()}},hide:function(){var e=!b.state.isVisible,t=b.state.isDestroyed,r=!b.state.isEnabled,n=Hb(b.props.duration,1,lx.duration);if(!(e||t||r)&&(D("onHide",[b],!1),!1!==b.props.onHide(b))){if(b.state.isVisible=!1,b.state.isShown=!1,h=!1,p=!1,P()&&(w.style.visibility="hidden"),O(),z(),M(!0),P()){var i=I(),a=i.box,s=i.content;b.props.animation&&(Zb([a,s],n),Kb([a,s],"hidden"))}R(),L(),b.props.animation?P()&&function(e,t){H(e,(function(){!b.state.isVisible&&w.parentNode&&w.parentNode.contains(w)&&t()}))}(n,b.unmount):b.unmount()}},hideWithInteractivity:function(e){T().addEventListener("mousemove",g),Xb(bx,g),g(e)},enable:function(){b.state.isEnabled=!0},disable:function(){b.hide(),b.state.isEnabled=!1},unmount:function(){b.state.isVisible&&b.hide(),b.state.isMounted&&(Z(),K().forEach((function(e){e._tippy.unmount()})),w.parentNode&&w.parentNode.removeChild(w),xx=xx.filter((function(e){return e!==b})),b.state.isMounted=!1,D("onHidden",[b]))},destroy:function(){b.state.isDestroyed||(b.clearDelayTimeouts(),b.unmount(),q(),delete e._tippy,b.state.isDestroyed=!0,D("onDestroy",[b]))}};if(!u.render)return b;var x=u.render(b),w=x.popper,E=x.onUpdate;w.setAttribute("data-tippy-root",""),w.id="tippy-"+b.id,b.popper=w,e._tippy=b,w._tippy=b;var k=v.map((function(e){return e.fn(b)})),S=e.hasAttribute("aria-expanded");return W(),L(),M(),D("onCreate",[b]),u.showOnCreate&&ee(),w.addEventListener("mouseenter",(function(){b.props.interactive&&b.state.isVisible&&b.clearDelayTimeouts()})),w.addEventListener("mouseleave",(function(){b.props.interactive&&b.props.trigger.indexOf("mouseenter")>=0&&T().addEventListener("mousemove",g)})),b;function C(){var e=b.props.touch;return Array.isArray(e)?e:[e,0]}function A(){return"hold"===C()[0]}function P(){var e;return!(null==(e=b.props.render)||!e.$$tippy)}function _(){return l||e}function T(){var e,t,r=_().parentNode;return r?null!=(t=Ub(r)[0])&&null!=(e=t.ownerDocument)&&e.body?t.ownerDocument:document:document}function I(){return gx(w)}function F(e){return b.state.isMounted&&!b.state.isVisible||rx.isTouch||a&&"focus"===a.type?0:Hb(b.props.delay,e?0:1,lx.delay)}function M(e){void 0===e&&(e=!1),w.style.pointerEvents=b.props.interactive&&!e?"":"none",w.style.zIndex=""+b.props.zIndex}function D(e,t,r){var n;void 0===r&&(r=!0),k.forEach((function(r){r[e]&&r[e].apply(r,t)})),r&&(n=b.props)[e].apply(n,t)}function R(){var t=b.props.aria;if(t.content){var r="aria-"+t.content,n=w.id;Ub(b.props.triggerTarget||e).forEach((function(e){var t=e.getAttribute(r);if(b.state.isVisible)e.setAttribute(r,t?t+" "+n:n);else{var i=t&&t.replace(n,"").trim();i?e.setAttribute(r,i):e.removeAttribute(r)}}))}}function L(){!S&&b.props.aria.expanded&&Ub(b.props.triggerTarget||e).forEach((function(e){b.props.interactive?e.setAttribute("aria-expanded",b.state.isVisible&&e===_()?"true":"false"):e.removeAttribute("aria-expanded")}))}function O(){T().removeEventListener("mousemove",g),bx=bx.filter((function(e){return e!==g}))}function V(t){if(!rx.isTouch||!f&&"mousedown"!==t.type){var r=t.composedPath&&t.composedPath()[0]||t.target;if(!b.props.interactive||!tx(w,r)){if(Ub(b.props.triggerTarget||e).some((function(e){return tx(e,r)}))){if(rx.isTouch)return;if(b.state.isVisible&&b.props.trigger.indexOf("click")>=0)return}else D("onClickOutside",[b,t]);!0===b.props.hideOnClick&&(b.clearDelayTimeouts(),b.hide(),d=!0,setTimeout((function(){d=!1})),b.state.isMounted||z())}}}function N(){f=!0}function B(){f=!1}function j(){var e=T();e.addEventListener("mousedown",V,!0),e.addEventListener("touchend",V,jb),e.addEventListener("touchstart",B,jb),e.addEventListener("touchmove",N,jb)}function z(){var e=T();e.removeEventListener("mousedown",V,!0),e.removeEventListener("touchend",V,jb),e.removeEventListener("touchstart",B,jb),e.removeEventListener("touchmove",N,jb)}function H(e,t){var r=I().box;function n(e){e.target===r&&(ex(r,"remove",n),t())}if(0===e)return t();ex(r,"remove",s),ex(r,"add",n),s=n}function G(t,r,n){void 0===n&&(n=!1),Ub(b.props.triggerTarget||e).forEach((function(e){e.addEventListener(t,r,n),m.push({node:e,eventType:t,handler:r,options:n})}))}function W(){var e;A()&&(G("touchstart",U,{passive:!0}),G("touchend",Q,{passive:!0})),(e=b.props.trigger,e.split(/\s+/).filter(Boolean)).forEach((function(e){if("manual"!==e)switch(G(e,U),e){case"mouseenter":G("mouseleave",Q);break;case"focus":G(ox?"focusout":"blur",$);break;case"focusin":G("focusout",$)}}))}function q(){m.forEach((function(e){var t=e.node,r=e.eventType,n=e.handler,i=e.options;t.removeEventListener(r,n,i)})),m=[]}function U(e){var t,r=!1;if(b.state.isEnabled&&!J(e)&&!d){var n="focus"===(null==(t=a)?void 0:t.type);a=e,l=e.currentTarget,L(),!b.state.isVisible&&Gb(e,"MouseEvent")&&bx.forEach((function(t){return t(e)})),"click"===e.type&&(b.props.trigger.indexOf("mouseenter")<0||p)&&!1!==b.props.hideOnClick&&b.state.isVisible?r=!0:ee(e),"click"===e.type&&(p=!r),r&&!n&&te(e)}}function X(e){var t=e.target,r=_().contains(t)||w.contains(t);if("mousemove"!==e.type||!r){var n=K().concat(w).map((function(e){var t,r=null==(t=e._tippy.popperInstance)?void 0:t.state;return r?{popperRect:e.getBoundingClientRect(),popperState:r,props:u}:null})).filter(Boolean);(function(e,t){var r=t.clientX,n=t.clientY;return e.every((function(e){var t=e.popperRect,i=e.popperState,a=e.props.interactiveBorder,s=i.placement.split("-")[0],o=i.modifiersData.offset;if(!o)return!0;var l="bottom"===s?o.top.y:0,c="top"===s?o.bottom.y:0,u="right"===s?o.left.x:0,p="left"===s?o.right.x:0,d=t.top-n+l>a,f=n-t.bottom-c>a,h=t.left-r+u>a,m=r-t.right-p>a;return d||f||h||m}))})(n,e)&&(O(),te(e))}}function Q(e){J(e)||b.props.trigger.indexOf("click")>=0&&p||(b.props.interactive?b.hideWithInteractivity(e):te(e))}function $(e){b.props.trigger.indexOf("focusin")<0&&e.target!==_()||b.props.interactive&&e.relatedTarget&&w.contains(e.relatedTarget)||te(e)}function J(e){return!!rx.isTouch&&A()!==e.type.indexOf("touch")>=0}function Y(){Z();var t=b.props,r=t.popperOptions,n=t.placement,i=t.offset,a=t.getReferenceClientRect,s=t.moveTransition,l=P()?gx(w).arrow:null,c=a?{getBoundingClientRect:a,contextElement:a.contextElement||_()}:e,u=[{name:"offset",options:{offset:i}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!s}},{name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(e){var t=e.state;if(P()){var r=I().box;["placement","reference-hidden","escaped"].forEach((function(e){"placement"===e?r.setAttribute("data-placement",t.placement):t.attributes.popper["data-popper-"+e]?r.setAttribute("data-"+e,""):r.removeAttribute("data-"+e)})),t.attributes.popper={}}}}];P()&&l&&u.push({name:"arrow",options:{element:l,padding:3}}),u.push.apply(u,(null==r?void 0:r.modifiers)||[]),b.popperInstance=Ku(c,w,Object.assign({},r,{placement:n,onFirstUpdate:o,modifiers:u}))}function Z(){b.popperInstance&&(b.popperInstance.destroy(),b.popperInstance=null)}function K(){return Qb(w.querySelectorAll("[data-tippy-root]"))}function ee(e){b.clearDelayTimeouts(),e&&D("onTrigger",[b,e]),j();var t=F(!0),n=C(),i=n[0],a=n[1];rx.isTouch&&"hold"===i&&a&&(t=a),t?r=setTimeout((function(){b.show()}),t):b.show()}function te(e){if(b.clearDelayTimeouts(),D("onUntrigger",[b,e]),b.state.isVisible){if(!(b.props.trigger.indexOf("mouseenter")>=0&&b.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(e.type)>=0&&p)){var t=F(!1);t?n=setTimeout((function(){b.state.isVisible&&b.hide()}),t):i=requestAnimationFrame((function(){b.hide()}))}}else z()}}function Ex(e,t){void 0===t&&(t={});var r=lx.plugins.concat(t.plugins||[]);document.addEventListener("touchstart",ix,jb),window.addEventListener("blur",sx);var n,i=Object.assign({},t,{plugins:r}),a=(n=e,Yb(n)?[n]:function(e){return Gb(e,"NodeList")}(n)?Qb(n):Array.isArray(n)?n:Qb(document.querySelectorAll(n))).reduce((function(e,t){var r=t&&wx(t,i);return r&&e.push(r),e}),[]);return Yb(e)?a[0]:a}Ex.defaultProps=lx,Ex.setDefaultProps=function(e){Object.keys(e).forEach((function(t){lx[t]=e[t]}))},Ex.currentInput=rx,Object.assign({},Ru,{effect:function(e){var t=e.state,r={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(t.elements.popper.style,r.popper),t.styles=r,t.elements.arrow&&Object.assign(t.elements.arrow.style,r.arrow)}}),Ex.setDefaultProps({render:yx});const kx=Ex;function Sx(e,t){if(null==e)return{};var r,n,i={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}var Cx="undefined"!=typeof window&&"undefined"!=typeof document;function Ax(e,t){e&&("function"==typeof e&&e(t),{}.hasOwnProperty.call(e,"current")&&(e.current=t))}function Px(){return Cx&&document.createElement("div")}function Tx(e,t){if(e===t)return!0;if("object"==typeof e&&null!=e&&"object"==typeof t&&null!=t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var r in e){if(!t.hasOwnProperty(r))return!1;if(!Tx(e[r],t[r]))return!1}return!0}return!1}function Ix(e){var t=[];return e.forEach((function(e){t.find((function(t){return Tx(e,t)}))||t.push(e)})),t}var Fx=Cx?i.useLayoutEffect:i.useEffect;function Mx(e,t,r){r.split(/\s+/).forEach((function(r){r&&e.classList[t](r)}))}var Dx={name:"className",defaultValue:"",fn:function(e){var t=e.popper.firstElementChild,r=function(){var t;return!!(null==(t=e.props.render)?void 0:t.$$tippy)};function n(){e.props.className&&!r()||Mx(t,"add",e.props.className)}return{onCreate:n,onBeforeUpdate:function(){r()&&Mx(t,"remove",e.props.className)},onAfterUpdate:n}}};function Rx(e){return function(t){var r,n,a=t.children,l=t.content,c=t.visible,u=t.singleton,p=t.render,d=t.reference,f=t.disabled,h=void 0!==f&&f,m=t.ignoreAttributes,g=void 0===m||m,y=(t.__source,t.__self,Sx(t,["children","content","visible","singleton","render","reference","disabled","ignoreAttributes","__source","__self"])),v=void 0!==c,b=void 0!==u,x=(0,i.useState)(!1),w=x[0],E=x[1],k=(0,i.useState)({}),S=k[0],C=k[1],A=(0,i.useState)(),P=A[0],_=A[1],T=(r=function(){return{container:Px(),renders:1}},(n=(0,i.useRef)()).current||(n.current="function"==typeof r?r():r),n.current),I=Object.assign({ignoreAttributes:g},y,{content:T.container});v&&(I.trigger="manual",I.hideOnClick=!1),b&&(h=!0);var F=I,M=I.plugins||[];p&&(F=Object.assign({},I,{plugins:b&&null!=u.data?[].concat(M,[{fn:function(){return{onTrigger:function(e,t){var r=u.data.children.find((function(e){return e.instance.reference===t.currentTarget}));e.state.$$activeSingletonInstance=r.instance,_(r.content)}}}}]):M,render:function(){return{popper:T.container}}}));var D=[d].concat(a?[a.type]:[]);return Fx((function(){var t=d;d&&d.hasOwnProperty("current")&&(t=d.current);var r=e(t||T.ref||Px(),Object.assign({},F,{plugins:[Dx].concat(I.plugins||[])}));return T.instance=r,h&&r.disable(),c&&r.show(),b&&u.hook({instance:r,content:l,props:F,setSingletonContent:_}),E(!0),function(){r.destroy(),null==u||u.cleanup(r)}}),D),Fx((function(){var e,t,r,n,i;if(1!==T.renders){var a=T.instance;a.setProps((t=a.props,r=F,Object.assign({},r,{popperOptions:Object.assign({},t.popperOptions,r.popperOptions,{modifiers:Ix([].concat((null==(n=t.popperOptions)?void 0:n.modifiers)||[],(null==(i=r.popperOptions)?void 0:i.modifiers)||[]))})}))),null==(e=a.popperInstance)||e.forceUpdate(),h?a.disable():a.enable(),v&&(c?a.show():a.hide()),b&&u.hook({instance:a,content:l,props:F,setSingletonContent:_})}else T.renders++})),Fx((function(){var e;if(p){var t=T.instance;t.setProps({popperOptions:Object.assign({},t.props.popperOptions,{modifiers:[].concat(((null==(e=t.props.popperOptions)?void 0:e.modifiers)||[]).filter((function(e){return"$$tippyReact"!==e.name})),[{name:"$$tippyReact",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(e){var t,r=e.state,n=null==(t=r.modifiersData)?void 0:t.hide;S.placement===r.placement&&S.referenceHidden===(null==n?void 0:n.isReferenceHidden)&&S.escaped===(null==n?void 0:n.hasPopperEscaped)||C({placement:r.placement,referenceHidden:null==n?void 0:n.isReferenceHidden,escaped:null==n?void 0:n.hasPopperEscaped}),r.attributes.popper={}}}])})})}}),[S.placement,S.referenceHidden,S.escaped].concat(D)),s().createElement(s().Fragment,null,a?(0,i.cloneElement)(a,{ref:function(e){T.ref=e,Ax(a.ref,e)}}):null,w&&(0,o.createPortal)(p?p(function(e){var t={"data-placement":e.placement};return e.referenceHidden&&(t["data-reference-hidden"]=""),e.escaped&&(t["data-escaped"]=""),t}(S),P,T.instance):l,T.container))}}var Lx=function(e,t){return(0,i.forwardRef)((function(r,n){var a=r.children,o=Sx(r,["children"]);return s().createElement(e,Object.assign({},t,o),a?(0,i.cloneElement)(a,{ref:function(e){Ax(n,e),Ax(a.ref,e)}}):null)}))};const Ox=Lx(Rx(kx)),Vx=({children:e,content:t,offset:r,placement:n="top",interactive:a=!1,delay:s=[300,0]})=>t?(0,i.createElement)(Ox,{arrow:!0,content:t,className:"zw-tooltip zw-xs-normal flex items-center justify-left",offset:r,placement:n,interactive:a,delay:s},e):(0,i.createElement)("div",null,e),{adminUrl:Nx}=starterTemplates,Bx=()=>(0,i.createElement)("a",{className:"st-exit-to-dashboard",href:Nx},(0,i.createElement)(Vx,{content:(0,wn.__)("Exit to Dashboard","astra-sites")},ms.remove)),jx=({isDisabled:e})=>{const[t,r]=fs(),{onMyFavorite:n}=t;return go("page-builder")===t.currentIndex||go("classic-page-builder")===t.currentIndex?null:(0,i.createElement)("div",{className:"st-my-favorite relative "+(n?"active":""),onClick:!e&&(e=>{e.stopPropagation(),r({type:"set",onMyFavorite:!n,siteType:"",siteOrder:II.siteOrder,siteBusinessType:II.siteBusinessType,selectedMegaMenu:II.selectedMegaMenu,siteSearchTerm:""})})},(0,i.createElement)(Vx,{content:(0,wn.__)("My Favorite","astra-sites"),offset:[5,20]},ms.favorite),e&&(0,i.createElement)("div",{className:"w-full absolute h-full top-0 bg-white/75 cursor-not-allowed"}))},zx=()=>{const[{currentIndex:e,bgSyncInProgress:t,sitesSyncing:r},n]=fs(),[a,s]=(0,i.useState)({updatedData:null,syncStatus:null}),{updatedData:o,syncStatus:l}=a;if((0,i.useEffect)((()=>{if(r)return window.onbeforeunload=()=>!0,()=>{window.onbeforeunload=null}}),[r]),go("page-builder")===e||go("classic-page-builder")===e)return null;if(!0===l&&o){const{sites:e,categories:t,categoriesAndTags:r}=o;e&&t&&r&&n({type:"set",allSitesData:e,allCategories:t,allCategoriesAndTags:r}),s({...a,updatedData:null})}return(0,i.createElement)(i.Fragment,null,(0,i.createElement)("div",{className:ho("relative st-sync-library",r&&"loading",t&&"cursor-not-allowed"),onClick:async e=>{if(e.stopPropagation(),r||t)return;n({type:"set",sitesSyncing:!0});const i=await Cc();s({updatedData:i,syncStatus:Sc()}),n({type:"set",sitesSyncing:!1})}},(0,i.createElement)(Vx,{content:!t&&(0,wn.__)("Sync Library","astra-sites")},(0,i.createElement)("div",{className:"inline-flex items-center justify-center"},(0,i.createElement)("span",{className:ho(t&&"opacity-50")},ms.sync),t&&(0,i.createElement)("span",{className:"absolute bottom-[18%] left-1/2 -translate-x-1/2 translate-y-1/2 rounded bg-credit-warning pb-px px-1 pt-0 text-white shadow-sm text-[0.625rem] leading-[0.9375rem]"},(0,wn.__)("Syncing","astra-sites"))))),!r&&!0===l&&(0,i.createElement)(Qr.Toaster,{type:"success",message:(0,wn.__)("Library refreshed successfully","astra-sites"),autoHideDuration:5,bottomRight:!0}),!r&&!1===l&&(0,i.createElement)(Qr.Toaster,{type:"error",message:(0,wn.__)("Library refreshed failed!","astra-sites"),autoHideDuration:5,bottomRight:!0}))};var Hx=function(){return Hx=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},Hx.apply(this,arguments)},Gx=function(e,t,r,n){return new(r||(r=Promise))((function(i,a){function s(e){try{l(n.next(e))}catch(e){a(e)}}function o(e){try{l(n.throw(e))}catch(e){a(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,o)}l((n=n.apply(e,t||[])).next())}))},Wx=function(e,t){var r,n,i,a,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return a={next:o(0),throw:o(1),return:o(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function o(o){return function(l){return function(o){if(r)throw new TypeError("Generator is already executing.");for(;a&&(a=0,o[0]&&(s=0)),s;)try{if(r=1,n&&(i=2&o[0]?n.return:o[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,o[1])).done)return i;switch(n=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,n=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(!((i=(i=s.trys).length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){s=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){s.label=o[1];break}if(6===o[0]&&s.label<i[1]){s.label=i[1],i=o;break}if(i&&s.label<i[2]){s.label=i[2],s.ops.push(o);break}i[2]&&s.ops.pop(),s.trys.pop();continue}o=t.call(e,s)}catch(e){o=[6,e],n=0}finally{r=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,l])}}},qx={rssFeedURL:"",selector:"",loaderIcon:'<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 100 100" preserveAspectRatio="xMidYMid">\n\t<circle cx="50" cy="50" fill="none" stroke="#9f9f9f" stroke-width="10" r="35" stroke-dasharray="164.93361431346415 56.97787143782138">\n\t\t<animateTransform attributeName="transform" type="rotate" repeatCount="indefinite" dur="1s" values="0 50 50;360 50 50" keyTimes="0;1"></animateTransform>\n\t</circle>\n\t</svg>',viewAll:{link:"",label:"View All"},triggerButton:{icon:'<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M8.61703 13.1998C8.04294 13.1503 7.46192 13.125 6.875 13.125H6.25C4.17893 13.125 2.5 11.4461 2.5 9.375C2.5 7.30393 4.17893 5.625 6.25 5.625H6.875C7.46192 5.625 8.04294 5.59972 8.61703 5.55018M8.61703 13.1998C8.82774 14.0012 9.1031 14.7764 9.43719 15.5195C9.64341 15.9782 9.48685 16.5273 9.05134 16.7787L8.50441 17.0945C8.04492 17.3598 7.45466 17.1921 7.23201 16.7106C6.70983 15.5811 6.30451 14.3866 6.03155 13.1425M8.61703 13.1998C8.29598 11.9787 8.125 10.6968 8.125 9.375C8.125 8.05316 8.29598 6.77125 8.61703 5.55018M8.61703 13.1998C11.25 13.427 13.737 14.1643 15.9789 15.3124M8.61703 5.55018C11.25 5.323 13.737 4.58569 15.9789 3.43757M15.9789 3.43757C15.8808 3.12162 15.7751 2.80903 15.662 2.5M15.9789 3.43757C16.4247 4.87356 16.7131 6.37885 16.8238 7.93326M15.9789 15.3124C15.8808 15.6284 15.7751 15.941 15.662 16.25M15.9789 15.3124C16.4247 13.8764 16.7131 12.3711 16.8238 10.8167M16.8238 7.93326C17.237 8.2772 17.5 8.79539 17.5 9.375C17.5 9.95461 17.237 10.4728 16.8238 10.8167M16.8238 7.93326C16.8578 8.40942 16.875 8.8902 16.875 9.375C16.875 9.8598 16.8578 10.3406 16.8238 10.8167" stroke="#94A3B8" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/></svg>',beforeBtn:"",afterBtn:"",className:"",onClick:function(){}},notification:{setLastPostUnixTime:null,getLastPostUnixTime:null},flyout:{title:"What's New?",innerContent:{titleLink:!0,additionalClasses:[]},excerpt:{wordLimit:500,moreSymbol:"…",readMore:{label:"Read More",className:""}},className:"",closeOnEsc:!0,closeOnOverlayClick:!0,closeBtnIcon:'<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M6 18L18 6M6 6L18 18" stroke="#94A3B8" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/></svg>',formatDate:null,onOpen:function(){},onClose:function(){},onReady:function(){}}},Ux=function(){function e(e){this.rssFeedURLs=[],this.lastPostUnixTime=0,this.multiLastPostUnixTime={},this.notificationsCount=0,this.multiNotificationCount={},this.hasNewFeeds=!1,this.multiHasNewFeeds={},this.validateArgs(e),this.parseDefaults(e),this.setElement(),this.getElement()?(this.setID(),this.setRSSFeedURLs(),Xx.setInstanceID(this.getID()),this.RSS_Fetch_Instance=new Qx(this),this.RSS_View_Instance=new $x(this),this.setNotificationsCount(),this.setTriggers()):console.warn("WNR: Cannot find element with",this.getArgs().selector)}return e.prototype.validateArgs=function(e){["rssFeedURL","selector"].map((function(t){if(!e[t])throw new Error("".concat(t," is a required argument. It cannot be empty or undefined."));if("rssFeedURL"===t){var r=e[t];Array.isArray(r)&&r.forEach((function(e){if(!(null==e?void 0:e.key))throw new Error('The parameter "key" is required for "'.concat(t,'" parameter in multi-feed mode.'));if(e.key.includes(" "))throw new Error('The parameter "key" cannot have spaces for "'.concat(t,'" parameter in multi-feed mode. Ref Key: "').concat(e.key,'"'))}))}}))},e.prototype.parseDefaults=function(e){var t,r;this.args=Hx(Hx(Hx({},qx),e),{viewAll:Hx(Hx({},qx.viewAll),null==e?void 0:e.viewAll),triggerButton:Hx(Hx({},qx.triggerButton),null==e?void 0:e.triggerButton),flyout:Hx(Hx(Hx({},qx.flyout),null==e?void 0:e.flyout),{innerContent:Hx(Hx({},qx.flyout.innerContent),null===(t=null==e?void 0:e.flyout)||void 0===t?void 0:t.innerContent),excerpt:Hx(Hx({},qx.flyout.excerpt),null===(r=null==e?void 0:e.flyout)||void 0===r?void 0:r.excerpt)})})},e.prototype.getArgs=function(){return this.args},e.prototype.setElement=function(){this.element=document.querySelector(this.args.selector)},e.prototype.getElement=function(){return this.element},e.prototype.setID=function(){var e=[this.getArgs().selector],t=this.getArgs().rssFeedURL;Array.isArray(t)?t.forEach((function(t){e.push(t.key)})):e.push(t),this.ID=btoa(e.join("-")).slice(-12).replace(/=/g,"")},e.prototype.isMultiFeedRSS=function(){return"string"!=typeof this.getArgs().rssFeedURL},e.prototype.setRSSFeedURLs=function(){var e=this,t=this.getArgs().rssFeedURL;this.isMultiFeedRSS()?Array.isArray(t)&&t.forEach((function(t){e.rssFeedURLs.push(t)})):this.rssFeedURLs.push({key:null,label:"",url:t.toString()})},e.prototype.getRSSFeedURLs=function(){return this.rssFeedURLs},e.prototype.getID=function(){return this.ID},e.prototype.setNotificationsCount=function(){return Gx(this,void 0,void 0,(function(){var e=this;return Wx(this,(function(t){switch(t.label){case 0:return[4,Promise.all(this.getRSSFeedURLs().map((function(t){var r=t.key;return Gx(e,void 0,void 0,(function(){var e;return Wx(this,(function(t){switch(t.label){case 0:return e=0,"function"!=typeof this.getArgs().notification.getLastPostUnixTime?[3,2]:[4,this.getArgs().notification.getLastPostUnixTime(r,this)];case 1:return e=t.sent(),[3,3];case 2:e=Xx.getLastPostUnixTime(r),t.label=3;case 3:return this.isMultiFeedRSS()?this.multiLastPostUnixTime[r]=+e:this.lastPostUnixTime=+e,[2]}}))}))})))];case 1:return t.sent(),[4,this.RSS_Fetch_Instance.fetchData().then((function(t){Object.keys(t).forEach((function(r){var n=t[r];if(n.length){e.multiNotificationCount[r]=0;var i=+n[0].date,a=e.isMultiFeedRSS()?e.multiLastPostUnixTime[r]:e.lastPostUnixTime;i>a&&(n.forEach((function(t){t.date>a&&(e.isMultiFeedRSS()&&(e.multiNotificationCount[r]++,e.multiHasNewFeeds[r]=!0),e.notificationsCount++,e.hasNewFeeds=!0)})),e.RSS_View_Instance.setNotification(e.notificationsCount))}}))}))];case 2:return t.sent(),[2]}}))}))},e.prototype.getNotificationsCount=function(){return this.notificationsCount},e.prototype.setTriggers=function(){var e=this,t=document.getElementById(this.RSS_View_Instance.getTriggerButtonID()),r=document.getElementById(this.RSS_View_Instance.getFlyoutID()),n=r.querySelector(".whats-new-rss-flyout-inner-content"),i=document.getElementById(this.RSS_View_Instance.getFlyoutCloseBtnID()),a=document.getElementById(this.RSS_View_Instance.getFlyoutMultiFeedNavID()),s=function(t){e.RSS_Fetch_Instance.fetchData().then((function(i){n.innerHTML="";var a=i[t];if(a.length){var s=+a[0].date,o=e.isMultiFeedRSS()?e.multiLastPostUnixTime[t]:e.lastPostUnixTime;a.forEach((function(r){var i=!!o&&r.date>o,a=e.getArgs().flyout.innerContent.titleLink?'<a href="'.concat(r.postLink,'" target="_blank">\n\t\t\t\t\t\t\t\t<h2>').concat(r.title,"</h2>\n\t\t\t\t\t\t\t</a>"):"<h2>".concat(r.title,"</h2>"),s='\n\t\t\t\t\t\t\t\t<div class="rss-content-header">\n\t\t\t\t\t\t\t\t\t<p>'.concat(e.RSS_View_Instance.formatDate(new Date(r.date)),"</p>\n\t\t\t\t\t\t\t\t\t").concat(a,"\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t").concat(e.RSS_View_Instance.createExcerpt(r.description,r.postLink,e.getArgs().flyout.excerpt),"\n\t\t\t\t\t\t\t\t").concat(e.RSS_View_Instance.listChildrenPosts(r.children),"\n\t\t\t\t\t\t\t"),l=e.getArgs().flyout.innerContent.additionalClasses;t&&l.push("`inner-content-item-feed-key-${key}`"),n.innerHTML+=e.RSS_View_Instance.innerContentWrapper(s,i,l.join(" "))})),e.getArgs().viewAll.link&&(n.innerHTML+=e.RSS_View_Instance.innerContentWrapper('\n\t\t\t\t\t\t\t<a href="'.concat(e.getArgs().viewAll.link,'" class="button view-all">').concat(e.getArgs().viewAll.label,"</a>\n\t\t\t\t\t\t\t"))),e.RSS_View_Instance.setIsLoading(!1),r.classList.add("ready"),e.getArgs().flyout.onReady(e),r.focus(),e.isMultiFeedRSS()||(e.lastPostUnixTime=s,e.hasNewFeeds&&("function"==typeof e.getArgs().notification.setLastPostUnixTime?e.getArgs().notification.setLastPostUnixTime(s,t):Xx.setLastPostUnixTime(s,t)))}}))};t.addEventListener("click",(function(t){if(t.preventDefault(),e.getArgs().triggerButton.onClick(e),e.RSS_View_Instance.setIsLoading(!0),r.classList.remove("closed"),r.classList.add("open"),document.body.classList.add("whats-new-rss-is-active"),e.getArgs().flyout.onOpen(e),!e.isMultiFeedRSS())return s(null);var n=a.querySelectorAll("button");n.forEach((function(t){e.RSS_View_Instance.setMultiFeedTabNotificationCount(t.dataset.feedKey,e.multiNotificationCount[t.dataset.feedKey]),t.addEventListener("click",(function(r){r.preventDefault();var i=t.dataset.feedKey;e.multiNotificationCount[i]=0,e.RSS_Fetch_Instance.fetchData().then((function(t){var r=t[i][0].date;e.multiLastPostUnixTime[i]=r,!0===e.multiHasNewFeeds[i]&&("function"==typeof e.getArgs().notification.setLastPostUnixTime?e.getArgs().notification.setLastPostUnixTime(r,i):Xx.setLastPostUnixTime(r,i)),e.multiHasNewFeeds[i]=!1})),n.forEach((function(e){e.classList.remove("selected");var t=e.dataset.feedKey,r=".inner-content-item-feed-key-".concat(t);document.querySelectorAll(r).forEach((function(e){i!==t?e.classList.add("hidden"):e.classList.remove("hidden")}))})),t.classList.add("selected"),s(i)}))})),n[0].click()}));var o=function(){r.classList.add("closed"),r.classList.remove("open"),r.classList.remove("ready"),document.body.classList.remove("whats-new-rss-is-active"),e.isMultiFeedRSS()?e.RSS_View_Instance.setNotification(Object.values(e.multiNotificationCount).filter(Boolean).length):(e.hasNewFeeds=!1,e.RSS_View_Instance.setNotification(!1)),n.innerHTML="",e.getArgs().flyout.onClose(e),t.focus()};this.getArgs().flyout.closeOnEsc&&document.addEventListener("keydown",(function(e){"Escape"===e.key&&r.classList.contains("open")&&o()})),this.getArgs().flyout.closeOnOverlayClick&&r.querySelector(".whats-new-rss-flyout-overlay").addEventListener("click",o),i.addEventListener("click",o)},e}(),Xx=function(){function e(){}return e.setInstanceID=function(e){this.instanceID||(this.instanceID=e)},e.prefixer=function(e,t){if(void 0===t&&(t=""),!this.instanceID)throw new Error("Instance ID not set.");return t?"".concat(this.keys[e],"-").concat(this.instanceID,"-").concat(t):"".concat(this.keys[e],"-").concat(this.instanceID)},e._setDataExpiry=function(e){void 0===e&&(e="");var t=(new Date).getTime()+864e5;sessionStorage.setItem(this.prefixer("SESSION_DATA_EXPIRY",e),JSON.stringify(t))},e._isDataExpired=function(e){void 0===e&&(e="");var t=this.prefixer("SESSION_DATA_EXPIRY",e),r=window.sessionStorage.getItem(t);if(!r)return!0;var n=JSON.parse(r);return(new Date).getTime()>n&&(window.sessionStorage.removeItem(t),!0)},e.setSessionData=function(e,t){return void 0===t&&(t=""),this._setDataExpiry(t),window.sessionStorage.setItem(this.prefixer("SESSION",t),e)},e.getSessionData=function(e){return void 0===e&&(e=""),this._isDataExpired(e)?"{}":window.sessionStorage.getItem(this.prefixer("SESSION",e))},e.setLastPostUnixTime=function(e,t){return void 0===t&&(t=""),window.localStorage.setItem(this.prefixer("LAST_LATEST_POST",t),e.toString())},e.getLastPostUnixTime=function(e){return void 0===e&&(e=""),+window.localStorage.getItem(this.prefixer("LAST_LATEST_POST",e))},e.keys={SESSION_DATA_EXPIRY:"whats-new-cache-expiry",LAST_LATEST_POST:"whats-new-last-unixtime",SESSION:"whats-new-cache"},e}(),Qx=function(){function e(e){var t=this;this.data={},this.RSS=e,this.RSS.getRSSFeedURLs().forEach((function(e){var r=JSON.parse(Xx.getSessionData(e.key));r&&r.length&&(t.data[e.key]=r)}))}return e.prototype.fetchData=function(){return Gx(this,void 0,void 0,(function(){var e,t=this;return Wx(this,(function(r){switch(r.label){case 0:return Object.keys(this.data).length?[2,this.data]:(e=this.RSS.getRSSFeedURLs().map((function(e){return Gx(t,void 0,void 0,(function(){var t,r,n=this;return Wx(this,(function(i){switch(i.label){case 0:return this.data[e.key]=[],[4,fetch(e.url)];case 1:return[4,i.sent().text()];case 2:return t=(t=i.sent()).replace(/»/g,"&raquo;"),r=new DOMParser,r.parseFromString(t,"text/xml").querySelectorAll("item").forEach((function(t){var r,i=t.querySelector("title").textContent,a=t.querySelector("link").textContent,s=t.querySelector("content\\:encoded, encoded"),o=s?s.textContent:"",l=t.querySelector("pubDate").innerHTML;n.data[e.key].push({title:i,date:l?+new Date(l):null,postLink:a,description:o.replace(/<a\b((?:(?!target=)[^>])*)>/g,'<a$1 target="_blank">').replace(/<p>\s*<\/p>/g,""),children:JSON.parse((null===(r=t.querySelector("children"))||void 0===r?void 0:r.innerHTML)||"{}")})})),Xx.setSessionData(JSON.stringify(this.data[e.key]),e.key),[2]}}))}))})),[4,Promise.all(e)]);case 1:return r.sent(),[2,this.data]}}))}))},e}(),$x=function(){function e(e){this.RSS=e,this.createTriggerButton(),this.createFlyOut()}return e.prototype.getTriggerButtonID=function(){return"whats-new-rss-btn-".concat(this.RSS.getID())},e.prototype.getFlyoutID=function(){return"whats-new-rss-flyout-".concat(this.RSS.getID())},e.prototype.getFlyoutCloseBtnID=function(){return"whats-new-rss-flyout-close-".concat(this.RSS.getID())},e.prototype.getFlyoutMultiFeedNavID=function(){return"whats-new-rss-flyout-multi-feed-nav-".concat(this.RSS.getID())},e.prototype.setIsLoading=function(e){void 0===e&&(e=!1);var t=document.getElementById(this.getFlyoutID());e?t.classList.add("is-loading"):t.classList.remove("is-loading")},e.prototype.setNotification=function(e){var t=document.querySelector("#".concat(this.getTriggerButtonID()," .whats-new-rss-notification-badge"));e?(this.RSS.isMultiFeedRSS()?(t.innerHTML="",t.classList.add("is-multi-feed")):t.innerHTML=e>9?"9+":e.toString(),t.classList.remove("hide")):t.classList.add("hide")},e.prototype.createTriggerButton=function(){var e="\n\t\t".concat(this.RSS.getArgs().triggerButton.beforeBtn,'\n\t\t<a class="whats-new-rss-trigger-button" id="').concat(this.getTriggerButtonID(),'">\n\t\t\t').concat(this.RSS.getArgs().triggerButton.icon,'\n\t\t\t<div class="whats-new-rss-notification-badge hide">0</div>\n\t\t</a>\n\t\t').concat(this.RSS.getArgs().triggerButton.afterBtn,"\n\t\t");this.RSS.getElement().innerHTML+=e},e.prototype.createFlyOut=function(){var e=["whats-new-rss-flyout","closed"];this.RSS.getArgs().flyout.className&&e.push(this.RSS.getArgs().flyout.className);var t=[];this.RSS.isMultiFeedRSS()&&(t.push('<nav id="'.concat(this.getFlyoutMultiFeedNavID(),'" class="whats-new-rss-multi-feed-nav">')),this.RSS.getRSSFeedURLs().forEach((function(e){t.push('<button type="button" data-feed-key="'.concat(e.key,'">\n\t\t\t\t\t\t').concat(e.label,'\n\t\t\t\t\t\t<div class="new-notification-count"></div>\n\t\t\t\t\t</button>\n\t\t\t\t\t'))})),t.push("</nav>"));var r=document.createElement("div");r.setAttribute("id",this.getFlyoutID()),r.setAttribute("class",e.join(" ")),r.setAttribute("role","dialog"),r.innerHTML='\n\t\t<div class="whats-new-rss-flyout-contents">\n\n\t\t\t<div class="whats-new-rss-flyout-inner-header">\n\n\t\t\t\t<div class="whats-new-rss-flyout-inner-header__title-icon-wrapper">\n\t\t\t\t\t<h3>'.concat(this.RSS.getArgs().flyout.title,'</h3>\n\n\t\t\t\t\t<span class="whats-new-rss-flyout-inner-header__loading-icon">\n\t\t\t\t\t').concat(this.RSS.getArgs().loaderIcon,'\n\t\t\t\t\t</span>\n\t\t\t\t</div>\n\n\t\t\t\t<button type="button" id="').concat(this.getFlyoutCloseBtnID(),'">').concat(this.RSS.getArgs().flyout.closeBtnIcon,"</button>\n\t\t\t</div>\n\n\t\t\t").concat(t.join(""),'\n\n\t\t\t<div class="whats-new-rss-flyout-inner-content">\n\t\t\t\t<div class="skeleton-container">\n\t\t\t\t\t<div class="skeleton-row whats-new-rss-flyout-inner-content-item"></div>\n\t\t\t\t\t<div class="skeleton-row whats-new-rss-flyout-inner-content-item"></div>\n\t\t\t\t\t<div class="skeleton-row whats-new-rss-flyout-inner-content-item"></div>\n\t\t\t\t</div>\n\t\t\t</div>\n\n\t\t</div>\n\n\t\t<div class="whats-new-rss-flyout-overlay"></div>\n\t\t'),document.body.appendChild(r)},e.prototype.setMultiFeedTabNotificationCount=function(e,t){void 0===t&&(t=0);var r=document.querySelector("#".concat(this.getFlyoutMultiFeedNavID(),' button[data-feed-key="').concat(e,'"]'));if(r){var n=r.querySelector(".new-notification-count");if(t){var i=t>9?"9+":t;n.innerHTML=i.toString()}else n.innerHTML=""}},e.prototype.innerContentWrapper=function(e,t,r){void 0===t&&(t=!1),void 0===r&&(r="");var n=["whats-new-rss-flyout-inner-content-item"];return t&&n.push("rss-new-post"),r&&n.push(r),'\n\t\t<div class="'.concat(n.join(" "),'">\n\t\t\t').concat(t?'<small class="new-post-badge">New ✨</small>':"","\n\t\t\t").concat(e,"\n\t\t</div>\n\t\t")},e.prototype.createExcerpt=function(e,t,r){var n=r.wordLimit,i=r.moreSymbol,a=r.readMore;if(!n)return e;var s=e.replace(/<[^>]*>/g,"").split(/\s+/),o=s.slice(0,n).join(" ");return i&&(o+=i),n>s.length?e:t&&(null==a?void 0:a.label)?"<p>".concat(o,' <a href="').concat(t,'" target="_blank" class="').concat(a.className,'">').concat(a.label,"</a></p>"):"<p>".concat(o,"</p>")},e.prototype.listChildrenPosts=function(e){var t=this,r=Object.values(e);if(!r.length)return"";var n=document.createElement("details"),i=document.createElement("summary"),a=document.createElement("div");return r.forEach((function(e){var r=(new DOMParser).parseFromString(e.post_content,"text/html"),n=document.createElement("div");n.classList.add("sub-version-item"),n.innerHTML='\n\t\t\t\t<div class="sub-version-header">\n\t\t\t\t\t<h4 class="sub-version-title">'.concat(e.post_title,'</h4>\n\t\t\t\t\t<span class="sub-version-date">').concat(t.formatDate(new Date(e.post_date)),'</span>\n\t\t\t\t</div>\n\t\t\t\t<div class="sub-version-content">').concat(r.documentElement.textContent,"</div>\n\t\t\t"),a.appendChild(n)})),i.innerHTML='<p class="text-see-more">See More</p><p class="text-see-less">See Less</p>',n.appendChild(i),n.appendChild(a),a.classList.add("sub-version-items-wrapper"),n.classList.add("whats-new-rss-sub-version-details"),n.outerHTML},e.prototype.formatDate=function(e){if("function"==typeof this.RSS.getArgs().flyout.formatDate)return this.RSS.getArgs().flyout.formatDate(e);var t=new Date,r=e.getTime(),n=t.getTime()-r,i=36e5,a=24*i,s=7*a,o=30*a;if(n<6e4)return"Just now";if(n<i){var l=Math.floor(n/6e4);return"".concat(l," minute").concat(l>1?"s":""," ago")}if(n<a){var c=Math.floor(n/i);return"".concat(c," hour").concat(c>1?"s":""," ago")}if(n<s){var u=Math.floor(n/a);return"".concat(u," day").concat(u>1?"s":""," ago")}if(n<o){var p=Math.floor(n/s);return"".concat(p," week").concat(p>1?"s":""," ago")}var d=Math.floor(n/o);return"".concat(d," month").concat(d>1?"s":""," ago")},e}();const Jx=()=>{const[{bgSyncInProgress:e,sitesSyncing:t,currentIndex:r}]=fs(),n=(e||t)&&2===r;return function({selector:e,...t}){const r=(0,i.useRef)(null);(0,i.useEffect)((()=>{var n;return async function(){const e="whats-new-rss-styles";if(!document.getElementById(e)){const t=document.createElement("style");t.id=e,t.innerHTML=await async function(){return".whats-new-rss-is-active{overflow:hidden}.whats-new-rss-trigger-button{display:flex;align-items:center;position:relative;width:auto;padding:5px;cursor:pointer}.whats-new-rss-trigger-button .whats-new-rss-notification-badge{position:absolute;top:-8px;right:-5px;width:20px;font-size:10px;line-height:20px;text-align:center;border-radius:10px;color:#fff;background:red;transition:transform .2s ease-in-out}.whats-new-rss-trigger-button .whats-new-rss-notification-badge.is-multi-feed{top:-2px;right:-2px;font-size:0;width:10px;height:10px}.whats-new-rss-trigger-button .whats-new-rss-notification-badge.hide{display:none}.whats-new-rss-trigger-button:hover .whats-new-rss-notification-badge{transform:scale(1.2)}.whats-new-rss-flyout{position:fixed;top:0;right:0;bottom:0;width:100%;z-index:99999;transition:visibility .3s ease-in-out;font-family:Arial,Helvetica,sans-serif}.whats-new-rss-flyout .lightbox-trigger,.whats-new-rss-flyout.hidden{display:none}.whats-new-rss-flyout.is-loading .whats-new-rss-flyout-inner-header__loading-icon{display:block;margin:auto}.whats-new-rss-flyout.is-loading .whats-new-rss-flyout-inner-header__loading-icon svg{display:block;background:0 0;width:25px;height:25px}.whats-new-rss-flyout .whats-new-rss-flyout-contents{position:fixed;display:flex;right:0;width:30%;height:100%;flex-direction:column;background-color:#fff;transition:transform .3s ease-in-out;z-index:9999}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-header{display:flex;justify-content:space-between;align-items:center;padding:16px 20px 16px 24px;border-bottom:1px solid #ccc}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-header button{border:none;background:0 0;font-size:30px;cursor:pointer;color:#94a3b8;padding:0;margin:0;box-shadow:none}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-header .whats-new-rss-flyout-inner-header__title-icon-wrapper{display:flex;gap:10px}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-header .whats-new-rss-flyout-inner-header__title-icon-wrapper h3{margin:0;padding:0;color:#0f172a;font-weight:600;font-size:16px;line-height:24px}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-multi-feed-nav{display:flex;padding:0 30px;border-bottom:1px solid #ccc;gap:2em;overflow:auto;white-space:nowrap}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-multi-feed-nav button{position:relative;background:0 0;color:inherit;padding:15px 0;border-bottom:2px solid transparent}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-multi-feed-nav button:focus,.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-multi-feed-nav button:hover{border-color:inherit}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-multi-feed-nav button.selected{border-color:#5d5d5d}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-multi-feed-nav button .new-notification-count{position:absolute;top:0;right:-10px;width:20px;font-size:10px;line-height:20px;text-align:center;border-radius:10px;color:#fff;background:red}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content{flex:1;overflow-y:auto}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content .skeleton-container{margin:30px}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content .whats-new-rss-flyout-inner-content-item{border-bottom:1px solid #d8dfe9;padding:30px 24px;color:#475569;font-weight:400;font-size:14px;line-height:20px;display:flex;flex-direction:column;gap:13px}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content .whats-new-rss-flyout-inner-content-item>*{margin:0}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content .whats-new-rss-flyout-inner-content-item.skeleton-row{height:25vh;margin:40px 0;background:linear-gradient(90deg,#eee 25%,#ddd 50%,#eee 75%);background-size:200% 100%;animation:shimmer 1.5s infinite}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content .whats-new-rss-flyout-inner-content-item.rss-new-post{position:relative}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content .whats-new-rss-flyout-inner-content-item.rss-new-post .new-post-badge{background:#ff3d3d;border-radius:5px;position:absolute;right:45px;padding:0 5px;color:#fff}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content .whats-new-rss-flyout-inner-content-item .rss-content-header{display:flex;flex-direction:column;gap:15px;padding:0 0 8px 0}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content .whats-new-rss-flyout-inner-content-item .rss-content-header p{color:#94a3b8;margin:0;padding:0;font-weight:600;font-size:14px;line-height:16px}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content .whats-new-rss-flyout-inner-content-item .rss-content-header h2{margin:0;color:#0f172a;font-weight:700;line-height:28px;font-size:20px}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content .whats-new-rss-flyout-inner-content-item h2{font-weight:700;font-size:18px;line-height:24px}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content .whats-new-rss-flyout-inner-content-item h3{font-weight:700;font-size:16px;line-height:22px;margin-top:12px}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content .whats-new-rss-flyout-inner-content-item h4{font-weight:700;font-size:15px;line-height:20px;margin-top:12px}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content .whats-new-rss-flyout-inner-content-item h5{font-weight:700;font-size:14px;line-height:18px}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content .whats-new-rss-flyout-inner-content-item h6{font-weight:700;font-size:13px;line-height:16px}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content .whats-new-rss-flyout-inner-content-item p{padding:0;font-size:14px}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content .whats-new-rss-flyout-inner-content-item p:last-child{margin-bottom:0;padding-bottom:0}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content .whats-new-rss-flyout-inner-content-item a{color:#1170ff;text-decoration:none}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content .whats-new-rss-flyout-inner-content-item figure{margin:10px 0}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content .whats-new-rss-flyout-inner-content-item figure.wp-block-embed.is-type-video{position:relative;width:100%;height:0;padding-bottom:56.25%}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content .whats-new-rss-flyout-inner-content-item figure iframe{position:absolute;top:0;left:0;width:100%;height:100%;border:0}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content .whats-new-rss-flyout-inner-content-item img{box-sizing:border-box;height:auto;max-width:100%;vertical-align:bottom}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content .whats-new-rss-flyout-inner-content-item video{vertical-align:middle;width:100%}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content .whats-new-rss-flyout-inner-content-item strong{font-weight:600}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content .whats-new-rss-flyout-inner-content-item ol,.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content .whats-new-rss-flyout-inner-content-item ul{padding-inline-start:20px}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content .whats-new-rss-flyout-inner-content-item ol li,.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content .whats-new-rss-flyout-inner-content-item ul li{margin-bottom:5px}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content .whats-new-rss-flyout-inner-content-item ul{list-style-type:disc}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content .whats-new-rss-flyout-inner-content-item ol{list-style-type:decimal}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-sub-version-details{line-height:20px;font-size:.9em;margin:10px 0;background:#f9fafb}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-sub-version-details summary{display:flex;justify-content:space-between;cursor:pointer;padding:20px 15px;height:1em;line-height:20px;font-weight:800}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-sub-version-details summary::after{content:'⌃';font-size:20px;transform:rotateX(180deg);font-weight:800}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-sub-version-details summary .text-see-more{display:block}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-sub-version-details summary .text-see-less{display:none}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-sub-version-details[open] summary{border-bottom:1px solid #e2e8f0}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-sub-version-details[open] summary::after{transform:rotateX(45deg)}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-sub-version-details[open] summary .text-see-more{display:none}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-sub-version-details[open] summary .text-see-less{display:block}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-sub-version-details .sub-version-item{position:relative;padding:1em;border-bottom:1px solid #e2e8f0}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-sub-version-details .sub-version-item .sub-version-header{display:flex;justify-content:space-between}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-sub-version-details .sub-version-item .sub-version-content{margin-top:1em}.whats-new-rss-flyout .whats-new-rss-flyout-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:rgba(0,0,0,.5);transition:all .3s ease-in-out}.whats-new-rss-flyout.closed{visibility:hidden}.whats-new-rss-flyout.closed .whats-new-rss-flyout-overlay{opacity:0;visibility:hidden}.whats-new-rss-flyout.closed .whats-new-rss-flyout-contents{transform:translateX(100%)}.whats-new-rss-flyout .whats-new-rss-flyout-inner-header__loading-icon{display:none}@keyframes shimmer{0%{background-position:-200% 0}100%{background-position:200% 0}}@media screen and (max-width:1024px){.whats-new-rss-flyout .whats-new-rss-flyout-contents{width:40%}}@media screen and (max-width:768px){.whats-new-rss-flyout .whats-new-rss-flyout-contents{width:85%}}"}(),document.head.appendChild(t)}}(),r.current||(r.current=(n={selector:e,...t},new Ux(n))),()=>{r.current&&"function"==typeof r.current.destroy&&r.current.destroy()}}),[e,...Object.values(t)]),r.current}({rssFeedURL:"https://startertemplates.com/whats-new/feed/",selector:"#st-whats-new",triggerButton:{beforeBtn:'<div class="w-4 sm:w-8 h-8 sm:h-10 flex items-center whitespace-nowrap justify-center cursor-pointer rounded-full border border-slate-200">',icon:'<svg data-slot="icon" width="18" height="18" fill="none" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" aria-hidden="true"><path d="M16.881 4.345A23.112 23.112 0 0 1 8.25 6H7.5a5.25 5.25 0 0 0-.88 10.427 21.593 21.593 0 0 0 1.378 3.94c.464 1.004 1.674 1.32 2.582.796l.657-.379c.88-.508 1.165-1.593.772-2.468a17.116 17.116 0 0 1-.628-1.607c1.918.258 3.76.75 5.5 1.446A21.727 21.727 0 0 0 18 11.25c0-2.414-.393-4.735-1.119-6.905ZM18.26 3.74a23.22 23.22 0 0 1 1.24 7.51 23.22 23.22 0 0 1-1.41 7.992.75.75 0 1 0 1.409.516 24.555 24.555 0 0 0 1.415-6.43 2.992 2.992 0 0 0 .836-2.078c0-.807-.319-1.54-.836-2.078a24.65 24.65 0 0 0-1.415-6.43.75.75 0 1 0-1.409.516c.059.16.116.321.17.483Z"></path></svg>',afterBtn:"</div>"},flyout:{title:(0,wn.__)("What's New?","astra-sites"),formatDate:e=>`${e.toLocaleDateString("en-US",{weekday:"long"})} ${e.toLocaleDateString("en-US",{month:"long"})} ${e.getDate()}, ${e.getFullYear()}`}}),(0,i.createElement)("div",{className:"site-list-header row"},(0,i.createElement)("div",{className:"st-header-left"},(0,i.createElement)(Vc,null)),(0,i.createElement)("div",{className:"st-header-right"},(0,i.createElement)("div",{className:"relative"},(0,i.createElement)(Vx,{content:(0,wn.__)("What's New","astra-sites")},(0,i.createElement)("div",{id:"st-whats-new"})),n&&(0,i.createElement)("div",{className:"w-full absolute h-full top-0 bg-white/75 cursor-not-allowed"})),(0,i.createElement)(jx,{isDisabled:n}),(0,i.createElement)(zx,null),(0,i.createElement)(Lb,{isDisabled:n}),(0,i.createElement)(Bx,null)))},Yx=i.forwardRef((function({title:e,titleId:t,...r},n){return i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?i.createElement("title",{id:t},e):null,i.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 18 18 6M6 6l12 12"}))})),Zx=()=>{const[{selectedTemplateName:e,currentIndex:t,licenseStatus:r,selectedTemplateType:n},a]=fs();return(0,i.createElement)("div",{className:"change-template-wrap w-full"},(0,i.createElement)("div",{className:"template-name"},(0,i.createElement)("p",{className:"label"},(0,wn.__)("Selected Template:","astra-sites")),(0,i.createElement)("div",{className:"flex gap-2 items-center"},(0,i.createElement)("h5",null,(0,xn.decodeEntities)(e)),!r&&"free"!==n&&(0,i.createElement)("span",null,ms.premiumIcon))),(0,i.createElement)("div",{className:"change-btn-wrap",onClick:()=>{co({param:"clearPreviewAssets",data:{}}),setTimeout((()=>{a({type:"set",currentIndex:t-1,currentCustomizeIndex:0})}),300)}},(0,i.createElement)(Yx,{className:"w-6 h-6 text-zip-body-text"})))};function Kx(e){var t;return"undefined"!=typeof window&&null!=window.navigator&&((null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.brands.some((t=>e.test(t.brand))))||e.test(window.navigator.userAgent))}function ew(e){var t;return"undefined"!=typeof window&&null!=window.navigator&&e.test((null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.platform)||window.navigator.platform)}function tw(e){let t=null;return()=>(null==t&&(t=e()),t)}const rw=tw((function(){return ew(/^Mac/i)})),nw=tw((function(){return ew(/^iPhone/i)})),iw=tw((function(){return ew(/^iPad/i)||rw()&&navigator.maxTouchPoints>1})),aw=tw((function(){return nw()||iw()})),sw=(tw((function(){return rw()||aw()})),tw((function(){return Kx(/AppleWebKit/i)&&!sw()})),tw((function(){return Kx(/Chrome/i)}))),ow=tw((function(){return Kx(/Android/i)}));tw((function(){return Kx(/Firefox/i)}));const lw=e=>{var t;return null!==(t=null==e?void 0:e.ownerDocument)&&void 0!==t?t:document},cw=e=>e&&"window"in e&&e.window===e?e:lw(e).defaultView||window;let uw=null,pw=new Set,dw=new Map,fw=!1,hw=!1;const mw={Tab:!0,Escape:!0};function gw(e,t){for(let r of pw)r(e,t)}function yw(e){fw=!0,function(e){return!(e.metaKey||!rw()&&e.altKey||e.ctrlKey||"Control"===e.key||"Shift"===e.key||"Meta"===e.key)}(e)&&(uw="keyboard",gw("keyboard",e))}function vw(e){uw="pointer","mousedown"!==e.type&&"pointerdown"!==e.type||(fw=!0,gw("pointer",e))}function bw(e){var t;(0===(t=e).mozInputSource&&t.isTrusted||(ow()&&t.pointerType?"click"===t.type&&1===t.buttons:0===t.detail&&!t.pointerType))&&(fw=!0,uw="virtual")}function xw(e){e.target!==window&&e.target!==document&&(fw||hw||(uw="virtual",gw("virtual",e)),fw=!1,hw=!1)}function ww(){fw=!1,hw=!0}function Ew(e){if("undefined"==typeof window||dw.get(cw(e)))return;const t=cw(e),r=lw(e);let n=t.HTMLElement.prototype.focus;t.HTMLElement.prototype.focus=function(){fw=!0,n.apply(this,arguments)},r.addEventListener("keydown",yw,!0),r.addEventListener("keyup",yw,!0),r.addEventListener("click",bw,!0),t.addEventListener("focus",xw,!0),t.addEventListener("blur",ww,!1),"undefined"!=typeof PointerEvent?(r.addEventListener("pointerdown",vw,!0),r.addEventListener("pointermove",vw,!0),r.addEventListener("pointerup",vw,!0)):(r.addEventListener("mousedown",vw,!0),r.addEventListener("mousemove",vw,!0),r.addEventListener("mouseup",vw,!0)),t.addEventListener("beforeunload",(()=>{kw(e)}),{once:!0}),dw.set(t,{focus:n})}const kw=(e,t)=>{const r=cw(e),n=lw(e);t&&n.removeEventListener("DOMContentLoaded",t),dw.has(r)&&(r.HTMLElement.prototype.focus=dw.get(r).focus,n.removeEventListener("keydown",yw,!0),n.removeEventListener("keyup",yw,!0),n.removeEventListener("click",bw,!0),r.removeEventListener("focus",xw,!0),r.removeEventListener("blur",ww,!1),"undefined"!=typeof PointerEvent?(n.removeEventListener("pointerdown",vw,!0),n.removeEventListener("pointermove",vw,!0),n.removeEventListener("pointerup",vw,!0)):(n.removeEventListener("mousedown",vw,!0),n.removeEventListener("mousemove",vw,!0),n.removeEventListener("mouseup",vw,!0)),dw.delete(r))};function Sw(){return"pointer"!==uw}"undefined"!=typeof document&&function(e){const t=lw(e);let r;"loading"!==t.readyState?Ew(e):(r=()=>{Ew(e)},t.addEventListener("DOMContentLoaded",r))}();const Cw=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);const Aw="undefined"!=typeof document?i.useLayoutEffect:()=>{};class Pw{isDefaultPrevented(){return this.nativeEvent.defaultPrevented}preventDefault(){this.defaultPrevented=!0,this.nativeEvent.preventDefault()}stopPropagation(){this.nativeEvent.stopPropagation(),this.isPropagationStopped=()=>!0}isPropagationStopped(){return!1}persist(){}constructor(e,t){this.nativeEvent=t,this.target=t.target,this.currentTarget=t.currentTarget,this.relatedTarget=t.relatedTarget,this.bubbles=t.bubbles,this.cancelable=t.cancelable,this.defaultPrevented=t.defaultPrevented,this.eventPhase=t.eventPhase,this.isTrusted=t.isTrusted,this.timeStamp=t.timeStamp,this.type=e}}function _w(e){let t=(0,i.useRef)({isFocused:!1,observer:null});Aw((()=>{const e=t.current;return()=>{e.observer&&(e.observer.disconnect(),e.observer=null)}}),[]);let r=function(e){const t=(0,i.useRef)(null);return Aw((()=>{t.current=e}),[e]),(0,i.useCallback)(((...e)=>{const r=t.current;return null==r?void 0:r(...e)}),[])}((t=>{null==e||e(t)}));return(0,i.useCallback)((e=>{if(e.target instanceof HTMLButtonElement||e.target instanceof HTMLInputElement||e.target instanceof HTMLTextAreaElement||e.target instanceof HTMLSelectElement){t.current.isFocused=!0;let n=e.target,i=e=>{t.current.isFocused=!1,n.disabled&&r(new Pw("blur",e)),t.current.observer&&(t.current.observer.disconnect(),t.current.observer=null)};n.addEventListener("focusout",i,{once:!0}),t.current.observer=new MutationObserver((()=>{if(t.current.isFocused&&n.disabled){var e;null===(e=t.current.observer)||void 0===e||e.disconnect();let r=n===document.activeElement?null:document.activeElement;n.dispatchEvent(new FocusEvent("blur",{relatedTarget:r})),n.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:r}))}})),t.current.observer.observe(n,{attributes:!0,attributeFilter:["disabled"]})}}),[r])}function Tw(e={}){let{autoFocus:t=!1,isTextInput:r,within:n}=e,a=(0,i.useRef)({isFocused:!1,isFocusVisible:t||Sw()}),[s,o]=(0,i.useState)(!1),[l,c]=(0,i.useState)((()=>a.current.isFocused&&a.current.isFocusVisible)),u=(0,i.useCallback)((()=>c(a.current.isFocused&&a.current.isFocusVisible)),[]),p=(0,i.useCallback)((e=>{a.current.isFocused=e,o(e),u()}),[u]);var d,f,h;d=e=>{a.current.isFocusVisible=e,u()},f=[],h={isTextInput:r},Ew(),(0,i.useEffect)((()=>{let e=(e,t)=>{(function(e,t,r){var n;const i="undefined"!=typeof window?cw(null==r?void 0:r.target).HTMLInputElement:HTMLInputElement,a="undefined"!=typeof window?cw(null==r?void 0:r.target).HTMLTextAreaElement:HTMLTextAreaElement,s="undefined"!=typeof window?cw(null==r?void 0:r.target).HTMLElement:HTMLElement,o="undefined"!=typeof window?cw(null==r?void 0:r.target).KeyboardEvent:KeyboardEvent;return!((e=e||(null==r?void 0:r.target)instanceof i&&!Cw.has(null==r||null===(n=r.target)||void 0===n?void 0:n.type)||(null==r?void 0:r.target)instanceof a||(null==r?void 0:r.target)instanceof s&&(null==r?void 0:r.target.isContentEditable))&&"keyboard"===t&&r instanceof o&&!mw[r.key])})(!!(null==h?void 0:h.isTextInput),e,t)&&d(Sw())};return pw.add(e),()=>{pw.delete(e)}}),f);let{focusProps:m}=function(e){let{isDisabled:t,onFocus:r,onBlur:n,onFocusChange:a}=e;const s=(0,i.useCallback)((e=>{if(e.target===e.currentTarget)return n&&n(e),a&&a(!1),!0}),[n,a]),o=_w(s),l=(0,i.useCallback)((e=>{const t=lw(e.target);e.target===e.currentTarget&&t.activeElement===e.target&&(r&&r(e),a&&a(!0),o(e))}),[a,r,o]);return{focusProps:{onFocus:!t&&(r||a||n)?l:void 0,onBlur:t||!n&&!a?void 0:s}}}({isDisabled:n,onFocusChange:p}),{focusWithinProps:g}=function(e){let{isDisabled:t,onBlurWithin:r,onFocusWithin:n,onFocusWithinChange:a}=e,s=(0,i.useRef)({isFocusWithin:!1}),o=(0,i.useCallback)((e=>{s.current.isFocusWithin&&!e.currentTarget.contains(e.relatedTarget)&&(s.current.isFocusWithin=!1,r&&r(e),a&&a(!1))}),[r,a,s]),l=_w(o),c=(0,i.useCallback)((e=>{s.current.isFocusWithin||document.activeElement!==e.target||(n&&n(e),a&&a(!0),s.current.isFocusWithin=!0,l(e))}),[n,a,l]);return t?{focusWithinProps:{onFocus:void 0,onBlur:void 0}}:{focusWithinProps:{onFocus:c,onBlur:o}}}({isDisabled:!n,onFocusWithinChange:p});return{isFocused:s,isFocusVisible:l,focusProps:n?g:m}}let Iw=!1,Fw=0;function Mw(){Iw=!0,setTimeout((()=>{Iw=!1}),50)}function Dw(e){"touch"===e.pointerType&&Mw()}function Rw(){if("undefined"!=typeof document)return"undefined"!=typeof PointerEvent?document.addEventListener("pointerup",Dw):document.addEventListener("touchend",Mw),Fw++,()=>{Fw--,Fw>0||("undefined"!=typeof PointerEvent?document.removeEventListener("pointerup",Dw):document.removeEventListener("touchend",Mw))}}function Lw(e){let{onHoverStart:t,onHoverChange:r,onHoverEnd:n,isDisabled:a}=e,[s,o]=(0,i.useState)(!1),l=(0,i.useRef)({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current;(0,i.useEffect)(Rw,[]);let{hoverProps:c,triggerHoverEnd:u}=(0,i.useMemo)((()=>{let e=(e,n)=>{if(l.pointerType=n,a||"touch"===n||l.isHovered||!e.currentTarget.contains(e.target))return;l.isHovered=!0;let i=e.currentTarget;l.target=i,t&&t({type:"hoverstart",target:i,pointerType:n}),r&&r(!0),o(!0)},i=(e,t)=>{if(l.pointerType="",l.target=null,"touch"===t||!l.isHovered)return;l.isHovered=!1;let i=e.currentTarget;n&&n({type:"hoverend",target:i,pointerType:t}),r&&r(!1),o(!1)},s={};return"undefined"!=typeof PointerEvent?(s.onPointerEnter=t=>{Iw&&"mouse"===t.pointerType||e(t,t.pointerType)},s.onPointerLeave=e=>{!a&&e.currentTarget.contains(e.target)&&i(e,e.pointerType)}):(s.onTouchStart=()=>{l.ignoreEmulatedMouseEvents=!0},s.onMouseEnter=t=>{l.ignoreEmulatedMouseEvents||Iw||e(t,"mouse"),l.ignoreEmulatedMouseEvents=!1},s.onMouseLeave=e=>{!a&&e.currentTarget.contains(e.target)&&i(e,"mouse")}),{hoverProps:s,triggerHoverEnd:i}}),[t,r,n,a,l]);return(0,i.useEffect)((()=>{a&&u({currentTarget:l.target},l.pointerType)}),[a]),{hoverProps:c,isHovered:s}}function Ow(e,t){return null!==e&&null!==t&&"object"==typeof e&&"object"==typeof t&&"id"in e&&"id"in t?e.id===t.id:e===t}function Vw(e=Ow){return(0,i.useCallback)(((t,r)=>{if("string"==typeof e){let n=e;return(null==t?void 0:t[n])===(null==r?void 0:r[n])}return e(t,r)}),[e])}var Nw=Object.defineProperty,Bw=(e,t,r)=>(((e,t,r)=>{t in e?Nw(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r})(e,"symbol"!=typeof t?t+"":t,r),r);let jw=new class{constructor(){Bw(this,"current",this.detect()),Bw(this,"handoffState","pending"),Bw(this,"currentId",0)}set(e){this.current!==e&&(this.handoffState="pending",this.currentId=0,this.current=e)}reset(){this.set(this.detect())}nextId(){return++this.currentId}get isServer(){return"server"===this.current}get isClient(){return"client"===this.current}detect(){return"undefined"==typeof window||"undefined"==typeof document?"server":"client"}handoff(){"pending"===this.handoffState&&(this.handoffState="complete")}get isHandoffComplete(){return"complete"===this.handoffState}},zw=(e,t)=>{jw.isServer?(0,i.useEffect)(e,t):(0,i.useLayoutEffect)(e,t)};function Hw(e){let t=(0,i.useRef)(e);return zw((()=>{t.current=e}),[e]),t}let Gw=function(e){let t=Hw(e);return i.useCallback(((...e)=>t.current(...e)),[t])};function Ww(e,t,r){let[n,a]=(0,i.useState)(r),s=void 0!==e,o=(0,i.useRef)(s),l=(0,i.useRef)(!1),c=(0,i.useRef)(!1);return!s||o.current||l.current?!s&&o.current&&!c.current&&(c.current=!0,o.current=s,console.error("A component is changing from controlled to uncontrolled. This may be caused by the value changing from a defined value to undefined, which should not happen.")):(l.current=!0,o.current=s,console.error("A component is changing from uncontrolled to controlled. This may be caused by the value changing from undefined to a defined value, which should not happen.")),[s?e:n,Gw((e=>(s||a(e),null==t?void 0:t(e))))]}function qw(e){let[t]=(0,i.useState)(e);return t}let Uw=Symbol();function Xw(...e){let t=(0,i.useRef)(e);(0,i.useEffect)((()=>{t.current=e}),[e]);let r=Gw((e=>{for(let r of t.current)null!=r&&("function"==typeof r?r(e):r.current=e)}));return e.every((e=>null==e||(null==e?void 0:e[Uw])))?void 0:r}let Qw=(0,i.createContext)(void 0);function $w(){return(0,i.useContext)(Qw)}function Jw({value:e,children:t}){return i.createElement(Qw.Provider,{value:e},t)}function Yw(e){"function"==typeof queueMicrotask?queueMicrotask(e):Promise.resolve().then(e).catch((e=>setTimeout((()=>{throw e}))))}function Zw(){let e=[],t={addEventListener:(e,r,n,i)=>(e.addEventListener(r,n,i),t.add((()=>e.removeEventListener(r,n,i)))),requestAnimationFrame(...e){let r=requestAnimationFrame(...e);return t.add((()=>cancelAnimationFrame(r)))},nextFrame:(...e)=>t.requestAnimationFrame((()=>t.requestAnimationFrame(...e))),setTimeout(...e){let r=setTimeout(...e);return t.add((()=>clearTimeout(r)))},microTask(...e){let r={current:!0};return Yw((()=>{r.current&&e[0]()})),t.add((()=>{r.current=!1}))},style(e,t,r){let n=e.style.getPropertyValue(t);return Object.assign(e.style,{[t]:r}),this.add((()=>{Object.assign(e.style,{[t]:n})}))},group(e){let t=Zw();return e(t),this.add((()=>t.dispose()))},add:t=>(e.includes(t)||e.push(t),()=>{let r=e.indexOf(t);if(r>=0)for(let t of e.splice(r,1))t()}),dispose(){for(let t of e.splice(0))t()}};return t}function Kw(){let[e]=(0,i.useState)(Zw);return(0,i.useEffect)((()=>()=>e.dispose()),[e]),e}function eE(e={},t=null,r=[]){for(let[n,i]of Object.entries(e))rE(r,tE(t,n),i);return r}function tE(e,t){return e?e+"["+t+"]":t}function rE(e,t,r){if(Array.isArray(r))for(let[n,i]of r.entries())rE(e,tE(t,n.toString()),i);else r instanceof Date?e.push([t,r.toISOString()]):"boolean"==typeof r?e.push([t,r?"1":"0"]):"string"==typeof r?e.push([t,r]):"number"==typeof r?e.push([t,`${r}`]):null==r?e.push([t,""]):eE(r,t,e)}function nE(e){var t,r;let n=null!=(t=null==e?void 0:e.form)?t:e.closest("form");if(n){for(let t of n.elements)if(t!==e&&("INPUT"===t.tagName&&"submit"===t.type||"BUTTON"===t.tagName&&"submit"===t.type||"INPUT"===t.nodeName&&"image"===t.type))return void t.click();null==(r=n.requestSubmit)||r.call(n)}}function iE(...e){return Array.from(new Set(e.flatMap((e=>"string"==typeof e?e.split(" "):[])))).filter(Boolean).join(" ")}function aE(e,t,...r){if(e in t){let n=t[e];return"function"==typeof n?n(...r):n}let n=new Error(`Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys(t).map((e=>`"${e}"`)).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,aE),n}var sE,oE=(e=>(e[e.None=0]="None",e[e.RenderStrategy=1]="RenderStrategy",e[e.Static=2]="Static",e))(oE||{}),lE=((sE=lE||{})[sE.Unmount=0]="Unmount",sE[sE.Hidden=1]="Hidden",sE);function cE(){let e=function(){let e=(0,i.useRef)([]),t=(0,i.useCallback)((t=>{for(let r of e.current)null!=r&&("function"==typeof r?r(t):r.current=t)}),[]);return(...r)=>{if(!r.every((e=>null==e)))return e.current=r,t}}();return(0,i.useCallback)((t=>function({ourProps:e,theirProps:t,slot:r,defaultTag:n,features:i,visible:a=!0,name:s,mergeRefs:o}){o=null!=o?o:pE;let l=dE(t,e);if(a)return uE(l,r,n,s,o);let c=null!=i?i:0;if(2&c){let{static:e=!1,...t}=l;if(e)return uE(t,r,n,s,o)}if(1&c){let{unmount:e=!0,...t}=l;return aE(e?0:1,{0:()=>null,1:()=>uE({...t,hidden:!0,style:{display:"none"}},r,n,s,o)})}return uE(l,r,n,s,o)}({mergeRefs:e,...t})),[e])}function uE(e,t={},r,n,a){let{as:s=r,children:o,refName:l="ref",...c}=gE(e,["unmount","static"]),u=void 0!==e.ref?{[l]:e.ref}:{},p="function"==typeof o?o(t):o;"className"in c&&c.className&&"function"==typeof c.className&&(c.className=c.className(t)),c["aria-labelledby"]&&c["aria-labelledby"]===c.id&&(c["aria-labelledby"]=void 0);let d={};if(t){let e=!1,r=[];for(let[n,i]of Object.entries(t))"boolean"==typeof i&&(e=!0),!0===i&&r.push(n.replace(/([A-Z])/g,(e=>`-${e.toLowerCase()}`)));if(e){d["data-headlessui-state"]=r.join(" ");for(let e of r)d[`data-${e}`]=""}}if(s===i.Fragment&&(Object.keys(mE(c)).length>0||Object.keys(mE(d)).length>0)){if((0,i.isValidElement)(p)&&!(Array.isArray(p)&&p.length>1)){let e=p.props,t=null==e?void 0:e.className,r="function"==typeof t?(...e)=>iE(t(...e),c.className):iE(t,c.className),n=r?{className:r}:{},s=dE(p.props,mE(gE(c,["ref"])));for(let e in d)e in s&&delete d[e];return(0,i.cloneElement)(p,Object.assign({},s,d,u,{ref:a(yE(p),u.ref)},n))}if(Object.keys(mE(c)).length>0)throw new Error(['Passing props on "Fragment"!',"",`The current component <${n} /> is rendering a "Fragment".`,"However we need to passthrough the following props:",Object.keys(mE(c)).concat(Object.keys(mE(d))).map((e=>` - ${e}`)).join("\n"),"","You can apply a few solutions:",['Add an `as="..."` prop, to ensure that we render an actual element instead of a "Fragment".',"Render a single element as the child so that we can forward the props onto that element."].map((e=>` - ${e}`)).join("\n")].join("\n"))}return(0,i.createElement)(s,Object.assign({},gE(c,["ref"]),s!==i.Fragment&&u,s!==i.Fragment&&d),p)}function pE(...e){return e.every((e=>null==e))?void 0:t=>{for(let r of e)null!=r&&("function"==typeof r?r(t):r.current=t)}}function dE(...e){if(0===e.length)return{};if(1===e.length)return e[0];let t={},r={};for(let n of e)for(let e in n)e.startsWith("on")&&"function"==typeof n[e]?(null!=r[e]||(r[e]=[]),r[e].push(n[e])):t[e]=n[e];if(t.disabled||t["aria-disabled"])for(let e in r)/^(on(?:Click|Pointer|Mouse|Key)(?:Down|Up|Press)?)$/.test(e)&&(r[e]=[e=>{var t;return null==(t=null==e?void 0:e.preventDefault)?void 0:t.call(e)}]);for(let e in r)Object.assign(t,{[e](t,...n){let i=r[e];for(let e of i){if((t instanceof Event||(null==t?void 0:t.nativeEvent)instanceof Event)&&t.defaultPrevented)return;e(t,...n)}}});return t}function fE(...e){if(0===e.length)return{};if(1===e.length)return e[0];let t={},r={};for(let n of e)for(let e in n)e.startsWith("on")&&"function"==typeof n[e]?(null!=r[e]||(r[e]=[]),r[e].push(n[e])):t[e]=n[e];for(let e in r)Object.assign(t,{[e](...t){let n=r[e];for(let e of n)null==e||e(...t)}});return t}function hE(e){var t;return Object.assign((0,i.forwardRef)(e),{displayName:null!=(t=e.displayName)?t:e.name})}function mE(e){let t=Object.assign({},e);for(let e in t)void 0===t[e]&&delete t[e];return t}function gE(e,t=[]){let r=Object.assign({},e);for(let e of t)e in r&&delete r[e];return r}function yE(e){return i.version.split(".")[0]>="19"?e.props.ref:e.ref}var vE=(e=>(e[e.None=1]="None",e[e.Focusable=2]="Focusable",e[e.Hidden=4]="Hidden",e))(vE||{});let bE=hE((function(e,t){var r;let{features:n=1,...i}=e,a={ref:t,"aria-hidden":2==(2&n)||(null!=(r=i["aria-hidden"])?r:void 0),hidden:4==(4&n)||void 0,style:{position:"fixed",top:1,left:1,width:1,height:0,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0",...4==(4&n)&&2!=(2&n)&&{display:"none"}}};return cE()({ourProps:a,theirProps:i,slot:{},defaultTag:"span",name:"Hidden"})})),xE=(0,i.createContext)(null);function wE(e){let[t,r]=(0,i.useState)(null);return i.createElement(xE.Provider,{value:{target:t}},e.children,i.createElement(bE,{features:vE.Hidden,ref:r}))}function EE({children:e}){let t=(0,i.useContext)(xE);if(!t)return i.createElement(i.Fragment,null,e);let{target:r}=t;return r?(0,o.createPortal)(i.createElement(i.Fragment,null,e),r):null}function kE({data:e,form:t,disabled:r,onReset:n,overrides:a}){let[s,o]=(0,i.useState)(null),l=Kw();return(0,i.useEffect)((()=>{if(n&&s)return l.addEventListener(s,"reset",n)}),[s,t,n]),i.createElement(EE,null,i.createElement(SE,{setForm:o,formId:t}),eE(e).map((([e,n])=>i.createElement(bE,{features:vE.Hidden,...mE({key:e,as:"input",type:"hidden",hidden:!0,readOnly:!0,form:t,disabled:r,name:e,value:n,...a})}))))}function SE({setForm:e,formId:t}){return(0,i.useEffect)((()=>{if(t){let r=document.getElementById(t);r&&e(r)}}),[e,t]),t?null:i.createElement(bE,{features:vE.Hidden,as:"input",type:"hidden",hidden:!0,readOnly:!0,ref:t=>{if(!t)return;let r=t.closest("form");r&&e(r)}})}let CE=(0,i.createContext)(void 0);function AE(){return(0,i.useContext)(CE)}function PE({id:e,children:t}){return i.createElement(CE.Provider,{value:e},t)}function _E(e){let t=e.parentElement,r=null;for(;t&&!(t instanceof HTMLFieldSetElement);)t instanceof HTMLLegendElement&&(r=t),t=t.parentElement;let n=""===(null==t?void 0:t.getAttribute("disabled"));return(!n||!function(e){if(!e)return!1;let t=e.previousElementSibling;for(;null!==t;){if(t instanceof HTMLLegendElement)return!1;t=t.previousElementSibling}return!0}(r))&&n}function TE(e){return jw.isServer?null:e instanceof Node?e.ownerDocument:null!=e&&e.hasOwnProperty("current")&&e.current instanceof Node?e.current.ownerDocument:document}let IE=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map((e=>`${e}:not([tabindex='-1'])`)).join(","),FE=["[data-autofocus]"].map((e=>`${e}:not([tabindex='-1'])`)).join(",");var ME,DE,RE=(e=>(e[e.First=1]="First",e[e.Previous=2]="Previous",e[e.Next=4]="Next",e[e.Last=8]="Last",e[e.WrapAround=16]="WrapAround",e[e.NoScroll=32]="NoScroll",e[e.AutoFocus=64]="AutoFocus",e))(RE||{}),LE=((DE=LE||{})[DE.Error=0]="Error",DE[DE.Overflow=1]="Overflow",DE[DE.Success=2]="Success",DE[DE.Underflow=3]="Underflow",DE),OE=((ME=OE||{})[ME.Previous=-1]="Previous",ME[ME.Next=1]="Next",ME);function VE(e=document.body){return null==e?[]:Array.from(e.querySelectorAll(IE)).sort(((e,t)=>Math.sign((e.tabIndex||Number.MAX_SAFE_INTEGER)-(t.tabIndex||Number.MAX_SAFE_INTEGER))))}var NE=(e=>(e[e.Strict=0]="Strict",e[e.Loose=1]="Loose",e))(NE||{});function BE(e,t=0){var r;return e!==(null==(r=TE(e))?void 0:r.body)&&aE(t,{0:()=>e.matches(IE),1(){let t=e;for(;null!==t;){if(t.matches(IE))return!0;t=t.parentElement}return!1}})}function jE(e){let t=TE(e);Zw().nextFrame((()=>{t&&!BE(t.activeElement,0)&&HE(e)}))}var zE=(e=>(e[e.Keyboard=0]="Keyboard",e[e.Mouse=1]="Mouse",e))(zE||{});function HE(e){null==e||e.focus({preventScroll:!0})}"undefined"!=typeof window&&"undefined"!=typeof document&&(document.addEventListener("keydown",(e=>{e.metaKey||e.altKey||e.ctrlKey||(document.documentElement.dataset.headlessuiFocusVisible="")}),!0),document.addEventListener("click",(e=>{1===e.detail?delete document.documentElement.dataset.headlessuiFocusVisible:0===e.detail&&(document.documentElement.dataset.headlessuiFocusVisible="")}),!0));let GE=["textarea","input"].join(",");function WE(e,t=(e=>e)){return e.slice().sort(((e,r)=>{let n=t(e),i=t(r);if(null===n||null===i)return 0;let a=n.compareDocumentPosition(i);return a&Node.DOCUMENT_POSITION_FOLLOWING?-1:a&Node.DOCUMENT_POSITION_PRECEDING?1:0}))}function qE(e,t,{sorted:r=!0,relativeTo:n=null,skipElements:i=[]}={}){let a=Array.isArray(e)?e.length>0?e[0].ownerDocument:document:e.ownerDocument,s=Array.isArray(e)?r?WE(e):e:64&t?function(e=document.body){return null==e?[]:Array.from(e.querySelectorAll(FE)).sort(((e,t)=>Math.sign((e.tabIndex||Number.MAX_SAFE_INTEGER)-(t.tabIndex||Number.MAX_SAFE_INTEGER))))}(e):VE(e);i.length>0&&s.length>1&&(s=s.filter((e=>!i.some((t=>null!=t&&"current"in t?(null==t?void 0:t.current)===e:t===e))))),n=null!=n?n:a.activeElement;let o,l=(()=>{if(5&t)return 1;if(10&t)return-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),c=(()=>{if(1&t)return 0;if(2&t)return Math.max(0,s.indexOf(n))-1;if(4&t)return Math.max(0,s.indexOf(n))+1;if(8&t)return s.length-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),u=32&t?{preventScroll:!0}:{},p=0,d=s.length;do{if(p>=d||p+d<=0)return 0;let e=c+p;if(16&t)e=(e+d)%d;else{if(e<0)return 3;if(e>=d)return 1}o=s[e],null==o||o.focus(u),p+=l}while(o!==a.activeElement);return 6&t&&function(e){var t,r;return null!=(r=null==(t=null==e?void 0:e.matches)?void 0:t.call(e,GE))&&r}(o)&&o.select(),2}let UE=(0,i.createContext)(null);function XE(){let e=(0,i.useContext)(UE);if(null===e){let e=new Error("You used a <Description /> component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(e,XE),e}return e}function QE(){var e,t;return null!=(t=null==(e=(0,i.useContext)(UE))?void 0:e.value)?t:void 0}function $E(){let[e,t]=(0,i.useState)([]);return[e.length>0?e.join(" "):void 0,(0,i.useMemo)((()=>function(e){let r=Gw((e=>(t((t=>[...t,e])),()=>t((t=>{let r=t.slice(),n=r.indexOf(e);return-1!==n&&r.splice(n,1),r}))))),n=(0,i.useMemo)((()=>({register:r,slot:e.slot,name:e.name,props:e.props,value:e.value})),[r,e.slot,e.name,e.props,e.value]);return i.createElement(UE.Provider,{value:n},e.children)}),[t])]}UE.displayName="DescriptionContext";let JE=hE((function(e,t){let r=(0,i.useId)(),n=$w(),{id:a=`headlessui-description-${r}`,...s}=e,o=XE(),l=Xw(t);zw((()=>o.register(a)),[a,o.register]);let c=n||!1,u=(0,i.useMemo)((()=>({...o.slot,disabled:c})),[o.slot,c]),p={ref:l,...o.props,id:a};return cE()({ourProps:p,theirProps:s,slot:u,defaultTag:"p",name:o.name||"Description"})})),YE=Object.assign(JE,{});var ZE=(e=>(e.Space=" ",e.Enter="Enter",e.Escape="Escape",e.Backspace="Backspace",e.Delete="Delete",e.ArrowLeft="ArrowLeft",e.ArrowUp="ArrowUp",e.ArrowRight="ArrowRight",e.ArrowDown="ArrowDown",e.Home="Home",e.End="End",e.PageUp="PageUp",e.PageDown="PageDown",e.Tab="Tab",e))(ZE||{});let KE=(0,i.createContext)(null);function ek(){let e=(0,i.useContext)(KE);if(null===e){let e=new Error("You used a <Label /> component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(e,ek),e}return e}function tk(e){var t,r,n;let a=null!=(r=null==(t=(0,i.useContext)(KE))?void 0:t.value)?r:void 0;return(null!=(n=null==e?void 0:e.length)?n:0)>0?[a,...e].filter(Boolean).join(" "):a}function rk({inherit:e=!1}={}){let t=tk(),[r,n]=(0,i.useState)([]),a=e?[t,...r].filter(Boolean):r;return[a.length>0?a.join(" "):void 0,(0,i.useMemo)((()=>function(e){let t=Gw((e=>(n((t=>[...t,e])),()=>n((t=>{let r=t.slice(),n=r.indexOf(e);return-1!==n&&r.splice(n,1),r}))))),r=(0,i.useMemo)((()=>({register:t,slot:e.slot,name:e.name,props:e.props,value:e.value})),[t,e.slot,e.name,e.props,e.value]);return i.createElement(KE.Provider,{value:r},e.children)}),[n])]}KE.displayName="LabelContext";let nk=hE((function(e,t){var r;let n=(0,i.useId)(),a=ek(),s=AE(),o=$w(),{id:l=`headlessui-label-${n}`,htmlFor:c=(null!=s?s:null==(r=a.props)?void 0:r.htmlFor),passive:u=!1,...p}=e,d=Xw(t);zw((()=>a.register(l)),[l,a.register]);let f=Gw((e=>{let t=e.currentTarget;if(t instanceof HTMLLabelElement&&e.preventDefault(),a.props&&"onClick"in a.props&&"function"==typeof a.props.onClick&&a.props.onClick(e),t instanceof HTMLLabelElement){let e=document.getElementById(t.htmlFor);if(e){let t=e.getAttribute("disabled");if("true"===t||""===t)return;let r=e.getAttribute("aria-disabled");if("true"===r||""===r)return;(e instanceof HTMLInputElement&&("radio"===e.type||"checkbox"===e.type)||"radio"===e.role||"checkbox"===e.role||"switch"===e.role)&&e.click(),e.focus({preventScroll:!0})}}})),h=o||!1,m=(0,i.useMemo)((()=>({...a.slot,disabled:h})),[a.slot,h]),g={ref:d,...a.props,id:l,htmlFor:c,onClick:f};return u&&("onClick"in g&&(delete g.htmlFor,delete g.onClick),"onClick"in p&&delete p.onClick),cE()({ourProps:g,theirProps:p,slot:m,defaultTag:c?"label":"div",name:a.name||"Label"})})),ik=Object.assign(nk,{});var ak=(e=>(e[e.RegisterOption=0]="RegisterOption",e[e.UnregisterOption=1]="UnregisterOption",e))(ak||{});let sk={0(e,t){let r=[...e.options,{id:t.id,element:t.element,propsRef:t.propsRef}];return{...e,options:WE(r,(e=>e.element.current))}},1(e,t){let r=e.options.slice(),n=e.options.findIndex((e=>e.id===t.id));return-1===n?e:(r.splice(n,1),{...e,options:r})}},ok=(0,i.createContext)(null);function lk(e){let t=(0,i.useContext)(ok);if(null===t){let t=new Error(`<${e} /> is missing a parent <RadioGroup /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,lk),t}return t}ok.displayName="RadioGroupDataContext";let ck=(0,i.createContext)(null);function uk(e){let t=(0,i.useContext)(ck);if(null===t){let t=new Error(`<${e} /> is missing a parent <RadioGroup /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,uk),t}return t}function pk(e,t){return aE(t.type,sk,e,t)}ck.displayName="RadioGroupActionsContext";let dk=hE((function(e,t){let r=(0,i.useId)(),n=$w(),{id:a=`headlessui-radiogroup-${r}`,value:s,form:o,name:l,onChange:c,by:u,disabled:p=n||!1,defaultValue:d,...f}=e,h=Vw(u),[m,g]=(0,i.useReducer)(pk,{options:[]}),y=m.options,[v,b]=rk(),[x,w]=$E(),E=(0,i.useRef)(null),k=Xw(E,t),S=qw(d),[C,A]=Ww(s,c,S),P=(0,i.useMemo)((()=>y.find((e=>!e.propsRef.current.disabled))),[y]),_=(0,i.useMemo)((()=>y.some((e=>h(e.propsRef.current.value,C)))),[y,C]),T=Gw((e=>{var t;if(p||h(e,C))return!1;let r=null==(t=y.find((t=>h(t.propsRef.current.value,e))))?void 0:t.propsRef.current;return!(null!=r&&r.disabled||(null==A||A(e),0))})),I=Gw((e=>{let t=E.current;if(!t)return;let r=TE(t),n=y.filter((e=>!1===e.propsRef.current.disabled)).map((e=>e.element.current));switch(e.key){case ZE.Enter:nE(e.currentTarget);break;case ZE.ArrowLeft:case ZE.ArrowUp:if(e.preventDefault(),e.stopPropagation(),qE(n,RE.Previous|RE.WrapAround)===LE.Success){let e=y.find((e=>e.element.current===(null==r?void 0:r.activeElement)));e&&T(e.propsRef.current.value)}break;case ZE.ArrowRight:case ZE.ArrowDown:if(e.preventDefault(),e.stopPropagation(),qE(n,RE.Next|RE.WrapAround)===LE.Success){let e=y.find((e=>e.element.current===(null==r?void 0:r.activeElement)));e&&T(e.propsRef.current.value)}break;case ZE.Space:{e.preventDefault(),e.stopPropagation();let t=y.find((e=>e.element.current===(null==r?void 0:r.activeElement)));t&&T(t.propsRef.current.value)}}})),F=Gw((e=>(g({type:0,...e}),()=>g({type:1,id:e.id})))),M=(0,i.useMemo)((()=>({value:C,firstOption:P,containsCheckedOption:_,disabled:p,compare:h,...m})),[C,P,_,p,h,m]),D=(0,i.useMemo)((()=>({registerOption:F,change:T})),[F,T]),R={ref:k,id:a,role:"radiogroup","aria-labelledby":v,"aria-describedby":x,onKeyDown:I},L=(0,i.useMemo)((()=>({value:C})),[C]),O=(0,i.useCallback)((()=>{if(void 0!==S)return T(S)}),[T,S]),V=cE();return i.createElement(w,{name:"RadioGroup.Description"},i.createElement(b,{name:"RadioGroup.Label"},i.createElement(ck.Provider,{value:D},i.createElement(ok.Provider,{value:M},null!=l&&i.createElement(kE,{disabled:p,data:{[l]:C||"on"},overrides:{type:"radio",checked:null!=C},form:o,onReset:O}),V({ourProps:R,theirProps:f,slot:L,defaultTag:"div",name:"RadioGroup"})))))})),fk=hE((function(e,t){var r;let n=lk("RadioGroup.Option"),a=uk("RadioGroup.Option"),s=(0,i.useId)(),{id:o=`headlessui-radiogroup-option-${s}`,value:l,disabled:c=n.disabled||!1,autoFocus:u=!1,...p}=e,d=(0,i.useRef)(null),f=Xw(d,t),[h,m]=rk(),[g,y]=$E(),v=Hw({value:l,disabled:c});zw((()=>a.registerOption({id:o,element:d,propsRef:v})),[o,a,d,v]);let b=Gw((e=>{var t;if(_E(e.currentTarget))return e.preventDefault();a.change(l)&&(null==(t=d.current)||t.focus())})),x=(null==(r=n.firstOption)?void 0:r.id)===o,{isFocusVisible:w,focusProps:E}=Tw({autoFocus:u}),{isHovered:k,hoverProps:S}=Lw({isDisabled:c}),C=n.compare(n.value,l),A=fE({ref:f,id:o,role:"radio","aria-checked":C?"true":"false","aria-labelledby":h,"aria-describedby":g,"aria-disabled":!!c||void 0,tabIndex:c?-1:C||!n.containsCheckedOption&&x?0:-1,onClick:c?void 0:b,autoFocus:u},E,S),P=(0,i.useMemo)((()=>({checked:C,disabled:c,active:w,hover:k,focus:w,autofocus:u})),[C,c,k,w,u]),_=cE();return i.createElement(y,{name:"RadioGroup.Description"},i.createElement(m,{name:"RadioGroup.Label"},_({ourProps:A,theirProps:p,slot:P,defaultTag:"div",name:"RadioGroup.Option"})))})),hk=hE((function(e,t){var r;let n=lk("Radio"),a=uk("Radio"),s=(0,i.useId)(),o=AE(),l=$w(),{id:c=o||`headlessui-radio-${s}`,value:u,disabled:p=n.disabled||l||!1,autoFocus:d=!1,...f}=e,h=(0,i.useRef)(null),m=Xw(h,t),g=tk(),y=QE(),v=Hw({value:u,disabled:p});zw((()=>a.registerOption({id:c,element:h,propsRef:v})),[c,a,h,v]);let b=Gw((e=>{var t;if(_E(e.currentTarget))return e.preventDefault();a.change(u)&&(null==(t=h.current)||t.focus())})),{isFocusVisible:x,focusProps:w}=Tw({autoFocus:d}),{isHovered:E,hoverProps:k}=Lw({isDisabled:p}),S=(null==(r=n.firstOption)?void 0:r.id)===c,C=n.compare(n.value,u),A=fE({ref:m,id:c,role:"radio","aria-checked":C?"true":"false","aria-labelledby":g,"aria-describedby":y,"aria-disabled":!!p||void 0,tabIndex:p?-1:C||!n.containsCheckedOption&&S?0:-1,autoFocus:d,onClick:p?void 0:b},w,k),P=(0,i.useMemo)((()=>({checked:C,disabled:p,hover:E,focus:x,autofocus:d})),[C,p,E,x,d]);return cE()({ourProps:A,theirProps:f,slot:P,defaultTag:"span",name:"Radio"})})),mk=ik,gk=YE,yk=Object.assign(dk,{Option:fk,Radio:hk,Label:mk,Description:gk});const{imageDir:vk}=starterTemplates,bk=()=>{const e=fs(),[{selectedTemplateID:t,allSitesData:r,currentCustomizeIndex:n},a]=fs(),[s,o]=(0,i.useState)(t),l=r[`id-${t}`],c=l?.related_ecommerce_template||"";(0,i.useEffect)((()=>{o(t)}),[t,c]),(0,i.useEffect)((()=>{c||a({type:"set",currentCustomizeIndex:n+1})}),[c,n,a]);const u=[{name:(0,wn.__)("SureCart","astra-sites"),value:t,id:"surecart",icon:`${vk}surecart-icon.svg`,description:(0,wn.__)("Seamless all-in-one ecommerce platform for selling physical, digital, or subscription, products.","astra-sites"),recommended:!0},{name:(0,wn.__)("WooCommerce","astra-sites"),value:c,id:"woocommerce",icon:`${vk}woocommerce-icon.svg`,description:(0,wn.__)("Open source e-commerce plugin for WordPress.","astra-sites"),recommended:!1}];return(0,i.createElement)(i.Fragment,null,(0,i.createElement)("div",{className:"w-full mt-2.5"},(0,i.createElement)(yk,{by:"value",value:u.find((e=>e.value===s)),onChange:async t=>{const r=parseInt(t?.value);a({type:"set",templateId:t?.id}),o(r),e[0].selectedEcommercePlugin=t?.id,await lc(r,e),await cc(e),dc(e)},"aria-label":(0,wn.__)("Choose E-commerce template","astra-sites"),className:"space-y-2 flex flex-col gap-4"},u?.map((e=>(0,i.createElement)(hk,{key:e.name,value:e},(({checked:t})=>(0,i.createElement)("div",{className:ho("w-full p-3 border border-button-disabled !border-solid rounded-lg bg-white cursor-pointer",t&&"shadow-lg border-accent-st-secondary")},(0,i.createElement)("div",{className:"flex items-center justify-between p-1"},(0,i.createElement)("div",{className:"flex items-center"},(0,i.createElement)("img",{className:"size-6",alt:e?.name,src:e?.icon}),(0,i.createElement)("span",{className:"ml-2 text-base font-semibold"},e?.name)),(0,i.createElement)("div",{className:"flex gap-2 items-center"},e?.recommended&&(0,i.createElement)("span",{className:"border-solid border-[0.5px] border-[#BBF7D0] bg-alert-success-bg text-[#15803D] text-xs font-medium rounded-full px-2 py-0.5"},(0,wn.__)("Recommended","astra-sites")),(0,i.createElement)("span",{className:ho("flex size-4 border-2 border-button-disabled items-center justify-center border-solid rounded-full",t&&"border-accent-st-secondary border-[5px]")}))),(0,i.createElement)("div",{className:"mt-1 p-1 pr-5 text-sm font-normal"},(0,i.createElement)("p",null,e?.description))))))))))},xk=i.forwardRef((function({title:e,titleId:t,...r},n){return i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?i.createElement("title",{id:t},e):null,i.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m8.25 4.5 7.5 7.5-7.5 7.5"}))}));var wk=e=>"checkbox"===e.type,Ek=e=>e instanceof Date,kk=e=>null==e;const Sk=e=>"object"==typeof e;var Ck=e=>!kk(e)&&!Array.isArray(e)&&Sk(e)&&!Ek(e),Ak=e=>{const t=e.constructor&&e.constructor.prototype;return Ck(t)&&t.hasOwnProperty("isPrototypeOf")},Pk="undefined"!=typeof window&&void 0!==window.HTMLElement&&"undefined"!=typeof document;function _k(e){let t;const r=Array.isArray(e);if(e instanceof Date)t=new Date(e);else if(e instanceof Set)t=new Set(e);else{if(Pk&&(e instanceof Blob||e instanceof FileList)||!r&&!Ck(e))return e;if(t=r?[]:{},r||Ak(e))for(const r in e)e.hasOwnProperty(r)&&(t[r]=_k(e[r]));else t=e}return t}var Tk=e=>Array.isArray(e)?e.filter(Boolean):[],Ik=e=>void 0===e,Fk=(e,t,r)=>{if(!t||!Ck(e))return r;const n=Tk(t.split(/[,[\].]+?/)).reduce(((e,t)=>kk(e)?e:e[t]),e);return Ik(n)||n===e?Ik(e[t])?r:e[t]:n},Mk=e=>"boolean"==typeof e;const Dk="blur",Rk="focusout",Lk="onBlur",Ok="onChange",Vk="onSubmit",Nk="onTouched",Bk="all",jk="pattern",zk="required";i.createContext(null);var Hk=e=>Ck(e)&&!Object.keys(e).length,Gk=e=>Array.isArray(e)?e:[e];var Wk=e=>"string"==typeof e,qk=e=>/^\w*$/.test(e),Uk=e=>Tk(e.replace(/["|']|\]/g,"").split(/\.|\[/)),Xk=(e,t,r)=>{let n=-1;const i=qk(t)?[t]:Uk(t),a=i.length,s=a-1;for(;++n<a;){const t=i[n];let a=r;if(n!==s){const r=e[t];a=Ck(r)||Array.isArray(r)?r:isNaN(+i[n+1])?{}:[]}e[t]=a,e=e[t]}return e},Qk=(e,t,r,n,i)=>t?{...r[e],types:{...r[e]&&r[e].types?r[e].types:{},[n]:i||!0}}:{},$k=e=>({isOnSubmit:!e||e===Vk,isOnBlur:e===Lk,isOnChange:e===Ok,isOnAll:e===Bk,isOnTouch:e===Nk}),Jk=(e,t,r)=>!r&&(t.watchAll||t.watch.has(e)||[...t.watch].some((t=>e.startsWith(t)&&/^\.\w+/.test(e.slice(t.length)))));const Yk=(e,t,r,n)=>{for(const i of r||Object.keys(e)){const r=Fk(e,i);if(r){const{_f:e,...a}=r;if(e){if(e.refs&&e.refs[0]&&t(e.refs[0],i)&&!n)break;if(e.ref&&t(e.ref,e.name)&&!n)break;Yk(a,t)}else Ck(a)&&Yk(a,t)}}};var Zk=(e,t,r)=>{const n=Tk(Fk(e,r));return Xk(n,"root",t[r]),Xk(e,r,n),e},Kk=e=>"file"===e.type,eS=e=>"function"==typeof e,tS=e=>{if(!Pk)return!1;const t=e?e.ownerDocument:0;return e instanceof(t&&t.defaultView?t.defaultView.HTMLElement:HTMLElement)},rS=e=>Wk(e),nS=e=>"radio"===e.type,iS=e=>e instanceof RegExp;const aS={value:!1,isValid:!1},sS={value:!0,isValid:!0};var oS=e=>{if(Array.isArray(e)){if(e.length>1){const t=e.filter((e=>e&&e.checked&&!e.disabled)).map((e=>e.value));return{value:t,isValid:!!t.length}}return e[0].checked&&!e[0].disabled?e[0].attributes&&!Ik(e[0].attributes.value)?Ik(e[0].value)||""===e[0].value?sS:{value:e[0].value,isValid:!0}:sS:aS}return aS};const lS={isValid:!1,value:null};var cS=e=>Array.isArray(e)?e.reduce(((e,t)=>t&&t.checked&&!t.disabled?{isValid:!0,value:t.value}:e),lS):lS;function uS(e,t,r="validate"){if(rS(e)||Array.isArray(e)&&e.every(rS)||Mk(e)&&!e)return{type:r,message:rS(e)?e:"",ref:t}}var pS=e=>Ck(e)&&!iS(e)?e:{value:e,message:""},dS=async(e,t,r,n,i)=>{const{ref:a,refs:s,required:o,maxLength:l,minLength:c,min:u,max:p,pattern:d,validate:f,name:h,valueAsNumber:m,mount:g,disabled:y}=e._f,v=Fk(t,h);if(!g||y)return{};const b=s?s[0]:a,x=e=>{n&&b.reportValidity&&(b.setCustomValidity(Mk(e)?"":e||""),b.reportValidity())},w={},E=nS(a),k=wk(a),S=E||k,C=(m||Kk(a))&&Ik(a.value)&&Ik(v)||tS(a)&&""===a.value||""===v||Array.isArray(v)&&!v.length,A=Qk.bind(null,h,r,w),P=(e,t,r,n="maxLength",i="minLength")=>{const s=e?t:r;w[h]={type:e?n:i,message:s,ref:a,...A(e?n:i,s)}};if(i?!Array.isArray(v)||!v.length:o&&(!S&&(C||kk(v))||Mk(v)&&!v||k&&!oS(s).isValid||E&&!cS(s).isValid)){const{value:e,message:t}=rS(o)?{value:!!o,message:o}:pS(o);if(e&&(w[h]={type:zk,message:t,ref:b,...A(zk,t)},!r))return x(t),w}if(!(C||kk(u)&&kk(p))){let e,t;const n=pS(p),i=pS(u);if(kk(v)||isNaN(v)){const r=a.valueAsDate||new Date(v),s=e=>new Date((new Date).toDateString()+" "+e),o="time"==a.type,l="week"==a.type;Wk(n.value)&&v&&(e=o?s(v)>s(n.value):l?v>n.value:r>new Date(n.value)),Wk(i.value)&&v&&(t=o?s(v)<s(i.value):l?v<i.value:r<new Date(i.value))}else{const r=a.valueAsNumber||(v?+v:v);kk(n.value)||(e=r>n.value),kk(i.value)||(t=r<i.value)}if((e||t)&&(P(!!e,n.message,i.message,"max","min"),!r))return x(w[h].message),w}if((l||c)&&!C&&(Wk(v)||i&&Array.isArray(v))){const e=pS(l),t=pS(c),n=!kk(e.value)&&v.length>+e.value,i=!kk(t.value)&&v.length<+t.value;if((n||i)&&(P(n,e.message,t.message),!r))return x(w[h].message),w}if(d&&!C&&Wk(v)){const{value:e,message:t}=pS(d);if(iS(e)&&!v.match(e)&&(w[h]={type:jk,message:t,ref:a,...A(jk,t)},!r))return x(t),w}if(f)if(eS(f)){const e=uS(await f(v,t),b);if(e&&(w[h]={...e,...A("validate",e.message)},!r))return x(e.message),w}else if(Ck(f)){let e={};for(const n in f){if(!Hk(e)&&!r)break;const i=uS(await f[n](v,t),b,n);i&&(e={...i,...A(n,i.message)},x(i.message),r&&(w[h]=e))}if(!Hk(e)&&(w[h]={ref:b,...e},!r))return w}return x(!0),w};function fS(e,t){const r=Array.isArray(t)?t:qk(t)?[t]:Uk(t),n=1===r.length?e:function(e,t){const r=t.slice(0,-1).length;let n=0;for(;n<r;)e=Ik(e)?n++:e[t[n++]];return e}(e,r),i=r.length-1,a=r[i];return n&&delete n[a],0!==i&&(Ck(n)&&Hk(n)||Array.isArray(n)&&function(e){for(const t in e)if(e.hasOwnProperty(t)&&!Ik(e[t]))return!1;return!0}(n))&&fS(e,r.slice(0,-1)),e}var hS=()=>{let e=[];return{get observers(){return e},next:t=>{for(const r of e)r.next&&r.next(t)},subscribe:t=>(e.push(t),{unsubscribe:()=>{e=e.filter((e=>e!==t))}}),unsubscribe:()=>{e=[]}}},mS=e=>kk(e)||!Sk(e);function gS(e,t){if(mS(e)||mS(t))return e===t;if(Ek(e)&&Ek(t))return e.getTime()===t.getTime();const r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return!1;for(const i of r){const r=e[i];if(!n.includes(i))return!1;if("ref"!==i){const e=t[i];if(Ek(r)&&Ek(e)||Ck(r)&&Ck(e)||Array.isArray(r)&&Array.isArray(e)?!gS(r,e):r!==e)return!1}}return!0}var yS=e=>"select-multiple"===e.type,vS=e=>tS(e)&&e.isConnected,bS=e=>{for(const t in e)if(eS(e[t]))return!0;return!1};function xS(e,t={}){const r=Array.isArray(e);if(Ck(e)||r)for(const r in e)Array.isArray(e[r])||Ck(e[r])&&!bS(e[r])?(t[r]=Array.isArray(e[r])?[]:{},xS(e[r],t[r])):kk(e[r])||(t[r]=!0);return t}function wS(e,t,r){const n=Array.isArray(e);if(Ck(e)||n)for(const n in e)Array.isArray(e[n])||Ck(e[n])&&!bS(e[n])?Ik(t)||mS(r[n])?r[n]=Array.isArray(e[n])?xS(e[n],[]):{...xS(e[n])}:wS(e[n],kk(t)?{}:t[n],r[n]):r[n]=!gS(e[n],t[n]);return r}var ES=(e,t)=>wS(e,t,xS(t)),kS=(e,{valueAsNumber:t,valueAsDate:r,setValueAs:n})=>Ik(e)?e:t?""===e?NaN:e?+e:e:r&&Wk(e)?new Date(e):n?n(e):e;function SS(e){const t=e.ref;if(!(e.refs?e.refs.every((e=>e.disabled)):t.disabled))return Kk(t)?t.files:nS(t)?cS(e.refs).value:yS(t)?[...t.selectedOptions].map((({value:e})=>e)):wk(t)?oS(e.refs).value:kS(Ik(t.value)?e.ref.value:t.value,e)}var CS=e=>Ik(e)?e:iS(e)?e.source:Ck(e)?iS(e.value)?e.value.source:e.value:e;function AS(e,t,r){const n=Fk(e,r);if(n||qk(r))return{error:n,name:r};const i=r.split(".");for(;i.length;){const n=i.join("."),a=Fk(t,n),s=Fk(e,n);if(a&&!Array.isArray(a)&&r!==n)return{name:r};if(s&&s.type)return{name:n,error:s};i.pop()}return{name:r}}const PS={mode:Vk,reValidateMode:Ok,shouldFocusError:!0};function _S(e={},t){let r,n={...PS,...e},i={submitCount:0,isDirty:!1,isLoading:eS(n.defaultValues),isValidating:!1,isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,touchedFields:{},dirtyFields:{},errors:n.errors||{},disabled:n.disabled||!1},a={},s=(Ck(n.values)||Ck(n.defaultValues))&&_k(n.values||n.defaultValues)||{},o=n.shouldUnregister?{}:_k(s),l={action:!1,mount:!1,watch:!1},c={mount:new Set,unMount:new Set,array:new Set,watch:new Set},u=0;const p={isDirty:!1,dirtyFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1},d={values:hS(),array:hS(),state:hS()},f=$k(n.mode),h=$k(n.reValidateMode),m=n.criteriaMode===Bk,g=async e=>{if(p.isValid||e){const e=n.resolver?Hk((await x()).errors):await w(a,!0);e!==i.isValid&&d.state.next({isValid:e})}},y=e=>p.isValidating&&d.state.next({isValidating:e}),v=(e,t,r,n)=>{const i=Fk(a,e);if(i){const a=Fk(o,e,Ik(r)?Fk(s,e):r);Ik(a)||n&&n.defaultChecked||t?Xk(o,e,t?a:SS(i._f)):S(e,a),l.mount&&g()}},b=(e,t,r,n,o)=>{let l=!1,c=!1;const u={name:e},f=!(!Fk(a,e)||!Fk(a,e)._f.disabled);if(!r||n){p.isDirty&&(c=i.isDirty,i.isDirty=u.isDirty=E(),l=c!==u.isDirty);const r=f||gS(Fk(s,e),t);c=!(f||!Fk(i.dirtyFields,e)),r||f?fS(i.dirtyFields,e):Xk(i.dirtyFields,e,!0),u.dirtyFields=i.dirtyFields,l=l||p.dirtyFields&&c!==!r}if(r){const t=Fk(i.touchedFields,e);t||(Xk(i.touchedFields,e,r),u.touchedFields=i.touchedFields,l=l||p.touchedFields&&t!==r)}return l&&o&&d.state.next(u),l?u:{}},x=async e=>n.resolver(o,n.context,((e,t,r,n)=>{const i={};for(const r of e){const e=Fk(t,r);e&&Xk(i,r,e._f)}return{criteriaMode:r,names:[...e],fields:i,shouldUseNativeValidation:n}})(e||c.mount,a,n.criteriaMode,n.shouldUseNativeValidation)),w=async(e,t,r={valid:!0})=>{for(const a in e){const s=e[a];if(s){const{_f:e,...a}=s;if(e){const a=c.array.has(e.name),l=await dS(s,o,m,n.shouldUseNativeValidation&&!t,a);if(l[e.name]&&(r.valid=!1,t))break;!t&&(Fk(l,e.name)?a?Zk(i.errors,l,e.name):Xk(i.errors,e.name,l[e.name]):fS(i.errors,e.name))}a&&await w(a,t,r)}}return r.valid},E=(e,t)=>(e&&t&&Xk(o,e,t),!gS(I(),s)),k=(e,t,r)=>((e,t,r,n,i)=>Wk(e)?(n&&t.watch.add(e),Fk(r,e,i)):Array.isArray(e)?e.map((e=>(n&&t.watch.add(e),Fk(r,e)))):(n&&(t.watchAll=!0),r))(e,c,{...l.mount?o:Ik(t)?s:Wk(e)?{[e]:t}:t},r,t),S=(e,t,r={})=>{const n=Fk(a,e);let i=t;if(n){const r=n._f;r&&(!r.disabled&&Xk(o,e,kS(t,r)),i=tS(r.ref)&&kk(t)?"":t,yS(r.ref)?[...r.ref.options].forEach((e=>e.selected=i.includes(e.value))):r.refs?wk(r.ref)?r.refs.length>1?r.refs.forEach((e=>(!e.defaultChecked||!e.disabled)&&(e.checked=Array.isArray(i)?!!i.find((t=>t===e.value)):i===e.value))):r.refs[0]&&(r.refs[0].checked=!!i):r.refs.forEach((e=>e.checked=e.value===i)):Kk(r.ref)?r.ref.value="":(r.ref.value=i,r.ref.type||d.values.next({name:e,values:{...o}})))}(r.shouldDirty||r.shouldTouch)&&b(e,i,r.shouldTouch,r.shouldDirty,!0),r.shouldValidate&&T(e)},C=(e,t,r)=>{for(const n in t){const i=t[n],s=`${e}.${n}`,o=Fk(a,s);!c.array.has(e)&&mS(i)&&(!o||o._f)||Ek(i)?S(s,i,r):C(s,i,r)}},A=(e,r,n={})=>{const u=Fk(a,e),f=c.array.has(e),h=_k(r);Xk(o,e,h),f?(d.array.next({name:e,values:{...o}}),(p.isDirty||p.dirtyFields)&&n.shouldDirty&&d.state.next({name:e,dirtyFields:ES(s,o),isDirty:E(e,h)})):!u||u._f||kk(h)?S(e,h,n):C(e,h,n),Jk(e,c)&&d.state.next({...i}),d.values.next({name:e,values:{...o}}),!l.mount&&t()},P=async t=>{const s=t.target;let l=s.name,v=!0;const E=Fk(a,l),k=e=>{v=Number.isNaN(e)||e===Fk(o,l,e)};if(E){let C,A;const P=s.type?SS(E._f):(e=>Ck(e)&&e.target?wk(e.target)?e.target.checked:e.target.value:e)(t),_=t.type===Dk||t.type===Rk,I=!((S=E._f).mount&&(S.required||S.min||S.max||S.maxLength||S.minLength||S.pattern||S.validate)||n.resolver||Fk(i.errors,l)||E._f.deps)||((e,t,r,n,i)=>!i.isOnAll&&(!r&&i.isOnTouch?!(t||e):(r?n.isOnBlur:i.isOnBlur)?!e:!(r?n.isOnChange:i.isOnChange)||e))(_,Fk(i.touchedFields,l),i.isSubmitted,h,f),F=Jk(l,c,_);Xk(o,l,P),_?(E._f.onBlur&&E._f.onBlur(t),r&&r(0)):E._f.onChange&&E._f.onChange(t);const M=b(l,P,_,!1),D=!Hk(M)||F;if(!_&&d.values.next({name:l,type:t.type,values:{...o}}),I)return p.isValid&&g(),D&&d.state.next({name:l,...F?{}:M});if(!_&&F&&d.state.next({...i}),y(!0),n.resolver){const{errors:e}=await x([l]);if(k(P),v){const t=AS(i.errors,a,l),r=AS(e,a,t.name||l);C=r.error,l=r.name,A=Hk(e)}}else C=(await dS(E,o,m,n.shouldUseNativeValidation))[l],k(P),v&&(C?A=!1:p.isValid&&(A=await w(a,!0)));v&&(E._f.deps&&T(E._f.deps),((t,n,a,s)=>{const o=Fk(i.errors,t),l=p.isValid&&Mk(n)&&i.isValid!==n;var c;if(e.delayError&&a?(c=()=>((e,t)=>{Xk(i.errors,e,t),d.state.next({errors:i.errors})})(t,a),r=e=>{clearTimeout(u),u=setTimeout(c,e)},r(e.delayError)):(clearTimeout(u),r=null,a?Xk(i.errors,t,a):fS(i.errors,t)),(a?!gS(o,a):o)||!Hk(s)||l){const e={...s,...l&&Mk(n)?{isValid:n}:{},errors:i.errors,name:t};i={...i,...e},d.state.next(e)}y(!1)})(l,A,C,M))}var S},_=(e,t)=>{if(Fk(i.errors,t)&&e.focus)return e.focus(),1},T=async(e,t={})=>{let r,s;const o=Gk(e);if(y(!0),n.resolver){const t=await(async e=>{const{errors:t}=await x(e);if(e)for(const r of e){const e=Fk(t,r);e?Xk(i.errors,r,e):fS(i.errors,r)}else i.errors=t;return t})(Ik(e)?e:o);r=Hk(t),s=e?!o.some((e=>Fk(t,e))):r}else e?(s=(await Promise.all(o.map((async e=>{const t=Fk(a,e);return await w(t&&t._f?{[e]:t}:t)})))).every(Boolean),(s||i.isValid)&&g()):s=r=await w(a);return d.state.next({...!Wk(e)||p.isValid&&r!==i.isValid?{}:{name:e},...n.resolver||!e?{isValid:r}:{},errors:i.errors,isValidating:!1}),t.shouldFocus&&!s&&Yk(a,_,e?o:c.mount),s},I=e=>{const t={...s,...l.mount?o:{}};return Ik(e)?t:Wk(e)?Fk(t,e):e.map((e=>Fk(t,e)))},F=(e,t)=>({invalid:!!Fk((t||i).errors,e),isDirty:!!Fk((t||i).dirtyFields,e),isTouched:!!Fk((t||i).touchedFields,e),error:Fk((t||i).errors,e)}),M=(e,t,r)=>{const n=(Fk(a,e,{_f:{}})._f||{}).ref;Xk(i.errors,e,{...t,ref:n}),d.state.next({name:e,errors:i.errors,isValid:!1}),r&&r.shouldFocus&&n&&n.focus&&n.focus()},D=(e,t={})=>{for(const r of e?Gk(e):c.mount)c.mount.delete(r),c.array.delete(r),t.keepValue||(fS(a,r),fS(o,r)),!t.keepError&&fS(i.errors,r),!t.keepDirty&&fS(i.dirtyFields,r),!t.keepTouched&&fS(i.touchedFields,r),!n.shouldUnregister&&!t.keepDefaultValue&&fS(s,r);d.values.next({values:{...o}}),d.state.next({...i,...t.keepDirty?{isDirty:E()}:{}}),!t.keepIsValid&&g()},R=({disabled:e,name:t,field:r,fields:n,value:i})=>{if(Mk(e)){const a=e?void 0:Ik(i)?SS(r?r._f:Fk(n,t)._f):i;Xk(o,t,a),b(t,a,!1,!1,!0)}},L=(e,t={})=>{let r=Fk(a,e);const i=Mk(t.disabled);return Xk(a,e,{...r||{},_f:{...r&&r._f?r._f:{ref:{name:e}},name:e,mount:!0,...t}}),c.mount.add(e),r?R({field:r,disabled:t.disabled,name:e,value:t.value}):v(e,!0,t.value),{...i?{disabled:t.disabled}:{},...n.progressive?{required:!!t.required,min:CS(t.min),max:CS(t.max),minLength:CS(t.minLength),maxLength:CS(t.maxLength),pattern:CS(t.pattern)}:{},name:e,onChange:P,onBlur:P,ref:i=>{if(i){L(e,t),r=Fk(a,e);const n=Ik(i.value)&&i.querySelectorAll&&i.querySelectorAll("input,select,textarea")[0]||i,o=(e=>nS(e)||wk(e))(n),l=r._f.refs||[];if(o?l.find((e=>e===n)):n===r._f.ref)return;Xk(a,e,{_f:{...r._f,...o?{refs:[...l.filter(vS),n,...Array.isArray(Fk(s,e))?[{}]:[]],ref:{type:n.type,name:e}}:{ref:n}}}),v(e,!1,void 0,n)}else r=Fk(a,e,{}),r._f&&(r._f.mount=!1),(n.shouldUnregister||t.shouldUnregister)&&(!((e,t)=>e.has((e=>e.substring(0,e.search(/\.\d+(\.|$)/))||e)(t)))(c.array,e)||!l.action)&&c.unMount.add(e)}}},O=()=>n.shouldFocusError&&Yk(a,_,c.mount),V=(e,t)=>async r=>{let s;r&&(r.preventDefault&&r.preventDefault(),r.persist&&r.persist());let l=_k(o);if(d.state.next({isSubmitting:!0}),n.resolver){const{errors:e,values:t}=await x();i.errors=e,l=t}else await w(a);if(fS(i.errors,"root"),Hk(i.errors)){d.state.next({errors:{}});try{await e(l,r)}catch(e){s=e}}else t&&await t({...i.errors},r),O(),setTimeout(O);if(d.state.next({isSubmitted:!0,isSubmitting:!1,isSubmitSuccessful:Hk(i.errors)&&!s,submitCount:i.submitCount+1,errors:i.errors}),s)throw s},N=(r,n={})=>{const u=r?_k(r):s,f=_k(u),h=r&&!Hk(r)?f:s;if(n.keepDefaultValues||(s=u),!n.keepValues){if(n.keepDirtyValues)for(const e of c.mount)Fk(i.dirtyFields,e)?Xk(h,e,Fk(o,e)):A(e,Fk(h,e));else{if(Pk&&Ik(r))for(const e of c.mount){const t=Fk(a,e);if(t&&t._f){const e=Array.isArray(t._f.refs)?t._f.refs[0]:t._f.ref;if(tS(e)){const t=e.closest("form");if(t){t.reset();break}}}}a={}}o=e.shouldUnregister?n.keepDefaultValues?_k(s):{}:_k(h),d.array.next({values:{...h}}),d.values.next({values:{...h}})}c={mount:new Set,unMount:new Set,array:new Set,watch:new Set,watchAll:!1,focus:""},!l.mount&&t(),l.mount=!p.isValid||!!n.keepIsValid||!!n.keepDirtyValues,l.watch=!!e.shouldUnregister,d.state.next({submitCount:n.keepSubmitCount?i.submitCount:0,isDirty:n.keepDirty?i.isDirty:!(!n.keepDefaultValues||gS(r,s)),isSubmitted:!!n.keepIsSubmitted&&i.isSubmitted,dirtyFields:n.keepDirtyValues?n.keepDefaultValues&&o?ES(s,o):i.dirtyFields:n.keepDefaultValues&&r?ES(s,r):{},touchedFields:n.keepTouched?i.touchedFields:{},errors:n.keepErrors?i.errors:{},isSubmitSuccessful:!!n.keepIsSubmitSuccessful&&i.isSubmitSuccessful,isSubmitting:!1})},B=(e,t)=>N(eS(e)?e(o):e,t);return{control:{register:L,unregister:D,getFieldState:F,handleSubmit:V,setError:M,_executeSchema:x,_getWatch:k,_getDirty:E,_updateValid:g,_removeUnmounted:()=>{for(const e of c.unMount){const t=Fk(a,e);t&&(t._f.refs?t._f.refs.every((e=>!vS(e))):!vS(t._f.ref))&&D(e)}c.unMount=new Set},_updateFieldArray:(e,t=[],r,n,c=!0,u=!0)=>{if(n&&r){if(l.action=!0,u&&Array.isArray(Fk(a,e))){const t=r(Fk(a,e),n.argA,n.argB);c&&Xk(a,e,t)}if(u&&Array.isArray(Fk(i.errors,e))){const t=r(Fk(i.errors,e),n.argA,n.argB);c&&Xk(i.errors,e,t),((e,t)=>{!Tk(Fk(e,t)).length&&fS(e,t)})(i.errors,e)}if(p.touchedFields&&u&&Array.isArray(Fk(i.touchedFields,e))){const t=r(Fk(i.touchedFields,e),n.argA,n.argB);c&&Xk(i.touchedFields,e,t)}p.dirtyFields&&(i.dirtyFields=ES(s,o)),d.state.next({name:e,isDirty:E(e,t),dirtyFields:i.dirtyFields,errors:i.errors,isValid:i.isValid})}else Xk(o,e,t)},_updateDisabledField:R,_getFieldArray:t=>Tk(Fk(l.mount?o:s,t,e.shouldUnregister?Fk(s,t,[]):[])),_reset:N,_resetDefaultValues:()=>eS(n.defaultValues)&&n.defaultValues().then((e=>{B(e,n.resetOptions),d.state.next({isLoading:!1})})),_updateFormState:e=>{i={...i,...e}},_disableForm:e=>{Mk(e)&&(d.state.next({disabled:e}),Yk(a,((t,r)=>{let n=e;const i=Fk(a,r);i&&Mk(i._f.disabled)&&(n||(n=i._f.disabled)),t.disabled=n}),0,!1))},_subjects:d,_proxyFormState:p,_setErrors:e=>{i.errors=e,d.state.next({errors:i.errors,isValid:!1})},get _fields(){return a},get _formValues(){return o},get _state(){return l},set _state(e){l=e},get _defaultValues(){return s},get _names(){return c},set _names(e){c=e},get _formState(){return i},set _formState(e){i=e},get _options(){return n},set _options(e){n={...n,...e}}},trigger:T,register:L,handleSubmit:V,watch:(e,t)=>eS(e)?d.values.subscribe({next:r=>e(k(void 0,t),r)}):k(e,t,!0),setValue:A,getValues:I,reset:B,resetField:(e,t={})=>{Fk(a,e)&&(Ik(t.defaultValue)?A(e,_k(Fk(s,e))):(A(e,t.defaultValue),Xk(s,e,_k(t.defaultValue))),t.keepTouched||fS(i.touchedFields,e),t.keepDirty||(fS(i.dirtyFields,e),i.isDirty=t.defaultValue?E(e,_k(Fk(s,e))):E()),t.keepError||(fS(i.errors,e),p.isValid&&g()),d.state.next({...i}))},clearErrors:e=>{e&&Gk(e).forEach((e=>fS(i.errors,e))),d.state.next({errors:e?i.errors:{}})},unregister:D,setError:M,setFocus:(e,t={})=>{const r=Fk(a,e),n=r&&r._f;if(n){const e=n.refs?n.refs[0]:n.ref;e.focus&&(e.focus(),t.shouldSelect&&e.select())}},getFieldState:F}}const TS=(0,nc.forwardRef)((({disabled:e=!1,className:t,inputClassName:r,error:n,name:a,validations:s,label:o,noBorder:l,height:c="[42px]",labelColorClassName:u="text-heading-text",enableDebounce:p,onChange:d,prefixIcon:f,suffixIcon:h,enableAutoGrow:m=!1,register:g,...y},v)=>{const{ref:b,...x}=(0,nc.useMemo)((()=>"function"==typeof g?g(a,s):{}),[a,g,s]);return(0,i.createElement)("div",{className:t},o&&(0,i.createElement)("label",{htmlFor:a,className:ho("sp-text-base font-medium text-heading-text",u)},o,s?.required&&(0,i.createElement)("span",{className:"text-alert-error"}," *")),(0,i.createElement)("div",{className:"flex relative items-center"},f&&f,(0,i.createElement)("div",{className:ho(m?"relative overflow-hidden flex justify-start items-center":"w-full")},(0,i.createElement)("input",{ref:e=>{if(e&&"function"==typeof b&&b(e),v)switch(typeof v){case"function":v(e);break;case"object":v.current=e}},name:a,disabled:e,className:ho("w-full px-[1rem] placeholder:text-secondary-text rounded-md outline-none text-[0.9rem] placeholder:!text-base",`h-${c}`,o?"mt-2":"",l?"bg-transparent":"px-3 border border-solid focus:ring-1 focus:ring-accent-st",m&&"absolute left-0 min-w-[50px]",e?"cursor-not-allowed":"",r,!l&&"input-focus-border"),style:{borderColor:n&&!l?"#EF4444":"#E5E7EB",boxShadow:n&&!l?"0px 1px 1px 0px #EF4444, 0px 0px 0px 1px #EF4444":"0px 1px 2px 0px rgba(0, 0, 0, 0.05)"},onChange:p?mo(d,500):d,...y,...x}),m&&(0,i.createElement)("span",{className:"invisible inline whitespace-pre text-[0.9rem]"},y.value||y.placeholder)),h&&h),n&&(0,i.createElement)("div",{className:"mt-1 text-sm text-alert-error "},n.message))})),{restNonce:IS}=starterTemplates,FS=e=>{const{}=function(e={}){const t=i.useRef(),r=i.useRef(),[n,a]=i.useState({isDirty:!1,isValidating:!1,isLoading:eS(e.defaultValues),isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,submitCount:0,dirtyFields:{},touchedFields:{},errors:e.errors||{},disabled:e.disabled||!1,defaultValues:eS(e.defaultValues)?void 0:e.defaultValues});t.current||(t.current={..._S(e,(()=>a((e=>({...e}))))),formState:n});const s=t.current.control;return s._options=e,function(e){const t=i.useRef(e);t.current=e,i.useEffect((()=>{const r=!e.disabled&&t.current.subject&&t.current.subject.subscribe({next:t.current.next});return()=>{r&&r.unsubscribe()}}),[e.disabled])}({subject:s._subjects.state,next:e=>{((e,t,r,n)=>{r(e);const{name:i,...a}=e;return Hk(a)||Object.keys(a).length>=Object.keys(t).length||Object.keys(a).find((e=>t[e]===(!n||Bk)))})(e,s._proxyFormState,s._updateFormState,!0)&&a({...s._formState})}}),i.useEffect((()=>s._disableForm(e.disabled)),[s,e.disabled]),i.useEffect((()=>{if(s._proxyFormState.isDirty){const e=s._getDirty();e!==n.isDirty&&s._subjects.state.next({isDirty:e})}}),[s,n.isDirty]),i.useEffect((()=>{e.values&&!gS(e.values,r.current)?(s._reset(e.values,s._options.resetOptions),r.current=e.values,a((e=>({...e})))):s._resetDefaultValues()}),[e.values,s]),i.useEffect((()=>{e.errors&&s._setErrors(e.errors)}),[e.errors,s]),i.useEffect((()=>{s._state.mount||(s._updateValid(),s._state.mount=!0),s._state.watch&&(s._state.watch=!1,s._subjects.state.next({...s._formState})),s._removeUnmounted()})),i.useEffect((()=>{e.shouldUnregister&&s._subjects.values.next({values:s._getWatch()})}),[e.shouldUnregister,s]),t.current.formState=((e,t,r,n=!0)=>{const i={defaultValues:t._defaultValues};for(const a in e)Object.defineProperty(i,a,{get:()=>{const i=a;return t._proxyFormState[i]!==Bk&&(t._proxyFormState[i]=!n||Bk),r&&(r[i]=!0),e[i]}});return i})(n,s),t.current}({defaultValues:{"license-key":""}}),t=fs(),[{templateId:r,currentIndex:n,validateLicenseStatus:a,builder:s},o]=t,[l,c]=(0,i.useState)(!1),[u,p]=(0,i.useState)(!1),[d,f]=(0,i.useState)("");(0,i.useEffect)((()=>{o({type:"set",designStep:2})}),[]);const h=(0,wn.__)("Access this template and all others with Essentials & Business Toolkit package starting at just $79.","astra-sites"),m=(0,wn.__)("Please enter your licence key.","astra-sites"),g=()=>{""!==d?(p(!0),sc().use(sc().createNonceMiddleware(IS)),sc()({path:"/bsf-core/v1/license/activate",method:"POST",data:{"license-key":d,"product-id":"astra-pro-sites"}}).then((async i=>{i.success?(await lc(r,t),await cc(t),o({type:"set",licenseStatus:!0,currentIndex:n+1})):e.setErrorCB(i.message),p(!1)}))):e.setErrorCB((0,wn.__)("Please Enter License Key","astra-sites"))},y=u?"processing":"",v=(0,wn.sprintf)( //translators: %1$s Opening anchor tag %2$s Closing anchor tag. //translators: %1$s Opening anchor tag %2$s Closing anchor tag. (0,wn.__)("If you have already purchased the Essential or Business Toolkit, please install the premium version of the Starter Templates plugin from our %1$sstore%2$s.","astra-sites"),'<a href="https://wpastra.com/support/free-support/" target="_blank">',"</a>"),b=(0,wn.sprintf)( //translators: %1$s Opening anchor tag %2$s Closing anchor tag. //translators: %1$s Opening anchor tag %2$s Closing anchor tag. (0,wn.__)("Need help? feel free to get in touch with our %1$ssupport team%2$s.","astra-sites"),'<a href="https://wpastra.com/support/free-support/" target="_blank">',"</a>");return(0,i.createElement)(i.Fragment,null,(0,i.createElement)("div",{className:"flex flex-col p-4 rounded-md border border-solid border-blue-500 gap-3 via-blue-500 bg-background-primary"},(0,i.createElement)("div",{className:"flex gap-2 flex-col"},(0,i.createElement)("div",{className:"flex gap-2 items-center"},(0,i.createElement)("span",{className:"w-5 h-5"},ms.premiumIcon),(0,i.createElement)("h4",{className:"text-base font-semibold text-16 leading-24 tracking-normal text-left"},(0,wn.__)("Premium Template","astra-sites"))),(0,i.createElement)("p",null,l?" ":h)),l&&!a&&(0,i.createElement)("p",null,(0,wn.__)("You are currently using the Free version.","astra-sites"),(0,i.createElement)("br",null),(0,i.createElement)("span",{dangerouslySetInnerHTML:{__html:v}}),(0,i.createElement)("br",null),(0,i.createElement)("span",{dangerouslySetInnerHTML:{__html:b}})),l&&a&&(0,i.createElement)(i.Fragment,null,(0,i.createElement)("p",null,m),(0,i.createElement)("form",{className:"",onSubmit:g},(0,i.createElement)("div",{style:{position:"relative"}},(0,i.createElement)(TS,{className:"w-full",inputClassName:"pr-10",height:"12",name:"license-key",placeholder:(0,wn.__)("License key","astra-sites"),onChange:t=>{f(t.target.value),e.setErrorCB("")},value:d}),(0,i.createElement)("button",{type:"button",className:`absolute right-0 top-0 h-full p-1 pl-2 flex items-center justify-center cursor-pointer bg-transparent border-0 focus:outline-none ${y}`,onClick:g},u?ms.spinner:(0,i.createElement)(Sb,{className:"w-5 h-5"})))),(0,i.createElement)("div",{className:"text-xs flex gap-6 flex-row"},(0,i.createElement)("p",null,(0,i.createElement)("a",{href:"https://store.brainstormforce.com/login/",target:"_blank",rel:"noreferrer"},(0,wn.__)("Get your key here","astra-sites"))),(0,i.createElement)("p",null,(0,i.createElement)("a",{href:"https://wpastra.com/support/free-support/",target:"_blank",rel:"noreferrer"},(0,wn.__)("Need help?","astra-sites"))))),!l&&(0,i.createElement)(i.Fragment,null,(0,i.createElement)(ps,{className:"px-3 py-2 rounded-md gap-2 flex !mt-1",onClick:lo()?()=>{"#"!==astraSitesVars?.whiteLabelUrl&&window.open(astraSitesVars?.whiteLabelUrl)}:()=>{window.open(astraSitesVars?.cta_links[s])}},(0,wn.__)("Get Access","astra-sites"),(0,i.createElement)(Sb,{className:"w-4 h-4 text-zip-dark-theme-heading"})),(0,i.createElement)("div",{className:"text-center"},(0,i.createElement)("a",{href:"#",className:"w-fill h-hug",onClick:e=>{e.preventDefault(),c(!0)}},(0,wn.__)("Already purchased?","astra-sites"))))))},MS=i.forwardRef((function({title:e,titleId:t,...r},n){return i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?i.createElement("title",{id:t},e):null,i.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m14.74 9-.346 9m-4.788 0L9.26 9m9.968-3.21c.342.052.682.107 1.022.166m-1.022-.165L18.16 19.673a2.25 2.25 0 0 1-2.244 2.077H8.084a2.25 2.25 0 0 1-2.244-2.077L4.772 5.79m14.456 0a48.108 48.108 0 0 0-3.478-.397m-12 .562c.34-.059.68-.114 1.022-.165m0 0a48.11 48.11 0 0 1 3.478-.397m7.5 0v-.916c0-1.18-.91-2.164-2.09-2.201a51.964 51.964 0 0 0-3.32 0c-1.18.037-2.09 1.022-2.09 2.201v.916m7.5 0a48.667 48.667 0 0 0-7.5 0"}))})),DS=i.forwardRef((function({title:e,titleId:t,...r},n){return i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?i.createElement("title",{id:t},e):null,i.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m2.25 15.75 5.159-5.159a2.25 2.25 0 0 1 3.182 0l5.159 5.159m-1.5-1.5 1.409-1.409a2.25 2.25 0 0 1 3.182 0l2.909 2.909m-18 3.75h16.5a1.5 1.5 0 0 0 1.5-1.5V6a1.5 1.5 0 0 0-1.5-1.5H3.75A1.5 1.5 0 0 0 2.25 6v12a1.5 1.5 0 0 0 1.5 1.5Zm10.5-11.25h.008v.008h-.008V8.25Zm.375 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Z"}))})),RS=window.wp.hooks,LS=window.wp.components,OS=window.wp.mediaUtils,VS=()=>{const[{siteLogo:e},t]=fs();(0,RS.addFilter)("editor.MediaUpload","core/edit-post/components/media-upload/replace-media-upload",(()=>OS.MediaUpload));const r=(e,t)=>{co({param:e,data:t})},n=e=>{t({type:"set",siteLogo:e}),r("siteLogo",e)},a=()=>{n(II.siteLogo)};return(0,i.useEffect)((()=>{if(astraSitesVars?.isRTLEnabled){const e=document.querySelector(".components-range-control__wrapper");if(null===e)return;const t=e.children[3].style.left;e.children[3].style.marginRight="-10px",e.children[3].style.removeProperty("margin-left"),e.children[3].style.right=t,e.children[4].style.removeProperty("transform"),e.children[4].style.removeProperty("left"),e.children[4].style.right=t,e.children[4].style.transform="translateX(50%)"}})),(0,i.createElement)(i.Fragment,null,(0,i.createElement)("h5",{className:"!text-sm !font-semibold !mb-1 !mt-5"},"Site Logo"),(0,i.createElement)(OS.MediaUpload,{onSelect:t=>(t=>{const r={id:t.id,url:t.url,width:e.width};"http:"===window.location.protocol?uo(t.url,(function(e){r.dataUri=e,n(r)})):n(r)})(t),allowedTypes:["image"],value:e.id,render:({open:n})=>(0,i.createElement)("div",{className:"space-y-3"},!!e.url&&(0,i.createElement)("div",{className:"w-full py-2.5 px-3 flex items-start justify-start gap-3 rounded-md border border-solid border-border-tertiary bg-background-primary"},(0,i.createElement)("div",{className:"w-full flex items-center justify-between"},(0,i.createElement)("div",{className:"flex items-center justify-center rounded-sm bg-zip-dark-theme-border p-1"},(0,i.createElement)("img",{className:"w-8 h-8 object-contain",alt:(0,wn.__)("Site Logo","astra-sites"),src:e.url})),(0,i.createElement)("div",{className:"flex items-center justify-end gap-4"},(0,i.createElement)("button",{onClick:n,className:"inline-flex border-0 focus:outline-none bg-transparent text-sm font-normal cursor-pointer"},(0,wn.__)("Change","astra-sites")),(0,i.createElement)("button",{onClick:a,className:"inline-flex border-0 focus:outline-none bg-transparent cursor-pointer"},(0,i.createElement)(MS,{className:"h-5 w-5 text-alert-error"}))))),!e.url&&(0,i.createElement)("button",{className:"w-full py-2.5 px-3 flex items-start justify-start gap-3 rounded-md border border-solid border-border-tertiary cursor-pointer bg-background-primary",onClick:n},(0,i.createElement)(DS,{className:"h-5 w-5 text-zip-app-inactive-icon"}),(0,i.createElement)("div",{className:"space-y-5"},(0,i.createElement)("p",{className:"text-start !text-sm !font-normal !leading-5 !m-0"},(0,wn.__)("Upload File Here","astra-sites")))),e.url&&(0,i.createElement)(i.Fragment,null,(0,i.createElement)("div",{className:"flex items-center justify-between gap-2"},(0,i.createElement)("div",{className:"flex-1 text-sm font-normal"},(0,wn.__)("Logo width","astra-sites")),(0,i.createElement)("div",{className:"w-20 [&_.components\\-base\\-control\\_\\_field]:mb-0"},(0,i.createElement)(LS.RangeControl,{className:"[&_.components\\-range\\-control\\_\\_thumb-wrapper]:border [&_.components\\-range\\-control\\_\\_thumb-wrapper]:border-solid [&_.components\\-range\\-control\\_\\_thumb-wrapper]:border-white [&_.components\\-range\\-control\\_\\_thumb-wrapper]:w-[14px] [&_.components\\-range\\-control\\_\\_thumb-wrapper]:h-[14px] [&_.components\\-range\\-control\\_\\_thumb-wrapper]:mt-2",value:e.width,min:50,max:250,step:1,onChange:n=>{(n=>{const i={...e,width:n};t({type:"set",siteLogo:i}),r("siteLogo",i)})(n)},trackColor:"#2563EB",color:"#2563EB",railColor:"#FFFFFF",disabled:""===e.url,withInputField:!1})),(0,i.createElement)("div",{className:"w-16 flex items-center justify-center gap-1 px-2 py-1 pointer-events-none"},(0,i.createElement)("span",{className:"text-sm font-normal"},e.width),(0,i.createElement)("span",{className:"text-sm font-normal text-zip-app-inactive-icon"},"px"))),(0,i.createElement)("hr",{className:"my-6 border-b-0 border-t border-border-tertiary w-full"})))}))},NS=i.forwardRef((function({title:e,titleId:t,...r},n){return i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?i.createElement("title",{id:t},e):null,i.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M16.023 9.348h4.992v-.001M2.985 19.644v-4.992m0 0h4.992m-4.993 0 3.181 3.183a8.25 8.25 0 0 0 13.803-3.7M4.031 9.865a8.25 8.25 0 0 1 13.803-3.7l3.181 3.182m0-4.991v4.99"}))})),BS=[{slug:"style-1",title:(0,wn.__)("Style 1","astra-sites"),colors:["#0085FF","#0177E3","#FFFFFF","#E7F6FF","#212A37","#0F172A","#4F5B62","#070614","#222222"]},{slug:"style-2",title:(0,wn.__)("Style 2","astra-sites"),colors:["#8B5DFF","#7B47FF","#FFFFFF","#F2F0FE","#1B203A","#0F102A","#4B4D56","#0D0614","#222222"]},{slug:"style-3",title:(0,wn.__)("Style 3","astra-sites"),colors:["#21B4A6","#0FAF9F","#FFFFFF","#EDF6F3","#1C2A3C","#111A28","#4E4E4E","#061314","#222222"]},{slug:"style-4",title:(0,wn.__)("Style 4","astra-sites"),colors:["#FF6210","#FF5700","#FFFFFF","#FEF1E4","#21201F","#171615","#373532","#140B06","#222222"]},{slug:"style-5",title:(0,wn.__)("Style 5","astra-sites"),colors:["#239D60","#039A4F","#FFFFFF","#EDF6F1","#202B29","#131D19","#353A36","#0C1406","#222222"]},{slug:"style-6",title:(0,wn.__)("Style 6","astra-sites"),colors:["#FB5FAB","#EA559D","#FFFFFF","#FCEEF5","#29223C","#180F2A","#4B3F4A","#140610","#222222"]},{slug:"style-7",title:(0,wn.__)("Style 7","astra-sites"),colors:["#DD183B","#CC1939","#FFFFFF","#FFEDE6","#231417","#150B0F","#3D2E32","#140609","#222222"]},{slug:"style-8",title:(0,wn.__)("Style 8","astra-sites"),colors:["#FD9800","#E98C00","#FFFFFF","#FEF9E1","#161923","#090C17","#2E2D2A","#141006","#222222"]},{slug:"style-9",title:(0,wn.__)("Style 9","astra-sites"),colors:["#DCA54A","#D09A40","#FFFFFF","#FAF5E5","#1B1B1B","#0E0D06","#2E2D2A","#141006","#222222"]},{slug:"style-10",title:(0,wn.__)("Style 10","astra-sites"),colors:["#3AA6B9","#2997AA","#FFFFFF","#E9F8F9","#1C2125","#091118","#2E2D2A","#061114","#222222"]}],jS=[{slug:"style-1",title:(0,wn.__)("Style 1","astra-sites"),colors:["#0067FF","#005EE9","#0F172A","#364151","#E7F6FF","#FFFFFF","#D1DAE5","#070614","#222222"]},{slug:"style-2",title:(0,wn.__)("Style 2","astra-sites"),colors:["#54B435","#379237","#0F172A","#2F3B40","#EDFBE2","#FFFFFF","#D5EAD8","#0C1406","#222222"]},{slug:"style-3",title:(0,wn.__)("Style 3","astra-sites"),colors:["#DD183B","#CC1939","#0F172A","#3A3A3A","#FFEDE6","#FFFFFF","#FFD1BF","#140609","#222222"]},{slug:"style-4",title:(0,wn.__)("Style 4","astra-sites"),colors:["#FB5FAB","#EA559D","#0F172A","#454F5E","#FCEEF5","#FFFFFF","#FAD8E9","#140610","#222222"]},{slug:"style-5",title:(0,wn.__)("Style 5","astra-sites"),colors:["#FF6210","#F15808","#1C0D0A","#353535","#FEF1E4","#FFFFFF","#E5D7D1","#140B06","#222222"]},{slug:"style-6",title:(0,wn.__)("Style 6","astra-sites"),colors:["#6528F7","#5511F8","#0F172A","#454F5E","#F2F0FE","#FFFFFF","#D8D8F5","#0D0614","#222222"]},{slug:"style-7",title:(0,wn.__)("Style 7","astra-sites"),colors:["#FD9800","#E98C00","#0F172A","#454F5E","#FEF9E1","#FFFFFF","#F9F0C8","#141006","#222222"]},{slug:"style-8",title:(0,wn.__)("Style 8","astra-sites"),colors:["#1B9C85","#178E79","#0F172A","#454F5E","#EDF6EE","#FFFFFF","#D4F3D7","#06140C","#222222"]},{slug:"style-9",title:(0,wn.__)("Style 9","astra-sites"),colors:["#DCA54A","#D09A40","#0F172A","#4A4A4A","#FAF5E5","#FFFFFF","#F0E6C5","#141004","#222222"]},{slug:"style-10",title:(0,wn.__)("Style 10","astra-sites"),colors:["#3AA6B9","#2997AA","#0F172A","#454F5E","#E9F8F9","#FFFFFF","#CAE6E8","#181823","#222222"]}],zS=(0,i.memo)((()=>{const[{activePalette:e,templateResponse:t},r]=fs(),[n,a]=(0,i.useState)(jS),s=e=>{co(e)};return(0,i.useEffect)((()=>{const e=(e=>{let t=[];if(e&&"astra-site-customizer-data"in e){const r=e["astra-site-customizer-data"]||"";if(r){const e=r["astra-settings"]["global-color-palette"]?.palette||[];e&&(t=[{slug:"default",title:(0,wn.__)("Original","astra-sites"),colors:e}])}}return t})(t);let n="light"===(e=>{let t="light";return e&&"astra-site-color-scheme"in e&&""!==e["astra-site-color-scheme"]&&(t=e["astra-site-color-scheme"]),t})(t)?jS:BS;const i=t?.["astra-custom-palettes"]||[];if(i.length&&i.length%2==0){let e=i;const t=[];e.map((e=>{const r={slug:e.slug,title:e.slug},i=[...n[0].colors];return i[0]=e.colors[0],i[1]=e.colors[1],r.colors=i,t.push(r),t})),e=[...t,...n],e.map(((t,r)=>(e[r].title="Style"+(r+1),e[r].slug="style-"+(r+1),e))),n=e}a([...e,...n]),r({type:"set",activePalette:e[0]})}),[t]),(0,i.createElement)("div",{className:"space-y-2"},(0,i.createElement)("div",{className:"flex items-center justify-between"},(0,i.createElement)("p",{className:"text-zip-app-heading text-sm"},(0,i.createElement)("span",{className:"font-semibold"},(0,wn.__)("Color Palette","astra-sites"),":"," "),(0,i.createElement)("span",null,e?.title)),(0,i.createElement)("button",{key:"reset-to-default-colors",className:ho("inline-flex p-px items-center justify-center text-button-disabled border-0 bg-transparent focus:outline-none transition-colors duration-200 ease-in-out","default"!==e?.slug&&"text-zip-app-inactive-icon cursor-pointer"),..."default"!==e?.slug&&{onClick:()=>{const e=n[0];s({param:"colorPalette",data:e}),r({type:"set",activePalette:e})}}},(0,i.createElement)(NS,{className:"w-[0.875rem] h-[0.875rem]",strokeWidth:2}))),(0,i.createElement)("div",{className:"grid grid-cols-5 gap-3 auto-rows-[36px]"},n.map((t=>{return(0,i.createElement)("div",{key:t.slug,className:ho("flex justify-center items-center gap-3 text-body-text rounded-md border border-solid border-button-disabled h-9 w-full cursor-pointer",e?.slug===t.slug&&"outline-1 outline outline-offset-2 outline-accent-st-secondary"),onClick:(n=t,()=>{s({param:"colorPalette",data:n}),r({type:"set",activePalette:n})})},!!t?.colors?.length&&(0,i.createElement)("div",{className:"w-full h-full flex items-center justify-center gap-1 rounded-md",style:{background:t?.colors?.[5]}},(0,i.createElement)("span",{className:"inline-block w-[14px] h-[14px] rounded-full shrink-0",style:{background:t?.colors?.[0]}}),(0,i.createElement)("span",{className:"inline-block w-[14px] h-[14px] rounded-full shrink-0",style:{background:t?.colors?.[1]}})),!t?.colors?.length&&(0,i.createElement)(Pb,{className:"!shrink-0 w-full h-full rounded-md"}));var n}))))})),HS=[{"body-font-family":"'Manrope', sans-serif","body-font-family-slug":"manrope","body-font-variant":"","body-font-weight":400,"font-size-body":{desktop:16,tablet:"",mobile:"","desktop-unit":"px","tablet-unit":"px","mobile-unit":"px"},"body-line-height":"","headings-font-family":"'Plus Jakarta Sans', sans-serif","headings-font-family-slug":"plus-jakarta-sans","headings-font-weight":600,"headings-line-height":"","headings-font-variant":""},{"body-font-family":"'DM Sans', sans-serif","body-font-family-slug":"dm-sans","body-font-variant":"","body-font-weight":400,"font-size-body":{desktop:16,tablet:"",mobile:"","desktop-unit":"px","tablet-unit":"px","mobile-unit":"px"},"body-line-height":"","headings-font-family":"'Lexend', sans-serif","headings-font-family-slug":"lexend","headings-font-weight":600,"headings-line-height":"","headings-font-variant":""},{"body-font-family":"'Inter', sans-serif","body-font-family-slug":"inter","body-font-variant":"","body-font-weight":400,"font-size-body":{desktop:16,tablet:"",mobile:"","desktop-unit":"px","tablet-unit":"px","mobile-unit":"px"},"body-line-height":"","headings-font-family":"'Work Sans', sans-serif","headings-font-family-slug":"work-sans","headings-font-weight":600,"headings-line-height":"","headings-font-variant":""},{"body-font-family":"'Poppins', sans-serif","body-font-family-slug":"poppins","body-font-variant":"","body-font-weight":400,"font-size-body":{desktop:16,tablet:"",mobile:"","desktop-unit":"px","tablet-unit":"px","mobile-unit":"px"},"body-line-height":"","headings-font-family":"'Inter', sans-serif","headings-font-family-slug":"inter","headings-font-weight":600,"headings-line-height":"","headings-font-variant":""},{"body-font-family":"'Lora', serif","body-font-family-slug":"lora","body-font-variant":"","body-font-weight":400,"font-size-body":{desktop:16,tablet:"",mobile:"","desktop-unit":"px","tablet-unit":"px","mobile-unit":"px"},"body-line-height":"","headings-font-family":"'Nunito Sans', sans-serif","headings-font-family-slug":"nunito-sans","headings-font-weight":600,"headings-line-height":"","headings-font-variant":""},{"body-font-family":"'Inter', sans-serif","body-font-family-slug":"inter","body-font-variant":"","body-font-weight":400,"font-size-body":{desktop:16,tablet:"",mobile:"","desktop-unit":"px","tablet-unit":"px","mobile-unit":"px"},"body-line-height":"","headings-font-family":"'Manrope', sans-serif","headings-font-family-slug":"manrope","headings-font-weight":600,"headings-line-height":"","headings-font-variant":""},{"body-font-family":"'DM Sans', sans-serif","body-font-family-slug":"dm-sans","body-font-variant":"","body-font-weight":400,"font-size-body":{desktop:16,tablet:"",mobile:"","desktop-unit":"px","tablet-unit":"px","mobile-unit":"px"},"body-line-height":"","headings-font-family":"'Outfit', sans-serif","headings-font-family-slug":"outfit","headings-font-weight":600,"headings-line-height":"","headings-font-variant":""},{"body-font-family":"'Inter', sans-serif","body-font-family-slug":"inter","body-font-variant":"","body-font-weight":400,"font-size-body":{desktop:16,tablet:"",mobile:"","desktop-unit":"px","tablet-unit":"px","mobile-unit":"px"},"body-line-height":"","headings-font-family":"'IBM Plex Serif', serif","headings-font-family-slug":"ibm-plex-serif","headings-font-weight":600,"headings-line-height":"","headings-font-variant":""},{"body-font-family":"'Plus Jakarta Sans', sans-serif","body-font-family-slug":"plus-jakarta-sans","body-font-variant":"","body-font-weight":400,"font-size-body":{desktop:16,tablet:"",mobile:"","desktop-unit":"px","tablet-unit":"px","mobile-unit":"px"},"body-line-height":"","headings-font-family":"'Crimson Text', serif","headings-font-family-slug":"crimson-text","headings-font-weight":600,"headings-line-height":"","headings-font-variant":""},{"body-font-family":"'IBM Plex Sans', sans-serif","body-font-family-slug":"ibm-plex-sans","body-font-variant":"","body-font-weight":400,"font-size-body":{desktop:16,tablet:"",mobile:"","desktop-unit":"px","tablet-unit":"px","mobile-unit":"px"},"body-line-height":"","headings-font-family":"'EB Garamond', serif","headings-font-family-slug":"eb-garamond","headings-font-weight":600,"headings-line-height":"","headings-font-variant":""}],GS=(e,t)=>{if(!e)return"";if(e){const r=e.match(/'([^']+)'/);return r?r[1]:"inherit"===e?t:e}return t||void 0},WS=(0,i.memo)((()=>{const[{typography:e,templateResponse:t},r]=fs(),[n,a]=(0,i.useState)(HS.map(((e,t)=>({...e,id:t})))),s=(e=>{const t={},r=["h1","h2","h3","h4","h5","h6"];if(e&&"astra-site-customizer-data"in e){const n=e["astra-site-customizer-data"]||"";if(n){const e=n["astra-settings"]||[];r.forEach((r=>{t["font-family-"+r]=e[`font-family-${r}`],t["font-weight-"+r]=e[`font-weight-${r}`],t["text-transform-"+r]=e[`text-transform-${r}`],t["line-height-"+r]=e[`line-height-${r}`]}))}}return t})(t);(0,i.useEffect)((()=>{const e=document.getElementById("google-fonts-url");if(t){const i=[],s=(e=>{let t={};if(e&&"astra-site-customizer-data"in e){const r=e["astra-site-customizer-data"]||"";if(r){const e=r["astra-settings"]||[],n=e["headings-font-family"];t={default:!0,"body-font-family":e["body-font-family"],"body-font-variant":e["body-font-variant"],"body-font-weight":e["body-font-weight"],"font-size-body":e["font-size-body"],"body-line-height":e["body-line-height"],"headings-font-family":n,"headings-font-weight":e["headings-font-weight"],"headings-line-height":e["headings-line-height"],"headings-font-variant":e["headings-font-variant"]}}}return t})(t);if(i.push({id:"default-font",...s}),!document.getElementById("google-fonts-domain")){const e=document.createElement("link");e.id="google-fonts-domain",e.setAttribute("rel","preconnect"),e.setAttribute("href","https://fonts.gstatic.com"),document.head.appendChild(e)}e&&e.remove();const o=document.createElement("link");o.id="google-fonts-url",o.setAttribute("rel","stylesheet");const l=[];let c=s["body-font-family"]||"",u=parseInt(s["body-font-weight"])||"";u&&(u=`:wght@${u}`),c&&(c=GS(c),c=void 0!==c?c.replace(" ","+"):c,l.push(`family=${c}${u}`));let p=s["headings-font-family"]||"",d=parseInt(s["headings-font-weight"])||"";d&&(d=`:wght@${d}`),p&&(p=GS(p,c),p=void 0!==p?p.replace(" ","+"):p,l.push(`family=${p}${d}`));let f="";if(n){for(const e of n)f+=`&family=${GS(e["headings-font-family"]).replaceAll(" ","+")}:wght@${e["headings-font-weight"]}&family=${GS(e["body-font-family"]).replaceAll(" ","+")}:wght@${e["body-font-weight"]}`;f=f.replace(/[&]{1}$/i,"")}if(l){const e=`https://fonts.googleapis.com/css2?${l.join("&")}${f}&display=swap`;o.setAttribute("href",e),document.head.insertAdjacentElement("afterbegin",o)}const h=i.concat(n);r({type:"set",typography:h[0]}),a(h)}}),[t]);const o=e=>{co(e)},l=GS(e?.["headings-font-family"])||"",c=GS(e?.["body-font-family"])||"";return(0,i.createElement)("div",{className:"space-y-2"},(0,i.createElement)("div",{className:"flex items-center justify-between"},(0,i.createElement)("p",{className:"text-zip-app-heading text-sm w-full truncate"},(0,i.createElement)("span",{className:"font-semibold"},(0,wn.__)("Font Pair","astra-sites"),":"),(0,i.createElement)("span",{className:"font-normal"}," ",l," & ",c," ")),(0,i.createElement)("button",{key:"reset-to-default-fonts",className:ho("inline-flex p-px items-center justify-center text-button-disabled border-0 bg-transparent focus:outline-none transition-colors duration-200 ease-in-out cursor-default",!e?.default&&"text-zip-app-inactive-icon cursor-pointer"),...!e?.default&&{onClick:()=>{const e=n[0];o({param:"siteTypography",data:JSON.parse(JSON.stringify(e))}),r({type:"set",typography:e})}}},(0,i.createElement)(NS,{className:"w-[0.875rem] h-[0.875rem]",strokeWidth:2}))),(0,i.createElement)("div",{className:"grid grid-cols-5 gap-3 auto-rows-[36px]"},n.map((t=>{const n=GS(t["body-font-family"])||"",a=GS(t["headings-font-family"],n)||"";return(0,i.createElement)("div",{key:t.id,className:ho("flex justify-center items-center text-body-text font-normal px-2 py-1 border border-solid border-button-disabled rounded-md bg-st-background-secondary hover:bg-white transition duration-150 ease-in-out cursor-pointer w-full h-9",e?.id===t.id&&"outline-1 outline outline-offset-2 outline-accent-st-secondary bg-white"),onClick:(l=t,()=>{const e=s?{...l,...s}:l;o({param:"siteTypography",data:JSON.parse(JSON.stringify(e))}),r({type:"set",typography:l})})},(0,i.createElement)("span",{className:"truncate text-xl font-normal",style:{fontFamily:a}},"A"),(0,i.createElement)("span",{className:"truncate text-sm font-normal",style:{fontFamily:n}},"g"));var l}))))})),qS=[{content:()=>{const[{},e]=fs();return(0,i.useEffect)((()=>{e({type:"set",designStep:1})}),[]),(0,i.createElement)(i.Fragment,null,(0,i.createElement)(Zx,null),(0,i.createElement)("div",{className:"customizer-header"},(0,i.createElement)("div",{className:"header-name"},(0,i.createElement)("h3",{className:"ist-customizer-heading"},(0,wn.__)("Choose eCommerce Platform","astra-sites")),(0,i.createElement)("p",{className:"screen-description"},(0,wn.__)("Choose your preferred e-Commerce platform. Based on your selection, you will receive the account setup and cart options.","astra-sites")))))},controls:()=>{const[{currentCustomizeIndex:e,currentIndex:t,templateId:r},n]=fs();return(0,i.createElement)(i.Fragment,null,(0,i.createElement)(bk,null),(0,i.createElement)("div",{className:"w-full flex flex-col gap-4 mt-auto"},(0,i.createElement)(ps,{className:"w-full flex gap-2 items-center "+(0===r?"!bg-border-tertiary !text-zip-app-inactive-icon":""),onClick:()=>{n({type:"set",currentCustomizeIndex:e+1})},disabled:0===r},(0,i.createElement)("span",null,(0,wn.__)("Continue","astra-sites")),(0,i.createElement)(xk,{className:"w-4 h-4 !fill-none"})),(0,i.createElement)(hs,{onClick:()=>{setTimeout((()=>{n({type:"set",currentIndex:t-1,currentCustomizeIndex:0})}),300)}},(0,wn.__)("Back","astra-sites"))))},class:"customize-ecommerce-selections"},{content:()=>{const[{currentCustomizeIndex:e,templateResponse:t,licenseStatus:r,selectedTemplateType:n,templateId:a,currentIndex:s,builder:o},l]=fs(),[c,u]=(0,i.useState)("");(0,i.useEffect)((()=>{"free"!==t?.["astra-site-type"]&&!r&&astraSitesVars?.isPro&&l({type:"set",validateLicenseStatus:!0})}),[t]);const p=e=>(e.returnValue=(0,wn.__)("Are you sure you want to cancel the site import process?","astra-sites"),e);return(0,i.useEffect)((()=>(window.addEventListener("beforeunload",p),()=>window.removeEventListener("beforeunload",p)))),(0,i.createElement)(i.Fragment,null,(0,i.createElement)(Zx,null),(0,i.createElement)("div",{className:"flex flex-col gap-2 text-sm px-6 font-normal leading-5 mt-3"},(0,i.createElement)("h5",null,(0,wn.__)("Customize","astra-sites")),(0,i.createElement)("p",{className:"!text-zip-app-inactive-icon"},(0,wn.__)("Add your own logo, change color and font.","astra-sites"))),(0,i.createElement)("div",{className:"st-preview-section px-6 mb-5 w-full space-y-5"},(0,i.createElement)(VS,null),t?(0,i.createElement)(i.Fragment,null,(0,i.createElement)(WS,null),"beaver-builder"!==o&&(0,i.createElement)(zS,null)):(0,i.createElement)("div",{className:"space-y-5"},(0,i.createElement)("div",{"data-placeholder":!0,className:"relative animate-pulse overflow-hidden bg-gray-300 h-[50px] w-full rounded-md"}),"beaver-builder"!==o&&(0,i.createElement)("div",{"data-placeholder":!0,className:"relative animate-pulse overflow-hidden bg-gray-300 h-[50px] w-full rounded-md"}))),(0,i.createElement)("div",{className:"w-full flex flex-col gap-4 mt-auto px-6 sm:pb-0 pb-14"},!r&&"free"!==n&&(0,i.createElement)(FS,{setErrorCB:e=>{u(e)}}),(0,i.createElement)("div",{className:"flex flex-col gap-2 mt-2"},(r&&"free"!==n||"free"===n)&&(0,i.createElement)(ps,{className:"w-full flex gap-2 items-center "+(!r&&"free"!==n||0===a&&"free"===n?"!bg-border-tertiary !text-zip-app-inactive-icon":""),onClick:()=>{l({type:"set",currentIndex:s+1})},disabled:!r&&"free"!==n||0===a&&"free"===n},(0,i.createElement)("span",null,(0,wn.__)("Continue","astra-sites")),(0,i.createElement)(xk,{className:"w-4 h-4 !fill-none"})),(0,i.createElement)(hs,{className:"w-full",onClick:()=>{l({type:"set",currentCustomizeIndex:e-1,currentIndex:s-1})},customizeStep:!0},(0,wn.__)("Back","astra-sites")))),""!==c&&(0,i.createElement)(Qr.Toaster,{type:"error",message:c,autoHideDuration:5,className:"flex relative"}))},class:"customize-business-logo"}];var US=r(9891),XS=r.n(US),QS=r(5095),$S=r.n(QS),JS=r(3885),YS=r.n(JS);function ZS(){return ZS=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},ZS.apply(this,arguments)}function KS(e,t){return e(t={exports:{}},t.exports),t.exports}var eC="function"==typeof Symbol&&Symbol.for,tC=eC?Symbol.for("react.element"):60103,rC=eC?Symbol.for("react.portal"):60106,nC=eC?Symbol.for("react.fragment"):60107,iC=eC?Symbol.for("react.strict_mode"):60108,aC=eC?Symbol.for("react.profiler"):60114,sC=eC?Symbol.for("react.provider"):60109,oC=eC?Symbol.for("react.context"):60110,lC=eC?Symbol.for("react.async_mode"):60111,cC=eC?Symbol.for("react.concurrent_mode"):60111,uC=eC?Symbol.for("react.forward_ref"):60112,pC=eC?Symbol.for("react.suspense"):60113,dC=eC?Symbol.for("react.suspense_list"):60120,fC=eC?Symbol.for("react.memo"):60115,hC=eC?Symbol.for("react.lazy"):60116,mC=eC?Symbol.for("react.block"):60121,gC=eC?Symbol.for("react.fundamental"):60117,yC=eC?Symbol.for("react.responder"):60118,vC=eC?Symbol.for("react.scope"):60119;function bC(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case tC:switch(e=e.type){case lC:case cC:case nC:case aC:case iC:case pC:return e;default:switch(e=e&&e.$$typeof){case oC:case uC:case hC:case fC:case sC:return e;default:return t}}case rC:return t}}}function xC(e){return bC(e)===cC}var wC={AsyncMode:lC,ConcurrentMode:cC,ContextConsumer:oC,ContextProvider:sC,Element:tC,ForwardRef:uC,Fragment:nC,Lazy:hC,Memo:fC,Portal:rC,Profiler:aC,StrictMode:iC,Suspense:pC,isAsyncMode:function(e){return xC(e)||bC(e)===lC},isConcurrentMode:xC,isContextConsumer:function(e){return bC(e)===oC},isContextProvider:function(e){return bC(e)===sC},isElement:function(e){return"object"==typeof e&&null!==e&&e.$$typeof===tC},isForwardRef:function(e){return bC(e)===uC},isFragment:function(e){return bC(e)===nC},isLazy:function(e){return bC(e)===hC},isMemo:function(e){return bC(e)===fC},isPortal:function(e){return bC(e)===rC},isProfiler:function(e){return bC(e)===aC},isStrictMode:function(e){return bC(e)===iC},isSuspense:function(e){return bC(e)===pC},isValidElementType:function(e){return"string"==typeof e||"function"==typeof e||e===nC||e===cC||e===aC||e===iC||e===pC||e===dC||"object"==typeof e&&null!==e&&(e.$$typeof===hC||e.$$typeof===fC||e.$$typeof===sC||e.$$typeof===oC||e.$$typeof===uC||e.$$typeof===gC||e.$$typeof===yC||e.$$typeof===vC||e.$$typeof===mC)},typeOf:bC};KS((function(e,t){})),KS((function(e){e.exports=wC})),Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;(function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},r=0;r<10;r++)t["_"+String.fromCharCode(r)]=r;var n=Object.getOwnPropertyNames(t).map((function(e){return t[e]}));if("0123456789"!==n.join(""))return!1;var i={};return"abcdefghijklmnopqrst".split("").forEach((function(e){i[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},i)).join("")}catch(e){return!1}})()&&Object.assign;function EC(){}function kC(){}Function.call.bind(Object.prototype.hasOwnProperty),kC.resetWarningCache=EC;var SC,CC,AC,PC=KS((function(e){e.exports=function(){function e(e,t,r,n,i,a){if("SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"!==a){var s=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");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var r={array: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:kC,resetWarningCache:EC};return r.PropTypes=r,r}()})),_C={animationData:PC.object,path:PC.string,play:PC.bool,goTo:PC.number,speed:PC.number,direction:PC.number,loop:PC.oneOfType([PC.number,PC.bool]),useSubframes:PC.bool,segments:PC.oneOfType([PC.arrayOf(PC.number),PC.bool]),rendererSettings:PC.object,renderer:PC.string,audioFactory:PC.func,onComplete:PC.func,onLoopComplete:PC.func,onEnterFrame:PC.func,onSegmentStart:PC.func},TC={},IC=function(){},FC=(SC=XS(),CC=SC.loadAnimation,AC=(0,i.memo)((0,i.forwardRef)((function(e,t){var r=e.animationData,n=void 0===r?null:r,a=e.path,o=void 0===a?null:a,l=e.play,c=void 0===l?null:l,u=e.speed,p=void 0===u?1:u,d=e.direction,f=void 0===d?1:d,h=e.segments,m=void 0===h?null:h,g=e.goTo,y=void 0===g?null:g,v=e.useSubframes,b=void 0===v||v,x=e.renderer,w=void 0===x?"svg":x,E=e.loop,k=void 0===E||E,S=e.rendererSettings,C=void 0===S?TC:S,A=e.audioFactory,P=void 0===A?null:A,_=e.onLoad,T=void 0===_?IC:_,I=e.onComplete,F=void 0===I?IC:I,M=e.onLoopComplete,D=void 0===M?IC:M,R=e.onEnterFrame,L=void 0===R?IC:R,O=e.onSegmentStart,V=void 0===O?IC:O,N=function(e,t){if(null==e)return{};var r,n,i={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,["animationData","path","play","speed","direction","segments","goTo","useSubframes","renderer","loop","rendererSettings","audioFactory","onLoad","onComplete","onLoopComplete","onEnterFrame","onSegmentStart"]),B=(0,i.useRef)(),j=(0,i.useRef)(),z=(0,i.useState)(!1),H=z[0],G=z[1],W=(0,i.useState)(m),q=W[0],U=W[1];(0,i.useEffect)((function(){$S()(q,m)||U(m)}),[m,q]);var X=(0,i.useState)(C),Q=X[0],$=X[1];(0,i.useEffect)((function(){$S()(Q,C)||$(C)}),[C,Q]),(0,i.useEffect)((function(){return function(){return j.current.removeEventListener("complete",F)}}),[F]),(0,i.useEffect)((function(){return function(){return j.current.removeEventListener("loopComplete",D)}}),[D]),(0,i.useEffect)((function(){return function(){return j.current.removeEventListener("enterFrame",L)}}),[L]),(0,i.useEffect)((function(){return function(){return j.current.removeEventListener("segmentStart",V)}}),[V]),(0,i.useEffect)((function(){return function(){return j.current.removeEventListener("DOMLoaded",T)}}),[T]);var J=(0,i.useCallback)((function(e){j.current=e,"function"==typeof t?t(e):null!=t&&(t.current=e)}),[t]);(0,i.useEffect)((function(){var e=CC({animationData:null==n||"object"!=typeof n?n:"object"==typeof n.default?YS()(n.default):YS()(n),path:o,container:B.current,renderer:w,loop:!1,autoplay:!1,rendererSettings:Q,audioFactory:P});J(e);var t=function(){return G(!0)};return j.current.addEventListener("DOMLoaded",t),function(){j.current.removeEventListener("DOMLoaded",t),G(!1),j.current.destroy(),J(void 0)}}),[k,w,Q,n,o,P,J]),(0,i.useEffect)((function(){j.current.addEventListener("DOMLoaded",T)}),[T]),(0,i.useEffect)((function(){j.current.addEventListener("complete",F)}),[F]),(0,i.useEffect)((function(){j.current.addEventListener("loopComplete",D)}),[D]),(0,i.useEffect)((function(){j.current.addEventListener("enterFrame",L)}),[L]),(0,i.useEffect)((function(){j.current.addEventListener("segmentStart",V)}),[V]),(0,i.useEffect)((function(){H&&(j.current.loop=k)}),[H,k]);var Y=(0,i.useRef)(!1);return(0,i.useEffect)((function(){function e(e){j.current.goToAndPlay(e,!0),j.current.setDirection(f)}H&&(!0===c?q?(j.current.playSegments(q,!0),Y.current=!0,-1===f&&e(q[1])):(Y.current&&j.current.resetSegments(!0),Y.current=!1,-1===f?e(j.current.getDuration(!0)):j.current.play()):!1===c&&j.current.pause())}),[c,q,H,f]),(0,i.useEffect)((function(){H&&(Number.isNaN(p)||j.current.setSpeed(p))}),[p,H]),(0,i.useEffect)((function(){H&&j.current.setDirection(f)}),[f,H]),(0,i.useEffect)((function(){H&&null!=y&&(c?j.current.goToAndPlay(y,!0):j.current.goToAndStop(y,!0))}),[y,c,H]),(0,i.useEffect)((function(){j.current.setSubframe&&j.current.setSubframe(b)}),[b]),s().createElement("div",ZS({},N,{ref:B}))}))),AC.propTypes=_C,AC);const MC=FC;var DC={};!function e(t,r,n,i){var a=!!(t.Worker&&t.Blob&&t.Promise&&t.OffscreenCanvas&&t.OffscreenCanvasRenderingContext2D&&t.HTMLCanvasElement&&t.HTMLCanvasElement.prototype.transferControlToOffscreen&&t.URL&&t.URL.createObjectURL),s="function"==typeof Path2D&&"function"==typeof DOMMatrix;function o(){}function l(e){var n=r.exports.Promise,i=void 0!==n?n:t.Promise;return"function"==typeof i?new i(e):(e(o,o),null)}var c,u,p,d,f,h,m,g,y,v=function(e,t){return{transform:function(r){if(e)return r;if(t.has(r))return t.get(r);var n=new OffscreenCanvas(r.width,r.height);return n.getContext("2d").drawImage(r,0,0),t.set(r,n),n},clear:function(){t.clear()}}}(function(){if(!t.OffscreenCanvas)return!1;var e=new OffscreenCanvas(1,1),r=e.getContext("2d");r.fillRect(0,0,1,1);var n=e.transferToImageBitmap();try{r.createPattern(n,"no-repeat")}catch(e){return!1}return!0}(),new Map),b=(p=Math.floor(1e3/60),d={},f=0,"function"==typeof requestAnimationFrame&&"function"==typeof cancelAnimationFrame?(c=function(e){var t=Math.random();return d[t]=requestAnimationFrame((function r(n){f===n||f+p-1<n?(f=n,delete d[t],e()):d[t]=requestAnimationFrame(r)})),t},u=function(e){d[e]&&cancelAnimationFrame(d[e])}):(c=function(e){return setTimeout(e,p)},u=function(e){return clearTimeout(e)}),{frame:c,cancel:u}),x=(g={},function(){if(h)return h;if(!n&&a){var t=["var CONFETTI, SIZE = {}, module = {};","("+e.toString()+")(this, module, true, SIZE);","onmessage = function(msg) {"," if (msg.data.options) {"," CONFETTI(msg.data.options).then(function () {"," if (msg.data.callback) {"," postMessage({ callback: msg.data.callback });"," }"," });"," } else if (msg.data.reset) {"," CONFETTI && CONFETTI.reset();"," } else if (msg.data.resize) {"," SIZE.width = msg.data.resize.width;"," SIZE.height = msg.data.resize.height;"," } else if (msg.data.canvas) {"," SIZE.width = msg.data.canvas.width;"," SIZE.height = msg.data.canvas.height;"," CONFETTI = module.exports.create(msg.data.canvas);"," }","}"].join("\n");try{h=new Worker(URL.createObjectURL(new Blob([t])))}catch(e){return void 0!==typeof console&&"function"==typeof console.warn&&console.warn("🎊 Could not load worker",e),null}!function(e){function t(t,r){e.postMessage({options:t||{},callback:r})}e.init=function(t){var r=t.transferControlToOffscreen();e.postMessage({canvas:r},[r])},e.fire=function(r,n,i){if(m)return t(r,null),m;var a=Math.random().toString(36).slice(2);return m=l((function(n){function s(t){t.data.callback===a&&(delete g[a],e.removeEventListener("message",s),m=null,v.clear(),i(),n())}e.addEventListener("message",s),t(r,a),g[a]=s.bind(null,{data:{callback:a}})}))},e.reset=function(){for(var t in e.postMessage({reset:!0}),g)g[t](),delete g[t]}}(h)}return h}),w={particleCount:50,angle:90,spread:45,startVelocity:45,decay:.9,gravity:1,drift:0,ticks:200,x:.5,y:.5,shapes:["square","circle"],zIndex:100,colors:["#26ccff","#a25afd","#ff5e7e","#88ff5a","#fcff42","#ffa62d","#ff36ff"],disableForReducedMotion:!1,scalar:1};function E(e,t,r){return function(e,t){return t?t(e):e}(e&&null!=e[t]?e[t]:w[t],r)}function k(e){return e<0?0:Math.floor(e)}function S(e){return parseInt(e,16)}function C(e){return e.map(A)}function A(e){var t=String(e).replace(/[^0-9a-f]/gi,"");return t.length<6&&(t=t[0]+t[0]+t[1]+t[1]+t[2]+t[2]),{r:S(t.substring(0,2)),g:S(t.substring(2,4)),b:S(t.substring(4,6))}}function P(e){e.width=document.documentElement.clientWidth,e.height=document.documentElement.clientHeight}function _(e){var t=e.getBoundingClientRect();e.width=t.width,e.height=t.height}function T(e,r){var o,c=!e,u=!!E(r||{},"resize"),p=!1,d=E(r,"disableForReducedMotion",Boolean),f=a&&E(r||{},"useWorker")?x():null,h=c?P:_,m=!(!e||!f||!e.__confetti_initialized),g="function"==typeof matchMedia&&matchMedia("(prefers-reduced-motion)").matches;function y(t,r,a){for(var c,u,p,d=E(t,"particleCount",k),f=E(t,"angle",Number),m=E(t,"spread",Number),g=E(t,"startVelocity",Number),y=E(t,"decay",Number),x=E(t,"gravity",Number),w=E(t,"drift",Number),S=E(t,"colors",C),A=E(t,"ticks",Number),P=E(t,"shapes"),_=E(t,"scalar"),T=!!E(t,"flat"),I=function(e){var t=E(e,"origin",Object);return t.x=E(t,"x",Number),t.y=E(t,"y",Number),t}(t),F=d,M=[],D=e.width*I.x,R=e.height*I.y;F--;)M.push((void 0,void 0,u=(c={x:D,y:R,angle:f,spread:m,startVelocity:g,color:S[F%S.length],shape:P[(L=0,O=P.length,Math.floor(Math.random()*(O-L))+L)],ticks:A,decay:y,gravity:x,drift:w,scalar:_,flat:T}).angle*(Math.PI/180),p=c.spread*(Math.PI/180),{x:c.x,y:c.y,wobble:10*Math.random(),wobbleSpeed:Math.min(.11,.1*Math.random()+.05),velocity:.5*c.startVelocity+Math.random()*c.startVelocity,angle2D:-u+(.5*p-Math.random()*p),tiltAngle:(.5*Math.random()+.25)*Math.PI,color:c.color,shape:c.shape,tick:0,totalTicks:c.ticks,decay:c.decay,drift:c.drift,random:Math.random()+2,tiltSin:0,tiltCos:0,wobbleX:0,wobbleY:0,gravity:3*c.gravity,ovalScalar:.6,scalar:c.scalar,flat:c.flat}));var L,O;return o?o.addFettis(M):(o=function(e,t,r,a,o){var c,u,p=t.slice(),d=e.getContext("2d"),f=l((function(t){function l(){c=u=null,d.clearRect(0,0,a.width,a.height),v.clear(),o(),t()}c=b.frame((function t(){!n||a.width===i.width&&a.height===i.height||(a.width=e.width=i.width,a.height=e.height=i.height),a.width||a.height||(r(e),a.width=e.width,a.height=e.height),d.clearRect(0,0,a.width,a.height),(p=p.filter((function(e){return function(e,t){t.x+=Math.cos(t.angle2D)*t.velocity+t.drift,t.y+=Math.sin(t.angle2D)*t.velocity+t.gravity,t.velocity*=t.decay,t.flat?(t.wobble=0,t.wobbleX=t.x+10*t.scalar,t.wobbleY=t.y+10*t.scalar,t.tiltSin=0,t.tiltCos=0,t.random=1):(t.wobble+=t.wobbleSpeed,t.wobbleX=t.x+10*t.scalar*Math.cos(t.wobble),t.wobbleY=t.y+10*t.scalar*Math.sin(t.wobble),t.tiltAngle+=.1,t.tiltSin=Math.sin(t.tiltAngle),t.tiltCos=Math.cos(t.tiltAngle),t.random=Math.random()+2);var r=t.tick++/t.totalTicks,n=t.x+t.random*t.tiltCos,i=t.y+t.random*t.tiltSin,a=t.wobbleX+t.random*t.tiltCos,o=t.wobbleY+t.random*t.tiltSin;if(e.fillStyle="rgba("+t.color.r+", "+t.color.g+", "+t.color.b+", "+(1-r)+")",e.beginPath(),s&&"path"===t.shape.type&&"string"==typeof t.shape.path&&Array.isArray(t.shape.matrix))e.fill(function(e,t,r,n,i,a,s){var o=new Path2D(e),l=new Path2D;l.addPath(o,new DOMMatrix(t));var c=new Path2D;return c.addPath(l,new DOMMatrix([Math.cos(s)*i,Math.sin(s)*i,-Math.sin(s)*a,Math.cos(s)*a,r,n])),c}(t.shape.path,t.shape.matrix,t.x,t.y,.1*Math.abs(a-n),.1*Math.abs(o-i),Math.PI/10*t.wobble));else if("bitmap"===t.shape.type){var l=Math.PI/10*t.wobble,c=.1*Math.abs(a-n),u=.1*Math.abs(o-i),p=t.shape.bitmap.width*t.scalar,d=t.shape.bitmap.height*t.scalar,f=new DOMMatrix([Math.cos(l)*c,Math.sin(l)*c,-Math.sin(l)*u,Math.cos(l)*u,t.x,t.y]);f.multiplySelf(new DOMMatrix(t.shape.matrix));var h=e.createPattern(v.transform(t.shape.bitmap),"no-repeat");h.setTransform(f),e.globalAlpha=1-r,e.fillStyle=h,e.fillRect(t.x-p/2,t.y-d/2,p,d),e.globalAlpha=1}else if("circle"===t.shape)e.ellipse?e.ellipse(t.x,t.y,Math.abs(a-n)*t.ovalScalar,Math.abs(o-i)*t.ovalScalar,Math.PI/10*t.wobble,0,2*Math.PI):function(e,t,r,n,i,a,s,o,l){e.save(),e.translate(t,r),e.rotate(a),e.scale(n,i),e.arc(0,0,1,0,o,void 0),e.restore()}(e,t.x,t.y,Math.abs(a-n)*t.ovalScalar,Math.abs(o-i)*t.ovalScalar,Math.PI/10*t.wobble,0,2*Math.PI);else if("star"===t.shape)for(var m=Math.PI/2*3,g=4*t.scalar,y=8*t.scalar,b=t.x,x=t.y,w=5,E=Math.PI/w;w--;)b=t.x+Math.cos(m)*y,x=t.y+Math.sin(m)*y,e.lineTo(b,x),m+=E,b=t.x+Math.cos(m)*g,x=t.y+Math.sin(m)*g,e.lineTo(b,x),m+=E;else e.moveTo(Math.floor(t.x),Math.floor(t.y)),e.lineTo(Math.floor(t.wobbleX),Math.floor(i)),e.lineTo(Math.floor(a),Math.floor(o)),e.lineTo(Math.floor(n),Math.floor(t.wobbleY));return e.closePath(),e.fill(),t.tick<t.totalTicks}(d,e)}))).length?c=b.frame(t):l()})),u=l}));return{addFettis:function(e){return p=p.concat(e),f},canvas:e,promise:f,reset:function(){c&&b.cancel(c),u&&u()}}}(e,M,h,r,a),o.promise)}function w(r){var n=d||E(r,"disableForReducedMotion",Boolean),i=E(r,"zIndex",Number);if(n&&g)return l((function(e){e()}));c&&o?e=o.canvas:c&&!e&&(e=function(e){var t=document.createElement("canvas");return t.style.position="fixed",t.style.top="0px",t.style.left="0px",t.style.pointerEvents="none",t.style.zIndex=e,t}(i),document.body.appendChild(e)),u&&!m&&h(e);var a={width:e.width,height:e.height};function s(){if(f){var t={getBoundingClientRect:function(){if(!c)return e.getBoundingClientRect()}};return h(t),void f.postMessage({resize:{width:t.width,height:t.height}})}a.width=a.height=null}function v(){o=null,u&&(p=!1,t.removeEventListener("resize",s)),c&&e&&(document.body.removeChild(e),e=null,m=!1)}return f&&!m&&f.init(e),m=!0,f&&(e.__confetti_initialized=!0),u&&!p&&(p=!0,t.addEventListener("resize",s,!1)),f?f.fire(r,a,v):y(r,a,v)}return w.reset=function(){f&&f.reset(),o&&o.reset()},w}function I(){return y||(y=T(null,{useWorker:!0,resize:!0})),y}r.exports=function(){return I().apply(this,arguments)},r.exports.reset=function(){I().reset()},r.exports.create=T,r.exports.shapeFromPath=function(e){if(!s)throw new Error("path confetti are not supported in this browser");var t,r;"string"==typeof e?t=e:(t=e.path,r=e.matrix);var n=new Path2D(t),i=document.createElement("canvas").getContext("2d");if(!r){for(var a,o,l=1e3,c=l,u=l,p=0,d=0,f=0;f<l;f+=2)for(var h=0;h<l;h+=2)i.isPointInPath(n,f,h,"nonzero")&&(c=Math.min(c,f),u=Math.min(u,h),p=Math.max(p,f),d=Math.max(d,h));a=p-c,o=d-u;var m=Math.min(10/a,10/o);r=[m,0,0,m,-Math.round(a/2+c)*m,-Math.round(o/2+u)*m]}return{type:"path",path:t,matrix:r}},r.exports.shapeFromText=function(e){var t,r=1,n="#000000",i='"Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji", "EmojiOne Color", "Android Emoji", "Twemoji Mozilla", "system emoji", sans-serif';"string"==typeof e?t=e:(t=e.text,r="scalar"in e?e.scalar:r,i="fontFamily"in e?e.fontFamily:i,n="color"in e?e.color:n);var a=10*r,s=a+"px "+i,o=new OffscreenCanvas(a,a),l=o.getContext("2d");l.font=s;var c=l.measureText(t),u=Math.ceil(c.actualBoundingBoxRight+c.actualBoundingBoxLeft),p=Math.ceil(c.actualBoundingBoxAscent+c.actualBoundingBoxDescent),d=c.actualBoundingBoxLeft+2,f=c.actualBoundingBoxAscent+2;u+=4,p+=4,(l=(o=new OffscreenCanvas(u,p)).getContext("2d")).font=s,l.fillStyle=n,l.fillText(t,d,f);var h=1/r;return{type:"bitmap",bitmap:o.transferToImageBitmap(),matrix:[h,0,0,h,-u*h/2,-p*h/2]}}}(function(){return"undefined"!=typeof window?window:"undefined"!=typeof self?self:this||{}}(),DC,!1);const RC=DC.exports;DC.exports.create;const{siteUrl:LC}=starterTemplates,OC=()=>{const[{importPercent:e,importStatus:t,builder:r,confettiDone:n},a]=fs(),s=100===e?"import-done":"";let o="",l="";e<=25&&(o="import-1",l=(0,wn.__)("1. Installing required theme, plugins, forms, etc","astra-sites")),e>25&&e<=50&&(o="import-2",l=(0,wn.__)("2. Importing pages, menus, posts, etc","astra-sites")),e>50&&e<=75&&(o="import-3",l=(0,wn.__)("3. Setting up customizer settings and the site settings","astra-sites")),e>75&&e<=100&&(o="import-4",l=(0,wn.__)("4. Finalizing last few settings","astra-sites"));const c=localStorage.getItem("st-import-start"),u=localStorage.getItem("st-import-end"),p=u-c,d=Math.floor(p/1e3),f=c&&u?(e=>{const t=Math.floor(e/60/60),r=Math.floor(e/60)-60*t,n=e%60;return r?r+"."+n:"0."+n})(d):0,h=f>1?"minutes":"seconds";let m,g,y=f;const v="fse"!==r?"@AstraWP":"@WPSpectra";y>0&&y<=5?(y=y<1?y.split(".")[1]:y,m=(0,wn.sprintf)( //translators: %1$s Time taken %2$s Time Type %3$s Website Url. //translators: %1$s Time taken %2$s Time Type %3$s Website Url. (0,wn.__)("Your Website is ready and it took just %1$s %2$s to build.","astra-sites"),y,h),g=(0,wn.sprintf)( //translators: %1$s Time taken %2$s Time Type %3$s theme name. //translators: %1$s Time taken %2$s Time Type %3$s theme name. (0,wn.__)("I just built my website in %1$s %2$s with Starter Templates by %3$s. Can’t believe how easy it was!!! 😍","astra-sites"),y,h,v)):(m=(0,wn.__)("Your Website is ready. It took just 25 seconds to build it.","astra-sites"),g=(0,wn.sprintf)( //translators: %1$s theme name. //translators: %1$s theme name. (0,wn.__)("I just built my website with Starter Templates by %1$s in minutes. Can't believe how easy it is! 😍","astra-sites"),v));const b=RC.create(document.getElementById("ist-bashcanvas"),{resize:!0});return n||100!==e||(document.body.classList.add("step-import-site-done"),setTimeout((function(){b({particleCount:250,origin:{x:1,y:1.4},gravity:.4,spread:80,ticks:300,angle:120,startVelocity:100,colors:["#0e6ef1","#f5b800","#ff344c","#98e027","#9900f1"]})}),100),setTimeout((function(){b({particleCount:250,origin:{x:0,y:1.4},gravity:.4,spread:80,ticks:300,angle:60,startVelocity:100,colors:["#0e6ef1","#f5b800","#ff344c","#98e027","#9900f1"]}),a({type:"set",confettiDone:!0})}),500)),(0,i.createElement)("div",{className:"ist-import-progress"},(0,i.createElement)("div",{className:"ist-import-progress-info"},(0,i.createElement)("div",{className:`ist-import-progress-info-text ${s}`},(0,i.createElement)("span",{className:"ist-import-text-inner"},l),(0,i.createElement)("span",{className:"ist-import-done-inner"},m)),(0,i.createElement)("div",{className:"ist-import-progress-info-precent"},e>100?90:e,"%")),(0,i.createElement)("div",{className:"ist-import-progress-bar-wrap"},(0,i.createElement)("div",{className:"ist-import-progress-bar-bg"},(0,i.createElement)("div",{className:`ist-import-progress-bar ${s} ${o}`})),(0,i.createElement)("div",{className:"import-progress-gap"},(0,i.createElement)("span",null),(0,i.createElement)("span",null),(0,i.createElement)("span",null))),(0,i.createElement)("div",{className:"ist-import-progress-info"},(0,i.createElement)("div",{className:`ist-import-progress-info-text ${s}`},(0,i.createElement)("span",{className:"import-status-string"},!t.includes("Failed")&&(0,i.createElement)("p",null,t+(0,xn.decodeEntities)(" "))),(0,i.createElement)("div",{className:"import-done-section"},(0,i.createElement)("div",{className:"tweet-import-success"},(0,i.createElement)("p",{className:"tweet-text"},g),(0,i.createElement)("a",{href:`https://twitter.com/intent/tweet?text=${g}`,target:"_blank",className:"twitter-btn-wrap",rel:"noreferrer"},(0,i.createElement)("p",{className:"tweet-btn"},(0,wn.__)("Tweet this","astra-sites")),ms.twitter)),(0,i.createElement)("div",{className:"import-done-text"},(0,i.createElement)(ps,{className:"view-website-btn import-done-button",after:!0,onClick:()=>{window.open(LC,"_blank")}},(0,wn.__)("View Your Website","astra-sites")),(0,i.createElement)("a",{className:"view-dashboard-link",href:astraSitesVars?.dashboard_url},(0,wn.__)("Visit Dashboard","astra-sites")))))))},VC=()=>{const[{importErrorMessages:e,currentIndex:t,tryAgainCount:r,templateId:n},a]=fs(),s=((e,t)=>`${starterTemplates.supportLink}&template-id=${e}&subject=${t}`)(n,e.errorText),o=(0,i.createElement)("h5",{className:"ist-import-error-solution-heading"},(0,wn.__)("Still no luck? Other potential solution:","astra-sites"));return(0,i.createElement)("div",{className:"ist-import-error"},(0,i.createElement)("div",{className:"ist-import-progress-info"},(0,i.createElement)("div",{className:"ist-import-progress-info-text label-text"},(0,wn.__)("Sorry, something went wrong.","astra-sites"))),(0,i.createElement)("div",{className:"ist-import-error-box"},(0,i.createElement)("h5",{className:"ist-import-error-box-heading"},(0,wn.__)("What went wrong?","astra-sites")),(0,i.createElement)("div",{className:"ist-import-error-wrap ist-import-error-primary-wrap"},e.primaryText&&(0,i.createElement)("p",{className:"website-import-subtitle"},e.primaryText)),e.secondaryText&&(0,i.createElement)("div",{className:"ist-import-error-wrap ist-import-error-secondary-wrap"},e.secondaryText&&(0,i.createElement)("p",{dangerouslySetInnerHTML:{__html:e.secondaryText}})),(0,i.createElement)("div",{className:"ist-import-error-wrap ist-import-error-text-wrap"},(0,i.createElement)("h5",{className:"ist-import-error-text-heading"},(0,wn.__)("More technical information from console:","astra-sites")),e.errorText&&"object"!=typeof e.errorText&&(0,i.createElement)("p",{className:"ist-import-error-text"},e.errorText),e.errorText&&"object"==typeof e.errorText&&(0,i.createElement)("div",{className:"ist-import-error-text"},(0,i.createElement)("pre",null,JSON.stringify(e.errorText,void 0,2))))),e.tryAgain&&r<3&&(0,i.createElement)(ps,{className:"ist-button",after:!0,onClick:()=>{a({type:"set",importErrorMessages:{},importErrorResponse:[],importError:!1,tryAgainCount:r+1,xmlImportDone:!1,resetData:[],importStart:!1,importEnd:!1,importPercent:0,requiredPluginsDone:!1,notInstalledList:[],notActivatedList:[],currentIndex:t-1})}},(0,wn.__)("Click here and we’ll try again","astra-sites")),(0,i.createElement)("div",{className:"ist-import-error-solution-wrapper"},e.solutionText&&(0,i.createElement)(i.Fragment,null,o,(0,i.createElement)("p",{className:"ist-import-error-solution",dangerouslySetInnerHTML:{__html:e.solutionText}})),!e.solutionText&&!e.tryAgain||e.tryAgain&&r>1&&(0,i.createElement)(i.Fragment,null,o,(0,i.createElement)("p",{className:"ist-import-error-solution"},(0,xn.decodeEntities)((0,wn.__)("Please report this error ","astra-sites")),(0,i.createElement)("a",{href:s,target:"_blank",rel:"noreferrer"},"here"),(0,xn.decodeEntities)((0,wn.__)(" so we can fix it.","astra-sites"))))))},NC=JSON.parse('{"v":"5.5.7","meta":{"g":"LottieFiles AE 0.1.20","a":"","k":"","d":"","tc":""},"fr":30,"ip":0,"op":119,"w":500,"h":500,"nm":"site","ddd":0,"assets":[],"layers":[{"ddd":0,"ind":1,"ty":1,"nm":"White Solid 1","td":1,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[250,250,0],"ix":2},"a":{"a":0,"k":[250,250,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"hasMask":true,"masksProperties":[{"inv":false,"mode":"a","pt":{"a":0,"k":{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[435,136],[64,136],[64,379],[435,379]],"c":true},"ix":1},"o":{"a":0,"k":100,"ix":3},"x":{"a":0,"k":0,"ix":4},"nm":"Mask 1"}],"sw":500,"sh":500,"sc":"#ffffff","ip":0,"op":119,"st":0,"bm":0},{"ddd":0,"ind":2,"ty":4,"nm":"Layer 3 Outlines 2","parent":21,"tt":3,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[-112.987,131.818,0],"ix":2},"a":{"a":0,"k":[9.342,9.342,0],"ix":1},"s":{"a":1,"k":[{"i":{"x":[0.833,0.833,0.833],"y":[0.833,0.833,0.833]},"o":{"x":[0.167,0.167,0.167],"y":[0.167,0.167,0.167]},"t":4,"s":[0,0,100]},{"t":8,"s":[100,100,100]}],"ix":6,"x":"var $bm_rt;\\nvar n, n, t, t, v, amp, freq, decay;\\n$bm_rt = n = 0;\\nif (numKeys > 0) {\\n $bm_rt = n = nearestKey(time).index;\\n if (key(n).time > time) {\\n n--;\\n }\\n}\\nif (n == 0) {\\n $bm_rt = t = 0;\\n} else {\\n $bm_rt = t = $bm_sub(time, key(n).time);\\n}\\nif (n > 0) {\\n v = velocityAtTime($bm_sub(key(n).time, $bm_div(thisComp.frameDuration, 10)));\\n amp = 0.05;\\n freq = 2;\\n decay = 5;\\n $bm_rt = $bm_sum(value, $bm_div($bm_mul($bm_mul(v, amp), Math.sin($bm_mul($bm_mul($bm_mul(freq, t), 2), Math.PI))), Math.exp($bm_mul(decay, t))));\\n} else {\\n $bm_rt = value;\\n}"}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[-0.01,-5.016],[5.016,-0.01],[0.011,5.016],[-5.016,0.01]],"o":[[0.01,5.016],[-5.016,0.01],[-0.01,-5.016],[5.016,-0.011]],"v":[[9.082,-0.019],[0.019,9.082],[-9.082,0.02],[-0.019,-9.082]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.8588235294117647,0.9176470588235294,0.996078431372549,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[9.342,9.343],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":4,"op":119,"st":4,"bm":0},{"ddd":0,"ind":3,"ty":1,"nm":"White Solid 1","td":1,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[250,250,0],"ix":2},"a":{"a":0,"k":[250,250,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"hasMask":true,"masksProperties":[{"inv":false,"mode":"a","pt":{"a":0,"k":{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[435,136],[64,136],[64,379],[435,379]],"c":true},"ix":1},"o":{"a":0,"k":100,"ix":3},"x":{"a":0,"k":0,"ix":4},"nm":"Mask 1"}],"sw":500,"sh":500,"sc":"#ffffff","ip":0,"op":119,"st":0,"bm":0},{"ddd":0,"ind":4,"ty":4,"nm":"Layer 4 Outlines 2","parent":21,"tt":3,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[-44.158,131.676,0],"ix":2},"a":{"a":0,"k":[55.121,5.122,0],"ix":1},"s":{"a":1,"k":[{"i":{"x":[0.341,0.667,0.667],"y":[1,1,1]},"o":{"x":[0.651,0.333,0.333],"y":[0,0,0]},"t":5,"s":[0,100,100]},{"t":15,"s":[100,100,100]}],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[2.478,-0.005],[0,0],[0.004,2.477],[0,0],[-2.477,0.005],[0,0],[-0.006,-2.477],[0,0]],"o":[[0,0],[-2.477,0.005],[0,0],[-0.005,-2.476],[0,0],[2.478,-0.005],[0,0],[0.004,2.477]],"v":[[50.39,4.659],[-50.37,4.867],[-54.864,0.391],[-54.866,-0.165],[-50.39,-4.659],[50.37,-4.867],[54.866,-0.391],[54.867,0.165]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.8588235294117647,0.9176470588235294,0.996078431372549,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[55.121,5.122],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":5,"op":119,"st":5,"bm":0},{"ddd":0,"ind":5,"ty":1,"nm":"White Solid 1","td":1,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[250,250,0],"ix":2},"a":{"a":0,"k":[250,250,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"hasMask":true,"masksProperties":[{"inv":false,"mode":"a","pt":{"a":0,"k":{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[435,136],[64,136],[64,379],[435,379]],"c":true},"ix":1},"o":{"a":0,"k":100,"ix":3},"x":{"a":0,"k":0,"ix":4},"nm":"Mask 1"}],"sw":500,"sh":500,"sc":"#ffffff","ip":0,"op":119,"st":0,"bm":0},{"ddd":0,"ind":6,"ty":4,"nm":"Layer 5 Outlines 2","parent":21,"tt":3,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":1,"k":[{"i":{"x":0.667,"y":1},"o":{"x":0.333,"y":0},"t":18,"s":[98.188,117.519,0],"to":[0,7.333,0],"ti":[0,-7.333,0]},{"t":38,"s":[98.188,161.519,0]}],"ix":2},"a":{"a":0,"k":[71.972,35.392,0],"ix":1},"s":{"a":1,"k":[{"i":{"x":[0.667,0.667,0.667],"y":[1,1,1]},"o":{"x":[0.333,0.333,0.333],"y":[0,0,0]},"t":18,"s":[100,0,100]},{"t":38,"s":[100,100,100]}],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[4.092,-0.008],[0,0],[0.009,4.09],[0,0],[-4.09,0.008],[0,0],[-0.007,-4.091],[0,0]],"o":[[0,0],[-4.091,0.008],[0,0],[-0.008,-4.091],[0,0],[4.092,-0.009],[0,0],[0.008,4.09]],"v":[[64.321,34.868],[-64.176,35.135],[-71.599,27.743],[-71.713,-27.446],[-64.321,-34.869],[64.176,-35.133],[71.599,-27.742],[71.714,27.446]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.8588235294117647,0.9176470588235294,0.996078431372549,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[71.971,35.393],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":18,"op":123,"st":18,"bm":0},{"ddd":0,"ind":7,"ty":1,"nm":"White Solid 1","td":1,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[250,250,0],"ix":2},"a":{"a":0,"k":[250,250,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"hasMask":true,"masksProperties":[{"inv":false,"mode":"a","pt":{"a":0,"k":{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[435,136],[64,136],[64,379],[435,379]],"c":true},"ix":1},"o":{"a":0,"k":100,"ix":3},"x":{"a":0,"k":0,"ix":4},"nm":"Mask 1"}],"sw":500,"sh":500,"sc":"#ffffff","ip":0,"op":119,"st":0,"bm":0},{"ddd":0,"ind":8,"ty":4,"nm":"Layer 6 Outlines 2","parent":21,"tt":3,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[-108.233,200.976,0],"ix":2},"a":{"a":0,"k":[14.041,50.652,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,0],[0.008,3.464],[0,0],[-3.5,0.007],[0,0]],"o":[[0,0],[-3.464,0.007],[0,0],[-0.008,-3.501],[0,0],[0,0]],"v":[[13.792,50.351],[-7.316,50.395],[-13.603,44.135],[-13.784,-43.996],[-7.458,-50.348],[13.667,-50.402]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.8588235294117647,0.9176470588235294,0.996078431372549,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[14.041,50.653],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":119,"st":0,"bm":0},{"ddd":0,"ind":9,"ty":1,"nm":"White Solid 1","td":1,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[250,250,0],"ix":2},"a":{"a":0,"k":[250,250,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"hasMask":true,"masksProperties":[{"inv":false,"mode":"a","pt":{"a":0,"k":{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[435,136],[64,136],[64,379],[435,379]],"c":true},"ix":1},"o":{"a":0,"k":100,"ix":3},"x":{"a":0,"k":0,"ix":4},"nm":"Mask 1"}],"sw":500,"sh":500,"sc":"#ffffff","ip":0,"op":119,"st":0,"bm":0},{"ddd":0,"ind":10,"ty":4,"nm":"Layer 7 Outlines 2","parent":21,"tt":3,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[-67.538,200.9,0],"ix":2},"a":{"a":0,"k":[54.735,50.718,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[4.084,0],[0,0],[0,0],[-0.008,-4.092],[0,0],[-4.084,0],[0,0],[0,0],[0.009,4.091],[0,0]],"o":[[0,0],[0,0],[-4.091,0.008],[0,0],[0.009,4.086],[0,0],[0,0],[4.091,-0.008],[0,0],[-0.009,-4.086]],"v":[[46.892,-50.469],[46.876,-50.469],[-47.084,-50.275],[-54.476,-42.852],[-54.299,43.077],[-46.892,50.469],[-46.876,50.469],[47.083,50.274],[54.476,42.852],[54.299,-43.076]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ind":1,"ty":"sh","ix":2,"ks":{"a":0,"k":{"i":[[0,0],[0,0],[-0.008,-3.398],[0,0],[1.164,-1.169],[1.65,-0.004],[0,0],[0.006,3.398],[0,0],[-1.164,1.169],[-1.649,0.004],[0,0]],"o":[[0,0],[3.398,0],[0,0],[0.003,1.65],[-1.163,1.168],[0,0],[-3.398,0],[0,0],[-0.003,-1.65],[1.164,-1.169],[0,0],[0,0]],"v":[[46.892,-50.469],[46.892,-49.236],[53.066,-43.073],[53.243,42.854],[51.443,47.225],[47.081,49.043],[-46.892,49.236],[-53.066,43.074],[-53.244,-42.854],[-51.444,-47.224],[-47.082,-49.042],[46.88,-49.236]],"c":true},"ix":2},"nm":"Path 2","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"mm","mm":1,"nm":"Merge Paths 1","mn":"ADBE Vector Filter - Merge","hd":false},{"ty":"fl","c":{"a":0,"k":[0.8588235294117647,0.9176470588235294,0.996078431372549,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[54.735,50.719],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":4,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":119,"st":0,"bm":0},{"ddd":0,"ind":11,"ty":1,"nm":"White Solid 1","td":1,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[250,250,0],"ix":2},"a":{"a":0,"k":[250,250,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"hasMask":true,"masksProperties":[{"inv":false,"mode":"a","pt":{"a":0,"k":{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[435,136],[64,136],[64,379],[435,379]],"c":true},"ix":1},"o":{"a":0,"k":100,"ix":3},"x":{"a":0,"k":0,"ix":4},"nm":"Mask 1"}],"sw":500,"sh":500,"sc":"#ffffff","ip":0,"op":119,"st":0,"bm":0},{"ddd":0,"ind":12,"ty":4,"nm":"Layer 8 Outlines 2","parent":21,"tt":3,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[98.332,233.613,0],"ix":2},"a":{"a":0,"k":[71.911,5.157,0],"ix":1},"s":{"a":1,"k":[{"i":{"x":[0.341,0.667,0.667],"y":[1,1,1]},"o":{"x":[0.651,0.333,0.333],"y":[0,0,0]},"t":60,"s":[0,100,100]},{"t":70,"s":[100,100,100]}],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[2.478,-0.006],[0,0],[0.006,2.477],[0,0],[-2.477,0.005],[0,0],[-0.005,-2.476],[0,0]],"o":[[0,0],[-2.476,0.006],[0,0],[-0.005,-2.476],[0,0],[2.477,-0.005],[0,0],[0.004,2.477]],"v":[[67.182,4.624],[-67.161,4.9],[-71.655,0.426],[-71.656,-0.131],[-67.18,-4.625],[67.161,-4.902],[71.656,-0.427],[71.658,0.13]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.8588235294117647,0.9176470588235294,0.996078431372549,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[71.911,5.157],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":60,"op":119,"st":60,"bm":0},{"ddd":0,"ind":13,"ty":1,"nm":"White Solid 1","td":1,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[250,250,0],"ix":2},"a":{"a":0,"k":[250,250,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"hasMask":true,"masksProperties":[{"inv":false,"mode":"a","pt":{"a":0,"k":{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[435,136],[64,136],[64,379],[435,379]],"c":true},"ix":1},"o":{"a":0,"k":100,"ix":3},"x":{"a":0,"k":0,"ix":4},"nm":"Mask 1"}],"sw":500,"sh":500,"sc":"#ffffff","ip":0,"op":119,"st":0,"bm":0},{"ddd":0,"ind":14,"ty":4,"nm":"Layer 9 Outlines 2","parent":21,"tt":3,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[-50.16,276.976,0],"ix":2},"a":{"a":0,"k":[68.492,5.149,0],"ix":1},"s":{"a":1,"k":[{"i":{"x":[0.341,0.667,0.667],"y":[1,1,1]},"o":{"x":[0.651,0.333,0.333],"y":[0,0,0]},"t":84,"s":[0,100,100]},{"t":94,"s":[100,100,100]}],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[2.477,-0.005],[0,0],[0.005,2.477],[0,0],[-2.477,0.006],[0,0],[-0.005,-2.476],[0,0]],"o":[[0,0],[-2.477,0.005],[0,0],[-0.005,-2.476],[0,0],[2.477,-0.005],[0,0],[0.004,2.477]],"v":[[63.762,4.63],[-63.741,4.895],[-68.236,0.419],[-68.237,-0.139],[-63.761,-4.632],[63.742,-4.895],[68.237,-0.419],[68.238,0.137]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.8588235294117647,0.9176470588235294,0.996078431372549,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[68.492,5.15],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":84,"op":119,"st":84,"bm":0},{"ddd":0,"ind":15,"ty":1,"nm":"White Solid 1","td":1,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[250,250,0],"ix":2},"a":{"a":0,"k":[250,250,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"hasMask":true,"masksProperties":[{"inv":false,"mode":"a","pt":{"a":0,"k":{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[435,136],[64,136],[64,379],[435,379]],"c":true},"ix":1},"o":{"a":0,"k":100,"ix":3},"x":{"a":0,"k":0,"ix":4},"nm":"Mask 1"}],"sw":500,"sh":500,"sc":"#ffffff","ip":0,"op":119,"st":0,"bm":0},{"ddd":0,"ind":16,"ty":4,"nm":"Layer 10 Outlines 2","parent":21,"tt":3,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[-50.119,296.67,0],"ix":2},"a":{"a":0,"k":[68.492,5.15,0],"ix":1},"s":{"a":1,"k":[{"i":{"x":[0.341,0.667,0.667],"y":[1,1,1]},"o":{"x":[0.651,0.333,0.333],"y":[0,0,0]},"t":92,"s":[0,100,100]},{"t":102,"s":[100,100,100]}],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[2.478,-0.005],[0,0],[0.005,2.478],[0,0],[-2.478,0.005],[0,0],[-0.005,-2.477],[0,0]],"o":[[0,0],[-2.477,0.006],[0,0],[-0.005,-2.476],[0,0],[2.478,-0.005],[0,0],[0.004,2.476]],"v":[[63.761,4.631],[-63.742,4.894],[-68.236,0.418],[-68.237,-0.138],[-63.761,-4.632],[63.741,-4.895],[68.236,-0.419],[68.238,0.137]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.8588235294117647,0.9176470588235294,0.996078431372549,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[68.492,5.15],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":92,"op":119,"st":92,"bm":0},{"ddd":0,"ind":17,"ty":1,"nm":"White Solid 1","td":1,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[250,250,0],"ix":2},"a":{"a":0,"k":[250,250,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"hasMask":true,"masksProperties":[{"inv":false,"mode":"a","pt":{"a":0,"k":{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[435,136],[64,136],[64,379],[435,379]],"c":true},"ix":1},"o":{"a":0,"k":100,"ix":3},"x":{"a":0,"k":0,"ix":4},"nm":"Mask 1"}],"sw":500,"sh":500,"sc":"#ffffff","ip":0,"op":119,"st":0,"bm":0},{"ddd":0,"ind":18,"ty":4,"nm":"Layer 11 Outlines 2","parent":21,"tt":3,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[-50.079,316.364,0],"ix":2},"a":{"a":0,"k":[68.492,5.15,0],"ix":1},"s":{"a":1,"k":[{"i":{"x":[0.341,0.667,0.667],"y":[1,1,1]},"o":{"x":[0.651,0.333,0.333],"y":[0,0,0]},"t":101,"s":[0,100,100]},{"t":111,"s":[100,100,100]}],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[2.477,-0.005],[0,0],[0.006,2.477],[0,0],[-2.477,0.006],[0,0],[-0.005,-2.476],[0,0]],"o":[[0,0],[-2.477,0.005],[0,0],[-0.005,-2.476],[0,0],[2.477,-0.005],[0,0],[0.004,2.477]],"v":[[63.762,4.63],[-63.741,4.895],[-68.236,0.419],[-68.237,-0.139],[-63.761,-4.632],[63.742,-4.895],[68.237,-0.419],[68.238,0.137]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.8588235294117647,0.9176470588235294,0.996078431372549,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[68.492,5.15],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":101,"op":119,"st":101,"bm":0},{"ddd":0,"ind":19,"ty":1,"nm":"White Solid 1","td":1,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[250,250,0],"ix":2},"a":{"a":0,"k":[250,250,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"hasMask":true,"masksProperties":[{"inv":false,"mode":"a","pt":{"a":0,"k":{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[435,136],[64,136],[64,379],[435,379]],"c":true},"ix":1},"o":{"a":0,"k":100,"ix":3},"x":{"a":0,"k":0,"ix":4},"nm":"Mask 1"}],"sw":500,"sh":500,"sc":"#ffffff","ip":0,"op":119,"st":0,"bm":0},{"ddd":0,"ind":20,"ty":4,"nm":"Layer 1 Outlines 2","parent":21,"tt":3,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":1,"k":[{"i":{"x":0.667,"y":1},"o":{"x":0.333,"y":0},"t":92,"s":[98.468,243.97,0],"to":[0,9.167,0],"ti":[0,-9.167,0]},{"t":112,"s":[98.468,298.97,0]}],"ix":2},"a":{"a":0,"k":[71.972,35.392,0],"ix":1},"s":{"a":1,"k":[{"i":{"x":[0.667,0.667,0.667],"y":[1,1,1]},"o":{"x":[0.333,0.333,0.333],"y":[0,0,0]},"t":92,"s":[100,0,100]},{"t":112,"s":[100,100,100]}],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[4.091,-0.009],[0,0],[0.009,4.091],[0,0],[-4.09,0.008],[0,0],[-0.008,-4.091],[0,0]],"o":[[0,0],[-4.091,0.007],[0,0],[-0.009,-4.092],[0,0],[4.091,-0.008],[0,0],[0.008,4.091]],"v":[[64.322,34.869],[-64.177,35.135],[-71.6,27.742],[-71.712,-27.445],[-64.322,-34.868],[64.176,-35.134],[71.599,-27.741],[71.714,27.446]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.8588235294117647,0.9176470588235294,0.996078431372549,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[71.971,35.392],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":119,"st":0,"bm":0},{"ddd":0,"ind":21,"ty":3,"nm":"Null 1","sr":1,"ks":{"o":{"a":0,"k":0,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":0,"s":[250,250,0],"to":[0,-37.5,0],"ti":[0,37.5,0]},{"t":119,"s":[250,25,0]}],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"ip":0,"op":119,"st":0,"bm":0},{"ddd":0,"ind":22,"ty":1,"nm":"White Solid 1","td":1,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[250,250,0],"ix":2},"a":{"a":0,"k":[250,250,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"hasMask":true,"masksProperties":[{"inv":false,"mode":"a","pt":{"a":0,"k":{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[435,136],[64,136],[64,379],[435,379]],"c":true},"ix":1},"o":{"a":0,"k":100,"ix":3},"x":{"a":0,"k":0,"ix":4},"nm":"Mask 1"}],"sw":500,"sh":500,"sc":"#ffffff","ip":0,"op":119,"st":0,"bm":0},{"ddd":0,"ind":23,"ty":4,"nm":"Layer 3 Outlines","parent":21,"tt":3,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[-112.987,-93.182,0],"ix":2},"a":{"a":0,"k":[9.342,9.342,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[-0.01,-5.016],[5.016,-0.01],[0.011,5.016],[-5.016,0.01]],"o":[[0.01,5.016],[-5.016,0.01],[-0.01,-5.016],[5.016,-0.011]],"v":[[9.082,-0.019],[0.019,9.082],[-9.082,0.02],[-0.019,-9.082]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.8588235294117647,0.9176470588235294,0.996078431372549,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[9.342,9.343],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":119,"st":0,"bm":0},{"ddd":0,"ind":24,"ty":1,"nm":"White Solid 1","td":1,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[250,250,0],"ix":2},"a":{"a":0,"k":[250,250,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"hasMask":true,"masksProperties":[{"inv":false,"mode":"a","pt":{"a":0,"k":{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[435,136],[64,136],[64,379],[435,379]],"c":true},"ix":1},"o":{"a":0,"k":100,"ix":3},"x":{"a":0,"k":0,"ix":4},"nm":"Mask 1"}],"sw":500,"sh":500,"sc":"#ffffff","ip":0,"op":119,"st":0,"bm":0},{"ddd":0,"ind":25,"ty":4,"nm":"Layer 4 Outlines","parent":21,"tt":3,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[-44.158,-93.324,0],"ix":2},"a":{"a":0,"k":[55.121,5.122,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[2.478,-0.005],[0,0],[0.004,2.477],[0,0],[-2.477,0.005],[0,0],[-0.006,-2.477],[0,0]],"o":[[0,0],[-2.477,0.005],[0,0],[-0.005,-2.476],[0,0],[2.478,-0.005],[0,0],[0.004,2.477]],"v":[[50.39,4.659],[-50.37,4.867],[-54.864,0.391],[-54.866,-0.165],[-50.39,-4.659],[50.37,-4.867],[54.866,-0.391],[54.867,0.165]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.8588235294117647,0.9176470588235294,0.996078431372549,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[55.121,5.122],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":119,"st":0,"bm":0},{"ddd":0,"ind":26,"ty":1,"nm":"White Solid 1","td":1,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[250,250,0],"ix":2},"a":{"a":0,"k":[250,250,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"hasMask":true,"masksProperties":[{"inv":false,"mode":"a","pt":{"a":0,"k":{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[435,136],[64,136],[64,379],[435,379]],"c":true},"ix":1},"o":{"a":0,"k":100,"ix":3},"x":{"a":0,"k":0,"ix":4},"nm":"Mask 1"}],"sw":500,"sh":500,"sc":"#ffffff","ip":0,"op":119,"st":0,"bm":0},{"ddd":0,"ind":27,"ty":4,"nm":"Layer 5 Outlines","parent":21,"tt":3,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[98.188,-63.481,0],"ix":2},"a":{"a":0,"k":[71.972,35.392,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[4.092,-0.008],[0,0],[0.009,4.09],[0,0],[-4.09,0.008],[0,0],[-0.007,-4.091],[0,0]],"o":[[0,0],[-4.091,0.008],[0,0],[-0.008,-4.091],[0,0],[4.092,-0.009],[0,0],[0.008,4.09]],"v":[[64.321,34.868],[-64.176,35.135],[-71.599,27.743],[-71.713,-27.446],[-64.321,-34.869],[64.176,-35.133],[71.599,-27.742],[71.714,27.446]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.8588235294117647,0.9176470588235294,0.996078431372549,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[71.971,35.393],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":119,"st":0,"bm":0},{"ddd":0,"ind":28,"ty":1,"nm":"White Solid 1","td":1,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[250,250,0],"ix":2},"a":{"a":0,"k":[250,250,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"hasMask":true,"masksProperties":[{"inv":false,"mode":"a","pt":{"a":0,"k":{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[435,136],[64,136],[64,379],[435,379]],"c":true},"ix":1},"o":{"a":0,"k":100,"ix":3},"x":{"a":0,"k":0,"ix":4},"nm":"Mask 1"}],"sw":500,"sh":500,"sc":"#ffffff","ip":0,"op":119,"st":0,"bm":0},{"ddd":0,"ind":29,"ty":4,"nm":"Layer 6 Outlines","parent":21,"tt":3,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[-108.233,-24.024,0],"ix":2},"a":{"a":0,"k":[14.041,50.652,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,0],[0.008,3.464],[0,0],[-3.5,0.007],[0,0]],"o":[[0,0],[-3.464,0.007],[0,0],[-0.008,-3.501],[0,0],[0,0]],"v":[[13.792,50.351],[-7.316,50.395],[-13.603,44.135],[-13.784,-43.996],[-7.458,-50.348],[13.667,-50.402]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.8588235294117647,0.9176470588235294,0.996078431372549,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[14.041,50.653],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":119,"st":0,"bm":0},{"ddd":0,"ind":30,"ty":1,"nm":"White Solid 1","td":1,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[250,250,0],"ix":2},"a":{"a":0,"k":[250,250,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"hasMask":true,"masksProperties":[{"inv":false,"mode":"a","pt":{"a":0,"k":{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[435,136],[64,136],[64,379],[435,379]],"c":true},"ix":1},"o":{"a":0,"k":100,"ix":3},"x":{"a":0,"k":0,"ix":4},"nm":"Mask 1"}],"sw":500,"sh":500,"sc":"#ffffff","ip":0,"op":119,"st":0,"bm":0},{"ddd":0,"ind":31,"ty":4,"nm":"Layer 7 Outlines","parent":21,"tt":3,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[-67.538,-24.1,0],"ix":2},"a":{"a":0,"k":[54.735,50.718,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[4.084,0],[0,0],[0,0],[-0.008,-4.092],[0,0],[-4.084,0],[0,0],[0,0],[0.009,4.091],[0,0]],"o":[[0,0],[0,0],[-4.091,0.008],[0,0],[0.009,4.086],[0,0],[0,0],[4.091,-0.008],[0,0],[-0.009,-4.086]],"v":[[46.892,-50.469],[46.876,-50.469],[-47.084,-50.275],[-54.476,-42.852],[-54.299,43.077],[-46.892,50.469],[-46.876,50.469],[47.083,50.274],[54.476,42.852],[54.299,-43.076]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ind":1,"ty":"sh","ix":2,"ks":{"a":0,"k":{"i":[[0,0],[0,0],[-0.008,-3.398],[0,0],[1.164,-1.169],[1.65,-0.004],[0,0],[0.006,3.398],[0,0],[-1.164,1.169],[-1.649,0.004],[0,0]],"o":[[0,0],[3.398,0],[0,0],[0.003,1.65],[-1.163,1.168],[0,0],[-3.398,0],[0,0],[-0.003,-1.65],[1.164,-1.169],[0,0],[0,0]],"v":[[46.892,-50.469],[46.892,-49.236],[53.066,-43.073],[53.243,42.854],[51.443,47.225],[47.081,49.043],[-46.892,49.236],[-53.066,43.074],[-53.244,-42.854],[-51.444,-47.224],[-47.082,-49.042],[46.88,-49.236]],"c":true},"ix":2},"nm":"Path 2","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"mm","mm":1,"nm":"Merge Paths 1","mn":"ADBE Vector Filter - Merge","hd":false},{"ty":"fl","c":{"a":0,"k":[0.8588235294117647,0.9176470588235294,0.996078431372549,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[54.735,50.719],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":4,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":119,"st":0,"bm":0},{"ddd":0,"ind":32,"ty":1,"nm":"White Solid 1","td":1,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[250,250,0],"ix":2},"a":{"a":0,"k":[250,250,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"hasMask":true,"masksProperties":[{"inv":false,"mode":"a","pt":{"a":0,"k":{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[435,136],[64,136],[64,379],[435,379]],"c":true},"ix":1},"o":{"a":0,"k":100,"ix":3},"x":{"a":0,"k":0,"ix":4},"nm":"Mask 1"}],"sw":500,"sh":500,"sc":"#ffffff","ip":0,"op":119,"st":0,"bm":0},{"ddd":0,"ind":33,"ty":4,"nm":"Layer 8 Outlines","parent":21,"tt":3,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[98.332,8.613,0],"ix":2},"a":{"a":0,"k":[71.911,5.157,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[2.478,-0.006],[0,0],[0.006,2.477],[0,0],[-2.477,0.005],[0,0],[-0.005,-2.476],[0,0]],"o":[[0,0],[-2.476,0.006],[0,0],[-0.005,-2.476],[0,0],[2.477,-0.005],[0,0],[0.004,2.477]],"v":[[67.182,4.624],[-67.161,4.9],[-71.655,0.426],[-71.656,-0.131],[-67.18,-4.625],[67.161,-4.902],[71.656,-0.427],[71.658,0.13]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.8588235294117647,0.9176470588235294,0.996078431372549,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[71.911,5.157],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":119,"st":0,"bm":0},{"ddd":0,"ind":34,"ty":1,"nm":"White Solid 1","td":1,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[250,250,0],"ix":2},"a":{"a":0,"k":[250,250,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"hasMask":true,"masksProperties":[{"inv":false,"mode":"a","pt":{"a":0,"k":{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[435,136],[64,136],[64,379],[435,379]],"c":true},"ix":1},"o":{"a":0,"k":100,"ix":3},"x":{"a":0,"k":0,"ix":4},"nm":"Mask 1"}],"sw":500,"sh":500,"sc":"#ffffff","ip":0,"op":119,"st":0,"bm":0},{"ddd":0,"ind":35,"ty":4,"nm":"Layer 9 Outlines","parent":21,"tt":3,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[-50.16,51.976,0],"ix":2},"a":{"a":0,"k":[68.492,5.149,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[2.477,-0.005],[0,0],[0.005,2.477],[0,0],[-2.477,0.006],[0,0],[-0.005,-2.476],[0,0]],"o":[[0,0],[-2.477,0.005],[0,0],[-0.005,-2.476],[0,0],[2.477,-0.005],[0,0],[0.004,2.477]],"v":[[63.762,4.63],[-63.741,4.895],[-68.236,0.419],[-68.237,-0.139],[-63.761,-4.632],[63.742,-4.895],[68.237,-0.419],[68.238,0.137]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.8588235294117647,0.9176470588235294,0.996078431372549,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[68.492,5.15],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":119,"st":0,"bm":0},{"ddd":0,"ind":36,"ty":1,"nm":"White Solid 1","td":1,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[250,250,0],"ix":2},"a":{"a":0,"k":[250,250,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"hasMask":true,"masksProperties":[{"inv":false,"mode":"a","pt":{"a":0,"k":{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[435,136],[64,136],[64,379],[435,379]],"c":true},"ix":1},"o":{"a":0,"k":100,"ix":3},"x":{"a":0,"k":0,"ix":4},"nm":"Mask 1"}],"sw":500,"sh":500,"sc":"#ffffff","ip":0,"op":119,"st":0,"bm":0},{"ddd":0,"ind":37,"ty":4,"nm":"Layer 10 Outlines","parent":21,"tt":3,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[-50.119,71.67,0],"ix":2},"a":{"a":0,"k":[68.492,5.15,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[2.478,-0.005],[0,0],[0.005,2.478],[0,0],[-2.478,0.005],[0,0],[-0.005,-2.477],[0,0]],"o":[[0,0],[-2.477,0.006],[0,0],[-0.005,-2.476],[0,0],[2.478,-0.005],[0,0],[0.004,2.476]],"v":[[63.761,4.631],[-63.742,4.894],[-68.236,0.418],[-68.237,-0.138],[-63.761,-4.632],[63.741,-4.895],[68.236,-0.419],[68.238,0.137]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.8588235294117647,0.9176470588235294,0.996078431372549,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[68.492,5.15],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":119,"st":0,"bm":0},{"ddd":0,"ind":38,"ty":1,"nm":"White Solid 1","td":1,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[250,250,0],"ix":2},"a":{"a":0,"k":[250,250,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"hasMask":true,"masksProperties":[{"inv":false,"mode":"a","pt":{"a":0,"k":{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[435,136],[64,136],[64,379],[435,379]],"c":true},"ix":1},"o":{"a":0,"k":100,"ix":3},"x":{"a":0,"k":0,"ix":4},"nm":"Mask 1"}],"sw":500,"sh":500,"sc":"#ffffff","ip":0,"op":119,"st":0,"bm":0},{"ddd":0,"ind":39,"ty":4,"nm":"Layer 11 Outlines","parent":21,"tt":3,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[-50.079,91.364,0],"ix":2},"a":{"a":0,"k":[68.492,5.15,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[2.477,-0.005],[0,0],[0.006,2.477],[0,0],[-2.477,0.006],[0,0],[-0.005,-2.476],[0,0]],"o":[[0,0],[-2.477,0.005],[0,0],[-0.005,-2.476],[0,0],[2.477,-0.005],[0,0],[0.004,2.477]],"v":[[63.762,4.63],[-63.741,4.895],[-68.236,0.419],[-68.237,-0.139],[-63.761,-4.632],[63.742,-4.895],[68.237,-0.419],[68.238,0.137]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.8588235294117647,0.9176470588235294,0.996078431372549,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[68.492,5.15],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":119,"st":0,"bm":0},{"ddd":0,"ind":40,"ty":1,"nm":"White Solid 1","td":1,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[250,250,0],"ix":2},"a":{"a":0,"k":[250,250,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"hasMask":true,"masksProperties":[{"inv":false,"mode":"a","pt":{"a":0,"k":{"i":[[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0]],"v":[[435,136],[64,136],[64,379],[435,379]],"c":true},"ix":1},"o":{"a":0,"k":100,"ix":3},"x":{"a":0,"k":0,"ix":4},"nm":"Mask 1"}],"sw":500,"sh":500,"sc":"#ffffff","ip":0,"op":119,"st":0,"bm":0},{"ddd":0,"ind":41,"ty":4,"nm":"Layer 1 Outlines","parent":21,"tt":3,"sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[98.468,73.97,0],"ix":2},"a":{"a":0,"k":[71.972,35.392,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[4.091,-0.009],[0,0],[0.009,4.091],[0,0],[-4.09,0.008],[0,0],[-0.008,-4.091],[0,0]],"o":[[0,0],[-4.091,0.007],[0,0],[-0.009,-4.092],[0,0],[4.091,-0.008],[0,0],[0.008,4.091]],"v":[[64.322,34.869],[-64.177,35.135],[-71.6,27.742],[-71.712,-27.445],[-64.322,-34.868],[64.176,-35.134],[71.599,-27.741],[71.714,27.446]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.8588235294117647,0.9176470588235294,0.996078431372549,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[71.971,35.392],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":119,"st":0,"bm":0},{"ddd":0,"ind":42,"ty":4,"nm":"Layer 12 Outlines","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[250.038,250.001,0],"ix":2},"a":{"a":0,"k":[194.843,132.395,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[4.937,0],[0.007,0],[0,0],[-0.01,-4.947],[0,0],[-4.939,0],[0,0],[0,0],[0.01,4.946],[0,0]],"o":[[-0.006,0],[0,0],[-4.946,0.009],[0,0],[0.01,4.94],[0,0],[0,0],[4.947,-0.009],[0,0],[-0.011,-4.94]],"v":[[185.12,-132.145],[185.1,-132.145],[-185.646,-131.379],[-194.584,-122.405],[-194.076,123.208],[-185.12,132.145],[-185.102,132.145],[185.644,131.38],[194.583,122.406],[194.076,-123.207]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ind":1,"ty":"sh","ix":2,"ks":{"a":0,"k":{"i":[[0,0],[-0.007,-3.572],[0,0],[3.58,-0.008],[0,0],[0.007,3.572],[0,0],[-3.58,0.007],[0,0]],"o":[[3.571,0],[0,0],[0.008,3.58],[0,0],[-3.572,0],[0,0],[-0.007,-3.58],[0,0],[0,0]],"v":[[185.121,-129.681],[191.611,-123.202],[192.118,122.411],[185.64,128.917],[-185.12,129.68],[-191.613,123.203],[-192.119,-122.41],[-185.64,-128.915],[185.1,-129.681]],"c":true},"ix":2},"nm":"Path 2","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"mm","mm":1,"nm":"Merge Paths 1","mn":"ADBE Vector Filter - Merge","hd":false},{"ty":"fl","c":{"a":0,"k":[0.1450980392156863,0.38823529411764707,0.9215686274509803,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[194.843,132.395],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":4,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":119,"st":0,"bm":0},{"ddd":0,"ind":43,"ty":4,"nm":"Layer 2 Outlines","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[249.947,250,0],"ix":2},"a":{"a":0,"k":[194.843,132.406,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0.935,-0.002],[0,0],[0.002,0.935],[0,0],[-0.935,0.002],[0,0],[-0.001,-0.934],[0,0]],"o":[[0,0],[-0.935,0.002],[0,0],[-0.002,-0.935],[0,0],[0.934,-0.001],[0,0],[0.002,0.935]],"v":[[20.118,1.755],[-20.111,1.838],[-21.805,0.149],[-21.807,-0.059],[-20.117,-1.756],[20.111,-1.839],[21.805,-0.15],[21.807,0.059]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[1,1,1,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[34.276,92.986],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0.935,-0.001],[0,0],[0.002,0.934],[0,0],[-0.935,0.002],[0,0],[-0.001,-0.935],[0,0]],"o":[[0,0],[-0.935,0.002],[0,0],[-0.002,-0.935],[0,0],[0.935,-0.002],[0,0],[0.002,0.935]],"v":[[20.118,1.755],[-20.11,1.838],[-21.806,0.15],[-21.806,-0.059],[-20.117,-1.756],[20.11,-1.839],[21.806,-0.15],[21.806,0.059]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[1,1,1,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[34.26,85.305],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 2","np":2,"cix":2,"bm":0,"ix":2,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[-0.003,-1.735],[1.734,-0.003],[0.004,1.735],[-1.735,0.003]],"o":[[0.003,1.735],[-1.735,0.004],[-0.003,-1.735],[1.734,-0.004]],"v":[[3.141,-0.007],[0.007,3.14],[-3.141,0.006],[-0.006,-3.14]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.8588235294117647,0.9176470588235294,0.996078431372549,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[45.222,9.906],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 3","np":2,"cix":2,"bm":0,"ix":3,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[-0.003,-1.734],[1.734,-0.003],[0.004,1.735],[-1.735,0.003]],"o":[[0.003,1.735],[-1.735,0.004],[-0.003,-1.735],[1.734,-0.004]],"v":[[3.141,-0.007],[0.007,3.14],[-3.141,0.006],[-0.006,-3.14]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.8588235294117647,0.9176470588235294,0.996078431372549,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[31.925,9.933],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 4","np":2,"cix":2,"bm":0,"ix":4,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[-0.003,-1.735],[1.735,-0.003],[0.004,1.735],[-1.735,0.004]],"o":[[0.004,1.734],[-1.735,0.004],[-0.003,-1.735],[1.734,-0.003]],"v":[[3.141,-0.007],[0.007,3.14],[-3.142,0.006],[-0.007,-3.141]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.8588235294117647,0.9176470588235294,0.996078431372549,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[18.629,9.961],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 5","np":2,"cix":2,"bm":0,"ix":5,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[3.475,-0.007],[0,0],[0.007,3.475],[0,0],[-3.475,0.006],[0,0],[-0.008,-3.475],[0,0]],"o":[[0,0],[-3.474,0.007],[0,0],[-0.007,-3.474],[0,0],[3.476,-0.008],[0,0],[0.007,3.475]],"v":[[18.349,24.552],[-18.248,24.629],[-24.552,18.35],[-24.628,-18.247],[-18.349,-24.551],[18.247,-24.628],[24.553,-18.349],[24.628,18.247]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[1,1,1,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[33.477,54.832],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 6","np":2,"cix":2,"bm":0,"ix":6,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[1.896,-0.004],[0,0],[0.004,1.897],[0,0],[-1.896,0.004],[0,0],[-0.004,-1.897],[0,0]],"o":[[0,0],[-1.896,0.004],[0,0],[-0.004,-1.896],[0,0],[1.896,-0.004],[0,0],[0.004,1.896]],"v":[[21.5,3.603],[-21.485,3.691],[-24.926,0.264],[-24.927,-0.161],[-21.5,-3.602],[21.485,-3.691],[24.926,-0.264],[24.927,0.162]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[1,1,1,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[35.495,242.198],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 7","np":2,"cix":2,"bm":0,"ix":7,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[-5.384,0.011],[0,0],[0,0],[0,0],[0,0]],"o":[[0,0],[0,0],[0,0],[0,0],[0.011,5.378]],"v":[[-22.762,122.702],[33.017,122.587],[32.51,-122.712],[-33.016,-122.577],[-32.531,112.984]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.8588235294117647,0.9176470588235294,0.996078431372549,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[33.386,141.849],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 8","np":2,"cix":2,"bm":0,"ix":8,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[5.385,-0.011],[0,0],[-0.011,-5.384],[0,0],[0,0],[0,0]],"o":[[0,0],[-5.384,0.011],[0,0],[0,0],[0,0],[-0.011,-5.384]],"v":[[184.557,-9.499],[-184.604,-8.737],[-194.333,1.032],[-194.316,9.51],[194.344,8.708],[194.327,0.23]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[0.1450980392156863,0.38823529411764707,0.9215686274509803,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[194.785,9.762],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 9","np":2,"cix":2,"bm":0,"ix":9,"mn":"ADBE Vector Group","hd":false},{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[4.946,-0.01],[0,0],[0.011,4.946],[0,0],[-4.946,0.01],[0,0],[-0.011,-4.947],[0,0]],"o":[[0,0],[-4.946,0.009],[0,0],[-0.01,-4.946],[0,0],[4.946,-0.01],[0,0],[0.009,4.947]],"v":[[185.646,131.38],[-185.102,132.146],[-194.077,123.208],[-194.583,-122.405],[-185.646,-131.38],[185.102,-132.145],[194.077,-123.207],[194.584,122.405]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"fl","c":{"a":0,"k":[1,1,1,1],"ix":4},"o":{"a":0,"k":100,"ix":5},"r":1,"bm":0,"nm":"Fill 1","mn":"ADBE Vector Graphic - Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[194.843,132.405],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 10","np":2,"cix":2,"bm":0,"ix":10,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":119,"st":0,"bm":0}],"markers":[]}'),BC={complete:{posts:0,media:0,users:0,comments:0,terms:0},updateDelta(e,t){this.complete[e]+=t;const r=this;requestAnimationFrame((function(){r.render()}))},updateProgress(e,t,r,n,i){"undefined"!==e&&"undefined"!=t+"/"+r&&((0===(r=parseInt(r))||isNaN(r))&&(r=1),parseInt(t)/r*100<=100&&"function"==typeof n&&(n({type:"set",importStatus:(0,wn.__)("Importing Content…","astra-sites")}),n({type:"set",importPercent:(i+=5)>=90?90:i})))},render(e,t){const r=Object.keys(this.complete);let n=0,i=0;for(let a=r.length-1;a>=0;a--){const s=r[a];this.updateProgress(s,this.complete[s],this.data.count[s],e,t),n+=this.complete[s],i+=this.data.count[s]}this.updateProgress("total",n,i,e,t)}},jC=BC,{reportError:zC}=starterTemplates;let HC=zC;const GC=({formDetails:e,updateFormDetails:t})=>{const[r,n]=(0,i.useState)({option1:e.wp_user_type?parseInt(e.wp_user_type):0,option2:e.build_website_for?parseInt(e.build_website_for):0});return(0,i.createElement)(i.Fragment,null,(0,i.createElement)("p",{className:"label-text row-label !mb-2"},(0,wn.__)("Tell us a little bit about yourself","astra-sites")),(0,i.createElement)("div",{className:"survey-fields-wrap"},(0,i.createElement)("input",{type:"text",className:"survey-text-input",name:"first_name",placeholder:(0,wn.__)("Your First Name","astra-sites"),value:e.first_name,onChange:e=>t("first_name",e.target.value)}),(0,i.createElement)("input",{type:"email",className:"survey-text-input",name:"email",placeholder:(0,wn.__)("Your Work Email","astra-sites"),value:e.email,onChange:e=>t("email",e.target.value)}),(0,i.createElement)("select",{name:"wp_user_type",className:0!==r.option1?"survey-select-input":"survey-select-input initial",value:e.wp_user_type,onChange:e=>{t("wp_user_type",e.target.value),n({...r,option1:parseInt(e.target.value)})}},(0,i.createElement)("option",{value:"",disabled:!0},(0,wn.__)("I am…","astra-sites")),(0,i.createElement)("option",{value:"1"},(0,wn.__)("Beginner","astra-sites")),(0,i.createElement)("option",{value:"2"},(0,wn.__)("Intermediate","astra-sites")),(0,i.createElement)("option",{value:"3"},(0,wn.__)("Expert","astra-sites"))),(0,i.createElement)("select",{name:"build_website_for",className:0!==r.option2?"survey-select-input":"survey-select-input initial",value:e.build_website_for,onChange:e=>{t("build_website_for",e.target.value),n({...r,option2:parseInt(e.target.value)})}},(0,i.createElement)("option",{value:"",disabled:!0},(0,wn.__)("I am building website for…","astra-sites")),(0,i.createElement)("option",{value:"1"},(0,wn.__)("Myself/My Company","astra-sites")),(0,i.createElement)("option",{value:"2"},(0,wn.__)("My Client","astra-sites")))))};function WC({disabled:e=!1}={}){let t=(0,i.useRef)(null),[r,n]=(0,i.useState)(!1),a=Kw(),s=Gw((()=>{t.current=null,n(!1),a.dispose()})),o=Gw((e=>{if(a.dispose(),null===t.current){t.current=e.currentTarget,n(!0);{let r=TE(e.currentTarget);a.addEventListener(r,"pointerup",s,!1),a.addEventListener(r,"pointermove",(e=>{if(t.current){let r=function(e){let t=e.width/2,r=e.height/2;return{top:e.clientY-r,right:e.clientX+t,bottom:e.clientY+r,left:e.clientX-t}}(e);n(function(e,t){return!(!e||!t||e.right<t.left||e.left>t.right||e.bottom<t.top||e.top>t.bottom)}(r,t.current.getBoundingClientRect()))}}),!1),a.addEventListener(r,"pointercancel",s,!1)}}}));return{pressed:r,pressProps:e?{}:{onPointerDown:o,onPointerUp:s,onClick:s}}}function qC(e,t){return(0,i.useMemo)((()=>{var r;if(e.type)return e.type;let n=null!=(r=e.as)?r:"button";return"string"==typeof n&&"button"===n.toLowerCase()||"BUTTON"===(null==t?void 0:t.tagName)&&!t.hasAttribute("type")?"button":void 0}),[e.type,e.as,t])}let UC=(0,i.createContext)(null);UC.displayName="GroupContext";let XC=i.Fragment,QC=hE((function(e,t){var r;let n=(0,i.useId)(),a=AE(),s=$w(),{id:o=a||`headlessui-switch-${n}`,disabled:l=s||!1,checked:c,defaultChecked:u,onChange:p,name:d,value:f,form:h,autoFocus:m=!1,...g}=e,y=(0,i.useContext)(UC),[v,b]=(0,i.useState)(null),x=Xw((0,i.useRef)(null),t,null===y?null:y.setSwitch,b),w=qw(u),[E,k]=Ww(c,p,null!=w&&w),S=Kw(),[C,A]=(0,i.useState)(!1),P=Gw((()=>{A(!0),null==k||k(!E),S.nextFrame((()=>{A(!1)}))})),_=Gw((e=>{if(_E(e.currentTarget))return e.preventDefault();e.preventDefault(),P()})),T=Gw((e=>{e.key===ZE.Space?(e.preventDefault(),P()):e.key===ZE.Enter&&nE(e.currentTarget)})),I=Gw((e=>e.preventDefault())),F=tk(),M=QE(),{isFocusVisible:D,focusProps:R}=Tw({autoFocus:m}),{isHovered:L,hoverProps:O}=Lw({isDisabled:l}),{pressed:V,pressProps:N}=WC({disabled:l}),B=(0,i.useMemo)((()=>({checked:E,disabled:l,hover:L,focus:D,active:V,autofocus:m,changing:C})),[E,L,D,V,l,C,m]),j=fE({id:o,ref:x,role:"switch",type:qC(e,v),tabIndex:-1===e.tabIndex?0:null!=(r=e.tabIndex)?r:0,"aria-checked":E,"aria-labelledby":F,"aria-describedby":M,disabled:l||void 0,autoFocus:m,onClick:_,onKeyUp:T,onKeyPress:I},R,O,N),z=(0,i.useCallback)((()=>{if(void 0!==w)return null==k?void 0:k(w)}),[k,w]),H=cE();return i.createElement(i.Fragment,null,null!=d&&i.createElement(kE,{disabled:l,data:{[d]:f||"on"},overrides:{type:"checkbox",checked:E},form:h,onReset:z}),H({ourProps:j,theirProps:g,slot:B,defaultTag:"button",name:"Switch"}))})),$C=ik,JC=YE,YC=Object.assign(QC,{Group:function(e){var t;let[r,n]=(0,i.useState)(null),[a,s]=rk(),[o,l]=$E(),c=(0,i.useMemo)((()=>({switch:r,setSwitch:n})),[r,n]),u=e,p=cE();return i.createElement(l,{name:"Switch.Description",value:o},i.createElement(s,{name:"Switch.Label",value:a,props:{htmlFor:null==(t=c.switch)?void 0:t.id,onClick(e){r&&(e.currentTarget instanceof HTMLLabelElement&&e.preventDefault(),r.click(),r.focus({preventScroll:!0}))}}},i.createElement(UC.Provider,{value:c},p({ourProps:{},theirProps:u,slot:{},defaultTag:XC,name:"Switch.Group"}))))},Label:$C,Description:JC});const ZC=(0,nc.memo)((({onChange:e,value:t,variant:r="light"})=>{const n={dark:{wrapper:["w-10",t?"bg-accent-st-secondary":"bg-zip-dark-theme-border"],background:[t?"bg-accent-st-secondary":"bg-zip-dark-theme-border"],switch:["size-5",t?"translate-x-5":"translate-x-0"]},light:{wrapper:["w-9",t?"bg-accent-st-secondary":"bg-border-tertiary"],background:[t?"bg-accent-st-secondary":"bg-border-tertiary"],switch:["size-4",t?"translate-x-[1.15rem]":"translate-x-[0.15rem]"]}};return(0,i.createElement)(YC,{checked:t,onChange:e,className:ho("group relative inline-flex h-5 w-10 flex-shrink-0 cursor-pointer items-center justify-center rounded-full focus:outline-none border-0 bg-transparent",n[r].wrapper)},(0,i.createElement)("span",{className:"sr-only"},(0,wn.__)("Use setting","astra-sites")),(0,i.createElement)("span",{"aria-hidden":"true",className:"pointer-events-none absolute h-full w-full rounded-md bg-transparent"}),(0,i.createElement)("span",{"aria-hidden":"true",className:ho("pointer-events-none absolute mx-auto h-4 w-9 rounded-full transition-colors duration-150 ease-out",n[r].background)}),(0,i.createElement)("span",{"aria-hidden":"true",className:ho("pointer-events-none absolute size-5 left-0 inline-block transform rounded-full bg-white shadow transition-transform duration-150 ease-out",n[r].switch)}))})),KC=r.p+"images/files-folder.7371f67a.png";let eA=hE((function(e,t){let r=`headlessui-control-${(0,i.useId)()}`,[n,a]=rk(),[s,o]=$E(),l=$w(),{disabled:c=l||!1,...u}=e,p=(0,i.useMemo)((()=>({disabled:c})),[c]),d={ref:t,disabled:c||void 0,"aria-disabled":c||void 0},f=cE();return i.createElement(Jw,{value:c},i.createElement(a,{value:n},i.createElement(o,{value:s},i.createElement(PE,{id:r},f({ourProps:d,theirProps:{...u,children:i.createElement(wE,null,"function"==typeof u.children?u.children(p):u.children)},slot:p,defaultTag:"div",name:"Field"})))))})),tA=hE((function(e,t){let r=(0,i.useId)(),n=AE(),a=$w(),{id:s=n||`headlessui-checkbox-${r}`,disabled:o=a||!1,autoFocus:l=!1,checked:c,defaultChecked:u,onChange:p,name:d,value:f,form:h,indeterminate:m=!1,...g}=e,y=qw(u),[v,b]=Ww(c,p,null!=y&&y),x=tk(),w=QE(),E=Kw(),[k,S]=(0,i.useState)(!1),C=Gw((()=>{S(!0),null==b||b(!v),E.nextFrame((()=>{S(!1)}))})),A=Gw((e=>{if(_E(e.currentTarget))return e.preventDefault();e.preventDefault(),C()})),P=Gw((e=>{e.key===ZE.Space?(e.preventDefault(),C()):e.key===ZE.Enter&&nE(e.currentTarget)})),_=Gw((e=>e.preventDefault())),{isFocusVisible:T,focusProps:I}=Tw({autoFocus:l}),{isHovered:F,hoverProps:M}=Lw({isDisabled:o}),{pressed:D,pressProps:R}=WC({disabled:o}),L=fE({ref:t,id:s,role:"checkbox","aria-checked":m?"mixed":v?"true":"false","aria-labelledby":x,"aria-describedby":w,"aria-disabled":!!o||void 0,indeterminate:m?"true":void 0,tabIndex:o?void 0:0,onKeyUp:o?void 0:P,onKeyPress:o?void 0:_,onClick:o?void 0:A},I,M,R),O=(0,i.useMemo)((()=>({checked:v,disabled:o,hover:F,focus:T,active:D,indeterminate:m,changing:k,autofocus:l})),[v,m,o,F,T,D,k,l]),V=(0,i.useCallback)((()=>{if(void 0!==y)return null==b?void 0:b(y)}),[b,y]),N=cE();return i.createElement(i.Fragment,null,null!=d&&i.createElement(kE,{disabled:o,data:{[d]:f||"on"},overrides:{type:"checkbox",checked:v},form:h,onReset:V}),N({ourProps:L,theirProps:g,slot:O,defaultTag:"span",name:"Checkbox"}))}));const{themeStatus:rA,firstImportStatus:nA,analytics:iA}=starterTemplates,aA=()=>{const[{reset:e,themeActivateFlag:t,analyticsFlag:r,allowResetSite:n},a]=fs(),s=!lo()&&"yes"!==iA||"installed-and-active"!==rA;return(0,i.createElement)("div",{className:"survey-form-advanced-wrapper show-section"},(0,i.createElement)("p",{className:"label-text row-label !mb-2",role:"presentation"},(0,wn.__)("Advanced Options","astra-sites")),s&&(0,i.createElement)("div",{className:"survey-advanced-section mb-6"},(0,i.createElement)("div",{className:"border border-solid border-border-primary rounded-md grid grid-cols-1 !divide-y !divide-border-primary divide-solid divide-x-0"},"installed-and-active"!==rA&&(0,i.createElement)("div",{className:"items-center py-3 px-4 grid grid-cols-[1fr_min-content] !gap-2"},(0,i.createElement)("div",{className:"flex-1 flex items-center space-x-2"},(0,i.createElement)("h6",{className:"text-sm !leading-6 text-zip-app-heading"}," ",(0,wn.__)("Install & Activate Astra Theme","astra-sites")),(0,i.createElement)(Vx,{content:(0,wn.__)("To import the site in the original format, you would need the Astra theme activated. You can import it with any other theme, but the site might lose some of the design settings and look a bit different.","astra-sites")},ms.questionMarkNoFill)),(0,i.createElement)("div",null,(0,i.createElement)(ZC,{onChange:()=>{a({type:"set",themeActivateFlag:!t,customizerImportFlag:!t})},value:t,requiredClass:t?"bg-accent-st-secondary":"bg-border-tertiary"}))),!lo()&&"yes"!==iA&&(0,i.createElement)("div",{className:"items-center py-3 px-4 grid grid-cols-[1fr_min-content] gap-4"},(0,i.createElement)("div",{className:"flex-1 flex items-center space-x-2"},(0,i.createElement)("h6",{className:"text-sm !leading-6 text-zip-app-heading"}," ",(0,wn.__)("Share Non-Sensitive Data","astra-sites")),(0,i.createElement)(Vx,{interactive:!0,content:(0,i.createElement)("div",null,(0,wn.__)("Help our developers build better templates and products for you by sharing anonymous and non-sensitive data about your website.","astra-sites")," ",(0,i.createElement)("a",{href:"https://store.brainstormforce.com/usage-tracking/?utm_source=wp_dashboard&utm_medium=general_settings&utm_campaign=usage_tracking",target:"_blank",rel:"noreferrer noopener"},(0,wn.__)("Learn More","astra-sites")))},ms.questionMarkNoFill)),(0,i.createElement)("div",null,(0,i.createElement)(ZC,{onChange:()=>{a({type:"set",analyticsFlag:!r})},value:r,requiredClass:r?"bg-accent-st-secondary":"bg-border-tertiary"}))))),"yes"===nA?(0,i.createElement)("div",{className:"flex items-center rounded-md p-4 border-solid border gap-6 border-[#FB7E0A1F] bg-[#FB7E0A0F] max-sm:flex-col"},(0,i.createElement)("div",{className:"mb-1"},(0,i.createElement)("p",{className:"text-sm text-body-text !leading-6 max-sm:text-center"},(0,wn.__)("It looks like you already have a website created with Starter Templates. Check this box to keep your existing content and images.","astra-sites")),(0,i.createElement)(eA,{className:"flex mt-2 gap-2"},(0,i.createElement)(tA,{className:"group flex justify-center items-center border-2 size-4 border-solid border-border-secondary rounded data-[checked]:bg-accent-st-secondary data-[checked]:border-accent-st-secondary",checked:!e,onChange:()=>{a({type:"set",reset:!e})}},(0,i.createElement)("svg",{width:"10",height:"8",viewBox:"0 0 10 8",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"opacity-0 group-data-[checked]:opacity-100"},(0,i.createElement)("path",{d:"M9 1L3.5 6.5L1 4",stroke:"white",strokeWidth:"1.4",strokeLinecap:"round",strokeLinejoin:"round"}))),(0,i.createElement)(ik,{className:"text-sm leading-4 text-nav-active font-medium cursor-pointer"},(0,wn.__)("Keep existing data!","astra-sites")))),(0,i.createElement)("div",{className:"max-w-[104px] w-full"},(0,i.createElement)("img",{className:"w-full",src:KC,alt:""}))):(0,i.createElement)("div",{className:"flex items-center rounded-md p-4 border-solid border gap-6 border-[#FB7E0A1F] bg-[#FB7E0A0F] max-sm:flex-col"},(0,i.createElement)("div",{className:"mb-1"},(0,i.createElement)("p",{className:"text-sm text-body-text !leading-6 max-sm:text-center"},(0,wn.__)("This will overwrite your site settings and add new content. You might want to backup your site before proceeding.","astra-sites")),(0,i.createElement)(eA,{className:"flex mt-2 gap-2"},(0,i.createElement)(tA,{className:"group flex justify-center items-center border-2 size-4 border-solid border-border-secondary rounded data-[checked]:bg-accent-st-secondary data-[checked]:border-accent-st-secondary",checked:n,onChange:()=>{a({type:"set",allowResetSite:!n})}},(0,i.createElement)("svg",{width:"10",height:"8",viewBox:"0 0 10 8",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"opacity-0 group-data-[checked]:opacity-100"},(0,i.createElement)("path",{d:"M9 1L3.5 6.5L1 4",stroke:"white",strokeWidth:"1.4",strokeLinecap:"round",strokeLinejoin:"round"}))),(0,i.createElement)(ik,{className:"text-sm leading-4 text-nav-active font-medium cursor-pointer"},(0,wn.__)("I understand, let's go!","astra-sites")))),(0,i.createElement)("div",{className:"max-w-[104px] w-full"},(0,i.createElement)("img",{className:"w-full",src:KC,alt:""}))))},sA=i.forwardRef((function({title:e,titleId:t,...r},n){return i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?i.createElement("title",{id:t},e):null,i.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M10.5 19.5 3 12m0 0 7.5-7.5M3 12h18"}))})),{phpVersion:oA,analytics:lA,firstImportStatus:cA}=starterTemplates,uA=i.forwardRef((function({title:e,titleId:t,...r},n){return i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?i.createElement("title",{id:t},e):null,i.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 6.878V6a2.25 2.25 0 0 1 2.25-2.25h7.5A2.25 2.25 0 0 1 18 6v.878m-12 0c.235-.083.487-.128.75-.128h10.5c.263 0 .515.045.75.128m-12 0A2.25 2.25 0 0 0 4.5 9v.878m13.5-3A2.25 2.25 0 0 1 19.5 9v.878m0 0a2.246 2.246 0 0 0-.75-.128H5.25c-.263 0-.515.045-.75.128m15 0A2.25 2.25 0 0 1 21 12v6a2.25 2.25 0 0 1-2.25 2.25H5.25A2.25 2.25 0 0 1 3 18v-6c0-.98.626-1.813 1.5-2.122"}))})),pA=i.forwardRef((function({title:e,titleId:t,...r},n){return i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?i.createElement("title",{id:t},e):null,i.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15.75 9V5.25A2.25 2.25 0 0 0 13.5 3h-6a2.25 2.25 0 0 0-2.25 2.25v13.5A2.25 2.25 0 0 0 7.5 21h6a2.25 2.25 0 0 0 2.25-2.25V15m3 0 3-3m0 0-3-3m3 3H9"}))}));var dA,fA,hA=r(5848);function mA(){let e=(0,i.useRef)(!1);return zw((()=>(e.current=!0,()=>{e.current=!1})),[]),e}function gA(){let e=function(){let e="undefined"==typeof document;return"useSyncExternalStore"in a&&(e=>e.useSyncExternalStore)(a)((()=>()=>{}),(()=>!1),(()=>!e))}(),[t,r]=i.useState(jw.isHandoffComplete);return t&&!1===jw.isHandoffComplete&&r(!1),i.useEffect((()=>{!0!==t&&r(!0)}),[t]),i.useEffect((()=>jw.handoff()),[]),!e&&t}"undefined"!=typeof process&&"undefined"!=typeof globalThis&&"undefined"!=typeof Element&&"test"===(null==(dA=null==process?void 0:process.env)?void 0:dA.NODE_ENV)&&void 0===(null==(fA=null==Element?void 0:Element.prototype)?void 0:fA.getAnimations)&&(Element.prototype.getAnimations=function(){return console.warn(["Headless UI has polyfilled `Element.prototype.getAnimations` for your tests.","Please install a proper polyfill e.g. `jsdom-testing-mocks`, to silence these warnings.","","Example usage:","```js","import { mockAnimationsApi } from 'jsdom-testing-mocks'","mockAnimationsApi()","```"].join("\n")),[]});var yA=(e=>(e[e.None=0]="None",e[e.Closed=1]="Closed",e[e.Enter=2]="Enter",e[e.Leave=4]="Leave",e))(yA||{});function vA(e){let t={};for(let r in e)!0===e[r]&&(t[`data-${r}`]="");return t}function bA(e,t,r,n){let[a,s]=(0,i.useState)(r),{hasFlag:o,addFlag:l,removeFlag:c}=function(e=0){let[t,r]=(0,i.useState)(e),n=(0,i.useCallback)((e=>r(e)),[t]),a=(0,i.useCallback)((e=>r((t=>t|e))),[t]),s=(0,i.useCallback)((e=>(t&e)===e),[t]),o=(0,i.useCallback)((e=>r((t=>t&~e))),[r]),l=(0,i.useCallback)((e=>r((t=>t^e))),[r]);return{flags:t,setFlag:n,addFlag:a,hasFlag:s,removeFlag:o,toggleFlag:l}}(e&&a?3:0),u=(0,i.useRef)(!1),p=(0,i.useRef)(!1),d=Kw();return zw((()=>{var i;if(e)return r&&s(!0),t?(null==(i=null==n?void 0:n.start)||i.call(n,r),function(e,{prepare:t,run:r,done:n,inFlight:i}){let a=Zw();return function(e,{inFlight:t,prepare:r}){if(null!=t&&t.current)return void r();let n=e.style.transition;e.style.transition="none",r(),e.offsetHeight,e.style.transition=n}(e,{prepare:t,inFlight:i}),a.nextFrame((()=>{r(),a.requestAnimationFrame((()=>{a.add(function(e,t){var r,n;let i=Zw();if(!e)return i.dispose;let a=!1;i.add((()=>{a=!0}));let s=null!=(n=null==(r=e.getAnimations)?void 0:r.call(e).filter((e=>e instanceof CSSTransition)))?n:[];return 0===s.length?(t(),i.dispose):(Promise.allSettled(s.map((e=>e.finished))).then((()=>{a||t()})),i.dispose)}(e,n))}))})),a.dispose}(t,{inFlight:u,prepare(){p.current?p.current=!1:p.current=u.current,u.current=!0,!p.current&&(r?(l(3),c(4)):(l(4),c(2)))},run(){p.current?r?(c(3),l(4)):(c(4),l(3)):r?c(1):l(1)},done(){var e;p.current&&"function"==typeof t.getAnimations&&t.getAnimations().length>0||(u.current=!1,c(7),r||s(!1),null==(e=null==n?void 0:n.end)||e.call(n,r))}})):void(r&&l(3))}),[e,r,t,d]),e?[a,{closed:o(1),enter:o(2),leave:o(4),transition:o(2)||o(4)}]:[r,{closed:void 0,enter:void 0,leave:void 0,transition:void 0}]}let xA=(0,i.createContext)(null);xA.displayName="OpenClosedContext";var wA=(e=>(e[e.Open=1]="Open",e[e.Closed=2]="Closed",e[e.Closing=4]="Closing",e[e.Opening=8]="Opening",e))(wA||{});function EA(){return(0,i.useContext)(xA)}function kA({value:e,children:t}){return i.createElement(xA.Provider,{value:e},t)}function SA({children:e}){return i.createElement(xA.Provider,{value:null},e)}function CA(e){var t;return!!(e.enter||e.enterFrom||e.enterTo||e.leave||e.leaveFrom||e.leaveTo)||(null!=(t=e.as)?t:FA)!==i.Fragment||1===i.Children.count(e.children)}let AA=(0,i.createContext)(null);AA.displayName="TransitionContext";var PA=(e=>(e.Visible="visible",e.Hidden="hidden",e))(PA||{});let _A=(0,i.createContext)(null);function TA(e){return"children"in e?TA(e.children):e.current.filter((({el:e})=>null!==e.current)).filter((({state:e})=>"visible"===e)).length>0}function IA(e,t){let r=Hw(e),n=(0,i.useRef)([]),a=mA(),s=Kw(),o=Gw(((e,t=lE.Hidden)=>{let i=n.current.findIndex((({el:t})=>t===e));-1!==i&&(aE(t,{[lE.Unmount](){n.current.splice(i,1)},[lE.Hidden](){n.current[i].state="hidden"}}),s.microTask((()=>{var e;!TA(n)&&a.current&&(null==(e=r.current)||e.call(r))})))})),l=Gw((e=>{let t=n.current.find((({el:t})=>t===e));return t?"visible"!==t.state&&(t.state="visible"):n.current.push({el:e,state:"visible"}),()=>o(e,lE.Unmount)})),c=(0,i.useRef)([]),u=(0,i.useRef)(Promise.resolve()),p=(0,i.useRef)({enter:[],leave:[]}),d=Gw(((e,r,n)=>{c.current.splice(0),t&&(t.chains.current[r]=t.chains.current[r].filter((([t])=>t!==e))),null==t||t.chains.current[r].push([e,new Promise((e=>{c.current.push(e)}))]),null==t||t.chains.current[r].push([e,new Promise((e=>{Promise.all(p.current[r].map((([e,t])=>t))).then((()=>e()))}))]),"enter"===r?u.current=u.current.then((()=>null==t?void 0:t.wait.current)).then((()=>n(r))):n(r)})),f=Gw(((e,t,r)=>{Promise.all(p.current[t].splice(0).map((([e,t])=>t))).then((()=>{var e;null==(e=c.current.shift())||e()})).then((()=>r(t)))}));return(0,i.useMemo)((()=>({children:n,register:l,unregister:o,onStart:d,onStop:f,wait:u,chains:p})),[l,o,n,d,f,p,u])}_A.displayName="NestingContext";let FA=i.Fragment,MA=oE.RenderStrategy,DA=hE((function(e,t){let{show:r,appear:n=!1,unmount:a=!0,...s}=e,o=(0,i.useRef)(null),l=Xw(...CA(e)?[o,t]:null===t?[]:[t]);gA();let c=EA();if(void 0===r&&null!==c&&(r=(c&wA.Open)===wA.Open),void 0===r)throw new Error("A <Transition /> is used but it is missing a `show={true | false}` prop.");let[u,p]=(0,i.useState)(r?"visible":"hidden"),d=IA((()=>{r||p("hidden")})),[f,h]=(0,i.useState)(!0),m=(0,i.useRef)([r]);zw((()=>{!1!==f&&m.current[m.current.length-1]!==r&&(m.current.push(r),h(!1))}),[m,r]);let g=(0,i.useMemo)((()=>({show:r,appear:n,initial:f})),[r,n,f]);zw((()=>{r?p("visible"):!TA(d)&&null!==o.current&&p("hidden")}),[r,d]);let y={unmount:a},v=Gw((()=>{var t;f&&h(!1),null==(t=e.beforeEnter)||t.call(e)})),b=Gw((()=>{var t;f&&h(!1),null==(t=e.beforeLeave)||t.call(e)})),x=cE();return i.createElement(_A.Provider,{value:d},i.createElement(AA.Provider,{value:g},x({ourProps:{...y,as:i.Fragment,children:i.createElement(RA,{ref:l,...y,...s,beforeEnter:v,beforeLeave:b})},theirProps:{},defaultTag:i.Fragment,features:MA,visible:"visible"===u,name:"Transition"})))})),RA=hE((function(e,t){var r,n;let{transition:a=!0,beforeEnter:s,afterEnter:o,beforeLeave:l,afterLeave:c,enter:u,enterFrom:p,enterTo:d,entered:f,leave:h,leaveFrom:m,leaveTo:g,...y}=e,[v,b]=(0,i.useState)(null),x=(0,i.useRef)(null),w=CA(e),E=Xw(...w?[x,t,b]:null===t?[]:[t]),k=null==(r=y.unmount)||r?lE.Unmount:lE.Hidden,{show:S,appear:C,initial:A}=function(){let e=(0,i.useContext)(AA);if(null===e)throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}(),[P,_]=(0,i.useState)(S?"visible":"hidden"),T=function(){let e=(0,i.useContext)(_A);if(null===e)throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}(),{register:I,unregister:F}=T;zw((()=>I(x)),[I,x]),zw((()=>{if(k===lE.Hidden&&x.current)return S&&"visible"!==P?void _("visible"):aE(P,{hidden:()=>F(x),visible:()=>I(x)})}),[P,x,I,F,S,k]);let M=gA();zw((()=>{if(w&&M&&"visible"===P&&null===x.current)throw new Error("Did you forget to passthrough the `ref` to the actual DOM node?")}),[x,P,M,w]);let D=A&&!C,R=C&&S&&A,L=(0,i.useRef)(!1),O=IA((()=>{L.current||(_("hidden"),F(x))}),T),V=Gw((e=>{L.current=!0;let t=e?"enter":"leave";O.onStart(x,t,(e=>{"enter"===e?null==s||s():"leave"===e&&(null==l||l())}))})),N=Gw((e=>{let t=e?"enter":"leave";L.current=!1,O.onStop(x,t,(e=>{"enter"===e?null==o||o():"leave"===e&&(null==c||c())})),"leave"===t&&!TA(O)&&(_("hidden"),F(x))}));(0,i.useEffect)((()=>{w&&a||(V(S),N(S))}),[S,w,a]);let B=!(!a||!w||!M||D),[,j]=bA(B,v,S,{start:V,end:N}),z=mE({ref:E,className:(null==(n=iE(y.className,R&&u,R&&p,j.enter&&u,j.enter&&j.closed&&p,j.enter&&!j.closed&&d,j.leave&&h,j.leave&&!j.closed&&m,j.leave&&j.closed&&g,!j.transition&&S&&f))?void 0:n.trim())||void 0,...vA(j)}),H=0;"visible"===P&&(H|=wA.Open),"hidden"===P&&(H|=wA.Closed),j.enter&&(H|=wA.Opening),j.leave&&(H|=wA.Closing);let G=cE();return i.createElement(_A.Provider,{value:O},i.createElement(kA,{value:H},G({ourProps:z,theirProps:y,defaultTag:FA,features:MA,visible:"visible"===P,name:"Transition.Child"})))})),LA=hE((function(e,t){let r=null!==(0,i.useContext)(AA),n=null!==EA();return i.createElement(i.Fragment,null,!r&&n?i.createElement(DA,{ref:t,...e}):i.createElement(RA,{ref:t,...e}))})),OA=Object.assign(DA,{Child:LA,Root:DA});function VA(e,t,r,n){let a=Hw(r);(0,i.useEffect)((()=>{function r(e){a.current(e)}return(e=null!=e?e:window).addEventListener(t,r,n),()=>e.removeEventListener(t,r,n)}),[e,t,n])}class NA extends Map{constructor(e){super(),this.factory=e}get(e){let t=super.get(e);return void 0===t&&(t=this.factory(e),this.set(e,t)),t}}function BA(e,t){let r=e(),n=new Set;return{getSnapshot:()=>r,subscribe:e=>(n.add(e),()=>n.delete(e)),dispatch(e,...i){let a=t[e].call(r,...i);a&&(r=a,n.forEach((e=>e())))}}}function jA(e){return(0,i.useSyncExternalStore)(e.subscribe,e.getSnapshot,e.getSnapshot)}let zA=new NA((()=>BA((()=>[]),{ADD(e){return this.includes(e)?this:[...this,e]},REMOVE(e){let t=this.indexOf(e);if(-1===t)return this;let r=this.slice();return r.splice(t,1),r}})));function HA(e,t){let r=zA.get(t),n=(0,i.useId)(),a=jA(r);if(zw((()=>{if(e)return r.dispatch("ADD",n),()=>r.dispatch("REMOVE",n)}),[r,e]),!e)return!1;let s=a.indexOf(n),o=a.length;return-1===s&&(s=o,o+=1),s===o-1}let GA=new Map,WA=new Map;function qA(e){var t;let r=null!=(t=WA.get(e))?t:0;return WA.set(e,r+1),0!==r||(GA.set(e,{"aria-hidden":e.getAttribute("aria-hidden"),inert:e.inert}),e.setAttribute("aria-hidden","true"),e.inert=!0),()=>function(e){var t;let r=null!=(t=WA.get(e))?t:1;if(1===r?WA.delete(e):WA.set(e,r-1),1!==r)return;let n=GA.get(e);n&&(null===n["aria-hidden"]?e.removeAttribute("aria-hidden"):e.setAttribute("aria-hidden",n["aria-hidden"]),e.inert=n.inert,GA.delete(e))}(e)}function UA(e,{allowed:t,disallowed:r}={}){let n=HA(e,"inert-others");zw((()=>{var e,i;if(!n)return;let a=Zw();for(let t of null!=(e=null==r?void 0:r())?e:[])t&&a.add(qA(t));let s=null!=(i=null==t?void 0:t())?i:[];for(let e of s){if(!e)continue;let t=TE(e);if(!t)continue;let r=e.parentElement;for(;r&&r!==t.body;){for(let e of r.children)s.some((t=>e.contains(t)))||a.add(qA(e));r=r.parentElement}}return a.dispose}),[n,t,r])}function XA(e,t,r){let n=Hw((e=>{let t=e.getBoundingClientRect();0===t.x&&0===t.y&&0===t.width&&0===t.height&&r()}));(0,i.useEffect)((()=>{if(!e)return;let r=null===t?null:t instanceof HTMLElement?t:t.current;if(!r)return;let i=Zw();if("undefined"!=typeof ResizeObserver){let e=new ResizeObserver((()=>n.current(r)));e.observe(r),i.add((()=>e.disconnect()))}if("undefined"!=typeof IntersectionObserver){let e=new IntersectionObserver((()=>n.current(r)));e.observe(r),i.add((()=>e.disconnect()))}return()=>i.dispose()}),[t,n,e])}function QA(){return/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0}function $A(e,t,r,n){let a=Hw(r);(0,i.useEffect)((()=>{if(e)return document.addEventListener(t,r,n),()=>document.removeEventListener(t,r,n);function r(e){a.current(e)}}),[e,t,n])}function JA(e,t,r,n){let a=Hw(r);(0,i.useEffect)((()=>{if(e)return window.addEventListener(t,r,n),()=>window.removeEventListener(t,r,n);function r(e){a.current(e)}}),[e,t,n])}function YA(e,t,r){let n=HA(e,"outside-click"),a=Hw(r),s=(0,i.useCallback)((function(e,r){if(e.defaultPrevented)return;let n=r(e);if(null===n||!n.getRootNode().contains(n)||!n.isConnected)return;let i=function e(t){return"function"==typeof t?e(t()):Array.isArray(t)||t instanceof Set?t:[t]}(t);for(let t of i)if(null!==t&&(t.contains(n)||e.composed&&e.composedPath().includes(t)))return;return!BE(n,NE.Loose)&&-1!==n.tabIndex&&e.preventDefault(),a.current(e,n)}),[a,t]),o=(0,i.useRef)(null);$A(n,"pointerdown",(e=>{var t,r;o.current=(null==(r=null==(t=e.composedPath)?void 0:t.call(e))?void 0:r[0])||e.target}),!0),$A(n,"mousedown",(e=>{var t,r;o.current=(null==(r=null==(t=e.composedPath)?void 0:t.call(e))?void 0:r[0])||e.target}),!0),$A(n,"click",(e=>{QA()||/Android/gi.test(window.navigator.userAgent)||o.current&&(s(e,(()=>o.current)),o.current=null)}),!0);let l=(0,i.useRef)({x:0,y:0});$A(n,"touchstart",(e=>{l.current.x=e.touches[0].clientX,l.current.y=e.touches[0].clientY}),!0),$A(n,"touchend",(e=>{let t=e.changedTouches[0].clientX,r=e.changedTouches[0].clientY;if(!(Math.abs(t-l.current.x)>=30||Math.abs(r-l.current.y)>=30))return s(e,(()=>e.target instanceof HTMLElement?e.target:null))}),!0),JA(n,"blur",(e=>s(e,(()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null))),!0)}function ZA(...e){return(0,i.useMemo)((()=>TE(...e)),[...e])}let KA=(0,i.createContext)(null);function eP({children:e,node:t}){let[r,n]=(0,i.useState)(null),a=tP(null!=t?t:r);return i.createElement(KA.Provider,{value:a},e,null===a&&i.createElement(bE,{features:vE.Hidden,ref:e=>{var t,r;if(e)for(let i of null!=(r=null==(t=TE(e))?void 0:t.querySelectorAll("html > *, body > *"))?r:[])if(i!==document.body&&i!==document.head&&i instanceof HTMLElement&&null!=i&&i.contains(e)){n(i);break}}}))}function tP(e=null){var t;return null!=(t=(0,i.useContext)(KA))?t:e}function rP(){let e;return{before({doc:t}){var r;let n=t.documentElement,i=null!=(r=t.defaultView)?r:window;e=Math.max(0,i.innerWidth-n.clientWidth)},after({doc:t,d:r}){let n=t.documentElement,i=Math.max(0,n.clientWidth-n.offsetWidth),a=Math.max(0,e-i);r.style(n,"paddingRight",`${a}px`)}}}function nP(e){let t={};for(let r of e)Object.assign(t,r(t));return t}let iP=BA((()=>new Map),{PUSH(e,t){var r;let n=null!=(r=this.get(e))?r:{doc:e,count:0,d:Zw(),meta:new Set};return n.count++,n.meta.add(t),this.set(e,n),this},POP(e,t){let r=this.get(e);return r&&(r.count--,r.meta.delete(t)),this},SCROLL_PREVENT({doc:e,d:t,meta:r}){let n={doc:e,d:t,meta:nP(r)},i=[QA()?{before({doc:e,d:t,meta:r}){function n(e){return r.containers.flatMap((e=>e())).some((t=>t.contains(e)))}t.microTask((()=>{var r;if("auto"!==window.getComputedStyle(e.documentElement).scrollBehavior){let r=Zw();r.style(e.documentElement,"scrollBehavior","auto"),t.add((()=>t.microTask((()=>r.dispose()))))}let i=null!=(r=window.scrollY)?r:window.pageYOffset,a=null;t.addEventListener(e,"click",(t=>{if(t.target instanceof HTMLElement)try{let r=t.target.closest("a");if(!r)return;let{hash:i}=new URL(r.href),s=e.querySelector(i);s&&!n(s)&&(a=s)}catch{}}),!0),t.addEventListener(e,"touchstart",(e=>{if(e.target instanceof HTMLElement)if(n(e.target)){let r=e.target;for(;r.parentElement&&n(r.parentElement);)r=r.parentElement;t.style(r,"overscrollBehavior","contain")}else t.style(e.target,"touchAction","none")})),t.addEventListener(e,"touchmove",(e=>{if(e.target instanceof HTMLElement){if("INPUT"===e.target.tagName)return;if(n(e.target)){let t=e.target;for(;t.parentElement&&""!==t.dataset.headlessuiPortal&&!(t.scrollHeight>t.clientHeight||t.scrollWidth>t.clientWidth);)t=t.parentElement;""===t.dataset.headlessuiPortal&&e.preventDefault()}else e.preventDefault()}}),{passive:!1}),t.add((()=>{var e;let t=null!=(e=window.scrollY)?e:window.pageYOffset;i!==t&&window.scrollTo(0,i),a&&a.isConnected&&(a.scrollIntoView({block:"nearest"}),a=null)}))}))}}:{},rP(),{before({doc:e,d:t}){t.style(e.documentElement,"overflow","hidden")}}];i.forEach((({before:e})=>null==e?void 0:e(n))),i.forEach((({after:e})=>null==e?void 0:e(n)))},SCROLL_ALLOW({d:e}){e.dispose()},TEARDOWN({doc:e}){this.delete(e)}});function aP(e,t,r=(()=>[document.body])){!function(e,t,r=(()=>({containers:[]}))){let n=jA(iP),i=t?n.get(t):void 0;!!i&&i.count;zw((()=>{if(t&&e)return iP.dispatch("PUSH",t,r),()=>iP.dispatch("POP",t,r)}),[e,t])}(HA(e,"scroll-lock"),t,(e=>{var t;return{containers:[...null!=(t=e.containers)?t:[],r]}}))}iP.subscribe((()=>{let e=iP.getSnapshot(),t=new Map;for(let[r]of e)t.set(r,r.documentElement.style.overflow);for(let r of e.values()){let e="hidden"===t.get(r.doc),n=0!==r.count;(n&&!e||!n&&e)&&iP.dispatch(r.count>0?"SCROLL_PREVENT":"SCROLL_ALLOW",r),0===r.count&&iP.dispatch("TEARDOWN",r)}}));let sP=(0,i.createContext)((()=>{}));function oP({value:e,children:t}){return i.createElement(sP.Provider,{value:e},t)}let lP=(0,i.createContext)(!1);function cP(e){return i.createElement(lP.Provider,{value:e.force},e.children)}function uP(e){let t=Gw(e),r=(0,i.useRef)(!1);(0,i.useEffect)((()=>(r.current=!1,()=>{r.current=!0,Yw((()=>{r.current&&t()}))})),[t])}var pP=(e=>(e[e.Forwards=0]="Forwards",e[e.Backwards=1]="Backwards",e))(pP||{});function dP(e,t){let r=(0,i.useRef)([]),n=Gw(e);(0,i.useEffect)((()=>{let e=[...r.current];for(let[i,a]of t.entries())if(r.current[i]!==a){let i=n(t,e);return r.current=t,i}}),[n,...t])}let fP=[];function hP(e){if(!e)return new Set;if("function"==typeof e)return new Set(e());let t=new Set;for(let r of e.current)r.current instanceof HTMLElement&&t.add(r.current);return t}!function(e){function t(){"loading"!==document.readyState&&((()=>{function e(e){if(!(e.target instanceof HTMLElement)||e.target===document.body||fP[0]===e.target)return;let t=e.target;t=t.closest(IE),fP.unshift(null!=t?t:e.target),fP=fP.filter((e=>null!=e&&e.isConnected)),fP.splice(10)}window.addEventListener("click",e,{capture:!0}),window.addEventListener("mousedown",e,{capture:!0}),window.addEventListener("focus",e,{capture:!0}),document.body.addEventListener("click",e,{capture:!0}),document.body.addEventListener("mousedown",e,{capture:!0}),document.body.addEventListener("focus",e,{capture:!0})})(),document.removeEventListener("DOMContentLoaded",t))}"undefined"!=typeof window&&"undefined"!=typeof document&&(document.addEventListener("DOMContentLoaded",t),t())}();var mP=(e=>(e[e.None=0]="None",e[e.InitialFocus=1]="InitialFocus",e[e.TabLock=2]="TabLock",e[e.FocusLock=4]="FocusLock",e[e.RestoreFocus=8]="RestoreFocus",e[e.AutoFocus=16]="AutoFocus",e))(mP||{});let gP=hE((function(e,t){let r=(0,i.useRef)(null),n=Xw(r,t),{initialFocus:a,initialFocusFallback:s,containers:o,features:l=15,...c}=e;gA()||(l=0);let u=ZA(r);!function(e,{ownerDocument:t}){let r=!!(8&e),n=function(e=!0){let t=(0,i.useRef)(fP.slice());return dP((([e],[r])=>{!0===r&&!1===e&&Yw((()=>{t.current.splice(0)})),!1===r&&!0===e&&(t.current=fP.slice())}),[e,fP,t]),Gw((()=>{var e;return null!=(e=t.current.find((e=>null!=e&&e.isConnected)))?e:null}))}(r);dP((()=>{r||(null==t?void 0:t.activeElement)===(null==t?void 0:t.body)&&HE(n())}),[r]),uP((()=>{r&&HE(n())}))}(l,{ownerDocument:u});let p=function(e,{ownerDocument:t,container:r,initialFocus:n,initialFocusFallback:a}){let s=(0,i.useRef)(null),o=HA(!!(1&e),"focus-trap#initial-focus"),l=mA();return dP((()=>{if(0===e)return;if(!o)return void(null!=a&&a.current&&HE(a.current));let i=r.current;i&&Yw((()=>{if(!l.current)return;let r=null==t?void 0:t.activeElement;if(null!=n&&n.current){if((null==n?void 0:n.current)===r)return void(s.current=r)}else if(i.contains(r))return void(s.current=r);if(null!=n&&n.current)HE(n.current);else{if(16&e){if(qE(i,RE.First|RE.AutoFocus)!==LE.Error)return}else if(qE(i,RE.First)!==LE.Error)return;if(null!=a&&a.current&&(HE(a.current),(null==t?void 0:t.activeElement)===a.current))return;console.warn("There are no focusable elements inside the <FocusTrap />")}s.current=null==t?void 0:t.activeElement}))}),[a,o,e]),s}(l,{ownerDocument:u,container:r,initialFocus:a,initialFocusFallback:s});!function(e,{ownerDocument:t,container:r,containers:n,previousActiveElement:i}){let a=mA(),s=!!(4&e);VA(null==t?void 0:t.defaultView,"focus",(e=>{if(!s||!a.current)return;let t=hP(n);r.current instanceof HTMLElement&&t.add(r.current);let o=i.current;if(!o)return;let l=e.target;l&&l instanceof HTMLElement?vP(t,l)?(i.current=l,HE(l)):(e.preventDefault(),e.stopPropagation(),HE(o)):HE(i.current)}),!0)}(l,{ownerDocument:u,container:r,containers:o,previousActiveElement:p});let d=function(){let e=(0,i.useRef)(0);return JA(!0,"keydown",(t=>{"Tab"===t.key&&(e.current=t.shiftKey?1:0)}),!0),e}(),f=Gw((e=>{let t=r.current;t&&aE(d.current,{[pP.Forwards]:()=>{qE(t,RE.First,{skipElements:[e.relatedTarget,s]})},[pP.Backwards]:()=>{qE(t,RE.Last,{skipElements:[e.relatedTarget,s]})}})})),h=HA(!!(2&l),"focus-trap#tab-lock"),m=Kw(),g=(0,i.useRef)(!1),y={ref:n,onKeyDown(e){"Tab"==e.key&&(g.current=!0,m.requestAnimationFrame((()=>{g.current=!1})))},onBlur(e){if(!(4&l))return;let t=hP(o);r.current instanceof HTMLElement&&t.add(r.current);let n=e.relatedTarget;n instanceof HTMLElement&&"true"!==n.dataset.headlessuiFocusGuard&&(vP(t,n)||(g.current?qE(r.current,aE(d.current,{[pP.Forwards]:()=>RE.Next,[pP.Backwards]:()=>RE.Previous})|RE.WrapAround,{relativeTo:e.target}):e.target instanceof HTMLElement&&HE(e.target)))}},v=cE();return i.createElement(i.Fragment,null,h&&i.createElement(bE,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:f,features:vE.Focusable}),v({ourProps:y,theirProps:c,defaultTag:"div",name:"FocusTrap"}),h&&i.createElement(bE,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:f,features:vE.Focusable}))})),yP=Object.assign(gP,{features:mP});function vP(e,t){for(let r of e)if(r.contains(t))return!0;return!1}let bP=i.Fragment,xP=hE((function(e,t){let r=e,n=(0,i.useRef)(null),a=Xw(function(e,t=!0){return Object.assign(e,{[Uw]:t})}((e=>{n.current=e})),t),s=ZA(n),l=function(e){let t=(0,i.useContext)(lP),r=(0,i.useContext)(EP),n=ZA(e),[a,s]=(0,i.useState)((()=>{var e;if(!t&&null!==r)return null!=(e=r.current)?e:null;if(jw.isServer)return null;let i=null==n?void 0:n.getElementById("headlessui-portal-root");if(i)return i;if(null===n)return null;let a=n.createElement("div");return a.setAttribute("id","headlessui-portal-root"),n.body.appendChild(a)}));return(0,i.useEffect)((()=>{null!==a&&(null!=n&&n.body.contains(a)||null==n||n.body.appendChild(a))}),[a,n]),(0,i.useEffect)((()=>{t||null!==r&&s(r.current)}),[r,s,t]),a}(n),[c]=(0,i.useState)((()=>{var e;return jw.isServer?null:null!=(e=null==s?void 0:s.createElement("div"))?e:null})),u=(0,i.useContext)(kP),p=gA();zw((()=>{!l||!c||l.contains(c)||(c.setAttribute("data-headlessui-portal",""),l.appendChild(c))}),[l,c]),zw((()=>{if(c&&u)return u.register(c)}),[u,c]),uP((()=>{var e;!l||!c||(c instanceof Node&&l.contains(c)&&l.removeChild(c),l.childNodes.length<=0&&(null==(e=l.parentElement)||e.removeChild(l)))}));let d=cE();return p&&l&&c?(0,o.createPortal)(d({ourProps:{ref:a},theirProps:r,slot:{},defaultTag:bP,name:"Portal"}),c):null})),wP=i.Fragment,EP=(0,i.createContext)(null),kP=(0,i.createContext)(null),SP=hE((function(e,t){let r=Xw(t),{enabled:n=!0,...a}=e,s=cE();return n?i.createElement(xP,{...a,ref:r}):s({ourProps:{ref:r},theirProps:a,slot:{},defaultTag:bP,name:"Portal"})})),CP=hE((function(e,t){let{target:r,...n}=e,a={ref:Xw(t)},s=cE();return i.createElement(EP.Provider,{value:r},s({ourProps:a,theirProps:n,defaultTag:wP,name:"Popover.Group"}))})),AP=Object.assign(SP,{Group:CP});var PP=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(PP||{}),_P=(e=>(e[e.SetTitleId=0]="SetTitleId",e))(_P||{});let TP={0:(e,t)=>e.titleId===t.id?e:{...e,titleId:t.id}},IP=(0,i.createContext)(null);function FP(e){let t=(0,i.useContext)(IP);if(null===t){let t=new Error(`<${e} /> is missing a parent <Dialog /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,FP),t}return t}function MP(e,t){return aE(t.type,TP,e,t)}IP.displayName="DialogContext";let DP=hE((function(e,t){let r=(0,i.useId)(),{id:n=`headlessui-dialog-${r}`,open:a,onClose:s,initialFocus:o,role:l="dialog",autoFocus:c=!0,__demoMode:u=!1,unmount:p=!1,...d}=e,f=(0,i.useRef)(!1);l="dialog"===l||"alertdialog"===l?l:(f.current||(f.current=!0,console.warn(`Invalid role [${l}] passed to <Dialog />. Only \`dialog\` and and \`alertdialog\` are supported. Using \`dialog\` instead.`)),"dialog");let h=EA();void 0===a&&null!==h&&(a=(h&wA.Open)===wA.Open);let m=(0,i.useRef)(null),g=Xw(m,t),y=ZA(m),v=a?0:1,[b,x]=(0,i.useReducer)(MP,{titleId:null,descriptionId:null,panelRef:(0,i.createRef)()}),w=Gw((()=>s(!1))),E=Gw((e=>x({type:0,id:e}))),k=!!gA()&&0===v,[S,C]=function(){let e=(0,i.useContext)(kP),t=(0,i.useRef)([]),r=Gw((r=>(t.current.push(r),e&&e.register(r),()=>n(r)))),n=Gw((r=>{let n=t.current.indexOf(r);-1!==n&&t.current.splice(n,1),e&&e.unregister(r)})),a=(0,i.useMemo)((()=>({register:r,unregister:n,portals:t})),[r,n,t]);return[t,(0,i.useMemo)((()=>function({children:e}){return i.createElement(kP.Provider,{value:a},e)}),[a])]}(),A={get current(){var e;return null!=(e=b.panelRef.current)?e:m.current}},P=tP(),{resolveContainers:_}=function({defaultContainers:e=[],portals:t,mainTreeNode:r}={}){let n=ZA(r),i=Gw((()=>{var i,a;let s=[];for(let t of e)null!==t&&(t instanceof HTMLElement?s.push(t):"current"in t&&t.current instanceof HTMLElement&&s.push(t.current));if(null!=t&&t.current)for(let e of t.current)s.push(e);for(let e of null!=(i=null==n?void 0:n.querySelectorAll("html > *, body > *"))?i:[])e!==document.body&&e!==document.head&&e instanceof HTMLElement&&"headlessui-portal-root"!==e.id&&(r&&(e.contains(r)||e.contains(null==(a=null==r?void 0:r.getRootNode())?void 0:a.host))||s.some((t=>e.contains(t)))||s.push(e));return s}));return{resolveContainers:i,contains:Gw((e=>i().some((t=>t.contains(e)))))}}({mainTreeNode:P,portals:S,defaultContainers:[A]}),T=null!==h&&(h&wA.Closing)===wA.Closing;UA(!u&&!T&&k,{allowed:Gw((()=>{var e,t;return[null!=(t=null==(e=m.current)?void 0:e.closest("[data-headlessui-portal]"))?t:null]})),disallowed:Gw((()=>{var e;return[null!=(e=null==P?void 0:P.closest("body > *:not(#headlessui-portal-root)"))?e:null]}))}),YA(k,_,(e=>{e.preventDefault(),w()})),function(e,t=("undefined"!=typeof document?document.defaultView:null),r){let n=HA(e,"escape");VA(t,"keydown",(e=>{n&&(e.defaultPrevented||e.key===ZE.Escape&&r(e))}))}(k,null==y?void 0:y.defaultView,(e=>{e.preventDefault(),e.stopPropagation(),document.activeElement&&"blur"in document.activeElement&&"function"==typeof document.activeElement.blur&&document.activeElement.blur(),w()})),aP(!u&&!T&&k,y,_),XA(k,m,w);let[I,F]=$E(),M=(0,i.useMemo)((()=>[{dialogState:v,close:w,setTitleId:E,unmount:p},b]),[v,b,w,E,p]),D=(0,i.useMemo)((()=>({open:0===v})),[v]),R={ref:g,id:n,role:l,tabIndex:-1,"aria-modal":u?void 0:0===v||void 0,"aria-labelledby":b.titleId,"aria-describedby":I,unmount:p},L=!function(){var e;let[t]=(0,i.useState)((()=>"undefined"!=typeof window&&"function"==typeof window.matchMedia?window.matchMedia("(pointer: coarse)"):null)),[r,n]=(0,i.useState)(null!=(e=null==t?void 0:t.matches)&&e);return zw((()=>{if(t)return t.addEventListener("change",e),()=>t.removeEventListener("change",e);function e(e){n(e.matches)}}),[t]),r}(),O=mP.None;k&&!u&&(O|=mP.RestoreFocus,O|=mP.TabLock,c&&(O|=mP.AutoFocus),L&&(O|=mP.InitialFocus));let V=cE();return i.createElement(SA,null,i.createElement(cP,{force:!0},i.createElement(AP,null,i.createElement(IP.Provider,{value:M},i.createElement(CP,{target:m},i.createElement(cP,{force:!1},i.createElement(F,{slot:D},i.createElement(C,null,i.createElement(yP,{initialFocus:o,initialFocusFallback:m,containers:_,features:O},i.createElement(oP,{value:w},V({ourProps:R,theirProps:d,slot:D,defaultTag:RP,features:LP,visible:0===v,name:"Dialog"})))))))))))})),RP="div",LP=oE.RenderStrategy|oE.Static,OP=hE((function(e,t){let{transition:r=!1,open:n,...a}=e,s=EA(),o=e.hasOwnProperty("open")||null!==s,l=e.hasOwnProperty("onClose");if(!o&&!l)throw new Error("You have to provide an `open` and an `onClose` prop to the `Dialog` component.");if(!o)throw new Error("You provided an `onClose` prop to the `Dialog`, but forgot an `open` prop.");if(!l)throw new Error("You provided an `open` prop to the `Dialog`, but forgot an `onClose` prop.");if(!s&&"boolean"!=typeof e.open)throw new Error(`You provided an \`open\` prop to the \`Dialog\`, but the value is not a boolean. Received: ${e.open}`);if("function"!=typeof e.onClose)throw new Error(`You provided an \`onClose\` prop to the \`Dialog\`, but the value is not a function. Received: ${e.onClose}`);return void 0===n&&!r||a.static?i.createElement(eP,null,i.createElement(DP,{ref:t,open:n,...a})):i.createElement(eP,null,i.createElement(OA,{show:n,transition:r,unmount:a.unmount},i.createElement(DP,{ref:t,...a})))})),VP=hE((function(e,t){let r=(0,i.useId)(),{id:n=`headlessui-dialog-panel-${r}`,transition:a=!1,...s}=e,[{dialogState:o,unmount:l},c]=FP("Dialog.Panel"),u=Xw(t,c.panelRef),p=(0,i.useMemo)((()=>({open:0===o})),[o]),d=Gw((e=>{e.stopPropagation()})),f={ref:u,id:n,onClick:d},h=a?LA:i.Fragment,m=a?{unmount:l}:{},g=cE();return i.createElement(h,{...m},g({ourProps:f,theirProps:s,slot:p,defaultTag:"div",name:"Dialog.Panel"}))})),NP=(hE((function(e,t){let{transition:r=!1,...n}=e,[{dialogState:a,unmount:s}]=FP("Dialog.Backdrop"),o=(0,i.useMemo)((()=>({open:0===a})),[a]),l={ref:t,"aria-hidden":!0},c=r?LA:i.Fragment,u=r?{unmount:s}:{},p=cE();return i.createElement(c,{...u},p({ourProps:l,theirProps:n,slot:o,defaultTag:"div",name:"Dialog.Backdrop"}))})),hE((function(e,t){let r=(0,i.useId)(),{id:n=`headlessui-dialog-title-${r}`,...a}=e,[{dialogState:s,setTitleId:o}]=FP("Dialog.Title"),l=Xw(t);(0,i.useEffect)((()=>(o(n),()=>o(null))),[n,o]);let c=(0,i.useMemo)((()=>({open:0===s})),[s]),u={ref:l,id:n};return cE()({ourProps:u,theirProps:a,slot:c,defaultTag:"h2",name:"Dialog.Title"})}))),BP=Object.assign(OP,{Panel:VP,Title:NP,Description:YE});function jP({open:e=!1,setOpen:t,width:r=520,overflowHidden:n=!0,children:a,hideCloseIcon:s=!1,className:o,isErrorModal:l=!1,autoClose:c=!0}){let u="max-w-[35rem]";switch(r?.toString()){case"640":u="sm:max-w-[40rem]";break;case"520":u="sm:max-w-[32.5rem]";break;case"464":u="sm:max-w-[29rem]";break;case"480":u="sm:max-w-[30rem]";break;case"300":u="sm:max-w-[24rem]";break;default:u="sm:max-w-[35rem]"}return(0,i.createElement)(OA.Root,{show:e||!1,as:nc.Fragment},(0,i.createElement)(BP,{as:"div",className:"spectra-ai relative z-[99999999]",onClose:c?t:()=>{}},(0,i.createElement)(OA.Child,{as:nc.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-200",leaveFrom:"opacity-100",leaveTo:"opacity-0"},(0,i.createElement)("div",{className:"fixed inset-0 bg-zip-app-heading bg-opacity-75 transition-opacity backdrop-blur opacity-100"})),(0,i.createElement)("div",{className:"fixed inset-0 z-10 overflow-y-auto"},(0,i.createElement)("div",{className:"flex min-h-full items-center justify-center p-4 text-center sm:items-center sm:p-0"},(0,i.createElement)(OA.Child,{as:nc.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95",enterTo:"opacity-100 translate-y-0 sm:scale-100",leave:"ease-in duration-200",leaveFrom:"opacity-100 translate-y-0 sm:scale-100",leaveTo:"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95"},(0,i.createElement)(BP.Panel,{className:ho("relative w-full transform rounded-lg bg-white px-8 pt-8 pb-6 text-left shadow-xl transition-all sm:my-8 sm:w-full",u,n&&"overflow-hidden",o)},(0,i.createElement)("div",{className:"absolute right-0 top-0 pr-3 pt-3 block"},!s&&(0,i.createElement)("button",{type:"button",className:"rounded-md bg-white text-zip-app-inactive-icon hover:text-nav-active outline-none border-0 focus:outline-none transition duration-150 ease-in-out cursor-pointer",onClick:()=>t(!1,"close-icon")},(0,i.createElement)("span",{className:"sr-only"},"Close"),(0,i.createElement)(Yx,{className:"h-5 w-5","aria-hidden":"true"}))),(0,i.createElement)("div",{className:ho("font-sans",!l&&"space-y-6")},a)))))))}jP.Title=({children:e,className:t})=>(0,i.createElement)("div",{className:ho("flex items-center text-2xl font-semibold leading-8 text-heading-text space-x-3",t)},e);const zP=jP,HP=({onOpenChange:e,openTarget:t="_blank"})=>{const[{limitExceedModal:r},n]=fs(),a=(0,i.createElement)("span",{className:"zw-base-semibold text-app-heading capitalize"},astraSitesVars?.zip_plans?.active_plan?.slug),s=(0,i.createElement)("span",{className:"zw-base-semibold text-app-heading"},astraSitesVars?.zip_plans?.team?.name),o=(0,i.createElement)("span",{dangerouslySetInnerHTML:{__html:(0,wn.sprintf)(/* translators: %1$s: team name, %2$s: plan name */ /* translators: %1$s: team name, %2$s: plan name */ (0,wn.__)("Your current active organization is %1$s, which is on the %2$s plan.","astra-sites"),(0,hA.F0)(s),(0,hA.F0)(a))}}),l=(0,i.createElement)("span",{className:"zw-base-semibold text-app-heading "},(0,wn.sprintf)(/* translators: %s: daily limit */ /* translators: %s: daily limit */ (0,wn.__)("%s AI sites","astra-sites"),astraSitesVars?.zip_plans?.plan_data?.limit?.ai_sites_count_daily)),c=astraSitesVars?.zip_plans?.plan_data?.remaining?.ai_sites_count_daily,u=(0,i.createElement)("span",{dangerouslySetInnerHTML:{__html:"number"==typeof c&&c<=0?`\n\t\t\t\t<br />\n\t\t\t\t\t${(0,wn.sprintf)(/* translators: %s: daily limit */ /* translators: %s: daily limit */ (0,wn.__)("This plan allows you to generate %s per day, and you have reached this limit.","astra-sites"),(0,hA.F0)(l))}\n\t\t\t\t\t<br />\n\t\t\t\t\t<br />\n\t\t\t\t\t${(0,wn.__)("To create more AI websites, you will need to either upgrade your plan or wait until the limit resets.","astra-sites")}\n\t\t\t\t`:`\n\t\t\t\t${(0,wn.sprintf)(/* translators: %s: plan name */ /* translators: %s: plan name */ (0,wn.__)("You have reached the maximum number of sites allowed to be created on %s plan.","astra-sites"),(0,hA.F0)(a))}\n\t\t\t\t<br />\n\t\t\t\t<br />\n\t\t\t\t${(0,wn.sprintf)(/* translators: %s: team name */ /* translators: %s: team name */ (0,wn.__)("Please upgrade the plan for %s in order to create more sites.","astra-sites"),(0,hA.F0)(s))}\n\t\t\t\t`}});return(0,i.createElement)(zP,{open:r.open,setOpen:t=>{"function"==typeof e&&e(t),n({type:"set",limitExceedModal:{...r,open:t}})},width:464,height:"200",overflowHidden:!1},(0,i.createElement)(zP.Title,null,(0,i.createElement)(Ab,{className:"w-6 h-6"}),(0,i.createElement)("span",null,(0,wn.__)("Limit reached","astra-sites"))),(0,i.createElement)("div",{className:"space-y-8"},(0,i.createElement)("div",{className:"text-app-text text-base leading-6"},(0,i.createElement)("div",null,o,u)),(0,i.createElement)(ps,{className:"!bg-accent-st hover:!bg-accent-st w-full !text-base",onClick:()=>{n({type:"set",limitExceedModal:{...r,open:!1}}),"undefined"!=typeof window&&window.open("https://app.zipwp.com/founders-deal",t)}},(0,wn.__)("Unlock Full Power","astra-sites"))))},{showClassicTemplates:GP}=astraSitesVars,WP=i.forwardRef((function({title:e,titleId:t,...r},n){return i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?i.createElement("title",{id:t},e):null,i.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M21 8.25c0-2.485-2.099-4.5-4.688-4.5-1.935 0-3.597 1.126-4.312 2.733-.715-1.607-2.377-2.733-4.313-2.733C5.1 3.75 3 5.765 3 8.25c0 7.22 9 12 9 12s9-4.78 9-12Z"}))})),qP=i.forwardRef((function({title:e,titleId:t,...r},n){return i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?i.createElement("title",{id:t},e):null,i.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M13.5 16.875h3.375m0 0h3.375m-3.375 0V13.5m0 3.375v3.375M6 10.5h2.25a2.25 2.25 0 0 0 2.25-2.25V6a2.25 2.25 0 0 0-2.25-2.25H6A2.25 2.25 0 0 0 3.75 6v2.25A2.25 2.25 0 0 0 6 10.5Zm0 9.75h2.25A2.25 2.25 0 0 0 10.5 18v-2.25a2.25 2.25 0 0 0-2.25-2.25H6a2.25 2.25 0 0 0-2.25 2.25V18A2.25 2.25 0 0 0 6 20.25Zm9.75-9.75H18a2.25 2.25 0 0 0 2.25-2.25V6A2.25 2.25 0 0 0 18 3.75h-2.25A2.25 2.25 0 0 0 13.5 6v2.25a2.25 2.25 0 0 0 2.25 2.25Z"}))})),UP=i.forwardRef((function({title:e,titleId:t,...r},n){return i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?i.createElement("title",{id:t},e):null,i.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 3c2.755 0 5.455.232 8.083.678.533.09.917.556.917 1.096v1.044a2.25 2.25 0 0 1-.659 1.591l-5.432 5.432a2.25 2.25 0 0 0-.659 1.591v2.927a2.25 2.25 0 0 1-1.244 2.013L9.75 21v-6.568a2.25 2.25 0 0 0-.659-1.591L3.659 7.409A2.25 2.25 0 0 1 3 5.818V4.774c0-.54.384-1.006.917-1.096A48.32 48.32 0 0 1 12 3Z"}))})),XP=i.forwardRef((function({title:e,titleId:t,...r},n){return i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?i.createElement("title",{id:t},e):null,i.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"}),i.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15.91 11.672a.375.375 0 0 1 0 .656l-5.603 3.113a.375.375 0 0 1-.557-.328V8.887c0-.286.307-.466.557-.327l5.603 3.112Z"}))})),QP=i.forwardRef((function({title:e,titleId:t,...r},n){return i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?i.createElement("title",{id:t},e):null,i.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8.625 9.75a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Zm0 0H8.25m4.125 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Zm0 0H12m4.125 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Zm0 0h-.375m-13.5 3.01c0 1.6 1.123 2.994 2.707 3.227 1.087.16 2.185.283 3.293.369V21l4.184-4.183a1.14 1.14 0 0 1 .778-.332 48.294 48.294 0 0 0 5.83-.498c1.585-.233 2.708-1.626 2.708-3.228V6.741c0-1.602-1.123-2.995-2.707-3.228A48.394 48.394 0 0 0 12 3c-2.392 0-4.744.175-7.043.513C3.373 3.746 2.25 5.14 2.25 6.741v6.018Z"}))})),$P=i.forwardRef((function({title:e,titleId:t,...r},n){return i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?i.createElement("title",{id:t},e):null,i.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9.53 16.122a3 3 0 0 0-5.78 1.128 2.25 2.25 0 0 1-2.4 2.245 4.5 4.5 0 0 0 8.4-2.245c0-.399-.078-.78-.22-1.128Zm0 0a15.998 15.998 0 0 0 3.388-1.62m-5.043-.025a15.994 15.994 0 0 1 1.622-3.395m3.42 3.42a15.995 15.995 0 0 0 4.764-4.648l3.876-5.814a1.151 1.151 0 0 0-1.597-1.597L14.146 6.32a15.996 15.996 0 0 0-4.649 4.763m3.42 3.42a6.776 6.776 0 0 0-3.42-3.42"}))})),JP=i.forwardRef((function({title:e,titleId:t,...r},n){return i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?i.createElement("title",{id:t},e):null,i.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3.75 12h16.5m-16.5 3.75h16.5M3.75 19.5h16.5M5.625 4.5h12.75a1.875 1.875 0 0 1 0 3.75H5.625a1.875 1.875 0 0 1 0-3.75Z"}))})),YP=i.forwardRef((function({title:e,titleId:t,...r},n){return i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?i.createElement("title",{id:t},e):null,i.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3.75 6A2.25 2.25 0 0 1 6 3.75h2.25A2.25 2.25 0 0 1 10.5 6v2.25a2.25 2.25 0 0 1-2.25 2.25H6a2.25 2.25 0 0 1-2.25-2.25V6ZM3.75 15.75A2.25 2.25 0 0 1 6 13.5h2.25a2.25 2.25 0 0 1 2.25 2.25V18a2.25 2.25 0 0 1-2.25 2.25H6A2.25 2.25 0 0 1 3.75 18v-2.25ZM13.5 6a2.25 2.25 0 0 1 2.25-2.25H18A2.25 2.25 0 0 1 20.25 6v2.25A2.25 2.25 0 0 1 18 10.5h-2.25a2.25 2.25 0 0 1-2.25-2.25V6ZM13.5 15.75a2.25 2.25 0 0 1 2.25-2.25H18a2.25 2.25 0 0 1 2.25 2.25V18A2.25 2.25 0 0 1 18 20.25h-2.25A2.25 2.25 0 0 1 13.5 18v-2.25Z"}))})),ZP=i.forwardRef((function({title:e,titleId:t,...r},n){return i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?i.createElement("title",{id:t},e):null,i.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M2.25 3h1.386c.51 0 .955.343 1.087.835l.383 1.437M7.5 14.25a3 3 0 0 0-3 3h15.75m-12.75-3h11.218c1.121-2.3 2.1-4.684 2.924-7.138a60.114 60.114 0 0 0-16.536-1.84M7.5 14.25 5.106 5.272M6 20.25a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0Zm12.75 0a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0Z"}))})),KP=i.forwardRef((function({title:e,titleId:t,...r},n){return i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?i.createElement("title",{id:t},e):null,i.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M21.75 6.75a4.5 4.5 0 0 1-4.884 4.484c-1.076-.091-2.264.071-2.95.904l-7.152 8.684a2.548 2.548 0 1 1-3.586-3.586l8.684-7.152c.833-.686.995-1.874.904-2.95a4.5 4.5 0 0 1 6.336-4.486l-3.276 3.276a3.004 3.004 0 0 0 2.25 2.25l3.276-3.276c.256.565.398 1.192.398 1.852Z"}),i.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M4.867 19.125h.008v.008h-.008v-.008Z"}))})),e_=i.forwardRef((function({title:e,titleId:t,...r},n){return i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?i.createElement("title",{id:t},e):null,i.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m4.5 12.75 6 6 9-13.5"}))})),t_=i.forwardRef((function({title:e,titleId:t,...r},n){return i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},r),e?i.createElement("title",{id:t},e):null,i.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M17.25 8.25 21 12m0 0-3.75 3.75M21 12H3"}))})),r_=({children:e,className:t,as:r="div",...n})=>(0,i.createElement)(r,{className:ho("max-w-container w-full bg-white p-8 flex flex-col gap-8 rounded-xl shadow-md",t),...n},e),{forwardRef:n_}=wp.element,i_=n_((({variant:e="",isSmall:t=!1,hasSuffixIcon:r=!1,hasPrefixIcon:n=!1,type:a="button",className:s,onClick:o,children:l,disabled:c=!1,id:u="",...p},d)=>{const f=t?"small":"base",h={base:{default:"px-6 py-3",hasPrefixIcon:"pl-4 pr-6 py-3",hasSuffixIcon:"pl-6 pr-4 py-3"},medium:{default:"px-4 py-3 h-11",hasPrefixIcon:"pl-4 pr-6 py-3",hasSuffixIcon:"pl-6 pr-4 py-3"},small:{default:"px-5 py-2 h-[2.625rem]",hasPrefixIcon:"pl-3 pr-5 py-2 h-[2.625rem]",hasSuffixIcon:"pl-5 pr-3 py-2 h-[2.625rem]"}};return(0,i.createElement)("button",{type:a,className:oo("group flex items-center justify-center gap-2 rounded-md focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 transition duration-150 ease-in-out cursor-pointer border-0",{primary:"text-white bg-accent-st hover:bg-accent-hover-st focus-visible:ring-accent-st border border-solid border-accent-st",white:"text-accent-st bg-white border border-solid border-accent-st focus-visible:ring-accent-st",dark:"text-white border border-white bg-transparent border-solid",link:"underline border-0 bg-transparent",blank:"bg-transparent border-transparent",gray:"bg-transparent border border-solid border-zip-dark-theme-border text-zip-dark-theme-heading","gray-selected":"bg-zip-dark-theme-border text-white",other:"","gradient-border":"bg-transparent text-zip-app-heading zw-base-bold gradient-border-cover gradient-border-cover-button",gradient:"bg-gradient-to-r from-gradient-color-1 via-46.88 via-gradient-color-2 to-gradient-color-3 text-white zw-base-bold","border-secondary":"text-app-secondary bg-app-light-background border border-app-secondary shadow-sm"}[e],!n&&!r&&h[f].default,n&&h[f].hasPrefixIcon,r&&h[f].hasSuffixIcon,{base:"text-base font-medium",small:"text-sm font-medium"}[f],{base:"rounded-md",small:"rounded"}[f],c&&"cursor-not-allowed opacity-70",s),onClick:e=>{o&&"function"==typeof o&&o(e)},ref:d,disabled:c,...u&&{id:u},...p},l)}));function a_(e,t=!1){let[r,n]=(0,i.useReducer)((()=>({})),{}),a=(0,i.useMemo)((()=>function(e){if(null===e)return{width:0,height:0};let{width:t,height:r}=e.getBoundingClientRect();return{width:t,height:r}}(e)),[e,r]);return zw((()=>{if(!e)return;let t=new ResizeObserver(n);return t.observe(e),()=>{t.disconnect()}}),[e]),t?{width:`${a.width}px`,height:`${a.height}px`}:a}let s_=/([\u2700-\u27BF]|[\uE000-\uF8FF]|\uD83C[\uDC00-\uDFFF]|\uD83D[\uDC00-\uDFFF]|[\u2011-\u26FF]|\uD83E[\uDD10-\uDDFF])/g;function o_(e){var t,r;let n=null!=(t=e.innerText)?t:"",i=e.cloneNode(!0);if(!(i instanceof HTMLElement))return n;let a=!1;for(let e of i.querySelectorAll('[hidden],[aria-hidden],[role="img"]'))e.remove(),a=!0;let s=a?null!=(r=i.innerText)?r:"":n;return s_.test(s)&&(s=s.replace(s_,"")),s}function l_(e){return[e.screenX,e.screenY]}const c_=Math.min,u_=Math.max,p_=Math.round,d_=Math.floor,f_=e=>({x:e,y:e}),h_={left:"right",right:"left",bottom:"top",top:"bottom"},m_={start:"end",end:"start"};function g_(e,t,r){return u_(e,c_(t,r))}function y_(e,t){return"function"==typeof e?e(t):e}function v_(e){return e.split("-")[0]}function b_(e){return e.split("-")[1]}function x_(e){return"x"===e?"y":"x"}function w_(e){return"y"===e?"height":"width"}function E_(e){return["top","bottom"].includes(v_(e))?"y":"x"}function k_(e){return x_(E_(e))}function S_(e){return e.replace(/start|end/g,(e=>m_[e]))}function C_(e){return e.replace(/left|right|bottom|top/g,(e=>h_[e]))}function A_(e){const{x:t,y:r,width:n,height:i}=e;return{width:n,height:i,top:r,left:t,right:t+n,bottom:r+i,x:t,y:r}}function P_(){return"undefined"!=typeof window}function T_(e){return M_(e)?(e.nodeName||"").toLowerCase():"#document"}function I_(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function F_(e){var t;return null==(t=(M_(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function M_(e){return!!P_()&&(e instanceof Node||e instanceof I_(e).Node)}function D_(e){return!!P_()&&(e instanceof Element||e instanceof I_(e).Element)}function R_(e){return!!P_()&&(e instanceof HTMLElement||e instanceof I_(e).HTMLElement)}function L_(e){return!(!P_()||"undefined"==typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof I_(e).ShadowRoot)}function O_(e){const{overflow:t,overflowX:r,overflowY:n,display:i}=H_(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+r)&&!["inline","contents"].includes(i)}function V_(e){return["table","td","th"].includes(T_(e))}function N_(e){return[":popover-open",":modal"].some((t=>{try{return e.matches(t)}catch(e){return!1}}))}function B_(e){const t=j_(),r=D_(e)?H_(e):e;return"none"!==r.transform||"none"!==r.perspective||!!r.containerType&&"normal"!==r.containerType||!t&&!!r.backdropFilter&&"none"!==r.backdropFilter||!t&&!!r.filter&&"none"!==r.filter||["transform","perspective","filter"].some((e=>(r.willChange||"").includes(e)))||["paint","layout","strict","content"].some((e=>(r.contain||"").includes(e)))}function j_(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function z_(e){return["html","body","#document"].includes(T_(e))}function H_(e){return I_(e).getComputedStyle(e)}function G_(e){return D_(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function W_(e){if("html"===T_(e))return e;const t=e.assignedSlot||e.parentNode||L_(e)&&e.host||F_(e);return L_(t)?t.host:t}function q_(e){const t=W_(e);return z_(t)?e.ownerDocument?e.ownerDocument.body:e.body:R_(t)&&O_(t)?t:q_(t)}function U_(e,t,r){var n;void 0===t&&(t=[]),void 0===r&&(r=!0);const i=q_(e),a=i===(null==(n=e.ownerDocument)?void 0:n.body),s=I_(i);if(a){const e=function(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}(s);return t.concat(s,s.visualViewport||[],O_(i)?i:[],e&&r?U_(e):[])}return t.concat(i,U_(i,[],r))}function X_(e,t,r){let{reference:n,floating:i}=e;const a=E_(t),s=k_(t),o=w_(s),l=v_(t),c="y"===a,u=n.x+n.width/2-i.width/2,p=n.y+n.height/2-i.height/2,d=n[o]/2-i[o]/2;let f;switch(l){case"top":f={x:u,y:n.y-i.height};break;case"bottom":f={x:u,y:n.y+n.height};break;case"right":f={x:n.x+n.width,y:p};break;case"left":f={x:n.x-i.width,y:p};break;default:f={x:n.x,y:n.y}}switch(b_(t)){case"start":f[s]-=d*(r&&c?-1:1);break;case"end":f[s]+=d*(r&&c?-1:1)}return f}async function Q_(e,t){var r;void 0===t&&(t={});const{x:n,y:i,platform:a,rects:s,elements:o,strategy:l}=e,{boundary:c="clippingAncestors",rootBoundary:u="viewport",elementContext:p="floating",altBoundary:d=!1,padding:f=0}=y_(t,e),h=function(e){return"number"!=typeof e?function(e){return{top:0,right:0,bottom:0,left:0,...e}}(e):{top:e,right:e,bottom:e,left:e}}(f),m=o[d?"floating"===p?"reference":"floating":p],g=A_(await a.getClippingRect({element:null==(r=await(null==a.isElement?void 0:a.isElement(m)))||r?m:m.contextElement||await(null==a.getDocumentElement?void 0:a.getDocumentElement(o.floating)),boundary:c,rootBoundary:u,strategy:l})),y="floating"===p?{...s.floating,x:n,y:i}:s.reference,v=await(null==a.getOffsetParent?void 0:a.getOffsetParent(o.floating)),b=await(null==a.isElement?void 0:a.isElement(v))&&await(null==a.getScale?void 0:a.getScale(v))||{x:1,y:1},x=A_(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({elements:o,rect:y,offsetParent:v,strategy:l}):y);return{top:(g.top-x.top+h.top)/b.y,bottom:(x.bottom-g.bottom+h.bottom)/b.y,left:(g.left-x.left+h.left)/b.x,right:(x.right-g.right+h.right)/b.x}}const $_=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var r,n;const{x:i,y:a,placement:s,middlewareData:o}=t,l=await async function(e,t){const{placement:r,platform:n,elements:i}=e,a=await(null==n.isRTL?void 0:n.isRTL(i.floating)),s=v_(r),o=b_(r),l="y"===E_(r),c=["left","top"].includes(s)?-1:1,u=a&&l?-1:1,p=y_(t,e);let{mainAxis:d,crossAxis:f,alignmentAxis:h}="number"==typeof p?{mainAxis:p,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...p};return o&&"number"==typeof h&&(f="end"===o?-1*h:h),l?{x:f*u,y:d*c}:{x:d*c,y:f*u}}(t,e);return s===(null==(r=o.offset)?void 0:r.placement)&&null!=(n=o.arrow)&&n.alignmentOffset?{}:{x:i+l.x,y:a+l.y,data:{...l,placement:s}}}}};function J_(e){const t=H_(e);let r=parseFloat(t.width)||0,n=parseFloat(t.height)||0;const i=R_(e),a=i?e.offsetWidth:r,s=i?e.offsetHeight:n,o=p_(r)!==a||p_(n)!==s;return o&&(r=a,n=s),{width:r,height:n,$:o}}function Y_(e){return D_(e)?e:e.contextElement}function Z_(e){const t=Y_(e);if(!R_(t))return f_(1);const r=t.getBoundingClientRect(),{width:n,height:i,$:a}=J_(t);let s=(a?p_(r.width):r.width)/n,o=(a?p_(r.height):r.height)/i;return s&&Number.isFinite(s)||(s=1),o&&Number.isFinite(o)||(o=1),{x:s,y:o}}const K_=f_(0);function eT(e){const t=I_(e);return j_()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:K_}function tT(e,t,r,n){void 0===t&&(t=!1),void 0===r&&(r=!1);const i=e.getBoundingClientRect(),a=Y_(e);let s=f_(1);t&&(n?D_(n)&&(s=Z_(n)):s=Z_(e));const o=function(e,t,r){return void 0===t&&(t=!1),!(!r||t&&r!==I_(e))&&t}(a,r,n)?eT(a):f_(0);let l=(i.left+o.x)/s.x,c=(i.top+o.y)/s.y,u=i.width/s.x,p=i.height/s.y;if(a){const e=I_(a),t=n&&D_(n)?I_(n):n;let r=e,i=r.frameElement;for(;i&&n&&t!==r;){const e=Z_(i),t=i.getBoundingClientRect(),n=H_(i),a=t.left+(i.clientLeft+parseFloat(n.paddingLeft))*e.x,s=t.top+(i.clientTop+parseFloat(n.paddingTop))*e.y;l*=e.x,c*=e.y,u*=e.x,p*=e.y,l+=a,c+=s,r=I_(i),i=r.frameElement}}return A_({width:u,height:p,x:l,y:c})}const rT=[":popover-open",":modal"];function nT(e){return rT.some((t=>{try{return e.matches(t)}catch(e){return!1}}))}function iT(e){return tT(F_(e)).left+G_(e).scrollLeft}function aT(e,t,r){let n;if("viewport"===t)n=function(e,t){const r=I_(e),n=F_(e),i=r.visualViewport;let a=n.clientWidth,s=n.clientHeight,o=0,l=0;if(i){a=i.width,s=i.height;const e=j_();(!e||e&&"fixed"===t)&&(o=i.offsetLeft,l=i.offsetTop)}return{width:a,height:s,x:o,y:l}}(e,r);else if("document"===t)n=function(e){const t=F_(e),r=G_(e),n=e.ownerDocument.body,i=u_(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),a=u_(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight);let s=-r.scrollLeft+iT(e);const o=-r.scrollTop;return"rtl"===H_(n).direction&&(s+=u_(t.clientWidth,n.clientWidth)-i),{width:i,height:a,x:s,y:o}}(F_(e));else if(D_(t))n=function(e,t){const r=tT(e,!0,"fixed"===t),n=r.top+e.clientTop,i=r.left+e.clientLeft,a=R_(e)?Z_(e):f_(1);return{width:e.clientWidth*a.x,height:e.clientHeight*a.y,x:i*a.x,y:n*a.y}}(t,r);else{const r=eT(e);n={...t,x:t.x-r.x,y:t.y-r.y}}return A_(n)}function sT(e,t){const r=W_(e);return!(r===t||!D_(r)||z_(r))&&("fixed"===H_(r).position||sT(r,t))}function oT(e,t,r){const n=R_(t),i=F_(t),a="fixed"===r,s=tT(e,!0,a,t);let o={scrollLeft:0,scrollTop:0};const l=f_(0);if(n||!n&&!a)if(("body"!==T_(t)||O_(i))&&(o=G_(t)),n){const e=tT(t,!0,a,t);l.x=e.x+t.clientLeft,l.y=e.y+t.clientTop}else i&&(l.x=iT(i));return{x:s.left+o.scrollLeft-l.x,y:s.top+o.scrollTop-l.y,width:s.width,height:s.height}}function lT(e,t){return R_(e)&&"fixed"!==H_(e).position?t?t(e):e.offsetParent:null}function cT(e,t){const r=I_(e);if(!R_(e)||nT(e))return r;let n=lT(e,t);for(;n&&V_(n)&&"static"===H_(n).position;)n=lT(n,t);return n&&("html"===T_(n)||"body"===T_(n)&&"static"===H_(n).position&&!B_(n))?r:n||function(e){let t=W_(e);for(;R_(t)&&!z_(t);){if(B_(t))return t;if(N_(t))return null;t=W_(t)}return null}(e)||r}const uT={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:r,offsetParent:n,strategy:i}=e;const a="fixed"===i,s=F_(n),o=!!t&&nT(t.floating);if(n===s||o&&a)return r;let l={scrollLeft:0,scrollTop:0},c=f_(1);const u=f_(0),p=R_(n);if((p||!p&&!a)&&(("body"!==T_(n)||O_(s))&&(l=G_(n)),R_(n))){const e=tT(n);c=Z_(n),u.x=e.x+n.clientLeft,u.y=e.y+n.clientTop}return{width:r.width*c.x,height:r.height*c.y,x:r.x*c.x-l.scrollLeft*c.x+u.x,y:r.y*c.y-l.scrollTop*c.y+u.y}},getDocumentElement:F_,getClippingRect:function(e){let{element:t,boundary:r,rootBoundary:n,strategy:i}=e;const a="clippingAncestors"===r?function(e,t){const r=t.get(e);if(r)return r;let n=U_(e,[],!1).filter((e=>D_(e)&&"body"!==T_(e))),i=null;const a="fixed"===H_(e).position;let s=a?W_(e):e;for(;D_(s)&&!z_(s);){const t=H_(s),r=B_(s);r||"fixed"!==t.position||(i=null),(a?!r&&!i:!r&&"static"===t.position&&i&&["absolute","fixed"].includes(i.position)||O_(s)&&!r&&sT(e,s))?n=n.filter((e=>e!==s)):i=t,s=W_(s)}return t.set(e,n),n}(t,this._c):[].concat(r),s=[...a,n],o=s[0],l=s.reduce(((e,r)=>{const n=aT(t,r,i);return e.top=u_(n.top,e.top),e.right=c_(n.right,e.right),e.bottom=c_(n.bottom,e.bottom),e.left=u_(n.left,e.left),e}),aT(t,o,i));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},getOffsetParent:cT,getElementRects:async function(e){const t=this.getOffsetParent||cT,r=this.getDimensions;return{reference:oT(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,...await r(e.floating)}}},getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){const{width:t,height:r}=J_(e);return{width:t,height:r}},getScale:Z_,isElement:D_,isRTL:function(e){return"rtl"===H_(e).direction}};function pT(e,t,r,n){void 0===n&&(n={});const{ancestorScroll:i=!0,ancestorResize:a=!0,elementResize:s="function"==typeof ResizeObserver,layoutShift:o="function"==typeof IntersectionObserver,animationFrame:l=!1}=n,c=Y_(e),u=i||a?[...c?U_(c):[],...U_(t)]:[];u.forEach((e=>{i&&e.addEventListener("scroll",r,{passive:!0}),a&&e.addEventListener("resize",r)}));const p=c&&o?function(e,t){let r,n=null;const i=F_(e);function a(){var e;clearTimeout(r),null==(e=n)||e.disconnect(),n=null}return function s(o,l){void 0===o&&(o=!1),void 0===l&&(l=1),a();const{left:c,top:u,width:p,height:d}=e.getBoundingClientRect();if(o||t(),!p||!d)return;const f={rootMargin:-d_(u)+"px "+-d_(i.clientWidth-(c+p))+"px "+-d_(i.clientHeight-(u+d))+"px "+-d_(c)+"px",threshold:u_(0,c_(1,l))||1};let h=!0;function m(e){const t=e[0].intersectionRatio;if(t!==l){if(!h)return s();t?s(!1,t):r=setTimeout((()=>{s(!1,1e-7)}),100)}h=!1}try{n=new IntersectionObserver(m,{...f,root:i.ownerDocument})}catch(e){n=new IntersectionObserver(m,f)}n.observe(e)}(!0),a}(c,r):null;let d,f=-1,h=null;s&&(h=new ResizeObserver((e=>{let[n]=e;n&&n.target===c&&h&&(h.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame((()=>{var e;null==(e=h)||e.observe(t)}))),r()})),c&&!l&&h.observe(c),h.observe(t));let m=l?tT(e):null;return l&&function t(){const n=tT(e);!m||n.x===m.x&&n.y===m.y&&n.width===m.width&&n.height===m.height||r(),m=n,d=requestAnimationFrame(t)}(),r(),()=>{var e;u.forEach((e=>{i&&e.removeEventListener("scroll",r),a&&e.removeEventListener("resize",r)})),null==p||p(),null==(e=h)||e.disconnect(),h=null,l&&cancelAnimationFrame(d)}}const dT=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){const{x:r,y:n,placement:i}=t,{mainAxis:a=!0,crossAxis:s=!1,limiter:o={fn:e=>{let{x:t,y:r}=e;return{x:t,y:r}}},...l}=y_(e,t),c={x:r,y:n},u=await Q_(t,l),p=E_(v_(i)),d=x_(p);let f=c[d],h=c[p];if(a){const e="y"===d?"bottom":"right";f=g_(f+u["y"===d?"top":"left"],f,f-u[e])}if(s){const e="y"===p?"bottom":"right";h=g_(h+u["y"===p?"top":"left"],h,h-u[e])}const m=o.fn({...t,[d]:f,[p]:h});return{...m,data:{x:m.x-r,y:m.y-n}}}}},fT=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var r,n;const{placement:i,middlewareData:a,rects:s,initialPlacement:o,platform:l,elements:c}=t,{mainAxis:u=!0,crossAxis:p=!0,fallbackPlacements:d,fallbackStrategy:f="bestFit",fallbackAxisSideDirection:h="none",flipAlignment:m=!0,...g}=y_(e,t);if(null!=(r=a.arrow)&&r.alignmentOffset)return{};const y=v_(i),v=v_(o)===o,b=await(null==l.isRTL?void 0:l.isRTL(c.floating)),x=d||(v||!m?[C_(o)]:function(e){const t=C_(e);return[S_(e),t,S_(t)]}(o));d||"none"===h||x.push(...function(e,t,r,n){const i=b_(e);let a=function(e,t,r){const n=["left","right"],i=["right","left"],a=["top","bottom"],s=["bottom","top"];switch(e){case"top":case"bottom":return r?t?i:n:t?n:i;case"left":case"right":return t?a:s;default:return[]}}(v_(e),"start"===r,n);return i&&(a=a.map((e=>e+"-"+i)),t&&(a=a.concat(a.map(S_)))),a}(o,m,h,b));const w=[o,...x],E=await Q_(t,g),k=[];let S=(null==(n=a.flip)?void 0:n.overflows)||[];if(u&&k.push(E[y]),p){const e=function(e,t,r){void 0===r&&(r=!1);const n=b_(e),i=k_(e),a=w_(i);let s="x"===i?n===(r?"end":"start")?"right":"left":"start"===n?"bottom":"top";return t.reference[a]>t.floating[a]&&(s=C_(s)),[s,C_(s)]}(i,s,b);k.push(E[e[0]],E[e[1]])}if(S=[...S,{placement:i,overflows:k}],!k.every((e=>e<=0))){var C,A;const e=((null==(C=a.flip)?void 0:C.index)||0)+1,t=w[e];if(t)return{data:{index:e,overflows:S},reset:{placement:t}};let r=null==(A=S.filter((e=>e.overflows[0]<=0)).sort(((e,t)=>e.overflows[1]-t.overflows[1]))[0])?void 0:A.placement;if(!r)switch(f){case"bestFit":{var P;const e=null==(P=S.map((e=>[e.placement,e.overflows.filter((e=>e>0)).reduce(((e,t)=>e+t),0)])).sort(((e,t)=>e[1]-t[1]))[0])?void 0:P[0];e&&(r=e);break}case"initialPlacement":r=o}if(i!==r)return{reset:{placement:r}}}return{}}}},hT=function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){const{placement:r,rects:n,platform:i,elements:a}=t,{apply:s=(()=>{}),...o}=y_(e,t),l=await Q_(t,o),c=v_(r),u=b_(r),p="y"===E_(r),{width:d,height:f}=n.floating;let h,m;"top"===c||"bottom"===c?(h=c,m=u===(await(null==i.isRTL?void 0:i.isRTL(a.floating))?"start":"end")?"left":"right"):(m=c,h="end"===u?"top":"bottom");const g=f-l[h],y=d-l[m],v=!t.middlewareData.shift;let b=g,x=y;if(p){const e=d-l.left-l.right;x=u||v?c_(y,e):e}else{const e=f-l.top-l.bottom;b=u||v?c_(g,e):e}if(v&&!u){const e=u_(l.left,0),t=u_(l.right,0),r=u_(l.top,0),n=u_(l.bottom,0);p?x=d-2*(0!==e||0!==t?e+t:u_(l.left,l.right)):b=f-2*(0!==r||0!==n?r+n:u_(l.top,l.bottom))}await s({...t,availableWidth:x,availableHeight:b});const w=await i.getDimensions(a.floating);return d!==w.width||f!==w.height?{reset:{rects:!0}}:{}}}},mT=(e,t,r)=>{const n=new Map,i={platform:uT,...r},a={...i.platform,_c:n};return(async(e,t,r)=>{const{placement:n="bottom",strategy:i="absolute",middleware:a=[],platform:s}=r,o=a.filter(Boolean),l=await(null==s.isRTL?void 0:s.isRTL(t));let c=await s.getElementRects({reference:e,floating:t,strategy:i}),{x:u,y:p}=X_(c,n,l),d=n,f={},h=0;for(let r=0;r<o.length;r++){const{name:a,fn:m}=o[r],{x:g,y,data:v,reset:b}=await m({x:u,y:p,initialPlacement:n,placement:d,strategy:i,middlewareData:f,rects:c,platform:s,elements:{reference:e,floating:t}});u=null!=g?g:u,p=null!=y?y:p,f={...f,[a]:{...f[a],...v}},b&&h<=50&&(h++,"object"==typeof b&&(b.placement&&(d=b.placement),b.rects&&(c=!0===b.rects?await s.getElementRects({reference:e,floating:t,strategy:i}):b.rects),({x:u,y:p}=X_(c,d,l))),r=-1)}return{x:u,y:p,placement:d,strategy:i,middlewareData:f}})(e,t,{...i,platform:a})};var gT="undefined"!=typeof document?i.useLayoutEffect:i.useEffect;function yT(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;let r,n,i;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if(r=e.length,r!==t.length)return!1;for(n=r;0!=n--;)if(!yT(e[n],t[n]))return!1;return!0}if(i=Object.keys(e),r=i.length,r!==Object.keys(t).length)return!1;for(n=r;0!=n--;)if(!{}.hasOwnProperty.call(t,i[n]))return!1;for(n=r;0!=n--;){const r=i[n];if(!("_owner"===r&&e.$$typeof||yT(e[r],t[r])))return!1}return!0}return e!=e&&t!=t}function vT(e){return"undefined"==typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function bT(e,t){const r=vT(e);return Math.round(t*r)/r}function xT(e){const t=i.useRef(e);return gT((()=>{t.current=e})),t}const wT=(e,t)=>({...$_(e),options:[e,t]}),ET=(e,t)=>({...fT(e),options:[e,t]}),kT=(e,t)=>({...hT(e),options:[e,t]}),ST={...a},CT=ST.useInsertionEffect||(e=>e());function AT(e){const t=i.useRef((()=>{}));return CT((()=>{t.current=e})),i.useCallback((function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return null==t.current?void 0:t.current(...r)}),[])}var PT="undefined"!=typeof document?i.useLayoutEffect:i.useEffect;let _T=!1,TT=0;const IT=()=>"floating-ui-"+Math.random().toString(36).slice(2,6)+TT++,FT=ST.useId||function(){const[e,t]=i.useState((()=>_T?IT():void 0));return PT((()=>{null==e&&t(IT())}),[]),i.useEffect((()=>{_T=!0}),[]),e};const MT=i.createContext(null),DT=i.createContext(null),RT=()=>{var e;return(null==(e=i.useContext(MT))?void 0:e.id)||null},LT=()=>i.useContext(DT),OT="data-floating-ui-focusable";function VT(e){void 0===e&&(e={});const{nodeId:t}=e,r=function(e){const{open:t=!1,onOpenChange:r,elements:n}=e,a=FT(),s=i.useRef({}),[o]=i.useState((()=>function(){const e=new Map;return{emit(t,r){var n;null==(n=e.get(t))||n.forEach((e=>e(r)))},on(t,r){e.set(t,[...e.get(t)||[],r])},off(t,r){var n;e.set(t,(null==(n=e.get(t))?void 0:n.filter((e=>e!==r)))||[])}}}())),l=null!=RT(),[c,u]=i.useState(n.reference),p=AT(((e,t,n)=>{s.current.openEvent=e?t:void 0,o.emit("openchange",{open:e,event:t,reason:n,nested:l}),null==r||r(e,t,n)})),d=i.useMemo((()=>({setPositionReference:u})),[]),f=i.useMemo((()=>({reference:c||n.reference||null,floating:n.floating||null,domReference:n.reference})),[c,n.reference,n.floating]);return i.useMemo((()=>({dataRef:s,open:t,onOpenChange:p,elements:f,events:o,floatingId:a,refs:d})),[t,p,f,o,a,d])}({...e,elements:{reference:null,floating:null,...e.elements}}),n=e.rootContext||r,a=n.elements,[s,l]=i.useState(null),[c,u]=i.useState(null),p=(null==a?void 0:a.domReference)||s,d=i.useRef(null),f=LT();PT((()=>{p&&(d.current=p)}),[p]);const h=function(e){void 0===e&&(e={});const{placement:t="bottom",strategy:r="absolute",middleware:n=[],platform:a,elements:{reference:s,floating:l}={},transform:c=!0,whileElementsMounted:u,open:p}=e,[d,f]=i.useState({x:0,y:0,strategy:r,placement:t,middlewareData:{},isPositioned:!1}),[h,m]=i.useState(n);yT(h,n)||m(n);const[g,y]=i.useState(null),[v,b]=i.useState(null),x=i.useCallback((e=>{e!==S.current&&(S.current=e,y(e))}),[]),w=i.useCallback((e=>{e!==C.current&&(C.current=e,b(e))}),[]),E=s||g,k=l||v,S=i.useRef(null),C=i.useRef(null),A=i.useRef(d),P=null!=u,_=xT(u),T=xT(a),I=xT(p),F=i.useCallback((()=>{if(!S.current||!C.current)return;const e={placement:t,strategy:r,middleware:h};T.current&&(e.platform=T.current),mT(S.current,C.current,e).then((e=>{const t={...e,isPositioned:!1!==I.current};M.current&&!yT(A.current,t)&&(A.current=t,o.flushSync((()=>{f(t)})))}))}),[h,t,r,T,I]);gT((()=>{!1===p&&A.current.isPositioned&&(A.current.isPositioned=!1,f((e=>({...e,isPositioned:!1}))))}),[p]);const M=i.useRef(!1);gT((()=>(M.current=!0,()=>{M.current=!1})),[]),gT((()=>{if(E&&(S.current=E),k&&(C.current=k),E&&k){if(_.current)return _.current(E,k,F);F()}}),[E,k,F,_,P]);const D=i.useMemo((()=>({reference:S,floating:C,setReference:x,setFloating:w})),[x,w]),R=i.useMemo((()=>({reference:E,floating:k})),[E,k]),L=i.useMemo((()=>{const e={position:r,left:0,top:0};if(!R.floating)return e;const t=bT(R.floating,d.x),n=bT(R.floating,d.y);return c?{...e,transform:"translate("+t+"px, "+n+"px)",...vT(R.floating)>=1.5&&{willChange:"transform"}}:{position:r,left:t,top:n}}),[r,c,R.floating,d.x,d.y]);return i.useMemo((()=>({...d,update:F,refs:D,elements:R,floatingStyles:L})),[d,F,D,R,L])}({...e,elements:{...a,...c&&{reference:c}}}),m=i.useCallback((e=>{const t=D_(e)?{getBoundingClientRect:()=>e.getBoundingClientRect(),contextElement:e}:e;u(t),h.refs.setReference(t)}),[h.refs]),g=i.useCallback((e=>{(D_(e)||null===e)&&(d.current=e,l(e)),(D_(h.refs.reference.current)||null===h.refs.reference.current||null!==e&&!D_(e))&&h.refs.setReference(e)}),[h.refs]),y=i.useMemo((()=>({...h.refs,setReference:g,setPositionReference:m,domReference:d})),[h.refs,g,m]),v=i.useMemo((()=>({...h.elements,domReference:p})),[h.elements,p]),b=i.useMemo((()=>({...h,...n,refs:y,elements:v,nodeId:t})),[h,y,v,t,n]);return PT((()=>{n.dataRef.current.floatingContext=b;const e=null==f?void 0:f.nodesRef.current.find((e=>e.id===t));e&&(e.context=b)})),i.useMemo((()=>({...h,context:b,refs:y,elements:v})),[h,y,v,b])}const NT="active",BT="selected";function jT(e,t,r){const n=new Map,i="item"===r;let a=e;if(i&&e){const{[NT]:t,[BT]:__,...r}=e;a=r}return{..."floating"===r&&{tabIndex:-1,[OT]:""},...a,...t.map((t=>{const n=t?t[r]:null;return"function"==typeof n?e?n(e):null:n})).concat(e).reduce(((e,t)=>t?(Object.entries(t).forEach((t=>{let[r,a]=t;var s;i&&[NT,BT].includes(r)||(0===r.indexOf("on")?(n.has(r)||n.set(r,[]),"function"==typeof a&&(null==(s=n.get(r))||s.push(a),e[r]=function(){for(var e,t=arguments.length,i=new Array(t),a=0;a<t;a++)i[a]=arguments[a];return null==(e=n.get(r))?void 0:e.map((e=>e(...i))).find((e=>void 0!==e))})):e[r]=a)})),e):e),{})}}function zT(e,t){return{...e,rects:{...e.rects,floating:{...e.rects.floating,height:t}}}}let HT=(0,i.createContext)({styles:void 0,setReference:()=>{},setFloating:()=>{},getReferenceProps:()=>({}),getFloatingProps:()=>({}),slot:{}});HT.displayName="FloatingContext";let GT=(0,i.createContext)(null);GT.displayName="PlacementContext";function WT({children:e,enabled:t=!0}){let[r,n]=(0,i.useState)(null),[a,s]=(0,i.useState)(0),l=(0,i.useRef)(null),[c,u]=(0,i.useState)(null);!function(e){zw((()=>{if(!e)return;let t=new MutationObserver((()=>{let t=window.getComputedStyle(e).maxHeight,r=parseFloat(t);if(isNaN(r))return;let n=parseInt(t);isNaN(n)||r!==n&&(e.style.maxHeight=`${Math.ceil(r)}px`)}));return t.observe(e,{attributes:!0,attributeFilter:["style"]}),()=>{t.disconnect()}}),[e])}(c);let p=t&&null!==r&&null!==c,{to:d="bottom",gap:f=0,offset:h=0,padding:m=0,inner:g}=function(e,t){var r,n,i;let a=qT(null!=(r=null==e?void 0:e.gap)?r:"var(--anchor-gap, 0)",t),s=qT(null!=(n=null==e?void 0:e.offset)?n:"var(--anchor-offset, 0)",t),o=qT(null!=(i=null==e?void 0:e.padding)?i:"var(--anchor-padding, 0)",t);return{...e,gap:a,offset:s,padding:o}}(r,c),[y,v="center"]=d.split(" ");zw((()=>{p&&s(0)}),[p]);let{refs:b,floatingStyles:x,context:w}=VT({open:p,placement:"selection"===y?"center"===v?"bottom":`bottom-${v}`:"center"===v?`${y}`:`${y}-${v}`,strategy:"absolute",transform:!1,middleware:[wT({mainAxis:"selection"===y?0:f,crossAxis:h}),(C={padding:m},{...dT(C),options:[C,A]}),"selection"!==y&&ET({padding:m}),"selection"===y&&g?(S={...g,padding:m,overflowRef:l,offset:a,minItemsVisible:4,referenceOverflowThreshold:m,onFallbackChange(e){var t,r;if(!e)return;let n=w.elements.floating;if(!n)return;let i=parseFloat(getComputedStyle(n).scrollPaddingBottom)||0,a=Math.min(4,n.childElementCount),o=0,l=0;for(let e of null!=(r=null==(t=w.elements.floating)?void 0:t.childNodes)?r:[])if(e instanceof HTMLElement){let t=e.offsetTop,r=t+e.clientHeight+i,s=n.scrollTop,c=s+n.clientHeight;if(!(t>=s&&r<=c)){l=Math.max(0,Math.min(r,c)-Math.max(t,s)),o=e.clientHeight;break}a--}a>=1&&s((e=>{let t=o*a-l+i;return e>=t?e:t}))}},{name:"inner",options:S,async fn(e){const{listRef:t,overflowRef:r,onFallbackChange:n,offset:i=0,index:a=0,minItemsVisible:s=4,referenceOverflowThreshold:l=0,scrollRef:c,...u}=y_(S,e),{rects:p,elements:{floating:d}}=e,f=t.current[a],h=(null==c?void 0:c.current)||d,m=d.clientTop||h.clientTop,g=0!==d.clientTop,y=0!==h.clientTop,v=d===h;if(!f)return{};const b={...e,...await wT(-f.offsetTop-d.clientTop-p.reference.height/2-f.offsetHeight/2-i).fn(e)},x=await Q_(zT(b,h.scrollHeight+m+d.clientTop),u),w=await Q_(b,{...u,elementContext:"reference"}),E=u_(0,x.top),k=b.y+E,C=h.scrollHeight>h.clientHeight?e=>e:p_,A=C(u_(0,h.scrollHeight+(g&&v||y?2*m:0)-E-u_(0,x.bottom)));if(h.style.maxHeight=A+"px",h.scrollTop=E,n){const e=h.offsetHeight<f.offsetHeight*c_(s,t.current.length)-1||w.top>=-l||w.bottom>=-l;o.flushSync((()=>n(e)))}return r&&(r.current=await Q_(zT({...b,y:k},h.offsetHeight+m+d.clientTop),u)),{y:k}}}):null,kT({padding:m,apply({availableWidth:e,availableHeight:t,elements:r}){Object.assign(r.floating.style,{overflow:"auto",maxWidth:`${e}px`,maxHeight:`min(var(--anchor-max-height, 100vh), ${t}px)`})}})].filter(Boolean),whileElementsMounted:pT}),[E=y,k=v]=w.placement.split("-");var S,C,A;"selection"===y&&(E="selection");let P=(0,i.useMemo)((()=>({anchor:[E,k].filter(Boolean).join(" ")})),[E,k]),_=function(e,t){const{open:r,elements:n}=e,{enabled:a=!0,overflowRef:s,scrollRef:l,onChange:c}=t,u=AT(c),p=i.useRef(!1),d=i.useRef(null),f=i.useRef(null);i.useEffect((()=>{if(!a)return;function e(e){if(e.ctrlKey||!t||null==s.current)return;const r=e.deltaY,n=s.current.top>=-.5,i=s.current.bottom>=-.5,a=t.scrollHeight-t.clientHeight,l=r<0?-1:1,c=r<0?"max":"min";t.scrollHeight<=t.clientHeight||(!n&&r>0||!i&&r<0?(e.preventDefault(),o.flushSync((()=>{u((e=>e+Math[c](r,a*l)))}))):/firefox/i.test(function(){const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?e.brands.map((e=>{let{brand:t,version:r}=e;return t+"/"+r})).join(" "):navigator.userAgent}())&&(t.scrollTop+=r))}const t=(null==l?void 0:l.current)||n.floating;return r&&t?(t.addEventListener("wheel",e),requestAnimationFrame((()=>{d.current=t.scrollTop,null!=s.current&&(f.current={...s.current})})),()=>{d.current=null,f.current=null,t.removeEventListener("wheel",e)}):void 0}),[a,r,n.floating,s,l,u]);const h=i.useMemo((()=>({onKeyDown(){p.current=!0},onWheel(){p.current=!1},onPointerMove(){p.current=!1},onScroll(){const e=(null==l?void 0:l.current)||n.floating;if(s.current&&e&&p.current){if(null!==d.current){const t=e.scrollTop-d.current;(s.current.bottom<-.5&&t<-1||s.current.top<-.5&&t>1)&&o.flushSync((()=>u((e=>e+t))))}requestAnimationFrame((()=>{d.current=e.scrollTop}))}}})),[n.floating,u,s,l]);return i.useMemo((()=>a?{floating:h}:{}),[a,h])}(w,{overflowRef:l,onChange:s}),{getReferenceProps:T,getFloatingProps:I}=function(e){void 0===e&&(e=[]);const t=e.map((e=>null==e?void 0:e.reference)),r=e.map((e=>null==e?void 0:e.floating)),n=e.map((e=>null==e?void 0:e.item)),a=i.useCallback((t=>jT(t,e,"reference")),t),s=i.useCallback((t=>jT(t,e,"floating")),r),o=i.useCallback((t=>jT(t,e,"item")),n);return i.useMemo((()=>({getReferenceProps:a,getFloatingProps:s,getItemProps:o})),[a,s,o])}([_]),F=Gw((e=>{u(e),b.setFloating(e)}));return i.createElement(GT.Provider,{value:n},i.createElement(HT.Provider,{value:{setFloating:F,setReference:b.setReference,styles:x,getReferenceProps:T,getFloatingProps:I,slot:P}},e))}function qT(e,t,r=void 0){let n=Kw(),a=Gw(((e,t)=>{if(null==e)return[r,null];if("number"==typeof e)return[e,null];if("string"==typeof e){if(!t)return[r,null];let i=XT(e,t);return[i,r=>{let a=UT(e);{let s=a.map((e=>window.getComputedStyle(t).getPropertyValue(e)));n.requestAnimationFrame((function o(){n.nextFrame(o);let l=!1;for(let[e,r]of a.entries()){let n=window.getComputedStyle(t).getPropertyValue(r);if(s[e]!==n){s[e]=n,l=!0;break}}if(!l)return;let c=XT(e,t);i!==c&&(r(c),i=c)}))}return n.dispose}]}return[r,null]})),s=(0,i.useMemo)((()=>a(e,t)[0]),[e,t]),[o=s,l]=(0,i.useState)();return zw((()=>{let[r,n]=a(e,t);if(l(r),n)return n(l)}),[e,t]),o}function UT(e){let t=/var\((.*)\)/.exec(e);if(t){let e=t[1].indexOf(",");if(-1===e)return[t[1]];let r=t[1].slice(0,e).trim(),n=t[1].slice(e+1).trim();return n?[r,...UT(n)]:[r]}return[]}function XT(e,t){let r=document.createElement("div");t.appendChild(r),r.style.setProperty("margin-top","0px","important"),r.style.setProperty("margin-top",e,"important");let n=parseFloat(window.getComputedStyle(r).marginTop)||0;return t.removeChild(r),n}var QT,$T=((QT=$T||{})[QT.First=0]="First",QT[QT.Previous=1]="Previous",QT[QT.Next=2]="Next",QT[QT.Last=3]="Last",QT[QT.Specific=4]="Specific",QT[QT.Nothing=5]="Nothing",QT);function JT(e,t){let r=t.resolveItems();if(r.length<=0)return null;let n=t.resolveActiveIndex(),i=null!=n?n:-1;switch(e.focus){case 0:for(let e=0;e<r.length;++e)if(!t.resolveDisabled(r[e],e,r))return e;return n;case 1:-1===i&&(i=r.length);for(let e=i-1;e>=0;--e)if(!t.resolveDisabled(r[e],e,r))return e;return n;case 2:for(let e=i+1;e<r.length;++e)if(!t.resolveDisabled(r[e],e,r))return e;return n;case 3:for(let e=r.length-1;e>=0;--e)if(!t.resolveDisabled(r[e],e,r))return e;return n;case 4:for(let n=0;n<r.length;++n)if(t.resolveId(r[n],n,r)===e.id)return n;return n;case 5:return null;default:!function(e){throw new Error("Unexpected object: "+e)}(e)}}var YT=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(YT||{}),ZT=(e=>(e[e.Pointer=0]="Pointer",e[e.Other=1]="Other",e))(ZT||{}),KT=(e=>(e[e.OpenMenu=0]="OpenMenu",e[e.CloseMenu=1]="CloseMenu",e[e.GoToItem=2]="GoToItem",e[e.Search=3]="Search",e[e.ClearSearch=4]="ClearSearch",e[e.RegisterItem=5]="RegisterItem",e[e.UnregisterItem=6]="UnregisterItem",e[e.SetButtonElement=7]="SetButtonElement",e[e.SetItemsElement=8]="SetItemsElement",e))(KT||{});function eI(e,t=(e=>e)){let r=null!==e.activeItemIndex?e.items[e.activeItemIndex]:null,n=WE(t(e.items.slice()),(e=>e.dataRef.current.domRef.current)),i=r?n.indexOf(r):null;return-1===i&&(i=null),{items:n,activeItemIndex:i}}let tI={1:e=>1===e.menuState?e:{...e,activeItemIndex:null,menuState:1},0:e=>0===e.menuState?e:{...e,__demoMode:!1,menuState:0},2:(e,t)=>{var r,n,i,a,s;if(1===e.menuState)return e;let o={...e,searchQuery:"",activationTrigger:null!=(r=t.trigger)?r:1,__demoMode:!1};if(t.focus===$T.Nothing)return{...o,activeItemIndex:null};if(t.focus===$T.Specific)return{...o,activeItemIndex:e.items.findIndex((e=>e.id===t.id))};if(t.focus===$T.Previous){let r=e.activeItemIndex;if(null!==r){let a=e.items[r].dataRef.current.domRef,s=JT(t,{resolveItems:()=>e.items,resolveActiveIndex:()=>e.activeItemIndex,resolveId:e=>e.id,resolveDisabled:e=>e.dataRef.current.disabled});if(null!==s){let t=e.items[s].dataRef.current.domRef;if((null==(n=a.current)?void 0:n.previousElementSibling)===t.current||null===(null==(i=t.current)?void 0:i.previousElementSibling))return{...o,activeItemIndex:s}}}}else if(t.focus===$T.Next){let r=e.activeItemIndex;if(null!==r){let n=e.items[r].dataRef.current.domRef,i=JT(t,{resolveItems:()=>e.items,resolveActiveIndex:()=>e.activeItemIndex,resolveId:e=>e.id,resolveDisabled:e=>e.dataRef.current.disabled});if(null!==i){let t=e.items[i].dataRef.current.domRef;if((null==(a=n.current)?void 0:a.nextElementSibling)===t.current||null===(null==(s=t.current)?void 0:s.nextElementSibling))return{...o,activeItemIndex:i}}}}let l=eI(e),c=JT(t,{resolveItems:()=>l.items,resolveActiveIndex:()=>l.activeItemIndex,resolveId:e=>e.id,resolveDisabled:e=>e.dataRef.current.disabled});return{...o,...l,activeItemIndex:c}},3:(e,t)=>{let r=""!==e.searchQuery?0:1,n=e.searchQuery+t.value.toLowerCase(),i=(null!==e.activeItemIndex?e.items.slice(e.activeItemIndex+r).concat(e.items.slice(0,e.activeItemIndex+r)):e.items).find((e=>{var t;return(null==(t=e.dataRef.current.textValue)?void 0:t.startsWith(n))&&!e.dataRef.current.disabled})),a=i?e.items.indexOf(i):-1;return-1===a||a===e.activeItemIndex?{...e,searchQuery:n}:{...e,searchQuery:n,activeItemIndex:a,activationTrigger:1}},4:e=>""===e.searchQuery?e:{...e,searchQuery:"",searchActiveItemIndex:null},5:(e,t)=>{let r=eI(e,(e=>[...e,{id:t.id,dataRef:t.dataRef}]));return{...e,...r}},6:(e,t)=>{let r=eI(e,(e=>{let r=e.findIndex((e=>e.id===t.id));return-1!==r&&e.splice(r,1),e}));return{...e,...r,activationTrigger:1}},7:(e,t)=>e.buttonElement===t.element?e:{...e,buttonElement:t.element},8:(e,t)=>e.itemsElement===t.element?e:{...e,itemsElement:t.element}},rI=(0,i.createContext)(null);function nI(e){let t=(0,i.useContext)(rI);if(null===t){let t=new Error(`<${e} /> is missing a parent <Menu /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,nI),t}return t}function iI(e,t){return aE(t.type,tI,e,t)}rI.displayName="MenuContext";let aI=i.Fragment,sI=oE.RenderStrategy|oE.Static,oI=i.Fragment,lI=hE((function(e,t){let{__demoMode:r=!1,...n}=e,a=(0,i.useReducer)(iI,{__demoMode:r,menuState:r?0:1,buttonElement:null,itemsElement:null,items:[],searchQuery:"",activeItemIndex:null,activationTrigger:1}),[{menuState:s,itemsElement:o,buttonElement:l},c]=a,u=Xw(t);YA(0===s,[l,o],((e,t)=>{c({type:1}),BE(t,NE.Loose)||(e.preventDefault(),null==l||l.focus())}));let p=Gw((()=>{c({type:1})})),d=(0,i.useMemo)((()=>({open:0===s,close:p})),[s,p]),f={ref:u},h=cE();return i.createElement(WT,null,i.createElement(rI.Provider,{value:a},i.createElement(kA,{value:aE(s,{0:wA.Open,1:wA.Closed})},h({ourProps:f,theirProps:n,slot:d,defaultTag:aI,name:"Menu"}))))})),cI=hE((function(e,t){var r;let n=(0,i.useId)(),{id:a=`headlessui-menu-button-${n}`,disabled:s=!1,autoFocus:l=!1,...c}=e,[u,p]=nI("Menu.Button"),d=(0,i.useContext)(HT).getReferenceProps,f=Xw(t,(0,i.useContext)(HT).setReference,Gw((e=>p({type:7,element:e})))),h=Gw((e=>{switch(e.key){case ZE.Space:case ZE.Enter:case ZE.ArrowDown:e.preventDefault(),e.stopPropagation(),(0,o.flushSync)((()=>p({type:0}))),p({type:2,focus:$T.First});break;case ZE.ArrowUp:e.preventDefault(),e.stopPropagation(),(0,o.flushSync)((()=>p({type:0}))),p({type:2,focus:$T.Last})}})),m=Gw((e=>{e.key===ZE.Space&&e.preventDefault()})),g=Gw((e=>{var t;if(_E(e.currentTarget))return e.preventDefault();s||(0===u.menuState?((0,o.flushSync)((()=>p({type:1}))),null==(t=u.buttonElement)||t.focus({preventScroll:!0})):(e.preventDefault(),p({type:0})))})),{isFocusVisible:y,focusProps:v}=Tw({autoFocus:l}),{isHovered:b,hoverProps:x}=Lw({isDisabled:s}),{pressed:w,pressProps:E}=WC({disabled:s}),k=(0,i.useMemo)((()=>({open:0===u.menuState,active:w||0===u.menuState,disabled:s,hover:b,focus:y,autofocus:l})),[u,b,y,w,s,l]),S=fE(d(),{ref:f,id:a,type:qC(e,u.buttonElement),"aria-haspopup":"menu","aria-controls":null==(r=u.itemsElement)?void 0:r.id,"aria-expanded":0===u.menuState,disabled:s||void 0,autoFocus:l,onKeyDown:h,onKeyUp:m,onClick:g},v,x,E);return cE()({ourProps:S,theirProps:c,slot:k,defaultTag:"button",name:"Menu.Button"})})),uI=hE((function(e,t){var r,n;let a=(0,i.useId)(),{id:s=`headlessui-menu-items-${a}`,anchor:l,portal:c=!1,modal:u=!0,transition:p=!1,...d}=e,f=function(e){return(0,i.useMemo)((()=>e?"string"==typeof e?{to:e}:e:null),[e])}(l),[h,m]=nI("Menu.Items"),[g,y]=function(e=null){!1===e&&(e=null),"string"==typeof e&&(e={to:e});let t=(0,i.useContext)(GT),r=(0,i.useMemo)((()=>e),[JSON.stringify(e,((e,t)=>{var r;return null!=(r=null==t?void 0:t.outerHTML)?r:t}))]);zw((()=>{null==t||t(null!=r?r:null)}),[t,r]);let n=(0,i.useContext)(HT);return(0,i.useMemo)((()=>[n.setFloating,e?n.styles:{}]),[n.setFloating,e,n.styles])}(f),v=function(){let{getFloatingProps:e,slot:t}=(0,i.useContext)(HT);return(0,i.useCallback)(((...r)=>Object.assign({},e(...r),{"data-anchor":t.anchor})),[e,t])}(),[b,x]=(0,i.useState)(null),w=Xw(t,f?g:null,Gw((e=>m({type:8,element:e}))),x),E=ZA(h.itemsElement);f&&(c=!0);let k=EA(),[S,C]=bA(p,b,null!==k?(k&wA.Open)===wA.Open:0===h.menuState);XA(S,h.buttonElement,(()=>{m({type:1})})),aP(!h.__demoMode&&u&&0===h.menuState,E),UA(!h.__demoMode&&u&&0===h.menuState,{allowed:(0,i.useCallback)((()=>[h.buttonElement,h.itemsElement]),[h.buttonElement,h.itemsElement])});let A=!function(e,t){let r=(0,i.useRef)({left:0,top:0});if(zw((()=>{if(!t)return;let e=t.getBoundingClientRect();e&&(r.current=e)}),[e,t]),null==t||!e||t===document.activeElement)return!1;let n=t.getBoundingClientRect();return n.top!==r.current.top||n.left!==r.current.left}(0!==h.menuState,h.buttonElement)&&S;(0,i.useEffect)((()=>{let e=h.itemsElement;e&&0===h.menuState&&e!==(null==E?void 0:E.activeElement)&&e.focus({preventScroll:!0})}),[h.menuState,h.itemsElement,E]),function(e,{container:t,accept:r,walk:n}){let a=(0,i.useRef)(r),s=(0,i.useRef)(n);(0,i.useEffect)((()=>{a.current=r,s.current=n}),[r,n]),zw((()=>{if(!t||!e)return;let r=TE(t);if(!r)return;let n=a.current,i=s.current,o=Object.assign((e=>n(e)),{acceptNode:n}),l=r.createTreeWalker(t,NodeFilter.SHOW_ELEMENT,o,!1);for(;l.nextNode();)i(l.currentNode)}),[t,e,a,s])}(0===h.menuState,{container:h.itemsElement,accept:e=>"menuitem"===e.getAttribute("role")?NodeFilter.FILTER_REJECT:e.hasAttribute("role")?NodeFilter.FILTER_SKIP:NodeFilter.FILTER_ACCEPT,walk(e){e.setAttribute("role","none")}});let P=Kw(),_=Gw((e=>{var t,r,n;switch(P.dispose(),e.key){case ZE.Space:if(""!==h.searchQuery)return e.preventDefault(),e.stopPropagation(),m({type:3,value:e.key});case ZE.Enter:if(e.preventDefault(),e.stopPropagation(),m({type:1}),null!==h.activeItemIndex){let{dataRef:e}=h.items[h.activeItemIndex];null==(r=null==(t=e.current)?void 0:t.domRef.current)||r.click()}jE(h.buttonElement);break;case ZE.ArrowDown:return e.preventDefault(),e.stopPropagation(),m({type:2,focus:$T.Next});case ZE.ArrowUp:return e.preventDefault(),e.stopPropagation(),m({type:2,focus:$T.Previous});case ZE.Home:case ZE.PageUp:return e.preventDefault(),e.stopPropagation(),m({type:2,focus:$T.First});case ZE.End:case ZE.PageDown:return e.preventDefault(),e.stopPropagation(),m({type:2,focus:$T.Last});case ZE.Escape:e.preventDefault(),e.stopPropagation(),(0,o.flushSync)((()=>m({type:1}))),null==(n=h.buttonElement)||n.focus({preventScroll:!0});break;case ZE.Tab:e.preventDefault(),e.stopPropagation(),(0,o.flushSync)((()=>m({type:1}))),function(e,t){qE(VE(),t,{relativeTo:e})}(h.buttonElement,e.shiftKey?RE.Previous:RE.Next);break;default:1===e.key.length&&(m({type:3,value:e.key}),P.setTimeout((()=>m({type:4})),350))}})),T=Gw((e=>{e.key===ZE.Space&&e.preventDefault()})),I=(0,i.useMemo)((()=>({open:0===h.menuState})),[h.menuState]),F=fE(f?v():{},{"aria-activedescendant":null===h.activeItemIndex||null==(r=h.items[h.activeItemIndex])?void 0:r.id,"aria-labelledby":null==(n=h.buttonElement)?void 0:n.id,id:s,onKeyDown:_,onKeyUp:T,role:"menu",tabIndex:0===h.menuState?0:void 0,ref:w,style:{...d.style,...y,"--button-width":a_(h.buttonElement,!0).width},...vA(C)}),M=cE();return i.createElement(AP,{enabled:!!c&&(e.static||S)},M({ourProps:F,theirProps:d,slot:I,defaultTag:"div",features:sI,visible:A,name:"Menu.Items"}))})),pI=hE((function(e,t){let r=(0,i.useId)(),{id:n=`headlessui-menu-item-${r}`,disabled:a=!1,...s}=e,[o,l]=nI("Menu.Item"),c=null!==o.activeItemIndex&&o.items[o.activeItemIndex].id===n,u=(0,i.useRef)(null),p=Xw(t,u);zw((()=>{if(!o.__demoMode&&0===o.menuState&&c&&0!==o.activationTrigger)return Zw().requestAnimationFrame((()=>{var e,t;null==(t=null==(e=u.current)?void 0:e.scrollIntoView)||t.call(e,{block:"nearest"})}))}),[o.__demoMode,u,c,o.menuState,o.activationTrigger,o.activeItemIndex]);let d=function(e){let t=(0,i.useRef)(""),r=(0,i.useRef)("");return Gw((()=>{let n=e.current;if(!n)return"";let i=n.innerText;if(t.current===i)return r.current;let a=function(e){let t=e.getAttribute("aria-label");if("string"==typeof t)return t.trim();let r=e.getAttribute("aria-labelledby");if(r){let e=r.split(" ").map((e=>{let t=document.getElementById(e);if(t){let e=t.getAttribute("aria-label");return"string"==typeof e?e.trim():o_(t).trim()}return null})).filter(Boolean);if(e.length>0)return e.join(", ")}return o_(e).trim()}(n).trim().toLowerCase();return t.current=i,r.current=a,a}))}(u),f=(0,i.useRef)({disabled:a,domRef:u,get textValue(){return d()}});zw((()=>{f.current.disabled=a}),[f,a]),zw((()=>(l({type:5,id:n,dataRef:f}),()=>l({type:6,id:n}))),[f,n]);let h=Gw((()=>{l({type:1})})),m=Gw((e=>{if(a)return e.preventDefault();l({type:1}),jE(o.buttonElement)})),g=Gw((()=>{if(a)return l({type:2,focus:$T.Nothing});l({type:2,focus:$T.Specific,id:n})})),y=function(){let e=(0,i.useRef)([-1,-1]);return{wasMoved(t){let r=l_(t);return(e.current[0]!==r[0]||e.current[1]!==r[1])&&(e.current=r,!0)},update(t){e.current=l_(t)}}}(),v=Gw((e=>{y.update(e),!a&&(c||l({type:2,focus:$T.Specific,id:n,trigger:0}))})),b=Gw((e=>{y.wasMoved(e)&&(a||c||l({type:2,focus:$T.Specific,id:n,trigger:0}))})),x=Gw((e=>{y.wasMoved(e)&&(a||c&&l({type:2,focus:$T.Nothing}))})),[w,E]=rk(),[k,S]=$E(),C=(0,i.useMemo)((()=>({active:c,focus:c,disabled:a,close:h})),[c,a,h]),A={id:n,ref:p,role:"menuitem",tabIndex:!0===a?void 0:-1,"aria-disabled":!0===a||void 0,"aria-labelledby":w,"aria-describedby":k,disabled:void 0,onClick:m,onFocus:g,onPointerEnter:v,onMouseEnter:v,onPointerMove:b,onMouseMove:b,onPointerLeave:x,onMouseLeave:x},P=cE();return i.createElement(E,null,i.createElement(S,null,P({ourProps:A,theirProps:s,slot:C,defaultTag:oI,name:"Menu.Item"})))})),dI=hE((function(e,t){let[r,n]=rk(),a=e,s={ref:t,"aria-labelledby":r,role:"group"},o=cE();return i.createElement(n,null,o({ourProps:s,theirProps:a,slot:{},defaultTag:"div",name:"Menu.Section"}))})),fI=hE((function(e,t){let r=(0,i.useId)(),{id:n=`headlessui-menu-heading-${r}`,...a}=e,s=ek();zw((()=>s.register(n)),[n,s.register]);let o={id:n,ref:t,role:"presentation",...s.props};return cE()({ourProps:o,theirProps:a,slot:{},defaultTag:"header",name:"Menu.Heading"})})),hI=hE((function(e,t){let r=e,n={ref:t,role:"separator"};return cE()({ourProps:n,theirProps:r,slot:{},defaultTag:"div",name:"Menu.Separator"})})),mI=Object.assign(lI,{Button:cI,Items:uI,Item:pI,Section:dI,Heading:fI,Separator:hI});const gI=({placement:e="right",width:t="w-48",contentClassName:r="py-1 bg-white",trigger:n,offset:a=[0,0],children:s,disabled:o=!1,mainClassName:l=""})=>{let c="bottom-end";switch(e){case"left":c="bottom-start";break;case"right":default:c="bottom-end";break;case"top-start":c="top-start"}const[u,p]=(e=>{const t=(0,nc.useRef)(null),r=(0,nc.useRef)(null),n=(0,nc.useRef)((()=>{})),i=(0,nc.useCallback)((()=>{t.current&&r.current&&(n.current&&n.current(),n.current=Ku(t.current,r.current,e).destroy)}),[t,r,n,e]);return(0,nc.useMemo)((()=>[e=>{t.current=e,i()},e=>{r.current=e,i()}]),[t,r,i])})({placement:c,strategy:"fixed",modifiers:[{name:"offset",options:{offset:a}}]});switch(t?.toString()){case"48":t="w-48";break;case"60":t="w-60";break;case"72.5":t="w-[18.25rem]";break;case"80":t="w-80";break;default:t=t||"w-48"}return(0,i.createElement)(mI,{as:"div",className:`relative ${l}`},(({open:e})=>(0,i.createElement)(nc.Fragment,null,(0,i.createElement)(mI.Button,{ref:u,as:nc.Fragment,disabled:o},n),(0,i.createElement)("div",{ref:p,className:"z-50"},(0,i.createElement)(OA,{show:e,as:nc.Fragment,enter:"transition ease-out duration-200",enterFrom:"transform opacity-0 scale-95",enterTo:"transform opacity-100 scale-100",leave:"transition ease-in duration-75",leaveFrom:"transform opacity-100 scale-100",leaveTo:"transform opacity-0 scale-95"},(0,i.createElement)("div",{className:`my-2 ${t} rounded-md shadow-lg`},(0,i.createElement)(mI.Items,{className:`rounded-md focus:outline-none ring-1 ring-black ring-opacity-5 ${r}`},s)))))))};gI.Item=mI.Item;const yI=gI,{imageDir:vI}=starterTemplates,bI={heart:WP,"squares-plus":qP,funnel:UP,"play-circle":XP,"live-chat":QP,"page-builder":$P,"contact-form":JP,blog:YP,ecommerce:ZP},xI=e=>{switch(e){case"surecart":return{icon:(0,i.createElement)("img",{src:`${vI}surecart-icon.svg`,alt:"SureCart",className:"w-5 h-5"}),title:"SureCart"};case"woocommerce":return{icon:(0,i.createElement)("img",{src:`${vI}woocommerce-icon.svg`,alt:"WooCommerce",className:"w-5 h-5"}),title:"WooCommerce"};default:return{icon:(0,i.createElement)(ZP,{className:"w-5 h-5"}),title:"Ecommerce"}}},wI=({ecomSupported:e,selectedEcom:t,onChange:r,disabled:n,dispatch:a})=>{const[s,o]=(0,i.useState)(!1);return(0,i.createElement)("div",{className:"bg-[#F6FAFE] z-50 py-1 px-2 shadow-sm rounded-md items-center justify-center w-fit"},(0,i.createElement)(yI,{width:"w-36",trigger:(0,i.createElement)("div",{className:"flex items-center cursor-pointer gap-1.5",onClick:e=>{n||(e.stopPropagation(),o(!s))}},(0,i.createElement)("div",{className:"flex items-center"},xI(t).icon,(0,i.createElement)("div",{className:"ml-2"},(0,i.createElement)("p",{className:"!text-xs leading-3 text-app-text"},xI(t).title))),!n&&(0,i.createElement)(bc,{className:ho("w-3 h-3 text-app-active-icon",s?"transform rotate-180":"")})),onOpenChange:o,disabled:n},!n&&(0,i.createElement)("div",{className:"py-0.5 px-2 mx-auto bg-white rounded-md"},e.map(((e,t)=>{const{icon:s,title:l}=xI(e);return(0,i.createElement)(yI.Item,{key:t,onClick:t=>((e,t)=>{n||(t.stopPropagation(),r(e),a({type:"set",selectedEcommercePlugin:e}),o(!1))})(e,t),className:ho("flex items-center px-2 py-1 rounded-md cursor-pointer","hover:bg-container-background hover:bg-opacity-100")},(0,i.createElement)("div",{className:"flex items-center"},s,(0,i.createElement)("div",{className:"ml-2"},(0,i.createElement)("p",{className:"!text-xs leading-5 text-app-text"},l))))})))))},EI=()=>{const[{requiredPlugins:e,siteFeatures:t,currentIndex:r,selectedTemplateID:n,isEcommerce:a,selectedEcommercePlugin:s},o]=fs(),l=fs(),[c,u]=(0,i.useState)(),[p,d]=(0,i.useState)(["surecart","woocommerce"]);return(0,i.useEffect)((()=>{if(a){const r=[...e?.required_plugins?.active?.map((e=>e.slug))||[],...e?.required_plugins?.inactive?.map((e=>e.slug))||[],...e?.required_plugins?.notinstalled?.map((e=>e.slug))||[]];d(["surecart","woocommerce"]),c&&c===s||(r?.includes("surecart")?u("surecart"):u("woocommerce"));const n=t.map((e=>"ecommerce"===e.id?{...e,compulsory:!0,enabled:!0}:e));o({type:"set",siteFeatures:n})}else{d(["surecart","woocommerce"]),u(c||"surecart");const e=t.map((e=>"ecommerce"===e.id?{...e,compulsory:!1}:e));o({type:"set",siteFeatures:e})}}),[n,a,s]),(0,i.createElement)(r_,{className:"grid grid-cols-1 gap-8 auto-rows-auto !max-w-[55rem] w-full mx-auto"},(0,i.createElement)("div",{className:"space-y-4 text-left"},(0,i.createElement)("div",{className:"space-y-3"},(0,i.createElement)("div",{className:"text-heading-text !text-[1.75rem] font-semibold leading-9"},(0,wn.__)("Select features","astra-sites")),(0,i.createElement)("p",{className:"text-body-text !text-base font-normal leading-6"},(0,wn.__)("Select the features you want on this website","astra-sites")))),(0,i.createElement)("div",{className:"grid grid-cols-1 lg:grid-cols-2 auto-rows-auto gap-x-8 gap-y-5 w-full"},t.map((e=>{const r="ecommerce"===e.id,n=bI?.[e?.icon]||KP;return(0,i.createElement)("div",{key:e?.id,className:ho("relative py-4 pl-4 pr-5 rounded-md shadow-sm border border-solid bg-white border-button-disabled transition-colors duration-150 ease-in-out",e?.enabled&&"border-classic-button","cursor-pointer")},(0,i.createElement)("div",{className:"!flex !items-start !w-full"},(0,i.createElement)(n,{className:"w-8 h-8 text-app-active-icon"}),(0,i.createElement)("div",{className:"!ml-3 !w-full text-left"},(0,i.createElement)("p",{className:"!text-md !mb-1 !text-base !font-semibold !leading-6"},e?.title),(0,i.createElement)("div",{className:"flex justify-between !items-start !w-full"},(0,i.createElement)("p",{className:"text-app-body-text text-sm font-normal leading-5 w-full"},e?.description),r&&(0,i.createElement)(wI,{ecomSupported:p,selectedEcom:c,onChange:u,dispatch:o})))),(0,i.createElement)("span",{className:ho("inline-flex absolute top-4 right-4 p-[0.1875rem] border border-solid border-zip-app-inactive-icon rounded",e?.enabled&&"border-classic-button bg-classic-button",e?.compulsory&&"border-button-disabled bg-button-disabled")},(0,i.createElement)(e_,{className:"w-2.5 h-2.5 text-white",strokeWidth:4})),!e?.compulsory&&(0,i.createElement)("div",{className:"absolute inset-0 cursor-pointer",onClick:(a=e?.id,()=>{const e=t.map((e=>e.compulsory?e:e.id===a?{...e,enabled:!e.enabled}:e));o({type:"set",siteFeatures:e})})}));var a}))),(0,i.createElement)("div",{className:"flex justify-between items-center mt-2"},(0,i.createElement)("div",{className:"flex gap-4 max-md:flex-col flex-1"},(0,i.createElement)(i_,{variant:"primary",className:"!bg-classic-button border border-solid border-classic-button flex gap-2 items-center h-11 text-[15px] leading-[15px]",onClick:async()=>{o({type:"set",currentIndex:r+1});const e=t.filter((e=>e.enabled)).map((e=>e.id));o({type:"set",enabledFeatureIds:e}),l[0].enabledFeatureIds=e,l[0].selectedEcommercePlugin=c,await cc(l)}},(0,i.createElement)("span",null,(0,wn.__)("Continue","astra-sites")),(0,i.createElement)(t_,{className:"w-4 h-4 !fill-none"})),(0,i.createElement)("div",{className:"flex justify-between items-center w-full"},(0,i.createElement)(i_,{variant:"blank",className:"!bg-transparent !text-classic-button border border-solid border-classic-button px-4 py-2 rounded inline-flex items-center justify-center h-11 text-[15px] leading-[15px]",onClick:()=>o({type:"set",currentIndex:r-1})},(0,wn.__)("Back","astra-sites")),(0,i.createElement)("a",{className:"text-zip-body-text no-underline text-base font-normal cursor-pointer",onClick:()=>{o({type:"set",currentIndex:r+1})}},(0,wn.__)("Skip this step","astra-sites"))))))},{imageDir:kI,isBrizyEnabled:SI,isElementorDisabled:CI}=starterTemplates,AI=[{name:"page-builder",header:(0,i.createElement)(Jx,null),content:(0,i.createElement)((()=>{const[{builder:e,currentIndex:t,limitExceedModal:r},n]=fs(),a=astraSitesVars?.zip_plans,s=a?.plan_data?.remaining,o=s?.ai_sites_count;(0,i.useEffect)((()=>{const e=localStorage.getItem("st-import-start"),t=localStorage.getItem("st-import-end");(e||t)&&(localStorage.removeItem("st-import-start"),localStorage.removeItem("st-import-end"))}));const l=(e,t)=>{37===(e=e||window.event).keyCode?e.target.previousSibling&&e.target.previousSibling.focus():39===e.keyCode?e.target.nextSibling&&e.target.nextSibling.focus():"Enter"===e.key&&t()};(0,i.useEffect)((()=>{new URLSearchParams(window.location.search).get("token")&&n("number"==typeof o&&o<=0?{type:"set",limitExceedModal:{...r,open:!0}}:{type:"set",currentIndex:1})}),[]);const c=()=>{if("number"==typeof o&&o<=0)return void n({type:"set",limitExceedModal:{...r,open:!0}});const e=new FormData;e.append("action","astra-sites-change-page-builder"),e.append("_ajax_nonce",astraSitesVars?._ajax_nonce),e.append("page_builder","ai-builder"),fetch(ajaxurl,{method:"post",body:e}),window.location.href=astraSitesVars?.adminURL+"themes.php?page=ai-builder"};(0,i.useEffect)((()=>{t===go("page-builder")&&"fse"!==e&&n({type:"set",builder:"ai-builder"})}),[]);const u=GP?"md:grid-cols-2":"md:grid-cols-1";return(0,i.createElement)(vo,{content:(0,i.createElement)("div",{className:"flex-1 flex flex-col justify-center items-center pb-14 sm:pb-10 lg:pb-0"},(0,i.createElement)("div",{className:"w-full flex justify-center"},(0,i.createElement)("h1",{className:"w-[390px]"},(0,wn.__)("How would you like to build your website?","astra-sites"))),(0,i.createElement)("p",{className:"screen-description"}),(0,i.createElement)("div",{className:`max-w-full lg:max-w-[800px] grid grid-cols-1 ${u} place-content-center gap-6 ist-fadeinUp`},(0,i.createElement)("div",{className:"flex-col flex bg-white pt-10 pb-8 px-8 text-left relative rounded-xl shadow-card gradient-border-cover gradient-border-cover-button max-w-[356px]",tabIndex:"0",onKeyDown:e=>l(e,c)},(0,i.createElement)(Cb,{className:"w-12 h-12 text-accent-st-secondary stroke-1"}),(0,i.createElement)("div",{className:"mt-6 text-xl font-semibold leading-7 mb-2.5 text-heading-text"},(0,wn.__)("AI Website Builder","astra-sites")),(0,i.createElement)("div",{className:"zw-sm-normal text-body-text"}," ",(0,wn.__)("Experience the future of website building. We offer AI features powered by ZipWP to help you build your website 10x faster.","astra-sites")," "),(0,i.createElement)("div",{className:"pt-10 mt-auto"},(0,i.createElement)(ps,{className:"w-full h-10",onClick:c},(0,i.createElement)("span",null,(0,wn.__)("Build with AI","astra-sites"))," ",(0,i.createElement)(Sb,{className:"w-5 h-5 ml-2"})))),GP&&(0,i.createElement)("div",{className:"flex-col flex bg-white pt-10 pb-8 px-8 text-left relative rounded-xl max-w-[356px]",tabIndex:"0",onKeyDown:e=>l(e,(()=>{n({type:"set",currentIndex:2})}))},(0,i.createElement)(uA,{className:"w-12 h-12 text-accent-st-secondary stroke-1"}),(0,i.createElement)("div",{className:"mt-6 text-xl font-semibold leading-7 mb-2.5 text-heading-text"},(0,wn.__)("Classic Starter Templates","astra-sites")),(0,i.createElement)("div",{className:"zw-sm-normal text-body-text"}," ",(0,wn.__)("Begin the website-building process with our extensive library of professionally designed templates tailored to meet your requirements.","astra-sites")," "),(0,i.createElement)("div",{className:"pt-10 mt-auto"},(0,i.createElement)(ps,{className:"w-full h-10",type:"secondary",onClick:()=>{n({type:"set",builder:"ai-builder"===e?"gutenberg":e,currentIndex:"fse"===e?2:1}),(e=>{try{if("undefined"==typeof window)return;localStorage.removeItem("st-scroll-position")}catch(e){console.error("Error while removing localStorage:",e)}})()}},(0,i.createElement)("span",null,(0,wn.__)("Build with Templates","astra-sites"))," ",(0,i.createElement)(Sb,{className:"w-5 h-5 ml-2"}))))),(0,i.createElement)(HP,{onOpenChange:()=>{if(new URLSearchParams(window.location.search).get("token")){const e=(0,bo.removeQueryArgs)(window.location.href,"token","email","action","credit_token");window.location=e}}}),(0,i.createElement)("button",{className:"mx-auto flex items-center justify-center gap-2 mt-10 border-0 bg-transparent focus:outline-none text-zip-body-text text-sm font-normal cursor-pointer",onClick:()=>window.open(starterTemplates.adminUrl,"_self")},(0,i.createElement)(pA,{className:"w-5 h-5"}),(0,i.createElement)("span",null,(0,wn.__)("Exit to Dashboard","astra-sites")))),actions:(0,i.createElement)(i.Fragment,null,(0,i.createElement)(hs,{before:!0,customizeStep:!0,onClick:()=>{window.location.href=starterTemplates.adminUrl}},(0,wn.__)("Back","astra-sites")))})}),null),class:"step-page-builder"},{name:"classic-page-builder",header:(0,i.createElement)(Jx,null),content:(0,i.createElement)((()=>{const[{currentIndex:e},t]=fs();(0,i.useEffect)((()=>{const e=localStorage.getItem("st-import-start"),t=localStorage.getItem("st-import-end");(e||t)&&(localStorage.removeItem("st-import-start"),localStorage.removeItem("st-import-end"))}));const r=r=>{const n=new FormData;n.append("action","astra-sites-change-page-builder"),n.append("_ajax_nonce",astraSitesVars?._ajax_nonce),n.append("page_builder",r),fetch(ajaxurl,{method:"post",body:n}),t({type:"set",builder:r,currentIndex:e+1})},n=(e,t)=>{37===(e=e||window.event).keyCode?e.target.previousSibling&&e.target.previousSibling.focus():39===e.keyCode?e.target.nextSibling&&e.target.nextSibling.focus():"Enter"===e.key&&r(t)};return(0,i.createElement)(vo,{content:(0,i.createElement)("div",{className:"page-builder-screen-wrap"},(0,i.createElement)("h1",null,(0,wn.__)("Select Page Builder","astra-sites")),(0,i.createElement)("p",{className:"screen-description"},(0,wn.__)("Please choose your preferred page builder from the list below.","astra-sites")),(0,i.createElement)("div",{className:"flex items-center justify-center gap-4 max-sm:flex-col max-sm:gap-3"},(0,i.createElement)("div",{className:"page-builder-item d-flex-center-align",onClick:()=>{r("gutenberg")},tabIndex:"0",onKeyDown:e=>n(e,"gutenberg")},(0,i.createElement)("div",{className:"elementor-image-wrap image-wrap"},(0,i.createElement)("img",{src:`${kI}block-editor.svg`,alt:(0,wn.__)("Block Editor","astra-sites")})),(0,i.createElement)("h6",{className:"label-name"},(0,wn.__)("Block Editor","astra-sites"))),""===CI&&(0,i.createElement)("div",{className:"page-builder-item d-flex-center-align",onClick:()=>{r("elementor")},tabIndex:"0",onKeyDown:e=>n(e,"elementor")},(0,i.createElement)("div",{className:"elementor-image-wrap image-wrap"},(0,i.createElement)("img",{src:`${kI}elementor.svg`,alt:(0,wn.__)("Elementor","astra-sites")})),(0,i.createElement)("h6",{className:"label-name"},(0,wn.__)("Elementor","astra-sites"))),(0,i.createElement)("div",{className:"page-builder-item d-flex-center-align",onClick:()=>{r("beaver-builder")},tabIndex:"0",onKeyDown:e=>n(e,"beaver-builder")},(0,i.createElement)("div",{className:"beaver-builder-image-wrap image-wrap"},(0,i.createElement)("img",{src:`${kI}beaver-builder.svg`,alt:(0,wn.__)("Beaver Builder","astra-sites")})),(0,i.createElement)("h6",{className:"label-name"},(0,wn.__)("Beaver Builder","astra-sites"))),"1"===SI&&(0,i.createElement)("div",{className:"page-builder-item d-flex-center-align",onClick:()=>{r("brizy")},tabIndex:"0",onKeyDown:e=>n(e,"brizy")},(0,i.createElement)("div",{className:"brizy-image-wrap image-wrap"},(0,i.createElement)("img",{src:`${kI}brizy.svg`,alt:(0,wn.__)("Brizy","astra-sites")})),(0,i.createElement)("h6",{className:"label-name"},(0,wn.__)("Brizy","astra-sites")))),(0,i.createElement)("div",{className:"mt-10 text-zip-body-text"},(0,i.createElement)(hs,{customizeStep:!0,before:!0,onClick:()=>{t({type:"set",currentIndex:0,builder:"ai-builder"})}},(0,wn.__)("Back","astra-sites"))))})}),null),class:"step-page-builder"},{name:"site-list",header:(0,i.createElement)(Jx,null),content:(0,i.createElement)((()=>{const[e,t]=(0,i.useState)(!0),r=(0,i.useRef)(null),n=Lc(),a=gn(),[s,o]=(0,i.useReducer)(((e,t)=>({...e,...t})),{gridSkeleton:!1,sites:{}}),[l,c]=fs(),{onMyFavorite:u,builder:p,siteSearchTerm:d,siteType:f,siteOrder:h,siteBusinessType:m,selectedMegaMenu:g,allSitesData:y,bgSyncInProgress:v}=l;(0,i.useEffect)((()=>{const e=setTimeout((()=>{t(!1)}),800);return()=>clearTimeout(e)}),[]),(0,i.useEffect)((()=>{c({type:"set",templateResponse:null,selectedTemplateName:"",selectedTemplateType:"",shownRequirementOnce:!1,templateId:0}),o({sites:n})}),[p,f,h,y]),po(l);const b=Object.keys(s.sites).length,x=()=>{const e=document.querySelector(".step-content ");e&&e.scrollTo({top:0,behavior:"smooth"})};(0,i.useEffect)((()=>{const e=setTimeout((()=>{x()}),300);return()=>clearTimeout(e)}),[p]);const w=e=>{const t=e.target;if(!r.current)return;const n=r.current;t.scrollTop>250&&n.classList.contains("hidden")?n.classList.remove("hidden"):t.scrollTop<=250&&!n.classList.contains("hidden")&&n.classList.add("hidden")};(0,i.useEffect)((()=>{(async()=>{try{const e=new FormData;e.append("action","astra-sites-update-library"),e.append("_ajax_nonce",astraSitesVars?._ajax_nonce);const t=await fetch(ajaxurl,{method:"post",body:e});if("updated"===(await t.json()).data&&0!==Object.keys(l.allSitesData).length)return void c({type:"set",bgSyncInProgress:!1});const r=await Mc(),n=await Dc(),i=await Rc();c({type:"set",bgSyncInProgress:!1,allSitesData:r,categories:n,categoriesAndTags:i})}catch(e){console.error(e)}})()}),[]),(0,i.useEffect)((()=>{const e=document.querySelector(".step-content ");if(e)return e.addEventListener("scroll",w),()=>{e.removeEventListener("scroll",w)}}),[]);const E=s.gridSkeleton||v||e;return(0,i.createElement)(vo,{content:(0,i.createElement)(i.Fragment,null,(0,i.createElement)("div",{className:"site-list-screen-container "+(e?"site-loading":"site-loaded")},(0,i.createElement)(rc,null),(0,i.createElement)("div",{className:"site-list-screen-wrap flex flex-col gap-6 mx-auto"},(0,i.createElement)("div",null,(0,i.createElement)("h3",{className:"site-list-title"},(0,wn.__)("What type of website are you building?","astra-sites"))),(0,i.createElement)("div",{className:"site-list-content"},(0,i.createElement)(mc,{setSiteData:o}),(0,i.createElement)("div",{className:"st-templates-content"},(0,i.createElement)("div",{className:"st-other-filters"},(0,i.createElement)("div",{className:"st-category-filter"},(0,i.createElement)(Qr.SiteBusinessType,{parent:m,menu:g,onClick:(e,t,r)=>{c({type:"set",siteBusinessType:t.ID,selectedMegaMenu:r.ID,siteSearchTerm:r.title,onMyFavorite:!1,siteOrder:"popular"});const n=tc("s",r.title);a(`?${n}`)}})),(0,i.createElement)("div",{className:"st-type-and-order-filters"},(0,i.createElement)(Qr.SiteType,{value:f,onClick:(e,t)=>{c({type:"set",siteType:t.id,onMyFavorite:!1})}}),(0,i.createElement)(Qr.SiteOrder,{value:h,onClick:(e,t)=>{c({type:"set",siteOrder:t.id,onMyFavorite:!1,siteBusinessType:"",selectedMegaMenu:"",siteSearchTerm:""});const r=tc("s","");a(`?${r}`)}}))),u?(0,i.createElement)(vc,null):(0,i.createElement)(i.Fragment,null,(!!b||E)&&(0,i.createElement)(i.Fragment,null,(0,i.createElement)("div",{className:"st-sites-grid"},d?(0,i.createElement)("div",{className:"st-sites-found-message"},(0,wn.sprintf)(/* translators: %1$s: search term. */ /* translators: %1$s: search term. */ (0,wn.__)("Starter Templates for %1$s:","astra-sites"),(0,xn.decodeEntities)(d))):null,E?(0,i.createElement)(ic,null):(0,i.createElement)(hc,{sites:s.sites}))),!b&&!E&&(0,i.createElement)(i.Fragment,null,(0,i.createElement)(Qr.NoResultFound,{searchTerm:d}),(0,i.createElement)(yc,{sites:n})))))),(0,i.createElement)("div",{ref:r,className:"hidden absolute right-20 bottom-28 ml-auto"},(0,i.createElement)("button",{type:"button",className:"absolute bottom-0 right-0 z-10 w-8 h-8 rounded-full bg-accent-st-secondary border-0 border-solid text-white flex items-center justify-center shadow-sm cursor-pointer",onClick:x},(0,i.createElement)(bc,{className:"w-5 h-5"}))))),actions:(0,i.createElement)(i.Fragment,null,(0,i.createElement)(hs,{before:!0,onClick:()=>{c({type:"set",siteSearchTerm:"",siteBusinessType:"",currentIndex:"fse"===p?0:1});const e=tc("s");a(`?${e}`)}},(0,wn.__)("Back","astra-sites")),!astraSitesVars?.isPro&&!lo()&&(0,i.createElement)("div",{className:"cta-strip-right"},(0,i.createElement)("h5",null,(0,wn.__)("Get unlimited access to all Premium Starter Templates and more, at a single low cost!","astra-sites")),(0,i.createElement)(ps,{className:"st-access-btn",onClick:()=>window.open(astraSitesVars?.cta_links[p])},(0,wn.__)("Get Essential Toolkit","astra-sites"))))})}),null),class:"step-site-list"},{name:"customizer",content:(0,i.createElement)((()=>{const[{currentCustomizeIndex:e,currentIndex:t,builder:r},n]=fs(),a=qS[e];let s,o;void 0!==a&&(s=a.content,o=a.controls),(0,i.useEffect)((()=>{const t=parseInt(e)-1,r=parseInt(e)+1;r>0&&r<qS.length&&document.body.classList.remove(qS[r].class),t>=0&&document.body.classList.remove(qS[t].class),document.body.classList.add(qS[e].class)}));const l=()=>{if(qS.length-1===e)return null;n("beaver-builder"===r||"brizy"===r?{type:"set",currentIndex:t+1}:{type:"set",currentCustomizeIndex:e+1})},c=()=>{if(0===e)return null;n({type:"set",currentCustomizeIndex:e-1})},u=e=>(e.returnValue=(0,wn.__)("Are you sure you want to cancel the site import process?","astra-sites"),e);return(0,i.useEffect)((()=>(window.addEventListener("beforeunload",u),()=>window.removeEventListener("beforeunload",u)))),(0,i.createElement)(vo,{stepName:qS[e].class,content:(0,i.createElement)(s,{customizeStep:!0,onNextClick:l,onPreviousClick:c}),controls:o&&(0,i.createElement)(o,{customizeStep:!0,onNextClick:l,onPreviousClick:c}),actions:null,preview:(0,i.createElement)(ec,null)})}),null),class:"step-customizer"},{name:"features",content:(0,i.createElement)((()=>(0,i.createElement)(vo,{content:(0,i.createElement)("div",{className:"features-container"},EI())})),null),class:"step-feature"},{name:"survey",content:(0,i.createElement)((()=>{const e=fs(),[{currentIndex:t,builder:r,requiredPlugins:n,analyticsFlag:a,shownRequirementOnce:s,pluginInstallationAttempts:o,fileSystemPermissions:l,formDetails:c,allowResetSite:u},p]=e,d=n?.required_plugins?.notinstalled,f=n?.required_plugins?.inactive,h=[];d?.length>0&&d.map((e=>h.push({plugin:e,action:(0,wn.__)("Install & Activate","astra-sites")}))),f?.length>0&&f.map((e=>h.push({plugin:e,action:(0,wn.__)("Activate","astra-sites")})));const m=(0,i.createElement)("a",{className:"st-link",href:"https://store.brainstormforce.com/terms-and-conditions/",target:"_blank",rel:"noreferrer"},"Terms"),g=(0,i.createElement)("a",{className:"st-link",href:"https://store.brainstormforce.com/privacy-policy/",target:"_blank",rel:"noreferrer"},"Privacy Policy"),y=null!==n?n.third_party_required_plugins:[],v=y.length>0,[b,x]=(0,i.useState)(v),w=astraSitesVars?.compatibilities,E=w.errors;let k,S=w.warnings;if(n&&n.update_avilable_plugins.length>0){const e=[];n.update_avilable_plugins.map((t=>e.push(t.name)));const t=["<ul>"];e.forEach((function(e){t.push("<li>"+e+"</li>")})),t.push("</ul>");const r=astraSitesVars?.compatibilities_data["update-available"];r.tooltip=r.tooltip.replace("##LIST##",t.join("")),S={...S,"update-available":r}}k=!0!==s&&(Object.keys(E).length>0||Object.keys(S).length>0);const[C,A]=(0,i.useState)(k),P=u||cA;let _=(0,i.createElement)("form",{className:"survey-form",onSubmit:e=>{if(e.preventDefault(),P){if((()=>{const e=new FormData;e.append("action","astra-sites-set_start_flag"),e.append("_ajax_nonce",astraSitesVars?._ajax_nonce),e.append("template_type","classic"),fetch(ajaxurl,{method:"post",body:e})})(),setTimeout((()=>{p({type:"set",currentIndex:t+1})}),500),"yes"!==lA){const e=a?"yes":"no",t=new FormData;t.append("action","astra-sites-update-analytics"),t.append("_ajax_nonce",astraSitesVars?._ajax_nonce),t.append("data",e),fetch(ajaxurl,{method:"post",body:t}).then((e=>e.json())).then((t=>{t.success&&(starterTemplates.analytics=e)}))}if("yes"===astraSitesVars?.subscribed)return void p({type:"set",user_subscribed:!0});if(!c.opt_in&&!c.email)return;const e={EMAIL:c.email,FIRSTNAME:c.first_name,PAGE_BUILDER:r,WP_USER_TYPE:c.wp_user_type,BUILD_WEBSITE_FOR:c.build_website_for,OPT_IN:c.opt_in},n=new FormData;n.append("action","astra-sites-update-subscription"),n.append("_ajax_nonce",astraSitesVars?._ajax_nonce),n.append("data",JSON.stringify(e)),fetch(ajaxurl,{method:"post",body:n}).then((e=>e.json())).then((()=>{p({type:"set",user_subscribed:!0})}))}}},"yes"!==astraSitesVars?.subscribed&&(0,i.createElement)(GC,{formDetails:c,updateFormDetails:(e,t)=>{p({type:"set",formDetails:{...c,[e]:t}})}}),(0,i.createElement)(aA,null),(0,i.createElement)("button",{type:"submit",className:"submit-survey-btn button-text d-flex-center-align",style:P?null:{backgroundColor:"#E5E7EB",cursor:"not-allowed",color:"#9CA3AF"}},(0,wn.__)("Submit & Build My Website","astra-sites"),P?ms.arrowRight:ms.arrowRightDisabled),(0,i.createElement)("p",{className:"!text-zip-app-inactive-icon subscription-agreement-text text-center mt-4",dangerouslySetInnerHTML:{__html:(0,wn.sprintf)( // translators: %s: support link // translators: %s: support link (0,wn.__)("By continuing you agree to our %1$s and %2$s.","astra-sites"),m,g)}}));return o>2&&h.length>0?_=(0,i.createElement)("form",{className:"install-plugins-form",onSubmit:t=>{t.preventDefault(),cc(e)}},(0,i.createElement)("h1",null,(0,wn.__)("Required plugins missing","astra-sites")),(0,i.createElement)("p",null,(0,wn.__)("Some required plugins could not be able to be installed/activated due to some limitations coming from this website’s hosting service provider.","astra-sites")),(0,i.createElement)("p",null,(0,wn.__)("We request you to please install/update the following plugins to proceed.","astra-sites")),(0,i.createElement)("h5",null,(0,wn.__)("Required plugins -","astra-sites")),(0,i.createElement)("ul",{className:"manual-required-plugins-list"},h.map(((e,t)=>(0,i.createElement)("li",{key:t},e.plugin.name," - ",(0,i.createElement)("a",{href:e.plugin?.action,target:"_blank",rel:"noreferrer"},e.action))))),(0,i.createElement)("button",{type:"submit",className:"submit-survey-btn button-text d-flex-center-align"},(0,wn.__)("Start Importing","astra-sites"),ms.arrowRight)):null===l||Object.values(l.permissions).every((e=>!0===e))?null!==n&&Object.keys(n.incompatible_plugins).length>0?_=(0,i.createElement)("div",{className:"requirement-check-wrap"},(0,i.createElement)("h1",{className:"text-3xl font-bold text-zip-app-heading max-md:!text-3xl max-sm:!text-2xl"},(0,wn.__)("We're Almost There!","astra-sites")),(0,i.createElement)("p",null,(0,wn.__)("The Starter Template you are trying to import requires a few plugins to be installed and activated. Your current PHP version does not match the minimum requirement for these plugins.","astra-sites")),(0,i.createElement)("p",{className:"current-php-version"},(0,i.createElement)("strong",null,`Current PHP version: ${oA}`)),(0,i.createElement)("ul",{className:"requirement-check-list"},Object.values(n.incompatible_plugins).map(((e,t)=>(0,i.createElement)("li",{key:t},(0,i.createElement)("div",{className:"requirement-list-item"},`${e.name} - PHP Version: ${e.min_php_version} or higher`)))))):C?_=(0,i.createElement)("div",{className:"requirement-check-wrap"},(0,i.createElement)("h1",{className:"text-3xl font-bold text-zip-app-heading max-md:!text-3xl max-sm:!text-2xl !text-center"},(0,wn.__)("We're Almost There!","astra-sites")),(0,i.createElement)("p",null,(0,wn.__)("You're close to importing the template. To complete the process, please clear the following conditions.","astra-sites")),(0,i.createElement)("ul",{className:"requirement-check-list"},Object.keys(E).length>0&&Object.values(E).map(((e,t)=>(0,i.createElement)("li",{key:t},(0,i.createElement)("div",{className:"requirement-list-item"},e.title,(0,i.createElement)(Vx,{interactive:!0,content:(0,i.createElement)("span",{dangerouslySetInnerHTML:{__html:e.tooltip}})},ms.questionMark))))),Object.keys(S).length>0&&Object.values(S).map(((e,t)=>(0,i.createElement)("li",{key:t},(0,i.createElement)("div",{className:"requirement-list-item"},e.title,(0,i.createElement)(Vx,{interactive:!0,content:(0,i.createElement)("span",{dangerouslySetInnerHTML:{__html:e.tooltip}})},ms.questionMark)))))),(0,i.createElement)("button",{className:"submit-survey-btn button-text d-flex-center-align",onClick:()=>{A(!1),p({type:"set",shownRequirementOnce:!0})},disabled:Object.keys(E).length>0},(0,i.createElement)("span",{className:"leading-[15px]"},(0,wn.__)("Skip & Continue","astra-sites")),ms.arrowRight)):b&&(_=(0,i.createElement)("form",{className:"required-plugins-form",onSubmit:e=>{e.preventDefault(),x(!1)}},(0,i.createElement)("h1",null,(0,wn.__)("Required plugins missing","astra-sites")),(0,i.createElement)("p",null,(0,wn.__)("This starter template requires premium plugins. As these are third party premium plugins, you'll need to purchase, install and activate them first.","astra-sites")),(0,i.createElement)("h5",null,(0,wn.__)("Required plugins -","astra-sites")),(0,i.createElement)("ul",{className:"third-party-required-plugins-list"},y.map(((e,t)=>(0,i.createElement)("li",{"data-slug":e.slug,"data-init":e.init,"data-name":e.name,key:t},(0,i.createElement)("a",{href:e.link,target:"_blank",rel:"noreferrer"},e.name))))),(0,i.createElement)("button",{type:"submit",className:"submit-survey-btn button-text d-flex-center-align"},(0,wn.__)("Skip & Start Importing","astra-sites"),ms.arrowRight))):_=(()=>{const{is_readable:e,is_writable:t,is_wp_filesystem:r}=l.permissions;return(0,i.createElement)("div",{className:"requirement-check-wrap"},(0,i.createElement)("h1",null,(0,wn.__)("We're Almost There!","astra-sites")),(0,i.createElement)("p",null,(0,wn.__)("The import process was interrupted due to the lack of file-system permissions from your host. It is required to import images, XML files, and more required for the template to work.","astra-sites")),(0,i.createElement)("p",{className:"current-file-system-permissions"},(0,i.createElement)("strong",null,(0,wn.__)("Current file-system permissions:","astra-sites"))),(0,i.createElement)("ul",{className:"requirement-check-list"},(0,i.createElement)("li",null,(0,i.createElement)("div",{className:"requirement-list-item"},(0,wn.__)("Read Permissions:","astra-sites"),(0,i.createElement)("span",{className:"dashicons "+(e?"dashicons-yes":"dashicons-no")}))),(0,i.createElement)("li",null,(0,i.createElement)("div",{className:"requirement-list-item"},(0,wn.__)("Write Permissions:","astra-sites"),(0,i.createElement)("span",{className:"dashicons "+(t?"dashicons-yes":"dashicons-no")}))),(0,i.createElement)("li",null,(0,i.createElement)("div",{className:"requirement-list-item"},(0,wn.__)("WP_Filesystem Permissions:","astra-sites"),(0,i.createElement)("span",{className:"dashicons "+(r?"dashicons-yes":"dashicons-no")})))),(0,i.createElement)("p",null,(0,wn.__)("Please contact the hosting service provider to help you update the permissions so that you can successfully import a complete template.","astra-sites")))})(),(0,i.createElement)(vo,{content:(0,i.createElement)(i.Fragment,null,(0,i.createElement)("div",{className:"my-4"},(0,i.createElement)("h1",{className:"mb-4 text-3xl font-bold text-zip-app-heading max-md:!text-3xl max-sm:!text-2xl"},(0,wn.__)("Okay, just one last step…","astra-sites"))),(0,i.createElement)("div",{className:"survey-container"}," ",_," "),(0,i.createElement)(hs,null,(0,i.createElement)("div",{className:"flex text-center justify-center items-center gap-2"},(0,i.createElement)(sA,{height:12.5,strokeWidth:2}),(0,wn.__)("Back","astra-sites"))))})}),null),class:"step-survey"},{name:"import-site",title:"We are buiding your website...",content:(0,i.createElement)((()=>{const e=fs(),[{importStart:t,importEnd:r,importPercent:n,templateResponse:a,reset:s,themeStatus:o,importError:l,siteLogo:c,activePalette:u,typography:p,customizerImportFlag:d,widgetImportFlag:f,contentImportFlag:h,themeActivateFlag:m,requiredPluginsDone:g,requiredPlugins:y,notInstalledList:v,notActivatedList:b,tryAgainCount:x,xmlImportDone:w,templateId:E,builder:k,pluginInstallationAttempts:S},C]=e;let A=n;const P=(e="",t="",r="",n="",i="",a="")=>{C({type:"set",importError:!0,importErrorMessages:{primaryText:e,secondaryText:t,errorCode:n,errorText:r,solutionText:i,tryAgain:!0}}),localStorage.removeItem("st-import-start"),localStorage.removeItem("st-import-end"),_(e,t,r,n,i,a,x)},_=(e="",t="",r="",n="",i="",s="")=>{if(x>=2&&fc(x,!1,E,k),!HC)return;const o=new FormData;o.append("action","astra-sites-report_error"),o.append("_ajax_nonce",astraSitesVars?._ajax_nonce),o.append("error",JSON.stringify({primaryText:e,secondaryText:t,errorCode:n,errorText:r,solutionText:i,tryAgain:!0,stack:s,tryAgainCount:x})),o.append("id",a.id),o.append("plugins",JSON.stringify(y)),fetch(ajaxurl,{method:"post",body:o})},T=async e=>{const t=new FormData;t.append("action","astra-sites-get_deleted_post_ids"),t.append("_ajax_nonce",astraSitesVars?._ajax_nonce),C({type:"set",importStatus:(0,wn.__)("Resetting posts.","astra-sites")});const r=new FormData;return r.append("action","astra-sites-reset_posts"),r.append("ids",JSON.stringify(e)),r.append("_ajax_nonce",astraSitesVars?._ajax_nonce),await fetch(ajaxurl,{method:"post",body:r}).then((e=>e.text())).then((e=>{let t=[],r=!1;try{const r=JSON.parse(e);if(t=r,!r.success)throw r;A+=2,C({type:"set",importPercent:A>=50?50:A})}catch(t){return P((0,wn.__)("Resetting posts failed.","astra-sites"),"",t,"","",e),r=!0,!1}if(!t.success&&!1===r)throw t.data})).catch((e=>(P((0,wn.__)("Resetting posts failed.","astra-sites"),"",e?.message,"","",e),!1))),!0},I=async()=>{C({type:"set",importStatus:(0,wn.__)("Taking settings backup.","astra-sites")});const e=new FormData;e.append("action","astra-sites-backup_settings"),e.append("_ajax_nonce",astraSitesVars?._ajax_nonce);const t=await fetch(ajaxurl,{method:"post",body:e}).then((e=>e.text())).then((e=>{const t=JSON.parse(e);if(t.success)return A+=2,C({type:"set",importPercent:A}),!0;throw t.data})).catch((e=>(P((0,wn.__)("Taking settings backup failed.","astra-sites"),"",e?.message,"","",e),!1)));return t},F=async()=>{C({type:"set",importStatus:(0,wn.__)("Resetting customizer.","astra-sites")});const e=new FormData;e.append("action","astra-sites-reset_customizer_data"),e.append("_ajax_nonce",astraSitesVars?._ajax_nonce);const t=await fetch(ajaxurl,{method:"post",body:e}).then((e=>e.text())).then((e=>{try{const t=JSON.parse(e);if(t.success)return A+=2,C({type:"set",importPercent:A}),!0;throw t.data}catch(t){return P((0,wn.__)("Resetting customizer failed.","astra-sites"),"",t?.message,"","",e),!1}})).catch((e=>(P((0,wn.__)("Resetting customizer failed.","astra-sites"),"",e?.message,"","",e),!1)));return t},M=async()=>{C({type:"set",importStatus:(0,wn.__)("Resetting site options.","astra-sites")});const e=new FormData;e.append("action","astra-sites-reset_site_options"),e.append("_ajax_nonce",astraSitesVars?._ajax_nonce);const t=await fetch(ajaxurl,{method:"post",body:e}).then((e=>e.text())).then((e=>{try{const t=JSON.parse(e);if(t.success)return A+=2,C({type:"set",importPercent:A}),!0;throw t.data}catch(t){return P((0,wn.__)("Resetting site options Failed.","astra-sites"),"",t?.message,"","",e),!1}})).catch((e=>(P((0,wn.__)("Resetting site options Failed.","astra-sites"),"",e?.message,"","",e),!1)));return t},D=async()=>{const e=new FormData;e.append("action","astra-sites-reset_widgets_data"),e.append("_ajax_nonce",astraSitesVars?._ajax_nonce),C({type:"set",importStatus:(0,wn.__)("Resetting widgets.","astra-sites")});const t=await fetch(ajaxurl,{method:"post",body:e}).then((e=>e.text())).then((e=>{try{const t=JSON.parse(e);if(t.success)return A+=2,C({type:"set",importPercent:A}),!0;throw t.data}catch(t){return P((0,wn.__)("Resetting widgets JSON parse failed.","astra-sites"),"",t,"","",e),!1}})).catch((e=>(P((0,wn.__)("Resetting widgets failed.","astra-sites"),"",e,"","",e),!1)));return t},R=async()=>{const e=new FormData;e.append("action","astra-sites-reset_terms_and_forms"),e.append("_ajax_nonce",astraSitesVars?._ajax_nonce),C({type:"set",importStatus:(0,wn.__)("Resetting terms and forms.","astra-sites")});const t=await fetch(ajaxurl,{method:"post",body:e}).then((e=>e.text())).then((e=>{try{const t=JSON.parse(e);if(t.success)return A+=2,C({type:"set",importPercent:A}),!0;throw t.data}catch(t){return P((0,wn.__)("Resetting terms and forms failed.","astra-sites"),"",t,"","",e),!1}})).catch((e=>(P((0,wn.__)("Resetting terms and forms failed.","astra-sites"),"",e?.message,"","",e),!1)));return t},L=async()=>{const e=new FormData;e.append("action","astra-sites-get_deleted_post_ids"),e.append("_ajax_nonce",astraSitesVars?._ajax_nonce),C({type:"set",importStatus:(0,wn.__)("Gathering posts for deletions.","astra-sites")});let t="";const r=await fetch(ajaxurl,{method:"post",body:e}).then((e=>e.json())).then((async e=>{if(e.success){const t=((e,t)=>{const r=Object.keys(t),n=[];let i=0,a={};for(const e in t)0!==i&&i%10==0&&(n.push(a),a={}),a[e]=t[r[i]],i++;return n.push(a),n})(0,e.data);if(t.length>0)for(let e=0;e<t.length;e++)await T(t[e]);return!0}return t=e,!1}));return r?C({type:"set",importStatus:(0,wn.__)("Resetting posts done.","astra-sites")}):P((0,wn.__)("Resetting posts failed.","astra-sites"),"",t),r},O=e=>{jC.data=e,jC.render(C,A);const t=new EventSource(jC.data.url);t.onmessage=e=>{const r=JSON.parse(e.data);switch(r.action){case"updateDelta":jC.updateDelta(r.type,r.delta);break;case"complete":!1===r.error?(t.close(),C({type:"set",xmlImportDone:!0})):P(astraSitesVars?.xml_import_interrupted_primary,"",astraSitesVars?.xml_import_interrupted_error,"",astraSitesVars?.xml_import_interrupted_secondary)}},t.onerror=e=>{e&&e?.isTrusted||(t.close(),P((0,wn.__)("Importing Site Content Failed. - Import Process Interrupted","astra-sites"),"",e))},t.addEventListener("log",(function(e){const t=JSON.parse(e.data);let r=t.message||"";r&&"info"===t.level&&(r=r.replace(/"/g,(function(){return""}))),C({type:"set",importStatus:(0,wn.sprintf)( // translators: Response importMessage // translators: Response importMessage (0,wn.__)("Importing - %1$s","astra-sites"),r)})}))},V=e=>{if(n<100)return e.returnValue=(0,wn.__)("Are you sure you want to cancel the site import process?","astra-sites"),e};return(0,i.useEffect)((()=>(window.addEventListener("beforeunload",V),()=>{window.removeEventListener("beforeunload",V)})),[n]),(0,i.useEffect)((()=>{100===n&&window.removeEventListener("beforeunload",V)}),[n]),(0,i.useEffect)((()=>{x>0&&cc(e)}),[x]),(0,i.useEffect)((()=>{t||r||(l||(localStorage.setItem("st-import-start",+new Date),A+=5,C({type:"set",importStart:!0,importPercent:A,importStatus:(0,wn.__)("Starting Import.","astra-sites")})),m&&!1===o?pc(e):C({type:"set",themeStatus:!0}),HC=!1,v.length<=0||(A+=2,C({type:"set",importStatus:(0,wn.__)("Installing Required Plugins.","astra-sites"),importPercent:A}),v.forEach((e=>{wp.updates.queue.push({action:"install-plugin",data:{slug:e.slug,init:e.init,name:e.name,is_ast_request:!0,clear_destination:!0,ajax_nonce:astraSitesVars?._ajax_nonce,success(){C({type:"set",importStatus:(0,wn.sprintf)( // translators: Plugin Name. // translators: Plugin Name. (0,wn.__)("%1$s plugin installed successfully.","astra-sites"),e.name)});const t=b;t.push(e),C({type:"set",notActivatedList:t});const r=v;r.forEach(((t,n)=>{t.slug===e.slug&&r.splice(n,1)})),C({type:"set",notInstalledList:r})},error(t){C({type:"set",pluginInstallationAttempts:S+1});let r=t;t&&void 0!==t.errorMessage&&(r=t.errorMessage,void 0!==t.errorCode&&(r=t.errorCode+": "+r)),P((0,wn.sprintf)( // translators: Plugin Name. // translators: Plugin Name. (0,wn.__)("Could not install the plugin - %s","astra-sites"),e.name),"",r,"","",t)}}})})),wp.updates.queueChecker()))}),[a]),(0,i.useEffect)((()=>{g&&o&&(HC=zC,(async()=>{let e=!1,t=!1,r=!1,n=!1,i=!1,o=!1;e=await(async()=>{if(!s)return!0;A+=2,C({type:"set",importStatus:(0,wn.__)("Reseting site.","astra-sites"),importPercent:A});let e=!1,t=!1,r=!1,n=!1,i=!1,a=!1;return e=await I(),e&&(t=await F()),t&&(n=await M()),n&&(r=await D()),r&&(i=await R()),i&&(a=await L()),!!(t&&n&&r&&i&&a)&&(A+=10,C({type:"set",importPercent:A>=50?50:A,importStatus:(0,wn.__)("Reset for old website is done.","astra-sites")}),!0)})(),e&&(t=await(async()=>{const e=encodeURI(a["astra-site-cartflows-path"])||"";if(""===e||"null"===e)return!0;C({type:"set",importStatus:(0,wn.__)("Importing CartFlows flows.","astra-sites")});const t=new FormData;t.append("action","astra-sites-import-cartflows"),t.append("_ajax_nonce",astraSitesVars?._ajax_nonce);const r=await fetch(ajaxurl,{method:"post",body:t}).then((e=>e.text())).then((e=>{try{const t=JSON.parse(e);if(t.success)return A+=2,C({type:"set",importPercent:A}),!0;throw t.data}catch(t){return P((0,wn.__)("Importing CartFlows flows failed due to parse JSON error.","astra-sites"),"",t,"","",e),!1}})).catch((e=>(P((0,wn.__)("Importing CartFlows flows Failed.","astra-sites"),"",e),!1)));return r})()),t&&(r=await(async()=>{const e=encodeURI(a["astra-site-wpforms-path"])||"";if(""===e||"null"===e)return!0;C({type:"set",importStatus:(0,wn.__)("Importing forms.","astra-sites")});const t=new FormData;t.append("action","astra-sites-import-wpforms"),t.append("_ajax_nonce",astraSitesVars?._ajax_nonce);const r=await fetch(ajaxurl,{method:"post",body:t}).then((e=>e.text())).then((e=>{try{const t=JSON.parse(e);if(t.success)return A+=2,C({type:"set",importPercent:A>=60?60:A}),!0;throw t.data}catch(t){return P((0,wn.__)("Importing forms failed due to parse JSON error.","astra-sites"),"",t,"","",e),!1}})).catch((e=>(P((0,wn.__)("Importing forms Failed.","astra-sites"),"",e),!1)));return r})()),r&&(n=await(async()=>{if(!d)return A+=5,C({type:"set",importPercent:A>=65?65:A}),!0;C({type:"set",importStatus:(0,wn.__)("Importing forms.","astra-sites")});const e=new FormData;e.append("action","astra-sites-import_customizer_settings"),e.append("_ajax_nonce",astraSitesVars?._ajax_nonce);const t=await fetch(ajaxurl,{method:"post",body:e}).then((e=>e.text())).then((e=>{try{const t=JSON.parse(e);if(t.success)return A+=5,C({type:"set",importPercent:A>=65?65:A}),!0;throw t.data}catch(t){return P((0,wn.__)("Importing Customizer failed due to parse JSON error.","astra-sites"),"",t,"","",e),!1}})).catch((e=>(P((0,wn.__)("Importing Customizer Failed.","astra-sites"),"",e),!1)));return t})()),n&&(i=await(async()=>{const e=a["astra-site-spectra-options"]||"";if(""===e||"null"===e)return!0;C({type:"set",importStatus:(0,wn.__)("Importing Spectra Settings.","astra-sites")});const t=new FormData;t.append("action","astra-sites-import_spectra_settings"),t.append("_ajax_nonce",astraSitesVars?._ajax_nonce);const r=await fetch(ajaxurl,{method:"post",body:t}).then((e=>e.text())).then((e=>{try{const t=JSON.parse(e);if(t.success)return A+=2,C({type:"set",importPercent:A>=75?75:A}),!0;throw t.data}catch(t){return P((0,wn.__)("Importing Spectra Settings failed due to parse JSON error.","astra-sites"),"",t,"","",e),!1}})).catch((e=>(P((0,wn.__)("Importing Spectra Settings Failed.","astra-sites"),"",e),!1)));return r})()),i&&(o=await(async()=>{const e=a?.["astra-site-surecart-settings"]?.id||"",t=a?.["astra-site-surecart-settings"]?.currency||"usd";if(""===e||"null"===e)return!0;const r=new FormData;r.append("action","astra-sites-import_surecart_settings"),r.append("source_id",e),r.append("source_currency",t),r.append("_ajax_nonce",astraSitesVars?._ajax_nonce);const n=await fetch(ajaxurl,{method:"post",body:r}).then((e=>e.text())).then((e=>{try{const t=JSON.parse(e);if(t.success)return A+=2,C({type:"set",importPercent:A>=75?75:A}),!0;throw t.data}catch(t){return P((0,wn.__)("Importing Surecart Settings failed.","astra-sites"),"",t,"","",e),!1}})).catch((e=>(P((0,wn.__)("Importing Surecart Settings Failed.","astra-sites"),"",e),!1)));return n})()),o&&await(async()=>{if(!h)return A+=20,C({type:"set",importPercent:A>=80?80:A,xmlImportDone:!0}),!0;const e=encodeURI(a["astra-site-wxr-path"])||"";if("null"===e||""===e){const t=(0,wn.__)("The XML URL for the site content is empty.","astra-sites");return P((0,wn.__)("Importing Site Content Failed","astra-sites"),"",t,"",astraSitesVars?.support_text,e),!1}C({type:"set",importStatus:(0,wn.__)("Importing Site Content.","astra-sites")});const t=new FormData;t.append("action","astra-sites-import_prepare_xml"),t.append("_ajax_nonce",astraSitesVars?._ajax_nonce);const r=await fetch(ajaxurl,{method:"post",body:t}).then((e=>e.text())).then((e=>{try{const t=JSON.parse(e);if(A+=2,C({type:"set",importPercent:A>=80?80:A}),!1===t.success)throw t.data.error||t.data;return O(t.data),!0}catch(t){return P((0,wn.__)("Importing Site Content failed due to parse JSON error.","astra-sites"),"",t,"","",e),!1}})).catch((e=>(P((0,wn.__)("Importing Site Content Failed.","astra-sites"),"",e),!1)));return r})()})())}),[g,o]),(0,i.useEffect)((()=>{w&&(async()=>{let e=!1,t=!1,r=!1,n=!1;e=await(async()=>{C({type:"set",importStatus:(0,wn.__)("Importing Site Options.","astra-sites")});const e=new FormData;e.append("action","astra-sites-import_options"),e.append("_ajax_nonce",astraSitesVars?._ajax_nonce);const t=await fetch(ajaxurl,{method:"post",body:e}).then((e=>e.text())).then((e=>{try{const t=JSON.parse(e);if(t.success)return A+=5,C({type:"set",importPercent:A>=90?90:A}),!0;throw t.data}catch(t){return P((0,wn.__)("Importing Site Options failed due to parse JSON error.","astra-sites"),"",t,"","",e),!1}})).catch((e=>(P((0,wn.__)("Importing Site Options Failed.","astra-sites"),"",e),!1)));return t})(),e&&(t=await(async()=>{if(!f)return C({type:"set",importPercent:90}),!0;C({type:"set",importStatus:(0,wn.__)("Importing Widgets.","astra-sites")});const e=a["astra-site-widgets-data"]||"",t=new FormData;t.append("action","astra-sites-import_widgets"),t.append("widgets_data",e),t.append("_ajax_nonce",astraSitesVars?._ajax_nonce);const r=await fetch(ajaxurl,{method:"post",body:t}).then((e=>e.text())).then((e=>{try{const t=JSON.parse(e);if(t.success)return C({type:"set",importPercent:90}),!0;throw t.data}catch(t){return P((0,wn.__)("Importing Widgets failed due to parse JSON error.","astra-sites"),"",t,"","",e),!1}})).catch((e=>(P((0,wn.__)("Importing Widgets Failed.","astra-sites"),"",e),!1)));return r})()),t&&(r=await(async()=>(await(async e=>{if(""===e.id)return;const t=new FormData;t.append("action","astra-sites-set_site_data"),t.append("param","site-logo"),t.append("logo",e.id),t.append("logo-width",e.width),t.append("_ajax_nonce",astraSitesVars?._ajax_nonce),await fetch(ajaxurl,{method:"post",body:t})})(c),await(async e=>{if(!e)return;const t=new FormData;t.append("action","astra-sites-set_site_data"),t.append("param","site-colors"),t.append("palette",e),t.append("_ajax_nonce",astraSitesVars?._ajax_nonce),await fetch(ajaxurl,{method:"post",body:t})})(JSON.stringify(u)),await(async e=>{const t=new FormData;t.append("action","astra-sites-set_site_data"),t.append("param","site-typography"),t.append("typography",JSON.stringify(e)),t.append("_ajax_nonce",astraSitesVars?._ajax_nonce),await fetch(ajaxurl,{method:"post",body:t})})(p),!0))()),r&&(n=await(async()=>{C({type:"set",importStatus:(0,wn.__)("Final finishings.","astra-sites")});const e=new FormData;e.append("action","astra-sites-import_end"),e.append("_ajax_nonce",astraSitesVars?._ajax_nonce);const t=await fetch(ajaxurl,{method:"post",body:e}).then((e=>e.text())).then((e=>{try{const t=JSON.parse(e);if(t.success)return localStorage.setItem("st-import-end",+new Date),setTimeout((function(){C({type:"set",importPercent:100,importEnd:!0})}),8e3),!0;throw t.data}catch(t){return P((0,wn.__)("Final finishings failed due to parse JSON error.","astra-sites"),"",t,"","",e),setTimeout((function(){C({type:"set",importPercent:100,importEnd:!0})}),8e3),localStorage.setItem("st-import-end",+new Date),!1}})).catch((e=>(P((0,wn.__)("Final finishings Failed.","astra-sites"),"",e),!1)));return t})()),n&&fc(x,!0,E,k)})()}),[w]),(0,i.useEffect)((()=>{b.length<=0&&v.length<=0&&C({type:"set",requiredPluginsDone:!0})}),[b.length,v.length]),(0,i.useEffect)((()=>{b.length>0&&(e=>{A+=2,C({type:"set",importStatus:(0,wn.sprintf)( // translators: Plugin Name. // translators: Plugin Name. (0,wn.__)("Activating %1$s plugin.","astra-sites"),e.name),importPercent:A});const t=new FormData;t.append("action","astra-sites-required_plugin_activate"),t.append("init",e.init),t.append("_ajax_nonce",astraSitesVars?._ajax_nonce),fetch(ajaxurl,{method:"post",body:t}).then((e=>e.text())).then((t=>{let r=[],n=!1;try{const n=JSON.parse(t);if(r=n,n.success){const t=b;t.forEach(((r,n)=>{r.slug===e.slug&&t.splice(n,1)})),C({type:"set",notActivatedList:t}),A+=2,C({type:"set",importStatus:(0,wn.sprintf)( // translators: Plugin Name. // translators: Plugin Name. (0,wn.__)("%1$s activated.","astra-sites"),e.name),importPercent:A})}}catch(r){P((0,wn.sprintf)( // translators: Plugin name. // translators: Plugin name. (0,wn.__)("JSON_Error: Could not activate the required plugin - %1$s.","astra-sites"),e.name),"",r,"",(0,wn.sprintf)( // translators: Support article URL. // translators: Support article URL. (0,wn.__)('<a href="%1$s">Read article</a> to resolve the issue and continue importing template.',"astra-sites"),"https://wpastra.com/docs/enable-debugging-in-wordpress/#how-to-use-debugging"),t),n=!0}if(!r.success&&!1===n)throw r})).catch((t=>{C({type:"set",pluginInstallationAttempts:S+1}),P((0,wn.sprintf)( // translators: Plugin name. // translators: Plugin name. (0,wn.__)("Could not activate the required plugin - %1$s.","astra-sites"),e.name),"",t?.data?.message,"",(0,wn.sprintf)( // translators: Support article URL. // translators: Support article URL. (0,wn.__)('<a href="%1$s">Read article</a> to resolve the issue and continue importing template.',"astra-sites"),"https://wpastra.com/docs/enable-debugging-in-wordpress/#how-to-use-debugging"),t)}))})(b[0])}),[b.length]),(0,i.createElement)(vo,{content:(0,i.createElement)("div",{className:"middle-content middle-content-import"},(0,i.createElement)(i.Fragment,null,100===n?(0,i.createElement)("h1",{className:"import-done-congrats"},(0,wn.__)("Congratulations","astra-sites"),(0,i.createElement)("span",null,ms.tada)):(0,i.createElement)("h1",null,(0,wn.__)("We are building your website…","astra-sites")),l&&(0,i.createElement)("div",{className:"ist-import-process-step-wrap"},(0,i.createElement)(VC,null)),!l&&(0,i.createElement)(i.Fragment,null,(0,i.createElement)("div",{className:"ist-import-process-step-wrap"},(0,i.createElement)(OC,null)),100!==n&&(0,i.createElement)(MC,{loop:!0,animationData:NC,play:!0,style:{height:400,margin:"-70px auto -90px auto"}})))),actions:(0,i.createElement)(i.Fragment,null,(0,i.createElement)(hs,{before:!0,disabled:!0,customizeStep:!0},(0,wn.__)("Back","astra-sites")))})}),null),class:"step-import-site"}];let PI=0,_I="gutenberg";astraSitesVars?.default_page_builder&&(PI=0,_I="brizy"===astraSitesVars?.default_page_builder?"gutenberg":astraSitesVars?.default_page_builder);const TI={id:"",thumbnail:"",url:"",width:120},II={siteFeatures:[{title:(0,wn.__)("Page Builder","astra-sites"),id:"page-builder",description:(0,wn.__)("Design pages with visual website builder","astra-sites"),enabled:!0,compulsory:!0,icon:"page-builder"},{title:(0,wn.__)("Contact Form","astra-sites"),id:"contact-form",description:(0,wn.__)("Allow your visitors to get in touch with you","astra-sites"),enabled:!0,compulsory:!0,icon:"contact-form"},{title:(0,wn.__)("eCommerce","astra-sites"),id:"ecommerce",description:(0,wn.__)("Sell your products online","astra-sites"),enabled:!1,compulsory:!1,icon:"ecommerce"},{title:(0,wn.__)("Donations","astra-sites"),id:"donations",description:(0,wn.__)("Collect donations online from your website","astra-sites"),enabled:!1,compulsory:!1,icon:"heart"},{title:(0,wn.__)("Automation & Integrations","astra-sites"),id:"automation-integrations",description:(0,wn.__)("Automate your website & tasks","astra-sites"),enabled:!1,compulsory:!1,icon:"squares-plus"},{title:(0,wn.__)("Sales Funnels","astra-sites"),id:"sales-funnels",description:(0,wn.__)("Boost your sales & maximize your profits","astra-sites"),enabled:!1,compulsory:!1,icon:"funnel"},{title:(0,wn.__)("Video Player","astra-sites"),id:"video-player",description:(0,wn.__)("Showcase your videos on your website","astra-sites"),enabled:!1,compulsory:!1,icon:"play-circle"},{title:(0,wn.__)("Free Live Chat","astra-sites"),id:"live-chat",description:(0,wn.__)("Connect with your website visitors for free","astra-sites"),enabled:!1,compulsory:!1,icon:"live-chat"}],formDetails:{first_name:"",email:"",wp_user_type:"",build_website_for:"",opt_in:!0},selectedEcommercePlugin:"",isEcommerce:!1,allSitesData:astraSitesVars?.all_sites||{},allCategories:astraSitesVars?.allCategories||[],allCategoriesAndTags:astraSitesVars?.allCategoriesAndTags||[],aiActivePallette:null,aiActiveTypography:null,aiSiteLogo:TI,currentIndex:"ai-builder"===_I?0:PI,currentCustomizeIndex:0,siteLogo:TI,activePaletteSlug:"default",activePalette:{},typography:{},typographyIndex:0,stepsLength:Object.keys(AI).length,builder:_I,siteType:"",siteOrder:"popular",siteBusinessType:"",selectedMegaMenu:"",siteSearchTerm:(FI=window.location.search,"s",new URLSearchParams(FI).get("s")||""),userSubscribed:!1,showSidebar:!(window&&window?.innerWidth<1024),tryAgainCount:0,pluginInstallationAttempts:0,confettiDone:!1,templateId:0,templateResponse:null,requiredPlugins:null,fileSystemPermissions:null,selectedTemplateID:"",selectedTemplateName:"",selectedTemplateType:"",reset:"yes"===starterTemplates.firstImportStatus,allowResetSite:!1,themeStatus:!1,importStatusLog:"",importStatus:"",xmlImportDone:!1,requiredPluginsDone:!1,notInstalledList:[],notActivatedList:[],resetData:[],importStart:!1,importEnd:!1,importPercent:0,importError:!1,importErrorMessages:{primaryText:"",secondaryText:"",errorCode:"",errorText:"",solutionText:"",tryAgain:!1},importErrorResponse:[],importTimeTaken:{},customizerImportFlag:"fse"!==astraSitesVars?.default_page_builder,themeActivateFlag:"fse"!==astraSitesVars?.default_page_builder,widgetImportFlag:!0,contentImportFlag:!0,analyticsFlag:"yes"!==starterTemplates.analytics,shownRequirementOnce:!1,onMyFavorite:!1,favoriteSiteIDs:Object.values(astraSitesVars?.favorite_data)||[],licenseStatus:astraSitesVars?.license_status,validateLicenseStatus:!1,stagingConnected:"yes"!==astraSitesVars?.staging_connected?"":"&draft="+astraSitesVars?.staging_connected,searchTerms:[],searchTermsWithCount:[],enabledFeatureIds:[],dismissAINotice:astraSitesVars?.dismiss_ai_notice,bgSyncInProgress:!!astraSitesVars?.bgSyncInProgress,sitesSyncing:!1,limitExceedModal:{open:!1}};var FI;new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);try{window.__reactRouterVersion="6"}catch(sE){}new Map;const MI=i.startTransition;function DI(e){let{basename:t,children:r,future:n,window:a}=e,s=i.useRef();var o;null==s.current&&(s.current=(void 0===(o={window:a,v5Compat:!0})&&(o={}),function(e,t,r,n){void 0===n&&(n={});let{window:i=document.defaultView,v5Compat:a=!1}=n,s=i.history,o=Ur.Pop,l=null,c=u();function u(){return(s.state||{idx:null}).idx}function p(){o=Ur.Pop;let e=u(),t=null==e?null:e-c;c=e,l&&l({action:o,location:f.location,delta:t})}function d(e){let t="null"!==i.location.origin?i.location.origin:i.location.href,r="string"==typeof e?e:en(e);return r=r.replace(/ $/,"%20"),Yr(t,"No window.location.(origin|href) available to create URL for href: "+r),new URL(r,t)}null==c&&(c=0,s.replaceState($r({},s.state,{idx:c}),""));let f={get action(){return o},get location(){return e(i,s)},listen(e){if(l)throw new Error("A history only accepts one active listener");return i.addEventListener(Jr,p),l=e,()=>{i.removeEventListener(Jr,p),l=null}},createHref:e=>t(i,e),createURL:d,encodeLocation(e){let t=d(e);return{pathname:t.pathname,search:t.search,hash:t.hash}},push:function(e,t){o=Ur.Push;let n=Kr(f.location,e,t);r&&r(n,e),c=u()+1;let p=Zr(n,c),d=f.createHref(n);try{s.pushState(p,"",d)}catch(e){if(e instanceof DOMException&&"DataCloneError"===e.name)throw e;i.location.assign(d)}a&&l&&l({action:o,location:f.location,delta:1})},replace:function(e,t){o=Ur.Replace;let n=Kr(f.location,e,t);r&&r(n,e),c=u();let i=Zr(n,c),p=f.createHref(n);s.replaceState(i,"",p),a&&l&&l({action:o,location:f.location,delta:0})},go:e=>s.go(e)};return f}((function(e,t){let{pathname:r,search:n,hash:i}=e.location;return Kr("",{pathname:r,search:n,hash:i},t.state&&t.state.usr||null,t.state&&t.state.key||"default")}),(function(e,t){return"string"==typeof t?t:en(t)}),null,o)));let l=s.current,[c,u]=i.useState({action:l.action,location:l.location}),{v7_startTransition:p}=n||{},d=i.useCallback((e=>{p&&MI?MI((()=>u(e))):u(e)}),[u,p]);return i.useLayoutEffect((()=>l.listen(d)),[l,d]),i.createElement(bn,{basename:t,children:r,location:c.location,navigationType:c.action,navigator:l,future:n})}var RI,LI;o.flushSync,i.useId,"undefined"!=typeof window&&void 0!==window.document&&window.document.createElement,function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"}(RI||(RI={})),function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"}(LI||(LI={}));const{adminUrl:OI}=starterTemplates,VI=jQuery,NI=["gutenberg","elementor","beaver-builder"],BI=()=>{const[e,t]=fs(),{builder:r,searchTerms:n,searchTermsWithCount:a,currentIndex:s,currentCustomizeIndex:o,templateResponse:l,designStep:c,importError:u}=e,[p,d]=(0,i.useState)(!0),[f,h]=(0,i.useState)(!0),m=AI[s],g=gn();(0,i.useEffect)((()=>{VI(document).on("heartbeat-send",v),VI(document).on("heartbeat-tick",y)}),[n,a]);const y=(e,r)=>{r["ast-sites-search-terms"]&&t({type:"set",searchTerms:[],searchTermsWithCount:[]})},v=(e,t)=>{n.length>0&&(t["ast-sites-search-terms"]=a,t["ast-sites-builder"]=r)};return(0,i.useEffect)((()=>{const e=parseInt(s)-1,t=parseInt(s)+1;t>0&&t<AI.length&&document.body.classList.remove(AI[t].class),e>0&&document.body.classList.remove(AI[e].class),document.body.classList.add(AI[s].class)})),(0,i.useEffect)((()=>{u?document.body.classList.add("st-error"):document.body.classList.remove("st-error")}),[u]),(0,i.useEffect)((()=>{const e=new URLSearchParams(window.location.search),r=JSON.parse(localStorage.getItem("starter-templates-onboarding")),n=parseInt(e.get("ci"))||0,i=parseInt(e.get("designStep"))||0,a=e.get("s")||"";if(0!==n){const e={};for(const t in r)"currentIndex"!==t&&"siteSearchTerm"!==t&&"builder"!==t&&(e[t]=r[`${t}`]);t({type:"set",currentIndex:n,designStep:i,siteSearchTerm:a,...e})}else localStorage.removeItem("starter-templates-onboarding");d(!1)}),[g]),(0,i.useEffect)((()=>{const r=new URLSearchParams(window.location.search),n=parseInt(r.get("ci"))||0,i=r.get("builder")||"";s===go("page-builder")&&(r.delete("ci"),r.delete("ai"),r.delete("builder"),i&&NI.includes(i)&&t({type:"set",builder:i,currentIndex:2}),g(window.location.pathname+"?"+r.toString())),(s!==go("page-builder")&&n!==s||null!==l)&&(po(e),r.set("ci",s),g(window.location.pathname+"?"+r.toString())),0!==c&&n===AI.length-1&&null!==l&&(po(e),r.set("designStep",c),g(window.location.pathname+"?"+r.toString())),s===go("site-list")&&t({type:"set",activePalette:{},activePaletteSlug:"default",typography:{},typographyIndex:0}),h(!1)}),[s,l,c]),window.onpopstate=()=>{c&&1!==c&&s!==go("site-list")&&(s>=go("survey")?t({type:"set",currentIndex:s-1}):t({type:"set",designStep:c-1,currentCustomizeIndex:o-1,currentIndex:s})),s>go("site-list")&&1===c&&t({type:"set",currentIndex:s-1})},(0,i.createElement)("div",{className:`st-step ${m.class}`},![go("customizer")].includes(s)&&(0,i.createElement)("div",{className:"step-header"},m.header?m.header:(0,i.createElement)("div",{className:"row"},(0,i.createElement)("div",{className:"col"},(0,i.createElement)(Vc,null)),(0,i.createElement)("div",{className:"right-col"},(0,i.createElement)("div",{className:"col exit-link"},(0,i.createElement)("a",{href:OI},(0,i.createElement)(Vx,{content:(0,wn.__)("Exit to Dashboard","astra-sites")},ms.remove))))),(0,i.createElement)("canvas",{id:"ist-bashcanvas",width:window.innerWidth,height:window.innerHeight})),!1===p&&!1===f&&m?m.content:null)};let jI={data:""},zI=e=>"object"==typeof window?((e?e.querySelector("#_goober"):window._goober)||Object.assign((e||document.head).appendChild(document.createElement("style")),{innerHTML:" ",id:"_goober"})).firstChild:e||jI,HI=/(?:([\u0080-\uFFFF\w-%@]+) *:? *([^{;]+?);|([^;}{]*?) *{)|(}\s*)/g,GI=/\/\*[^]*?\*\/| +/g,WI=/\n+/g,qI=(e,t)=>{let r="",n="",i="";for(let a in e){let s=e[a];"@"==a[0]?"i"==a[1]?r=a+" "+s+";":n+="f"==a[1]?qI(s,a):a+"{"+qI(s,"k"==a[1]?"":t)+"}":"object"==typeof s?n+=qI(s,t?t.replace(/([^,])+/g,(e=>a.replace(/(^:.*)|([^,])+/g,(t=>/&/.test(t)?t.replace(/&/g,e):e?e+" "+t:t)))):a):null!=s&&(a=/^--/.test(a)?a:a.replace(/[A-Z]/g,"-$&").toLowerCase(),i+=qI.p?qI.p(a,s):a+":"+s+";")}return r+(t&&i?t+"{"+i+"}":i)+n},UI={},XI=e=>{if("object"==typeof e){let t="";for(let r in e)t+=r+XI(e[r]);return t}return e},QI=(e,t,r,n,i)=>{let a=XI(e),s=UI[a]||(UI[a]=(e=>{let t=0,r=11;for(;t<e.length;)r=101*r+e.charCodeAt(t++)>>>0;return"go"+r})(a));if(!UI[s]){let t=a!==e?e:(e=>{let t,r,n=[{}];for(;t=HI.exec(e.replace(GI,""));)t[4]?n.shift():t[3]?(r=t[3].replace(WI," ").trim(),n.unshift(n[0][r]=n[0][r]||{})):n[0][t[1]]=t[2].replace(WI," ").trim();return n[0]})(e);UI[s]=qI(i?{["@keyframes "+s]:t}:t,r?"":"."+s)}let o=r&&UI.g?UI.g:null;return r&&(UI.g=UI[s]),((e,t,r,n)=>{n?t.data=t.data.replace(n,e):-1===t.data.indexOf(e)&&(t.data=r?e+t.data:t.data+e)})(UI[s],t,n,o),s},$I=(e,t,r)=>e.reduce(((e,n,i)=>{let a=t[i];if(a&&a.call){let e=a(r),t=e&&e.props&&e.props.className||/^go/.test(e)&&e;a=t?"."+t:e&&"object"==typeof e?e.props?"":qI(e,""):!1===e?"":e}return e+n+(null==a?"":a)}),"");function JI(e){let t=this||{},r=e.call?e(t.p):e;return QI(r.unshift?r.raw?$I(r,[].slice.call(arguments,1),t.p):r.reduce(((e,r)=>Object.assign(e,r&&r.call?r(t.p):r)),{}):r,zI(t.target),t.g,t.o,t.k)}JI.bind({g:1});let YI,ZI,KI,eF=JI.bind({k:1});function tF(e,t){let r=this||{};return function(){let n=arguments;function i(a,s){let o=Object.assign({},a),l=o.className||i.className;r.p=Object.assign({theme:ZI&&ZI()},o),r.o=/ *go\d+/.test(l),o.className=JI.apply(r,n)+(l?" "+l:""),t&&(o.ref=s);let c=e;return e[0]&&(c=o.as||e,delete o.as),KI&&c[0]&&KI(o),YI(c,o)}return t?t(i):i}}var rF=(e,t)=>(e=>"function"==typeof e)(e)?e(t):e,nF=(()=>{let e=0;return()=>(++e).toString()})(),iF=(()=>{let e;return()=>{if(void 0===e&&typeof window<"u"){let t=matchMedia("(prefers-reduced-motion: reduce)");e=!t||t.matches}return e}})(),aF=new Map,sF=e=>{if(aF.has(e))return;let t=setTimeout((()=>{aF.delete(e),uF({type:4,toastId:e})}),1e3);aF.set(e,t)},oF=(e,t)=>{switch(t.type){case 0:return{...e,toasts:[t.toast,...e.toasts].slice(0,20)};case 1:return t.toast.id&&(e=>{let t=aF.get(e);t&&clearTimeout(t)})(t.toast.id),{...e,toasts:e.toasts.map((e=>e.id===t.toast.id?{...e,...t.toast}:e))};case 2:let{toast:r}=t;return e.toasts.find((e=>e.id===r.id))?oF(e,{type:1,toast:r}):oF(e,{type:0,toast:r});case 3:let{toastId:n}=t;return n?sF(n):e.toasts.forEach((e=>{sF(e.id)})),{...e,toasts:e.toasts.map((e=>e.id===n||void 0===n?{...e,visible:!1}:e))};case 4:return void 0===t.toastId?{...e,toasts:[]}:{...e,toasts:e.toasts.filter((e=>e.id!==t.toastId))};case 5:return{...e,pausedAt:t.time};case 6:let i=t.time-(e.pausedAt||0);return{...e,pausedAt:void 0,toasts:e.toasts.map((e=>({...e,pauseDuration:e.pauseDuration+i})))}}},lF=[],cF={toasts:[],pausedAt:void 0},uF=e=>{cF=oF(cF,e),lF.forEach((e=>{e(cF)}))},pF={blank:4e3,error:4e3,success:2e3,loading:1/0,custom:4e3},dF=e=>(t,r)=>{let n=((e,t="blank",r)=>({createdAt:Date.now(),visible:!0,type:t,ariaProps:{role:"status","aria-live":"polite"},message:e,pauseDuration:0,...r,id:(null==r?void 0:r.id)||nF()}))(t,e,r);return uF({type:2,toast:n}),n.id},fF=(e,t)=>dF("blank")(e,t);fF.error=dF("error"),fF.success=dF("success"),fF.loading=dF("loading"),fF.custom=dF("custom"),fF.dismiss=e=>{uF({type:3,toastId:e})},fF.remove=e=>uF({type:4,toastId:e}),fF.promise=(e,t,r)=>{let n=fF.loading(t.loading,{...r,...null==r?void 0:r.loading});return e.then((e=>(fF.success(rF(t.success,e),{id:n,...r,...null==r?void 0:r.success}),e))).catch((e=>{fF.error(rF(t.error,e),{id:n,...r,...null==r?void 0:r.error})})),e};var hF=(e,t)=>{uF({type:1,toast:{id:e,height:t}})},mF=()=>{uF({type:5,time:Date.now()})},gF=eF` from { transform: scale(0) rotate(45deg); opacity: 0; } to { transform: scale(1) rotate(45deg); opacity: 1; }`,yF=eF` from { transform: scale(0); opacity: 0; } to { transform: scale(1); opacity: 1; }`,vF=eF` from { transform: scale(0) rotate(90deg); opacity: 0; } to { transform: scale(1) rotate(90deg); opacity: 1; }`,bF=tF("div")` width: 20px; opacity: 0; height: 20px; border-radius: 10px; background: ${e=>e.primary||"#ff4b4b"}; position: relative; transform: rotate(45deg); animation: ${gF} 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards; animation-delay: 100ms; &:after, &:before { content: ''; animation: ${yF} 0.15s ease-out forwards; animation-delay: 150ms; position: absolute; border-radius: 3px; opacity: 0; background: ${e=>e.secondary||"#fff"}; bottom: 9px; left: 4px; height: 2px; width: 12px; } &:before { animation: ${vF} 0.15s ease-out forwards; animation-delay: 180ms; transform: rotate(90deg); } `,xF=eF` from { transform: rotate(0deg); } to { transform: rotate(360deg); } `,wF=tF("div")` width: 12px; height: 12px; box-sizing: border-box; border: 2px solid; border-radius: 100%; border-color: ${e=>e.secondary||"#e0e0e0"}; border-right-color: ${e=>e.primary||"#616161"}; animation: ${xF} 1s linear infinite; `,EF=eF` from { transform: scale(0) rotate(45deg); opacity: 0; } to { transform: scale(1) rotate(45deg); opacity: 1; }`,kF=eF` 0% { height: 0; width: 0; opacity: 0; } 40% { height: 0; width: 6px; opacity: 1; } 100% { opacity: 1; height: 10px; }`,SF=tF("div")` width: 20px; opacity: 0; height: 20px; border-radius: 10px; background: ${e=>e.primary||"#61d345"}; position: relative; transform: rotate(45deg); animation: ${EF} 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards; animation-delay: 100ms; &:after { content: ''; box-sizing: border-box; animation: ${kF} 0.2s ease-out forwards; opacity: 0; animation-delay: 200ms; position: absolute; border-right: 2px solid; border-bottom: 2px solid; border-color: ${e=>e.secondary||"#fff"}; bottom: 6px; left: 6px; height: 10px; width: 6px; } `,CF=tF("div")` position: absolute; `,AF=tF("div")` position: relative; display: flex; justify-content: center; align-items: center; min-width: 20px; min-height: 20px; `,PF=eF` from { transform: scale(0.6); opacity: 0.4; } to { transform: scale(1); opacity: 1; }`,_F=tF("div")` position: relative; transform: scale(0.6); opacity: 0.4; min-width: 20px; animation: ${PF} 0.3s 0.12s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards; `,TF=({toast:e})=>{let{icon:t,type:r,iconTheme:n}=e;return void 0!==t?"string"==typeof t?i.createElement(_F,null,t):t:"blank"===r?null:i.createElement(AF,null,i.createElement(wF,{...n}),"loading"!==r&&i.createElement(CF,null,"error"===r?i.createElement(bF,{...n}):i.createElement(SF,{...n})))},IF=e=>`\n0% {transform: translate3d(0,${-200*e}%,0) scale(.6); opacity:.5;}\n100% {transform: translate3d(0,0,0) scale(1); opacity:1;}\n`,FF=e=>`\n0% {transform: translate3d(0,0,-1px) scale(1); opacity:1;}\n100% {transform: translate3d(0,${-150*e}%,-1px) scale(.6); opacity:0;}\n`,MF=tF("div")` display: flex; align-items: center; background: #fff; color: #363636; line-height: 1.3; will-change: transform; box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1), 0 3px 3px rgba(0, 0, 0, 0.05); max-width: 350px; pointer-events: auto; padding: 8px 10px; border-radius: 8px; `,DF=tF("div")` display: flex; justify-content: center; margin: 4px 10px; color: inherit; flex: 1 1 auto; white-space: pre-line; `,RF=i.memo((({toast:e,position:t,style:r,children:n})=>{let a=e.height?((e,t)=>{let r=e.includes("top")?1:-1,[n,i]=iF()?["0%{opacity:0;} 100%{opacity:1;}","0%{opacity:1;} 100%{opacity:0;}"]:[IF(r),FF(r)];return{animation:t?`${eF(n)} 0.35s cubic-bezier(.21,1.02,.73,1) forwards`:`${eF(i)} 0.4s forwards cubic-bezier(.06,.71,.55,1)`}})(e.position||t||"top-center",e.visible):{opacity:0},s=i.createElement(TF,{toast:e}),o=i.createElement(DF,{...e.ariaProps},rF(e.message,e));return i.createElement(MF,{className:e.className,style:{...a,...r,...e.style}},"function"==typeof n?n({icon:s,message:o}):i.createElement(i.Fragment,null,s,o))}));!function(e,t,r,n){qI.p=void 0,YI=e,ZI=void 0,KI=void 0}(i.createElement);var LF=({id:e,className:t,style:r,onHeightUpdate:n,children:a})=>{let s=i.useCallback((t=>{if(t){let r=()=>{let r=t.getBoundingClientRect().height;n(e,r)};r(),new MutationObserver(r).observe(t,{subtree:!0,childList:!0,characterData:!0})}}),[e,n]);return i.createElement("div",{ref:s,className:t,style:r},a)},OF=JI` z-index: 9999; > * { pointer-events: auto; } `;(0,o.createRoot)(document.getElementById("starter-templates-ai-root")).render((0,i.createElement)((({reducer:e,initialState:t,children:r})=>(0,i.createElement)(ds.Provider,{value:(0,i.useReducer)(e,t)},r)),{reducer:(e=II,{type:t,...r})=>"set"===t?{...e,...r}:e,initialState:II},(0,i.createElement)((()=>(0,i.createElement)(DI,null,(0,i.createElement)("div",{className:"starter-templates-ai-steps "+(astraSitesVars?.isRTLEnabled?"st-rtl":"")},(0,i.createElement)(BI,null)))),null),(0,i.createElement)((({reverseOrder:e,position:t="top-center",toastOptions:r,gutter:n,children:a,containerStyle:s,containerClassName:o})=>{let{toasts:l,handlers:c}=(e=>{let{toasts:t,pausedAt:r}=((e={})=>{let[t,r]=(0,i.useState)(cF);(0,i.useEffect)((()=>(lF.push(r),()=>{let e=lF.indexOf(r);e>-1&&lF.splice(e,1)})),[t]);let n=t.toasts.map((t=>{var r,n;return{...e,...e[t.type],...t,duration:t.duration||(null==(r=e[t.type])?void 0:r.duration)||(null==e?void 0:e.duration)||pF[t.type],style:{...e.style,...null==(n=e[t.type])?void 0:n.style,...t.style}}}));return{...t,toasts:n}})(e);(0,i.useEffect)((()=>{if(r)return;let e=Date.now(),n=t.map((t=>{if(t.duration===1/0)return;let r=(t.duration||0)+t.pauseDuration-(e-t.createdAt);if(!(r<0))return setTimeout((()=>fF.dismiss(t.id)),r);t.visible&&fF.dismiss(t.id)}));return()=>{n.forEach((e=>e&&clearTimeout(e)))}}),[t,r]);let n=(0,i.useCallback)((()=>{r&&uF({type:6,time:Date.now()})}),[r]),a=(0,i.useCallback)(((e,r)=>{let{reverseOrder:n=!1,gutter:i=8,defaultPosition:a}=r||{},s=t.filter((t=>(t.position||a)===(e.position||a)&&t.height)),o=s.findIndex((t=>t.id===e.id)),l=s.filter(((e,t)=>t<o&&e.visible)).length;return s.filter((e=>e.visible)).slice(...n?[l+1]:[0,l]).reduce(((e,t)=>e+(t.height||0)+i),0)}),[t]);return{toasts:t,handlers:{updateHeight:hF,startPause:mF,endPause:n,calculateOffset:a}}})(r);return i.createElement("div",{style:{position:"fixed",zIndex:9999,top:16,left:16,right:16,bottom:16,pointerEvents:"none",...s},className:o,onMouseEnter:c.startPause,onMouseLeave:c.endPause},l.map((r=>{let s=r.position||t,o=((e,t)=>{let r=e.includes("top"),n=r?{top:0}:{bottom:0},i=e.includes("center")?{justifyContent:"center"}:e.includes("right")?{justifyContent:"flex-end"}:{};return{left:0,right:0,display:"flex",position:"absolute",transition:iF()?void 0:"all 230ms cubic-bezier(.21,1.02,.73,1)",transform:`translateY(${t*(r?1:-1)}px)`,...n,...i}})(s,c.calculateOffset(r,{reverseOrder:e,gutter:n,defaultPosition:t}));return i.createElement(LF,{id:r.id,key:r.id,onHeightUpdate:c.updateHeight,className:r.visible?OF:"",style:o},"custom"===r.type?rF(r.message,r):a?a(r):i.createElement(RF,{toast:r,position:s}))})))}),{position:"top-right",reverseOrder:!1,gutter:8})))},5095:e=>{"use strict";e.exports=function e(t,r){if(t===r)return!0;if(t&&r&&"object"==typeof t&&"object"==typeof r){if(t.constructor!==r.constructor)return!1;var n,i,a;if(Array.isArray(t)){if((n=t.length)!=r.length)return!1;for(i=n;0!=i--;)if(!e(t[i],r[i]))return!1;return!0}if(t instanceof Map&&r instanceof Map){if(t.size!==r.size)return!1;for(i of t.entries())if(!r.has(i[0]))return!1;for(i of t.entries())if(!e(i[1],r.get(i[0])))return!1;return!0}if(t instanceof Set&&r instanceof Set){if(t.size!==r.size)return!1;for(i of t.entries())if(!r.has(i[0]))return!1;return!0}if(ArrayBuffer.isView(t)&&ArrayBuffer.isView(r)){if((n=t.length)!=r.length)return!1;for(i=n;0!=i--;)if(t[i]!==r[i])return!1;return!0}if(t.constructor===RegExp)return t.source===r.source&&t.flags===r.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===r.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===r.toString();if((n=(a=Object.keys(t)).length)!==Object.keys(r).length)return!1;for(i=n;0!=i--;)if(!Object.prototype.hasOwnProperty.call(r,a[i]))return!1;for(i=n;0!=i--;){var s=a[i];if(!("_owner"===s&&t.$$typeof||e(t[s],r[s])))return!1}return!0}return t!=t&&r!=r}},4146:(e,t,r)=>{"use strict";var n=r(3404),i={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},s={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},o={};function l(e){return n.isMemo(e)?s:o[e.$$typeof]||i}o[n.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},o[n.Memo]=s;var c=Object.defineProperty,u=Object.getOwnPropertyNames,p=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,r,n){if("string"!=typeof r){if(h){var i=f(r);i&&i!==h&&e(t,i,n)}var s=u(r);p&&(s=s.concat(p(r)));for(var o=l(t),m=l(r),g=0;g<s.length;++g){var y=s[g];if(!(a[y]||n&&n[y]||m&&m[y]||o&&o[y])){var v=d(r,y);try{c(t,y,v)}catch(e){}}}}return t}},3072:(e,t)=>{"use strict";var r="function"==typeof Symbol&&Symbol.for,n=r?Symbol.for("react.element"):60103,i=r?Symbol.for("react.portal"):60106,a=r?Symbol.for("react.fragment"):60107,s=r?Symbol.for("react.strict_mode"):60108,o=r?Symbol.for("react.profiler"):60114,l=r?Symbol.for("react.provider"):60109,c=r?Symbol.for("react.context"):60110,u=r?Symbol.for("react.async_mode"):60111,p=r?Symbol.for("react.concurrent_mode"):60111,d=r?Symbol.for("react.forward_ref"):60112,f=r?Symbol.for("react.suspense"):60113,h=r?Symbol.for("react.suspense_list"):60120,m=r?Symbol.for("react.memo"):60115,g=r?Symbol.for("react.lazy"):60116,y=r?Symbol.for("react.block"):60121,v=r?Symbol.for("react.fundamental"):60117,b=r?Symbol.for("react.responder"):60118,x=r?Symbol.for("react.scope"):60119;function w(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case u:case p:case a:case o:case s:case f:return e;default:switch(e=e&&e.$$typeof){case c:case d:case g:case m:case l:return e;default:return t}}case i:return t}}}function E(e){return w(e)===p}t.AsyncMode=u,t.ConcurrentMode=p,t.ContextConsumer=c,t.ContextProvider=l,t.Element=n,t.ForwardRef=d,t.Fragment=a,t.Lazy=g,t.Memo=m,t.Portal=i,t.Profiler=o,t.StrictMode=s,t.Suspense=f,t.isAsyncMode=function(e){return E(e)||w(e)===u},t.isConcurrentMode=E,t.isContextConsumer=function(e){return w(e)===c},t.isContextProvider=function(e){return w(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===n},t.isForwardRef=function(e){return w(e)===d},t.isFragment=function(e){return w(e)===a},t.isLazy=function(e){return w(e)===g},t.isMemo=function(e){return w(e)===m},t.isPortal=function(e){return w(e)===i},t.isProfiler=function(e){return w(e)===o},t.isStrictMode=function(e){return w(e)===s},t.isSuspense=function(e){return w(e)===f},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===a||e===p||e===o||e===s||e===f||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===m||e.$$typeof===l||e.$$typeof===c||e.$$typeof===d||e.$$typeof===v||e.$$typeof===b||e.$$typeof===x||e.$$typeof===y)},t.typeOf=w},3404:(e,t,r)=>{"use strict";e.exports=r(3072)},9891:function(module,exports,__webpack_require__){var factory;"undefined"!=typeof navigator&&(factory=function(){"use strict";var svgNS="http://www.w3.org/2000/svg",locationHref="",_useWebWorker=!1,initialDefaultFrame=-999999,setWebWorker=function(e){_useWebWorker=!!e},getWebWorker=function(){return _useWebWorker},setLocationHref=function(e){locationHref=e},getLocationHref=function(){return locationHref};function createTag(e){return document.createElement(e)}function extendPrototype(e,t){var r,n,i=e.length;for(r=0;r<i;r+=1)for(var a in n=e[r].prototype)Object.prototype.hasOwnProperty.call(n,a)&&(t.prototype[a]=n[a])}function getDescriptor(e,t){return Object.getOwnPropertyDescriptor(e,t)}function createProxyFunction(e){function t(){}return t.prototype=e,t}var audioControllerFactory=function(){function e(e){this.audios=[],this.audioFactory=e,this._volume=1,this._isMuted=!1}return e.prototype={addAudio:function(e){this.audios.push(e)},pause:function(){var e,t=this.audios.length;for(e=0;e<t;e+=1)this.audios[e].pause()},resume:function(){var e,t=this.audios.length;for(e=0;e<t;e+=1)this.audios[e].resume()},setRate:function(e){var t,r=this.audios.length;for(t=0;t<r;t+=1)this.audios[t].setRate(e)},createAudio:function(e){return this.audioFactory?this.audioFactory(e):window.Howl?new window.Howl({src:[e]}):{isPlaying:!1,play:function(){this.isPlaying=!0},seek:function(){this.isPlaying=!1},playing:function(){},rate:function(){},setVolume:function(){}}},setAudioFactory:function(e){this.audioFactory=e},setVolume:function(e){this._volume=e,this._updateVolume()},mute:function(){this._isMuted=!0,this._updateVolume()},unmute:function(){this._isMuted=!1,this._updateVolume()},getVolume:function(){return this._volume},_updateVolume:function(){var e,t=this.audios.length;for(e=0;e<t;e+=1)this.audios[e].volume(this._volume*(this._isMuted?0:1))}},function(){return new e}}(),createTypedArray=function(){function e(e,t){var r,n=0,i=[];switch(e){case"int16":case"uint8c":r=1;break;default:r=1.1}for(n=0;n<t;n+=1)i.push(r);return i}return"function"==typeof Uint8ClampedArray&&"function"==typeof Float32Array?function(t,r){return"float32"===t?new Float32Array(r):"int16"===t?new Int16Array(r):"uint8c"===t?new Uint8ClampedArray(r):e(t,r)}:e}();function createSizedArray(e){return Array.apply(null,{length:e})}function _typeof$6(e){return _typeof$6="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},_typeof$6(e)}var subframeEnabled=!0,expressionsPlugin=null,expressionsInterfaces=null,idPrefix$1="",isSafari=/^((?!chrome|android).)*safari/i.test(navigator.userAgent),_shouldRoundValues=!1,bmPow=Math.pow,bmSqrt=Math.sqrt,bmFloor=Math.floor,bmMax=Math.max,bmMin=Math.min,BMMath={};function ProjectInterface$1(){return{}}!function(){var e,t=["abs","acos","acosh","asin","asinh","atan","atanh","atan2","ceil","cbrt","expm1","clz32","cos","cosh","exp","floor","fround","hypot","imul","log","log1p","log2","log10","max","min","pow","random","round","sign","sin","sinh","sqrt","tan","tanh","trunc","E","LN10","LN2","LOG10E","LOG2E","PI","SQRT1_2","SQRT2"],r=t.length;for(e=0;e<r;e+=1)BMMath[t[e]]=Math[t[e]]}(),BMMath.random=Math.random,BMMath.abs=function(e){if("object"===_typeof$6(e)&&e.length){var t,r=createSizedArray(e.length),n=e.length;for(t=0;t<n;t+=1)r[t]=Math.abs(e[t]);return r}return Math.abs(e)};var defaultCurveSegments=150,degToRads=Math.PI/180,roundCorner=.5519;function roundValues(e){_shouldRoundValues=!!e}function bmRnd(e){return _shouldRoundValues?Math.round(e):e}function styleDiv(e){e.style.position="absolute",e.style.top=0,e.style.left=0,e.style.display="block",e.style.transformOrigin="0 0",e.style.webkitTransformOrigin="0 0",e.style.backfaceVisibility="visible",e.style.webkitBackfaceVisibility="visible",e.style.transformStyle="preserve-3d",e.style.webkitTransformStyle="preserve-3d",e.style.mozTransformStyle="preserve-3d"}function BMEnterFrameEvent(e,t,r,n){this.type=e,this.currentTime=t,this.totalTime=r,this.direction=n<0?-1:1}function BMCompleteEvent(e,t){this.type=e,this.direction=t<0?-1:1}function BMCompleteLoopEvent(e,t,r,n){this.type=e,this.currentLoop=r,this.totalLoops=t,this.direction=n<0?-1:1}function BMSegmentStartEvent(e,t,r){this.type=e,this.firstFrame=t,this.totalFrames=r}function BMDestroyEvent(e,t){this.type=e,this.target=t}function BMRenderFrameErrorEvent(e,t){this.type="renderFrameError",this.nativeError=e,this.currentTime=t}function BMConfigErrorEvent(e){this.type="configError",this.nativeError=e}function BMAnimationConfigErrorEvent(e,t){this.type=e,this.nativeError=t}var createElementID=(_count=0,function(){return idPrefix$1+"__lottie_element_"+(_count+=1)}),_count;function HSVtoRGB(e,t,r){var n,i,a,s,o,l,c,u;switch(l=r*(1-t),c=r*(1-(o=6*e-(s=Math.floor(6*e)))*t),u=r*(1-(1-o)*t),s%6){case 0:n=r,i=u,a=l;break;case 1:n=c,i=r,a=l;break;case 2:n=l,i=r,a=u;break;case 3:n=l,i=c,a=r;break;case 4:n=u,i=l,a=r;break;case 5:n=r,i=l,a=c}return[n,i,a]}function RGBtoHSV(e,t,r){var n,i=Math.max(e,t,r),a=Math.min(e,t,r),s=i-a,o=0===i?0:s/i,l=i/255;switch(i){case a:n=0;break;case e:n=t-r+s*(t<r?6:0),n/=6*s;break;case t:n=r-e+2*s,n/=6*s;break;case r:n=e-t+4*s,n/=6*s}return[n,o,l]}function addSaturationToRGB(e,t){var r=RGBtoHSV(255*e[0],255*e[1],255*e[2]);return r[1]+=t,r[1]>1?r[1]=1:r[1]<=0&&(r[1]=0),HSVtoRGB(r[0],r[1],r[2])}function addBrightnessToRGB(e,t){var r=RGBtoHSV(255*e[0],255*e[1],255*e[2]);return r[2]+=t,r[2]>1?r[2]=1:r[2]<0&&(r[2]=0),HSVtoRGB(r[0],r[1],r[2])}function addHueToRGB(e,t){var r=RGBtoHSV(255*e[0],255*e[1],255*e[2]);return r[0]+=t/360,r[0]>1?r[0]-=1:r[0]<0&&(r[0]+=1),HSVtoRGB(r[0],r[1],r[2])}var rgbToHex=function(){var e,t,r=[];for(e=0;e<256;e+=1)t=e.toString(16),r[e]=1===t.length?"0"+t:t;return function(e,t,n){return e<0&&(e=0),t<0&&(t=0),n<0&&(n=0),"#"+r[e]+r[t]+r[n]}}(),setSubframeEnabled=function(e){subframeEnabled=!!e},getSubframeEnabled=function(){return subframeEnabled},setExpressionsPlugin=function(e){expressionsPlugin=e},getExpressionsPlugin=function(){return expressionsPlugin},setExpressionInterfaces=function(e){expressionsInterfaces=e},getExpressionInterfaces=function(){return expressionsInterfaces},setDefaultCurveSegments=function(e){defaultCurveSegments=e},getDefaultCurveSegments=function(){return defaultCurveSegments},setIdPrefix=function(e){idPrefix$1=e},getIdPrefix=function(){return idPrefix$1};function createNS(e){return document.createElementNS(svgNS,e)}function _typeof$5(e){return _typeof$5="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},_typeof$5(e)}var dataManager=function(){var e,t,r=1,n=[],i={onmessage:function(){},postMessage:function(t){e({data:t})}},a={postMessage:function(e){i.onmessage({data:e})}};function s(){t||(t=function(t){if(window.Worker&&window.Blob&&getWebWorker()){var r=new Blob(["var _workerSelf = self; self.onmessage = ",t.toString()],{type:"text/javascript"}),n=URL.createObjectURL(r);return new Worker(n)}return e=t,i}((function(e){if(a.dataManager||(a.dataManager=function(){function e(i,a){var s,o,l,c,u,p,d,f=i.length;for(o=0;o<f;o+=1)if("ks"in(s=i[o])&&!s.completed){if(s.completed=!0,s.hasMask){var h=s.masksProperties;for(c=h.length,l=0;l<c;l+=1)if(h[l].pt.k.i)n(h[l].pt.k);else for(p=h[l].pt.k.length,u=0;u<p;u+=1)h[l].pt.k[u].s&&n(h[l].pt.k[u].s[0]),h[l].pt.k[u].e&&n(h[l].pt.k[u].e[0])}0===s.ty?(s.layers=t(s.refId,a),e(s.layers,a)):4===s.ty?r(s.shapes):5===s.ty&&(0===(d=s).t.a.length&&d.t.p)}}function t(e,t){var r=function(e,t){for(var r=0,n=t.length;r<n;){if(t[r].id===e)return t[r];r+=1}return null}(e,t);return r?r.layers.__used?JSON.parse(JSON.stringify(r.layers)):(r.layers.__used=!0,r.layers):null}function r(e){var t,i,a;for(t=e.length-1;t>=0;t-=1)if("sh"===e[t].ty)if(e[t].ks.k.i)n(e[t].ks.k);else for(a=e[t].ks.k.length,i=0;i<a;i+=1)e[t].ks.k[i].s&&n(e[t].ks.k[i].s[0]),e[t].ks.k[i].e&&n(e[t].ks.k[i].e[0]);else"gr"===e[t].ty&&r(e[t].it)}function n(e){var t,r=e.i.length;for(t=0;t<r;t+=1)e.i[t][0]+=e.v[t][0],e.i[t][1]+=e.v[t][1],e.o[t][0]+=e.v[t][0],e.o[t][1]+=e.v[t][1]}function i(e,t){var r=t?t.split("."):[100,100,100];return e[0]>r[0]||!(r[0]>e[0])&&(e[1]>r[1]||!(r[1]>e[1])&&(e[2]>r[2]||!(r[2]>e[2])&&null))}var a,s=function(){var e=[4,4,14];function t(e){var t,r,n,i=e.length;for(t=0;t<i;t+=1)5===e[t].ty&&(void 0,n=(r=e[t]).t.d,r.t.d={k:[{s:n,t:0}]})}return function(r){if(i(e,r.v)&&(t(r.layers),r.assets)){var n,a=r.assets.length;for(n=0;n<a;n+=1)r.assets[n].layers&&t(r.assets[n].layers)}}}(),o=(a=[4,7,99],function(e){if(e.chars&&!i(a,e.v)){var t,n=e.chars.length;for(t=0;t<n;t+=1){var s=e.chars[t];s.data&&s.data.shapes&&(r(s.data.shapes),s.data.ip=0,s.data.op=99999,s.data.st=0,s.data.sr=1,s.data.ks={p:{k:[0,0],a:0},s:{k:[100,100],a:0},a:{k:[0,0],a:0},r:{k:0,a:0},o:{k:100,a:0}},e.chars[t].t||(s.data.shapes.push({ty:"no"}),s.data.shapes[0].it.push({p:{k:[0,0],a:0},s:{k:[100,100],a:0},a:{k:[0,0],a:0},r:{k:0,a:0},o:{k:100,a:0},sk:{k:0,a:0},sa:{k:0,a:0},ty:"tr"})))}}}),l=function(){var e=[5,7,15];function t(e){var t,r,n=e.length;for(t=0;t<n;t+=1)5===e[t].ty&&(r=void 0,"number"==typeof(r=e[t].t.p).a&&(r.a={a:0,k:r.a}),"number"==typeof r.p&&(r.p={a:0,k:r.p}),"number"==typeof r.r&&(r.r={a:0,k:r.r}))}return function(r){if(i(e,r.v)&&(t(r.layers),r.assets)){var n,a=r.assets.length;for(n=0;n<a;n+=1)r.assets[n].layers&&t(r.assets[n].layers)}}}(),c=function(){var e=[4,1,9];function t(e){var r,n,i,a=e.length;for(r=0;r<a;r+=1)if("gr"===e[r].ty)t(e[r].it);else if("fl"===e[r].ty||"st"===e[r].ty)if(e[r].c.k&&e[r].c.k[0].i)for(i=e[r].c.k.length,n=0;n<i;n+=1)e[r].c.k[n].s&&(e[r].c.k[n].s[0]/=255,e[r].c.k[n].s[1]/=255,e[r].c.k[n].s[2]/=255,e[r].c.k[n].s[3]/=255),e[r].c.k[n].e&&(e[r].c.k[n].e[0]/=255,e[r].c.k[n].e[1]/=255,e[r].c.k[n].e[2]/=255,e[r].c.k[n].e[3]/=255);else e[r].c.k[0]/=255,e[r].c.k[1]/=255,e[r].c.k[2]/=255,e[r].c.k[3]/=255}function r(e){var r,n=e.length;for(r=0;r<n;r+=1)4===e[r].ty&&t(e[r].shapes)}return function(t){if(i(e,t.v)&&(r(t.layers),t.assets)){var n,a=t.assets.length;for(n=0;n<a;n+=1)t.assets[n].layers&&r(t.assets[n].layers)}}}(),u=function(){var e=[4,4,18];function t(e){var r,n,i;for(r=e.length-1;r>=0;r-=1)if("sh"===e[r].ty)if(e[r].ks.k.i)e[r].ks.k.c=e[r].closed;else for(i=e[r].ks.k.length,n=0;n<i;n+=1)e[r].ks.k[n].s&&(e[r].ks.k[n].s[0].c=e[r].closed),e[r].ks.k[n].e&&(e[r].ks.k[n].e[0].c=e[r].closed);else"gr"===e[r].ty&&t(e[r].it)}function r(e){var r,n,i,a,s,o,l=e.length;for(n=0;n<l;n+=1){if((r=e[n]).hasMask){var c=r.masksProperties;for(a=c.length,i=0;i<a;i+=1)if(c[i].pt.k.i)c[i].pt.k.c=c[i].cl;else for(o=c[i].pt.k.length,s=0;s<o;s+=1)c[i].pt.k[s].s&&(c[i].pt.k[s].s[0].c=c[i].cl),c[i].pt.k[s].e&&(c[i].pt.k[s].e[0].c=c[i].cl)}4===r.ty&&t(r.shapes)}}return function(t){if(i(e,t.v)&&(r(t.layers),t.assets)){var n,a=t.assets.length;for(n=0;n<a;n+=1)t.assets[n].layers&&r(t.assets[n].layers)}}}();var p={completeData:function(r){r.__complete||(c(r),s(r),o(r),l(r),u(r),e(r.layers,r.assets),function(r,n){if(r){var i=0,a=r.length;for(i=0;i<a;i+=1)1===r[i].t&&(r[i].data.layers=t(r[i].data.refId,n),e(r[i].data.layers,n))}}(r.chars,r.assets),r.__complete=!0)}};return p.checkColors=c,p.checkChars=o,p.checkPathProperties=l,p.checkShapes=u,p.completeLayers=e,p}()),a.assetLoader||(a.assetLoader=function(){function e(e){var t=e.getResponseHeader("content-type");return t&&"json"===e.responseType&&-1!==t.indexOf("json")||e.response&&"object"===_typeof$5(e.response)?e.response:e.response&&"string"==typeof e.response?JSON.parse(e.response):e.responseText?JSON.parse(e.responseText):null}return{load:function(t,r,n,i){var a,s=new XMLHttpRequest;try{s.responseType="json"}catch(e){}s.onreadystatechange=function(){if(4===s.readyState)if(200===s.status)a=e(s),n(a);else try{a=e(s),n(a)}catch(e){i&&i(e)}};try{s.open(["G","E","T"].join(""),t,!0)}catch(e){s.open(["G","E","T"].join(""),r+"/"+t,!0)}s.send()}}}()),"loadAnimation"===e.data.type)a.assetLoader.load(e.data.path,e.data.fullPath,(function(t){a.dataManager.completeData(t),a.postMessage({id:e.data.id,payload:t,status:"success"})}),(function(){a.postMessage({id:e.data.id,status:"error"})}));else if("complete"===e.data.type){var t=e.data.animation;a.dataManager.completeData(t),a.postMessage({id:e.data.id,payload:t,status:"success"})}else"loadData"===e.data.type&&a.assetLoader.load(e.data.path,e.data.fullPath,(function(t){a.postMessage({id:e.data.id,payload:t,status:"success"})}),(function(){a.postMessage({id:e.data.id,status:"error"})}))})),t.onmessage=function(e){var t=e.data,r=t.id,i=n[r];n[r]=null,"success"===t.status?i.onComplete(t.payload):i.onError&&i.onError()})}function o(e,t){var i="processId_"+(r+=1);return n[i]={onComplete:e,onError:t},i}return{loadAnimation:function(e,r,n){s();var i=o(r,n);t.postMessage({type:"loadAnimation",path:e,fullPath:window.location.origin+window.location.pathname,id:i})},loadData:function(e,r,n){s();var i=o(r,n);t.postMessage({type:"loadData",path:e,fullPath:window.location.origin+window.location.pathname,id:i})},completeAnimation:function(e,r,n){s();var i=o(r,n);t.postMessage({type:"complete",animation:e,id:i})}}}(),ImagePreloader=function(){var e=function(){var e=createTag("canvas");e.width=1,e.height=1;var t=e.getContext("2d");return t.fillStyle="rgba(0,0,0,0)",t.fillRect(0,0,1,1),e}();function t(){this.loadedAssets+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function r(){this.loadedFootagesCount+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function n(e,t,r){var n="";if(e.e)n=e.p;else if(t){var i=e.p;-1!==i.indexOf("images/")&&(i=i.split("/")[1]),n=t+i}else n=r,n+=e.u?e.u:"",n+=e.p;return n}function i(e){var t=0,r=setInterval(function(){(e.getBBox().width||t>500)&&(this._imageLoaded(),clearInterval(r)),t+=1}.bind(this),50)}function a(e){var t={assetData:e},r=n(e,this.assetsPath,this.path);return dataManager.loadData(r,function(e){t.img=e,this._footageLoaded()}.bind(this),function(){t.img={},this._footageLoaded()}.bind(this)),t}function s(){this._imageLoaded=t.bind(this),this._footageLoaded=r.bind(this),this.testImageLoaded=i.bind(this),this.createFootageData=a.bind(this),this.assetsPath="",this.path="",this.totalImages=0,this.totalFootages=0,this.loadedAssets=0,this.loadedFootagesCount=0,this.imagesLoadedCb=null,this.images=[]}return s.prototype={loadAssets:function(e,t){var r;this.imagesLoadedCb=t;var n=e.length;for(r=0;r<n;r+=1)e[r].layers||(e[r].t&&"seq"!==e[r].t?3===e[r].t&&(this.totalFootages+=1,this.images.push(this.createFootageData(e[r]))):(this.totalImages+=1,this.images.push(this._createImageData(e[r]))))},setAssetsPath:function(e){this.assetsPath=e||""},setPath:function(e){this.path=e||""},loadedImages:function(){return this.totalImages===this.loadedAssets},loadedFootages:function(){return this.totalFootages===this.loadedFootagesCount},destroy:function(){this.imagesLoadedCb=null,this.images.length=0},getAsset:function(e){for(var t=0,r=this.images.length;t<r;){if(this.images[t].assetData===e)return this.images[t].img;t+=1}return null},createImgData:function(t){var r=n(t,this.assetsPath,this.path),i=createTag("img");i.crossOrigin="anonymous",i.addEventListener("load",this._imageLoaded,!1),i.addEventListener("error",function(){a.img=e,this._imageLoaded()}.bind(this),!1),i.src=r;var a={img:i,assetData:t};return a},createImageData:function(t){var r=n(t,this.assetsPath,this.path),i=createNS("image");isSafari?this.testImageLoaded(i):i.addEventListener("load",this._imageLoaded,!1),i.addEventListener("error",function(){a.img=e,this._imageLoaded()}.bind(this),!1),i.setAttributeNS("http://www.w3.org/1999/xlink","href",r),this._elementHelper.append?this._elementHelper.append(i):this._elementHelper.appendChild(i);var a={img:i,assetData:t};return a},imageLoaded:t,footageLoaded:r,setCacheType:function(e,t){"svg"===e?(this._elementHelper=t,this._createImageData=this.createImageData.bind(this)):this._createImageData=this.createImgData.bind(this)}},s}();function BaseEvent(){}BaseEvent.prototype={triggerEvent:function(e,t){if(this._cbs[e])for(var r=this._cbs[e],n=0;n<r.length;n+=1)r[n](t)},addEventListener:function(e,t){return this._cbs[e]||(this._cbs[e]=[]),this._cbs[e].push(t),function(){this.removeEventListener(e,t)}.bind(this)},removeEventListener:function(e,t){if(t){if(this._cbs[e]){for(var r=0,n=this._cbs[e].length;r<n;)this._cbs[e][r]===t&&(this._cbs[e].splice(r,1),r-=1,n-=1),r+=1;this._cbs[e].length||(this._cbs[e]=null)}}else this._cbs[e]=null}};var markerParser=function(){function e(e){for(var t,r=e.split("\r\n"),n={},i=0,a=0;a<r.length;a+=1)2===(t=r[a].split(":")).length&&(n[t[0]]=t[1].trim(),i+=1);if(0===i)throw new Error;return n}return function(t){for(var r=[],n=0;n<t.length;n+=1){var i=t[n],a={time:i.tm,duration:i.dr};try{a.payload=JSON.parse(t[n].cm)}catch(r){try{a.payload=e(t[n].cm)}catch(e){a.payload={name:t[n].cm}}}r.push(a)}return r}}(),ProjectInterface=function(){function e(e){this.compositions.push(e)}return function(){function t(e){for(var t=0,r=this.compositions.length;t<r;){if(this.compositions[t].data&&this.compositions[t].data.nm===e)return this.compositions[t].prepareFrame&&this.compositions[t].data.xt&&this.compositions[t].prepareFrame(this.currentFrame),this.compositions[t].compInterface;t+=1}return null}return t.compositions=[],t.currentFrame=0,t.registerComposition=e,t}}(),renderers={},registerRenderer=function(e,t){renderers[e]=t};function getRenderer(e){return renderers[e]}function getRegisteredRenderer(){if(renderers.canvas)return"canvas";for(var e in renderers)if(renderers[e])return e;return""}function _typeof$4(e){return _typeof$4="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},_typeof$4(e)}var AnimationItem=function(){this._cbs=[],this.name="",this.path="",this.isLoaded=!1,this.currentFrame=0,this.currentRawFrame=0,this.firstFrame=0,this.totalFrames=0,this.frameRate=0,this.frameMult=0,this.playSpeed=1,this.playDirection=1,this.playCount=0,this.animationData={},this.assets=[],this.isPaused=!0,this.autoplay=!1,this.loop=!0,this.renderer=null,this.animationID=createElementID(),this.assetsPath="",this.timeCompleted=0,this.segmentPos=0,this.isSubframeEnabled=getSubframeEnabled(),this.segments=[],this._idle=!0,this._completedLoop=!1,this.projectInterface=ProjectInterface(),this.imagePreloader=new ImagePreloader,this.audioController=audioControllerFactory(),this.markers=[],this.configAnimation=this.configAnimation.bind(this),this.onSetupError=this.onSetupError.bind(this),this.onSegmentComplete=this.onSegmentComplete.bind(this),this.drawnFrameEvent=new BMEnterFrameEvent("drawnFrame",0,0,0),this.expressionsPlugin=getExpressionsPlugin()};extendPrototype([BaseEvent],AnimationItem),AnimationItem.prototype.setParams=function(e){(e.wrapper||e.container)&&(this.wrapper=e.wrapper||e.container);var t="svg";e.animType?t=e.animType:e.renderer&&(t=e.renderer);var r=getRenderer(t);this.renderer=new r(this,e.rendererSettings),this.imagePreloader.setCacheType(t,this.renderer.globalData.defs),this.renderer.setProjectInterface(this.projectInterface),this.animType=t,""===e.loop||null===e.loop||void 0===e.loop||!0===e.loop?this.loop=!0:!1===e.loop?this.loop=!1:this.loop=parseInt(e.loop,10),this.autoplay=!("autoplay"in e)||e.autoplay,this.name=e.name?e.name:"",this.autoloadSegments=!Object.prototype.hasOwnProperty.call(e,"autoloadSegments")||e.autoloadSegments,this.assetsPath=e.assetsPath,this.initialSegment=e.initialSegment,e.audioFactory&&this.audioController.setAudioFactory(e.audioFactory),e.animationData?this.setupAnimation(e.animationData):e.path&&(-1!==e.path.lastIndexOf("\\")?this.path=e.path.substr(0,e.path.lastIndexOf("\\")+1):this.path=e.path.substr(0,e.path.lastIndexOf("/")+1),this.fileName=e.path.substr(e.path.lastIndexOf("/")+1),this.fileName=this.fileName.substr(0,this.fileName.lastIndexOf(".json")),dataManager.loadAnimation(e.path,this.configAnimation,this.onSetupError))},AnimationItem.prototype.onSetupError=function(){this.trigger("data_failed")},AnimationItem.prototype.setupAnimation=function(e){dataManager.completeAnimation(e,this.configAnimation)},AnimationItem.prototype.setData=function(e,t){t&&"object"!==_typeof$4(t)&&(t=JSON.parse(t));var r={wrapper:e,animationData:t},n=e.attributes;r.path=n.getNamedItem("data-animation-path")?n.getNamedItem("data-animation-path").value:n.getNamedItem("data-bm-path")?n.getNamedItem("data-bm-path").value:n.getNamedItem("bm-path")?n.getNamedItem("bm-path").value:"",r.animType=n.getNamedItem("data-anim-type")?n.getNamedItem("data-anim-type").value:n.getNamedItem("data-bm-type")?n.getNamedItem("data-bm-type").value:n.getNamedItem("bm-type")?n.getNamedItem("bm-type").value:n.getNamedItem("data-bm-renderer")?n.getNamedItem("data-bm-renderer").value:n.getNamedItem("bm-renderer")?n.getNamedItem("bm-renderer").value:getRegisteredRenderer()||"canvas";var i=n.getNamedItem("data-anim-loop")?n.getNamedItem("data-anim-loop").value:n.getNamedItem("data-bm-loop")?n.getNamedItem("data-bm-loop").value:n.getNamedItem("bm-loop")?n.getNamedItem("bm-loop").value:"";"false"===i?r.loop=!1:"true"===i?r.loop=!0:""!==i&&(r.loop=parseInt(i,10));var a=n.getNamedItem("data-anim-autoplay")?n.getNamedItem("data-anim-autoplay").value:n.getNamedItem("data-bm-autoplay")?n.getNamedItem("data-bm-autoplay").value:!n.getNamedItem("bm-autoplay")||n.getNamedItem("bm-autoplay").value;r.autoplay="false"!==a,r.name=n.getNamedItem("data-name")?n.getNamedItem("data-name").value:n.getNamedItem("data-bm-name")?n.getNamedItem("data-bm-name").value:n.getNamedItem("bm-name")?n.getNamedItem("bm-name").value:"","false"===(n.getNamedItem("data-anim-prerender")?n.getNamedItem("data-anim-prerender").value:n.getNamedItem("data-bm-prerender")?n.getNamedItem("data-bm-prerender").value:n.getNamedItem("bm-prerender")?n.getNamedItem("bm-prerender").value:"")&&(r.prerender=!1),r.path?this.setParams(r):this.trigger("destroy")},AnimationItem.prototype.includeLayers=function(e){e.op>this.animationData.op&&(this.animationData.op=e.op,this.totalFrames=Math.floor(e.op-this.animationData.ip));var t,r,n=this.animationData.layers,i=n.length,a=e.layers,s=a.length;for(r=0;r<s;r+=1)for(t=0;t<i;){if(n[t].id===a[r].id){n[t]=a[r];break}t+=1}if((e.chars||e.fonts)&&(this.renderer.globalData.fontManager.addChars(e.chars),this.renderer.globalData.fontManager.addFonts(e.fonts,this.renderer.globalData.defs)),e.assets)for(i=e.assets.length,t=0;t<i;t+=1)this.animationData.assets.push(e.assets[t]);this.animationData.__complete=!1,dataManager.completeAnimation(this.animationData,this.onSegmentComplete)},AnimationItem.prototype.onSegmentComplete=function(e){this.animationData=e;var t=getExpressionsPlugin();t&&t.initExpressions(this),this.loadNextSegment()},AnimationItem.prototype.loadNextSegment=function(){var e=this.animationData.segments;if(!e||0===e.length||!this.autoloadSegments)return this.trigger("data_ready"),void(this.timeCompleted=this.totalFrames);var t=e.shift();this.timeCompleted=t.time*this.frameRate;var r=this.path+this.fileName+"_"+this.segmentPos+".json";this.segmentPos+=1,dataManager.loadData(r,this.includeLayers.bind(this),function(){this.trigger("data_failed")}.bind(this))},AnimationItem.prototype.loadSegments=function(){this.animationData.segments||(this.timeCompleted=this.totalFrames),this.loadNextSegment()},AnimationItem.prototype.imagesLoaded=function(){this.trigger("loaded_images"),this.checkLoaded()},AnimationItem.prototype.preloadImages=function(){this.imagePreloader.setAssetsPath(this.assetsPath),this.imagePreloader.setPath(this.path),this.imagePreloader.loadAssets(this.animationData.assets,this.imagesLoaded.bind(this))},AnimationItem.prototype.configAnimation=function(e){if(this.renderer)try{this.animationData=e,this.initialSegment?(this.totalFrames=Math.floor(this.initialSegment[1]-this.initialSegment[0]),this.firstFrame=Math.round(this.initialSegment[0])):(this.totalFrames=Math.floor(this.animationData.op-this.animationData.ip),this.firstFrame=Math.round(this.animationData.ip)),this.renderer.configAnimation(e),e.assets||(e.assets=[]),this.assets=this.animationData.assets,this.frameRate=this.animationData.fr,this.frameMult=this.animationData.fr/1e3,this.renderer.searchExtraCompositions(e.assets),this.markers=markerParser(e.markers||[]),this.trigger("config_ready"),this.preloadImages(),this.loadSegments(),this.updaFrameModifier(),this.waitForFontsLoaded(),this.isPaused&&this.audioController.pause()}catch(e){this.triggerConfigError(e)}},AnimationItem.prototype.waitForFontsLoaded=function(){this.renderer&&(this.renderer.globalData.fontManager.isLoaded?this.checkLoaded():setTimeout(this.waitForFontsLoaded.bind(this),20))},AnimationItem.prototype.checkLoaded=function(){if(!this.isLoaded&&this.renderer.globalData.fontManager.isLoaded&&(this.imagePreloader.loadedImages()||"canvas"!==this.renderer.rendererType)&&this.imagePreloader.loadedFootages()){this.isLoaded=!0;var e=getExpressionsPlugin();e&&e.initExpressions(this),this.renderer.initItems(),setTimeout(function(){this.trigger("DOMLoaded")}.bind(this),0),this.gotoFrame(),this.autoplay&&this.play()}},AnimationItem.prototype.resize=function(e,t){var r="number"==typeof e?e:void 0,n="number"==typeof t?t:void 0;this.renderer.updateContainerSize(r,n)},AnimationItem.prototype.setSubframe=function(e){this.isSubframeEnabled=!!e},AnimationItem.prototype.gotoFrame=function(){this.currentFrame=this.isSubframeEnabled?this.currentRawFrame:~~this.currentRawFrame,this.timeCompleted!==this.totalFrames&&this.currentFrame>this.timeCompleted&&(this.currentFrame=this.timeCompleted),this.trigger("enterFrame"),this.renderFrame(),this.trigger("drawnFrame")},AnimationItem.prototype.renderFrame=function(){if(!1!==this.isLoaded&&this.renderer)try{this.expressionsPlugin&&this.expressionsPlugin.resetFrame(),this.renderer.renderFrame(this.currentFrame+this.firstFrame)}catch(e){this.triggerRenderFrameError(e)}},AnimationItem.prototype.play=function(e){e&&this.name!==e||!0===this.isPaused&&(this.isPaused=!1,this.trigger("_play"),this.audioController.resume(),this._idle&&(this._idle=!1,this.trigger("_active")))},AnimationItem.prototype.pause=function(e){e&&this.name!==e||!1===this.isPaused&&(this.isPaused=!0,this.trigger("_pause"),this._idle=!0,this.trigger("_idle"),this.audioController.pause())},AnimationItem.prototype.togglePause=function(e){e&&this.name!==e||(!0===this.isPaused?this.play():this.pause())},AnimationItem.prototype.stop=function(e){e&&this.name!==e||(this.pause(),this.playCount=0,this._completedLoop=!1,this.setCurrentRawFrameValue(0))},AnimationItem.prototype.getMarkerData=function(e){for(var t,r=0;r<this.markers.length;r+=1)if((t=this.markers[r]).payload&&t.payload.name===e)return t;return null},AnimationItem.prototype.goToAndStop=function(e,t,r){if(!r||this.name===r){var n=Number(e);if(isNaN(n)){var i=this.getMarkerData(e);i&&this.goToAndStop(i.time,!0)}else t?this.setCurrentRawFrameValue(e):this.setCurrentRawFrameValue(e*this.frameModifier);this.pause()}},AnimationItem.prototype.goToAndPlay=function(e,t,r){if(!r||this.name===r){var n=Number(e);if(isNaN(n)){var i=this.getMarkerData(e);i&&(i.duration?this.playSegments([i.time,i.time+i.duration],!0):this.goToAndStop(i.time,!0))}else this.goToAndStop(n,t,r);this.play()}},AnimationItem.prototype.advanceTime=function(e){if(!0!==this.isPaused&&!1!==this.isLoaded){var t=this.currentRawFrame+e*this.frameModifier,r=!1;t>=this.totalFrames-1&&this.frameModifier>0?this.loop&&this.playCount!==this.loop?t>=this.totalFrames?(this.playCount+=1,this.checkSegments(t%this.totalFrames)||(this.setCurrentRawFrameValue(t%this.totalFrames),this._completedLoop=!0,this.trigger("loopComplete"))):this.setCurrentRawFrameValue(t):this.checkSegments(t>this.totalFrames?t%this.totalFrames:0)||(r=!0,t=this.totalFrames-1):t<0?this.checkSegments(t%this.totalFrames)||(!this.loop||this.playCount--<=0&&!0!==this.loop?(r=!0,t=0):(this.setCurrentRawFrameValue(this.totalFrames+t%this.totalFrames),this._completedLoop?this.trigger("loopComplete"):this._completedLoop=!0)):this.setCurrentRawFrameValue(t),r&&(this.setCurrentRawFrameValue(t),this.pause(),this.trigger("complete"))}},AnimationItem.prototype.adjustSegment=function(e,t){this.playCount=0,e[1]<e[0]?(this.frameModifier>0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(-1)),this.totalFrames=e[0]-e[1],this.timeCompleted=this.totalFrames,this.firstFrame=e[1],this.setCurrentRawFrameValue(this.totalFrames-.001-t)):e[1]>e[0]&&(this.frameModifier<0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(1)),this.totalFrames=e[1]-e[0],this.timeCompleted=this.totalFrames,this.firstFrame=e[0],this.setCurrentRawFrameValue(.001+t)),this.trigger("segmentStart")},AnimationItem.prototype.setSegment=function(e,t){var r=-1;this.isPaused&&(this.currentRawFrame+this.firstFrame<e?r=e:this.currentRawFrame+this.firstFrame>t&&(r=t-e)),this.firstFrame=e,this.totalFrames=t-e,this.timeCompleted=this.totalFrames,-1!==r&&this.goToAndStop(r,!0)},AnimationItem.prototype.playSegments=function(e,t){if(t&&(this.segments.length=0),"object"===_typeof$4(e[0])){var r,n=e.length;for(r=0;r<n;r+=1)this.segments.push(e[r])}else this.segments.push(e);this.segments.length&&t&&this.adjustSegment(this.segments.shift(),0),this.isPaused&&this.play()},AnimationItem.prototype.resetSegments=function(e){this.segments.length=0,this.segments.push([this.animationData.ip,this.animationData.op]),e&&this.checkSegments(0)},AnimationItem.prototype.checkSegments=function(e){return!!this.segments.length&&(this.adjustSegment(this.segments.shift(),e),!0)},AnimationItem.prototype.destroy=function(e){e&&this.name!==e||!this.renderer||(this.renderer.destroy(),this.imagePreloader.destroy(),this.trigger("destroy"),this._cbs=null,this.onEnterFrame=null,this.onLoopComplete=null,this.onComplete=null,this.onSegmentStart=null,this.onDestroy=null,this.renderer=null,this.expressionsPlugin=null,this.imagePreloader=null,this.projectInterface=null)},AnimationItem.prototype.setCurrentRawFrameValue=function(e){this.currentRawFrame=e,this.gotoFrame()},AnimationItem.prototype.setSpeed=function(e){this.playSpeed=e,this.updaFrameModifier()},AnimationItem.prototype.setDirection=function(e){this.playDirection=e<0?-1:1,this.updaFrameModifier()},AnimationItem.prototype.setLoop=function(e){this.loop=e},AnimationItem.prototype.setVolume=function(e,t){t&&this.name!==t||this.audioController.setVolume(e)},AnimationItem.prototype.getVolume=function(){return this.audioController.getVolume()},AnimationItem.prototype.mute=function(e){e&&this.name!==e||this.audioController.mute()},AnimationItem.prototype.unmute=function(e){e&&this.name!==e||this.audioController.unmute()},AnimationItem.prototype.updaFrameModifier=function(){this.frameModifier=this.frameMult*this.playSpeed*this.playDirection,this.audioController.setRate(this.playSpeed*this.playDirection)},AnimationItem.prototype.getPath=function(){return this.path},AnimationItem.prototype.getAssetsPath=function(e){var t="";if(e.e)t=e.p;else if(this.assetsPath){var r=e.p;-1!==r.indexOf("images/")&&(r=r.split("/")[1]),t=this.assetsPath+r}else t=this.path,t+=e.u?e.u:"",t+=e.p;return t},AnimationItem.prototype.getAssetData=function(e){for(var t=0,r=this.assets.length;t<r;){if(e===this.assets[t].id)return this.assets[t];t+=1}return null},AnimationItem.prototype.hide=function(){this.renderer.hide()},AnimationItem.prototype.show=function(){this.renderer.show()},AnimationItem.prototype.getDuration=function(e){return e?this.totalFrames:this.totalFrames/this.frameRate},AnimationItem.prototype.updateDocumentData=function(e,t,r){try{this.renderer.getElementByPath(e).updateDocumentData(t,r)}catch(e){}},AnimationItem.prototype.trigger=function(e){if(this._cbs&&this._cbs[e])switch(e){case"enterFrame":this.triggerEvent(e,new BMEnterFrameEvent(e,this.currentFrame,this.totalFrames,this.frameModifier));break;case"drawnFrame":this.drawnFrameEvent.currentTime=this.currentFrame,this.drawnFrameEvent.totalTime=this.totalFrames,this.drawnFrameEvent.direction=this.frameModifier,this.triggerEvent(e,this.drawnFrameEvent);break;case"loopComplete":this.triggerEvent(e,new BMCompleteLoopEvent(e,this.loop,this.playCount,this.frameMult));break;case"complete":this.triggerEvent(e,new BMCompleteEvent(e,this.frameMult));break;case"segmentStart":this.triggerEvent(e,new BMSegmentStartEvent(e,this.firstFrame,this.totalFrames));break;case"destroy":this.triggerEvent(e,new BMDestroyEvent(e,this));break;default:this.triggerEvent(e)}"enterFrame"===e&&this.onEnterFrame&&this.onEnterFrame.call(this,new BMEnterFrameEvent(e,this.currentFrame,this.totalFrames,this.frameMult)),"loopComplete"===e&&this.onLoopComplete&&this.onLoopComplete.call(this,new BMCompleteLoopEvent(e,this.loop,this.playCount,this.frameMult)),"complete"===e&&this.onComplete&&this.onComplete.call(this,new BMCompleteEvent(e,this.frameMult)),"segmentStart"===e&&this.onSegmentStart&&this.onSegmentStart.call(this,new BMSegmentStartEvent(e,this.firstFrame,this.totalFrames)),"destroy"===e&&this.onDestroy&&this.onDestroy.call(this,new BMDestroyEvent(e,this))},AnimationItem.prototype.triggerRenderFrameError=function(e){var t=new BMRenderFrameErrorEvent(e,this.currentFrame);this.triggerEvent("error",t),this.onError&&this.onError.call(this,t)},AnimationItem.prototype.triggerConfigError=function(e){var t=new BMConfigErrorEvent(e,this.currentFrame);this.triggerEvent("error",t),this.onError&&this.onError.call(this,t)};var animationManager=function(){var e={},t=[],r=0,n=0,i=0,a=!0,s=!1;function o(e){for(var r=0,i=e.target;r<n;)t[r].animation===i&&(t.splice(r,1),r-=1,n-=1,i.isPaused||u()),r+=1}function l(e,r){if(!e)return null;for(var i=0;i<n;){if(t[i].elem===e&&null!==t[i].elem)return t[i].animation;i+=1}var a=new AnimationItem;return p(a,e),a.setData(e,r),a}function c(){i+=1,h()}function u(){i-=1}function p(e,r){e.addEventListener("destroy",o),e.addEventListener("_active",c),e.addEventListener("_idle",u),t.push({elem:r,animation:e}),n+=1}function d(e){var o,l=e-r;for(o=0;o<n;o+=1)t[o].animation.advanceTime(l);r=e,i&&!s?window.requestAnimationFrame(d):a=!0}function f(e){r=e,window.requestAnimationFrame(d)}function h(){!s&&i&&a&&(window.requestAnimationFrame(f),a=!1)}return e.registerAnimation=l,e.loadAnimation=function(e){var t=new AnimationItem;return p(t,null),t.setParams(e),t},e.setSpeed=function(e,r){var i;for(i=0;i<n;i+=1)t[i].animation.setSpeed(e,r)},e.setDirection=function(e,r){var i;for(i=0;i<n;i+=1)t[i].animation.setDirection(e,r)},e.play=function(e){var r;for(r=0;r<n;r+=1)t[r].animation.play(e)},e.pause=function(e){var r;for(r=0;r<n;r+=1)t[r].animation.pause(e)},e.stop=function(e){var r;for(r=0;r<n;r+=1)t[r].animation.stop(e)},e.togglePause=function(e){var r;for(r=0;r<n;r+=1)t[r].animation.togglePause(e)},e.searchAnimations=function(e,t,r){var n,i=[].concat([].slice.call(document.getElementsByClassName("lottie")),[].slice.call(document.getElementsByClassName("bodymovin"))),a=i.length;for(n=0;n<a;n+=1)r&&i[n].setAttribute("data-bm-type",r),l(i[n],e);if(t&&0===a){r||(r="svg");var s=document.getElementsByTagName("body")[0];s.innerText="";var o=createTag("div");o.style.width="100%",o.style.height="100%",o.setAttribute("data-bm-type",r),s.appendChild(o),l(o,e)}},e.resize=function(){var e;for(e=0;e<n;e+=1)t[e].animation.resize()},e.goToAndStop=function(e,r,i){var a;for(a=0;a<n;a+=1)t[a].animation.goToAndStop(e,r,i)},e.destroy=function(e){var r;for(r=n-1;r>=0;r-=1)t[r].animation.destroy(e)},e.freeze=function(){s=!0},e.unfreeze=function(){s=!1,h()},e.setVolume=function(e,r){var i;for(i=0;i<n;i+=1)t[i].animation.setVolume(e,r)},e.mute=function(e){var r;for(r=0;r<n;r+=1)t[r].animation.mute(e)},e.unmute=function(e){var r;for(r=0;r<n;r+=1)t[r].animation.unmute(e)},e.getRegisteredAnimations=function(){var e,r=t.length,n=[];for(e=0;e<r;e+=1)n.push(t[e].animation);return n},e}(),BezierFactory=function(){var e={getBezierEasing:function(e,r,n,i,a){var s=a||("bez_"+e+"_"+r+"_"+n+"_"+i).replace(/\./g,"p");if(t[s])return t[s];var o=new u([e,r,n,i]);return t[s]=o,o}},t={},r=11,n=1/(r-1),i="function"==typeof Float32Array;function a(e,t){return 1-3*t+3*e}function s(e,t){return 3*t-6*e}function o(e){return 3*e}function l(e,t,r){return((a(t,r)*e+s(t,r))*e+o(t))*e}function c(e,t,r){return 3*a(t,r)*e*e+2*s(t,r)*e+o(t)}function u(e){this._p=e,this._mSampleValues=i?new Float32Array(r):new Array(r),this._precomputed=!1,this.get=this.get.bind(this)}return u.prototype={get:function(e){var t=this._p[0],r=this._p[1],n=this._p[2],i=this._p[3];return this._precomputed||this._precompute(),t===r&&n===i?e:0===e?0:1===e?1:l(this._getTForX(e),r,i)},_precompute:function(){var e=this._p[0],t=this._p[1],r=this._p[2],n=this._p[3];this._precomputed=!0,e===t&&r===n||this._calcSampleValues()},_calcSampleValues:function(){for(var e=this._p[0],t=this._p[2],i=0;i<r;++i)this._mSampleValues[i]=l(i*n,e,t)},_getTForX:function(e){for(var t=this._p[0],i=this._p[2],a=this._mSampleValues,s=0,o=1,u=r-1;o!==u&&a[o]<=e;++o)s+=n;var p=s+(e-a[--o])/(a[o+1]-a[o])*n,d=c(p,t,i);return d>=.001?function(e,t,r,n){for(var i=0;i<4;++i){var a=c(t,r,n);if(0===a)return t;t-=(l(t,r,n)-e)/a}return t}(e,p,t,i):0===d?p:function(e,t,r,n,i){var a,s,o=0;do{(a=l(s=t+(r-t)/2,n,i)-e)>0?r=s:t=s}while(Math.abs(a)>1e-7&&++o<10);return s}(e,s,s+n,t,i)}},e}(),pooling={double:function(e){return e.concat(createSizedArray(e.length))}},poolFactory=function(e,t,r){var n=0,i=e,a=createSizedArray(i);return{newElement:function(){return n?a[n-=1]:t()},release:function(e){n===i&&(a=pooling.double(a),i*=2),r&&r(e),a[n]=e,n+=1}}},bezierLengthPool=poolFactory(8,(function(){return{addedLength:0,percents:createTypedArray("float32",getDefaultCurveSegments()),lengths:createTypedArray("float32",getDefaultCurveSegments())}})),segmentsLengthPool=poolFactory(8,(function(){return{lengths:[],totalLength:0}}),(function(e){var t,r=e.lengths.length;for(t=0;t<r;t+=1)bezierLengthPool.release(e.lengths[t]);e.lengths.length=0}));function bezFunction(){var e=Math;function t(e,t,r,n,i,a){var s=e*n+t*i+r*a-i*n-a*e-r*t;return s>-.001&&s<.001}var r=function(e,t,r,n){var i,a,s,o,l,c,u=getDefaultCurveSegments(),p=0,d=[],f=[],h=bezierLengthPool.newElement();for(s=r.length,i=0;i<u;i+=1){for(l=i/(u-1),c=0,a=0;a<s;a+=1)o=bmPow(1-l,3)*e[a]+3*bmPow(1-l,2)*l*r[a]+3*(1-l)*bmPow(l,2)*n[a]+bmPow(l,3)*t[a],d[a]=o,null!==f[a]&&(c+=bmPow(d[a]-f[a],2)),f[a]=d[a];c&&(p+=c=bmSqrt(c)),h.percents[i]=l,h.lengths[i]=p}return h.addedLength=p,h};function n(e){this.segmentLength=0,this.points=new Array(e)}function i(e,t){this.partialLength=e,this.point=t}var a,s=(a={},function(e,r,s,o){var l=(e[0]+"_"+e[1]+"_"+r[0]+"_"+r[1]+"_"+s[0]+"_"+s[1]+"_"+o[0]+"_"+o[1]).replace(/\./g,"p");if(!a[l]){var c,u,p,d,f,h,m,g=getDefaultCurveSegments(),y=0,v=null;2===e.length&&(e[0]!==r[0]||e[1]!==r[1])&&t(e[0],e[1],r[0],r[1],e[0]+s[0],e[1]+s[1])&&t(e[0],e[1],r[0],r[1],r[0]+o[0],r[1]+o[1])&&(g=2);var b=new n(g);for(p=s.length,c=0;c<g;c+=1){for(m=createSizedArray(p),f=c/(g-1),h=0,u=0;u<p;u+=1)d=bmPow(1-f,3)*e[u]+3*bmPow(1-f,2)*f*(e[u]+s[u])+3*(1-f)*bmPow(f,2)*(r[u]+o[u])+bmPow(f,3)*r[u],m[u]=d,null!==v&&(h+=bmPow(m[u]-v[u],2));y+=h=bmSqrt(h),b.points[c]=new i(h,m),v=m}b.segmentLength=y,a[l]=b}return a[l]});function o(e,t){var r=t.percents,n=t.lengths,i=r.length,a=bmFloor((i-1)*e),s=e*t.addedLength,o=0;if(a===i-1||0===a||s===n[a])return r[a];for(var l=n[a]>s?-1:1,c=!0;c;)if(n[a]<=s&&n[a+1]>s?(o=(s-n[a])/(n[a+1]-n[a]),c=!1):a+=l,a<0||a>=i-1){if(a===i-1)return r[a];c=!1}return r[a]+(r[a+1]-r[a])*o}var l=createTypedArray("float32",8);return{getSegmentsLength:function(e){var t,n=segmentsLengthPool.newElement(),i=e.c,a=e.v,s=e.o,o=e.i,l=e._length,c=n.lengths,u=0;for(t=0;t<l-1;t+=1)c[t]=r(a[t],a[t+1],s[t],o[t+1]),u+=c[t].addedLength;return i&&l&&(c[t]=r(a[t],a[0],s[t],o[0]),u+=c[t].addedLength),n.totalLength=u,n},getNewSegment:function(t,r,n,i,a,s,c){a<0?a=0:a>1&&(a=1);var u,p=o(a,c),d=o(s=s>1?1:s,c),f=t.length,h=1-p,m=1-d,g=h*h*h,y=p*h*h*3,v=p*p*h*3,b=p*p*p,x=h*h*m,w=p*h*m+h*p*m+h*h*d,E=p*p*m+h*p*d+p*h*d,k=p*p*d,S=h*m*m,C=p*m*m+h*d*m+h*m*d,A=p*d*m+h*d*d+p*m*d,P=p*d*d,_=m*m*m,T=d*m*m+m*d*m+m*m*d,I=d*d*m+m*d*d+d*m*d,F=d*d*d;for(u=0;u<f;u+=1)l[4*u]=e.round(1e3*(g*t[u]+y*n[u]+v*i[u]+b*r[u]))/1e3,l[4*u+1]=e.round(1e3*(x*t[u]+w*n[u]+E*i[u]+k*r[u]))/1e3,l[4*u+2]=e.round(1e3*(S*t[u]+C*n[u]+A*i[u]+P*r[u]))/1e3,l[4*u+3]=e.round(1e3*(_*t[u]+T*n[u]+I*i[u]+F*r[u]))/1e3;return l},getPointInSegment:function(t,r,n,i,a,s){var l=o(a,s),c=1-l;return[e.round(1e3*(c*c*c*t[0]+(l*c*c+c*l*c+c*c*l)*n[0]+(l*l*c+c*l*l+l*c*l)*i[0]+l*l*l*r[0]))/1e3,e.round(1e3*(c*c*c*t[1]+(l*c*c+c*l*c+c*c*l)*n[1]+(l*l*c+c*l*l+l*c*l)*i[1]+l*l*l*r[1]))/1e3]},buildBezierData:s,pointOnLine2D:t,pointOnLine3D:function(r,n,i,a,s,o,l,c,u){if(0===i&&0===o&&0===u)return t(r,n,a,s,l,c);var p,d=e.sqrt(e.pow(a-r,2)+e.pow(s-n,2)+e.pow(o-i,2)),f=e.sqrt(e.pow(l-r,2)+e.pow(c-n,2)+e.pow(u-i,2)),h=e.sqrt(e.pow(l-a,2)+e.pow(c-s,2)+e.pow(u-o,2));return(p=d>f?d>h?d-f-h:h-f-d:h>f?h-f-d:f-d-h)>-1e-4&&p<1e-4}}}var bez=bezFunction(),initFrame=initialDefaultFrame,mathAbs=Math.abs;function interpolateValue(e,t){var r,n=this.offsetTime;"multidimensional"===this.propType&&(r=createTypedArray("float32",this.pv.length));for(var i,a,s,o,l,c,u,p,d,f=t.lastIndex,h=f,m=this.keyframes.length-1,g=!0;g;){if(i=this.keyframes[h],a=this.keyframes[h+1],h===m-1&&e>=a.t-n){i.h&&(i=a),f=0;break}if(a.t-n>e){f=h;break}h<m-1?h+=1:(f=0,g=!1)}s=this.keyframesMetadata[h]||{};var y,v=a.t-n,b=i.t-n;if(i.to){s.bezierData||(s.bezierData=bez.buildBezierData(i.s,a.s||i.e,i.to,i.ti));var x=s.bezierData;if(e>=v||e<b){var w=e>=v?x.points.length-1:0;for(l=x.points[w].point.length,o=0;o<l;o+=1)r[o]=x.points[w].point[o]}else{s.__fnct?d=s.__fnct:(d=BezierFactory.getBezierEasing(i.o.x,i.o.y,i.i.x,i.i.y,i.n).get,s.__fnct=d),c=d((e-b)/(v-b));var E,k=x.segmentLength*c,S=t.lastFrame<e&&t._lastKeyframeIndex===h?t._lastAddedLength:0;for(p=t.lastFrame<e&&t._lastKeyframeIndex===h?t._lastPoint:0,g=!0,u=x.points.length;g;){if(S+=x.points[p].partialLength,0===k||0===c||p===x.points.length-1){for(l=x.points[p].point.length,o=0;o<l;o+=1)r[o]=x.points[p].point[o];break}if(k>=S&&k<S+x.points[p+1].partialLength){for(E=(k-S)/x.points[p+1].partialLength,l=x.points[p].point.length,o=0;o<l;o+=1)r[o]=x.points[p].point[o]+(x.points[p+1].point[o]-x.points[p].point[o])*E;break}p<u-1?p+=1:g=!1}t._lastPoint=p,t._lastAddedLength=S-x.points[p].partialLength,t._lastKeyframeIndex=h}}else{var C,A,P,_,T;if(m=i.s.length,y=a.s||i.e,this.sh&&1!==i.h)e>=v?(r[0]=y[0],r[1]=y[1],r[2]=y[2]):e<=b?(r[0]=i.s[0],r[1]=i.s[1],r[2]=i.s[2]):quaternionToEuler(r,slerp(createQuaternion(i.s),createQuaternion(y),(e-b)/(v-b)));else for(h=0;h<m;h+=1)1!==i.h&&(e>=v?c=1:e<b?c=0:(i.o.x.constructor===Array?(s.__fnct||(s.__fnct=[]),s.__fnct[h]?d=s.__fnct[h]:(C=void 0===i.o.x[h]?i.o.x[0]:i.o.x[h],A=void 0===i.o.y[h]?i.o.y[0]:i.o.y[h],P=void 0===i.i.x[h]?i.i.x[0]:i.i.x[h],_=void 0===i.i.y[h]?i.i.y[0]:i.i.y[h],d=BezierFactory.getBezierEasing(C,A,P,_).get,s.__fnct[h]=d)):s.__fnct?d=s.__fnct:(C=i.o.x,A=i.o.y,P=i.i.x,_=i.i.y,d=BezierFactory.getBezierEasing(C,A,P,_).get,i.keyframeMetadata=d),c=d((e-b)/(v-b)))),y=a.s||i.e,T=1===i.h?i.s[h]:i.s[h]+(y[h]-i.s[h])*c,"multidimensional"===this.propType?r[h]=T:r=T}return t.lastIndex=f,r}function slerp(e,t,r){var n,i,a,s,o,l=[],c=e[0],u=e[1],p=e[2],d=e[3],f=t[0],h=t[1],m=t[2],g=t[3];return(i=c*f+u*h+p*m+d*g)<0&&(i=-i,f=-f,h=-h,m=-m,g=-g),1-i>1e-6?(n=Math.acos(i),a=Math.sin(n),s=Math.sin((1-r)*n)/a,o=Math.sin(r*n)/a):(s=1-r,o=r),l[0]=s*c+o*f,l[1]=s*u+o*h,l[2]=s*p+o*m,l[3]=s*d+o*g,l}function quaternionToEuler(e,t){var r=t[0],n=t[1],i=t[2],a=t[3],s=Math.atan2(2*n*a-2*r*i,1-2*n*n-2*i*i),o=Math.asin(2*r*n+2*i*a),l=Math.atan2(2*r*a-2*n*i,1-2*r*r-2*i*i);e[0]=s/degToRads,e[1]=o/degToRads,e[2]=l/degToRads}function createQuaternion(e){var t=e[0]*degToRads,r=e[1]*degToRads,n=e[2]*degToRads,i=Math.cos(t/2),a=Math.cos(r/2),s=Math.cos(n/2),o=Math.sin(t/2),l=Math.sin(r/2),c=Math.sin(n/2);return[o*l*s+i*a*c,o*a*s+i*l*c,i*l*s-o*a*c,i*a*s-o*l*c]}function getValueAtCurrentTime(){var e=this.comp.renderedFrame-this.offsetTime,t=this.keyframes[0].t-this.offsetTime,r=this.keyframes[this.keyframes.length-1].t-this.offsetTime;if(!(e===this._caching.lastFrame||this._caching.lastFrame!==initFrame&&(this._caching.lastFrame>=r&&e>=r||this._caching.lastFrame<t&&e<t))){this._caching.lastFrame>=e&&(this._caching._lastKeyframeIndex=-1,this._caching.lastIndex=0);var n=this.interpolateValue(e,this._caching);this.pv=n}return this._caching.lastFrame=e,this.pv}function setVValue(e){var t;if("unidimensional"===this.propType)t=e*this.mult,mathAbs(this.v-t)>1e-5&&(this.v=t,this._mdf=!0);else for(var r=0,n=this.v.length;r<n;)t=e[r]*this.mult,mathAbs(this.v[r]-t)>1e-5&&(this.v[r]=t,this._mdf=!0),r+=1}function processEffectsSequence(){if(this.elem.globalData.frameId!==this.frameId&&this.effectsSequence.length)if(this.lock)this.setVValue(this.pv);else{var e;this.lock=!0,this._mdf=this._isFirstFrame;var t=this.effectsSequence.length,r=this.kf?this.pv:this.data.k;for(e=0;e<t;e+=1)r=this.effectsSequence[e](r);this.setVValue(r),this._isFirstFrame=!1,this.lock=!1,this.frameId=this.elem.globalData.frameId}}function addEffect(e){this.effectsSequence.push(e),this.container.addDynamicProperty(this)}function ValueProperty(e,t,r,n){this.propType="unidimensional",this.mult=r||1,this.data=t,this.v=r?t.k*r:t.k,this.pv=t.k,this._mdf=!1,this.elem=e,this.container=n,this.comp=e.comp,this.k=!1,this.kf=!1,this.vel=0,this.effectsSequence=[],this._isFirstFrame=!0,this.getValue=processEffectsSequence,this.setVValue=setVValue,this.addEffect=addEffect}function MultiDimensionalProperty(e,t,r,n){var i;this.propType="multidimensional",this.mult=r||1,this.data=t,this._mdf=!1,this.elem=e,this.container=n,this.comp=e.comp,this.k=!1,this.kf=!1,this.frameId=-1;var a=t.k.length;for(this.v=createTypedArray("float32",a),this.pv=createTypedArray("float32",a),this.vel=createTypedArray("float32",a),i=0;i<a;i+=1)this.v[i]=t.k[i]*this.mult,this.pv[i]=t.k[i];this._isFirstFrame=!0,this.effectsSequence=[],this.getValue=processEffectsSequence,this.setVValue=setVValue,this.addEffect=addEffect}function KeyframedValueProperty(e,t,r,n){this.propType="unidimensional",this.keyframes=t.k,this.keyframesMetadata=[],this.offsetTime=e.data.st,this.frameId=-1,this._caching={lastFrame:initFrame,lastIndex:0,value:0,_lastKeyframeIndex:-1},this.k=!0,this.kf=!0,this.data=t,this.mult=r||1,this.elem=e,this.container=n,this.comp=e.comp,this.v=initFrame,this.pv=initFrame,this._isFirstFrame=!0,this.getValue=processEffectsSequence,this.setVValue=setVValue,this.interpolateValue=interpolateValue,this.effectsSequence=[getValueAtCurrentTime.bind(this)],this.addEffect=addEffect}function KeyframedMultidimensionalProperty(e,t,r,n){var i;this.propType="multidimensional";var a,s,o,l,c=t.k.length;for(i=0;i<c-1;i+=1)t.k[i].to&&t.k[i].s&&t.k[i+1]&&t.k[i+1].s&&(a=t.k[i].s,s=t.k[i+1].s,o=t.k[i].to,l=t.k[i].ti,(2===a.length&&(a[0]!==s[0]||a[1]!==s[1])&&bez.pointOnLine2D(a[0],a[1],s[0],s[1],a[0]+o[0],a[1]+o[1])&&bez.pointOnLine2D(a[0],a[1],s[0],s[1],s[0]+l[0],s[1]+l[1])||3===a.length&&(a[0]!==s[0]||a[1]!==s[1]||a[2]!==s[2])&&bez.pointOnLine3D(a[0],a[1],a[2],s[0],s[1],s[2],a[0]+o[0],a[1]+o[1],a[2]+o[2])&&bez.pointOnLine3D(a[0],a[1],a[2],s[0],s[1],s[2],s[0]+l[0],s[1]+l[1],s[2]+l[2]))&&(t.k[i].to=null,t.k[i].ti=null),a[0]===s[0]&&a[1]===s[1]&&0===o[0]&&0===o[1]&&0===l[0]&&0===l[1]&&(2===a.length||a[2]===s[2]&&0===o[2]&&0===l[2])&&(t.k[i].to=null,t.k[i].ti=null));this.effectsSequence=[getValueAtCurrentTime.bind(this)],this.data=t,this.keyframes=t.k,this.keyframesMetadata=[],this.offsetTime=e.data.st,this.k=!0,this.kf=!0,this._isFirstFrame=!0,this.mult=r||1,this.elem=e,this.container=n,this.comp=e.comp,this.getValue=processEffectsSequence,this.setVValue=setVValue,this.interpolateValue=interpolateValue,this.frameId=-1;var u=t.k[0].s.length;for(this.v=createTypedArray("float32",u),this.pv=createTypedArray("float32",u),i=0;i<u;i+=1)this.v[i]=initFrame,this.pv[i]=initFrame;this._caching={lastFrame:initFrame,lastIndex:0,value:createTypedArray("float32",u)},this.addEffect=addEffect}var PropertyFactory={getProp:function(e,t,r,n,i){var a;if(t.sid&&(t=e.globalData.slotManager.getProp(t)),t.k.length)if("number"==typeof t.k[0])a=new MultiDimensionalProperty(e,t,n,i);else switch(r){case 0:a=new KeyframedValueProperty(e,t,n,i);break;case 1:a=new KeyframedMultidimensionalProperty(e,t,n,i)}else a=new ValueProperty(e,t,n,i);return a.effectsSequence.length&&i.addDynamicProperty(a),a}};function DynamicPropertyContainer(){}DynamicPropertyContainer.prototype={addDynamicProperty:function(e){-1===this.dynamicProperties.indexOf(e)&&(this.dynamicProperties.push(e),this.container.addDynamicProperty(this),this._isAnimated=!0)},iterateDynamicProperties:function(){var e;this._mdf=!1;var t=this.dynamicProperties.length;for(e=0;e<t;e+=1)this.dynamicProperties[e].getValue(),this.dynamicProperties[e]._mdf&&(this._mdf=!0)},initDynamicPropertyContainer:function(e){this.container=e,this.dynamicProperties=[],this._mdf=!1,this._isAnimated=!1}};var pointPool=poolFactory(8,(function(){return createTypedArray("float32",2)}));function ShapePath(){this.c=!1,this._length=0,this._maxLength=8,this.v=createSizedArray(this._maxLength),this.o=createSizedArray(this._maxLength),this.i=createSizedArray(this._maxLength)}ShapePath.prototype.setPathData=function(e,t){this.c=e,this.setLength(t);for(var r=0;r<t;)this.v[r]=pointPool.newElement(),this.o[r]=pointPool.newElement(),this.i[r]=pointPool.newElement(),r+=1},ShapePath.prototype.setLength=function(e){for(;this._maxLength<e;)this.doubleArrayLength();this._length=e},ShapePath.prototype.doubleArrayLength=function(){this.v=this.v.concat(createSizedArray(this._maxLength)),this.i=this.i.concat(createSizedArray(this._maxLength)),this.o=this.o.concat(createSizedArray(this._maxLength)),this._maxLength*=2},ShapePath.prototype.setXYAt=function(e,t,r,n,i){var a;switch(this._length=Math.max(this._length,n+1),this._length>=this._maxLength&&this.doubleArrayLength(),r){case"v":a=this.v;break;case"i":a=this.i;break;case"o":a=this.o;break;default:a=[]}(!a[n]||a[n]&&!i)&&(a[n]=pointPool.newElement()),a[n][0]=e,a[n][1]=t},ShapePath.prototype.setTripleAt=function(e,t,r,n,i,a,s,o){this.setXYAt(e,t,"v",s,o),this.setXYAt(r,n,"o",s,o),this.setXYAt(i,a,"i",s,o)},ShapePath.prototype.reverse=function(){var e=new ShapePath;e.setPathData(this.c,this._length);var t=this.v,r=this.o,n=this.i,i=0;this.c&&(e.setTripleAt(t[0][0],t[0][1],n[0][0],n[0][1],r[0][0],r[0][1],0,!1),i=1);var a,s=this._length-1,o=this._length;for(a=i;a<o;a+=1)e.setTripleAt(t[s][0],t[s][1],n[s][0],n[s][1],r[s][0],r[s][1],a,!1),s-=1;return e},ShapePath.prototype.length=function(){return this._length};var shapePool=(factory=poolFactory(4,(function(){return new ShapePath}),(function(e){var t,r=e._length;for(t=0;t<r;t+=1)pointPool.release(e.v[t]),pointPool.release(e.i[t]),pointPool.release(e.o[t]),e.v[t]=null,e.i[t]=null,e.o[t]=null;e._length=0,e.c=!1})),factory.clone=function(e){var t,r=factory.newElement(),n=void 0===e._length?e.v.length:e._length;for(r.setLength(n),r.c=e.c,t=0;t<n;t+=1)r.setTripleAt(e.v[t][0],e.v[t][1],e.o[t][0],e.o[t][1],e.i[t][0],e.i[t][1],t);return r},factory),factory;function ShapeCollection(){this._length=0,this._maxLength=4,this.shapes=createSizedArray(this._maxLength)}ShapeCollection.prototype.addShape=function(e){this._length===this._maxLength&&(this.shapes=this.shapes.concat(createSizedArray(this._maxLength)),this._maxLength*=2),this.shapes[this._length]=e,this._length+=1},ShapeCollection.prototype.releaseShapes=function(){var e;for(e=0;e<this._length;e+=1)shapePool.release(this.shapes[e]);this._length=0};var shapeCollectionPool=(ob={newShapeCollection:function(){return _length?pool[_length-=1]:new ShapeCollection},release:function(e){var t,r=e._length;for(t=0;t<r;t+=1)shapePool.release(e.shapes[t]);e._length=0,_length===_maxLength&&(pool=pooling.double(pool),_maxLength*=2),pool[_length]=e,_length+=1}},_length=0,_maxLength=4,pool=createSizedArray(_maxLength),ob),ob,_length,_maxLength,pool,ShapePropertyFactory=function(){var e=-999999;function t(e,t,r){var n,i,a,s,o,l,c,u,p,d=r.lastIndex,f=this.keyframes;if(e<f[0].t-this.offsetTime)n=f[0].s[0],a=!0,d=0;else if(e>=f[f.length-1].t-this.offsetTime)n=f[f.length-1].s?f[f.length-1].s[0]:f[f.length-2].e[0],a=!0;else{for(var h,m,g,y=d,v=f.length-1,b=!0;b&&(h=f[y],!((m=f[y+1]).t-this.offsetTime>e));)y<v-1?y+=1:b=!1;if(g=this.keyframesMetadata[y]||{},d=y,!(a=1===h.h)){if(e>=m.t-this.offsetTime)u=1;else if(e<h.t-this.offsetTime)u=0;else{var x;g.__fnct?x=g.__fnct:(x=BezierFactory.getBezierEasing(h.o.x,h.o.y,h.i.x,h.i.y).get,g.__fnct=x),u=x((e-(h.t-this.offsetTime))/(m.t-this.offsetTime-(h.t-this.offsetTime)))}i=m.s?m.s[0]:h.e[0]}n=h.s[0]}for(l=t._length,c=n.i[0].length,r.lastIndex=d,s=0;s<l;s+=1)for(o=0;o<c;o+=1)p=a?n.i[s][o]:n.i[s][o]+(i.i[s][o]-n.i[s][o])*u,t.i[s][o]=p,p=a?n.o[s][o]:n.o[s][o]+(i.o[s][o]-n.o[s][o])*u,t.o[s][o]=p,p=a?n.v[s][o]:n.v[s][o]+(i.v[s][o]-n.v[s][o])*u,t.v[s][o]=p}function r(){var t=this.comp.renderedFrame-this.offsetTime,r=this.keyframes[0].t-this.offsetTime,n=this.keyframes[this.keyframes.length-1].t-this.offsetTime,i=this._caching.lastFrame;return i!==e&&(i<r&&t<r||i>n&&t>n)||(this._caching.lastIndex=i<t?this._caching.lastIndex:0,this.interpolateShape(t,this.pv,this._caching)),this._caching.lastFrame=t,this.pv}function n(){this.paths=this.localShapeCollection}function i(e){(function(e,t){if(e._length!==t._length||e.c!==t.c)return!1;var r,n=e._length;for(r=0;r<n;r+=1)if(e.v[r][0]!==t.v[r][0]||e.v[r][1]!==t.v[r][1]||e.o[r][0]!==t.o[r][0]||e.o[r][1]!==t.o[r][1]||e.i[r][0]!==t.i[r][0]||e.i[r][1]!==t.i[r][1])return!1;return!0})(this.v,e)||(this.v=shapePool.clone(e),this.localShapeCollection.releaseShapes(),this.localShapeCollection.addShape(this.v),this._mdf=!0,this.paths=this.localShapeCollection)}function a(){if(this.elem.globalData.frameId!==this.frameId)if(this.effectsSequence.length)if(this.lock)this.setVValue(this.pv);else{var e,t;this.lock=!0,this._mdf=!1,e=this.kf?this.pv:this.data.ks?this.data.ks.k:this.data.pt.k;var r=this.effectsSequence.length;for(t=0;t<r;t+=1)e=this.effectsSequence[t](e);this.setVValue(e),this.lock=!1,this.frameId=this.elem.globalData.frameId}else this._mdf=!1}function s(e,t,r){this.propType="shape",this.comp=e.comp,this.container=e,this.elem=e,this.data=t,this.k=!1,this.kf=!1,this._mdf=!1;var i=3===r?t.pt.k:t.ks.k;this.v=shapePool.clone(i),this.pv=shapePool.clone(this.v),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.reset=n,this.effectsSequence=[]}function o(e){this.effectsSequence.push(e),this.container.addDynamicProperty(this)}function l(t,i,a){this.propType="shape",this.comp=t.comp,this.elem=t,this.container=t,this.offsetTime=t.data.st,this.keyframes=3===a?i.pt.k:i.ks.k,this.keyframesMetadata=[],this.k=!0,this.kf=!0;var s=this.keyframes[0].s[0].i.length;this.v=shapePool.newElement(),this.v.setPathData(this.keyframes[0].s[0].c,s),this.pv=shapePool.clone(this.v),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.lastFrame=e,this.reset=n,this._caching={lastFrame:e,lastIndex:0},this.effectsSequence=[r.bind(this)]}s.prototype.interpolateShape=t,s.prototype.getValue=a,s.prototype.setVValue=i,s.prototype.addEffect=o,l.prototype.getValue=a,l.prototype.interpolateShape=t,l.prototype.setVValue=i,l.prototype.addEffect=o;var c=function(){var e=roundCorner;function t(e,t){this.v=shapePool.newElement(),this.v.setPathData(!0,4),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.localShapeCollection.addShape(this.v),this.d=t.d,this.elem=e,this.comp=e.comp,this.frameId=-1,this.initDynamicPropertyContainer(e),this.p=PropertyFactory.getProp(e,t.p,1,0,this),this.s=PropertyFactory.getProp(e,t.s,1,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertEllToPath())}return t.prototype={reset:n,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertEllToPath())},convertEllToPath:function(){var t=this.p.v[0],r=this.p.v[1],n=this.s.v[0]/2,i=this.s.v[1]/2,a=3!==this.d,s=this.v;s.v[0][0]=t,s.v[0][1]=r-i,s.v[1][0]=a?t+n:t-n,s.v[1][1]=r,s.v[2][0]=t,s.v[2][1]=r+i,s.v[3][0]=a?t-n:t+n,s.v[3][1]=r,s.i[0][0]=a?t-n*e:t+n*e,s.i[0][1]=r-i,s.i[1][0]=a?t+n:t-n,s.i[1][1]=r-i*e,s.i[2][0]=a?t+n*e:t-n*e,s.i[2][1]=r+i,s.i[3][0]=a?t-n:t+n,s.i[3][1]=r+i*e,s.o[0][0]=a?t+n*e:t-n*e,s.o[0][1]=r-i,s.o[1][0]=a?t+n:t-n,s.o[1][1]=r+i*e,s.o[2][0]=a?t-n*e:t+n*e,s.o[2][1]=r+i,s.o[3][0]=a?t-n:t+n,s.o[3][1]=r-i*e}},extendPrototype([DynamicPropertyContainer],t),t}(),u=function(){function e(e,t){this.v=shapePool.newElement(),this.v.setPathData(!0,0),this.elem=e,this.comp=e.comp,this.data=t,this.frameId=-1,this.d=t.d,this.initDynamicPropertyContainer(e),1===t.sy?(this.ir=PropertyFactory.getProp(e,t.ir,0,0,this),this.is=PropertyFactory.getProp(e,t.is,0,.01,this),this.convertToPath=this.convertStarToPath):this.convertToPath=this.convertPolygonToPath,this.pt=PropertyFactory.getProp(e,t.pt,0,0,this),this.p=PropertyFactory.getProp(e,t.p,1,0,this),this.r=PropertyFactory.getProp(e,t.r,0,degToRads,this),this.or=PropertyFactory.getProp(e,t.or,0,0,this),this.os=PropertyFactory.getProp(e,t.os,0,.01,this),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertToPath())}return e.prototype={reset:n,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertToPath())},convertStarToPath:function(){var e,t,r,n,i=2*Math.floor(this.pt.v),a=2*Math.PI/i,s=!0,o=this.or.v,l=this.ir.v,c=this.os.v,u=this.is.v,p=2*Math.PI*o/(2*i),d=2*Math.PI*l/(2*i),f=-Math.PI/2;f+=this.r.v;var h=3===this.data.d?-1:1;for(this.v._length=0,e=0;e<i;e+=1){r=s?c:u,n=s?p:d;var m=(t=s?o:l)*Math.cos(f),g=t*Math.sin(f),y=0===m&&0===g?0:g/Math.sqrt(m*m+g*g),v=0===m&&0===g?0:-m/Math.sqrt(m*m+g*g);m+=+this.p.v[0],g+=+this.p.v[1],this.v.setTripleAt(m,g,m-y*n*r*h,g-v*n*r*h,m+y*n*r*h,g+v*n*r*h,e,!0),s=!s,f+=a*h}},convertPolygonToPath:function(){var e,t=Math.floor(this.pt.v),r=2*Math.PI/t,n=this.or.v,i=this.os.v,a=2*Math.PI*n/(4*t),s=.5*-Math.PI,o=3===this.data.d?-1:1;for(s+=this.r.v,this.v._length=0,e=0;e<t;e+=1){var l=n*Math.cos(s),c=n*Math.sin(s),u=0===l&&0===c?0:c/Math.sqrt(l*l+c*c),p=0===l&&0===c?0:-l/Math.sqrt(l*l+c*c);l+=+this.p.v[0],c+=+this.p.v[1],this.v.setTripleAt(l,c,l-u*a*i*o,c-p*a*i*o,l+u*a*i*o,c+p*a*i*o,e,!0),s+=r*o}this.paths.length=0,this.paths[0]=this.v}},extendPrototype([DynamicPropertyContainer],e),e}(),p=function(){function e(e,t){this.v=shapePool.newElement(),this.v.c=!0,this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.elem=e,this.comp=e.comp,this.frameId=-1,this.d=t.d,this.initDynamicPropertyContainer(e),this.p=PropertyFactory.getProp(e,t.p,1,0,this),this.s=PropertyFactory.getProp(e,t.s,1,0,this),this.r=PropertyFactory.getProp(e,t.r,0,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertRectToPath())}return e.prototype={convertRectToPath:function(){var e=this.p.v[0],t=this.p.v[1],r=this.s.v[0]/2,n=this.s.v[1]/2,i=bmMin(r,n,this.r.v),a=i*(1-roundCorner);this.v._length=0,2===this.d||1===this.d?(this.v.setTripleAt(e+r,t-n+i,e+r,t-n+i,e+r,t-n+a,0,!0),this.v.setTripleAt(e+r,t+n-i,e+r,t+n-a,e+r,t+n-i,1,!0),0!==i?(this.v.setTripleAt(e+r-i,t+n,e+r-i,t+n,e+r-a,t+n,2,!0),this.v.setTripleAt(e-r+i,t+n,e-r+a,t+n,e-r+i,t+n,3,!0),this.v.setTripleAt(e-r,t+n-i,e-r,t+n-i,e-r,t+n-a,4,!0),this.v.setTripleAt(e-r,t-n+i,e-r,t-n+a,e-r,t-n+i,5,!0),this.v.setTripleAt(e-r+i,t-n,e-r+i,t-n,e-r+a,t-n,6,!0),this.v.setTripleAt(e+r-i,t-n,e+r-a,t-n,e+r-i,t-n,7,!0)):(this.v.setTripleAt(e-r,t+n,e-r+a,t+n,e-r,t+n,2),this.v.setTripleAt(e-r,t-n,e-r,t-n+a,e-r,t-n,3))):(this.v.setTripleAt(e+r,t-n+i,e+r,t-n+a,e+r,t-n+i,0,!0),0!==i?(this.v.setTripleAt(e+r-i,t-n,e+r-i,t-n,e+r-a,t-n,1,!0),this.v.setTripleAt(e-r+i,t-n,e-r+a,t-n,e-r+i,t-n,2,!0),this.v.setTripleAt(e-r,t-n+i,e-r,t-n+i,e-r,t-n+a,3,!0),this.v.setTripleAt(e-r,t+n-i,e-r,t+n-a,e-r,t+n-i,4,!0),this.v.setTripleAt(e-r+i,t+n,e-r+i,t+n,e-r+a,t+n,5,!0),this.v.setTripleAt(e+r-i,t+n,e+r-a,t+n,e+r-i,t+n,6,!0),this.v.setTripleAt(e+r,t+n-i,e+r,t+n-i,e+r,t+n-a,7,!0)):(this.v.setTripleAt(e-r,t-n,e-r+a,t-n,e-r,t-n,1,!0),this.v.setTripleAt(e-r,t+n,e-r,t+n-a,e-r,t+n,2,!0),this.v.setTripleAt(e+r,t+n,e+r-a,t+n,e+r,t+n,3,!0)))},getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertRectToPath())},reset:n},extendPrototype([DynamicPropertyContainer],e),e}();return{getShapeProp:function(e,t,r){var n;return 3===r||4===r?n=(3===r?t.pt:t.ks).k.length?new l(e,t,r):new s(e,t,r):5===r?n=new p(e,t):6===r?n=new c(e,t):7===r&&(n=new u(e,t)),n.k&&e.addDynamicProperty(n),n},getConstructorFunction:function(){return s},getKeyframedConstructorFunction:function(){return l}}}(),Matrix=function(){var e=Math.cos,t=Math.sin,r=Math.tan,n=Math.round;function i(){return this.props[0]=1,this.props[1]=0,this.props[2]=0,this.props[3]=0,this.props[4]=0,this.props[5]=1,this.props[6]=0,this.props[7]=0,this.props[8]=0,this.props[9]=0,this.props[10]=1,this.props[11]=0,this.props[12]=0,this.props[13]=0,this.props[14]=0,this.props[15]=1,this}function a(r){if(0===r)return this;var n=e(r),i=t(r);return this._t(n,-i,0,0,i,n,0,0,0,0,1,0,0,0,0,1)}function s(r){if(0===r)return this;var n=e(r),i=t(r);return this._t(1,0,0,0,0,n,-i,0,0,i,n,0,0,0,0,1)}function o(r){if(0===r)return this;var n=e(r),i=t(r);return this._t(n,0,i,0,0,1,0,0,-i,0,n,0,0,0,0,1)}function l(r){if(0===r)return this;var n=e(r),i=t(r);return this._t(n,-i,0,0,i,n,0,0,0,0,1,0,0,0,0,1)}function c(e,t){return this._t(1,t,e,1,0,0)}function u(e,t){return this.shear(r(e),r(t))}function p(n,i){var a=e(i),s=t(i);return this._t(a,s,0,0,-s,a,0,0,0,0,1,0,0,0,0,1)._t(1,0,0,0,r(n),1,0,0,0,0,1,0,0,0,0,1)._t(a,-s,0,0,s,a,0,0,0,0,1,0,0,0,0,1)}function d(e,t,r){return r||0===r||(r=1),1===e&&1===t&&1===r?this:this._t(e,0,0,0,0,t,0,0,0,0,r,0,0,0,0,1)}function f(e,t,r,n,i,a,s,o,l,c,u,p,d,f,h,m){return this.props[0]=e,this.props[1]=t,this.props[2]=r,this.props[3]=n,this.props[4]=i,this.props[5]=a,this.props[6]=s,this.props[7]=o,this.props[8]=l,this.props[9]=c,this.props[10]=u,this.props[11]=p,this.props[12]=d,this.props[13]=f,this.props[14]=h,this.props[15]=m,this}function h(e,t,r){return r=r||0,0!==e||0!==t||0!==r?this._t(1,0,0,0,0,1,0,0,0,0,1,0,e,t,r,1):this}function m(e,t,r,n,i,a,s,o,l,c,u,p,d,f,h,m){var g=this.props;if(1===e&&0===t&&0===r&&0===n&&0===i&&1===a&&0===s&&0===o&&0===l&&0===c&&1===u&&0===p)return g[12]=g[12]*e+g[15]*d,g[13]=g[13]*a+g[15]*f,g[14]=g[14]*u+g[15]*h,g[15]*=m,this._identityCalculated=!1,this;var y=g[0],v=g[1],b=g[2],x=g[3],w=g[4],E=g[5],k=g[6],S=g[7],C=g[8],A=g[9],P=g[10],_=g[11],T=g[12],I=g[13],F=g[14],M=g[15];return g[0]=y*e+v*i+b*l+x*d,g[1]=y*t+v*a+b*c+x*f,g[2]=y*r+v*s+b*u+x*h,g[3]=y*n+v*o+b*p+x*m,g[4]=w*e+E*i+k*l+S*d,g[5]=w*t+E*a+k*c+S*f,g[6]=w*r+E*s+k*u+S*h,g[7]=w*n+E*o+k*p+S*m,g[8]=C*e+A*i+P*l+_*d,g[9]=C*t+A*a+P*c+_*f,g[10]=C*r+A*s+P*u+_*h,g[11]=C*n+A*o+P*p+_*m,g[12]=T*e+I*i+F*l+M*d,g[13]=T*t+I*a+F*c+M*f,g[14]=T*r+I*s+F*u+M*h,g[15]=T*n+I*o+F*p+M*m,this._identityCalculated=!1,this}function g(e){var t=e.props;return this.transform(t[0],t[1],t[2],t[3],t[4],t[5],t[6],t[7],t[8],t[9],t[10],t[11],t[12],t[13],t[14],t[15])}function y(){return this._identityCalculated||(this._identity=!(1!==this.props[0]||0!==this.props[1]||0!==this.props[2]||0!==this.props[3]||0!==this.props[4]||1!==this.props[5]||0!==this.props[6]||0!==this.props[7]||0!==this.props[8]||0!==this.props[9]||1!==this.props[10]||0!==this.props[11]||0!==this.props[12]||0!==this.props[13]||0!==this.props[14]||1!==this.props[15]),this._identityCalculated=!0),this._identity}function v(e){for(var t=0;t<16;){if(e.props[t]!==this.props[t])return!1;t+=1}return!0}function b(e){var t;for(t=0;t<16;t+=1)e.props[t]=this.props[t];return e}function x(e){var t;for(t=0;t<16;t+=1)this.props[t]=e[t]}function w(e,t,r){return{x:e*this.props[0]+t*this.props[4]+r*this.props[8]+this.props[12],y:e*this.props[1]+t*this.props[5]+r*this.props[9]+this.props[13],z:e*this.props[2]+t*this.props[6]+r*this.props[10]+this.props[14]}}function E(e,t,r){return e*this.props[0]+t*this.props[4]+r*this.props[8]+this.props[12]}function k(e,t,r){return e*this.props[1]+t*this.props[5]+r*this.props[9]+this.props[13]}function S(e,t,r){return e*this.props[2]+t*this.props[6]+r*this.props[10]+this.props[14]}function C(){var e=this.props[0]*this.props[5]-this.props[1]*this.props[4],t=this.props[5]/e,r=-this.props[1]/e,n=-this.props[4]/e,i=this.props[0]/e,a=(this.props[4]*this.props[13]-this.props[5]*this.props[12])/e,s=-(this.props[0]*this.props[13]-this.props[1]*this.props[12])/e,o=new Matrix;return o.props[0]=t,o.props[1]=r,o.props[4]=n,o.props[5]=i,o.props[12]=a,o.props[13]=s,o}function A(e){return this.getInverseMatrix().applyToPointArray(e[0],e[1],e[2]||0)}function P(e){var t,r=e.length,n=[];for(t=0;t<r;t+=1)n[t]=A(e[t]);return n}function _(e,t,r){var n=createTypedArray("float32",6);if(this.isIdentity())n[0]=e[0],n[1]=e[1],n[2]=t[0],n[3]=t[1],n[4]=r[0],n[5]=r[1];else{var i=this.props[0],a=this.props[1],s=this.props[4],o=this.props[5],l=this.props[12],c=this.props[13];n[0]=e[0]*i+e[1]*s+l,n[1]=e[0]*a+e[1]*o+c,n[2]=t[0]*i+t[1]*s+l,n[3]=t[0]*a+t[1]*o+c,n[4]=r[0]*i+r[1]*s+l,n[5]=r[0]*a+r[1]*o+c}return n}function T(e,t,r){return this.isIdentity()?[e,t,r]:[e*this.props[0]+t*this.props[4]+r*this.props[8]+this.props[12],e*this.props[1]+t*this.props[5]+r*this.props[9]+this.props[13],e*this.props[2]+t*this.props[6]+r*this.props[10]+this.props[14]]}function I(e,t){if(this.isIdentity())return e+","+t;var r=this.props;return Math.round(100*(e*r[0]+t*r[4]+r[12]))/100+","+Math.round(100*(e*r[1]+t*r[5]+r[13]))/100}function F(){for(var e=0,t=this.props,r="matrix3d(";e<16;)r+=n(1e4*t[e])/1e4,r+=15===e?")":",",e+=1;return r}function M(e){return e<1e-6&&e>0||e>-1e-6&&e<0?n(1e4*e)/1e4:e}function D(){var e=this.props;return"matrix("+M(e[0])+","+M(e[1])+","+M(e[4])+","+M(e[5])+","+M(e[12])+","+M(e[13])+")"}return function(){this.reset=i,this.rotate=a,this.rotateX=s,this.rotateY=o,this.rotateZ=l,this.skew=u,this.skewFromAxis=p,this.shear=c,this.scale=d,this.setTransform=f,this.translate=h,this.transform=m,this.multiply=g,this.applyToPoint=w,this.applyToX=E,this.applyToY=k,this.applyToZ=S,this.applyToPointArray=T,this.applyToTriplePoints=_,this.applyToPointStringified=I,this.toCSS=F,this.to2dCSS=D,this.clone=b,this.cloneFromProps=x,this.equals=v,this.inversePoints=P,this.inversePoint=A,this.getInverseMatrix=C,this._t=this.transform,this.isIdentity=y,this._identity=!0,this._identityCalculated=!1,this.props=createTypedArray("float32",16),this.reset()}}();function _typeof$3(e){return _typeof$3="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},_typeof$3(e)}var lottie={},standalone="__[STANDALONE]__",animationData="__[ANIMATIONDATA]__",renderer="";function setLocation(e){setLocationHref(e)}function searchAnimations(){!0===standalone?animationManager.searchAnimations(animationData,standalone,renderer):animationManager.searchAnimations()}function setSubframeRendering(e){setSubframeEnabled(e)}function setPrefix(e){setIdPrefix(e)}function loadAnimation(e){return!0===standalone&&(e.animationData=JSON.parse(animationData)),animationManager.loadAnimation(e)}function setQuality(e){if("string"==typeof e)switch(e){case"high":setDefaultCurveSegments(200);break;default:case"medium":setDefaultCurveSegments(50);break;case"low":setDefaultCurveSegments(10)}else!isNaN(e)&&e>1&&setDefaultCurveSegments(e);getDefaultCurveSegments()>=50?roundValues(!1):roundValues(!0)}function inBrowser(){return"undefined"!=typeof navigator}function installPlugin(e,t){"expressions"===e&&setExpressionsPlugin(t)}function getFactory(e){switch(e){case"propertyFactory":return PropertyFactory;case"shapePropertyFactory":return ShapePropertyFactory;case"matrix":return Matrix;default:return null}}function checkReady(){"complete"===document.readyState&&(clearInterval(readyStateCheckInterval),searchAnimations())}function getQueryVariable(e){for(var t=queryString.split("&"),r=0;r<t.length;r+=1){var n=t[r].split("=");if(decodeURIComponent(n[0])==e)return decodeURIComponent(n[1])}return null}lottie.play=animationManager.play,lottie.pause=animationManager.pause,lottie.setLocationHref=setLocation,lottie.togglePause=animationManager.togglePause,lottie.setSpeed=animationManager.setSpeed,lottie.setDirection=animationManager.setDirection,lottie.stop=animationManager.stop,lottie.searchAnimations=searchAnimations,lottie.registerAnimation=animationManager.registerAnimation,lottie.loadAnimation=loadAnimation,lottie.setSubframeRendering=setSubframeRendering,lottie.resize=animationManager.resize,lottie.goToAndStop=animationManager.goToAndStop,lottie.destroy=animationManager.destroy,lottie.setQuality=setQuality,lottie.inBrowser=inBrowser,lottie.installPlugin=installPlugin,lottie.freeze=animationManager.freeze,lottie.unfreeze=animationManager.unfreeze,lottie.setVolume=animationManager.setVolume,lottie.mute=animationManager.mute,lottie.unmute=animationManager.unmute,lottie.getRegisteredAnimations=animationManager.getRegisteredAnimations,lottie.useWebWorker=setWebWorker,lottie.setIDPrefix=setPrefix,lottie.__getFactory=getFactory,lottie.version="5.12.2";var queryString="";if(standalone){var scripts=document.getElementsByTagName("script"),index=scripts.length-1,myScript=scripts[index]||{src:""};queryString=myScript.src?myScript.src.replace(/^[^\?]+\??/,""):"",renderer=getQueryVariable("renderer")}var readyStateCheckInterval=setInterval(checkReady,100);try{"object"!==_typeof$3(exports)&&__webpack_require__.amdO}catch(e){}var ShapeModifiers=function(){var e={},t={};return e.registerModifier=function(e,r){t[e]||(t[e]=r)},e.getModifier=function(e,r,n){return new t[e](r,n)},e}();function ShapeModifier(){}function TrimModifier(){}function PuckerAndBloatModifier(){}ShapeModifier.prototype.initModifierProperties=function(){},ShapeModifier.prototype.addShapeToModifier=function(){},ShapeModifier.prototype.addShape=function(e){if(!this.closed){e.sh.container.addDynamicProperty(e.sh);var t={shape:e.sh,data:e,localShapeCollection:shapeCollectionPool.newShapeCollection()};this.shapes.push(t),this.addShapeToModifier(t),this._isAnimated&&e.setAsAnimated()}},ShapeModifier.prototype.init=function(e,t){this.shapes=[],this.elem=e,this.initDynamicPropertyContainer(e),this.initModifierProperties(e,t),this.frameId=initialDefaultFrame,this.closed=!1,this.k=!1,this.dynamicProperties.length?this.k=!0:this.getValue(!0)},ShapeModifier.prototype.processKeys=function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties())},extendPrototype([DynamicPropertyContainer],ShapeModifier),extendPrototype([ShapeModifier],TrimModifier),TrimModifier.prototype.initModifierProperties=function(e,t){this.s=PropertyFactory.getProp(e,t.s,0,.01,this),this.e=PropertyFactory.getProp(e,t.e,0,.01,this),this.o=PropertyFactory.getProp(e,t.o,0,0,this),this.sValue=0,this.eValue=0,this.getValue=this.processKeys,this.m=t.m,this._isAnimated=!!this.s.effectsSequence.length||!!this.e.effectsSequence.length||!!this.o.effectsSequence.length},TrimModifier.prototype.addShapeToModifier=function(e){e.pathsData=[]},TrimModifier.prototype.calculateShapeEdges=function(e,t,r,n,i){var a=[];t<=1?a.push({s:e,e:t}):e>=1?a.push({s:e-1,e:t-1}):(a.push({s:e,e:1}),a.push({s:0,e:t-1}));var s,o,l=[],c=a.length;for(s=0;s<c;s+=1){var u,p;(o=a[s]).e*i<n||o.s*i>n+r||(u=o.s*i<=n?0:(o.s*i-n)/r,p=o.e*i>=n+r?1:(o.e*i-n)/r,l.push([u,p]))}return l.length||l.push([0,0]),l},TrimModifier.prototype.releasePathsData=function(e){var t,r=e.length;for(t=0;t<r;t+=1)segmentsLengthPool.release(e[t]);return e.length=0,e},TrimModifier.prototype.processShapes=function(e){var t,r,n,i;if(this._mdf||e){var a=this.o.v%360/360;if(a<0&&(a+=1),(t=this.s.v>1?1+a:this.s.v<0?0+a:this.s.v+a)>(r=this.e.v>1?1+a:this.e.v<0?0+a:this.e.v+a)){var s=t;t=r,r=s}t=1e-4*Math.round(1e4*t),r=1e-4*Math.round(1e4*r),this.sValue=t,this.eValue=r}else t=this.sValue,r=this.eValue;var o,l,c,u,p,d=this.shapes.length,f=0;if(r===t)for(i=0;i<d;i+=1)this.shapes[i].localShapeCollection.releaseShapes(),this.shapes[i].shape._mdf=!0,this.shapes[i].shape.paths=this.shapes[i].localShapeCollection,this._mdf&&(this.shapes[i].pathsData.length=0);else if(1===r&&0===t||0===r&&1===t){if(this._mdf)for(i=0;i<d;i+=1)this.shapes[i].pathsData.length=0,this.shapes[i].shape._mdf=!0}else{var h,m,g=[];for(i=0;i<d;i+=1)if((h=this.shapes[i]).shape._mdf||this._mdf||e||2===this.m){if(l=(n=h.shape.paths)._length,p=0,!h.shape._mdf&&h.pathsData.length)p=h.totalShapeLength;else{for(c=this.releasePathsData(h.pathsData),o=0;o<l;o+=1)u=bez.getSegmentsLength(n.shapes[o]),c.push(u),p+=u.totalLength;h.totalShapeLength=p,h.pathsData=c}f+=p,h.shape._mdf=!0}else h.shape.paths=h.localShapeCollection;var y,v=t,b=r,x=0;for(i=d-1;i>=0;i-=1)if((h=this.shapes[i]).shape._mdf){for((m=h.localShapeCollection).releaseShapes(),2===this.m&&d>1?(y=this.calculateShapeEdges(t,r,h.totalShapeLength,x,f),x+=h.totalShapeLength):y=[[v,b]],l=y.length,o=0;o<l;o+=1){v=y[o][0],b=y[o][1],g.length=0,b<=1?g.push({s:h.totalShapeLength*v,e:h.totalShapeLength*b}):v>=1?g.push({s:h.totalShapeLength*(v-1),e:h.totalShapeLength*(b-1)}):(g.push({s:h.totalShapeLength*v,e:h.totalShapeLength}),g.push({s:0,e:h.totalShapeLength*(b-1)}));var w=this.addShapes(h,g[0]);if(g[0].s!==g[0].e){if(g.length>1)if(h.shape.paths.shapes[h.shape.paths._length-1].c){var E=w.pop();this.addPaths(w,m),w=this.addShapes(h,g[1],E)}else this.addPaths(w,m),w=this.addShapes(h,g[1]);this.addPaths(w,m)}}h.shape.paths=m}}},TrimModifier.prototype.addPaths=function(e,t){var r,n=e.length;for(r=0;r<n;r+=1)t.addShape(e[r])},TrimModifier.prototype.addSegment=function(e,t,r,n,i,a,s){i.setXYAt(t[0],t[1],"o",a),i.setXYAt(r[0],r[1],"i",a+1),s&&i.setXYAt(e[0],e[1],"v",a),i.setXYAt(n[0],n[1],"v",a+1)},TrimModifier.prototype.addSegmentFromArray=function(e,t,r,n){t.setXYAt(e[1],e[5],"o",r),t.setXYAt(e[2],e[6],"i",r+1),n&&t.setXYAt(e[0],e[4],"v",r),t.setXYAt(e[3],e[7],"v",r+1)},TrimModifier.prototype.addShapes=function(e,t,r){var n,i,a,s,o,l,c,u,p=e.pathsData,d=e.shape.paths.shapes,f=e.shape.paths._length,h=0,m=[],g=!0;for(r?(o=r._length,u=r._length):(r=shapePool.newElement(),o=0,u=0),m.push(r),n=0;n<f;n+=1){for(l=p[n].lengths,r.c=d[n].c,a=d[n].c?l.length:l.length+1,i=1;i<a;i+=1)if(h+(s=l[i-1]).addedLength<t.s)h+=s.addedLength,r.c=!1;else{if(h>t.e){r.c=!1;break}t.s<=h&&t.e>=h+s.addedLength?(this.addSegment(d[n].v[i-1],d[n].o[i-1],d[n].i[i],d[n].v[i],r,o,g),g=!1):(c=bez.getNewSegment(d[n].v[i-1],d[n].v[i],d[n].o[i-1],d[n].i[i],(t.s-h)/s.addedLength,(t.e-h)/s.addedLength,l[i-1]),this.addSegmentFromArray(c,r,o,g),g=!1,r.c=!1),h+=s.addedLength,o+=1}if(d[n].c&&l.length){if(s=l[i-1],h<=t.e){var y=l[i-1].addedLength;t.s<=h&&t.e>=h+y?(this.addSegment(d[n].v[i-1],d[n].o[i-1],d[n].i[0],d[n].v[0],r,o,g),g=!1):(c=bez.getNewSegment(d[n].v[i-1],d[n].v[0],d[n].o[i-1],d[n].i[0],(t.s-h)/y,(t.e-h)/y,l[i-1]),this.addSegmentFromArray(c,r,o,g),g=!1,r.c=!1)}else r.c=!1;h+=s.addedLength,o+=1}if(r._length&&(r.setXYAt(r.v[u][0],r.v[u][1],"i",u),r.setXYAt(r.v[r._length-1][0],r.v[r._length-1][1],"o",r._length-1)),h>t.e)break;n<f-1&&(r=shapePool.newElement(),g=!0,m.push(r),o=0)}return m},extendPrototype([ShapeModifier],PuckerAndBloatModifier),PuckerAndBloatModifier.prototype.initModifierProperties=function(e,t){this.getValue=this.processKeys,this.amount=PropertyFactory.getProp(e,t.a,0,null,this),this._isAnimated=!!this.amount.effectsSequence.length},PuckerAndBloatModifier.prototype.processPath=function(e,t){var r=t/100,n=[0,0],i=e._length,a=0;for(a=0;a<i;a+=1)n[0]+=e.v[a][0],n[1]+=e.v[a][1];n[0]/=i,n[1]/=i;var s,o,l,c,u,p,d=shapePool.newElement();for(d.c=e.c,a=0;a<i;a+=1)s=e.v[a][0]+(n[0]-e.v[a][0])*r,o=e.v[a][1]+(n[1]-e.v[a][1])*r,l=e.o[a][0]+(n[0]-e.o[a][0])*-r,c=e.o[a][1]+(n[1]-e.o[a][1])*-r,u=e.i[a][0]+(n[0]-e.i[a][0])*-r,p=e.i[a][1]+(n[1]-e.i[a][1])*-r,d.setTripleAt(s,o,l,c,u,p,a);return d},PuckerAndBloatModifier.prototype.processShapes=function(e){var t,r,n,i,a,s,o=this.shapes.length,l=this.amount.v;if(0!==l)for(r=0;r<o;r+=1){if(s=(a=this.shapes[r]).localShapeCollection,a.shape._mdf||this._mdf||e)for(s.releaseShapes(),a.shape._mdf=!0,t=a.shape.paths.shapes,i=a.shape.paths._length,n=0;n<i;n+=1)s.addShape(this.processPath(t[n],l));a.shape.paths=a.localShapeCollection}this.dynamicProperties.length||(this._mdf=!1)};var TransformPropertyFactory=function(){var e=[0,0];function t(e,t,r){if(this.elem=e,this.frameId=-1,this.propType="transform",this.data=t,this.v=new Matrix,this.pre=new Matrix,this.appliedTransformations=0,this.initDynamicPropertyContainer(r||e),t.p&&t.p.s?(this.px=PropertyFactory.getProp(e,t.p.x,0,0,this),this.py=PropertyFactory.getProp(e,t.p.y,0,0,this),t.p.z&&(this.pz=PropertyFactory.getProp(e,t.p.z,0,0,this))):this.p=PropertyFactory.getProp(e,t.p||{k:[0,0,0]},1,0,this),t.rx){if(this.rx=PropertyFactory.getProp(e,t.rx,0,degToRads,this),this.ry=PropertyFactory.getProp(e,t.ry,0,degToRads,this),this.rz=PropertyFactory.getProp(e,t.rz,0,degToRads,this),t.or.k[0].ti){var n,i=t.or.k.length;for(n=0;n<i;n+=1)t.or.k[n].to=null,t.or.k[n].ti=null}this.or=PropertyFactory.getProp(e,t.or,1,degToRads,this),this.or.sh=!0}else this.r=PropertyFactory.getProp(e,t.r||{k:0},0,degToRads,this);t.sk&&(this.sk=PropertyFactory.getProp(e,t.sk,0,degToRads,this),this.sa=PropertyFactory.getProp(e,t.sa,0,degToRads,this)),this.a=PropertyFactory.getProp(e,t.a||{k:[0,0,0]},1,0,this),this.s=PropertyFactory.getProp(e,t.s||{k:[100,100,100]},1,.01,this),t.o?this.o=PropertyFactory.getProp(e,t.o,0,.01,e):this.o={_mdf:!1,v:1},this._isDirty=!0,this.dynamicProperties.length||this.getValue(!0)}return t.prototype={applyToMatrix:function(e){var t=this._mdf;this.iterateDynamicProperties(),this._mdf=this._mdf||t,this.a&&e.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.s&&e.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.sk&&e.skewFromAxis(-this.sk.v,this.sa.v),this.r?e.rotate(-this.r.v):e.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]),this.data.p.s?this.data.p.z?e.translate(this.px.v,this.py.v,-this.pz.v):e.translate(this.px.v,this.py.v,0):e.translate(this.p.v[0],this.p.v[1],-this.p.v[2])},getValue:function(t){if(this.elem.globalData.frameId!==this.frameId){if(this._isDirty&&(this.precalculateMatrix(),this._isDirty=!1),this.iterateDynamicProperties(),this._mdf||t){var r;if(this.v.cloneFromProps(this.pre.props),this.appliedTransformations<1&&this.v.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.appliedTransformations<2&&this.v.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.sk&&this.appliedTransformations<3&&this.v.skewFromAxis(-this.sk.v,this.sa.v),this.r&&this.appliedTransformations<4?this.v.rotate(-this.r.v):!this.r&&this.appliedTransformations<4&&this.v.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]),this.autoOriented){var n,i;if(r=this.elem.globalData.frameRate,this.p&&this.p.keyframes&&this.p.getValueAtTime)this.p._caching.lastFrame+this.p.offsetTime<=this.p.keyframes[0].t?(n=this.p.getValueAtTime((this.p.keyframes[0].t+.01)/r,0),i=this.p.getValueAtTime(this.p.keyframes[0].t/r,0)):this.p._caching.lastFrame+this.p.offsetTime>=this.p.keyframes[this.p.keyframes.length-1].t?(n=this.p.getValueAtTime(this.p.keyframes[this.p.keyframes.length-1].t/r,0),i=this.p.getValueAtTime((this.p.keyframes[this.p.keyframes.length-1].t-.05)/r,0)):(n=this.p.pv,i=this.p.getValueAtTime((this.p._caching.lastFrame+this.p.offsetTime-.01)/r,this.p.offsetTime));else if(this.px&&this.px.keyframes&&this.py.keyframes&&this.px.getValueAtTime&&this.py.getValueAtTime){n=[],i=[];var a=this.px,s=this.py;a._caching.lastFrame+a.offsetTime<=a.keyframes[0].t?(n[0]=a.getValueAtTime((a.keyframes[0].t+.01)/r,0),n[1]=s.getValueAtTime((s.keyframes[0].t+.01)/r,0),i[0]=a.getValueAtTime(a.keyframes[0].t/r,0),i[1]=s.getValueAtTime(s.keyframes[0].t/r,0)):a._caching.lastFrame+a.offsetTime>=a.keyframes[a.keyframes.length-1].t?(n[0]=a.getValueAtTime(a.keyframes[a.keyframes.length-1].t/r,0),n[1]=s.getValueAtTime(s.keyframes[s.keyframes.length-1].t/r,0),i[0]=a.getValueAtTime((a.keyframes[a.keyframes.length-1].t-.01)/r,0),i[1]=s.getValueAtTime((s.keyframes[s.keyframes.length-1].t-.01)/r,0)):(n=[a.pv,s.pv],i[0]=a.getValueAtTime((a._caching.lastFrame+a.offsetTime-.01)/r,a.offsetTime),i[1]=s.getValueAtTime((s._caching.lastFrame+s.offsetTime-.01)/r,s.offsetTime))}else n=i=e;this.v.rotate(-Math.atan2(n[1]-i[1],n[0]-i[0]))}this.data.p&&this.data.p.s?this.data.p.z?this.v.translate(this.px.v,this.py.v,-this.pz.v):this.v.translate(this.px.v,this.py.v,0):this.v.translate(this.p.v[0],this.p.v[1],-this.p.v[2])}this.frameId=this.elem.globalData.frameId}},precalculateMatrix:function(){if(this.appliedTransformations=0,this.pre.reset(),!this.a.effectsSequence.length&&(this.pre.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.appliedTransformations=1,!this.s.effectsSequence.length)){if(this.pre.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.appliedTransformations=2,this.sk){if(this.sk.effectsSequence.length||this.sa.effectsSequence.length)return;this.pre.skewFromAxis(-this.sk.v,this.sa.v),this.appliedTransformations=3}this.r?this.r.effectsSequence.length||(this.pre.rotate(-this.r.v),this.appliedTransformations=4):this.rz.effectsSequence.length||this.ry.effectsSequence.length||this.rx.effectsSequence.length||this.or.effectsSequence.length||(this.pre.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]),this.appliedTransformations=4)}},autoOrient:function(){}},extendPrototype([DynamicPropertyContainer],t),t.prototype.addDynamicProperty=function(e){this._addDynamicProperty(e),this.elem.addDynamicProperty(e),this._isDirty=!0},t.prototype._addDynamicProperty=DynamicPropertyContainer.prototype.addDynamicProperty,{getTransformProperty:function(e,r,n){return new t(e,r,n)}}}();function RepeaterModifier(){}function RoundCornersModifier(){}function floatEqual(e,t){return 1e5*Math.abs(e-t)<=Math.min(Math.abs(e),Math.abs(t))}function floatZero(e){return Math.abs(e)<=1e-5}function lerp(e,t,r){return e*(1-r)+t*r}function lerpPoint(e,t,r){return[lerp(e[0],t[0],r),lerp(e[1],t[1],r)]}function quadRoots(e,t,r){if(0===e)return[];var n=t*t-4*e*r;if(n<0)return[];var i=-t/(2*e);if(0===n)return[i];var a=Math.sqrt(n)/(2*e);return[i-a,i+a]}function polynomialCoefficients(e,t,r,n){return[3*t-e-3*r+n,3*e-6*t+3*r,-3*e+3*t,e]}function singlePoint(e){return new PolynomialBezier(e,e,e,e,!1)}function PolynomialBezier(e,t,r,n,i){i&&pointEqual(e,t)&&(t=lerpPoint(e,n,1/3)),i&&pointEqual(r,n)&&(r=lerpPoint(e,n,2/3));var a=polynomialCoefficients(e[0],t[0],r[0],n[0]),s=polynomialCoefficients(e[1],t[1],r[1],n[1]);this.a=[a[0],s[0]],this.b=[a[1],s[1]],this.c=[a[2],s[2]],this.d=[a[3],s[3]],this.points=[e,t,r,n]}function extrema(e,t){var r=e.points[0][t],n=e.points[e.points.length-1][t];if(r>n){var i=n;n=r,r=i}for(var a=quadRoots(3*e.a[t],2*e.b[t],e.c[t]),s=0;s<a.length;s+=1)if(a[s]>0&&a[s]<1){var o=e.point(a[s])[t];o<r?r=o:o>n&&(n=o)}return{min:r,max:n}}function intersectData(e,t,r){var n=e.boundingBox();return{cx:n.cx,cy:n.cy,width:n.width,height:n.height,bez:e,t:(t+r)/2,t1:t,t2:r}}function splitData(e){var t=e.bez.split(.5);return[intersectData(t[0],e.t1,e.t),intersectData(t[1],e.t,e.t2)]}function boxIntersect(e,t){return 2*Math.abs(e.cx-t.cx)<e.width+t.width&&2*Math.abs(e.cy-t.cy)<e.height+t.height}function intersectsImpl(e,t,r,n,i,a){if(boxIntersect(e,t))if(r>=a||e.width<=n&&e.height<=n&&t.width<=n&&t.height<=n)i.push([e.t,t.t]);else{var s=splitData(e),o=splitData(t);intersectsImpl(s[0],o[0],r+1,n,i,a),intersectsImpl(s[0],o[1],r+1,n,i,a),intersectsImpl(s[1],o[0],r+1,n,i,a),intersectsImpl(s[1],o[1],r+1,n,i,a)}}function crossProduct(e,t){return[e[1]*t[2]-e[2]*t[1],e[2]*t[0]-e[0]*t[2],e[0]*t[1]-e[1]*t[0]]}function lineIntersection(e,t,r,n){var i=[e[0],e[1],1],a=[t[0],t[1],1],s=[r[0],r[1],1],o=[n[0],n[1],1],l=crossProduct(crossProduct(i,a),crossProduct(s,o));return floatZero(l[2])?null:[l[0]/l[2],l[1]/l[2]]}function polarOffset(e,t,r){return[e[0]+Math.cos(t)*r,e[1]-Math.sin(t)*r]}function pointDistance(e,t){return Math.hypot(e[0]-t[0],e[1]-t[1])}function pointEqual(e,t){return floatEqual(e[0],t[0])&&floatEqual(e[1],t[1])}function ZigZagModifier(){}function setPoint(e,t,r,n,i,a,s){var o=r-Math.PI/2,l=r+Math.PI/2,c=t[0]+Math.cos(r)*n*i,u=t[1]-Math.sin(r)*n*i;e.setTripleAt(c,u,c+Math.cos(o)*a,u-Math.sin(o)*a,c+Math.cos(l)*s,u-Math.sin(l)*s,e.length())}function getPerpendicularVector(e,t){var r=[t[0]-e[0],t[1]-e[1]],n=.5*-Math.PI;return[Math.cos(n)*r[0]-Math.sin(n)*r[1],Math.sin(n)*r[0]+Math.cos(n)*r[1]]}function getProjectingAngle(e,t){var r=0===t?e.length()-1:t-1,n=(t+1)%e.length(),i=getPerpendicularVector(e.v[r],e.v[n]);return Math.atan2(0,1)-Math.atan2(i[1],i[0])}function zigZagCorner(e,t,r,n,i,a,s){var o=getProjectingAngle(t,r),l=t.v[r%t._length],c=t.v[0===r?t._length-1:r-1],u=t.v[(r+1)%t._length],p=2===a?Math.sqrt(Math.pow(l[0]-c[0],2)+Math.pow(l[1]-c[1],2)):0,d=2===a?Math.sqrt(Math.pow(l[0]-u[0],2)+Math.pow(l[1]-u[1],2)):0;setPoint(e,t.v[r%t._length],o,s,n,d/(2*(i+1)),p/(2*(i+1)),a)}function zigZagSegment(e,t,r,n,i,a){for(var s=0;s<n;s+=1){var o=(s+1)/(n+1),l=2===i?Math.sqrt(Math.pow(t.points[3][0]-t.points[0][0],2)+Math.pow(t.points[3][1]-t.points[0][1],2)):0,c=t.normalAngle(o);setPoint(e,t.point(o),c,a,r,l/(2*(n+1)),l/(2*(n+1)),i),a=-a}return a}function linearOffset(e,t,r){var n=Math.atan2(t[0]-e[0],t[1]-e[1]);return[polarOffset(e,n,r),polarOffset(t,n,r)]}function offsetSegment(e,t){var r,n,i,a,s,o,l;r=(l=linearOffset(e.points[0],e.points[1],t))[0],n=l[1],i=(l=linearOffset(e.points[1],e.points[2],t))[0],a=l[1],s=(l=linearOffset(e.points[2],e.points[3],t))[0],o=l[1];var c=lineIntersection(r,n,i,a);null===c&&(c=n);var u=lineIntersection(s,o,i,a);return null===u&&(u=s),new PolynomialBezier(r,c,u,o)}function joinLines(e,t,r,n,i){var a=t.points[3],s=r.points[0];if(3===n)return a;if(pointEqual(a,s))return a;if(2===n){var o=-t.tangentAngle(1),l=-r.tangentAngle(0)+Math.PI,c=lineIntersection(a,polarOffset(a,o+Math.PI/2,100),s,polarOffset(s,o+Math.PI/2,100)),u=c?pointDistance(c,a):pointDistance(a,s)/2,p=polarOffset(a,o,2*u*roundCorner);return e.setXYAt(p[0],p[1],"o",e.length()-1),p=polarOffset(s,l,2*u*roundCorner),e.setTripleAt(s[0],s[1],s[0],s[1],p[0],p[1],e.length()),s}var d=lineIntersection(pointEqual(a,t.points[2])?t.points[0]:t.points[2],a,s,pointEqual(s,r.points[1])?r.points[3]:r.points[1]);return d&&pointDistance(d,a)<i?(e.setTripleAt(d[0],d[1],d[0],d[1],d[0],d[1],e.length()),d):a}function getIntersection(e,t){var r=e.intersections(t);return r.length&&floatEqual(r[0][0],1)&&r.shift(),r.length?r[0]:null}function pruneSegmentIntersection(e,t){var r=e.slice(),n=t.slice(),i=getIntersection(e[e.length-1],t[0]);return i&&(r[e.length-1]=e[e.length-1].split(i[0])[0],n[0]=t[0].split(i[1])[1]),e.length>1&&t.length>1&&(i=getIntersection(e[0],t[t.length-1]))?[[e[0].split(i[0])[0]],[t[t.length-1].split(i[1])[1]]]:[r,n]}function pruneIntersections(e){for(var t,r=1;r<e.length;r+=1)t=pruneSegmentIntersection(e[r-1],e[r]),e[r-1]=t[0],e[r]=t[1];return e.length>1&&(t=pruneSegmentIntersection(e[e.length-1],e[0]),e[e.length-1]=t[0],e[0]=t[1]),e}function offsetSegmentSplit(e,t){var r,n,i,a,s=e.inflectionPoints();if(0===s.length)return[offsetSegment(e,t)];if(1===s.length||floatEqual(s[1],1))return r=(i=e.split(s[0]))[0],n=i[1],[offsetSegment(r,t),offsetSegment(n,t)];r=(i=e.split(s[0]))[0];var o=(s[1]-s[0])/(1-s[0]);return a=(i=i[1].split(o))[0],n=i[1],[offsetSegment(r,t),offsetSegment(a,t),offsetSegment(n,t)]}function OffsetPathModifier(){}function getFontProperties(e){for(var t=e.fStyle?e.fStyle.split(" "):[],r="normal",n="normal",i=t.length,a=0;a<i;a+=1)switch(t[a].toLowerCase()){case"italic":n="italic";break;case"bold":r="700";break;case"black":r="900";break;case"medium":r="500";break;case"regular":case"normal":r="400";break;case"light":case"thin":r="200"}return{style:n,weight:e.fWeight||r}}extendPrototype([ShapeModifier],RepeaterModifier),RepeaterModifier.prototype.initModifierProperties=function(e,t){this.getValue=this.processKeys,this.c=PropertyFactory.getProp(e,t.c,0,null,this),this.o=PropertyFactory.getProp(e,t.o,0,null,this),this.tr=TransformPropertyFactory.getTransformProperty(e,t.tr,this),this.so=PropertyFactory.getProp(e,t.tr.so,0,.01,this),this.eo=PropertyFactory.getProp(e,t.tr.eo,0,.01,this),this.data=t,this.dynamicProperties.length||this.getValue(!0),this._isAnimated=!!this.dynamicProperties.length,this.pMatrix=new Matrix,this.rMatrix=new Matrix,this.sMatrix=new Matrix,this.tMatrix=new Matrix,this.matrix=new Matrix},RepeaterModifier.prototype.applyTransforms=function(e,t,r,n,i,a){var s=a?-1:1,o=n.s.v[0]+(1-n.s.v[0])*(1-i),l=n.s.v[1]+(1-n.s.v[1])*(1-i);e.translate(n.p.v[0]*s*i,n.p.v[1]*s*i,n.p.v[2]),t.translate(-n.a.v[0],-n.a.v[1],n.a.v[2]),t.rotate(-n.r.v*s*i),t.translate(n.a.v[0],n.a.v[1],n.a.v[2]),r.translate(-n.a.v[0],-n.a.v[1],n.a.v[2]),r.scale(a?1/o:o,a?1/l:l),r.translate(n.a.v[0],n.a.v[1],n.a.v[2])},RepeaterModifier.prototype.init=function(e,t,r,n){for(this.elem=e,this.arr=t,this.pos=r,this.elemsData=n,this._currentCopies=0,this._elements=[],this._groups=[],this.frameId=-1,this.initDynamicPropertyContainer(e),this.initModifierProperties(e,t[r]);r>0;)r-=1,this._elements.unshift(t[r]);this.dynamicProperties.length?this.k=!0:this.getValue(!0)},RepeaterModifier.prototype.resetElements=function(e){var t,r=e.length;for(t=0;t<r;t+=1)e[t]._processed=!1,"gr"===e[t].ty&&this.resetElements(e[t].it)},RepeaterModifier.prototype.cloneElements=function(e){var t=JSON.parse(JSON.stringify(e));return this.resetElements(t),t},RepeaterModifier.prototype.changeGroupRender=function(e,t){var r,n=e.length;for(r=0;r<n;r+=1)e[r]._render=t,"gr"===e[r].ty&&this.changeGroupRender(e[r].it,t)},RepeaterModifier.prototype.processShapes=function(e){var t,r,n,i,a,s=!1;if(this._mdf||e){var o,l=Math.ceil(this.c.v);if(this._groups.length<l){for(;this._groups.length<l;){var c={it:this.cloneElements(this._elements),ty:"gr"};c.it.push({a:{a:0,ix:1,k:[0,0]},nm:"Transform",o:{a:0,ix:7,k:100},p:{a:0,ix:2,k:[0,0]},r:{a:1,ix:6,k:[{s:0,e:0,t:0},{s:0,e:0,t:1}]},s:{a:0,ix:3,k:[100,100]},sa:{a:0,ix:5,k:0},sk:{a:0,ix:4,k:0},ty:"tr"}),this.arr.splice(0,0,c),this._groups.splice(0,0,c),this._currentCopies+=1}this.elem.reloadShapes(),s=!0}for(a=0,n=0;n<=this._groups.length-1;n+=1){if(o=a<l,this._groups[n]._render=o,this.changeGroupRender(this._groups[n].it,o),!o){var u=this.elemsData[n].it,p=u[u.length-1];0!==p.transform.op.v?(p.transform.op._mdf=!0,p.transform.op.v=0):p.transform.op._mdf=!1}a+=1}this._currentCopies=l;var d=this.o.v,f=d%1,h=d>0?Math.floor(d):Math.ceil(d),m=this.pMatrix.props,g=this.rMatrix.props,y=this.sMatrix.props;this.pMatrix.reset(),this.rMatrix.reset(),this.sMatrix.reset(),this.tMatrix.reset(),this.matrix.reset();var v,b,x=0;if(d>0){for(;x<h;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),x+=1;f&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,f,!1),x+=f)}else if(d<0){for(;x>h;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!0),x-=1;f&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,-f,!0),x-=f)}for(n=1===this.data.m?0:this._currentCopies-1,i=1===this.data.m?1:-1,a=this._currentCopies;a;){if(b=(r=(t=this.elemsData[n].it)[t.length-1].transform.mProps.v.props).length,t[t.length-1].transform.mProps._mdf=!0,t[t.length-1].transform.op._mdf=!0,t[t.length-1].transform.op.v=1===this._currentCopies?this.so.v:this.so.v+(this.eo.v-this.so.v)*(n/(this._currentCopies-1)),0!==x){for((0!==n&&1===i||n!==this._currentCopies-1&&-1===i)&&this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),this.matrix.transform(g[0],g[1],g[2],g[3],g[4],g[5],g[6],g[7],g[8],g[9],g[10],g[11],g[12],g[13],g[14],g[15]),this.matrix.transform(y[0],y[1],y[2],y[3],y[4],y[5],y[6],y[7],y[8],y[9],y[10],y[11],y[12],y[13],y[14],y[15]),this.matrix.transform(m[0],m[1],m[2],m[3],m[4],m[5],m[6],m[7],m[8],m[9],m[10],m[11],m[12],m[13],m[14],m[15]),v=0;v<b;v+=1)r[v]=this.matrix.props[v];this.matrix.reset()}else for(this.matrix.reset(),v=0;v<b;v+=1)r[v]=this.matrix.props[v];x+=1,a-=1,n+=i}}else for(a=this._currentCopies,n=0,i=1;a;)r=(t=this.elemsData[n].it)[t.length-1].transform.mProps.v.props,t[t.length-1].transform.mProps._mdf=!1,t[t.length-1].transform.op._mdf=!1,a-=1,n+=i;return s},RepeaterModifier.prototype.addShape=function(){},extendPrototype([ShapeModifier],RoundCornersModifier),RoundCornersModifier.prototype.initModifierProperties=function(e,t){this.getValue=this.processKeys,this.rd=PropertyFactory.getProp(e,t.r,0,null,this),this._isAnimated=!!this.rd.effectsSequence.length},RoundCornersModifier.prototype.processPath=function(e,t){var r,n=shapePool.newElement();n.c=e.c;var i,a,s,o,l,c,u,p,d,f,h,m,g=e._length,y=0;for(r=0;r<g;r+=1)i=e.v[r],s=e.o[r],a=e.i[r],i[0]===s[0]&&i[1]===s[1]&&i[0]===a[0]&&i[1]===a[1]?0!==r&&r!==g-1||e.c?(o=0===r?e.v[g-1]:e.v[r-1],c=(l=Math.sqrt(Math.pow(i[0]-o[0],2)+Math.pow(i[1]-o[1],2)))?Math.min(l/2,t)/l:0,u=h=i[0]+(o[0]-i[0])*c,p=m=i[1]-(i[1]-o[1])*c,d=u-(u-i[0])*roundCorner,f=p-(p-i[1])*roundCorner,n.setTripleAt(u,p,d,f,h,m,y),y+=1,o=r===g-1?e.v[0]:e.v[r+1],c=(l=Math.sqrt(Math.pow(i[0]-o[0],2)+Math.pow(i[1]-o[1],2)))?Math.min(l/2,t)/l:0,u=d=i[0]+(o[0]-i[0])*c,p=f=i[1]+(o[1]-i[1])*c,h=u-(u-i[0])*roundCorner,m=p-(p-i[1])*roundCorner,n.setTripleAt(u,p,d,f,h,m,y),y+=1):(n.setTripleAt(i[0],i[1],s[0],s[1],a[0],a[1],y),y+=1):(n.setTripleAt(e.v[r][0],e.v[r][1],e.o[r][0],e.o[r][1],e.i[r][0],e.i[r][1],y),y+=1);return n},RoundCornersModifier.prototype.processShapes=function(e){var t,r,n,i,a,s,o=this.shapes.length,l=this.rd.v;if(0!==l)for(r=0;r<o;r+=1){if(s=(a=this.shapes[r]).localShapeCollection,a.shape._mdf||this._mdf||e)for(s.releaseShapes(),a.shape._mdf=!0,t=a.shape.paths.shapes,i=a.shape.paths._length,n=0;n<i;n+=1)s.addShape(this.processPath(t[n],l));a.shape.paths=a.localShapeCollection}this.dynamicProperties.length||(this._mdf=!1)},PolynomialBezier.prototype.point=function(e){return[((this.a[0]*e+this.b[0])*e+this.c[0])*e+this.d[0],((this.a[1]*e+this.b[1])*e+this.c[1])*e+this.d[1]]},PolynomialBezier.prototype.derivative=function(e){return[(3*e*this.a[0]+2*this.b[0])*e+this.c[0],(3*e*this.a[1]+2*this.b[1])*e+this.c[1]]},PolynomialBezier.prototype.tangentAngle=function(e){var t=this.derivative(e);return Math.atan2(t[1],t[0])},PolynomialBezier.prototype.normalAngle=function(e){var t=this.derivative(e);return Math.atan2(t[0],t[1])},PolynomialBezier.prototype.inflectionPoints=function(){var e=this.a[1]*this.b[0]-this.a[0]*this.b[1];if(floatZero(e))return[];var t=-.5*(this.a[1]*this.c[0]-this.a[0]*this.c[1])/e,r=t*t-1/3*(this.b[1]*this.c[0]-this.b[0]*this.c[1])/e;if(r<0)return[];var n=Math.sqrt(r);return floatZero(n)?n>0&&n<1?[t]:[]:[t-n,t+n].filter((function(e){return e>0&&e<1}))},PolynomialBezier.prototype.split=function(e){if(e<=0)return[singlePoint(this.points[0]),this];if(e>=1)return[this,singlePoint(this.points[this.points.length-1])];var t=lerpPoint(this.points[0],this.points[1],e),r=lerpPoint(this.points[1],this.points[2],e),n=lerpPoint(this.points[2],this.points[3],e),i=lerpPoint(t,r,e),a=lerpPoint(r,n,e),s=lerpPoint(i,a,e);return[new PolynomialBezier(this.points[0],t,i,s,!0),new PolynomialBezier(s,a,n,this.points[3],!0)]},PolynomialBezier.prototype.bounds=function(){return{x:extrema(this,0),y:extrema(this,1)}},PolynomialBezier.prototype.boundingBox=function(){var e=this.bounds();return{left:e.x.min,right:e.x.max,top:e.y.min,bottom:e.y.max,width:e.x.max-e.x.min,height:e.y.max-e.y.min,cx:(e.x.max+e.x.min)/2,cy:(e.y.max+e.y.min)/2}},PolynomialBezier.prototype.intersections=function(e,t,r){void 0===t&&(t=2),void 0===r&&(r=7);var n=[];return intersectsImpl(intersectData(this,0,1),intersectData(e,0,1),0,t,n,r),n},PolynomialBezier.shapeSegment=function(e,t){var r=(t+1)%e.length();return new PolynomialBezier(e.v[t],e.o[t],e.i[r],e.v[r],!0)},PolynomialBezier.shapeSegmentInverted=function(e,t){var r=(t+1)%e.length();return new PolynomialBezier(e.v[r],e.i[r],e.o[t],e.v[t],!0)},extendPrototype([ShapeModifier],ZigZagModifier),ZigZagModifier.prototype.initModifierProperties=function(e,t){this.getValue=this.processKeys,this.amplitude=PropertyFactory.getProp(e,t.s,0,null,this),this.frequency=PropertyFactory.getProp(e,t.r,0,null,this),this.pointsType=PropertyFactory.getProp(e,t.pt,0,null,this),this._isAnimated=0!==this.amplitude.effectsSequence.length||0!==this.frequency.effectsSequence.length||0!==this.pointsType.effectsSequence.length},ZigZagModifier.prototype.processPath=function(e,t,r,n){var i=e._length,a=shapePool.newElement();if(a.c=e.c,e.c||(i-=1),0===i)return a;var s=-1,o=PolynomialBezier.shapeSegment(e,0);zigZagCorner(a,e,0,t,r,n,s);for(var l=0;l<i;l+=1)s=zigZagSegment(a,o,t,r,n,-s),o=l!==i-1||e.c?PolynomialBezier.shapeSegment(e,(l+1)%i):null,zigZagCorner(a,e,l+1,t,r,n,s);return a},ZigZagModifier.prototype.processShapes=function(e){var t,r,n,i,a,s,o=this.shapes.length,l=this.amplitude.v,c=Math.max(0,Math.round(this.frequency.v)),u=this.pointsType.v;if(0!==l)for(r=0;r<o;r+=1){if(s=(a=this.shapes[r]).localShapeCollection,a.shape._mdf||this._mdf||e)for(s.releaseShapes(),a.shape._mdf=!0,t=a.shape.paths.shapes,i=a.shape.paths._length,n=0;n<i;n+=1)s.addShape(this.processPath(t[n],l,c,u));a.shape.paths=a.localShapeCollection}this.dynamicProperties.length||(this._mdf=!1)},extendPrototype([ShapeModifier],OffsetPathModifier),OffsetPathModifier.prototype.initModifierProperties=function(e,t){this.getValue=this.processKeys,this.amount=PropertyFactory.getProp(e,t.a,0,null,this),this.miterLimit=PropertyFactory.getProp(e,t.ml,0,null,this),this.lineJoin=t.lj,this._isAnimated=0!==this.amount.effectsSequence.length},OffsetPathModifier.prototype.processPath=function(e,t,r,n){var i=shapePool.newElement();i.c=e.c;var a,s,o,l=e.length();e.c||(l-=1);var c=[];for(a=0;a<l;a+=1)o=PolynomialBezier.shapeSegment(e,a),c.push(offsetSegmentSplit(o,t));if(!e.c)for(a=l-1;a>=0;a-=1)o=PolynomialBezier.shapeSegmentInverted(e,a),c.push(offsetSegmentSplit(o,t));c=pruneIntersections(c);var u=null,p=null;for(a=0;a<c.length;a+=1){var d=c[a];for(p&&(u=joinLines(i,p,d[0],r,n)),p=d[d.length-1],s=0;s<d.length;s+=1)o=d[s],u&&pointEqual(o.points[0],u)?i.setXYAt(o.points[1][0],o.points[1][1],"o",i.length()-1):i.setTripleAt(o.points[0][0],o.points[0][1],o.points[1][0],o.points[1][1],o.points[0][0],o.points[0][1],i.length()),i.setTripleAt(o.points[3][0],o.points[3][1],o.points[3][0],o.points[3][1],o.points[2][0],o.points[2][1],i.length()),u=o.points[3]}return c.length&&joinLines(i,p,c[0][0],r,n),i},OffsetPathModifier.prototype.processShapes=function(e){var t,r,n,i,a,s,o=this.shapes.length,l=this.amount.v,c=this.miterLimit.v,u=this.lineJoin;if(0!==l)for(r=0;r<o;r+=1){if(s=(a=this.shapes[r]).localShapeCollection,a.shape._mdf||this._mdf||e)for(s.releaseShapes(),a.shape._mdf=!0,t=a.shape.paths.shapes,i=a.shape.paths._length,n=0;n<i;n+=1)s.addShape(this.processPath(t[n],l,u,c));a.shape.paths=a.localShapeCollection}this.dynamicProperties.length||(this._mdf=!1)};var FontManager=function(){var e={w:0,size:0,shapes:[],data:{shapes:[]}},t=[];t=t.concat([2304,2305,2306,2307,2362,2363,2364,2364,2366,2367,2368,2369,2370,2371,2372,2373,2374,2375,2376,2377,2378,2379,2380,2381,2382,2383,2387,2388,2389,2390,2391,2402,2403]);var r=127988,n=["d83cdffb","d83cdffc","d83cdffd","d83cdffe","d83cdfff"];function i(e,t){var r=createTag("span");r.setAttribute("aria-hidden",!0),r.style.fontFamily=t;var n=createTag("span");n.innerText="giItT1WQy@!-/#",r.style.position="absolute",r.style.left="-10000px",r.style.top="-10000px",r.style.fontSize="300px",r.style.fontVariant="normal",r.style.fontStyle="normal",r.style.fontWeight="normal",r.style.letterSpacing="0",r.appendChild(n),document.body.appendChild(r);var i=n.offsetWidth;return n.style.fontFamily=function(e){var t,r=e.split(","),n=r.length,i=[];for(t=0;t<n;t+=1)"sans-serif"!==r[t]&&"monospace"!==r[t]&&i.push(r[t]);return i.join(",")}(e)+", "+t,{node:n,w:i,parent:r}}function a(e,t){var r,n=document.body&&t?"svg":"canvas",i=getFontProperties(e);if("svg"===n){var a=createNS("text");a.style.fontSize="100px",a.setAttribute("font-family",e.fFamily),a.setAttribute("font-style",i.style),a.setAttribute("font-weight",i.weight),a.textContent="1",e.fClass?(a.style.fontFamily="inherit",a.setAttribute("class",e.fClass)):a.style.fontFamily=e.fFamily,t.appendChild(a),r=a}else{var s=new OffscreenCanvas(500,500).getContext("2d");s.font=i.style+" "+i.weight+" 100px "+e.fFamily,r=s}return{measureText:function(e){return"svg"===n?(r.textContent=e,r.getComputedTextLength()):r.measureText(e).width}}}function s(e){var t=0,r=e.charCodeAt(0);if(r>=55296&&r<=56319){var n=e.charCodeAt(1);n>=56320&&n<=57343&&(t=1024*(r-55296)+n-56320+65536)}return t}function o(e){var t=s(e);return t>=127462&&t<=127487}var l=function(){this.fonts=[],this.chars=null,this.typekitLoaded=0,this.isLoaded=!1,this._warned=!1,this.initTime=Date.now(),this.setIsLoadedBinded=this.setIsLoaded.bind(this),this.checkLoadedFontsBinded=this.checkLoadedFonts.bind(this)};l.isModifier=function(e,t){var r=e.toString(16)+t.toString(16);return-1!==n.indexOf(r)},l.isZeroWidthJoiner=function(e){return 8205===e},l.isFlagEmoji=function(e){return o(e.substr(0,2))&&o(e.substr(2,2))},l.isRegionalCode=o,l.isCombinedCharacter=function(e){return-1!==t.indexOf(e)},l.isRegionalFlag=function(e,t){var n=s(e.substr(t,2));if(n!==r)return!1;var i=0;for(t+=2;i<5;){if((n=s(e.substr(t,2)))<917601||n>917626)return!1;i+=1,t+=2}return 917631===s(e.substr(t,2))},l.isVariationSelector=function(e){return 65039===e},l.BLACK_FLAG_CODE_POINT=r;var c={addChars:function(e){if(e){var t;this.chars||(this.chars=[]);var r,n,i=e.length,a=this.chars.length;for(t=0;t<i;t+=1){for(r=0,n=!1;r<a;)this.chars[r].style===e[t].style&&this.chars[r].fFamily===e[t].fFamily&&this.chars[r].ch===e[t].ch&&(n=!0),r+=1;n||(this.chars.push(e[t]),a+=1)}}},addFonts:function(e,t){if(e){if(this.chars)return this.isLoaded=!0,void(this.fonts=e.list);if(!document.body)return this.isLoaded=!0,e.list.forEach((function(e){e.helper=a(e),e.cache={}})),void(this.fonts=e.list);var r,n=e.list,s=n.length,o=s;for(r=0;r<s;r+=1){var l,c,u=!0;if(n[r].loaded=!1,n[r].monoCase=i(n[r].fFamily,"monospace"),n[r].sansCase=i(n[r].fFamily,"sans-serif"),n[r].fPath){if("p"===n[r].fOrigin||3===n[r].origin){if((l=document.querySelectorAll('style[f-forigin="p"][f-family="'+n[r].fFamily+'"], style[f-origin="3"][f-family="'+n[r].fFamily+'"]')).length>0&&(u=!1),u){var p=createTag("style");p.setAttribute("f-forigin",n[r].fOrigin),p.setAttribute("f-origin",n[r].origin),p.setAttribute("f-family",n[r].fFamily),p.type="text/css",p.innerText="@font-face {font-family: "+n[r].fFamily+"; font-style: normal; src: url('"+n[r].fPath+"');}",t.appendChild(p)}}else if("g"===n[r].fOrigin||1===n[r].origin){for(l=document.querySelectorAll('link[f-forigin="g"], link[f-origin="1"]'),c=0;c<l.length;c+=1)-1!==l[c].href.indexOf(n[r].fPath)&&(u=!1);if(u){var d=createTag("link");d.setAttribute("f-forigin",n[r].fOrigin),d.setAttribute("f-origin",n[r].origin),d.type="text/css",d.rel="stylesheet",d.href=n[r].fPath,document.body.appendChild(d)}}else if("t"===n[r].fOrigin||2===n[r].origin){for(l=document.querySelectorAll('script[f-forigin="t"], script[f-origin="2"]'),c=0;c<l.length;c+=1)n[r].fPath===l[c].src&&(u=!1);if(u){var f=createTag("link");f.setAttribute("f-forigin",n[r].fOrigin),f.setAttribute("f-origin",n[r].origin),f.setAttribute("rel","stylesheet"),f.setAttribute("href",n[r].fPath),t.appendChild(f)}}}else n[r].loaded=!0,o-=1;n[r].helper=a(n[r],t),n[r].cache={},this.fonts.push(n[r])}0===o?this.isLoaded=!0:setTimeout(this.checkLoadedFonts.bind(this),100)}else this.isLoaded=!0},getCharData:function(t,r,n){for(var i=0,a=this.chars.length;i<a;){if(this.chars[i].ch===t&&this.chars[i].style===r&&this.chars[i].fFamily===n)return this.chars[i];i+=1}return("string"==typeof t&&13!==t.charCodeAt(0)||!t)&&console&&console.warn&&!this._warned&&(this._warned=!0,console.warn("Missing character from exported characters list: ",t,r,n)),e},getFontByName:function(e){for(var t=0,r=this.fonts.length;t<r;){if(this.fonts[t].fName===e)return this.fonts[t];t+=1}return this.fonts[0]},measureText:function(e,t,r){var n=this.getFontByName(t),i=e;if(!n.cache[i]){var a=n.helper;if(" "===e){var s=a.measureText("|"+e+"|"),o=a.measureText("||");n.cache[i]=(s-o)/100}else n.cache[i]=a.measureText(e)/100}return n.cache[i]*r},checkLoadedFonts:function(){var e,t,r,n=this.fonts.length,i=n;for(e=0;e<n;e+=1)this.fonts[e].loaded?i-=1:"n"===this.fonts[e].fOrigin||0===this.fonts[e].origin?this.fonts[e].loaded=!0:(t=this.fonts[e].monoCase.node,r=this.fonts[e].monoCase.w,t.offsetWidth!==r?(i-=1,this.fonts[e].loaded=!0):(t=this.fonts[e].sansCase.node,r=this.fonts[e].sansCase.w,t.offsetWidth!==r&&(i-=1,this.fonts[e].loaded=!0)),this.fonts[e].loaded&&(this.fonts[e].sansCase.parent.parentNode.removeChild(this.fonts[e].sansCase.parent),this.fonts[e].monoCase.parent.parentNode.removeChild(this.fonts[e].monoCase.parent)));0!==i&&Date.now()-this.initTime<5e3?setTimeout(this.checkLoadedFontsBinded,20):setTimeout(this.setIsLoadedBinded,10)},setIsLoaded:function(){this.isLoaded=!0}};return l.prototype=c,l}();function SlotManager(e){this.animationData=e}function slotFactory(e){return new SlotManager(e)}function RenderableElement(){}SlotManager.prototype.getProp=function(e){return this.animationData.slots&&this.animationData.slots[e.sid]?Object.assign(e,this.animationData.slots[e.sid].p):e},RenderableElement.prototype={initRenderable:function(){this.isInRange=!1,this.hidden=!1,this.isTransparent=!1,this.renderableComponents=[]},addRenderableComponent:function(e){-1===this.renderableComponents.indexOf(e)&&this.renderableComponents.push(e)},removeRenderableComponent:function(e){-1!==this.renderableComponents.indexOf(e)&&this.renderableComponents.splice(this.renderableComponents.indexOf(e),1)},prepareRenderableFrame:function(e){this.checkLayerLimits(e)},checkTransparency:function(){this.finalTransform.mProp.o.v<=0?!this.isTransparent&&this.globalData.renderConfig.hideOnTransparent&&(this.isTransparent=!0,this.hide()):this.isTransparent&&(this.isTransparent=!1,this.show())},checkLayerLimits:function(e){this.data.ip-this.data.st<=e&&this.data.op-this.data.st>e?!0!==this.isInRange&&(this.globalData._mdf=!0,this._mdf=!0,this.isInRange=!0,this.show()):!1!==this.isInRange&&(this.globalData._mdf=!0,this.isInRange=!1,this.hide())},renderRenderable:function(){var e,t=this.renderableComponents.length;for(e=0;e<t;e+=1)this.renderableComponents[e].renderFrame(this._isFirstFrame)},sourceRectAtTime:function(){return{top:0,left:0,width:100,height:100}},getLayerSize:function(){return 5===this.data.ty?{w:this.data.textData.width,h:this.data.textData.height}:{w:this.data.width,h:this.data.height}}};var getBlendMode=(blendModeEnums={0:"source-over",1:"multiply",2:"screen",3:"overlay",4:"darken",5:"lighten",6:"color-dodge",7:"color-burn",8:"hard-light",9:"soft-light",10:"difference",11:"exclusion",12:"hue",13:"saturation",14:"color",15:"luminosity"},function(e){return blendModeEnums[e]||""}),blendModeEnums;function SliderEffect(e,t,r){this.p=PropertyFactory.getProp(t,e.v,0,0,r)}function AngleEffect(e,t,r){this.p=PropertyFactory.getProp(t,e.v,0,0,r)}function ColorEffect(e,t,r){this.p=PropertyFactory.getProp(t,e.v,1,0,r)}function PointEffect(e,t,r){this.p=PropertyFactory.getProp(t,e.v,1,0,r)}function LayerIndexEffect(e,t,r){this.p=PropertyFactory.getProp(t,e.v,0,0,r)}function MaskIndexEffect(e,t,r){this.p=PropertyFactory.getProp(t,e.v,0,0,r)}function CheckboxEffect(e,t,r){this.p=PropertyFactory.getProp(t,e.v,0,0,r)}function NoValueEffect(){this.p={}}function EffectsManager(e,t){var r,n=e.ef||[];this.effectElements=[];var i,a=n.length;for(r=0;r<a;r+=1)i=new GroupEffect(n[r],t),this.effectElements.push(i)}function GroupEffect(e,t){this.init(e,t)}function BaseElement(){}function FrameElement(){}function FootageElement(e,t,r){this.initFrame(),this.initRenderable(),this.assetData=t.getAssetData(e.refId),this.footageData=t.imageLoader.getAsset(this.assetData),this.initBaseData(e,t,r)}function AudioElement(e,t,r){this.initFrame(),this.initRenderable(),this.assetData=t.getAssetData(e.refId),this.initBaseData(e,t,r),this._isPlaying=!1,this._canPlay=!1;var n=this.globalData.getAssetsPath(this.assetData);this.audio=this.globalData.audioController.createAudio(n),this._currentTime=0,this.globalData.audioController.addAudio(this),this._volumeMultiplier=1,this._volume=1,this._previousVolume=null,this.tm=e.tm?PropertyFactory.getProp(this,e.tm,0,t.frameRate,this):{_placeholder:!0},this.lv=PropertyFactory.getProp(this,e.au&&e.au.lv?e.au.lv:{k:[100]},1,.01,this)}function BaseRenderer(){}extendPrototype([DynamicPropertyContainer],GroupEffect),GroupEffect.prototype.getValue=GroupEffect.prototype.iterateDynamicProperties,GroupEffect.prototype.init=function(e,t){var r;this.data=e,this.effectElements=[],this.initDynamicPropertyContainer(t);var n,i=this.data.ef.length,a=this.data.ef;for(r=0;r<i;r+=1){switch(n=null,a[r].ty){case 0:n=new SliderEffect(a[r],t,this);break;case 1:n=new AngleEffect(a[r],t,this);break;case 2:n=new ColorEffect(a[r],t,this);break;case 3:n=new PointEffect(a[r],t,this);break;case 4:case 7:n=new CheckboxEffect(a[r],t,this);break;case 10:n=new LayerIndexEffect(a[r],t,this);break;case 11:n=new MaskIndexEffect(a[r],t,this);break;case 5:n=new EffectsManager(a[r],t,this);break;default:n=new NoValueEffect(a[r],t,this)}n&&this.effectElements.push(n)}},BaseElement.prototype={checkMasks:function(){if(!this.data.hasMask)return!1;for(var e=0,t=this.data.masksProperties.length;e<t;){if("n"!==this.data.masksProperties[e].mode&&!1!==this.data.masksProperties[e].cl)return!0;e+=1}return!1},initExpressions:function(){var e=getExpressionInterfaces();if(e){var t=e("layer"),r=e("effects"),n=e("shape"),i=e("text"),a=e("comp");this.layerInterface=t(this),this.data.hasMask&&this.maskManager&&this.layerInterface.registerMaskInterface(this.maskManager);var s=r.createEffectsInterface(this,this.layerInterface);this.layerInterface.registerEffectsInterface(s),0===this.data.ty||this.data.xt?this.compInterface=a(this):4===this.data.ty?(this.layerInterface.shapeInterface=n(this.shapesData,this.itemsData,this.layerInterface),this.layerInterface.content=this.layerInterface.shapeInterface):5===this.data.ty&&(this.layerInterface.textInterface=i(this),this.layerInterface.text=this.layerInterface.textInterface)}},setBlendMode:function(){var e=getBlendMode(this.data.bm);(this.baseElement||this.layerElement).style["mix-blend-mode"]=e},initBaseData:function(e,t,r){this.globalData=t,this.comp=r,this.data=e,this.layerId=createElementID(),this.data.sr||(this.data.sr=1),this.effectsManager=new EffectsManager(this.data,this,this.dynamicProperties)},getType:function(){return this.type},sourceRectAtTime:function(){}},FrameElement.prototype={initFrame:function(){this._isFirstFrame=!1,this.dynamicProperties=[],this._mdf=!1},prepareProperties:function(e,t){var r,n=this.dynamicProperties.length;for(r=0;r<n;r+=1)(t||this._isParent&&"transform"===this.dynamicProperties[r].propType)&&(this.dynamicProperties[r].getValue(),this.dynamicProperties[r]._mdf&&(this.globalData._mdf=!0,this._mdf=!0))},addDynamicProperty:function(e){-1===this.dynamicProperties.indexOf(e)&&this.dynamicProperties.push(e)}},FootageElement.prototype.prepareFrame=function(){},extendPrototype([RenderableElement,BaseElement,FrameElement],FootageElement),FootageElement.prototype.getBaseElement=function(){return null},FootageElement.prototype.renderFrame=function(){},FootageElement.prototype.destroy=function(){},FootageElement.prototype.initExpressions=function(){var e=getExpressionInterfaces();if(e){var t=e("footage");this.layerInterface=t(this)}},FootageElement.prototype.getFootageData=function(){return this.footageData},AudioElement.prototype.prepareFrame=function(e){if(this.prepareRenderableFrame(e,!0),this.prepareProperties(e,!0),this.tm._placeholder)this._currentTime=e/this.data.sr;else{var t=this.tm.v;this._currentTime=t}this._volume=this.lv.v[0];var r=this._volume*this._volumeMultiplier;this._previousVolume!==r&&(this._previousVolume=r,this.audio.volume(r))},extendPrototype([RenderableElement,BaseElement,FrameElement],AudioElement),AudioElement.prototype.renderFrame=function(){this.isInRange&&this._canPlay&&(this._isPlaying?(!this.audio.playing()||Math.abs(this._currentTime/this.globalData.frameRate-this.audio.seek())>.1)&&this.audio.seek(this._currentTime/this.globalData.frameRate):(this.audio.play(),this.audio.seek(this._currentTime/this.globalData.frameRate),this._isPlaying=!0))},AudioElement.prototype.show=function(){},AudioElement.prototype.hide=function(){this.audio.pause(),this._isPlaying=!1},AudioElement.prototype.pause=function(){this.audio.pause(),this._isPlaying=!1,this._canPlay=!1},AudioElement.prototype.resume=function(){this._canPlay=!0},AudioElement.prototype.setRate=function(e){this.audio.rate(e)},AudioElement.prototype.volume=function(e){this._volumeMultiplier=e,this._previousVolume=e*this._volume,this.audio.volume(this._previousVolume)},AudioElement.prototype.getBaseElement=function(){return null},AudioElement.prototype.destroy=function(){},AudioElement.prototype.sourceRectAtTime=function(){},AudioElement.prototype.initExpressions=function(){},BaseRenderer.prototype.checkLayers=function(e){var t,r,n=this.layers.length;for(this.completeLayers=!0,t=n-1;t>=0;t-=1)this.elements[t]||(r=this.layers[t]).ip-r.st<=e-this.layers[t].st&&r.op-r.st>e-this.layers[t].st&&this.buildItem(t),this.completeLayers=!!this.elements[t]&&this.completeLayers;this.checkPendingElements()},BaseRenderer.prototype.createItem=function(e){switch(e.ty){case 2:return this.createImage(e);case 0:return this.createComp(e);case 1:return this.createSolid(e);case 3:default:return this.createNull(e);case 4:return this.createShape(e);case 5:return this.createText(e);case 6:return this.createAudio(e);case 13:return this.createCamera(e);case 15:return this.createFootage(e)}},BaseRenderer.prototype.createCamera=function(){throw new Error("You're using a 3d camera. Try the html renderer.")},BaseRenderer.prototype.createAudio=function(e){return new AudioElement(e,this.globalData,this)},BaseRenderer.prototype.createFootage=function(e){return new FootageElement(e,this.globalData,this)},BaseRenderer.prototype.buildAllItems=function(){var e,t=this.layers.length;for(e=0;e<t;e+=1)this.buildItem(e);this.checkPendingElements()},BaseRenderer.prototype.includeLayers=function(e){var t;this.completeLayers=!1;var r,n=e.length,i=this.layers.length;for(t=0;t<n;t+=1)for(r=0;r<i;){if(this.layers[r].id===e[t].id){this.layers[r]=e[t];break}r+=1}},BaseRenderer.prototype.setProjectInterface=function(e){this.globalData.projectInterface=e},BaseRenderer.prototype.initItems=function(){this.globalData.progressiveLoad||this.buildAllItems()},BaseRenderer.prototype.buildElementParenting=function(e,t,r){for(var n=this.elements,i=this.layers,a=0,s=i.length;a<s;)i[a].ind==t&&(n[a]&&!0!==n[a]?(r.push(n[a]),n[a].setAsParent(),void 0!==i[a].parent?this.buildElementParenting(e,i[a].parent,r):e.setHierarchy(r)):(this.buildItem(a),this.addPendingElement(e))),a+=1},BaseRenderer.prototype.addPendingElement=function(e){this.pendingElements.push(e)},BaseRenderer.prototype.searchExtraCompositions=function(e){var t,r=e.length;for(t=0;t<r;t+=1)if(e[t].xt){var n=this.createComp(e[t]);n.initExpressions(),this.globalData.projectInterface.registerComposition(n)}},BaseRenderer.prototype.getElementById=function(e){var t,r=this.elements.length;for(t=0;t<r;t+=1)if(this.elements[t].data.ind===e)return this.elements[t];return null},BaseRenderer.prototype.getElementByPath=function(e){var t,r=e.shift();if("number"==typeof r)t=this.elements[r];else{var n,i=this.elements.length;for(n=0;n<i;n+=1)if(this.elements[n].data.nm===r){t=this.elements[n];break}}return 0===e.length?t:t.getElementByPath(e)},BaseRenderer.prototype.setupGlobalData=function(e,t){this.globalData.fontManager=new FontManager,this.globalData.slotManager=slotFactory(e),this.globalData.fontManager.addChars(e.chars),this.globalData.fontManager.addFonts(e.fonts,t),this.globalData.getAssetData=this.animationItem.getAssetData.bind(this.animationItem),this.globalData.getAssetsPath=this.animationItem.getAssetsPath.bind(this.animationItem),this.globalData.imageLoader=this.animationItem.imagePreloader,this.globalData.audioController=this.animationItem.audioController,this.globalData.frameId=0,this.globalData.frameRate=e.fr,this.globalData.nm=e.nm,this.globalData.compSize={w:e.w,h:e.h}};var effectTypes={TRANSFORM_EFFECT:"transformEFfect"};function TransformElement(){}function MaskElement(e,t,r){this.data=e,this.element=t,this.globalData=r,this.storedData=[],this.masksProperties=this.data.masksProperties||[],this.maskElement=null;var n,i,a=this.globalData.defs,s=this.masksProperties?this.masksProperties.length:0;this.viewData=createSizedArray(s),this.solidPath="";var o,l,c,u,p,d,f=this.masksProperties,h=0,m=[],g=createElementID(),y="clipPath",v="clip-path";for(n=0;n<s;n+=1)if(("a"!==f[n].mode&&"n"!==f[n].mode||f[n].inv||100!==f[n].o.k||f[n].o.x)&&(y="mask",v="mask"),"s"!==f[n].mode&&"i"!==f[n].mode||0!==h?c=null:((c=createNS("rect")).setAttribute("fill","#ffffff"),c.setAttribute("width",this.element.comp.data.w||0),c.setAttribute("height",this.element.comp.data.h||0),m.push(c)),i=createNS("path"),"n"===f[n].mode)this.viewData[n]={op:PropertyFactory.getProp(this.element,f[n].o,0,.01,this.element),prop:ShapePropertyFactory.getShapeProp(this.element,f[n],3),elem:i,lastPath:""},a.appendChild(i);else{var b;if(h+=1,i.setAttribute("fill","s"===f[n].mode?"#000000":"#ffffff"),i.setAttribute("clip-rule","nonzero"),0!==f[n].x.k?(y="mask",v="mask",d=PropertyFactory.getProp(this.element,f[n].x,0,null,this.element),b=createElementID(),(u=createNS("filter")).setAttribute("id",b),(p=createNS("feMorphology")).setAttribute("operator","erode"),p.setAttribute("in","SourceGraphic"),p.setAttribute("radius","0"),u.appendChild(p),a.appendChild(u),i.setAttribute("stroke","s"===f[n].mode?"#000000":"#ffffff")):(p=null,d=null),this.storedData[n]={elem:i,x:d,expan:p,lastPath:"",lastOperator:"",filterId:b,lastRadius:0},"i"===f[n].mode){l=m.length;var x=createNS("g");for(o=0;o<l;o+=1)x.appendChild(m[o]);var w=createNS("mask");w.setAttribute("mask-type","alpha"),w.setAttribute("id",g+"_"+h),w.appendChild(i),a.appendChild(w),x.setAttribute("mask","url("+getLocationHref()+"#"+g+"_"+h+")"),m.length=0,m.push(x)}else m.push(i);f[n].inv&&!this.solidPath&&(this.solidPath=this.createLayerSolidPath()),this.viewData[n]={elem:i,lastPath:"",op:PropertyFactory.getProp(this.element,f[n].o,0,.01,this.element),prop:ShapePropertyFactory.getShapeProp(this.element,f[n],3),invRect:c},this.viewData[n].prop.k||this.drawPath(f[n],this.viewData[n].prop.v,this.viewData[n])}for(this.maskElement=createNS(y),s=m.length,n=0;n<s;n+=1)this.maskElement.appendChild(m[n]);h>0&&(this.maskElement.setAttribute("id",g),this.element.maskedElement.setAttribute(v,"url("+getLocationHref()+"#"+g+")"),a.appendChild(this.maskElement)),this.viewData.length&&this.element.addRenderableComponent(this)}TransformElement.prototype={initTransform:function(){var e=new Matrix;this.finalTransform={mProp:this.data.ks?TransformPropertyFactory.getTransformProperty(this,this.data.ks,this):{o:0},_matMdf:!1,_localMatMdf:!1,_opMdf:!1,mat:e,localMat:e,localOpacity:1},this.data.ao&&(this.finalTransform.mProp.autoOriented=!0),this.data.ty},renderTransform:function(){if(this.finalTransform._opMdf=this.finalTransform.mProp.o._mdf||this._isFirstFrame,this.finalTransform._matMdf=this.finalTransform.mProp._mdf||this._isFirstFrame,this.hierarchy){var e,t=this.finalTransform.mat,r=0,n=this.hierarchy.length;if(!this.finalTransform._matMdf)for(;r<n;){if(this.hierarchy[r].finalTransform.mProp._mdf){this.finalTransform._matMdf=!0;break}r+=1}if(this.finalTransform._matMdf)for(e=this.finalTransform.mProp.v.props,t.cloneFromProps(e),r=0;r<n;r+=1)t.multiply(this.hierarchy[r].finalTransform.mProp.v)}this.finalTransform._matMdf&&(this.finalTransform._localMatMdf=this.finalTransform._matMdf),this.finalTransform._opMdf&&(this.finalTransform.localOpacity=this.finalTransform.mProp.o.v)},renderLocalTransform:function(){if(this.localTransforms){var e=0,t=this.localTransforms.length;if(this.finalTransform._localMatMdf=this.finalTransform._matMdf,!this.finalTransform._localMatMdf||!this.finalTransform._opMdf)for(;e<t;)this.localTransforms[e]._mdf&&(this.finalTransform._localMatMdf=!0),this.localTransforms[e]._opMdf&&!this.finalTransform._opMdf&&(this.finalTransform.localOpacity=this.finalTransform.mProp.o.v,this.finalTransform._opMdf=!0),e+=1;if(this.finalTransform._localMatMdf){var r=this.finalTransform.localMat;for(this.localTransforms[0].matrix.clone(r),e=1;e<t;e+=1){var n=this.localTransforms[e].matrix;r.multiply(n)}r.multiply(this.finalTransform.mat)}if(this.finalTransform._opMdf){var i=this.finalTransform.localOpacity;for(e=0;e<t;e+=1)i*=.01*this.localTransforms[e].opacity;this.finalTransform.localOpacity=i}}},searchEffectTransforms:function(){if(this.renderableEffectsManager){var e=this.renderableEffectsManager.getEffects(effectTypes.TRANSFORM_EFFECT);if(e.length){this.localTransforms=[],this.finalTransform.localMat=new Matrix;var t=0,r=e.length;for(t=0;t<r;t+=1)this.localTransforms.push(e[t])}}},globalToLocal:function(e){var t=[];t.push(this.finalTransform);for(var r,n=!0,i=this.comp;n;)i.finalTransform?(i.data.hasMask&&t.splice(0,0,i.finalTransform),i=i.comp):n=!1;var a,s=t.length;for(r=0;r<s;r+=1)a=t[r].mat.applyToPointArray(0,0,0),e=[e[0]-a[0],e[1]-a[1],0];return e},mHelper:new Matrix},MaskElement.prototype.getMaskProperty=function(e){return this.viewData[e].prop},MaskElement.prototype.renderFrame=function(e){var t,r=this.element.finalTransform.mat,n=this.masksProperties.length;for(t=0;t<n;t+=1)if((this.viewData[t].prop._mdf||e)&&this.drawPath(this.masksProperties[t],this.viewData[t].prop.v,this.viewData[t]),(this.viewData[t].op._mdf||e)&&this.viewData[t].elem.setAttribute("fill-opacity",this.viewData[t].op.v),"n"!==this.masksProperties[t].mode&&(this.viewData[t].invRect&&(this.element.finalTransform.mProp._mdf||e)&&this.viewData[t].invRect.setAttribute("transform",r.getInverseMatrix().to2dCSS()),this.storedData[t].x&&(this.storedData[t].x._mdf||e))){var i=this.storedData[t].expan;this.storedData[t].x.v<0?("erode"!==this.storedData[t].lastOperator&&(this.storedData[t].lastOperator="erode",this.storedData[t].elem.setAttribute("filter","url("+getLocationHref()+"#"+this.storedData[t].filterId+")")),i.setAttribute("radius",-this.storedData[t].x.v)):("dilate"!==this.storedData[t].lastOperator&&(this.storedData[t].lastOperator="dilate",this.storedData[t].elem.setAttribute("filter",null)),this.storedData[t].elem.setAttribute("stroke-width",2*this.storedData[t].x.v))}},MaskElement.prototype.getMaskelement=function(){return this.maskElement},MaskElement.prototype.createLayerSolidPath=function(){var e="M0,0 ";return e+=" h"+this.globalData.compSize.w,e+=" v"+this.globalData.compSize.h,(e+=" h-"+this.globalData.compSize.w)+" v-"+this.globalData.compSize.h+" "},MaskElement.prototype.drawPath=function(e,t,r){var n,i,a=" M"+t.v[0][0]+","+t.v[0][1];for(i=t._length,n=1;n<i;n+=1)a+=" C"+t.o[n-1][0]+","+t.o[n-1][1]+" "+t.i[n][0]+","+t.i[n][1]+" "+t.v[n][0]+","+t.v[n][1];if(t.c&&i>1&&(a+=" C"+t.o[n-1][0]+","+t.o[n-1][1]+" "+t.i[0][0]+","+t.i[0][1]+" "+t.v[0][0]+","+t.v[0][1]),r.lastPath!==a){var s="";r.elem&&(t.c&&(s=e.inv?this.solidPath+a:a),r.elem.setAttribute("d",s)),r.lastPath=a}},MaskElement.prototype.destroy=function(){this.element=null,this.globalData=null,this.maskElement=null,this.data=null,this.masksProperties=null};var filtersFactory={createFilter:function(e,t){var r=createNS("filter");return r.setAttribute("id",e),!0!==t&&(r.setAttribute("filterUnits","objectBoundingBox"),r.setAttribute("x","0%"),r.setAttribute("y","0%"),r.setAttribute("width","100%"),r.setAttribute("height","100%")),r},createAlphaToLuminanceFilter:function(){var e=createNS("feColorMatrix");return e.setAttribute("type","matrix"),e.setAttribute("color-interpolation-filters","sRGB"),e.setAttribute("values","0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1"),e}},featureSupport=function(){var e={maskType:!0,svgLumaHidden:!0,offscreenCanvas:"undefined"!=typeof OffscreenCanvas};return(/MSIE 10/i.test(navigator.userAgent)||/MSIE 9/i.test(navigator.userAgent)||/rv:11.0/i.test(navigator.userAgent)||/Edge\/\d./i.test(navigator.userAgent))&&(e.maskType=!1),/firefox/i.test(navigator.userAgent)&&(e.svgLumaHidden=!1),e}(),registeredEffects$1={},idPrefix="filter_result_";function SVGEffects(e){var t,r,n="SourceGraphic",i=e.data.ef?e.data.ef.length:0,a=createElementID(),s=filtersFactory.createFilter(a,!0),o=0;for(this.filters=[],t=0;t<i;t+=1){r=null;var l=e.data.ef[t].ty;registeredEffects$1[l]&&(r=new(0,registeredEffects$1[l].effect)(s,e.effectsManager.effectElements[t],e,idPrefix+o,n),n=idPrefix+o,registeredEffects$1[l].countsAsEffect&&(o+=1)),r&&this.filters.push(r)}o&&(e.globalData.defs.appendChild(s),e.layerElement.setAttribute("filter","url("+getLocationHref()+"#"+a+")")),this.filters.length&&e.addRenderableComponent(this)}function registerEffect$1(e,t,r){registeredEffects$1[e]={effect:t,countsAsEffect:r}}function SVGBaseElement(){}function HierarchyElement(){}function RenderableDOMElement(){}function IImageElement(e,t,r){this.assetData=t.getAssetData(e.refId),this.assetData&&this.assetData.sid&&(this.assetData=t.slotManager.getProp(this.assetData)),this.initElement(e,t,r),this.sourceRect={top:0,left:0,width:this.assetData.w,height:this.assetData.h}}function ProcessedElement(e,t){this.elem=e,this.pos=t}function IShapeElement(){}SVGEffects.prototype.renderFrame=function(e){var t,r=this.filters.length;for(t=0;t<r;t+=1)this.filters[t].renderFrame(e)},SVGEffects.prototype.getEffects=function(e){var t,r=this.filters.length,n=[];for(t=0;t<r;t+=1)this.filters[t].type===e&&n.push(this.filters[t]);return n},SVGBaseElement.prototype={initRendererElement:function(){this.layerElement=createNS("g")},createContainerElements:function(){this.matteElement=createNS("g"),this.transformedElement=this.layerElement,this.maskedElement=this.layerElement,this._sizeChanged=!1;var e=null;if(this.data.td){this.matteMasks={};var t=createNS("g");t.setAttribute("id",this.layerId),t.appendChild(this.layerElement),e=t,this.globalData.defs.appendChild(t)}else this.data.tt?(this.matteElement.appendChild(this.layerElement),e=this.matteElement,this.baseElement=this.matteElement):this.baseElement=this.layerElement;if(this.data.ln&&this.layerElement.setAttribute("id",this.data.ln),this.data.cl&&this.layerElement.setAttribute("class",this.data.cl),0===this.data.ty&&!this.data.hd){var r=createNS("clipPath"),n=createNS("path");n.setAttribute("d","M0,0 L"+this.data.w+",0 L"+this.data.w+","+this.data.h+" L0,"+this.data.h+"z");var i=createElementID();if(r.setAttribute("id",i),r.appendChild(n),this.globalData.defs.appendChild(r),this.checkMasks()){var a=createNS("g");a.setAttribute("clip-path","url("+getLocationHref()+"#"+i+")"),a.appendChild(this.layerElement),this.transformedElement=a,e?e.appendChild(this.transformedElement):this.baseElement=this.transformedElement}else this.layerElement.setAttribute("clip-path","url("+getLocationHref()+"#"+i+")")}0!==this.data.bm&&this.setBlendMode()},renderElement:function(){this.finalTransform._localMatMdf&&this.transformedElement.setAttribute("transform",this.finalTransform.localMat.to2dCSS()),this.finalTransform._opMdf&&this.transformedElement.setAttribute("opacity",this.finalTransform.localOpacity)},destroyBaseElement:function(){this.layerElement=null,this.matteElement=null,this.maskManager.destroy()},getBaseElement:function(){return this.data.hd?null:this.baseElement},createRenderableComponents:function(){this.maskManager=new MaskElement(this.data,this,this.globalData),this.renderableEffectsManager=new SVGEffects(this),this.searchEffectTransforms()},getMatte:function(e){if(this.matteMasks||(this.matteMasks={}),!this.matteMasks[e]){var t,r,n,i,a=this.layerId+"_"+e;if(1===e||3===e){var s=createNS("mask");s.setAttribute("id",a),s.setAttribute("mask-type",3===e?"luminance":"alpha"),(n=createNS("use")).setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),s.appendChild(n),this.globalData.defs.appendChild(s),featureSupport.maskType||1!==e||(s.setAttribute("mask-type","luminance"),t=createElementID(),r=filtersFactory.createFilter(t),this.globalData.defs.appendChild(r),r.appendChild(filtersFactory.createAlphaToLuminanceFilter()),(i=createNS("g")).appendChild(n),s.appendChild(i),i.setAttribute("filter","url("+getLocationHref()+"#"+t+")"))}else if(2===e){var o=createNS("mask");o.setAttribute("id",a),o.setAttribute("mask-type","alpha");var l=createNS("g");o.appendChild(l),t=createElementID(),r=filtersFactory.createFilter(t);var c=createNS("feComponentTransfer");c.setAttribute("in","SourceGraphic"),r.appendChild(c);var u=createNS("feFuncA");u.setAttribute("type","table"),u.setAttribute("tableValues","1.0 0.0"),c.appendChild(u),this.globalData.defs.appendChild(r);var p=createNS("rect");p.setAttribute("width",this.comp.data.w),p.setAttribute("height",this.comp.data.h),p.setAttribute("x","0"),p.setAttribute("y","0"),p.setAttribute("fill","#ffffff"),p.setAttribute("opacity","0"),l.setAttribute("filter","url("+getLocationHref()+"#"+t+")"),l.appendChild(p),(n=createNS("use")).setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),l.appendChild(n),featureSupport.maskType||(o.setAttribute("mask-type","luminance"),r.appendChild(filtersFactory.createAlphaToLuminanceFilter()),i=createNS("g"),l.appendChild(p),i.appendChild(this.layerElement),l.appendChild(i)),this.globalData.defs.appendChild(o)}this.matteMasks[e]=a}return this.matteMasks[e]},setMatte:function(e){this.matteElement&&this.matteElement.setAttribute("mask","url("+getLocationHref()+"#"+e+")")}},HierarchyElement.prototype={initHierarchy:function(){this.hierarchy=[],this._isParent=!1,this.checkParenting()},setHierarchy:function(e){this.hierarchy=e},setAsParent:function(){this._isParent=!0},checkParenting:function(){void 0!==this.data.parent&&this.comp.buildElementParenting(this,this.data.parent,[])}},extendPrototype([RenderableElement,createProxyFunction({initElement:function(e,t,r){this.initFrame(),this.initBaseData(e,t,r),this.initTransform(e,t,r),this.initHierarchy(),this.initRenderable(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),this.createContent(),this.hide()},hide:function(){this.hidden||this.isInRange&&!this.isTransparent||((this.baseElement||this.layerElement).style.display="none",this.hidden=!0)},show:function(){this.isInRange&&!this.isTransparent&&(this.data.hd||((this.baseElement||this.layerElement).style.display="block"),this.hidden=!1,this._isFirstFrame=!0)},renderFrame:function(){this.data.hd||this.hidden||(this.renderTransform(),this.renderRenderable(),this.renderLocalTransform(),this.renderElement(),this.renderInnerContent(),this._isFirstFrame&&(this._isFirstFrame=!1))},renderInnerContent:function(){},prepareFrame:function(e){this._mdf=!1,this.prepareRenderableFrame(e),this.prepareProperties(e,this.isInRange),this.checkTransparency()},destroy:function(){this.innerElem=null,this.destroyBaseElement()}})],RenderableDOMElement),extendPrototype([BaseElement,TransformElement,SVGBaseElement,HierarchyElement,FrameElement,RenderableDOMElement],IImageElement),IImageElement.prototype.createContent=function(){var e=this.globalData.getAssetsPath(this.assetData);this.innerElem=createNS("image"),this.innerElem.setAttribute("width",this.assetData.w+"px"),this.innerElem.setAttribute("height",this.assetData.h+"px"),this.innerElem.setAttribute("preserveAspectRatio",this.assetData.pr||this.globalData.renderConfig.imagePreserveAspectRatio),this.innerElem.setAttributeNS("http://www.w3.org/1999/xlink","href",e),this.layerElement.appendChild(this.innerElem)},IImageElement.prototype.sourceRectAtTime=function(){return this.sourceRect},IShapeElement.prototype={addShapeToModifiers:function(e){var t,r=this.shapeModifiers.length;for(t=0;t<r;t+=1)this.shapeModifiers[t].addShape(e)},isShapeInAnimatedModifiers:function(e){for(var t=this.shapeModifiers.length;0<t;)if(this.shapeModifiers[0].isAnimatedWithShape(e))return!0;return!1},renderModifiers:function(){if(this.shapeModifiers.length){var e,t=this.shapes.length;for(e=0;e<t;e+=1)this.shapes[e].sh.reset();for(e=(t=this.shapeModifiers.length)-1;e>=0&&!this.shapeModifiers[e].processShapes(this._isFirstFrame);e-=1);}},searchProcessedElement:function(e){for(var t=this.processedElements,r=0,n=t.length;r<n;){if(t[r].elem===e)return t[r].pos;r+=1}return 0},addProcessedElement:function(e,t){for(var r=this.processedElements,n=r.length;n;)if(r[n-=1].elem===e)return void(r[n].pos=t);r.push(new ProcessedElement(e,t))},prepareFrame:function(e){this.prepareRenderableFrame(e),this.prepareProperties(e,this.isInRange)}};var lineCapEnum={1:"butt",2:"round",3:"square"},lineJoinEnum={1:"miter",2:"round",3:"bevel"};function SVGShapeData(e,t,r){this.caches=[],this.styles=[],this.transformers=e,this.lStr="",this.sh=r,this.lvl=t,this._isAnimated=!!r.k;for(var n=0,i=e.length;n<i;){if(e[n].mProps.dynamicProperties.length){this._isAnimated=!0;break}n+=1}}function SVGStyleData(e,t){this.data=e,this.type=e.ty,this.d="",this.lvl=t,this._mdf=!1,this.closed=!0===e.hd,this.pElem=createNS("path"),this.msElem=null}function DashProperty(e,t,r,n){var i;this.elem=e,this.frameId=-1,this.dataProps=createSizedArray(t.length),this.renderer=r,this.k=!1,this.dashStr="",this.dashArray=createTypedArray("float32",t.length?t.length-1:0),this.dashoffset=createTypedArray("float32",1),this.initDynamicPropertyContainer(n);var a,s=t.length||0;for(i=0;i<s;i+=1)a=PropertyFactory.getProp(e,t[i].v,0,0,this),this.k=a.k||this.k,this.dataProps[i]={n:t[i].n,p:a};this.k||this.getValue(!0),this._isAnimated=this.k}function SVGStrokeStyleData(e,t,r){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.o=PropertyFactory.getProp(e,t.o,0,.01,this),this.w=PropertyFactory.getProp(e,t.w,0,null,this),this.d=new DashProperty(e,t.d||{},"svg",this),this.c=PropertyFactory.getProp(e,t.c,1,255,this),this.style=r,this._isAnimated=!!this._isAnimated}function SVGFillStyleData(e,t,r){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.o=PropertyFactory.getProp(e,t.o,0,.01,this),this.c=PropertyFactory.getProp(e,t.c,1,255,this),this.style=r}function SVGNoStyleData(e,t,r){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.style=r}function GradientProperty(e,t,r){this.data=t,this.c=createTypedArray("uint8c",4*t.p);var n=t.k.k[0].s?t.k.k[0].s.length-4*t.p:t.k.k.length-4*t.p;this.o=createTypedArray("float32",n),this._cmdf=!1,this._omdf=!1,this._collapsable=this.checkCollapsable(),this._hasOpacity=n,this.initDynamicPropertyContainer(r),this.prop=PropertyFactory.getProp(e,t.k,1,null,this),this.k=this.prop.k,this.getValue(!0)}function SVGGradientFillStyleData(e,t,r){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.initGradientData(e,t,r)}function SVGGradientStrokeStyleData(e,t,r){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.w=PropertyFactory.getProp(e,t.w,0,null,this),this.d=new DashProperty(e,t.d||{},"svg",this),this.initGradientData(e,t,r),this._isAnimated=!!this._isAnimated}function ShapeGroupData(){this.it=[],this.prevViewData=[],this.gr=createNS("g")}function SVGTransformData(e,t,r){this.transform={mProps:e,op:t,container:r},this.elements=[],this._isAnimated=this.transform.mProps.dynamicProperties.length||this.transform.op.effectsSequence.length}SVGShapeData.prototype.setAsAnimated=function(){this._isAnimated=!0},SVGStyleData.prototype.reset=function(){this.d="",this._mdf=!1},DashProperty.prototype.getValue=function(e){if((this.elem.globalData.frameId!==this.frameId||e)&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf=this._mdf||e,this._mdf)){var t=0,r=this.dataProps.length;for("svg"===this.renderer&&(this.dashStr=""),t=0;t<r;t+=1)"o"!==this.dataProps[t].n?"svg"===this.renderer?this.dashStr+=" "+this.dataProps[t].p.v:this.dashArray[t]=this.dataProps[t].p.v:this.dashoffset[0]=this.dataProps[t].p.v}},extendPrototype([DynamicPropertyContainer],DashProperty),extendPrototype([DynamicPropertyContainer],SVGStrokeStyleData),extendPrototype([DynamicPropertyContainer],SVGFillStyleData),extendPrototype([DynamicPropertyContainer],SVGNoStyleData),GradientProperty.prototype.comparePoints=function(e,t){for(var r=0,n=this.o.length/2;r<n;){if(Math.abs(e[4*r]-e[4*t+2*r])>.01)return!1;r+=1}return!0},GradientProperty.prototype.checkCollapsable=function(){if(this.o.length/2!=this.c.length/4)return!1;if(this.data.k.k[0].s)for(var e=0,t=this.data.k.k.length;e<t;){if(!this.comparePoints(this.data.k.k[e].s,this.data.p))return!1;e+=1}else if(!this.comparePoints(this.data.k.k,this.data.p))return!1;return!0},GradientProperty.prototype.getValue=function(e){if(this.prop.getValue(),this._mdf=!1,this._cmdf=!1,this._omdf=!1,this.prop._mdf||e){var t,r,n,i=4*this.data.p;for(t=0;t<i;t+=1)r=t%4==0?100:255,n=Math.round(this.prop.v[t]*r),this.c[t]!==n&&(this.c[t]=n,this._cmdf=!e);if(this.o.length)for(i=this.prop.v.length,t=4*this.data.p;t<i;t+=1)r=t%2==0?100:1,n=t%2==0?Math.round(100*this.prop.v[t]):this.prop.v[t],this.o[t-4*this.data.p]!==n&&(this.o[t-4*this.data.p]=n,this._omdf=!e);this._mdf=!e}},extendPrototype([DynamicPropertyContainer],GradientProperty),SVGGradientFillStyleData.prototype.initGradientData=function(e,t,r){this.o=PropertyFactory.getProp(e,t.o,0,.01,this),this.s=PropertyFactory.getProp(e,t.s,1,null,this),this.e=PropertyFactory.getProp(e,t.e,1,null,this),this.h=PropertyFactory.getProp(e,t.h||{k:0},0,.01,this),this.a=PropertyFactory.getProp(e,t.a||{k:0},0,degToRads,this),this.g=new GradientProperty(e,t.g,this),this.style=r,this.stops=[],this.setGradientData(r.pElem,t),this.setGradientOpacity(t,r),this._isAnimated=!!this._isAnimated},SVGGradientFillStyleData.prototype.setGradientData=function(e,t){var r=createElementID(),n=createNS(1===t.t?"linearGradient":"radialGradient");n.setAttribute("id",r),n.setAttribute("spreadMethod","pad"),n.setAttribute("gradientUnits","userSpaceOnUse");var i,a,s,o=[];for(s=4*t.g.p,a=0;a<s;a+=4)i=createNS("stop"),n.appendChild(i),o.push(i);e.setAttribute("gf"===t.ty?"fill":"stroke","url("+getLocationHref()+"#"+r+")"),this.gf=n,this.cst=o},SVGGradientFillStyleData.prototype.setGradientOpacity=function(e,t){if(this.g._hasOpacity&&!this.g._collapsable){var r,n,i,a=createNS("mask"),s=createNS("path");a.appendChild(s);var o=createElementID(),l=createElementID();a.setAttribute("id",l);var c=createNS(1===e.t?"linearGradient":"radialGradient");c.setAttribute("id",o),c.setAttribute("spreadMethod","pad"),c.setAttribute("gradientUnits","userSpaceOnUse"),i=e.g.k.k[0].s?e.g.k.k[0].s.length:e.g.k.k.length;var u=this.stops;for(n=4*e.g.p;n<i;n+=2)(r=createNS("stop")).setAttribute("stop-color","rgb(255,255,255)"),c.appendChild(r),u.push(r);s.setAttribute("gf"===e.ty?"fill":"stroke","url("+getLocationHref()+"#"+o+")"),"gs"===e.ty&&(s.setAttribute("stroke-linecap",lineCapEnum[e.lc||2]),s.setAttribute("stroke-linejoin",lineJoinEnum[e.lj||2]),1===e.lj&&s.setAttribute("stroke-miterlimit",e.ml)),this.of=c,this.ms=a,this.ost=u,this.maskId=l,t.msElem=s}},extendPrototype([DynamicPropertyContainer],SVGGradientFillStyleData),extendPrototype([SVGGradientFillStyleData,DynamicPropertyContainer],SVGGradientStrokeStyleData);var buildShapeString=function(e,t,r,n){if(0===t)return"";var i,a=e.o,s=e.i,o=e.v,l=" M"+n.applyToPointStringified(o[0][0],o[0][1]);for(i=1;i<t;i+=1)l+=" C"+n.applyToPointStringified(a[i-1][0],a[i-1][1])+" "+n.applyToPointStringified(s[i][0],s[i][1])+" "+n.applyToPointStringified(o[i][0],o[i][1]);return r&&t&&(l+=" C"+n.applyToPointStringified(a[i-1][0],a[i-1][1])+" "+n.applyToPointStringified(s[0][0],s[0][1])+" "+n.applyToPointStringified(o[0][0],o[0][1]),l+="z"),l},SVGElementsRenderer=function(){var e=new Matrix,t=new Matrix;function r(e,t,r){(r||t.transform.op._mdf)&&t.transform.container.setAttribute("opacity",t.transform.op.v),(r||t.transform.mProps._mdf)&&t.transform.container.setAttribute("transform",t.transform.mProps.v.to2dCSS())}function n(){}function i(r,n,i){var a,s,o,l,c,u,p,d,f,h,m=n.styles.length,g=n.lvl;for(u=0;u<m;u+=1){if(l=n.sh._mdf||i,n.styles[u].lvl<g){for(d=t.reset(),f=g-n.styles[u].lvl,h=n.transformers.length-1;!l&&f>0;)l=n.transformers[h].mProps._mdf||l,f-=1,h-=1;if(l)for(f=g-n.styles[u].lvl,h=n.transformers.length-1;f>0;)d.multiply(n.transformers[h].mProps.v),f-=1,h-=1}else d=e;if(s=(p=n.sh.paths)._length,l){for(o="",a=0;a<s;a+=1)(c=p.shapes[a])&&c._length&&(o+=buildShapeString(c,c._length,c.c,d));n.caches[u]=o}else o=n.caches[u];n.styles[u].d+=!0===r.hd?"":o,n.styles[u]._mdf=l||n.styles[u]._mdf}}function a(e,t,r){var n=t.style;(t.c._mdf||r)&&n.pElem.setAttribute("fill","rgb("+bmFloor(t.c.v[0])+","+bmFloor(t.c.v[1])+","+bmFloor(t.c.v[2])+")"),(t.o._mdf||r)&&n.pElem.setAttribute("fill-opacity",t.o.v)}function s(e,t,r){o(e,t,r),l(0,t,r)}function o(e,t,r){var n,i,a,s,o,l=t.gf,c=t.g._hasOpacity,u=t.s.v,p=t.e.v;if(t.o._mdf||r){var d="gf"===e.ty?"fill-opacity":"stroke-opacity";t.style.pElem.setAttribute(d,t.o.v)}if(t.s._mdf||r){var f=1===e.t?"x1":"cx",h="x1"===f?"y1":"cy";l.setAttribute(f,u[0]),l.setAttribute(h,u[1]),c&&!t.g._collapsable&&(t.of.setAttribute(f,u[0]),t.of.setAttribute(h,u[1]))}if(t.g._cmdf||r){n=t.cst;var m=t.g.c;for(a=n.length,i=0;i<a;i+=1)(s=n[i]).setAttribute("offset",m[4*i]+"%"),s.setAttribute("stop-color","rgb("+m[4*i+1]+","+m[4*i+2]+","+m[4*i+3]+")")}if(c&&(t.g._omdf||r)){var g=t.g.o;for(a=(n=t.g._collapsable?t.cst:t.ost).length,i=0;i<a;i+=1)s=n[i],t.g._collapsable||s.setAttribute("offset",g[2*i]+"%"),s.setAttribute("stop-opacity",g[2*i+1])}if(1===e.t)(t.e._mdf||r)&&(l.setAttribute("x2",p[0]),l.setAttribute("y2",p[1]),c&&!t.g._collapsable&&(t.of.setAttribute("x2",p[0]),t.of.setAttribute("y2",p[1])));else if((t.s._mdf||t.e._mdf||r)&&(o=Math.sqrt(Math.pow(u[0]-p[0],2)+Math.pow(u[1]-p[1],2)),l.setAttribute("r",o),c&&!t.g._collapsable&&t.of.setAttribute("r",o)),t.e._mdf||t.h._mdf||t.a._mdf||r){o||(o=Math.sqrt(Math.pow(u[0]-p[0],2)+Math.pow(u[1]-p[1],2)));var y=Math.atan2(p[1]-u[1],p[0]-u[0]),v=t.h.v;v>=1?v=.99:v<=-1&&(v=-.99);var b=o*v,x=Math.cos(y+t.a.v)*b+u[0],w=Math.sin(y+t.a.v)*b+u[1];l.setAttribute("fx",x),l.setAttribute("fy",w),c&&!t.g._collapsable&&(t.of.setAttribute("fx",x),t.of.setAttribute("fy",w))}}function l(e,t,r){var n=t.style,i=t.d;i&&(i._mdf||r)&&i.dashStr&&(n.pElem.setAttribute("stroke-dasharray",i.dashStr),n.pElem.setAttribute("stroke-dashoffset",i.dashoffset[0])),t.c&&(t.c._mdf||r)&&n.pElem.setAttribute("stroke","rgb("+bmFloor(t.c.v[0])+","+bmFloor(t.c.v[1])+","+bmFloor(t.c.v[2])+")"),(t.o._mdf||r)&&n.pElem.setAttribute("stroke-opacity",t.o.v),(t.w._mdf||r)&&(n.pElem.setAttribute("stroke-width",t.w.v),n.msElem&&n.msElem.setAttribute("stroke-width",t.w.v))}return{createRenderFunction:function(e){switch(e.ty){case"fl":return a;case"gf":return o;case"gs":return s;case"st":return l;case"sh":case"el":case"rc":case"sr":return i;case"tr":return r;case"no":return n;default:return null}}}}();function SVGShapeElement(e,t,r){this.shapes=[],this.shapesData=e.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.initElement(e,t,r),this.prevViewData=[]}function LetterProps(e,t,r,n,i,a){this.o=e,this.sw=t,this.sc=r,this.fc=n,this.m=i,this.p=a,this._mdf={o:!0,sw:!!t,sc:!!r,fc:!!n,m:!0,p:!0}}function TextProperty(e,t){this._frameId=initialDefaultFrame,this.pv="",this.v="",this.kf=!1,this._isFirstFrame=!0,this._mdf=!1,t.d&&t.d.sid&&(t.d=e.globalData.slotManager.getProp(t.d)),this.data=t,this.elem=e,this.comp=this.elem.comp,this.keysIndex=0,this.canResize=!1,this.minimumFontSize=1,this.effectsSequence=[],this.currentData={ascent:0,boxWidth:this.defaultBoxWidth,f:"",fStyle:"",fWeight:"",fc:"",j:"",justifyOffset:"",l:[],lh:0,lineWidths:[],ls:"",of:"",s:"",sc:"",sw:0,t:0,tr:0,sz:0,ps:null,fillColorAnim:!1,strokeColorAnim:!1,strokeWidthAnim:!1,yOffset:0,finalSize:0,finalText:[],finalLineHeight:0,__complete:!1},this.copyData(this.currentData,this.data.d.k[0].s),this.searchProperty()||this.completeTextData(this.currentData)}extendPrototype([BaseElement,TransformElement,SVGBaseElement,IShapeElement,HierarchyElement,FrameElement,RenderableDOMElement],SVGShapeElement),SVGShapeElement.prototype.initSecondaryElement=function(){},SVGShapeElement.prototype.identityMatrix=new Matrix,SVGShapeElement.prototype.buildExpressionInterface=function(){},SVGShapeElement.prototype.createContent=function(){this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes()},SVGShapeElement.prototype.filterUniqueShapes=function(){var e,t,r,n,i=this.shapes.length,a=this.stylesList.length,s=[],o=!1;for(r=0;r<a;r+=1){for(n=this.stylesList[r],o=!1,s.length=0,e=0;e<i;e+=1)-1!==(t=this.shapes[e]).styles.indexOf(n)&&(s.push(t),o=t._isAnimated||o);s.length>1&&o&&this.setShapesAsAnimated(s)}},SVGShapeElement.prototype.setShapesAsAnimated=function(e){var t,r=e.length;for(t=0;t<r;t+=1)e[t].setAsAnimated()},SVGShapeElement.prototype.createStyleElement=function(e,t){var r,n=new SVGStyleData(e,t),i=n.pElem;return"st"===e.ty?r=new SVGStrokeStyleData(this,e,n):"fl"===e.ty?r=new SVGFillStyleData(this,e,n):"gf"===e.ty||"gs"===e.ty?(r=new("gf"===e.ty?SVGGradientFillStyleData:SVGGradientStrokeStyleData)(this,e,n),this.globalData.defs.appendChild(r.gf),r.maskId&&(this.globalData.defs.appendChild(r.ms),this.globalData.defs.appendChild(r.of),i.setAttribute("mask","url("+getLocationHref()+"#"+r.maskId+")"))):"no"===e.ty&&(r=new SVGNoStyleData(this,e,n)),"st"!==e.ty&&"gs"!==e.ty||(i.setAttribute("stroke-linecap",lineCapEnum[e.lc||2]),i.setAttribute("stroke-linejoin",lineJoinEnum[e.lj||2]),i.setAttribute("fill-opacity","0"),1===e.lj&&i.setAttribute("stroke-miterlimit",e.ml)),2===e.r&&i.setAttribute("fill-rule","evenodd"),e.ln&&i.setAttribute("id",e.ln),e.cl&&i.setAttribute("class",e.cl),e.bm&&(i.style["mix-blend-mode"]=getBlendMode(e.bm)),this.stylesList.push(n),this.addToAnimatedContents(e,r),r},SVGShapeElement.prototype.createGroupElement=function(e){var t=new ShapeGroupData;return e.ln&&t.gr.setAttribute("id",e.ln),e.cl&&t.gr.setAttribute("class",e.cl),e.bm&&(t.gr.style["mix-blend-mode"]=getBlendMode(e.bm)),t},SVGShapeElement.prototype.createTransformElement=function(e,t){var r=TransformPropertyFactory.getTransformProperty(this,e,this),n=new SVGTransformData(r,r.o,t);return this.addToAnimatedContents(e,n),n},SVGShapeElement.prototype.createShapeElement=function(e,t,r){var n=4;"rc"===e.ty?n=5:"el"===e.ty?n=6:"sr"===e.ty&&(n=7);var i=new SVGShapeData(t,r,ShapePropertyFactory.getShapeProp(this,e,n,this));return this.shapes.push(i),this.addShapeToModifiers(i),this.addToAnimatedContents(e,i),i},SVGShapeElement.prototype.addToAnimatedContents=function(e,t){for(var r=0,n=this.animatedContents.length;r<n;){if(this.animatedContents[r].element===t)return;r+=1}this.animatedContents.push({fn:SVGElementsRenderer.createRenderFunction(e),element:t,data:e})},SVGShapeElement.prototype.setElementStyles=function(e){var t,r=e.styles,n=this.stylesList.length;for(t=0;t<n;t+=1)this.stylesList[t].closed||r.push(this.stylesList[t])},SVGShapeElement.prototype.reloadShapes=function(){var e;this._isFirstFrame=!0;var t=this.itemsData.length;for(e=0;e<t;e+=1)this.prevViewData[e]=this.itemsData[e];for(this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes(),t=this.dynamicProperties.length,e=0;e<t;e+=1)this.dynamicProperties[e].getValue();this.renderModifiers()},SVGShapeElement.prototype.searchShapes=function(e,t,r,n,i,a,s){var o,l,c,u,p,d,f=[].concat(a),h=e.length-1,m=[],g=[];for(o=h;o>=0;o-=1){if((d=this.searchProcessedElement(e[o]))?t[o]=r[d-1]:e[o]._render=s,"fl"===e[o].ty||"st"===e[o].ty||"gf"===e[o].ty||"gs"===e[o].ty||"no"===e[o].ty)d?t[o].style.closed=!1:t[o]=this.createStyleElement(e[o],i),e[o]._render&&t[o].style.pElem.parentNode!==n&&n.appendChild(t[o].style.pElem),m.push(t[o].style);else if("gr"===e[o].ty){if(d)for(c=t[o].it.length,l=0;l<c;l+=1)t[o].prevViewData[l]=t[o].it[l];else t[o]=this.createGroupElement(e[o]);this.searchShapes(e[o].it,t[o].it,t[o].prevViewData,t[o].gr,i+1,f,s),e[o]._render&&t[o].gr.parentNode!==n&&n.appendChild(t[o].gr)}else"tr"===e[o].ty?(d||(t[o]=this.createTransformElement(e[o],n)),u=t[o].transform,f.push(u)):"sh"===e[o].ty||"rc"===e[o].ty||"el"===e[o].ty||"sr"===e[o].ty?(d||(t[o]=this.createShapeElement(e[o],f,i)),this.setElementStyles(t[o])):"tm"===e[o].ty||"rd"===e[o].ty||"ms"===e[o].ty||"pb"===e[o].ty||"zz"===e[o].ty||"op"===e[o].ty?(d?(p=t[o]).closed=!1:((p=ShapeModifiers.getModifier(e[o].ty)).init(this,e[o]),t[o]=p,this.shapeModifiers.push(p)),g.push(p)):"rp"===e[o].ty&&(d?(p=t[o]).closed=!0:(p=ShapeModifiers.getModifier(e[o].ty),t[o]=p,p.init(this,e,o,t),this.shapeModifiers.push(p),s=!1),g.push(p));this.addProcessedElement(e[o],o+1)}for(h=m.length,o=0;o<h;o+=1)m[o].closed=!0;for(h=g.length,o=0;o<h;o+=1)g[o].closed=!0},SVGShapeElement.prototype.renderInnerContent=function(){var e;this.renderModifiers();var t=this.stylesList.length;for(e=0;e<t;e+=1)this.stylesList[e].reset();for(this.renderShape(),e=0;e<t;e+=1)(this.stylesList[e]._mdf||this._isFirstFrame)&&(this.stylesList[e].msElem&&(this.stylesList[e].msElem.setAttribute("d",this.stylesList[e].d),this.stylesList[e].d="M0 0"+this.stylesList[e].d),this.stylesList[e].pElem.setAttribute("d",this.stylesList[e].d||"M0 0"))},SVGShapeElement.prototype.renderShape=function(){var e,t,r=this.animatedContents.length;for(e=0;e<r;e+=1)t=this.animatedContents[e],(this._isFirstFrame||t.element._isAnimated)&&!0!==t.data&&t.fn(t.data,t.element,this._isFirstFrame)},SVGShapeElement.prototype.destroy=function(){this.destroyBaseElement(),this.shapesData=null,this.itemsData=null},LetterProps.prototype.update=function(e,t,r,n,i,a){this._mdf.o=!1,this._mdf.sw=!1,this._mdf.sc=!1,this._mdf.fc=!1,this._mdf.m=!1,this._mdf.p=!1;var s=!1;return this.o!==e&&(this.o=e,this._mdf.o=!0,s=!0),this.sw!==t&&(this.sw=t,this._mdf.sw=!0,s=!0),this.sc!==r&&(this.sc=r,this._mdf.sc=!0,s=!0),this.fc!==n&&(this.fc=n,this._mdf.fc=!0,s=!0),this.m!==i&&(this.m=i,this._mdf.m=!0,s=!0),!a.length||this.p[0]===a[0]&&this.p[1]===a[1]&&this.p[4]===a[4]&&this.p[5]===a[5]&&this.p[12]===a[12]&&this.p[13]===a[13]||(this.p=a,this._mdf.p=!0,s=!0),s},TextProperty.prototype.defaultBoxWidth=[0,0],TextProperty.prototype.copyData=function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},TextProperty.prototype.setCurrentData=function(e){e.__complete||this.completeTextData(e),this.currentData=e,this.currentData.boxWidth=this.currentData.boxWidth||this.defaultBoxWidth,this._mdf=!0},TextProperty.prototype.searchProperty=function(){return this.searchKeyframes()},TextProperty.prototype.searchKeyframes=function(){return this.kf=this.data.d.k.length>1,this.kf&&this.addEffect(this.getKeyframeValue.bind(this)),this.kf},TextProperty.prototype.addEffect=function(e){this.effectsSequence.push(e),this.elem.addDynamicProperty(this)},TextProperty.prototype.getValue=function(e){if(this.elem.globalData.frameId!==this.frameId&&this.effectsSequence.length||e){this.currentData.t=this.data.d.k[this.keysIndex].s.t;var t=this.currentData,r=this.keysIndex;if(this.lock)this.setCurrentData(this.currentData);else{var n;this.lock=!0,this._mdf=!1;var i=this.effectsSequence.length,a=e||this.data.d.k[this.keysIndex].s;for(n=0;n<i;n+=1)a=r!==this.keysIndex?this.effectsSequence[n](a,a.t):this.effectsSequence[n](this.currentData,a.t);t!==a&&this.setCurrentData(a),this.v=this.currentData,this.pv=this.v,this.lock=!1,this.frameId=this.elem.globalData.frameId}}},TextProperty.prototype.getKeyframeValue=function(){for(var e=this.data.d.k,t=this.elem.comp.renderedFrame,r=0,n=e.length;r<=n-1&&!(r===n-1||e[r+1].t>t);)r+=1;return this.keysIndex!==r&&(this.keysIndex=r),this.data.d.k[this.keysIndex].s},TextProperty.prototype.buildFinalText=function(e){for(var t,r,n=[],i=0,a=e.length,s=!1,o=!1,l="";i<a;)s=o,o=!1,t=e.charCodeAt(i),l=e.charAt(i),FontManager.isCombinedCharacter(t)?s=!0:t>=55296&&t<=56319?FontManager.isRegionalFlag(e,i)?l=e.substr(i,14):(r=e.charCodeAt(i+1))>=56320&&r<=57343&&(FontManager.isModifier(t,r)?(l=e.substr(i,2),s=!0):l=FontManager.isFlagEmoji(e.substr(i,4))?e.substr(i,4):e.substr(i,2)):t>56319?(r=e.charCodeAt(i+1),FontManager.isVariationSelector(t)&&(s=!0)):FontManager.isZeroWidthJoiner(t)&&(s=!0,o=!0),s?(n[n.length-1]+=l,s=!1):n.push(l),i+=l.length;return n},TextProperty.prototype.completeTextData=function(e){e.__complete=!0;var t,r,n,i,a,s,o,l=this.elem.globalData.fontManager,c=this.data,u=[],p=0,d=c.m.g,f=0,h=0,m=0,g=[],y=0,v=0,b=l.getFontByName(e.f),x=0,w=getFontProperties(b);e.fWeight=w.weight,e.fStyle=w.style,e.finalSize=e.s,e.finalText=this.buildFinalText(e.t),r=e.finalText.length,e.finalLineHeight=e.lh;var E,k=e.tr/1e3*e.finalSize;if(e.sz)for(var S,C,A=!0,P=e.sz[0],_=e.sz[1];A;){S=0,y=0,r=(C=this.buildFinalText(e.t)).length,k=e.tr/1e3*e.finalSize;var T=-1;for(t=0;t<r;t+=1)E=C[t].charCodeAt(0),n=!1," "===C[t]?T=t:13!==E&&3!==E||(y=0,n=!0,S+=e.finalLineHeight||1.2*e.finalSize),l.chars?(o=l.getCharData(C[t],b.fStyle,b.fFamily),x=n?0:o.w*e.finalSize/100):x=l.measureText(C[t],e.f,e.finalSize),y+x>P&&" "!==C[t]?(-1===T?r+=1:t=T,S+=e.finalLineHeight||1.2*e.finalSize,C.splice(t,T===t?1:0,"\r"),T=-1,y=0):(y+=x,y+=k);S+=b.ascent*e.finalSize/100,this.canResize&&e.finalSize>this.minimumFontSize&&_<S?(e.finalSize-=1,e.finalLineHeight=e.finalSize*e.lh/e.s):(e.finalText=C,r=e.finalText.length,A=!1)}y=-k,x=0;var I,F=0;for(t=0;t<r;t+=1)if(n=!1,13===(E=(I=e.finalText[t]).charCodeAt(0))||3===E?(F=0,g.push(y),v=y>v?y:v,y=-2*k,i="",n=!0,m+=1):i=I,l.chars?(o=l.getCharData(I,b.fStyle,l.getFontByName(e.f).fFamily),x=n?0:o.w*e.finalSize/100):x=l.measureText(i,e.f,e.finalSize)," "===I?F+=x+k:(y+=x+k+F,F=0),u.push({l:x,an:x,add:f,n,anIndexes:[],val:i,line:m,animatorJustifyOffset:0}),2==d){if(f+=x,""===i||" "===i||t===r-1){for(""!==i&&" "!==i||(f-=x);h<=t;)u[h].an=f,u[h].ind=p,u[h].extra=x,h+=1;p+=1,f=0}}else if(3==d){if(f+=x,""===i||t===r-1){for(""===i&&(f-=x);h<=t;)u[h].an=f,u[h].ind=p,u[h].extra=x,h+=1;f=0,p+=1}}else u[p].ind=p,u[p].extra=0,p+=1;if(e.l=u,v=y>v?y:v,g.push(y),e.sz)e.boxWidth=e.sz[0],e.justifyOffset=0;else switch(e.boxWidth=v,e.j){case 1:e.justifyOffset=-e.boxWidth;break;case 2:e.justifyOffset=-e.boxWidth/2;break;default:e.justifyOffset=0}e.lineWidths=g;var M,D,R,L,O=c.a;s=O.length;var V=[];for(a=0;a<s;a+=1){for((M=O[a]).a.sc&&(e.strokeColorAnim=!0),M.a.sw&&(e.strokeWidthAnim=!0),(M.a.fc||M.a.fh||M.a.fs||M.a.fb)&&(e.fillColorAnim=!0),L=0,R=M.s.b,t=0;t<r;t+=1)(D=u[t]).anIndexes[a]=L,(1==R&&""!==D.val||2==R&&""!==D.val&&" "!==D.val||3==R&&(D.n||" "==D.val||t==r-1)||4==R&&(D.n||t==r-1))&&(1===M.s.rn&&V.push(L),L+=1);c.a[a].s.totalChars=L;var N,B=-1;if(1===M.s.rn)for(t=0;t<r;t+=1)B!=(D=u[t]).anIndexes[a]&&(B=D.anIndexes[a],N=V.splice(Math.floor(Math.random()*V.length),1)[0]),D.anIndexes[a]=N}e.yOffset=e.finalLineHeight||1.2*e.finalSize,e.ls=e.ls||0,e.ascent=b.ascent*e.finalSize/100},TextProperty.prototype.updateDocumentData=function(e,t){t=void 0===t?this.keysIndex:t;var r=this.copyData({},this.data.d.k[t].s);r=this.copyData(r,e),this.data.d.k[t].s=r,this.recalculate(t),this.setCurrentData(r),this.elem.addDynamicProperty(this)},TextProperty.prototype.recalculate=function(e){var t=this.data.d.k[e].s;t.__complete=!1,this.keysIndex=0,this._isFirstFrame=!0,this.getValue(t)},TextProperty.prototype.canResizeFont=function(e){this.canResize=e,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)},TextProperty.prototype.setMinimumFontSize=function(e){this.minimumFontSize=Math.floor(e)||1,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)};var TextSelectorProp=function(){var e=Math.max,t=Math.min,r=Math.floor;function n(e,t){this._currentTextLength=-1,this.k=!1,this.data=t,this.elem=e,this.comp=e.comp,this.finalS=0,this.finalE=0,this.initDynamicPropertyContainer(e),this.s=PropertyFactory.getProp(e,t.s||{k:0},0,0,this),this.e="e"in t?PropertyFactory.getProp(e,t.e,0,0,this):{v:100},this.o=PropertyFactory.getProp(e,t.o||{k:0},0,0,this),this.xe=PropertyFactory.getProp(e,t.xe||{k:0},0,0,this),this.ne=PropertyFactory.getProp(e,t.ne||{k:0},0,0,this),this.sm=PropertyFactory.getProp(e,t.sm||{k:100},0,0,this),this.a=PropertyFactory.getProp(e,t.a,0,.01,this),this.dynamicProperties.length||this.getValue()}return n.prototype={getMult:function(n){this._currentTextLength!==this.elem.textProperty.currentData.l.length&&this.getValue();var i=0,a=0,s=1,o=1;this.ne.v>0?i=this.ne.v/100:a=-this.ne.v/100,this.xe.v>0?s=1-this.xe.v/100:o=1+this.xe.v/100;var l=BezierFactory.getBezierEasing(i,a,s,o).get,c=0,u=this.finalS,p=this.finalE,d=this.data.sh;if(2===d)c=l(c=p===u?n>=p?1:0:e(0,t(.5/(p-u)+(n-u)/(p-u),1)));else if(3===d)c=l(c=p===u?n>=p?0:1:1-e(0,t(.5/(p-u)+(n-u)/(p-u),1)));else if(4===d)p===u?c=0:(c=e(0,t(.5/(p-u)+(n-u)/(p-u),1)))<.5?c*=2:c=1-2*(c-.5),c=l(c);else if(5===d){if(p===u)c=0;else{var f=p-u,h=-f/2+(n=t(e(0,n+.5-u),p-u)),m=f/2;c=Math.sqrt(1-h*h/(m*m))}c=l(c)}else 6===d?(p===u?c=0:(n=t(e(0,n+.5-u),p-u),c=(1+Math.cos(Math.PI+2*Math.PI*n/(p-u)))/2),c=l(c)):(n>=r(u)&&(c=e(0,t(n-u<0?t(p,1)-(u-n):p-n,1))),c=l(c));if(100!==this.sm.v){var g=.01*this.sm.v;0===g&&(g=1e-8);var y=.5-.5*g;c<y?c=0:(c=(c-y)/g)>1&&(c=1)}return c*this.a.v},getValue:function(e){this.iterateDynamicProperties(),this._mdf=e||this._mdf,this._currentTextLength=this.elem.textProperty.currentData.l.length||0,e&&2===this.data.r&&(this.e.v=this._currentTextLength);var t=2===this.data.r?1:100/this.data.totalChars,r=this.o.v/t,n=this.s.v/t+r,i=this.e.v/t+r;if(n>i){var a=n;n=i,i=a}this.finalS=n,this.finalE=i}},extendPrototype([DynamicPropertyContainer],n),{getTextSelectorProp:function(e,t,r){return new n(e,t,r)}}}();function TextAnimatorDataProperty(e,t,r){var n={propType:!1},i=PropertyFactory.getProp,a=t.a;this.a={r:a.r?i(e,a.r,0,degToRads,r):n,rx:a.rx?i(e,a.rx,0,degToRads,r):n,ry:a.ry?i(e,a.ry,0,degToRads,r):n,sk:a.sk?i(e,a.sk,0,degToRads,r):n,sa:a.sa?i(e,a.sa,0,degToRads,r):n,s:a.s?i(e,a.s,1,.01,r):n,a:a.a?i(e,a.a,1,0,r):n,o:a.o?i(e,a.o,0,.01,r):n,p:a.p?i(e,a.p,1,0,r):n,sw:a.sw?i(e,a.sw,0,0,r):n,sc:a.sc?i(e,a.sc,1,0,r):n,fc:a.fc?i(e,a.fc,1,0,r):n,fh:a.fh?i(e,a.fh,0,0,r):n,fs:a.fs?i(e,a.fs,0,.01,r):n,fb:a.fb?i(e,a.fb,0,.01,r):n,t:a.t?i(e,a.t,0,0,r):n},this.s=TextSelectorProp.getTextSelectorProp(e,t.s,r),this.s.t=t.s.t}function TextAnimatorProperty(e,t,r){this._isFirstFrame=!0,this._hasMaskedPath=!1,this._frameId=-1,this._textData=e,this._renderType=t,this._elem=r,this._animatorsData=createSizedArray(this._textData.a.length),this._pathData={},this._moreOptions={alignment:{}},this.renderedLetters=[],this.lettersChangedFlag=!1,this.initDynamicPropertyContainer(r)}function ITextElement(){}TextAnimatorProperty.prototype.searchProperties=function(){var e,t,r=this._textData.a.length,n=PropertyFactory.getProp;for(e=0;e<r;e+=1)t=this._textData.a[e],this._animatorsData[e]=new TextAnimatorDataProperty(this._elem,t,this);this._textData.p&&"m"in this._textData.p?(this._pathData={a:n(this._elem,this._textData.p.a,0,0,this),f:n(this._elem,this._textData.p.f,0,0,this),l:n(this._elem,this._textData.p.l,0,0,this),r:n(this._elem,this._textData.p.r,0,0,this),p:n(this._elem,this._textData.p.p,0,0,this),m:this._elem.maskManager.getMaskProperty(this._textData.p.m)},this._hasMaskedPath=!0):this._hasMaskedPath=!1,this._moreOptions.alignment=n(this._elem,this._textData.m.a,1,0,this)},TextAnimatorProperty.prototype.getMeasures=function(e,t){if(this.lettersChangedFlag=t,this._mdf||this._isFirstFrame||t||this._hasMaskedPath&&this._pathData.m._mdf){this._isFirstFrame=!1;var r,n,i,a,s,o,l,c,u,p,d,f,h,m,g,y,v,b,x,w=this._moreOptions.alignment.v,E=this._animatorsData,k=this._textData,S=this.mHelper,C=this._renderType,A=this.renderedLetters.length,P=e.l;if(this._hasMaskedPath){if(x=this._pathData.m,!this._pathData.n||this._pathData._mdf){var _,T=x.v;for(this._pathData.r.v&&(T=T.reverse()),s={tLength:0,segments:[]},a=T._length-1,y=0,i=0;i<a;i+=1)_=bez.buildBezierData(T.v[i],T.v[i+1],[T.o[i][0]-T.v[i][0],T.o[i][1]-T.v[i][1]],[T.i[i+1][0]-T.v[i+1][0],T.i[i+1][1]-T.v[i+1][1]]),s.tLength+=_.segmentLength,s.segments.push(_),y+=_.segmentLength;i=a,x.v.c&&(_=bez.buildBezierData(T.v[i],T.v[0],[T.o[i][0]-T.v[i][0],T.o[i][1]-T.v[i][1]],[T.i[0][0]-T.v[0][0],T.i[0][1]-T.v[0][1]]),s.tLength+=_.segmentLength,s.segments.push(_),y+=_.segmentLength),this._pathData.pi=s}if(s=this._pathData.pi,o=this._pathData.f.v,d=0,p=1,c=0,u=!0,m=s.segments,o<0&&x.v.c)for(s.tLength<Math.abs(o)&&(o=-Math.abs(o)%s.tLength),p=(h=m[d=m.length-1].points).length-1;o<0;)o+=h[p].partialLength,(p-=1)<0&&(p=(h=m[d-=1].points).length-1);f=(h=m[d].points)[p-1],g=(l=h[p]).partialLength}a=P.length,r=0,n=0;var I,F,M,D,R,L=1.2*e.finalSize*.714,O=!0;M=E.length;var V,N,B,j,z,H,G,W,q,U,X,Q,$=-1,J=o,Y=d,Z=p,K=-1,ee="",te=this.defaultPropsArray;if(2===e.j||1===e.j){var re=0,ne=0,ie=2===e.j?-.5:-1,ae=0,se=!0;for(i=0;i<a;i+=1)if(P[i].n){for(re&&(re+=ne);ae<i;)P[ae].animatorJustifyOffset=re,ae+=1;re=0,se=!0}else{for(F=0;F<M;F+=1)(I=E[F].a).t.propType&&(se&&2===e.j&&(ne+=I.t.v*ie),(R=E[F].s.getMult(P[i].anIndexes[F],k.a[F].s.totalChars)).length?re+=I.t.v*R[0]*ie:re+=I.t.v*R*ie);se=!1}for(re&&(re+=ne);ae<i;)P[ae].animatorJustifyOffset=re,ae+=1}for(i=0;i<a;i+=1){if(S.reset(),j=1,P[i].n)r=0,n+=e.yOffset,n+=O?1:0,o=J,O=!1,this._hasMaskedPath&&(p=Z,f=(h=m[d=Y].points)[p-1],g=(l=h[p]).partialLength,c=0),ee="",X="",q="",Q="",te=this.defaultPropsArray;else{if(this._hasMaskedPath){if(K!==P[i].line){switch(e.j){case 1:o+=y-e.lineWidths[P[i].line];break;case 2:o+=(y-e.lineWidths[P[i].line])/2}K=P[i].line}$!==P[i].ind&&(P[$]&&(o+=P[$].extra),o+=P[i].an/2,$=P[i].ind),o+=w[0]*P[i].an*.005;var oe=0;for(F=0;F<M;F+=1)(I=E[F].a).p.propType&&((R=E[F].s.getMult(P[i].anIndexes[F],k.a[F].s.totalChars)).length?oe+=I.p.v[0]*R[0]:oe+=I.p.v[0]*R),I.a.propType&&((R=E[F].s.getMult(P[i].anIndexes[F],k.a[F].s.totalChars)).length?oe+=I.a.v[0]*R[0]:oe+=I.a.v[0]*R);for(u=!0,this._pathData.a.v&&(o=.5*P[0].an+(y-this._pathData.f.v-.5*P[0].an-.5*P[P.length-1].an)*$/(a-1),o+=this._pathData.f.v);u;)c+g>=o+oe||!h?(v=(o+oe-c)/l.partialLength,N=f.point[0]+(l.point[0]-f.point[0])*v,B=f.point[1]+(l.point[1]-f.point[1])*v,S.translate(-w[0]*P[i].an*.005,-w[1]*L*.01),u=!1):h&&(c+=l.partialLength,(p+=1)>=h.length&&(p=0,m[d+=1]?h=m[d].points:x.v.c?(p=0,h=m[d=0].points):(c-=l.partialLength,h=null)),h&&(f=l,g=(l=h[p]).partialLength));V=P[i].an/2-P[i].add,S.translate(-V,0,0)}else V=P[i].an/2-P[i].add,S.translate(-V,0,0),S.translate(-w[0]*P[i].an*.005,-w[1]*L*.01,0);for(F=0;F<M;F+=1)(I=E[F].a).t.propType&&(R=E[F].s.getMult(P[i].anIndexes[F],k.a[F].s.totalChars),0===r&&0===e.j||(this._hasMaskedPath?R.length?o+=I.t.v*R[0]:o+=I.t.v*R:R.length?r+=I.t.v*R[0]:r+=I.t.v*R));for(e.strokeWidthAnim&&(H=e.sw||0),e.strokeColorAnim&&(z=e.sc?[e.sc[0],e.sc[1],e.sc[2]]:[0,0,0]),e.fillColorAnim&&e.fc&&(G=[e.fc[0],e.fc[1],e.fc[2]]),F=0;F<M;F+=1)(I=E[F].a).a.propType&&((R=E[F].s.getMult(P[i].anIndexes[F],k.a[F].s.totalChars)).length?S.translate(-I.a.v[0]*R[0],-I.a.v[1]*R[1],I.a.v[2]*R[2]):S.translate(-I.a.v[0]*R,-I.a.v[1]*R,I.a.v[2]*R));for(F=0;F<M;F+=1)(I=E[F].a).s.propType&&((R=E[F].s.getMult(P[i].anIndexes[F],k.a[F].s.totalChars)).length?S.scale(1+(I.s.v[0]-1)*R[0],1+(I.s.v[1]-1)*R[1],1):S.scale(1+(I.s.v[0]-1)*R,1+(I.s.v[1]-1)*R,1));for(F=0;F<M;F+=1){if(I=E[F].a,R=E[F].s.getMult(P[i].anIndexes[F],k.a[F].s.totalChars),I.sk.propType&&(R.length?S.skewFromAxis(-I.sk.v*R[0],I.sa.v*R[1]):S.skewFromAxis(-I.sk.v*R,I.sa.v*R)),I.r.propType&&(R.length?S.rotateZ(-I.r.v*R[2]):S.rotateZ(-I.r.v*R)),I.ry.propType&&(R.length?S.rotateY(I.ry.v*R[1]):S.rotateY(I.ry.v*R)),I.rx.propType&&(R.length?S.rotateX(I.rx.v*R[0]):S.rotateX(I.rx.v*R)),I.o.propType&&(R.length?j+=(I.o.v*R[0]-j)*R[0]:j+=(I.o.v*R-j)*R),e.strokeWidthAnim&&I.sw.propType&&(R.length?H+=I.sw.v*R[0]:H+=I.sw.v*R),e.strokeColorAnim&&I.sc.propType)for(W=0;W<3;W+=1)R.length?z[W]+=(I.sc.v[W]-z[W])*R[0]:z[W]+=(I.sc.v[W]-z[W])*R;if(e.fillColorAnim&&e.fc){if(I.fc.propType)for(W=0;W<3;W+=1)R.length?G[W]+=(I.fc.v[W]-G[W])*R[0]:G[W]+=(I.fc.v[W]-G[W])*R;I.fh.propType&&(G=R.length?addHueToRGB(G,I.fh.v*R[0]):addHueToRGB(G,I.fh.v*R)),I.fs.propType&&(G=R.length?addSaturationToRGB(G,I.fs.v*R[0]):addSaturationToRGB(G,I.fs.v*R)),I.fb.propType&&(G=R.length?addBrightnessToRGB(G,I.fb.v*R[0]):addBrightnessToRGB(G,I.fb.v*R))}}for(F=0;F<M;F+=1)(I=E[F].a).p.propType&&(R=E[F].s.getMult(P[i].anIndexes[F],k.a[F].s.totalChars),this._hasMaskedPath?R.length?S.translate(0,I.p.v[1]*R[0],-I.p.v[2]*R[1]):S.translate(0,I.p.v[1]*R,-I.p.v[2]*R):R.length?S.translate(I.p.v[0]*R[0],I.p.v[1]*R[1],-I.p.v[2]*R[2]):S.translate(I.p.v[0]*R,I.p.v[1]*R,-I.p.v[2]*R));if(e.strokeWidthAnim&&(q=H<0?0:H),e.strokeColorAnim&&(U="rgb("+Math.round(255*z[0])+","+Math.round(255*z[1])+","+Math.round(255*z[2])+")"),e.fillColorAnim&&e.fc&&(X="rgb("+Math.round(255*G[0])+","+Math.round(255*G[1])+","+Math.round(255*G[2])+")"),this._hasMaskedPath){if(S.translate(0,-e.ls),S.translate(0,w[1]*L*.01+n,0),this._pathData.p.v){b=(l.point[1]-f.point[1])/(l.point[0]-f.point[0]);var le=180*Math.atan(b)/Math.PI;l.point[0]<f.point[0]&&(le+=180),S.rotate(-le*Math.PI/180)}S.translate(N,B,0),o-=w[0]*P[i].an*.005,P[i+1]&&$!==P[i+1].ind&&(o+=P[i].an/2,o+=.001*e.tr*e.finalSize)}else{switch(S.translate(r,n,0),e.ps&&S.translate(e.ps[0],e.ps[1]+e.ascent,0),e.j){case 1:S.translate(P[i].animatorJustifyOffset+e.justifyOffset+(e.boxWidth-e.lineWidths[P[i].line]),0,0);break;case 2:S.translate(P[i].animatorJustifyOffset+e.justifyOffset+(e.boxWidth-e.lineWidths[P[i].line])/2,0,0)}S.translate(0,-e.ls),S.translate(V,0,0),S.translate(w[0]*P[i].an*.005,w[1]*L*.01,0),r+=P[i].l+.001*e.tr*e.finalSize}"html"===C?ee=S.toCSS():"svg"===C?ee=S.to2dCSS():te=[S.props[0],S.props[1],S.props[2],S.props[3],S.props[4],S.props[5],S.props[6],S.props[7],S.props[8],S.props[9],S.props[10],S.props[11],S.props[12],S.props[13],S.props[14],S.props[15]],Q=j}A<=i?(D=new LetterProps(Q,q,U,X,ee,te),this.renderedLetters.push(D),A+=1,this.lettersChangedFlag=!0):(D=this.renderedLetters[i],this.lettersChangedFlag=D.update(Q,q,U,X,ee,te)||this.lettersChangedFlag)}}},TextAnimatorProperty.prototype.getValue=function(){this._elem.globalData.frameId!==this._frameId&&(this._frameId=this._elem.globalData.frameId,this.iterateDynamicProperties())},TextAnimatorProperty.prototype.mHelper=new Matrix,TextAnimatorProperty.prototype.defaultPropsArray=[],extendPrototype([DynamicPropertyContainer],TextAnimatorProperty),ITextElement.prototype.initElement=function(e,t,r){this.lettersChangedFlag=!0,this.initFrame(),this.initBaseData(e,t,r),this.textProperty=new TextProperty(this,e.t,this.dynamicProperties),this.textAnimator=new TextAnimatorProperty(e.t,this.renderType,this),this.initTransform(e,t,r),this.initHierarchy(),this.initRenderable(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),this.createContent(),this.hide(),this.textAnimator.searchProperties(this.dynamicProperties)},ITextElement.prototype.prepareFrame=function(e){this._mdf=!1,this.prepareRenderableFrame(e),this.prepareProperties(e,this.isInRange)},ITextElement.prototype.createPathShape=function(e,t){var r,n,i=t.length,a="";for(r=0;r<i;r+=1)"sh"===t[r].ty&&(n=t[r].ks.k,a+=buildShapeString(n,n.i.length,!0,e));return a},ITextElement.prototype.updateDocumentData=function(e,t){this.textProperty.updateDocumentData(e,t)},ITextElement.prototype.canResizeFont=function(e){this.textProperty.canResizeFont(e)},ITextElement.prototype.setMinimumFontSize=function(e){this.textProperty.setMinimumFontSize(e)},ITextElement.prototype.applyTextPropertiesToMatrix=function(e,t,r,n,i){switch(e.ps&&t.translate(e.ps[0],e.ps[1]+e.ascent,0),t.translate(0,-e.ls,0),e.j){case 1:t.translate(e.justifyOffset+(e.boxWidth-e.lineWidths[r]),0,0);break;case 2:t.translate(e.justifyOffset+(e.boxWidth-e.lineWidths[r])/2,0,0)}t.translate(n,i,0)},ITextElement.prototype.buildColor=function(e){return"rgb("+Math.round(255*e[0])+","+Math.round(255*e[1])+","+Math.round(255*e[2])+")"},ITextElement.prototype.emptyProp=new LetterProps,ITextElement.prototype.destroy=function(){},ITextElement.prototype.validateText=function(){(this.textProperty._mdf||this.textProperty._isFirstFrame)&&(this.buildNewText(),this.textProperty._isFirstFrame=!1,this.textProperty._mdf=!1)};var emptyShapeData={shapes:[]};function SVGTextLottieElement(e,t,r){this.textSpans=[],this.renderType="svg",this.initElement(e,t,r)}function ISolidElement(e,t,r){this.initElement(e,t,r)}function NullElement(e,t,r){this.initFrame(),this.initBaseData(e,t,r),this.initFrame(),this.initTransform(e,t,r),this.initHierarchy()}function SVGRendererBase(){}function ICompElement(){}function SVGCompElement(e,t,r){this.layers=e.layers,this.supports3d=!0,this.completeLayers=!1,this.pendingElements=[],this.elements=this.layers?createSizedArray(this.layers.length):[],this.initElement(e,t,r),this.tm=e.tm?PropertyFactory.getProp(this,e.tm,0,t.frameRate,this):{_placeholder:!0}}function SVGRenderer(e,t){this.animationItem=e,this.layers=null,this.renderedFrame=-1,this.svgElement=createNS("svg");var r="";if(t&&t.title){var n=createNS("title"),i=createElementID();n.setAttribute("id",i),n.textContent=t.title,this.svgElement.appendChild(n),r+=i}if(t&&t.description){var a=createNS("desc"),s=createElementID();a.setAttribute("id",s),a.textContent=t.description,this.svgElement.appendChild(a),r+=" "+s}r&&this.svgElement.setAttribute("aria-labelledby",r);var o=createNS("defs");this.svgElement.appendChild(o);var l=createNS("g");this.svgElement.appendChild(l),this.layerElement=l,this.renderConfig={preserveAspectRatio:t&&t.preserveAspectRatio||"xMidYMid meet",imagePreserveAspectRatio:t&&t.imagePreserveAspectRatio||"xMidYMid slice",contentVisibility:t&&t.contentVisibility||"visible",progressiveLoad:t&&t.progressiveLoad||!1,hideOnTransparent:!(t&&!1===t.hideOnTransparent),viewBoxOnly:t&&t.viewBoxOnly||!1,viewBoxSize:t&&t.viewBoxSize||!1,className:t&&t.className||"",id:t&&t.id||"",focusable:t&&t.focusable,filterSize:{width:t&&t.filterSize&&t.filterSize.width||"100%",height:t&&t.filterSize&&t.filterSize.height||"100%",x:t&&t.filterSize&&t.filterSize.x||"0%",y:t&&t.filterSize&&t.filterSize.y||"0%"},width:t&&t.width,height:t&&t.height,runExpressions:!t||void 0===t.runExpressions||t.runExpressions},this.globalData={_mdf:!1,frameNum:-1,defs:o,renderConfig:this.renderConfig},this.elements=[],this.pendingElements=[],this.destroyed=!1,this.rendererType="svg"}function ShapeTransformManager(){this.sequences={},this.sequenceList=[],this.transform_key_count=0}extendPrototype([BaseElement,TransformElement,SVGBaseElement,HierarchyElement,FrameElement,RenderableDOMElement,ITextElement],SVGTextLottieElement),SVGTextLottieElement.prototype.createContent=function(){this.data.singleShape&&!this.globalData.fontManager.chars&&(this.textContainer=createNS("text"))},SVGTextLottieElement.prototype.buildTextContents=function(e){for(var t=0,r=e.length,n=[],i="";t<r;)e[t]===String.fromCharCode(13)||e[t]===String.fromCharCode(3)?(n.push(i),i=""):i+=e[t],t+=1;return n.push(i),n},SVGTextLottieElement.prototype.buildShapeData=function(e,t){if(e.shapes&&e.shapes.length){var r=e.shapes[0];if(r.it){var n=r.it[r.it.length-1];n.s&&(n.s.k[0]=t,n.s.k[1]=t)}}return e},SVGTextLottieElement.prototype.buildNewText=function(){var e,t;this.addDynamicProperty(this);var r=this.textProperty.currentData;this.renderedLetters=createSizedArray(r?r.l.length:0),r.fc?this.layerElement.setAttribute("fill",this.buildColor(r.fc)):this.layerElement.setAttribute("fill","rgba(0,0,0,0)"),r.sc&&(this.layerElement.setAttribute("stroke",this.buildColor(r.sc)),this.layerElement.setAttribute("stroke-width",r.sw)),this.layerElement.setAttribute("font-size",r.finalSize);var n=this.globalData.fontManager.getFontByName(r.f);if(n.fClass)this.layerElement.setAttribute("class",n.fClass);else{this.layerElement.setAttribute("font-family",n.fFamily);var i=r.fWeight,a=r.fStyle;this.layerElement.setAttribute("font-style",a),this.layerElement.setAttribute("font-weight",i)}this.layerElement.setAttribute("aria-label",r.t);var s,o=r.l||[],l=!!this.globalData.fontManager.chars;t=o.length;var c=this.mHelper,u=this.data.singleShape,p=0,d=0,f=!0,h=.001*r.tr*r.finalSize;if(!u||l||r.sz){var m,g=this.textSpans.length;for(e=0;e<t;e+=1){if(this.textSpans[e]||(this.textSpans[e]={span:null,childSpan:null,glyph:null}),!l||!u||0===e){if(s=g>e?this.textSpans[e].span:createNS(l?"g":"text"),g<=e){if(s.setAttribute("stroke-linecap","butt"),s.setAttribute("stroke-linejoin","round"),s.setAttribute("stroke-miterlimit","4"),this.textSpans[e].span=s,l){var y=createNS("g");s.appendChild(y),this.textSpans[e].childSpan=y}this.textSpans[e].span=s,this.layerElement.appendChild(s)}s.style.display="inherit"}if(c.reset(),u&&(o[e].n&&(p=-h,d+=r.yOffset,d+=f?1:0,f=!1),this.applyTextPropertiesToMatrix(r,c,o[e].line,p,d),p+=o[e].l||0,p+=h),l){var v;if(1===(m=this.globalData.fontManager.getCharData(r.finalText[e],n.fStyle,this.globalData.fontManager.getFontByName(r.f).fFamily)).t)v=new SVGCompElement(m.data,this.globalData,this);else{var b=emptyShapeData;m.data&&m.data.shapes&&(b=this.buildShapeData(m.data,r.finalSize)),v=new SVGShapeElement(b,this.globalData,this)}if(this.textSpans[e].glyph){var x=this.textSpans[e].glyph;this.textSpans[e].childSpan.removeChild(x.layerElement),x.destroy()}this.textSpans[e].glyph=v,v._debug=!0,v.prepareFrame(0),v.renderFrame(),this.textSpans[e].childSpan.appendChild(v.layerElement),1===m.t&&this.textSpans[e].childSpan.setAttribute("transform","scale("+r.finalSize/100+","+r.finalSize/100+")")}else u&&s.setAttribute("transform","translate("+c.props[12]+","+c.props[13]+")"),s.textContent=o[e].val,s.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve")}u&&s&&s.setAttribute("d","")}else{var w=this.textContainer,E="start";switch(r.j){case 1:E="end";break;case 2:E="middle";break;default:E="start"}w.setAttribute("text-anchor",E),w.setAttribute("letter-spacing",h);var k=this.buildTextContents(r.finalText);for(t=k.length,d=r.ps?r.ps[1]+r.ascent:0,e=0;e<t;e+=1)(s=this.textSpans[e].span||createNS("tspan")).textContent=k[e],s.setAttribute("x",0),s.setAttribute("y",d),s.style.display="inherit",w.appendChild(s),this.textSpans[e]||(this.textSpans[e]={span:null,glyph:null}),this.textSpans[e].span=s,d+=r.finalLineHeight;this.layerElement.appendChild(w)}for(;e<this.textSpans.length;)this.textSpans[e].span.style.display="none",e+=1;this._sizeChanged=!0},SVGTextLottieElement.prototype.sourceRectAtTime=function(){if(this.prepareFrame(this.comp.renderedFrame-this.data.st),this.renderInnerContent(),this._sizeChanged){this._sizeChanged=!1;var e=this.layerElement.getBBox();this.bbox={top:e.y,left:e.x,width:e.width,height:e.height}}return this.bbox},SVGTextLottieElement.prototype.getValue=function(){var e,t,r=this.textSpans.length;for(this.renderedFrame=this.comp.renderedFrame,e=0;e<r;e+=1)(t=this.textSpans[e].glyph)&&(t.prepareFrame(this.comp.renderedFrame-this.data.st),t._mdf&&(this._mdf=!0))},SVGTextLottieElement.prototype.renderInnerContent=function(){if(this.validateText(),(!this.data.singleShape||this._mdf)&&(this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag),this.lettersChangedFlag||this.textAnimator.lettersChangedFlag)){var e,t;this._sizeChanged=!0;var r,n,i,a=this.textAnimator.renderedLetters,s=this.textProperty.currentData.l;for(t=s.length,e=0;e<t;e+=1)s[e].n||(r=a[e],n=this.textSpans[e].span,(i=this.textSpans[e].glyph)&&i.renderFrame(),r._mdf.m&&n.setAttribute("transform",r.m),r._mdf.o&&n.setAttribute("opacity",r.o),r._mdf.sw&&n.setAttribute("stroke-width",r.sw),r._mdf.sc&&n.setAttribute("stroke",r.sc),r._mdf.fc&&n.setAttribute("fill",r.fc))}},extendPrototype([IImageElement],ISolidElement),ISolidElement.prototype.createContent=function(){var e=createNS("rect");e.setAttribute("width",this.data.sw),e.setAttribute("height",this.data.sh),e.setAttribute("fill",this.data.sc),this.layerElement.appendChild(e)},NullElement.prototype.prepareFrame=function(e){this.prepareProperties(e,!0)},NullElement.prototype.renderFrame=function(){},NullElement.prototype.getBaseElement=function(){return null},NullElement.prototype.destroy=function(){},NullElement.prototype.sourceRectAtTime=function(){},NullElement.prototype.hide=function(){},extendPrototype([BaseElement,TransformElement,HierarchyElement,FrameElement],NullElement),extendPrototype([BaseRenderer],SVGRendererBase),SVGRendererBase.prototype.createNull=function(e){return new NullElement(e,this.globalData,this)},SVGRendererBase.prototype.createShape=function(e){return new SVGShapeElement(e,this.globalData,this)},SVGRendererBase.prototype.createText=function(e){return new SVGTextLottieElement(e,this.globalData,this)},SVGRendererBase.prototype.createImage=function(e){return new IImageElement(e,this.globalData,this)},SVGRendererBase.prototype.createSolid=function(e){return new ISolidElement(e,this.globalData,this)},SVGRendererBase.prototype.configAnimation=function(e){this.svgElement.setAttribute("xmlns","http://www.w3.org/2000/svg"),this.svgElement.setAttribute("xmlns:xlink","http://www.w3.org/1999/xlink"),this.renderConfig.viewBoxSize?this.svgElement.setAttribute("viewBox",this.renderConfig.viewBoxSize):this.svgElement.setAttribute("viewBox","0 0 "+e.w+" "+e.h),this.renderConfig.viewBoxOnly||(this.svgElement.setAttribute("width",e.w),this.svgElement.setAttribute("height",e.h),this.svgElement.style.width="100%",this.svgElement.style.height="100%",this.svgElement.style.transform="translate3d(0,0,0)",this.svgElement.style.contentVisibility=this.renderConfig.contentVisibility),this.renderConfig.width&&this.svgElement.setAttribute("width",this.renderConfig.width),this.renderConfig.height&&this.svgElement.setAttribute("height",this.renderConfig.height),this.renderConfig.className&&this.svgElement.setAttribute("class",this.renderConfig.className),this.renderConfig.id&&this.svgElement.setAttribute("id",this.renderConfig.id),void 0!==this.renderConfig.focusable&&this.svgElement.setAttribute("focusable",this.renderConfig.focusable),this.svgElement.setAttribute("preserveAspectRatio",this.renderConfig.preserveAspectRatio),this.animationItem.wrapper.appendChild(this.svgElement);var t=this.globalData.defs;this.setupGlobalData(e,t),this.globalData.progressiveLoad=this.renderConfig.progressiveLoad,this.data=e;var r=createNS("clipPath"),n=createNS("rect");n.setAttribute("width",e.w),n.setAttribute("height",e.h),n.setAttribute("x",0),n.setAttribute("y",0);var i=createElementID();r.setAttribute("id",i),r.appendChild(n),this.layerElement.setAttribute("clip-path","url("+getLocationHref()+"#"+i+")"),t.appendChild(r),this.layers=e.layers,this.elements=createSizedArray(e.layers.length)},SVGRendererBase.prototype.destroy=function(){var e;this.animationItem.wrapper&&(this.animationItem.wrapper.innerText=""),this.layerElement=null,this.globalData.defs=null;var t=this.layers?this.layers.length:0;for(e=0;e<t;e+=1)this.elements[e]&&this.elements[e].destroy&&this.elements[e].destroy();this.elements.length=0,this.destroyed=!0,this.animationItem=null},SVGRendererBase.prototype.updateContainerSize=function(){},SVGRendererBase.prototype.findIndexByInd=function(e){var t=0,r=this.layers.length;for(t=0;t<r;t+=1)if(this.layers[t].ind===e)return t;return-1},SVGRendererBase.prototype.buildItem=function(e){var t=this.elements;if(!t[e]&&99!==this.layers[e].ty){t[e]=!0;var r=this.createItem(this.layers[e]);if(t[e]=r,getExpressionsPlugin()&&(0===this.layers[e].ty&&this.globalData.projectInterface.registerComposition(r),r.initExpressions()),this.appendElementInPos(r,e),this.layers[e].tt){var n="tp"in this.layers[e]?this.findIndexByInd(this.layers[e].tp):e-1;if(-1===n)return;if(this.elements[n]&&!0!==this.elements[n]){var i=t[n].getMatte(this.layers[e].tt);r.setMatte(i)}else this.buildItem(n),this.addPendingElement(r)}}},SVGRendererBase.prototype.checkPendingElements=function(){for(;this.pendingElements.length;){var e=this.pendingElements.pop();if(e.checkParenting(),e.data.tt)for(var t=0,r=this.elements.length;t<r;){if(this.elements[t]===e){var n="tp"in e.data?this.findIndexByInd(e.data.tp):t-1,i=this.elements[n].getMatte(this.layers[t].tt);e.setMatte(i);break}t+=1}}},SVGRendererBase.prototype.renderFrame=function(e){if(this.renderedFrame!==e&&!this.destroyed){var t;null===e?e=this.renderedFrame:this.renderedFrame=e,this.globalData.frameNum=e,this.globalData.frameId+=1,this.globalData.projectInterface.currentFrame=e,this.globalData._mdf=!1;var r=this.layers.length;for(this.completeLayers||this.checkLayers(e),t=r-1;t>=0;t-=1)(this.completeLayers||this.elements[t])&&this.elements[t].prepareFrame(e-this.layers[t].st);if(this.globalData._mdf)for(t=0;t<r;t+=1)(this.completeLayers||this.elements[t])&&this.elements[t].renderFrame()}},SVGRendererBase.prototype.appendElementInPos=function(e,t){var r=e.getBaseElement();if(r){for(var n,i=0;i<t;)this.elements[i]&&!0!==this.elements[i]&&this.elements[i].getBaseElement()&&(n=this.elements[i].getBaseElement()),i+=1;n?this.layerElement.insertBefore(r,n):this.layerElement.appendChild(r)}},SVGRendererBase.prototype.hide=function(){this.layerElement.style.display="none"},SVGRendererBase.prototype.show=function(){this.layerElement.style.display="block"},extendPrototype([BaseElement,TransformElement,HierarchyElement,FrameElement,RenderableDOMElement],ICompElement),ICompElement.prototype.initElement=function(e,t,r){this.initFrame(),this.initBaseData(e,t,r),this.initTransform(e,t,r),this.initRenderable(),this.initHierarchy(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),!this.data.xt&&t.progressiveLoad||this.buildAllItems(),this.hide()},ICompElement.prototype.prepareFrame=function(e){if(this._mdf=!1,this.prepareRenderableFrame(e),this.prepareProperties(e,this.isInRange),this.isInRange||this.data.xt){if(this.tm._placeholder)this.renderedFrame=e/this.data.sr;else{var t=this.tm.v;t===this.data.op&&(t=this.data.op-1),this.renderedFrame=t}var r,n=this.elements.length;for(this.completeLayers||this.checkLayers(this.renderedFrame),r=n-1;r>=0;r-=1)(this.completeLayers||this.elements[r])&&(this.elements[r].prepareFrame(this.renderedFrame-this.layers[r].st),this.elements[r]._mdf&&(this._mdf=!0))}},ICompElement.prototype.renderInnerContent=function(){var e,t=this.layers.length;for(e=0;e<t;e+=1)(this.completeLayers||this.elements[e])&&this.elements[e].renderFrame()},ICompElement.prototype.setElements=function(e){this.elements=e},ICompElement.prototype.getElements=function(){return this.elements},ICompElement.prototype.destroyElements=function(){var e,t=this.layers.length;for(e=0;e<t;e+=1)this.elements[e]&&this.elements[e].destroy()},ICompElement.prototype.destroy=function(){this.destroyElements(),this.destroyBaseElement()},extendPrototype([SVGRendererBase,ICompElement,SVGBaseElement],SVGCompElement),SVGCompElement.prototype.createComp=function(e){return new SVGCompElement(e,this.globalData,this)},extendPrototype([SVGRendererBase],SVGRenderer),SVGRenderer.prototype.createComp=function(e){return new SVGCompElement(e,this.globalData,this)},ShapeTransformManager.prototype={addTransformSequence:function(e){var t,r=e.length,n="_";for(t=0;t<r;t+=1)n+=e[t].transform.key+"_";var i=this.sequences[n];return i||(i={transforms:[].concat(e),finalTransform:new Matrix,_mdf:!1},this.sequences[n]=i,this.sequenceList.push(i)),i},processSequence:function(e,t){for(var r=0,n=e.transforms.length,i=t;r<n&&!t;){if(e.transforms[r].transform.mProps._mdf){i=!0;break}r+=1}if(i)for(e.finalTransform.reset(),r=n-1;r>=0;r-=1)e.finalTransform.multiply(e.transforms[r].transform.mProps.v);e._mdf=i},processSequences:function(e){var t,r=this.sequenceList.length;for(t=0;t<r;t+=1)this.processSequence(this.sequenceList[t],e)},getNewKey:function(){return this.transform_key_count+=1,"_"+this.transform_key_count}};var lumaLoader=function(){var e="__lottie_element_luma_buffer",t=null,r=null,n=null;function i(){var i,a,s;t||(i=createNS("svg"),a=createNS("filter"),s=createNS("feColorMatrix"),a.setAttribute("id",e),s.setAttribute("type","matrix"),s.setAttribute("color-interpolation-filters","sRGB"),s.setAttribute("values","0.3, 0.3, 0.3, 0, 0, 0.3, 0.3, 0.3, 0, 0, 0.3, 0.3, 0.3, 0, 0, 0.3, 0.3, 0.3, 0, 0"),a.appendChild(s),i.appendChild(a),i.setAttribute("id",e+"_svg"),featureSupport.svgLumaHidden&&(i.style.display="none"),n=i,document.body.appendChild(n),t=createTag("canvas"),(r=t.getContext("2d")).filter="url(#"+e+")",r.fillStyle="rgba(0,0,0,0)",r.fillRect(0,0,1,1))}return{load:i,get:function(n){return t||i(),t.width=n.width,t.height=n.height,r.filter="url(#"+e+")",t}}};function createCanvas(e,t){if(featureSupport.offscreenCanvas)return new OffscreenCanvas(e,t);var r=createTag("canvas");return r.width=e,r.height=t,r}var assetLoader={loadLumaCanvas:lumaLoader.load,getLumaCanvas:lumaLoader.get,createCanvas},registeredEffects={};function CVEffects(e){var t,r,n=e.data.ef?e.data.ef.length:0;for(this.filters=[],t=0;t<n;t+=1){r=null;var i=e.data.ef[t].ty;registeredEffects[i]&&(r=new(0,registeredEffects[i].effect)(e.effectsManager.effectElements[t],e)),r&&this.filters.push(r)}this.filters.length&&e.addRenderableComponent(this)}function registerEffect(e,t){registeredEffects[e]={effect:t}}function CVMaskElement(e,t){var r;this.data=e,this.element=t,this.masksProperties=this.data.masksProperties||[],this.viewData=createSizedArray(this.masksProperties.length);var n=this.masksProperties.length,i=!1;for(r=0;r<n;r+=1)"n"!==this.masksProperties[r].mode&&(i=!0),this.viewData[r]=ShapePropertyFactory.getShapeProp(this.element,this.masksProperties[r],3);this.hasMasks=i,i&&this.element.addRenderableComponent(this)}function CVBaseElement(){}CVEffects.prototype.renderFrame=function(e){var t,r=this.filters.length;for(t=0;t<r;t+=1)this.filters[t].renderFrame(e)},CVEffects.prototype.getEffects=function(e){var t,r=this.filters.length,n=[];for(t=0;t<r;t+=1)this.filters[t].type===e&&n.push(this.filters[t]);return n},CVMaskElement.prototype.renderFrame=function(){if(this.hasMasks){var e,t,r,n,i=this.element.finalTransform.mat,a=this.element.canvasContext,s=this.masksProperties.length;for(a.beginPath(),e=0;e<s;e+=1)if("n"!==this.masksProperties[e].mode){var o;this.masksProperties[e].inv&&(a.moveTo(0,0),a.lineTo(this.element.globalData.compSize.w,0),a.lineTo(this.element.globalData.compSize.w,this.element.globalData.compSize.h),a.lineTo(0,this.element.globalData.compSize.h),a.lineTo(0,0)),n=this.viewData[e].v,t=i.applyToPointArray(n.v[0][0],n.v[0][1],0),a.moveTo(t[0],t[1]);var l=n._length;for(o=1;o<l;o+=1)r=i.applyToTriplePoints(n.o[o-1],n.i[o],n.v[o]),a.bezierCurveTo(r[0],r[1],r[2],r[3],r[4],r[5]);r=i.applyToTriplePoints(n.o[o-1],n.i[0],n.v[0]),a.bezierCurveTo(r[0],r[1],r[2],r[3],r[4],r[5])}this.element.globalData.renderer.save(!0),a.clip()}},CVMaskElement.prototype.getMaskProperty=MaskElement.prototype.getMaskProperty,CVMaskElement.prototype.destroy=function(){this.element=null};var operationsMap={1:"source-in",2:"source-out",3:"source-in",4:"source-out"};function CVShapeData(e,t,r,n){this.styledShapes=[],this.tr=[0,0,0,0,0,0];var i,a=4;"rc"===t.ty?a=5:"el"===t.ty?a=6:"sr"===t.ty&&(a=7),this.sh=ShapePropertyFactory.getShapeProp(e,t,a,e);var s,o=r.length;for(i=0;i<o;i+=1)r[i].closed||(s={transforms:n.addTransformSequence(r[i].transforms),trNodes:[]},this.styledShapes.push(s),r[i].elements.push(s))}function CVShapeElement(e,t,r){this.shapes=[],this.shapesData=e.shapes,this.stylesList=[],this.itemsData=[],this.prevViewData=[],this.shapeModifiers=[],this.processedElements=[],this.transformsManager=new ShapeTransformManager,this.initElement(e,t,r)}function CVTextElement(e,t,r){this.textSpans=[],this.yOffset=0,this.fillColorAnim=!1,this.strokeColorAnim=!1,this.strokeWidthAnim=!1,this.stroke=!1,this.fill=!1,this.justifyOffset=0,this.currentRender=null,this.renderType="canvas",this.values={fill:"rgba(0,0,0,0)",stroke:"rgba(0,0,0,0)",sWidth:0,fValue:""},this.initElement(e,t,r)}function CVImageElement(e,t,r){this.assetData=t.getAssetData(e.refId),this.img=t.imageLoader.getAsset(this.assetData),this.initElement(e,t,r)}function CVSolidElement(e,t,r){this.initElement(e,t,r)}function CanvasRendererBase(){}function CanvasContext(){this.opacity=-1,this.transform=createTypedArray("float32",16),this.fillStyle="",this.strokeStyle="",this.lineWidth="",this.lineCap="",this.lineJoin="",this.miterLimit="",this.id=Math.random()}function CVContextData(){var e;for(this.stack=[],this.cArrPos=0,this.cTr=new Matrix,e=0;e<15;e+=1){var t=new CanvasContext;this.stack[e]=t}this._length=15,this.nativeContext=null,this.transformMat=new Matrix,this.currentOpacity=1,this.currentFillStyle="",this.appliedFillStyle="",this.currentStrokeStyle="",this.appliedStrokeStyle="",this.currentLineWidth="",this.appliedLineWidth="",this.currentLineCap="",this.appliedLineCap="",this.currentLineJoin="",this.appliedLineJoin="",this.appliedMiterLimit="",this.currentMiterLimit=""}function CVCompElement(e,t,r){this.completeLayers=!1,this.layers=e.layers,this.pendingElements=[],this.elements=createSizedArray(this.layers.length),this.initElement(e,t,r),this.tm=e.tm?PropertyFactory.getProp(this,e.tm,0,t.frameRate,this):{_placeholder:!0}}function CanvasRenderer(e,t){this.animationItem=e,this.renderConfig={clearCanvas:!t||void 0===t.clearCanvas||t.clearCanvas,context:t&&t.context||null,progressiveLoad:t&&t.progressiveLoad||!1,preserveAspectRatio:t&&t.preserveAspectRatio||"xMidYMid meet",imagePreserveAspectRatio:t&&t.imagePreserveAspectRatio||"xMidYMid slice",contentVisibility:t&&t.contentVisibility||"visible",className:t&&t.className||"",id:t&&t.id||"",runExpressions:!t||void 0===t.runExpressions||t.runExpressions},this.renderConfig.dpr=t&&t.dpr||1,this.animationItem.wrapper&&(this.renderConfig.dpr=t&&t.dpr||window.devicePixelRatio||1),this.renderedFrame=-1,this.globalData={frameNum:-1,_mdf:!1,renderConfig:this.renderConfig,currentGlobalAlpha:-1},this.contextData=new CVContextData,this.elements=[],this.pendingElements=[],this.transformMat=new Matrix,this.completeLayers=!1,this.rendererType="canvas",this.renderConfig.clearCanvas&&(this.ctxTransform=this.contextData.transform.bind(this.contextData),this.ctxOpacity=this.contextData.opacity.bind(this.contextData),this.ctxFillStyle=this.contextData.fillStyle.bind(this.contextData),this.ctxStrokeStyle=this.contextData.strokeStyle.bind(this.contextData),this.ctxLineWidth=this.contextData.lineWidth.bind(this.contextData),this.ctxLineCap=this.contextData.lineCap.bind(this.contextData),this.ctxLineJoin=this.contextData.lineJoin.bind(this.contextData),this.ctxMiterLimit=this.contextData.miterLimit.bind(this.contextData),this.ctxFill=this.contextData.fill.bind(this.contextData),this.ctxFillRect=this.contextData.fillRect.bind(this.contextData),this.ctxStroke=this.contextData.stroke.bind(this.contextData),this.save=this.contextData.save.bind(this.contextData))}function HBaseElement(){}function HSolidElement(e,t,r){this.initElement(e,t,r)}function HShapeElement(e,t,r){this.shapes=[],this.shapesData=e.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.shapesContainer=createNS("g"),this.initElement(e,t,r),this.prevViewData=[],this.currentBBox={x:999999,y:-999999,h:0,w:0}}function HTextElement(e,t,r){this.textSpans=[],this.textPaths=[],this.currentBBox={x:999999,y:-999999,h:0,w:0},this.renderType="svg",this.isMasked=!1,this.initElement(e,t,r)}function HCameraElement(e,t,r){this.initFrame(),this.initBaseData(e,t,r),this.initHierarchy();var n=PropertyFactory.getProp;if(this.pe=n(this,e.pe,0,0,this),e.ks.p.s?(this.px=n(this,e.ks.p.x,1,0,this),this.py=n(this,e.ks.p.y,1,0,this),this.pz=n(this,e.ks.p.z,1,0,this)):this.p=n(this,e.ks.p,1,0,this),e.ks.a&&(this.a=n(this,e.ks.a,1,0,this)),e.ks.or.k.length&&e.ks.or.k[0].to){var i,a=e.ks.or.k.length;for(i=0;i<a;i+=1)e.ks.or.k[i].to=null,e.ks.or.k[i].ti=null}this.or=n(this,e.ks.or,1,degToRads,this),this.or.sh=!0,this.rx=n(this,e.ks.rx,0,degToRads,this),this.ry=n(this,e.ks.ry,0,degToRads,this),this.rz=n(this,e.ks.rz,0,degToRads,this),this.mat=new Matrix,this._prevMat=new Matrix,this._isFirstFrame=!0,this.finalTransform={mProp:this}}function HImageElement(e,t,r){this.assetData=t.getAssetData(e.refId),this.initElement(e,t,r)}function HybridRendererBase(e,t){this.animationItem=e,this.layers=null,this.renderedFrame=-1,this.renderConfig={className:t&&t.className||"",imagePreserveAspectRatio:t&&t.imagePreserveAspectRatio||"xMidYMid slice",hideOnTransparent:!(t&&!1===t.hideOnTransparent),filterSize:{width:t&&t.filterSize&&t.filterSize.width||"400%",height:t&&t.filterSize&&t.filterSize.height||"400%",x:t&&t.filterSize&&t.filterSize.x||"-100%",y:t&&t.filterSize&&t.filterSize.y||"-100%"}},this.globalData={_mdf:!1,frameNum:-1,renderConfig:this.renderConfig},this.pendingElements=[],this.elements=[],this.threeDElements=[],this.destroyed=!1,this.camera=null,this.supports3d=!0,this.rendererType="html"}function HCompElement(e,t,r){this.layers=e.layers,this.supports3d=!e.hasMask,this.completeLayers=!1,this.pendingElements=[],this.elements=this.layers?createSizedArray(this.layers.length):[],this.initElement(e,t,r),this.tm=e.tm?PropertyFactory.getProp(this,e.tm,0,t.frameRate,this):{_placeholder:!0}}function HybridRenderer(e,t){this.animationItem=e,this.layers=null,this.renderedFrame=-1,this.renderConfig={className:t&&t.className||"",imagePreserveAspectRatio:t&&t.imagePreserveAspectRatio||"xMidYMid slice",hideOnTransparent:!(t&&!1===t.hideOnTransparent),filterSize:{width:t&&t.filterSize&&t.filterSize.width||"400%",height:t&&t.filterSize&&t.filterSize.height||"400%",x:t&&t.filterSize&&t.filterSize.x||"-100%",y:t&&t.filterSize&&t.filterSize.y||"-100%"},runExpressions:!t||void 0===t.runExpressions||t.runExpressions},this.globalData={_mdf:!1,frameNum:-1,renderConfig:this.renderConfig},this.pendingElements=[],this.elements=[],this.threeDElements=[],this.destroyed=!1,this.camera=null,this.supports3d=!0,this.rendererType="html"}CVBaseElement.prototype={createElements:function(){},initRendererElement:function(){},createContainerElements:function(){if(this.data.tt>=1){this.buffers=[];var e=this.globalData.canvasContext,t=assetLoader.createCanvas(e.canvas.width,e.canvas.height);this.buffers.push(t);var r=assetLoader.createCanvas(e.canvas.width,e.canvas.height);this.buffers.push(r),this.data.tt>=3&&!document._isProxy&&assetLoader.loadLumaCanvas()}this.canvasContext=this.globalData.canvasContext,this.transformCanvas=this.globalData.transformCanvas,this.renderableEffectsManager=new CVEffects(this),this.searchEffectTransforms()},createContent:function(){},setBlendMode:function(){var e=this.globalData;if(e.blendMode!==this.data.bm){e.blendMode=this.data.bm;var t=getBlendMode(this.data.bm);e.canvasContext.globalCompositeOperation=t}},createRenderableComponents:function(){this.maskManager=new CVMaskElement(this.data,this),this.transformEffects=this.renderableEffectsManager.getEffects(effectTypes.TRANSFORM_EFFECT)},hideElement:function(){this.hidden||this.isInRange&&!this.isTransparent||(this.hidden=!0)},showElement:function(){this.isInRange&&!this.isTransparent&&(this.hidden=!1,this._isFirstFrame=!0,this.maskManager._isFirstFrame=!0)},clearCanvas:function(e){e.clearRect(this.transformCanvas.tx,this.transformCanvas.ty,this.transformCanvas.w*this.transformCanvas.sx,this.transformCanvas.h*this.transformCanvas.sy)},prepareLayer:function(){if(this.data.tt>=1){var e=this.buffers[0].getContext("2d");this.clearCanvas(e),e.drawImage(this.canvasContext.canvas,0,0),this.currentTransform=this.canvasContext.getTransform(),this.canvasContext.setTransform(1,0,0,1,0,0),this.clearCanvas(this.canvasContext),this.canvasContext.setTransform(this.currentTransform)}},exitLayer:function(){if(this.data.tt>=1){var e=this.buffers[1],t=e.getContext("2d");if(this.clearCanvas(t),t.drawImage(this.canvasContext.canvas,0,0),this.canvasContext.setTransform(1,0,0,1,0,0),this.clearCanvas(this.canvasContext),this.canvasContext.setTransform(this.currentTransform),this.comp.getElementById("tp"in this.data?this.data.tp:this.data.ind-1).renderFrame(!0),this.canvasContext.setTransform(1,0,0,1,0,0),this.data.tt>=3&&!document._isProxy){var r=assetLoader.getLumaCanvas(this.canvasContext.canvas);r.getContext("2d").drawImage(this.canvasContext.canvas,0,0),this.clearCanvas(this.canvasContext),this.canvasContext.drawImage(r,0,0)}this.canvasContext.globalCompositeOperation=operationsMap[this.data.tt],this.canvasContext.drawImage(e,0,0),this.canvasContext.globalCompositeOperation="destination-over",this.canvasContext.drawImage(this.buffers[0],0,0),this.canvasContext.setTransform(this.currentTransform),this.canvasContext.globalCompositeOperation="source-over"}},renderFrame:function(e){if(!this.hidden&&!this.data.hd&&(1!==this.data.td||e)){this.renderTransform(),this.renderRenderable(),this.renderLocalTransform(),this.setBlendMode();var t=0===this.data.ty;this.prepareLayer(),this.globalData.renderer.save(t),this.globalData.renderer.ctxTransform(this.finalTransform.localMat.props),this.globalData.renderer.ctxOpacity(this.finalTransform.localOpacity),this.renderInnerContent(),this.globalData.renderer.restore(t),this.exitLayer(),this.maskManager.hasMasks&&this.globalData.renderer.restore(!0),this._isFirstFrame&&(this._isFirstFrame=!1)}},destroy:function(){this.canvasContext=null,this.data=null,this.globalData=null,this.maskManager.destroy()},mHelper:new Matrix},CVBaseElement.prototype.hide=CVBaseElement.prototype.hideElement,CVBaseElement.prototype.show=CVBaseElement.prototype.showElement,CVShapeData.prototype.setAsAnimated=SVGShapeData.prototype.setAsAnimated,extendPrototype([BaseElement,TransformElement,CVBaseElement,IShapeElement,HierarchyElement,FrameElement,RenderableElement],CVShapeElement),CVShapeElement.prototype.initElement=RenderableDOMElement.prototype.initElement,CVShapeElement.prototype.transformHelper={opacity:1,_opMdf:!1},CVShapeElement.prototype.dashResetter=[],CVShapeElement.prototype.createContent=function(){this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,!0,[])},CVShapeElement.prototype.createStyleElement=function(e,t){var r={data:e,type:e.ty,preTransforms:this.transformsManager.addTransformSequence(t),transforms:[],elements:[],closed:!0===e.hd},n={};if("fl"===e.ty||"st"===e.ty?(n.c=PropertyFactory.getProp(this,e.c,1,255,this),n.c.k||(r.co="rgb("+bmFloor(n.c.v[0])+","+bmFloor(n.c.v[1])+","+bmFloor(n.c.v[2])+")")):"gf"!==e.ty&&"gs"!==e.ty||(n.s=PropertyFactory.getProp(this,e.s,1,null,this),n.e=PropertyFactory.getProp(this,e.e,1,null,this),n.h=PropertyFactory.getProp(this,e.h||{k:0},0,.01,this),n.a=PropertyFactory.getProp(this,e.a||{k:0},0,degToRads,this),n.g=new GradientProperty(this,e.g,this)),n.o=PropertyFactory.getProp(this,e.o,0,.01,this),"st"===e.ty||"gs"===e.ty){if(r.lc=lineCapEnum[e.lc||2],r.lj=lineJoinEnum[e.lj||2],1==e.lj&&(r.ml=e.ml),n.w=PropertyFactory.getProp(this,e.w,0,null,this),n.w.k||(r.wi=n.w.v),e.d){var i=new DashProperty(this,e.d,"canvas",this);n.d=i,n.d.k||(r.da=n.d.dashArray,r.do=n.d.dashoffset[0])}}else r.r=2===e.r?"evenodd":"nonzero";return this.stylesList.push(r),n.style=r,n},CVShapeElement.prototype.createGroupElement=function(){return{it:[],prevViewData:[]}},CVShapeElement.prototype.createTransformElement=function(e){return{transform:{opacity:1,_opMdf:!1,key:this.transformsManager.getNewKey(),op:PropertyFactory.getProp(this,e.o,0,.01,this),mProps:TransformPropertyFactory.getTransformProperty(this,e,this)}}},CVShapeElement.prototype.createShapeElement=function(e){var t=new CVShapeData(this,e,this.stylesList,this.transformsManager);return this.shapes.push(t),this.addShapeToModifiers(t),t},CVShapeElement.prototype.reloadShapes=function(){var e;this._isFirstFrame=!0;var t=this.itemsData.length;for(e=0;e<t;e+=1)this.prevViewData[e]=this.itemsData[e];for(this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,!0,[]),t=this.dynamicProperties.length,e=0;e<t;e+=1)this.dynamicProperties[e].getValue();this.renderModifiers(),this.transformsManager.processSequences(this._isFirstFrame)},CVShapeElement.prototype.addTransformToStyleList=function(e){var t,r=this.stylesList.length;for(t=0;t<r;t+=1)this.stylesList[t].closed||this.stylesList[t].transforms.push(e)},CVShapeElement.prototype.removeTransformFromStyleList=function(){var e,t=this.stylesList.length;for(e=0;e<t;e+=1)this.stylesList[e].closed||this.stylesList[e].transforms.pop()},CVShapeElement.prototype.closeStyles=function(e){var t,r=e.length;for(t=0;t<r;t+=1)e[t].closed=!0},CVShapeElement.prototype.searchShapes=function(e,t,r,n,i){var a,s,o,l,c,u,p=e.length-1,d=[],f=[],h=[].concat(i);for(a=p;a>=0;a-=1){if((l=this.searchProcessedElement(e[a]))?t[a]=r[l-1]:e[a]._shouldRender=n,"fl"===e[a].ty||"st"===e[a].ty||"gf"===e[a].ty||"gs"===e[a].ty)l?t[a].style.closed=!1:t[a]=this.createStyleElement(e[a],h),d.push(t[a].style);else if("gr"===e[a].ty){if(l)for(o=t[a].it.length,s=0;s<o;s+=1)t[a].prevViewData[s]=t[a].it[s];else t[a]=this.createGroupElement(e[a]);this.searchShapes(e[a].it,t[a].it,t[a].prevViewData,n,h)}else"tr"===e[a].ty?(l||(u=this.createTransformElement(e[a]),t[a]=u),h.push(t[a]),this.addTransformToStyleList(t[a])):"sh"===e[a].ty||"rc"===e[a].ty||"el"===e[a].ty||"sr"===e[a].ty?l||(t[a]=this.createShapeElement(e[a])):"tm"===e[a].ty||"rd"===e[a].ty||"pb"===e[a].ty||"zz"===e[a].ty||"op"===e[a].ty?(l?(c=t[a]).closed=!1:((c=ShapeModifiers.getModifier(e[a].ty)).init(this,e[a]),t[a]=c,this.shapeModifiers.push(c)),f.push(c)):"rp"===e[a].ty&&(l?(c=t[a]).closed=!0:(c=ShapeModifiers.getModifier(e[a].ty),t[a]=c,c.init(this,e,a,t),this.shapeModifiers.push(c),n=!1),f.push(c));this.addProcessedElement(e[a],a+1)}for(this.removeTransformFromStyleList(),this.closeStyles(d),p=f.length,a=0;a<p;a+=1)f[a].closed=!0},CVShapeElement.prototype.renderInnerContent=function(){this.transformHelper.opacity=1,this.transformHelper._opMdf=!1,this.renderModifiers(),this.transformsManager.processSequences(this._isFirstFrame),this.renderShape(this.transformHelper,this.shapesData,this.itemsData,!0)},CVShapeElement.prototype.renderShapeTransform=function(e,t){(e._opMdf||t.op._mdf||this._isFirstFrame)&&(t.opacity=e.opacity,t.opacity*=t.op.v,t._opMdf=!0)},CVShapeElement.prototype.drawLayer=function(){var e,t,r,n,i,a,s,o,l,c=this.stylesList.length,u=this.globalData.renderer,p=this.globalData.canvasContext;for(e=0;e<c;e+=1)if(("st"!==(o=(l=this.stylesList[e]).type)&&"gs"!==o||0!==l.wi)&&l.data._shouldRender&&0!==l.coOp&&0!==this.globalData.currentGlobalAlpha){for(u.save(),a=l.elements,"st"===o||"gs"===o?(u.ctxStrokeStyle("st"===o?l.co:l.grd),u.ctxLineWidth(l.wi),u.ctxLineCap(l.lc),u.ctxLineJoin(l.lj),u.ctxMiterLimit(l.ml||0)):u.ctxFillStyle("fl"===o?l.co:l.grd),u.ctxOpacity(l.coOp),"st"!==o&&"gs"!==o&&p.beginPath(),u.ctxTransform(l.preTransforms.finalTransform.props),r=a.length,t=0;t<r;t+=1){for("st"!==o&&"gs"!==o||(p.beginPath(),l.da&&(p.setLineDash(l.da),p.lineDashOffset=l.do)),i=(s=a[t].trNodes).length,n=0;n<i;n+=1)"m"===s[n].t?p.moveTo(s[n].p[0],s[n].p[1]):"c"===s[n].t?p.bezierCurveTo(s[n].pts[0],s[n].pts[1],s[n].pts[2],s[n].pts[3],s[n].pts[4],s[n].pts[5]):p.closePath();"st"!==o&&"gs"!==o||(u.ctxStroke(),l.da&&p.setLineDash(this.dashResetter))}"st"!==o&&"gs"!==o&&this.globalData.renderer.ctxFill(l.r),u.restore()}},CVShapeElement.prototype.renderShape=function(e,t,r,n){var i,a;for(a=e,i=t.length-1;i>=0;i-=1)"tr"===t[i].ty?(a=r[i].transform,this.renderShapeTransform(e,a)):"sh"===t[i].ty||"el"===t[i].ty||"rc"===t[i].ty||"sr"===t[i].ty?this.renderPath(t[i],r[i]):"fl"===t[i].ty?this.renderFill(t[i],r[i],a):"st"===t[i].ty?this.renderStroke(t[i],r[i],a):"gf"===t[i].ty||"gs"===t[i].ty?this.renderGradientFill(t[i],r[i],a):"gr"===t[i].ty?this.renderShape(a,t[i].it,r[i].it):t[i].ty;n&&this.drawLayer()},CVShapeElement.prototype.renderStyledShape=function(e,t){if(this._isFirstFrame||t._mdf||e.transforms._mdf){var r,n,i,a=e.trNodes,s=t.paths,o=s._length;a.length=0;var l=e.transforms.finalTransform;for(i=0;i<o;i+=1){var c=s.shapes[i];if(c&&c.v){for(n=c._length,r=1;r<n;r+=1)1===r&&a.push({t:"m",p:l.applyToPointArray(c.v[0][0],c.v[0][1],0)}),a.push({t:"c",pts:l.applyToTriplePoints(c.o[r-1],c.i[r],c.v[r])});1===n&&a.push({t:"m",p:l.applyToPointArray(c.v[0][0],c.v[0][1],0)}),c.c&&n&&(a.push({t:"c",pts:l.applyToTriplePoints(c.o[r-1],c.i[0],c.v[0])}),a.push({t:"z"}))}}e.trNodes=a}},CVShapeElement.prototype.renderPath=function(e,t){if(!0!==e.hd&&e._shouldRender){var r,n=t.styledShapes.length;for(r=0;r<n;r+=1)this.renderStyledShape(t.styledShapes[r],t.sh)}},CVShapeElement.prototype.renderFill=function(e,t,r){var n=t.style;(t.c._mdf||this._isFirstFrame)&&(n.co="rgb("+bmFloor(t.c.v[0])+","+bmFloor(t.c.v[1])+","+bmFloor(t.c.v[2])+")"),(t.o._mdf||r._opMdf||this._isFirstFrame)&&(n.coOp=t.o.v*r.opacity)},CVShapeElement.prototype.renderGradientFill=function(e,t,r){var n,i=t.style;if(!i.grd||t.g._mdf||t.s._mdf||t.e._mdf||1!==e.t&&(t.h._mdf||t.a._mdf)){var a,s=this.globalData.canvasContext,o=t.s.v,l=t.e.v;if(1===e.t)n=s.createLinearGradient(o[0],o[1],l[0],l[1]);else{var c=Math.sqrt(Math.pow(o[0]-l[0],2)+Math.pow(o[1]-l[1],2)),u=Math.atan2(l[1]-o[1],l[0]-o[0]),p=t.h.v;p>=1?p=.99:p<=-1&&(p=-.99);var d=c*p,f=Math.cos(u+t.a.v)*d+o[0],h=Math.sin(u+t.a.v)*d+o[1];n=s.createRadialGradient(f,h,0,o[0],o[1],c)}var m=e.g.p,g=t.g.c,y=1;for(a=0;a<m;a+=1)t.g._hasOpacity&&t.g._collapsable&&(y=t.g.o[2*a+1]),n.addColorStop(g[4*a]/100,"rgba("+g[4*a+1]+","+g[4*a+2]+","+g[4*a+3]+","+y+")");i.grd=n}i.coOp=t.o.v*r.opacity},CVShapeElement.prototype.renderStroke=function(e,t,r){var n=t.style,i=t.d;i&&(i._mdf||this._isFirstFrame)&&(n.da=i.dashArray,n.do=i.dashoffset[0]),(t.c._mdf||this._isFirstFrame)&&(n.co="rgb("+bmFloor(t.c.v[0])+","+bmFloor(t.c.v[1])+","+bmFloor(t.c.v[2])+")"),(t.o._mdf||r._opMdf||this._isFirstFrame)&&(n.coOp=t.o.v*r.opacity),(t.w._mdf||this._isFirstFrame)&&(n.wi=t.w.v)},CVShapeElement.prototype.destroy=function(){this.shapesData=null,this.globalData=null,this.canvasContext=null,this.stylesList.length=0,this.itemsData.length=0},extendPrototype([BaseElement,TransformElement,CVBaseElement,HierarchyElement,FrameElement,RenderableElement,ITextElement],CVTextElement),CVTextElement.prototype.tHelper=createTag("canvas").getContext("2d"),CVTextElement.prototype.buildNewText=function(){var e=this.textProperty.currentData;this.renderedLetters=createSizedArray(e.l?e.l.length:0);var t=!1;e.fc?(t=!0,this.values.fill=this.buildColor(e.fc)):this.values.fill="rgba(0,0,0,0)",this.fill=t;var r=!1;e.sc&&(r=!0,this.values.stroke=this.buildColor(e.sc),this.values.sWidth=e.sw);var n,i,a,s,o,l,c,u,p,d,f,h,m=this.globalData.fontManager.getFontByName(e.f),g=e.l,y=this.mHelper;this.stroke=r,this.values.fValue=e.finalSize+"px "+this.globalData.fontManager.getFontByName(e.f).fFamily,i=e.finalText.length;var v=this.data.singleShape,b=.001*e.tr*e.finalSize,x=0,w=0,E=!0,k=0;for(n=0;n<i;n+=1){s=(a=this.globalData.fontManager.getCharData(e.finalText[n],m.fStyle,this.globalData.fontManager.getFontByName(e.f).fFamily))&&a.data||{},y.reset(),v&&g[n].n&&(x=-b,w+=e.yOffset,w+=E?1:0,E=!1),p=(c=s.shapes?s.shapes[0].it:[]).length,y.scale(e.finalSize/100,e.finalSize/100),v&&this.applyTextPropertiesToMatrix(e,y,g[n].line,x,w),f=createSizedArray(p-1);var S=0;for(u=0;u<p;u+=1)if("sh"===c[u].ty){for(l=c[u].ks.k.i.length,d=c[u].ks.k,h=[],o=1;o<l;o+=1)1===o&&h.push(y.applyToX(d.v[0][0],d.v[0][1],0),y.applyToY(d.v[0][0],d.v[0][1],0)),h.push(y.applyToX(d.o[o-1][0],d.o[o-1][1],0),y.applyToY(d.o[o-1][0],d.o[o-1][1],0),y.applyToX(d.i[o][0],d.i[o][1],0),y.applyToY(d.i[o][0],d.i[o][1],0),y.applyToX(d.v[o][0],d.v[o][1],0),y.applyToY(d.v[o][0],d.v[o][1],0));h.push(y.applyToX(d.o[o-1][0],d.o[o-1][1],0),y.applyToY(d.o[o-1][0],d.o[o-1][1],0),y.applyToX(d.i[0][0],d.i[0][1],0),y.applyToY(d.i[0][0],d.i[0][1],0),y.applyToX(d.v[0][0],d.v[0][1],0),y.applyToY(d.v[0][0],d.v[0][1],0)),f[S]=h,S+=1}v&&(x+=g[n].l,x+=b),this.textSpans[k]?this.textSpans[k].elem=f:this.textSpans[k]={elem:f},k+=1}},CVTextElement.prototype.renderInnerContent=function(){var e,t,r,n,i,a;this.validateText(),this.canvasContext.font=this.values.fValue,this.globalData.renderer.ctxLineCap("butt"),this.globalData.renderer.ctxLineJoin("miter"),this.globalData.renderer.ctxMiterLimit(4),this.data.singleShape||this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag);var s,o=this.textAnimator.renderedLetters,l=this.textProperty.currentData.l;t=l.length;var c,u,p=null,d=null,f=null,h=this.globalData.renderer;for(e=0;e<t;e+=1)if(!l[e].n){if((s=o[e])&&(h.save(),h.ctxTransform(s.p),h.ctxOpacity(s.o)),this.fill){for(s&&s.fc?p!==s.fc&&(h.ctxFillStyle(s.fc),p=s.fc):p!==this.values.fill&&(p=this.values.fill,h.ctxFillStyle(this.values.fill)),n=(c=this.textSpans[e].elem).length,this.globalData.canvasContext.beginPath(),r=0;r<n;r+=1)for(a=(u=c[r]).length,this.globalData.canvasContext.moveTo(u[0],u[1]),i=2;i<a;i+=6)this.globalData.canvasContext.bezierCurveTo(u[i],u[i+1],u[i+2],u[i+3],u[i+4],u[i+5]);this.globalData.canvasContext.closePath(),h.ctxFill()}if(this.stroke){for(s&&s.sw?f!==s.sw&&(f=s.sw,h.ctxLineWidth(s.sw)):f!==this.values.sWidth&&(f=this.values.sWidth,h.ctxLineWidth(this.values.sWidth)),s&&s.sc?d!==s.sc&&(d=s.sc,h.ctxStrokeStyle(s.sc)):d!==this.values.stroke&&(d=this.values.stroke,h.ctxStrokeStyle(this.values.stroke)),n=(c=this.textSpans[e].elem).length,this.globalData.canvasContext.beginPath(),r=0;r<n;r+=1)for(a=(u=c[r]).length,this.globalData.canvasContext.moveTo(u[0],u[1]),i=2;i<a;i+=6)this.globalData.canvasContext.bezierCurveTo(u[i],u[i+1],u[i+2],u[i+3],u[i+4],u[i+5]);this.globalData.canvasContext.closePath(),h.ctxStroke()}s&&this.globalData.renderer.restore()}},extendPrototype([BaseElement,TransformElement,CVBaseElement,HierarchyElement,FrameElement,RenderableElement],CVImageElement),CVImageElement.prototype.initElement=SVGShapeElement.prototype.initElement,CVImageElement.prototype.prepareFrame=IImageElement.prototype.prepareFrame,CVImageElement.prototype.createContent=function(){if(this.img.width&&(this.assetData.w!==this.img.width||this.assetData.h!==this.img.height)){var e=createTag("canvas");e.width=this.assetData.w,e.height=this.assetData.h;var t,r,n=e.getContext("2d"),i=this.img.width,a=this.img.height,s=i/a,o=this.assetData.w/this.assetData.h,l=this.assetData.pr||this.globalData.renderConfig.imagePreserveAspectRatio;s>o&&"xMidYMid slice"===l||s<o&&"xMidYMid slice"!==l?t=(r=a)*o:r=(t=i)/o,n.drawImage(this.img,(i-t)/2,(a-r)/2,t,r,0,0,this.assetData.w,this.assetData.h),this.img=e}},CVImageElement.prototype.renderInnerContent=function(){this.canvasContext.drawImage(this.img,0,0)},CVImageElement.prototype.destroy=function(){this.img=null},extendPrototype([BaseElement,TransformElement,CVBaseElement,HierarchyElement,FrameElement,RenderableElement],CVSolidElement),CVSolidElement.prototype.initElement=SVGShapeElement.prototype.initElement,CVSolidElement.prototype.prepareFrame=IImageElement.prototype.prepareFrame,CVSolidElement.prototype.renderInnerContent=function(){this.globalData.renderer.ctxFillStyle(this.data.sc),this.globalData.renderer.ctxFillRect(0,0,this.data.sw,this.data.sh)},extendPrototype([BaseRenderer],CanvasRendererBase),CanvasRendererBase.prototype.createShape=function(e){return new CVShapeElement(e,this.globalData,this)},CanvasRendererBase.prototype.createText=function(e){return new CVTextElement(e,this.globalData,this)},CanvasRendererBase.prototype.createImage=function(e){return new CVImageElement(e,this.globalData,this)},CanvasRendererBase.prototype.createSolid=function(e){return new CVSolidElement(e,this.globalData,this)},CanvasRendererBase.prototype.createNull=SVGRenderer.prototype.createNull,CanvasRendererBase.prototype.ctxTransform=function(e){1===e[0]&&0===e[1]&&0===e[4]&&1===e[5]&&0===e[12]&&0===e[13]||this.canvasContext.transform(e[0],e[1],e[4],e[5],e[12],e[13])},CanvasRendererBase.prototype.ctxOpacity=function(e){this.canvasContext.globalAlpha*=e<0?0:e},CanvasRendererBase.prototype.ctxFillStyle=function(e){this.canvasContext.fillStyle=e},CanvasRendererBase.prototype.ctxStrokeStyle=function(e){this.canvasContext.strokeStyle=e},CanvasRendererBase.prototype.ctxLineWidth=function(e){this.canvasContext.lineWidth=e},CanvasRendererBase.prototype.ctxLineCap=function(e){this.canvasContext.lineCap=e},CanvasRendererBase.prototype.ctxLineJoin=function(e){this.canvasContext.lineJoin=e},CanvasRendererBase.prototype.ctxMiterLimit=function(e){this.canvasContext.miterLimit=e},CanvasRendererBase.prototype.ctxFill=function(e){this.canvasContext.fill(e)},CanvasRendererBase.prototype.ctxFillRect=function(e,t,r,n){this.canvasContext.fillRect(e,t,r,n)},CanvasRendererBase.prototype.ctxStroke=function(){this.canvasContext.stroke()},CanvasRendererBase.prototype.reset=function(){this.renderConfig.clearCanvas?this.contextData.reset():this.canvasContext.restore()},CanvasRendererBase.prototype.save=function(){this.canvasContext.save()},CanvasRendererBase.prototype.restore=function(e){this.renderConfig.clearCanvas?(e&&(this.globalData.blendMode="source-over"),this.contextData.restore(e)):this.canvasContext.restore()},CanvasRendererBase.prototype.configAnimation=function(e){if(this.animationItem.wrapper){this.animationItem.container=createTag("canvas");var t=this.animationItem.container.style;t.width="100%",t.height="100%";var r="0px 0px 0px";t.transformOrigin=r,t.mozTransformOrigin=r,t.webkitTransformOrigin=r,t["-webkit-transform"]=r,t.contentVisibility=this.renderConfig.contentVisibility,this.animationItem.wrapper.appendChild(this.animationItem.container),this.canvasContext=this.animationItem.container.getContext("2d"),this.renderConfig.className&&this.animationItem.container.setAttribute("class",this.renderConfig.className),this.renderConfig.id&&this.animationItem.container.setAttribute("id",this.renderConfig.id)}else this.canvasContext=this.renderConfig.context;this.contextData.setContext(this.canvasContext),this.data=e,this.layers=e.layers,this.transformCanvas={w:e.w,h:e.h,sx:0,sy:0,tx:0,ty:0},this.setupGlobalData(e,document.body),this.globalData.canvasContext=this.canvasContext,this.globalData.renderer=this,this.globalData.isDashed=!1,this.globalData.progressiveLoad=this.renderConfig.progressiveLoad,this.globalData.transformCanvas=this.transformCanvas,this.elements=createSizedArray(e.layers.length),this.updateContainerSize()},CanvasRendererBase.prototype.updateContainerSize=function(e,t){var r,n,i,a;if(this.reset(),e?(r=e,n=t,this.canvasContext.canvas.width=r,this.canvasContext.canvas.height=n):(this.animationItem.wrapper&&this.animationItem.container?(r=this.animationItem.wrapper.offsetWidth,n=this.animationItem.wrapper.offsetHeight):(r=this.canvasContext.canvas.width,n=this.canvasContext.canvas.height),this.canvasContext.canvas.width=r*this.renderConfig.dpr,this.canvasContext.canvas.height=n*this.renderConfig.dpr),-1!==this.renderConfig.preserveAspectRatio.indexOf("meet")||-1!==this.renderConfig.preserveAspectRatio.indexOf("slice")){var s=this.renderConfig.preserveAspectRatio.split(" "),o=s[1]||"meet",l=s[0]||"xMidYMid",c=l.substr(0,4),u=l.substr(4);i=r/n,(a=this.transformCanvas.w/this.transformCanvas.h)>i&&"meet"===o||a<i&&"slice"===o?(this.transformCanvas.sx=r/(this.transformCanvas.w/this.renderConfig.dpr),this.transformCanvas.sy=r/(this.transformCanvas.w/this.renderConfig.dpr)):(this.transformCanvas.sx=n/(this.transformCanvas.h/this.renderConfig.dpr),this.transformCanvas.sy=n/(this.transformCanvas.h/this.renderConfig.dpr)),this.transformCanvas.tx="xMid"===c&&(a<i&&"meet"===o||a>i&&"slice"===o)?(r-this.transformCanvas.w*(n/this.transformCanvas.h))/2*this.renderConfig.dpr:"xMax"===c&&(a<i&&"meet"===o||a>i&&"slice"===o)?(r-this.transformCanvas.w*(n/this.transformCanvas.h))*this.renderConfig.dpr:0,this.transformCanvas.ty="YMid"===u&&(a>i&&"meet"===o||a<i&&"slice"===o)?(n-this.transformCanvas.h*(r/this.transformCanvas.w))/2*this.renderConfig.dpr:"YMax"===u&&(a>i&&"meet"===o||a<i&&"slice"===o)?(n-this.transformCanvas.h*(r/this.transformCanvas.w))*this.renderConfig.dpr:0}else"none"===this.renderConfig.preserveAspectRatio?(this.transformCanvas.sx=r/(this.transformCanvas.w/this.renderConfig.dpr),this.transformCanvas.sy=n/(this.transformCanvas.h/this.renderConfig.dpr),this.transformCanvas.tx=0,this.transformCanvas.ty=0):(this.transformCanvas.sx=this.renderConfig.dpr,this.transformCanvas.sy=this.renderConfig.dpr,this.transformCanvas.tx=0,this.transformCanvas.ty=0);this.transformCanvas.props=[this.transformCanvas.sx,0,0,0,0,this.transformCanvas.sy,0,0,0,0,1,0,this.transformCanvas.tx,this.transformCanvas.ty,0,1],this.ctxTransform(this.transformCanvas.props),this.canvasContext.beginPath(),this.canvasContext.rect(0,0,this.transformCanvas.w,this.transformCanvas.h),this.canvasContext.closePath(),this.canvasContext.clip(),this.renderFrame(this.renderedFrame,!0)},CanvasRendererBase.prototype.destroy=function(){var e;for(this.renderConfig.clearCanvas&&this.animationItem.wrapper&&(this.animationItem.wrapper.innerText=""),e=(this.layers?this.layers.length:0)-1;e>=0;e-=1)this.elements[e]&&this.elements[e].destroy&&this.elements[e].destroy();this.elements.length=0,this.globalData.canvasContext=null,this.animationItem.container=null,this.destroyed=!0},CanvasRendererBase.prototype.renderFrame=function(e,t){if((this.renderedFrame!==e||!0!==this.renderConfig.clearCanvas||t)&&!this.destroyed&&-1!==e){var r;this.renderedFrame=e,this.globalData.frameNum=e-this.animationItem._isFirstFrame,this.globalData.frameId+=1,this.globalData._mdf=!this.renderConfig.clearCanvas||t,this.globalData.projectInterface.currentFrame=e;var n=this.layers.length;for(this.completeLayers||this.checkLayers(e),r=n-1;r>=0;r-=1)(this.completeLayers||this.elements[r])&&this.elements[r].prepareFrame(e-this.layers[r].st);if(this.globalData._mdf){for(!0===this.renderConfig.clearCanvas?this.canvasContext.clearRect(0,0,this.transformCanvas.w,this.transformCanvas.h):this.save(),r=n-1;r>=0;r-=1)(this.completeLayers||this.elements[r])&&this.elements[r].renderFrame();!0!==this.renderConfig.clearCanvas&&this.restore()}}},CanvasRendererBase.prototype.buildItem=function(e){var t=this.elements;if(!t[e]&&99!==this.layers[e].ty){var r=this.createItem(this.layers[e],this,this.globalData);t[e]=r,r.initExpressions()}},CanvasRendererBase.prototype.checkPendingElements=function(){for(;this.pendingElements.length;)this.pendingElements.pop().checkParenting()},CanvasRendererBase.prototype.hide=function(){this.animationItem.container.style.display="none"},CanvasRendererBase.prototype.show=function(){this.animationItem.container.style.display="block"},CVContextData.prototype.duplicate=function(){var e=2*this._length,t=0;for(t=this._length;t<e;t+=1)this.stack[t]=new CanvasContext;this._length=e},CVContextData.prototype.reset=function(){this.cArrPos=0,this.cTr.reset(),this.stack[this.cArrPos].opacity=1},CVContextData.prototype.restore=function(e){this.cArrPos-=1;var t,r=this.stack[this.cArrPos],n=r.transform,i=this.cTr.props;for(t=0;t<16;t+=1)i[t]=n[t];if(e){this.nativeContext.restore();var a=this.stack[this.cArrPos+1];this.appliedFillStyle=a.fillStyle,this.appliedStrokeStyle=a.strokeStyle,this.appliedLineWidth=a.lineWidth,this.appliedLineCap=a.lineCap,this.appliedLineJoin=a.lineJoin,this.appliedMiterLimit=a.miterLimit}this.nativeContext.setTransform(n[0],n[1],n[4],n[5],n[12],n[13]),(e||-1!==r.opacity&&this.currentOpacity!==r.opacity)&&(this.nativeContext.globalAlpha=r.opacity,this.currentOpacity=r.opacity),this.currentFillStyle=r.fillStyle,this.currentStrokeStyle=r.strokeStyle,this.currentLineWidth=r.lineWidth,this.currentLineCap=r.lineCap,this.currentLineJoin=r.lineJoin,this.currentMiterLimit=r.miterLimit},CVContextData.prototype.save=function(e){e&&this.nativeContext.save();var t=this.cTr.props;this._length<=this.cArrPos&&this.duplicate();var r,n=this.stack[this.cArrPos];for(r=0;r<16;r+=1)n.transform[r]=t[r];this.cArrPos+=1;var i=this.stack[this.cArrPos];i.opacity=n.opacity,i.fillStyle=n.fillStyle,i.strokeStyle=n.strokeStyle,i.lineWidth=n.lineWidth,i.lineCap=n.lineCap,i.lineJoin=n.lineJoin,i.miterLimit=n.miterLimit},CVContextData.prototype.setOpacity=function(e){this.stack[this.cArrPos].opacity=e},CVContextData.prototype.setContext=function(e){this.nativeContext=e},CVContextData.prototype.fillStyle=function(e){this.stack[this.cArrPos].fillStyle!==e&&(this.currentFillStyle=e,this.stack[this.cArrPos].fillStyle=e)},CVContextData.prototype.strokeStyle=function(e){this.stack[this.cArrPos].strokeStyle!==e&&(this.currentStrokeStyle=e,this.stack[this.cArrPos].strokeStyle=e)},CVContextData.prototype.lineWidth=function(e){this.stack[this.cArrPos].lineWidth!==e&&(this.currentLineWidth=e,this.stack[this.cArrPos].lineWidth=e)},CVContextData.prototype.lineCap=function(e){this.stack[this.cArrPos].lineCap!==e&&(this.currentLineCap=e,this.stack[this.cArrPos].lineCap=e)},CVContextData.prototype.lineJoin=function(e){this.stack[this.cArrPos].lineJoin!==e&&(this.currentLineJoin=e,this.stack[this.cArrPos].lineJoin=e)},CVContextData.prototype.miterLimit=function(e){this.stack[this.cArrPos].miterLimit!==e&&(this.currentMiterLimit=e,this.stack[this.cArrPos].miterLimit=e)},CVContextData.prototype.transform=function(e){this.transformMat.cloneFromProps(e);var t=this.cTr;this.transformMat.multiply(t),t.cloneFromProps(this.transformMat.props);var r=t.props;this.nativeContext.setTransform(r[0],r[1],r[4],r[5],r[12],r[13])},CVContextData.prototype.opacity=function(e){var t=this.stack[this.cArrPos].opacity;t*=e<0?0:e,this.stack[this.cArrPos].opacity!==t&&(this.currentOpacity!==e&&(this.nativeContext.globalAlpha=e,this.currentOpacity=e),this.stack[this.cArrPos].opacity=t)},CVContextData.prototype.fill=function(e){this.appliedFillStyle!==this.currentFillStyle&&(this.appliedFillStyle=this.currentFillStyle,this.nativeContext.fillStyle=this.appliedFillStyle),this.nativeContext.fill(e)},CVContextData.prototype.fillRect=function(e,t,r,n){this.appliedFillStyle!==this.currentFillStyle&&(this.appliedFillStyle=this.currentFillStyle,this.nativeContext.fillStyle=this.appliedFillStyle),this.nativeContext.fillRect(e,t,r,n)},CVContextData.prototype.stroke=function(){this.appliedStrokeStyle!==this.currentStrokeStyle&&(this.appliedStrokeStyle=this.currentStrokeStyle,this.nativeContext.strokeStyle=this.appliedStrokeStyle),this.appliedLineWidth!==this.currentLineWidth&&(this.appliedLineWidth=this.currentLineWidth,this.nativeContext.lineWidth=this.appliedLineWidth),this.appliedLineCap!==this.currentLineCap&&(this.appliedLineCap=this.currentLineCap,this.nativeContext.lineCap=this.appliedLineCap),this.appliedLineJoin!==this.currentLineJoin&&(this.appliedLineJoin=this.currentLineJoin,this.nativeContext.lineJoin=this.appliedLineJoin),this.appliedMiterLimit!==this.currentMiterLimit&&(this.appliedMiterLimit=this.currentMiterLimit,this.nativeContext.miterLimit=this.appliedMiterLimit),this.nativeContext.stroke()},extendPrototype([CanvasRendererBase,ICompElement,CVBaseElement],CVCompElement),CVCompElement.prototype.renderInnerContent=function(){var e,t=this.canvasContext;for(t.beginPath(),t.moveTo(0,0),t.lineTo(this.data.w,0),t.lineTo(this.data.w,this.data.h),t.lineTo(0,this.data.h),t.lineTo(0,0),t.clip(),e=this.layers.length-1;e>=0;e-=1)(this.completeLayers||this.elements[e])&&this.elements[e].renderFrame()},CVCompElement.prototype.destroy=function(){var e;for(e=this.layers.length-1;e>=0;e-=1)this.elements[e]&&this.elements[e].destroy();this.layers=null,this.elements=null},CVCompElement.prototype.createComp=function(e){return new CVCompElement(e,this.globalData,this)},extendPrototype([CanvasRendererBase],CanvasRenderer),CanvasRenderer.prototype.createComp=function(e){return new CVCompElement(e,this.globalData,this)},HBaseElement.prototype={checkBlendMode:function(){},initRendererElement:function(){this.baseElement=createTag(this.data.tg||"div"),this.data.hasMask?(this.svgElement=createNS("svg"),this.layerElement=createNS("g"),this.maskedElement=this.layerElement,this.svgElement.appendChild(this.layerElement),this.baseElement.appendChild(this.svgElement)):this.layerElement=this.baseElement,styleDiv(this.baseElement)},createContainerElements:function(){this.renderableEffectsManager=new CVEffects(this),this.transformedElement=this.baseElement,this.maskedElement=this.layerElement,this.data.ln&&this.layerElement.setAttribute("id",this.data.ln),this.data.cl&&this.layerElement.setAttribute("class",this.data.cl),0!==this.data.bm&&this.setBlendMode()},renderElement:function(){var e=this.transformedElement?this.transformedElement.style:{};if(this.finalTransform._matMdf){var t=this.finalTransform.mat.toCSS();e.transform=t,e.webkitTransform=t}this.finalTransform._opMdf&&(e.opacity=this.finalTransform.mProp.o.v)},renderFrame:function(){this.data.hd||this.hidden||(this.renderTransform(),this.renderRenderable(),this.renderElement(),this.renderInnerContent(),this._isFirstFrame&&(this._isFirstFrame=!1))},destroy:function(){this.layerElement=null,this.transformedElement=null,this.matteElement&&(this.matteElement=null),this.maskManager&&(this.maskManager.destroy(),this.maskManager=null)},createRenderableComponents:function(){this.maskManager=new MaskElement(this.data,this,this.globalData)},addEffects:function(){},setMatte:function(){}},HBaseElement.prototype.getBaseElement=SVGBaseElement.prototype.getBaseElement,HBaseElement.prototype.destroyBaseElement=HBaseElement.prototype.destroy,HBaseElement.prototype.buildElementParenting=BaseRenderer.prototype.buildElementParenting,extendPrototype([BaseElement,TransformElement,HBaseElement,HierarchyElement,FrameElement,RenderableDOMElement],HSolidElement),HSolidElement.prototype.createContent=function(){var e;this.data.hasMask?((e=createNS("rect")).setAttribute("width",this.data.sw),e.setAttribute("height",this.data.sh),e.setAttribute("fill",this.data.sc),this.svgElement.setAttribute("width",this.data.sw),this.svgElement.setAttribute("height",this.data.sh)):((e=createTag("div")).style.width=this.data.sw+"px",e.style.height=this.data.sh+"px",e.style.backgroundColor=this.data.sc),this.layerElement.appendChild(e)},extendPrototype([BaseElement,TransformElement,HSolidElement,SVGShapeElement,HBaseElement,HierarchyElement,FrameElement,RenderableElement],HShapeElement),HShapeElement.prototype._renderShapeFrame=HShapeElement.prototype.renderInnerContent,HShapeElement.prototype.createContent=function(){var e;if(this.baseElement.style.fontSize=0,this.data.hasMask)this.layerElement.appendChild(this.shapesContainer),e=this.svgElement;else{e=createNS("svg");var t=this.comp.data?this.comp.data:this.globalData.compSize;e.setAttribute("width",t.w),e.setAttribute("height",t.h),e.appendChild(this.shapesContainer),this.layerElement.appendChild(e)}this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.shapesContainer,0,[],!0),this.filterUniqueShapes(),this.shapeCont=e},HShapeElement.prototype.getTransformedPoint=function(e,t){var r,n=e.length;for(r=0;r<n;r+=1)t=e[r].mProps.v.applyToPointArray(t[0],t[1],0);return t},HShapeElement.prototype.calculateShapeBoundingBox=function(e,t){var r,n,i,a,s,o=e.sh.v,l=e.transformers,c=o._length;if(!(c<=1)){for(r=0;r<c-1;r+=1)n=this.getTransformedPoint(l,o.v[r]),i=this.getTransformedPoint(l,o.o[r]),a=this.getTransformedPoint(l,o.i[r+1]),s=this.getTransformedPoint(l,o.v[r+1]),this.checkBounds(n,i,a,s,t);o.c&&(n=this.getTransformedPoint(l,o.v[r]),i=this.getTransformedPoint(l,o.o[r]),a=this.getTransformedPoint(l,o.i[0]),s=this.getTransformedPoint(l,o.v[0]),this.checkBounds(n,i,a,s,t))}},HShapeElement.prototype.checkBounds=function(e,t,r,n,i){this.getBoundsOfCurve(e,t,r,n);var a=this.shapeBoundingBox;i.x=bmMin(a.left,i.x),i.xMax=bmMax(a.right,i.xMax),i.y=bmMin(a.top,i.y),i.yMax=bmMax(a.bottom,i.yMax)},HShapeElement.prototype.shapeBoundingBox={left:0,right:0,top:0,bottom:0},HShapeElement.prototype.tempBoundingBox={x:0,xMax:0,y:0,yMax:0,width:0,height:0},HShapeElement.prototype.getBoundsOfCurve=function(e,t,r,n){for(var i,a,s,o,l,c,u,p=[[e[0],n[0]],[e[1],n[1]]],d=0;d<2;++d)a=6*e[d]-12*t[d]+6*r[d],i=-3*e[d]+9*t[d]-9*r[d]+3*n[d],s=3*t[d]-3*e[d],a|=0,s|=0,0==(i|=0)&&0===a||(0===i?(o=-s/a)>0&&o<1&&p[d].push(this.calculateF(o,e,t,r,n,d)):(l=a*a-4*s*i)>=0&&((c=(-a+bmSqrt(l))/(2*i))>0&&c<1&&p[d].push(this.calculateF(c,e,t,r,n,d)),(u=(-a-bmSqrt(l))/(2*i))>0&&u<1&&p[d].push(this.calculateF(u,e,t,r,n,d))));this.shapeBoundingBox.left=bmMin.apply(null,p[0]),this.shapeBoundingBox.top=bmMin.apply(null,p[1]),this.shapeBoundingBox.right=bmMax.apply(null,p[0]),this.shapeBoundingBox.bottom=bmMax.apply(null,p[1])},HShapeElement.prototype.calculateF=function(e,t,r,n,i,a){return bmPow(1-e,3)*t[a]+3*bmPow(1-e,2)*e*r[a]+3*(1-e)*bmPow(e,2)*n[a]+bmPow(e,3)*i[a]},HShapeElement.prototype.calculateBoundingBox=function(e,t){var r,n=e.length;for(r=0;r<n;r+=1)e[r]&&e[r].sh?this.calculateShapeBoundingBox(e[r],t):e[r]&&e[r].it?this.calculateBoundingBox(e[r].it,t):e[r]&&e[r].style&&e[r].w&&this.expandStrokeBoundingBox(e[r].w,t)},HShapeElement.prototype.expandStrokeBoundingBox=function(e,t){var r=0;if(e.keyframes){for(var n=0;n<e.keyframes.length;n+=1){var i=e.keyframes[n].s;i>r&&(r=i)}r*=e.mult}else r=e.v*e.mult;t.x-=r,t.xMax+=r,t.y-=r,t.yMax+=r},HShapeElement.prototype.currentBoxContains=function(e){return this.currentBBox.x<=e.x&&this.currentBBox.y<=e.y&&this.currentBBox.width+this.currentBBox.x>=e.x+e.width&&this.currentBBox.height+this.currentBBox.y>=e.y+e.height},HShapeElement.prototype.renderInnerContent=function(){if(this._renderShapeFrame(),!this.hidden&&(this._isFirstFrame||this._mdf)){var e=this.tempBoundingBox,t=999999;if(e.x=t,e.xMax=-t,e.y=t,e.yMax=-t,this.calculateBoundingBox(this.itemsData,e),e.width=e.xMax<e.x?0:e.xMax-e.x,e.height=e.yMax<e.y?0:e.yMax-e.y,this.currentBoxContains(e))return;var r=!1;if(this.currentBBox.w!==e.width&&(this.currentBBox.w=e.width,this.shapeCont.setAttribute("width",e.width),r=!0),this.currentBBox.h!==e.height&&(this.currentBBox.h=e.height,this.shapeCont.setAttribute("height",e.height),r=!0),r||this.currentBBox.x!==e.x||this.currentBBox.y!==e.y){this.currentBBox.w=e.width,this.currentBBox.h=e.height,this.currentBBox.x=e.x,this.currentBBox.y=e.y,this.shapeCont.setAttribute("viewBox",this.currentBBox.x+" "+this.currentBBox.y+" "+this.currentBBox.w+" "+this.currentBBox.h);var n=this.shapeCont.style,i="translate("+this.currentBBox.x+"px,"+this.currentBBox.y+"px)";n.transform=i,n.webkitTransform=i}}},extendPrototype([BaseElement,TransformElement,HBaseElement,HierarchyElement,FrameElement,RenderableDOMElement,ITextElement],HTextElement),HTextElement.prototype.createContent=function(){if(this.isMasked=this.checkMasks(),this.isMasked){this.renderType="svg",this.compW=this.comp.data.w,this.compH=this.comp.data.h,this.svgElement.setAttribute("width",this.compW),this.svgElement.setAttribute("height",this.compH);var e=createNS("g");this.maskedElement.appendChild(e),this.innerElem=e}else this.renderType="html",this.innerElem=this.layerElement;this.checkParenting()},HTextElement.prototype.buildNewText=function(){var e=this.textProperty.currentData;this.renderedLetters=createSizedArray(e.l?e.l.length:0);var t=this.innerElem.style,r=e.fc?this.buildColor(e.fc):"rgba(0,0,0,0)";t.fill=r,t.color=r,e.sc&&(t.stroke=this.buildColor(e.sc),t.strokeWidth=e.sw+"px");var n,i,a=this.globalData.fontManager.getFontByName(e.f);if(!this.globalData.fontManager.chars)if(t.fontSize=e.finalSize+"px",t.lineHeight=e.finalSize+"px",a.fClass)this.innerElem.className=a.fClass;else{t.fontFamily=a.fFamily;var s=e.fWeight,o=e.fStyle;t.fontStyle=o,t.fontWeight=s}var l,c,u,p=e.l;i=p.length;var d,f=this.mHelper,h="",m=0;for(n=0;n<i;n+=1){if(this.globalData.fontManager.chars?(this.textPaths[m]?l=this.textPaths[m]:((l=createNS("path")).setAttribute("stroke-linecap",lineCapEnum[1]),l.setAttribute("stroke-linejoin",lineJoinEnum[2]),l.setAttribute("stroke-miterlimit","4")),this.isMasked||(this.textSpans[m]?u=(c=this.textSpans[m]).children[0]:((c=createTag("div")).style.lineHeight=0,(u=createNS("svg")).appendChild(l),styleDiv(c)))):this.isMasked?l=this.textPaths[m]?this.textPaths[m]:createNS("text"):this.textSpans[m]?(c=this.textSpans[m],l=this.textPaths[m]):(styleDiv(c=createTag("span")),styleDiv(l=createTag("span")),c.appendChild(l)),this.globalData.fontManager.chars){var g,y=this.globalData.fontManager.getCharData(e.finalText[n],a.fStyle,this.globalData.fontManager.getFontByName(e.f).fFamily);if(g=y?y.data:null,f.reset(),g&&g.shapes&&g.shapes.length&&(d=g.shapes[0].it,f.scale(e.finalSize/100,e.finalSize/100),h=this.createPathShape(f,d),l.setAttribute("d",h)),this.isMasked)this.innerElem.appendChild(l);else{if(this.innerElem.appendChild(c),g&&g.shapes){document.body.appendChild(u);var v=u.getBBox();u.setAttribute("width",v.width+2),u.setAttribute("height",v.height+2),u.setAttribute("viewBox",v.x-1+" "+(v.y-1)+" "+(v.width+2)+" "+(v.height+2));var b=u.style,x="translate("+(v.x-1)+"px,"+(v.y-1)+"px)";b.transform=x,b.webkitTransform=x,p[n].yOffset=v.y-1}else u.setAttribute("width",1),u.setAttribute("height",1);c.appendChild(u)}}else if(l.textContent=p[n].val,l.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),this.isMasked)this.innerElem.appendChild(l);else{this.innerElem.appendChild(c);var w=l.style,E="translate3d(0,"+-e.finalSize/1.2+"px,0)";w.transform=E,w.webkitTransform=E}this.isMasked?this.textSpans[m]=l:this.textSpans[m]=c,this.textSpans[m].style.display="block",this.textPaths[m]=l,m+=1}for(;m<this.textSpans.length;)this.textSpans[m].style.display="none",m+=1},HTextElement.prototype.renderInnerContent=function(){var e;if(this.validateText(),this.data.singleShape){if(!this._isFirstFrame&&!this.lettersChangedFlag)return;if(this.isMasked&&this.finalTransform._matMdf){this.svgElement.setAttribute("viewBox",-this.finalTransform.mProp.p.v[0]+" "+-this.finalTransform.mProp.p.v[1]+" "+this.compW+" "+this.compH),e=this.svgElement.style;var t="translate("+-this.finalTransform.mProp.p.v[0]+"px,"+-this.finalTransform.mProp.p.v[1]+"px)";e.transform=t,e.webkitTransform=t}}if(this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag),this.lettersChangedFlag||this.textAnimator.lettersChangedFlag){var r,n,i,a,s,o=0,l=this.textAnimator.renderedLetters,c=this.textProperty.currentData.l;for(n=c.length,r=0;r<n;r+=1)c[r].n?o+=1:(a=this.textSpans[r],s=this.textPaths[r],i=l[o],o+=1,i._mdf.m&&(this.isMasked?a.setAttribute("transform",i.m):(a.style.webkitTransform=i.m,a.style.transform=i.m)),a.style.opacity=i.o,i.sw&&i._mdf.sw&&s.setAttribute("stroke-width",i.sw),i.sc&&i._mdf.sc&&s.setAttribute("stroke",i.sc),i.fc&&i._mdf.fc&&(s.setAttribute("fill",i.fc),s.style.color=i.fc));if(this.innerElem.getBBox&&!this.hidden&&(this._isFirstFrame||this._mdf)){var u=this.innerElem.getBBox();if(this.currentBBox.w!==u.width&&(this.currentBBox.w=u.width,this.svgElement.setAttribute("width",u.width)),this.currentBBox.h!==u.height&&(this.currentBBox.h=u.height,this.svgElement.setAttribute("height",u.height)),this.currentBBox.w!==u.width+2||this.currentBBox.h!==u.height+2||this.currentBBox.x!==u.x-1||this.currentBBox.y!==u.y-1){this.currentBBox.w=u.width+2,this.currentBBox.h=u.height+2,this.currentBBox.x=u.x-1,this.currentBBox.y=u.y-1,this.svgElement.setAttribute("viewBox",this.currentBBox.x+" "+this.currentBBox.y+" "+this.currentBBox.w+" "+this.currentBBox.h),e=this.svgElement.style;var p="translate("+this.currentBBox.x+"px,"+this.currentBBox.y+"px)";e.transform=p,e.webkitTransform=p}}}},extendPrototype([BaseElement,FrameElement,HierarchyElement],HCameraElement),HCameraElement.prototype.setup=function(){var e,t,r,n,i=this.comp.threeDElements.length;for(e=0;e<i;e+=1)if("3d"===(t=this.comp.threeDElements[e]).type){r=t.perspectiveElem.style,n=t.container.style;var a=this.pe.v+"px",s="0px 0px 0px",o="matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)";r.perspective=a,r.webkitPerspective=a,n.transformOrigin=s,n.mozTransformOrigin=s,n.webkitTransformOrigin=s,r.transform=o,r.webkitTransform=o}},HCameraElement.prototype.createElements=function(){},HCameraElement.prototype.hide=function(){},HCameraElement.prototype.renderFrame=function(){var e,t,r=this._isFirstFrame;if(this.hierarchy)for(t=this.hierarchy.length,e=0;e<t;e+=1)r=this.hierarchy[e].finalTransform.mProp._mdf||r;if(r||this.pe._mdf||this.p&&this.p._mdf||this.px&&(this.px._mdf||this.py._mdf||this.pz._mdf)||this.rx._mdf||this.ry._mdf||this.rz._mdf||this.or._mdf||this.a&&this.a._mdf){if(this.mat.reset(),this.hierarchy)for(e=t=this.hierarchy.length-1;e>=0;e-=1){var n=this.hierarchy[e].finalTransform.mProp;this.mat.translate(-n.p.v[0],-n.p.v[1],n.p.v[2]),this.mat.rotateX(-n.or.v[0]).rotateY(-n.or.v[1]).rotateZ(n.or.v[2]),this.mat.rotateX(-n.rx.v).rotateY(-n.ry.v).rotateZ(n.rz.v),this.mat.scale(1/n.s.v[0],1/n.s.v[1],1/n.s.v[2]),this.mat.translate(n.a.v[0],n.a.v[1],n.a.v[2])}if(this.p?this.mat.translate(-this.p.v[0],-this.p.v[1],this.p.v[2]):this.mat.translate(-this.px.v,-this.py.v,this.pz.v),this.a){var i;i=this.p?[this.p.v[0]-this.a.v[0],this.p.v[1]-this.a.v[1],this.p.v[2]-this.a.v[2]]:[this.px.v-this.a.v[0],this.py.v-this.a.v[1],this.pz.v-this.a.v[2]];var a=Math.sqrt(Math.pow(i[0],2)+Math.pow(i[1],2)+Math.pow(i[2],2)),s=[i[0]/a,i[1]/a,i[2]/a],o=Math.sqrt(s[2]*s[2]+s[0]*s[0]),l=Math.atan2(s[1],o),c=Math.atan2(s[0],-s[2]);this.mat.rotateY(c).rotateX(-l)}this.mat.rotateX(-this.rx.v).rotateY(-this.ry.v).rotateZ(this.rz.v),this.mat.rotateX(-this.or.v[0]).rotateY(-this.or.v[1]).rotateZ(this.or.v[2]),this.mat.translate(this.globalData.compSize.w/2,this.globalData.compSize.h/2,0),this.mat.translate(0,0,this.pe.v);var u=!this._prevMat.equals(this.mat);if((u||this.pe._mdf)&&this.comp.threeDElements){var p,d,f;for(t=this.comp.threeDElements.length,e=0;e<t;e+=1)if("3d"===(p=this.comp.threeDElements[e]).type){if(u){var h=this.mat.toCSS();(f=p.container.style).transform=h,f.webkitTransform=h}this.pe._mdf&&((d=p.perspectiveElem.style).perspective=this.pe.v+"px",d.webkitPerspective=this.pe.v+"px")}this.mat.clone(this._prevMat)}}this._isFirstFrame=!1},HCameraElement.prototype.prepareFrame=function(e){this.prepareProperties(e,!0)},HCameraElement.prototype.destroy=function(){},HCameraElement.prototype.getBaseElement=function(){return null},extendPrototype([BaseElement,TransformElement,HBaseElement,HSolidElement,HierarchyElement,FrameElement,RenderableElement],HImageElement),HImageElement.prototype.createContent=function(){var e=this.globalData.getAssetsPath(this.assetData),t=new Image;this.data.hasMask?(this.imageElem=createNS("image"),this.imageElem.setAttribute("width",this.assetData.w+"px"),this.imageElem.setAttribute("height",this.assetData.h+"px"),this.imageElem.setAttributeNS("http://www.w3.org/1999/xlink","href",e),this.layerElement.appendChild(this.imageElem),this.baseElement.setAttribute("width",this.assetData.w),this.baseElement.setAttribute("height",this.assetData.h)):this.layerElement.appendChild(t),t.crossOrigin="anonymous",t.src=e,this.data.ln&&this.baseElement.setAttribute("id",this.data.ln)},extendPrototype([BaseRenderer],HybridRendererBase),HybridRendererBase.prototype.buildItem=SVGRenderer.prototype.buildItem,HybridRendererBase.prototype.checkPendingElements=function(){for(;this.pendingElements.length;)this.pendingElements.pop().checkParenting()},HybridRendererBase.prototype.appendElementInPos=function(e,t){var r=e.getBaseElement();if(r){var n=this.layers[t];if(n.ddd&&this.supports3d)this.addTo3dContainer(r,t);else if(this.threeDElements)this.addTo3dContainer(r,t);else{for(var i,a,s=0;s<t;)this.elements[s]&&!0!==this.elements[s]&&this.elements[s].getBaseElement&&(a=this.elements[s],i=(this.layers[s].ddd?this.getThreeDContainerByPos(s):a.getBaseElement())||i),s+=1;i?n.ddd&&this.supports3d||this.layerElement.insertBefore(r,i):n.ddd&&this.supports3d||this.layerElement.appendChild(r)}}},HybridRendererBase.prototype.createShape=function(e){return this.supports3d?new HShapeElement(e,this.globalData,this):new SVGShapeElement(e,this.globalData,this)},HybridRendererBase.prototype.createText=function(e){return this.supports3d?new HTextElement(e,this.globalData,this):new SVGTextLottieElement(e,this.globalData,this)},HybridRendererBase.prototype.createCamera=function(e){return this.camera=new HCameraElement(e,this.globalData,this),this.camera},HybridRendererBase.prototype.createImage=function(e){return this.supports3d?new HImageElement(e,this.globalData,this):new IImageElement(e,this.globalData,this)},HybridRendererBase.prototype.createSolid=function(e){return this.supports3d?new HSolidElement(e,this.globalData,this):new ISolidElement(e,this.globalData,this)},HybridRendererBase.prototype.createNull=SVGRenderer.prototype.createNull,HybridRendererBase.prototype.getThreeDContainerByPos=function(e){for(var t=0,r=this.threeDElements.length;t<r;){if(this.threeDElements[t].startPos<=e&&this.threeDElements[t].endPos>=e)return this.threeDElements[t].perspectiveElem;t+=1}return null},HybridRendererBase.prototype.createThreeDContainer=function(e,t){var r,n,i=createTag("div");styleDiv(i);var a=createTag("div");if(styleDiv(a),"3d"===t){(r=i.style).width=this.globalData.compSize.w+"px",r.height=this.globalData.compSize.h+"px";var s="50% 50%";r.webkitTransformOrigin=s,r.mozTransformOrigin=s,r.transformOrigin=s;var o="matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)";(n=a.style).transform=o,n.webkitTransform=o}i.appendChild(a);var l={container:a,perspectiveElem:i,startPos:e,endPos:e,type:t};return this.threeDElements.push(l),l},HybridRendererBase.prototype.build3dContainers=function(){var e,t,r=this.layers.length,n="";for(e=0;e<r;e+=1)this.layers[e].ddd&&3!==this.layers[e].ty?("3d"!==n&&(n="3d",t=this.createThreeDContainer(e,"3d")),t.endPos=Math.max(t.endPos,e)):("2d"!==n&&(n="2d",t=this.createThreeDContainer(e,"2d")),t.endPos=Math.max(t.endPos,e));for(e=(r=this.threeDElements.length)-1;e>=0;e-=1)this.resizerElem.appendChild(this.threeDElements[e].perspectiveElem)},HybridRendererBase.prototype.addTo3dContainer=function(e,t){for(var r=0,n=this.threeDElements.length;r<n;){if(t<=this.threeDElements[r].endPos){for(var i,a=this.threeDElements[r].startPos;a<t;)this.elements[a]&&this.elements[a].getBaseElement&&(i=this.elements[a].getBaseElement()),a+=1;i?this.threeDElements[r].container.insertBefore(e,i):this.threeDElements[r].container.appendChild(e);break}r+=1}},HybridRendererBase.prototype.configAnimation=function(e){var t=createTag("div"),r=this.animationItem.wrapper,n=t.style;n.width=e.w+"px",n.height=e.h+"px",this.resizerElem=t,styleDiv(t),n.transformStyle="flat",n.mozTransformStyle="flat",n.webkitTransformStyle="flat",this.renderConfig.className&&t.setAttribute("class",this.renderConfig.className),r.appendChild(t),n.overflow="hidden";var i=createNS("svg");i.setAttribute("width","1"),i.setAttribute("height","1"),styleDiv(i),this.resizerElem.appendChild(i);var a=createNS("defs");i.appendChild(a),this.data=e,this.setupGlobalData(e,i),this.globalData.defs=a,this.layers=e.layers,this.layerElement=this.resizerElem,this.build3dContainers(),this.updateContainerSize()},HybridRendererBase.prototype.destroy=function(){var e;this.animationItem.wrapper&&(this.animationItem.wrapper.innerText=""),this.animationItem.container=null,this.globalData.defs=null;var t=this.layers?this.layers.length:0;for(e=0;e<t;e+=1)this.elements[e]&&this.elements[e].destroy&&this.elements[e].destroy();this.elements.length=0,this.destroyed=!0,this.animationItem=null},HybridRendererBase.prototype.updateContainerSize=function(){var e,t,r,n,i=this.animationItem.wrapper.offsetWidth,a=this.animationItem.wrapper.offsetHeight,s=i/a;this.globalData.compSize.w/this.globalData.compSize.h>s?(e=i/this.globalData.compSize.w,t=i/this.globalData.compSize.w,r=0,n=(a-this.globalData.compSize.h*(i/this.globalData.compSize.w))/2):(e=a/this.globalData.compSize.h,t=a/this.globalData.compSize.h,r=(i-this.globalData.compSize.w*(a/this.globalData.compSize.h))/2,n=0);var o=this.resizerElem.style;o.webkitTransform="matrix3d("+e+",0,0,0,0,"+t+",0,0,0,0,1,0,"+r+","+n+",0,1)",o.transform=o.webkitTransform},HybridRendererBase.prototype.renderFrame=SVGRenderer.prototype.renderFrame,HybridRendererBase.prototype.hide=function(){this.resizerElem.style.display="none"},HybridRendererBase.prototype.show=function(){this.resizerElem.style.display="block"},HybridRendererBase.prototype.initItems=function(){if(this.buildAllItems(),this.camera)this.camera.setup();else{var e,t=this.globalData.compSize.w,r=this.globalData.compSize.h,n=this.threeDElements.length;for(e=0;e<n;e+=1){var i=this.threeDElements[e].perspectiveElem.style;i.webkitPerspective=Math.sqrt(Math.pow(t,2)+Math.pow(r,2))+"px",i.perspective=i.webkitPerspective}}},HybridRendererBase.prototype.searchExtraCompositions=function(e){var t,r=e.length,n=createTag("div");for(t=0;t<r;t+=1)if(e[t].xt){var i=this.createComp(e[t],n,this.globalData.comp,null);i.initExpressions(),this.globalData.projectInterface.registerComposition(i)}},extendPrototype([HybridRendererBase,ICompElement,HBaseElement],HCompElement),HCompElement.prototype._createBaseContainerElements=HCompElement.prototype.createContainerElements,HCompElement.prototype.createContainerElements=function(){this._createBaseContainerElements(),this.data.hasMask?(this.svgElement.setAttribute("width",this.data.w),this.svgElement.setAttribute("height",this.data.h),this.transformedElement=this.baseElement):this.transformedElement=this.layerElement},HCompElement.prototype.addTo3dContainer=function(e,t){for(var r,n=0;n<t;)this.elements[n]&&this.elements[n].getBaseElement&&(r=this.elements[n].getBaseElement()),n+=1;r?this.layerElement.insertBefore(e,r):this.layerElement.appendChild(e)},HCompElement.prototype.createComp=function(e){return this.supports3d?new HCompElement(e,this.globalData,this):new SVGCompElement(e,this.globalData,this)},extendPrototype([HybridRendererBase],HybridRenderer),HybridRenderer.prototype.createComp=function(e){return this.supports3d?new HCompElement(e,this.globalData,this):new SVGCompElement(e,this.globalData,this)};var CompExpressionInterface=function(e){function t(t){for(var r=0,n=e.layers.length;r<n;){if(e.layers[r].nm===t||e.layers[r].ind===t)return e.elements[r].layerInterface;r+=1}return null}return Object.defineProperty(t,"_name",{value:e.data.nm}),t.layer=t,t.pixelAspect=1,t.height=e.data.h||e.globalData.compSize.h,t.width=e.data.w||e.globalData.compSize.w,t.pixelAspect=1,t.frameDuration=1/e.globalData.frameRate,t.displayStartTime=0,t.numLayers=e.layers.length,t};function _typeof$2(e){return _typeof$2="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},_typeof$2(e)}function seedRandom(e,t){var r,n=this,i=256,a="random",s=t.pow(i,6),o=t.pow(2,52),l=2*o,c=255;function u(e){var t,r=e.length,n=this,a=0,s=n.i=n.j=0,o=n.S=[];for(r||(e=[r++]);a<i;)o[a]=a++;for(a=0;a<i;a++)o[a]=o[s=c&s+e[a%r]+(t=o[a])],o[s]=t;n.g=function(e){for(var t,r=0,a=n.i,s=n.j,o=n.S;e--;)t=o[a=c&a+1],r=r*i+o[c&(o[a]=o[s=c&s+t])+(o[s]=t)];return n.i=a,n.j=s,r}}function p(e,t){return t.i=e.i,t.j=e.j,t.S=e.S.slice(),t}function d(e,t){var r,n=[],i=_typeof$2(e);if(t&&"object"==i)for(r in e)try{n.push(d(e[r],t-1))}catch(e){}return n.length?n:"string"==i?e:e+"\0"}function f(e,t){for(var r,n=e+"",i=0;i<n.length;)t[c&i]=c&(r^=19*t[c&i])+n.charCodeAt(i++);return h(t)}function h(e){return String.fromCharCode.apply(0,e)}t["seed"+a]=function(c,m,g){var y=[],v=f(d((m=!0===m?{entropy:!0}:m||{}).entropy?[c,h(e)]:null===c?function(){try{r;var t=new Uint8Array(i);return(n.crypto||n.msCrypto).getRandomValues(t),h(t)}catch(t){var a=n.navigator,s=a&&a.plugins;return[+new Date,n,s,n.screen,h(e)]}}():c,3),y),b=new u(y),x=function(){for(var e=b.g(6),t=s,r=0;e<o;)e=(e+r)*i,t*=i,r=b.g(1);for(;e>=l;)e/=2,t/=2,r>>>=1;return(e+r)/t};return x.int32=function(){return 0|b.g(4)},x.quick=function(){return b.g(4)/4294967296},x.double=x,f(h(b.S),e),(m.pass||g||function(e,r,n,i){return i&&(i.S&&p(i,b),e.state=function(){return p(b,{})}),n?(t[a]=e,r):e})(x,v,"global"in m?m.global:this==t,m.state)},f(t.random(),e)}function initialize$2(e){seedRandom([],e)}var propTypes={SHAPE:"shape"};function _typeof$1(e){return _typeof$1="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},_typeof$1(e)}var ExpressionManager=function(){var ob={},Math=BMMath,window=null,document=null,XMLHttpRequest=null,fetch=null,frames=null,_lottieGlobal={};function resetFrame(){_lottieGlobal={}}function $bm_isInstanceOfArray(e){return e.constructor===Array||e.constructor===Float32Array}function isNumerable(e,t){return"number"===e||t instanceof Number||"boolean"===e||"string"===e}function $bm_neg(e){var t=_typeof$1(e);if("number"===t||e instanceof Number||"boolean"===t)return-e;if($bm_isInstanceOfArray(e)){var r,n=e.length,i=[];for(r=0;r<n;r+=1)i[r]=-e[r];return i}return e.propType?e.v:-e}initialize$2(BMMath);var easeInBez=BezierFactory.getBezierEasing(.333,0,.833,.833,"easeIn").get,easeOutBez=BezierFactory.getBezierEasing(.167,.167,.667,1,"easeOut").get,easeInOutBez=BezierFactory.getBezierEasing(.33,0,.667,1,"easeInOut").get;function sum(e,t){var r=_typeof$1(e),n=_typeof$1(t);if(isNumerable(r,e)&&isNumerable(n,t)||"string"===r||"string"===n)return e+t;if($bm_isInstanceOfArray(e)&&isNumerable(n,t))return(e=e.slice(0))[0]+=t,e;if(isNumerable(r,e)&&$bm_isInstanceOfArray(t))return(t=t.slice(0))[0]=e+t[0],t;if($bm_isInstanceOfArray(e)&&$bm_isInstanceOfArray(t)){for(var i=0,a=e.length,s=t.length,o=[];i<a||i<s;)("number"==typeof e[i]||e[i]instanceof Number)&&("number"==typeof t[i]||t[i]instanceof Number)?o[i]=e[i]+t[i]:o[i]=void 0===t[i]?e[i]:e[i]||t[i],i+=1;return o}return 0}var add=sum;function sub(e,t){var r=_typeof$1(e),n=_typeof$1(t);if(isNumerable(r,e)&&isNumerable(n,t))return"string"===r&&(e=parseInt(e,10)),"string"===n&&(t=parseInt(t,10)),e-t;if($bm_isInstanceOfArray(e)&&isNumerable(n,t))return(e=e.slice(0))[0]-=t,e;if(isNumerable(r,e)&&$bm_isInstanceOfArray(t))return(t=t.slice(0))[0]=e-t[0],t;if($bm_isInstanceOfArray(e)&&$bm_isInstanceOfArray(t)){for(var i=0,a=e.length,s=t.length,o=[];i<a||i<s;)("number"==typeof e[i]||e[i]instanceof Number)&&("number"==typeof t[i]||t[i]instanceof Number)?o[i]=e[i]-t[i]:o[i]=void 0===t[i]?e[i]:e[i]||t[i],i+=1;return o}return 0}function mul(e,t){var r,n,i,a=_typeof$1(e),s=_typeof$1(t);if(isNumerable(a,e)&&isNumerable(s,t))return e*t;if($bm_isInstanceOfArray(e)&&isNumerable(s,t)){for(i=e.length,r=createTypedArray("float32",i),n=0;n<i;n+=1)r[n]=e[n]*t;return r}if(isNumerable(a,e)&&$bm_isInstanceOfArray(t)){for(i=t.length,r=createTypedArray("float32",i),n=0;n<i;n+=1)r[n]=e*t[n];return r}return 0}function div(e,t){var r,n,i,a=_typeof$1(e),s=_typeof$1(t);if(isNumerable(a,e)&&isNumerable(s,t))return e/t;if($bm_isInstanceOfArray(e)&&isNumerable(s,t)){for(i=e.length,r=createTypedArray("float32",i),n=0;n<i;n+=1)r[n]=e[n]/t;return r}if(isNumerable(a,e)&&$bm_isInstanceOfArray(t)){for(i=t.length,r=createTypedArray("float32",i),n=0;n<i;n+=1)r[n]=e/t[n];return r}return 0}function mod(e,t){return"string"==typeof e&&(e=parseInt(e,10)),"string"==typeof t&&(t=parseInt(t,10)),e%t}var $bm_sum=sum,$bm_sub=sub,$bm_mul=mul,$bm_div=div,$bm_mod=mod;function clamp(e,t,r){if(t>r){var n=r;r=t,t=n}return Math.min(Math.max(e,t),r)}function radiansToDegrees(e){return e/degToRads}var radians_to_degrees=radiansToDegrees;function degreesToRadians(e){return e*degToRads}var degrees_to_radians=radiansToDegrees,helperLengthArray=[0,0,0,0,0,0];function length(e,t){if("number"==typeof e||e instanceof Number)return t=t||0,Math.abs(e-t);var r;t||(t=helperLengthArray);var n=Math.min(e.length,t.length),i=0;for(r=0;r<n;r+=1)i+=Math.pow(t[r]-e[r],2);return Math.sqrt(i)}function normalize(e){return div(e,length(e))}function rgbToHsl(e){var t,r,n=e[0],i=e[1],a=e[2],s=Math.max(n,i,a),o=Math.min(n,i,a),l=(s+o)/2;if(s===o)t=0,r=0;else{var c=s-o;switch(r=l>.5?c/(2-s-o):c/(s+o),s){case n:t=(i-a)/c+(i<a?6:0);break;case i:t=(a-n)/c+2;break;case a:t=(n-i)/c+4}t/=6}return[t,r,l,e[3]]}function hue2rgb(e,t,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?e+6*(t-e)*r:r<.5?t:r<2/3?e+(t-e)*(2/3-r)*6:e}function hslToRgb(e){var t,r,n,i=e[0],a=e[1],s=e[2];if(0===a)t=s,n=s,r=s;else{var o=s<.5?s*(1+a):s+a-s*a,l=2*s-o;t=hue2rgb(l,o,i+1/3),r=hue2rgb(l,o,i),n=hue2rgb(l,o,i-1/3)}return[t,r,n,e[3]]}function linear(e,t,r,n,i){if(void 0!==n&&void 0!==i||(n=t,i=r,t=0,r=1),r<t){var a=r;r=t,t=a}if(e<=t)return n;if(e>=r)return i;var s,o=r===t?0:(e-t)/(r-t);if(!n.length)return n+(i-n)*o;var l=n.length,c=createTypedArray("float32",l);for(s=0;s<l;s+=1)c[s]=n[s]+(i[s]-n[s])*o;return c}function random(e,t){if(void 0===t&&(void 0===e?(e=0,t=1):(t=e,e=void 0)),t.length){var r,n=t.length;e||(e=createTypedArray("float32",n));var i=createTypedArray("float32",n),a=BMMath.random();for(r=0;r<n;r+=1)i[r]=e[r]+a*(t[r]-e[r]);return i}return void 0===e&&(e=0),e+BMMath.random()*(t-e)}function createPath(e,t,r,n){var i,a=e.length,s=shapePool.newElement();s.setPathData(!!n,a);var o,l,c=[0,0];for(i=0;i<a;i+=1)o=t&&t[i]?t[i]:c,l=r&&r[i]?r[i]:c,s.setTripleAt(e[i][0],e[i][1],l[0]+e[i][0],l[1]+e[i][1],o[0]+e[i][0],o[1]+e[i][1],i,!0);return s}function initiateExpression(elem,data,property){function noOp(e){return e}if(!elem.globalData.renderConfig.runExpressions)return noOp;var val=data.x,needsVelocity=/velocity(?![\w\d])/.test(val),_needsRandom=-1!==val.indexOf("random"),elemType=elem.data.ty,transform,$bm_transform,content,effect,thisProperty=property;thisProperty.valueAtTime=thisProperty.getValueAtTime,Object.defineProperty(thisProperty,"value",{get:function(){return thisProperty.v}}),elem.comp.frameDuration=1/elem.comp.globalData.frameRate,elem.comp.displayStartTime=0;var inPoint=elem.data.ip/elem.comp.globalData.frameRate,outPoint=elem.data.op/elem.comp.globalData.frameRate,width=elem.data.sw?elem.data.sw:0,height=elem.data.sh?elem.data.sh:0,name=elem.data.nm,loopIn,loop_in,loopOut,loop_out,smooth,toWorld,fromWorld,fromComp,toComp,fromCompToSurface,position,rotation,anchorPoint,scale,thisLayer,thisComp,mask,valueAtTime,velocityAtTime,scoped_bm_rt,expression_function=eval("[function _expression_function(){"+val+";scoped_bm_rt=$bm_rt}]")[0],numKeys=property.kf?data.k.length:0,active=!this.data||!0!==this.data.hd,wiggle=function(e,t){var r,n,i=this.pv.length?this.pv.length:1,a=createTypedArray("float32",i),s=Math.floor(5*time);for(r=0,n=0;r<s;){for(n=0;n<i;n+=1)a[n]+=-t+2*t*BMMath.random();r+=1}var o=5*time,l=o-Math.floor(o),c=createTypedArray("float32",i);if(i>1){for(n=0;n<i;n+=1)c[n]=this.pv[n]+a[n]+(-t+2*t*BMMath.random())*l;return c}return this.pv+a[0]+(-t+2*t*BMMath.random())*l}.bind(this);function loopInDuration(e,t){return loopIn(e,t,!0)}function loopOutDuration(e,t){return loopOut(e,t,!0)}thisProperty.loopIn&&(loopIn=thisProperty.loopIn.bind(thisProperty),loop_in=loopIn),thisProperty.loopOut&&(loopOut=thisProperty.loopOut.bind(thisProperty),loop_out=loopOut),thisProperty.smooth&&(smooth=thisProperty.smooth.bind(thisProperty)),this.getValueAtTime&&(valueAtTime=this.getValueAtTime.bind(this)),this.getVelocityAtTime&&(velocityAtTime=this.getVelocityAtTime.bind(this));var comp=elem.comp.globalData.projectInterface.bind(elem.comp.globalData.projectInterface),time,velocity,value,text,textIndex,textTotal,selectorValue;function lookAt(e,t){var r=[t[0]-e[0],t[1]-e[1],t[2]-e[2]],n=Math.atan2(r[0],Math.sqrt(r[1]*r[1]+r[2]*r[2]))/degToRads;return[-Math.atan2(r[1],r[2])/degToRads,n,0]}function easeOut(e,t,r,n,i){return applyEase(easeOutBez,e,t,r,n,i)}function easeIn(e,t,r,n,i){return applyEase(easeInBez,e,t,r,n,i)}function ease(e,t,r,n,i){return applyEase(easeInOutBez,e,t,r,n,i)}function applyEase(e,t,r,n,i,a){void 0===i?(i=r,a=n):t=(t-r)/(n-r),t>1?t=1:t<0&&(t=0);var s=e(t);if($bm_isInstanceOfArray(i)){var o,l=i.length,c=createTypedArray("float32",l);for(o=0;o<l;o+=1)c[o]=(a[o]-i[o])*s+i[o];return c}return(a-i)*s+i}function nearestKey(e){var t,r,n,i=data.k.length;if(data.k.length&&"number"!=typeof data.k[0])if(r=-1,(e*=elem.comp.globalData.frameRate)<data.k[0].t)r=1,n=data.k[0].t;else{for(t=0;t<i-1;t+=1){if(e===data.k[t].t){r=t+1,n=data.k[t].t;break}if(e>data.k[t].t&&e<data.k[t+1].t){e-data.k[t].t>data.k[t+1].t-e?(r=t+2,n=data.k[t+1].t):(r=t+1,n=data.k[t].t);break}}-1===r&&(r=t+1,n=data.k[t].t)}else r=0,n=0;var a={};return a.index=r,a.time=n/elem.comp.globalData.frameRate,a}function key(e){var t,r,n;if(!data.k.length||"number"==typeof data.k[0])throw new Error("The property has no keyframe at index "+e);e-=1,t={time:data.k[e].t/elem.comp.globalData.frameRate,value:[]};var i=Object.prototype.hasOwnProperty.call(data.k[e],"s")?data.k[e].s:data.k[e-1].e;for(n=i.length,r=0;r<n;r+=1)t[r]=i[r],t.value[r]=i[r];return t}function framesToTime(e,t){return t||(t=elem.comp.globalData.frameRate),e/t}function timeToFrames(e,t){return e||0===e||(e=time),t||(t=elem.comp.globalData.frameRate),e*t}function seedRandom(e){BMMath.seedrandom(randSeed+e)}function sourceRectAtTime(){return elem.sourceRectAtTime()}function substring(e,t){return"string"==typeof value?void 0===t?value.substring(e):value.substring(e,t):""}function substr(e,t){return"string"==typeof value?void 0===t?value.substr(e):value.substr(e,t):""}function posterizeTime(e){time=0===e?0:Math.floor(time*e)/e,value=valueAtTime(time)}var index=elem.data.ind,hasParent=!(!elem.hierarchy||!elem.hierarchy.length),parent,randSeed=Math.floor(1e6*Math.random()),globalData=elem.globalData;function executeExpression(e){return value=e,this.frameExpressionId===elem.globalData.frameId&&"textSelector"!==this.propType?value:("textSelector"===this.propType&&(textIndex=this.textIndex,textTotal=this.textTotal,selectorValue=this.selectorValue),thisLayer||(text=elem.layerInterface.text,thisLayer=elem.layerInterface,thisComp=elem.comp.compInterface,toWorld=thisLayer.toWorld.bind(thisLayer),fromWorld=thisLayer.fromWorld.bind(thisLayer),fromComp=thisLayer.fromComp.bind(thisLayer),toComp=thisLayer.toComp.bind(thisLayer),mask=thisLayer.mask?thisLayer.mask.bind(thisLayer):null,fromCompToSurface=fromComp),transform||(transform=elem.layerInterface("ADBE Transform Group"),$bm_transform=transform,transform&&(anchorPoint=transform.anchorPoint)),4!==elemType||content||(content=thisLayer("ADBE Root Vectors Group")),effect||(effect=thisLayer(4)),(hasParent=!(!elem.hierarchy||!elem.hierarchy.length))&&!parent&&(parent=elem.hierarchy[0].layerInterface),time=this.comp.renderedFrame/this.comp.globalData.frameRate,_needsRandom&&seedRandom(randSeed+time),needsVelocity&&(velocity=velocityAtTime(time)),expression_function(),this.frameExpressionId=elem.globalData.frameId,scoped_bm_rt=scoped_bm_rt.propType===propTypes.SHAPE?scoped_bm_rt.v:scoped_bm_rt)}return executeExpression.__preventDeadCodeRemoval=[$bm_transform,anchorPoint,time,velocity,inPoint,outPoint,width,height,name,loop_in,loop_out,smooth,toComp,fromCompToSurface,toWorld,fromWorld,mask,position,rotation,scale,thisComp,numKeys,active,wiggle,loopInDuration,loopOutDuration,comp,lookAt,easeOut,easeIn,ease,nearestKey,key,text,textIndex,textTotal,selectorValue,framesToTime,timeToFrames,sourceRectAtTime,substring,substr,posterizeTime,index,globalData],executeExpression}return ob.initiateExpression=initiateExpression,ob.__preventDeadCodeRemoval=[window,document,XMLHttpRequest,fetch,frames,$bm_neg,add,$bm_sum,$bm_sub,$bm_mul,$bm_div,$bm_mod,clamp,radians_to_degrees,degreesToRadians,degrees_to_radians,normalize,rgbToHsl,hslToRgb,linear,random,createPath,_lottieGlobal],ob.resetFrame=resetFrame,ob}(),Expressions=function(){var e={initExpressions:function(e){var t=0,r=[];e.renderer.compInterface=CompExpressionInterface(e.renderer),e.renderer.globalData.projectInterface.registerComposition(e.renderer),e.renderer.globalData.pushExpression=function(){t+=1},e.renderer.globalData.popExpression=function(){0==(t-=1)&&function(){var e,t=r.length;for(e=0;e<t;e+=1)r[e].release();r.length=0}()},e.renderer.globalData.registerExpressionProperty=function(e){-1===r.indexOf(e)&&r.push(e)}}};return e.resetFrame=ExpressionManager.resetFrame,e}(),MaskManagerInterface=function(){function e(e,t){this._mask=e,this._data=t}return Object.defineProperty(e.prototype,"maskPath",{get:function(){return this._mask.prop.k&&this._mask.prop.getValue(),this._mask.prop}}),Object.defineProperty(e.prototype,"maskOpacity",{get:function(){return this._mask.op.k&&this._mask.op.getValue(),100*this._mask.op.v}}),function(t){var r,n=createSizedArray(t.viewData.length),i=t.viewData.length;for(r=0;r<i;r+=1)n[r]=new e(t.viewData[r],t.masksProperties[r]);return function(e){for(r=0;r<i;){if(t.masksProperties[r].nm===e)return n[r];r+=1}return null}}}(),ExpressionPropertyInterface=function(){var e={pv:0,v:0,mult:1},t={pv:[0,0,0],v:[0,0,0],mult:1};function r(e,t,r){Object.defineProperty(e,"velocity",{get:function(){return t.getVelocityAtTime(t.comp.currentFrame)}}),e.numKeys=t.keyframes?t.keyframes.length:0,e.key=function(n){if(!e.numKeys)return 0;var i;i="s"in t.keyframes[n-1]?t.keyframes[n-1].s:"e"in t.keyframes[n-2]?t.keyframes[n-2].e:t.keyframes[n-2].s;var a="unidimensional"===r?new Number(i):Object.assign({},i);return a.time=t.keyframes[n-1].t/t.elem.comp.globalData.frameRate,a.value="unidimensional"===r?i[0]:i,a},e.valueAtTime=t.getValueAtTime,e.speedAtTime=t.getSpeedAtTime,e.velocityAtTime=t.getVelocityAtTime,e.propertyGroup=t.propertyGroup}function n(){return e}return function(i){return i?"unidimensional"===i.propType?function(t){t&&"pv"in t||(t=e);var n=1/t.mult,i=t.pv*n,a=new Number(i);return a.value=i,r(a,t,"unidimensional"),function(){return t.k&&t.getValue(),i=t.v*n,a.value!==i&&((a=new Number(i)).value=i,r(a,t,"unidimensional")),a}}(i):function(e){e&&"pv"in e||(e=t);var n=1/e.mult,i=e.data&&e.data.l||e.pv.length,a=createTypedArray("float32",i),s=createTypedArray("float32",i);return a.value=s,r(a,e,"multidimensional"),function(){e.k&&e.getValue();for(var t=0;t<i;t+=1)s[t]=e.v[t]*n,a[t]=s[t];return a}}(i):n}}(),TransformExpressionInterface=function(e){function t(e){switch(e){case"scale":case"Scale":case"ADBE Scale":case 6:return t.scale;case"rotation":case"Rotation":case"ADBE Rotation":case"ADBE Rotate Z":case 10:return t.rotation;case"ADBE Rotate X":return t.xRotation;case"ADBE Rotate Y":return t.yRotation;case"position":case"Position":case"ADBE Position":case 2:return t.position;case"ADBE Position_0":return t.xPosition;case"ADBE Position_1":return t.yPosition;case"ADBE Position_2":return t.zPosition;case"anchorPoint":case"AnchorPoint":case"Anchor Point":case"ADBE AnchorPoint":case 1:return t.anchorPoint;case"opacity":case"Opacity":case 11:return t.opacity;default:return null}}var r,n,i,a;return Object.defineProperty(t,"rotation",{get:ExpressionPropertyInterface(e.r||e.rz)}),Object.defineProperty(t,"zRotation",{get:ExpressionPropertyInterface(e.rz||e.r)}),Object.defineProperty(t,"xRotation",{get:ExpressionPropertyInterface(e.rx)}),Object.defineProperty(t,"yRotation",{get:ExpressionPropertyInterface(e.ry)}),Object.defineProperty(t,"scale",{get:ExpressionPropertyInterface(e.s)}),e.p?a=ExpressionPropertyInterface(e.p):(r=ExpressionPropertyInterface(e.px),n=ExpressionPropertyInterface(e.py),e.pz&&(i=ExpressionPropertyInterface(e.pz))),Object.defineProperty(t,"position",{get:function(){return e.p?a():[r(),n(),i?i():0]}}),Object.defineProperty(t,"xPosition",{get:ExpressionPropertyInterface(e.px)}),Object.defineProperty(t,"yPosition",{get:ExpressionPropertyInterface(e.py)}),Object.defineProperty(t,"zPosition",{get:ExpressionPropertyInterface(e.pz)}),Object.defineProperty(t,"anchorPoint",{get:ExpressionPropertyInterface(e.a)}),Object.defineProperty(t,"opacity",{get:ExpressionPropertyInterface(e.o)}),Object.defineProperty(t,"skew",{get:ExpressionPropertyInterface(e.sk)}),Object.defineProperty(t,"skewAxis",{get:ExpressionPropertyInterface(e.sa)}),Object.defineProperty(t,"orientation",{get:ExpressionPropertyInterface(e.or)}),t},LayerExpressionInterface=function(){function e(e){var t=new Matrix;return void 0!==e?this._elem.finalTransform.mProp.getValueAtTime(e).clone(t):this._elem.finalTransform.mProp.applyToMatrix(t),t}function t(e,t){var r=this.getMatrix(t);return r.props[12]=0,r.props[13]=0,r.props[14]=0,this.applyPoint(r,e)}function r(e,t){var r=this.getMatrix(t);return this.applyPoint(r,e)}function n(e,t){var r=this.getMatrix(t);return r.props[12]=0,r.props[13]=0,r.props[14]=0,this.invertPoint(r,e)}function i(e,t){var r=this.getMatrix(t);return this.invertPoint(r,e)}function a(e,t){if(this._elem.hierarchy&&this._elem.hierarchy.length){var r,n=this._elem.hierarchy.length;for(r=0;r<n;r+=1)this._elem.hierarchy[r].finalTransform.mProp.applyToMatrix(e)}return e.applyToPointArray(t[0],t[1],t[2]||0)}function s(e,t){if(this._elem.hierarchy&&this._elem.hierarchy.length){var r,n=this._elem.hierarchy.length;for(r=0;r<n;r+=1)this._elem.hierarchy[r].finalTransform.mProp.applyToMatrix(e)}return e.inversePoint(t)}function o(e){var t=new Matrix;if(t.reset(),this._elem.finalTransform.mProp.applyToMatrix(t),this._elem.hierarchy&&this._elem.hierarchy.length){var r,n=this._elem.hierarchy.length;for(r=0;r<n;r+=1)this._elem.hierarchy[r].finalTransform.mProp.applyToMatrix(t);return t.inversePoint(e)}return t.inversePoint(e)}function l(){return[1,1,1,1]}return function(c){var u;function p(e){switch(e){case"ADBE Root Vectors Group":case"Contents":case 2:return p.shapeInterface;case 1:case 6:case"Transform":case"transform":case"ADBE Transform Group":return u;case 4:case"ADBE Effect Parade":case"effects":case"Effects":return p.effect;case"ADBE Text Properties":return p.textInterface;default:return null}}p.getMatrix=e,p.invertPoint=s,p.applyPoint=a,p.toWorld=r,p.toWorldVec=t,p.fromWorld=i,p.fromWorldVec=n,p.toComp=r,p.fromComp=o,p.sampleImage=l,p.sourceRectAtTime=c.sourceRectAtTime.bind(c),p._elem=c;var d=getDescriptor(u=TransformExpressionInterface(c.finalTransform.mProp),"anchorPoint");return Object.defineProperties(p,{hasParent:{get:function(){return c.hierarchy.length}},parent:{get:function(){return c.hierarchy[0].layerInterface}},rotation:getDescriptor(u,"rotation"),scale:getDescriptor(u,"scale"),position:getDescriptor(u,"position"),opacity:getDescriptor(u,"opacity"),anchorPoint:d,anchor_point:d,transform:{get:function(){return u}},active:{get:function(){return c.isInRange}}}),p.startTime=c.data.st,p.index=c.data.ind,p.source=c.data.refId,p.height=0===c.data.ty?c.data.h:100,p.width=0===c.data.ty?c.data.w:100,p.inPoint=c.data.ip/c.comp.globalData.frameRate,p.outPoint=c.data.op/c.comp.globalData.frameRate,p._name=c.data.nm,p.registerMaskInterface=function(e){p.mask=new MaskManagerInterface(e,c)},p.registerEffectsInterface=function(e){p.effect=e},p}}(),propertyGroupFactory=function(e,t){return function(r){return(r=void 0===r?1:r)<=0?e:t(r-1)}},PropertyInterface=function(e,t){var r={_name:e};return function(e){return(e=void 0===e?1:e)<=0?r:t(e-1)}},EffectsExpressionInterface=function(){function e(r,n,i,a){function s(e){for(var t=r.ef,n=0,i=t.length;n<i;){if(e===t[n].nm||e===t[n].mn||e===t[n].ix)return 5===t[n].ty?c[n]:c[n]();n+=1}throw new Error}var o,l=propertyGroupFactory(s,i),c=[],u=r.ef.length;for(o=0;o<u;o+=1)5===r.ef[o].ty?c.push(e(r.ef[o],n.effectElements[o],n.effectElements[o].propertyGroup,a)):c.push(t(n.effectElements[o],r.ef[o].ty,a,l));return"ADBE Color Control"===r.mn&&Object.defineProperty(s,"color",{get:function(){return c[0]()}}),Object.defineProperties(s,{numProperties:{get:function(){return r.np}},_name:{value:r.nm},propertyGroup:{value:l}}),s.enabled=0!==r.en,s.active=s.enabled,s}function t(e,t,r,n){var i=ExpressionPropertyInterface(e.p);return e.p.setGroupProperty&&e.p.setGroupProperty(PropertyInterface("",n)),function(){return 10===t?r.comp.compInterface(e.p.v):i()}}return{createEffectsInterface:function(t,r){if(t.effectsManager){var n,i=[],a=t.data.ef,s=t.effectsManager.effectElements.length;for(n=0;n<s;n+=1)i.push(e(a[n],t.effectsManager.effectElements[n],r,t));var o=t.data.ef||[],l=function(e){for(n=0,s=o.length;n<s;){if(e===o[n].nm||e===o[n].mn||e===o[n].ix)return i[n];n+=1}return null};return Object.defineProperty(l,"numProperties",{get:function(){return o.length}}),l}return null}}}(),ShapePathInterface=function(e,t,r){var n=t.sh;function i(e){return"Shape"===e||"shape"===e||"Path"===e||"path"===e||"ADBE Vector Shape"===e||2===e?i.path:null}var a=propertyGroupFactory(i,r);return n.setGroupProperty(PropertyInterface("Path",a)),Object.defineProperties(i,{path:{get:function(){return n.k&&n.getValue(),n}},shape:{get:function(){return n.k&&n.getValue(),n}},_name:{value:e.nm},ix:{value:e.ix},propertyIndex:{value:e.ix},mn:{value:e.mn},propertyGroup:{value:r}}),i},ShapeExpressionInterface=function(){function e(e,s,d){var f,h=[],m=e?e.length:0;for(f=0;f<m;f+=1)"gr"===e[f].ty?h.push(t(e[f],s[f],d)):"fl"===e[f].ty?h.push(r(e[f],s[f],d)):"st"===e[f].ty?h.push(i(e[f],s[f],d)):"tm"===e[f].ty?h.push(a(e[f],s[f],d)):"tr"===e[f].ty||("el"===e[f].ty?h.push(o(e[f],s[f],d)):"sr"===e[f].ty?h.push(l(e[f],s[f],d)):"sh"===e[f].ty?h.push(ShapePathInterface(e[f],s[f],d)):"rc"===e[f].ty?h.push(c(e[f],s[f],d)):"rd"===e[f].ty?h.push(u(e[f],s[f],d)):"rp"===e[f].ty?h.push(p(e[f],s[f],d)):"gf"===e[f].ty?h.push(n(e[f],s[f],d)):h.push((e[f],s[f],function(){return null})));return h}function t(t,r,n){var i=function(e){switch(e){case"ADBE Vectors Group":case"Contents":case 2:return i.content;default:return i.transform}};i.propertyGroup=propertyGroupFactory(i,n);var a=function(t,r,n){var i,a=function(e){for(var t=0,r=i.length;t<r;){if(i[t]._name===e||i[t].mn===e||i[t].propertyIndex===e||i[t].ix===e||i[t].ind===e)return i[t];t+=1}return"number"==typeof e?i[e-1]:null};a.propertyGroup=propertyGroupFactory(a,n),i=e(t.it,r.it,a.propertyGroup),a.numProperties=i.length;var o=s(t.it[t.it.length-1],r.it[r.it.length-1],a.propertyGroup);return a.transform=o,a.propertyIndex=t.cix,a._name=t.nm,a}(t,r,i.propertyGroup),o=s(t.it[t.it.length-1],r.it[r.it.length-1],i.propertyGroup);return i.content=a,i.transform=o,Object.defineProperty(i,"_name",{get:function(){return t.nm}}),i.numProperties=t.np,i.propertyIndex=t.ix,i.nm=t.nm,i.mn=t.mn,i}function r(e,t,r){function n(e){return"Color"===e||"color"===e?n.color:"Opacity"===e||"opacity"===e?n.opacity:null}return Object.defineProperties(n,{color:{get:ExpressionPropertyInterface(t.c)},opacity:{get:ExpressionPropertyInterface(t.o)},_name:{value:e.nm},mn:{value:e.mn}}),t.c.setGroupProperty(PropertyInterface("Color",r)),t.o.setGroupProperty(PropertyInterface("Opacity",r)),n}function n(e,t,r){function n(e){return"Start Point"===e||"start point"===e?n.startPoint:"End Point"===e||"end point"===e?n.endPoint:"Opacity"===e||"opacity"===e?n.opacity:null}return Object.defineProperties(n,{startPoint:{get:ExpressionPropertyInterface(t.s)},endPoint:{get:ExpressionPropertyInterface(t.e)},opacity:{get:ExpressionPropertyInterface(t.o)},type:{get:function(){return"a"}},_name:{value:e.nm},mn:{value:e.mn}}),t.s.setGroupProperty(PropertyInterface("Start Point",r)),t.e.setGroupProperty(PropertyInterface("End Point",r)),t.o.setGroupProperty(PropertyInterface("Opacity",r)),n}function i(e,t,r){var n,i=propertyGroupFactory(c,r),a=propertyGroupFactory(l,i);function s(r){Object.defineProperty(l,e.d[r].nm,{get:ExpressionPropertyInterface(t.d.dataProps[r].p)})}var o=e.d?e.d.length:0,l={};for(n=0;n<o;n+=1)s(n),t.d.dataProps[n].p.setGroupProperty(a);function c(e){return"Color"===e||"color"===e?c.color:"Opacity"===e||"opacity"===e?c.opacity:"Stroke Width"===e||"stroke width"===e?c.strokeWidth:null}return Object.defineProperties(c,{color:{get:ExpressionPropertyInterface(t.c)},opacity:{get:ExpressionPropertyInterface(t.o)},strokeWidth:{get:ExpressionPropertyInterface(t.w)},dash:{get:function(){return l}},_name:{value:e.nm},mn:{value:e.mn}}),t.c.setGroupProperty(PropertyInterface("Color",i)),t.o.setGroupProperty(PropertyInterface("Opacity",i)),t.w.setGroupProperty(PropertyInterface("Stroke Width",i)),c}function a(e,t,r){function n(t){return t===e.e.ix||"End"===t||"end"===t?n.end:t===e.s.ix?n.start:t===e.o.ix?n.offset:null}var i=propertyGroupFactory(n,r);return n.propertyIndex=e.ix,t.s.setGroupProperty(PropertyInterface("Start",i)),t.e.setGroupProperty(PropertyInterface("End",i)),t.o.setGroupProperty(PropertyInterface("Offset",i)),n.propertyIndex=e.ix,n.propertyGroup=r,Object.defineProperties(n,{start:{get:ExpressionPropertyInterface(t.s)},end:{get:ExpressionPropertyInterface(t.e)},offset:{get:ExpressionPropertyInterface(t.o)},_name:{value:e.nm}}),n.mn=e.mn,n}function s(e,t,r){function n(t){return e.a.ix===t||"Anchor Point"===t?n.anchorPoint:e.o.ix===t||"Opacity"===t?n.opacity:e.p.ix===t||"Position"===t?n.position:e.r.ix===t||"Rotation"===t||"ADBE Vector Rotation"===t?n.rotation:e.s.ix===t||"Scale"===t?n.scale:e.sk&&e.sk.ix===t||"Skew"===t?n.skew:e.sa&&e.sa.ix===t||"Skew Axis"===t?n.skewAxis:null}var i=propertyGroupFactory(n,r);return t.transform.mProps.o.setGroupProperty(PropertyInterface("Opacity",i)),t.transform.mProps.p.setGroupProperty(PropertyInterface("Position",i)),t.transform.mProps.a.setGroupProperty(PropertyInterface("Anchor Point",i)),t.transform.mProps.s.setGroupProperty(PropertyInterface("Scale",i)),t.transform.mProps.r.setGroupProperty(PropertyInterface("Rotation",i)),t.transform.mProps.sk&&(t.transform.mProps.sk.setGroupProperty(PropertyInterface("Skew",i)),t.transform.mProps.sa.setGroupProperty(PropertyInterface("Skew Angle",i))),t.transform.op.setGroupProperty(PropertyInterface("Opacity",i)),Object.defineProperties(n,{opacity:{get:ExpressionPropertyInterface(t.transform.mProps.o)},position:{get:ExpressionPropertyInterface(t.transform.mProps.p)},anchorPoint:{get:ExpressionPropertyInterface(t.transform.mProps.a)},scale:{get:ExpressionPropertyInterface(t.transform.mProps.s)},rotation:{get:ExpressionPropertyInterface(t.transform.mProps.r)},skew:{get:ExpressionPropertyInterface(t.transform.mProps.sk)},skewAxis:{get:ExpressionPropertyInterface(t.transform.mProps.sa)},_name:{value:e.nm}}),n.ty="tr",n.mn=e.mn,n.propertyGroup=r,n}function o(e,t,r){function n(t){return e.p.ix===t?n.position:e.s.ix===t?n.size:null}var i=propertyGroupFactory(n,r);n.propertyIndex=e.ix;var a="tm"===t.sh.ty?t.sh.prop:t.sh;return a.s.setGroupProperty(PropertyInterface("Size",i)),a.p.setGroupProperty(PropertyInterface("Position",i)),Object.defineProperties(n,{size:{get:ExpressionPropertyInterface(a.s)},position:{get:ExpressionPropertyInterface(a.p)},_name:{value:e.nm}}),n.mn=e.mn,n}function l(e,t,r){function n(t){return e.p.ix===t?n.position:e.r.ix===t?n.rotation:e.pt.ix===t?n.points:e.or.ix===t||"ADBE Vector Star Outer Radius"===t?n.outerRadius:e.os.ix===t?n.outerRoundness:!e.ir||e.ir.ix!==t&&"ADBE Vector Star Inner Radius"!==t?e.is&&e.is.ix===t?n.innerRoundness:null:n.innerRadius}var i=propertyGroupFactory(n,r),a="tm"===t.sh.ty?t.sh.prop:t.sh;return n.propertyIndex=e.ix,a.or.setGroupProperty(PropertyInterface("Outer Radius",i)),a.os.setGroupProperty(PropertyInterface("Outer Roundness",i)),a.pt.setGroupProperty(PropertyInterface("Points",i)),a.p.setGroupProperty(PropertyInterface("Position",i)),a.r.setGroupProperty(PropertyInterface("Rotation",i)),e.ir&&(a.ir.setGroupProperty(PropertyInterface("Inner Radius",i)),a.is.setGroupProperty(PropertyInterface("Inner Roundness",i))),Object.defineProperties(n,{position:{get:ExpressionPropertyInterface(a.p)},rotation:{get:ExpressionPropertyInterface(a.r)},points:{get:ExpressionPropertyInterface(a.pt)},outerRadius:{get:ExpressionPropertyInterface(a.or)},outerRoundness:{get:ExpressionPropertyInterface(a.os)},innerRadius:{get:ExpressionPropertyInterface(a.ir)},innerRoundness:{get:ExpressionPropertyInterface(a.is)},_name:{value:e.nm}}),n.mn=e.mn,n}function c(e,t,r){function n(t){return e.p.ix===t?n.position:e.r.ix===t?n.roundness:e.s.ix===t||"Size"===t||"ADBE Vector Rect Size"===t?n.size:null}var i=propertyGroupFactory(n,r),a="tm"===t.sh.ty?t.sh.prop:t.sh;return n.propertyIndex=e.ix,a.p.setGroupProperty(PropertyInterface("Position",i)),a.s.setGroupProperty(PropertyInterface("Size",i)),a.r.setGroupProperty(PropertyInterface("Rotation",i)),Object.defineProperties(n,{position:{get:ExpressionPropertyInterface(a.p)},roundness:{get:ExpressionPropertyInterface(a.r)},size:{get:ExpressionPropertyInterface(a.s)},_name:{value:e.nm}}),n.mn=e.mn,n}function u(e,t,r){function n(t){return e.r.ix===t||"Round Corners 1"===t?n.radius:null}var i=propertyGroupFactory(n,r),a=t;return n.propertyIndex=e.ix,a.rd.setGroupProperty(PropertyInterface("Radius",i)),Object.defineProperties(n,{radius:{get:ExpressionPropertyInterface(a.rd)},_name:{value:e.nm}}),n.mn=e.mn,n}function p(e,t,r){function n(t){return e.c.ix===t||"Copies"===t?n.copies:e.o.ix===t||"Offset"===t?n.offset:null}var i=propertyGroupFactory(n,r),a=t;return n.propertyIndex=e.ix,a.c.setGroupProperty(PropertyInterface("Copies",i)),a.o.setGroupProperty(PropertyInterface("Offset",i)),Object.defineProperties(n,{copies:{get:ExpressionPropertyInterface(a.c)},offset:{get:ExpressionPropertyInterface(a.o)},_name:{value:e.nm}}),n.mn=e.mn,n}return function(t,r,n){var i;function a(e){if("number"==typeof e)return 0===(e=void 0===e?1:e)?n:i[e-1];for(var t=0,r=i.length;t<r;){if(i[t]._name===e)return i[t];t+=1}return null}return a.propertyGroup=propertyGroupFactory(a,(function(){return n})),i=e(t,r,a.propertyGroup),a.numProperties=i.length,a._name="Contents",a}}(),TextExpressionInterface=function(e){var t;function r(e){return"ADBE Text Document"===e?r.sourceText:null}return Object.defineProperty(r,"sourceText",{get:function(){e.textProperty.getValue();var r=e.textProperty.currentData.t;return t&&r===t.value||((t=new String(r)).value=r||new String(r),Object.defineProperty(t,"style",{get:function(){return{fillColor:e.textProperty.currentData.fc}}})),t}}),r};function _typeof(e){return _typeof="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},_typeof(e)}var FootageInterface=(dataInterfaceFactory=function(e){function t(e){return"Outline"===e?t.outlineInterface():null}return t._name="Outline",t.outlineInterface=function(e){var t="",r=e.getFootageData();function n(e){if(r[e])return t=e,"object"===_typeof(r=r[e])?n:r;var i=e.indexOf(t);if(-1!==i){var a=parseInt(e.substr(i+t.length),10);return"object"===_typeof(r=r[a])?n:r}return""}return function(){return t="",r=e.getFootageData(),n}}(e),t},function(e){function t(e){return"Data"===e?t.dataInterface:null}return t._name="Data",t.dataInterface=dataInterfaceFactory(e),t}),dataInterfaceFactory,interfaces={layer:LayerExpressionInterface,effects:EffectsExpressionInterface,comp:CompExpressionInterface,shape:ShapeExpressionInterface,text:TextExpressionInterface,footage:FootageInterface};function getInterface(e){return interfaces[e]||null}var expressionHelpers={searchExpressions:function(e,t,r){t.x&&(r.k=!0,r.x=!0,r.initiateExpression=ExpressionManager.initiateExpression,r.effectsSequence.push(r.initiateExpression(e,t,r).bind(r)))},getSpeedAtTime:function(e){var t=this.getValueAtTime(e),r=this.getValueAtTime(e+-.01),n=0;if(t.length){var i;for(i=0;i<t.length;i+=1)n+=Math.pow(r[i]-t[i],2);n=100*Math.sqrt(n)}else n=0;return n},getVelocityAtTime:function(e){if(void 0!==this.vel)return this.vel;var t,r,n=-.001,i=this.getValueAtTime(e),a=this.getValueAtTime(e+n);if(i.length)for(t=createTypedArray("float32",i.length),r=0;r<i.length;r+=1)t[r]=(a[r]-i[r])/n;else t=(a-i)/n;return t},getValueAtTime:function(e){return e*=this.elem.globalData.frameRate,(e-=this.offsetTime)!==this._cachingAtTime.lastFrame&&(this._cachingAtTime.lastIndex=this._cachingAtTime.lastFrame<e?this._cachingAtTime.lastIndex:0,this._cachingAtTime.value=this.interpolateValue(e,this._cachingAtTime),this._cachingAtTime.lastFrame=e),this._cachingAtTime.value},getStaticValueAtTime:function(){return this.pv},setGroupProperty:function(e){this.propertyGroup=e}};function addPropertyDecorator(){function e(e,t,r){if(!this.k||!this.keyframes)return this.pv;e=e?e.toLowerCase():"";var n,i,a,s,o,l=this.comp.renderedFrame,c=this.keyframes,u=c[c.length-1].t;if(l<=u)return this.pv;if(r?i=u-(n=t?Math.abs(u-this.elem.comp.globalData.frameRate*t):Math.max(0,u-this.elem.data.ip)):((!t||t>c.length-1)&&(t=c.length-1),n=u-(i=c[c.length-1-t].t)),"pingpong"===e){if(Math.floor((l-i)/n)%2!=0)return this.getValueAtTime((n-(l-i)%n+i)/this.comp.globalData.frameRate,0)}else{if("offset"===e){var p=this.getValueAtTime(i/this.comp.globalData.frameRate,0),d=this.getValueAtTime(u/this.comp.globalData.frameRate,0),f=this.getValueAtTime(((l-i)%n+i)/this.comp.globalData.frameRate,0),h=Math.floor((l-i)/n);if(this.pv.length){for(s=(o=new Array(p.length)).length,a=0;a<s;a+=1)o[a]=(d[a]-p[a])*h+f[a];return o}return(d-p)*h+f}if("continue"===e){var m=this.getValueAtTime(u/this.comp.globalData.frameRate,0),g=this.getValueAtTime((u-.001)/this.comp.globalData.frameRate,0);if(this.pv.length){for(s=(o=new Array(m.length)).length,a=0;a<s;a+=1)o[a]=m[a]+(m[a]-g[a])*((l-u)/this.comp.globalData.frameRate)/5e-4;return o}return m+(l-u)/.001*(m-g)}}return this.getValueAtTime(((l-i)%n+i)/this.comp.globalData.frameRate,0)}function t(e,t,r){if(!this.k)return this.pv;e=e?e.toLowerCase():"";var n,i,a,s,o,l=this.comp.renderedFrame,c=this.keyframes,u=c[0].t;if(l>=u)return this.pv;if(r?i=u+(n=t?Math.abs(this.elem.comp.globalData.frameRate*t):Math.max(0,this.elem.data.op-u)):((!t||t>c.length-1)&&(t=c.length-1),n=(i=c[t].t)-u),"pingpong"===e){if(Math.floor((u-l)/n)%2==0)return this.getValueAtTime(((u-l)%n+u)/this.comp.globalData.frameRate,0)}else{if("offset"===e){var p=this.getValueAtTime(u/this.comp.globalData.frameRate,0),d=this.getValueAtTime(i/this.comp.globalData.frameRate,0),f=this.getValueAtTime((n-(u-l)%n+u)/this.comp.globalData.frameRate,0),h=Math.floor((u-l)/n)+1;if(this.pv.length){for(s=(o=new Array(p.length)).length,a=0;a<s;a+=1)o[a]=f[a]-(d[a]-p[a])*h;return o}return f-(d-p)*h}if("continue"===e){var m=this.getValueAtTime(u/this.comp.globalData.frameRate,0),g=this.getValueAtTime((u+.001)/this.comp.globalData.frameRate,0);if(this.pv.length){for(s=(o=new Array(m.length)).length,a=0;a<s;a+=1)o[a]=m[a]+(m[a]-g[a])*(u-l)/.001;return o}return m+(m-g)*(u-l)/.001}}return this.getValueAtTime((n-((u-l)%n+u))/this.comp.globalData.frameRate,0)}function r(e,t){if(!this.k)return this.pv;if(e=.5*(e||.4),(t=Math.floor(t||5))<=1)return this.pv;var r,n,i=this.comp.renderedFrame/this.comp.globalData.frameRate,a=i-e,s=t>1?(i+e-a)/(t-1):1,o=0,l=0;for(r=this.pv.length?createTypedArray("float32",this.pv.length):0;o<t;){if(n=this.getValueAtTime(a+o*s),this.pv.length)for(l=0;l<this.pv.length;l+=1)r[l]+=n[l];else r+=n;o+=1}if(this.pv.length)for(l=0;l<this.pv.length;l+=1)r[l]/=t;else r/=t;return r}function n(e){this._transformCachingAtTime||(this._transformCachingAtTime={v:new Matrix});var t=this._transformCachingAtTime.v;if(t.cloneFromProps(this.pre.props),this.appliedTransformations<1){var r=this.a.getValueAtTime(e);t.translate(-r[0]*this.a.mult,-r[1]*this.a.mult,r[2]*this.a.mult)}if(this.appliedTransformations<2){var n=this.s.getValueAtTime(e);t.scale(n[0]*this.s.mult,n[1]*this.s.mult,n[2]*this.s.mult)}if(this.sk&&this.appliedTransformations<3){var i=this.sk.getValueAtTime(e),a=this.sa.getValueAtTime(e);t.skewFromAxis(-i*this.sk.mult,a*this.sa.mult)}if(this.r&&this.appliedTransformations<4){var s=this.r.getValueAtTime(e);t.rotate(-s*this.r.mult)}else if(!this.r&&this.appliedTransformations<4){var o=this.rz.getValueAtTime(e),l=this.ry.getValueAtTime(e),c=this.rx.getValueAtTime(e),u=this.or.getValueAtTime(e);t.rotateZ(-o*this.rz.mult).rotateY(l*this.ry.mult).rotateX(c*this.rx.mult).rotateZ(-u[2]*this.or.mult).rotateY(u[1]*this.or.mult).rotateX(u[0]*this.or.mult)}if(this.data.p&&this.data.p.s){var p=this.px.getValueAtTime(e),d=this.py.getValueAtTime(e);if(this.data.p.z){var f=this.pz.getValueAtTime(e);t.translate(p*this.px.mult,d*this.py.mult,-f*this.pz.mult)}else t.translate(p*this.px.mult,d*this.py.mult,0)}else{var h=this.p.getValueAtTime(e);t.translate(h[0]*this.p.mult,h[1]*this.p.mult,-h[2]*this.p.mult)}return t}function i(){return this.v.clone(new Matrix)}var a=TransformPropertyFactory.getTransformProperty;TransformPropertyFactory.getTransformProperty=function(e,t,r){var s=a(e,t,r);return s.dynamicProperties.length?s.getValueAtTime=n.bind(s):s.getValueAtTime=i.bind(s),s.setGroupProperty=expressionHelpers.setGroupProperty,s};var s=PropertyFactory.getProp;PropertyFactory.getProp=function(n,i,a,o,l){var c=s(n,i,a,o,l);c.kf?c.getValueAtTime=expressionHelpers.getValueAtTime.bind(c):c.getValueAtTime=expressionHelpers.getStaticValueAtTime.bind(c),c.setGroupProperty=expressionHelpers.setGroupProperty,c.loopOut=e,c.loopIn=t,c.smooth=r,c.getVelocityAtTime=expressionHelpers.getVelocityAtTime.bind(c),c.getSpeedAtTime=expressionHelpers.getSpeedAtTime.bind(c),c.numKeys=1===i.a?i.k.length:0,c.propertyIndex=i.ix;var u=0;return 0!==a&&(u=createTypedArray("float32",1===i.a?i.k[0].s.length:i.k.length)),c._cachingAtTime={lastFrame:initialDefaultFrame,lastIndex:0,value:u},expressionHelpers.searchExpressions(n,i,c),c.k&&l.addDynamicProperty(c),c};var o=ShapePropertyFactory.getConstructorFunction(),l=ShapePropertyFactory.getKeyframedConstructorFunction();function c(){}c.prototype={vertices:function(e,t){this.k&&this.getValue();var r,n=this.v;void 0!==t&&(n=this.getValueAtTime(t,0));var i=n._length,a=n[e],s=n.v,o=createSizedArray(i);for(r=0;r<i;r+=1)o[r]="i"===e||"o"===e?[a[r][0]-s[r][0],a[r][1]-s[r][1]]:[a[r][0],a[r][1]];return o},points:function(e){return this.vertices("v",e)},inTangents:function(e){return this.vertices("i",e)},outTangents:function(e){return this.vertices("o",e)},isClosed:function(){return this.v.c},pointOnPath:function(e,t){var r=this.v;void 0!==t&&(r=this.getValueAtTime(t,0)),this._segmentsLength||(this._segmentsLength=bez.getSegmentsLength(r));for(var n,i=this._segmentsLength,a=i.lengths,s=i.totalLength*e,o=0,l=a.length,c=0;o<l;){if(c+a[o].addedLength>s){var u=o,p=r.c&&o===l-1?0:o+1,d=(s-c)/a[o].addedLength;n=bez.getPointInSegment(r.v[u],r.v[p],r.o[u],r.i[p],d,a[o]);break}c+=a[o].addedLength,o+=1}return n||(n=r.c?[r.v[0][0],r.v[0][1]]:[r.v[r._length-1][0],r.v[r._length-1][1]]),n},vectorOnPath:function(e,t,r){1==e?e=this.v.c:0==e&&(e=.999);var n=this.pointOnPath(e,t),i=this.pointOnPath(e+.001,t),a=i[0]-n[0],s=i[1]-n[1],o=Math.sqrt(Math.pow(a,2)+Math.pow(s,2));return 0===o?[0,0]:"tangent"===r?[a/o,s/o]:[-s/o,a/o]},tangentOnPath:function(e,t){return this.vectorOnPath(e,t,"tangent")},normalOnPath:function(e,t){return this.vectorOnPath(e,t,"normal")},setGroupProperty:expressionHelpers.setGroupProperty,getValueAtTime:expressionHelpers.getStaticValueAtTime},extendPrototype([c],o),extendPrototype([c],l),l.prototype.getValueAtTime=function(e){return this._cachingAtTime||(this._cachingAtTime={shapeValue:shapePool.clone(this.pv),lastIndex:0,lastTime:initialDefaultFrame}),e*=this.elem.globalData.frameRate,(e-=this.offsetTime)!==this._cachingAtTime.lastTime&&(this._cachingAtTime.lastIndex=this._cachingAtTime.lastTime<e?this._caching.lastIndex:0,this._cachingAtTime.lastTime=e,this.interpolateShape(e,this._cachingAtTime.shapeValue,this._cachingAtTime)),this._cachingAtTime.shapeValue},l.prototype.initiateExpression=ExpressionManager.initiateExpression;var u=ShapePropertyFactory.getShapeProp;ShapePropertyFactory.getShapeProp=function(e,t,r,n,i){var a=u(e,t,r,n,i);return a.propertyIndex=t.ix,a.lock=!1,3===r?expressionHelpers.searchExpressions(e,t.pt,a):4===r&&expressionHelpers.searchExpressions(e,t.ks,a),a.k&&e.addDynamicProperty(a),a}}function initialize$1(){addPropertyDecorator()}function addDecorator(){TextProperty.prototype.getExpressionValue=function(e,t){var r=this.calculateExpression(t);if(e.t!==r){var n={};return this.copyData(n,e),n.t=r.toString(),n.__complete=!1,n}return e},TextProperty.prototype.searchProperty=function(){var e=this.searchKeyframes(),t=this.searchExpressions();return this.kf=e||t,this.kf},TextProperty.prototype.searchExpressions=function(){return this.data.d.x?(this.calculateExpression=ExpressionManager.initiateExpression.bind(this)(this.elem,this.data.d,this),this.addEffect(this.getExpressionValue.bind(this)),!0):null}}function initialize(){addDecorator()}function SVGComposableEffect(){}SVGComposableEffect.prototype={createMergeNode:function(e,t){var r,n,i=createNS("feMerge");for(i.setAttribute("result",e),n=0;n<t.length;n+=1)(r=createNS("feMergeNode")).setAttribute("in",t[n]),i.appendChild(r),i.appendChild(r);return i}};var linearFilterValue="0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0";function SVGTintFilter(e,t,r,n,i){this.filterManager=t;var a=createNS("feColorMatrix");a.setAttribute("type","matrix"),a.setAttribute("color-interpolation-filters","linearRGB"),a.setAttribute("values",linearFilterValue+" 1 0"),this.linearFilter=a,a.setAttribute("result",n+"_tint_1"),e.appendChild(a),(a=createNS("feColorMatrix")).setAttribute("type","matrix"),a.setAttribute("color-interpolation-filters","sRGB"),a.setAttribute("values","1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"),a.setAttribute("result",n+"_tint_2"),e.appendChild(a),this.matrixFilter=a;var s=this.createMergeNode(n,[i,n+"_tint_1",n+"_tint_2"]);e.appendChild(s)}function SVGFillFilter(e,t,r,n){this.filterManager=t;var i=createNS("feColorMatrix");i.setAttribute("type","matrix"),i.setAttribute("color-interpolation-filters","sRGB"),i.setAttribute("values","1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"),i.setAttribute("result",n),e.appendChild(i),this.matrixFilter=i}function SVGStrokeEffect(e,t,r){this.initialized=!1,this.filterManager=t,this.elem=r,this.paths=[]}function SVGTritoneFilter(e,t,r,n){this.filterManager=t;var i=createNS("feColorMatrix");i.setAttribute("type","matrix"),i.setAttribute("color-interpolation-filters","linearRGB"),i.setAttribute("values","0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0"),e.appendChild(i);var a=createNS("feComponentTransfer");a.setAttribute("color-interpolation-filters","sRGB"),a.setAttribute("result",n),this.matrixFilter=a;var s=createNS("feFuncR");s.setAttribute("type","table"),a.appendChild(s),this.feFuncR=s;var o=createNS("feFuncG");o.setAttribute("type","table"),a.appendChild(o),this.feFuncG=o;var l=createNS("feFuncB");l.setAttribute("type","table"),a.appendChild(l),this.feFuncB=l,e.appendChild(a)}function SVGProLevelsFilter(e,t,r,n){this.filterManager=t;var i=this.filterManager.effectElements,a=createNS("feComponentTransfer");(i[10].p.k||0!==i[10].p.v||i[11].p.k||1!==i[11].p.v||i[12].p.k||1!==i[12].p.v||i[13].p.k||0!==i[13].p.v||i[14].p.k||1!==i[14].p.v)&&(this.feFuncR=this.createFeFunc("feFuncR",a)),(i[17].p.k||0!==i[17].p.v||i[18].p.k||1!==i[18].p.v||i[19].p.k||1!==i[19].p.v||i[20].p.k||0!==i[20].p.v||i[21].p.k||1!==i[21].p.v)&&(this.feFuncG=this.createFeFunc("feFuncG",a)),(i[24].p.k||0!==i[24].p.v||i[25].p.k||1!==i[25].p.v||i[26].p.k||1!==i[26].p.v||i[27].p.k||0!==i[27].p.v||i[28].p.k||1!==i[28].p.v)&&(this.feFuncB=this.createFeFunc("feFuncB",a)),(i[31].p.k||0!==i[31].p.v||i[32].p.k||1!==i[32].p.v||i[33].p.k||1!==i[33].p.v||i[34].p.k||0!==i[34].p.v||i[35].p.k||1!==i[35].p.v)&&(this.feFuncA=this.createFeFunc("feFuncA",a)),(this.feFuncR||this.feFuncG||this.feFuncB||this.feFuncA)&&(a.setAttribute("color-interpolation-filters","sRGB"),e.appendChild(a)),(i[3].p.k||0!==i[3].p.v||i[4].p.k||1!==i[4].p.v||i[5].p.k||1!==i[5].p.v||i[6].p.k||0!==i[6].p.v||i[7].p.k||1!==i[7].p.v)&&((a=createNS("feComponentTransfer")).setAttribute("color-interpolation-filters","sRGB"),a.setAttribute("result",n),e.appendChild(a),this.feFuncRComposed=this.createFeFunc("feFuncR",a),this.feFuncGComposed=this.createFeFunc("feFuncG",a),this.feFuncBComposed=this.createFeFunc("feFuncB",a))}function SVGDropShadowEffect(e,t,r,n,i){var a=t.container.globalData.renderConfig.filterSize,s=t.data.fs||a;e.setAttribute("x",s.x||a.x),e.setAttribute("y",s.y||a.y),e.setAttribute("width",s.width||a.width),e.setAttribute("height",s.height||a.height),this.filterManager=t;var o=createNS("feGaussianBlur");o.setAttribute("in","SourceAlpha"),o.setAttribute("result",n+"_drop_shadow_1"),o.setAttribute("stdDeviation","0"),this.feGaussianBlur=o,e.appendChild(o);var l=createNS("feOffset");l.setAttribute("dx","25"),l.setAttribute("dy","0"),l.setAttribute("in",n+"_drop_shadow_1"),l.setAttribute("result",n+"_drop_shadow_2"),this.feOffset=l,e.appendChild(l);var c=createNS("feFlood");c.setAttribute("flood-color","#00ff00"),c.setAttribute("flood-opacity","1"),c.setAttribute("result",n+"_drop_shadow_3"),this.feFlood=c,e.appendChild(c);var u=createNS("feComposite");u.setAttribute("in",n+"_drop_shadow_3"),u.setAttribute("in2",n+"_drop_shadow_2"),u.setAttribute("operator","in"),u.setAttribute("result",n+"_drop_shadow_4"),e.appendChild(u);var p=this.createMergeNode(n,[n+"_drop_shadow_4",i]);e.appendChild(p)}extendPrototype([SVGComposableEffect],SVGTintFilter),SVGTintFilter.prototype.renderFrame=function(e){if(e||this.filterManager._mdf){var t=this.filterManager.effectElements[0].p.v,r=this.filterManager.effectElements[1].p.v,n=this.filterManager.effectElements[2].p.v/100;this.linearFilter.setAttribute("values",linearFilterValue+" "+n+" 0"),this.matrixFilter.setAttribute("values",r[0]-t[0]+" 0 0 0 "+t[0]+" "+(r[1]-t[1])+" 0 0 0 "+t[1]+" "+(r[2]-t[2])+" 0 0 0 "+t[2]+" 0 0 0 1 0")}},SVGFillFilter.prototype.renderFrame=function(e){if(e||this.filterManager._mdf){var t=this.filterManager.effectElements[2].p.v,r=this.filterManager.effectElements[6].p.v;this.matrixFilter.setAttribute("values","0 0 0 0 "+t[0]+" 0 0 0 0 "+t[1]+" 0 0 0 0 "+t[2]+" 0 0 0 "+r+" 0")}},SVGStrokeEffect.prototype.initialize=function(){var e,t,r,n,i=this.elem.layerElement.children||this.elem.layerElement.childNodes;for(1===this.filterManager.effectElements[1].p.v?(n=this.elem.maskManager.masksProperties.length,r=0):n=1+(r=this.filterManager.effectElements[0].p.v-1),(t=createNS("g")).setAttribute("fill","none"),t.setAttribute("stroke-linecap","round"),t.setAttribute("stroke-dashoffset",1);r<n;r+=1)e=createNS("path"),t.appendChild(e),this.paths.push({p:e,m:r});if(3===this.filterManager.effectElements[10].p.v){var a=createNS("mask"),s=createElementID();a.setAttribute("id",s),a.setAttribute("mask-type","alpha"),a.appendChild(t),this.elem.globalData.defs.appendChild(a);var o=createNS("g");for(o.setAttribute("mask","url("+getLocationHref()+"#"+s+")");i[0];)o.appendChild(i[0]);this.elem.layerElement.appendChild(o),this.masker=a,t.setAttribute("stroke","#fff")}else if(1===this.filterManager.effectElements[10].p.v||2===this.filterManager.effectElements[10].p.v){if(2===this.filterManager.effectElements[10].p.v)for(i=this.elem.layerElement.children||this.elem.layerElement.childNodes;i.length;)this.elem.layerElement.removeChild(i[0]);this.elem.layerElement.appendChild(t),this.elem.layerElement.removeAttribute("mask"),t.setAttribute("stroke","#fff")}this.initialized=!0,this.pathMasker=t},SVGStrokeEffect.prototype.renderFrame=function(e){var t;this.initialized||this.initialize();var r,n,i=this.paths.length;for(t=0;t<i;t+=1)if(-1!==this.paths[t].m&&(r=this.elem.maskManager.viewData[this.paths[t].m],n=this.paths[t].p,(e||this.filterManager._mdf||r.prop._mdf)&&n.setAttribute("d",r.lastPath),e||this.filterManager.effectElements[9].p._mdf||this.filterManager.effectElements[4].p._mdf||this.filterManager.effectElements[7].p._mdf||this.filterManager.effectElements[8].p._mdf||r.prop._mdf)){var a;if(0!==this.filterManager.effectElements[7].p.v||100!==this.filterManager.effectElements[8].p.v){var s=.01*Math.min(this.filterManager.effectElements[7].p.v,this.filterManager.effectElements[8].p.v),o=.01*Math.max(this.filterManager.effectElements[7].p.v,this.filterManager.effectElements[8].p.v),l=n.getTotalLength();a="0 0 0 "+l*s+" ";var c,u=l*(o-s),p=1+2*this.filterManager.effectElements[4].p.v*this.filterManager.effectElements[9].p.v*.01,d=Math.floor(u/p);for(c=0;c<d;c+=1)a+="1 "+2*this.filterManager.effectElements[4].p.v*this.filterManager.effectElements[9].p.v*.01+" ";a+="0 "+10*l+" 0 0"}else a="1 "+2*this.filterManager.effectElements[4].p.v*this.filterManager.effectElements[9].p.v*.01;n.setAttribute("stroke-dasharray",a)}if((e||this.filterManager.effectElements[4].p._mdf)&&this.pathMasker.setAttribute("stroke-width",2*this.filterManager.effectElements[4].p.v),(e||this.filterManager.effectElements[6].p._mdf)&&this.pathMasker.setAttribute("opacity",this.filterManager.effectElements[6].p.v),(1===this.filterManager.effectElements[10].p.v||2===this.filterManager.effectElements[10].p.v)&&(e||this.filterManager.effectElements[3].p._mdf)){var f=this.filterManager.effectElements[3].p.v;this.pathMasker.setAttribute("stroke","rgb("+bmFloor(255*f[0])+","+bmFloor(255*f[1])+","+bmFloor(255*f[2])+")")}},SVGTritoneFilter.prototype.renderFrame=function(e){if(e||this.filterManager._mdf){var t=this.filterManager.effectElements[0].p.v,r=this.filterManager.effectElements[1].p.v,n=this.filterManager.effectElements[2].p.v,i=n[0]+" "+r[0]+" "+t[0],a=n[1]+" "+r[1]+" "+t[1],s=n[2]+" "+r[2]+" "+t[2];this.feFuncR.setAttribute("tableValues",i),this.feFuncG.setAttribute("tableValues",a),this.feFuncB.setAttribute("tableValues",s)}},SVGProLevelsFilter.prototype.createFeFunc=function(e,t){var r=createNS(e);return r.setAttribute("type","table"),t.appendChild(r),r},SVGProLevelsFilter.prototype.getTableValue=function(e,t,r,n,i){for(var a,s,o=0,l=Math.min(e,t),c=Math.max(e,t),u=Array.call(null,{length:256}),p=0,d=i-n,f=t-e;o<=256;)s=(a=o/256)<=l?f<0?i:n:a>=c?f<0?n:i:n+d*Math.pow((a-e)/f,1/r),u[p]=s,p+=1,o+=256/255;return u.join(" ")},SVGProLevelsFilter.prototype.renderFrame=function(e){if(e||this.filterManager._mdf){var t,r=this.filterManager.effectElements;this.feFuncRComposed&&(e||r[3].p._mdf||r[4].p._mdf||r[5].p._mdf||r[6].p._mdf||r[7].p._mdf)&&(t=this.getTableValue(r[3].p.v,r[4].p.v,r[5].p.v,r[6].p.v,r[7].p.v),this.feFuncRComposed.setAttribute("tableValues",t),this.feFuncGComposed.setAttribute("tableValues",t),this.feFuncBComposed.setAttribute("tableValues",t)),this.feFuncR&&(e||r[10].p._mdf||r[11].p._mdf||r[12].p._mdf||r[13].p._mdf||r[14].p._mdf)&&(t=this.getTableValue(r[10].p.v,r[11].p.v,r[12].p.v,r[13].p.v,r[14].p.v),this.feFuncR.setAttribute("tableValues",t)),this.feFuncG&&(e||r[17].p._mdf||r[18].p._mdf||r[19].p._mdf||r[20].p._mdf||r[21].p._mdf)&&(t=this.getTableValue(r[17].p.v,r[18].p.v,r[19].p.v,r[20].p.v,r[21].p.v),this.feFuncG.setAttribute("tableValues",t)),this.feFuncB&&(e||r[24].p._mdf||r[25].p._mdf||r[26].p._mdf||r[27].p._mdf||r[28].p._mdf)&&(t=this.getTableValue(r[24].p.v,r[25].p.v,r[26].p.v,r[27].p.v,r[28].p.v),this.feFuncB.setAttribute("tableValues",t)),this.feFuncA&&(e||r[31].p._mdf||r[32].p._mdf||r[33].p._mdf||r[34].p._mdf||r[35].p._mdf)&&(t=this.getTableValue(r[31].p.v,r[32].p.v,r[33].p.v,r[34].p.v,r[35].p.v),this.feFuncA.setAttribute("tableValues",t))}},extendPrototype([SVGComposableEffect],SVGDropShadowEffect),SVGDropShadowEffect.prototype.renderFrame=function(e){if(e||this.filterManager._mdf){if((e||this.filterManager.effectElements[4].p._mdf)&&this.feGaussianBlur.setAttribute("stdDeviation",this.filterManager.effectElements[4].p.v/4),e||this.filterManager.effectElements[0].p._mdf){var t=this.filterManager.effectElements[0].p.v;this.feFlood.setAttribute("flood-color",rgbToHex(Math.round(255*t[0]),Math.round(255*t[1]),Math.round(255*t[2])))}if((e||this.filterManager.effectElements[1].p._mdf)&&this.feFlood.setAttribute("flood-opacity",this.filterManager.effectElements[1].p.v/255),e||this.filterManager.effectElements[2].p._mdf||this.filterManager.effectElements[3].p._mdf){var r=this.filterManager.effectElements[3].p.v,n=(this.filterManager.effectElements[2].p.v-90)*degToRads,i=r*Math.cos(n),a=r*Math.sin(n);this.feOffset.setAttribute("dx",i),this.feOffset.setAttribute("dy",a)}}};var _svgMatteSymbols=[];function SVGMatte3Effect(e,t,r){this.initialized=!1,this.filterManager=t,this.filterElem=e,this.elem=r,r.matteElement=createNS("g"),r.matteElement.appendChild(r.layerElement),r.matteElement.appendChild(r.transformedElement),r.baseElement=r.matteElement}function SVGGaussianBlurEffect(e,t,r,n){e.setAttribute("x","-100%"),e.setAttribute("y","-100%"),e.setAttribute("width","300%"),e.setAttribute("height","300%"),this.filterManager=t;var i=createNS("feGaussianBlur");i.setAttribute("result",n),e.appendChild(i),this.feGaussianBlur=i}function TransformEffect(){}function SVGTransformEffect(e,t){this.init(t)}function CVTransformEffect(e){this.init(e)}return SVGMatte3Effect.prototype.findSymbol=function(e){for(var t=0,r=_svgMatteSymbols.length;t<r;){if(_svgMatteSymbols[t]===e)return _svgMatteSymbols[t];t+=1}return null},SVGMatte3Effect.prototype.replaceInParent=function(e,t){var r=e.layerElement.parentNode;if(r){for(var n,i=r.children,a=0,s=i.length;a<s&&i[a]!==e.layerElement;)a+=1;a<=s-2&&(n=i[a+1]);var o=createNS("use");o.setAttribute("href","#"+t),n?r.insertBefore(o,n):r.appendChild(o)}},SVGMatte3Effect.prototype.setElementAsMask=function(e,t){if(!this.findSymbol(t)){var r=createElementID(),n=createNS("mask");n.setAttribute("id",t.layerId),n.setAttribute("mask-type","alpha"),_svgMatteSymbols.push(t);var i=e.globalData.defs;i.appendChild(n);var a=createNS("symbol");a.setAttribute("id",r),this.replaceInParent(t,r),a.appendChild(t.layerElement),i.appendChild(a);var s=createNS("use");s.setAttribute("href","#"+r),n.appendChild(s),t.data.hd=!1,t.show()}e.setMatte(t.layerId)},SVGMatte3Effect.prototype.initialize=function(){for(var e=this.filterManager.effectElements[0].p.v,t=this.elem.comp.elements,r=0,n=t.length;r<n;)t[r]&&t[r].data.ind===e&&this.setElementAsMask(this.elem,t[r]),r+=1;this.initialized=!0},SVGMatte3Effect.prototype.renderFrame=function(){this.initialized||this.initialize()},SVGGaussianBlurEffect.prototype.renderFrame=function(e){if(e||this.filterManager._mdf){var t=.3*this.filterManager.effectElements[0].p.v,r=this.filterManager.effectElements[1].p.v,n=3==r?0:t,i=2==r?0:t;this.feGaussianBlur.setAttribute("stdDeviation",n+" "+i);var a=1==this.filterManager.effectElements[2].p.v?"wrap":"duplicate";this.feGaussianBlur.setAttribute("edgeMode",a)}},TransformEffect.prototype.init=function(e){this.effectsManager=e,this.type=effectTypes.TRANSFORM_EFFECT,this.matrix=new Matrix,this.opacity=-1,this._mdf=!1,this._opMdf=!1},TransformEffect.prototype.renderFrame=function(e){if(this._opMdf=!1,this._mdf=!1,e||this.effectsManager._mdf){var t=this.effectsManager.effectElements,r=t[0].p.v,n=t[1].p.v,i=1===t[2].p.v,a=t[3].p.v,s=i?a:t[4].p.v,o=t[5].p.v,l=t[6].p.v,c=t[7].p.v;this.matrix.reset(),this.matrix.translate(-r[0],-r[1],r[2]),this.matrix.scale(.01*s,.01*a,1),this.matrix.rotate(-c*degToRads),this.matrix.skewFromAxis(-o*degToRads,(l+90)*degToRads),this.matrix.translate(n[0],n[1],0),this._mdf=!0,this.opacity!==t[8].p.v&&(this.opacity=t[8].p.v,this._opMdf=!0)}},extendPrototype([TransformEffect],SVGTransformEffect),extendPrototype([TransformEffect],CVTransformEffect),registerRenderer("canvas",CanvasRenderer),registerRenderer("html",HybridRenderer),registerRenderer("svg",SVGRenderer),ShapeModifiers.registerModifier("tm",TrimModifier),ShapeModifiers.registerModifier("pb",PuckerAndBloatModifier),ShapeModifiers.registerModifier("rp",RepeaterModifier),ShapeModifiers.registerModifier("rd",RoundCornersModifier),ShapeModifiers.registerModifier("zz",ZigZagModifier),ShapeModifiers.registerModifier("op",OffsetPathModifier),setExpressionsPlugin(Expressions),setExpressionInterfaces(getInterface),initialize$1(),initialize(),registerEffect$1(20,SVGTintFilter,!0),registerEffect$1(21,SVGFillFilter,!0),registerEffect$1(22,SVGStrokeEffect,!1),registerEffect$1(23,SVGTritoneFilter,!0),registerEffect$1(24,SVGProLevelsFilter,!0),registerEffect$1(25,SVGDropShadowEffect,!0),registerEffect$1(28,SVGMatte3Effect,!1),registerEffect$1(29,SVGGaussianBlurEffect,!0),registerEffect$1(35,SVGTransformEffect,!1),registerEffect(35,CVTransformEffect),lottie},module.exports=factory())},7633:(e,t,r)=>{"use strict";var n=r(1609);function i(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=1;r<arguments.length;r++)t+="&args[]="+encodeURIComponent(arguments[r]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var a=Object.prototype.hasOwnProperty,s=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,o={},l={};function c(e){return!!a.call(l,e)||!a.call(o,e)&&(s.test(e)?l[e]=!0:(o[e]=!0,!1))}function u(e,t,r,n,i,a,s){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=n,this.attributeNamespace=i,this.mustUseProperty=r,this.propertyName=e,this.type=t,this.sanitizeURL=a,this.removeEmptyString=s}var p={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){p[e]=new u(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];p[t]=new u(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){p[e]=new u(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){p[e]=new u(e,2,!1,e,null,!1,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){p[e]=new u(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){p[e]=new u(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){p[e]=new u(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){p[e]=new u(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){p[e]=new u(e,5,!1,e.toLowerCase(),null,!1,!1)}));var d=/[\-:]([a-z])/g;function f(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(d,f);p[t]=new u(t,1,!1,e,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(d,f);p[t]=new u(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(d,f);p[t]=new u(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){p[e]=new u(e,1,!1,e.toLowerCase(),null,!1,!1)})),p.xlinkHref=new u("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){p[e]=new u(e,1,!1,e.toLowerCase(),null,!0,!0)}));var h={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},m=["Webkit","ms","Moz","O"];Object.keys(h).forEach((function(e){m.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),h[t]=h[e]}))}));var g=/["'&<>]/;function y(e){if("boolean"==typeof e||"number"==typeof e)return""+e;e=""+e;var t=g.exec(e);if(t){var r,n="",i=0;for(r=t.index;r<e.length;r++){switch(e.charCodeAt(r)){case 34:t=""";break;case 38:t="&";break;case 39:t="'";break;case 60:t="<";break;case 62:t=">";break;default:continue}i!==r&&(n+=e.substring(i,r)),i=r+1,n+=t}e=i!==r?n+e.substring(i,r):n}return e}var v=/([A-Z])/g,b=/^ms-/,x=Array.isArray;function w(e,t){return{insertionMode:e,selectedValue:t}}var E=new Map;function k(e,t,r){if("object"!=typeof r)throw Error(i(62));for(var n in t=!0,r)if(a.call(r,n)){var s=r[n];if(null!=s&&"boolean"!=typeof s&&""!==s){if(0===n.indexOf("--")){var o=y(n);s=y((""+s).trim())}else{o=n;var l=E.get(o);void 0!==l||(l=y(o.replace(v,"-$1").toLowerCase().replace(b,"-ms-")),E.set(o,l)),o=l,s="number"==typeof s?0===s||a.call(h,n)?""+s:s+"px":y((""+s).trim())}t?(t=!1,e.push(' style="',o,":",s)):e.push(";",o,":",s)}}t||e.push('"')}function S(e,t,r,n){switch(r){case"style":return void k(e,t,n);case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(2<r.length)||"o"!==r[0]&&"O"!==r[0]||"n"!==r[1]&&"N"!==r[1])if(null!==(t=p.hasOwnProperty(r)?p[r]:null)){switch(typeof n){case"function":case"symbol":return;case"boolean":if(!t.acceptsBooleans)return}switch(r=t.attributeName,t.type){case 3:n&&e.push(" ",r,'=""');break;case 4:!0===n?e.push(" ",r,'=""'):!1!==n&&e.push(" ",r,'="',y(n),'"');break;case 5:isNaN(n)||e.push(" ",r,'="',y(n),'"');break;case 6:!isNaN(n)&&1<=n&&e.push(" ",r,'="',y(n),'"');break;default:t.sanitizeURL&&(n=""+n),e.push(" ",r,'="',y(n),'"')}}else if(c(r)){switch(typeof n){case"function":case"symbol":return;case"boolean":if("data-"!==(t=r.toLowerCase().slice(0,5))&&"aria-"!==t)return}e.push(" ",r,'="',y(n),'"')}}function C(e,t,r){if(null!=t){if(null!=r)throw Error(i(60));if("object"!=typeof t||!("__html"in t))throw Error(i(61));null!=(t=t.__html)&&e.push(""+t)}}function A(e,t,r,n){e.push(T(r));var i,s=r=null;for(i in t)if(a.call(t,i)){var o=t[i];if(null!=o)switch(i){case"children":r=o;break;case"dangerouslySetInnerHTML":s=o;break;default:S(e,n,i,o)}}return e.push(">"),C(e,s,r),"string"==typeof r?(e.push(y(r)),null):r}var P=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,_=new Map;function T(e){var t=_.get(e);if(void 0===t){if(!P.test(e))throw Error(i(65,e));t="<"+e,_.set(e,t)}return t}function I(e,t,r){if(e.push('\x3c!--$?--\x3e<template id="'),null===r)throw Error(i(395));return e.push(r),e.push('"></template>')}var F=/[<\u2028\u2029]/g;function M(e){return JSON.stringify(e).replace(F,(function(e){switch(e){case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}}))}function D(e,t,r,n){return r.generateStaticMarkup?(e.push(y(t)),!1):(""===t?e=n:(n&&e.push("\x3c!-- --\x3e"),e.push(y(t)),e=!0),e)}var R=Object.assign,L=Symbol.for("react.element"),O=Symbol.for("react.portal"),V=Symbol.for("react.fragment"),N=Symbol.for("react.strict_mode"),B=Symbol.for("react.profiler"),j=Symbol.for("react.provider"),z=Symbol.for("react.context"),H=Symbol.for("react.forward_ref"),G=Symbol.for("react.suspense"),W=Symbol.for("react.suspense_list"),q=Symbol.for("react.memo"),U=Symbol.for("react.lazy"),X=Symbol.for("react.scope"),Q=Symbol.for("react.debug_trace_mode"),$=Symbol.for("react.legacy_hidden"),J=Symbol.for("react.default_value"),Y=Symbol.iterator;function Z(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case V:return"Fragment";case O:return"Portal";case B:return"Profiler";case N:return"StrictMode";case G:return"Suspense";case W:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case z:return(e.displayName||"Context")+".Consumer";case j:return(e._context.displayName||"Context")+".Provider";case H:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case q:return null!==(t=e.displayName||null)?t:Z(e.type)||"Memo";case U:t=e._payload,e=e._init;try{return Z(e(t))}catch(e){}}return null}var K={};function ee(e,t){if(!(e=e.contextTypes))return K;var r,n={};for(r in e)n[r]=t[r];return n}var te=null;function re(e,t){if(e!==t){e.context._currentValue2=e.parentValue,e=e.parent;var r=t.parent;if(null===e){if(null!==r)throw Error(i(401))}else{if(null===r)throw Error(i(401));re(e,r)}t.context._currentValue2=t.value}}function ne(e){e.context._currentValue2=e.parentValue,null!==(e=e.parent)&&ne(e)}function ie(e){var t=e.parent;null!==t&&ie(t),e.context._currentValue2=e.value}function ae(e,t){if(e.context._currentValue2=e.parentValue,null===(e=e.parent))throw Error(i(402));e.depth===t.depth?re(e,t):ae(e,t)}function se(e,t){var r=t.parent;if(null===r)throw Error(i(402));e.depth===r.depth?re(e,r):se(e,r),t.context._currentValue2=t.value}function oe(e){var t=te;t!==e&&(null===t?ie(e):null===e?ne(t):t.depth===e.depth?re(t,e):t.depth>e.depth?ae(t,e):se(t,e),te=e)}var le={isMounted:function(){return!1},enqueueSetState:function(e,t){null!==(e=e._reactInternals).queue&&e.queue.push(t)},enqueueReplaceState:function(e,t){(e=e._reactInternals).replace=!0,e.queue=[t]},enqueueForceUpdate:function(){}};function ce(e,t,r,n){var i=void 0!==e.state?e.state:null;e.updater=le,e.props=r,e.state=i;var a={queue:[],replace:!1};e._reactInternals=a;var s=t.contextType;if(e.context="object"==typeof s&&null!==s?s._currentValue2:n,"function"==typeof(s=t.getDerivedStateFromProps)&&(i=null==(s=s(r,i))?i:R({},i,s),e.state=i),"function"!=typeof t.getDerivedStateFromProps&&"function"!=typeof e.getSnapshotBeforeUpdate&&("function"==typeof e.UNSAFE_componentWillMount||"function"==typeof e.componentWillMount))if(t=e.state,"function"==typeof e.componentWillMount&&e.componentWillMount(),"function"==typeof e.UNSAFE_componentWillMount&&e.UNSAFE_componentWillMount(),t!==e.state&&le.enqueueReplaceState(e,e.state,null),null!==a.queue&&0<a.queue.length)if(t=a.queue,s=a.replace,a.queue=null,a.replace=!1,s&&1===t.length)e.state=t[0];else{for(a=s?t[0]:e.state,i=!0,s=s?1:0;s<t.length;s++){var o=t[s];null!=(o="function"==typeof o?o.call(e,a,r,n):o)&&(i?(i=!1,a=R({},a,o)):R(a,o))}e.state=a}else a.queue=null}var ue={id:1,overflow:""};function pe(e,t,r){var n=e.id;e=e.overflow;var i=32-de(n)-1;n&=~(1<<i),r+=1;var a=32-de(t)+i;if(30<a){var s=i-i%5;return a=(n&(1<<s)-1).toString(32),n>>=s,i-=s,{id:1<<32-de(t)+i|r<<i|n,overflow:a+e}}return{id:1<<a|r<<i|n,overflow:e}}var de=Math.clz32?Math.clz32:function(e){return 0==(e>>>=0)?32:31-(fe(e)/he|0)|0},fe=Math.log,he=Math.LN2,me="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},ge=null,ye=null,ve=null,be=null,xe=!1,we=!1,Ee=0,ke=null,Se=0;function Ce(){if(null===ge)throw Error(i(321));return ge}function Ae(){if(0<Se)throw Error(i(312));return{memoizedState:null,queue:null,next:null}}function Pe(){return null===be?null===ve?(xe=!1,ve=be=Ae()):(xe=!0,be=ve):null===be.next?(xe=!1,be=be.next=Ae()):(xe=!0,be=be.next),be}function _e(){ye=ge=null,we=!1,ve=null,Se=0,be=ke=null}function Te(e,t){return"function"==typeof t?t(e):t}function Ie(e,t,r){if(ge=Ce(),be=Pe(),xe){var n=be.queue;if(t=n.dispatch,null!==ke&&void 0!==(r=ke.get(n))){ke.delete(n),n=be.memoizedState;do{n=e(n,r.action),r=r.next}while(null!==r);return be.memoizedState=n,[n,t]}return[be.memoizedState,t]}return e=e===Te?"function"==typeof t?t():t:void 0!==r?r(t):t,be.memoizedState=e,e=(e=be.queue={last:null,dispatch:null}).dispatch=Me.bind(null,ge,e),[be.memoizedState,e]}function Fe(e,t){if(ge=Ce(),t=void 0===t?null:t,null!==(be=Pe())){var r=be.memoizedState;if(null!==r&&null!==t){var n=r[1];e:if(null===n)n=!1;else{for(var i=0;i<n.length&&i<t.length;i++)if(!me(t[i],n[i])){n=!1;break e}n=!0}if(n)return r[0]}}return e=e(),be.memoizedState=[e,t],e}function Me(e,t,r){if(25<=Se)throw Error(i(301));if(e===ge)if(we=!0,e={action:r,next:null},null===ke&&(ke=new Map),void 0===(r=ke.get(t)))ke.set(t,e);else{for(t=r;null!==t.next;)t=t.next;t.next=e}}function De(){throw Error(i(394))}function Re(){}var Le={readContext:function(e){return e._currentValue2},useContext:function(e){return Ce(),e._currentValue2},useMemo:Fe,useReducer:Ie,useRef:function(e){ge=Ce();var t=(be=Pe()).memoizedState;return null===t?(e={current:e},be.memoizedState=e):t},useState:function(e){return Ie(Te,e)},useInsertionEffect:Re,useLayoutEffect:function(){},useCallback:function(e,t){return Fe((function(){return e}),t)},useImperativeHandle:Re,useEffect:Re,useDebugValue:Re,useDeferredValue:function(e){return Ce(),e},useTransition:function(){return Ce(),[!1,De]},useId:function(){var e=ye.treeContext,t=e.overflow;e=((e=e.id)&~(1<<32-de(e)-1)).toString(32)+t;var r=Oe;if(null===r)throw Error(i(404));return t=Ee++,e=":"+r.idPrefix+"R"+e,0<t&&(e+="H"+t.toString(32)),e+":"},useMutableSource:function(e,t){return Ce(),t(e._source)},useSyncExternalStore:function(e,t,r){if(void 0===r)throw Error(i(407));return r()}},Oe=null,Ve=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;function Ne(e){return console.error(e),null}function Be(){}function je(e,t,r,n,i,a,s,o){e.allPendingTasks++,null===r?e.pendingRootTasks++:r.pendingTasks++;var l={node:t,ping:function(){var t=e.pingedTasks;t.push(l),1===t.length&&tt(e)},blockedBoundary:r,blockedSegment:n,abortSet:i,legacyContext:a,context:s,treeContext:o};return i.add(l),l}function ze(e,t,r,n,i,a){return{status:0,id:-1,index:t,parentFlushed:!1,chunks:[],children:[],formatContext:n,boundary:r,lastPushedText:i,textEmbedded:a}}function He(e,t){if(null!=(e=e.onError(t))&&"string"!=typeof e)throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof e+'" instead');return e}function Ge(e,t){var r=e.onShellError;r(t),(r=e.onFatalError)(t),null!==e.destination?(e.status=2,e.destination.destroy(t)):(e.status=1,e.fatalError=t)}function We(e,t,r,n,i){for(ge={},ye=t,Ee=0,e=r(n,i);we;)we=!1,Ee=0,Se+=1,be=null,e=r(n,i);return _e(),e}function qe(e,t,r,n){var a=r.render(),s=n.childContextTypes;if(null!=s){var o=t.legacyContext;if("function"!=typeof r.getChildContext)n=o;else{for(var l in r=r.getChildContext())if(!(l in s))throw Error(i(108,Z(n)||"Unknown",l));n=R({},o,r)}t.legacyContext=n,Qe(e,t,a),t.legacyContext=o}else Qe(e,t,a)}function Ue(e,t){if(e&&e.defaultProps){for(var r in t=R({},t),e=e.defaultProps)void 0===t[r]&&(t[r]=e[r]);return t}return t}function Xe(e,t,r,s,o){if("function"==typeof r)if(r.prototype&&r.prototype.isReactComponent){o=ee(r,t.legacyContext);var l=r.contextType;ce(l=new r(s,"object"==typeof l&&null!==l?l._currentValue2:o),r,s,o),qe(e,t,l,r)}else{o=We(e,t,r,s,l=ee(r,t.legacyContext));var u=0!==Ee;if("object"==typeof o&&null!==o&&"function"==typeof o.render&&void 0===o.$$typeof)ce(o,r,s,l),qe(e,t,o,r);else if(u){s=t.treeContext,t.treeContext=pe(s,1,0);try{Qe(e,t,o)}finally{t.treeContext=s}}else Qe(e,t,o)}else{if("string"!=typeof r){switch(r){case $:case Q:case N:case B:case V:case W:return void Qe(e,t,s.children);case X:throw Error(i(343));case G:e:{r=t.blockedBoundary,o=t.blockedSegment,l=s.fallback,s=s.children;var p={id:null,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:u=new Set,errorDigest:null},d=ze(0,o.chunks.length,p,o.formatContext,!1,!1);o.children.push(d),o.lastPushedText=!1;var f=ze(0,0,null,o.formatContext,!1,!1);f.parentFlushed=!0,t.blockedBoundary=p,t.blockedSegment=f;try{if(Je(e,t,s),e.responseState.generateStaticMarkup||f.lastPushedText&&f.textEmbedded&&f.chunks.push("\x3c!-- --\x3e"),f.status=1,Ke(p,f),0===p.pendingTasks)break e}catch(t){f.status=4,p.forceClientRender=!0,p.errorDigest=He(e,t)}finally{t.blockedBoundary=r,t.blockedSegment=o}t=je(e,l,r,d,u,t.legacyContext,t.context,t.treeContext),e.pingedTasks.push(t)}return}if("object"==typeof r&&null!==r)switch(r.$$typeof){case H:if(s=We(e,t,r.render,s,o),0!==Ee){r=t.treeContext,t.treeContext=pe(r,1,0);try{Qe(e,t,s)}finally{t.treeContext=r}}else Qe(e,t,s);return;case q:return void Xe(e,t,r=r.type,s=Ue(r,s),o);case j:if(o=s.children,r=r._context,s=s.value,l=r._currentValue2,r._currentValue2=s,te=s={parent:u=te,depth:null===u?0:u.depth+1,context:r,parentValue:l,value:s},t.context=s,Qe(e,t,o),null===(e=te))throw Error(i(403));return s=e.parentValue,e.context._currentValue2=s===J?e.context._defaultValue:s,e=te=e.parent,void(t.context=e);case z:return void Qe(e,t,s=(s=s.children)(r._currentValue2));case U:return void Xe(e,t,r=(o=r._init)(r._payload),s=Ue(r,s),void 0)}throw Error(i(130,null==r?r:typeof r,""))}switch(l=function(e,t,r,s,o){switch(t){case"select":e.push(T("select"));var l=null,u=null;for(h in r)if(a.call(r,h)){var p=r[h];if(null!=p)switch(h){case"children":l=p;break;case"dangerouslySetInnerHTML":u=p;break;case"defaultValue":case"value":break;default:S(e,s,h,p)}}return e.push(">"),C(e,u,l),l;case"option":u=o.selectedValue,e.push(T("option"));var d=p=null,f=null,h=null;for(l in r)if(a.call(r,l)){var m=r[l];if(null!=m)switch(l){case"children":p=m;break;case"selected":f=m;break;case"dangerouslySetInnerHTML":h=m;break;case"value":d=m;default:S(e,s,l,m)}}if(null!=u)if(r=null!==d?""+d:function(e){var t="";return n.Children.forEach(e,(function(e){null!=e&&(t+=e)})),t}(p),x(u)){for(s=0;s<u.length;s++)if(""+u[s]===r){e.push(' selected=""');break}}else""+u===r&&e.push(' selected=""');else f&&e.push(' selected=""');return e.push(">"),C(e,h,p),p;case"textarea":for(p in e.push(T("textarea")),h=u=l=null,r)if(a.call(r,p)&&null!=(d=r[p]))switch(p){case"children":h=d;break;case"value":l=d;break;case"defaultValue":u=d;break;case"dangerouslySetInnerHTML":throw Error(i(91));default:S(e,s,p,d)}if(null===l&&null!==u&&(l=u),e.push(">"),null!=h){if(null!=l)throw Error(i(92));if(x(h)&&1<h.length)throw Error(i(93));l=""+h}return"string"==typeof l&&"\n"===l[0]&&e.push("\n"),null!==l&&e.push(y(""+l)),null;case"input":for(u in e.push(T("input")),d=h=p=l=null,r)if(a.call(r,u)&&null!=(f=r[u]))switch(u){case"children":case"dangerouslySetInnerHTML":throw Error(i(399,"input"));case"defaultChecked":d=f;break;case"defaultValue":p=f;break;case"checked":h=f;break;case"value":l=f;break;default:S(e,s,u,f)}return null!==h?S(e,s,"checked",h):null!==d&&S(e,s,"checked",d),null!==l?S(e,s,"value",l):null!==p&&S(e,s,"value",p),e.push("/>"),null;case"menuitem":for(var g in e.push(T("menuitem")),r)if(a.call(r,g)&&null!=(l=r[g]))switch(g){case"children":case"dangerouslySetInnerHTML":throw Error(i(400));default:S(e,s,g,l)}return e.push(">"),null;case"title":for(m in e.push(T("title")),l=null,r)if(a.call(r,m)&&null!=(u=r[m]))switch(m){case"children":l=u;break;case"dangerouslySetInnerHTML":throw Error(i(434));default:S(e,s,m,u)}return e.push(">"),l;case"listing":case"pre":for(d in e.push(T(t)),u=l=null,r)if(a.call(r,d)&&null!=(p=r[d]))switch(d){case"children":l=p;break;case"dangerouslySetInnerHTML":u=p;break;default:S(e,s,d,p)}if(e.push(">"),null!=u){if(null!=l)throw Error(i(60));if("object"!=typeof u||!("__html"in u))throw Error(i(61));null!=(r=u.__html)&&("string"==typeof r&&0<r.length&&"\n"===r[0]?e.push("\n",r):e.push(""+r))}return"string"==typeof l&&"\n"===l[0]&&e.push("\n"),l;case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":for(var v in e.push(T(t)),r)if(a.call(r,v)&&null!=(l=r[v]))switch(v){case"children":case"dangerouslySetInnerHTML":throw Error(i(399,t));default:S(e,s,v,l)}return e.push("/>"),null;case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return A(e,r,t,s);case"html":return 0===o.insertionMode&&e.push("<!DOCTYPE html>"),A(e,r,t,s);default:if(-1===t.indexOf("-")&&"string"!=typeof r.is)return A(e,r,t,s);for(f in e.push(T(t)),u=l=null,r)if(a.call(r,f)&&null!=(p=r[f]))switch(f){case"children":l=p;break;case"dangerouslySetInnerHTML":u=p;break;case"style":k(e,s,p);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:c(f)&&"function"!=typeof p&&"symbol"!=typeof p&&e.push(" ",f,'="',y(p),'"')}return e.push(">"),C(e,u,l),l}}((o=t.blockedSegment).chunks,r,s,e.responseState,o.formatContext),o.lastPushedText=!1,u=o.formatContext,o.formatContext=function(e,t,r){switch(t){case"select":return w(1,null!=r.value?r.value:r.defaultValue);case"svg":return w(2,null);case"math":return w(3,null);case"foreignObject":return w(1,null);case"table":return w(4,null);case"thead":case"tbody":case"tfoot":return w(5,null);case"colgroup":return w(7,null);case"tr":return w(6,null)}return 4<=e.insertionMode||0===e.insertionMode?w(1,null):e}(u,r,s),Je(e,t,l),o.formatContext=u,r){case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"input":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":break;default:o.chunks.push("</",r,">")}o.lastPushedText=!1}}function Qe(e,t,r){if(t.node=r,"object"==typeof r&&null!==r){switch(r.$$typeof){case L:return void Xe(e,t,r.type,r.props,r.ref);case O:throw Error(i(257));case U:var n=r._init;return void Qe(e,t,r=n(r._payload))}if(x(r))return void $e(e,t,r);if((n=null===r||"object"!=typeof r?null:"function"==typeof(n=Y&&r[Y]||r["@@iterator"])?n:null)&&(n=n.call(r))){if(!(r=n.next()).done){var a=[];do{a.push(r.value),r=n.next()}while(!r.done);$e(e,t,a)}return}throw e=Object.prototype.toString.call(r),Error(i(31,"[object Object]"===e?"object with keys {"+Object.keys(r).join(", ")+"}":e))}"string"==typeof r?(n=t.blockedSegment).lastPushedText=D(t.blockedSegment.chunks,r,e.responseState,n.lastPushedText):"number"==typeof r&&((n=t.blockedSegment).lastPushedText=D(t.blockedSegment.chunks,""+r,e.responseState,n.lastPushedText))}function $e(e,t,r){for(var n=r.length,i=0;i<n;i++){var a=t.treeContext;t.treeContext=pe(a,n,i);try{Je(e,t,r[i])}finally{t.treeContext=a}}}function Je(e,t,r){var n=t.blockedSegment.formatContext,i=t.legacyContext,a=t.context;try{return Qe(e,t,r)}catch(l){if(_e(),"object"!=typeof l||null===l||"function"!=typeof l.then)throw t.blockedSegment.formatContext=n,t.legacyContext=i,t.context=a,oe(a),l;r=l;var s=t.blockedSegment,o=ze(0,s.chunks.length,null,s.formatContext,s.lastPushedText,!0);s.children.push(o),s.lastPushedText=!1,e=je(e,t.node,t.blockedBoundary,o,t.abortSet,t.legacyContext,t.context,t.treeContext).ping,r.then(e,e),t.blockedSegment.formatContext=n,t.legacyContext=i,t.context=a,oe(a)}}function Ye(e){var t=e.blockedBoundary;(e=e.blockedSegment).status=3,et(this,t,e)}function Ze(e,t,r){var n=e.blockedBoundary;e.blockedSegment.status=3,null===n?(t.allPendingTasks--,2!==t.status&&(t.status=2,null!==t.destination&&t.destination.push(null))):(n.pendingTasks--,n.forceClientRender||(n.forceClientRender=!0,e=void 0===r?Error(i(432)):r,n.errorDigest=t.onError(e),n.parentFlushed&&t.clientRenderedBoundaries.push(n)),n.fallbackAbortableTasks.forEach((function(e){return Ze(e,t,r)})),n.fallbackAbortableTasks.clear(),t.allPendingTasks--,0===t.allPendingTasks&&(n=t.onAllReady)())}function Ke(e,t){if(0===t.chunks.length&&1===t.children.length&&null===t.children[0].boundary){var r=t.children[0];r.id=t.id,r.parentFlushed=!0,1===r.status&&Ke(e,r)}else e.completedSegments.push(t)}function et(e,t,r){if(null===t){if(r.parentFlushed){if(null!==e.completedRootSegment)throw Error(i(389));e.completedRootSegment=r}e.pendingRootTasks--,0===e.pendingRootTasks&&(e.onShellError=Be,(t=e.onShellReady)())}else t.pendingTasks--,t.forceClientRender||(0===t.pendingTasks?(r.parentFlushed&&1===r.status&&Ke(t,r),t.parentFlushed&&e.completedBoundaries.push(t),t.fallbackAbortableTasks.forEach(Ye,e),t.fallbackAbortableTasks.clear()):r.parentFlushed&&1===r.status&&(Ke(t,r),1===t.completedSegments.length&&t.parentFlushed&&e.partialBoundaries.push(t)));e.allPendingTasks--,0===e.allPendingTasks&&(e=e.onAllReady)()}function tt(e){if(2!==e.status){var t=te,r=Ve.current;Ve.current=Le;var n=Oe;Oe=e.responseState;try{var i,a=e.pingedTasks;for(i=0;i<a.length;i++){var s=a[i],o=e,l=s.blockedSegment;if(0===l.status){oe(s.context);try{Qe(o,s,s.node),o.responseState.generateStaticMarkup||l.lastPushedText&&l.textEmbedded&&l.chunks.push("\x3c!-- --\x3e"),s.abortSet.delete(s),l.status=1,et(o,s.blockedBoundary,l)}catch(e){if(_e(),"object"==typeof e&&null!==e&&"function"==typeof e.then){var c=s.ping;e.then(c,c)}else{s.abortSet.delete(s),l.status=4;var u=s.blockedBoundary,p=e,d=He(o,p);null===u?Ge(o,p):(u.pendingTasks--,u.forceClientRender||(u.forceClientRender=!0,u.errorDigest=d,u.parentFlushed&&o.clientRenderedBoundaries.push(u))),o.allPendingTasks--,0===o.allPendingTasks&&(0,o.onAllReady)()}}}}a.splice(0,i),null!==e.destination&&ot(e,e.destination)}catch(t){He(e,t),Ge(e,t)}finally{Oe=n,Ve.current=r,r===Le&&oe(t)}}}function rt(e,t,r){switch(r.parentFlushed=!0,r.status){case 0:var n=r.id=e.nextSegmentId++;return r.lastPushedText=!1,r.textEmbedded=!1,e=e.responseState,t.push('<template id="'),t.push(e.placeholderPrefix),e=n.toString(16),t.push(e),t.push('"></template>');case 1:r.status=2;var a=!0;n=r.chunks;var s=0;r=r.children;for(var o=0;o<r.length;o++){for(a=r[o];s<a.index;s++)t.push(n[s]);a=nt(e,t,a)}for(;s<n.length-1;s++)t.push(n[s]);return s<n.length&&(a=t.push(n[s])),a;default:throw Error(i(390))}}function nt(e,t,r){var n=r.boundary;if(null===n)return rt(e,t,r);if(n.parentFlushed=!0,n.forceClientRender)return e.responseState.generateStaticMarkup||(n=n.errorDigest,t.push("\x3c!--$!--\x3e"),t.push("<template"),n&&(t.push(' data-dgst="'),n=y(n),t.push(n),t.push('"')),t.push("></template>")),rt(e,t,r),!!e.responseState.generateStaticMarkup||t.push("\x3c!--/$--\x3e");if(0<n.pendingTasks){n.rootSegmentID=e.nextSegmentId++,0<n.completedSegments.length&&e.partialBoundaries.push(n);var a=e.responseState,s=a.nextSuspenseID++;return a=a.boundaryPrefix+s.toString(16),n=n.id=a,I(t,e.responseState,n),rt(e,t,r),t.push("\x3c!--/$--\x3e")}if(n.byteSize>e.progressiveChunkSize)return n.rootSegmentID=e.nextSegmentId++,e.completedBoundaries.push(n),I(t,e.responseState,n.id),rt(e,t,r),t.push("\x3c!--/$--\x3e");if(e.responseState.generateStaticMarkup||t.push("\x3c!--$--\x3e"),1!==(r=n.completedSegments).length)throw Error(i(391));return nt(e,t,r[0]),!!e.responseState.generateStaticMarkup||t.push("\x3c!--/$--\x3e")}function it(e,t,r){return function(e,t,r,n){switch(r.insertionMode){case 0:case 1:return e.push('<div hidden id="'),e.push(t.segmentPrefix),t=n.toString(16),e.push(t),e.push('">');case 2:return e.push('<svg aria-hidden="true" style="display:none" id="'),e.push(t.segmentPrefix),t=n.toString(16),e.push(t),e.push('">');case 3:return e.push('<math aria-hidden="true" style="display:none" id="'),e.push(t.segmentPrefix),t=n.toString(16),e.push(t),e.push('">');case 4:return e.push('<table hidden id="'),e.push(t.segmentPrefix),t=n.toString(16),e.push(t),e.push('">');case 5:return e.push('<table hidden><tbody id="'),e.push(t.segmentPrefix),t=n.toString(16),e.push(t),e.push('">');case 6:return e.push('<table hidden><tr id="'),e.push(t.segmentPrefix),t=n.toString(16),e.push(t),e.push('">');case 7:return e.push('<table hidden><colgroup id="'),e.push(t.segmentPrefix),t=n.toString(16),e.push(t),e.push('">');default:throw Error(i(397))}}(t,e.responseState,r.formatContext,r.id),nt(e,t,r),function(e,t){switch(t.insertionMode){case 0:case 1:return e.push("</div>");case 2:return e.push("</svg>");case 3:return e.push("</math>");case 4:return e.push("</table>");case 5:return e.push("</tbody></table>");case 6:return e.push("</tr></table>");case 7:return e.push("</colgroup></table>");default:throw Error(i(397))}}(t,r.formatContext)}function at(e,t,r){for(var n=r.completedSegments,a=0;a<n.length;a++)st(e,t,r,n[a]);if(n.length=0,e=e.responseState,n=r.id,r=r.rootSegmentID,t.push(e.startInlineScript),e.sentCompleteBoundaryFunction?t.push('$RC("'):(e.sentCompleteBoundaryFunction=!0,t.push('function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d)if(0===e)break;else e--;else"$"!==d&&"$?"!==d&&"$!"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data="$";a._reactRetry&&a._reactRetry()}};$RC("')),null===n)throw Error(i(395));return r=r.toString(16),t.push(n),t.push('","'),t.push(e.segmentPrefix),t.push(r),t.push('")<\/script>')}function st(e,t,r,n){if(2===n.status)return!0;var a=n.id;if(-1===a){if(-1===(n.id=r.rootSegmentID))throw Error(i(392));return it(e,t,n)}return it(e,t,n),e=e.responseState,t.push(e.startInlineScript),e.sentCompleteSegmentFunction?t.push('$RS("'):(e.sentCompleteSegmentFunction=!0,t.push('function $RS(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("')),t.push(e.segmentPrefix),a=a.toString(16),t.push(a),t.push('","'),t.push(e.placeholderPrefix),t.push(a),t.push('")<\/script>')}function ot(e,t){try{var r=e.completedRootSegment;if(null!==r&&0===e.pendingRootTasks){nt(e,t,r),e.completedRootSegment=null;var n=e.responseState.bootstrapChunks;for(r=0;r<n.length-1;r++)t.push(n[r]);r<n.length&&t.push(n[r])}var a,s=e.clientRenderedBoundaries;for(a=0;a<s.length;a++){var o=s[a];n=t;var l=e.responseState,c=o.id,u=o.errorDigest,p=o.errorMessage,d=o.errorComponentStack;if(n.push(l.startInlineScript),l.sentClientRenderFunction?n.push('$RX("'):(l.sentClientRenderFunction=!0,n.push('function $RX(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())};$RX("')),null===c)throw Error(i(395));if(n.push(c),n.push('"'),u||p||d){n.push(",");var f=M(u||"");n.push(f)}if(p||d){n.push(",");var h=M(p||"");n.push(h)}if(d){n.push(",");var m=M(d);n.push(m)}if(!n.push(")<\/script>"))return e.destination=null,a++,void s.splice(0,a)}s.splice(0,a);var g=e.completedBoundaries;for(a=0;a<g.length;a++)if(!at(e,t,g[a]))return e.destination=null,a++,void g.splice(0,a);g.splice(0,a);var y=e.partialBoundaries;for(a=0;a<y.length;a++){var v=y[a];e:{s=e,o=t;var b=v.completedSegments;for(l=0;l<b.length;l++)if(!st(s,o,v,b[l])){l++,b.splice(0,l);var x=!1;break e}b.splice(0,l),x=!0}if(!x)return e.destination=null,a++,void y.splice(0,a)}y.splice(0,a);var w=e.completedBoundaries;for(a=0;a<w.length;a++)if(!at(e,t,w[a]))return e.destination=null,a++,void w.splice(0,a);w.splice(0,a)}finally{0===e.allPendingTasks&&0===e.pingedTasks.length&&0===e.clientRenderedBoundaries.length&&0===e.completedBoundaries.length&&t.push(null)}}function lt(e,t){try{var r=e.abortableTasks;r.forEach((function(r){return Ze(r,e,t)})),r.clear(),null!==e.destination&&ot(e,e.destination)}catch(t){He(e,t),Ge(e,t)}}function ct(){}function ut(e,t,r,n){var a=!1,s=null,o="",l={push:function(e){return null!==e&&(o+=e),!0},destroy:function(e){a=!0,s=e}},c=!1;if(e=function(e,t,r,n,i,a,s,o,l){var c=[],u=new Set;return(r=ze(t={destination:null,responseState:t,progressiveChunkSize:n,status:0,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:u,pingedTasks:c,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:void 0===i?Ne:i,onAllReady:Be,onShellReady:void 0===s?Be:s,onShellError:Be,onFatalError:Be},0,null,r,!1,!1)).parentFlushed=!0,e=je(t,e,null,r,u,K,null,ue),c.push(e),t}(e,function(e,t){return{bootstrapChunks:[],startInlineScript:"<script>",placeholderPrefix:(t=void 0===t?"":t)+"P:",segmentPrefix:t+"S:",boundaryPrefix:t+"B:",idPrefix:t,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1,generateStaticMarkup:e}}(r,t?t.identifierPrefix:void 0),{insertionMode:1,selectedValue:null},1/0,ct,0,(function(){c=!0})),tt(e),lt(e,n),1===e.status)e.status=2,l.destroy(e.fatalError);else if(2!==e.status&&null===e.destination){e.destination=l;try{ot(e,l)}catch(t){He(e,t),Ge(e,t)}}if(a)throw s;if(!c)throw Error(i(426));return o}t.renderToNodeStream=function(){throw Error(i(207))},t.renderToStaticMarkup=function(e,t){return ut(e,t,!0,'The server used "renderToStaticMarkup" which does not support Suspense. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server')},t.renderToStaticNodeStream=function(){throw Error(i(208))},t.renderToString=function(e,t){return ut(e,t,!1,'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server')},t.version="18.2.0"},2911:(e,t,r)=>{"use strict";var n=r(1609);function i(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=1;r<arguments.length;r++)t+="&args[]="+encodeURIComponent(arguments[r]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var a=null,s=0;function o(e,t){if(0!==t.length)if(512<t.length)0<s&&(e.enqueue(new Uint8Array(a.buffer,0,s)),a=new Uint8Array(512),s=0),e.enqueue(t);else{var r=a.length-s;r<t.length&&(0===r?e.enqueue(a):(a.set(t.subarray(0,r),s),e.enqueue(a),t=t.subarray(r)),a=new Uint8Array(512),s=0),a.set(t,s),s+=t.length}}function l(e,t){return o(e,t),!0}function c(e){a&&0<s&&(e.enqueue(new Uint8Array(a.buffer,0,s)),a=null,s=0)}var u=new TextEncoder;function p(e){return u.encode(e)}function d(e){return u.encode(e)}function f(e,t){"function"==typeof e.error?e.error(t):e.close()}var h=Object.prototype.hasOwnProperty,m=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,g={},y={};function v(e){return!!h.call(y,e)||!h.call(g,e)&&(m.test(e)?y[e]=!0:(g[e]=!0,!1))}function b(e,t,r,n,i,a,s){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=n,this.attributeNamespace=i,this.mustUseProperty=r,this.propertyName=e,this.type=t,this.sanitizeURL=a,this.removeEmptyString=s}var x={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){x[e]=new b(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];x[t]=new b(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){x[e]=new b(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){x[e]=new b(e,2,!1,e,null,!1,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){x[e]=new b(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){x[e]=new b(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){x[e]=new b(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){x[e]=new b(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){x[e]=new b(e,5,!1,e.toLowerCase(),null,!1,!1)}));var w=/[\-:]([a-z])/g;function E(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(w,E);x[t]=new b(t,1,!1,e,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(w,E);x[t]=new b(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(w,E);x[t]=new b(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){x[e]=new b(e,1,!1,e.toLowerCase(),null,!1,!1)})),x.xlinkHref=new b("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){x[e]=new b(e,1,!1,e.toLowerCase(),null,!0,!0)}));var k={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},S=["Webkit","ms","Moz","O"];Object.keys(k).forEach((function(e){S.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),k[t]=k[e]}))}));var C=/["'&<>]/;function A(e){if("boolean"==typeof e||"number"==typeof e)return""+e;e=""+e;var t=C.exec(e);if(t){var r,n="",i=0;for(r=t.index;r<e.length;r++){switch(e.charCodeAt(r)){case 34:t=""";break;case 38:t="&";break;case 39:t="'";break;case 60:t="<";break;case 62:t=">";break;default:continue}i!==r&&(n+=e.substring(i,r)),i=r+1,n+=t}e=i!==r?n+e.substring(i,r):n}return e}var P=/([A-Z])/g,_=/^ms-/,T=Array.isArray,I=d("<script>"),F=d("<\/script>"),M=d('<script src="'),D=d('<script type="module" src="'),R=d('" async=""><\/script>'),L=/(<\/|<)(s)(cript)/gi;function O(e,t,r,n){return t+("s"===r?"\\u0073":"\\u0053")+n}function V(e,t){return{insertionMode:e,selectedValue:t}}var N=d("\x3c!-- --\x3e");function B(e,t,r,n){return""===t?n:(n&&e.push(N),e.push(p(A(t))),!0)}var j=new Map,z=d(' style="'),H=d(":"),G=d(";");function W(e,t,r){if("object"!=typeof r)throw Error(i(62));for(var n in t=!0,r)if(h.call(r,n)){var a=r[n];if(null!=a&&"boolean"!=typeof a&&""!==a){if(0===n.indexOf("--")){var s=p(A(n));a=p(A((""+a).trim()))}else{s=n;var o=j.get(s);void 0!==o||(o=d(A(s.replace(P,"-$1").toLowerCase().replace(_,"-ms-"))),j.set(s,o)),s=o,a="number"==typeof a?0===a||h.call(k,n)?p(""+a):p(a+"px"):p(A((""+a).trim()))}t?(t=!1,e.push(z,s,H,a)):e.push(G,s,H,a)}}t||e.push(X)}var q=d(" "),U=d('="'),X=d('"'),Q=d('=""');function $(e,t,r,n){switch(r){case"style":return void W(e,t,n);case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(2<r.length)||"o"!==r[0]&&"O"!==r[0]||"n"!==r[1]&&"N"!==r[1])if(null!==(t=x.hasOwnProperty(r)?x[r]:null)){switch(typeof n){case"function":case"symbol":return;case"boolean":if(!t.acceptsBooleans)return}switch(r=p(t.attributeName),t.type){case 3:n&&e.push(q,r,Q);break;case 4:!0===n?e.push(q,r,Q):!1!==n&&e.push(q,r,U,p(A(n)),X);break;case 5:isNaN(n)||e.push(q,r,U,p(A(n)),X);break;case 6:!isNaN(n)&&1<=n&&e.push(q,r,U,p(A(n)),X);break;default:t.sanitizeURL&&(n=""+n),e.push(q,r,U,p(A(n)),X)}}else if(v(r)){switch(typeof n){case"function":case"symbol":return;case"boolean":if("data-"!==(t=r.toLowerCase().slice(0,5))&&"aria-"!==t)return}e.push(q,p(r),U,p(A(n)),X)}}var J=d(">"),Y=d("/>");function Z(e,t,r){if(null!=t){if(null!=r)throw Error(i(60));if("object"!=typeof t||!("__html"in t))throw Error(i(61));null!=(t=t.__html)&&e.push(p(""+t))}}var K=d(' selected=""');function ee(e,t,r,n){e.push(ie(r));var i,a=r=null;for(i in t)if(h.call(t,i)){var s=t[i];if(null!=s)switch(i){case"children":r=s;break;case"dangerouslySetInnerHTML":a=s;break;default:$(e,n,i,s)}}return e.push(J),Z(e,a,r),"string"==typeof r?(e.push(p(A(r))),null):r}var te=d("\n"),re=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,ne=new Map;function ie(e){var t=ne.get(e);if(void 0===t){if(!re.test(e))throw Error(i(65,e));t=d("<"+e),ne.set(e,t)}return t}var ae=d("<!DOCTYPE html>");var se=d("</"),oe=d(">"),le=d('<template id="'),ce=d('"></template>'),ue=d("\x3c!--$--\x3e"),pe=d('\x3c!--$?--\x3e<template id="'),de=d('"></template>'),fe=d("\x3c!--$!--\x3e"),he=d("\x3c!--/$--\x3e"),me=d("<template"),ge=d('"'),ye=d(' data-dgst="');d(' data-msg="'),d(' data-stck="');var ve=d("></template>");function be(e,t,r){if(o(e,pe),null===r)throw Error(i(395));return o(e,r),l(e,de)}var xe=d('<div hidden id="'),we=d('">'),Ee=d("</div>"),ke=d('<svg aria-hidden="true" style="display:none" id="'),Se=d('">'),Ce=d("</svg>"),Ae=d('<math aria-hidden="true" style="display:none" id="'),Pe=d('">'),_e=d("</math>"),Te=d('<table hidden id="'),Ie=d('">'),Fe=d("</table>"),Me=d('<table hidden><tbody id="'),De=d('">'),Re=d("</tbody></table>"),Le=d('<table hidden><tr id="'),Oe=d('">'),Ve=d("</tr></table>"),Ne=d('<table hidden><colgroup id="'),Be=d('">'),je=d("</colgroup></table>"),ze=d('function $RS(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("'),He=d('$RS("'),Ge=d('","'),We=d('")<\/script>'),qe=d('function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d)if(0===e)break;else e--;else"$"!==d&&"$?"!==d&&"$!"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data="$";a._reactRetry&&a._reactRetry()}};$RC("'),Ue=d('$RC("'),Xe=d('","'),Qe=d('")<\/script>'),$e=d('function $RX(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())};$RX("'),Je=d('$RX("'),Ye=d('"'),Ze=d(")<\/script>"),Ke=d(","),et=/[<\u2028\u2029]/g;function tt(e){return JSON.stringify(e).replace(et,(function(e){switch(e){case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}}))}var rt=Object.assign,nt=Symbol.for("react.element"),it=Symbol.for("react.portal"),at=Symbol.for("react.fragment"),st=Symbol.for("react.strict_mode"),ot=Symbol.for("react.profiler"),lt=Symbol.for("react.provider"),ct=Symbol.for("react.context"),ut=Symbol.for("react.forward_ref"),pt=Symbol.for("react.suspense"),dt=Symbol.for("react.suspense_list"),ft=Symbol.for("react.memo"),ht=Symbol.for("react.lazy"),mt=Symbol.for("react.scope"),gt=Symbol.for("react.debug_trace_mode"),yt=Symbol.for("react.legacy_hidden"),vt=Symbol.for("react.default_value"),bt=Symbol.iterator;function xt(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case at:return"Fragment";case it:return"Portal";case ot:return"Profiler";case st:return"StrictMode";case pt:return"Suspense";case dt:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case ct:return(e.displayName||"Context")+".Consumer";case lt:return(e._context.displayName||"Context")+".Provider";case ut:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case ft:return null!==(t=e.displayName||null)?t:xt(e.type)||"Memo";case ht:t=e._payload,e=e._init;try{return xt(e(t))}catch(e){}}return null}var wt={};function Et(e,t){if(!(e=e.contextTypes))return wt;var r,n={};for(r in e)n[r]=t[r];return n}var kt=null;function St(e,t){if(e!==t){e.context._currentValue=e.parentValue,e=e.parent;var r=t.parent;if(null===e){if(null!==r)throw Error(i(401))}else{if(null===r)throw Error(i(401));St(e,r)}t.context._currentValue=t.value}}function Ct(e){e.context._currentValue=e.parentValue,null!==(e=e.parent)&&Ct(e)}function At(e){var t=e.parent;null!==t&&At(t),e.context._currentValue=e.value}function Pt(e,t){if(e.context._currentValue=e.parentValue,null===(e=e.parent))throw Error(i(402));e.depth===t.depth?St(e,t):Pt(e,t)}function _t(e,t){var r=t.parent;if(null===r)throw Error(i(402));e.depth===r.depth?St(e,r):_t(e,r),t.context._currentValue=t.value}function Tt(e){var t=kt;t!==e&&(null===t?At(e):null===e?Ct(t):t.depth===e.depth?St(t,e):t.depth>e.depth?Pt(t,e):_t(t,e),kt=e)}var It={isMounted:function(){return!1},enqueueSetState:function(e,t){null!==(e=e._reactInternals).queue&&e.queue.push(t)},enqueueReplaceState:function(e,t){(e=e._reactInternals).replace=!0,e.queue=[t]},enqueueForceUpdate:function(){}};function Ft(e,t,r,n){var i=void 0!==e.state?e.state:null;e.updater=It,e.props=r,e.state=i;var a={queue:[],replace:!1};e._reactInternals=a;var s=t.contextType;if(e.context="object"==typeof s&&null!==s?s._currentValue:n,"function"==typeof(s=t.getDerivedStateFromProps)&&(i=null==(s=s(r,i))?i:rt({},i,s),e.state=i),"function"!=typeof t.getDerivedStateFromProps&&"function"!=typeof e.getSnapshotBeforeUpdate&&("function"==typeof e.UNSAFE_componentWillMount||"function"==typeof e.componentWillMount))if(t=e.state,"function"==typeof e.componentWillMount&&e.componentWillMount(),"function"==typeof e.UNSAFE_componentWillMount&&e.UNSAFE_componentWillMount(),t!==e.state&&It.enqueueReplaceState(e,e.state,null),null!==a.queue&&0<a.queue.length)if(t=a.queue,s=a.replace,a.queue=null,a.replace=!1,s&&1===t.length)e.state=t[0];else{for(a=s?t[0]:e.state,i=!0,s=s?1:0;s<t.length;s++){var o=t[s];null!=(o="function"==typeof o?o.call(e,a,r,n):o)&&(i?(i=!1,a=rt({},a,o)):rt(a,o))}e.state=a}else a.queue=null}var Mt={id:1,overflow:""};function Dt(e,t,r){var n=e.id;e=e.overflow;var i=32-Rt(n)-1;n&=~(1<<i),r+=1;var a=32-Rt(t)+i;if(30<a){var s=i-i%5;return a=(n&(1<<s)-1).toString(32),n>>=s,i-=s,{id:1<<32-Rt(t)+i|r<<i|n,overflow:a+e}}return{id:1<<a|r<<i|n,overflow:e}}var Rt=Math.clz32?Math.clz32:function(e){return 0==(e>>>=0)?32:31-(Lt(e)/Ot|0)|0},Lt=Math.log,Ot=Math.LN2,Vt="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},Nt=null,Bt=null,jt=null,zt=null,Ht=!1,Gt=!1,Wt=0,qt=null,Ut=0;function Xt(){if(null===Nt)throw Error(i(321));return Nt}function Qt(){if(0<Ut)throw Error(i(312));return{memoizedState:null,queue:null,next:null}}function $t(){return null===zt?null===jt?(Ht=!1,jt=zt=Qt()):(Ht=!0,zt=jt):null===zt.next?(Ht=!1,zt=zt.next=Qt()):(Ht=!0,zt=zt.next),zt}function Jt(){Bt=Nt=null,Gt=!1,jt=null,Ut=0,zt=qt=null}function Yt(e,t){return"function"==typeof t?t(e):t}function Zt(e,t,r){if(Nt=Xt(),zt=$t(),Ht){var n=zt.queue;if(t=n.dispatch,null!==qt&&void 0!==(r=qt.get(n))){qt.delete(n),n=zt.memoizedState;do{n=e(n,r.action),r=r.next}while(null!==r);return zt.memoizedState=n,[n,t]}return[zt.memoizedState,t]}return e=e===Yt?"function"==typeof t?t():t:void 0!==r?r(t):t,zt.memoizedState=e,e=(e=zt.queue={last:null,dispatch:null}).dispatch=er.bind(null,Nt,e),[zt.memoizedState,e]}function Kt(e,t){if(Nt=Xt(),t=void 0===t?null:t,null!==(zt=$t())){var r=zt.memoizedState;if(null!==r&&null!==t){var n=r[1];e:if(null===n)n=!1;else{for(var i=0;i<n.length&&i<t.length;i++)if(!Vt(t[i],n[i])){n=!1;break e}n=!0}if(n)return r[0]}}return e=e(),zt.memoizedState=[e,t],e}function er(e,t,r){if(25<=Ut)throw Error(i(301));if(e===Nt)if(Gt=!0,e={action:r,next:null},null===qt&&(qt=new Map),void 0===(r=qt.get(t)))qt.set(t,e);else{for(t=r;null!==t.next;)t=t.next;t.next=e}}function tr(){throw Error(i(394))}function rr(){}var nr={readContext:function(e){return e._currentValue},useContext:function(e){return Xt(),e._currentValue},useMemo:Kt,useReducer:Zt,useRef:function(e){Nt=Xt();var t=(zt=$t()).memoizedState;return null===t?(e={current:e},zt.memoizedState=e):t},useState:function(e){return Zt(Yt,e)},useInsertionEffect:rr,useLayoutEffect:function(){},useCallback:function(e,t){return Kt((function(){return e}),t)},useImperativeHandle:rr,useEffect:rr,useDebugValue:rr,useDeferredValue:function(e){return Xt(),e},useTransition:function(){return Xt(),[!1,tr]},useId:function(){var e=Bt.treeContext,t=e.overflow;e=((e=e.id)&~(1<<32-Rt(e)-1)).toString(32)+t;var r=ir;if(null===r)throw Error(i(404));return t=Wt++,e=":"+r.idPrefix+"R"+e,0<t&&(e+="H"+t.toString(32)),e+":"},useMutableSource:function(e,t){return Xt(),t(e._source)},useSyncExternalStore:function(e,t,r){if(void 0===r)throw Error(i(407));return r()}},ir=null,ar=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;function sr(e){return console.error(e),null}function or(){}function lr(e,t,r,n,i,a,s,o){e.allPendingTasks++,null===r?e.pendingRootTasks++:r.pendingTasks++;var l={node:t,ping:function(){var t=e.pingedTasks;t.push(l),1===t.length&&kr(e)},blockedBoundary:r,blockedSegment:n,abortSet:i,legacyContext:a,context:s,treeContext:o};return i.add(l),l}function cr(e,t,r,n,i,a){return{status:0,id:-1,index:t,parentFlushed:!1,chunks:[],children:[],formatContext:n,boundary:r,lastPushedText:i,textEmbedded:a}}function ur(e,t){if(null!=(e=e.onError(t))&&"string"!=typeof e)throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof e+'" instead');return e}function pr(e,t){var r=e.onShellError;r(t),(r=e.onFatalError)(t),null!==e.destination?(e.status=2,f(e.destination,t)):(e.status=1,e.fatalError=t)}function dr(e,t,r,n,i){for(Nt={},Bt=t,Wt=0,e=r(n,i);Gt;)Gt=!1,Wt=0,Ut+=1,zt=null,e=r(n,i);return Jt(),e}function fr(e,t,r,n){var a=r.render(),s=n.childContextTypes;if(null!=s){var o=t.legacyContext;if("function"!=typeof r.getChildContext)n=o;else{for(var l in r=r.getChildContext())if(!(l in s))throw Error(i(108,xt(n)||"Unknown",l));n=rt({},o,r)}t.legacyContext=n,gr(e,t,a),t.legacyContext=o}else gr(e,t,a)}function hr(e,t){if(e&&e.defaultProps){for(var r in t=rt({},t),e=e.defaultProps)void 0===t[r]&&(t[r]=e[r]);return t}return t}function mr(e,t,r,a,s){if("function"==typeof r)if(r.prototype&&r.prototype.isReactComponent){s=Et(r,t.legacyContext);var o=r.contextType;Ft(o=new r(a,"object"==typeof o&&null!==o?o._currentValue:s),r,a,s),fr(e,t,o,r)}else{s=dr(e,t,r,a,o=Et(r,t.legacyContext));var l=0!==Wt;if("object"==typeof s&&null!==s&&"function"==typeof s.render&&void 0===s.$$typeof)Ft(s,r,a,o),fr(e,t,s,r);else if(l){a=t.treeContext,t.treeContext=Dt(a,1,0);try{gr(e,t,s)}finally{t.treeContext=a}}else gr(e,t,s)}else{if("string"!=typeof r){switch(r){case yt:case gt:case st:case ot:case at:case dt:return void gr(e,t,a.children);case mt:throw Error(i(343));case pt:e:{r=t.blockedBoundary,s=t.blockedSegment,o=a.fallback,a=a.children;var c={id:null,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:l=new Set,errorDigest:null},u=cr(0,s.chunks.length,c,s.formatContext,!1,!1);s.children.push(u),s.lastPushedText=!1;var d=cr(0,0,null,s.formatContext,!1,!1);d.parentFlushed=!0,t.blockedBoundary=c,t.blockedSegment=d;try{if(vr(e,t,a),d.lastPushedText&&d.textEmbedded&&d.chunks.push(N),d.status=1,wr(c,d),0===c.pendingTasks)break e}catch(t){d.status=4,c.forceClientRender=!0,c.errorDigest=ur(e,t)}finally{t.blockedBoundary=r,t.blockedSegment=s}t=lr(e,o,r,u,l,t.legacyContext,t.context,t.treeContext),e.pingedTasks.push(t)}return}if("object"==typeof r&&null!==r)switch(r.$$typeof){case ut:if(a=dr(e,t,r.render,a,s),0!==Wt){r=t.treeContext,t.treeContext=Dt(r,1,0);try{gr(e,t,a)}finally{t.treeContext=r}}else gr(e,t,a);return;case ft:return void mr(e,t,r=r.type,a=hr(r,a),s);case lt:if(s=a.children,r=r._context,a=a.value,o=r._currentValue,r._currentValue=a,kt=a={parent:l=kt,depth:null===l?0:l.depth+1,context:r,parentValue:o,value:a},t.context=a,gr(e,t,s),null===(e=kt))throw Error(i(403));return a=e.parentValue,e.context._currentValue=a===vt?e.context._defaultValue:a,e=kt=e.parent,void(t.context=e);case ct:return void gr(e,t,a=(a=a.children)(r._currentValue));case ht:return void mr(e,t,r=(s=r._init)(r._payload),a=hr(r,a),void 0)}throw Error(i(130,null==r?r:typeof r,""))}switch(o=function(e,t,r,a,s){switch(t){case"select":e.push(ie("select"));var o=null,l=null;for(f in r)if(h.call(r,f)){var c=r[f];if(null!=c)switch(f){case"children":o=c;break;case"dangerouslySetInnerHTML":l=c;break;case"defaultValue":case"value":break;default:$(e,a,f,c)}}return e.push(J),Z(e,l,o),o;case"option":l=s.selectedValue,e.push(ie("option"));var u=c=null,d=null,f=null;for(o in r)if(h.call(r,o)){var m=r[o];if(null!=m)switch(o){case"children":c=m;break;case"selected":d=m;break;case"dangerouslySetInnerHTML":f=m;break;case"value":u=m;default:$(e,a,o,m)}}if(null!=l)if(r=null!==u?""+u:function(e){var t="";return n.Children.forEach(e,(function(e){null!=e&&(t+=e)})),t}(c),T(l)){for(a=0;a<l.length;a++)if(""+l[a]===r){e.push(K);break}}else""+l===r&&e.push(K);else d&&e.push(K);return e.push(J),Z(e,f,c),c;case"textarea":for(c in e.push(ie("textarea")),f=l=o=null,r)if(h.call(r,c)&&null!=(u=r[c]))switch(c){case"children":f=u;break;case"value":o=u;break;case"defaultValue":l=u;break;case"dangerouslySetInnerHTML":throw Error(i(91));default:$(e,a,c,u)}if(null===o&&null!==l&&(o=l),e.push(J),null!=f){if(null!=o)throw Error(i(92));if(T(f)&&1<f.length)throw Error(i(93));o=""+f}return"string"==typeof o&&"\n"===o[0]&&e.push(te),null!==o&&e.push(p(A(""+o))),null;case"input":for(l in e.push(ie("input")),u=f=c=o=null,r)if(h.call(r,l)&&null!=(d=r[l]))switch(l){case"children":case"dangerouslySetInnerHTML":throw Error(i(399,"input"));case"defaultChecked":u=d;break;case"defaultValue":c=d;break;case"checked":f=d;break;case"value":o=d;break;default:$(e,a,l,d)}return null!==f?$(e,a,"checked",f):null!==u&&$(e,a,"checked",u),null!==o?$(e,a,"value",o):null!==c&&$(e,a,"value",c),e.push(Y),null;case"menuitem":for(var g in e.push(ie("menuitem")),r)if(h.call(r,g)&&null!=(o=r[g]))switch(g){case"children":case"dangerouslySetInnerHTML":throw Error(i(400));default:$(e,a,g,o)}return e.push(J),null;case"title":for(m in e.push(ie("title")),o=null,r)if(h.call(r,m)&&null!=(l=r[m]))switch(m){case"children":o=l;break;case"dangerouslySetInnerHTML":throw Error(i(434));default:$(e,a,m,l)}return e.push(J),o;case"listing":case"pre":for(u in e.push(ie(t)),l=o=null,r)if(h.call(r,u)&&null!=(c=r[u]))switch(u){case"children":o=c;break;case"dangerouslySetInnerHTML":l=c;break;default:$(e,a,u,c)}if(e.push(J),null!=l){if(null!=o)throw Error(i(60));if("object"!=typeof l||!("__html"in l))throw Error(i(61));null!=(r=l.__html)&&("string"==typeof r&&0<r.length&&"\n"===r[0]?e.push(te,p(r)):e.push(p(""+r)))}return"string"==typeof o&&"\n"===o[0]&&e.push(te),o;case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":for(var y in e.push(ie(t)),r)if(h.call(r,y)&&null!=(o=r[y]))switch(y){case"children":case"dangerouslySetInnerHTML":throw Error(i(399,t));default:$(e,a,y,o)}return e.push(Y),null;case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return ee(e,r,t,a);case"html":return 0===s.insertionMode&&e.push(ae),ee(e,r,t,a);default:if(-1===t.indexOf("-")&&"string"!=typeof r.is)return ee(e,r,t,a);for(d in e.push(ie(t)),l=o=null,r)if(h.call(r,d)&&null!=(c=r[d]))switch(d){case"children":o=c;break;case"dangerouslySetInnerHTML":l=c;break;case"style":W(e,a,c);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:v(d)&&"function"!=typeof c&&"symbol"!=typeof c&&e.push(q,p(d),U,p(A(c)),X)}return e.push(J),Z(e,l,o),o}}((s=t.blockedSegment).chunks,r,a,e.responseState,s.formatContext),s.lastPushedText=!1,l=s.formatContext,s.formatContext=function(e,t,r){switch(t){case"select":return V(1,null!=r.value?r.value:r.defaultValue);case"svg":return V(2,null);case"math":return V(3,null);case"foreignObject":return V(1,null);case"table":return V(4,null);case"thead":case"tbody":case"tfoot":return V(5,null);case"colgroup":return V(7,null);case"tr":return V(6,null)}return 4<=e.insertionMode||0===e.insertionMode?V(1,null):e}(l,r,a),vr(e,t,o),s.formatContext=l,r){case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"input":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":break;default:s.chunks.push(se,p(r),oe)}s.lastPushedText=!1}}function gr(e,t,r){if(t.node=r,"object"==typeof r&&null!==r){switch(r.$$typeof){case nt:return void mr(e,t,r.type,r.props,r.ref);case it:throw Error(i(257));case ht:var n=r._init;return void gr(e,t,r=n(r._payload))}if(T(r))return void yr(e,t,r);if((n=null===r||"object"!=typeof r?null:"function"==typeof(n=bt&&r[bt]||r["@@iterator"])?n:null)&&(n=n.call(r))){if(!(r=n.next()).done){var a=[];do{a.push(r.value),r=n.next()}while(!r.done);yr(e,t,a)}return}throw e=Object.prototype.toString.call(r),Error(i(31,"[object Object]"===e?"object with keys {"+Object.keys(r).join(", ")+"}":e))}"string"==typeof r?(n=t.blockedSegment).lastPushedText=B(t.blockedSegment.chunks,r,e.responseState,n.lastPushedText):"number"==typeof r&&((n=t.blockedSegment).lastPushedText=B(t.blockedSegment.chunks,""+r,e.responseState,n.lastPushedText))}function yr(e,t,r){for(var n=r.length,i=0;i<n;i++){var a=t.treeContext;t.treeContext=Dt(a,n,i);try{vr(e,t,r[i])}finally{t.treeContext=a}}}function vr(e,t,r){var n=t.blockedSegment.formatContext,i=t.legacyContext,a=t.context;try{return gr(e,t,r)}catch(l){if(Jt(),"object"!=typeof l||null===l||"function"!=typeof l.then)throw t.blockedSegment.formatContext=n,t.legacyContext=i,t.context=a,Tt(a),l;r=l;var s=t.blockedSegment,o=cr(0,s.chunks.length,null,s.formatContext,s.lastPushedText,!0);s.children.push(o),s.lastPushedText=!1,e=lr(e,t.node,t.blockedBoundary,o,t.abortSet,t.legacyContext,t.context,t.treeContext).ping,r.then(e,e),t.blockedSegment.formatContext=n,t.legacyContext=i,t.context=a,Tt(a)}}function br(e){var t=e.blockedBoundary;(e=e.blockedSegment).status=3,Er(this,t,e)}function xr(e,t,r){var n=e.blockedBoundary;e.blockedSegment.status=3,null===n?(t.allPendingTasks--,2!==t.status&&(t.status=2,null!==t.destination&&t.destination.close())):(n.pendingTasks--,n.forceClientRender||(n.forceClientRender=!0,e=void 0===r?Error(i(432)):r,n.errorDigest=t.onError(e),n.parentFlushed&&t.clientRenderedBoundaries.push(n)),n.fallbackAbortableTasks.forEach((function(e){return xr(e,t,r)})),n.fallbackAbortableTasks.clear(),t.allPendingTasks--,0===t.allPendingTasks&&(n=t.onAllReady)())}function wr(e,t){if(0===t.chunks.length&&1===t.children.length&&null===t.children[0].boundary){var r=t.children[0];r.id=t.id,r.parentFlushed=!0,1===r.status&&wr(e,r)}else e.completedSegments.push(t)}function Er(e,t,r){if(null===t){if(r.parentFlushed){if(null!==e.completedRootSegment)throw Error(i(389));e.completedRootSegment=r}e.pendingRootTasks--,0===e.pendingRootTasks&&(e.onShellError=or,(t=e.onShellReady)())}else t.pendingTasks--,t.forceClientRender||(0===t.pendingTasks?(r.parentFlushed&&1===r.status&&wr(t,r),t.parentFlushed&&e.completedBoundaries.push(t),t.fallbackAbortableTasks.forEach(br,e),t.fallbackAbortableTasks.clear()):r.parentFlushed&&1===r.status&&(wr(t,r),1===t.completedSegments.length&&t.parentFlushed&&e.partialBoundaries.push(t)));e.allPendingTasks--,0===e.allPendingTasks&&(e=e.onAllReady)()}function kr(e){if(2!==e.status){var t=kt,r=ar.current;ar.current=nr;var n=ir;ir=e.responseState;try{var i,a=e.pingedTasks;for(i=0;i<a.length;i++){var s=a[i],o=e,l=s.blockedSegment;if(0===l.status){Tt(s.context);try{gr(o,s,s.node),l.lastPushedText&&l.textEmbedded&&l.chunks.push(N),s.abortSet.delete(s),l.status=1,Er(o,s.blockedBoundary,l)}catch(e){if(Jt(),"object"==typeof e&&null!==e&&"function"==typeof e.then){var c=s.ping;e.then(c,c)}else{s.abortSet.delete(s),l.status=4;var u=s.blockedBoundary,p=e,d=ur(o,p);null===u?pr(o,p):(u.pendingTasks--,u.forceClientRender||(u.forceClientRender=!0,u.errorDigest=d,u.parentFlushed&&o.clientRenderedBoundaries.push(u))),o.allPendingTasks--,0===o.allPendingTasks&&(0,o.onAllReady)()}}}}a.splice(0,i),null!==e.destination&&Tr(e,e.destination)}catch(t){ur(e,t),pr(e,t)}finally{ir=n,ar.current=r,r===nr&&Tt(t)}}}function Sr(e,t,r){switch(r.parentFlushed=!0,r.status){case 0:var n=r.id=e.nextSegmentId++;return r.lastPushedText=!1,r.textEmbedded=!1,e=e.responseState,o(t,le),o(t,e.placeholderPrefix),o(t,e=p(n.toString(16))),l(t,ce);case 1:r.status=2;var a=!0;n=r.chunks;var s=0;r=r.children;for(var c=0;c<r.length;c++){for(a=r[c];s<a.index;s++)o(t,n[s]);a=Cr(e,t,a)}for(;s<n.length-1;s++)o(t,n[s]);return s<n.length&&(a=l(t,n[s])),a;default:throw Error(i(390))}}function Cr(e,t,r){var n=r.boundary;if(null===n)return Sr(e,t,r);if(n.parentFlushed=!0,n.forceClientRender)n=n.errorDigest,l(t,fe),o(t,me),n&&(o(t,ye),o(t,p(A(n))),o(t,ge)),l(t,ve),Sr(e,t,r);else if(0<n.pendingTasks){n.rootSegmentID=e.nextSegmentId++,0<n.completedSegments.length&&e.partialBoundaries.push(n);var a=e.responseState,s=a.nextSuspenseID++;a=d(a.boundaryPrefix+s.toString(16)),n=n.id=a,be(t,e.responseState,n),Sr(e,t,r)}else if(n.byteSize>e.progressiveChunkSize)n.rootSegmentID=e.nextSegmentId++,e.completedBoundaries.push(n),be(t,e.responseState,n.id),Sr(e,t,r);else{if(l(t,ue),1!==(r=n.completedSegments).length)throw Error(i(391));Cr(e,t,r[0])}return l(t,he)}function Ar(e,t,r){return function(e,t,r,n){switch(r.insertionMode){case 0:case 1:return o(e,xe),o(e,t.segmentPrefix),o(e,p(n.toString(16))),l(e,we);case 2:return o(e,ke),o(e,t.segmentPrefix),o(e,p(n.toString(16))),l(e,Se);case 3:return o(e,Ae),o(e,t.segmentPrefix),o(e,p(n.toString(16))),l(e,Pe);case 4:return o(e,Te),o(e,t.segmentPrefix),o(e,p(n.toString(16))),l(e,Ie);case 5:return o(e,Me),o(e,t.segmentPrefix),o(e,p(n.toString(16))),l(e,De);case 6:return o(e,Le),o(e,t.segmentPrefix),o(e,p(n.toString(16))),l(e,Oe);case 7:return o(e,Ne),o(e,t.segmentPrefix),o(e,p(n.toString(16))),l(e,Be);default:throw Error(i(397))}}(t,e.responseState,r.formatContext,r.id),Cr(e,t,r),function(e,t){switch(t.insertionMode){case 0:case 1:return l(e,Ee);case 2:return l(e,Ce);case 3:return l(e,_e);case 4:return l(e,Fe);case 5:return l(e,Re);case 6:return l(e,Ve);case 7:return l(e,je);default:throw Error(i(397))}}(t,r.formatContext)}function Pr(e,t,r){for(var n=r.completedSegments,a=0;a<n.length;a++)_r(e,t,r,n[a]);if(n.length=0,e=e.responseState,n=r.id,r=r.rootSegmentID,o(t,e.startInlineScript),e.sentCompleteBoundaryFunction?o(t,Ue):(e.sentCompleteBoundaryFunction=!0,o(t,qe)),null===n)throw Error(i(395));return r=p(r.toString(16)),o(t,n),o(t,Xe),o(t,e.segmentPrefix),o(t,r),l(t,Qe)}function _r(e,t,r,n){if(2===n.status)return!0;var a=n.id;if(-1===a){if(-1===(n.id=r.rootSegmentID))throw Error(i(392));return Ar(e,t,n)}return Ar(e,t,n),o(t,(e=e.responseState).startInlineScript),e.sentCompleteSegmentFunction?o(t,He):(e.sentCompleteSegmentFunction=!0,o(t,ze)),o(t,e.segmentPrefix),o(t,a=p(a.toString(16))),o(t,Ge),o(t,e.placeholderPrefix),o(t,a),l(t,We)}function Tr(e,t){a=new Uint8Array(512),s=0;try{var r=e.completedRootSegment;if(null!==r&&0===e.pendingRootTasks){Cr(e,t,r),e.completedRootSegment=null;var n=e.responseState.bootstrapChunks;for(r=0;r<n.length-1;r++)o(t,n[r]);r<n.length&&l(t,n[r])}var u,d=e.clientRenderedBoundaries;for(u=0;u<d.length;u++){var f=d[u];n=t;var h=e.responseState,m=f.id,g=f.errorDigest,y=f.errorMessage,v=f.errorComponentStack;if(o(n,h.startInlineScript),h.sentClientRenderFunction?o(n,Je):(h.sentClientRenderFunction=!0,o(n,$e)),null===m)throw Error(i(395));if(o(n,m),o(n,Ye),(g||y||v)&&(o(n,Ke),o(n,p(tt(g||"")))),(y||v)&&(o(n,Ke),o(n,p(tt(y||"")))),v&&(o(n,Ke),o(n,p(tt(v)))),!l(n,Ze))return e.destination=null,u++,void d.splice(0,u)}d.splice(0,u);var b=e.completedBoundaries;for(u=0;u<b.length;u++)if(!Pr(e,t,b[u]))return e.destination=null,u++,void b.splice(0,u);b.splice(0,u),c(t),a=new Uint8Array(512),s=0;var x=e.partialBoundaries;for(u=0;u<x.length;u++){var w=x[u];e:{d=e,f=t;var E=w.completedSegments;for(h=0;h<E.length;h++)if(!_r(d,f,w,E[h])){h++,E.splice(0,h);var k=!1;break e}E.splice(0,h),k=!0}if(!k)return e.destination=null,u++,void x.splice(0,u)}x.splice(0,u);var S=e.completedBoundaries;for(u=0;u<S.length;u++)if(!Pr(e,t,S[u]))return e.destination=null,u++,void S.splice(0,u);S.splice(0,u)}finally{c(t),0===e.allPendingTasks&&0===e.pingedTasks.length&&0===e.clientRenderedBoundaries.length&&0===e.completedBoundaries.length&&t.close()}}function Ir(e,t){try{var r=e.abortableTasks;r.forEach((function(r){return xr(r,e,t)})),r.clear(),null!==e.destination&&Tr(e,e.destination)}catch(t){ur(e,t),pr(e,t)}}t.renderToReadableStream=function(e,t){return new Promise((function(r,n){var i,a,s=new Promise((function(e,t){a=e,i=t})),o=function(e,t,r,n,i,a,s,o,l){var c=[],u=new Set;return(r=cr(t={destination:null,responseState:t,progressiveChunkSize:void 0===n?12800:n,status:0,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:u,pingedTasks:c,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:void 0===i?sr:i,onAllReady:void 0===a?or:a,onShellReady:void 0===s?or:s,onShellError:void 0===o?or:o,onFatalError:void 0===l?or:l},0,null,r,!1,!1)).parentFlushed=!0,e=lr(t,e,null,r,u,wt,null,Mt),c.push(e),t}(e,function(e,t,r,n,i){e=void 0===e?"":e,t=void 0===t?I:d('<script nonce="'+A(t)+'">');var a=[];if(void 0!==r&&a.push(t,p((""+r).replace(L,O)),F),void 0!==n)for(r=0;r<n.length;r++)a.push(M,p(A(n[r])),R);if(void 0!==i)for(n=0;n<i.length;n++)a.push(D,p(A(i[n])),R);return{bootstrapChunks:a,startInlineScript:t,placeholderPrefix:d(e+"P:"),segmentPrefix:d(e+"S:"),boundaryPrefix:e+"B:",idPrefix:e,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1}}(t?t.identifierPrefix:void 0,t?t.nonce:void 0,t?t.bootstrapScriptContent:void 0,t?t.bootstrapScripts:void 0,t?t.bootstrapModules:void 0),function(e){return V("http://www.w3.org/2000/svg"===e?2:"http://www.w3.org/1998/Math/MathML"===e?3:0,null)}(t?t.namespaceURI:void 0),t?t.progressiveChunkSize:void 0,t?t.onError:void 0,a,(function(){var e=new ReadableStream({type:"bytes",pull:function(e){if(1===o.status)o.status=2,f(e,o.fatalError);else if(2!==o.status&&null===o.destination){o.destination=e;try{Tr(o,e)}catch(e){ur(o,e),pr(o,e)}}},cancel:function(){Ir(o)}},{highWaterMark:0});e.allReady=s,r(e)}),(function(e){s.catch((function(){})),n(e)}),i);if(t&&t.signal){var l=t.signal,c=function(){Ir(o,l.reason),l.removeEventListener("abort",c)};l.addEventListener("abort",c)}kr(o)}))},t.version="18.2.0"},5848:(e,t,r)=>{"use strict";var n,i;n=r(7633),i=r(2911),n.version,t.F0=n.renderToString,n.renderToStaticMarkup,n.renderToNodeStream,n.renderToStaticNodeStream,i.renderToReadableStream},2799:(e,t)=>{"use strict";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");var r=Symbol.for("react.forward_ref"),n=(Symbol.for("react.suspense"),Symbol.for("react.suspense_list"),Symbol.for("react.memo"));Symbol.for("react.lazy"),Symbol.for("react.offscreen");Symbol.for("react.module.reference"),t.ForwardRef=r,t.Memo=n},4363:(e,t,r)=>{"use strict";e.exports=r(2799)},1020:(e,t,r)=>{"use strict";var n=r(1609),i=Symbol.for("react.element"),a=(Symbol.for("react.fragment"),Object.prototype.hasOwnProperty),s=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,o={key:!0,ref:!0,__self:!0,__source:!0};t.jsx=function(e,t,r){var n,l={},c=null,u=null;for(n in void 0!==r&&(c=""+r),void 0!==t.key&&(c=""+t.key),void 0!==t.ref&&(u=t.ref),t)a.call(t,n)&&!o.hasOwnProperty(n)&&(l[n]=t[n]);if(e&&e.defaultProps)for(n in t=e.defaultProps)void 0===l[n]&&(l[n]=t[n]);return{$$typeof:i,type:e,key:c,ref:u,props:l,_owner:s.current}}},4848:(e,t,r)=>{"use strict";e.exports=r(1020)},3885:(e,t,r)=>{"use strict";e.exports=r(9844)()},9844:e=>{"use strict";function t(e){return e instanceof Buffer?Buffer.from(e):new e.constructor(e.buffer.slice(),e.byteOffset,e.length)}e.exports=function(e){return(e=e||{}).circles?function(e){var r=[],n=[];return e.proto?function e(a){if("object"!=typeof a||null===a)return a;if(a instanceof Date)return new Date(a);if(Array.isArray(a))return i(a,e);if(a instanceof Map)return new Map(i(Array.from(a),e));if(a instanceof Set)return new Set(i(Array.from(a),e));var s={};for(var o in r.push(a),n.push(s),a){var l=a[o];if("object"!=typeof l||null===l)s[o]=l;else if(l instanceof Date)s[o]=new Date(l);else if(l instanceof Map)s[o]=new Map(i(Array.from(l),e));else if(l instanceof Set)s[o]=new Set(i(Array.from(l),e));else if(ArrayBuffer.isView(l))s[o]=t(l);else{var c=r.indexOf(l);s[o]=-1!==c?n[c]:e(l)}}return r.pop(),n.pop(),s}:function e(a){if("object"!=typeof a||null===a)return a;if(a instanceof Date)return new Date(a);if(Array.isArray(a))return i(a,e);if(a instanceof Map)return new Map(i(Array.from(a),e));if(a instanceof Set)return new Set(i(Array.from(a),e));var s={};for(var o in r.push(a),n.push(s),a)if(!1!==Object.hasOwnProperty.call(a,o)){var l=a[o];if("object"!=typeof l||null===l)s[o]=l;else if(l instanceof Date)s[o]=new Date(l);else if(l instanceof Map)s[o]=new Map(i(Array.from(l),e));else if(l instanceof Set)s[o]=new Set(i(Array.from(l),e));else if(ArrayBuffer.isView(l))s[o]=t(l);else{var c=r.indexOf(l);s[o]=-1!==c?n[c]:e(l)}}return r.pop(),n.pop(),s};function i(e,i){for(var a=Object.keys(e),s=new Array(a.length),o=0;o<a.length;o++){var l=a[o],c=e[l];if("object"!=typeof c||null===c)s[l]=c;else if(c instanceof Date)s[l]=new Date(c);else if(ArrayBuffer.isView(c))s[l]=t(c);else{var u=r.indexOf(c);s[l]=-1!==u?n[u]:i(c)}}return s}}(e):e.proto?function e(n){if("object"!=typeof n||null===n)return n;if(n instanceof Date)return new Date(n);if(Array.isArray(n))return r(n,e);if(n instanceof Map)return new Map(r(Array.from(n),e));if(n instanceof Set)return new Set(r(Array.from(n),e));var i={};for(var a in n){var s=n[a];"object"!=typeof s||null===s?i[a]=s:s instanceof Date?i[a]=new Date(s):s instanceof Map?i[a]=new Map(r(Array.from(s),e)):s instanceof Set?i[a]=new Set(r(Array.from(s),e)):ArrayBuffer.isView(s)?i[a]=t(s):i[a]=e(s)}return i}:function e(n){if("object"!=typeof n||null===n)return n;if(n instanceof Date)return new Date(n);if(Array.isArray(n))return r(n,e);if(n instanceof Map)return new Map(r(Array.from(n),e));if(n instanceof Set)return new Set(r(Array.from(n),e));var i={};for(var a in n)if(!1!==Object.hasOwnProperty.call(n,a)){var s=n[a];"object"!=typeof s||null===s?i[a]=s:s instanceof Date?i[a]=new Date(s):s instanceof Map?i[a]=new Map(r(Array.from(s),e)):s instanceof Set?i[a]=new Set(r(Array.from(s),e)):ArrayBuffer.isView(s)?i[a]=t(s):i[a]=e(s)}return i};function r(e,r){for(var n=Object.keys(e),i=new Array(n.length),a=0;a<n.length;a++){var s=n[a],o=e[s];"object"!=typeof o||null===o?i[s]=o:o instanceof Date?i[s]=new Date(o):ArrayBuffer.isView(o)?i[s]=t(o):i[s]=r(o)}return i}}},2833:e=>{e.exports=function(e,t,r,n){var i=r?r.call(n,e,t):void 0;if(void 0!==i)return!!i;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var a=Object.keys(e),s=Object.keys(t);if(a.length!==s.length)return!1;for(var o=Object.prototype.hasOwnProperty.bind(t),l=0;l<a.length;l++){var c=a[l];if(!o(c))return!1;var u=e[c],p=t[c];if(!1===(i=r?r.call(n,u,p,c):void 0)||void 0===i&&u!==p)return!1}return!0}},1609:e=>{"use strict";e.exports=window.React},4634:e=>{function t(){return e.exports=t=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},e.exports.__esModule=!0,e.exports.default=e.exports,t.apply(this,arguments)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},4994:e=>{e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports},4893:e=>{e.exports=function(e,t){if(null==e)return{};var r,n,i={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(i[r]=e[r]);return i},e.exports.__esModule=!0,e.exports.default=e.exports},8168:(e,t,r)=>{"use strict";function n(){return n=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},n.apply(this,arguments)}r.d(t,{A:()=>n})},8587:(e,t,r)=>{"use strict";function n(e,t){if(null==e)return{};var r,n,i={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}r.d(t,{A:()=>n})}},__webpack_module_cache__={},deferred,leafPrototypes,getProto;function __webpack_require__(e){var t=__webpack_module_cache__[e];if(void 0!==t)return t.exports;var r=__webpack_module_cache__[e]={exports:{}};return __webpack_modules__[e].call(r.exports,r,r.exports,__webpack_require__),r.exports}__webpack_require__.m=__webpack_modules__,__webpack_require__.amdO={},deferred=[],__webpack_require__.O=(e,t,r,n)=>{if(!t){var i=1/0;for(l=0;l<deferred.length;l++){for(var[t,r,n]=deferred[l],a=!0,s=0;s<t.length;s++)(!1&n||i>=n)&&Object.keys(__webpack_require__.O).every((e=>__webpack_require__.O[e](t[s])))?t.splice(s--,1):(a=!1,n<i&&(i=n));if(a){deferred.splice(l--,1);var o=r();void 0!==o&&(e=o)}}return e}n=n||0;for(var l=deferred.length;l>0&&deferred[l-1][2]>n;l--)deferred[l]=deferred[l-1];deferred[l]=[t,r,n]},__webpack_require__.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return __webpack_require__.d(t,{a:t}),t},getProto=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,__webpack_require__.t=function(e,t){if(1&t&&(e=this(e)),8&t)return e;if("object"==typeof e&&e){if(4&t&&e.__esModule)return e;if(16&t&&"function"==typeof e.then)return e}var r=Object.create(null);__webpack_require__.r(r);var n={};leafPrototypes=leafPrototypes||[null,getProto({}),getProto([]),getProto(getProto)];for(var i=2&t&&e;"object"==typeof i&&!~leafPrototypes.indexOf(i);i=getProto(i))Object.getOwnPropertyNames(i).forEach((t=>n[t]=()=>e[t]));return n.default=()=>e,__webpack_require__.d(r,n),r},__webpack_require__.d=(e,t)=>{for(var r in t)__webpack_require__.o(t,r)&&!__webpack_require__.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},__webpack_require__.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),__webpack_require__.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),__webpack_require__.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e;__webpack_require__.g.importScripts&&(e=__webpack_require__.g.location+"");var t=__webpack_require__.g.document;if(!e&&t&&(t.currentScript&&(e=t.currentScript.src),!e)){var r=t.getElementsByTagName("script");if(r.length)for(var n=r.length-1;n>-1&&(!e||!/^http(s?):/.test(e));)e=r[n--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),__webpack_require__.p=e})(),(()=>{var e={792:0,85:0};__webpack_require__.O.j=t=>0===e[t];var t=(t,r)=>{var n,i,[a,s,o]=r,l=0;if(a.some((t=>0!==e[t]))){for(n in s)__webpack_require__.o(s,n)&&(__webpack_require__.m[n]=s[n]);if(o)var c=o(__webpack_require__)}for(t&&t(r);l<a.length;l++)i=a[l],__webpack_require__.o(e,i)&&e[i]&&e[i][0](),e[i]=0;return __webpack_require__.O(c)},r=globalThis.webpackChunkastra_sites=globalThis.webpackChunkastra_sites||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))})(),__webpack_require__.nc=void 0,__webpack_require__.O(void 0,[85],(()=>__webpack_require__(2476)));var __webpack_exports__=__webpack_require__.O(void 0,[85],(()=>__webpack_require__(94)));__webpack_exports__=__webpack_require__.O(__webpack_exports__)})();