diff --git a/assets/build/beaver-builder/index.min.css b/assets/build/beaver-builder/index.min.css index 63ecdd9b..d38acf1b 100644 --- a/assets/build/beaver-builder/index.min.css +++ b/assets/build/beaver-builder/index.min.css @@ -1,2 +1,2 @@ -@charset "UTF-8";.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-dynamic-text-input>.cm-editor .cm-content{padding:12px}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-dynamic-text-input>.cm-editor .cm-line{caret-color:#000}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-panel.tf-panel-open .tf-button-action.tf-panel-header{border-bottom:1px solid #e6eaed}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-panel.tf-panel-open .tf-panel-footer{border-top:1px solid #e6eaed}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-button-action,.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-button-danger,.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-button-primary{align-items:center;background:#e7ebef;border:2px solid transparent;border-radius:2px;color:#676f7a;display:flex;justify-content:center;width:-moz-fit-content;width:fit-content;fill:#676f7a;box-shadow:unset;cursor:pointer;font-family:var(--fl-builder-font-family);font-size:14px;font-style:normal;font-weight:500;height:29px;line-height:1;margin:0;padding:0 16px;text-align:center;transition-duration:.2s;transition-property:background-color,width}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-button-action:hover,.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-button-danger:hover,.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-button-primary:hover{background:#dadfe5;border-color:transparent;color:#676f7a}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-button-action:focus,.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-button-danger:focus,.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-button-primary:focus{background:#dadfe5;border-color:var(--fl-builder-accent-color,#00a0d2);color:#676f7a}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-button-danger{border-color:#cc1818;color:#cc1818}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-button-primary{background-color:#4b84ce;color:inherit}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-button-action[disabled],.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-button-danger[disabled],.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-button-icon-trash[disabled],.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-button-primary[disabled],.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-button-text-action[disabled],.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-button-text-danger[disabled],.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-button-text-primary[disabled]{cursor:not-allowed;opacity:.5;pointer-events:none}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-button-action:focus{outline:none}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-button-text-action,.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-button-text-danger,.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-button-text-primary{background:transparent;border:none;cursor:pointer;display:inline}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-button-text-action:hover,.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-button-text-danger:hover,.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-button-text-primary:hover{font-weight:700}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-button-text-action{color:#676f7a}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-button-text-danger{color:#cc1818}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-button-text-primary{color:#4b84ce}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-button-icon-trash{align-items:center;background:transparent;border:none;cursor:pointer;display:flex;height:36px;justify-content:center;width:36px}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-button-icon-trash:after{content:url('data:image/svg+xml;utf8,')}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-button-icon-eye{align-items:center;background:transparent;border:none;cursor:pointer;display:flex;height:36px;justify-content:center;width:36px}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-button-icon-eye:after{content:url('data:image/svg+xml;utf8,')}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-dialog .tf-title{display:flex}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-dialog .tf-title h4{margin:0;padding:12px 0}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-panel{background:#fff;border-radius:2px;box-shadow:0 2px 4px 0 rgba(0,0,0,.12);display:flex;flex-direction:column;margin-bottom:8px;width:100%}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-panel input,.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-panel select{border-color:#e6eaed!important;box-shadow:unset}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-panel-header{align-items:center;cursor:pointer;display:flex;height:36px;justify-content:space-between;width:100%}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-panel-header.tf-button-action{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:0;border-radius:0;box-sizing:border-box;color:inherit;cursor:pointer;display:flex;font-family:inherit;font-size:100%;height:36px;justify-content:space-between;line-height:1.15;margin:0;padding:8px 12px;text-align:left;width:100%}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-panel-header.tf-button-action:hover{background:#f0f0f0}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-panel-open .tf-panel-header.tf-button-action{border-bottom:1px solid #23282d}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-panel-header-before-title,.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-panel-header-left,.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-panel-header-right,.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-panel-header-title{align-items:center;display:flex;justify-content:flex-start;padding:0 12px}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-panel-header-left{padding-left:0}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-panel-content,.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-panel-footer{padding:4px 12px}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-panel-closed .tf-panel-content{display:none}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-panel-footer{border-top:1px solid #23282d;display:flex;gap:8px;justify-content:flex-end;padding:1em}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-panel-arrow{border:solid;border-color:inherit;border-width:0 1px 1px 0;display:inline-block;height:9px;width:9px}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-panel-open .tf-panel-arrow{transform:translateY(50%) rotate(-135deg)}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-panel-closed .tf-panel-arrow{transform:translateY(-50%) rotate(45deg)}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-description,.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-label{color:inherit;font-size:inherit;font-style:inherit;font-weight:inherit}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-list-box{background:#fff;list-style:none;margin:5px 0;max-height:300px;max-width:100%;min-width:100%;overflow-y:auto;padding:0}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-list-box-option{background:transparent;border-radius:2px;cursor:pointer;display:flex;font-size:13px;gap:8px;margin:0 5px;outline:none;padding:5px 9px}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-list-box-option:not(.tf-list-box-option-selected,.tf-list-box-option-disabled):hover{color:var(--fl-builder-accent-color,#00a0d2)}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-list-box-option-selected,.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-list-box-option-selected.tf-list-box-option-selected{background-color:var(--fl-builder-accent-color,#00a0d2);color:#fff}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-list-box-option-selected.tf-list-box-option-selected:hover,.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-list-box-option-selected:hover{color:#fff}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-list-box-option-selected.tf-list-box-option-selected:after,.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-list-box-option-selected:after{content:"✓";margin-left:auto}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-list-box-option-disabled{color:#aaa;cursor:default}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-list-box-option-focus{box-shadow:inset 0 0 0 2px;color:var(--fl-builder-accent-color,#00a0d2)}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-list-box-section-separator:not(:first-child){border-top:1px solid #8c8f94;margin:12px 0}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-list-box-section>span{color:#7d8690;display:block;font-size:11px;font-weight:500;line-height:1.45;margin:0 10px;padding:5px 9px;text-transform:uppercase}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-list-box-section>ul{list-style:none;padding:0}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-modal{align-items:center;background:rgba(0,0,0,.7);bottom:0;display:flex;justify-content:center;left:0;position:fixed;right:0;top:0;z-index:9990}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-modal .tf-modal-container{background:#fff;border:1px solid transparent;border-radius:2px;padding:2rem}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-modal-actions{display:flex;justify-content:flex-end;padding-top:12px}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-modal-actions button{margin-left:12px}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-notice{background:#fff;box-shadow:0 1px 1px rgba(0,0,0,.04);color:#000;margin-top:4px;padding:1px 12px}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-notice.tf-is-dismissible{padding-right:38px;position:relative}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-notice.tf-error{border-left:4px solid #d63638}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-notice.tf-success{border-left:4px solid #00a32a}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-notice.tf-warning{border-left-color:#dba617}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-notice.tf-info{border-left-color:#72aee6}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-notice-dismiss{background:none;border:none;color:#787c82;cursor:pointer;margin:0;padding:9px;position:absolute;right:1px;top:0}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-notice-dismiss:active:before,.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-notice-dismiss:focus:before,.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-notice-dismiss:hover:before{color:#d63638}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-notice-dismiss:focus{box-shadow:0 0 0 1px #4f94d4,0 0 2px 1px rgba(79,148,212,.8);outline:none}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-notice-dismiss:before{background:none;color:#787c82;content:"\f153";display:block;font:normal 16px/20px dashicons;height:20px;text-align:center;width:20px;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-underlay{inset:0;position:fixed}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-popover{background:#fff;color:inherit;z-index:9000000}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-tooltip-trigger-content{cursor:context-menu;position:relative;width:-moz-fit-content;width:fit-content}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-tooltip{cursor:default;display:inline-block;max-width:150px;position:absolute;visibility:hidden;width:-moz-max-content;width:max-content;z-index:1}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-tooltip-top{bottom:100%;left:50%;margin-bottom:12px;transform:translateX(-50%)}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-tooltip-bottom{left:50%;margin-top:12px;top:100%;transform:translateX(-50%)}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-tooltip-start{margin-right:12px;right:100%;top:50%;transform:translateY(-50%)}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-tooltip-end{left:100%;margin-left:12px;top:50%;transform:translateY(-50%)}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-tooltip-content{border-radius:3px;font-size:12px;padding:6px 12px;text-align:center;word-break:normal}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-tooltip-content.light{background-color:#e6e6e6;color:hsla(0,4%,5%,.945);--tf-tooltip-after-color:#e6e6e6}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-tooltip-content.dark{background-color:hsla(0,4%,5%,.945);color:#e6e6e6;--tf-tooltip-after-color:hsla(0,4%,5%,.945)}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-tooltip-content:after{border-style:solid;border-width:7px;content:" ";position:absolute}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-tooltip-content-top:after{border-color:var(--tf-tooltip-after-color,transparent) transparent transparent transparent;left:50%;margin-left:-7px;top:100%}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-tooltip-content-bottom:after{border-color:transparent transparent var(--tf-tooltip-after-color,transparent) transparent;bottom:100%;left:50%;margin-left:-7px}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-tooltip-content-start:after{border-color:transparent transparent transparent var(--tf-tooltip-after-color,transparent);left:100%;margin-top:-7px;top:50%}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-tooltip-content-end:after{border-color:transparent var(--tf-tooltip-after-color,transparent) transparent transparent;margin-top:-7px;right:100%;top:50%}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-tooltip-trigger-content:hover .tf-tooltip{visibility:visible}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-conditional-group-actions{align-items:center;display:flex;gap:8px;padding:8px 0}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-conditional-group-actions strong{text-transform:uppercase}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-conditional-panel-condition-actions{display:flex;gap:4px}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-conditional-panel-condition-actions .tf-button-action:first-child{text-transform:uppercase}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-conditional-panel-condition-actions .tf-button-danger:last-child{position:relative}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-conditional-panel-condition-actions .tf-button-danger:last-child:before{background-color:#cc1818;content:"";height:2px;position:absolute;width:100%;width:10px}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-accordion .tf-switch-element,.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-accordion .tf-switch-element-selected{transform:scale(.7)}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-alignment-matrix-container{display:grid;grid-template-columns:repeat(3,1fr);height:50px;margin:5px;width:50px}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-border-dimensions-container{margin:0 0 5px}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-button-group .tf-button-group-option{background:#e7ebef;border:2px solid transparent;border-radius:2px;color:#676f7a;fill:#676f7a;align-items:center;border-radius:0;box-shadow:unset;color:var(--fl-builder-accent-color,#00a0d2);cursor:pointer;display:inline-flex;font-family:var(--fl-builder-font-family);font-size:14px;font-style:normal;font-weight:500;height:29px;line-height:1;margin:0;padding:0 16px;text-align:center;transition-duration:.2s;transition-property:background-color,width}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-button-group .tf-button-group-option:hover{background:#dadfe5;border-color:transparent;color:#676f7a}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-button-group .tf-button-group-option:focus{background:#dadfe5;border-color:var(--fl-builder-accent-color,#00a0d2);color:#676f7a}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-button-group .tf-button-group-option:first-child{border-bottom-left-radius:2px;border-top-left-radius:2px}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-button-group .tf-button-group-option:not(:first-child){margin-left:-2px}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-button-group .tf-button-group-option:last-child{border-bottom-right-radius:2px;border-top-right-radius:2px}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-button-group .tf-button-group-option.tf-button-group-option-selected{background:var(--fl-builder-accent-color,#00a0d2);border-color:var(--fl-builder-accent-color,#00a0d2);color:#fff}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-button-group .tf-button-group-option:focus-within{position:relative;z-index:1}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-button-group .tf-button-group-option .dashicons{align-items:center;display:flex;justify-content:center}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-button-group-container[aria-disabled=true] .tf-button-group-option{opacity:.5;pointer-events:none}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-checkbox .tf-label{font-size:13px;font-weight:400;margin-bottom:revert;text-transform:none}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-checkbox input[type=checkbox]{border:1px solid;border-color:inherit;border-radius:2px;box-shadow:0 0 0 transparent;margin-right:revert}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-checkbox input[type=checkbox]:focus{border-color:var(--fl-builder-accent-color,#00a0d2)}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-checkbox input[type=checkbox]:checked{background:var(--fl-builder-accent-color,#00a0d2);border-color:var(--fl-builder-accent-color,#00a0d2);color:#fff}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-checkbox input[type=checkbox]:checked:before{content:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGFyaWEtaGlkZGVuPSJ0cnVlIiBjbGFzcz0iY29tcG9uZW50cy1jaGVja2JveC1jb250cm9sX19jaGVja2VkIiB2aWV3Qm94PSIwIDAgMjQgMjQiPjxwYXRoIGZpbGw9IiNmZmYiIGQ9Im0xNi43IDcuMS02LjMgOC41LTMuMy0yLjUtLjkgMS4yIDQuNSAzLjRMMTcuOSA4eiIvPjwvc3ZnPg==")}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-checkbox input[type=checkbox]:indeterminate{background:var(--fl-builder-accent-color,#00a0d2);border-color:var(--fl-builder-accent-color,#00a0d2);color:#fff}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-checkbox input[type=checkbox]:indeterminate:before{content:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGFyaWEtaGlkZGVuPSJ0cnVlIiBjbGFzcz0iY29tcG9uZW50cy1jaGVja2JveC1jb250cm9sX19pbmRldGVybWluYXRlIiB2aWV3Qm94PSIwIDAgMjQgMjQiPjxwYXRoIGZpbGw9IiNmZmYiIGQ9Ik03IDExLjVoMTBWMTNIN3oiLz48L3N2Zz4=")}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-color-area,.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-color-area-gradient{height:150px;width:100%}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-color-area-thumb{border:2px solid #fff;border-radius:50%;box-shadow:0 0 0 1px #000,inset 0 0 0 1px #000;height:20px;top:50%;width:20px}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-color-container{position:relative;width:-moz-fit-content;width:fit-content}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-color-container input{background:#fff;border:1px solid transparent;border-radius:2px;box-shadow:0 2px 4px 0 rgba(0,0,0,.12);color:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;height:36px;padding:0 12px;width:192px}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-color-container input::-moz-placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-color-container input::placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-color-picker{background:#fff;border:1px solid transparent;width:100%;z-index:9000000}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-color-picker .tf-color-area{display:flex;justify-content:center;width:100%}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-color-picker .tf-color-area .tf-color-area-thumb{transform:translate(-50%,-50%)!important}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-color-picker .tf-color-input{display:flex;flex-direction:column;padding:10px}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-color-picker .tf-color-sliders{padding:0 12px 10px}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-color-input>input{width:100%}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-color-slider{align-items:center;display:flex;flex-direction:column;padding-bottom:5px;padding-top:5px;width:100%}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-color-slider-label{align-self:stretch;display:flex}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-color-slider-label output{flex:1 0 auto;text-align:end}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-color-slider-container{border:1px solid transparent;border-radius:10px;height:20px;width:100%}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-combo-box{display:flex;flex-direction:column;width:100%}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-combo-box-text{background:#fff;border:1px solid transparent;border-radius:2px;box-shadow:0 2px 4px 0 rgba(0,0,0,.12);color:inherit;display:flex;flex-wrap:nowrap;font-size:inherit;font-style:inherit;font-weight:inherit;height:36px;justify-content:space-between;padding:0;position:relative;width:192px}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-combo-box-text::-moz-placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-combo-box-text::placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-combo-box-text input{border:0;box-shadow:none;width:100%}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-combo-box-text input:focus{box-shadow:none}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-combo-box-text .tf-button-action{background:#e7ebef;border-radius:2px;color:#676f7a;fill:#676f7a;background:none;border:0;box-shadow:unset;cursor:pointer;font-family:var(--fl-builder-font-family);font-size:14px;font-style:normal;font-weight:500;height:29px;line-height:1;margin:0;max-height:34px;padding:0 16px;text-align:center;transition-duration:.2s;transition-property:background-color,width}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-combo-box-text .tf-button-action:hover{background:#dadfe5;border-color:transparent;color:#676f7a}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-combo-box-text .tf-button-action:focus{background:#dadfe5;border-color:var(--fl-builder-accent-color,#00a0d2);color:#676f7a}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-combo-box-text .tf-button-action span{padding:0 2px}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-combo-box-text:focus-within{border-color:var(--fl-builder-accent-color,#00a0d2)}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-combo-box-item{align-items:center;background-color:#99e7ff;border:1px solid transparent;border-radius:2px;box-sizing:border-box;color:var(--fl-builder-accent-color,#00a0d2);display:inline-flex;font-size:13px;font-weight:700;gap:.35em;line-height:1.4;max-width:100%;padding:.25em .5em}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-combo-box-item span:first-child{flex:1 1 auto;padding-right:5px;text-overflow:ellipsis}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-combo-box-item button:last-child{background-color:transparent;border:none;color:var(--fl-builder-accent-color,#00a0d2);cursor:pointer}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-combo-box-item button:last-child:focus{outline:none}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-multiple-combobox-container{display:flex;gap:8px;position:relative}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-multiple-combobox-container>.tf-popover{left:0;position:absolute;top:100%;width:192px;z-index:9000000}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-multiple-combobox-container>.tf-popover .tf-combo-box{width:100%}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-multiple-combobox-container>.tf-popover .tf-list-box-option:not(.tf-list-box-option-selected,.tf-list-box-option-disabled):hover:after{content:"+";margin-left:auto}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-multiple-combobox{position:relative}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-multiple-combobox>.tf-label{display:flex}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-multiple-combobox-values{align-items:center;background-color:#fff;border:1px solid transparent;border-radius:2px;box-sizing:border-box;display:flex;flex-wrap:wrap;gap:8px;min-height:36px;padding:0 12px;width:192px}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-multiple-combobox[data-enabled=false] .tf-multiple-combobox-values{opacity:.5}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-combo-box-popover.tf-popover{border:1px solid transparent;border-bottom-left-radius:2px;border-bottom-right-radius:2px;border-color:var(--fl-builder-accent-color,#00a0d2);box-shadow:0 0 0 1px var(--fl-builder-accent-color,#00a0d2);margin-left:-2px;outline:2px solid transparent}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-date-picker{align-items:flex-start;display:flex;flex-direction:column}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-popover{border:1px solid transparent;border-radius:2px;display:flex;justify-content:center;width:auto}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-popover .tf-calendar{padding:20px;width:-moz-fit-content;width:fit-content}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-popover .tf-calendar-month{text-align:center}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-popover .tf-calendar-buttons{align-items:center;display:flex;justify-content:space-between}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-popover .tf-calendar-buttons button{background:#e7ebef;border:2px solid transparent;border-radius:2px;color:#676f7a;fill:#676f7a;box-shadow:unset;cursor:pointer;font-family:var(--fl-builder-font-family);font-size:14px;font-style:normal;font-weight:500;height:29px;line-height:1;margin:0;padding:0 16px;text-align:center;transition-duration:.2s;transition-property:background-color,width}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-popover .tf-calendar-buttons button:hover{background:#dadfe5;border-color:transparent;color:#676f7a}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-popover .tf-calendar-buttons button:focus{background:#dadfe5;border-color:var(--fl-builder-accent-color,#00a0d2);color:#676f7a}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-popover .tf-calendar-tables{display:flex}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-popover .tf-calendar-table{padding:10px;width:100%}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-popover .tf-calendar-table td{text-align:center}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-popover .tf-calendar-presets{display:flex;gap:.25rem}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-popover .tf-calendar-presets button{background:#e7ebef;border:2px solid transparent;border-radius:2px;color:#676f7a;fill:#676f7a;box-shadow:unset;cursor:pointer;font-family:var(--fl-builder-font-family);font-size:14px;font-style:normal;font-weight:500;height:29px;line-height:1;margin:0;padding:0 16px;text-align:center;transition-duration:.2s;transition-property:background-color,width}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-popover .tf-calendar-presets button:hover{background:#dadfe5;border-color:transparent;color:#676f7a}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-popover .tf-calendar-presets button:focus{background:#dadfe5;border-color:var(--fl-builder-accent-color,#00a0d2);color:#676f7a}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-popover .tf-calendar-cell{border-radius:100%;cursor:pointer;height:2em;line-height:2em;width:2em}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-popover .tf-calendar-cell.tf-calendar-cell-disabled,.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-popover .tf-calendar-cell.tf-calendar-cell-unavailable{cursor:not-allowed;opacity:.5}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-popover .tf-calendar-cell:not(.tf-calendar-cell-disabled,.tf-calendar-cell-unavailable,.tf-calendar-cell-selected):hover{color:var(--fl-builder-accent-color,#00a0d2)}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-popover .tf-calendar-cell.tf-calendar-cell-selected{background-color:var(--fl-builder-accent-color,#00a0d2);color:#fff}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-date-group{align-items:center;display:flex;gap:8px;justify-content:flex-start}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-date-group .tf-button-action{height:36px}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-date-field-container{width:100%}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-date-field{align-items:center;background:#fff;border:1px solid transparent;border-radius:2px;box-shadow:0 2px 4px 0 rgba(0,0,0,.12);color:inherit;display:inline-flex;font-size:inherit;font-style:inherit;font-weight:inherit;height:36px;justify-content:center;padding:0 12px;width:192px;width:168px}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-date-field::-moz-placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-date-field::placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-date-field:focus-within{border-color:var(--fl-builder-accent-color,#00a0d2)}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-date-segment{font-variant-numeric:tabular-nums;padding:0 2px;text-align:end}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-date-segment:focus{background:var(--fl-builder-accent-color,#00a0d2);border-radius:2px;color:#fff;outline:none}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-date-segment span{display:none}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-date-segment-placeholder span{display:flex}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-dimensions{display:flex;flex-direction:column}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-dimensions .tf-select,.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-dimensions .tf-select .tf-button-select{width:auto}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-dimensions-container{display:flex;flex-wrap:wrap;position:relative;width:-moz-fit-content;width:fit-content}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-dimensions-number-groups{display:flex;flex-direction:row;max-width:300px}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-dimensions-number-groups .tf-number{flex:1 1 75px}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-dimensions-number-groups .tf-number .tf-number-field{width:100%}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-dimensions-number-groups .tf-number input{text-align:left;width:100%}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-dimensions-number-groups .tf-number-button-group .tf-button-number{padding:0 3px}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-dimensions-number-groups-linked .tf-number:not(:first-child){display:none;opacity:.5;pointer-events:none}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-dynamic-text-field{align-items:center;display:flex;gap:8px;position:relative}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-dynamic-text-field .tf-dynamic-text-popover{left:0;position:absolute;top:100%;width:192px;z-index:9000000}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-dynamic-text-field .tf-dynamic-text-popover .tf-list-box-option:not(.tf-list-box-option-selected,.tf-list-box-option-disabled):hover:after{content:"+";margin-left:auto}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-dynamic-text-item{align-items:center;background-color:#99e7ff;border:1px solid transparent;border-radius:2px;color:var(--fl-builder-accent-color,#00a0d2);display:inline-flex;font-size:13px;font-weight:700;gap:.35em;line-height:1.4;margin:0 .15em;padding:.25em .5em}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-dynamic-text-item:before{content:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMSIgaGVpZ2h0PSIxNiIgZmlsbD0ibm9uZSI+PGcgY2xpcC1wYXRoPSJ1cmwoI2EpIj48cGF0aCBmaWxsPSIjMzg1OEU5IiBkPSJNNi44OSA3LjA2MmgzLjE5M2MuMzgxIDAgLjcyNS4yNDQuODM0LjYwN2EuOTEuOTEgMCAwIDEtLjIzIDEuMDM3bC03LjMzMyA2LjU2M2EuOS45IDAgMCAxLTEuMTQzLjA1Mi45NS45NSAwIDAgMS0uMzA0LTEuMTI4bDIuMjA0LTUuMjU2SC44OWMtLjM1NiAwLS42OTgtLjI0My0uODMzLS42MDZhLjk1NS45NTUgMCAwIDEgLjI1NS0xLjAzN0w3LjY0Ni43MzJBLjkuOSAwIDAgMSA4Ljc4OC42NzlhLjk1Ljk1IDAgMCAxIC4zMDQgMS4xMjh6Ii8+PC9nPjxkZWZzPjxjbGlwUGF0aCBpZD0iYSI+PHBhdGggZmlsbD0iI2ZmZiIgZD0iTTAgLjVoMTF2MTVIMHoiLz48L2NsaXBQYXRoPjwvZGVmcz48L3N2Zz4=");line-height:1}.fl-builder-ui-skin--light .tf-context-beaver-builder .cm-content[contenteditable=false] .tf-dynamic-text-item{filter:grayscale(1)}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-dynamic-text-input{padding:0}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-dynamic-text-input>.cm-editor{padding:0 12px}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-dynamic-text-input>.cm-editor.cm-focused{outline:none}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-dynamic-text-input>.cm-editor .cm-scroller{font-family:inherit}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-dynamic-text-input>.cm-editor .cm-content{height:100%}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-editor .ProseMirror ul{list-style-type:disc}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-editor .ProseMirror ol{margin:0}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-editor .ProseMirror{line-height:1.2;outline:none;padding:4px 8px 4px 14px}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-editor .tf-editor-view-toggle{display:flex;flex-direction:row;justify-content:flex-end;padding-bottom:5px}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-editor .tf-editor-view-toggle .tf-button-group{width:-moz-fit-content;width:fit-content}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-file-field{align-items:center;display:flex;flex-wrap:wrap;width:-moz-fit-content;width:fit-content}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-file-text{max-width:192px;overflow:hidden;padding:0 12px;text-overflow:ellipsis}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-file-list{margin-bottom:0;padding:0;width:300px}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-file-item{align-items:center;display:flex;flex-wrap:wrap;justify-content:space-between}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-file-item img{max-width:200px}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-file-item span{flex-grow:1;overflow:hidden;text-overflow:ellipsis;width:70%}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-file-item .tf-button-upload-list{cursor:pointer;font-style:italic;text-decoration:underline}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-gallery-preview{display:flex}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-gallery-item{align-items:center;display:flex;height:100px;justify-content:center;width:100px}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-gallery-item img{border-radius:2px;height:100%;-o-object-fit:cover;object-fit:cover;overflow:hidden;width:100%}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-gallery__controls{background:#fff;border-radius:2px;box-shadow:0 2px 4px 0 rgba(0,0,0,.12);padding:8px 12px}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-gallery__controls input,.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-gallery__controls select{border-color:#e6eaed!important;box-shadow:unset}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-gallery-buttons{display:flex;gap:10px}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-gradient-container{display:flex;flex-direction:column;position:relative;width:192px}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-gradient-input{background:#fff;border:1px solid transparent;border-radius:2px;box-shadow:0 2px 4px 0 rgba(0,0,0,.12);color:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;height:36px;padding:0 12px;width:192px}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-gradient-input::-moz-placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-gradient-input::placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-gradient-settings{padding:10px 12px}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-gradient-settings .tf-gradient-settings-row{padding:10px 0}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-gradient-popover .tf-dialog{width:100%}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-gradient-preview{padding:10px 12px;position:relative}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-gradient-colors{align-items:center;cursor:pointer;display:flex;height:36px;justify-content:space-between;padding:0 12px}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-list-container{display:flex;flex-direction:column;gap:8px}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-list-items{width:192px}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-list-header,.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-list-header label,.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-list-item{align-items:center;display:flex;justify-content:flex-start}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-list-header{background:#f0f0f0;border:1px solid rgba(0,0,0,.5);border-radius:2px;border-bottom-left-radius:0;border-bottom-right-radius:0;padding:0 12px}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-list-header label{height:36px;margin:0}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-list-item{background:#fff;border:1px solid rgba(0,0,0,.5);border-top:none;box-sizing:border-box;height:36px;width:192px}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-list-item .tf-list-item-text{flex:1;font-size:inherit;font-weight:inherit;padding:0 12px}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-list-item .tf-list-item-actions{display:flex}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-list-search{display:flex;width:192px}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-list-search .tf-combo-box{flex:1}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-number input{background:#fff;border:1px solid transparent;border-radius:2px;box-shadow:0 2px 4px 0 rgba(0,0,0,.12);color:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;height:36px;padding:0 12px;width:192px}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-number input::-moz-placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-number input::placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-number .tf-label{display:flex}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-number-field{display:flex;flex-direction:row;flex-wrap:nowrap;position:relative;width:192px}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-number[data-enabled=false] .tf-number-field{opacity:.5}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-number-button-group{bottom:1px;display:flex;flex-direction:column;flex-wrap:nowrap;height:auto;padding:0 12px;position:absolute;right:1px;top:1px}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-number-button-group .tf-button-number{background:#e7ebef;border-radius:2px;color:#676f7a;fill:#676f7a;align-items:center;background-color:#eee;border:0;border-radius:0;box-shadow:unset;cursor:pointer;display:flex;font-family:var(--fl-builder-font-family);font-size:14px;font-style:normal;font-weight:500;height:29px;height:50%;justify-content:center;line-height:1;line-height:0;margin:0;min-width:2em;padding:0;text-align:center;transition-duration:.2s;transition-property:background-color,width}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-number-button-group .tf-button-number:hover{background:#dadfe5;border-color:transparent;color:#676f7a}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-number-button-group .tf-button-number:focus{background:#dadfe5;border-color:var(--fl-builder-accent-color,#00a0d2);color:#676f7a}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-number-button-group .tf-button-number:hover{background-color:#e2e2e2}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-number-button-group .tf-button-number:first-child{border-bottom-left-radius:0;border-bottom-right-radius:0}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-number-button-group .tf-button-number:last-child{border-top-left-radius:0;border-top-right-radius:0}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-radio-group-container{display:flex;flex-direction:column}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-multiple-select,.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-select{display:inline-block;position:relative;width:192px}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-multiple-select>.tf-label,.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-select>.tf-label{display:flex}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-multiple-select__value,.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-select__value{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-multiple-select .tf-button-select,.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-select .tf-button-select{align-items:center;background:#fff;border:1px solid transparent;border-radius:2px;box-shadow:0 2px 4px 0 rgba(0,0,0,.12);color:inherit;display:flex;font-style:inherit;font-weight:inherit;height:36px;justify-content:space-between;padding:0 10px;width:192px}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-multiple-select .tf-button-select::-moz-placeholder,.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-select .tf-button-select::-moz-placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-multiple-select .tf-button-select::placeholder,.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-select .tf-button-select::placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-multiple-select .tf-button-select[disabled],.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-select .tf-button-select[disabled]{background:hsla(0,0%,100%,.5);border-color:rgba(0,0,0,.1);color:rgba(0,0,0,.4)}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-multiple-select .tf-select-icon,.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-select .tf-select-icon{font-size:10px;padding-left:5px}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-multiple-select .tf-button-select,.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-select .tf-button-select{cursor:pointer;font-size:inherit}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-simple-dimensions{display:flex;flex-direction:column}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-simple-dimensions .tf-select,.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-simple-dimensions .tf-select .tf-button-select{width:auto}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-simple-dimensions-container{display:flex;position:relative;width:-moz-fit-content;width:fit-content}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-switch label{align-items:center;display:flex;justify-content:flex-start}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-switch-element,.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-switch-element-selected{display:inline-block;height:36px;position:relative;width:72px}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-switch-element span,.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-switch-element-selected span{background-color:#ccc;border-radius:36px;bottom:0;cursor:pointer;left:0;position:absolute;right:0;top:0;transition:.4s}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-switch-element span:before,.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-switch-element-selected span:before{background-color:#fff;border-radius:50%;bottom:4px;content:"";height:28px;left:4px;position:absolute;transition:.4s;width:28px}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-switch-element-selected span{background-color:var(--fl-builder-accent-color,#00a0d2)}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-switch-element-selected span:focus{box-shadow:0 0 1px var(--fl-builder-accent-color,#00a0d2)}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-switch-element-selected span:before{transform:translateX(36px)}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-text{box-sizing:content-box;display:flex;flex-direction:column}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-text input{background:#fff;border:1px solid transparent;border-radius:2px;box-shadow:0 2px 4px 0 rgba(0,0,0,.12);color:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;height:36px;padding:0 12px;width:192px}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-text input::-moz-placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-text input::placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-text-area textarea{background:#fff;border:1px solid transparent;border-radius:2px;box-shadow:0 2px 4px 0 rgba(0,0,0,.12);color:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;height:36px;height:auto;padding:.6em;width:192px;width:100%}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-text-area textarea::-moz-placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-text-area textarea::placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-repeater-bulk-actions{align-items:center;background:#fff;border:1px solid transparent;border-radius:2px;display:flex;justify-content:flex-start;margin-bottom:4px;padding:5px 12px}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-repeater-bulk-actions>button,.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-repeater-bulk-actions>div{margin-right:5px}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-repeater-advanced-label-row{box-sizing:border-box;display:flex;gap:8px;justify-content:space-between;padding:8px 12px;width:100%}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-repeater-advanced-label-row .tf-repeater-advanced-label-row-item{align-items:center;display:flex;flex:1;flex-wrap:wrap;justify-content:flex-start}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-repeater-advanced-label-row .tf-repeater-advanced-label-row-item:first-child{color:#4b84ce;font-weight:700}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-repeater-advanced-label-row .tf-repeater-advanced-label-row-arrow,.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-repeater-advanced-label-row .tf-repeater-advanced-label-row-index{width:32px}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-repeater-advanced-header{background:#f0f0f0;border:1px solid rgba(0,0,0,.5);border-bottom:none;border-radius:2px;border-bottom-left-radius:0;border-bottom-right-radius:0;margin:0}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-repeater-advanced-header .tf-repeater-advanced-header-item{color:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;height:36px;margin-bottom:0}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-repeater-advanced-overview{background:#fff}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-repeater-advanced-overview .tf-repeater-advanced-label-row-arrow,.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-repeater-advanced-overview .tf-repeater-advanced-label-row-index{height:40px;line-height:40px;text-align:center}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-repeater-advanced-overview .tf-repeater-advanced-label-row-index{background:#f0f0f0}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-repeater-advanced-overview .tf-repeater-advanced-label-row-arrow{cursor:pointer}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-repeater-advanced-overview .tf-repeater-advanced-label-row-arrow>div{border:solid;border-color:inherit;border-width:0 1px 1px 0;display:inline-block;height:9px;width:9px}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-repeater-advanced-overview .tf-repeater-advanced-overview-item-actions{height:20px;width:100%}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-repeater-advanced-overview .tf-repeater-advanced-overview-item-actions button{display:none}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-repeater-advanced-overview-item-container{display:flex;flex-direction:column;justify-content:center;width:100%}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-repeater-advanced-overview-item-fields{display:flex}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-repeater-advanced-overview:hover .tf-repeater-advanced-overview-item-actions button{display:initial}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-repeater-advanced-item .tf-repeater-advanced-overview:hover,.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-repeater-advanced-item[data-open=true] .tf-repeater-advanced-overview{background-color:#99e7ff}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-repeater-advanced-item[data-open=true] .tf-repeater-advanced-label-row-arrow>div{transform:translateY(50%) rotate(-135deg)}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-repeater-advanced-item[data-open=false] .tf-repeater-advanced-label-row-arrow>div{transform:translateY(-50%) rotate(45deg)}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-repeater-advanced-item{background-color:#fff;border:1px solid rgba(0,0,0,.5);border-radius:2px;border-radius:0;border-top:none;position:relative}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-repeater-advanced-item[data-open=true]:before{background-color:#4b84ce;content:"";height:100%;left:0;position:absolute;top:0;width:3px}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-repeater-advanced-container>.tf-repeater-actions{background-color:#fff;border:1px solid rgba(0,0,0,.5);border-radius:2px;border-top:none;border-top-left-radius:0;border-top-right-radius:0}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-repeater-advanced-row{margin:16px 32px}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-repeater-advanced-row .tf-repeater-advanced-item-field{padding:8px 12px}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-repeater-advanced-item-field:has(>div[data-overlay-container=true]:empty){display:none}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-repeater-advanced-item-field:has(input.tf-hidden[type=hidden]){padding:0}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-repeater-advanced .tf-repeater-actions{padding:8px 12px}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-repeater-bare-items{display:flex;flex-direction:column;row-gap:8px}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-repeater-bare-items .tf-repeater-bare-row{display:flex;gap:8px;width:100%}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-repeater-block-item{background:#fff;border:1px solid transparent;border-radius:2px;display:flex;flex-direction:column;margin-bottom:6px;margin-top:1em;width:100%}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-repeater-block-item .tf-panel-header .tf-switch-element,.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-repeater-block-item .tf-panel-header .tf-switch-element-selected{transform:scale(.7)}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-repeater-block-item-field{padding:1em}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-repeater-block-item-field:has(>div[data-overlay-container=true]:empty){display:none}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-repeater-table-container{border:1px solid rgba(0,0,0,.5);border-radius:2px;display:flex;flex-direction:column;width:100%}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-repeater-table-container .tf-repeater-actions{box-sizing:border-box;justify-content:flex-start;padding:8px 12px;width:100%}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-repeater-table-container table{padding:0 4px 4px;width:100%}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-repeater-table-container table th,.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-repeater-table-container table tr{min-height:36px;padding:2px}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-repeater-table-container table th{height:36px;text-align:left}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-repeater-table-container table td>div{display:flex;justify-content:center;width:100%}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-repeater-table-container table td>div>div{width:100%}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-repeater-table-container .tf-repeater-row-actions{width:1%}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-repeater-table-container .tf-repeater-row-actions>div{display:inline-flex;gap:6px}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-repeater-actions{display:flex;gap:6px;justify-content:flex-end;padding:2px 2px 4px}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-repeater-actions .tf-button-action:last-child{border-color:#cc1818;color:#cc1818}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-repeater-title{color:inherit;font-size:inherit;font-style:inherit;font-weight:inherit}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-repeater-block-items{margin-bottom:8px;margin-top:8px}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-dynamic-wrapper{align-items:center;display:flex;position:relative}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-dynamic-wrapper .tf-dynamic-wrapper-popover{position:absolute;top:100%;width:192px;z-index:9000000}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-dynamic-wrapper .tf-dynamic-wrapper-popover-form{background:#fff;border:1px solid transparent;padding:0 12px;width:100%;z-index:9000000}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-dynamic-wrapper .tf-dynamic-wrapper-popover-form>*{margin:12px 0}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-dynamic-wrapper .tf-dynamic-wrapper-popover-buttons{display:flex;justify-content:flex-end}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-dynamic-wrapper .tf-dynamic-wrapper-popover-buttons button{margin-left:6px}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-dynamic-wrapper.tf-dynamic-wrapper-buttons-outside{gap:8px}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-dynamic-wrapper.tf-dynamic-wrapper-buttons-inside{gap:0;width:-moz-fit-content;width:fit-content}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-dynamic-wrapper.tf-dynamic-wrapper-buttons-inside .tf-button-icon{background:transparent;border:none;cursor:pointer;height:36px;position:absolute;right:1px;top:50%;transform:translateY(-50%)}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-dynamic-wrapper.tf-dynamic-wrapper-buttons-inside .tf-button-icon:before{content:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMyIgaGVpZ2h0PSIxNyIgZmlsbD0ibm9uZSI+PHBhdGggZmlsbD0iIzFFMUUxRSIgZD0iTTcuNTIyIDdoMy40ODdjLjQxNiAwIC43OS4yNi45MS42NDdhLjk1Ljk1IDAgMCAxLS4yNSAxLjEwNmwtLjYwMy41MjdhNC41IDQuNSAwIDAgMC01Ljk1NyA1LjIwOGwtMS40NDcgMS4yNjVhMSAxIDAgMCAxLTEuNTgtMS4xNDdMNC40ODkgOUguOTczYS45OTUuOTk1IDAgMCAxLS45MDktLjY0NyAxIDEgMCAwIDEgLjI3OC0xLjEwNmw4LjAwNS03YTEuMDAyIDEuMDAyIDAgMCAxIDEuNTggMS4xNDd6Ii8+PHBhdGggZmlsbD0iIzFFMUUxRSIgZmlsbC1ydWxlPSJldmVub2RkIiBkPSJNOS41IDE3YTMuNSAzLjUgMCAxIDAgMC03IDMuNSAzLjUgMCAwIDAgMCA3bTIuNS0zLjVhLjU3Ny41NzcgMCAwIDEtLjU3Ny41NzdoLTEuMzQ2djEuMzQ2YS41NzcuNTc3IDAgMSAxLTEuMTU0IDB2LTEuMzQ2SDcuNTc3YS41NzcuNTc3IDAgMCAxIDAtMS4xNTRoMS4zNDZ2LTEuMzQ2YS41NzcuNTc3IDAgMSAxIDEuMTU0IDB2MS4zNDZoMS4zNDZjLjMyIDAgLjU3Ny4yNTguNTc3LjU3NyIgY2xpcC1ydWxlPSJldmVub2RkIi8+PC9zdmc+);line-height:1;padding:0 5px}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-dynamic-wrapper.tf-dynamic-wrapper-buttons-inside .tf-button-icon.cm-content[contenteditable=false]:before{display:none}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-dynamic-field-wrapper.tf-dynamic-wrapper .tf-dynamic-value-input:disabled{background:hsla(0,0%,100%,.5);border-color:rgba(0,0,0,.1);color:rgba(0,0,0,.4)}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-dynamic-field-wrapper.tf-dynamic-wrapper .tf-button-icon.tf-dynamic-wrapper-clear:before{content:"⨯"}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-dynamic-text-input{background:#fff;border:1px solid transparent;border-radius:2px;box-shadow:0 2px 4px 0 rgba(0,0,0,.12);color:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;height:36px;padding:0 12px;width:192px;width:168px}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-dynamic-text-input::-moz-placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-dynamic-text-input::placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-dynamic-text-input:focus-within{border-color:var(--fl-builder-accent-color,#00a0d2)}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-dynamic-text-input:has(.cm-content[contenteditable=false]){background:hsla(0,0%,100%,.5);border-color:rgba(0,0,0,.1);color:rgba(0,0,0,.4);pointer-events:none}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-dynamic-text-input:has(.cm-content[contenteditable=false]) .tf-dynamic-text-input__affix{border-color:rgba(0,0,0,.1)}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-dynamic-text-input--has-prefix,.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-dynamic-text-input--has-suffix{display:flex;height:auto;padding:0}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-dynamic-text-input--has-prefix>.cm-editor,.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-dynamic-text-input--has-suffix>.cm-editor{flex:1 1 auto;min-height:32px;overflow:hidden}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-dynamic-text-input>.cm-editor{height:100%;justify-content:center;width:100%}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-dynamic-text-input>.cm-editor .cm-content,.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-dynamic-text-input>.cm-editor .cm-line{padding:0}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-dynamic-text-input>.cm-editor .cm-content{display:flex;flex-direction:column;justify-content:center}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-dynamic-text-input .tf-dynamic-text-item-delete:before{content:"⨯";cursor:pointer;padding-left:3px}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-dynamic-text-input__affix{align-items:center;border:0 solid #8c8f94;display:inline-flex;font-size:.8em;font-weight:700;padding:0 .5em;text-wrap:nowrap}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-dynamic-text-input__affix--prefix{border-right-width:1px}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-dynamic-text-input__affix--suffix{border-left-width:1px}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-dynamic-text-input:focus-within .tf-dynamic-text-input__affix{border-color:#4b84ce}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-dynamic-wrapper[data-dynamic=true] .cm-editor{padding-right:25px}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-dynamic-wrapper[data-dynamic=true] .cm-editor:has(.cm-content[contenteditable=false]){padding-right:0}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-dynamic-wrapper[data-dynamic=true] .tf-dynamic-text-input--has-suffix .cm-editor{padding-right:8px}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-dynamic-wrapper[data-dynamic=true] .tf-dynamic-text-input__affix--suffix{border-right-width:1px;margin-right:33px}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-calendar table.tf-calendar-table tbody tr td,.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-calendar table.tf-calendar-table thead tr th{display:table-cell;padding:0!important}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-calendar table.tf-calendar-table tbody tr td .tf-calendar-cell,.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-calendar table.tf-calendar-table thead tr th .tf-calendar-cell{display:initial}.fl-builder-ui-skin--light .tf-context-beaver-builder .ProseMirror-menubar{box-sizing:border-box}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-editor .ProseMirror-menubar-wrapper{height:auto;overflow:unset;position:relative}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-editor .ProseMirror-menubar-spacer{height:auto!important}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-editor .ProseMirror-menubar{left:0!important;position:absolute!important;top:0!important}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-editor .ProseMirror.ProseMirror-example-setup-style{margin-bottom:0;margin-top:63px;max-height:100px;overflow:auto}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-dialog-content,.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-popover,.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-title{color:#000}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-dynamic-text-input{height:48px;min-width:168px;width:unset}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-dynamic-text-input>.cm-editor .cm-line{height:1.5em}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-dynamic-text-input>.cm-editor .cm-line{caret-color:#fff}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-button-action,.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-button-danger,.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-button-primary{align-items:center;background:#2c333a;border:2px solid transparent;border-radius:2px;color:#a7b1bb;display:flex;justify-content:center;width:-moz-fit-content;width:fit-content;fill:#a7b1bb;box-shadow:unset;cursor:pointer;font-family:var(--fl-builder-font-family);font-size:14px;font-style:normal;font-weight:500;height:29px;line-height:1;margin:0;padding:0 16px;text-align:center;transition-duration:.2s;transition-property:background-color,width}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-button-action:hover,.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-button-danger:hover,.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-button-primary:hover{background:#131a22;border-color:#d3d3d3;color:#a7b1bb}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-button-action:focus,.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-button-danger:focus,.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-button-primary:focus{background:#fff;border-color:var(--fl-builder-accent-color,#00a0d2);color:#a7b1bb}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-button-danger{border-color:#cc1818;color:#cc1818}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-button-primary{background-color:#4b84ce;color:inherit}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-button-action[disabled],.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-button-danger[disabled],.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-button-icon-trash[disabled],.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-button-primary[disabled],.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-button-text-action[disabled],.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-button-text-danger[disabled],.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-button-text-primary[disabled]{cursor:not-allowed;opacity:.5;pointer-events:none}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-button-action:focus{outline:none}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-button-text-action,.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-button-text-danger,.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-button-text-primary{background:transparent;border:none;cursor:pointer;display:inline}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-button-text-action:hover,.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-button-text-danger:hover,.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-button-text-primary:hover{font-weight:700}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-button-text-action{color:#a7b1bb}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-button-text-danger{color:#cc1818}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-button-text-primary{color:#4b84ce}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-button-icon-trash{align-items:center;background:transparent;border:none;cursor:pointer;display:flex;height:36px;justify-content:center;width:36px}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-button-icon-trash:after{content:url('data:image/svg+xml;utf8,')}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-button-icon-eye{align-items:center;background:transparent;border:none;cursor:pointer;display:flex;height:36px;justify-content:center;width:36px}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-button-icon-eye:after{content:url('data:image/svg+xml;utf8,')}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-dialog .tf-title{display:flex}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-dialog .tf-title h4{margin:0;padding:12px 0}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-panel{background:#181b20;border-radius:2px;box-shadow:0 2px 4px 0 rgba(0,0,0,.12);display:flex;flex-direction:column;margin-bottom:8px;width:100%}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-panel input,.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-panel select{border-color:#7d8690!important;box-shadow:unset}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-panel-header{align-items:center;cursor:pointer;display:flex;height:36px;justify-content:space-between;width:100%}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-panel-header.tf-button-action{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:0;border-radius:0;box-sizing:border-box;color:inherit;cursor:pointer;display:flex;font-family:inherit;font-size:100%;height:36px;justify-content:space-between;line-height:1.15;margin:0;padding:8px 12px;text-align:left;width:100%}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-panel-header.tf-button-action:hover{background:#f0f0f0}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-panel-open .tf-panel-header.tf-button-action{border-bottom:1px solid #23282d}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-panel-header-before-title,.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-panel-header-left,.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-panel-header-right,.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-panel-header-title{align-items:center;display:flex;justify-content:flex-start;padding:0 12px}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-panel-header-left{padding-left:0}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-panel-content,.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-panel-footer{padding:4px 12px}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-panel-closed .tf-panel-content{display:none}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-panel-footer{border-top:1px solid #23282d;display:flex;gap:8px;justify-content:flex-end;padding:1em}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-panel-arrow{border:solid;border-color:inherit;border-width:0 1px 1px 0;display:inline-block;height:9px;width:9px}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-panel-open .tf-panel-arrow{transform:translateY(50%) rotate(-135deg)}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-panel-closed .tf-panel-arrow{transform:translateY(-50%) rotate(45deg)}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-description,.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-label{color:inherit;font-size:inherit;font-style:inherit;font-weight:inherit}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-list-box{background:#181b20;list-style:none;margin:5px 0;max-height:300px;max-width:100%;min-width:100%;overflow-y:auto;padding:0}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-list-box-option{background:transparent;border-radius:2px;cursor:pointer;display:flex;font-size:13px;gap:8px;margin:0 5px;outline:none;padding:5px 9px}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-list-box-option:not(.tf-list-box-option-selected,.tf-list-box-option-disabled):hover{color:var(--fl-builder-accent-color,#00a0d2)}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-list-box-option-selected,.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-list-box-option-selected.tf-list-box-option-selected{background-color:var(--fl-builder-accent-color,#00a0d2);color:#181b20}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-list-box-option-selected.tf-list-box-option-selected:hover,.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-list-box-option-selected:hover{color:#181b20}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-list-box-option-selected.tf-list-box-option-selected:after,.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-list-box-option-selected:after{content:"✓";margin-left:auto}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-list-box-option-disabled{color:#aaa;cursor:default}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-list-box-option-focus{box-shadow:inset 0 0 0 2px;color:var(--fl-builder-accent-color,#00a0d2)}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-list-box-section-separator:not(:first-child){border-top:1px solid #8c8f94;margin:12px 0}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-list-box-section>span{color:#7d8690;display:block;font-size:11px;font-weight:500;line-height:1.45;margin:0 10px;padding:5px 9px;text-transform:uppercase}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-list-box-section>ul{list-style:none;padding:0}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-modal{align-items:center;background:rgba(0,0,0,.7);bottom:0;display:flex;justify-content:center;left:0;position:fixed;right:0;top:0;z-index:9990}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-modal .tf-modal-container{background:#181b20;border:1px solid transparent;border-radius:2px;padding:2rem}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-modal-actions{display:flex;justify-content:flex-end;padding-top:12px}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-modal-actions button{margin-left:12px}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-notice{background:#fff;box-shadow:0 1px 1px rgba(0,0,0,.04);color:#000;margin-top:4px;padding:1px 12px}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-notice.tf-is-dismissible{padding-right:38px;position:relative}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-notice.tf-error{border-left:4px solid #d63638}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-notice.tf-success{border-left:4px solid #00a32a}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-notice.tf-warning{border-left-color:#dba617}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-notice.tf-info{border-left-color:#72aee6}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-notice-dismiss{background:none;border:none;color:#787c82;cursor:pointer;margin:0;padding:9px;position:absolute;right:1px;top:0}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-notice-dismiss:active:before,.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-notice-dismiss:focus:before,.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-notice-dismiss:hover:before{color:#d63638}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-notice-dismiss:focus{box-shadow:0 0 0 1px #4f94d4,0 0 2px 1px rgba(79,148,212,.8);outline:none}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-notice-dismiss:before{background:none;color:#787c82;content:"\f153";display:block;font:normal 16px/20px dashicons;height:20px;text-align:center;width:20px;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-underlay{inset:0;position:fixed}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-popover{background:#181b20;color:inherit;z-index:9000000}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-tooltip-trigger-content{cursor:context-menu;position:relative;width:-moz-fit-content;width:fit-content}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-tooltip{cursor:default;display:inline-block;max-width:150px;position:absolute;visibility:hidden;width:-moz-max-content;width:max-content;z-index:1}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-tooltip-top{bottom:100%;left:50%;margin-bottom:12px;transform:translateX(-50%)}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-tooltip-bottom{left:50%;margin-top:12px;top:100%;transform:translateX(-50%)}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-tooltip-start{margin-right:12px;right:100%;top:50%;transform:translateY(-50%)}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-tooltip-end{left:100%;margin-left:12px;top:50%;transform:translateY(-50%)}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-tooltip-content{border-radius:3px;font-size:12px;padding:6px 12px;text-align:center;word-break:normal}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-tooltip-content.light{background-color:#e6e6e6;color:hsla(0,4%,5%,.945);--tf-tooltip-after-color:#e6e6e6}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-tooltip-content.dark{background-color:hsla(0,4%,5%,.945);color:#e6e6e6;--tf-tooltip-after-color:hsla(0,4%,5%,.945)}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-tooltip-content:after{border-style:solid;border-width:7px;content:" ";position:absolute}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-tooltip-content-top:after{border-color:var(--tf-tooltip-after-color,transparent) transparent transparent transparent;left:50%;margin-left:-7px;top:100%}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-tooltip-content-bottom:after{border-color:transparent transparent var(--tf-tooltip-after-color,transparent) transparent;bottom:100%;left:50%;margin-left:-7px}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-tooltip-content-start:after{border-color:transparent transparent transparent var(--tf-tooltip-after-color,transparent);left:100%;margin-top:-7px;top:50%}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-tooltip-content-end:after{border-color:transparent var(--tf-tooltip-after-color,transparent) transparent transparent;margin-top:-7px;right:100%;top:50%}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-tooltip-trigger-content:hover .tf-tooltip{visibility:visible}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-conditional-group-actions{align-items:center;display:flex;gap:8px;padding:8px 0}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-conditional-group-actions strong{text-transform:uppercase}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-conditional-panel-condition-actions{display:flex;gap:4px}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-conditional-panel-condition-actions .tf-button-action:first-child{text-transform:uppercase}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-conditional-panel-condition-actions .tf-button-danger:last-child{position:relative}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-conditional-panel-condition-actions .tf-button-danger:last-child:before{background-color:#cc1818;content:"";height:2px;position:absolute;width:100%;width:10px}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-accordion .tf-switch-element,.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-accordion .tf-switch-element-selected{transform:scale(.7)}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-alignment-matrix-container{display:grid;grid-template-columns:repeat(3,1fr);height:50px;margin:5px;width:50px}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-border-dimensions-container{margin:0 0 5px}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-button-group .tf-button-group-option{background:#2c333a;border:2px solid transparent;border-radius:2px;color:#a7b1bb;fill:#a7b1bb;align-items:center;border-radius:0;box-shadow:unset;color:var(--fl-builder-accent-color,#00a0d2);cursor:pointer;display:inline-flex;font-family:var(--fl-builder-font-family);font-size:14px;font-style:normal;font-weight:500;height:29px;line-height:1;margin:0;padding:0 16px;text-align:center;transition-duration:.2s;transition-property:background-color,width}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-button-group .tf-button-group-option:hover{background:#131a22;border-color:#d3d3d3;color:#a7b1bb}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-button-group .tf-button-group-option:focus{background:#fff;border-color:var(--fl-builder-accent-color,#00a0d2);color:#a7b1bb}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-button-group .tf-button-group-option:first-child{border-bottom-left-radius:2px;border-top-left-radius:2px}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-button-group .tf-button-group-option:not(:first-child){margin-left:-2px}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-button-group .tf-button-group-option:last-child{border-bottom-right-radius:2px;border-top-right-radius:2px}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-button-group .tf-button-group-option.tf-button-group-option-selected{background:var(--fl-builder-accent-color,#00a0d2);border-color:var(--fl-builder-accent-color,#00a0d2);color:#181b20}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-button-group .tf-button-group-option:focus-within{position:relative;z-index:1}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-button-group .tf-button-group-option .dashicons{align-items:center;display:flex;justify-content:center}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-button-group-container[aria-disabled=true] .tf-button-group-option{opacity:.5;pointer-events:none}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-checkbox .tf-label{font-size:13px;font-weight:400;margin-bottom:revert;text-transform:none}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-checkbox input[type=checkbox]{border:1px solid;border-color:inherit;border-radius:2px;box-shadow:0 0 0 transparent;margin-right:revert}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-checkbox input[type=checkbox]:focus{border-color:var(--fl-builder-accent-color,#00a0d2)}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-checkbox input[type=checkbox]:checked{background:var(--fl-builder-accent-color,#00a0d2);border-color:var(--fl-builder-accent-color,#00a0d2);color:#fff}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-checkbox input[type=checkbox]:checked:before{content:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGFyaWEtaGlkZGVuPSJ0cnVlIiBjbGFzcz0iY29tcG9uZW50cy1jaGVja2JveC1jb250cm9sX19jaGVja2VkIiB2aWV3Qm94PSIwIDAgMjQgMjQiPjxwYXRoIGZpbGw9IiNmZmYiIGQ9Im0xNi43IDcuMS02LjMgOC41LTMuMy0yLjUtLjkgMS4yIDQuNSAzLjRMMTcuOSA4eiIvPjwvc3ZnPg==")}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-checkbox input[type=checkbox]:indeterminate{background:var(--fl-builder-accent-color,#00a0d2);border-color:var(--fl-builder-accent-color,#00a0d2);color:#fff}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-checkbox input[type=checkbox]:indeterminate:before{content:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGFyaWEtaGlkZGVuPSJ0cnVlIiBjbGFzcz0iY29tcG9uZW50cy1jaGVja2JveC1jb250cm9sX19pbmRldGVybWluYXRlIiB2aWV3Qm94PSIwIDAgMjQgMjQiPjxwYXRoIGZpbGw9IiNmZmYiIGQ9Ik03IDExLjVoMTBWMTNIN3oiLz48L3N2Zz4=")}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-color-area,.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-color-area-gradient{height:150px;width:100%}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-color-area-thumb{border:2px solid #fff;border-radius:50%;box-shadow:0 0 0 1px #000,inset 0 0 0 1px #000;height:20px;top:50%;width:20px}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-color-container{position:relative;width:-moz-fit-content;width:fit-content}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-color-container input{background:#181b20;border:1px solid transparent;border-radius:2px;box-shadow:0 2px 4px 0 rgba(0,0,0,.12);color:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;height:36px;padding:0 12px;width:192px}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-color-container input::-moz-placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-color-container input::placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-color-picker{background:#181b20;border:1px solid transparent;width:100%;z-index:9000000}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-color-picker .tf-color-area{display:flex;justify-content:center;width:100%}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-color-picker .tf-color-area .tf-color-area-thumb{transform:translate(-50%,-50%)!important}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-color-picker .tf-color-input{display:flex;flex-direction:column;padding:10px}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-color-picker .tf-color-sliders{padding:0 12px 10px}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-color-input>input{width:100%}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-color-slider{align-items:center;display:flex;flex-direction:column;padding-bottom:5px;padding-top:5px;width:100%}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-color-slider-label{align-self:stretch;display:flex}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-color-slider-label output{flex:1 0 auto;text-align:end}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-color-slider-container{border:1px solid transparent;border-radius:10px;height:20px;width:100%}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-combo-box{display:flex;flex-direction:column;width:100%}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-combo-box-text{background:#181b20;border:1px solid transparent;border-radius:2px;box-shadow:0 2px 4px 0 rgba(0,0,0,.12);color:inherit;display:flex;flex-wrap:nowrap;font-size:inherit;font-style:inherit;font-weight:inherit;height:36px;justify-content:space-between;padding:0;position:relative;width:192px}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-combo-box-text::-moz-placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-combo-box-text::placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-combo-box-text input{border:0;box-shadow:none;width:100%}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-combo-box-text input:focus{box-shadow:none}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-combo-box-text .tf-button-action{background:#2c333a;border-radius:2px;color:#a7b1bb;fill:#a7b1bb;background:none;border:0;box-shadow:unset;cursor:pointer;font-family:var(--fl-builder-font-family);font-size:14px;font-style:normal;font-weight:500;height:29px;line-height:1;margin:0;max-height:34px;padding:0 16px;text-align:center;transition-duration:.2s;transition-property:background-color,width}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-combo-box-text .tf-button-action:hover{background:#131a22;border-color:#d3d3d3;color:#a7b1bb}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-combo-box-text .tf-button-action:focus{background:#fff;border-color:var(--fl-builder-accent-color,#00a0d2);color:#a7b1bb}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-combo-box-text .tf-button-action span{padding:0 2px}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-combo-box-text:focus-within{border-color:var(--fl-builder-accent-color,#00a0d2)}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-combo-box-item{align-items:center;background-color:#99e7ff;border:1px solid transparent;border-radius:2px;box-sizing:border-box;color:var(--fl-builder-accent-color,#00a0d2);display:inline-flex;font-size:13px;font-weight:700;gap:.35em;line-height:1.4;max-width:100%;padding:.25em .5em}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-combo-box-item span:first-child{flex:1 1 auto;padding-right:5px;text-overflow:ellipsis}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-combo-box-item button:last-child{background-color:transparent;border:none;color:var(--fl-builder-accent-color,#00a0d2);cursor:pointer}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-combo-box-item button:last-child:focus{outline:none}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-multiple-combobox-container{display:flex;gap:8px;position:relative}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-multiple-combobox-container>.tf-popover{left:0;position:absolute;top:100%;width:192px;z-index:9000000}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-multiple-combobox-container>.tf-popover .tf-combo-box{width:100%}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-multiple-combobox-container>.tf-popover .tf-list-box-option:not(.tf-list-box-option-selected,.tf-list-box-option-disabled):hover:after{content:"+";margin-left:auto}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-multiple-combobox{position:relative}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-multiple-combobox>.tf-label{display:flex}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-multiple-combobox-values{align-items:center;background-color:#181b20;border:1px solid transparent;border-radius:2px;box-sizing:border-box;display:flex;flex-wrap:wrap;gap:8px;min-height:36px;padding:0 12px;width:192px}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-multiple-combobox[data-enabled=false] .tf-multiple-combobox-values{opacity:.5}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-combo-box-popover.tf-popover{border:1px solid transparent;border-bottom-left-radius:2px;border-bottom-right-radius:2px;border-color:var(--fl-builder-accent-color,#00a0d2);box-shadow:0 0 0 1px var(--fl-builder-accent-color,#00a0d2);margin-left:-2px;outline:2px solid transparent}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-date-picker{align-items:flex-start;display:flex;flex-direction:column}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-popover{border:1px solid transparent;border-radius:2px;display:flex;justify-content:center;width:auto}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-popover .tf-calendar{padding:20px;width:-moz-fit-content;width:fit-content}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-popover .tf-calendar-month{text-align:center}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-popover .tf-calendar-buttons{align-items:center;display:flex;justify-content:space-between}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-popover .tf-calendar-buttons button{background:#2c333a;border:2px solid transparent;border-radius:2px;color:#a7b1bb;fill:#a7b1bb;box-shadow:unset;cursor:pointer;font-family:var(--fl-builder-font-family);font-size:14px;font-style:normal;font-weight:500;height:29px;line-height:1;margin:0;padding:0 16px;text-align:center;transition-duration:.2s;transition-property:background-color,width}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-popover .tf-calendar-buttons button:hover{background:#131a22;border-color:#d3d3d3;color:#a7b1bb}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-popover .tf-calendar-buttons button:focus{background:#fff;border-color:var(--fl-builder-accent-color,#00a0d2);color:#a7b1bb}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-popover .tf-calendar-tables{display:flex}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-popover .tf-calendar-table{padding:10px;width:100%}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-popover .tf-calendar-table td{text-align:center}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-popover .tf-calendar-presets{display:flex;gap:.25rem}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-popover .tf-calendar-presets button{background:#2c333a;border:2px solid transparent;border-radius:2px;color:#a7b1bb;fill:#a7b1bb;box-shadow:unset;cursor:pointer;font-family:var(--fl-builder-font-family);font-size:14px;font-style:normal;font-weight:500;height:29px;line-height:1;margin:0;padding:0 16px;text-align:center;transition-duration:.2s;transition-property:background-color,width}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-popover .tf-calendar-presets button:hover{background:#131a22;border-color:#d3d3d3;color:#a7b1bb}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-popover .tf-calendar-presets button:focus{background:#fff;border-color:var(--fl-builder-accent-color,#00a0d2);color:#a7b1bb}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-popover .tf-calendar-cell{border-radius:100%;cursor:pointer;height:2em;line-height:2em;width:2em}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-popover .tf-calendar-cell.tf-calendar-cell-disabled,.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-popover .tf-calendar-cell.tf-calendar-cell-unavailable{cursor:not-allowed;opacity:.5}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-popover .tf-calendar-cell:not(.tf-calendar-cell-disabled,.tf-calendar-cell-unavailable,.tf-calendar-cell-selected):hover{color:var(--fl-builder-accent-color,#00a0d2)}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-popover .tf-calendar-cell.tf-calendar-cell-selected{background-color:var(--fl-builder-accent-color,#00a0d2);color:#fff}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-date-group{align-items:center;display:flex;gap:8px;justify-content:flex-start}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-date-group .tf-button-action{height:36px}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-date-field-container{width:100%}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-date-field{align-items:center;background:#181b20;border:1px solid transparent;border-radius:2px;box-shadow:0 2px 4px 0 rgba(0,0,0,.12);color:inherit;display:inline-flex;font-size:inherit;font-style:inherit;font-weight:inherit;height:36px;justify-content:center;padding:0 12px;width:192px;width:168px}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-date-field::-moz-placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-date-field::placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-date-field:focus-within{border-color:var(--fl-builder-accent-color,#00a0d2)}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-date-segment{font-variant-numeric:tabular-nums;padding:0 2px;text-align:end}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-date-segment:focus{background:var(--fl-builder-accent-color,#00a0d2);border-radius:2px;color:#fff;outline:none}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-date-segment span{display:none}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-date-segment-placeholder span{display:flex}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-dimensions{display:flex;flex-direction:column}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-dimensions .tf-select,.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-dimensions .tf-select .tf-button-select{width:auto}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-dimensions-container{display:flex;flex-wrap:wrap;position:relative;width:-moz-fit-content;width:fit-content}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-dimensions-number-groups{display:flex;flex-direction:row;max-width:300px}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-dimensions-number-groups .tf-number{flex:1 1 75px}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-dimensions-number-groups .tf-number .tf-number-field{width:100%}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-dimensions-number-groups .tf-number input{text-align:left;width:100%}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-dimensions-number-groups .tf-number-button-group .tf-button-number{padding:0 3px}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-dimensions-number-groups-linked .tf-number:not(:first-child){display:none;opacity:.5;pointer-events:none}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-dynamic-text-field{align-items:center;display:flex;gap:8px;position:relative}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-dynamic-text-field .tf-dynamic-text-popover{left:0;position:absolute;top:100%;width:192px;z-index:9000000}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-dynamic-text-field .tf-dynamic-text-popover .tf-list-box-option:not(.tf-list-box-option-selected,.tf-list-box-option-disabled):hover:after{content:"+";margin-left:auto}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-dynamic-text-item{align-items:center;background-color:#99e7ff;border:1px solid transparent;border-radius:2px;color:var(--fl-builder-accent-color,#00a0d2);display:inline-flex;font-size:13px;font-weight:700;gap:.35em;line-height:1.4;margin:0 .15em;padding:.25em .5em}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-dynamic-text-item:before{content:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMSIgaGVpZ2h0PSIxNiIgZmlsbD0ibm9uZSI+PGcgY2xpcC1wYXRoPSJ1cmwoI2EpIj48cGF0aCBmaWxsPSIjMzg1OEU5IiBkPSJNNi44OSA3LjA2MmgzLjE5M2MuMzgxIDAgLjcyNS4yNDQuODM0LjYwN2EuOTEuOTEgMCAwIDEtLjIzIDEuMDM3bC03LjMzMyA2LjU2M2EuOS45IDAgMCAxLTEuMTQzLjA1Mi45NS45NSAwIDAgMS0uMzA0LTEuMTI4bDIuMjA0LTUuMjU2SC44OWMtLjM1NiAwLS42OTgtLjI0My0uODMzLS42MDZhLjk1NS45NTUgMCAwIDEgLjI1NS0xLjAzN0w3LjY0Ni43MzJBLjkuOSAwIDAgMSA4Ljc4OC42NzlhLjk1Ljk1IDAgMCAxIC4zMDQgMS4xMjh6Ii8+PC9nPjxkZWZzPjxjbGlwUGF0aCBpZD0iYSI+PHBhdGggZmlsbD0iI2ZmZiIgZD0iTTAgLjVoMTF2MTVIMHoiLz48L2NsaXBQYXRoPjwvZGVmcz48L3N2Zz4=");line-height:1}.fl-builder-ui-skin--dark .tf-context-beaver-builder .cm-content[contenteditable=false] .tf-dynamic-text-item{filter:grayscale(1)}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-dynamic-text-input{padding:0}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-dynamic-text-input>.cm-editor{padding:0 12px}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-dynamic-text-input>.cm-editor.cm-focused{outline:none}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-dynamic-text-input>.cm-editor .cm-scroller{font-family:inherit}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-dynamic-text-input>.cm-editor .cm-content{height:100%}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-editor .ProseMirror ul{list-style-type:disc}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-editor .ProseMirror ol{margin:0}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-editor .ProseMirror{line-height:1.2;outline:none;padding:4px 8px 4px 14px}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-editor .tf-editor-view-toggle{display:flex;flex-direction:row;justify-content:flex-end;padding-bottom:5px}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-editor .tf-editor-view-toggle .tf-button-group{width:-moz-fit-content;width:fit-content}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-file-field{align-items:center;display:flex;flex-wrap:wrap;width:-moz-fit-content;width:fit-content}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-file-text{max-width:192px;overflow:hidden;padding:0 12px;text-overflow:ellipsis}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-file-list{margin-bottom:0;padding:0;width:300px}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-file-item{align-items:center;display:flex;flex-wrap:wrap;justify-content:space-between}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-file-item img{max-width:200px}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-file-item span{flex-grow:1;overflow:hidden;text-overflow:ellipsis;width:70%}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-file-item .tf-button-upload-list{cursor:pointer;font-style:italic;text-decoration:underline}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-gallery-preview{display:flex}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-gallery-item{align-items:center;display:flex;height:100px;justify-content:center;width:100px}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-gallery-item img{border-radius:2px;height:100%;-o-object-fit:cover;object-fit:cover;overflow:hidden;width:100%}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-gallery__controls{background:#181b20;border-radius:2px;box-shadow:0 2px 4px 0 rgba(0,0,0,.12);padding:8px 12px}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-gallery__controls input,.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-gallery__controls select{border-color:#7d8690!important;box-shadow:unset}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-gallery-buttons{display:flex;gap:10px}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-gradient-container{display:flex;flex-direction:column;position:relative;width:192px}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-gradient-input{background:#181b20;border:1px solid transparent;border-radius:2px;box-shadow:0 2px 4px 0 rgba(0,0,0,.12);color:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;height:36px;padding:0 12px;width:192px}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-gradient-input::-moz-placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-gradient-input::placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-gradient-settings{padding:10px 12px}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-gradient-settings .tf-gradient-settings-row{padding:10px 0}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-gradient-popover .tf-dialog{width:100%}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-gradient-preview{padding:10px 12px;position:relative}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-gradient-colors{align-items:center;cursor:pointer;display:flex;height:36px;justify-content:space-between;padding:0 12px}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-list-container{display:flex;flex-direction:column;gap:8px}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-list-items{width:192px}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-list-header,.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-list-header label,.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-list-item{align-items:center;display:flex;justify-content:flex-start}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-list-header{background:#f0f0f0;border:1px solid rgba(0,0,0,.5);border-radius:2px;border-bottom-left-radius:0;border-bottom-right-radius:0;padding:0 12px}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-list-header label{height:36px;margin:0}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-list-item{background:#181b20;border:1px solid rgba(0,0,0,.5);border-top:none;box-sizing:border-box;height:36px;width:192px}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-list-item .tf-list-item-text{flex:1;font-size:inherit;font-weight:inherit;padding:0 12px}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-list-item .tf-list-item-actions{display:flex}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-list-search{display:flex;width:192px}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-list-search .tf-combo-box{flex:1}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-number input{background:#181b20;border:1px solid transparent;border-radius:2px;box-shadow:0 2px 4px 0 rgba(0,0,0,.12);color:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;height:36px;padding:0 12px;width:192px}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-number input::-moz-placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-number input::placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-number .tf-label{display:flex}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-number-field{display:flex;flex-direction:row;flex-wrap:nowrap;position:relative;width:192px}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-number[data-enabled=false] .tf-number-field{opacity:.5}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-number-button-group{bottom:1px;display:flex;flex-direction:column;flex-wrap:nowrap;height:auto;padding:0 12px;position:absolute;right:1px;top:1px}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-number-button-group .tf-button-number{background:#2c333a;border-radius:2px;color:#a7b1bb;fill:#a7b1bb;align-items:center;background-color:#eee;border:0;border-radius:0;box-shadow:unset;cursor:pointer;display:flex;font-family:var(--fl-builder-font-family);font-size:14px;font-style:normal;font-weight:500;height:29px;height:50%;justify-content:center;line-height:1;line-height:0;margin:0;min-width:2em;padding:0;text-align:center;transition-duration:.2s;transition-property:background-color,width}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-number-button-group .tf-button-number:hover{background:#131a22;border-color:#d3d3d3;color:#a7b1bb}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-number-button-group .tf-button-number:focus{background:#fff;border-color:var(--fl-builder-accent-color,#00a0d2);color:#a7b1bb}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-number-button-group .tf-button-number:hover{background-color:#e2e2e2}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-number-button-group .tf-button-number:first-child{border-bottom-left-radius:0;border-bottom-right-radius:0}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-number-button-group .tf-button-number:last-child{border-top-left-radius:0;border-top-right-radius:0}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-radio-group-container{display:flex;flex-direction:column}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-multiple-select,.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-select{display:inline-block;position:relative;width:192px}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-multiple-select>.tf-label,.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-select>.tf-label{display:flex}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-multiple-select__value,.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-select__value{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-multiple-select .tf-button-select,.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-select .tf-button-select{align-items:center;background:#181b20;border:1px solid transparent;border-radius:2px;box-shadow:0 2px 4px 0 rgba(0,0,0,.12);color:inherit;display:flex;font-style:inherit;font-weight:inherit;height:36px;justify-content:space-between;padding:0 10px;width:192px}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-multiple-select .tf-button-select::-moz-placeholder,.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-select .tf-button-select::-moz-placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-multiple-select .tf-button-select::placeholder,.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-select .tf-button-select::placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-multiple-select .tf-button-select[disabled],.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-select .tf-button-select[disabled]{background:hsla(0,0%,100%,.5);border-color:rgba(0,0,0,.1);color:rgba(0,0,0,.4)}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-multiple-select .tf-select-icon,.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-select .tf-select-icon{font-size:10px;padding-left:5px}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-multiple-select .tf-button-select,.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-select .tf-button-select{cursor:pointer;font-size:inherit}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-simple-dimensions{display:flex;flex-direction:column}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-simple-dimensions .tf-select,.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-simple-dimensions .tf-select .tf-button-select{width:auto}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-simple-dimensions-container{display:flex;position:relative;width:-moz-fit-content;width:fit-content}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-switch label{align-items:center;display:flex;justify-content:flex-start}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-switch-element,.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-switch-element-selected{display:inline-block;height:36px;position:relative;width:72px}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-switch-element span,.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-switch-element-selected span{background-color:#ccc;border-radius:36px;bottom:0;cursor:pointer;left:0;position:absolute;right:0;top:0;transition:.4s}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-switch-element span:before,.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-switch-element-selected span:before{background-color:#181b20;border-radius:50%;bottom:4px;content:"";height:28px;left:4px;position:absolute;transition:.4s;width:28px}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-switch-element-selected span{background-color:var(--fl-builder-accent-color,#00a0d2)}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-switch-element-selected span:focus{box-shadow:0 0 1px var(--fl-builder-accent-color,#00a0d2)}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-switch-element-selected span:before{transform:translateX(36px)}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-text{box-sizing:content-box;display:flex;flex-direction:column}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-text input{background:#181b20;border:1px solid transparent;border-radius:2px;box-shadow:0 2px 4px 0 rgba(0,0,0,.12);color:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;height:36px;padding:0 12px;width:192px}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-text input::-moz-placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-text input::placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-text-area textarea{background:#181b20;border:1px solid transparent;border-radius:2px;box-shadow:0 2px 4px 0 rgba(0,0,0,.12);color:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;height:36px;height:auto;padding:.6em;width:192px;width:100%}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-text-area textarea::-moz-placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-text-area textarea::placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-repeater-bulk-actions{align-items:center;background:#181b20;border:1px solid transparent;border-radius:2px;display:flex;justify-content:flex-start;margin-bottom:4px;padding:5px 12px}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-repeater-bulk-actions>button,.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-repeater-bulk-actions>div{margin-right:5px}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-repeater-advanced-label-row{box-sizing:border-box;display:flex;gap:8px;justify-content:space-between;padding:8px 12px;width:100%}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-repeater-advanced-label-row .tf-repeater-advanced-label-row-item{align-items:center;display:flex;flex:1;flex-wrap:wrap;justify-content:flex-start}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-repeater-advanced-label-row .tf-repeater-advanced-label-row-item:first-child{color:#4b84ce;font-weight:700}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-repeater-advanced-label-row .tf-repeater-advanced-label-row-arrow,.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-repeater-advanced-label-row .tf-repeater-advanced-label-row-index{width:32px}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-repeater-advanced-header{background:#f0f0f0;border:1px solid rgba(0,0,0,.5);border-bottom:none;border-radius:2px;border-bottom-left-radius:0;border-bottom-right-radius:0;margin:0}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-repeater-advanced-header .tf-repeater-advanced-header-item{color:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;height:36px;margin-bottom:0}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-repeater-advanced-overview{background:#181b20}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-repeater-advanced-overview .tf-repeater-advanced-label-row-arrow,.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-repeater-advanced-overview .tf-repeater-advanced-label-row-index{height:40px;line-height:40px;text-align:center}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-repeater-advanced-overview .tf-repeater-advanced-label-row-index{background:#f0f0f0}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-repeater-advanced-overview .tf-repeater-advanced-label-row-arrow{cursor:pointer}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-repeater-advanced-overview .tf-repeater-advanced-label-row-arrow>div{border:solid;border-color:inherit;border-width:0 1px 1px 0;display:inline-block;height:9px;width:9px}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-repeater-advanced-overview .tf-repeater-advanced-overview-item-actions{height:20px;width:100%}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-repeater-advanced-overview .tf-repeater-advanced-overview-item-actions button{display:none}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-repeater-advanced-overview-item-container{display:flex;flex-direction:column;justify-content:center;width:100%}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-repeater-advanced-overview-item-fields{display:flex}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-repeater-advanced-overview:hover .tf-repeater-advanced-overview-item-actions button{display:initial}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-repeater-advanced-item .tf-repeater-advanced-overview:hover,.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-repeater-advanced-item[data-open=true] .tf-repeater-advanced-overview{background-color:#99e7ff}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-repeater-advanced-item[data-open=true] .tf-repeater-advanced-label-row-arrow>div{transform:translateY(50%) rotate(-135deg)}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-repeater-advanced-item[data-open=false] .tf-repeater-advanced-label-row-arrow>div{transform:translateY(-50%) rotate(45deg)}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-repeater-advanced-item{background-color:#181b20;border:1px solid rgba(0,0,0,.5);border-radius:2px;border-radius:0;border-top:none;position:relative}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-repeater-advanced-item[data-open=true]:before{background-color:#4b84ce;content:"";height:100%;left:0;position:absolute;top:0;width:3px}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-repeater-advanced-container>.tf-repeater-actions{background-color:#181b20;border:1px solid rgba(0,0,0,.5);border-radius:2px;border-top:none;border-top-left-radius:0;border-top-right-radius:0}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-repeater-advanced-row{margin:16px 32px}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-repeater-advanced-row .tf-repeater-advanced-item-field{padding:8px 12px}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-repeater-advanced-item-field:has(>div[data-overlay-container=true]:empty){display:none}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-repeater-advanced-item-field:has(input.tf-hidden[type=hidden]){padding:0}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-repeater-advanced .tf-repeater-actions{padding:8px 12px}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-repeater-bare-items{display:flex;flex-direction:column;row-gap:8px}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-repeater-bare-items .tf-repeater-bare-row{display:flex;gap:8px;width:100%}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-repeater-block-item{background:#181b20;border:1px solid transparent;border-radius:2px;display:flex;flex-direction:column;margin-bottom:6px;margin-top:1em;width:100%}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-repeater-block-item .tf-panel-header .tf-switch-element,.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-repeater-block-item .tf-panel-header .tf-switch-element-selected{transform:scale(.7)}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-repeater-block-item-field{padding:1em}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-repeater-block-item-field:has(>div[data-overlay-container=true]:empty){display:none}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-repeater-table-container{border:1px solid rgba(0,0,0,.5);border-radius:2px;display:flex;flex-direction:column;width:100%}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-repeater-table-container .tf-repeater-actions{box-sizing:border-box;justify-content:flex-start;padding:8px 12px;width:100%}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-repeater-table-container table{padding:0 4px 4px;width:100%}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-repeater-table-container table th,.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-repeater-table-container table tr{min-height:36px;padding:2px}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-repeater-table-container table th{height:36px;text-align:left}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-repeater-table-container table td>div{display:flex;justify-content:center;width:100%}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-repeater-table-container table td>div>div{width:100%}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-repeater-table-container .tf-repeater-row-actions{width:1%}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-repeater-table-container .tf-repeater-row-actions>div{display:inline-flex;gap:6px}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-repeater-actions{display:flex;gap:6px;justify-content:flex-end;padding:2px 2px 4px}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-repeater-actions .tf-button-action:last-child{border-color:#cc1818;color:#cc1818}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-repeater-title{color:inherit;font-size:inherit;font-style:inherit;font-weight:inherit}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-repeater-block-items{margin-bottom:8px;margin-top:8px}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-dynamic-wrapper{align-items:center;display:flex;position:relative}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-dynamic-wrapper .tf-dynamic-wrapper-popover{position:absolute;top:100%;width:192px;z-index:9000000}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-dynamic-wrapper .tf-dynamic-wrapper-popover-form{background:#181b20;border:1px solid transparent;padding:0 12px;width:100%;z-index:9000000}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-dynamic-wrapper .tf-dynamic-wrapper-popover-form>*{margin:12px 0}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-dynamic-wrapper .tf-dynamic-wrapper-popover-buttons{display:flex;justify-content:flex-end}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-dynamic-wrapper .tf-dynamic-wrapper-popover-buttons button{margin-left:6px}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-dynamic-wrapper.tf-dynamic-wrapper-buttons-outside{gap:8px}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-dynamic-wrapper.tf-dynamic-wrapper-buttons-inside{gap:0;width:-moz-fit-content;width:fit-content}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-dynamic-wrapper.tf-dynamic-wrapper-buttons-inside .tf-button-icon{background:transparent;border:none;cursor:pointer;height:36px;position:absolute;right:1px;top:50%;transform:translateY(-50%)}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-dynamic-wrapper.tf-dynamic-wrapper-buttons-inside .tf-button-icon:before{content:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMyIgaGVpZ2h0PSIxNyIgZmlsbD0ibm9uZSI+PHBhdGggZmlsbD0iIzFFMUUxRSIgZD0iTTcuNTIyIDdoMy40ODdjLjQxNiAwIC43OS4yNi45MS42NDdhLjk1Ljk1IDAgMCAxLS4yNSAxLjEwNmwtLjYwMy41MjdhNC41IDQuNSAwIDAgMC01Ljk1NyA1LjIwOGwtMS40NDcgMS4yNjVhMSAxIDAgMCAxLTEuNTgtMS4xNDdMNC40ODkgOUguOTczYS45OTUuOTk1IDAgMCAxLS45MDktLjY0NyAxIDEgMCAwIDEgLjI3OC0xLjEwNmw4LjAwNS03YTEuMDAyIDEuMDAyIDAgMCAxIDEuNTggMS4xNDd6Ii8+PHBhdGggZmlsbD0iIzFFMUUxRSIgZmlsbC1ydWxlPSJldmVub2RkIiBkPSJNOS41IDE3YTMuNSAzLjUgMCAxIDAgMC03IDMuNSAzLjUgMCAwIDAgMCA3bTIuNS0zLjVhLjU3Ny41NzcgMCAwIDEtLjU3Ny41NzdoLTEuMzQ2djEuMzQ2YS41NzcuNTc3IDAgMSAxLTEuMTU0IDB2LTEuMzQ2SDcuNTc3YS41NzcuNTc3IDAgMCAxIDAtMS4xNTRoMS4zNDZ2LTEuMzQ2YS41NzcuNTc3IDAgMSAxIDEuMTU0IDB2MS4zNDZoMS4zNDZjLjMyIDAgLjU3Ny4yNTguNTc3LjU3NyIgY2xpcC1ydWxlPSJldmVub2RkIi8+PC9zdmc+);line-height:1;padding:0 5px}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-dynamic-wrapper.tf-dynamic-wrapper-buttons-inside .tf-button-icon.cm-content[contenteditable=false]:before{display:none}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-dynamic-field-wrapper.tf-dynamic-wrapper .tf-dynamic-value-input:disabled{background:hsla(0,0%,100%,.5);border-color:rgba(0,0,0,.1);color:rgba(0,0,0,.4)}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-dynamic-field-wrapper.tf-dynamic-wrapper .tf-button-icon.tf-dynamic-wrapper-clear:before{content:"⨯"}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-dynamic-text-input{background:#181b20;border:1px solid transparent;border-radius:2px;box-shadow:0 2px 4px 0 rgba(0,0,0,.12);color:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;height:36px;padding:0 12px;width:192px;width:168px}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-dynamic-text-input::-moz-placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-dynamic-text-input::placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-dynamic-text-input:focus-within{border-color:var(--fl-builder-accent-color,#00a0d2)}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-dynamic-text-input:has(.cm-content[contenteditable=false]){background:hsla(0,0%,100%,.5);border-color:rgba(0,0,0,.1);color:rgba(0,0,0,.4);pointer-events:none}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-dynamic-text-input:has(.cm-content[contenteditable=false]) .tf-dynamic-text-input__affix{border-color:rgba(0,0,0,.1)}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-dynamic-text-input--has-prefix,.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-dynamic-text-input--has-suffix{display:flex;height:auto;padding:0}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-dynamic-text-input--has-prefix>.cm-editor,.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-dynamic-text-input--has-suffix>.cm-editor{flex:1 1 auto;min-height:32px;overflow:hidden}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-dynamic-text-input>.cm-editor{height:100%;justify-content:center;width:100%}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-dynamic-text-input>.cm-editor .cm-content,.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-dynamic-text-input>.cm-editor .cm-line{padding:0}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-dynamic-text-input>.cm-editor .cm-content{display:flex;flex-direction:column;justify-content:center}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-dynamic-text-input .tf-dynamic-text-item-delete:before{content:"⨯";cursor:pointer;padding-left:3px}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-dynamic-text-input__affix{align-items:center;border:0 solid #8c8f94;display:inline-flex;font-size:.8em;font-weight:700;padding:0 .5em;text-wrap:nowrap}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-dynamic-text-input__affix--prefix{border-right-width:1px}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-dynamic-text-input__affix--suffix{border-left-width:1px}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-dynamic-text-input:focus-within .tf-dynamic-text-input__affix{border-color:#4b84ce}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-dynamic-wrapper[data-dynamic=true] .cm-editor{padding-right:25px}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-dynamic-wrapper[data-dynamic=true] .cm-editor:has(.cm-content[contenteditable=false]){padding-right:0}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-dynamic-wrapper[data-dynamic=true] .tf-dynamic-text-input--has-suffix .cm-editor{padding-right:8px}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-dynamic-wrapper[data-dynamic=true] .tf-dynamic-text-input__affix--suffix{border-right-width:1px;margin-right:33px}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-calendar table.tf-calendar-table tbody tr td,.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-calendar table.tf-calendar-table thead tr th{display:table-cell;padding:0!important}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-calendar table.tf-calendar-table tbody tr td .tf-calendar-cell,.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-calendar table.tf-calendar-table thead tr th .tf-calendar-cell{display:initial}.fl-builder-ui-skin--dark .tf-context-beaver-builder .ProseMirror-menubar{box-sizing:border-box}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-editor .ProseMirror-menubar-wrapper{height:auto;overflow:unset;position:relative}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-editor .ProseMirror-menubar-spacer{height:auto!important}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-editor .ProseMirror-menubar{left:0!important;position:absolute!important;top:0!important}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-editor .ProseMirror.ProseMirror-example-setup-style{margin-bottom:0;margin-top:63px;max-height:100px;overflow:auto}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-dialog-content,.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-popover,.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-title{color:#fff}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-dynamic-text-input{height:48px;min-width:168px;width:unset}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-dynamic-text-input>.cm-editor .cm-line{height:1.5em}.fl-lightbox form[class*=fl-builder-tangible-module-] table.fl-form-table{max-width:calc(100% - 35px);table-layout:fixed}.ProseMirror-textblock-dropdown{min-width:3em}.ProseMirror-menu{line-height:1;margin:0 -4px}.ProseMirror-tooltip .ProseMirror-menu{white-space:pre;width:-moz-fit-content;width:fit-content}.ProseMirror-menuitem{display:inline-block;margin-right:3px}.ProseMirror-menuseparator{border-right:1px solid #ddd;margin-right:3px}.ProseMirror-menu-dropdown,.ProseMirror-menu-dropdown-menu{font-size:90%;white-space:nowrap}.ProseMirror-menu-dropdown{cursor:pointer;padding-right:15px;position:relative;vertical-align:1px}.ProseMirror-menu-dropdown-wrap{display:inline-block;padding:1px 0 1px 4px;position:relative}.ProseMirror-menu-dropdown:after{border-left:4px solid transparent;border-right:4px solid transparent;border-top:4px solid;content:"";opacity:.6;position:absolute;right:4px;top:calc(50% - 2px)}.ProseMirror-menu-dropdown-menu,.ProseMirror-menu-submenu{background:#fff;border:1px solid #aaa;color:#666;padding:2px;position:absolute}.ProseMirror-menu-dropdown-menu{min-width:6em;z-index:15}.ProseMirror-menu-dropdown-item{cursor:pointer;padding:2px 8px 2px 4px}.ProseMirror-menu-dropdown-item:hover{background:#f2f2f2}.ProseMirror-menu-submenu-wrap{margin-right:-4px;position:relative}.ProseMirror-menu-submenu-label:after{border-bottom:4px solid transparent;border-left:4px solid;border-top:4px solid transparent;content:"";opacity:.6;position:absolute;right:4px;top:calc(50% - 4px)}.ProseMirror-menu-submenu{display:none;left:100%;min-width:4em;top:-3px}.ProseMirror-menu-active{background:#eee;border-radius:4px}.ProseMirror-menu-disabled{opacity:.3}.ProseMirror-menu-submenu-wrap-active .ProseMirror-menu-submenu,.ProseMirror-menu-submenu-wrap:hover .ProseMirror-menu-submenu{display:block}.ProseMirror-menubar{background:#fff;border-bottom:1px solid silver;border-top-left-radius:inherit;border-top-right-radius:inherit;color:#666;left:0;min-height:1em;padding:1px 6px;position:relative;right:0;top:0;z-index:10}.ProseMirror-icon{cursor:pointer;display:inline-block;line-height:.8;padding:2px 8px;vertical-align:-2px}.ProseMirror-menu-disabled.ProseMirror-icon{cursor:default}.ProseMirror-icon svg{fill:currentColor;height:1em}.ProseMirror-icon span{vertical-align:text-top}.ProseMirror-menubar-wrapper{background-color:#fff;border:2px solid rgba(0,0,0,.2);border-radius:5px;height:150px;overflow:auto;resize:vertical}.ProseMirror-menubar{box-shadow:0 2px 5px rgba(0,0,0,.2);box-sizing:border-box;overflow:visible;padding-bottom:12px;padding-top:12px}.ProseMirror.ProseMirror-example-setup-style{border-radius:5px;margin-bottom:20px;padding-bottom:12px;padding-left:12px;padding-right:12px}.ProseMirror-example-setup-style hr{border:none;margin:1em 0;padding:2px 10px}.ProseMirror-example-setup-style hr:after{background-color:silver;content:"";display:block;height:1px;line-height:2px}.ProseMirror ol,.ProseMirror ul{padding-left:30px}.ProseMirror blockquote{border-left:3px solid #eee;margin-left:0;margin-right:0;padding-left:1em}.ProseMirror-example-setup-style img{cursor:default}.ProseMirror-prompt{background:#fff;border:1px solid silver;border-radius:3px;box-shadow:-.5px 2px 5px rgba(0,0,0,.2);padding:8px 10px 8px 15px;position:fixed;z-index:9999999}.ProseMirror-prompt h5{color:#444;font-size:100%;font-weight:400;margin:0}.ProseMirror-prompt input[type=text],.ProseMirror-prompt textarea{background:#eee;border:none;outline:none}.ProseMirror-prompt input[type=text]{margin-top:5px;padding:0 4px}.ProseMirror-prompt-close{background:transparent;border:none;color:#666;left:2px;padding:0;position:absolute;top:1px}.ProseMirror-prompt-close:after{content:"✕";font-size:12px}.ProseMirror-invalid{background:#ffc;border:1px solid #cc7;border-radius:4px;min-width:10em;padding:5px 10px;position:absolute}.ProseMirror-prompt-buttons{margin-top:5px}.ProseMirror{position:relative;word-wrap:break-word;font-feature-settings:"liga" 0;font-variant-ligatures:none;white-space:pre-wrap;white-space:break-spaces}.ProseMirror pre{white-space:pre-wrap}.ProseMirror li{position:relative}.ProseMirror-hideselection ::selection{background:transparent}.ProseMirror-hideselection ::-moz-selection{background:transparent}.ProseMirror-hideselection{caret-color:transparent}.ProseMirror-selectednode{outline:2px solid #8cf}li.ProseMirror-selectednode{outline:none}li.ProseMirror-selectednode:after{border:2px solid #8cf;bottom:-2px;content:"";left:-32px;pointer-events:none;position:absolute;right:-2px;top:-2px}img.ProseMirror-separator{border:none!important;display:inline!important;margin:0!important}.ProseMirror-gapcursor{display:none;pointer-events:none;position:absolute}.ProseMirror-gapcursor:after{animation:ProseMirror-cursor-blink 1.1s steps(2,start) infinite;border-top:1px solid #000;content:"";display:block;position:absolute;top:-2px;width:20px}@keyframes ProseMirror-cursor-blink{to{visibility:hidden}}.ProseMirror-focused .ProseMirror-gapcursor{display:block} +@charset "UTF-8";.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-dynamic-text-input>.cm-editor .cm-content{padding:12px}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-dynamic-text-input>.cm-editor .cm-line{caret-color:#000}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-panel.tf-panel-open .tf-button-action.tf-panel-header{border-bottom:1px solid #e6eaed}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-panel.tf-panel-open .tf-panel-footer{border-top:1px solid #e6eaed}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-button-action,.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-button-danger,.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-button-primary{align-items:center;background:#e7ebef;border:2px solid transparent;border-radius:2px;color:#676f7a;display:flex;justify-content:center;width:-moz-fit-content;width:fit-content;fill:#676f7a;box-shadow:unset;cursor:pointer;font-family:var(--fl-builder-font-family);font-size:14px;font-style:normal;font-weight:500;height:29px;line-height:1;margin:0;padding:0 16px;text-align:center;transition-duration:.2s;transition-property:background-color,width}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-button-action:hover,.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-button-danger:hover,.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-button-primary:hover{background:#dadfe5;border-color:transparent;color:#676f7a}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-button-action:focus,.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-button-danger:focus,.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-button-primary:focus{background:#dadfe5;border-color:var(--fl-builder-accent-color,#00a0d2);color:#676f7a}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-button-danger{border-color:#cc1818;color:#cc1818}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-button-primary{background-color:#4b84ce;color:inherit}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-button-action[disabled],.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-button-danger[disabled],.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-button-icon-trash[disabled],.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-button-primary[disabled],.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-button-text-action[disabled],.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-button-text-danger[disabled],.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-button-text-primary[disabled]{cursor:not-allowed;opacity:.5;pointer-events:none}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-button-action:focus{outline:none}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-button-text-action,.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-button-text-danger,.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-button-text-primary{background:transparent;border:none;cursor:pointer;display:inline}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-button-text-action:hover,.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-button-text-danger:hover,.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-button-text-primary:hover{font-weight:700}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-button-text-action{color:#676f7a}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-button-text-danger{color:#cc1818}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-button-text-primary{color:#4b84ce}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-button-icon-trash{align-items:center;background:transparent;border:none;cursor:pointer;display:flex;height:36px;justify-content:center;width:36px}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-button-icon-trash:after{content:url('data:image/svg+xml;utf8,')}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-button-icon-eye{align-items:center;background:transparent;border:none;cursor:pointer;display:flex;height:36px;justify-content:center;width:36px}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-button-icon-eye:after{content:url('data:image/svg+xml;utf8,')}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-dialog .tf-title{display:flex}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-dialog .tf-title h4{margin:0;padding:12px 0}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-panel{background:#fff;border-radius:2px;box-shadow:0 2px 4px 0 rgba(0,0,0,.12);display:flex;flex-direction:column;margin-bottom:8px;width:100%}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-panel input,.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-panel select{border-color:#e6eaed!important;box-shadow:unset}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-panel-header{align-items:center;cursor:pointer;display:flex;height:36px;justify-content:space-between;width:100%}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-panel-header.tf-button-action{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:0;border-radius:0;box-sizing:border-box;color:inherit;cursor:pointer;display:flex;font-family:inherit;font-size:100%;height:36px;justify-content:space-between;line-height:1.15;margin:0;padding:8px 12px;text-align:left;width:100%}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-panel-header.tf-button-action:hover{background:#f0f0f0}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-panel-open .tf-panel-header.tf-button-action{border-bottom:1px solid #23282d}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-panel-header-before-title,.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-panel-header-left,.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-panel-header-right,.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-panel-header-title{align-items:center;display:flex;justify-content:flex-start;padding:0 12px}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-panel-header-left{padding-left:0}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-panel-content,.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-panel-footer{padding:4px 12px}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-panel-closed .tf-panel-content{display:none}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-panel-footer{border-top:1px solid #23282d;display:flex;gap:8px;justify-content:flex-end;padding:1em}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-panel-arrow{border:solid;border-color:inherit;border-width:0 1px 1px 0;display:inline-block;height:9px;width:9px}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-panel-open .tf-panel-arrow{transform:translateY(50%) rotate(-135deg)}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-panel-closed .tf-panel-arrow{transform:translateY(-50%) rotate(45deg)}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-description,.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-label{color:inherit;font-size:inherit;font-style:inherit;font-weight:inherit}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-list-box{background:#fff;list-style:none;margin:5px 0;max-height:300px;max-width:100%;min-width:100%;overflow-y:auto;padding:0}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-list-box-option{background:transparent;border-radius:2px;cursor:pointer;display:flex;font-size:13px;gap:8px;margin:0 5px;outline:none;padding:5px 9px}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-list-box-option:not(.tf-list-box-option-selected,.tf-list-box-option-disabled):hover{color:var(--fl-builder-accent-color,#00a0d2)}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-list-box-option-selected,.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-list-box-option-selected.tf-list-box-option-selected{background-color:var(--fl-builder-accent-color,#00a0d2);color:#fff}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-list-box-option-selected.tf-list-box-option-selected:hover,.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-list-box-option-selected:hover{color:#fff}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-list-box-option-selected.tf-list-box-option-selected:after,.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-list-box-option-selected:after{content:"✓";margin-left:auto}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-list-box-option-disabled{color:#aaa;cursor:default}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-list-box-option-focus{box-shadow:inset 0 0 0 2px;color:var(--fl-builder-accent-color,#00a0d2)}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-list-box-section-separator:not(:first-child){border-top:1px solid #8c8f94;margin:12px 0}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-list-box-section>span{color:#7d8690;display:block;font-size:11px;font-weight:500;line-height:1.45;margin:0 10px;padding:5px 9px;text-transform:uppercase}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-list-box-section>ul{list-style:none;padding:0}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-modal{align-items:center;background:rgba(0,0,0,.7);bottom:0;display:flex;justify-content:center;left:0;position:fixed;right:0;top:0;z-index:9990}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-modal .tf-modal-container{background:#fff;border:1px solid transparent;border-radius:2px;padding:2rem}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-modal-actions{display:flex;justify-content:flex-end;padding-top:12px}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-modal-actions button{margin-left:12px}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-notice{background:#fff;box-shadow:0 1px 1px rgba(0,0,0,.04);color:#000;margin-top:4px;padding:1px 12px}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-notice.tf-is-dismissible{padding-right:38px;position:relative}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-notice.tf-error{border-left:4px solid #d63638}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-notice.tf-success{border-left:4px solid #00a32a}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-notice.tf-warning{border-left-color:#dba617}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-notice.tf-info{border-left-color:#72aee6}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-notice-dismiss{background:none;border:none;color:#787c82;cursor:pointer;margin:0;padding:9px;position:absolute;right:1px;top:0}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-notice-dismiss:active:before,.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-notice-dismiss:focus:before,.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-notice-dismiss:hover:before{color:#d63638}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-notice-dismiss:focus{box-shadow:0 0 0 1px #4f94d4,0 0 2px 1px rgba(79,148,212,.8);outline:none}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-notice-dismiss:before{background:none;color:#787c82;content:"\f153";display:block;font:normal 16px/20px dashicons;height:20px;text-align:center;width:20px;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-underlay{inset:0;position:fixed}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-popover{background:#fff;color:inherit;z-index:9000000}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-tooltip-trigger-content{cursor:context-menu;position:relative;width:-moz-fit-content;width:fit-content}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-tooltip{cursor:default;display:inline-block;max-width:150px;position:absolute;visibility:hidden;width:-moz-max-content;width:max-content;z-index:1}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-tooltip-top{bottom:100%;left:50%;margin-bottom:12px;transform:translateX(-50%)}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-tooltip-bottom{left:50%;margin-top:12px;top:100%;transform:translateX(-50%)}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-tooltip-start{margin-right:12px;right:100%;top:50%;transform:translateY(-50%)}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-tooltip-end{left:100%;margin-left:12px;top:50%;transform:translateY(-50%)}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-tooltip-content{border-radius:3px;font-size:12px;padding:6px 12px;text-align:center;word-break:normal}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-tooltip-content.light{background-color:#e6e6e6;color:hsla(0,4%,5%,.945);--tf-tooltip-after-color:#e6e6e6}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-tooltip-content.dark{background-color:hsla(0,4%,5%,.945);color:#e6e6e6;--tf-tooltip-after-color:hsla(0,4%,5%,.945)}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-tooltip-content:after{border-style:solid;border-width:7px;content:" ";position:absolute}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-tooltip-content-top:after{border-color:var(--tf-tooltip-after-color,transparent) transparent transparent transparent;left:50%;margin-left:-7px;top:100%}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-tooltip-content-bottom:after{border-color:transparent transparent var(--tf-tooltip-after-color,transparent) transparent;bottom:100%;left:50%;margin-left:-7px}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-tooltip-content-start:after{border-color:transparent transparent transparent var(--tf-tooltip-after-color,transparent);left:100%;margin-top:-7px;top:50%}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-tooltip-content-end:after{border-color:transparent var(--tf-tooltip-after-color,transparent) transparent transparent;margin-top:-7px;right:100%;top:50%}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-tooltip-trigger-content:hover .tf-tooltip{visibility:visible}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-conditional-group-actions{align-items:center;display:flex;gap:8px;padding:8px 0}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-conditional-group-actions strong{text-transform:uppercase}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-conditional-panel-condition-actions{display:flex;gap:4px}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-conditional-panel-condition-actions .tf-button-action:first-child{text-transform:uppercase}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-conditional-panel-condition-actions .tf-button-danger:last-child{position:relative}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-conditional-panel-condition-actions .tf-button-danger:last-child:before{background-color:#cc1818;content:"";height:2px;position:absolute;width:100%;width:10px}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-accordion .tf-switch-element,.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-accordion .tf-switch-element-selected{transform:scale(.7)}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-alignment-matrix-container{display:grid;grid-template-columns:repeat(3,1fr);height:50px;margin:5px;width:50px}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-border-dimensions-container{margin:0 0 5px}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-button-group .tf-button-group-option{background:#e7ebef;border:2px solid transparent;border-radius:2px;color:#676f7a;fill:#676f7a;align-items:center;border-radius:0;box-shadow:unset;color:var(--fl-builder-accent-color,#00a0d2);cursor:pointer;display:inline-flex;font-family:var(--fl-builder-font-family);font-size:14px;font-style:normal;font-weight:500;height:29px;line-height:1;margin:0;padding:0 16px;text-align:center;transition-duration:.2s;transition-property:background-color,width}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-button-group .tf-button-group-option:hover{background:#dadfe5;border-color:transparent;color:#676f7a}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-button-group .tf-button-group-option:focus{background:#dadfe5;border-color:var(--fl-builder-accent-color,#00a0d2);color:#676f7a}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-button-group .tf-button-group-option:first-child{border-bottom-left-radius:2px;border-top-left-radius:2px}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-button-group .tf-button-group-option:not(:first-child){margin-left:-2px}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-button-group .tf-button-group-option:last-child{border-bottom-right-radius:2px;border-top-right-radius:2px}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-button-group .tf-button-group-option.tf-button-group-option-selected{background:var(--fl-builder-accent-color,#00a0d2);border-color:var(--fl-builder-accent-color,#00a0d2);color:#fff}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-button-group .tf-button-group-option:focus-within{position:relative;z-index:1}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-button-group .tf-button-group-option .dashicons{align-items:center;display:flex;justify-content:center}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-button-group-container[aria-disabled=true] .tf-button-group-option{opacity:.5;pointer-events:none}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-checkbox .tf-label{font-size:13px;font-weight:400;margin-bottom:revert;text-transform:none}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-checkbox input[type=checkbox]{border:1px solid;border-color:inherit;border-radius:2px;box-shadow:0 0 0 transparent;margin-right:revert}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-checkbox input[type=checkbox]:focus{border-color:var(--fl-builder-accent-color,#00a0d2)}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-checkbox input[type=checkbox]:checked{background:var(--fl-builder-accent-color,#00a0d2);border-color:var(--fl-builder-accent-color,#00a0d2);color:#fff}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-checkbox input[type=checkbox]:checked:before{content:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGFyaWEtaGlkZGVuPSJ0cnVlIiBjbGFzcz0iY29tcG9uZW50cy1jaGVja2JveC1jb250cm9sX19jaGVja2VkIiB2aWV3Qm94PSIwIDAgMjQgMjQiPjxwYXRoIGZpbGw9IiNmZmYiIGQ9Im0xNi43IDcuMS02LjMgOC41LTMuMy0yLjUtLjkgMS4yIDQuNSAzLjRMMTcuOSA4eiIvPjwvc3ZnPg==")}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-checkbox input[type=checkbox]:indeterminate{background:var(--fl-builder-accent-color,#00a0d2);border-color:var(--fl-builder-accent-color,#00a0d2);color:#fff}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-checkbox input[type=checkbox]:indeterminate:before{content:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGFyaWEtaGlkZGVuPSJ0cnVlIiBjbGFzcz0iY29tcG9uZW50cy1jaGVja2JveC1jb250cm9sX19pbmRldGVybWluYXRlIiB2aWV3Qm94PSIwIDAgMjQgMjQiPjxwYXRoIGZpbGw9IiNmZmYiIGQ9Ik03IDExLjVoMTBWMTNIN3oiLz48L3N2Zz4=")}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-color-area,.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-color-area-gradient{height:150px;width:100%}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-color-area-thumb{border:2px solid #fff;border-radius:50%;box-shadow:0 0 0 1px #000,inset 0 0 0 1px #000;height:20px;top:50%;width:20px}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-color-container{position:relative;width:-moz-fit-content;width:fit-content}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-color-container input{background:#fff;border:1px solid transparent;border-radius:2px;box-shadow:0 2px 4px 0 rgba(0,0,0,.12);color:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;height:36px;padding:0 12px;width:192px}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-color-container input::-moz-placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-color-container input::placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-color-picker{background:#fff;border:1px solid transparent;width:100%;z-index:9000000}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-color-picker .tf-color-area{display:flex;justify-content:center;width:100%}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-color-picker .tf-color-area .tf-color-area-thumb{transform:translate(-50%,-50%)!important}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-color-picker .tf-color-input{display:flex;flex-direction:column;padding:10px}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-color-picker .tf-color-sliders{padding:0 12px 10px}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-color-input>input{width:100%}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-color-slider{align-items:center;display:flex;flex-direction:column;padding-bottom:5px;padding-top:5px;width:100%}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-color-slider-label{align-self:stretch;display:flex}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-color-slider-label output{flex:1 0 auto;text-align:end}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-color-slider-container{border:1px solid transparent;border-radius:10px;height:20px;width:100%}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-combo-box{display:flex;flex-direction:column;width:100%}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-combo-box-text{background:#fff;border:1px solid transparent;border-radius:2px;box-shadow:0 2px 4px 0 rgba(0,0,0,.12);color:inherit;display:flex;flex-wrap:nowrap;font-size:inherit;font-style:inherit;font-weight:inherit;height:36px;justify-content:space-between;padding:0;position:relative;width:192px}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-combo-box-text::-moz-placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-combo-box-text::placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-combo-box-text input{border:0;box-shadow:none;width:100%}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-combo-box-text input:focus{box-shadow:none}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-combo-box-text .tf-button-action{background:#e7ebef;border-radius:2px;color:#676f7a;fill:#676f7a;background:none;border:0;box-shadow:unset;cursor:pointer;font-family:var(--fl-builder-font-family);font-size:14px;font-style:normal;font-weight:500;height:29px;line-height:1;margin:0;max-height:34px;padding:0 16px;text-align:center;transition-duration:.2s;transition-property:background-color,width}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-combo-box-text .tf-button-action:hover{background:#dadfe5;border-color:transparent;color:#676f7a}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-combo-box-text .tf-button-action:focus{background:#dadfe5;border-color:var(--fl-builder-accent-color,#00a0d2);color:#676f7a}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-combo-box-text .tf-button-action span{padding:0 2px}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-combo-box-text:focus-within{border-color:var(--fl-builder-accent-color,#00a0d2)}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-combo-box-item{align-items:center;background-color:#99e7ff;border:1px solid transparent;border-radius:2px;box-sizing:border-box;color:var(--fl-builder-accent-color,#00a0d2);display:inline-flex;font-size:13px;font-weight:700;gap:.35em;line-height:1.4;max-width:100%;padding:.25em .5em}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-combo-box-item span:first-child{flex:1 1 auto;padding-right:5px;text-overflow:ellipsis}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-combo-box-item button:last-child{background-color:transparent;border:none;color:var(--fl-builder-accent-color,#00a0d2);cursor:pointer}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-combo-box-item button:last-child:focus{outline:none}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-multiple-combobox-container{display:flex;gap:8px;position:relative}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-multiple-combobox-container>.tf-popover{left:0;position:absolute;top:100%;width:192px;z-index:9000000}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-multiple-combobox-container>.tf-popover .tf-combo-box{width:100%}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-multiple-combobox-container>.tf-popover .tf-list-box-option:not(.tf-list-box-option-selected,.tf-list-box-option-disabled):hover:after{content:"+";margin-left:auto}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-multiple-combobox{position:relative}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-multiple-combobox>.tf-label{display:flex}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-multiple-combobox-values{align-items:center;background-color:#fff;border:1px solid transparent;border-radius:2px;box-sizing:border-box;display:flex;flex-wrap:wrap;gap:8px;min-height:36px;padding:0 12px;width:192px}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-multiple-combobox[data-enabled=false] .tf-multiple-combobox-values{opacity:.5}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-combo-box-popover.tf-popover{border:1px solid transparent;border-bottom-left-radius:2px;border-bottom-right-radius:2px;border-color:var(--fl-builder-accent-color,#00a0d2);box-shadow:0 0 0 1px var(--fl-builder-accent-color,#00a0d2);margin-left:-2px;outline:2px solid transparent}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-date-picker{align-items:flex-start;display:flex;flex-direction:column}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-popover{border:1px solid transparent;border-radius:2px;display:flex;justify-content:center;width:auto}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-popover .tf-calendar{padding:20px;width:-moz-fit-content;width:fit-content}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-popover .tf-calendar-month{text-align:center}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-popover .tf-calendar-buttons{align-items:center;display:flex;justify-content:space-between}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-popover .tf-calendar-buttons button{background:#e7ebef;border:2px solid transparent;border-radius:2px;color:#676f7a;fill:#676f7a;box-shadow:unset;cursor:pointer;font-family:var(--fl-builder-font-family);font-size:14px;font-style:normal;font-weight:500;height:29px;line-height:1;margin:0;padding:0 16px;text-align:center;transition-duration:.2s;transition-property:background-color,width}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-popover .tf-calendar-buttons button:hover{background:#dadfe5;border-color:transparent;color:#676f7a}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-popover .tf-calendar-buttons button:focus{background:#dadfe5;border-color:var(--fl-builder-accent-color,#00a0d2);color:#676f7a}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-popover .tf-calendar-tables{display:flex}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-popover .tf-calendar-table{padding:10px;width:100%}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-popover .tf-calendar-table td{text-align:center}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-popover .tf-calendar-presets{display:flex;gap:.25rem}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-popover .tf-calendar-presets button{background:#e7ebef;border:2px solid transparent;border-radius:2px;color:#676f7a;fill:#676f7a;box-shadow:unset;cursor:pointer;font-family:var(--fl-builder-font-family);font-size:14px;font-style:normal;font-weight:500;height:29px;line-height:1;margin:0;padding:0 16px;text-align:center;transition-duration:.2s;transition-property:background-color,width}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-popover .tf-calendar-presets button:hover{background:#dadfe5;border-color:transparent;color:#676f7a}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-popover .tf-calendar-presets button:focus{background:#dadfe5;border-color:var(--fl-builder-accent-color,#00a0d2);color:#676f7a}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-popover .tf-calendar-cell{border-radius:100%;cursor:pointer;height:2em;line-height:2em;width:2em}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-popover .tf-calendar-cell.tf-calendar-cell-disabled,.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-popover .tf-calendar-cell.tf-calendar-cell-unavailable{cursor:not-allowed;opacity:.5}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-popover .tf-calendar-cell:not(.tf-calendar-cell-disabled,.tf-calendar-cell-unavailable,.tf-calendar-cell-selected):hover{color:var(--fl-builder-accent-color,#00a0d2)}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-popover .tf-calendar-cell.tf-calendar-cell-selected{background-color:var(--fl-builder-accent-color,#00a0d2);color:#fff}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-date-group{align-items:center;display:flex;gap:8px;justify-content:flex-start}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-date-group .tf-button-action{height:36px}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-date-field-container{width:100%}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-date-field{align-items:center;background:#fff;border:1px solid transparent;border-radius:2px;box-shadow:0 2px 4px 0 rgba(0,0,0,.12);color:inherit;display:inline-flex;font-size:inherit;font-style:inherit;font-weight:inherit;height:36px;justify-content:center;padding:0 12px;width:192px;width:168px}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-date-field::-moz-placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-date-field::placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-date-field:focus-within{border-color:var(--fl-builder-accent-color,#00a0d2)}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-date-segment{font-variant-numeric:tabular-nums;padding:0 2px;text-align:end}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-date-segment:focus{background:var(--fl-builder-accent-color,#00a0d2);border-radius:2px;color:#fff;outline:none}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-date-segment span{display:none}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-date-segment-placeholder span{display:flex}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-dimensions{display:flex;flex-direction:column}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-dimensions .tf-select,.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-dimensions .tf-select .tf-button-select{width:auto}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-dimensions-container{display:flex;flex-wrap:wrap;position:relative;width:-moz-fit-content;width:fit-content}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-dimensions-number-groups{display:flex;flex-direction:row;max-width:300px}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-dimensions-number-groups .tf-number{flex:1 1 75px}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-dimensions-number-groups .tf-number .tf-number-field{width:100%}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-dimensions-number-groups .tf-number input{text-align:left;width:100%}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-dimensions-number-groups .tf-number-button-group .tf-button-number{padding:0 3px}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-dimensions-number-groups-linked .tf-number:not(:first-child){display:none;opacity:.5;pointer-events:none}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-dynamic-text-field{align-items:center;display:flex;gap:8px;position:relative}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-dynamic-text-field .tf-dynamic-text-popover{left:0;position:absolute;top:100%;width:192px;z-index:9000000}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-dynamic-text-field .tf-dynamic-text-popover .tf-list-box-option:not(.tf-list-box-option-selected,.tf-list-box-option-disabled):hover:after{content:"+";margin-left:auto}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-dynamic-text-item{align-items:center;background-color:#99e7ff;border:1px solid transparent;border-radius:2px;color:var(--fl-builder-accent-color,#00a0d2);display:inline-flex;font-size:13px;font-weight:700;gap:.35em;line-height:1.4;margin:0 .15em;padding:.25em .5em}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-dynamic-text-item:before{content:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMSIgaGVpZ2h0PSIxNiIgZmlsbD0ibm9uZSI+PGcgY2xpcC1wYXRoPSJ1cmwoI2EpIj48cGF0aCBmaWxsPSIjMzg1OEU5IiBkPSJNNi44OSA3LjA2MmgzLjE5M2MuMzgxIDAgLjcyNS4yNDQuODM0LjYwN2EuOTEuOTEgMCAwIDEtLjIzIDEuMDM3bC03LjMzMyA2LjU2M2EuOS45IDAgMCAxLTEuMTQzLjA1Mi45NS45NSAwIDAgMS0uMzA0LTEuMTI4bDIuMjA0LTUuMjU2SC44OWMtLjM1NiAwLS42OTgtLjI0My0uODMzLS42MDZhLjk1NS45NTUgMCAwIDEgLjI1NS0xLjAzN0w3LjY0Ni43MzJBLjkuOSAwIDAgMSA4Ljc4OC42NzlhLjk1Ljk1IDAgMCAxIC4zMDQgMS4xMjh6Ii8+PC9nPjxkZWZzPjxjbGlwUGF0aCBpZD0iYSI+PHBhdGggZmlsbD0iI2ZmZiIgZD0iTTAgLjVoMTF2MTVIMHoiLz48L2NsaXBQYXRoPjwvZGVmcz48L3N2Zz4=");line-height:1}.fl-builder-ui-skin--light .tf-context-beaver-builder .cm-content[contenteditable=false] .tf-dynamic-text-item{filter:grayscale(1)}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-dynamic-text-input{padding:0}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-dynamic-text-input>.cm-editor{padding:0 12px}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-dynamic-text-input>.cm-editor.cm-focused{outline:none}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-dynamic-text-input>.cm-editor .cm-scroller{font-family:inherit}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-dynamic-text-input>.cm-editor .cm-content{height:100%}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-editor .ProseMirror ul{list-style-type:disc}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-editor .ProseMirror ol{margin:0}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-editor .ProseMirror{line-height:1.2;outline:none;padding:4px 8px 4px 14px}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-editor .tf-editor-view-toggle{display:flex;flex-direction:row;justify-content:flex-end;padding-bottom:5px}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-editor .tf-editor-view-toggle .tf-button-group{width:-moz-fit-content;width:fit-content}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-file-field{align-items:center;display:flex;flex-wrap:wrap;width:-moz-fit-content;width:fit-content}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-file-text{max-width:192px;overflow:hidden;padding:0 12px;text-overflow:ellipsis}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-file-list{margin-bottom:0;padding:0;width:300px}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-file-item{align-items:center;display:flex;flex-wrap:wrap;justify-content:space-between}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-file-item img{max-width:200px}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-file-item span{flex-grow:1;overflow:hidden;text-overflow:ellipsis;width:70%}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-file-item .tf-button-upload-list{cursor:pointer;font-style:italic;text-decoration:underline}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-gallery-preview{display:flex}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-gallery-item{align-items:center;display:flex;height:100px;justify-content:center;width:100px}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-gallery-item img{border-radius:2px;height:100%;-o-object-fit:cover;object-fit:cover;overflow:hidden;width:100%}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-gallery__controls{background:#fff;border-radius:2px;box-shadow:0 2px 4px 0 rgba(0,0,0,.12);padding:8px 12px}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-gallery__controls input,.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-gallery__controls select{border-color:#e6eaed!important;box-shadow:unset}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-gallery-buttons{display:flex;gap:10px}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-gradient-container{display:flex;flex-direction:column;position:relative;width:192px}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-gradient-input{background:#fff;border:1px solid transparent;border-radius:2px;box-shadow:0 2px 4px 0 rgba(0,0,0,.12);color:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;height:36px;padding:0 12px;width:192px}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-gradient-input::-moz-placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-gradient-input::placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-gradient-settings{padding:10px 12px}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-gradient-settings .tf-gradient-settings-row{padding:10px 0}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-gradient-popover .tf-dialog{width:100%}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-gradient-preview{padding:10px 12px;position:relative}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-gradient-colors{align-items:center;cursor:pointer;display:flex;height:36px;justify-content:space-between;padding:0 12px}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-list-container{display:flex;flex-direction:column;gap:8px}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-list-items{width:192px}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-list-header,.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-list-header label,.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-list-item{align-items:center;display:flex;justify-content:flex-start}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-list-header{background:#f0f0f0;border:1px solid rgba(0,0,0,.5);border-radius:2px;border-bottom-left-radius:0;border-bottom-right-radius:0;padding:0 12px}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-list-header label{height:36px;margin:0}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-list-item{background:#fff;border:1px solid rgba(0,0,0,.5);border-top:none;box-sizing:border-box;height:36px;width:192px}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-list-item .tf-list-item-text{flex:1;font-size:inherit;font-weight:inherit;padding:0 12px}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-list-item .tf-list-item-actions{display:flex}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-list-search{display:flex;width:192px}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-list-search .tf-combo-box{flex:1}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-number input{background:#fff;border:1px solid transparent;border-radius:2px;box-shadow:0 2px 4px 0 rgba(0,0,0,.12);color:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;height:36px;padding:0 12px;width:192px}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-number input::-moz-placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-number input::placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-number .tf-label{display:flex}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-number-field{display:flex;flex-direction:row;flex-wrap:nowrap;position:relative;width:192px}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-number[data-enabled=false] .tf-number-field{opacity:.5}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-number-button-group{bottom:1px;display:flex;flex-direction:column;flex-wrap:nowrap;height:auto;padding:0 12px;position:absolute;right:1px;top:1px}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-number-button-group .tf-button-number{background:#e7ebef;border-radius:2px;color:#676f7a;fill:#676f7a;align-items:center;background-color:#eee;border:0;border-radius:0;box-shadow:unset;cursor:pointer;display:flex;font-family:var(--fl-builder-font-family);font-size:14px;font-style:normal;font-weight:500;height:29px;height:50%;justify-content:center;line-height:1;line-height:0;margin:0;min-width:2em;padding:0;text-align:center;transition-duration:.2s;transition-property:background-color,width}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-number-button-group .tf-button-number:hover{background:#dadfe5;border-color:transparent;color:#676f7a}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-number-button-group .tf-button-number:focus{background:#dadfe5;border-color:var(--fl-builder-accent-color,#00a0d2);color:#676f7a}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-number-button-group .tf-button-number:hover{background-color:#e2e2e2}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-number-button-group .tf-button-number:first-child{border-bottom-left-radius:0;border-bottom-right-radius:0}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-number-button-group .tf-button-number:last-child{border-top-left-radius:0;border-top-right-radius:0}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-radio-group-container{display:flex;flex-direction:column}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-multiple-select,.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-select{display:inline-block;position:relative;width:192px}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-multiple-select>.tf-label,.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-select>.tf-label{display:flex}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-multiple-select__value,.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-select__value{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-multiple-select .tf-button-select,.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-select .tf-button-select{align-items:center;background:#fff;border:1px solid transparent;border-radius:2px;box-shadow:0 2px 4px 0 rgba(0,0,0,.12);color:inherit;display:flex;font-style:inherit;font-weight:inherit;height:36px;justify-content:space-between;padding:0 10px;width:192px}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-multiple-select .tf-button-select::-moz-placeholder,.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-select .tf-button-select::-moz-placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-multiple-select .tf-button-select::placeholder,.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-select .tf-button-select::placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-multiple-select .tf-button-select[disabled],.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-select .tf-button-select[disabled]{background:hsla(0,0%,100%,.5);border-color:rgba(0,0,0,.1);color:rgba(0,0,0,.4)}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-multiple-select .tf-select-icon,.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-select .tf-select-icon{font-size:10px;padding-left:5px}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-multiple-select .tf-button-select,.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-select .tf-button-select{cursor:pointer;font-size:inherit}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-simple-dimensions{display:flex;flex-direction:column}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-simple-dimensions .tf-select,.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-simple-dimensions .tf-select .tf-button-select{width:auto}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-simple-dimensions-container{display:flex;position:relative;width:-moz-fit-content;width:fit-content}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-switch label{align-items:center;display:flex;justify-content:flex-start}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-switch-element,.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-switch-element-selected{display:inline-block;height:36px;position:relative;width:72px}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-switch-element span,.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-switch-element-selected span{background-color:#ccc;border-radius:36px;bottom:0;cursor:pointer;left:0;position:absolute;right:0;top:0;transition:.4s}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-switch-element span:before,.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-switch-element-selected span:before{background-color:#fff;border-radius:50%;bottom:4px;content:"";height:28px;left:4px;position:absolute;transition:.4s;width:28px}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-switch-element-selected span{background-color:var(--fl-builder-accent-color,#00a0d2)}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-switch-element-selected span:focus{box-shadow:0 0 1px var(--fl-builder-accent-color,#00a0d2)}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-switch-element-selected span:before{transform:translateX(36px)}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-text{box-sizing:content-box;display:flex;flex-direction:column}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-text input{background:#fff;border:1px solid transparent;border-radius:2px;box-shadow:0 2px 4px 0 rgba(0,0,0,.12);color:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;height:36px;padding:0 12px;width:192px}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-text input::-moz-placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-text input::placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-text-area textarea{background:#fff;border:1px solid transparent;border-radius:2px;box-shadow:0 2px 4px 0 rgba(0,0,0,.12);color:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;height:36px;height:auto;padding:.6em;width:192px;width:100%}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-text-area textarea::-moz-placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-text-area textarea::placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-repeater-bulk-actions{align-items:center;background:#fff;border:1px solid transparent;border-radius:2px;display:flex;justify-content:flex-start;margin-bottom:4px;padding:5px 12px}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-repeater-bulk-actions>button,.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-repeater-bulk-actions>div{margin-right:5px}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-repeater-advanced-label-row{box-sizing:border-box;display:flex;gap:8px;justify-content:space-between;padding:8px 12px;width:100%}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-repeater-advanced-label-row .tf-repeater-advanced-label-row-item{align-items:center;display:flex;flex:1;flex-wrap:wrap;justify-content:flex-start}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-repeater-advanced-label-row .tf-repeater-advanced-label-row-item:first-child{color:#4b84ce;font-weight:700}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-repeater-advanced-label-row .tf-repeater-advanced-label-row-arrow,.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-repeater-advanced-label-row .tf-repeater-advanced-label-row-index{width:32px}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-repeater-advanced-header{background:#f0f0f0;border:1px solid rgba(0,0,0,.5);border-bottom:none;border-radius:2px;border-bottom-left-radius:0;border-bottom-right-radius:0;margin:0}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-repeater-advanced-header .tf-repeater-advanced-header-item{color:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;height:36px;margin-bottom:0}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-repeater-advanced-overview{background:#fff}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-repeater-advanced-overview .tf-repeater-advanced-label-row-arrow,.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-repeater-advanced-overview .tf-repeater-advanced-label-row-index{height:40px;line-height:40px;text-align:center}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-repeater-advanced-overview .tf-repeater-advanced-label-row-index{background:#f0f0f0}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-repeater-advanced-overview .tf-repeater-advanced-label-row-arrow{cursor:pointer}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-repeater-advanced-overview .tf-repeater-advanced-label-row-arrow>div{border:solid;border-color:inherit;border-width:0 1px 1px 0;display:inline-block;height:9px;width:9px}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-repeater-advanced-overview .tf-repeater-advanced-overview-item-actions{height:20px;width:100%}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-repeater-advanced-overview .tf-repeater-advanced-overview-item-actions button{display:none}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-repeater-advanced-overview-item-container{display:flex;flex-direction:column;justify-content:center;width:100%}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-repeater-advanced-overview-item-fields{display:flex}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-repeater-advanced-overview:hover .tf-repeater-advanced-overview-item-actions button{display:initial}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-repeater-advanced-item .tf-repeater-advanced-overview:hover,.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-repeater-advanced-item[data-open=true] .tf-repeater-advanced-overview{background-color:#99e7ff}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-repeater-advanced-item[data-open=true] .tf-repeater-advanced-label-row-arrow>div{transform:translateY(50%) rotate(-135deg)}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-repeater-advanced-item[data-open=false] .tf-repeater-advanced-label-row-arrow>div{transform:translateY(-50%) rotate(45deg)}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-repeater-advanced-item{background-color:#fff;border:1px solid rgba(0,0,0,.5);border-radius:2px;border-radius:0;border-top:none;position:relative}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-repeater-advanced-item[data-open=true]:before{background-color:#4b84ce;content:"";height:100%;left:0;position:absolute;top:0;width:3px}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-repeater-advanced-container>.tf-repeater-actions{background-color:#fff;border:1px solid rgba(0,0,0,.5);border-radius:2px;border-top:none;border-top-left-radius:0;border-top-right-radius:0}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-repeater-advanced-row{margin:16px 32px}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-repeater-advanced-row .tf-repeater-advanced-item-field{padding:8px 12px}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-repeater-advanced-item-field:has(>div[data-overlay-container=true]:empty){display:none}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-repeater-advanced-item-field:has(input.tf-hidden[type=hidden]){padding:0}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-repeater-advanced .tf-repeater-actions{padding:8px 12px}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-repeater-bare-items{display:flex;flex-direction:column;row-gap:8px}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-repeater-bare-items .tf-repeater-bare-row{display:flex;gap:8px;width:100%}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-repeater-block-item{background:#fff;border:1px solid transparent;border-radius:2px;display:flex;flex-direction:column;margin-bottom:6px;margin-top:1em;width:100%}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-repeater-block-item .tf-panel-header .tf-switch-element,.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-repeater-block-item .tf-panel-header .tf-switch-element-selected{transform:scale(.7)}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-repeater-block-item-field{padding:1em}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-repeater-block-item-field:has(>div[data-overlay-container=true]:empty){display:none}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-repeater-tab-container{background-color:#fff;border:1px solid rgba(0,0,0,.5);border-radius:2px;width:100%}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-repeater-tab-header{border-bottom:1px solid rgba(0,0,0,.5);box-sizing:border-box;display:flex;flex-wrap:nowrap;justify-content:space-between;overflow-x:scroll;overflow-y:hidden;width:100%}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-repeater-tab-actions{display:flex;flex-wrap:nowrap;justify-content:space-between;width:100%}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-repeater-tab-icon-actions{align-items:center;display:flex}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-repeater-tab-icon-actions button{min-width:-moz-fit-content;min-width:fit-content}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-repeater-tab-items{background-color:#fff;box-sizing:border-box;display:flex;gap:8px;justify-content:flex-start;margin:0;min-width:-moz-fit-content;min-width:fit-content;overflow-x:auto;overflow-y:hidden}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-repeater-tab-add-item,.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-repeater-tab-icon-actions button,.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-repeater-tab-item{align-items:center;color:inherit;display:flex;font-size:inherit;font-style:inherit;font-weight:inherit;height:36px;justify-content:center;margin-bottom:0;min-width:-moz-fit-content;min-width:fit-content;padding:8px 12px;position:relative}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-repeater-tab-add-item[data-open=true]:before,.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-repeater-tab-icon-actions button[data-open=true]:before,.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-repeater-tab-item[data-open=true]:before{background-color:#4b84ce;bottom:0;content:"";height:3px;left:0;position:absolute;width:100%}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-repeater-tab-add-item button,.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-repeater-tab-icon-actions button button,.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-repeater-tab-item button{white-space:nowrap}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-repeater-tab-add-item{justify-content:flex-start;min-width:-moz-max-content;min-width:max-content;width:100%}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-repeater-tab-content{background-color:#fff;box-sizing:border-box;padding:16px 32px;width:100%}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-repeater-tab-content .tf-repeater-tab-item-field{padding:8px 12px}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-repeater-table-container{border:1px solid rgba(0,0,0,.5);border-radius:2px;display:flex;flex-direction:column;width:100%}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-repeater-table-container .tf-repeater-actions{box-sizing:border-box;justify-content:flex-start;padding:8px 12px;width:100%}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-repeater-table-container table{padding:0 4px 4px;width:100%}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-repeater-table-container table th,.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-repeater-table-container table tr{min-height:36px;padding:2px}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-repeater-table-container table th{height:36px;text-align:left}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-repeater-table-container table td>div{display:flex;justify-content:center;width:100%}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-repeater-table-container table td>div>div{width:100%}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-repeater-table-container .tf-repeater-row-actions{width:1%}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-repeater-table-container .tf-repeater-row-actions>div{display:inline-flex;gap:6px}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-repeater-actions{display:flex;gap:6px;justify-content:flex-end;padding:2px 2px 4px}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-repeater-actions .tf-button-action:last-child{border-color:#cc1818;color:#cc1818}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-repeater-title{color:inherit;font-size:inherit;font-style:inherit;font-weight:inherit}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-repeater-block-items{margin-bottom:8px;margin-top:8px}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-dynamic-wrapper{align-items:center;display:flex;position:relative}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-dynamic-wrapper .tf-dynamic-wrapper-popover{position:absolute;top:100%;width:192px;z-index:9000000}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-dynamic-wrapper .tf-dynamic-wrapper-popover-form{background:#fff;border:1px solid transparent;padding:0 12px;width:100%;z-index:9000000}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-dynamic-wrapper .tf-dynamic-wrapper-popover-form>*{margin:12px 0}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-dynamic-wrapper .tf-dynamic-wrapper-popover-buttons{display:flex;justify-content:flex-end}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-dynamic-wrapper .tf-dynamic-wrapper-popover-buttons button{margin-left:6px}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-dynamic-wrapper.tf-dynamic-wrapper-buttons-outside{gap:8px}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-dynamic-wrapper.tf-dynamic-wrapper-buttons-inside{gap:0;width:-moz-fit-content;width:fit-content}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-dynamic-wrapper.tf-dynamic-wrapper-buttons-inside .tf-button-icon{background:transparent;border:none;cursor:pointer;height:36px;position:absolute;right:1px;top:50%;transform:translateY(-50%)}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-dynamic-wrapper.tf-dynamic-wrapper-buttons-inside .tf-button-icon:before{content:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMyIgaGVpZ2h0PSIxNyIgZmlsbD0ibm9uZSI+PHBhdGggZmlsbD0iIzFFMUUxRSIgZD0iTTcuNTIyIDdoMy40ODdjLjQxNiAwIC43OS4yNi45MS42NDdhLjk1Ljk1IDAgMCAxLS4yNSAxLjEwNmwtLjYwMy41MjdhNC41IDQuNSAwIDAgMC01Ljk1NyA1LjIwOGwtMS40NDcgMS4yNjVhMSAxIDAgMCAxLTEuNTgtMS4xNDdMNC40ODkgOUguOTczYS45OTUuOTk1IDAgMCAxLS45MDktLjY0NyAxIDEgMCAwIDEgLjI3OC0xLjEwNmw4LjAwNS03YTEuMDAyIDEuMDAyIDAgMCAxIDEuNTggMS4xNDd6Ii8+PHBhdGggZmlsbD0iIzFFMUUxRSIgZmlsbC1ydWxlPSJldmVub2RkIiBkPSJNOS41IDE3YTMuNSAzLjUgMCAxIDAgMC03IDMuNSAzLjUgMCAwIDAgMCA3bTIuNS0zLjVhLjU3Ny41NzcgMCAwIDEtLjU3Ny41NzdoLTEuMzQ2djEuMzQ2YS41NzcuNTc3IDAgMSAxLTEuMTU0IDB2LTEuMzQ2SDcuNTc3YS41NzcuNTc3IDAgMCAxIDAtMS4xNTRoMS4zNDZ2LTEuMzQ2YS41NzcuNTc3IDAgMSAxIDEuMTU0IDB2MS4zNDZoMS4zNDZjLjMyIDAgLjU3Ny4yNTguNTc3LjU3NyIgY2xpcC1ydWxlPSJldmVub2RkIi8+PC9zdmc+);line-height:1;padding:0 5px}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-dynamic-wrapper.tf-dynamic-wrapper-buttons-inside .tf-button-icon.cm-content[contenteditable=false]:before{display:none}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-dynamic-field-wrapper.tf-dynamic-wrapper .tf-dynamic-value-input:disabled{background:hsla(0,0%,100%,.5);border-color:rgba(0,0,0,.1);color:rgba(0,0,0,.4)}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-dynamic-field-wrapper.tf-dynamic-wrapper .tf-button-icon.tf-dynamic-wrapper-clear:before{content:"⨯"}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-dynamic-text-input{background:#fff;border:1px solid transparent;border-radius:2px;box-shadow:0 2px 4px 0 rgba(0,0,0,.12);color:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;height:36px;padding:0 12px;width:192px;width:168px}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-dynamic-text-input::-moz-placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-dynamic-text-input::placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-dynamic-text-input:focus-within{border-color:var(--fl-builder-accent-color,#00a0d2)}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-dynamic-text-input:has(.cm-content[contenteditable=false]){background:hsla(0,0%,100%,.5);border-color:rgba(0,0,0,.1);color:rgba(0,0,0,.4);pointer-events:none}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-dynamic-text-input:has(.cm-content[contenteditable=false]) .tf-dynamic-text-input__affix{border-color:rgba(0,0,0,.1)}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-dynamic-text-input--has-prefix,.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-dynamic-text-input--has-suffix{display:flex;height:auto;padding:0}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-dynamic-text-input--has-prefix>.cm-editor,.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-dynamic-text-input--has-suffix>.cm-editor{flex:1 1 auto;min-height:32px;overflow:hidden}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-dynamic-text-input>.cm-editor{height:100%;justify-content:center;width:100%}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-dynamic-text-input>.cm-editor .cm-content,.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-dynamic-text-input>.cm-editor .cm-line{padding:0}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-dynamic-text-input>.cm-editor .cm-content{display:flex;flex-direction:column;justify-content:center}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-dynamic-text-input .tf-dynamic-text-item-delete:before{content:"⨯";cursor:pointer;padding-left:3px}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-dynamic-text-input__affix{align-items:center;border:0 solid #8c8f94;display:inline-flex;font-size:.8em;font-weight:700;padding:0 .5em;text-wrap:nowrap}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-dynamic-text-input__affix--prefix{border-right-width:1px}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-dynamic-text-input__affix--suffix{border-left-width:1px}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-dynamic-text-input:focus-within .tf-dynamic-text-input__affix{border-color:#4b84ce}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-dynamic-wrapper[data-dynamic=true] .cm-editor{padding-right:25px}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-dynamic-wrapper[data-dynamic=true] .cm-editor:has(.cm-content[contenteditable=false]){padding-right:0}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-dynamic-wrapper[data-dynamic=true] .tf-dynamic-text-input--has-suffix .cm-editor{padding-right:8px}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-dynamic-wrapper[data-dynamic=true] .tf-dynamic-text-input__affix--suffix{border-right-width:1px;margin-right:33px}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-calendar table.tf-calendar-table tbody tr td,.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-calendar table.tf-calendar-table thead tr th{display:table-cell;padding:0!important}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-calendar table.tf-calendar-table tbody tr td .tf-calendar-cell,.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-calendar table.tf-calendar-table thead tr th .tf-calendar-cell{display:initial}.fl-builder-ui-skin--light .tf-context-beaver-builder .ProseMirror-menubar{box-sizing:border-box}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-editor .ProseMirror-menubar-wrapper{height:auto;overflow:unset;position:relative}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-editor .ProseMirror-menubar-spacer{height:auto!important}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-editor .ProseMirror-menubar{left:0!important;position:absolute!important;top:0!important}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-editor .ProseMirror.ProseMirror-example-setup-style{margin-bottom:0;margin-top:63px;max-height:100px;overflow:auto}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-dialog-content,.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-popover,.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-title{color:#000}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-dynamic-text-input{height:48px;min-width:168px;width:unset}.fl-builder-ui-skin--light .tf-context-beaver-builder .tf-dynamic-text-input>.cm-editor .cm-line{height:1.5em}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-dynamic-text-input>.cm-editor .cm-line{caret-color:#fff}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-button-action,.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-button-danger,.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-button-primary{align-items:center;background:#2c333a;border:2px solid transparent;border-radius:2px;color:#a7b1bb;display:flex;justify-content:center;width:-moz-fit-content;width:fit-content;fill:#a7b1bb;box-shadow:unset;cursor:pointer;font-family:var(--fl-builder-font-family);font-size:14px;font-style:normal;font-weight:500;height:29px;line-height:1;margin:0;padding:0 16px;text-align:center;transition-duration:.2s;transition-property:background-color,width}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-button-action:hover,.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-button-danger:hover,.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-button-primary:hover{background:#131a22;border-color:#d3d3d3;color:#a7b1bb}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-button-action:focus,.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-button-danger:focus,.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-button-primary:focus{background:#fff;border-color:var(--fl-builder-accent-color,#00a0d2);color:#a7b1bb}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-button-danger{border-color:#cc1818;color:#cc1818}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-button-primary{background-color:#4b84ce;color:inherit}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-button-action[disabled],.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-button-danger[disabled],.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-button-icon-trash[disabled],.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-button-primary[disabled],.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-button-text-action[disabled],.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-button-text-danger[disabled],.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-button-text-primary[disabled]{cursor:not-allowed;opacity:.5;pointer-events:none}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-button-action:focus{outline:none}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-button-text-action,.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-button-text-danger,.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-button-text-primary{background:transparent;border:none;cursor:pointer;display:inline}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-button-text-action:hover,.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-button-text-danger:hover,.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-button-text-primary:hover{font-weight:700}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-button-text-action{color:#a7b1bb}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-button-text-danger{color:#cc1818}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-button-text-primary{color:#4b84ce}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-button-icon-trash{align-items:center;background:transparent;border:none;cursor:pointer;display:flex;height:36px;justify-content:center;width:36px}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-button-icon-trash:after{content:url('data:image/svg+xml;utf8,')}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-button-icon-eye{align-items:center;background:transparent;border:none;cursor:pointer;display:flex;height:36px;justify-content:center;width:36px}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-button-icon-eye:after{content:url('data:image/svg+xml;utf8,')}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-dialog .tf-title{display:flex}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-dialog .tf-title h4{margin:0;padding:12px 0}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-panel{background:#181b20;border-radius:2px;box-shadow:0 2px 4px 0 rgba(0,0,0,.12);display:flex;flex-direction:column;margin-bottom:8px;width:100%}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-panel input,.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-panel select{border-color:#7d8690!important;box-shadow:unset}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-panel-header{align-items:center;cursor:pointer;display:flex;height:36px;justify-content:space-between;width:100%}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-panel-header.tf-button-action{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:0;border-radius:0;box-sizing:border-box;color:inherit;cursor:pointer;display:flex;font-family:inherit;font-size:100%;height:36px;justify-content:space-between;line-height:1.15;margin:0;padding:8px 12px;text-align:left;width:100%}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-panel-header.tf-button-action:hover{background:#f0f0f0}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-panel-open .tf-panel-header.tf-button-action{border-bottom:1px solid #23282d}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-panel-header-before-title,.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-panel-header-left,.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-panel-header-right,.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-panel-header-title{align-items:center;display:flex;justify-content:flex-start;padding:0 12px}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-panel-header-left{padding-left:0}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-panel-content,.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-panel-footer{padding:4px 12px}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-panel-closed .tf-panel-content{display:none}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-panel-footer{border-top:1px solid #23282d;display:flex;gap:8px;justify-content:flex-end;padding:1em}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-panel-arrow{border:solid;border-color:inherit;border-width:0 1px 1px 0;display:inline-block;height:9px;width:9px}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-panel-open .tf-panel-arrow{transform:translateY(50%) rotate(-135deg)}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-panel-closed .tf-panel-arrow{transform:translateY(-50%) rotate(45deg)}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-description,.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-label{color:inherit;font-size:inherit;font-style:inherit;font-weight:inherit}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-list-box{background:#181b20;list-style:none;margin:5px 0;max-height:300px;max-width:100%;min-width:100%;overflow-y:auto;padding:0}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-list-box-option{background:transparent;border-radius:2px;cursor:pointer;display:flex;font-size:13px;gap:8px;margin:0 5px;outline:none;padding:5px 9px}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-list-box-option:not(.tf-list-box-option-selected,.tf-list-box-option-disabled):hover{color:var(--fl-builder-accent-color,#00a0d2)}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-list-box-option-selected,.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-list-box-option-selected.tf-list-box-option-selected{background-color:var(--fl-builder-accent-color,#00a0d2);color:#181b20}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-list-box-option-selected.tf-list-box-option-selected:hover,.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-list-box-option-selected:hover{color:#181b20}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-list-box-option-selected.tf-list-box-option-selected:after,.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-list-box-option-selected:after{content:"✓";margin-left:auto}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-list-box-option-disabled{color:#aaa;cursor:default}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-list-box-option-focus{box-shadow:inset 0 0 0 2px;color:var(--fl-builder-accent-color,#00a0d2)}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-list-box-section-separator:not(:first-child){border-top:1px solid #8c8f94;margin:12px 0}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-list-box-section>span{color:#7d8690;display:block;font-size:11px;font-weight:500;line-height:1.45;margin:0 10px;padding:5px 9px;text-transform:uppercase}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-list-box-section>ul{list-style:none;padding:0}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-modal{align-items:center;background:rgba(0,0,0,.7);bottom:0;display:flex;justify-content:center;left:0;position:fixed;right:0;top:0;z-index:9990}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-modal .tf-modal-container{background:#181b20;border:1px solid transparent;border-radius:2px;padding:2rem}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-modal-actions{display:flex;justify-content:flex-end;padding-top:12px}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-modal-actions button{margin-left:12px}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-notice{background:#fff;box-shadow:0 1px 1px rgba(0,0,0,.04);color:#000;margin-top:4px;padding:1px 12px}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-notice.tf-is-dismissible{padding-right:38px;position:relative}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-notice.tf-error{border-left:4px solid #d63638}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-notice.tf-success{border-left:4px solid #00a32a}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-notice.tf-warning{border-left-color:#dba617}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-notice.tf-info{border-left-color:#72aee6}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-notice-dismiss{background:none;border:none;color:#787c82;cursor:pointer;margin:0;padding:9px;position:absolute;right:1px;top:0}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-notice-dismiss:active:before,.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-notice-dismiss:focus:before,.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-notice-dismiss:hover:before{color:#d63638}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-notice-dismiss:focus{box-shadow:0 0 0 1px #4f94d4,0 0 2px 1px rgba(79,148,212,.8);outline:none}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-notice-dismiss:before{background:none;color:#787c82;content:"\f153";display:block;font:normal 16px/20px dashicons;height:20px;text-align:center;width:20px;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-underlay{inset:0;position:fixed}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-popover{background:#181b20;color:inherit;z-index:9000000}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-tooltip-trigger-content{cursor:context-menu;position:relative;width:-moz-fit-content;width:fit-content}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-tooltip{cursor:default;display:inline-block;max-width:150px;position:absolute;visibility:hidden;width:-moz-max-content;width:max-content;z-index:1}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-tooltip-top{bottom:100%;left:50%;margin-bottom:12px;transform:translateX(-50%)}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-tooltip-bottom{left:50%;margin-top:12px;top:100%;transform:translateX(-50%)}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-tooltip-start{margin-right:12px;right:100%;top:50%;transform:translateY(-50%)}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-tooltip-end{left:100%;margin-left:12px;top:50%;transform:translateY(-50%)}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-tooltip-content{border-radius:3px;font-size:12px;padding:6px 12px;text-align:center;word-break:normal}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-tooltip-content.light{background-color:#e6e6e6;color:hsla(0,4%,5%,.945);--tf-tooltip-after-color:#e6e6e6}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-tooltip-content.dark{background-color:hsla(0,4%,5%,.945);color:#e6e6e6;--tf-tooltip-after-color:hsla(0,4%,5%,.945)}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-tooltip-content:after{border-style:solid;border-width:7px;content:" ";position:absolute}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-tooltip-content-top:after{border-color:var(--tf-tooltip-after-color,transparent) transparent transparent transparent;left:50%;margin-left:-7px;top:100%}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-tooltip-content-bottom:after{border-color:transparent transparent var(--tf-tooltip-after-color,transparent) transparent;bottom:100%;left:50%;margin-left:-7px}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-tooltip-content-start:after{border-color:transparent transparent transparent var(--tf-tooltip-after-color,transparent);left:100%;margin-top:-7px;top:50%}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-tooltip-content-end:after{border-color:transparent var(--tf-tooltip-after-color,transparent) transparent transparent;margin-top:-7px;right:100%;top:50%}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-tooltip-trigger-content:hover .tf-tooltip{visibility:visible}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-conditional-group-actions{align-items:center;display:flex;gap:8px;padding:8px 0}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-conditional-group-actions strong{text-transform:uppercase}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-conditional-panel-condition-actions{display:flex;gap:4px}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-conditional-panel-condition-actions .tf-button-action:first-child{text-transform:uppercase}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-conditional-panel-condition-actions .tf-button-danger:last-child{position:relative}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-conditional-panel-condition-actions .tf-button-danger:last-child:before{background-color:#cc1818;content:"";height:2px;position:absolute;width:100%;width:10px}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-accordion .tf-switch-element,.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-accordion .tf-switch-element-selected{transform:scale(.7)}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-alignment-matrix-container{display:grid;grid-template-columns:repeat(3,1fr);height:50px;margin:5px;width:50px}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-border-dimensions-container{margin:0 0 5px}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-button-group .tf-button-group-option{background:#2c333a;border:2px solid transparent;border-radius:2px;color:#a7b1bb;fill:#a7b1bb;align-items:center;border-radius:0;box-shadow:unset;color:var(--fl-builder-accent-color,#00a0d2);cursor:pointer;display:inline-flex;font-family:var(--fl-builder-font-family);font-size:14px;font-style:normal;font-weight:500;height:29px;line-height:1;margin:0;padding:0 16px;text-align:center;transition-duration:.2s;transition-property:background-color,width}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-button-group .tf-button-group-option:hover{background:#131a22;border-color:#d3d3d3;color:#a7b1bb}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-button-group .tf-button-group-option:focus{background:#fff;border-color:var(--fl-builder-accent-color,#00a0d2);color:#a7b1bb}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-button-group .tf-button-group-option:first-child{border-bottom-left-radius:2px;border-top-left-radius:2px}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-button-group .tf-button-group-option:not(:first-child){margin-left:-2px}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-button-group .tf-button-group-option:last-child{border-bottom-right-radius:2px;border-top-right-radius:2px}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-button-group .tf-button-group-option.tf-button-group-option-selected{background:var(--fl-builder-accent-color,#00a0d2);border-color:var(--fl-builder-accent-color,#00a0d2);color:#181b20}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-button-group .tf-button-group-option:focus-within{position:relative;z-index:1}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-button-group .tf-button-group-option .dashicons{align-items:center;display:flex;justify-content:center}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-button-group-container[aria-disabled=true] .tf-button-group-option{opacity:.5;pointer-events:none}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-checkbox .tf-label{font-size:13px;font-weight:400;margin-bottom:revert;text-transform:none}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-checkbox input[type=checkbox]{border:1px solid;border-color:inherit;border-radius:2px;box-shadow:0 0 0 transparent;margin-right:revert}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-checkbox input[type=checkbox]:focus{border-color:var(--fl-builder-accent-color,#00a0d2)}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-checkbox input[type=checkbox]:checked{background:var(--fl-builder-accent-color,#00a0d2);border-color:var(--fl-builder-accent-color,#00a0d2);color:#fff}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-checkbox input[type=checkbox]:checked:before{content:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGFyaWEtaGlkZGVuPSJ0cnVlIiBjbGFzcz0iY29tcG9uZW50cy1jaGVja2JveC1jb250cm9sX19jaGVja2VkIiB2aWV3Qm94PSIwIDAgMjQgMjQiPjxwYXRoIGZpbGw9IiNmZmYiIGQ9Im0xNi43IDcuMS02LjMgOC41LTMuMy0yLjUtLjkgMS4yIDQuNSAzLjRMMTcuOSA4eiIvPjwvc3ZnPg==")}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-checkbox input[type=checkbox]:indeterminate{background:var(--fl-builder-accent-color,#00a0d2);border-color:var(--fl-builder-accent-color,#00a0d2);color:#fff}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-checkbox input[type=checkbox]:indeterminate:before{content:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGFyaWEtaGlkZGVuPSJ0cnVlIiBjbGFzcz0iY29tcG9uZW50cy1jaGVja2JveC1jb250cm9sX19pbmRldGVybWluYXRlIiB2aWV3Qm94PSIwIDAgMjQgMjQiPjxwYXRoIGZpbGw9IiNmZmYiIGQ9Ik03IDExLjVoMTBWMTNIN3oiLz48L3N2Zz4=")}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-color-area,.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-color-area-gradient{height:150px;width:100%}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-color-area-thumb{border:2px solid #fff;border-radius:50%;box-shadow:0 0 0 1px #000,inset 0 0 0 1px #000;height:20px;top:50%;width:20px}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-color-container{position:relative;width:-moz-fit-content;width:fit-content}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-color-container input{background:#181b20;border:1px solid transparent;border-radius:2px;box-shadow:0 2px 4px 0 rgba(0,0,0,.12);color:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;height:36px;padding:0 12px;width:192px}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-color-container input::-moz-placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-color-container input::placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-color-picker{background:#181b20;border:1px solid transparent;width:100%;z-index:9000000}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-color-picker .tf-color-area{display:flex;justify-content:center;width:100%}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-color-picker .tf-color-area .tf-color-area-thumb{transform:translate(-50%,-50%)!important}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-color-picker .tf-color-input{display:flex;flex-direction:column;padding:10px}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-color-picker .tf-color-sliders{padding:0 12px 10px}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-color-input>input{width:100%}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-color-slider{align-items:center;display:flex;flex-direction:column;padding-bottom:5px;padding-top:5px;width:100%}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-color-slider-label{align-self:stretch;display:flex}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-color-slider-label output{flex:1 0 auto;text-align:end}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-color-slider-container{border:1px solid transparent;border-radius:10px;height:20px;width:100%}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-combo-box{display:flex;flex-direction:column;width:100%}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-combo-box-text{background:#181b20;border:1px solid transparent;border-radius:2px;box-shadow:0 2px 4px 0 rgba(0,0,0,.12);color:inherit;display:flex;flex-wrap:nowrap;font-size:inherit;font-style:inherit;font-weight:inherit;height:36px;justify-content:space-between;padding:0;position:relative;width:192px}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-combo-box-text::-moz-placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-combo-box-text::placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-combo-box-text input{border:0;box-shadow:none;width:100%}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-combo-box-text input:focus{box-shadow:none}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-combo-box-text .tf-button-action{background:#2c333a;border-radius:2px;color:#a7b1bb;fill:#a7b1bb;background:none;border:0;box-shadow:unset;cursor:pointer;font-family:var(--fl-builder-font-family);font-size:14px;font-style:normal;font-weight:500;height:29px;line-height:1;margin:0;max-height:34px;padding:0 16px;text-align:center;transition-duration:.2s;transition-property:background-color,width}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-combo-box-text .tf-button-action:hover{background:#131a22;border-color:#d3d3d3;color:#a7b1bb}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-combo-box-text .tf-button-action:focus{background:#fff;border-color:var(--fl-builder-accent-color,#00a0d2);color:#a7b1bb}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-combo-box-text .tf-button-action span{padding:0 2px}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-combo-box-text:focus-within{border-color:var(--fl-builder-accent-color,#00a0d2)}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-combo-box-item{align-items:center;background-color:#99e7ff;border:1px solid transparent;border-radius:2px;box-sizing:border-box;color:var(--fl-builder-accent-color,#00a0d2);display:inline-flex;font-size:13px;font-weight:700;gap:.35em;line-height:1.4;max-width:100%;padding:.25em .5em}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-combo-box-item span:first-child{flex:1 1 auto;padding-right:5px;text-overflow:ellipsis}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-combo-box-item button:last-child{background-color:transparent;border:none;color:var(--fl-builder-accent-color,#00a0d2);cursor:pointer}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-combo-box-item button:last-child:focus{outline:none}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-multiple-combobox-container{display:flex;gap:8px;position:relative}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-multiple-combobox-container>.tf-popover{left:0;position:absolute;top:100%;width:192px;z-index:9000000}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-multiple-combobox-container>.tf-popover .tf-combo-box{width:100%}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-multiple-combobox-container>.tf-popover .tf-list-box-option:not(.tf-list-box-option-selected,.tf-list-box-option-disabled):hover:after{content:"+";margin-left:auto}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-multiple-combobox{position:relative}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-multiple-combobox>.tf-label{display:flex}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-multiple-combobox-values{align-items:center;background-color:#181b20;border:1px solid transparent;border-radius:2px;box-sizing:border-box;display:flex;flex-wrap:wrap;gap:8px;min-height:36px;padding:0 12px;width:192px}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-multiple-combobox[data-enabled=false] .tf-multiple-combobox-values{opacity:.5}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-combo-box-popover.tf-popover{border:1px solid transparent;border-bottom-left-radius:2px;border-bottom-right-radius:2px;border-color:var(--fl-builder-accent-color,#00a0d2);box-shadow:0 0 0 1px var(--fl-builder-accent-color,#00a0d2);margin-left:-2px;outline:2px solid transparent}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-date-picker{align-items:flex-start;display:flex;flex-direction:column}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-popover{border:1px solid transparent;border-radius:2px;display:flex;justify-content:center;width:auto}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-popover .tf-calendar{padding:20px;width:-moz-fit-content;width:fit-content}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-popover .tf-calendar-month{text-align:center}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-popover .tf-calendar-buttons{align-items:center;display:flex;justify-content:space-between}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-popover .tf-calendar-buttons button{background:#2c333a;border:2px solid transparent;border-radius:2px;color:#a7b1bb;fill:#a7b1bb;box-shadow:unset;cursor:pointer;font-family:var(--fl-builder-font-family);font-size:14px;font-style:normal;font-weight:500;height:29px;line-height:1;margin:0;padding:0 16px;text-align:center;transition-duration:.2s;transition-property:background-color,width}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-popover .tf-calendar-buttons button:hover{background:#131a22;border-color:#d3d3d3;color:#a7b1bb}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-popover .tf-calendar-buttons button:focus{background:#fff;border-color:var(--fl-builder-accent-color,#00a0d2);color:#a7b1bb}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-popover .tf-calendar-tables{display:flex}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-popover .tf-calendar-table{padding:10px;width:100%}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-popover .tf-calendar-table td{text-align:center}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-popover .tf-calendar-presets{display:flex;gap:.25rem}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-popover .tf-calendar-presets button{background:#2c333a;border:2px solid transparent;border-radius:2px;color:#a7b1bb;fill:#a7b1bb;box-shadow:unset;cursor:pointer;font-family:var(--fl-builder-font-family);font-size:14px;font-style:normal;font-weight:500;height:29px;line-height:1;margin:0;padding:0 16px;text-align:center;transition-duration:.2s;transition-property:background-color,width}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-popover .tf-calendar-presets button:hover{background:#131a22;border-color:#d3d3d3;color:#a7b1bb}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-popover .tf-calendar-presets button:focus{background:#fff;border-color:var(--fl-builder-accent-color,#00a0d2);color:#a7b1bb}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-popover .tf-calendar-cell{border-radius:100%;cursor:pointer;height:2em;line-height:2em;width:2em}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-popover .tf-calendar-cell.tf-calendar-cell-disabled,.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-popover .tf-calendar-cell.tf-calendar-cell-unavailable{cursor:not-allowed;opacity:.5}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-popover .tf-calendar-cell:not(.tf-calendar-cell-disabled,.tf-calendar-cell-unavailable,.tf-calendar-cell-selected):hover{color:var(--fl-builder-accent-color,#00a0d2)}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-popover .tf-calendar-cell.tf-calendar-cell-selected{background-color:var(--fl-builder-accent-color,#00a0d2);color:#fff}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-date-group{align-items:center;display:flex;gap:8px;justify-content:flex-start}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-date-group .tf-button-action{height:36px}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-date-field-container{width:100%}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-date-field{align-items:center;background:#181b20;border:1px solid transparent;border-radius:2px;box-shadow:0 2px 4px 0 rgba(0,0,0,.12);color:inherit;display:inline-flex;font-size:inherit;font-style:inherit;font-weight:inherit;height:36px;justify-content:center;padding:0 12px;width:192px;width:168px}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-date-field::-moz-placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-date-field::placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-date-field:focus-within{border-color:var(--fl-builder-accent-color,#00a0d2)}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-date-segment{font-variant-numeric:tabular-nums;padding:0 2px;text-align:end}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-date-segment:focus{background:var(--fl-builder-accent-color,#00a0d2);border-radius:2px;color:#fff;outline:none}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-date-segment span{display:none}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-date-segment-placeholder span{display:flex}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-dimensions{display:flex;flex-direction:column}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-dimensions .tf-select,.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-dimensions .tf-select .tf-button-select{width:auto}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-dimensions-container{display:flex;flex-wrap:wrap;position:relative;width:-moz-fit-content;width:fit-content}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-dimensions-number-groups{display:flex;flex-direction:row;max-width:300px}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-dimensions-number-groups .tf-number{flex:1 1 75px}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-dimensions-number-groups .tf-number .tf-number-field{width:100%}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-dimensions-number-groups .tf-number input{text-align:left;width:100%}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-dimensions-number-groups .tf-number-button-group .tf-button-number{padding:0 3px}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-dimensions-number-groups-linked .tf-number:not(:first-child){display:none;opacity:.5;pointer-events:none}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-dynamic-text-field{align-items:center;display:flex;gap:8px;position:relative}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-dynamic-text-field .tf-dynamic-text-popover{left:0;position:absolute;top:100%;width:192px;z-index:9000000}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-dynamic-text-field .tf-dynamic-text-popover .tf-list-box-option:not(.tf-list-box-option-selected,.tf-list-box-option-disabled):hover:after{content:"+";margin-left:auto}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-dynamic-text-item{align-items:center;background-color:#99e7ff;border:1px solid transparent;border-radius:2px;color:var(--fl-builder-accent-color,#00a0d2);display:inline-flex;font-size:13px;font-weight:700;gap:.35em;line-height:1.4;margin:0 .15em;padding:.25em .5em}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-dynamic-text-item:before{content:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMSIgaGVpZ2h0PSIxNiIgZmlsbD0ibm9uZSI+PGcgY2xpcC1wYXRoPSJ1cmwoI2EpIj48cGF0aCBmaWxsPSIjMzg1OEU5IiBkPSJNNi44OSA3LjA2MmgzLjE5M2MuMzgxIDAgLjcyNS4yNDQuODM0LjYwN2EuOTEuOTEgMCAwIDEtLjIzIDEuMDM3bC03LjMzMyA2LjU2M2EuOS45IDAgMCAxLTEuMTQzLjA1Mi45NS45NSAwIDAgMS0uMzA0LTEuMTI4bDIuMjA0LTUuMjU2SC44OWMtLjM1NiAwLS42OTgtLjI0My0uODMzLS42MDZhLjk1NS45NTUgMCAwIDEgLjI1NS0xLjAzN0w3LjY0Ni43MzJBLjkuOSAwIDAgMSA4Ljc4OC42NzlhLjk1Ljk1IDAgMCAxIC4zMDQgMS4xMjh6Ii8+PC9nPjxkZWZzPjxjbGlwUGF0aCBpZD0iYSI+PHBhdGggZmlsbD0iI2ZmZiIgZD0iTTAgLjVoMTF2MTVIMHoiLz48L2NsaXBQYXRoPjwvZGVmcz48L3N2Zz4=");line-height:1}.fl-builder-ui-skin--dark .tf-context-beaver-builder .cm-content[contenteditable=false] .tf-dynamic-text-item{filter:grayscale(1)}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-dynamic-text-input{padding:0}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-dynamic-text-input>.cm-editor{padding:0 12px}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-dynamic-text-input>.cm-editor.cm-focused{outline:none}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-dynamic-text-input>.cm-editor .cm-scroller{font-family:inherit}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-dynamic-text-input>.cm-editor .cm-content{height:100%}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-editor .ProseMirror ul{list-style-type:disc}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-editor .ProseMirror ol{margin:0}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-editor .ProseMirror{line-height:1.2;outline:none;padding:4px 8px 4px 14px}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-editor .tf-editor-view-toggle{display:flex;flex-direction:row;justify-content:flex-end;padding-bottom:5px}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-editor .tf-editor-view-toggle .tf-button-group{width:-moz-fit-content;width:fit-content}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-file-field{align-items:center;display:flex;flex-wrap:wrap;width:-moz-fit-content;width:fit-content}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-file-text{max-width:192px;overflow:hidden;padding:0 12px;text-overflow:ellipsis}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-file-list{margin-bottom:0;padding:0;width:300px}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-file-item{align-items:center;display:flex;flex-wrap:wrap;justify-content:space-between}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-file-item img{max-width:200px}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-file-item span{flex-grow:1;overflow:hidden;text-overflow:ellipsis;width:70%}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-file-item .tf-button-upload-list{cursor:pointer;font-style:italic;text-decoration:underline}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-gallery-preview{display:flex}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-gallery-item{align-items:center;display:flex;height:100px;justify-content:center;width:100px}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-gallery-item img{border-radius:2px;height:100%;-o-object-fit:cover;object-fit:cover;overflow:hidden;width:100%}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-gallery__controls{background:#181b20;border-radius:2px;box-shadow:0 2px 4px 0 rgba(0,0,0,.12);padding:8px 12px}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-gallery__controls input,.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-gallery__controls select{border-color:#7d8690!important;box-shadow:unset}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-gallery-buttons{display:flex;gap:10px}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-gradient-container{display:flex;flex-direction:column;position:relative;width:192px}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-gradient-input{background:#181b20;border:1px solid transparent;border-radius:2px;box-shadow:0 2px 4px 0 rgba(0,0,0,.12);color:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;height:36px;padding:0 12px;width:192px}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-gradient-input::-moz-placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-gradient-input::placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-gradient-settings{padding:10px 12px}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-gradient-settings .tf-gradient-settings-row{padding:10px 0}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-gradient-popover .tf-dialog{width:100%}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-gradient-preview{padding:10px 12px;position:relative}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-gradient-colors{align-items:center;cursor:pointer;display:flex;height:36px;justify-content:space-between;padding:0 12px}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-list-container{display:flex;flex-direction:column;gap:8px}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-list-items{width:192px}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-list-header,.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-list-header label,.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-list-item{align-items:center;display:flex;justify-content:flex-start}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-list-header{background:#f0f0f0;border:1px solid rgba(0,0,0,.5);border-radius:2px;border-bottom-left-radius:0;border-bottom-right-radius:0;padding:0 12px}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-list-header label{height:36px;margin:0}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-list-item{background:#181b20;border:1px solid rgba(0,0,0,.5);border-top:none;box-sizing:border-box;height:36px;width:192px}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-list-item .tf-list-item-text{flex:1;font-size:inherit;font-weight:inherit;padding:0 12px}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-list-item .tf-list-item-actions{display:flex}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-list-search{display:flex;width:192px}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-list-search .tf-combo-box{flex:1}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-number input{background:#181b20;border:1px solid transparent;border-radius:2px;box-shadow:0 2px 4px 0 rgba(0,0,0,.12);color:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;height:36px;padding:0 12px;width:192px}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-number input::-moz-placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-number input::placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-number .tf-label{display:flex}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-number-field{display:flex;flex-direction:row;flex-wrap:nowrap;position:relative;width:192px}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-number[data-enabled=false] .tf-number-field{opacity:.5}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-number-button-group{bottom:1px;display:flex;flex-direction:column;flex-wrap:nowrap;height:auto;padding:0 12px;position:absolute;right:1px;top:1px}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-number-button-group .tf-button-number{background:#2c333a;border-radius:2px;color:#a7b1bb;fill:#a7b1bb;align-items:center;background-color:#eee;border:0;border-radius:0;box-shadow:unset;cursor:pointer;display:flex;font-family:var(--fl-builder-font-family);font-size:14px;font-style:normal;font-weight:500;height:29px;height:50%;justify-content:center;line-height:1;line-height:0;margin:0;min-width:2em;padding:0;text-align:center;transition-duration:.2s;transition-property:background-color,width}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-number-button-group .tf-button-number:hover{background:#131a22;border-color:#d3d3d3;color:#a7b1bb}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-number-button-group .tf-button-number:focus{background:#fff;border-color:var(--fl-builder-accent-color,#00a0d2);color:#a7b1bb}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-number-button-group .tf-button-number:hover{background-color:#e2e2e2}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-number-button-group .tf-button-number:first-child{border-bottom-left-radius:0;border-bottom-right-radius:0}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-number-button-group .tf-button-number:last-child{border-top-left-radius:0;border-top-right-radius:0}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-radio-group-container{display:flex;flex-direction:column}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-multiple-select,.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-select{display:inline-block;position:relative;width:192px}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-multiple-select>.tf-label,.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-select>.tf-label{display:flex}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-multiple-select__value,.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-select__value{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-multiple-select .tf-button-select,.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-select .tf-button-select{align-items:center;background:#181b20;border:1px solid transparent;border-radius:2px;box-shadow:0 2px 4px 0 rgba(0,0,0,.12);color:inherit;display:flex;font-style:inherit;font-weight:inherit;height:36px;justify-content:space-between;padding:0 10px;width:192px}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-multiple-select .tf-button-select::-moz-placeholder,.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-select .tf-button-select::-moz-placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-multiple-select .tf-button-select::placeholder,.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-select .tf-button-select::placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-multiple-select .tf-button-select[disabled],.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-select .tf-button-select[disabled]{background:hsla(0,0%,100%,.5);border-color:rgba(0,0,0,.1);color:rgba(0,0,0,.4)}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-multiple-select .tf-select-icon,.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-select .tf-select-icon{font-size:10px;padding-left:5px}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-multiple-select .tf-button-select,.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-select .tf-button-select{cursor:pointer;font-size:inherit}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-simple-dimensions{display:flex;flex-direction:column}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-simple-dimensions .tf-select,.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-simple-dimensions .tf-select .tf-button-select{width:auto}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-simple-dimensions-container{display:flex;position:relative;width:-moz-fit-content;width:fit-content}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-switch label{align-items:center;display:flex;justify-content:flex-start}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-switch-element,.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-switch-element-selected{display:inline-block;height:36px;position:relative;width:72px}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-switch-element span,.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-switch-element-selected span{background-color:#ccc;border-radius:36px;bottom:0;cursor:pointer;left:0;position:absolute;right:0;top:0;transition:.4s}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-switch-element span:before,.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-switch-element-selected span:before{background-color:#181b20;border-radius:50%;bottom:4px;content:"";height:28px;left:4px;position:absolute;transition:.4s;width:28px}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-switch-element-selected span{background-color:var(--fl-builder-accent-color,#00a0d2)}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-switch-element-selected span:focus{box-shadow:0 0 1px var(--fl-builder-accent-color,#00a0d2)}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-switch-element-selected span:before{transform:translateX(36px)}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-text{box-sizing:content-box;display:flex;flex-direction:column}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-text input{background:#181b20;border:1px solid transparent;border-radius:2px;box-shadow:0 2px 4px 0 rgba(0,0,0,.12);color:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;height:36px;padding:0 12px;width:192px}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-text input::-moz-placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-text input::placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-text-area textarea{background:#181b20;border:1px solid transparent;border-radius:2px;box-shadow:0 2px 4px 0 rgba(0,0,0,.12);color:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;height:36px;height:auto;padding:.6em;width:192px;width:100%}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-text-area textarea::-moz-placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-text-area textarea::placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-repeater-bulk-actions{align-items:center;background:#181b20;border:1px solid transparent;border-radius:2px;display:flex;justify-content:flex-start;margin-bottom:4px;padding:5px 12px}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-repeater-bulk-actions>button,.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-repeater-bulk-actions>div{margin-right:5px}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-repeater-advanced-label-row{box-sizing:border-box;display:flex;gap:8px;justify-content:space-between;padding:8px 12px;width:100%}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-repeater-advanced-label-row .tf-repeater-advanced-label-row-item{align-items:center;display:flex;flex:1;flex-wrap:wrap;justify-content:flex-start}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-repeater-advanced-label-row .tf-repeater-advanced-label-row-item:first-child{color:#4b84ce;font-weight:700}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-repeater-advanced-label-row .tf-repeater-advanced-label-row-arrow,.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-repeater-advanced-label-row .tf-repeater-advanced-label-row-index{width:32px}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-repeater-advanced-header{background:#f0f0f0;border:1px solid rgba(0,0,0,.5);border-bottom:none;border-radius:2px;border-bottom-left-radius:0;border-bottom-right-radius:0;margin:0}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-repeater-advanced-header .tf-repeater-advanced-header-item{color:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;height:36px;margin-bottom:0}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-repeater-advanced-overview{background:#181b20}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-repeater-advanced-overview .tf-repeater-advanced-label-row-arrow,.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-repeater-advanced-overview .tf-repeater-advanced-label-row-index{height:40px;line-height:40px;text-align:center}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-repeater-advanced-overview .tf-repeater-advanced-label-row-index{background:#f0f0f0}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-repeater-advanced-overview .tf-repeater-advanced-label-row-arrow{cursor:pointer}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-repeater-advanced-overview .tf-repeater-advanced-label-row-arrow>div{border:solid;border-color:inherit;border-width:0 1px 1px 0;display:inline-block;height:9px;width:9px}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-repeater-advanced-overview .tf-repeater-advanced-overview-item-actions{height:20px;width:100%}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-repeater-advanced-overview .tf-repeater-advanced-overview-item-actions button{display:none}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-repeater-advanced-overview-item-container{display:flex;flex-direction:column;justify-content:center;width:100%}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-repeater-advanced-overview-item-fields{display:flex}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-repeater-advanced-overview:hover .tf-repeater-advanced-overview-item-actions button{display:initial}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-repeater-advanced-item .tf-repeater-advanced-overview:hover,.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-repeater-advanced-item[data-open=true] .tf-repeater-advanced-overview{background-color:#99e7ff}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-repeater-advanced-item[data-open=true] .tf-repeater-advanced-label-row-arrow>div{transform:translateY(50%) rotate(-135deg)}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-repeater-advanced-item[data-open=false] .tf-repeater-advanced-label-row-arrow>div{transform:translateY(-50%) rotate(45deg)}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-repeater-advanced-item{background-color:#181b20;border:1px solid rgba(0,0,0,.5);border-radius:2px;border-radius:0;border-top:none;position:relative}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-repeater-advanced-item[data-open=true]:before{background-color:#4b84ce;content:"";height:100%;left:0;position:absolute;top:0;width:3px}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-repeater-advanced-container>.tf-repeater-actions{background-color:#181b20;border:1px solid rgba(0,0,0,.5);border-radius:2px;border-top:none;border-top-left-radius:0;border-top-right-radius:0}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-repeater-advanced-row{margin:16px 32px}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-repeater-advanced-row .tf-repeater-advanced-item-field{padding:8px 12px}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-repeater-advanced-item-field:has(>div[data-overlay-container=true]:empty){display:none}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-repeater-advanced-item-field:has(input.tf-hidden[type=hidden]){padding:0}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-repeater-advanced .tf-repeater-actions{padding:8px 12px}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-repeater-bare-items{display:flex;flex-direction:column;row-gap:8px}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-repeater-bare-items .tf-repeater-bare-row{display:flex;gap:8px;width:100%}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-repeater-block-item{background:#181b20;border:1px solid transparent;border-radius:2px;display:flex;flex-direction:column;margin-bottom:6px;margin-top:1em;width:100%}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-repeater-block-item .tf-panel-header .tf-switch-element,.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-repeater-block-item .tf-panel-header .tf-switch-element-selected{transform:scale(.7)}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-repeater-block-item-field{padding:1em}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-repeater-block-item-field:has(>div[data-overlay-container=true]:empty){display:none}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-repeater-tab-container{background-color:#181b20;border:1px solid rgba(0,0,0,.5);border-radius:2px;width:100%}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-repeater-tab-header{border-bottom:1px solid rgba(0,0,0,.5);box-sizing:border-box;display:flex;flex-wrap:nowrap;justify-content:space-between;overflow-x:scroll;overflow-y:hidden;width:100%}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-repeater-tab-actions{display:flex;flex-wrap:nowrap;justify-content:space-between;width:100%}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-repeater-tab-icon-actions{align-items:center;display:flex}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-repeater-tab-icon-actions button{min-width:-moz-fit-content;min-width:fit-content}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-repeater-tab-items{background-color:#181b20;box-sizing:border-box;display:flex;gap:8px;justify-content:flex-start;margin:0;min-width:-moz-fit-content;min-width:fit-content;overflow-x:auto;overflow-y:hidden}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-repeater-tab-add-item,.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-repeater-tab-icon-actions button,.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-repeater-tab-item{align-items:center;color:inherit;display:flex;font-size:inherit;font-style:inherit;font-weight:inherit;height:36px;justify-content:center;margin-bottom:0;min-width:-moz-fit-content;min-width:fit-content;padding:8px 12px;position:relative}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-repeater-tab-add-item[data-open=true]:before,.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-repeater-tab-icon-actions button[data-open=true]:before,.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-repeater-tab-item[data-open=true]:before{background-color:#4b84ce;bottom:0;content:"";height:3px;left:0;position:absolute;width:100%}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-repeater-tab-add-item button,.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-repeater-tab-icon-actions button button,.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-repeater-tab-item button{white-space:nowrap}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-repeater-tab-add-item{justify-content:flex-start;min-width:-moz-max-content;min-width:max-content;width:100%}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-repeater-tab-content{background-color:#181b20;box-sizing:border-box;padding:16px 32px;width:100%}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-repeater-tab-content .tf-repeater-tab-item-field{padding:8px 12px}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-repeater-table-container{border:1px solid rgba(0,0,0,.5);border-radius:2px;display:flex;flex-direction:column;width:100%}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-repeater-table-container .tf-repeater-actions{box-sizing:border-box;justify-content:flex-start;padding:8px 12px;width:100%}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-repeater-table-container table{padding:0 4px 4px;width:100%}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-repeater-table-container table th,.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-repeater-table-container table tr{min-height:36px;padding:2px}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-repeater-table-container table th{height:36px;text-align:left}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-repeater-table-container table td>div{display:flex;justify-content:center;width:100%}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-repeater-table-container table td>div>div{width:100%}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-repeater-table-container .tf-repeater-row-actions{width:1%}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-repeater-table-container .tf-repeater-row-actions>div{display:inline-flex;gap:6px}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-repeater-actions{display:flex;gap:6px;justify-content:flex-end;padding:2px 2px 4px}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-repeater-actions .tf-button-action:last-child{border-color:#cc1818;color:#cc1818}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-repeater-title{color:inherit;font-size:inherit;font-style:inherit;font-weight:inherit}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-repeater-block-items{margin-bottom:8px;margin-top:8px}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-dynamic-wrapper{align-items:center;display:flex;position:relative}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-dynamic-wrapper .tf-dynamic-wrapper-popover{position:absolute;top:100%;width:192px;z-index:9000000}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-dynamic-wrapper .tf-dynamic-wrapper-popover-form{background:#181b20;border:1px solid transparent;padding:0 12px;width:100%;z-index:9000000}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-dynamic-wrapper .tf-dynamic-wrapper-popover-form>*{margin:12px 0}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-dynamic-wrapper .tf-dynamic-wrapper-popover-buttons{display:flex;justify-content:flex-end}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-dynamic-wrapper .tf-dynamic-wrapper-popover-buttons button{margin-left:6px}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-dynamic-wrapper.tf-dynamic-wrapper-buttons-outside{gap:8px}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-dynamic-wrapper.tf-dynamic-wrapper-buttons-inside{gap:0;width:-moz-fit-content;width:fit-content}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-dynamic-wrapper.tf-dynamic-wrapper-buttons-inside .tf-button-icon{background:transparent;border:none;cursor:pointer;height:36px;position:absolute;right:1px;top:50%;transform:translateY(-50%)}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-dynamic-wrapper.tf-dynamic-wrapper-buttons-inside .tf-button-icon:before{content:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMyIgaGVpZ2h0PSIxNyIgZmlsbD0ibm9uZSI+PHBhdGggZmlsbD0iIzFFMUUxRSIgZD0iTTcuNTIyIDdoMy40ODdjLjQxNiAwIC43OS4yNi45MS42NDdhLjk1Ljk1IDAgMCAxLS4yNSAxLjEwNmwtLjYwMy41MjdhNC41IDQuNSAwIDAgMC01Ljk1NyA1LjIwOGwtMS40NDcgMS4yNjVhMSAxIDAgMCAxLTEuNTgtMS4xNDdMNC40ODkgOUguOTczYS45OTUuOTk1IDAgMCAxLS45MDktLjY0NyAxIDEgMCAwIDEgLjI3OC0xLjEwNmw4LjAwNS03YTEuMDAyIDEuMDAyIDAgMCAxIDEuNTggMS4xNDd6Ii8+PHBhdGggZmlsbD0iIzFFMUUxRSIgZmlsbC1ydWxlPSJldmVub2RkIiBkPSJNOS41IDE3YTMuNSAzLjUgMCAxIDAgMC03IDMuNSAzLjUgMCAwIDAgMCA3bTIuNS0zLjVhLjU3Ny41NzcgMCAwIDEtLjU3Ny41NzdoLTEuMzQ2djEuMzQ2YS41NzcuNTc3IDAgMSAxLTEuMTU0IDB2LTEuMzQ2SDcuNTc3YS41NzcuNTc3IDAgMCAxIDAtMS4xNTRoMS4zNDZ2LTEuMzQ2YS41NzcuNTc3IDAgMSAxIDEuMTU0IDB2MS4zNDZoMS4zNDZjLjMyIDAgLjU3Ny4yNTguNTc3LjU3NyIgY2xpcC1ydWxlPSJldmVub2RkIi8+PC9zdmc+);line-height:1;padding:0 5px}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-dynamic-wrapper.tf-dynamic-wrapper-buttons-inside .tf-button-icon.cm-content[contenteditable=false]:before{display:none}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-dynamic-field-wrapper.tf-dynamic-wrapper .tf-dynamic-value-input:disabled{background:hsla(0,0%,100%,.5);border-color:rgba(0,0,0,.1);color:rgba(0,0,0,.4)}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-dynamic-field-wrapper.tf-dynamic-wrapper .tf-button-icon.tf-dynamic-wrapper-clear:before{content:"⨯"}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-dynamic-text-input{background:#181b20;border:1px solid transparent;border-radius:2px;box-shadow:0 2px 4px 0 rgba(0,0,0,.12);color:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;height:36px;padding:0 12px;width:192px;width:168px}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-dynamic-text-input::-moz-placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-dynamic-text-input::placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-dynamic-text-input:focus-within{border-color:var(--fl-builder-accent-color,#00a0d2)}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-dynamic-text-input:has(.cm-content[contenteditable=false]){background:hsla(0,0%,100%,.5);border-color:rgba(0,0,0,.1);color:rgba(0,0,0,.4);pointer-events:none}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-dynamic-text-input:has(.cm-content[contenteditable=false]) .tf-dynamic-text-input__affix{border-color:rgba(0,0,0,.1)}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-dynamic-text-input--has-prefix,.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-dynamic-text-input--has-suffix{display:flex;height:auto;padding:0}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-dynamic-text-input--has-prefix>.cm-editor,.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-dynamic-text-input--has-suffix>.cm-editor{flex:1 1 auto;min-height:32px;overflow:hidden}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-dynamic-text-input>.cm-editor{height:100%;justify-content:center;width:100%}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-dynamic-text-input>.cm-editor .cm-content,.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-dynamic-text-input>.cm-editor .cm-line{padding:0}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-dynamic-text-input>.cm-editor .cm-content{display:flex;flex-direction:column;justify-content:center}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-dynamic-text-input .tf-dynamic-text-item-delete:before{content:"⨯";cursor:pointer;padding-left:3px}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-dynamic-text-input__affix{align-items:center;border:0 solid #8c8f94;display:inline-flex;font-size:.8em;font-weight:700;padding:0 .5em;text-wrap:nowrap}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-dynamic-text-input__affix--prefix{border-right-width:1px}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-dynamic-text-input__affix--suffix{border-left-width:1px}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-dynamic-text-input:focus-within .tf-dynamic-text-input__affix{border-color:#4b84ce}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-dynamic-wrapper[data-dynamic=true] .cm-editor{padding-right:25px}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-dynamic-wrapper[data-dynamic=true] .cm-editor:has(.cm-content[contenteditable=false]){padding-right:0}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-dynamic-wrapper[data-dynamic=true] .tf-dynamic-text-input--has-suffix .cm-editor{padding-right:8px}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-dynamic-wrapper[data-dynamic=true] .tf-dynamic-text-input__affix--suffix{border-right-width:1px;margin-right:33px}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-calendar table.tf-calendar-table tbody tr td,.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-calendar table.tf-calendar-table thead tr th{display:table-cell;padding:0!important}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-calendar table.tf-calendar-table tbody tr td .tf-calendar-cell,.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-calendar table.tf-calendar-table thead tr th .tf-calendar-cell{display:initial}.fl-builder-ui-skin--dark .tf-context-beaver-builder .ProseMirror-menubar{box-sizing:border-box}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-editor .ProseMirror-menubar-wrapper{height:auto;overflow:unset;position:relative}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-editor .ProseMirror-menubar-spacer{height:auto!important}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-editor .ProseMirror-menubar{left:0!important;position:absolute!important;top:0!important}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-editor .ProseMirror.ProseMirror-example-setup-style{margin-bottom:0;margin-top:63px;max-height:100px;overflow:auto}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-dialog-content,.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-popover,.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-title{color:#fff}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-dynamic-text-input{height:48px;min-width:168px;width:unset}.fl-builder-ui-skin--dark .tf-context-beaver-builder .tf-dynamic-text-input>.cm-editor .cm-line{height:1.5em}.fl-lightbox form[class*=fl-builder-tangible-module-] table.fl-form-table{max-width:calc(100% - 35px);table-layout:fixed}.ProseMirror-textblock-dropdown{min-width:3em}.ProseMirror-menu{line-height:1;margin:0 -4px}.ProseMirror-tooltip .ProseMirror-menu{white-space:pre;width:-moz-fit-content;width:fit-content}.ProseMirror-menuitem{display:inline-block;margin-right:3px}.ProseMirror-menuseparator{border-right:1px solid #ddd;margin-right:3px}.ProseMirror-menu-dropdown,.ProseMirror-menu-dropdown-menu{font-size:90%;white-space:nowrap}.ProseMirror-menu-dropdown{cursor:pointer;padding-right:15px;position:relative;vertical-align:1px}.ProseMirror-menu-dropdown-wrap{display:inline-block;padding:1px 0 1px 4px;position:relative}.ProseMirror-menu-dropdown:after{border-left:4px solid transparent;border-right:4px solid transparent;border-top:4px solid;content:"";opacity:.6;position:absolute;right:4px;top:calc(50% - 2px)}.ProseMirror-menu-dropdown-menu,.ProseMirror-menu-submenu{background:#fff;border:1px solid #aaa;color:#666;padding:2px;position:absolute}.ProseMirror-menu-dropdown-menu{min-width:6em;z-index:15}.ProseMirror-menu-dropdown-item{cursor:pointer;padding:2px 8px 2px 4px}.ProseMirror-menu-dropdown-item:hover{background:#f2f2f2}.ProseMirror-menu-submenu-wrap{margin-right:-4px;position:relative}.ProseMirror-menu-submenu-label:after{border-bottom:4px solid transparent;border-left:4px solid;border-top:4px solid transparent;content:"";opacity:.6;position:absolute;right:4px;top:calc(50% - 4px)}.ProseMirror-menu-submenu{display:none;left:100%;min-width:4em;top:-3px}.ProseMirror-menu-active{background:#eee;border-radius:4px}.ProseMirror-menu-disabled{opacity:.3}.ProseMirror-menu-submenu-wrap-active .ProseMirror-menu-submenu,.ProseMirror-menu-submenu-wrap:hover .ProseMirror-menu-submenu{display:block}.ProseMirror-menubar{background:#fff;border-bottom:1px solid silver;border-top-left-radius:inherit;border-top-right-radius:inherit;color:#666;left:0;min-height:1em;padding:1px 6px;position:relative;right:0;top:0;z-index:10}.ProseMirror-icon{cursor:pointer;display:inline-block;line-height:.8;padding:2px 8px;vertical-align:-2px}.ProseMirror-menu-disabled.ProseMirror-icon{cursor:default}.ProseMirror-icon svg{fill:currentColor;height:1em}.ProseMirror-icon span{vertical-align:text-top}.ProseMirror-menubar-wrapper{background-color:#fff;border:2px solid rgba(0,0,0,.2);border-radius:5px;height:150px;overflow:auto;resize:vertical}.ProseMirror-menubar{box-shadow:0 2px 5px rgba(0,0,0,.2);box-sizing:border-box;overflow:visible;padding-bottom:12px;padding-top:12px}.ProseMirror.ProseMirror-example-setup-style{border-radius:5px;margin-bottom:20px;padding-bottom:12px;padding-left:12px;padding-right:12px}.ProseMirror-example-setup-style hr{border:none;margin:1em 0;padding:2px 10px}.ProseMirror-example-setup-style hr:after{background-color:silver;content:"";display:block;height:1px;line-height:2px}.ProseMirror ol,.ProseMirror ul{padding-left:30px}.ProseMirror blockquote{border-left:3px solid #eee;margin-left:0;margin-right:0;padding-left:1em}.ProseMirror-example-setup-style img{cursor:default}.ProseMirror-prompt{background:#fff;border:1px solid silver;border-radius:3px;box-shadow:-.5px 2px 5px rgba(0,0,0,.2);padding:8px 10px 8px 15px;position:fixed;z-index:9999999}.ProseMirror-prompt h5{color:#444;font-size:100%;font-weight:400;margin:0}.ProseMirror-prompt input[type=text],.ProseMirror-prompt textarea{background:#eee;border:none;outline:none}.ProseMirror-prompt input[type=text]{margin-top:5px;padding:0 4px}.ProseMirror-prompt-close{background:transparent;border:none;color:#666;left:2px;padding:0;position:absolute;top:1px}.ProseMirror-prompt-close:after{content:"✕";font-size:12px}.ProseMirror-invalid{background:#ffc;border:1px solid #cc7;border-radius:4px;min-width:10em;padding:5px 10px;position:absolute}.ProseMirror-prompt-buttons{margin-top:5px}.ProseMirror{position:relative;word-wrap:break-word;font-feature-settings:"liga" 0;font-variant-ligatures:none;white-space:pre-wrap;white-space:break-spaces}.ProseMirror pre{white-space:pre-wrap}.ProseMirror li{position:relative}.ProseMirror-hideselection ::selection{background:transparent}.ProseMirror-hideselection ::-moz-selection{background:transparent}.ProseMirror-hideselection{caret-color:transparent}.ProseMirror-selectednode{outline:2px solid #8cf}li.ProseMirror-selectednode{outline:none}li.ProseMirror-selectednode:after{border:2px solid #8cf;bottom:-2px;content:"";left:-32px;pointer-events:none;position:absolute;right:-2px;top:-2px}img.ProseMirror-separator{border:none!important;display:inline!important;margin:0!important}.ProseMirror-gapcursor{display:none;pointer-events:none;position:absolute}.ProseMirror-gapcursor:after{animation:ProseMirror-cursor-blink 1.1s steps(2,start) infinite;border-top:1px solid #000;content:"";display:block;position:absolute;top:-2px;width:20px}@keyframes ProseMirror-cursor-blink{to{visibility:hidden}}.ProseMirror-focused .ProseMirror-gapcursor{display:block} /*# sourceMappingURL=index.min.css.map */ \ No newline at end of file diff --git a/assets/build/default/index.min.css b/assets/build/default/index.min.css index f62c1c6c..cea5603e 100644 --- a/assets/build/default/index.min.css +++ b/assets/build/default/index.min.css @@ -1,2 +1,2 @@ -@charset "UTF-8";.tf-context-default .tf-button-action,.tf-context-default .tf-button-danger,.tf-context-default .tf-button-primary{align-items:center;background:#fff;border:1px solid #d3d3d3;border-radius:4px;box-sizing:border-box;color:#505050;cursor:pointer;display:flex;height:32px;justify-content:center;padding:0 12px;transition-duration:.2s;transition-property:color,background-color,border-color;transition-timing-function:ease-in-out;width:-moz-fit-content;width:fit-content}.tf-context-default .tf-button-action:hover,.tf-context-default .tf-button-danger:hover,.tf-context-default .tf-button-primary:hover{background:#fff;border-color:#31609e;color:#31609e}.tf-context-default .tf-button-danger{border-color:#cc1818;color:#cc1818}.tf-context-default .tf-button-primary{background-color:#4b84ce;color:inherit}.tf-context-default .tf-button-action[disabled],.tf-context-default .tf-button-danger[disabled],.tf-context-default .tf-button-icon-trash[disabled],.tf-context-default .tf-button-primary[disabled],.tf-context-default .tf-button-text-action[disabled],.tf-context-default .tf-button-text-danger[disabled],.tf-context-default .tf-button-text-primary[disabled]{cursor:not-allowed;opacity:.5;pointer-events:none}.tf-context-default .tf-button-action:focus{outline:none}.tf-context-default .tf-button-text-action,.tf-context-default .tf-button-text-danger,.tf-context-default .tf-button-text-primary{background:transparent;border:none;cursor:pointer;display:inline}.tf-context-default .tf-button-text-action:hover,.tf-context-default .tf-button-text-danger:hover,.tf-context-default .tf-button-text-primary:hover{font-weight:700}.tf-context-default .tf-button-text-action{color:#505050}.tf-context-default .tf-button-text-danger{color:#cc1818}.tf-context-default .tf-button-text-primary{color:#4b84ce}.tf-context-default .tf-button-icon-trash{align-items:center;background:transparent;border:none;cursor:pointer;display:flex;height:32px;justify-content:center;width:32px}.tf-context-default .tf-button-icon-trash:after{content:url('data:image/svg+xml;utf8,')}.tf-context-default .tf-button-icon-eye{align-items:center;background:transparent;border:none;cursor:pointer;display:flex;height:32px;justify-content:center;width:32px}.tf-context-default .tf-button-icon-eye:after{content:url('data:image/svg+xml;utf8,')}.tf-context-default .tf-dialog .tf-title{display:flex}.tf-context-default .tf-dialog .tf-title h4{margin:0;padding:12px 0}.tf-context-default .tf-panel{background:#fff;border:1px solid #a7b1bb;border-radius:2px;display:flex;flex-direction:column;margin-bottom:8px;width:100%}.tf-context-default .tf-panel-header{align-items:center;cursor:pointer;display:flex;height:32px;justify-content:space-between;width:100%}.tf-context-default .tf-panel-header.tf-button-action{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:0;border-radius:0;box-sizing:border-box;color:inherit;cursor:pointer;display:flex;font-family:inherit;font-size:100%;height:32px;justify-content:space-between;line-height:1.15;margin:0;padding:8px 12px;text-align:left;width:100%}.tf-context-default .tf-panel-header.tf-button-action:hover{background:#f0f0f0}.tf-context-default .tf-panel-open .tf-panel-header.tf-button-action{border-bottom:1px solid #a7b1bb}.tf-context-default .tf-panel-header-before-title,.tf-context-default .tf-panel-header-left,.tf-context-default .tf-panel-header-right,.tf-context-default .tf-panel-header-title{align-items:center;display:flex;justify-content:flex-start;padding:0 8px}.tf-context-default .tf-panel-header-left{padding-left:0}.tf-context-default .tf-panel-content,.tf-context-default .tf-panel-footer{padding:4px 8px}.tf-context-default .tf-panel-closed .tf-panel-content{display:none}.tf-context-default .tf-panel-footer{border-top:1px solid #a7b1bb;display:flex;gap:8px;justify-content:flex-end;padding:1em}.tf-context-default .tf-panel-arrow{border:solid;border-color:inherit;border-width:0 1px 1px 0;display:inline-block;height:8px;width:8px}.tf-context-default .tf-panel-open .tf-panel-arrow{transform:translateY(50%) rotate(-135deg)}.tf-context-default .tf-panel-closed .tf-panel-arrow{transform:translateY(-50%) rotate(45deg)}.tf-context-default .tf-label{text-transform:inherit}.tf-context-default .tf-description,.tf-context-default .tf-label{color:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;margin-bottom:revert}.tf-context-default .tf-description{margin-top:revert}.tf-context-default .tf-list-box{background:#fff;list-style:none;margin:5px 0;max-height:300px;max-width:100%;min-width:100%;overflow-y:auto;padding:0}.tf-context-default .tf-list-box-option{background:transparent;border-radius:2px;cursor:pointer;display:flex;font-size:13px;gap:8px;margin:0 5px;outline:none;padding:5px 9px}.tf-context-default .tf-list-box-option:not(.tf-list-box-option-selected,.tf-list-box-option-disabled):hover{color:#4b84ce}.tf-context-default .tf-list-box-option-selected,.tf-context-default .tf-list-box-option-selected.tf-list-box-option-selected{background-color:#4b84ce;color:#fff}.tf-context-default .tf-list-box-option-selected.tf-list-box-option-selected:hover,.tf-context-default .tf-list-box-option-selected:hover{color:#fff}.tf-context-default .tf-list-box-option-selected.tf-list-box-option-selected:after,.tf-context-default .tf-list-box-option-selected:after{content:"✓";margin-left:auto}.tf-context-default .tf-list-box-option-disabled{color:#aaa;cursor:default}.tf-context-default .tf-list-box-option-focus{box-shadow:inset 0 0 0 2px;color:#4b84ce}.tf-context-default .tf-list-box-section-separator:not(:first-child){border-top:1px solid #8c8f94;margin:12px 0}.tf-context-default .tf-list-box-section>span{color:#7d8690;display:block;font-size:11px;font-weight:500;line-height:1.45;margin:0 10px;padding:5px 9px;text-transform:uppercase}.tf-context-default .tf-list-box-section>ul{list-style:none;padding:0}.tf-context-default .tf-modal{align-items:center;background:rgba(0,0,0,.7);bottom:0;display:flex;justify-content:center;left:0;position:fixed;right:0;top:0;z-index:9990}.tf-context-default .tf-modal .tf-modal-container{background:#fff;border:1px solid #8c8f94;border-radius:2px;padding:2rem}.tf-context-default .tf-modal-actions{display:flex;justify-content:flex-end;padding-top:12px}.tf-context-default .tf-modal-actions button{margin-left:12px}.tf-context-default .tf-notice{background:#fff;box-shadow:0 1px 1px rgba(0,0,0,.04);color:#000;margin-top:4px;padding:1px 12px}.tf-context-default .tf-notice.tf-is-dismissible{padding-right:38px;position:relative}.tf-context-default .tf-notice.tf-error{border-left:4px solid #d63638}.tf-context-default .tf-notice.tf-success{border-left:4px solid #00a32a}.tf-context-default .tf-notice.tf-warning{border-left-color:#dba617}.tf-context-default .tf-notice.tf-info{border-left-color:#72aee6}.tf-context-default .tf-notice-dismiss{background:none;border:none;color:#787c82;cursor:pointer;margin:0;padding:9px;position:absolute;right:1px;top:0}.tf-context-default .tf-notice-dismiss:active:before,.tf-context-default .tf-notice-dismiss:focus:before,.tf-context-default .tf-notice-dismiss:hover:before{color:#d63638}.tf-context-default .tf-notice-dismiss:focus{box-shadow:0 0 0 1px #4f94d4,0 0 2px 1px rgba(79,148,212,.8);outline:none}.tf-context-default .tf-notice-dismiss:before{background:none;color:#787c82;content:"\f153";display:block;font:normal 16px/20px dashicons;height:20px;text-align:center;width:20px;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.tf-context-default .tf-underlay{inset:0;position:fixed}.tf-context-default .tf-popover{background:#fff;color:inherit;z-index:900}.tf-context-default .tf-tooltip-trigger-content{cursor:context-menu;position:relative;width:-moz-fit-content;width:fit-content}.tf-context-default .tf-tooltip{cursor:default;display:inline-block;max-width:150px;position:absolute;visibility:hidden;width:-moz-max-content;width:max-content;z-index:1}.tf-context-default .tf-tooltip-top{bottom:100%;left:50%;margin-bottom:12px;transform:translateX(-50%)}.tf-context-default .tf-tooltip-bottom{left:50%;margin-top:12px;top:100%;transform:translateX(-50%)}.tf-context-default .tf-tooltip-start{margin-right:12px;right:100%;top:50%;transform:translateY(-50%)}.tf-context-default .tf-tooltip-end{left:100%;margin-left:12px;top:50%;transform:translateY(-50%)}.tf-context-default .tf-tooltip-content{border-radius:3px;font-size:12px;padding:6px 12px;text-align:center;word-break:normal}.tf-context-default .tf-tooltip-content.light{background-color:#e6e6e6;color:hsla(0,4%,5%,.945);--tf-tooltip-after-color:#e6e6e6}.tf-context-default .tf-tooltip-content.dark{background-color:hsla(0,4%,5%,.945);color:#e6e6e6;--tf-tooltip-after-color:hsla(0,4%,5%,.945)}.tf-context-default .tf-tooltip-content:after{border-style:solid;border-width:7px;content:" ";position:absolute}.tf-context-default .tf-tooltip-content-top:after{border-color:var(--tf-tooltip-after-color,transparent) transparent transparent transparent;left:50%;margin-left:-7px;top:100%}.tf-context-default .tf-tooltip-content-bottom:after{border-color:transparent transparent var(--tf-tooltip-after-color,transparent) transparent;bottom:100%;left:50%;margin-left:-7px}.tf-context-default .tf-tooltip-content-start:after{border-color:transparent transparent transparent var(--tf-tooltip-after-color,transparent);left:100%;margin-top:-7px;top:50%}.tf-context-default .tf-tooltip-content-end:after{border-color:transparent var(--tf-tooltip-after-color,transparent) transparent transparent;margin-top:-7px;right:100%;top:50%}.tf-context-default .tf-tooltip-trigger-content:hover .tf-tooltip{visibility:visible}.tf-context-default .tf-conditional-group-actions{align-items:center;display:flex;gap:8px;padding:8px 0}.tf-context-default .tf-conditional-group-actions strong{text-transform:uppercase}.tf-context-default .tf-conditional-panel-condition-actions{display:flex;gap:4px}.tf-context-default .tf-conditional-panel-condition-actions .tf-button-action:first-child{text-transform:uppercase}.tf-context-default .tf-conditional-panel-condition-actions .tf-button-danger:last-child{position:relative}.tf-context-default .tf-conditional-panel-condition-actions .tf-button-danger:last-child:before{background-color:#cc1818;content:"";height:1px;position:absolute;width:100%;width:10px}.tf-context-default .tf-accordion .tf-switch-element,.tf-context-default .tf-accordion .tf-switch-element-selected{transform:scale(.7)}.tf-context-default .tf-alignment-matrix-container{display:grid;grid-template-columns:repeat(3,1fr);height:50px;margin:5px;width:50px}.tf-context-default .tf-border-dimensions-container{margin:0 0 5px}.tf-context-default .tf-button-group .tf-button-group-option{align-items:center;background:#fff;border:1px solid #d3d3d3;border-radius:4px;border-radius:0;box-sizing:border-box;color:#505050;color:#4b84ce;cursor:pointer;display:inline-flex;height:32px;margin:0;padding:0 12px;transition-duration:.2s;transition-property:color,background-color,border-color;transition-timing-function:ease-in-out}.tf-context-default .tf-button-group .tf-button-group-option:hover{background:#fff;border-color:#31609e;color:#31609e}.tf-context-default .tf-button-group .tf-button-group-option:first-child{border-bottom-left-radius:4px;border-top-left-radius:4px}.tf-context-default .tf-button-group .tf-button-group-option:not(:first-child){margin-left:-1px}.tf-context-default .tf-button-group .tf-button-group-option:last-child{border-bottom-right-radius:4px;border-top-right-radius:4px}.tf-context-default .tf-button-group .tf-button-group-option.tf-button-group-option-selected{background:#4b84ce;border-color:#4b84ce;color:#fff}.tf-context-default .tf-button-group .tf-button-group-option:focus-within{position:relative;z-index:1}.tf-context-default .tf-button-group .tf-button-group-option .dashicons{align-items:center;display:flex;justify-content:center}.tf-context-default .tf-button-group-container[aria-disabled=true] .tf-button-group-option{opacity:.5;pointer-events:none}.tf-context-default .tf-checkbox .tf-label{font-size:13px;font-weight:400;margin-bottom:revert;text-transform:none}.tf-context-default .tf-checkbox input[type=checkbox]{border:1px solid;border-color:inherit;border-radius:2px;box-shadow:0 0 0 transparent;margin-right:revert}.tf-context-default .tf-checkbox input[type=checkbox]:focus{border-color:#4b84ce;box-shadow:0 0 0 1px #4b84ce;outline:2px solid transparent}.tf-context-default .tf-checkbox input[type=checkbox]:checked{background:#4b84ce;border-color:#4b84ce;color:#fff}.tf-context-default .tf-checkbox input[type=checkbox]:checked:before{content:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGFyaWEtaGlkZGVuPSJ0cnVlIiBjbGFzcz0iY29tcG9uZW50cy1jaGVja2JveC1jb250cm9sX19jaGVja2VkIiB2aWV3Qm94PSIwIDAgMjQgMjQiPjxwYXRoIGZpbGw9IiNmZmYiIGQ9Im0xNi43IDcuMS02LjMgOC41LTMuMy0yLjUtLjkgMS4yIDQuNSAzLjRMMTcuOSA4eiIvPjwvc3ZnPg==")}.tf-context-default .tf-checkbox input[type=checkbox]:indeterminate{background:#4b84ce;border-color:#4b84ce;color:#fff}.tf-context-default .tf-checkbox input[type=checkbox]:indeterminate:before{content:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGFyaWEtaGlkZGVuPSJ0cnVlIiBjbGFzcz0iY29tcG9uZW50cy1jaGVja2JveC1jb250cm9sX19pbmRldGVybWluYXRlIiB2aWV3Qm94PSIwIDAgMjQgMjQiPjxwYXRoIGZpbGw9IiNmZmYiIGQ9Ik03IDExLjVoMTBWMTNIN3oiLz48L3N2Zz4=")}.tf-context-default .tf-color-area,.tf-context-default .tf-color-area-gradient{height:150px;width:100%}.tf-context-default .tf-color-area-thumb{border:2px solid #fff;border-radius:50%;box-shadow:0 0 0 1px #000,inset 0 0 0 1px #000;height:20px;top:50%;width:20px}.tf-context-default .tf-color-container{position:relative;width:-moz-fit-content;width:fit-content}.tf-context-default .tf-color-container input{background:#fff;border:1px solid #8c8f94;border-radius:2px;box-shadow:unset;color:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;height:32px;padding:6px 8px;width:192px}.tf-context-default .tf-color-container input::-moz-placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}.tf-context-default .tf-color-container input::placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}.tf-context-default .tf-color-picker{background:#fff;border:1px solid #8c8f94;width:100%;z-index:900}.tf-context-default .tf-color-picker .tf-color-area{display:flex;justify-content:center;width:100%}.tf-context-default .tf-color-picker .tf-color-area .tf-color-area-thumb{transform:translate(-50%,-50%)!important}.tf-context-default .tf-color-picker .tf-color-input{display:flex;flex-direction:column;padding:10px}.tf-context-default .tf-color-picker .tf-color-sliders{padding:6px 8px 10px}.tf-context-default .tf-color-input>input{width:100%}.tf-context-default .tf-color-slider{align-items:center;display:flex;flex-direction:column;padding-bottom:5px;padding-top:5px;width:100%}.tf-context-default .tf-color-slider-label{align-self:stretch;display:flex}.tf-context-default .tf-color-slider-label output{flex:1 0 auto;text-align:end}.tf-context-default .tf-color-slider-container{border:1px solid #8c8f94;border-radius:10px;height:20px;width:100%}.tf-context-default .tf-combo-box{display:flex;flex-direction:column;width:100%}.tf-context-default .tf-combo-box-text{background:#fff;border:1px solid #8c8f94;border-radius:2px;box-shadow:unset;color:inherit;display:flex;flex-wrap:nowrap;font-size:inherit;font-style:inherit;font-weight:inherit;height:32px;justify-content:space-between;padding:0;position:relative;width:192px}.tf-context-default .tf-combo-box-text::-moz-placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}.tf-context-default .tf-combo-box-text::placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}.tf-context-default .tf-combo-box-text input{border:0;box-shadow:none;width:100%}.tf-context-default .tf-combo-box-text input:focus{box-shadow:none}.tf-context-default .tf-combo-box-text .tf-button-action{background:#fff;background:none;border:0;border-radius:4px;box-sizing:border-box;color:#505050;cursor:pointer;height:32px;max-height:30px;padding:0 12px;transition-duration:.2s;transition-property:color,background-color,border-color;transition-timing-function:ease-in-out}.tf-context-default .tf-combo-box-text .tf-button-action:hover{background:#fff;border-color:#31609e;color:#31609e}.tf-context-default .tf-combo-box-text .tf-button-action span{padding:0 2px}.tf-context-default .tf-combo-box-text:focus-within{border-color:#4b84ce;box-shadow:0 0 0 1px #4b84ce;outline:2px solid transparent}.tf-context-default .tf-combo-box-item{align-items:center;background-color:#e2e7ff;border:1px solid transparent;border-radius:2px;box-sizing:border-box;color:#4b84ce;display:inline-flex;font-size:13px;font-weight:700;gap:.35em;line-height:1.4;max-width:100%;padding:.25em .5em}.tf-context-default .tf-combo-box-item span:first-child{flex:1 1 auto;padding-right:5px;text-overflow:ellipsis}.tf-context-default .tf-combo-box-item button:last-child{background-color:transparent;border:none;color:#4b84ce;cursor:pointer}.tf-context-default .tf-combo-box-item button:last-child:focus{outline:none}.tf-context-default .tf-multiple-combobox-container{display:flex;gap:8px;position:relative}.tf-context-default .tf-multiple-combobox-container>.tf-popover{left:0;position:absolute;top:100%;width:192px;z-index:900}.tf-context-default .tf-multiple-combobox-container>.tf-popover .tf-combo-box{width:100%}.tf-context-default .tf-multiple-combobox-container>.tf-popover .tf-list-box-option:not(.tf-list-box-option-selected,.tf-list-box-option-disabled):hover:after{content:"+";margin-left:auto}.tf-context-default .tf-multiple-combobox{position:relative}.tf-context-default .tf-multiple-combobox>.tf-label{display:flex}.tf-context-default .tf-multiple-combobox-values{align-items:center;background-color:#fff;border:1px solid #8c8f94;border-radius:2px;box-sizing:border-box;display:flex;flex-wrap:wrap;gap:8px;min-height:32px;padding:6px 8px;width:192px}.tf-context-default .tf-multiple-combobox[data-enabled=false] .tf-multiple-combobox-values{opacity:.5}.tf-context-default .tf-combo-box-popover.tf-popover{border:1px solid #4b84ce;border-bottom-left-radius:2px;border-bottom-right-radius:2px;box-shadow:0 0 0 1px #4b84ce;margin-left:-2px;outline:2px solid transparent}.tf-context-default .tf-date-picker{align-items:flex-start;display:flex;flex-direction:column}.tf-context-default .tf-popover{border:1px solid #8c8f94;border-radius:2px;display:flex;justify-content:center;width:auto}.tf-context-default .tf-popover .tf-calendar{padding:20px;width:-moz-fit-content;width:fit-content}.tf-context-default .tf-popover .tf-calendar-month{text-align:center}.tf-context-default .tf-popover .tf-calendar-buttons{align-items:center;display:flex;justify-content:space-between}.tf-context-default .tf-popover .tf-calendar-buttons button{background:#fff;border:1px solid #d3d3d3;border-radius:4px;box-sizing:border-box;color:#505050;cursor:pointer;height:32px;padding:0 12px;transition-duration:.2s;transition-property:color,background-color,border-color;transition-timing-function:ease-in-out}.tf-context-default .tf-popover .tf-calendar-buttons button:hover{background:#fff;border-color:#31609e;color:#31609e}.tf-context-default .tf-popover .tf-calendar-tables{display:flex}.tf-context-default .tf-popover .tf-calendar-table{padding:10px;width:100%}.tf-context-default .tf-popover .tf-calendar-table td{text-align:center}.tf-context-default .tf-popover .tf-calendar-presets{display:flex;gap:.25rem}.tf-context-default .tf-popover .tf-calendar-presets button{background:#fff;border:1px solid #d3d3d3;border-radius:4px;box-sizing:border-box;color:#505050;cursor:pointer;height:32px;padding:0 12px;transition-duration:.2s;transition-property:color,background-color,border-color;transition-timing-function:ease-in-out}.tf-context-default .tf-popover .tf-calendar-presets button:hover{background:#fff;border-color:#31609e;color:#31609e}.tf-context-default .tf-popover .tf-calendar-cell{border-radius:100%;cursor:pointer;height:2em;line-height:2em;width:2em}.tf-context-default .tf-popover .tf-calendar-cell.tf-calendar-cell-disabled,.tf-context-default .tf-popover .tf-calendar-cell.tf-calendar-cell-unavailable{cursor:not-allowed;opacity:.5}.tf-context-default .tf-popover .tf-calendar-cell:not(.tf-calendar-cell-disabled,.tf-calendar-cell-unavailable,.tf-calendar-cell-selected):hover{color:#4b84ce}.tf-context-default .tf-popover .tf-calendar-cell.tf-calendar-cell-selected{background-color:#4b84ce;color:#fff}.tf-context-default .tf-date-group{align-items:center;display:flex;gap:8px;justify-content:flex-start}.tf-context-default .tf-date-group .tf-button-action{height:32px}.tf-context-default .tf-date-field-container{width:100%}.tf-context-default .tf-date-field{align-items:center;background:#fff;border:1px solid #8c8f94;border-radius:2px;box-shadow:unset;color:inherit;display:inline-flex;font-size:inherit;font-style:inherit;font-weight:inherit;height:32px;height:20px;justify-content:center;padding:6px 8px;width:192px;width:176px}.tf-context-default .tf-date-field::-moz-placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}.tf-context-default .tf-date-field::placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}.tf-context-default .tf-date-field:focus-within{border-color:#4b84ce}.tf-context-default .tf-date-segment{font-variant-numeric:tabular-nums;padding:0 2px;text-align:end}.tf-context-default .tf-date-segment:focus{background:#4b84ce;border-radius:2px;color:#fff;outline:none}.tf-context-default .tf-date-segment span{display:none}.tf-context-default .tf-date-segment-placeholder span{display:flex}.tf-context-default .tf-dimensions{display:flex;flex-direction:column}.tf-context-default .tf-dimensions .tf-select,.tf-context-default .tf-dimensions .tf-select .tf-button-select{width:auto}.tf-context-default .tf-dimensions-container{display:flex;flex-wrap:wrap;position:relative;width:-moz-fit-content;width:fit-content}.tf-context-default .tf-dimensions-number-groups{display:flex;flex-direction:row;max-width:300px}.tf-context-default .tf-dimensions-number-groups .tf-number{flex:1 1 75px}.tf-context-default .tf-dimensions-number-groups .tf-number .tf-number-field{width:100%}.tf-context-default .tf-dimensions-number-groups .tf-number input{text-align:left;width:100%}.tf-context-default .tf-dimensions-number-groups .tf-number-button-group .tf-button-number{padding:0 3px}.tf-context-default .tf-dimensions-number-groups-linked .tf-number:not(:first-child){display:none;opacity:.5;pointer-events:none}.tf-context-default .tf-dynamic-text-field{align-items:center;display:flex;gap:8px;position:relative}.tf-context-default .tf-dynamic-text-field .tf-dynamic-text-popover{left:0;position:absolute;top:100%;width:192px;z-index:900}.tf-context-default .tf-dynamic-text-field .tf-dynamic-text-popover .tf-list-box-option:not(.tf-list-box-option-selected,.tf-list-box-option-disabled):hover:after{content:"+";margin-left:auto}.tf-context-default .tf-dynamic-text-item{align-items:center;background-color:#e2e7ff;border:1px solid transparent;border-radius:2px;color:#4b84ce;display:inline-flex;font-size:13px;font-weight:700;gap:.35em;line-height:1.4;margin:0 .15em;padding:.25em .5em}.tf-context-default .tf-dynamic-text-item:before{content:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMSIgaGVpZ2h0PSIxNiIgZmlsbD0ibm9uZSI+PGcgY2xpcC1wYXRoPSJ1cmwoI2EpIj48cGF0aCBmaWxsPSIjMzg1OEU5IiBkPSJNNi44OSA3LjA2MmgzLjE5M2MuMzgxIDAgLjcyNS4yNDQuODM0LjYwN2EuOTEuOTEgMCAwIDEtLjIzIDEuMDM3bC03LjMzMyA2LjU2M2EuOS45IDAgMCAxLTEuMTQzLjA1Mi45NS45NSAwIDAgMS0uMzA0LTEuMTI4bDIuMjA0LTUuMjU2SC44OWMtLjM1NiAwLS42OTgtLjI0My0uODMzLS42MDZhLjk1NS45NTUgMCAwIDEgLjI1NS0xLjAzN0w3LjY0Ni43MzJBLjkuOSAwIDAgMSA4Ljc4OC42NzlhLjk1Ljk1IDAgMCAxIC4zMDQgMS4xMjh6Ii8+PC9nPjxkZWZzPjxjbGlwUGF0aCBpZD0iYSI+PHBhdGggZmlsbD0iI2ZmZiIgZD0iTTAgLjVoMTF2MTVIMHoiLz48L2NsaXBQYXRoPjwvZGVmcz48L3N2Zz4=");line-height:1}.tf-context-default .cm-content[contenteditable=false] .tf-dynamic-text-item{filter:grayscale(1)}.tf-context-default .tf-dynamic-text-input{padding:0}.tf-context-default .tf-dynamic-text-input:focus-within{box-shadow:0 0 0 1px #4b84ce;outline:2px solid transparent}.tf-context-default .tf-dynamic-text-input>.cm-editor{padding:0 8px}.tf-context-default .tf-dynamic-text-input>.cm-editor.cm-focused{outline:none}.tf-context-default .tf-dynamic-text-input>.cm-editor .cm-scroller{font-family:inherit}.tf-context-default .tf-dynamic-text-input>.cm-editor .cm-content{height:100%}.tf-context-default .tf-editor .ProseMirror ul{list-style-type:disc}.tf-context-default .tf-editor .ProseMirror ol{margin:0}.tf-context-default .tf-editor .ProseMirror{line-height:1.2;outline:none;padding:4px 8px 4px 14px}.tf-context-default .tf-editor .tf-editor-view-toggle{display:flex;flex-direction:row;justify-content:flex-end;padding-bottom:5px}.tf-context-default .tf-editor .tf-editor-view-toggle .tf-button-group,.tf-context-default .tf-file-field{width:-moz-fit-content;width:fit-content}.tf-context-default .tf-file-field{align-items:center;display:flex;flex-wrap:wrap}.tf-context-default .tf-file-text{max-width:192px;overflow:hidden;padding:6px 8px;text-overflow:ellipsis}.tf-context-default .tf-file-list{margin-bottom:0;padding:0;width:300px}.tf-context-default .tf-file-item{align-items:center;display:flex;flex-wrap:wrap;justify-content:space-between}.tf-context-default .tf-file-item img{max-width:200px}.tf-context-default .tf-file-item span{flex-grow:1;overflow:hidden;text-overflow:ellipsis;width:70%}.tf-context-default .tf-file-item .tf-button-upload-list{cursor:pointer;font-style:italic;text-decoration:underline}.tf-context-default .tf-gallery-preview{display:flex}.tf-context-default .tf-gallery-item{align-items:center;display:flex;height:100px;justify-content:center;width:100px}.tf-context-default .tf-gallery-item img{border-radius:2px;height:100%;-o-object-fit:cover;object-fit:cover;overflow:hidden;width:100%}.tf-context-default .tf-gallery__controls{background:#fff;border:1px solid #a7b1bb;border-radius:2px;padding:8px 12px}.tf-context-default .tf-gallery-buttons{display:flex;gap:10px}.tf-context-default .tf-gradient-container{display:flex;flex-direction:column;position:relative;width:192px}.tf-context-default .tf-gradient-input{background:#fff;border:1px solid #8c8f94;border-radius:2px;box-shadow:unset;color:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;height:32px;padding:6px 8px;width:192px}.tf-context-default .tf-gradient-input::-moz-placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}.tf-context-default .tf-gradient-input::placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}.tf-context-default .tf-gradient-settings{padding:10px 8px}.tf-context-default .tf-gradient-settings .tf-gradient-settings-row{padding:10px 0}.tf-context-default .tf-gradient-popover .tf-dialog{width:100%}.tf-context-default .tf-gradient-preview{padding:10px 8px;position:relative}.tf-context-default .tf-gradient-colors{align-items:center;cursor:pointer;display:flex;height:32px;justify-content:space-between;padding:6px 8px}.tf-context-default .tf-list-container{display:flex;flex-direction:column;gap:8px}.tf-context-default .tf-list-items{width:192px}.tf-context-default .tf-list-header,.tf-context-default .tf-list-header label,.tf-context-default .tf-list-item{align-items:center;display:flex;justify-content:flex-start}.tf-context-default .tf-list-header{background:#f0f0f0;border:1px solid hsla(218,4%,56%,.5);border-radius:2px;border-bottom-left-radius:0;border-bottom-right-radius:0;padding:6px 8px}.tf-context-default .tf-list-header label{height:32px;margin:0}.tf-context-default .tf-list-item{background:#fff;border:1px solid hsla(218,4%,56%,.5);border-top:none;box-sizing:border-box;height:32px;width:192px}.tf-context-default .tf-list-item .tf-list-item-text{flex:1;font-size:inherit;font-weight:inherit;padding:6px 8px}.tf-context-default .tf-list-item .tf-list-item-actions{display:flex}.tf-context-default .tf-list-search{display:flex;width:192px}.tf-context-default .tf-list-search .tf-combo-box{flex:1}.tf-context-default .tf-number input{background:#fff;border:1px solid #8c8f94;border-radius:2px;box-shadow:unset;color:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;height:32px;padding:6px 8px;width:192px}.tf-context-default .tf-number input::-moz-placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}.tf-context-default .tf-number input::placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}.tf-context-default .tf-number .tf-label{display:flex}.tf-context-default .tf-number-field{display:flex;flex-direction:row;flex-wrap:nowrap;position:relative;width:192px}.tf-context-default .tf-number[data-enabled=false] .tf-number-field{opacity:.5}.tf-context-default .tf-number-button-group{bottom:1px;display:flex;flex-direction:column;flex-wrap:nowrap;height:auto;padding:6px 8px;position:absolute;right:1px;top:1px}.tf-context-default .tf-number-button-group .tf-button-number{align-items:center;background:#fff;background-color:#eee;border:0;border-radius:4px;border-radius:0;box-sizing:border-box;color:#505050;cursor:pointer;display:flex;height:32px;height:50%;justify-content:center;line-height:0;min-width:2em;padding:0;transition-duration:.2s;transition-property:color,background-color,border-color;transition-timing-function:ease-in-out}.tf-context-default .tf-number-button-group .tf-button-number:hover{background:#fff;background-color:#e2e2e2;border-color:#31609e;color:#31609e}.tf-context-default .tf-number-button-group .tf-button-number:first-child{border-bottom-left-radius:0;border-bottom-right-radius:0}.tf-context-default .tf-number-button-group .tf-button-number:last-child{border-top-left-radius:0;border-top-right-radius:0}.tf-context-default .tf-radio-group-container{display:flex;flex-direction:column}.tf-context-default .tf-multiple-select,.tf-context-default .tf-select{display:inline-block;position:relative;width:192px}.tf-context-default .tf-multiple-select>.tf-label,.tf-context-default .tf-select>.tf-label{display:flex}.tf-context-default .tf-multiple-select__value,.tf-context-default .tf-select__value{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tf-context-default .tf-multiple-select .tf-button-select,.tf-context-default .tf-select .tf-button-select{align-items:center;background:#fff;border:1px solid #8c8f94;border-radius:2px;box-shadow:unset;color:inherit;display:flex;font-style:inherit;font-weight:inherit;height:32px;justify-content:space-between;padding:0 10px;width:192px}.tf-context-default .tf-multiple-select .tf-button-select::-moz-placeholder,.tf-context-default .tf-select .tf-button-select::-moz-placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}.tf-context-default .tf-multiple-select .tf-button-select::placeholder,.tf-context-default .tf-select .tf-button-select::placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}.tf-context-default .tf-multiple-select .tf-button-select[disabled],.tf-context-default .tf-select .tf-button-select[disabled]{background:hsla(0,0%,100%,.5);border-color:rgba(0,0,0,.1);color:rgba(0,0,0,.4)}.tf-context-default .tf-multiple-select .tf-select-icon,.tf-context-default .tf-select .tf-select-icon{font-size:10px;padding-left:5px}.tf-context-default .tf-multiple-select .tf-button-select,.tf-context-default .tf-select .tf-button-select{cursor:pointer;font-size:inherit}.tf-context-default .tf-simple-dimensions{display:flex;flex-direction:column}.tf-context-default .tf-simple-dimensions .tf-select,.tf-context-default .tf-simple-dimensions .tf-select .tf-button-select{width:auto}.tf-context-default .tf-simple-dimensions-container{display:flex;position:relative;width:-moz-fit-content;width:fit-content}.tf-context-default .tf-switch label{align-items:center;display:flex;justify-content:flex-start}.tf-context-default .tf-switch-element,.tf-context-default .tf-switch-element-selected{display:inline-block;height:32px;position:relative;width:64px}.tf-context-default .tf-switch-element span,.tf-context-default .tf-switch-element-selected span{background-color:#ccc;border-radius:32px;bottom:0;cursor:pointer;left:0;position:absolute;right:0;top:0;transition:.4s}.tf-context-default .tf-switch-element span:before,.tf-context-default .tf-switch-element-selected span:before{background-color:#fff;border-radius:50%;bottom:4px;content:"";height:24px;left:4px;position:absolute;transition:.4s;width:24px}.tf-context-default .tf-switch-element-selected span{background-color:#4b84ce}.tf-context-default .tf-switch-element-selected span:focus{box-shadow:0 0 1px #4b84ce}.tf-context-default .tf-switch-element-selected span:before{transform:translateX(32px)}.tf-context-default .tf-text{box-sizing:content-box;display:flex;flex-direction:column}.tf-context-default .tf-text input{background:#fff;border:1px solid #8c8f94;border-radius:2px;box-shadow:unset;color:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;height:32px;padding:6px 8px;width:192px}.tf-context-default .tf-text input::-moz-placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}.tf-context-default .tf-text input::placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}.tf-context-default .tf-text-area textarea{background:#fff;border:1px solid #8c8f94;border-radius:2px;box-shadow:unset;color:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;height:32px;height:auto;padding:.6em;width:192px;width:100%}.tf-context-default .tf-text-area textarea::-moz-placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}.tf-context-default .tf-text-area textarea::placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}.tf-context-default .tf-repeater-bulk-actions{align-items:center;background:#fff;border:1px solid #8c8f94;border-radius:2px;display:flex;justify-content:flex-start;margin-bottom:4px;padding:5px 8px}.tf-context-default .tf-repeater-bulk-actions>button,.tf-context-default .tf-repeater-bulk-actions>div{margin-right:5px}.tf-context-default .tf-repeater-advanced-label-row{box-sizing:border-box;display:flex;gap:8px;justify-content:space-between;padding:8px 12px;width:100%}.tf-context-default .tf-repeater-advanced-label-row .tf-repeater-advanced-label-row-item{align-items:center;display:flex;flex:1;flex-wrap:wrap;justify-content:flex-start}.tf-context-default .tf-repeater-advanced-label-row .tf-repeater-advanced-label-row-item:first-child{color:#4b84ce;font-weight:700}.tf-context-default .tf-repeater-advanced-label-row .tf-repeater-advanced-label-row-arrow,.tf-context-default .tf-repeater-advanced-label-row .tf-repeater-advanced-label-row-index{width:32px}.tf-context-default .tf-repeater-advanced-header{background:#f0f0f0;border:1px solid hsla(218,4%,56%,.5);border-bottom:none;border-radius:2px;border-bottom-left-radius:0;border-bottom-right-radius:0;margin:0}.tf-context-default .tf-repeater-advanced-header .tf-repeater-advanced-header-item{color:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;height:32px;margin-bottom:0;text-transform:inherit}.tf-context-default .tf-repeater-advanced-overview{background:#fff}.tf-context-default .tf-repeater-advanced-overview .tf-repeater-advanced-label-row-arrow,.tf-context-default .tf-repeater-advanced-overview .tf-repeater-advanced-label-row-index{height:40px;line-height:40px;text-align:center}.tf-context-default .tf-repeater-advanced-overview .tf-repeater-advanced-label-row-index{background:#f0f0f0}.tf-context-default .tf-repeater-advanced-overview .tf-repeater-advanced-label-row-arrow{cursor:pointer}.tf-context-default .tf-repeater-advanced-overview .tf-repeater-advanced-label-row-arrow>div{border:solid;border-color:inherit;border-width:0 1px 1px 0;display:inline-block;height:8px;width:8px}.tf-context-default .tf-repeater-advanced-overview .tf-repeater-advanced-overview-item-actions{height:20px;width:100%}.tf-context-default .tf-repeater-advanced-overview .tf-repeater-advanced-overview-item-actions button{display:none}.tf-context-default .tf-repeater-advanced-overview-item-container{display:flex;flex-direction:column;justify-content:center;width:100%}.tf-context-default .tf-repeater-advanced-overview-item-fields{display:flex}.tf-context-default .tf-repeater-advanced-overview:hover .tf-repeater-advanced-overview-item-actions button{display:initial}.tf-context-default .tf-repeater-advanced-item .tf-repeater-advanced-overview:hover,.tf-context-default .tf-repeater-advanced-item[data-open=true] .tf-repeater-advanced-overview{background-color:#e2e7ff}.tf-context-default .tf-repeater-advanced-item[data-open=true] .tf-repeater-advanced-label-row-arrow>div{transform:translateY(50%) rotate(-135deg)}.tf-context-default .tf-repeater-advanced-item[data-open=false] .tf-repeater-advanced-label-row-arrow>div{transform:translateY(-50%) rotate(45deg)}.tf-context-default .tf-repeater-advanced-item{background-color:#fff;border:1px solid hsla(218,4%,56%,.5);border-radius:2px;border-radius:0;border-top:none;position:relative}.tf-context-default .tf-repeater-advanced-item[data-open=true]:before{background-color:#4b84ce;content:"";height:100%;left:0;position:absolute;top:0;width:3px}.tf-context-default .tf-repeater-advanced-container>.tf-repeater-actions{background-color:#fff;border:1px solid hsla(218,4%,56%,.5);border-radius:2px;border-top:none;border-top-left-radius:0;border-top-right-radius:0}.tf-context-default .tf-repeater-advanced-row{margin:16px 32px}.tf-context-default .tf-repeater-advanced-row .tf-repeater-advanced-item-field{padding:8px 12px}.tf-context-default .tf-repeater-advanced-item-field:has(>div[data-overlay-container=true]:empty){display:none}.tf-context-default .tf-repeater-advanced-item-field:has(input.tf-hidden[type=hidden]){padding:0}.tf-context-default .tf-repeater-advanced .tf-repeater-actions{padding:8px 12px}.tf-context-default .tf-repeater-bare-items{display:flex;flex-direction:column;row-gap:8px}.tf-context-default .tf-repeater-bare-items .tf-repeater-bare-row{display:flex;gap:8px;width:100%}.tf-context-default .tf-repeater-block-item{background:#fff;border:1px solid #8c8f94;border-radius:2px;display:flex;flex-direction:column;margin-bottom:6px;margin-top:1em;width:100%}.tf-context-default .tf-repeater-block-item .tf-panel-header .tf-switch-element,.tf-context-default .tf-repeater-block-item .tf-panel-header .tf-switch-element-selected{transform:scale(.7)}.tf-context-default .tf-repeater-block-item-field{padding:1em}.tf-context-default .tf-repeater-block-item-field:has(>div[data-overlay-container=true]:empty){display:none}.tf-context-default .tf-repeater-table-container{border:1px solid hsla(218,4%,56%,.5);border-radius:2px;display:flex;flex-direction:column;width:100%}.tf-context-default .tf-repeater-table-container .tf-repeater-actions{box-sizing:border-box;justify-content:flex-start;padding:8px 12px;width:100%}.tf-context-default .tf-repeater-table-container table{padding:0 4px 4px;width:100%}.tf-context-default .tf-repeater-table-container table th,.tf-context-default .tf-repeater-table-container table tr{min-height:32px;padding:2px}.tf-context-default .tf-repeater-table-container table th{height:32px;text-align:left}.tf-context-default .tf-repeater-table-container table td>div{display:flex;justify-content:center;width:100%}.tf-context-default .tf-repeater-table-container table td>div>div{width:100%}.tf-context-default .tf-repeater-table-container .tf-repeater-row-actions{width:1%}.tf-context-default .tf-repeater-table-container .tf-repeater-row-actions>div{display:inline-flex;gap:6px}.tf-context-default .tf-repeater-actions{display:flex;gap:6px;justify-content:flex-end;padding:2px 2px 4px}.tf-context-default .tf-repeater-actions .tf-button-action:last-child{border-color:#cc1818;color:#cc1818}.tf-context-default .tf-repeater-title{color:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;margin-bottom:revert;text-transform:inherit}.tf-context-default .tf-repeater-block-items{margin-bottom:8px;margin-top:8px}.tf-context-default .tf-dynamic-wrapper{align-items:center;display:flex;position:relative}.tf-context-default .tf-dynamic-wrapper .tf-dynamic-wrapper-popover{position:absolute;top:100%;width:192px;z-index:900}.tf-context-default .tf-dynamic-wrapper .tf-dynamic-wrapper-popover-form{background:#fff;border:1px solid #8c8f94;padding:6px 8px;width:100%;z-index:900}.tf-context-default .tf-dynamic-wrapper .tf-dynamic-wrapper-popover-form>*{margin:12px 0}.tf-context-default .tf-dynamic-wrapper .tf-dynamic-wrapper-popover-buttons{display:flex;justify-content:flex-end}.tf-context-default .tf-dynamic-wrapper .tf-dynamic-wrapper-popover-buttons button{margin-left:6px}.tf-context-default .tf-dynamic-wrapper.tf-dynamic-wrapper-buttons-outside{gap:8px}.tf-context-default .tf-dynamic-wrapper.tf-dynamic-wrapper-buttons-inside{gap:0;width:-moz-fit-content;width:fit-content}.tf-context-default .tf-dynamic-wrapper.tf-dynamic-wrapper-buttons-inside .tf-button-icon{background:transparent;border:none;cursor:pointer;height:32px;position:absolute;right:1px;top:50%;transform:translateY(-50%)}.tf-context-default .tf-dynamic-wrapper.tf-dynamic-wrapper-buttons-inside .tf-button-icon:before{content:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMyIgaGVpZ2h0PSIxNyIgZmlsbD0ibm9uZSI+PHBhdGggZmlsbD0iIzFFMUUxRSIgZD0iTTcuNTIyIDdoMy40ODdjLjQxNiAwIC43OS4yNi45MS42NDdhLjk1Ljk1IDAgMCAxLS4yNSAxLjEwNmwtLjYwMy41MjdhNC41IDQuNSAwIDAgMC01Ljk1NyA1LjIwOGwtMS40NDcgMS4yNjVhMSAxIDAgMCAxLTEuNTgtMS4xNDdMNC40ODkgOUguOTczYS45OTUuOTk1IDAgMCAxLS45MDktLjY0NyAxIDEgMCAwIDEgLjI3OC0xLjEwNmw4LjAwNS03YTEuMDAyIDEuMDAyIDAgMCAxIDEuNTggMS4xNDd6Ii8+PHBhdGggZmlsbD0iIzFFMUUxRSIgZmlsbC1ydWxlPSJldmVub2RkIiBkPSJNOS41IDE3YTMuNSAzLjUgMCAxIDAgMC03IDMuNSAzLjUgMCAwIDAgMCA3bTIuNS0zLjVhLjU3Ny41NzcgMCAwIDEtLjU3Ny41NzdoLTEuMzQ2djEuMzQ2YS41NzcuNTc3IDAgMSAxLTEuMTU0IDB2LTEuMzQ2SDcuNTc3YS41NzcuNTc3IDAgMCAxIDAtMS4xNTRoMS4zNDZ2LTEuMzQ2YS41NzcuNTc3IDAgMSAxIDEuMTU0IDB2MS4zNDZoMS4zNDZjLjMyIDAgLjU3Ny4yNTguNTc3LjU3NyIgY2xpcC1ydWxlPSJldmVub2RkIi8+PC9zdmc+);line-height:1;padding:0 5px}.tf-context-default .tf-dynamic-wrapper.tf-dynamic-wrapper-buttons-inside .tf-button-icon.cm-content[contenteditable=false]:before{display:none}.tf-context-default .tf-dynamic-field-wrapper.tf-dynamic-wrapper .tf-dynamic-value-input:disabled{background:hsla(0,0%,100%,.5);border-color:rgba(0,0,0,.1);color:rgba(0,0,0,.4)}.tf-context-default .tf-dynamic-field-wrapper.tf-dynamic-wrapper .tf-button-icon.tf-dynamic-wrapper-clear:before{content:"⨯"}.tf-context-default .tf-dynamic-text-input{background:#fff;border:1px solid #8c8f94;border-radius:2px;box-shadow:unset;color:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;height:32px;height:20px;padding:6px 8px;width:192px;width:176px}.tf-context-default .tf-dynamic-text-input::-moz-placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}.tf-context-default .tf-dynamic-text-input::placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}.tf-context-default .tf-dynamic-text-input:focus-within{border-color:#4b84ce}.tf-context-default .tf-dynamic-text-input:has(.cm-content[contenteditable=false]){background:hsla(0,0%,100%,.5);border-color:rgba(0,0,0,.1);color:rgba(0,0,0,.4);pointer-events:none}.tf-context-default .tf-dynamic-text-input:has(.cm-content[contenteditable=false]) .tf-dynamic-text-input__affix{border-color:rgba(0,0,0,.1)}.tf-context-default .tf-dynamic-text-input--has-prefix,.tf-context-default .tf-dynamic-text-input--has-suffix{display:flex;height:auto;padding:0}.tf-context-default .tf-dynamic-text-input--has-prefix>.cm-editor,.tf-context-default .tf-dynamic-text-input--has-suffix>.cm-editor{flex:1 1 auto;min-height:32px;overflow:hidden}.tf-context-default .tf-dynamic-text-input>.cm-editor{height:100%;justify-content:center;width:100%}.tf-context-default .tf-dynamic-text-input>.cm-editor .cm-content,.tf-context-default .tf-dynamic-text-input>.cm-editor .cm-line{padding:0}.tf-context-default .tf-dynamic-text-input>.cm-editor .cm-content{display:flex;flex-direction:column;justify-content:center}.tf-context-default .tf-dynamic-text-input .tf-dynamic-text-item-delete:before{content:"⨯";cursor:pointer;padding-left:3px}.tf-context-default .tf-dynamic-text-input__affix{align-items:center;border:0 solid #8c8f94;display:inline-flex;font-size:.8em;font-weight:700;padding:0 .5em;text-wrap:nowrap}.tf-context-default .tf-dynamic-text-input__affix--prefix{border-right-width:1px}.tf-context-default .tf-dynamic-text-input__affix--suffix{border-left-width:1px}.tf-context-default .tf-dynamic-text-input:focus-within .tf-dynamic-text-input__affix{border-color:#4b84ce}.tf-context-default .tf-dynamic-wrapper[data-dynamic=true] .cm-editor{padding-right:25px}.tf-context-default .tf-dynamic-wrapper[data-dynamic=true] .cm-editor:has(.cm-content[contenteditable=false]){padding-right:0}.tf-context-default .tf-dynamic-wrapper[data-dynamic=true] .tf-dynamic-text-input--has-suffix .cm-editor{padding-right:8px}.tf-context-default .tf-dynamic-wrapper[data-dynamic=true] .tf-dynamic-text-input__affix--suffix{border-right-width:1px;margin-right:33px}.ProseMirror-textblock-dropdown{min-width:3em}.ProseMirror-menu{line-height:1;margin:0 -4px}.ProseMirror-tooltip .ProseMirror-menu{white-space:pre;width:-moz-fit-content;width:fit-content}.ProseMirror-menuitem{display:inline-block;margin-right:3px}.ProseMirror-menuseparator{border-right:1px solid #ddd;margin-right:3px}.ProseMirror-menu-dropdown,.ProseMirror-menu-dropdown-menu{font-size:90%;white-space:nowrap}.ProseMirror-menu-dropdown{cursor:pointer;padding-right:15px;position:relative;vertical-align:1px}.ProseMirror-menu-dropdown-wrap{display:inline-block;padding:1px 0 1px 4px;position:relative}.ProseMirror-menu-dropdown:after{border-left:4px solid transparent;border-right:4px solid transparent;border-top:4px solid;content:"";opacity:.6;position:absolute;right:4px;top:calc(50% - 2px)}.ProseMirror-menu-dropdown-menu,.ProseMirror-menu-submenu{background:#fff;border:1px solid #aaa;color:#666;padding:2px;position:absolute}.ProseMirror-menu-dropdown-menu{min-width:6em;z-index:15}.ProseMirror-menu-dropdown-item{cursor:pointer;padding:2px 8px 2px 4px}.ProseMirror-menu-dropdown-item:hover{background:#f2f2f2}.ProseMirror-menu-submenu-wrap{margin-right:-4px;position:relative}.ProseMirror-menu-submenu-label:after{border-bottom:4px solid transparent;border-left:4px solid;border-top:4px solid transparent;content:"";opacity:.6;position:absolute;right:4px;top:calc(50% - 4px)}.ProseMirror-menu-submenu{display:none;left:100%;min-width:4em;top:-3px}.ProseMirror-menu-active{background:#eee;border-radius:4px}.ProseMirror-menu-disabled{opacity:.3}.ProseMirror-menu-submenu-wrap-active .ProseMirror-menu-submenu,.ProseMirror-menu-submenu-wrap:hover .ProseMirror-menu-submenu{display:block}.ProseMirror-menubar{background:#fff;border-bottom:1px solid silver;border-top-left-radius:inherit;border-top-right-radius:inherit;color:#666;left:0;min-height:1em;padding:1px 6px;position:relative;right:0;top:0;z-index:10}.ProseMirror-icon{cursor:pointer;display:inline-block;line-height:.8;padding:2px 8px;vertical-align:-2px}.ProseMirror-menu-disabled.ProseMirror-icon{cursor:default}.ProseMirror-icon svg{fill:currentColor;height:1em}.ProseMirror-icon span{vertical-align:text-top}.ProseMirror-menubar-wrapper{background-color:#fff;border:2px solid rgba(0,0,0,.2);border-radius:5px;height:150px;overflow:auto;resize:vertical}.ProseMirror-menubar{box-shadow:0 2px 5px rgba(0,0,0,.2);box-sizing:border-box;overflow:visible;padding-bottom:12px;padding-top:12px}.ProseMirror.ProseMirror-example-setup-style{border-radius:5px;margin-bottom:20px;padding-bottom:12px;padding-left:12px;padding-right:12px}.ProseMirror-example-setup-style hr{border:none;margin:1em 0;padding:2px 10px}.ProseMirror-example-setup-style hr:after{background-color:silver;content:"";display:block;height:1px;line-height:2px}.ProseMirror ol,.ProseMirror ul{padding-left:30px}.ProseMirror blockquote{border-left:3px solid #eee;margin-left:0;margin-right:0;padding-left:1em}.ProseMirror-example-setup-style img{cursor:default}.ProseMirror-prompt{background:#fff;border:1px solid silver;border-radius:3px;box-shadow:-.5px 2px 5px rgba(0,0,0,.2);padding:8px 10px 8px 15px;position:fixed;z-index:9999999}.ProseMirror-prompt h5{color:#444;font-size:100%;font-weight:400;margin:0}.ProseMirror-prompt input[type=text],.ProseMirror-prompt textarea{background:#eee;border:none;outline:none}.ProseMirror-prompt input[type=text]{margin-top:5px;padding:0 4px}.ProseMirror-prompt-close{background:transparent;border:none;color:#666;left:2px;padding:0;position:absolute;top:1px}.ProseMirror-prompt-close:after{content:"✕";font-size:12px}.ProseMirror-invalid{background:#ffc;border:1px solid #cc7;border-radius:4px;min-width:10em;padding:5px 10px;position:absolute}.ProseMirror-prompt-buttons{margin-top:5px}.ProseMirror{position:relative;word-wrap:break-word;font-feature-settings:"liga" 0;font-variant-ligatures:none;white-space:pre-wrap;white-space:break-spaces}.ProseMirror pre{white-space:pre-wrap}.ProseMirror li{position:relative}.ProseMirror-hideselection ::selection{background:transparent}.ProseMirror-hideselection ::-moz-selection{background:transparent}.ProseMirror-hideselection{caret-color:transparent}.ProseMirror-selectednode{outline:2px solid #8cf}li.ProseMirror-selectednode{outline:none}li.ProseMirror-selectednode:after{border:2px solid #8cf;bottom:-2px;content:"";left:-32px;pointer-events:none;position:absolute;right:-2px;top:-2px}img.ProseMirror-separator{border:none!important;display:inline!important;margin:0!important}.ProseMirror-gapcursor{display:none;pointer-events:none;position:absolute}.ProseMirror-gapcursor:after{animation:ProseMirror-cursor-blink 1.1s steps(2,start) infinite;border-top:1px solid #000;content:"";display:block;position:absolute;top:-2px;width:20px}@keyframes ProseMirror-cursor-blink{to{visibility:hidden}}.ProseMirror-focused .ProseMirror-gapcursor{display:block} +@charset "UTF-8";.tf-context-default .tf-button-action,.tf-context-default .tf-button-danger,.tf-context-default .tf-button-primary{align-items:center;background:#fff;border:1px solid #d3d3d3;border-radius:4px;box-sizing:border-box;color:#505050;cursor:pointer;display:flex;height:32px;justify-content:center;padding:0 12px;transition-duration:.2s;transition-property:color,background-color,border-color;transition-timing-function:ease-in-out;width:-moz-fit-content;width:fit-content}.tf-context-default .tf-button-action:hover,.tf-context-default .tf-button-danger:hover,.tf-context-default .tf-button-primary:hover{background:#fff;border-color:#31609e;color:#31609e}.tf-context-default .tf-button-danger{border-color:#cc1818;color:#cc1818}.tf-context-default .tf-button-primary{background-color:#4b84ce;color:inherit}.tf-context-default .tf-button-action[disabled],.tf-context-default .tf-button-danger[disabled],.tf-context-default .tf-button-icon-trash[disabled],.tf-context-default .tf-button-primary[disabled],.tf-context-default .tf-button-text-action[disabled],.tf-context-default .tf-button-text-danger[disabled],.tf-context-default .tf-button-text-primary[disabled]{cursor:not-allowed;opacity:.5;pointer-events:none}.tf-context-default .tf-button-action:focus{outline:none}.tf-context-default .tf-button-text-action,.tf-context-default .tf-button-text-danger,.tf-context-default .tf-button-text-primary{background:transparent;border:none;cursor:pointer;display:inline}.tf-context-default .tf-button-text-action:hover,.tf-context-default .tf-button-text-danger:hover,.tf-context-default .tf-button-text-primary:hover{font-weight:700}.tf-context-default .tf-button-text-action{color:#505050}.tf-context-default .tf-button-text-danger{color:#cc1818}.tf-context-default .tf-button-text-primary{color:#4b84ce}.tf-context-default .tf-button-icon-trash{align-items:center;background:transparent;border:none;cursor:pointer;display:flex;height:32px;justify-content:center;width:32px}.tf-context-default .tf-button-icon-trash:after{content:url('data:image/svg+xml;utf8,')}.tf-context-default .tf-button-icon-eye{align-items:center;background:transparent;border:none;cursor:pointer;display:flex;height:32px;justify-content:center;width:32px}.tf-context-default .tf-button-icon-eye:after{content:url('data:image/svg+xml;utf8,')}.tf-context-default .tf-dialog .tf-title{display:flex}.tf-context-default .tf-dialog .tf-title h4{margin:0;padding:12px 0}.tf-context-default .tf-panel{background:#fff;border:1px solid #a7b1bb;border-radius:2px;display:flex;flex-direction:column;margin-bottom:8px;width:100%}.tf-context-default .tf-panel-header{align-items:center;cursor:pointer;display:flex;height:32px;justify-content:space-between;width:100%}.tf-context-default .tf-panel-header.tf-button-action{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:0;border-radius:0;box-sizing:border-box;color:inherit;cursor:pointer;display:flex;font-family:inherit;font-size:100%;height:32px;justify-content:space-between;line-height:1.15;margin:0;padding:8px 12px;text-align:left;width:100%}.tf-context-default .tf-panel-header.tf-button-action:hover{background:#f0f0f0}.tf-context-default .tf-panel-open .tf-panel-header.tf-button-action{border-bottom:1px solid #a7b1bb}.tf-context-default .tf-panel-header-before-title,.tf-context-default .tf-panel-header-left,.tf-context-default .tf-panel-header-right,.tf-context-default .tf-panel-header-title{align-items:center;display:flex;justify-content:flex-start;padding:0 8px}.tf-context-default .tf-panel-header-left{padding-left:0}.tf-context-default .tf-panel-content,.tf-context-default .tf-panel-footer{padding:4px 8px}.tf-context-default .tf-panel-closed .tf-panel-content{display:none}.tf-context-default .tf-panel-footer{border-top:1px solid #a7b1bb;display:flex;gap:8px;justify-content:flex-end;padding:1em}.tf-context-default .tf-panel-arrow{border:solid;border-color:inherit;border-width:0 1px 1px 0;display:inline-block;height:8px;width:8px}.tf-context-default .tf-panel-open .tf-panel-arrow{transform:translateY(50%) rotate(-135deg)}.tf-context-default .tf-panel-closed .tf-panel-arrow{transform:translateY(-50%) rotate(45deg)}.tf-context-default .tf-label{text-transform:inherit}.tf-context-default .tf-description,.tf-context-default .tf-label{color:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;margin-bottom:revert}.tf-context-default .tf-description{margin-top:revert}.tf-context-default .tf-list-box{background:#fff;list-style:none;margin:5px 0;max-height:300px;max-width:100%;min-width:100%;overflow-y:auto;padding:0}.tf-context-default .tf-list-box-option{background:transparent;border-radius:2px;cursor:pointer;display:flex;font-size:13px;gap:8px;margin:0 5px;outline:none;padding:5px 9px}.tf-context-default .tf-list-box-option:not(.tf-list-box-option-selected,.tf-list-box-option-disabled):hover{color:#4b84ce}.tf-context-default .tf-list-box-option-selected,.tf-context-default .tf-list-box-option-selected.tf-list-box-option-selected{background-color:#4b84ce;color:#fff}.tf-context-default .tf-list-box-option-selected.tf-list-box-option-selected:hover,.tf-context-default .tf-list-box-option-selected:hover{color:#fff}.tf-context-default .tf-list-box-option-selected.tf-list-box-option-selected:after,.tf-context-default .tf-list-box-option-selected:after{content:"✓";margin-left:auto}.tf-context-default .tf-list-box-option-disabled{color:#aaa;cursor:default}.tf-context-default .tf-list-box-option-focus{box-shadow:inset 0 0 0 2px;color:#4b84ce}.tf-context-default .tf-list-box-section-separator:not(:first-child){border-top:1px solid #8c8f94;margin:12px 0}.tf-context-default .tf-list-box-section>span{color:#7d8690;display:block;font-size:11px;font-weight:500;line-height:1.45;margin:0 10px;padding:5px 9px;text-transform:uppercase}.tf-context-default .tf-list-box-section>ul{list-style:none;padding:0}.tf-context-default .tf-modal{align-items:center;background:rgba(0,0,0,.7);bottom:0;display:flex;justify-content:center;left:0;position:fixed;right:0;top:0;z-index:9990}.tf-context-default .tf-modal .tf-modal-container{background:#fff;border:1px solid #8c8f94;border-radius:2px;padding:2rem}.tf-context-default .tf-modal-actions{display:flex;justify-content:flex-end;padding-top:12px}.tf-context-default .tf-modal-actions button{margin-left:12px}.tf-context-default .tf-notice{background:#fff;box-shadow:0 1px 1px rgba(0,0,0,.04);color:#000;margin-top:4px;padding:1px 12px}.tf-context-default .tf-notice.tf-is-dismissible{padding-right:38px;position:relative}.tf-context-default .tf-notice.tf-error{border-left:4px solid #d63638}.tf-context-default .tf-notice.tf-success{border-left:4px solid #00a32a}.tf-context-default .tf-notice.tf-warning{border-left-color:#dba617}.tf-context-default .tf-notice.tf-info{border-left-color:#72aee6}.tf-context-default .tf-notice-dismiss{background:none;border:none;color:#787c82;cursor:pointer;margin:0;padding:9px;position:absolute;right:1px;top:0}.tf-context-default .tf-notice-dismiss:active:before,.tf-context-default .tf-notice-dismiss:focus:before,.tf-context-default .tf-notice-dismiss:hover:before{color:#d63638}.tf-context-default .tf-notice-dismiss:focus{box-shadow:0 0 0 1px #4f94d4,0 0 2px 1px rgba(79,148,212,.8);outline:none}.tf-context-default .tf-notice-dismiss:before{background:none;color:#787c82;content:"\f153";display:block;font:normal 16px/20px dashicons;height:20px;text-align:center;width:20px;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.tf-context-default .tf-underlay{inset:0;position:fixed}.tf-context-default .tf-popover{background:#fff;color:inherit;z-index:900}.tf-context-default .tf-tooltip-trigger-content{cursor:context-menu;position:relative;width:-moz-fit-content;width:fit-content}.tf-context-default .tf-tooltip{cursor:default;display:inline-block;max-width:150px;position:absolute;visibility:hidden;width:-moz-max-content;width:max-content;z-index:1}.tf-context-default .tf-tooltip-top{bottom:100%;left:50%;margin-bottom:12px;transform:translateX(-50%)}.tf-context-default .tf-tooltip-bottom{left:50%;margin-top:12px;top:100%;transform:translateX(-50%)}.tf-context-default .tf-tooltip-start{margin-right:12px;right:100%;top:50%;transform:translateY(-50%)}.tf-context-default .tf-tooltip-end{left:100%;margin-left:12px;top:50%;transform:translateY(-50%)}.tf-context-default .tf-tooltip-content{border-radius:3px;font-size:12px;padding:6px 12px;text-align:center;word-break:normal}.tf-context-default .tf-tooltip-content.light{background-color:#e6e6e6;color:hsla(0,4%,5%,.945);--tf-tooltip-after-color:#e6e6e6}.tf-context-default .tf-tooltip-content.dark{background-color:hsla(0,4%,5%,.945);color:#e6e6e6;--tf-tooltip-after-color:hsla(0,4%,5%,.945)}.tf-context-default .tf-tooltip-content:after{border-style:solid;border-width:7px;content:" ";position:absolute}.tf-context-default .tf-tooltip-content-top:after{border-color:var(--tf-tooltip-after-color,transparent) transparent transparent transparent;left:50%;margin-left:-7px;top:100%}.tf-context-default .tf-tooltip-content-bottom:after{border-color:transparent transparent var(--tf-tooltip-after-color,transparent) transparent;bottom:100%;left:50%;margin-left:-7px}.tf-context-default .tf-tooltip-content-start:after{border-color:transparent transparent transparent var(--tf-tooltip-after-color,transparent);left:100%;margin-top:-7px;top:50%}.tf-context-default .tf-tooltip-content-end:after{border-color:transparent var(--tf-tooltip-after-color,transparent) transparent transparent;margin-top:-7px;right:100%;top:50%}.tf-context-default .tf-tooltip-trigger-content:hover .tf-tooltip{visibility:visible}.tf-context-default .tf-conditional-group-actions{align-items:center;display:flex;gap:8px;padding:8px 0}.tf-context-default .tf-conditional-group-actions strong{text-transform:uppercase}.tf-context-default .tf-conditional-panel-condition-actions{display:flex;gap:4px}.tf-context-default .tf-conditional-panel-condition-actions .tf-button-action:first-child{text-transform:uppercase}.tf-context-default .tf-conditional-panel-condition-actions .tf-button-danger:last-child{position:relative}.tf-context-default .tf-conditional-panel-condition-actions .tf-button-danger:last-child:before{background-color:#cc1818;content:"";height:1px;position:absolute;width:100%;width:10px}.tf-context-default .tf-accordion .tf-switch-element,.tf-context-default .tf-accordion .tf-switch-element-selected{transform:scale(.7)}.tf-context-default .tf-alignment-matrix-container{display:grid;grid-template-columns:repeat(3,1fr);height:50px;margin:5px;width:50px}.tf-context-default .tf-border-dimensions-container{margin:0 0 5px}.tf-context-default .tf-button-group .tf-button-group-option{align-items:center;background:#fff;border:1px solid #d3d3d3;border-radius:4px;border-radius:0;box-sizing:border-box;color:#505050;color:#4b84ce;cursor:pointer;display:inline-flex;height:32px;margin:0;padding:0 12px;transition-duration:.2s;transition-property:color,background-color,border-color;transition-timing-function:ease-in-out}.tf-context-default .tf-button-group .tf-button-group-option:hover{background:#fff;border-color:#31609e;color:#31609e}.tf-context-default .tf-button-group .tf-button-group-option:first-child{border-bottom-left-radius:4px;border-top-left-radius:4px}.tf-context-default .tf-button-group .tf-button-group-option:not(:first-child){margin-left:-1px}.tf-context-default .tf-button-group .tf-button-group-option:last-child{border-bottom-right-radius:4px;border-top-right-radius:4px}.tf-context-default .tf-button-group .tf-button-group-option.tf-button-group-option-selected{background:#4b84ce;border-color:#4b84ce;color:#fff}.tf-context-default .tf-button-group .tf-button-group-option:focus-within{position:relative;z-index:1}.tf-context-default .tf-button-group .tf-button-group-option .dashicons{align-items:center;display:flex;justify-content:center}.tf-context-default .tf-button-group-container[aria-disabled=true] .tf-button-group-option{opacity:.5;pointer-events:none}.tf-context-default .tf-checkbox .tf-label{font-size:13px;font-weight:400;margin-bottom:revert;text-transform:none}.tf-context-default .tf-checkbox input[type=checkbox]{border:1px solid;border-color:inherit;border-radius:2px;box-shadow:0 0 0 transparent;margin-right:revert}.tf-context-default .tf-checkbox input[type=checkbox]:focus{border-color:#4b84ce;box-shadow:0 0 0 1px #4b84ce;outline:2px solid transparent}.tf-context-default .tf-checkbox input[type=checkbox]:checked{background:#4b84ce;border-color:#4b84ce;color:#fff}.tf-context-default .tf-checkbox input[type=checkbox]:checked:before{content:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGFyaWEtaGlkZGVuPSJ0cnVlIiBjbGFzcz0iY29tcG9uZW50cy1jaGVja2JveC1jb250cm9sX19jaGVja2VkIiB2aWV3Qm94PSIwIDAgMjQgMjQiPjxwYXRoIGZpbGw9IiNmZmYiIGQ9Im0xNi43IDcuMS02LjMgOC41LTMuMy0yLjUtLjkgMS4yIDQuNSAzLjRMMTcuOSA4eiIvPjwvc3ZnPg==")}.tf-context-default .tf-checkbox input[type=checkbox]:indeterminate{background:#4b84ce;border-color:#4b84ce;color:#fff}.tf-context-default .tf-checkbox input[type=checkbox]:indeterminate:before{content:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGFyaWEtaGlkZGVuPSJ0cnVlIiBjbGFzcz0iY29tcG9uZW50cy1jaGVja2JveC1jb250cm9sX19pbmRldGVybWluYXRlIiB2aWV3Qm94PSIwIDAgMjQgMjQiPjxwYXRoIGZpbGw9IiNmZmYiIGQ9Ik03IDExLjVoMTBWMTNIN3oiLz48L3N2Zz4=")}.tf-context-default .tf-color-area,.tf-context-default .tf-color-area-gradient{height:150px;width:100%}.tf-context-default .tf-color-area-thumb{border:2px solid #fff;border-radius:50%;box-shadow:0 0 0 1px #000,inset 0 0 0 1px #000;height:20px;top:50%;width:20px}.tf-context-default .tf-color-container{position:relative;width:-moz-fit-content;width:fit-content}.tf-context-default .tf-color-container input{background:#fff;border:1px solid #8c8f94;border-radius:2px;box-shadow:unset;color:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;height:32px;padding:6px 8px;width:192px}.tf-context-default .tf-color-container input::-moz-placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}.tf-context-default .tf-color-container input::placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}.tf-context-default .tf-color-picker{background:#fff;border:1px solid #8c8f94;width:100%;z-index:900}.tf-context-default .tf-color-picker .tf-color-area{display:flex;justify-content:center;width:100%}.tf-context-default .tf-color-picker .tf-color-area .tf-color-area-thumb{transform:translate(-50%,-50%)!important}.tf-context-default .tf-color-picker .tf-color-input{display:flex;flex-direction:column;padding:10px}.tf-context-default .tf-color-picker .tf-color-sliders{padding:6px 8px 10px}.tf-context-default .tf-color-input>input{width:100%}.tf-context-default .tf-color-slider{align-items:center;display:flex;flex-direction:column;padding-bottom:5px;padding-top:5px;width:100%}.tf-context-default .tf-color-slider-label{align-self:stretch;display:flex}.tf-context-default .tf-color-slider-label output{flex:1 0 auto;text-align:end}.tf-context-default .tf-color-slider-container{border:1px solid #8c8f94;border-radius:10px;height:20px;width:100%}.tf-context-default .tf-combo-box{display:flex;flex-direction:column;width:100%}.tf-context-default .tf-combo-box-text{background:#fff;border:1px solid #8c8f94;border-radius:2px;box-shadow:unset;color:inherit;display:flex;flex-wrap:nowrap;font-size:inherit;font-style:inherit;font-weight:inherit;height:32px;justify-content:space-between;padding:0;position:relative;width:192px}.tf-context-default .tf-combo-box-text::-moz-placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}.tf-context-default .tf-combo-box-text::placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}.tf-context-default .tf-combo-box-text input{border:0;box-shadow:none;width:100%}.tf-context-default .tf-combo-box-text input:focus{box-shadow:none}.tf-context-default .tf-combo-box-text .tf-button-action{background:#fff;background:none;border:0;border-radius:4px;box-sizing:border-box;color:#505050;cursor:pointer;height:32px;max-height:30px;padding:0 12px;transition-duration:.2s;transition-property:color,background-color,border-color;transition-timing-function:ease-in-out}.tf-context-default .tf-combo-box-text .tf-button-action:hover{background:#fff;border-color:#31609e;color:#31609e}.tf-context-default .tf-combo-box-text .tf-button-action span{padding:0 2px}.tf-context-default .tf-combo-box-text:focus-within{border-color:#4b84ce;box-shadow:0 0 0 1px #4b84ce;outline:2px solid transparent}.tf-context-default .tf-combo-box-item{align-items:center;background-color:#e2e7ff;border:1px solid transparent;border-radius:2px;box-sizing:border-box;color:#4b84ce;display:inline-flex;font-size:13px;font-weight:700;gap:.35em;line-height:1.4;max-width:100%;padding:.25em .5em}.tf-context-default .tf-combo-box-item span:first-child{flex:1 1 auto;padding-right:5px;text-overflow:ellipsis}.tf-context-default .tf-combo-box-item button:last-child{background-color:transparent;border:none;color:#4b84ce;cursor:pointer}.tf-context-default .tf-combo-box-item button:last-child:focus{outline:none}.tf-context-default .tf-multiple-combobox-container{display:flex;gap:8px;position:relative}.tf-context-default .tf-multiple-combobox-container>.tf-popover{left:0;position:absolute;top:100%;width:192px;z-index:900}.tf-context-default .tf-multiple-combobox-container>.tf-popover .tf-combo-box{width:100%}.tf-context-default .tf-multiple-combobox-container>.tf-popover .tf-list-box-option:not(.tf-list-box-option-selected,.tf-list-box-option-disabled):hover:after{content:"+";margin-left:auto}.tf-context-default .tf-multiple-combobox{position:relative}.tf-context-default .tf-multiple-combobox>.tf-label{display:flex}.tf-context-default .tf-multiple-combobox-values{align-items:center;background-color:#fff;border:1px solid #8c8f94;border-radius:2px;box-sizing:border-box;display:flex;flex-wrap:wrap;gap:8px;min-height:32px;padding:6px 8px;width:192px}.tf-context-default .tf-multiple-combobox[data-enabled=false] .tf-multiple-combobox-values{opacity:.5}.tf-context-default .tf-combo-box-popover.tf-popover{border:1px solid #4b84ce;border-bottom-left-radius:2px;border-bottom-right-radius:2px;box-shadow:0 0 0 1px #4b84ce;margin-left:-2px;outline:2px solid transparent}.tf-context-default .tf-date-picker{align-items:flex-start;display:flex;flex-direction:column}.tf-context-default .tf-popover{border:1px solid #8c8f94;border-radius:2px;display:flex;justify-content:center;width:auto}.tf-context-default .tf-popover .tf-calendar{padding:20px;width:-moz-fit-content;width:fit-content}.tf-context-default .tf-popover .tf-calendar-month{text-align:center}.tf-context-default .tf-popover .tf-calendar-buttons{align-items:center;display:flex;justify-content:space-between}.tf-context-default .tf-popover .tf-calendar-buttons button{background:#fff;border:1px solid #d3d3d3;border-radius:4px;box-sizing:border-box;color:#505050;cursor:pointer;height:32px;padding:0 12px;transition-duration:.2s;transition-property:color,background-color,border-color;transition-timing-function:ease-in-out}.tf-context-default .tf-popover .tf-calendar-buttons button:hover{background:#fff;border-color:#31609e;color:#31609e}.tf-context-default .tf-popover .tf-calendar-tables{display:flex}.tf-context-default .tf-popover .tf-calendar-table{padding:10px;width:100%}.tf-context-default .tf-popover .tf-calendar-table td{text-align:center}.tf-context-default .tf-popover .tf-calendar-presets{display:flex;gap:.25rem}.tf-context-default .tf-popover .tf-calendar-presets button{background:#fff;border:1px solid #d3d3d3;border-radius:4px;box-sizing:border-box;color:#505050;cursor:pointer;height:32px;padding:0 12px;transition-duration:.2s;transition-property:color,background-color,border-color;transition-timing-function:ease-in-out}.tf-context-default .tf-popover .tf-calendar-presets button:hover{background:#fff;border-color:#31609e;color:#31609e}.tf-context-default .tf-popover .tf-calendar-cell{border-radius:100%;cursor:pointer;height:2em;line-height:2em;width:2em}.tf-context-default .tf-popover .tf-calendar-cell.tf-calendar-cell-disabled,.tf-context-default .tf-popover .tf-calendar-cell.tf-calendar-cell-unavailable{cursor:not-allowed;opacity:.5}.tf-context-default .tf-popover .tf-calendar-cell:not(.tf-calendar-cell-disabled,.tf-calendar-cell-unavailable,.tf-calendar-cell-selected):hover{color:#4b84ce}.tf-context-default .tf-popover .tf-calendar-cell.tf-calendar-cell-selected{background-color:#4b84ce;color:#fff}.tf-context-default .tf-date-group{align-items:center;display:flex;gap:8px;justify-content:flex-start}.tf-context-default .tf-date-group .tf-button-action{height:32px}.tf-context-default .tf-date-field-container{width:100%}.tf-context-default .tf-date-field{align-items:center;background:#fff;border:1px solid #8c8f94;border-radius:2px;box-shadow:unset;color:inherit;display:inline-flex;font-size:inherit;font-style:inherit;font-weight:inherit;height:32px;height:20px;justify-content:center;padding:6px 8px;width:192px;width:176px}.tf-context-default .tf-date-field::-moz-placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}.tf-context-default .tf-date-field::placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}.tf-context-default .tf-date-field:focus-within{border-color:#4b84ce}.tf-context-default .tf-date-segment{font-variant-numeric:tabular-nums;padding:0 2px;text-align:end}.tf-context-default .tf-date-segment:focus{background:#4b84ce;border-radius:2px;color:#fff;outline:none}.tf-context-default .tf-date-segment span{display:none}.tf-context-default .tf-date-segment-placeholder span{display:flex}.tf-context-default .tf-dimensions{display:flex;flex-direction:column}.tf-context-default .tf-dimensions .tf-select,.tf-context-default .tf-dimensions .tf-select .tf-button-select{width:auto}.tf-context-default .tf-dimensions-container{display:flex;flex-wrap:wrap;position:relative;width:-moz-fit-content;width:fit-content}.tf-context-default .tf-dimensions-number-groups{display:flex;flex-direction:row;max-width:300px}.tf-context-default .tf-dimensions-number-groups .tf-number{flex:1 1 75px}.tf-context-default .tf-dimensions-number-groups .tf-number .tf-number-field{width:100%}.tf-context-default .tf-dimensions-number-groups .tf-number input{text-align:left;width:100%}.tf-context-default .tf-dimensions-number-groups .tf-number-button-group .tf-button-number{padding:0 3px}.tf-context-default .tf-dimensions-number-groups-linked .tf-number:not(:first-child){display:none;opacity:.5;pointer-events:none}.tf-context-default .tf-dynamic-text-field{align-items:center;display:flex;gap:8px;position:relative}.tf-context-default .tf-dynamic-text-field .tf-dynamic-text-popover{left:0;position:absolute;top:100%;width:192px;z-index:900}.tf-context-default .tf-dynamic-text-field .tf-dynamic-text-popover .tf-list-box-option:not(.tf-list-box-option-selected,.tf-list-box-option-disabled):hover:after{content:"+";margin-left:auto}.tf-context-default .tf-dynamic-text-item{align-items:center;background-color:#e2e7ff;border:1px solid transparent;border-radius:2px;color:#4b84ce;display:inline-flex;font-size:13px;font-weight:700;gap:.35em;line-height:1.4;margin:0 .15em;padding:.25em .5em}.tf-context-default .tf-dynamic-text-item:before{content:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMSIgaGVpZ2h0PSIxNiIgZmlsbD0ibm9uZSI+PGcgY2xpcC1wYXRoPSJ1cmwoI2EpIj48cGF0aCBmaWxsPSIjMzg1OEU5IiBkPSJNNi44OSA3LjA2MmgzLjE5M2MuMzgxIDAgLjcyNS4yNDQuODM0LjYwN2EuOTEuOTEgMCAwIDEtLjIzIDEuMDM3bC03LjMzMyA2LjU2M2EuOS45IDAgMCAxLTEuMTQzLjA1Mi45NS45NSAwIDAgMS0uMzA0LTEuMTI4bDIuMjA0LTUuMjU2SC44OWMtLjM1NiAwLS42OTgtLjI0My0uODMzLS42MDZhLjk1NS45NTUgMCAwIDEgLjI1NS0xLjAzN0w3LjY0Ni43MzJBLjkuOSAwIDAgMSA4Ljc4OC42NzlhLjk1Ljk1IDAgMCAxIC4zMDQgMS4xMjh6Ii8+PC9nPjxkZWZzPjxjbGlwUGF0aCBpZD0iYSI+PHBhdGggZmlsbD0iI2ZmZiIgZD0iTTAgLjVoMTF2MTVIMHoiLz48L2NsaXBQYXRoPjwvZGVmcz48L3N2Zz4=");line-height:1}.tf-context-default .cm-content[contenteditable=false] .tf-dynamic-text-item{filter:grayscale(1)}.tf-context-default .tf-dynamic-text-input{padding:0}.tf-context-default .tf-dynamic-text-input:focus-within{box-shadow:0 0 0 1px #4b84ce;outline:2px solid transparent}.tf-context-default .tf-dynamic-text-input>.cm-editor{padding:0 8px}.tf-context-default .tf-dynamic-text-input>.cm-editor.cm-focused{outline:none}.tf-context-default .tf-dynamic-text-input>.cm-editor .cm-scroller{font-family:inherit}.tf-context-default .tf-dynamic-text-input>.cm-editor .cm-content{height:100%}.tf-context-default .tf-editor .ProseMirror ul{list-style-type:disc}.tf-context-default .tf-editor .ProseMirror ol{margin:0}.tf-context-default .tf-editor .ProseMirror{line-height:1.2;outline:none;padding:4px 8px 4px 14px}.tf-context-default .tf-editor .tf-editor-view-toggle{display:flex;flex-direction:row;justify-content:flex-end;padding-bottom:5px}.tf-context-default .tf-editor .tf-editor-view-toggle .tf-button-group,.tf-context-default .tf-file-field{width:-moz-fit-content;width:fit-content}.tf-context-default .tf-file-field{align-items:center;display:flex;flex-wrap:wrap}.tf-context-default .tf-file-text{max-width:192px;overflow:hidden;padding:6px 8px;text-overflow:ellipsis}.tf-context-default .tf-file-list{margin-bottom:0;padding:0;width:300px}.tf-context-default .tf-file-item{align-items:center;display:flex;flex-wrap:wrap;justify-content:space-between}.tf-context-default .tf-file-item img{max-width:200px}.tf-context-default .tf-file-item span{flex-grow:1;overflow:hidden;text-overflow:ellipsis;width:70%}.tf-context-default .tf-file-item .tf-button-upload-list{cursor:pointer;font-style:italic;text-decoration:underline}.tf-context-default .tf-gallery-preview{display:flex}.tf-context-default .tf-gallery-item{align-items:center;display:flex;height:100px;justify-content:center;width:100px}.tf-context-default .tf-gallery-item img{border-radius:2px;height:100%;-o-object-fit:cover;object-fit:cover;overflow:hidden;width:100%}.tf-context-default .tf-gallery__controls{background:#fff;border:1px solid #a7b1bb;border-radius:2px;padding:8px 12px}.tf-context-default .tf-gallery-buttons{display:flex;gap:10px}.tf-context-default .tf-gradient-container{display:flex;flex-direction:column;position:relative;width:192px}.tf-context-default .tf-gradient-input{background:#fff;border:1px solid #8c8f94;border-radius:2px;box-shadow:unset;color:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;height:32px;padding:6px 8px;width:192px}.tf-context-default .tf-gradient-input::-moz-placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}.tf-context-default .tf-gradient-input::placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}.tf-context-default .tf-gradient-settings{padding:10px 8px}.tf-context-default .tf-gradient-settings .tf-gradient-settings-row{padding:10px 0}.tf-context-default .tf-gradient-popover .tf-dialog{width:100%}.tf-context-default .tf-gradient-preview{padding:10px 8px;position:relative}.tf-context-default .tf-gradient-colors{align-items:center;cursor:pointer;display:flex;height:32px;justify-content:space-between;padding:6px 8px}.tf-context-default .tf-list-container{display:flex;flex-direction:column;gap:8px}.tf-context-default .tf-list-items{width:192px}.tf-context-default .tf-list-header,.tf-context-default .tf-list-header label,.tf-context-default .tf-list-item{align-items:center;display:flex;justify-content:flex-start}.tf-context-default .tf-list-header{background:#f0f0f0;border:1px solid hsla(218,4%,56%,.5);border-radius:2px;border-bottom-left-radius:0;border-bottom-right-radius:0;padding:6px 8px}.tf-context-default .tf-list-header label{height:32px;margin:0}.tf-context-default .tf-list-item{background:#fff;border:1px solid hsla(218,4%,56%,.5);border-top:none;box-sizing:border-box;height:32px;width:192px}.tf-context-default .tf-list-item .tf-list-item-text{flex:1;font-size:inherit;font-weight:inherit;padding:6px 8px}.tf-context-default .tf-list-item .tf-list-item-actions{display:flex}.tf-context-default .tf-list-search{display:flex;width:192px}.tf-context-default .tf-list-search .tf-combo-box{flex:1}.tf-context-default .tf-number input{background:#fff;border:1px solid #8c8f94;border-radius:2px;box-shadow:unset;color:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;height:32px;padding:6px 8px;width:192px}.tf-context-default .tf-number input::-moz-placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}.tf-context-default .tf-number input::placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}.tf-context-default .tf-number .tf-label{display:flex}.tf-context-default .tf-number-field{display:flex;flex-direction:row;flex-wrap:nowrap;position:relative;width:192px}.tf-context-default .tf-number[data-enabled=false] .tf-number-field{opacity:.5}.tf-context-default .tf-number-button-group{bottom:1px;display:flex;flex-direction:column;flex-wrap:nowrap;height:auto;padding:6px 8px;position:absolute;right:1px;top:1px}.tf-context-default .tf-number-button-group .tf-button-number{align-items:center;background:#fff;background-color:#eee;border:0;border-radius:4px;border-radius:0;box-sizing:border-box;color:#505050;cursor:pointer;display:flex;height:32px;height:50%;justify-content:center;line-height:0;min-width:2em;padding:0;transition-duration:.2s;transition-property:color,background-color,border-color;transition-timing-function:ease-in-out}.tf-context-default .tf-number-button-group .tf-button-number:hover{background:#fff;background-color:#e2e2e2;border-color:#31609e;color:#31609e}.tf-context-default .tf-number-button-group .tf-button-number:first-child{border-bottom-left-radius:0;border-bottom-right-radius:0}.tf-context-default .tf-number-button-group .tf-button-number:last-child{border-top-left-radius:0;border-top-right-radius:0}.tf-context-default .tf-radio-group-container{display:flex;flex-direction:column}.tf-context-default .tf-multiple-select,.tf-context-default .tf-select{display:inline-block;position:relative;width:192px}.tf-context-default .tf-multiple-select>.tf-label,.tf-context-default .tf-select>.tf-label{display:flex}.tf-context-default .tf-multiple-select__value,.tf-context-default .tf-select__value{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tf-context-default .tf-multiple-select .tf-button-select,.tf-context-default .tf-select .tf-button-select{align-items:center;background:#fff;border:1px solid #8c8f94;border-radius:2px;box-shadow:unset;color:inherit;display:flex;font-style:inherit;font-weight:inherit;height:32px;justify-content:space-between;padding:0 10px;width:192px}.tf-context-default .tf-multiple-select .tf-button-select::-moz-placeholder,.tf-context-default .tf-select .tf-button-select::-moz-placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}.tf-context-default .tf-multiple-select .tf-button-select::placeholder,.tf-context-default .tf-select .tf-button-select::placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}.tf-context-default .tf-multiple-select .tf-button-select[disabled],.tf-context-default .tf-select .tf-button-select[disabled]{background:hsla(0,0%,100%,.5);border-color:rgba(0,0,0,.1);color:rgba(0,0,0,.4)}.tf-context-default .tf-multiple-select .tf-select-icon,.tf-context-default .tf-select .tf-select-icon{font-size:10px;padding-left:5px}.tf-context-default .tf-multiple-select .tf-button-select,.tf-context-default .tf-select .tf-button-select{cursor:pointer;font-size:inherit}.tf-context-default .tf-simple-dimensions{display:flex;flex-direction:column}.tf-context-default .tf-simple-dimensions .tf-select,.tf-context-default .tf-simple-dimensions .tf-select .tf-button-select{width:auto}.tf-context-default .tf-simple-dimensions-container{display:flex;position:relative;width:-moz-fit-content;width:fit-content}.tf-context-default .tf-switch label{align-items:center;display:flex;justify-content:flex-start}.tf-context-default .tf-switch-element,.tf-context-default .tf-switch-element-selected{display:inline-block;height:32px;position:relative;width:64px}.tf-context-default .tf-switch-element span,.tf-context-default .tf-switch-element-selected span{background-color:#ccc;border-radius:32px;bottom:0;cursor:pointer;left:0;position:absolute;right:0;top:0;transition:.4s}.tf-context-default .tf-switch-element span:before,.tf-context-default .tf-switch-element-selected span:before{background-color:#fff;border-radius:50%;bottom:4px;content:"";height:24px;left:4px;position:absolute;transition:.4s;width:24px}.tf-context-default .tf-switch-element-selected span{background-color:#4b84ce}.tf-context-default .tf-switch-element-selected span:focus{box-shadow:0 0 1px #4b84ce}.tf-context-default .tf-switch-element-selected span:before{transform:translateX(32px)}.tf-context-default .tf-text{box-sizing:content-box;display:flex;flex-direction:column}.tf-context-default .tf-text input{background:#fff;border:1px solid #8c8f94;border-radius:2px;box-shadow:unset;color:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;height:32px;padding:6px 8px;width:192px}.tf-context-default .tf-text input::-moz-placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}.tf-context-default .tf-text input::placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}.tf-context-default .tf-text-area textarea{background:#fff;border:1px solid #8c8f94;border-radius:2px;box-shadow:unset;color:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;height:32px;height:auto;padding:.6em;width:192px;width:100%}.tf-context-default .tf-text-area textarea::-moz-placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}.tf-context-default .tf-text-area textarea::placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}.tf-context-default .tf-repeater-bulk-actions{align-items:center;background:#fff;border:1px solid #8c8f94;border-radius:2px;display:flex;justify-content:flex-start;margin-bottom:4px;padding:5px 8px}.tf-context-default .tf-repeater-bulk-actions>button,.tf-context-default .tf-repeater-bulk-actions>div{margin-right:5px}.tf-context-default .tf-repeater-advanced-label-row{box-sizing:border-box;display:flex;gap:8px;justify-content:space-between;padding:8px 12px;width:100%}.tf-context-default .tf-repeater-advanced-label-row .tf-repeater-advanced-label-row-item{align-items:center;display:flex;flex:1;flex-wrap:wrap;justify-content:flex-start}.tf-context-default .tf-repeater-advanced-label-row .tf-repeater-advanced-label-row-item:first-child{color:#4b84ce;font-weight:700}.tf-context-default .tf-repeater-advanced-label-row .tf-repeater-advanced-label-row-arrow,.tf-context-default .tf-repeater-advanced-label-row .tf-repeater-advanced-label-row-index{width:32px}.tf-context-default .tf-repeater-advanced-header{background:#f0f0f0;border:1px solid hsla(218,4%,56%,.5);border-bottom:none;border-radius:2px;border-bottom-left-radius:0;border-bottom-right-radius:0;margin:0}.tf-context-default .tf-repeater-advanced-header .tf-repeater-advanced-header-item{color:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;height:32px;margin-bottom:0;text-transform:inherit}.tf-context-default .tf-repeater-advanced-overview{background:#fff}.tf-context-default .tf-repeater-advanced-overview .tf-repeater-advanced-label-row-arrow,.tf-context-default .tf-repeater-advanced-overview .tf-repeater-advanced-label-row-index{height:40px;line-height:40px;text-align:center}.tf-context-default .tf-repeater-advanced-overview .tf-repeater-advanced-label-row-index{background:#f0f0f0}.tf-context-default .tf-repeater-advanced-overview .tf-repeater-advanced-label-row-arrow{cursor:pointer}.tf-context-default .tf-repeater-advanced-overview .tf-repeater-advanced-label-row-arrow>div{border:solid;border-color:inherit;border-width:0 1px 1px 0;display:inline-block;height:8px;width:8px}.tf-context-default .tf-repeater-advanced-overview .tf-repeater-advanced-overview-item-actions{height:20px;width:100%}.tf-context-default .tf-repeater-advanced-overview .tf-repeater-advanced-overview-item-actions button{display:none}.tf-context-default .tf-repeater-advanced-overview-item-container{display:flex;flex-direction:column;justify-content:center;width:100%}.tf-context-default .tf-repeater-advanced-overview-item-fields{display:flex}.tf-context-default .tf-repeater-advanced-overview:hover .tf-repeater-advanced-overview-item-actions button{display:initial}.tf-context-default .tf-repeater-advanced-item .tf-repeater-advanced-overview:hover,.tf-context-default .tf-repeater-advanced-item[data-open=true] .tf-repeater-advanced-overview{background-color:#e2e7ff}.tf-context-default .tf-repeater-advanced-item[data-open=true] .tf-repeater-advanced-label-row-arrow>div{transform:translateY(50%) rotate(-135deg)}.tf-context-default .tf-repeater-advanced-item[data-open=false] .tf-repeater-advanced-label-row-arrow>div{transform:translateY(-50%) rotate(45deg)}.tf-context-default .tf-repeater-advanced-item{background-color:#fff;border:1px solid hsla(218,4%,56%,.5);border-radius:2px;border-radius:0;border-top:none;position:relative}.tf-context-default .tf-repeater-advanced-item[data-open=true]:before{background-color:#4b84ce;content:"";height:100%;left:0;position:absolute;top:0;width:3px}.tf-context-default .tf-repeater-advanced-container>.tf-repeater-actions{background-color:#fff;border:1px solid hsla(218,4%,56%,.5);border-radius:2px;border-top:none;border-top-left-radius:0;border-top-right-radius:0}.tf-context-default .tf-repeater-advanced-row{margin:16px 32px}.tf-context-default .tf-repeater-advanced-row .tf-repeater-advanced-item-field{padding:8px 12px}.tf-context-default .tf-repeater-advanced-item-field:has(>div[data-overlay-container=true]:empty){display:none}.tf-context-default .tf-repeater-advanced-item-field:has(input.tf-hidden[type=hidden]){padding:0}.tf-context-default .tf-repeater-advanced .tf-repeater-actions{padding:8px 12px}.tf-context-default .tf-repeater-bare-items{display:flex;flex-direction:column;row-gap:8px}.tf-context-default .tf-repeater-bare-items .tf-repeater-bare-row{display:flex;gap:8px;width:100%}.tf-context-default .tf-repeater-block-item{background:#fff;border:1px solid #8c8f94;border-radius:2px;display:flex;flex-direction:column;margin-bottom:6px;margin-top:1em;width:100%}.tf-context-default .tf-repeater-block-item .tf-panel-header .tf-switch-element,.tf-context-default .tf-repeater-block-item .tf-panel-header .tf-switch-element-selected{transform:scale(.7)}.tf-context-default .tf-repeater-block-item-field{padding:1em}.tf-context-default .tf-repeater-block-item-field:has(>div[data-overlay-container=true]:empty){display:none}.tf-context-default .tf-repeater-tab-container{background-color:#fff;border:1px solid hsla(218,4%,56%,.5);border-radius:2px;width:100%}.tf-context-default .tf-repeater-tab-header{border-bottom:1px solid hsla(218,4%,56%,.5);box-sizing:border-box;overflow-x:scroll;overflow-y:hidden}.tf-context-default .tf-repeater-tab-actions,.tf-context-default .tf-repeater-tab-header{display:flex;flex-wrap:nowrap;justify-content:space-between;width:100%}.tf-context-default .tf-repeater-tab-icon-actions{align-items:center;display:flex}.tf-context-default .tf-repeater-tab-icon-actions button{min-width:-moz-fit-content;min-width:fit-content}.tf-context-default .tf-repeater-tab-items{background-color:#fff;box-sizing:border-box;display:flex;gap:8px;justify-content:flex-start;margin:0;min-width:-moz-fit-content;min-width:fit-content;overflow-x:auto;overflow-y:hidden}.tf-context-default .tf-repeater-tab-add-item,.tf-context-default .tf-repeater-tab-icon-actions button,.tf-context-default .tf-repeater-tab-item{align-items:center;color:inherit;display:flex;font-size:inherit;font-style:inherit;font-weight:inherit;height:32px;justify-content:center;margin-bottom:0;min-width:-moz-fit-content;min-width:fit-content;padding:8px 12px;position:relative;text-transform:inherit}.tf-context-default .tf-repeater-tab-add-item[data-open=true]:before,.tf-context-default .tf-repeater-tab-icon-actions button[data-open=true]:before,.tf-context-default .tf-repeater-tab-item[data-open=true]:before{background-color:#4b84ce;bottom:0;content:"";height:3px;left:0;position:absolute;width:100%}.tf-context-default .tf-repeater-tab-add-item button,.tf-context-default .tf-repeater-tab-icon-actions button button,.tf-context-default .tf-repeater-tab-item button{white-space:nowrap}.tf-context-default .tf-repeater-tab-add-item{justify-content:flex-start;min-width:-moz-max-content;min-width:max-content;width:100%}.tf-context-default .tf-repeater-tab-content{background-color:#fff;box-sizing:border-box;padding:16px 32px;width:100%}.tf-context-default .tf-repeater-tab-content .tf-repeater-tab-item-field{padding:8px 12px}.tf-context-default .tf-repeater-table-container{border:1px solid hsla(218,4%,56%,.5);border-radius:2px;display:flex;flex-direction:column;width:100%}.tf-context-default .tf-repeater-table-container .tf-repeater-actions{box-sizing:border-box;justify-content:flex-start;padding:8px 12px;width:100%}.tf-context-default .tf-repeater-table-container table{padding:0 4px 4px;width:100%}.tf-context-default .tf-repeater-table-container table th,.tf-context-default .tf-repeater-table-container table tr{min-height:32px;padding:2px}.tf-context-default .tf-repeater-table-container table th{height:32px;text-align:left}.tf-context-default .tf-repeater-table-container table td>div{display:flex;justify-content:center;width:100%}.tf-context-default .tf-repeater-table-container table td>div>div{width:100%}.tf-context-default .tf-repeater-table-container .tf-repeater-row-actions{width:1%}.tf-context-default .tf-repeater-table-container .tf-repeater-row-actions>div{display:inline-flex;gap:6px}.tf-context-default .tf-repeater-actions{display:flex;gap:6px;justify-content:flex-end;padding:2px 2px 4px}.tf-context-default .tf-repeater-actions .tf-button-action:last-child{border-color:#cc1818;color:#cc1818}.tf-context-default .tf-repeater-title{color:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;margin-bottom:revert;text-transform:inherit}.tf-context-default .tf-repeater-block-items{margin-bottom:8px;margin-top:8px}.tf-context-default .tf-dynamic-wrapper{align-items:center;display:flex;position:relative}.tf-context-default .tf-dynamic-wrapper .tf-dynamic-wrapper-popover{position:absolute;top:100%;width:192px;z-index:900}.tf-context-default .tf-dynamic-wrapper .tf-dynamic-wrapper-popover-form{background:#fff;border:1px solid #8c8f94;padding:6px 8px;width:100%;z-index:900}.tf-context-default .tf-dynamic-wrapper .tf-dynamic-wrapper-popover-form>*{margin:12px 0}.tf-context-default .tf-dynamic-wrapper .tf-dynamic-wrapper-popover-buttons{display:flex;justify-content:flex-end}.tf-context-default .tf-dynamic-wrapper .tf-dynamic-wrapper-popover-buttons button{margin-left:6px}.tf-context-default .tf-dynamic-wrapper.tf-dynamic-wrapper-buttons-outside{gap:8px}.tf-context-default .tf-dynamic-wrapper.tf-dynamic-wrapper-buttons-inside{gap:0;width:-moz-fit-content;width:fit-content}.tf-context-default .tf-dynamic-wrapper.tf-dynamic-wrapper-buttons-inside .tf-button-icon{background:transparent;border:none;cursor:pointer;height:32px;position:absolute;right:1px;top:50%;transform:translateY(-50%)}.tf-context-default .tf-dynamic-wrapper.tf-dynamic-wrapper-buttons-inside .tf-button-icon:before{content:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMyIgaGVpZ2h0PSIxNyIgZmlsbD0ibm9uZSI+PHBhdGggZmlsbD0iIzFFMUUxRSIgZD0iTTcuNTIyIDdoMy40ODdjLjQxNiAwIC43OS4yNi45MS42NDdhLjk1Ljk1IDAgMCAxLS4yNSAxLjEwNmwtLjYwMy41MjdhNC41IDQuNSAwIDAgMC01Ljk1NyA1LjIwOGwtMS40NDcgMS4yNjVhMSAxIDAgMCAxLTEuNTgtMS4xNDdMNC40ODkgOUguOTczYS45OTUuOTk1IDAgMCAxLS45MDktLjY0NyAxIDEgMCAwIDEgLjI3OC0xLjEwNmw4LjAwNS03YTEuMDAyIDEuMDAyIDAgMCAxIDEuNTggMS4xNDd6Ii8+PHBhdGggZmlsbD0iIzFFMUUxRSIgZmlsbC1ydWxlPSJldmVub2RkIiBkPSJNOS41IDE3YTMuNSAzLjUgMCAxIDAgMC03IDMuNSAzLjUgMCAwIDAgMCA3bTIuNS0zLjVhLjU3Ny41NzcgMCAwIDEtLjU3Ny41NzdoLTEuMzQ2djEuMzQ2YS41NzcuNTc3IDAgMSAxLTEuMTU0IDB2LTEuMzQ2SDcuNTc3YS41NzcuNTc3IDAgMCAxIDAtMS4xNTRoMS4zNDZ2LTEuMzQ2YS41NzcuNTc3IDAgMSAxIDEuMTU0IDB2MS4zNDZoMS4zNDZjLjMyIDAgLjU3Ny4yNTguNTc3LjU3NyIgY2xpcC1ydWxlPSJldmVub2RkIi8+PC9zdmc+);line-height:1;padding:0 5px}.tf-context-default .tf-dynamic-wrapper.tf-dynamic-wrapper-buttons-inside .tf-button-icon.cm-content[contenteditable=false]:before{display:none}.tf-context-default .tf-dynamic-field-wrapper.tf-dynamic-wrapper .tf-dynamic-value-input:disabled{background:hsla(0,0%,100%,.5);border-color:rgba(0,0,0,.1);color:rgba(0,0,0,.4)}.tf-context-default .tf-dynamic-field-wrapper.tf-dynamic-wrapper .tf-button-icon.tf-dynamic-wrapper-clear:before{content:"⨯"}.tf-context-default .tf-dynamic-text-input{background:#fff;border:1px solid #8c8f94;border-radius:2px;box-shadow:unset;color:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;height:32px;height:20px;padding:6px 8px;width:192px;width:176px}.tf-context-default .tf-dynamic-text-input::-moz-placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}.tf-context-default .tf-dynamic-text-input::placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}.tf-context-default .tf-dynamic-text-input:focus-within{border-color:#4b84ce}.tf-context-default .tf-dynamic-text-input:has(.cm-content[contenteditable=false]){background:hsla(0,0%,100%,.5);border-color:rgba(0,0,0,.1);color:rgba(0,0,0,.4);pointer-events:none}.tf-context-default .tf-dynamic-text-input:has(.cm-content[contenteditable=false]) .tf-dynamic-text-input__affix{border-color:rgba(0,0,0,.1)}.tf-context-default .tf-dynamic-text-input--has-prefix,.tf-context-default .tf-dynamic-text-input--has-suffix{display:flex;height:auto;padding:0}.tf-context-default .tf-dynamic-text-input--has-prefix>.cm-editor,.tf-context-default .tf-dynamic-text-input--has-suffix>.cm-editor{flex:1 1 auto;min-height:32px;overflow:hidden}.tf-context-default .tf-dynamic-text-input>.cm-editor{height:100%;justify-content:center;width:100%}.tf-context-default .tf-dynamic-text-input>.cm-editor .cm-content,.tf-context-default .tf-dynamic-text-input>.cm-editor .cm-line{padding:0}.tf-context-default .tf-dynamic-text-input>.cm-editor .cm-content{display:flex;flex-direction:column;justify-content:center}.tf-context-default .tf-dynamic-text-input .tf-dynamic-text-item-delete:before{content:"⨯";cursor:pointer;padding-left:3px}.tf-context-default .tf-dynamic-text-input__affix{align-items:center;border:0 solid #8c8f94;display:inline-flex;font-size:.8em;font-weight:700;padding:0 .5em;text-wrap:nowrap}.tf-context-default .tf-dynamic-text-input__affix--prefix{border-right-width:1px}.tf-context-default .tf-dynamic-text-input__affix--suffix{border-left-width:1px}.tf-context-default .tf-dynamic-text-input:focus-within .tf-dynamic-text-input__affix{border-color:#4b84ce}.tf-context-default .tf-dynamic-wrapper[data-dynamic=true] .cm-editor{padding-right:25px}.tf-context-default .tf-dynamic-wrapper[data-dynamic=true] .cm-editor:has(.cm-content[contenteditable=false]){padding-right:0}.tf-context-default .tf-dynamic-wrapper[data-dynamic=true] .tf-dynamic-text-input--has-suffix .cm-editor{padding-right:8px}.tf-context-default .tf-dynamic-wrapper[data-dynamic=true] .tf-dynamic-text-input__affix--suffix{border-right-width:1px;margin-right:33px}.ProseMirror-textblock-dropdown{min-width:3em}.ProseMirror-menu{line-height:1;margin:0 -4px}.ProseMirror-tooltip .ProseMirror-menu{white-space:pre;width:-moz-fit-content;width:fit-content}.ProseMirror-menuitem{display:inline-block;margin-right:3px}.ProseMirror-menuseparator{border-right:1px solid #ddd;margin-right:3px}.ProseMirror-menu-dropdown,.ProseMirror-menu-dropdown-menu{font-size:90%;white-space:nowrap}.ProseMirror-menu-dropdown{cursor:pointer;padding-right:15px;position:relative;vertical-align:1px}.ProseMirror-menu-dropdown-wrap{display:inline-block;padding:1px 0 1px 4px;position:relative}.ProseMirror-menu-dropdown:after{border-left:4px solid transparent;border-right:4px solid transparent;border-top:4px solid;content:"";opacity:.6;position:absolute;right:4px;top:calc(50% - 2px)}.ProseMirror-menu-dropdown-menu,.ProseMirror-menu-submenu{background:#fff;border:1px solid #aaa;color:#666;padding:2px;position:absolute}.ProseMirror-menu-dropdown-menu{min-width:6em;z-index:15}.ProseMirror-menu-dropdown-item{cursor:pointer;padding:2px 8px 2px 4px}.ProseMirror-menu-dropdown-item:hover{background:#f2f2f2}.ProseMirror-menu-submenu-wrap{margin-right:-4px;position:relative}.ProseMirror-menu-submenu-label:after{border-bottom:4px solid transparent;border-left:4px solid;border-top:4px solid transparent;content:"";opacity:.6;position:absolute;right:4px;top:calc(50% - 4px)}.ProseMirror-menu-submenu{display:none;left:100%;min-width:4em;top:-3px}.ProseMirror-menu-active{background:#eee;border-radius:4px}.ProseMirror-menu-disabled{opacity:.3}.ProseMirror-menu-submenu-wrap-active .ProseMirror-menu-submenu,.ProseMirror-menu-submenu-wrap:hover .ProseMirror-menu-submenu{display:block}.ProseMirror-menubar{background:#fff;border-bottom:1px solid silver;border-top-left-radius:inherit;border-top-right-radius:inherit;color:#666;left:0;min-height:1em;padding:1px 6px;position:relative;right:0;top:0;z-index:10}.ProseMirror-icon{cursor:pointer;display:inline-block;line-height:.8;padding:2px 8px;vertical-align:-2px}.ProseMirror-menu-disabled.ProseMirror-icon{cursor:default}.ProseMirror-icon svg{fill:currentColor;height:1em}.ProseMirror-icon span{vertical-align:text-top}.ProseMirror-menubar-wrapper{background-color:#fff;border:2px solid rgba(0,0,0,.2);border-radius:5px;height:150px;overflow:auto;resize:vertical}.ProseMirror-menubar{box-shadow:0 2px 5px rgba(0,0,0,.2);box-sizing:border-box;overflow:visible;padding-bottom:12px;padding-top:12px}.ProseMirror.ProseMirror-example-setup-style{border-radius:5px;margin-bottom:20px;padding-bottom:12px;padding-left:12px;padding-right:12px}.ProseMirror-example-setup-style hr{border:none;margin:1em 0;padding:2px 10px}.ProseMirror-example-setup-style hr:after{background-color:silver;content:"";display:block;height:1px;line-height:2px}.ProseMirror ol,.ProseMirror ul{padding-left:30px}.ProseMirror blockquote{border-left:3px solid #eee;margin-left:0;margin-right:0;padding-left:1em}.ProseMirror-example-setup-style img{cursor:default}.ProseMirror-prompt{background:#fff;border:1px solid silver;border-radius:3px;box-shadow:-.5px 2px 5px rgba(0,0,0,.2);padding:8px 10px 8px 15px;position:fixed;z-index:9999999}.ProseMirror-prompt h5{color:#444;font-size:100%;font-weight:400;margin:0}.ProseMirror-prompt input[type=text],.ProseMirror-prompt textarea{background:#eee;border:none;outline:none}.ProseMirror-prompt input[type=text]{margin-top:5px;padding:0 4px}.ProseMirror-prompt-close{background:transparent;border:none;color:#666;left:2px;padding:0;position:absolute;top:1px}.ProseMirror-prompt-close:after{content:"✕";font-size:12px}.ProseMirror-invalid{background:#ffc;border:1px solid #cc7;border-radius:4px;min-width:10em;padding:5px 10px;position:absolute}.ProseMirror-prompt-buttons{margin-top:5px}.ProseMirror{position:relative;word-wrap:break-word;font-feature-settings:"liga" 0;font-variant-ligatures:none;white-space:pre-wrap;white-space:break-spaces}.ProseMirror pre{white-space:pre-wrap}.ProseMirror li{position:relative}.ProseMirror-hideselection ::selection{background:transparent}.ProseMirror-hideselection ::-moz-selection{background:transparent}.ProseMirror-hideselection{caret-color:transparent}.ProseMirror-selectednode{outline:2px solid #8cf}li.ProseMirror-selectednode{outline:none}li.ProseMirror-selectednode:after{border:2px solid #8cf;bottom:-2px;content:"";left:-32px;pointer-events:none;position:absolute;right:-2px;top:-2px}img.ProseMirror-separator{border:none!important;display:inline!important;margin:0!important}.ProseMirror-gapcursor{display:none;pointer-events:none;position:absolute}.ProseMirror-gapcursor:after{animation:ProseMirror-cursor-blink 1.1s steps(2,start) infinite;border-top:1px solid #000;content:"";display:block;position:absolute;top:-2px;width:20px}@keyframes ProseMirror-cursor-blink{to{visibility:hidden}}.ProseMirror-focused .ProseMirror-gapcursor{display:block} /*# sourceMappingURL=index.min.css.map */ \ No newline at end of file diff --git a/assets/build/elementor/index.min.css b/assets/build/elementor/index.min.css index 0a2c080a..4ec1a2b7 100644 --- a/assets/build/elementor/index.min.css +++ b/assets/build/elementor/index.min.css @@ -1,2 +1,2 @@ -@charset "UTF-8";body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-button-action,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-button-danger,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-button-primary{align-items:center;background:#34383c;border:1px solid #64666a;border-radius:4px;color:#fff;cursor:pointer;display:flex;height:30px;justify-content:center;padding:0 12px;width:-moz-fit-content;width:fit-content}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-button-action:hover,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-button-danger:hover,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-button-primary:hover{background:#64666a;color:#fff}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-button-danger{border-color:#cc1818;color:#cc1818}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-button-primary{background-color:#4b84ce;color:inherit}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-button-action[disabled],body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-button-danger[disabled],body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-button-icon-trash[disabled],body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-button-primary[disabled],body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-button-text-action[disabled],body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-button-text-danger[disabled],body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-button-text-primary[disabled]{cursor:not-allowed;opacity:.5;pointer-events:none}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-button-action:focus{outline:none}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-button-text-action,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-button-text-danger,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-button-text-primary{background:transparent;border:none;cursor:pointer;display:inline}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-button-text-action:hover,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-button-text-danger:hover,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-button-text-primary:hover{font-weight:700}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-button-text-action{color:#fff}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-button-text-danger{color:#cc1818}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-button-text-primary{color:#4b84ce}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-button-icon-trash{align-items:center;background:transparent;border:none;cursor:pointer;display:flex;height:32px;justify-content:center;width:32px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-button-icon-trash:after{content:url('data:image/svg+xml;utf8,')}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-button-icon-eye{align-items:center;background:transparent;border:none;cursor:pointer;display:flex;height:32px;justify-content:center;width:32px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-button-icon-eye:after{content:url('data:image/svg+xml;utf8,')}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-dialog .tf-title{display:flex}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-dialog .tf-title h4{margin:0;padding:12px 0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-panel{background:#34383c;border:1px solid #64666a;display:flex;flex-direction:column;margin-bottom:8px;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-panel-header{align-items:center;cursor:pointer;display:flex;height:32px;justify-content:space-between;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-panel-header.tf-button-action{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:0;border-radius:0;box-sizing:border-box;color:inherit;cursor:pointer;display:flex;font-family:inherit;font-size:100%;height:32px;justify-content:space-between;line-height:1.15;margin:0;padding:8px 12px;text-align:left;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-panel-header.tf-button-action:hover{background:#f0f0f0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-panel-open .tf-panel-header.tf-button-action{border-bottom:1px solid #64666a}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-panel-header-before-title,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-panel-header-left,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-panel-header-right,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-panel-header-title{align-items:center;display:flex;justify-content:flex-start;padding:0 12px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-panel-header-left{padding-left:0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-panel-content,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-panel-footer{padding:4px 12px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-panel-closed .tf-panel-content{display:none}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-panel-footer{border-top:1px solid #64666a}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-panel-footer{display:flex;gap:8px;justify-content:flex-end;padding:1em}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-panel-arrow{border:solid;border-color:inherit;border-width:0 1px 1px 0;display:inline-block;height:8px;width:8px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-panel-open .tf-panel-arrow{transform:translateY(50%) rotate(-135deg)}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-panel-closed .tf-panel-arrow{transform:translateY(-50%) rotate(45deg)}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-label{color:inherit;display:inline-block;font-size:inherit;font-style:inherit;font-weight:inherit;margin-bottom:6px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-description{color:inherit;font-size:inherit;font-style:inherit;font-weight:inherit}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-list-box{background:#34383c;list-style:none;margin:5px 0;max-height:300px;max-width:100%;min-width:100%;overflow-y:auto;padding:0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-list-box-option{background:transparent;border-radius:2px;cursor:pointer;display:flex;font-size:13px;gap:8px;margin:0 5px;outline:none;padding:5px 9px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-list-box-option:not(.tf-list-box-option-selected,.tf-list-box-option-disabled):hover{color:#4b84ce}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-list-box-option-selected,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-list-box-option-selected.tf-list-box-option-selected{background-color:#4b84ce;color:#34383c}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-list-box-option-selected.tf-list-box-option-selected:hover,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-list-box-option-selected:hover{color:#34383c}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-list-box-option-selected.tf-list-box-option-selected:after,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-list-box-option-selected:after{content:"✓";margin-left:auto}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-list-box-option-disabled{color:#aaa;cursor:default}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-list-box-option-focus{box-shadow:inset 0 0 0 2px;color:#4b84ce}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-list-box-section-separator:not(:first-child){border-top:1px solid #8c8f94;margin:12px 0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-list-box-section>span{color:#7d8690;display:block;font-size:11px;font-weight:500;line-height:1.45;margin:0 10px;padding:5px 9px;text-transform:uppercase}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-list-box-section>ul{list-style:none;padding:0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-modal{align-items:center;background:rgba(0,0,0,.7);bottom:0;display:flex;justify-content:center;left:0;position:fixed;right:0;top:0;z-index:9990}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-modal .tf-modal-container{background:#34383c;border:1px solid #64666a;border-radius:2px;padding:2rem}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-modal-actions{display:flex;justify-content:flex-end;padding-top:12px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-modal-actions button{margin-left:12px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-notice{background:#fff;box-shadow:0 1px 1px rgba(0,0,0,.04);color:#000;margin-top:4px;padding:1px 12px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-notice.tf-is-dismissible{padding-right:38px;position:relative}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-notice.tf-error{border-left:4px solid #d63638}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-notice.tf-success{border-left:4px solid #00a32a}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-notice.tf-warning{border-left-color:#dba617}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-notice.tf-info{border-left-color:#72aee6}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-notice-dismiss{background:none;border:none;color:#787c82;cursor:pointer;margin:0;padding:9px;position:absolute;right:1px;top:0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-notice-dismiss:active:before,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-notice-dismiss:focus:before,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-notice-dismiss:hover:before{color:#d63638}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-notice-dismiss:focus{box-shadow:0 0 0 1px #4f94d4,0 0 2px 1px rgba(79,148,212,.8);outline:none}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-notice-dismiss:before{background:none;color:#787c82;content:"\f153";display:block;font:normal 16px/20px dashicons;height:20px;text-align:center;width:20px;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-underlay{inset:0;position:fixed}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-popover{background:#34383c;color:inherit;z-index:900}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-tooltip-trigger-content{cursor:context-menu;position:relative;width:-moz-fit-content;width:fit-content}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-tooltip{cursor:default;display:inline-block;max-width:150px;position:absolute;visibility:hidden;width:-moz-max-content;width:max-content;z-index:1}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-tooltip-top{bottom:100%;left:50%;margin-bottom:12px;transform:translateX(-50%)}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-tooltip-bottom{left:50%;margin-top:12px;top:100%;transform:translateX(-50%)}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-tooltip-start{margin-right:12px;right:100%;top:50%;transform:translateY(-50%)}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-tooltip-end{left:100%;margin-left:12px;top:50%;transform:translateY(-50%)}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-tooltip-content{border-radius:3px;font-size:12px;padding:6px 12px;text-align:center;word-break:normal}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-tooltip-content.light{background-color:#e6e6e6;color:hsla(0,4%,5%,.945);--tf-tooltip-after-color:#e6e6e6}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-tooltip-content.dark{background-color:hsla(0,4%,5%,.945);color:#e6e6e6;--tf-tooltip-after-color:hsla(0,4%,5%,.945)}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-tooltip-content:after{border-style:solid;border-width:7px;content:" ";position:absolute}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-tooltip-content-top:after{border-color:var(--tf-tooltip-after-color,transparent) transparent transparent transparent;left:50%;margin-left:-7px;top:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-tooltip-content-bottom:after{border-color:transparent transparent var(--tf-tooltip-after-color,transparent) transparent;bottom:100%;left:50%;margin-left:-7px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-tooltip-content-start:after{border-color:transparent transparent transparent var(--tf-tooltip-after-color,transparent);left:100%;margin-top:-7px;top:50%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-tooltip-content-end:after{border-color:transparent var(--tf-tooltip-after-color,transparent) transparent transparent;margin-top:-7px;right:100%;top:50%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-tooltip-trigger-content:hover .tf-tooltip{visibility:visible}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-conditional-group-actions{align-items:center;display:flex;gap:8px;padding:8px 0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-conditional-group-actions strong{text-transform:uppercase}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-conditional-panel-condition-actions{display:flex;gap:4px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-conditional-panel-condition-actions .tf-button-action:first-child{text-transform:uppercase}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-conditional-panel-condition-actions .tf-button-danger:last-child{position:relative}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-conditional-panel-condition-actions .tf-button-danger:last-child:before{background-color:#cc1818;content:"";height:1px;position:absolute;width:100%;width:10px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-accordion .tf-switch-element,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-accordion .tf-switch-element-selected{transform:scale(.7)}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-alignment-matrix-container{display:grid;grid-template-columns:repeat(3,1fr);height:50px;margin:5px;width:50px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-border-dimensions-container{margin:0 0 5px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-button-group .tf-button-group-option{align-items:center;background:#34383c;border:1px solid #64666a;border-radius:4px;border-radius:0;color:#fff;color:#4b84ce;cursor:pointer;display:inline-flex;height:30px;margin:0;padding:0 12px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-button-group .tf-button-group-option:hover{background:#64666a;color:#fff}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-button-group .tf-button-group-option:first-child{border-bottom-left-radius:4px;border-top-left-radius:4px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-button-group .tf-button-group-option:not(:first-child){margin-left:-1px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-button-group .tf-button-group-option:last-child{border-bottom-right-radius:4px;border-top-right-radius:4px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-button-group .tf-button-group-option.tf-button-group-option-selected{background:#4b84ce;border-color:#4b84ce;color:#34383c}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-button-group .tf-button-group-option:focus-within{position:relative;z-index:1}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-button-group .tf-button-group-option .dashicons{align-items:center;display:flex;justify-content:center}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-button-group-container[aria-disabled=true] .tf-button-group-option{opacity:.5;pointer-events:none}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-checkbox .tf-label{font-size:13px;font-weight:400;margin-bottom:revert;text-transform:none}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-checkbox input[type=checkbox]{border:1px solid;border-color:inherit;border-radius:2px;box-shadow:0 0 0 transparent;margin-right:6px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-checkbox input[type=checkbox]:focus{border-color:#4b84ce;box-shadow:0 0 0 1px #4b84ce;outline:2px solid transparent}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-checkbox input[type=checkbox]:checked{background:#4b84ce;border-color:#4b84ce;color:#fff}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-checkbox input[type=checkbox]:checked:before{content:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGFyaWEtaGlkZGVuPSJ0cnVlIiBjbGFzcz0iY29tcG9uZW50cy1jaGVja2JveC1jb250cm9sX19jaGVja2VkIiB2aWV3Qm94PSIwIDAgMjQgMjQiPjxwYXRoIGZpbGw9IiNmZmYiIGQ9Im0xNi43IDcuMS02LjMgOC41LTMuMy0yLjUtLjkgMS4yIDQuNSAzLjRMMTcuOSA4eiIvPjwvc3ZnPg==")}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-checkbox input[type=checkbox]:indeterminate{background:#4b84ce;border-color:#4b84ce;color:#fff}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-checkbox input[type=checkbox]:indeterminate:before{content:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGFyaWEtaGlkZGVuPSJ0cnVlIiBjbGFzcz0iY29tcG9uZW50cy1jaGVja2JveC1jb250cm9sX19pbmRldGVybWluYXRlIiB2aWV3Qm94PSIwIDAgMjQgMjQiPjxwYXRoIGZpbGw9IiNmZmYiIGQ9Ik03IDExLjVoMTBWMTNIN3oiLz48L3N2Zz4=")}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-color-area,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-color-area-gradient{height:150px;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-color-area-thumb{border:2px solid #fff;border-radius:50%;box-shadow:0 0 0 1px #000,inset 0 0 0 1px #000;height:20px;top:50%;width:20px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-color-container{position:relative;width:-moz-fit-content;width:fit-content}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-color-container input{background:#34383c;border:1px solid #64666a;border-radius:2px;box-shadow:unset;color:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;height:32px;padding:0 12px;width:192px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-color-container input::-moz-placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-color-container input::placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-color-picker{background:#34383c;border:1px solid #64666a;width:100%;z-index:900}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-color-picker .tf-color-area{display:flex;justify-content:center;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-color-picker .tf-color-area .tf-color-area-thumb{transform:translate(-50%,-50%)!important}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-color-picker .tf-color-input{display:flex;flex-direction:column;padding:10px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-color-picker .tf-color-sliders{padding:0 12px 10px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-color-input>input{width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-color-slider{align-items:center;display:flex;flex-direction:column;padding-bottom:5px;padding-top:5px;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-color-slider-label{align-self:stretch;display:flex}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-color-slider-label output{flex:1 0 auto;text-align:end}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-color-slider-container{border:1px solid #64666a;border-radius:10px;height:20px;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-combo-box{display:flex;flex-direction:column;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-combo-box-text{background:#34383c;border:1px solid #64666a;border-radius:2px;box-shadow:unset;color:inherit;display:flex;flex-wrap:nowrap;font-size:inherit;font-style:inherit;font-weight:inherit;height:32px;justify-content:space-between;padding:0;position:relative;width:192px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-combo-box-text::-moz-placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-combo-box-text::placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-combo-box-text input{border:0;box-shadow:none;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-combo-box-text input:focus{box-shadow:none}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-combo-box-text .tf-button-action{background:#34383c;background:none;border:0;border-radius:4px;color:#fff;cursor:pointer;height:30px;max-height:30px;padding:0 12px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-combo-box-text .tf-button-action:hover{background:#64666a;color:#fff}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-combo-box-text .tf-button-action span{padding:0 2px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-combo-box-text:focus-within{border-color:#4b84ce;box-shadow:0 0 0 1px #4b84ce;outline:2px solid transparent}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-combo-box-item{align-items:center;background-color:#e2e7ff;border:1px solid transparent;border-radius:2px;box-sizing:border-box;color:#4b84ce;display:inline-flex;font-size:13px;font-weight:700;gap:.35em;line-height:1.4;max-width:100%;padding:.25em .5em}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-combo-box-item span:first-child{flex:1 1 auto;padding-right:5px;text-overflow:ellipsis}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-combo-box-item button:last-child{background-color:transparent;border:none;color:#4b84ce;cursor:pointer}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-combo-box-item button:last-child:focus{outline:none}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-multiple-combobox-container{display:flex;gap:8px;position:relative}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-multiple-combobox-container>.tf-popover{left:0;position:absolute;top:100%;width:192px;z-index:900}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-multiple-combobox-container>.tf-popover .tf-combo-box{width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-multiple-combobox-container>.tf-popover .tf-list-box-option:not(.tf-list-box-option-selected,.tf-list-box-option-disabled):hover:after{content:"+";margin-left:auto}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-multiple-combobox{position:relative}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-multiple-combobox>.tf-label{display:flex}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-multiple-combobox-values{align-items:center;background-color:#34383c;border:1px solid #64666a;border-radius:2px;box-sizing:border-box;display:flex;flex-wrap:wrap;gap:8px;min-height:32px;padding:0 12px;width:192px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-multiple-combobox[data-enabled=false] .tf-multiple-combobox-values{opacity:.5}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-combo-box-popover.tf-popover{border:1px solid #4b84ce;border-bottom-left-radius:2px;border-bottom-right-radius:2px;box-shadow:0 0 0 1px #4b84ce;margin-left:-2px;outline:2px solid transparent}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-date-picker{align-items:flex-start;display:flex;flex-direction:column}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-popover{border:1px solid #64666a;border-radius:2px;display:flex;justify-content:center;width:auto}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-popover .tf-calendar{padding:20px;width:-moz-fit-content;width:fit-content}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-popover .tf-calendar-month{text-align:center}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-popover .tf-calendar-buttons{align-items:center;display:flex;justify-content:space-between}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-popover .tf-calendar-buttons button{background:#34383c;border:1px solid #64666a;border-radius:4px;color:#fff;cursor:pointer;height:30px;padding:0 12px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-popover .tf-calendar-buttons button:hover{background:#64666a;color:#fff}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-popover .tf-calendar-tables{display:flex}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-popover .tf-calendar-table{padding:10px;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-popover .tf-calendar-table td{text-align:center}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-popover .tf-calendar-presets{display:flex;gap:.25rem}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-popover .tf-calendar-presets button{background:#34383c;border:1px solid #64666a;border-radius:4px;color:#fff;cursor:pointer;height:30px;padding:0 12px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-popover .tf-calendar-presets button:hover{background:#64666a;color:#fff}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-popover .tf-calendar-cell{border-radius:100%;cursor:pointer;height:2em;line-height:2em;width:2em}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-popover .tf-calendar-cell.tf-calendar-cell-disabled,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-popover .tf-calendar-cell.tf-calendar-cell-unavailable{cursor:not-allowed;opacity:.5}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-popover .tf-calendar-cell:not(.tf-calendar-cell-disabled,.tf-calendar-cell-unavailable,.tf-calendar-cell-selected):hover{color:#4b84ce}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-popover .tf-calendar-cell.tf-calendar-cell-selected{background-color:#4b84ce;color:#fff}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-date-group{align-items:center;display:flex;gap:8px;justify-content:flex-start}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-date-group .tf-button-action{height:32px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-date-field-container{width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-date-field{align-items:center;background:#34383c;border:1px solid #64666a;border-radius:2px;box-shadow:unset;color:inherit;display:inline-flex;font-size:inherit;font-style:inherit;font-weight:inherit;height:32px;justify-content:center;padding:0 12px;width:192px;width:168px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-date-field::-moz-placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-date-field::placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-date-field:focus-within{border-color:#4b84ce}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-date-segment{font-variant-numeric:tabular-nums;padding:0 2px;text-align:end}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-date-segment:focus{background:#4b84ce;border-radius:2px;color:#fff;outline:none}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-date-segment span{display:none}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-date-segment-placeholder span{display:flex}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-dimensions{display:flex;flex-direction:column}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-dimensions .tf-select,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-dimensions .tf-select .tf-button-select{width:auto}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-dimensions-container{display:flex;flex-wrap:wrap;position:relative;width:-moz-fit-content;width:fit-content}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-dimensions-number-groups{display:flex;flex-direction:row;max-width:300px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-dimensions-number-groups .tf-number{flex:1 1 75px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-dimensions-number-groups .tf-number .tf-number-field{width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-dimensions-number-groups .tf-number input{text-align:left;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-dimensions-number-groups .tf-number-button-group .tf-button-number{padding:0 3px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-dimensions-number-groups-linked .tf-number:not(:first-child){display:none;opacity:.5;pointer-events:none}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-dynamic-text-field{align-items:center;display:flex;gap:8px;position:relative}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-dynamic-text-field .tf-dynamic-text-popover{left:0;position:absolute;top:100%;width:192px;z-index:900}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-dynamic-text-field .tf-dynamic-text-popover .tf-list-box-option:not(.tf-list-box-option-selected,.tf-list-box-option-disabled):hover:after{content:"+";margin-left:auto}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-dynamic-text-item{align-items:center;background-color:#e2e7ff;border:1px solid transparent;border-radius:2px;color:#4b84ce;display:inline-flex;font-size:13px;font-weight:700;gap:.35em;line-height:1.4;margin:0 .15em;padding:.25em .5em}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-dynamic-text-item:before{content:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMSIgaGVpZ2h0PSIxNiIgZmlsbD0ibm9uZSI+PGcgY2xpcC1wYXRoPSJ1cmwoI2EpIj48cGF0aCBmaWxsPSIjMzg1OEU5IiBkPSJNNi44OSA3LjA2MmgzLjE5M2MuMzgxIDAgLjcyNS4yNDQuODM0LjYwN2EuOTEuOTEgMCAwIDEtLjIzIDEuMDM3bC03LjMzMyA2LjU2M2EuOS45IDAgMCAxLTEuMTQzLjA1Mi45NS45NSAwIDAgMS0uMzA0LTEuMTI4bDIuMjA0LTUuMjU2SC44OWMtLjM1NiAwLS42OTgtLjI0My0uODMzLS42MDZhLjk1NS45NTUgMCAwIDEgLjI1NS0xLjAzN0w3LjY0Ni43MzJBLjkuOSAwIDAgMSA4Ljc4OC42NzlhLjk1Ljk1IDAgMCAxIC4zMDQgMS4xMjh6Ii8+PC9nPjxkZWZzPjxjbGlwUGF0aCBpZD0iYSI+PHBhdGggZmlsbD0iI2ZmZiIgZD0iTTAgLjVoMTF2MTVIMHoiLz48L2NsaXBQYXRoPjwvZGVmcz48L3N2Zz4=");line-height:1}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .cm-content[contenteditable=false] .tf-dynamic-text-item{filter:grayscale(1)}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-dynamic-text-input:focus-within{box-shadow:0 0 0 1px #4b84ce;outline:2px solid transparent}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-dynamic-text-input>.cm-editor{padding:0 12px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-dynamic-text-input>.cm-editor.cm-focused{outline:none}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-dynamic-text-input>.cm-editor .cm-scroller{font-family:inherit}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-dynamic-text-input>.cm-editor .cm-content{height:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-editor .ProseMirror ul{list-style-type:disc}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-editor .ProseMirror ol{margin:0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-editor .ProseMirror{line-height:1.2;outline:none;padding:4px 8px 4px 14px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-editor .tf-editor-view-toggle{display:flex;flex-direction:row;justify-content:flex-end;padding-bottom:5px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-editor .tf-editor-view-toggle .tf-button-group{width:-moz-fit-content;width:fit-content}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-file-field{align-items:center;display:flex;flex-wrap:wrap;width:-moz-fit-content;width:fit-content}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-file-text{max-width:192px;overflow:hidden;padding:0 12px;text-overflow:ellipsis}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-file-list{margin-bottom:0;padding:0;width:300px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-file-item{align-items:center;display:flex;flex-wrap:wrap;justify-content:space-between}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-file-item img{max-width:200px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-file-item span{flex-grow:1;overflow:hidden;text-overflow:ellipsis;width:70%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-file-item .tf-button-upload-list{cursor:pointer;font-style:italic;text-decoration:underline}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-gallery-item{align-items:center;display:flex;height:100px;justify-content:center;width:100px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-gallery-item img{border-radius:2px;height:100%;-o-object-fit:cover;object-fit:cover;overflow:hidden;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-gallery__controls{background:#34383c;border:1px solid #64666a;padding:8px 12px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-gallery-buttons{display:flex;gap:10px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-gradient-container{display:flex;flex-direction:column;position:relative;width:192px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-gradient-input{background:#34383c;border:1px solid #64666a;border-radius:2px;box-shadow:unset;color:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;height:32px;padding:0 12px;width:192px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-gradient-input::-moz-placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-gradient-input::placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-gradient-settings{padding:10px 12px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-gradient-settings .tf-gradient-settings-row{padding:10px 0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-gradient-popover .tf-dialog{width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-gradient-preview{padding:10px 12px;position:relative}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-gradient-colors{align-items:center;cursor:pointer;display:flex;height:32px;justify-content:space-between;padding:0 12px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-list-container{display:flex;flex-direction:column;gap:8px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-list-items{width:192px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-list-header,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-list-header label,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-list-item{align-items:center;display:flex;justify-content:flex-start}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-list-header{background:#f0f0f0;border:1px solid hsla(218,4%,56%,.5);border-radius:2px;border-bottom-left-radius:0;border-bottom-right-radius:0;padding:0 12px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-list-header label{height:32px;margin:0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-list-item{background:#34383c;border:1px solid hsla(218,4%,56%,.5);border-top:none;box-sizing:border-box;height:32px;width:192px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-list-item .tf-list-item-text{flex:1;font-size:inherit;font-weight:inherit;padding:0 12px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-list-item .tf-list-item-actions{display:flex}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-list-search{display:flex;width:192px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-list-search .tf-combo-box{flex:1}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-number input{background:#34383c;border:1px solid #64666a;border-radius:2px;box-shadow:unset;color:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;height:32px;padding:0 12px;width:192px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-number input::-moz-placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-number input::placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-number .tf-label{display:flex}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-number-field{display:flex;flex-direction:row;flex-wrap:nowrap;position:relative;width:192px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-number[data-enabled=false] .tf-number-field{opacity:.5}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-number-button-group{bottom:1px;display:flex;flex-direction:column;flex-wrap:nowrap;height:auto;padding:0 12px;position:absolute;right:1px;top:1px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-number-button-group .tf-button-number{align-items:center;background-color:#eee;border:0;border-radius:4px;border-radius:0;color:#fff;cursor:pointer;display:flex;height:30px;height:50%;justify-content:center;line-height:0;min-width:2em;padding:0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-number-button-group .tf-button-number:hover{background-color:#e2e2e2}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-number-button-group .tf-button-number:first-child{border-bottom-left-radius:0;border-bottom-right-radius:0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-number-button-group .tf-button-number:last-child{border-top-left-radius:0;border-top-right-radius:0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-radio-group-container{display:flex;flex-direction:column}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-multiple-select,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-select{display:inline-block;position:relative;width:192px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-multiple-select>.tf-label,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-select>.tf-label{display:flex}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-multiple-select__value,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-select__value{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-multiple-select .tf-button-select,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-select .tf-button-select{align-items:center;background:#34383c;border:1px solid #64666a;border-radius:2px;box-shadow:unset;color:inherit;display:flex;font-style:inherit;font-weight:inherit;height:32px;justify-content:space-between;padding:0 10px;width:192px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-multiple-select .tf-button-select::-moz-placeholder,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-select .tf-button-select::-moz-placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-multiple-select .tf-button-select::placeholder,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-select .tf-button-select::placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-multiple-select .tf-button-select[disabled],body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-select .tf-button-select[disabled]{background:hsla(0,0%,100%,.5);border-color:rgba(0,0,0,.1);color:rgba(0,0,0,.4)}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-multiple-select .tf-select-icon,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-select .tf-select-icon{font-size:10px;padding-left:5px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-multiple-select .tf-button-select,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-select .tf-button-select{cursor:pointer;font-size:inherit}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-simple-dimensions{display:flex;flex-direction:column}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-simple-dimensions .tf-select,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-simple-dimensions .tf-select .tf-button-select{width:auto}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-simple-dimensions-container{display:flex;position:relative;width:-moz-fit-content;width:fit-content}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-switch label{align-items:center;display:flex;justify-content:flex-start}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-switch-element,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-switch-element-selected{display:inline-block;height:32px;position:relative;width:64px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-switch-element span,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-switch-element-selected span{background-color:#ccc;border-radius:32px;bottom:0;cursor:pointer;left:0;position:absolute;right:0;top:0;transition:.4s}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-switch-element span:before,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-switch-element-selected span:before{background-color:#34383c;border-radius:50%;bottom:4px;content:"";height:24px;left:4px;position:absolute;transition:.4s;width:24px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-switch-element-selected span{background-color:#4b84ce}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-switch-element-selected span:focus{box-shadow:0 0 1px #4b84ce}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-switch-element-selected span:before{transform:translateX(32px)}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-text{box-sizing:content-box;display:flex;flex-direction:column}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-text input{background:#34383c;border:1px solid #64666a;border-radius:2px;box-shadow:unset;color:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;height:32px;padding:0 12px;width:192px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-text input::-moz-placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-text input::placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-text-area textarea{background:#34383c;border:1px solid #64666a;border-radius:2px;box-shadow:unset;color:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;height:32px;height:auto;padding:.6em;width:192px;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-text-area textarea::-moz-placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-text-area textarea::placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-repeater-bulk-actions{align-items:center;background:#34383c;border:1px solid #64666a;border-radius:2px;display:flex;justify-content:flex-start;margin-bottom:4px;padding:5px 12px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-repeater-bulk-actions>button,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-repeater-bulk-actions>div{margin-right:5px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-repeater-advanced-label-row{box-sizing:border-box;display:flex;gap:8px;justify-content:space-between;padding:8px 12px;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-repeater-advanced-label-row .tf-repeater-advanced-label-row-item{align-items:center;display:flex;flex:1;flex-wrap:wrap;justify-content:flex-start}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-repeater-advanced-label-row .tf-repeater-advanced-label-row-item:first-child{color:#4b84ce;font-weight:700}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-repeater-advanced-label-row .tf-repeater-advanced-label-row-arrow,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-repeater-advanced-label-row .tf-repeater-advanced-label-row-index{width:32px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-repeater-advanced-header{background:#f0f0f0;border:1px solid hsla(218,4%,56%,.5);border-bottom:none;border-radius:2px;border-bottom-left-radius:0;border-bottom-right-radius:0;margin:0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-repeater-advanced-header .tf-repeater-advanced-header-item{color:inherit;display:inline-block;font-size:inherit;font-style:inherit;font-weight:inherit;height:32px;margin-bottom:0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-repeater-advanced-overview{background:#34383c}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-repeater-advanced-overview .tf-repeater-advanced-label-row-arrow,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-repeater-advanced-overview .tf-repeater-advanced-label-row-index{height:40px;line-height:40px;text-align:center}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-repeater-advanced-overview .tf-repeater-advanced-label-row-index{background:#f0f0f0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-repeater-advanced-overview .tf-repeater-advanced-label-row-arrow{cursor:pointer}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-repeater-advanced-overview .tf-repeater-advanced-label-row-arrow>div{border:solid;border-color:inherit;border-width:0 1px 1px 0;display:inline-block;height:8px;width:8px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-repeater-advanced-overview .tf-repeater-advanced-overview-item-actions{height:20px;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-repeater-advanced-overview .tf-repeater-advanced-overview-item-actions button{display:none}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-repeater-advanced-overview-item-container{display:flex;flex-direction:column;justify-content:center;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-repeater-advanced-overview-item-fields{display:flex}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-repeater-advanced-overview:hover .tf-repeater-advanced-overview-item-actions button{display:initial}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-repeater-advanced-item .tf-repeater-advanced-overview:hover,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-repeater-advanced-item[data-open=true] .tf-repeater-advanced-overview{background-color:#e2e7ff}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-repeater-advanced-item[data-open=true] .tf-repeater-advanced-label-row-arrow>div{transform:translateY(50%) rotate(-135deg)}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-repeater-advanced-item[data-open=false] .tf-repeater-advanced-label-row-arrow>div{transform:translateY(-50%) rotate(45deg)}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-repeater-advanced-item{background-color:#34383c;border:1px solid hsla(218,4%,56%,.5);border-radius:2px;border-radius:0;border-top:none;position:relative}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-repeater-advanced-item[data-open=true]:before{background-color:#4b84ce;content:"";height:100%;left:0;position:absolute;top:0;width:3px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-repeater-advanced-container>.tf-repeater-actions{background-color:#34383c;border:1px solid hsla(218,4%,56%,.5);border-radius:2px;border-top:none;border-top-left-radius:0;border-top-right-radius:0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-repeater-advanced-row{margin:16px 32px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-repeater-advanced-row .tf-repeater-advanced-item-field{padding:8px 12px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-repeater-advanced-item-field:has(>div[data-overlay-container=true]:empty){display:none}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-repeater-advanced-item-field:has(input.tf-hidden[type=hidden]){padding:0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-repeater-advanced .tf-repeater-actions{padding:8px 12px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-repeater-bare-items{display:flex;flex-direction:column;row-gap:8px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-repeater-bare-items .tf-repeater-bare-row{display:flex;gap:8px;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-repeater-block-item{background:#34383c;border:1px solid #64666a;border-radius:2px;display:flex;flex-direction:column;margin-bottom:6px;margin-top:1em;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-repeater-block-item .tf-panel-header .tf-switch-element,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-repeater-block-item .tf-panel-header .tf-switch-element-selected{transform:scale(.7)}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-repeater-block-item-field{padding:1em}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-repeater-block-item-field:has(>div[data-overlay-container=true]:empty){display:none}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-repeater-table-container{border:1px solid hsla(218,4%,56%,.5);border-radius:2px;display:flex;flex-direction:column;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-repeater-table-container .tf-repeater-actions{box-sizing:border-box;justify-content:flex-start;padding:8px 12px;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-repeater-table-container table{padding:0 4px 4px;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-repeater-table-container table th,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-repeater-table-container table tr{min-height:32px;padding:2px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-repeater-table-container table th{height:32px;text-align:left}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-repeater-table-container table td>div{display:flex;justify-content:center;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-repeater-table-container table td>div>div{width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-repeater-table-container .tf-repeater-row-actions{width:1%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-repeater-table-container .tf-repeater-row-actions>div{display:inline-flex;gap:6px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-repeater-actions{display:flex;gap:6px;justify-content:flex-end;padding:2px 2px 4px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-repeater-actions .tf-button-action:last-child{border-color:#cc1818;color:#cc1818}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-repeater-title{color:inherit;display:inline-block;font-size:inherit;font-style:inherit;font-weight:inherit;margin-bottom:6px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-repeater-block-items{margin-bottom:8px;margin-top:8px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-dynamic-wrapper{align-items:center;display:flex;position:relative}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-dynamic-wrapper .tf-dynamic-wrapper-popover{position:absolute;top:100%;width:192px;z-index:900}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-dynamic-wrapper .tf-dynamic-wrapper-popover-form{background:#34383c;border:1px solid #64666a;padding:0 12px;width:100%;z-index:900}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-dynamic-wrapper .tf-dynamic-wrapper-popover-form>*{margin:12px 0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-dynamic-wrapper .tf-dynamic-wrapper-popover-buttons{display:flex;justify-content:flex-end}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-dynamic-wrapper .tf-dynamic-wrapper-popover-buttons button{margin-left:6px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-dynamic-wrapper.tf-dynamic-wrapper-buttons-outside{gap:8px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-dynamic-wrapper.tf-dynamic-wrapper-buttons-inside{gap:0;width:-moz-fit-content;width:fit-content}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-dynamic-wrapper.tf-dynamic-wrapper-buttons-inside .tf-button-icon{background:transparent;border:none;cursor:pointer;height:32px;position:absolute;right:1px;top:50%;transform:translateY(-50%)}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-dynamic-wrapper.tf-dynamic-wrapper-buttons-inside .tf-button-icon:before{content:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMyIgaGVpZ2h0PSIxNyIgZmlsbD0ibm9uZSI+PHBhdGggZmlsbD0iIzFFMUUxRSIgZD0iTTcuNTIyIDdoMy40ODdjLjQxNiAwIC43OS4yNi45MS42NDdhLjk1Ljk1IDAgMCAxLS4yNSAxLjEwNmwtLjYwMy41MjdhNC41IDQuNSAwIDAgMC01Ljk1NyA1LjIwOGwtMS40NDcgMS4yNjVhMSAxIDAgMCAxLTEuNTgtMS4xNDdMNC40ODkgOUguOTczYS45OTUuOTk1IDAgMCAxLS45MDktLjY0NyAxIDEgMCAwIDEgLjI3OC0xLjEwNmw4LjAwNS03YTEuMDAyIDEuMDAyIDAgMCAxIDEuNTggMS4xNDd6Ii8+PHBhdGggZmlsbD0iIzFFMUUxRSIgZmlsbC1ydWxlPSJldmVub2RkIiBkPSJNOS41IDE3YTMuNSAzLjUgMCAxIDAgMC03IDMuNSAzLjUgMCAwIDAgMCA3bTIuNS0zLjVhLjU3Ny41NzcgMCAwIDEtLjU3Ny41NzdoLTEuMzQ2djEuMzQ2YS41NzcuNTc3IDAgMSAxLTEuMTU0IDB2LTEuMzQ2SDcuNTc3YS41NzcuNTc3IDAgMCAxIDAtMS4xNTRoMS4zNDZ2LTEuMzQ2YS41NzcuNTc3IDAgMSAxIDEuMTU0IDB2MS4zNDZoMS4zNDZjLjMyIDAgLjU3Ny4yNTguNTc3LjU3NyIgY2xpcC1ydWxlPSJldmVub2RkIi8+PC9zdmc+);line-height:1;padding:0 5px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-dynamic-wrapper.tf-dynamic-wrapper-buttons-inside .tf-button-icon.cm-content[contenteditable=false]:before{display:none}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-dynamic-field-wrapper.tf-dynamic-wrapper .tf-dynamic-value-input:disabled{background:hsla(0,0%,100%,.5);border-color:rgba(0,0,0,.1);color:rgba(0,0,0,.4)}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-dynamic-field-wrapper.tf-dynamic-wrapper .tf-button-icon.tf-dynamic-wrapper-clear:before{content:"⨯"}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-dynamic-text-input{background:#34383c;border:1px solid #64666a;border-radius:2px;box-shadow:unset;color:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;height:32px;padding:0 12px;width:192px;width:168px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-dynamic-text-input::-moz-placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-dynamic-text-input::placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-dynamic-text-input:focus-within{border-color:#4b84ce}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-dynamic-text-input:has(.cm-content[contenteditable=false]){background:hsla(0,0%,100%,.5);border-color:rgba(0,0,0,.1);color:rgba(0,0,0,.4);pointer-events:none}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-dynamic-text-input:has(.cm-content[contenteditable=false]) .tf-dynamic-text-input__affix{border-color:rgba(0,0,0,.1)}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-dynamic-text-input--has-prefix,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-dynamic-text-input--has-suffix{display:flex;height:auto;padding:0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-dynamic-text-input--has-prefix>.cm-editor,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-dynamic-text-input--has-suffix>.cm-editor{flex:1 1 auto;min-height:32px;overflow:hidden}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-dynamic-text-input>.cm-editor{height:100%;justify-content:center;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-dynamic-text-input>.cm-editor .cm-content,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-dynamic-text-input>.cm-editor .cm-line{padding:0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-dynamic-text-input>.cm-editor .cm-content{display:flex;flex-direction:column;justify-content:center}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-dynamic-text-input .tf-dynamic-text-item-delete:before{content:"⨯";cursor:pointer;padding-left:3px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-dynamic-text-input__affix{align-items:center;border:0 solid #8c8f94;display:inline-flex;font-size:.8em;font-weight:700;padding:0 .5em;text-wrap:nowrap}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-dynamic-text-input__affix--prefix{border-right-width:1px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-dynamic-text-input__affix--suffix{border-left-width:1px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-dynamic-text-input:focus-within .tf-dynamic-text-input__affix{border-color:#4b84ce}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-dynamic-wrapper[data-dynamic=true] .cm-editor{padding-right:25px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-dynamic-wrapper[data-dynamic=true] .cm-editor:has(.cm-content[contenteditable=false]){padding-right:0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-dynamic-wrapper[data-dynamic=true] .tf-dynamic-text-input--has-suffix .cm-editor{padding-right:8px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-dynamic-wrapper[data-dynamic=true] .tf-dynamic-text-input__affix--suffix{border-right-width:1px;margin-right:33px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-number-button-group{padding:0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-number-button-group .tf-button-number{background:#34383c}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-number-button-group .tf-button-number:hover{background:#64666a;color:#fff}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-editor .ProseMirror-menubar-wrapper{background-color:#34383c;border:2px solid hsla(0,0%,100%,.2);height:auto;overflow:unset;position:relative}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-editor .ProseMirror-menubar-spacer{height:auto!important}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-editor .ProseMirror-menubar{background:#34383c;border-bottom:2px solid hsla(0,0%,100%,.2);color:inherit;left:0!important;min-height:60px!important;position:absolute!important;top:0!important}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-editor .ProseMirror.ProseMirror-example-setup-style{margin-bottom:0;margin-top:63px;max-height:100px;min-height:60px;overflow:auto}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-gallery__controls{min-height:32px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-gallery-preview{display:flex;flex-wrap:wrap}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-gallery-item{height:75px;width:75px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-gallery-buttons{margin-top:12px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-radio-group-container{gap:4px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-radio{align-items:center;display:inline-flex;gap:4px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-dimensions-number-groups{max-width:250px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-dimensions-number-groups .tf-number-field>input{padding:0 6px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-field-group-item{margin:12px 0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-checkbox>.tf-label{align-items:center;display:flex}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-panel .tf-panel-header.tf-button-action:hover{background:#64666a;color:#fff}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-button-action,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-button-danger,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-button-primary{height:32px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-dynamic-text-input{padding:0;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-dynamic-text-input>.cm-editor ::-webkit-scrollbar{height:10px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-dynamic-text-input>.cm-editor ::-webkit-scrollbar-thumb{background:#64666a;border-radius:5px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-dynamic-text-input>.cm-editor .cm-line{height:1.5em}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-switch .tf-switch-label{max-width:-moz-max-content;max-width:max-content}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-button-action,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-button-danger,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-button-primary{align-items:center;background:#eee;border:1px solid #d3d3d3;border-radius:4px;color:#505050;cursor:pointer;display:flex;height:30px;justify-content:center;padding:0 12px;width:-moz-fit-content;width:fit-content}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-button-action:hover,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-button-danger:hover,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-button-primary:hover{background:#e2e2e2;color:#505050}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-button-danger{border-color:#cc1818;color:#cc1818}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-button-primary{background-color:#4b84ce;color:inherit}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-button-action[disabled],body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-button-danger[disabled],body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-button-icon-trash[disabled],body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-button-primary[disabled],body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-button-text-action[disabled],body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-button-text-danger[disabled],body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-button-text-primary[disabled]{cursor:not-allowed;opacity:.5;pointer-events:none}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-button-action:focus{outline:none}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-button-text-action,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-button-text-danger,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-button-text-primary{background:transparent;border:none;cursor:pointer;display:inline}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-button-text-action:hover,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-button-text-danger:hover,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-button-text-primary:hover{font-weight:700}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-button-text-action{color:#505050}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-button-text-danger{color:#cc1818}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-button-text-primary{color:#4b84ce}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-button-icon-trash{align-items:center;background:transparent;border:none;cursor:pointer;display:flex;height:32px;justify-content:center;width:32px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-button-icon-trash:after{content:url('data:image/svg+xml;utf8,')}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-button-icon-eye{align-items:center;background:transparent;border:none;cursor:pointer;display:flex;height:32px;justify-content:center;width:32px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-button-icon-eye:after{content:url('data:image/svg+xml;utf8,')}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-dialog .tf-title{display:flex}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-dialog .tf-title h4{margin:0;padding:12px 0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-panel{background:#fff;border:1px solid #a7b1bb;border-radius:2px;display:flex;flex-direction:column;margin-bottom:8px;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-panel-header{align-items:center;cursor:pointer;display:flex;height:32px;justify-content:space-between;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-panel-header.tf-button-action{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:0;border-radius:0;box-sizing:border-box;color:inherit;cursor:pointer;display:flex;font-family:inherit;font-size:100%;height:32px;justify-content:space-between;line-height:1.15;margin:0;padding:8px 12px;text-align:left;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-panel-header.tf-button-action:hover{background:#f0f0f0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-panel-open .tf-panel-header.tf-button-action{border-bottom:1px solid #a7b1bb}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-panel-header-before-title,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-panel-header-left,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-panel-header-right,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-panel-header-title{align-items:center;display:flex;justify-content:flex-start;padding:0 12px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-panel-header-left{padding-left:0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-panel-content,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-panel-footer{padding:4px 12px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-panel-closed .tf-panel-content{display:none}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-panel-footer{border-top:1px solid #a7b1bb}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-panel-footer{display:flex;gap:8px;justify-content:flex-end;padding:1em}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-panel-arrow{border:solid;border-color:inherit;border-width:0 1px 1px 0;display:inline-block;height:8px;width:8px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-panel-open .tf-panel-arrow{transform:translateY(50%) rotate(-135deg)}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-panel-closed .tf-panel-arrow{transform:translateY(-50%) rotate(45deg)}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-label{color:inherit;display:inline-block;font-size:inherit;font-style:inherit;font-weight:inherit;margin-bottom:6px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-description{color:inherit;font-size:inherit;font-style:inherit;font-weight:inherit}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-list-box{background:#fff;list-style:none;margin:5px 0;max-height:300px;max-width:100%;min-width:100%;overflow-y:auto;padding:0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-list-box-option{background:transparent;border-radius:2px;cursor:pointer;display:flex;font-size:13px;gap:8px;margin:0 5px;outline:none;padding:5px 9px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-list-box-option:not(.tf-list-box-option-selected,.tf-list-box-option-disabled):hover{color:#4b84ce}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-list-box-option-selected,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-list-box-option-selected.tf-list-box-option-selected{background-color:#4b84ce;color:#fff}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-list-box-option-selected.tf-list-box-option-selected:hover,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-list-box-option-selected:hover{color:#fff}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-list-box-option-selected.tf-list-box-option-selected:after,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-list-box-option-selected:after{content:"✓";margin-left:auto}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-list-box-option-disabled{color:#aaa;cursor:default}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-list-box-option-focus{box-shadow:inset 0 0 0 2px;color:#4b84ce}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-list-box-section-separator:not(:first-child){border-top:1px solid #8c8f94;margin:12px 0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-list-box-section>span{color:#7d8690;display:block;font-size:11px;font-weight:500;line-height:1.45;margin:0 10px;padding:5px 9px;text-transform:uppercase}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-list-box-section>ul{list-style:none;padding:0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-modal{align-items:center;background:rgba(0,0,0,.7);bottom:0;display:flex;justify-content:center;left:0;position:fixed;right:0;top:0;z-index:9990}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-modal .tf-modal-container{background:#fff;border:1px solid #8c8f94;border-radius:2px;padding:2rem}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-modal-actions{display:flex;justify-content:flex-end;padding-top:12px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-modal-actions button{margin-left:12px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-notice{background:#fff;box-shadow:0 1px 1px rgba(0,0,0,.04);color:#000;margin-top:4px;padding:1px 12px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-notice.tf-is-dismissible{padding-right:38px;position:relative}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-notice.tf-error{border-left:4px solid #d63638}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-notice.tf-success{border-left:4px solid #00a32a}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-notice.tf-warning{border-left-color:#dba617}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-notice.tf-info{border-left-color:#72aee6}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-notice-dismiss{background:none;border:none;color:#787c82;cursor:pointer;margin:0;padding:9px;position:absolute;right:1px;top:0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-notice-dismiss:active:before,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-notice-dismiss:focus:before,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-notice-dismiss:hover:before{color:#d63638}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-notice-dismiss:focus{box-shadow:0 0 0 1px #4f94d4,0 0 2px 1px rgba(79,148,212,.8);outline:none}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-notice-dismiss:before{background:none;color:#787c82;content:"\f153";display:block;font:normal 16px/20px dashicons;height:20px;text-align:center;width:20px;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-underlay{inset:0;position:fixed}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-popover{background:#fff;color:inherit;z-index:900}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-tooltip-trigger-content{cursor:context-menu;position:relative;width:-moz-fit-content;width:fit-content}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-tooltip{cursor:default;display:inline-block;max-width:150px;position:absolute;visibility:hidden;width:-moz-max-content;width:max-content;z-index:1}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-tooltip-top{bottom:100%;left:50%;margin-bottom:12px;transform:translateX(-50%)}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-tooltip-bottom{left:50%;margin-top:12px;top:100%;transform:translateX(-50%)}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-tooltip-start{margin-right:12px;right:100%;top:50%;transform:translateY(-50%)}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-tooltip-end{left:100%;margin-left:12px;top:50%;transform:translateY(-50%)}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-tooltip-content{border-radius:3px;font-size:12px;padding:6px 12px;text-align:center;word-break:normal}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-tooltip-content.light{background-color:#e6e6e6;color:hsla(0,4%,5%,.945);--tf-tooltip-after-color:#e6e6e6}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-tooltip-content.dark{background-color:hsla(0,4%,5%,.945);color:#e6e6e6;--tf-tooltip-after-color:hsla(0,4%,5%,.945)}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-tooltip-content:after{border-style:solid;border-width:7px;content:" ";position:absolute}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-tooltip-content-top:after{border-color:var(--tf-tooltip-after-color,transparent) transparent transparent transparent;left:50%;margin-left:-7px;top:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-tooltip-content-bottom:after{border-color:transparent transparent var(--tf-tooltip-after-color,transparent) transparent;bottom:100%;left:50%;margin-left:-7px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-tooltip-content-start:after{border-color:transparent transparent transparent var(--tf-tooltip-after-color,transparent);left:100%;margin-top:-7px;top:50%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-tooltip-content-end:after{border-color:transparent var(--tf-tooltip-after-color,transparent) transparent transparent;margin-top:-7px;right:100%;top:50%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-tooltip-trigger-content:hover .tf-tooltip{visibility:visible}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-conditional-group-actions{align-items:center;display:flex;gap:8px;padding:8px 0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-conditional-group-actions strong{text-transform:uppercase}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-conditional-panel-condition-actions{display:flex;gap:4px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-conditional-panel-condition-actions .tf-button-action:first-child{text-transform:uppercase}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-conditional-panel-condition-actions .tf-button-danger:last-child{position:relative}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-conditional-panel-condition-actions .tf-button-danger:last-child:before{background-color:#cc1818;content:"";height:1px;position:absolute;width:100%;width:10px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-accordion .tf-switch-element,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-accordion .tf-switch-element-selected{transform:scale(.7)}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-alignment-matrix-container{display:grid;grid-template-columns:repeat(3,1fr);height:50px;margin:5px;width:50px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-border-dimensions-container{margin:0 0 5px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-button-group .tf-button-group-option{align-items:center;background:#eee;border:1px solid #d3d3d3;border-radius:4px;border-radius:0;color:#505050;color:#4b84ce;cursor:pointer;display:inline-flex;height:30px;margin:0;padding:0 12px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-button-group .tf-button-group-option:hover{background:#e2e2e2;color:#505050}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-button-group .tf-button-group-option:first-child{border-bottom-left-radius:4px;border-top-left-radius:4px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-button-group .tf-button-group-option:not(:first-child){margin-left:-1px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-button-group .tf-button-group-option:last-child{border-bottom-right-radius:4px;border-top-right-radius:4px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-button-group .tf-button-group-option.tf-button-group-option-selected{background:#4b84ce;border-color:#4b84ce;color:#fff}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-button-group .tf-button-group-option:focus-within{position:relative;z-index:1}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-button-group .tf-button-group-option .dashicons{align-items:center;display:flex;justify-content:center}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-button-group-container[aria-disabled=true] .tf-button-group-option{opacity:.5;pointer-events:none}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-checkbox .tf-label{font-size:13px;font-weight:400;margin-bottom:revert;text-transform:none}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-checkbox input[type=checkbox]{border:1px solid;border-color:inherit;border-radius:2px;box-shadow:0 0 0 transparent;margin-right:6px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-checkbox input[type=checkbox]:focus{border-color:#4b84ce;box-shadow:0 0 0 1px #4b84ce;outline:2px solid transparent}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-checkbox input[type=checkbox]:checked{background:#4b84ce;border-color:#4b84ce;color:#fff}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-checkbox input[type=checkbox]:checked:before{content:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGFyaWEtaGlkZGVuPSJ0cnVlIiBjbGFzcz0iY29tcG9uZW50cy1jaGVja2JveC1jb250cm9sX19jaGVja2VkIiB2aWV3Qm94PSIwIDAgMjQgMjQiPjxwYXRoIGZpbGw9IiNmZmYiIGQ9Im0xNi43IDcuMS02LjMgOC41LTMuMy0yLjUtLjkgMS4yIDQuNSAzLjRMMTcuOSA4eiIvPjwvc3ZnPg==")}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-checkbox input[type=checkbox]:indeterminate{background:#4b84ce;border-color:#4b84ce;color:#fff}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-checkbox input[type=checkbox]:indeterminate:before{content:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGFyaWEtaGlkZGVuPSJ0cnVlIiBjbGFzcz0iY29tcG9uZW50cy1jaGVja2JveC1jb250cm9sX19pbmRldGVybWluYXRlIiB2aWV3Qm94PSIwIDAgMjQgMjQiPjxwYXRoIGZpbGw9IiNmZmYiIGQ9Ik03IDExLjVoMTBWMTNIN3oiLz48L3N2Zz4=")}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-color-area,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-color-area-gradient{height:150px;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-color-area-thumb{border:2px solid #fff;border-radius:50%;box-shadow:0 0 0 1px #000,inset 0 0 0 1px #000;height:20px;top:50%;width:20px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-color-container{position:relative;width:-moz-fit-content;width:fit-content}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-color-container input{background:#fff;border:1px solid #8c8f94;border-radius:2px;box-shadow:unset;color:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;height:32px;padding:0 12px;width:192px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-color-container input::-moz-placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-color-container input::placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-color-picker{background:#fff;border:1px solid #8c8f94;width:100%;z-index:900}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-color-picker .tf-color-area{display:flex;justify-content:center;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-color-picker .tf-color-area .tf-color-area-thumb{transform:translate(-50%,-50%)!important}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-color-picker .tf-color-input{display:flex;flex-direction:column;padding:10px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-color-picker .tf-color-sliders{padding:0 12px 10px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-color-input>input{width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-color-slider{align-items:center;display:flex;flex-direction:column;padding-bottom:5px;padding-top:5px;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-color-slider-label{align-self:stretch;display:flex}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-color-slider-label output{flex:1 0 auto;text-align:end}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-color-slider-container{border:1px solid #8c8f94;border-radius:10px;height:20px;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-combo-box{display:flex;flex-direction:column;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-combo-box-text{background:#fff;border:1px solid #8c8f94;border-radius:2px;box-shadow:unset;color:inherit;display:flex;flex-wrap:nowrap;font-size:inherit;font-style:inherit;font-weight:inherit;height:32px;justify-content:space-between;padding:0;position:relative;width:192px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-combo-box-text::-moz-placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-combo-box-text::placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-combo-box-text input{border:0;box-shadow:none;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-combo-box-text input:focus{box-shadow:none}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-combo-box-text .tf-button-action{background:#eee;background:none;border:0;border-radius:4px;color:#505050;cursor:pointer;height:30px;max-height:30px;padding:0 12px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-combo-box-text .tf-button-action:hover{background:#e2e2e2;color:#505050}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-combo-box-text .tf-button-action span{padding:0 2px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-combo-box-text:focus-within{border-color:#4b84ce;box-shadow:0 0 0 1px #4b84ce;outline:2px solid transparent}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-combo-box-item{align-items:center;background-color:#e2e7ff;border:1px solid transparent;border-radius:2px;box-sizing:border-box;color:#4b84ce;display:inline-flex;font-size:13px;font-weight:700;gap:.35em;line-height:1.4;max-width:100%;padding:.25em .5em}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-combo-box-item span:first-child{flex:1 1 auto;padding-right:5px;text-overflow:ellipsis}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-combo-box-item button:last-child{background-color:transparent;border:none;color:#4b84ce;cursor:pointer}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-combo-box-item button:last-child:focus{outline:none}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-multiple-combobox-container{display:flex;gap:8px;position:relative}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-multiple-combobox-container>.tf-popover{left:0;position:absolute;top:100%;width:192px;z-index:900}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-multiple-combobox-container>.tf-popover .tf-combo-box{width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-multiple-combobox-container>.tf-popover .tf-list-box-option:not(.tf-list-box-option-selected,.tf-list-box-option-disabled):hover:after{content:"+";margin-left:auto}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-multiple-combobox{position:relative}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-multiple-combobox>.tf-label{display:flex}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-multiple-combobox-values{align-items:center;background-color:#fff;border:1px solid #8c8f94;border-radius:2px;box-sizing:border-box;display:flex;flex-wrap:wrap;gap:8px;min-height:32px;padding:0 12px;width:192px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-multiple-combobox[data-enabled=false] .tf-multiple-combobox-values{opacity:.5}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-combo-box-popover.tf-popover{border:1px solid #4b84ce;border-bottom-left-radius:2px;border-bottom-right-radius:2px;box-shadow:0 0 0 1px #4b84ce;margin-left:-2px;outline:2px solid transparent}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-date-picker{align-items:flex-start;display:flex;flex-direction:column}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-popover{border:1px solid #8c8f94;border-radius:2px;display:flex;justify-content:center;width:auto}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-popover .tf-calendar{padding:20px;width:-moz-fit-content;width:fit-content}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-popover .tf-calendar-month{text-align:center}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-popover .tf-calendar-buttons{align-items:center;display:flex;justify-content:space-between}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-popover .tf-calendar-buttons button{background:#eee;border:1px solid #d3d3d3;border-radius:4px;color:#505050;cursor:pointer;height:30px;padding:0 12px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-popover .tf-calendar-buttons button:hover{background:#e2e2e2;color:#505050}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-popover .tf-calendar-tables{display:flex}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-popover .tf-calendar-table{padding:10px;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-popover .tf-calendar-table td{text-align:center}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-popover .tf-calendar-presets{display:flex;gap:.25rem}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-popover .tf-calendar-presets button{background:#eee;border:1px solid #d3d3d3;border-radius:4px;color:#505050;cursor:pointer;height:30px;padding:0 12px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-popover .tf-calendar-presets button:hover{background:#e2e2e2;color:#505050}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-popover .tf-calendar-cell{border-radius:100%;cursor:pointer;height:2em;line-height:2em;width:2em}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-popover .tf-calendar-cell.tf-calendar-cell-disabled,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-popover .tf-calendar-cell.tf-calendar-cell-unavailable{cursor:not-allowed;opacity:.5}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-popover .tf-calendar-cell:not(.tf-calendar-cell-disabled,.tf-calendar-cell-unavailable,.tf-calendar-cell-selected):hover{color:#4b84ce}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-popover .tf-calendar-cell.tf-calendar-cell-selected{background-color:#4b84ce;color:#fff}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-date-group{align-items:center;display:flex;gap:8px;justify-content:flex-start}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-date-group .tf-button-action{height:32px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-date-field-container{width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-date-field{align-items:center;background:#fff;border:1px solid #8c8f94;border-radius:2px;box-shadow:unset;color:inherit;display:inline-flex;font-size:inherit;font-style:inherit;font-weight:inherit;height:32px;justify-content:center;padding:0 12px;width:192px;width:168px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-date-field::-moz-placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-date-field::placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-date-field:focus-within{border-color:#4b84ce}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-date-segment{font-variant-numeric:tabular-nums;padding:0 2px;text-align:end}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-date-segment:focus{background:#4b84ce;border-radius:2px;color:#fff;outline:none}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-date-segment span{display:none}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-date-segment-placeholder span{display:flex}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-dimensions{display:flex;flex-direction:column}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-dimensions .tf-select,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-dimensions .tf-select .tf-button-select{width:auto}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-dimensions-container{display:flex;flex-wrap:wrap;position:relative;width:-moz-fit-content;width:fit-content}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-dimensions-number-groups{display:flex;flex-direction:row;max-width:300px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-dimensions-number-groups .tf-number{flex:1 1 75px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-dimensions-number-groups .tf-number .tf-number-field{width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-dimensions-number-groups .tf-number input{text-align:left;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-dimensions-number-groups .tf-number-button-group .tf-button-number{padding:0 3px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-dimensions-number-groups-linked .tf-number:not(:first-child){display:none;opacity:.5;pointer-events:none}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-dynamic-text-field{align-items:center;display:flex;gap:8px;position:relative}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-dynamic-text-field .tf-dynamic-text-popover{left:0;position:absolute;top:100%;width:192px;z-index:900}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-dynamic-text-field .tf-dynamic-text-popover .tf-list-box-option:not(.tf-list-box-option-selected,.tf-list-box-option-disabled):hover:after{content:"+";margin-left:auto}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-dynamic-text-item{align-items:center;background-color:#e2e7ff;border:1px solid transparent;border-radius:2px;color:#4b84ce;display:inline-flex;font-size:13px;font-weight:700;gap:.35em;line-height:1.4;margin:0 .15em;padding:.25em .5em}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-dynamic-text-item:before{content:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMSIgaGVpZ2h0PSIxNiIgZmlsbD0ibm9uZSI+PGcgY2xpcC1wYXRoPSJ1cmwoI2EpIj48cGF0aCBmaWxsPSIjMzg1OEU5IiBkPSJNNi44OSA3LjA2MmgzLjE5M2MuMzgxIDAgLjcyNS4yNDQuODM0LjYwN2EuOTEuOTEgMCAwIDEtLjIzIDEuMDM3bC03LjMzMyA2LjU2M2EuOS45IDAgMCAxLTEuMTQzLjA1Mi45NS45NSAwIDAgMS0uMzA0LTEuMTI4bDIuMjA0LTUuMjU2SC44OWMtLjM1NiAwLS42OTgtLjI0My0uODMzLS42MDZhLjk1NS45NTUgMCAwIDEgLjI1NS0xLjAzN0w3LjY0Ni43MzJBLjkuOSAwIDAgMSA4Ljc4OC42NzlhLjk1Ljk1IDAgMCAxIC4zMDQgMS4xMjh6Ii8+PC9nPjxkZWZzPjxjbGlwUGF0aCBpZD0iYSI+PHBhdGggZmlsbD0iI2ZmZiIgZD0iTTAgLjVoMTF2MTVIMHoiLz48L2NsaXBQYXRoPjwvZGVmcz48L3N2Zz4=");line-height:1}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .cm-content[contenteditable=false] .tf-dynamic-text-item{filter:grayscale(1)}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-dynamic-text-input:focus-within{box-shadow:0 0 0 1px #4b84ce;outline:2px solid transparent}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-dynamic-text-input>.cm-editor{padding:0 12px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-dynamic-text-input>.cm-editor.cm-focused{outline:none}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-dynamic-text-input>.cm-editor .cm-scroller{font-family:inherit}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-dynamic-text-input>.cm-editor .cm-content{height:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-editor .ProseMirror ul{list-style-type:disc}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-editor .ProseMirror ol{margin:0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-editor .ProseMirror{line-height:1.2;outline:none;padding:4px 8px 4px 14px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-editor .tf-editor-view-toggle{display:flex;flex-direction:row;justify-content:flex-end;padding-bottom:5px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-editor .tf-editor-view-toggle .tf-button-group{width:-moz-fit-content;width:fit-content}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-file-field{align-items:center;display:flex;flex-wrap:wrap;width:-moz-fit-content;width:fit-content}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-file-text{max-width:192px;overflow:hidden;padding:0 12px;text-overflow:ellipsis}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-file-list{margin-bottom:0;padding:0;width:300px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-file-item{align-items:center;display:flex;flex-wrap:wrap;justify-content:space-between}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-file-item img{max-width:200px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-file-item span{flex-grow:1;overflow:hidden;text-overflow:ellipsis;width:70%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-file-item .tf-button-upload-list{cursor:pointer;font-style:italic;text-decoration:underline}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-gallery-item{align-items:center;display:flex;height:100px;justify-content:center;width:100px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-gallery-item img{border-radius:2px;height:100%;-o-object-fit:cover;object-fit:cover;overflow:hidden;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-gallery__controls{background:#fff;border:1px solid #a7b1bb;border-radius:2px;padding:8px 12px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-gallery-buttons{display:flex;gap:10px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-gradient-container{display:flex;flex-direction:column;position:relative;width:192px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-gradient-input{background:#fff;border:1px solid #8c8f94;border-radius:2px;box-shadow:unset;color:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;height:32px;padding:0 12px;width:192px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-gradient-input::-moz-placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-gradient-input::placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-gradient-settings{padding:10px 12px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-gradient-settings .tf-gradient-settings-row{padding:10px 0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-gradient-popover .tf-dialog{width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-gradient-preview{padding:10px 12px;position:relative}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-gradient-colors{align-items:center;cursor:pointer;display:flex;height:32px;justify-content:space-between;padding:0 12px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-list-container{display:flex;flex-direction:column;gap:8px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-list-items{width:192px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-list-header,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-list-header label,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-list-item{align-items:center;display:flex;justify-content:flex-start}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-list-header{background:#f0f0f0;border:1px solid hsla(218,4%,56%,.5);border-radius:2px;border-bottom-left-radius:0;border-bottom-right-radius:0;padding:0 12px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-list-header label{height:32px;margin:0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-list-item{background:#fff;border:1px solid hsla(218,4%,56%,.5);border-top:none;box-sizing:border-box;height:32px;width:192px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-list-item .tf-list-item-text{flex:1;font-size:inherit;font-weight:inherit;padding:0 12px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-list-item .tf-list-item-actions{display:flex}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-list-search{display:flex;width:192px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-list-search .tf-combo-box{flex:1}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-number input{background:#fff;border:1px solid #8c8f94;border-radius:2px;box-shadow:unset;color:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;height:32px;padding:0 12px;width:192px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-number input::-moz-placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-number input::placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-number .tf-label{display:flex}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-number-field{display:flex;flex-direction:row;flex-wrap:nowrap;position:relative;width:192px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-number[data-enabled=false] .tf-number-field{opacity:.5}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-number-button-group{bottom:1px;display:flex;flex-direction:column;flex-wrap:nowrap;height:auto;padding:0 12px;position:absolute;right:1px;top:1px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-number-button-group .tf-button-number{align-items:center;background-color:#eee;border:0;border-radius:4px;border-radius:0;color:#505050;cursor:pointer;display:flex;height:30px;height:50%;justify-content:center;line-height:0;min-width:2em;padding:0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-number-button-group .tf-button-number:hover{background-color:#e2e2e2}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-number-button-group .tf-button-number:first-child{border-bottom-left-radius:0;border-bottom-right-radius:0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-number-button-group .tf-button-number:last-child{border-top-left-radius:0;border-top-right-radius:0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-radio-group-container{display:flex;flex-direction:column}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-multiple-select,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-select{display:inline-block;position:relative;width:192px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-multiple-select>.tf-label,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-select>.tf-label{display:flex}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-multiple-select__value,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-select__value{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-multiple-select .tf-button-select,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-select .tf-button-select{align-items:center;background:#fff;border:1px solid #8c8f94;border-radius:2px;box-shadow:unset;color:inherit;display:flex;font-style:inherit;font-weight:inherit;height:32px;justify-content:space-between;padding:0 10px;width:192px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-multiple-select .tf-button-select::-moz-placeholder,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-select .tf-button-select::-moz-placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-multiple-select .tf-button-select::placeholder,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-select .tf-button-select::placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-multiple-select .tf-button-select[disabled],body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-select .tf-button-select[disabled]{background:hsla(0,0%,100%,.5);border-color:rgba(0,0,0,.1);color:rgba(0,0,0,.4)}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-multiple-select .tf-select-icon,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-select .tf-select-icon{font-size:10px;padding-left:5px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-multiple-select .tf-button-select,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-select .tf-button-select{cursor:pointer;font-size:inherit}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-simple-dimensions{display:flex;flex-direction:column}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-simple-dimensions .tf-select,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-simple-dimensions .tf-select .tf-button-select{width:auto}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-simple-dimensions-container{display:flex;position:relative;width:-moz-fit-content;width:fit-content}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-switch label{align-items:center;display:flex;justify-content:flex-start}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-switch-element,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-switch-element-selected{display:inline-block;height:32px;position:relative;width:64px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-switch-element span,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-switch-element-selected span{background-color:#ccc;border-radius:32px;bottom:0;cursor:pointer;left:0;position:absolute;right:0;top:0;transition:.4s}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-switch-element span:before,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-switch-element-selected span:before{background-color:#fff;border-radius:50%;bottom:4px;content:"";height:24px;left:4px;position:absolute;transition:.4s;width:24px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-switch-element-selected span{background-color:#4b84ce}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-switch-element-selected span:focus{box-shadow:0 0 1px #4b84ce}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-switch-element-selected span:before{transform:translateX(32px)}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-text{box-sizing:content-box;display:flex;flex-direction:column}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-text input{background:#fff;border:1px solid #8c8f94;border-radius:2px;box-shadow:unset;color:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;height:32px;padding:0 12px;width:192px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-text input::-moz-placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-text input::placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-text-area textarea{background:#fff;border:1px solid #8c8f94;border-radius:2px;box-shadow:unset;color:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;height:32px;height:auto;padding:.6em;width:192px;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-text-area textarea::-moz-placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-text-area textarea::placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-repeater-bulk-actions{align-items:center;background:#fff;border:1px solid #8c8f94;border-radius:2px;display:flex;justify-content:flex-start;margin-bottom:4px;padding:5px 12px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-repeater-bulk-actions>button,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-repeater-bulk-actions>div{margin-right:5px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-repeater-advanced-label-row{box-sizing:border-box;display:flex;gap:8px;justify-content:space-between;padding:8px 12px;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-repeater-advanced-label-row .tf-repeater-advanced-label-row-item{align-items:center;display:flex;flex:1;flex-wrap:wrap;justify-content:flex-start}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-repeater-advanced-label-row .tf-repeater-advanced-label-row-item:first-child{color:#4b84ce;font-weight:700}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-repeater-advanced-label-row .tf-repeater-advanced-label-row-arrow,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-repeater-advanced-label-row .tf-repeater-advanced-label-row-index{width:32px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-repeater-advanced-header{background:#f0f0f0;border:1px solid hsla(218,4%,56%,.5);border-bottom:none;border-radius:2px;border-bottom-left-radius:0;border-bottom-right-radius:0;margin:0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-repeater-advanced-header .tf-repeater-advanced-header-item{color:inherit;display:inline-block;font-size:inherit;font-style:inherit;font-weight:inherit;height:32px;margin-bottom:0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-repeater-advanced-overview{background:#fff}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-repeater-advanced-overview .tf-repeater-advanced-label-row-arrow,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-repeater-advanced-overview .tf-repeater-advanced-label-row-index{height:40px;line-height:40px;text-align:center}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-repeater-advanced-overview .tf-repeater-advanced-label-row-index{background:#f0f0f0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-repeater-advanced-overview .tf-repeater-advanced-label-row-arrow{cursor:pointer}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-repeater-advanced-overview .tf-repeater-advanced-label-row-arrow>div{border:solid;border-color:inherit;border-width:0 1px 1px 0;display:inline-block;height:8px;width:8px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-repeater-advanced-overview .tf-repeater-advanced-overview-item-actions{height:20px;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-repeater-advanced-overview .tf-repeater-advanced-overview-item-actions button{display:none}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-repeater-advanced-overview-item-container{display:flex;flex-direction:column;justify-content:center;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-repeater-advanced-overview-item-fields{display:flex}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-repeater-advanced-overview:hover .tf-repeater-advanced-overview-item-actions button{display:initial}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-repeater-advanced-item .tf-repeater-advanced-overview:hover,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-repeater-advanced-item[data-open=true] .tf-repeater-advanced-overview{background-color:#e2e7ff}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-repeater-advanced-item[data-open=true] .tf-repeater-advanced-label-row-arrow>div{transform:translateY(50%) rotate(-135deg)}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-repeater-advanced-item[data-open=false] .tf-repeater-advanced-label-row-arrow>div{transform:translateY(-50%) rotate(45deg)}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-repeater-advanced-item{background-color:#fff;border:1px solid hsla(218,4%,56%,.5);border-radius:2px;border-radius:0;border-top:none;position:relative}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-repeater-advanced-item[data-open=true]:before{background-color:#4b84ce;content:"";height:100%;left:0;position:absolute;top:0;width:3px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-repeater-advanced-container>.tf-repeater-actions{background-color:#fff;border:1px solid hsla(218,4%,56%,.5);border-radius:2px;border-top:none;border-top-left-radius:0;border-top-right-radius:0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-repeater-advanced-row{margin:16px 32px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-repeater-advanced-row .tf-repeater-advanced-item-field{padding:8px 12px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-repeater-advanced-item-field:has(>div[data-overlay-container=true]:empty){display:none}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-repeater-advanced-item-field:has(input.tf-hidden[type=hidden]){padding:0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-repeater-advanced .tf-repeater-actions{padding:8px 12px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-repeater-bare-items{display:flex;flex-direction:column;row-gap:8px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-repeater-bare-items .tf-repeater-bare-row{display:flex;gap:8px;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-repeater-block-item{background:#fff;border:1px solid #8c8f94;border-radius:2px;display:flex;flex-direction:column;margin-bottom:6px;margin-top:1em;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-repeater-block-item .tf-panel-header .tf-switch-element,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-repeater-block-item .tf-panel-header .tf-switch-element-selected{transform:scale(.7)}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-repeater-block-item-field{padding:1em}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-repeater-block-item-field:has(>div[data-overlay-container=true]:empty){display:none}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-repeater-table-container{border:1px solid hsla(218,4%,56%,.5);border-radius:2px;display:flex;flex-direction:column;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-repeater-table-container .tf-repeater-actions{box-sizing:border-box;justify-content:flex-start;padding:8px 12px;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-repeater-table-container table{padding:0 4px 4px;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-repeater-table-container table th,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-repeater-table-container table tr{min-height:32px;padding:2px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-repeater-table-container table th{height:32px;text-align:left}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-repeater-table-container table td>div{display:flex;justify-content:center;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-repeater-table-container table td>div>div{width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-repeater-table-container .tf-repeater-row-actions{width:1%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-repeater-table-container .tf-repeater-row-actions>div{display:inline-flex;gap:6px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-repeater-actions{display:flex;gap:6px;justify-content:flex-end;padding:2px 2px 4px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-repeater-actions .tf-button-action:last-child{border-color:#cc1818;color:#cc1818}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-repeater-title{color:inherit;display:inline-block;font-size:inherit;font-style:inherit;font-weight:inherit;margin-bottom:6px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-repeater-block-items{margin-bottom:8px;margin-top:8px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-dynamic-wrapper{align-items:center;display:flex;position:relative}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-dynamic-wrapper .tf-dynamic-wrapper-popover{position:absolute;top:100%;width:192px;z-index:900}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-dynamic-wrapper .tf-dynamic-wrapper-popover-form{background:#fff;border:1px solid #8c8f94;padding:0 12px;width:100%;z-index:900}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-dynamic-wrapper .tf-dynamic-wrapper-popover-form>*{margin:12px 0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-dynamic-wrapper .tf-dynamic-wrapper-popover-buttons{display:flex;justify-content:flex-end}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-dynamic-wrapper .tf-dynamic-wrapper-popover-buttons button{margin-left:6px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-dynamic-wrapper.tf-dynamic-wrapper-buttons-outside{gap:8px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-dynamic-wrapper.tf-dynamic-wrapper-buttons-inside{gap:0;width:-moz-fit-content;width:fit-content}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-dynamic-wrapper.tf-dynamic-wrapper-buttons-inside .tf-button-icon{background:transparent;border:none;cursor:pointer;height:32px;position:absolute;right:1px;top:50%;transform:translateY(-50%)}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-dynamic-wrapper.tf-dynamic-wrapper-buttons-inside .tf-button-icon:before{content:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMyIgaGVpZ2h0PSIxNyIgZmlsbD0ibm9uZSI+PHBhdGggZmlsbD0iIzFFMUUxRSIgZD0iTTcuNTIyIDdoMy40ODdjLjQxNiAwIC43OS4yNi45MS42NDdhLjk1Ljk1IDAgMCAxLS4yNSAxLjEwNmwtLjYwMy41MjdhNC41IDQuNSAwIDAgMC01Ljk1NyA1LjIwOGwtMS40NDcgMS4yNjVhMSAxIDAgMCAxLTEuNTgtMS4xNDdMNC40ODkgOUguOTczYS45OTUuOTk1IDAgMCAxLS45MDktLjY0NyAxIDEgMCAwIDEgLjI3OC0xLjEwNmw4LjAwNS03YTEuMDAyIDEuMDAyIDAgMCAxIDEuNTggMS4xNDd6Ii8+PHBhdGggZmlsbD0iIzFFMUUxRSIgZmlsbC1ydWxlPSJldmVub2RkIiBkPSJNOS41IDE3YTMuNSAzLjUgMCAxIDAgMC03IDMuNSAzLjUgMCAwIDAgMCA3bTIuNS0zLjVhLjU3Ny41NzcgMCAwIDEtLjU3Ny41NzdoLTEuMzQ2djEuMzQ2YS41NzcuNTc3IDAgMSAxLTEuMTU0IDB2LTEuMzQ2SDcuNTc3YS41NzcuNTc3IDAgMCAxIDAtMS4xNTRoMS4zNDZ2LTEuMzQ2YS41NzcuNTc3IDAgMSAxIDEuMTU0IDB2MS4zNDZoMS4zNDZjLjMyIDAgLjU3Ny4yNTguNTc3LjU3NyIgY2xpcC1ydWxlPSJldmVub2RkIi8+PC9zdmc+);line-height:1;padding:0 5px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-dynamic-wrapper.tf-dynamic-wrapper-buttons-inside .tf-button-icon.cm-content[contenteditable=false]:before{display:none}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-dynamic-field-wrapper.tf-dynamic-wrapper .tf-dynamic-value-input:disabled{background:hsla(0,0%,100%,.5);border-color:rgba(0,0,0,.1);color:rgba(0,0,0,.4)}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-dynamic-field-wrapper.tf-dynamic-wrapper .tf-button-icon.tf-dynamic-wrapper-clear:before{content:"⨯"}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-dynamic-text-input{background:#fff;border:1px solid #8c8f94;border-radius:2px;box-shadow:unset;color:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;height:32px;padding:0 12px;width:192px;width:168px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-dynamic-text-input::-moz-placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-dynamic-text-input::placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-dynamic-text-input:focus-within{border-color:#4b84ce}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-dynamic-text-input:has(.cm-content[contenteditable=false]){background:hsla(0,0%,100%,.5);border-color:rgba(0,0,0,.1);color:rgba(0,0,0,.4);pointer-events:none}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-dynamic-text-input:has(.cm-content[contenteditable=false]) .tf-dynamic-text-input__affix{border-color:rgba(0,0,0,.1)}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-dynamic-text-input--has-prefix,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-dynamic-text-input--has-suffix{display:flex;height:auto;padding:0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-dynamic-text-input--has-prefix>.cm-editor,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-dynamic-text-input--has-suffix>.cm-editor{flex:1 1 auto;min-height:32px;overflow:hidden}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-dynamic-text-input>.cm-editor{height:100%;justify-content:center;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-dynamic-text-input>.cm-editor .cm-content,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-dynamic-text-input>.cm-editor .cm-line{padding:0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-dynamic-text-input>.cm-editor .cm-content{display:flex;flex-direction:column;justify-content:center}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-dynamic-text-input .tf-dynamic-text-item-delete:before{content:"⨯";cursor:pointer;padding-left:3px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-dynamic-text-input__affix{align-items:center;border:0 solid #8c8f94;display:inline-flex;font-size:.8em;font-weight:700;padding:0 .5em;text-wrap:nowrap}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-dynamic-text-input__affix--prefix{border-right-width:1px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-dynamic-text-input__affix--suffix{border-left-width:1px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-dynamic-text-input:focus-within .tf-dynamic-text-input__affix{border-color:#4b84ce}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-dynamic-wrapper[data-dynamic=true] .cm-editor{padding-right:25px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-dynamic-wrapper[data-dynamic=true] .cm-editor:has(.cm-content[contenteditable=false]){padding-right:0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-dynamic-wrapper[data-dynamic=true] .tf-dynamic-text-input--has-suffix .cm-editor{padding-right:8px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-dynamic-wrapper[data-dynamic=true] .tf-dynamic-text-input__affix--suffix{border-right-width:1px;margin-right:33px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-number-button-group{padding:0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-number-button-group .tf-button-number{background:#eee}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-number-button-group .tf-button-number:hover{background:#e2e2e2;color:#505050}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-editor .ProseMirror-menubar-wrapper{background-color:#fff;border:2px solid rgba(0,0,0,.2);height:auto;overflow:unset;position:relative}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-editor .ProseMirror-menubar-spacer{height:auto!important}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-editor .ProseMirror-menubar{background:#fff;border-bottom:2px solid rgba(0,0,0,.2);color:inherit;left:0!important;min-height:60px!important;position:absolute!important;top:0!important}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-editor .ProseMirror.ProseMirror-example-setup-style{margin-bottom:0;margin-top:63px;max-height:100px;min-height:60px;overflow:auto}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-gallery__controls{min-height:32px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-gallery-preview{display:flex;flex-wrap:wrap}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-gallery-item{height:75px;width:75px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-gallery-buttons{margin-top:12px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-radio-group-container{gap:4px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-radio{align-items:center;display:inline-flex;gap:4px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-dimensions-number-groups{max-width:250px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-dimensions-number-groups .tf-number-field>input{padding:0 6px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-field-group-item{margin:12px 0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-checkbox>.tf-label{align-items:center;display:flex}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-panel .tf-panel-header.tf-button-action:hover{background:#e2e2e2;color:#505050}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-button-action,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-button-danger,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-button-primary{height:32px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-dynamic-text-input{padding:0;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-dynamic-text-input>.cm-editor ::-webkit-scrollbar{height:10px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-dynamic-text-input>.cm-editor ::-webkit-scrollbar-thumb{background:#d3d3d3;border-radius:5px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-dynamic-text-input>.cm-editor .cm-line{height:1.5em}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-switch .tf-switch-label{max-width:-moz-max-content;max-width:max-content}@media (prefers-color-scheme:dark){body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-button-action,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-button-danger,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-button-primary{align-items:center;background:#34383c;border:1px solid #64666a;border-radius:4px;color:#fff;cursor:pointer;display:flex;height:30px;justify-content:center;padding:0 12px;width:-moz-fit-content;width:fit-content}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-button-action:hover,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-button-danger:hover,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-button-primary:hover{background:#64666a;color:#fff}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-button-danger{border-color:#cc1818;color:#cc1818}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-button-primary{background-color:#4b84ce;color:inherit}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-button-action[disabled],body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-button-danger[disabled],body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-button-icon-trash[disabled],body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-button-primary[disabled],body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-button-text-action[disabled],body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-button-text-danger[disabled],body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-button-text-primary[disabled]{cursor:not-allowed;opacity:.5;pointer-events:none}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-button-action:focus{outline:none}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-button-text-action,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-button-text-danger,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-button-text-primary{background:transparent;border:none;cursor:pointer;display:inline}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-button-text-action:hover,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-button-text-danger:hover,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-button-text-primary:hover{font-weight:700}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-button-text-action{color:#fff}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-button-text-danger{color:#cc1818}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-button-text-primary{color:#4b84ce}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-button-icon-trash{align-items:center;background:transparent;border:none;cursor:pointer;display:flex;height:32px;justify-content:center;width:32px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-button-icon-trash:after{content:url('data:image/svg+xml;utf8,')}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-button-icon-eye{align-items:center;background:transparent;border:none;cursor:pointer;display:flex;height:32px;justify-content:center;width:32px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-button-icon-eye:after{content:url('data:image/svg+xml;utf8,')}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dialog .tf-title{display:flex}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dialog .tf-title h4{margin:0;padding:12px 0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-panel{background:#34383c;border:1px solid #64666a;display:flex;flex-direction:column;margin-bottom:8px;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-panel-header{align-items:center;cursor:pointer;display:flex;height:32px;justify-content:space-between;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-panel-header.tf-button-action{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:0;border-radius:0;box-sizing:border-box;color:inherit;cursor:pointer;display:flex;font-family:inherit;font-size:100%;height:32px;justify-content:space-between;line-height:1.15;margin:0;padding:8px 12px;text-align:left;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-panel-header.tf-button-action:hover{background:#f0f0f0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-panel-open .tf-panel-header.tf-button-action{border-bottom:1px solid #64666a}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-panel-header-before-title,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-panel-header-left,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-panel-header-right,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-panel-header-title{align-items:center;display:flex;justify-content:flex-start;padding:0 12px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-panel-header-left{padding-left:0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-panel-content,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-panel-footer{padding:4px 12px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-panel-closed .tf-panel-content{display:none}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-panel-footer{border-top:1px solid #64666a}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-panel-footer{display:flex;gap:8px;justify-content:flex-end;padding:1em}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-panel-arrow{border:solid;border-color:inherit;border-width:0 1px 1px 0;display:inline-block;height:8px;width:8px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-panel-open .tf-panel-arrow{transform:translateY(50%) rotate(-135deg)}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-panel-closed .tf-panel-arrow{transform:translateY(-50%) rotate(45deg)}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-label{color:inherit;display:inline-block;font-size:inherit;font-style:inherit;font-weight:inherit;margin-bottom:6px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-description{color:inherit;font-size:inherit;font-style:inherit;font-weight:inherit}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-list-box{background:#34383c;list-style:none;margin:5px 0;max-height:300px;max-width:100%;min-width:100%;overflow-y:auto;padding:0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-list-box-option{background:transparent;border-radius:2px;cursor:pointer;display:flex;font-size:13px;gap:8px;margin:0 5px;outline:none;padding:5px 9px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-list-box-option:not(.tf-list-box-option-selected,.tf-list-box-option-disabled):hover{color:#4b84ce}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-list-box-option-selected,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-list-box-option-selected.tf-list-box-option-selected{background-color:#4b84ce;color:#34383c}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-list-box-option-selected.tf-list-box-option-selected:hover,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-list-box-option-selected:hover{color:#34383c}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-list-box-option-selected.tf-list-box-option-selected:after,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-list-box-option-selected:after{content:"✓";margin-left:auto}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-list-box-option-disabled{color:#aaa;cursor:default}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-list-box-option-focus{box-shadow:inset 0 0 0 2px;color:#4b84ce}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-list-box-section-separator:not(:first-child){border-top:1px solid #8c8f94;margin:12px 0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-list-box-section>span{color:#7d8690;display:block;font-size:11px;font-weight:500;line-height:1.45;margin:0 10px;padding:5px 9px;text-transform:uppercase}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-list-box-section>ul{list-style:none;padding:0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-modal{align-items:center;background:rgba(0,0,0,.7);bottom:0;display:flex;justify-content:center;left:0;position:fixed;right:0;top:0;z-index:9990}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-modal .tf-modal-container{background:#34383c;border:1px solid #64666a;border-radius:2px;padding:2rem}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-modal-actions{display:flex;justify-content:flex-end;padding-top:12px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-modal-actions button{margin-left:12px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-notice{background:#fff;box-shadow:0 1px 1px rgba(0,0,0,.04);color:#000;margin-top:4px;padding:1px 12px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-notice.tf-is-dismissible{padding-right:38px;position:relative}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-notice.tf-error{border-left:4px solid #d63638}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-notice.tf-success{border-left:4px solid #00a32a}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-notice.tf-warning{border-left-color:#dba617}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-notice.tf-info{border-left-color:#72aee6}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-notice-dismiss{background:none;border:none;color:#787c82;cursor:pointer;margin:0;padding:9px;position:absolute;right:1px;top:0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-notice-dismiss:active:before,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-notice-dismiss:focus:before,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-notice-dismiss:hover:before{color:#d63638}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-notice-dismiss:focus{box-shadow:0 0 0 1px #4f94d4,0 0 2px 1px rgba(79,148,212,.8);outline:none}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-notice-dismiss:before{background:none;color:#787c82;content:"\f153";display:block;font:normal 16px/20px dashicons;height:20px;text-align:center;width:20px;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-underlay{inset:0;position:fixed}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-popover{background:#34383c;color:inherit;z-index:900}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-tooltip-trigger-content{cursor:context-menu;position:relative;width:-moz-fit-content;width:fit-content}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-tooltip{cursor:default;display:inline-block;max-width:150px;position:absolute;visibility:hidden;width:-moz-max-content;width:max-content;z-index:1}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-tooltip-top{bottom:100%;left:50%;margin-bottom:12px;transform:translateX(-50%)}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-tooltip-bottom{left:50%;margin-top:12px;top:100%;transform:translateX(-50%)}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-tooltip-start{margin-right:12px;right:100%;top:50%;transform:translateY(-50%)}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-tooltip-end{left:100%;margin-left:12px;top:50%;transform:translateY(-50%)}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-tooltip-content{border-radius:3px;font-size:12px;padding:6px 12px;text-align:center;word-break:normal}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-tooltip-content.light{background-color:#e6e6e6;color:hsla(0,4%,5%,.945);--tf-tooltip-after-color:#e6e6e6}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-tooltip-content.dark{background-color:hsla(0,4%,5%,.945);color:#e6e6e6;--tf-tooltip-after-color:hsla(0,4%,5%,.945)}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-tooltip-content:after{border-style:solid;border-width:7px;content:" ";position:absolute}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-tooltip-content-top:after{border-color:var(--tf-tooltip-after-color,transparent) transparent transparent transparent;left:50%;margin-left:-7px;top:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-tooltip-content-bottom:after{border-color:transparent transparent var(--tf-tooltip-after-color,transparent) transparent;bottom:100%;left:50%;margin-left:-7px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-tooltip-content-start:after{border-color:transparent transparent transparent var(--tf-tooltip-after-color,transparent);left:100%;margin-top:-7px;top:50%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-tooltip-content-end:after{border-color:transparent var(--tf-tooltip-after-color,transparent) transparent transparent;margin-top:-7px;right:100%;top:50%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-tooltip-trigger-content:hover .tf-tooltip{visibility:visible}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-conditional-group-actions{align-items:center;display:flex;gap:8px;padding:8px 0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-conditional-group-actions strong{text-transform:uppercase}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-conditional-panel-condition-actions{display:flex;gap:4px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-conditional-panel-condition-actions .tf-button-action:first-child{text-transform:uppercase}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-conditional-panel-condition-actions .tf-button-danger:last-child{position:relative}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-conditional-panel-condition-actions .tf-button-danger:last-child:before{background-color:#cc1818;content:"";height:1px;position:absolute;width:100%;width:10px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-accordion .tf-switch-element,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-accordion .tf-switch-element-selected{transform:scale(.7)}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-alignment-matrix-container{display:grid;grid-template-columns:repeat(3,1fr);height:50px;margin:5px;width:50px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-border-dimensions-container{margin:0 0 5px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-button-group .tf-button-group-option{align-items:center;background:#34383c;border:1px solid #64666a;border-radius:4px;border-radius:0;color:#fff;color:#4b84ce;cursor:pointer;display:inline-flex;height:30px;margin:0;padding:0 12px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-button-group .tf-button-group-option:hover{background:#64666a;color:#fff}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-button-group .tf-button-group-option:first-child{border-bottom-left-radius:4px;border-top-left-radius:4px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-button-group .tf-button-group-option:not(:first-child){margin-left:-1px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-button-group .tf-button-group-option:last-child{border-bottom-right-radius:4px;border-top-right-radius:4px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-button-group .tf-button-group-option.tf-button-group-option-selected{background:#4b84ce;border-color:#4b84ce;color:#34383c}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-button-group .tf-button-group-option:focus-within{position:relative;z-index:1}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-button-group .tf-button-group-option .dashicons{align-items:center;display:flex;justify-content:center}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-button-group-container[aria-disabled=true] .tf-button-group-option{opacity:.5;pointer-events:none}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-checkbox .tf-label{font-size:13px;font-weight:400;margin-bottom:revert;text-transform:none}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-checkbox input[type=checkbox]{border:1px solid;border-color:inherit;border-radius:2px;box-shadow:0 0 0 transparent;margin-right:6px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-checkbox input[type=checkbox]:focus{border-color:#4b84ce;box-shadow:0 0 0 1px #4b84ce;outline:2px solid transparent}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-checkbox input[type=checkbox]:checked{background:#4b84ce;border-color:#4b84ce;color:#fff}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-checkbox input[type=checkbox]:checked:before{content:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGFyaWEtaGlkZGVuPSJ0cnVlIiBjbGFzcz0iY29tcG9uZW50cy1jaGVja2JveC1jb250cm9sX19jaGVja2VkIiB2aWV3Qm94PSIwIDAgMjQgMjQiPjxwYXRoIGZpbGw9IiNmZmYiIGQ9Im0xNi43IDcuMS02LjMgOC41LTMuMy0yLjUtLjkgMS4yIDQuNSAzLjRMMTcuOSA4eiIvPjwvc3ZnPg==")}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-checkbox input[type=checkbox]:indeterminate{background:#4b84ce;border-color:#4b84ce;color:#fff}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-checkbox input[type=checkbox]:indeterminate:before{content:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGFyaWEtaGlkZGVuPSJ0cnVlIiBjbGFzcz0iY29tcG9uZW50cy1jaGVja2JveC1jb250cm9sX19pbmRldGVybWluYXRlIiB2aWV3Qm94PSIwIDAgMjQgMjQiPjxwYXRoIGZpbGw9IiNmZmYiIGQ9Ik03IDExLjVoMTBWMTNIN3oiLz48L3N2Zz4=")}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-color-area,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-color-area-gradient{height:150px;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-color-area-thumb{border:2px solid #fff;border-radius:50%;box-shadow:0 0 0 1px #000,inset 0 0 0 1px #000;height:20px;top:50%;width:20px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-color-container{position:relative;width:-moz-fit-content;width:fit-content}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-color-container input{background:#34383c;border:1px solid #64666a;border-radius:2px;box-shadow:unset;color:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;height:32px;padding:0 12px;width:192px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-color-container input::-moz-placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-color-container input::placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-color-picker{background:#34383c;border:1px solid #64666a;width:100%;z-index:900}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-color-picker .tf-color-area{display:flex;justify-content:center;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-color-picker .tf-color-area .tf-color-area-thumb{transform:translate(-50%,-50%)!important}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-color-picker .tf-color-input{display:flex;flex-direction:column;padding:10px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-color-picker .tf-color-sliders{padding:0 12px 10px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-color-input>input{width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-color-slider{align-items:center;display:flex;flex-direction:column;padding-bottom:5px;padding-top:5px;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-color-slider-label{align-self:stretch;display:flex}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-color-slider-label output{flex:1 0 auto;text-align:end}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-color-slider-container{border:1px solid #64666a;border-radius:10px;height:20px;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-combo-box{display:flex;flex-direction:column;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-combo-box-text{background:#34383c;border:1px solid #64666a;border-radius:2px;box-shadow:unset;color:inherit;display:flex;flex-wrap:nowrap;font-size:inherit;font-style:inherit;font-weight:inherit;height:32px;justify-content:space-between;padding:0;position:relative;width:192px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-combo-box-text::-moz-placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-combo-box-text::placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-combo-box-text input{border:0;box-shadow:none;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-combo-box-text input:focus{box-shadow:none}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-combo-box-text .tf-button-action{background:#34383c;background:none;border:0;border-radius:4px;color:#fff;cursor:pointer;height:30px;max-height:30px;padding:0 12px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-combo-box-text .tf-button-action:hover{background:#64666a;color:#fff}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-combo-box-text .tf-button-action span{padding:0 2px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-combo-box-text:focus-within{border-color:#4b84ce;box-shadow:0 0 0 1px #4b84ce;outline:2px solid transparent}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-combo-box-item{align-items:center;background-color:#e2e7ff;border:1px solid transparent;border-radius:2px;box-sizing:border-box;color:#4b84ce;display:inline-flex;font-size:13px;font-weight:700;gap:.35em;line-height:1.4;max-width:100%;padding:.25em .5em}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-combo-box-item span:first-child{flex:1 1 auto;padding-right:5px;text-overflow:ellipsis}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-combo-box-item button:last-child{background-color:transparent;border:none;color:#4b84ce;cursor:pointer}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-combo-box-item button:last-child:focus{outline:none}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-multiple-combobox-container{display:flex;gap:8px;position:relative}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-multiple-combobox-container>.tf-popover{left:0;position:absolute;top:100%;width:192px;z-index:900}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-multiple-combobox-container>.tf-popover .tf-combo-box{width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-multiple-combobox-container>.tf-popover .tf-list-box-option:not(.tf-list-box-option-selected,.tf-list-box-option-disabled):hover:after{content:"+";margin-left:auto}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-multiple-combobox{position:relative}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-multiple-combobox>.tf-label{display:flex}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-multiple-combobox-values{align-items:center;background-color:#34383c;border:1px solid #64666a;border-radius:2px;box-sizing:border-box;display:flex;flex-wrap:wrap;gap:8px;min-height:32px;padding:0 12px;width:192px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-multiple-combobox[data-enabled=false] .tf-multiple-combobox-values{opacity:.5}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-combo-box-popover.tf-popover{border:1px solid #4b84ce;border-bottom-left-radius:2px;border-bottom-right-radius:2px;box-shadow:0 0 0 1px #4b84ce;margin-left:-2px;outline:2px solid transparent}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-date-picker{align-items:flex-start;display:flex;flex-direction:column}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-popover{border:1px solid #64666a;border-radius:2px;display:flex;justify-content:center;width:auto}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-popover .tf-calendar{padding:20px;width:-moz-fit-content;width:fit-content}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-popover .tf-calendar-month{text-align:center}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-popover .tf-calendar-buttons{align-items:center;display:flex;justify-content:space-between}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-popover .tf-calendar-buttons button{background:#34383c;border:1px solid #64666a;border-radius:4px;color:#fff;cursor:pointer;height:30px;padding:0 12px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-popover .tf-calendar-buttons button:hover{background:#64666a;color:#fff}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-popover .tf-calendar-tables{display:flex}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-popover .tf-calendar-table{padding:10px;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-popover .tf-calendar-table td{text-align:center}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-popover .tf-calendar-presets{display:flex;gap:.25rem}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-popover .tf-calendar-presets button{background:#34383c;border:1px solid #64666a;border-radius:4px;color:#fff;cursor:pointer;height:30px;padding:0 12px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-popover .tf-calendar-presets button:hover{background:#64666a;color:#fff}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-popover .tf-calendar-cell{border-radius:100%;cursor:pointer;height:2em;line-height:2em;width:2em}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-popover .tf-calendar-cell.tf-calendar-cell-disabled,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-popover .tf-calendar-cell.tf-calendar-cell-unavailable{cursor:not-allowed;opacity:.5}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-popover .tf-calendar-cell:not(.tf-calendar-cell-disabled,.tf-calendar-cell-unavailable,.tf-calendar-cell-selected):hover{color:#4b84ce}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-popover .tf-calendar-cell.tf-calendar-cell-selected{background-color:#4b84ce;color:#fff}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-date-group{align-items:center;display:flex;gap:8px;justify-content:flex-start}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-date-group .tf-button-action{height:32px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-date-field-container{width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-date-field{align-items:center;background:#34383c;border:1px solid #64666a;border-radius:2px;box-shadow:unset;color:inherit;display:inline-flex;font-size:inherit;font-style:inherit;font-weight:inherit;height:32px;justify-content:center;padding:0 12px;width:192px;width:168px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-date-field::-moz-placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-date-field::placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-date-field:focus-within{border-color:#4b84ce}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-date-segment{font-variant-numeric:tabular-nums;padding:0 2px;text-align:end}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-date-segment:focus{background:#4b84ce;border-radius:2px;color:#fff;outline:none}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-date-segment span{display:none}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-date-segment-placeholder span{display:flex}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dimensions{display:flex;flex-direction:column}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dimensions .tf-select,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dimensions .tf-select .tf-button-select{width:auto}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dimensions-container{display:flex;flex-wrap:wrap;position:relative;width:-moz-fit-content;width:fit-content}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dimensions-number-groups{display:flex;flex-direction:row;max-width:300px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dimensions-number-groups .tf-number{flex:1 1 75px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dimensions-number-groups .tf-number .tf-number-field{width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dimensions-number-groups .tf-number input{text-align:left;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dimensions-number-groups .tf-number-button-group .tf-button-number{padding:0 3px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dimensions-number-groups-linked .tf-number:not(:first-child){display:none;opacity:.5;pointer-events:none}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-text-field{align-items:center;display:flex;gap:8px;position:relative}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-text-field .tf-dynamic-text-popover{left:0;position:absolute;top:100%;width:192px;z-index:900}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-text-field .tf-dynamic-text-popover .tf-list-box-option:not(.tf-list-box-option-selected,.tf-list-box-option-disabled):hover:after{content:"+";margin-left:auto}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-text-item{align-items:center;background-color:#e2e7ff;border:1px solid transparent;border-radius:2px;color:#4b84ce;display:inline-flex;font-size:13px;font-weight:700;gap:.35em;line-height:1.4;margin:0 .15em;padding:.25em .5em}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-text-item:before{content:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMSIgaGVpZ2h0PSIxNiIgZmlsbD0ibm9uZSI+PGcgY2xpcC1wYXRoPSJ1cmwoI2EpIj48cGF0aCBmaWxsPSIjMzg1OEU5IiBkPSJNNi44OSA3LjA2MmgzLjE5M2MuMzgxIDAgLjcyNS4yNDQuODM0LjYwN2EuOTEuOTEgMCAwIDEtLjIzIDEuMDM3bC03LjMzMyA2LjU2M2EuOS45IDAgMCAxLTEuMTQzLjA1Mi45NS45NSAwIDAgMS0uMzA0LTEuMTI4bDIuMjA0LTUuMjU2SC44OWMtLjM1NiAwLS42OTgtLjI0My0uODMzLS42MDZhLjk1NS45NTUgMCAwIDEgLjI1NS0xLjAzN0w3LjY0Ni43MzJBLjkuOSAwIDAgMSA4Ljc4OC42NzlhLjk1Ljk1IDAgMCAxIC4zMDQgMS4xMjh6Ii8+PC9nPjxkZWZzPjxjbGlwUGF0aCBpZD0iYSI+PHBhdGggZmlsbD0iI2ZmZiIgZD0iTTAgLjVoMTF2MTVIMHoiLz48L2NsaXBQYXRoPjwvZGVmcz48L3N2Zz4=");line-height:1}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .cm-content[contenteditable=false] .tf-dynamic-text-item{filter:grayscale(1)}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-text-input:focus-within{box-shadow:0 0 0 1px #4b84ce;outline:2px solid transparent}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-text-input>.cm-editor{padding:0 12px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-text-input>.cm-editor.cm-focused{outline:none}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-text-input>.cm-editor .cm-scroller{font-family:inherit}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-text-input>.cm-editor .cm-content{height:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-editor .ProseMirror ul{list-style-type:disc}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-editor .ProseMirror ol{margin:0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-editor .ProseMirror{line-height:1.2;outline:none;padding:4px 8px 4px 14px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-editor .tf-editor-view-toggle{display:flex;flex-direction:row;justify-content:flex-end;padding-bottom:5px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-editor .tf-editor-view-toggle .tf-button-group{width:-moz-fit-content;width:fit-content}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-file-field{align-items:center;display:flex;flex-wrap:wrap;width:-moz-fit-content;width:fit-content}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-file-text{max-width:192px;overflow:hidden;padding:0 12px;text-overflow:ellipsis}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-file-list{margin-bottom:0;padding:0;width:300px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-file-item{align-items:center;display:flex;flex-wrap:wrap;justify-content:space-between}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-file-item img{max-width:200px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-file-item span{flex-grow:1;overflow:hidden;text-overflow:ellipsis;width:70%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-file-item .tf-button-upload-list{cursor:pointer;font-style:italic;text-decoration:underline}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-gallery-item{align-items:center;display:flex;height:100px;justify-content:center;width:100px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-gallery-item img{border-radius:2px;height:100%;-o-object-fit:cover;object-fit:cover;overflow:hidden;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-gallery__controls{background:#34383c;border:1px solid #64666a;padding:8px 12px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-gallery-buttons{display:flex;gap:10px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-gradient-container{display:flex;flex-direction:column;position:relative;width:192px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-gradient-input{background:#34383c;border:1px solid #64666a;border-radius:2px;box-shadow:unset;color:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;height:32px;padding:0 12px;width:192px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-gradient-input::-moz-placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-gradient-input::placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-gradient-settings{padding:10px 12px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-gradient-settings .tf-gradient-settings-row{padding:10px 0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-gradient-popover .tf-dialog{width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-gradient-preview{padding:10px 12px;position:relative}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-gradient-colors{align-items:center;cursor:pointer;display:flex;height:32px;justify-content:space-between;padding:0 12px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-list-container{display:flex;flex-direction:column;gap:8px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-list-items{width:192px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-list-header,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-list-header label,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-list-item{align-items:center;display:flex;justify-content:flex-start}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-list-header{background:#f0f0f0;border:1px solid hsla(218,4%,56%,.5);border-radius:2px;border-bottom-left-radius:0;border-bottom-right-radius:0;padding:0 12px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-list-header label{height:32px;margin:0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-list-item{background:#34383c;border:1px solid hsla(218,4%,56%,.5);border-top:none;box-sizing:border-box;height:32px;width:192px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-list-item .tf-list-item-text{flex:1;font-size:inherit;font-weight:inherit;padding:0 12px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-list-item .tf-list-item-actions{display:flex}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-list-search{display:flex;width:192px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-list-search .tf-combo-box{flex:1}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-number input{background:#34383c;border:1px solid #64666a;border-radius:2px;box-shadow:unset;color:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;height:32px;padding:0 12px;width:192px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-number input::-moz-placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-number input::placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-number .tf-label{display:flex}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-number-field{display:flex;flex-direction:row;flex-wrap:nowrap;position:relative;width:192px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-number[data-enabled=false] .tf-number-field{opacity:.5}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-number-button-group{bottom:1px;display:flex;flex-direction:column;flex-wrap:nowrap;height:auto;padding:0 12px;position:absolute;right:1px;top:1px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-number-button-group .tf-button-number{align-items:center;background-color:#eee;border:0;border-radius:4px;border-radius:0;color:#fff;cursor:pointer;display:flex;height:30px;height:50%;justify-content:center;line-height:0;min-width:2em;padding:0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-number-button-group .tf-button-number:hover{background-color:#e2e2e2}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-number-button-group .tf-button-number:first-child{border-bottom-left-radius:0;border-bottom-right-radius:0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-number-button-group .tf-button-number:last-child{border-top-left-radius:0;border-top-right-radius:0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-radio-group-container{display:flex;flex-direction:column}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-multiple-select,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-select{display:inline-block;position:relative;width:192px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-multiple-select>.tf-label,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-select>.tf-label{display:flex}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-multiple-select__value,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-select__value{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-multiple-select .tf-button-select,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-select .tf-button-select{align-items:center;background:#34383c;border:1px solid #64666a;border-radius:2px;box-shadow:unset;color:inherit;display:flex;font-style:inherit;font-weight:inherit;height:32px;justify-content:space-between;padding:0 10px;width:192px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-multiple-select .tf-button-select::-moz-placeholder,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-select .tf-button-select::-moz-placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-multiple-select .tf-button-select::placeholder,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-select .tf-button-select::placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-multiple-select .tf-button-select[disabled],body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-select .tf-button-select[disabled]{background:hsla(0,0%,100%,.5);border-color:rgba(0,0,0,.1);color:rgba(0,0,0,.4)}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-multiple-select .tf-select-icon,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-select .tf-select-icon{font-size:10px;padding-left:5px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-multiple-select .tf-button-select,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-select .tf-button-select{cursor:pointer;font-size:inherit}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-simple-dimensions{display:flex;flex-direction:column}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-simple-dimensions .tf-select,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-simple-dimensions .tf-select .tf-button-select{width:auto}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-simple-dimensions-container{display:flex;position:relative;width:-moz-fit-content;width:fit-content}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-switch label{align-items:center;display:flex;justify-content:flex-start}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-switch-element,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-switch-element-selected{display:inline-block;height:32px;position:relative;width:64px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-switch-element span,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-switch-element-selected span{background-color:#ccc;border-radius:32px;bottom:0;cursor:pointer;left:0;position:absolute;right:0;top:0;transition:.4s}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-switch-element span:before,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-switch-element-selected span:before{background-color:#34383c;border-radius:50%;bottom:4px;content:"";height:24px;left:4px;position:absolute;transition:.4s;width:24px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-switch-element-selected span{background-color:#4b84ce}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-switch-element-selected span:focus{box-shadow:0 0 1px #4b84ce}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-switch-element-selected span:before{transform:translateX(32px)}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-text{box-sizing:content-box;display:flex;flex-direction:column}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-text input{background:#34383c;border:1px solid #64666a;border-radius:2px;box-shadow:unset;color:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;height:32px;padding:0 12px;width:192px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-text input::-moz-placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-text input::placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-text-area textarea{background:#34383c;border:1px solid #64666a;border-radius:2px;box-shadow:unset;color:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;height:32px;height:auto;padding:.6em;width:192px;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-text-area textarea::-moz-placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-text-area textarea::placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-bulk-actions{align-items:center;background:#34383c;border:1px solid #64666a;border-radius:2px;display:flex;justify-content:flex-start;margin-bottom:4px;padding:5px 12px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-bulk-actions>button,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-bulk-actions>div{margin-right:5px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-advanced-label-row{box-sizing:border-box;display:flex;gap:8px;justify-content:space-between;padding:8px 12px;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-advanced-label-row .tf-repeater-advanced-label-row-item{align-items:center;display:flex;flex:1;flex-wrap:wrap;justify-content:flex-start}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-advanced-label-row .tf-repeater-advanced-label-row-item:first-child{color:#4b84ce;font-weight:700}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-advanced-label-row .tf-repeater-advanced-label-row-arrow,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-advanced-label-row .tf-repeater-advanced-label-row-index{width:32px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-advanced-header{background:#f0f0f0;border:1px solid hsla(218,4%,56%,.5);border-bottom:none;border-radius:2px;border-bottom-left-radius:0;border-bottom-right-radius:0;margin:0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-advanced-header .tf-repeater-advanced-header-item{color:inherit;display:inline-block;font-size:inherit;font-style:inherit;font-weight:inherit;height:32px;margin-bottom:0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-advanced-overview{background:#34383c}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-advanced-overview .tf-repeater-advanced-label-row-arrow,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-advanced-overview .tf-repeater-advanced-label-row-index{height:40px;line-height:40px;text-align:center}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-advanced-overview .tf-repeater-advanced-label-row-index{background:#f0f0f0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-advanced-overview .tf-repeater-advanced-label-row-arrow{cursor:pointer}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-advanced-overview .tf-repeater-advanced-label-row-arrow>div{border:solid;border-color:inherit;border-width:0 1px 1px 0;display:inline-block;height:8px;width:8px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-advanced-overview .tf-repeater-advanced-overview-item-actions{height:20px;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-advanced-overview .tf-repeater-advanced-overview-item-actions button{display:none}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-advanced-overview-item-container{display:flex;flex-direction:column;justify-content:center;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-advanced-overview-item-fields{display:flex}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-advanced-overview:hover .tf-repeater-advanced-overview-item-actions button{display:initial}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-advanced-item .tf-repeater-advanced-overview:hover,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-advanced-item[data-open=true] .tf-repeater-advanced-overview{background-color:#e2e7ff}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-advanced-item[data-open=true] .tf-repeater-advanced-label-row-arrow>div{transform:translateY(50%) rotate(-135deg)}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-advanced-item[data-open=false] .tf-repeater-advanced-label-row-arrow>div{transform:translateY(-50%) rotate(45deg)}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-advanced-item{background-color:#34383c;border:1px solid hsla(218,4%,56%,.5);border-radius:2px;border-radius:0;border-top:none;position:relative}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-advanced-item[data-open=true]:before{background-color:#4b84ce;content:"";height:100%;left:0;position:absolute;top:0;width:3px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-advanced-container>.tf-repeater-actions{background-color:#34383c;border:1px solid hsla(218,4%,56%,.5);border-radius:2px;border-top:none;border-top-left-radius:0;border-top-right-radius:0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-advanced-row{margin:16px 32px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-advanced-row .tf-repeater-advanced-item-field{padding:8px 12px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-advanced-item-field:has(>div[data-overlay-container=true]:empty){display:none}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-advanced-item-field:has(input.tf-hidden[type=hidden]){padding:0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-advanced .tf-repeater-actions{padding:8px 12px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-bare-items{display:flex;flex-direction:column;row-gap:8px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-bare-items .tf-repeater-bare-row{display:flex;gap:8px;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-block-item{background:#34383c;border:1px solid #64666a;border-radius:2px;display:flex;flex-direction:column;margin-bottom:6px;margin-top:1em;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-block-item .tf-panel-header .tf-switch-element,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-block-item .tf-panel-header .tf-switch-element-selected{transform:scale(.7)}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-block-item-field{padding:1em}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-block-item-field:has(>div[data-overlay-container=true]:empty){display:none}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-table-container{border:1px solid hsla(218,4%,56%,.5);border-radius:2px;display:flex;flex-direction:column;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-table-container .tf-repeater-actions{box-sizing:border-box;justify-content:flex-start;padding:8px 12px;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-table-container table{padding:0 4px 4px;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-table-container table th,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-table-container table tr{min-height:32px;padding:2px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-table-container table th{height:32px;text-align:left}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-table-container table td>div{display:flex;justify-content:center;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-table-container table td>div>div{width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-table-container .tf-repeater-row-actions{width:1%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-table-container .tf-repeater-row-actions>div{display:inline-flex;gap:6px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-actions{display:flex;gap:6px;justify-content:flex-end;padding:2px 2px 4px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-actions .tf-button-action:last-child{border-color:#cc1818;color:#cc1818}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-title{color:inherit;display:inline-block;font-size:inherit;font-style:inherit;font-weight:inherit;margin-bottom:6px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-block-items{margin-bottom:8px;margin-top:8px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-wrapper{align-items:center;display:flex;position:relative}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-wrapper .tf-dynamic-wrapper-popover{position:absolute;top:100%;width:192px;z-index:900}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-wrapper .tf-dynamic-wrapper-popover-form{background:#34383c;border:1px solid #64666a;padding:0 12px;width:100%;z-index:900}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-wrapper .tf-dynamic-wrapper-popover-form>*{margin:12px 0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-wrapper .tf-dynamic-wrapper-popover-buttons{display:flex;justify-content:flex-end}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-wrapper .tf-dynamic-wrapper-popover-buttons button{margin-left:6px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-wrapper.tf-dynamic-wrapper-buttons-outside{gap:8px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-wrapper.tf-dynamic-wrapper-buttons-inside{gap:0;width:-moz-fit-content;width:fit-content}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-wrapper.tf-dynamic-wrapper-buttons-inside .tf-button-icon{background:transparent;border:none;cursor:pointer;height:32px;position:absolute;right:1px;top:50%;transform:translateY(-50%)}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-wrapper.tf-dynamic-wrapper-buttons-inside .tf-button-icon:before{content:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMyIgaGVpZ2h0PSIxNyIgZmlsbD0ibm9uZSI+PHBhdGggZmlsbD0iIzFFMUUxRSIgZD0iTTcuNTIyIDdoMy40ODdjLjQxNiAwIC43OS4yNi45MS42NDdhLjk1Ljk1IDAgMCAxLS4yNSAxLjEwNmwtLjYwMy41MjdhNC41IDQuNSAwIDAgMC01Ljk1NyA1LjIwOGwtMS40NDcgMS4yNjVhMSAxIDAgMCAxLTEuNTgtMS4xNDdMNC40ODkgOUguOTczYS45OTUuOTk1IDAgMCAxLS45MDktLjY0NyAxIDEgMCAwIDEgLjI3OC0xLjEwNmw4LjAwNS03YTEuMDAyIDEuMDAyIDAgMCAxIDEuNTggMS4xNDd6Ii8+PHBhdGggZmlsbD0iIzFFMUUxRSIgZmlsbC1ydWxlPSJldmVub2RkIiBkPSJNOS41IDE3YTMuNSAzLjUgMCAxIDAgMC03IDMuNSAzLjUgMCAwIDAgMCA3bTIuNS0zLjVhLjU3Ny41NzcgMCAwIDEtLjU3Ny41NzdoLTEuMzQ2djEuMzQ2YS41NzcuNTc3IDAgMSAxLTEuMTU0IDB2LTEuMzQ2SDcuNTc3YS41NzcuNTc3IDAgMCAxIDAtMS4xNTRoMS4zNDZ2LTEuMzQ2YS41NzcuNTc3IDAgMSAxIDEuMTU0IDB2MS4zNDZoMS4zNDZjLjMyIDAgLjU3Ny4yNTguNTc3LjU3NyIgY2xpcC1ydWxlPSJldmVub2RkIi8+PC9zdmc+);line-height:1;padding:0 5px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-wrapper.tf-dynamic-wrapper-buttons-inside .tf-button-icon.cm-content[contenteditable=false]:before{display:none}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-field-wrapper.tf-dynamic-wrapper .tf-dynamic-value-input:disabled{background:hsla(0,0%,100%,.5);border-color:rgba(0,0,0,.1);color:rgba(0,0,0,.4)}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-field-wrapper.tf-dynamic-wrapper .tf-button-icon.tf-dynamic-wrapper-clear:before{content:"⨯"}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-text-input{background:#34383c;border:1px solid #64666a;border-radius:2px;box-shadow:unset;color:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;height:32px;padding:0 12px;width:192px;width:168px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-text-input::-moz-placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-text-input::placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-text-input:focus-within{border-color:#4b84ce}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-text-input:has(.cm-content[contenteditable=false]){background:hsla(0,0%,100%,.5);border-color:rgba(0,0,0,.1);color:rgba(0,0,0,.4);pointer-events:none}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-text-input:has(.cm-content[contenteditable=false]) .tf-dynamic-text-input__affix{border-color:rgba(0,0,0,.1)}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-text-input--has-prefix,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-text-input--has-suffix{display:flex;height:auto;padding:0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-text-input--has-prefix>.cm-editor,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-text-input--has-suffix>.cm-editor{flex:1 1 auto;min-height:32px;overflow:hidden}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-text-input>.cm-editor{height:100%;justify-content:center;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-text-input>.cm-editor .cm-content,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-text-input>.cm-editor .cm-line{padding:0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-text-input>.cm-editor .cm-content{display:flex;flex-direction:column;justify-content:center}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-text-input .tf-dynamic-text-item-delete:before{content:"⨯";cursor:pointer;padding-left:3px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-text-input__affix{align-items:center;border:0 solid #8c8f94;display:inline-flex;font-size:.8em;font-weight:700;padding:0 .5em;text-wrap:nowrap}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-text-input__affix--prefix{border-right-width:1px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-text-input__affix--suffix{border-left-width:1px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-text-input:focus-within .tf-dynamic-text-input__affix{border-color:#4b84ce}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-wrapper[data-dynamic=true] .cm-editor{padding-right:25px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-wrapper[data-dynamic=true] .cm-editor:has(.cm-content[contenteditable=false]){padding-right:0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-wrapper[data-dynamic=true] .tf-dynamic-text-input--has-suffix .cm-editor{padding-right:8px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-wrapper[data-dynamic=true] .tf-dynamic-text-input__affix--suffix{border-right-width:1px;margin-right:33px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-number-button-group{padding:0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-number-button-group .tf-button-number{background:#34383c}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-number-button-group .tf-button-number:hover{background:#64666a;color:#fff}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-editor .ProseMirror-menubar-wrapper{background-color:#34383c;border:2px solid hsla(0,0%,100%,.2);height:auto;overflow:unset;position:relative}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-editor .ProseMirror-menubar-spacer{height:auto!important}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-editor .ProseMirror-menubar{background:#34383c;border-bottom:2px solid hsla(0,0%,100%,.2);color:inherit;left:0!important;min-height:60px!important;position:absolute!important;top:0!important}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-editor .ProseMirror.ProseMirror-example-setup-style{margin-bottom:0;margin-top:63px;max-height:100px;min-height:60px;overflow:auto}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-gallery__controls{min-height:32px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-gallery-preview{display:flex;flex-wrap:wrap}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-gallery-item{height:75px;width:75px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-gallery-buttons{margin-top:12px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-radio-group-container{gap:4px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-radio{align-items:center;display:inline-flex;gap:4px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dimensions-number-groups{max-width:250px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dimensions-number-groups .tf-number-field>input{padding:0 6px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-field-group-item{margin:12px 0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-checkbox>.tf-label{align-items:center;display:flex}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-panel .tf-panel-header.tf-button-action:hover{background:#64666a;color:#fff}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-button-action,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-button-danger,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-button-primary{height:32px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-text-input{padding:0;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-text-input>.cm-editor ::-webkit-scrollbar{height:10px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-text-input>.cm-editor ::-webkit-scrollbar-thumb{background:#64666a;border-radius:5px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-text-input>.cm-editor .cm-line{height:1.5em}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-switch .tf-switch-label{max-width:-moz-max-content;max-width:max-content}}@media (prefers-color-scheme:light){body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-button-action,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-button-danger,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-button-primary{align-items:center;background:#eee;border:1px solid #d3d3d3;border-radius:4px;color:#505050;cursor:pointer;display:flex;height:30px;justify-content:center;padding:0 12px;width:-moz-fit-content;width:fit-content}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-button-action:hover,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-button-danger:hover,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-button-primary:hover{background:#e2e2e2;color:#505050}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-button-danger{border-color:#cc1818;color:#cc1818}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-button-primary{background-color:#4b84ce;color:inherit}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-button-action[disabled],body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-button-danger[disabled],body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-button-icon-trash[disabled],body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-button-primary[disabled],body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-button-text-action[disabled],body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-button-text-danger[disabled],body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-button-text-primary[disabled]{cursor:not-allowed;opacity:.5;pointer-events:none}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-button-action:focus{outline:none}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-button-text-action,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-button-text-danger,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-button-text-primary{background:transparent;border:none;cursor:pointer;display:inline}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-button-text-action:hover,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-button-text-danger:hover,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-button-text-primary:hover{font-weight:700}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-button-text-action{color:#505050}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-button-text-danger{color:#cc1818}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-button-text-primary{color:#4b84ce}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-button-icon-trash{align-items:center;background:transparent;border:none;cursor:pointer;display:flex;height:32px;justify-content:center;width:32px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-button-icon-trash:after{content:url('data:image/svg+xml;utf8,')}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-button-icon-eye{align-items:center;background:transparent;border:none;cursor:pointer;display:flex;height:32px;justify-content:center;width:32px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-button-icon-eye:after{content:url('data:image/svg+xml;utf8,')}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dialog .tf-title{display:flex}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dialog .tf-title h4{margin:0;padding:12px 0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-panel{background:#fff;border:1px solid #a7b1bb;border-radius:2px;display:flex;flex-direction:column;margin-bottom:8px;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-panel-header{align-items:center;cursor:pointer;display:flex;height:32px;justify-content:space-between;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-panel-header.tf-button-action{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:0;border-radius:0;box-sizing:border-box;color:inherit;cursor:pointer;display:flex;font-family:inherit;font-size:100%;height:32px;justify-content:space-between;line-height:1.15;margin:0;padding:8px 12px;text-align:left;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-panel-header.tf-button-action:hover{background:#f0f0f0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-panel-open .tf-panel-header.tf-button-action{border-bottom:1px solid #a7b1bb}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-panel-header-before-title,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-panel-header-left,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-panel-header-right,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-panel-header-title{align-items:center;display:flex;justify-content:flex-start;padding:0 12px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-panel-header-left{padding-left:0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-panel-content,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-panel-footer{padding:4px 12px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-panel-closed .tf-panel-content{display:none}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-panel-footer{border-top:1px solid #a7b1bb}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-panel-footer{display:flex;gap:8px;justify-content:flex-end;padding:1em}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-panel-arrow{border:solid;border-color:inherit;border-width:0 1px 1px 0;display:inline-block;height:8px;width:8px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-panel-open .tf-panel-arrow{transform:translateY(50%) rotate(-135deg)}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-panel-closed .tf-panel-arrow{transform:translateY(-50%) rotate(45deg)}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-label{color:inherit;display:inline-block;font-size:inherit;font-style:inherit;font-weight:inherit;margin-bottom:6px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-description{color:inherit;font-size:inherit;font-style:inherit;font-weight:inherit}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-list-box{background:#fff;list-style:none;margin:5px 0;max-height:300px;max-width:100%;min-width:100%;overflow-y:auto;padding:0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-list-box-option{background:transparent;border-radius:2px;cursor:pointer;display:flex;font-size:13px;gap:8px;margin:0 5px;outline:none;padding:5px 9px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-list-box-option:not(.tf-list-box-option-selected,.tf-list-box-option-disabled):hover{color:#4b84ce}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-list-box-option-selected,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-list-box-option-selected.tf-list-box-option-selected{background-color:#4b84ce;color:#fff}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-list-box-option-selected.tf-list-box-option-selected:hover,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-list-box-option-selected:hover{color:#fff}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-list-box-option-selected.tf-list-box-option-selected:after,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-list-box-option-selected:after{content:"✓";margin-left:auto}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-list-box-option-disabled{color:#aaa;cursor:default}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-list-box-option-focus{box-shadow:inset 0 0 0 2px;color:#4b84ce}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-list-box-section-separator:not(:first-child){border-top:1px solid #8c8f94;margin:12px 0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-list-box-section>span{color:#7d8690;display:block;font-size:11px;font-weight:500;line-height:1.45;margin:0 10px;padding:5px 9px;text-transform:uppercase}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-list-box-section>ul{list-style:none;padding:0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-modal{align-items:center;background:rgba(0,0,0,.7);bottom:0;display:flex;justify-content:center;left:0;position:fixed;right:0;top:0;z-index:9990}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-modal .tf-modal-container{background:#fff;border:1px solid #8c8f94;border-radius:2px;padding:2rem}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-modal-actions{display:flex;justify-content:flex-end;padding-top:12px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-modal-actions button{margin-left:12px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-notice{background:#fff;box-shadow:0 1px 1px rgba(0,0,0,.04);color:#000;margin-top:4px;padding:1px 12px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-notice.tf-is-dismissible{padding-right:38px;position:relative}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-notice.tf-error{border-left:4px solid #d63638}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-notice.tf-success{border-left:4px solid #00a32a}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-notice.tf-warning{border-left-color:#dba617}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-notice.tf-info{border-left-color:#72aee6}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-notice-dismiss{background:none;border:none;color:#787c82;cursor:pointer;margin:0;padding:9px;position:absolute;right:1px;top:0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-notice-dismiss:active:before,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-notice-dismiss:focus:before,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-notice-dismiss:hover:before{color:#d63638}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-notice-dismiss:focus{box-shadow:0 0 0 1px #4f94d4,0 0 2px 1px rgba(79,148,212,.8);outline:none}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-notice-dismiss:before{background:none;color:#787c82;content:"\f153";display:block;font:normal 16px/20px dashicons;height:20px;text-align:center;width:20px;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-underlay{inset:0;position:fixed}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-popover{background:#fff;color:inherit;z-index:900}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-tooltip-trigger-content{cursor:context-menu;position:relative;width:-moz-fit-content;width:fit-content}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-tooltip{cursor:default;display:inline-block;max-width:150px;position:absolute;visibility:hidden;width:-moz-max-content;width:max-content;z-index:1}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-tooltip-top{bottom:100%;left:50%;margin-bottom:12px;transform:translateX(-50%)}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-tooltip-bottom{left:50%;margin-top:12px;top:100%;transform:translateX(-50%)}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-tooltip-start{margin-right:12px;right:100%;top:50%;transform:translateY(-50%)}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-tooltip-end{left:100%;margin-left:12px;top:50%;transform:translateY(-50%)}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-tooltip-content{border-radius:3px;font-size:12px;padding:6px 12px;text-align:center;word-break:normal}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-tooltip-content.light{background-color:#e6e6e6;color:hsla(0,4%,5%,.945);--tf-tooltip-after-color:#e6e6e6}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-tooltip-content.dark{background-color:hsla(0,4%,5%,.945);color:#e6e6e6;--tf-tooltip-after-color:hsla(0,4%,5%,.945)}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-tooltip-content:after{border-style:solid;border-width:7px;content:" ";position:absolute}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-tooltip-content-top:after{border-color:var(--tf-tooltip-after-color,transparent) transparent transparent transparent;left:50%;margin-left:-7px;top:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-tooltip-content-bottom:after{border-color:transparent transparent var(--tf-tooltip-after-color,transparent) transparent;bottom:100%;left:50%;margin-left:-7px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-tooltip-content-start:after{border-color:transparent transparent transparent var(--tf-tooltip-after-color,transparent);left:100%;margin-top:-7px;top:50%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-tooltip-content-end:after{border-color:transparent var(--tf-tooltip-after-color,transparent) transparent transparent;margin-top:-7px;right:100%;top:50%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-tooltip-trigger-content:hover .tf-tooltip{visibility:visible}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-conditional-group-actions{align-items:center;display:flex;gap:8px;padding:8px 0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-conditional-group-actions strong{text-transform:uppercase}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-conditional-panel-condition-actions{display:flex;gap:4px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-conditional-panel-condition-actions .tf-button-action:first-child{text-transform:uppercase}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-conditional-panel-condition-actions .tf-button-danger:last-child{position:relative}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-conditional-panel-condition-actions .tf-button-danger:last-child:before{background-color:#cc1818;content:"";height:1px;position:absolute;width:100%;width:10px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-accordion .tf-switch-element,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-accordion .tf-switch-element-selected{transform:scale(.7)}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-alignment-matrix-container{display:grid;grid-template-columns:repeat(3,1fr);height:50px;margin:5px;width:50px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-border-dimensions-container{margin:0 0 5px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-button-group .tf-button-group-option{align-items:center;background:#eee;border:1px solid #d3d3d3;border-radius:4px;border-radius:0;color:#505050;color:#4b84ce;cursor:pointer;display:inline-flex;height:30px;margin:0;padding:0 12px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-button-group .tf-button-group-option:hover{background:#e2e2e2;color:#505050}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-button-group .tf-button-group-option:first-child{border-bottom-left-radius:4px;border-top-left-radius:4px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-button-group .tf-button-group-option:not(:first-child){margin-left:-1px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-button-group .tf-button-group-option:last-child{border-bottom-right-radius:4px;border-top-right-radius:4px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-button-group .tf-button-group-option.tf-button-group-option-selected{background:#4b84ce;border-color:#4b84ce;color:#fff}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-button-group .tf-button-group-option:focus-within{position:relative;z-index:1}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-button-group .tf-button-group-option .dashicons{align-items:center;display:flex;justify-content:center}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-button-group-container[aria-disabled=true] .tf-button-group-option{opacity:.5;pointer-events:none}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-checkbox .tf-label{font-size:13px;font-weight:400;margin-bottom:revert;text-transform:none}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-checkbox input[type=checkbox]{border:1px solid;border-color:inherit;border-radius:2px;box-shadow:0 0 0 transparent;margin-right:6px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-checkbox input[type=checkbox]:focus{border-color:#4b84ce;box-shadow:0 0 0 1px #4b84ce;outline:2px solid transparent}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-checkbox input[type=checkbox]:checked{background:#4b84ce;border-color:#4b84ce;color:#fff}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-checkbox input[type=checkbox]:checked:before{content:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGFyaWEtaGlkZGVuPSJ0cnVlIiBjbGFzcz0iY29tcG9uZW50cy1jaGVja2JveC1jb250cm9sX19jaGVja2VkIiB2aWV3Qm94PSIwIDAgMjQgMjQiPjxwYXRoIGZpbGw9IiNmZmYiIGQ9Im0xNi43IDcuMS02LjMgOC41LTMuMy0yLjUtLjkgMS4yIDQuNSAzLjRMMTcuOSA4eiIvPjwvc3ZnPg==")}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-checkbox input[type=checkbox]:indeterminate{background:#4b84ce;border-color:#4b84ce;color:#fff}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-checkbox input[type=checkbox]:indeterminate:before{content:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGFyaWEtaGlkZGVuPSJ0cnVlIiBjbGFzcz0iY29tcG9uZW50cy1jaGVja2JveC1jb250cm9sX19pbmRldGVybWluYXRlIiB2aWV3Qm94PSIwIDAgMjQgMjQiPjxwYXRoIGZpbGw9IiNmZmYiIGQ9Ik03IDExLjVoMTBWMTNIN3oiLz48L3N2Zz4=")}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-color-area,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-color-area-gradient{height:150px;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-color-area-thumb{border:2px solid #fff;border-radius:50%;box-shadow:0 0 0 1px #000,inset 0 0 0 1px #000;height:20px;top:50%;width:20px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-color-container{position:relative;width:-moz-fit-content;width:fit-content}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-color-container input{background:#fff;border:1px solid #8c8f94;border-radius:2px;box-shadow:unset;color:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;height:32px;padding:0 12px;width:192px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-color-container input::-moz-placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-color-container input::placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-color-picker{background:#fff;border:1px solid #8c8f94;width:100%;z-index:900}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-color-picker .tf-color-area{display:flex;justify-content:center;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-color-picker .tf-color-area .tf-color-area-thumb{transform:translate(-50%,-50%)!important}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-color-picker .tf-color-input{display:flex;flex-direction:column;padding:10px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-color-picker .tf-color-sliders{padding:0 12px 10px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-color-input>input{width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-color-slider{align-items:center;display:flex;flex-direction:column;padding-bottom:5px;padding-top:5px;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-color-slider-label{align-self:stretch;display:flex}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-color-slider-label output{flex:1 0 auto;text-align:end}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-color-slider-container{border:1px solid #8c8f94;border-radius:10px;height:20px;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-combo-box{display:flex;flex-direction:column;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-combo-box-text{background:#fff;border:1px solid #8c8f94;border-radius:2px;box-shadow:unset;color:inherit;display:flex;flex-wrap:nowrap;font-size:inherit;font-style:inherit;font-weight:inherit;height:32px;justify-content:space-between;padding:0;position:relative;width:192px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-combo-box-text::-moz-placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-combo-box-text::placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-combo-box-text input{border:0;box-shadow:none;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-combo-box-text input:focus{box-shadow:none}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-combo-box-text .tf-button-action{background:#eee;background:none;border:0;border-radius:4px;color:#505050;cursor:pointer;height:30px;max-height:30px;padding:0 12px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-combo-box-text .tf-button-action:hover{background:#e2e2e2;color:#505050}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-combo-box-text .tf-button-action span{padding:0 2px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-combo-box-text:focus-within{border-color:#4b84ce;box-shadow:0 0 0 1px #4b84ce;outline:2px solid transparent}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-combo-box-item{align-items:center;background-color:#e2e7ff;border:1px solid transparent;border-radius:2px;box-sizing:border-box;color:#4b84ce;display:inline-flex;font-size:13px;font-weight:700;gap:.35em;line-height:1.4;max-width:100%;padding:.25em .5em}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-combo-box-item span:first-child{flex:1 1 auto;padding-right:5px;text-overflow:ellipsis}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-combo-box-item button:last-child{background-color:transparent;border:none;color:#4b84ce;cursor:pointer}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-combo-box-item button:last-child:focus{outline:none}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-multiple-combobox-container{display:flex;gap:8px;position:relative}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-multiple-combobox-container>.tf-popover{left:0;position:absolute;top:100%;width:192px;z-index:900}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-multiple-combobox-container>.tf-popover .tf-combo-box{width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-multiple-combobox-container>.tf-popover .tf-list-box-option:not(.tf-list-box-option-selected,.tf-list-box-option-disabled):hover:after{content:"+";margin-left:auto}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-multiple-combobox{position:relative}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-multiple-combobox>.tf-label{display:flex}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-multiple-combobox-values{align-items:center;background-color:#fff;border:1px solid #8c8f94;border-radius:2px;box-sizing:border-box;display:flex;flex-wrap:wrap;gap:8px;min-height:32px;padding:0 12px;width:192px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-multiple-combobox[data-enabled=false] .tf-multiple-combobox-values{opacity:.5}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-combo-box-popover.tf-popover{border:1px solid #4b84ce;border-bottom-left-radius:2px;border-bottom-right-radius:2px;box-shadow:0 0 0 1px #4b84ce;margin-left:-2px;outline:2px solid transparent}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-date-picker{align-items:flex-start;display:flex;flex-direction:column}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-popover{border:1px solid #8c8f94;border-radius:2px;display:flex;justify-content:center;width:auto}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-popover .tf-calendar{padding:20px;width:-moz-fit-content;width:fit-content}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-popover .tf-calendar-month{text-align:center}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-popover .tf-calendar-buttons{align-items:center;display:flex;justify-content:space-between}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-popover .tf-calendar-buttons button{background:#eee;border:1px solid #d3d3d3;border-radius:4px;color:#505050;cursor:pointer;height:30px;padding:0 12px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-popover .tf-calendar-buttons button:hover{background:#e2e2e2;color:#505050}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-popover .tf-calendar-tables{display:flex}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-popover .tf-calendar-table{padding:10px;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-popover .tf-calendar-table td{text-align:center}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-popover .tf-calendar-presets{display:flex;gap:.25rem}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-popover .tf-calendar-presets button{background:#eee;border:1px solid #d3d3d3;border-radius:4px;color:#505050;cursor:pointer;height:30px;padding:0 12px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-popover .tf-calendar-presets button:hover{background:#e2e2e2;color:#505050}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-popover .tf-calendar-cell{border-radius:100%;cursor:pointer;height:2em;line-height:2em;width:2em}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-popover .tf-calendar-cell.tf-calendar-cell-disabled,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-popover .tf-calendar-cell.tf-calendar-cell-unavailable{cursor:not-allowed;opacity:.5}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-popover .tf-calendar-cell:not(.tf-calendar-cell-disabled,.tf-calendar-cell-unavailable,.tf-calendar-cell-selected):hover{color:#4b84ce}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-popover .tf-calendar-cell.tf-calendar-cell-selected{background-color:#4b84ce;color:#fff}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-date-group{align-items:center;display:flex;gap:8px;justify-content:flex-start}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-date-group .tf-button-action{height:32px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-date-field-container{width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-date-field{align-items:center;background:#fff;border:1px solid #8c8f94;border-radius:2px;box-shadow:unset;color:inherit;display:inline-flex;font-size:inherit;font-style:inherit;font-weight:inherit;height:32px;justify-content:center;padding:0 12px;width:192px;width:168px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-date-field::-moz-placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-date-field::placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-date-field:focus-within{border-color:#4b84ce}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-date-segment{font-variant-numeric:tabular-nums;padding:0 2px;text-align:end}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-date-segment:focus{background:#4b84ce;border-radius:2px;color:#fff;outline:none}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-date-segment span{display:none}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-date-segment-placeholder span{display:flex}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dimensions{display:flex;flex-direction:column}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dimensions .tf-select,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dimensions .tf-select .tf-button-select{width:auto}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dimensions-container{display:flex;flex-wrap:wrap;position:relative;width:-moz-fit-content;width:fit-content}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dimensions-number-groups{display:flex;flex-direction:row;max-width:300px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dimensions-number-groups .tf-number{flex:1 1 75px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dimensions-number-groups .tf-number .tf-number-field{width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dimensions-number-groups .tf-number input{text-align:left;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dimensions-number-groups .tf-number-button-group .tf-button-number{padding:0 3px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dimensions-number-groups-linked .tf-number:not(:first-child){display:none;opacity:.5;pointer-events:none}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-text-field{align-items:center;display:flex;gap:8px;position:relative}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-text-field .tf-dynamic-text-popover{left:0;position:absolute;top:100%;width:192px;z-index:900}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-text-field .tf-dynamic-text-popover .tf-list-box-option:not(.tf-list-box-option-selected,.tf-list-box-option-disabled):hover:after{content:"+";margin-left:auto}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-text-item{align-items:center;background-color:#e2e7ff;border:1px solid transparent;border-radius:2px;color:#4b84ce;display:inline-flex;font-size:13px;font-weight:700;gap:.35em;line-height:1.4;margin:0 .15em;padding:.25em .5em}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-text-item:before{content:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMSIgaGVpZ2h0PSIxNiIgZmlsbD0ibm9uZSI+PGcgY2xpcC1wYXRoPSJ1cmwoI2EpIj48cGF0aCBmaWxsPSIjMzg1OEU5IiBkPSJNNi44OSA3LjA2MmgzLjE5M2MuMzgxIDAgLjcyNS4yNDQuODM0LjYwN2EuOTEuOTEgMCAwIDEtLjIzIDEuMDM3bC03LjMzMyA2LjU2M2EuOS45IDAgMCAxLTEuMTQzLjA1Mi45NS45NSAwIDAgMS0uMzA0LTEuMTI4bDIuMjA0LTUuMjU2SC44OWMtLjM1NiAwLS42OTgtLjI0My0uODMzLS42MDZhLjk1NS45NTUgMCAwIDEgLjI1NS0xLjAzN0w3LjY0Ni43MzJBLjkuOSAwIDAgMSA4Ljc4OC42NzlhLjk1Ljk1IDAgMCAxIC4zMDQgMS4xMjh6Ii8+PC9nPjxkZWZzPjxjbGlwUGF0aCBpZD0iYSI+PHBhdGggZmlsbD0iI2ZmZiIgZD0iTTAgLjVoMTF2MTVIMHoiLz48L2NsaXBQYXRoPjwvZGVmcz48L3N2Zz4=");line-height:1}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .cm-content[contenteditable=false] .tf-dynamic-text-item{filter:grayscale(1)}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-text-input:focus-within{box-shadow:0 0 0 1px #4b84ce;outline:2px solid transparent}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-text-input>.cm-editor{padding:0 12px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-text-input>.cm-editor.cm-focused{outline:none}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-text-input>.cm-editor .cm-scroller{font-family:inherit}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-text-input>.cm-editor .cm-content{height:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-editor .ProseMirror ul{list-style-type:disc}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-editor .ProseMirror ol{margin:0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-editor .ProseMirror{line-height:1.2;outline:none;padding:4px 8px 4px 14px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-editor .tf-editor-view-toggle{display:flex;flex-direction:row;justify-content:flex-end;padding-bottom:5px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-editor .tf-editor-view-toggle .tf-button-group{width:-moz-fit-content;width:fit-content}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-file-field{align-items:center;display:flex;flex-wrap:wrap;width:-moz-fit-content;width:fit-content}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-file-text{max-width:192px;overflow:hidden;padding:0 12px;text-overflow:ellipsis}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-file-list{margin-bottom:0;padding:0;width:300px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-file-item{align-items:center;display:flex;flex-wrap:wrap;justify-content:space-between}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-file-item img{max-width:200px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-file-item span{flex-grow:1;overflow:hidden;text-overflow:ellipsis;width:70%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-file-item .tf-button-upload-list{cursor:pointer;font-style:italic;text-decoration:underline}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-gallery-item{align-items:center;display:flex;height:100px;justify-content:center;width:100px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-gallery-item img{border-radius:2px;height:100%;-o-object-fit:cover;object-fit:cover;overflow:hidden;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-gallery__controls{background:#fff;border:1px solid #a7b1bb;border-radius:2px;padding:8px 12px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-gallery-buttons{display:flex;gap:10px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-gradient-container{display:flex;flex-direction:column;position:relative;width:192px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-gradient-input{background:#fff;border:1px solid #8c8f94;border-radius:2px;box-shadow:unset;color:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;height:32px;padding:0 12px;width:192px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-gradient-input::-moz-placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-gradient-input::placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-gradient-settings{padding:10px 12px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-gradient-settings .tf-gradient-settings-row{padding:10px 0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-gradient-popover .tf-dialog{width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-gradient-preview{padding:10px 12px;position:relative}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-gradient-colors{align-items:center;cursor:pointer;display:flex;height:32px;justify-content:space-between;padding:0 12px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-list-container{display:flex;flex-direction:column;gap:8px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-list-items{width:192px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-list-header,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-list-header label,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-list-item{align-items:center;display:flex;justify-content:flex-start}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-list-header{background:#f0f0f0;border:1px solid hsla(218,4%,56%,.5);border-radius:2px;border-bottom-left-radius:0;border-bottom-right-radius:0;padding:0 12px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-list-header label{height:32px;margin:0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-list-item{background:#fff;border:1px solid hsla(218,4%,56%,.5);border-top:none;box-sizing:border-box;height:32px;width:192px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-list-item .tf-list-item-text{flex:1;font-size:inherit;font-weight:inherit;padding:0 12px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-list-item .tf-list-item-actions{display:flex}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-list-search{display:flex;width:192px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-list-search .tf-combo-box{flex:1}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-number input{background:#fff;border:1px solid #8c8f94;border-radius:2px;box-shadow:unset;color:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;height:32px;padding:0 12px;width:192px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-number input::-moz-placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-number input::placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-number .tf-label{display:flex}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-number-field{display:flex;flex-direction:row;flex-wrap:nowrap;position:relative;width:192px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-number[data-enabled=false] .tf-number-field{opacity:.5}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-number-button-group{bottom:1px;display:flex;flex-direction:column;flex-wrap:nowrap;height:auto;padding:0 12px;position:absolute;right:1px;top:1px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-number-button-group .tf-button-number{align-items:center;background-color:#eee;border:0;border-radius:4px;border-radius:0;color:#505050;cursor:pointer;display:flex;height:30px;height:50%;justify-content:center;line-height:0;min-width:2em;padding:0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-number-button-group .tf-button-number:hover{background-color:#e2e2e2}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-number-button-group .tf-button-number:first-child{border-bottom-left-radius:0;border-bottom-right-radius:0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-number-button-group .tf-button-number:last-child{border-top-left-radius:0;border-top-right-radius:0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-radio-group-container{display:flex;flex-direction:column}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-multiple-select,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-select{display:inline-block;position:relative;width:192px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-multiple-select>.tf-label,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-select>.tf-label{display:flex}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-multiple-select__value,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-select__value{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-multiple-select .tf-button-select,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-select .tf-button-select{align-items:center;background:#fff;border:1px solid #8c8f94;border-radius:2px;box-shadow:unset;color:inherit;display:flex;font-style:inherit;font-weight:inherit;height:32px;justify-content:space-between;padding:0 10px;width:192px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-multiple-select .tf-button-select::-moz-placeholder,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-select .tf-button-select::-moz-placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-multiple-select .tf-button-select::placeholder,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-select .tf-button-select::placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-multiple-select .tf-button-select[disabled],body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-select .tf-button-select[disabled]{background:hsla(0,0%,100%,.5);border-color:rgba(0,0,0,.1);color:rgba(0,0,0,.4)}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-multiple-select .tf-select-icon,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-select .tf-select-icon{font-size:10px;padding-left:5px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-multiple-select .tf-button-select,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-select .tf-button-select{cursor:pointer;font-size:inherit}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-simple-dimensions{display:flex;flex-direction:column}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-simple-dimensions .tf-select,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-simple-dimensions .tf-select .tf-button-select{width:auto}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-simple-dimensions-container{display:flex;position:relative;width:-moz-fit-content;width:fit-content}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-switch label{align-items:center;display:flex;justify-content:flex-start}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-switch-element,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-switch-element-selected{display:inline-block;height:32px;position:relative;width:64px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-switch-element span,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-switch-element-selected span{background-color:#ccc;border-radius:32px;bottom:0;cursor:pointer;left:0;position:absolute;right:0;top:0;transition:.4s}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-switch-element span:before,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-switch-element-selected span:before{background-color:#fff;border-radius:50%;bottom:4px;content:"";height:24px;left:4px;position:absolute;transition:.4s;width:24px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-switch-element-selected span{background-color:#4b84ce}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-switch-element-selected span:focus{box-shadow:0 0 1px #4b84ce}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-switch-element-selected span:before{transform:translateX(32px)}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-text{box-sizing:content-box;display:flex;flex-direction:column}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-text input{background:#fff;border:1px solid #8c8f94;border-radius:2px;box-shadow:unset;color:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;height:32px;padding:0 12px;width:192px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-text input::-moz-placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-text input::placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-text-area textarea{background:#fff;border:1px solid #8c8f94;border-radius:2px;box-shadow:unset;color:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;height:32px;height:auto;padding:.6em;width:192px;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-text-area textarea::-moz-placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-text-area textarea::placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-bulk-actions{align-items:center;background:#fff;border:1px solid #8c8f94;border-radius:2px;display:flex;justify-content:flex-start;margin-bottom:4px;padding:5px 12px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-bulk-actions>button,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-bulk-actions>div{margin-right:5px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-advanced-label-row{box-sizing:border-box;display:flex;gap:8px;justify-content:space-between;padding:8px 12px;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-advanced-label-row .tf-repeater-advanced-label-row-item{align-items:center;display:flex;flex:1;flex-wrap:wrap;justify-content:flex-start}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-advanced-label-row .tf-repeater-advanced-label-row-item:first-child{color:#4b84ce;font-weight:700}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-advanced-label-row .tf-repeater-advanced-label-row-arrow,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-advanced-label-row .tf-repeater-advanced-label-row-index{width:32px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-advanced-header{background:#f0f0f0;border:1px solid hsla(218,4%,56%,.5);border-bottom:none;border-radius:2px;border-bottom-left-radius:0;border-bottom-right-radius:0;margin:0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-advanced-header .tf-repeater-advanced-header-item{color:inherit;display:inline-block;font-size:inherit;font-style:inherit;font-weight:inherit;height:32px;margin-bottom:0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-advanced-overview{background:#fff}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-advanced-overview .tf-repeater-advanced-label-row-arrow,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-advanced-overview .tf-repeater-advanced-label-row-index{height:40px;line-height:40px;text-align:center}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-advanced-overview .tf-repeater-advanced-label-row-index{background:#f0f0f0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-advanced-overview .tf-repeater-advanced-label-row-arrow{cursor:pointer}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-advanced-overview .tf-repeater-advanced-label-row-arrow>div{border:solid;border-color:inherit;border-width:0 1px 1px 0;display:inline-block;height:8px;width:8px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-advanced-overview .tf-repeater-advanced-overview-item-actions{height:20px;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-advanced-overview .tf-repeater-advanced-overview-item-actions button{display:none}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-advanced-overview-item-container{display:flex;flex-direction:column;justify-content:center;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-advanced-overview-item-fields{display:flex}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-advanced-overview:hover .tf-repeater-advanced-overview-item-actions button{display:initial}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-advanced-item .tf-repeater-advanced-overview:hover,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-advanced-item[data-open=true] .tf-repeater-advanced-overview{background-color:#e2e7ff}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-advanced-item[data-open=true] .tf-repeater-advanced-label-row-arrow>div{transform:translateY(50%) rotate(-135deg)}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-advanced-item[data-open=false] .tf-repeater-advanced-label-row-arrow>div{transform:translateY(-50%) rotate(45deg)}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-advanced-item{background-color:#fff;border:1px solid hsla(218,4%,56%,.5);border-radius:2px;border-radius:0;border-top:none;position:relative}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-advanced-item[data-open=true]:before{background-color:#4b84ce;content:"";height:100%;left:0;position:absolute;top:0;width:3px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-advanced-container>.tf-repeater-actions{background-color:#fff;border:1px solid hsla(218,4%,56%,.5);border-radius:2px;border-top:none;border-top-left-radius:0;border-top-right-radius:0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-advanced-row{margin:16px 32px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-advanced-row .tf-repeater-advanced-item-field{padding:8px 12px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-advanced-item-field:has(>div[data-overlay-container=true]:empty){display:none}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-advanced-item-field:has(input.tf-hidden[type=hidden]){padding:0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-advanced .tf-repeater-actions{padding:8px 12px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-bare-items{display:flex;flex-direction:column;row-gap:8px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-bare-items .tf-repeater-bare-row{display:flex;gap:8px;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-block-item{background:#fff;border:1px solid #8c8f94;border-radius:2px;display:flex;flex-direction:column;margin-bottom:6px;margin-top:1em;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-block-item .tf-panel-header .tf-switch-element,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-block-item .tf-panel-header .tf-switch-element-selected{transform:scale(.7)}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-block-item-field{padding:1em}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-block-item-field:has(>div[data-overlay-container=true]:empty){display:none}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-table-container{border:1px solid hsla(218,4%,56%,.5);border-radius:2px;display:flex;flex-direction:column;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-table-container .tf-repeater-actions{box-sizing:border-box;justify-content:flex-start;padding:8px 12px;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-table-container table{padding:0 4px 4px;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-table-container table th,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-table-container table tr{min-height:32px;padding:2px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-table-container table th{height:32px;text-align:left}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-table-container table td>div{display:flex;justify-content:center;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-table-container table td>div>div{width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-table-container .tf-repeater-row-actions{width:1%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-table-container .tf-repeater-row-actions>div{display:inline-flex;gap:6px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-actions{display:flex;gap:6px;justify-content:flex-end;padding:2px 2px 4px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-actions .tf-button-action:last-child{border-color:#cc1818;color:#cc1818}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-title{color:inherit;display:inline-block;font-size:inherit;font-style:inherit;font-weight:inherit;margin-bottom:6px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-block-items{margin-bottom:8px;margin-top:8px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-wrapper{align-items:center;display:flex;position:relative}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-wrapper .tf-dynamic-wrapper-popover{position:absolute;top:100%;width:192px;z-index:900}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-wrapper .tf-dynamic-wrapper-popover-form{background:#fff;border:1px solid #8c8f94;padding:0 12px;width:100%;z-index:900}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-wrapper .tf-dynamic-wrapper-popover-form>*{margin:12px 0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-wrapper .tf-dynamic-wrapper-popover-buttons{display:flex;justify-content:flex-end}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-wrapper .tf-dynamic-wrapper-popover-buttons button{margin-left:6px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-wrapper.tf-dynamic-wrapper-buttons-outside{gap:8px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-wrapper.tf-dynamic-wrapper-buttons-inside{gap:0;width:-moz-fit-content;width:fit-content}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-wrapper.tf-dynamic-wrapper-buttons-inside .tf-button-icon{background:transparent;border:none;cursor:pointer;height:32px;position:absolute;right:1px;top:50%;transform:translateY(-50%)}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-wrapper.tf-dynamic-wrapper-buttons-inside .tf-button-icon:before{content:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMyIgaGVpZ2h0PSIxNyIgZmlsbD0ibm9uZSI+PHBhdGggZmlsbD0iIzFFMUUxRSIgZD0iTTcuNTIyIDdoMy40ODdjLjQxNiAwIC43OS4yNi45MS42NDdhLjk1Ljk1IDAgMCAxLS4yNSAxLjEwNmwtLjYwMy41MjdhNC41IDQuNSAwIDAgMC01Ljk1NyA1LjIwOGwtMS40NDcgMS4yNjVhMSAxIDAgMCAxLTEuNTgtMS4xNDdMNC40ODkgOUguOTczYS45OTUuOTk1IDAgMCAxLS45MDktLjY0NyAxIDEgMCAwIDEgLjI3OC0xLjEwNmw4LjAwNS03YTEuMDAyIDEuMDAyIDAgMCAxIDEuNTggMS4xNDd6Ii8+PHBhdGggZmlsbD0iIzFFMUUxRSIgZmlsbC1ydWxlPSJldmVub2RkIiBkPSJNOS41IDE3YTMuNSAzLjUgMCAxIDAgMC03IDMuNSAzLjUgMCAwIDAgMCA3bTIuNS0zLjVhLjU3Ny41NzcgMCAwIDEtLjU3Ny41NzdoLTEuMzQ2djEuMzQ2YS41NzcuNTc3IDAgMSAxLTEuMTU0IDB2LTEuMzQ2SDcuNTc3YS41NzcuNTc3IDAgMCAxIDAtMS4xNTRoMS4zNDZ2LTEuMzQ2YS41NzcuNTc3IDAgMSAxIDEuMTU0IDB2MS4zNDZoMS4zNDZjLjMyIDAgLjU3Ny4yNTguNTc3LjU3NyIgY2xpcC1ydWxlPSJldmVub2RkIi8+PC9zdmc+);line-height:1;padding:0 5px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-wrapper.tf-dynamic-wrapper-buttons-inside .tf-button-icon.cm-content[contenteditable=false]:before{display:none}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-field-wrapper.tf-dynamic-wrapper .tf-dynamic-value-input:disabled{background:hsla(0,0%,100%,.5);border-color:rgba(0,0,0,.1);color:rgba(0,0,0,.4)}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-field-wrapper.tf-dynamic-wrapper .tf-button-icon.tf-dynamic-wrapper-clear:before{content:"⨯"}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-text-input{background:#fff;border:1px solid #8c8f94;border-radius:2px;box-shadow:unset;color:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;height:32px;padding:0 12px;width:192px;width:168px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-text-input::-moz-placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-text-input::placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-text-input:focus-within{border-color:#4b84ce}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-text-input:has(.cm-content[contenteditable=false]){background:hsla(0,0%,100%,.5);border-color:rgba(0,0,0,.1);color:rgba(0,0,0,.4);pointer-events:none}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-text-input:has(.cm-content[contenteditable=false]) .tf-dynamic-text-input__affix{border-color:rgba(0,0,0,.1)}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-text-input--has-prefix,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-text-input--has-suffix{display:flex;height:auto;padding:0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-text-input--has-prefix>.cm-editor,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-text-input--has-suffix>.cm-editor{flex:1 1 auto;min-height:32px;overflow:hidden}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-text-input>.cm-editor{height:100%;justify-content:center;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-text-input>.cm-editor .cm-content,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-text-input>.cm-editor .cm-line{padding:0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-text-input>.cm-editor .cm-content{display:flex;flex-direction:column;justify-content:center}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-text-input .tf-dynamic-text-item-delete:before{content:"⨯";cursor:pointer;padding-left:3px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-text-input__affix{align-items:center;border:0 solid #8c8f94;display:inline-flex;font-size:.8em;font-weight:700;padding:0 .5em;text-wrap:nowrap}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-text-input__affix--prefix{border-right-width:1px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-text-input__affix--suffix{border-left-width:1px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-text-input:focus-within .tf-dynamic-text-input__affix{border-color:#4b84ce}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-wrapper[data-dynamic=true] .cm-editor{padding-right:25px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-wrapper[data-dynamic=true] .cm-editor:has(.cm-content[contenteditable=false]){padding-right:0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-wrapper[data-dynamic=true] .tf-dynamic-text-input--has-suffix .cm-editor{padding-right:8px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-wrapper[data-dynamic=true] .tf-dynamic-text-input__affix--suffix{border-right-width:1px;margin-right:33px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-number-button-group{padding:0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-number-button-group .tf-button-number{background:#eee}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-number-button-group .tf-button-number:hover{background:#e2e2e2;color:#505050}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-editor .ProseMirror-menubar-wrapper{background-color:#fff;border:2px solid rgba(0,0,0,.2);height:auto;overflow:unset;position:relative}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-editor .ProseMirror-menubar-spacer{height:auto!important}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-editor .ProseMirror-menubar{background:#fff;border-bottom:2px solid rgba(0,0,0,.2);color:inherit;left:0!important;min-height:60px!important;position:absolute!important;top:0!important}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-editor .ProseMirror.ProseMirror-example-setup-style{margin-bottom:0;margin-top:63px;max-height:100px;min-height:60px;overflow:auto}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-gallery__controls{min-height:32px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-gallery-preview{display:flex;flex-wrap:wrap}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-gallery-item{height:75px;width:75px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-gallery-buttons{margin-top:12px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-radio-group-container{gap:4px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-radio{align-items:center;display:inline-flex;gap:4px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dimensions-number-groups{max-width:250px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dimensions-number-groups .tf-number-field>input{padding:0 6px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-field-group-item{margin:12px 0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-checkbox>.tf-label{align-items:center;display:flex}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-panel .tf-panel-header.tf-button-action:hover{background:#e2e2e2;color:#505050}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-button-action,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-button-danger,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-button-primary{height:32px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-text-input{padding:0;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-text-input>.cm-editor ::-webkit-scrollbar{height:10px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-text-input>.cm-editor ::-webkit-scrollbar-thumb{background:#d3d3d3;border-radius:5px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-text-input>.cm-editor .cm-line{height:1.5em}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-switch .tf-switch-label{max-width:-moz-max-content;max-width:max-content}}.ProseMirror-textblock-dropdown{min-width:3em}.ProseMirror-menu{line-height:1;margin:0 -4px}.ProseMirror-tooltip .ProseMirror-menu{white-space:pre;width:-moz-fit-content;width:fit-content}.ProseMirror-menuitem{display:inline-block;margin-right:3px}.ProseMirror-menuseparator{border-right:1px solid #ddd;margin-right:3px}.ProseMirror-menu-dropdown,.ProseMirror-menu-dropdown-menu{font-size:90%;white-space:nowrap}.ProseMirror-menu-dropdown{cursor:pointer;padding-right:15px;position:relative;vertical-align:1px}.ProseMirror-menu-dropdown-wrap{display:inline-block;padding:1px 0 1px 4px;position:relative}.ProseMirror-menu-dropdown:after{border-left:4px solid transparent;border-right:4px solid transparent;border-top:4px solid;content:"";opacity:.6;position:absolute;right:4px;top:calc(50% - 2px)}.ProseMirror-menu-dropdown-menu,.ProseMirror-menu-submenu{background:#fff;border:1px solid #aaa;color:#666;padding:2px;position:absolute}.ProseMirror-menu-dropdown-menu{min-width:6em;z-index:15}.ProseMirror-menu-dropdown-item{cursor:pointer;padding:2px 8px 2px 4px}.ProseMirror-menu-dropdown-item:hover{background:#f2f2f2}.ProseMirror-menu-submenu-wrap{margin-right:-4px;position:relative}.ProseMirror-menu-submenu-label:after{border-bottom:4px solid transparent;border-left:4px solid;border-top:4px solid transparent;content:"";opacity:.6;position:absolute;right:4px;top:calc(50% - 4px)}.ProseMirror-menu-submenu{display:none;left:100%;min-width:4em;top:-3px}.ProseMirror-menu-active{background:#eee;border-radius:4px}.ProseMirror-menu-disabled{opacity:.3}.ProseMirror-menu-submenu-wrap-active .ProseMirror-menu-submenu,.ProseMirror-menu-submenu-wrap:hover .ProseMirror-menu-submenu{display:block}.ProseMirror-menubar{background:#fff;border-bottom:1px solid silver;border-top-left-radius:inherit;border-top-right-radius:inherit;color:#666;left:0;min-height:1em;padding:1px 6px;position:relative;right:0;top:0;z-index:10}.ProseMirror-icon{cursor:pointer;display:inline-block;line-height:.8;padding:2px 8px;vertical-align:-2px}.ProseMirror-menu-disabled.ProseMirror-icon{cursor:default}.ProseMirror-icon svg{fill:currentColor;height:1em}.ProseMirror-icon span{vertical-align:text-top}.ProseMirror-menubar-wrapper{background-color:#fff;border:2px solid rgba(0,0,0,.2);border-radius:5px;height:150px;overflow:auto;resize:vertical}.ProseMirror-menubar{box-shadow:0 2px 5px rgba(0,0,0,.2);box-sizing:border-box;overflow:visible;padding-bottom:12px;padding-top:12px}.ProseMirror.ProseMirror-example-setup-style{border-radius:5px;margin-bottom:20px;padding-bottom:12px;padding-left:12px;padding-right:12px}.ProseMirror-example-setup-style hr{border:none;margin:1em 0;padding:2px 10px}.ProseMirror-example-setup-style hr:after{background-color:silver;content:"";display:block;height:1px;line-height:2px}.ProseMirror ol,.ProseMirror ul{padding-left:30px}.ProseMirror blockquote{border-left:3px solid #eee;margin-left:0;margin-right:0;padding-left:1em}.ProseMirror-example-setup-style img{cursor:default}.ProseMirror-prompt{background:#fff;border:1px solid silver;border-radius:3px;box-shadow:-.5px 2px 5px rgba(0,0,0,.2);padding:8px 10px 8px 15px;position:fixed;z-index:9999999}.ProseMirror-prompt h5{color:#444;font-size:100%;font-weight:400;margin:0}.ProseMirror-prompt input[type=text],.ProseMirror-prompt textarea{background:#eee;border:none;outline:none}.ProseMirror-prompt input[type=text]{margin-top:5px;padding:0 4px}.ProseMirror-prompt-close{background:transparent;border:none;color:#666;left:2px;padding:0;position:absolute;top:1px}.ProseMirror-prompt-close:after{content:"✕";font-size:12px}.ProseMirror-invalid{background:#ffc;border:1px solid #cc7;border-radius:4px;min-width:10em;padding:5px 10px;position:absolute}.ProseMirror-prompt-buttons{margin-top:5px}.ProseMirror{position:relative;word-wrap:break-word;font-feature-settings:"liga" 0;font-variant-ligatures:none;white-space:pre-wrap;white-space:break-spaces}.ProseMirror pre{white-space:pre-wrap}.ProseMirror li{position:relative}.ProseMirror-hideselection ::selection{background:transparent}.ProseMirror-hideselection ::-moz-selection{background:transparent}.ProseMirror-hideselection{caret-color:transparent}.ProseMirror-selectednode{outline:2px solid #8cf}li.ProseMirror-selectednode{outline:none}li.ProseMirror-selectednode:after{border:2px solid #8cf;bottom:-2px;content:"";left:-32px;pointer-events:none;position:absolute;right:-2px;top:-2px}img.ProseMirror-separator{border:none!important;display:inline!important;margin:0!important}.ProseMirror-gapcursor{display:none;pointer-events:none;position:absolute}.ProseMirror-gapcursor:after{animation:ProseMirror-cursor-blink 1.1s steps(2,start) infinite;border-top:1px solid #000;content:"";display:block;position:absolute;top:-2px;width:20px}@keyframes ProseMirror-cursor-blink{to{visibility:hidden}}.ProseMirror-focused .ProseMirror-gapcursor{display:block} +@charset "UTF-8";body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-button-action,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-button-danger,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-button-primary{align-items:center;background:#34383c;border:1px solid #64666a;border-radius:4px;color:#fff;cursor:pointer;display:flex;height:30px;justify-content:center;padding:0 12px;width:-moz-fit-content;width:fit-content}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-button-action:hover,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-button-danger:hover,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-button-primary:hover{background:#64666a;color:#fff}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-button-danger{border-color:#cc1818;color:#cc1818}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-button-primary{background-color:#4b84ce;color:inherit}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-button-action[disabled],body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-button-danger[disabled],body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-button-icon-trash[disabled],body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-button-primary[disabled],body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-button-text-action[disabled],body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-button-text-danger[disabled],body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-button-text-primary[disabled]{cursor:not-allowed;opacity:.5;pointer-events:none}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-button-action:focus{outline:none}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-button-text-action,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-button-text-danger,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-button-text-primary{background:transparent;border:none;cursor:pointer;display:inline}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-button-text-action:hover,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-button-text-danger:hover,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-button-text-primary:hover{font-weight:700}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-button-text-action{color:#fff}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-button-text-danger{color:#cc1818}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-button-text-primary{color:#4b84ce}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-button-icon-trash{align-items:center;background:transparent;border:none;cursor:pointer;display:flex;height:32px;justify-content:center;width:32px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-button-icon-trash:after{content:url('data:image/svg+xml;utf8,')}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-button-icon-eye{align-items:center;background:transparent;border:none;cursor:pointer;display:flex;height:32px;justify-content:center;width:32px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-button-icon-eye:after{content:url('data:image/svg+xml;utf8,')}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-dialog .tf-title{display:flex}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-dialog .tf-title h4{margin:0;padding:12px 0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-panel{background:#34383c;border:1px solid #64666a;display:flex;flex-direction:column;margin-bottom:8px;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-panel-header{align-items:center;cursor:pointer;display:flex;height:32px;justify-content:space-between;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-panel-header.tf-button-action{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:0;border-radius:0;box-sizing:border-box;color:inherit;cursor:pointer;display:flex;font-family:inherit;font-size:100%;height:32px;justify-content:space-between;line-height:1.15;margin:0;padding:8px 12px;text-align:left;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-panel-header.tf-button-action:hover{background:#f0f0f0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-panel-open .tf-panel-header.tf-button-action{border-bottom:1px solid #64666a}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-panel-header-before-title,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-panel-header-left,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-panel-header-right,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-panel-header-title{align-items:center;display:flex;justify-content:flex-start;padding:0 12px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-panel-header-left{padding-left:0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-panel-content,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-panel-footer{padding:4px 12px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-panel-closed .tf-panel-content{display:none}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-panel-footer{border-top:1px solid #64666a}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-panel-footer{display:flex;gap:8px;justify-content:flex-end;padding:1em}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-panel-arrow{border:solid;border-color:inherit;border-width:0 1px 1px 0;display:inline-block;height:8px;width:8px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-panel-open .tf-panel-arrow{transform:translateY(50%) rotate(-135deg)}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-panel-closed .tf-panel-arrow{transform:translateY(-50%) rotate(45deg)}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-label{color:inherit;display:inline-block;font-size:inherit;font-style:inherit;font-weight:inherit;margin-bottom:6px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-description{color:inherit;font-size:inherit;font-style:inherit;font-weight:inherit}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-list-box{background:#34383c;list-style:none;margin:5px 0;max-height:300px;max-width:100%;min-width:100%;overflow-y:auto;padding:0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-list-box-option{background:transparent;border-radius:2px;cursor:pointer;display:flex;font-size:13px;gap:8px;margin:0 5px;outline:none;padding:5px 9px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-list-box-option:not(.tf-list-box-option-selected,.tf-list-box-option-disabled):hover{color:#4b84ce}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-list-box-option-selected,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-list-box-option-selected.tf-list-box-option-selected{background-color:#4b84ce;color:#34383c}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-list-box-option-selected.tf-list-box-option-selected:hover,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-list-box-option-selected:hover{color:#34383c}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-list-box-option-selected.tf-list-box-option-selected:after,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-list-box-option-selected:after{content:"✓";margin-left:auto}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-list-box-option-disabled{color:#aaa;cursor:default}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-list-box-option-focus{box-shadow:inset 0 0 0 2px;color:#4b84ce}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-list-box-section-separator:not(:first-child){border-top:1px solid #8c8f94;margin:12px 0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-list-box-section>span{color:#7d8690;display:block;font-size:11px;font-weight:500;line-height:1.45;margin:0 10px;padding:5px 9px;text-transform:uppercase}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-list-box-section>ul{list-style:none;padding:0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-modal{align-items:center;background:rgba(0,0,0,.7);bottom:0;display:flex;justify-content:center;left:0;position:fixed;right:0;top:0;z-index:9990}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-modal .tf-modal-container{background:#34383c;border:1px solid #64666a;border-radius:2px;padding:2rem}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-modal-actions{display:flex;justify-content:flex-end;padding-top:12px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-modal-actions button{margin-left:12px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-notice{background:#fff;box-shadow:0 1px 1px rgba(0,0,0,.04);color:#000;margin-top:4px;padding:1px 12px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-notice.tf-is-dismissible{padding-right:38px;position:relative}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-notice.tf-error{border-left:4px solid #d63638}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-notice.tf-success{border-left:4px solid #00a32a}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-notice.tf-warning{border-left-color:#dba617}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-notice.tf-info{border-left-color:#72aee6}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-notice-dismiss{background:none;border:none;color:#787c82;cursor:pointer;margin:0;padding:9px;position:absolute;right:1px;top:0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-notice-dismiss:active:before,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-notice-dismiss:focus:before,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-notice-dismiss:hover:before{color:#d63638}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-notice-dismiss:focus{box-shadow:0 0 0 1px #4f94d4,0 0 2px 1px rgba(79,148,212,.8);outline:none}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-notice-dismiss:before{background:none;color:#787c82;content:"\f153";display:block;font:normal 16px/20px dashicons;height:20px;text-align:center;width:20px;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-underlay{inset:0;position:fixed}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-popover{background:#34383c;color:inherit;z-index:900}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-tooltip-trigger-content{cursor:context-menu;position:relative;width:-moz-fit-content;width:fit-content}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-tooltip{cursor:default;display:inline-block;max-width:150px;position:absolute;visibility:hidden;width:-moz-max-content;width:max-content;z-index:1}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-tooltip-top{bottom:100%;left:50%;margin-bottom:12px;transform:translateX(-50%)}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-tooltip-bottom{left:50%;margin-top:12px;top:100%;transform:translateX(-50%)}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-tooltip-start{margin-right:12px;right:100%;top:50%;transform:translateY(-50%)}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-tooltip-end{left:100%;margin-left:12px;top:50%;transform:translateY(-50%)}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-tooltip-content{border-radius:3px;font-size:12px;padding:6px 12px;text-align:center;word-break:normal}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-tooltip-content.light{background-color:#e6e6e6;color:hsla(0,4%,5%,.945);--tf-tooltip-after-color:#e6e6e6}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-tooltip-content.dark{background-color:hsla(0,4%,5%,.945);color:#e6e6e6;--tf-tooltip-after-color:hsla(0,4%,5%,.945)}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-tooltip-content:after{border-style:solid;border-width:7px;content:" ";position:absolute}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-tooltip-content-top:after{border-color:var(--tf-tooltip-after-color,transparent) transparent transparent transparent;left:50%;margin-left:-7px;top:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-tooltip-content-bottom:after{border-color:transparent transparent var(--tf-tooltip-after-color,transparent) transparent;bottom:100%;left:50%;margin-left:-7px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-tooltip-content-start:after{border-color:transparent transparent transparent var(--tf-tooltip-after-color,transparent);left:100%;margin-top:-7px;top:50%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-tooltip-content-end:after{border-color:transparent var(--tf-tooltip-after-color,transparent) transparent transparent;margin-top:-7px;right:100%;top:50%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-tooltip-trigger-content:hover .tf-tooltip{visibility:visible}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-conditional-group-actions{align-items:center;display:flex;gap:8px;padding:8px 0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-conditional-group-actions strong{text-transform:uppercase}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-conditional-panel-condition-actions{display:flex;gap:4px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-conditional-panel-condition-actions .tf-button-action:first-child{text-transform:uppercase}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-conditional-panel-condition-actions .tf-button-danger:last-child{position:relative}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-conditional-panel-condition-actions .tf-button-danger:last-child:before{background-color:#cc1818;content:"";height:1px;position:absolute;width:100%;width:10px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-accordion .tf-switch-element,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-accordion .tf-switch-element-selected{transform:scale(.7)}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-alignment-matrix-container{display:grid;grid-template-columns:repeat(3,1fr);height:50px;margin:5px;width:50px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-border-dimensions-container{margin:0 0 5px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-button-group .tf-button-group-option{align-items:center;background:#34383c;border:1px solid #64666a;border-radius:4px;border-radius:0;color:#fff;color:#4b84ce;cursor:pointer;display:inline-flex;height:30px;margin:0;padding:0 12px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-button-group .tf-button-group-option:hover{background:#64666a;color:#fff}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-button-group .tf-button-group-option:first-child{border-bottom-left-radius:4px;border-top-left-radius:4px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-button-group .tf-button-group-option:not(:first-child){margin-left:-1px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-button-group .tf-button-group-option:last-child{border-bottom-right-radius:4px;border-top-right-radius:4px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-button-group .tf-button-group-option.tf-button-group-option-selected{background:#4b84ce;border-color:#4b84ce;color:#34383c}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-button-group .tf-button-group-option:focus-within{position:relative;z-index:1}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-button-group .tf-button-group-option .dashicons{align-items:center;display:flex;justify-content:center}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-button-group-container[aria-disabled=true] .tf-button-group-option{opacity:.5;pointer-events:none}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-checkbox .tf-label{font-size:13px;font-weight:400;margin-bottom:revert;text-transform:none}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-checkbox input[type=checkbox]{border:1px solid;border-color:inherit;border-radius:2px;box-shadow:0 0 0 transparent;margin-right:6px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-checkbox input[type=checkbox]:focus{border-color:#4b84ce;box-shadow:0 0 0 1px #4b84ce;outline:2px solid transparent}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-checkbox input[type=checkbox]:checked{background:#4b84ce;border-color:#4b84ce;color:#fff}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-checkbox input[type=checkbox]:checked:before{content:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGFyaWEtaGlkZGVuPSJ0cnVlIiBjbGFzcz0iY29tcG9uZW50cy1jaGVja2JveC1jb250cm9sX19jaGVja2VkIiB2aWV3Qm94PSIwIDAgMjQgMjQiPjxwYXRoIGZpbGw9IiNmZmYiIGQ9Im0xNi43IDcuMS02LjMgOC41LTMuMy0yLjUtLjkgMS4yIDQuNSAzLjRMMTcuOSA4eiIvPjwvc3ZnPg==")}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-checkbox input[type=checkbox]:indeterminate{background:#4b84ce;border-color:#4b84ce;color:#fff}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-checkbox input[type=checkbox]:indeterminate:before{content:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGFyaWEtaGlkZGVuPSJ0cnVlIiBjbGFzcz0iY29tcG9uZW50cy1jaGVja2JveC1jb250cm9sX19pbmRldGVybWluYXRlIiB2aWV3Qm94PSIwIDAgMjQgMjQiPjxwYXRoIGZpbGw9IiNmZmYiIGQ9Ik03IDExLjVoMTBWMTNIN3oiLz48L3N2Zz4=")}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-color-area,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-color-area-gradient{height:150px;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-color-area-thumb{border:2px solid #fff;border-radius:50%;box-shadow:0 0 0 1px #000,inset 0 0 0 1px #000;height:20px;top:50%;width:20px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-color-container{position:relative;width:-moz-fit-content;width:fit-content}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-color-container input{background:#34383c;border:1px solid #64666a;border-radius:2px;box-shadow:unset;color:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;height:32px;padding:0 12px;width:192px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-color-container input::-moz-placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-color-container input::placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-color-picker{background:#34383c;border:1px solid #64666a;width:100%;z-index:900}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-color-picker .tf-color-area{display:flex;justify-content:center;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-color-picker .tf-color-area .tf-color-area-thumb{transform:translate(-50%,-50%)!important}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-color-picker .tf-color-input{display:flex;flex-direction:column;padding:10px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-color-picker .tf-color-sliders{padding:0 12px 10px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-color-input>input{width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-color-slider{align-items:center;display:flex;flex-direction:column;padding-bottom:5px;padding-top:5px;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-color-slider-label{align-self:stretch;display:flex}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-color-slider-label output{flex:1 0 auto;text-align:end}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-color-slider-container{border:1px solid #64666a;border-radius:10px;height:20px;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-combo-box{display:flex;flex-direction:column;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-combo-box-text{background:#34383c;border:1px solid #64666a;border-radius:2px;box-shadow:unset;color:inherit;display:flex;flex-wrap:nowrap;font-size:inherit;font-style:inherit;font-weight:inherit;height:32px;justify-content:space-between;padding:0;position:relative;width:192px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-combo-box-text::-moz-placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-combo-box-text::placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-combo-box-text input{border:0;box-shadow:none;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-combo-box-text input:focus{box-shadow:none}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-combo-box-text .tf-button-action{background:#34383c;background:none;border:0;border-radius:4px;color:#fff;cursor:pointer;height:30px;max-height:30px;padding:0 12px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-combo-box-text .tf-button-action:hover{background:#64666a;color:#fff}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-combo-box-text .tf-button-action span{padding:0 2px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-combo-box-text:focus-within{border-color:#4b84ce;box-shadow:0 0 0 1px #4b84ce;outline:2px solid transparent}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-combo-box-item{align-items:center;background-color:#e2e7ff;border:1px solid transparent;border-radius:2px;box-sizing:border-box;color:#4b84ce;display:inline-flex;font-size:13px;font-weight:700;gap:.35em;line-height:1.4;max-width:100%;padding:.25em .5em}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-combo-box-item span:first-child{flex:1 1 auto;padding-right:5px;text-overflow:ellipsis}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-combo-box-item button:last-child{background-color:transparent;border:none;color:#4b84ce;cursor:pointer}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-combo-box-item button:last-child:focus{outline:none}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-multiple-combobox-container{display:flex;gap:8px;position:relative}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-multiple-combobox-container>.tf-popover{left:0;position:absolute;top:100%;width:192px;z-index:900}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-multiple-combobox-container>.tf-popover .tf-combo-box{width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-multiple-combobox-container>.tf-popover .tf-list-box-option:not(.tf-list-box-option-selected,.tf-list-box-option-disabled):hover:after{content:"+";margin-left:auto}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-multiple-combobox{position:relative}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-multiple-combobox>.tf-label{display:flex}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-multiple-combobox-values{align-items:center;background-color:#34383c;border:1px solid #64666a;border-radius:2px;box-sizing:border-box;display:flex;flex-wrap:wrap;gap:8px;min-height:32px;padding:0 12px;width:192px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-multiple-combobox[data-enabled=false] .tf-multiple-combobox-values{opacity:.5}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-combo-box-popover.tf-popover{border:1px solid #4b84ce;border-bottom-left-radius:2px;border-bottom-right-radius:2px;box-shadow:0 0 0 1px #4b84ce;margin-left:-2px;outline:2px solid transparent}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-date-picker{align-items:flex-start;display:flex;flex-direction:column}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-popover{border:1px solid #64666a;border-radius:2px;display:flex;justify-content:center;width:auto}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-popover .tf-calendar{padding:20px;width:-moz-fit-content;width:fit-content}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-popover .tf-calendar-month{text-align:center}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-popover .tf-calendar-buttons{align-items:center;display:flex;justify-content:space-between}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-popover .tf-calendar-buttons button{background:#34383c;border:1px solid #64666a;border-radius:4px;color:#fff;cursor:pointer;height:30px;padding:0 12px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-popover .tf-calendar-buttons button:hover{background:#64666a;color:#fff}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-popover .tf-calendar-tables{display:flex}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-popover .tf-calendar-table{padding:10px;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-popover .tf-calendar-table td{text-align:center}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-popover .tf-calendar-presets{display:flex;gap:.25rem}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-popover .tf-calendar-presets button{background:#34383c;border:1px solid #64666a;border-radius:4px;color:#fff;cursor:pointer;height:30px;padding:0 12px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-popover .tf-calendar-presets button:hover{background:#64666a;color:#fff}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-popover .tf-calendar-cell{border-radius:100%;cursor:pointer;height:2em;line-height:2em;width:2em}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-popover .tf-calendar-cell.tf-calendar-cell-disabled,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-popover .tf-calendar-cell.tf-calendar-cell-unavailable{cursor:not-allowed;opacity:.5}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-popover .tf-calendar-cell:not(.tf-calendar-cell-disabled,.tf-calendar-cell-unavailable,.tf-calendar-cell-selected):hover{color:#4b84ce}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-popover .tf-calendar-cell.tf-calendar-cell-selected{background-color:#4b84ce;color:#fff}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-date-group{align-items:center;display:flex;gap:8px;justify-content:flex-start}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-date-group .tf-button-action{height:32px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-date-field-container{width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-date-field{align-items:center;background:#34383c;border:1px solid #64666a;border-radius:2px;box-shadow:unset;color:inherit;display:inline-flex;font-size:inherit;font-style:inherit;font-weight:inherit;height:32px;justify-content:center;padding:0 12px;width:192px;width:168px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-date-field::-moz-placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-date-field::placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-date-field:focus-within{border-color:#4b84ce}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-date-segment{font-variant-numeric:tabular-nums;padding:0 2px;text-align:end}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-date-segment:focus{background:#4b84ce;border-radius:2px;color:#fff;outline:none}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-date-segment span{display:none}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-date-segment-placeholder span{display:flex}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-dimensions{display:flex;flex-direction:column}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-dimensions .tf-select,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-dimensions .tf-select .tf-button-select{width:auto}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-dimensions-container{display:flex;flex-wrap:wrap;position:relative;width:-moz-fit-content;width:fit-content}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-dimensions-number-groups{display:flex;flex-direction:row;max-width:300px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-dimensions-number-groups .tf-number{flex:1 1 75px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-dimensions-number-groups .tf-number .tf-number-field{width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-dimensions-number-groups .tf-number input{text-align:left;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-dimensions-number-groups .tf-number-button-group .tf-button-number{padding:0 3px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-dimensions-number-groups-linked .tf-number:not(:first-child){display:none;opacity:.5;pointer-events:none}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-dynamic-text-field{align-items:center;display:flex;gap:8px;position:relative}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-dynamic-text-field .tf-dynamic-text-popover{left:0;position:absolute;top:100%;width:192px;z-index:900}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-dynamic-text-field .tf-dynamic-text-popover .tf-list-box-option:not(.tf-list-box-option-selected,.tf-list-box-option-disabled):hover:after{content:"+";margin-left:auto}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-dynamic-text-item{align-items:center;background-color:#e2e7ff;border:1px solid transparent;border-radius:2px;color:#4b84ce;display:inline-flex;font-size:13px;font-weight:700;gap:.35em;line-height:1.4;margin:0 .15em;padding:.25em .5em}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-dynamic-text-item:before{content:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMSIgaGVpZ2h0PSIxNiIgZmlsbD0ibm9uZSI+PGcgY2xpcC1wYXRoPSJ1cmwoI2EpIj48cGF0aCBmaWxsPSIjMzg1OEU5IiBkPSJNNi44OSA3LjA2MmgzLjE5M2MuMzgxIDAgLjcyNS4yNDQuODM0LjYwN2EuOTEuOTEgMCAwIDEtLjIzIDEuMDM3bC03LjMzMyA2LjU2M2EuOS45IDAgMCAxLTEuMTQzLjA1Mi45NS45NSAwIDAgMS0uMzA0LTEuMTI4bDIuMjA0LTUuMjU2SC44OWMtLjM1NiAwLS42OTgtLjI0My0uODMzLS42MDZhLjk1NS45NTUgMCAwIDEgLjI1NS0xLjAzN0w3LjY0Ni43MzJBLjkuOSAwIDAgMSA4Ljc4OC42NzlhLjk1Ljk1IDAgMCAxIC4zMDQgMS4xMjh6Ii8+PC9nPjxkZWZzPjxjbGlwUGF0aCBpZD0iYSI+PHBhdGggZmlsbD0iI2ZmZiIgZD0iTTAgLjVoMTF2MTVIMHoiLz48L2NsaXBQYXRoPjwvZGVmcz48L3N2Zz4=");line-height:1}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .cm-content[contenteditable=false] .tf-dynamic-text-item{filter:grayscale(1)}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-dynamic-text-input:focus-within{box-shadow:0 0 0 1px #4b84ce;outline:2px solid transparent}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-dynamic-text-input>.cm-editor{padding:0 12px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-dynamic-text-input>.cm-editor.cm-focused{outline:none}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-dynamic-text-input>.cm-editor .cm-scroller{font-family:inherit}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-dynamic-text-input>.cm-editor .cm-content{height:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-editor .ProseMirror ul{list-style-type:disc}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-editor .ProseMirror ol{margin:0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-editor .ProseMirror{line-height:1.2;outline:none;padding:4px 8px 4px 14px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-editor .tf-editor-view-toggle{display:flex;flex-direction:row;justify-content:flex-end;padding-bottom:5px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-editor .tf-editor-view-toggle .tf-button-group{width:-moz-fit-content;width:fit-content}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-file-field{align-items:center;display:flex;flex-wrap:wrap;width:-moz-fit-content;width:fit-content}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-file-text{max-width:192px;overflow:hidden;padding:0 12px;text-overflow:ellipsis}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-file-list{margin-bottom:0;padding:0;width:300px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-file-item{align-items:center;display:flex;flex-wrap:wrap;justify-content:space-between}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-file-item img{max-width:200px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-file-item span{flex-grow:1;overflow:hidden;text-overflow:ellipsis;width:70%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-file-item .tf-button-upload-list{cursor:pointer;font-style:italic;text-decoration:underline}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-gallery-item{align-items:center;display:flex;height:100px;justify-content:center;width:100px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-gallery-item img{border-radius:2px;height:100%;-o-object-fit:cover;object-fit:cover;overflow:hidden;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-gallery__controls{background:#34383c;border:1px solid #64666a;padding:8px 12px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-gallery-buttons{display:flex;gap:10px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-gradient-container{display:flex;flex-direction:column;position:relative;width:192px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-gradient-input{background:#34383c;border:1px solid #64666a;border-radius:2px;box-shadow:unset;color:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;height:32px;padding:0 12px;width:192px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-gradient-input::-moz-placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-gradient-input::placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-gradient-settings{padding:10px 12px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-gradient-settings .tf-gradient-settings-row{padding:10px 0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-gradient-popover .tf-dialog{width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-gradient-preview{padding:10px 12px;position:relative}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-gradient-colors{align-items:center;cursor:pointer;display:flex;height:32px;justify-content:space-between;padding:0 12px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-list-container{display:flex;flex-direction:column;gap:8px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-list-items{width:192px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-list-header,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-list-header label,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-list-item{align-items:center;display:flex;justify-content:flex-start}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-list-header{background:#f0f0f0;border:1px solid hsla(218,4%,56%,.5);border-radius:2px;border-bottom-left-radius:0;border-bottom-right-radius:0;padding:0 12px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-list-header label{height:32px;margin:0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-list-item{background:#34383c;border:1px solid hsla(218,4%,56%,.5);border-top:none;box-sizing:border-box;height:32px;width:192px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-list-item .tf-list-item-text{flex:1;font-size:inherit;font-weight:inherit;padding:0 12px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-list-item .tf-list-item-actions{display:flex}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-list-search{display:flex;width:192px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-list-search .tf-combo-box{flex:1}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-number input{background:#34383c;border:1px solid #64666a;border-radius:2px;box-shadow:unset;color:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;height:32px;padding:0 12px;width:192px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-number input::-moz-placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-number input::placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-number .tf-label{display:flex}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-number-field{display:flex;flex-direction:row;flex-wrap:nowrap;position:relative;width:192px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-number[data-enabled=false] .tf-number-field{opacity:.5}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-number-button-group{bottom:1px;display:flex;flex-direction:column;flex-wrap:nowrap;height:auto;padding:0 12px;position:absolute;right:1px;top:1px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-number-button-group .tf-button-number{align-items:center;background-color:#eee;border:0;border-radius:4px;border-radius:0;color:#fff;cursor:pointer;display:flex;height:30px;height:50%;justify-content:center;line-height:0;min-width:2em;padding:0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-number-button-group .tf-button-number:hover{background-color:#e2e2e2}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-number-button-group .tf-button-number:first-child{border-bottom-left-radius:0;border-bottom-right-radius:0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-number-button-group .tf-button-number:last-child{border-top-left-radius:0;border-top-right-radius:0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-radio-group-container{display:flex;flex-direction:column}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-multiple-select,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-select{display:inline-block;position:relative;width:192px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-multiple-select>.tf-label,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-select>.tf-label{display:flex}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-multiple-select__value,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-select__value{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-multiple-select .tf-button-select,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-select .tf-button-select{align-items:center;background:#34383c;border:1px solid #64666a;border-radius:2px;box-shadow:unset;color:inherit;display:flex;font-style:inherit;font-weight:inherit;height:32px;justify-content:space-between;padding:0 10px;width:192px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-multiple-select .tf-button-select::-moz-placeholder,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-select .tf-button-select::-moz-placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-multiple-select .tf-button-select::placeholder,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-select .tf-button-select::placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-multiple-select .tf-button-select[disabled],body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-select .tf-button-select[disabled]{background:hsla(0,0%,100%,.5);border-color:rgba(0,0,0,.1);color:rgba(0,0,0,.4)}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-multiple-select .tf-select-icon,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-select .tf-select-icon{font-size:10px;padding-left:5px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-multiple-select .tf-button-select,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-select .tf-button-select{cursor:pointer;font-size:inherit}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-simple-dimensions{display:flex;flex-direction:column}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-simple-dimensions .tf-select,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-simple-dimensions .tf-select .tf-button-select{width:auto}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-simple-dimensions-container{display:flex;position:relative;width:-moz-fit-content;width:fit-content}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-switch label{align-items:center;display:flex;justify-content:flex-start}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-switch-element,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-switch-element-selected{display:inline-block;height:32px;position:relative;width:64px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-switch-element span,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-switch-element-selected span{background-color:#ccc;border-radius:32px;bottom:0;cursor:pointer;left:0;position:absolute;right:0;top:0;transition:.4s}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-switch-element span:before,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-switch-element-selected span:before{background-color:#34383c;border-radius:50%;bottom:4px;content:"";height:24px;left:4px;position:absolute;transition:.4s;width:24px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-switch-element-selected span{background-color:#4b84ce}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-switch-element-selected span:focus{box-shadow:0 0 1px #4b84ce}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-switch-element-selected span:before{transform:translateX(32px)}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-text{box-sizing:content-box;display:flex;flex-direction:column}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-text input{background:#34383c;border:1px solid #64666a;border-radius:2px;box-shadow:unset;color:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;height:32px;padding:0 12px;width:192px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-text input::-moz-placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-text input::placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-text-area textarea{background:#34383c;border:1px solid #64666a;border-radius:2px;box-shadow:unset;color:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;height:32px;height:auto;padding:.6em;width:192px;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-text-area textarea::-moz-placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-text-area textarea::placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-repeater-bulk-actions{align-items:center;background:#34383c;border:1px solid #64666a;border-radius:2px;display:flex;justify-content:flex-start;margin-bottom:4px;padding:5px 12px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-repeater-bulk-actions>button,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-repeater-bulk-actions>div{margin-right:5px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-repeater-advanced-label-row{box-sizing:border-box;display:flex;gap:8px;justify-content:space-between;padding:8px 12px;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-repeater-advanced-label-row .tf-repeater-advanced-label-row-item{align-items:center;display:flex;flex:1;flex-wrap:wrap;justify-content:flex-start}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-repeater-advanced-label-row .tf-repeater-advanced-label-row-item:first-child{color:#4b84ce;font-weight:700}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-repeater-advanced-label-row .tf-repeater-advanced-label-row-arrow,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-repeater-advanced-label-row .tf-repeater-advanced-label-row-index{width:32px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-repeater-advanced-header{background:#f0f0f0;border:1px solid hsla(218,4%,56%,.5);border-bottom:none;border-radius:2px;border-bottom-left-radius:0;border-bottom-right-radius:0;margin:0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-repeater-advanced-header .tf-repeater-advanced-header-item{color:inherit;display:inline-block;font-size:inherit;font-style:inherit;font-weight:inherit;height:32px;margin-bottom:0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-repeater-advanced-overview{background:#34383c}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-repeater-advanced-overview .tf-repeater-advanced-label-row-arrow,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-repeater-advanced-overview .tf-repeater-advanced-label-row-index{height:40px;line-height:40px;text-align:center}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-repeater-advanced-overview .tf-repeater-advanced-label-row-index{background:#f0f0f0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-repeater-advanced-overview .tf-repeater-advanced-label-row-arrow{cursor:pointer}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-repeater-advanced-overview .tf-repeater-advanced-label-row-arrow>div{border:solid;border-color:inherit;border-width:0 1px 1px 0;display:inline-block;height:8px;width:8px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-repeater-advanced-overview .tf-repeater-advanced-overview-item-actions{height:20px;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-repeater-advanced-overview .tf-repeater-advanced-overview-item-actions button{display:none}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-repeater-advanced-overview-item-container{display:flex;flex-direction:column;justify-content:center;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-repeater-advanced-overview-item-fields{display:flex}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-repeater-advanced-overview:hover .tf-repeater-advanced-overview-item-actions button{display:initial}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-repeater-advanced-item .tf-repeater-advanced-overview:hover,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-repeater-advanced-item[data-open=true] .tf-repeater-advanced-overview{background-color:#e2e7ff}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-repeater-advanced-item[data-open=true] .tf-repeater-advanced-label-row-arrow>div{transform:translateY(50%) rotate(-135deg)}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-repeater-advanced-item[data-open=false] .tf-repeater-advanced-label-row-arrow>div{transform:translateY(-50%) rotate(45deg)}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-repeater-advanced-item{background-color:#34383c;border:1px solid hsla(218,4%,56%,.5);border-radius:2px;border-radius:0;border-top:none;position:relative}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-repeater-advanced-item[data-open=true]:before{background-color:#4b84ce;content:"";height:100%;left:0;position:absolute;top:0;width:3px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-repeater-advanced-container>.tf-repeater-actions{background-color:#34383c;border:1px solid hsla(218,4%,56%,.5);border-radius:2px;border-top:none;border-top-left-radius:0;border-top-right-radius:0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-repeater-advanced-row{margin:16px 32px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-repeater-advanced-row .tf-repeater-advanced-item-field{padding:8px 12px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-repeater-advanced-item-field:has(>div[data-overlay-container=true]:empty){display:none}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-repeater-advanced-item-field:has(input.tf-hidden[type=hidden]){padding:0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-repeater-advanced .tf-repeater-actions{padding:8px 12px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-repeater-bare-items{display:flex;flex-direction:column;row-gap:8px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-repeater-bare-items .tf-repeater-bare-row{display:flex;gap:8px;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-repeater-block-item{background:#34383c;border:1px solid #64666a;border-radius:2px;display:flex;flex-direction:column;margin-bottom:6px;margin-top:1em;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-repeater-block-item .tf-panel-header .tf-switch-element,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-repeater-block-item .tf-panel-header .tf-switch-element-selected{transform:scale(.7)}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-repeater-block-item-field{padding:1em}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-repeater-block-item-field:has(>div[data-overlay-container=true]:empty){display:none}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-repeater-tab-container{background-color:#34383c;border:1px solid hsla(218,4%,56%,.5);border-radius:2px;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-repeater-tab-header{border-bottom:1px solid hsla(218,4%,56%,.5);box-sizing:border-box;display:flex;flex-wrap:nowrap;justify-content:space-between;overflow-x:scroll;overflow-y:hidden;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-repeater-tab-actions{display:flex;flex-wrap:nowrap;justify-content:space-between;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-repeater-tab-icon-actions{align-items:center;display:flex}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-repeater-tab-icon-actions button{min-width:-moz-fit-content;min-width:fit-content}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-repeater-tab-items{background-color:#34383c;box-sizing:border-box;display:flex;gap:8px;justify-content:flex-start;margin:0;min-width:-moz-fit-content;min-width:fit-content;overflow-x:auto;overflow-y:hidden}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-repeater-tab-add-item,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-repeater-tab-icon-actions button,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-repeater-tab-item{align-items:center;color:inherit;display:flex;display:inline-block;font-size:inherit;font-style:inherit;font-weight:inherit;height:32px;justify-content:center;margin-bottom:0;min-width:-moz-fit-content;min-width:fit-content;padding:8px 12px;position:relative}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-repeater-tab-add-item[data-open=true]:before,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-repeater-tab-icon-actions button[data-open=true]:before,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-repeater-tab-item[data-open=true]:before{background-color:#4b84ce;bottom:0;content:"";height:3px;left:0;position:absolute;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-repeater-tab-add-item button,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-repeater-tab-icon-actions button button,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-repeater-tab-item button{white-space:nowrap}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-repeater-tab-add-item{justify-content:flex-start;min-width:-moz-max-content;min-width:max-content;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-repeater-tab-content{background-color:#34383c;box-sizing:border-box;padding:16px 32px;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-repeater-tab-content .tf-repeater-tab-item-field{padding:8px 12px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-repeater-table-container{border:1px solid hsla(218,4%,56%,.5);border-radius:2px;display:flex;flex-direction:column;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-repeater-table-container .tf-repeater-actions{box-sizing:border-box;justify-content:flex-start;padding:8px 12px;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-repeater-table-container table{padding:0 4px 4px;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-repeater-table-container table th,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-repeater-table-container table tr{min-height:32px;padding:2px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-repeater-table-container table th{height:32px;text-align:left}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-repeater-table-container table td>div{display:flex;justify-content:center;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-repeater-table-container table td>div>div{width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-repeater-table-container .tf-repeater-row-actions{width:1%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-repeater-table-container .tf-repeater-row-actions>div{display:inline-flex;gap:6px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-repeater-actions{display:flex;gap:6px;justify-content:flex-end;padding:2px 2px 4px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-repeater-actions .tf-button-action:last-child{border-color:#cc1818;color:#cc1818}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-repeater-title{color:inherit;display:inline-block;font-size:inherit;font-style:inherit;font-weight:inherit;margin-bottom:6px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-repeater-block-items{margin-bottom:8px;margin-top:8px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-dynamic-wrapper{align-items:center;display:flex;position:relative}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-dynamic-wrapper .tf-dynamic-wrapper-popover{position:absolute;top:100%;width:192px;z-index:900}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-dynamic-wrapper .tf-dynamic-wrapper-popover-form{background:#34383c;border:1px solid #64666a;padding:0 12px;width:100%;z-index:900}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-dynamic-wrapper .tf-dynamic-wrapper-popover-form>*{margin:12px 0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-dynamic-wrapper .tf-dynamic-wrapper-popover-buttons{display:flex;justify-content:flex-end}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-dynamic-wrapper .tf-dynamic-wrapper-popover-buttons button{margin-left:6px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-dynamic-wrapper.tf-dynamic-wrapper-buttons-outside{gap:8px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-dynamic-wrapper.tf-dynamic-wrapper-buttons-inside{gap:0;width:-moz-fit-content;width:fit-content}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-dynamic-wrapper.tf-dynamic-wrapper-buttons-inside .tf-button-icon{background:transparent;border:none;cursor:pointer;height:32px;position:absolute;right:1px;top:50%;transform:translateY(-50%)}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-dynamic-wrapper.tf-dynamic-wrapper-buttons-inside .tf-button-icon:before{content:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMyIgaGVpZ2h0PSIxNyIgZmlsbD0ibm9uZSI+PHBhdGggZmlsbD0iIzFFMUUxRSIgZD0iTTcuNTIyIDdoMy40ODdjLjQxNiAwIC43OS4yNi45MS42NDdhLjk1Ljk1IDAgMCAxLS4yNSAxLjEwNmwtLjYwMy41MjdhNC41IDQuNSAwIDAgMC01Ljk1NyA1LjIwOGwtMS40NDcgMS4yNjVhMSAxIDAgMCAxLTEuNTgtMS4xNDdMNC40ODkgOUguOTczYS45OTUuOTk1IDAgMCAxLS45MDktLjY0NyAxIDEgMCAwIDEgLjI3OC0xLjEwNmw4LjAwNS03YTEuMDAyIDEuMDAyIDAgMCAxIDEuNTggMS4xNDd6Ii8+PHBhdGggZmlsbD0iIzFFMUUxRSIgZmlsbC1ydWxlPSJldmVub2RkIiBkPSJNOS41IDE3YTMuNSAzLjUgMCAxIDAgMC03IDMuNSAzLjUgMCAwIDAgMCA3bTIuNS0zLjVhLjU3Ny41NzcgMCAwIDEtLjU3Ny41NzdoLTEuMzQ2djEuMzQ2YS41NzcuNTc3IDAgMSAxLTEuMTU0IDB2LTEuMzQ2SDcuNTc3YS41NzcuNTc3IDAgMCAxIDAtMS4xNTRoMS4zNDZ2LTEuMzQ2YS41NzcuNTc3IDAgMSAxIDEuMTU0IDB2MS4zNDZoMS4zNDZjLjMyIDAgLjU3Ny4yNTguNTc3LjU3NyIgY2xpcC1ydWxlPSJldmVub2RkIi8+PC9zdmc+);line-height:1;padding:0 5px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-dynamic-wrapper.tf-dynamic-wrapper-buttons-inside .tf-button-icon.cm-content[contenteditable=false]:before{display:none}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-dynamic-field-wrapper.tf-dynamic-wrapper .tf-dynamic-value-input:disabled{background:hsla(0,0%,100%,.5);border-color:rgba(0,0,0,.1);color:rgba(0,0,0,.4)}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-dynamic-field-wrapper.tf-dynamic-wrapper .tf-button-icon.tf-dynamic-wrapper-clear:before{content:"⨯"}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-dynamic-text-input{background:#34383c;border:1px solid #64666a;border-radius:2px;box-shadow:unset;color:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;height:32px;padding:0 12px;width:192px;width:168px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-dynamic-text-input::-moz-placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-dynamic-text-input::placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-dynamic-text-input:focus-within{border-color:#4b84ce}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-dynamic-text-input:has(.cm-content[contenteditable=false]){background:hsla(0,0%,100%,.5);border-color:rgba(0,0,0,.1);color:rgba(0,0,0,.4);pointer-events:none}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-dynamic-text-input:has(.cm-content[contenteditable=false]) .tf-dynamic-text-input__affix{border-color:rgba(0,0,0,.1)}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-dynamic-text-input--has-prefix,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-dynamic-text-input--has-suffix{display:flex;height:auto;padding:0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-dynamic-text-input--has-prefix>.cm-editor,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-dynamic-text-input--has-suffix>.cm-editor{flex:1 1 auto;min-height:32px;overflow:hidden}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-dynamic-text-input>.cm-editor{height:100%;justify-content:center;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-dynamic-text-input>.cm-editor .cm-content,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-dynamic-text-input>.cm-editor .cm-line{padding:0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-dynamic-text-input>.cm-editor .cm-content{display:flex;flex-direction:column;justify-content:center}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-dynamic-text-input .tf-dynamic-text-item-delete:before{content:"⨯";cursor:pointer;padding-left:3px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-dynamic-text-input__affix{align-items:center;border:0 solid #8c8f94;display:inline-flex;font-size:.8em;font-weight:700;padding:0 .5em;text-wrap:nowrap}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-dynamic-text-input__affix--prefix{border-right-width:1px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-dynamic-text-input__affix--suffix{border-left-width:1px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-dynamic-text-input:focus-within .tf-dynamic-text-input__affix{border-color:#4b84ce}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-dynamic-wrapper[data-dynamic=true] .cm-editor{padding-right:25px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-dynamic-wrapper[data-dynamic=true] .cm-editor:has(.cm-content[contenteditable=false]){padding-right:0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-dynamic-wrapper[data-dynamic=true] .tf-dynamic-text-input--has-suffix .cm-editor{padding-right:8px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-dynamic-wrapper[data-dynamic=true] .tf-dynamic-text-input__affix--suffix{border-right-width:1px;margin-right:33px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-number-button-group{padding:0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-number-button-group .tf-button-number{background:#34383c}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-number-button-group .tf-button-number:hover{background:#64666a;color:#fff}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-editor .ProseMirror-menubar-wrapper{background-color:#34383c;border:2px solid hsla(0,0%,100%,.2);height:auto;overflow:unset;position:relative}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-editor .ProseMirror-menubar-spacer{height:auto!important}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-editor .ProseMirror-menubar{background:#34383c;border-bottom:2px solid hsla(0,0%,100%,.2);color:inherit;left:0!important;min-height:60px!important;position:absolute!important;top:0!important}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-editor .ProseMirror.ProseMirror-example-setup-style{margin-bottom:0;margin-top:63px;max-height:100px;min-height:60px;overflow:auto}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-gallery__controls{min-height:32px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-gallery-preview{display:flex;flex-wrap:wrap}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-gallery-item{height:75px;width:75px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-gallery-buttons{margin-top:12px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-radio-group-container{gap:4px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-radio{align-items:center;display:inline-flex;gap:4px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-dimensions-number-groups{max-width:250px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-dimensions-number-groups .tf-number-field>input{padding:0 6px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-field-group-item{margin:12px 0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-checkbox>.tf-label{align-items:center;display:flex}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-panel .tf-panel-header.tf-button-action:hover{background:#64666a;color:#fff}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-button-action,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-button-danger,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-button-primary{height:32px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-dynamic-text-input{padding:0;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-dynamic-text-input>.cm-editor ::-webkit-scrollbar{height:10px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-dynamic-text-input>.cm-editor ::-webkit-scrollbar-thumb{background:#64666a;border-radius:5px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-dynamic-text-input>.cm-editor .cm-line{height:1.5em}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=all]) .tf-context-elementor .tf-switch .tf-switch-label{max-width:-moz-max-content;max-width:max-content}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-button-action,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-button-danger,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-button-primary{align-items:center;background:#eee;border:1px solid #d3d3d3;border-radius:4px;color:#505050;cursor:pointer;display:flex;height:30px;justify-content:center;padding:0 12px;width:-moz-fit-content;width:fit-content}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-button-action:hover,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-button-danger:hover,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-button-primary:hover{background:#e2e2e2;color:#505050}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-button-danger{border-color:#cc1818;color:#cc1818}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-button-primary{background-color:#4b84ce;color:inherit}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-button-action[disabled],body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-button-danger[disabled],body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-button-icon-trash[disabled],body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-button-primary[disabled],body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-button-text-action[disabled],body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-button-text-danger[disabled],body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-button-text-primary[disabled]{cursor:not-allowed;opacity:.5;pointer-events:none}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-button-action:focus{outline:none}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-button-text-action,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-button-text-danger,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-button-text-primary{background:transparent;border:none;cursor:pointer;display:inline}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-button-text-action:hover,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-button-text-danger:hover,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-button-text-primary:hover{font-weight:700}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-button-text-action{color:#505050}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-button-text-danger{color:#cc1818}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-button-text-primary{color:#4b84ce}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-button-icon-trash{align-items:center;background:transparent;border:none;cursor:pointer;display:flex;height:32px;justify-content:center;width:32px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-button-icon-trash:after{content:url('data:image/svg+xml;utf8,')}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-button-icon-eye{align-items:center;background:transparent;border:none;cursor:pointer;display:flex;height:32px;justify-content:center;width:32px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-button-icon-eye:after{content:url('data:image/svg+xml;utf8,')}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-dialog .tf-title{display:flex}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-dialog .tf-title h4{margin:0;padding:12px 0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-panel{background:#fff;border:1px solid #a7b1bb;border-radius:2px;display:flex;flex-direction:column;margin-bottom:8px;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-panel-header{align-items:center;cursor:pointer;display:flex;height:32px;justify-content:space-between;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-panel-header.tf-button-action{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:0;border-radius:0;box-sizing:border-box;color:inherit;cursor:pointer;display:flex;font-family:inherit;font-size:100%;height:32px;justify-content:space-between;line-height:1.15;margin:0;padding:8px 12px;text-align:left;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-panel-header.tf-button-action:hover{background:#f0f0f0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-panel-open .tf-panel-header.tf-button-action{border-bottom:1px solid #a7b1bb}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-panel-header-before-title,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-panel-header-left,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-panel-header-right,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-panel-header-title{align-items:center;display:flex;justify-content:flex-start;padding:0 12px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-panel-header-left{padding-left:0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-panel-content,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-panel-footer{padding:4px 12px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-panel-closed .tf-panel-content{display:none}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-panel-footer{border-top:1px solid #a7b1bb}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-panel-footer{display:flex;gap:8px;justify-content:flex-end;padding:1em}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-panel-arrow{border:solid;border-color:inherit;border-width:0 1px 1px 0;display:inline-block;height:8px;width:8px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-panel-open .tf-panel-arrow{transform:translateY(50%) rotate(-135deg)}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-panel-closed .tf-panel-arrow{transform:translateY(-50%) rotate(45deg)}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-label{color:inherit;display:inline-block;font-size:inherit;font-style:inherit;font-weight:inherit;margin-bottom:6px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-description{color:inherit;font-size:inherit;font-style:inherit;font-weight:inherit}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-list-box{background:#fff;list-style:none;margin:5px 0;max-height:300px;max-width:100%;min-width:100%;overflow-y:auto;padding:0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-list-box-option{background:transparent;border-radius:2px;cursor:pointer;display:flex;font-size:13px;gap:8px;margin:0 5px;outline:none;padding:5px 9px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-list-box-option:not(.tf-list-box-option-selected,.tf-list-box-option-disabled):hover{color:#4b84ce}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-list-box-option-selected,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-list-box-option-selected.tf-list-box-option-selected{background-color:#4b84ce;color:#fff}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-list-box-option-selected.tf-list-box-option-selected:hover,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-list-box-option-selected:hover{color:#fff}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-list-box-option-selected.tf-list-box-option-selected:after,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-list-box-option-selected:after{content:"✓";margin-left:auto}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-list-box-option-disabled{color:#aaa;cursor:default}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-list-box-option-focus{box-shadow:inset 0 0 0 2px;color:#4b84ce}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-list-box-section-separator:not(:first-child){border-top:1px solid #8c8f94;margin:12px 0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-list-box-section>span{color:#7d8690;display:block;font-size:11px;font-weight:500;line-height:1.45;margin:0 10px;padding:5px 9px;text-transform:uppercase}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-list-box-section>ul{list-style:none;padding:0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-modal{align-items:center;background:rgba(0,0,0,.7);bottom:0;display:flex;justify-content:center;left:0;position:fixed;right:0;top:0;z-index:9990}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-modal .tf-modal-container{background:#fff;border:1px solid #8c8f94;border-radius:2px;padding:2rem}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-modal-actions{display:flex;justify-content:flex-end;padding-top:12px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-modal-actions button{margin-left:12px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-notice{background:#fff;box-shadow:0 1px 1px rgba(0,0,0,.04);color:#000;margin-top:4px;padding:1px 12px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-notice.tf-is-dismissible{padding-right:38px;position:relative}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-notice.tf-error{border-left:4px solid #d63638}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-notice.tf-success{border-left:4px solid #00a32a}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-notice.tf-warning{border-left-color:#dba617}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-notice.tf-info{border-left-color:#72aee6}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-notice-dismiss{background:none;border:none;color:#787c82;cursor:pointer;margin:0;padding:9px;position:absolute;right:1px;top:0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-notice-dismiss:active:before,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-notice-dismiss:focus:before,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-notice-dismiss:hover:before{color:#d63638}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-notice-dismiss:focus{box-shadow:0 0 0 1px #4f94d4,0 0 2px 1px rgba(79,148,212,.8);outline:none}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-notice-dismiss:before{background:none;color:#787c82;content:"\f153";display:block;font:normal 16px/20px dashicons;height:20px;text-align:center;width:20px;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-underlay{inset:0;position:fixed}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-popover{background:#fff;color:inherit;z-index:900}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-tooltip-trigger-content{cursor:context-menu;position:relative;width:-moz-fit-content;width:fit-content}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-tooltip{cursor:default;display:inline-block;max-width:150px;position:absolute;visibility:hidden;width:-moz-max-content;width:max-content;z-index:1}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-tooltip-top{bottom:100%;left:50%;margin-bottom:12px;transform:translateX(-50%)}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-tooltip-bottom{left:50%;margin-top:12px;top:100%;transform:translateX(-50%)}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-tooltip-start{margin-right:12px;right:100%;top:50%;transform:translateY(-50%)}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-tooltip-end{left:100%;margin-left:12px;top:50%;transform:translateY(-50%)}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-tooltip-content{border-radius:3px;font-size:12px;padding:6px 12px;text-align:center;word-break:normal}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-tooltip-content.light{background-color:#e6e6e6;color:hsla(0,4%,5%,.945);--tf-tooltip-after-color:#e6e6e6}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-tooltip-content.dark{background-color:hsla(0,4%,5%,.945);color:#e6e6e6;--tf-tooltip-after-color:hsla(0,4%,5%,.945)}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-tooltip-content:after{border-style:solid;border-width:7px;content:" ";position:absolute}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-tooltip-content-top:after{border-color:var(--tf-tooltip-after-color,transparent) transparent transparent transparent;left:50%;margin-left:-7px;top:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-tooltip-content-bottom:after{border-color:transparent transparent var(--tf-tooltip-after-color,transparent) transparent;bottom:100%;left:50%;margin-left:-7px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-tooltip-content-start:after{border-color:transparent transparent transparent var(--tf-tooltip-after-color,transparent);left:100%;margin-top:-7px;top:50%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-tooltip-content-end:after{border-color:transparent var(--tf-tooltip-after-color,transparent) transparent transparent;margin-top:-7px;right:100%;top:50%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-tooltip-trigger-content:hover .tf-tooltip{visibility:visible}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-conditional-group-actions{align-items:center;display:flex;gap:8px;padding:8px 0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-conditional-group-actions strong{text-transform:uppercase}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-conditional-panel-condition-actions{display:flex;gap:4px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-conditional-panel-condition-actions .tf-button-action:first-child{text-transform:uppercase}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-conditional-panel-condition-actions .tf-button-danger:last-child{position:relative}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-conditional-panel-condition-actions .tf-button-danger:last-child:before{background-color:#cc1818;content:"";height:1px;position:absolute;width:100%;width:10px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-accordion .tf-switch-element,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-accordion .tf-switch-element-selected{transform:scale(.7)}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-alignment-matrix-container{display:grid;grid-template-columns:repeat(3,1fr);height:50px;margin:5px;width:50px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-border-dimensions-container{margin:0 0 5px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-button-group .tf-button-group-option{align-items:center;background:#eee;border:1px solid #d3d3d3;border-radius:4px;border-radius:0;color:#505050;color:#4b84ce;cursor:pointer;display:inline-flex;height:30px;margin:0;padding:0 12px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-button-group .tf-button-group-option:hover{background:#e2e2e2;color:#505050}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-button-group .tf-button-group-option:first-child{border-bottom-left-radius:4px;border-top-left-radius:4px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-button-group .tf-button-group-option:not(:first-child){margin-left:-1px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-button-group .tf-button-group-option:last-child{border-bottom-right-radius:4px;border-top-right-radius:4px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-button-group .tf-button-group-option.tf-button-group-option-selected{background:#4b84ce;border-color:#4b84ce;color:#fff}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-button-group .tf-button-group-option:focus-within{position:relative;z-index:1}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-button-group .tf-button-group-option .dashicons{align-items:center;display:flex;justify-content:center}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-button-group-container[aria-disabled=true] .tf-button-group-option{opacity:.5;pointer-events:none}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-checkbox .tf-label{font-size:13px;font-weight:400;margin-bottom:revert;text-transform:none}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-checkbox input[type=checkbox]{border:1px solid;border-color:inherit;border-radius:2px;box-shadow:0 0 0 transparent;margin-right:6px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-checkbox input[type=checkbox]:focus{border-color:#4b84ce;box-shadow:0 0 0 1px #4b84ce;outline:2px solid transparent}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-checkbox input[type=checkbox]:checked{background:#4b84ce;border-color:#4b84ce;color:#fff}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-checkbox input[type=checkbox]:checked:before{content:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGFyaWEtaGlkZGVuPSJ0cnVlIiBjbGFzcz0iY29tcG9uZW50cy1jaGVja2JveC1jb250cm9sX19jaGVja2VkIiB2aWV3Qm94PSIwIDAgMjQgMjQiPjxwYXRoIGZpbGw9IiNmZmYiIGQ9Im0xNi43IDcuMS02LjMgOC41LTMuMy0yLjUtLjkgMS4yIDQuNSAzLjRMMTcuOSA4eiIvPjwvc3ZnPg==")}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-checkbox input[type=checkbox]:indeterminate{background:#4b84ce;border-color:#4b84ce;color:#fff}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-checkbox input[type=checkbox]:indeterminate:before{content:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGFyaWEtaGlkZGVuPSJ0cnVlIiBjbGFzcz0iY29tcG9uZW50cy1jaGVja2JveC1jb250cm9sX19pbmRldGVybWluYXRlIiB2aWV3Qm94PSIwIDAgMjQgMjQiPjxwYXRoIGZpbGw9IiNmZmYiIGQ9Ik03IDExLjVoMTBWMTNIN3oiLz48L3N2Zz4=")}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-color-area,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-color-area-gradient{height:150px;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-color-area-thumb{border:2px solid #fff;border-radius:50%;box-shadow:0 0 0 1px #000,inset 0 0 0 1px #000;height:20px;top:50%;width:20px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-color-container{position:relative;width:-moz-fit-content;width:fit-content}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-color-container input{background:#fff;border:1px solid #8c8f94;border-radius:2px;box-shadow:unset;color:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;height:32px;padding:0 12px;width:192px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-color-container input::-moz-placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-color-container input::placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-color-picker{background:#fff;border:1px solid #8c8f94;width:100%;z-index:900}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-color-picker .tf-color-area{display:flex;justify-content:center;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-color-picker .tf-color-area .tf-color-area-thumb{transform:translate(-50%,-50%)!important}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-color-picker .tf-color-input{display:flex;flex-direction:column;padding:10px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-color-picker .tf-color-sliders{padding:0 12px 10px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-color-input>input{width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-color-slider{align-items:center;display:flex;flex-direction:column;padding-bottom:5px;padding-top:5px;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-color-slider-label{align-self:stretch;display:flex}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-color-slider-label output{flex:1 0 auto;text-align:end}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-color-slider-container{border:1px solid #8c8f94;border-radius:10px;height:20px;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-combo-box{display:flex;flex-direction:column;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-combo-box-text{background:#fff;border:1px solid #8c8f94;border-radius:2px;box-shadow:unset;color:inherit;display:flex;flex-wrap:nowrap;font-size:inherit;font-style:inherit;font-weight:inherit;height:32px;justify-content:space-between;padding:0;position:relative;width:192px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-combo-box-text::-moz-placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-combo-box-text::placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-combo-box-text input{border:0;box-shadow:none;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-combo-box-text input:focus{box-shadow:none}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-combo-box-text .tf-button-action{background:#eee;background:none;border:0;border-radius:4px;color:#505050;cursor:pointer;height:30px;max-height:30px;padding:0 12px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-combo-box-text .tf-button-action:hover{background:#e2e2e2;color:#505050}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-combo-box-text .tf-button-action span{padding:0 2px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-combo-box-text:focus-within{border-color:#4b84ce;box-shadow:0 0 0 1px #4b84ce;outline:2px solid transparent}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-combo-box-item{align-items:center;background-color:#e2e7ff;border:1px solid transparent;border-radius:2px;box-sizing:border-box;color:#4b84ce;display:inline-flex;font-size:13px;font-weight:700;gap:.35em;line-height:1.4;max-width:100%;padding:.25em .5em}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-combo-box-item span:first-child{flex:1 1 auto;padding-right:5px;text-overflow:ellipsis}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-combo-box-item button:last-child{background-color:transparent;border:none;color:#4b84ce;cursor:pointer}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-combo-box-item button:last-child:focus{outline:none}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-multiple-combobox-container{display:flex;gap:8px;position:relative}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-multiple-combobox-container>.tf-popover{left:0;position:absolute;top:100%;width:192px;z-index:900}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-multiple-combobox-container>.tf-popover .tf-combo-box{width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-multiple-combobox-container>.tf-popover .tf-list-box-option:not(.tf-list-box-option-selected,.tf-list-box-option-disabled):hover:after{content:"+";margin-left:auto}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-multiple-combobox{position:relative}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-multiple-combobox>.tf-label{display:flex}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-multiple-combobox-values{align-items:center;background-color:#fff;border:1px solid #8c8f94;border-radius:2px;box-sizing:border-box;display:flex;flex-wrap:wrap;gap:8px;min-height:32px;padding:0 12px;width:192px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-multiple-combobox[data-enabled=false] .tf-multiple-combobox-values{opacity:.5}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-combo-box-popover.tf-popover{border:1px solid #4b84ce;border-bottom-left-radius:2px;border-bottom-right-radius:2px;box-shadow:0 0 0 1px #4b84ce;margin-left:-2px;outline:2px solid transparent}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-date-picker{align-items:flex-start;display:flex;flex-direction:column}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-popover{border:1px solid #8c8f94;border-radius:2px;display:flex;justify-content:center;width:auto}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-popover .tf-calendar{padding:20px;width:-moz-fit-content;width:fit-content}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-popover .tf-calendar-month{text-align:center}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-popover .tf-calendar-buttons{align-items:center;display:flex;justify-content:space-between}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-popover .tf-calendar-buttons button{background:#eee;border:1px solid #d3d3d3;border-radius:4px;color:#505050;cursor:pointer;height:30px;padding:0 12px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-popover .tf-calendar-buttons button:hover{background:#e2e2e2;color:#505050}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-popover .tf-calendar-tables{display:flex}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-popover .tf-calendar-table{padding:10px;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-popover .tf-calendar-table td{text-align:center}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-popover .tf-calendar-presets{display:flex;gap:.25rem}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-popover .tf-calendar-presets button{background:#eee;border:1px solid #d3d3d3;border-radius:4px;color:#505050;cursor:pointer;height:30px;padding:0 12px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-popover .tf-calendar-presets button:hover{background:#e2e2e2;color:#505050}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-popover .tf-calendar-cell{border-radius:100%;cursor:pointer;height:2em;line-height:2em;width:2em}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-popover .tf-calendar-cell.tf-calendar-cell-disabled,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-popover .tf-calendar-cell.tf-calendar-cell-unavailable{cursor:not-allowed;opacity:.5}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-popover .tf-calendar-cell:not(.tf-calendar-cell-disabled,.tf-calendar-cell-unavailable,.tf-calendar-cell-selected):hover{color:#4b84ce}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-popover .tf-calendar-cell.tf-calendar-cell-selected{background-color:#4b84ce;color:#fff}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-date-group{align-items:center;display:flex;gap:8px;justify-content:flex-start}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-date-group .tf-button-action{height:32px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-date-field-container{width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-date-field{align-items:center;background:#fff;border:1px solid #8c8f94;border-radius:2px;box-shadow:unset;color:inherit;display:inline-flex;font-size:inherit;font-style:inherit;font-weight:inherit;height:32px;justify-content:center;padding:0 12px;width:192px;width:168px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-date-field::-moz-placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-date-field::placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-date-field:focus-within{border-color:#4b84ce}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-date-segment{font-variant-numeric:tabular-nums;padding:0 2px;text-align:end}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-date-segment:focus{background:#4b84ce;border-radius:2px;color:#fff;outline:none}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-date-segment span{display:none}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-date-segment-placeholder span{display:flex}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-dimensions{display:flex;flex-direction:column}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-dimensions .tf-select,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-dimensions .tf-select .tf-button-select{width:auto}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-dimensions-container{display:flex;flex-wrap:wrap;position:relative;width:-moz-fit-content;width:fit-content}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-dimensions-number-groups{display:flex;flex-direction:row;max-width:300px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-dimensions-number-groups .tf-number{flex:1 1 75px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-dimensions-number-groups .tf-number .tf-number-field{width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-dimensions-number-groups .tf-number input{text-align:left;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-dimensions-number-groups .tf-number-button-group .tf-button-number{padding:0 3px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-dimensions-number-groups-linked .tf-number:not(:first-child){display:none;opacity:.5;pointer-events:none}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-dynamic-text-field{align-items:center;display:flex;gap:8px;position:relative}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-dynamic-text-field .tf-dynamic-text-popover{left:0;position:absolute;top:100%;width:192px;z-index:900}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-dynamic-text-field .tf-dynamic-text-popover .tf-list-box-option:not(.tf-list-box-option-selected,.tf-list-box-option-disabled):hover:after{content:"+";margin-left:auto}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-dynamic-text-item{align-items:center;background-color:#e2e7ff;border:1px solid transparent;border-radius:2px;color:#4b84ce;display:inline-flex;font-size:13px;font-weight:700;gap:.35em;line-height:1.4;margin:0 .15em;padding:.25em .5em}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-dynamic-text-item:before{content:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMSIgaGVpZ2h0PSIxNiIgZmlsbD0ibm9uZSI+PGcgY2xpcC1wYXRoPSJ1cmwoI2EpIj48cGF0aCBmaWxsPSIjMzg1OEU5IiBkPSJNNi44OSA3LjA2MmgzLjE5M2MuMzgxIDAgLjcyNS4yNDQuODM0LjYwN2EuOTEuOTEgMCAwIDEtLjIzIDEuMDM3bC03LjMzMyA2LjU2M2EuOS45IDAgMCAxLTEuMTQzLjA1Mi45NS45NSAwIDAgMS0uMzA0LTEuMTI4bDIuMjA0LTUuMjU2SC44OWMtLjM1NiAwLS42OTgtLjI0My0uODMzLS42MDZhLjk1NS45NTUgMCAwIDEgLjI1NS0xLjAzN0w3LjY0Ni43MzJBLjkuOSAwIDAgMSA4Ljc4OC42NzlhLjk1Ljk1IDAgMCAxIC4zMDQgMS4xMjh6Ii8+PC9nPjxkZWZzPjxjbGlwUGF0aCBpZD0iYSI+PHBhdGggZmlsbD0iI2ZmZiIgZD0iTTAgLjVoMTF2MTVIMHoiLz48L2NsaXBQYXRoPjwvZGVmcz48L3N2Zz4=");line-height:1}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .cm-content[contenteditable=false] .tf-dynamic-text-item{filter:grayscale(1)}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-dynamic-text-input:focus-within{box-shadow:0 0 0 1px #4b84ce;outline:2px solid transparent}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-dynamic-text-input>.cm-editor{padding:0 12px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-dynamic-text-input>.cm-editor.cm-focused{outline:none}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-dynamic-text-input>.cm-editor .cm-scroller{font-family:inherit}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-dynamic-text-input>.cm-editor .cm-content{height:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-editor .ProseMirror ul{list-style-type:disc}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-editor .ProseMirror ol{margin:0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-editor .ProseMirror{line-height:1.2;outline:none;padding:4px 8px 4px 14px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-editor .tf-editor-view-toggle{display:flex;flex-direction:row;justify-content:flex-end;padding-bottom:5px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-editor .tf-editor-view-toggle .tf-button-group{width:-moz-fit-content;width:fit-content}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-file-field{align-items:center;display:flex;flex-wrap:wrap;width:-moz-fit-content;width:fit-content}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-file-text{max-width:192px;overflow:hidden;padding:0 12px;text-overflow:ellipsis}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-file-list{margin-bottom:0;padding:0;width:300px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-file-item{align-items:center;display:flex;flex-wrap:wrap;justify-content:space-between}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-file-item img{max-width:200px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-file-item span{flex-grow:1;overflow:hidden;text-overflow:ellipsis;width:70%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-file-item .tf-button-upload-list{cursor:pointer;font-style:italic;text-decoration:underline}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-gallery-item{align-items:center;display:flex;height:100px;justify-content:center;width:100px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-gallery-item img{border-radius:2px;height:100%;-o-object-fit:cover;object-fit:cover;overflow:hidden;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-gallery__controls{background:#fff;border:1px solid #a7b1bb;border-radius:2px;padding:8px 12px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-gallery-buttons{display:flex;gap:10px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-gradient-container{display:flex;flex-direction:column;position:relative;width:192px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-gradient-input{background:#fff;border:1px solid #8c8f94;border-radius:2px;box-shadow:unset;color:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;height:32px;padding:0 12px;width:192px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-gradient-input::-moz-placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-gradient-input::placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-gradient-settings{padding:10px 12px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-gradient-settings .tf-gradient-settings-row{padding:10px 0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-gradient-popover .tf-dialog{width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-gradient-preview{padding:10px 12px;position:relative}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-gradient-colors{align-items:center;cursor:pointer;display:flex;height:32px;justify-content:space-between;padding:0 12px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-list-container{display:flex;flex-direction:column;gap:8px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-list-items{width:192px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-list-header,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-list-header label,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-list-item{align-items:center;display:flex;justify-content:flex-start}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-list-header{background:#f0f0f0;border:1px solid hsla(218,4%,56%,.5);border-radius:2px;border-bottom-left-radius:0;border-bottom-right-radius:0;padding:0 12px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-list-header label{height:32px;margin:0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-list-item{background:#fff;border:1px solid hsla(218,4%,56%,.5);border-top:none;box-sizing:border-box;height:32px;width:192px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-list-item .tf-list-item-text{flex:1;font-size:inherit;font-weight:inherit;padding:0 12px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-list-item .tf-list-item-actions{display:flex}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-list-search{display:flex;width:192px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-list-search .tf-combo-box{flex:1}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-number input{background:#fff;border:1px solid #8c8f94;border-radius:2px;box-shadow:unset;color:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;height:32px;padding:0 12px;width:192px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-number input::-moz-placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-number input::placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-number .tf-label{display:flex}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-number-field{display:flex;flex-direction:row;flex-wrap:nowrap;position:relative;width:192px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-number[data-enabled=false] .tf-number-field{opacity:.5}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-number-button-group{bottom:1px;display:flex;flex-direction:column;flex-wrap:nowrap;height:auto;padding:0 12px;position:absolute;right:1px;top:1px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-number-button-group .tf-button-number{align-items:center;background-color:#eee;border:0;border-radius:4px;border-radius:0;color:#505050;cursor:pointer;display:flex;height:30px;height:50%;justify-content:center;line-height:0;min-width:2em;padding:0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-number-button-group .tf-button-number:hover{background-color:#e2e2e2}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-number-button-group .tf-button-number:first-child{border-bottom-left-radius:0;border-bottom-right-radius:0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-number-button-group .tf-button-number:last-child{border-top-left-radius:0;border-top-right-radius:0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-radio-group-container{display:flex;flex-direction:column}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-multiple-select,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-select{display:inline-block;position:relative;width:192px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-multiple-select>.tf-label,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-select>.tf-label{display:flex}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-multiple-select__value,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-select__value{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-multiple-select .tf-button-select,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-select .tf-button-select{align-items:center;background:#fff;border:1px solid #8c8f94;border-radius:2px;box-shadow:unset;color:inherit;display:flex;font-style:inherit;font-weight:inherit;height:32px;justify-content:space-between;padding:0 10px;width:192px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-multiple-select .tf-button-select::-moz-placeholder,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-select .tf-button-select::-moz-placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-multiple-select .tf-button-select::placeholder,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-select .tf-button-select::placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-multiple-select .tf-button-select[disabled],body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-select .tf-button-select[disabled]{background:hsla(0,0%,100%,.5);border-color:rgba(0,0,0,.1);color:rgba(0,0,0,.4)}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-multiple-select .tf-select-icon,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-select .tf-select-icon{font-size:10px;padding-left:5px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-multiple-select .tf-button-select,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-select .tf-button-select{cursor:pointer;font-size:inherit}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-simple-dimensions{display:flex;flex-direction:column}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-simple-dimensions .tf-select,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-simple-dimensions .tf-select .tf-button-select{width:auto}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-simple-dimensions-container{display:flex;position:relative;width:-moz-fit-content;width:fit-content}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-switch label{align-items:center;display:flex;justify-content:flex-start}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-switch-element,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-switch-element-selected{display:inline-block;height:32px;position:relative;width:64px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-switch-element span,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-switch-element-selected span{background-color:#ccc;border-radius:32px;bottom:0;cursor:pointer;left:0;position:absolute;right:0;top:0;transition:.4s}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-switch-element span:before,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-switch-element-selected span:before{background-color:#fff;border-radius:50%;bottom:4px;content:"";height:24px;left:4px;position:absolute;transition:.4s;width:24px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-switch-element-selected span{background-color:#4b84ce}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-switch-element-selected span:focus{box-shadow:0 0 1px #4b84ce}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-switch-element-selected span:before{transform:translateX(32px)}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-text{box-sizing:content-box;display:flex;flex-direction:column}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-text input{background:#fff;border:1px solid #8c8f94;border-radius:2px;box-shadow:unset;color:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;height:32px;padding:0 12px;width:192px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-text input::-moz-placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-text input::placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-text-area textarea{background:#fff;border:1px solid #8c8f94;border-radius:2px;box-shadow:unset;color:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;height:32px;height:auto;padding:.6em;width:192px;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-text-area textarea::-moz-placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-text-area textarea::placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-repeater-bulk-actions{align-items:center;background:#fff;border:1px solid #8c8f94;border-radius:2px;display:flex;justify-content:flex-start;margin-bottom:4px;padding:5px 12px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-repeater-bulk-actions>button,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-repeater-bulk-actions>div{margin-right:5px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-repeater-advanced-label-row{box-sizing:border-box;display:flex;gap:8px;justify-content:space-between;padding:8px 12px;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-repeater-advanced-label-row .tf-repeater-advanced-label-row-item{align-items:center;display:flex;flex:1;flex-wrap:wrap;justify-content:flex-start}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-repeater-advanced-label-row .tf-repeater-advanced-label-row-item:first-child{color:#4b84ce;font-weight:700}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-repeater-advanced-label-row .tf-repeater-advanced-label-row-arrow,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-repeater-advanced-label-row .tf-repeater-advanced-label-row-index{width:32px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-repeater-advanced-header{background:#f0f0f0;border:1px solid hsla(218,4%,56%,.5);border-bottom:none;border-radius:2px;border-bottom-left-radius:0;border-bottom-right-radius:0;margin:0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-repeater-advanced-header .tf-repeater-advanced-header-item{color:inherit;display:inline-block;font-size:inherit;font-style:inherit;font-weight:inherit;height:32px;margin-bottom:0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-repeater-advanced-overview{background:#fff}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-repeater-advanced-overview .tf-repeater-advanced-label-row-arrow,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-repeater-advanced-overview .tf-repeater-advanced-label-row-index{height:40px;line-height:40px;text-align:center}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-repeater-advanced-overview .tf-repeater-advanced-label-row-index{background:#f0f0f0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-repeater-advanced-overview .tf-repeater-advanced-label-row-arrow{cursor:pointer}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-repeater-advanced-overview .tf-repeater-advanced-label-row-arrow>div{border:solid;border-color:inherit;border-width:0 1px 1px 0;display:inline-block;height:8px;width:8px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-repeater-advanced-overview .tf-repeater-advanced-overview-item-actions{height:20px;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-repeater-advanced-overview .tf-repeater-advanced-overview-item-actions button{display:none}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-repeater-advanced-overview-item-container{display:flex;flex-direction:column;justify-content:center;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-repeater-advanced-overview-item-fields{display:flex}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-repeater-advanced-overview:hover .tf-repeater-advanced-overview-item-actions button{display:initial}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-repeater-advanced-item .tf-repeater-advanced-overview:hover,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-repeater-advanced-item[data-open=true] .tf-repeater-advanced-overview{background-color:#e2e7ff}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-repeater-advanced-item[data-open=true] .tf-repeater-advanced-label-row-arrow>div{transform:translateY(50%) rotate(-135deg)}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-repeater-advanced-item[data-open=false] .tf-repeater-advanced-label-row-arrow>div{transform:translateY(-50%) rotate(45deg)}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-repeater-advanced-item{background-color:#fff;border:1px solid hsla(218,4%,56%,.5);border-radius:2px;border-radius:0;border-top:none;position:relative}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-repeater-advanced-item[data-open=true]:before{background-color:#4b84ce;content:"";height:100%;left:0;position:absolute;top:0;width:3px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-repeater-advanced-container>.tf-repeater-actions{background-color:#fff;border:1px solid hsla(218,4%,56%,.5);border-radius:2px;border-top:none;border-top-left-radius:0;border-top-right-radius:0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-repeater-advanced-row{margin:16px 32px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-repeater-advanced-row .tf-repeater-advanced-item-field{padding:8px 12px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-repeater-advanced-item-field:has(>div[data-overlay-container=true]:empty){display:none}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-repeater-advanced-item-field:has(input.tf-hidden[type=hidden]){padding:0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-repeater-advanced .tf-repeater-actions{padding:8px 12px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-repeater-bare-items{display:flex;flex-direction:column;row-gap:8px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-repeater-bare-items .tf-repeater-bare-row{display:flex;gap:8px;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-repeater-block-item{background:#fff;border:1px solid #8c8f94;border-radius:2px;display:flex;flex-direction:column;margin-bottom:6px;margin-top:1em;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-repeater-block-item .tf-panel-header .tf-switch-element,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-repeater-block-item .tf-panel-header .tf-switch-element-selected{transform:scale(.7)}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-repeater-block-item-field{padding:1em}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-repeater-block-item-field:has(>div[data-overlay-container=true]:empty){display:none}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-repeater-tab-container{background-color:#fff;border:1px solid hsla(218,4%,56%,.5);border-radius:2px;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-repeater-tab-header{border-bottom:1px solid hsla(218,4%,56%,.5);box-sizing:border-box;display:flex;flex-wrap:nowrap;justify-content:space-between;overflow-x:scroll;overflow-y:hidden;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-repeater-tab-actions{display:flex;flex-wrap:nowrap;justify-content:space-between;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-repeater-tab-icon-actions{align-items:center;display:flex}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-repeater-tab-icon-actions button{min-width:-moz-fit-content;min-width:fit-content}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-repeater-tab-items{background-color:#fff;box-sizing:border-box;display:flex;gap:8px;justify-content:flex-start;margin:0;min-width:-moz-fit-content;min-width:fit-content;overflow-x:auto;overflow-y:hidden}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-repeater-tab-add-item,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-repeater-tab-icon-actions button,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-repeater-tab-item{align-items:center;color:inherit;display:flex;display:inline-block;font-size:inherit;font-style:inherit;font-weight:inherit;height:32px;justify-content:center;margin-bottom:0;min-width:-moz-fit-content;min-width:fit-content;padding:8px 12px;position:relative}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-repeater-tab-add-item[data-open=true]:before,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-repeater-tab-icon-actions button[data-open=true]:before,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-repeater-tab-item[data-open=true]:before{background-color:#4b84ce;bottom:0;content:"";height:3px;left:0;position:absolute;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-repeater-tab-add-item button,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-repeater-tab-icon-actions button button,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-repeater-tab-item button{white-space:nowrap}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-repeater-tab-add-item{justify-content:flex-start;min-width:-moz-max-content;min-width:max-content;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-repeater-tab-content{background-color:#fff;box-sizing:border-box;padding:16px 32px;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-repeater-tab-content .tf-repeater-tab-item-field{padding:8px 12px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-repeater-table-container{border:1px solid hsla(218,4%,56%,.5);border-radius:2px;display:flex;flex-direction:column;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-repeater-table-container .tf-repeater-actions{box-sizing:border-box;justify-content:flex-start;padding:8px 12px;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-repeater-table-container table{padding:0 4px 4px;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-repeater-table-container table th,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-repeater-table-container table tr{min-height:32px;padding:2px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-repeater-table-container table th{height:32px;text-align:left}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-repeater-table-container table td>div{display:flex;justify-content:center;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-repeater-table-container table td>div>div{width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-repeater-table-container .tf-repeater-row-actions{width:1%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-repeater-table-container .tf-repeater-row-actions>div{display:inline-flex;gap:6px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-repeater-actions{display:flex;gap:6px;justify-content:flex-end;padding:2px 2px 4px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-repeater-actions .tf-button-action:last-child{border-color:#cc1818;color:#cc1818}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-repeater-title{color:inherit;display:inline-block;font-size:inherit;font-style:inherit;font-weight:inherit;margin-bottom:6px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-repeater-block-items{margin-bottom:8px;margin-top:8px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-dynamic-wrapper{align-items:center;display:flex;position:relative}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-dynamic-wrapper .tf-dynamic-wrapper-popover{position:absolute;top:100%;width:192px;z-index:900}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-dynamic-wrapper .tf-dynamic-wrapper-popover-form{background:#fff;border:1px solid #8c8f94;padding:0 12px;width:100%;z-index:900}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-dynamic-wrapper .tf-dynamic-wrapper-popover-form>*{margin:12px 0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-dynamic-wrapper .tf-dynamic-wrapper-popover-buttons{display:flex;justify-content:flex-end}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-dynamic-wrapper .tf-dynamic-wrapper-popover-buttons button{margin-left:6px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-dynamic-wrapper.tf-dynamic-wrapper-buttons-outside{gap:8px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-dynamic-wrapper.tf-dynamic-wrapper-buttons-inside{gap:0;width:-moz-fit-content;width:fit-content}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-dynamic-wrapper.tf-dynamic-wrapper-buttons-inside .tf-button-icon{background:transparent;border:none;cursor:pointer;height:32px;position:absolute;right:1px;top:50%;transform:translateY(-50%)}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-dynamic-wrapper.tf-dynamic-wrapper-buttons-inside .tf-button-icon:before{content:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMyIgaGVpZ2h0PSIxNyIgZmlsbD0ibm9uZSI+PHBhdGggZmlsbD0iIzFFMUUxRSIgZD0iTTcuNTIyIDdoMy40ODdjLjQxNiAwIC43OS4yNi45MS42NDdhLjk1Ljk1IDAgMCAxLS4yNSAxLjEwNmwtLjYwMy41MjdhNC41IDQuNSAwIDAgMC01Ljk1NyA1LjIwOGwtMS40NDcgMS4yNjVhMSAxIDAgMCAxLTEuNTgtMS4xNDdMNC40ODkgOUguOTczYS45OTUuOTk1IDAgMCAxLS45MDktLjY0NyAxIDEgMCAwIDEgLjI3OC0xLjEwNmw4LjAwNS03YTEuMDAyIDEuMDAyIDAgMCAxIDEuNTggMS4xNDd6Ii8+PHBhdGggZmlsbD0iIzFFMUUxRSIgZmlsbC1ydWxlPSJldmVub2RkIiBkPSJNOS41IDE3YTMuNSAzLjUgMCAxIDAgMC03IDMuNSAzLjUgMCAwIDAgMCA3bTIuNS0zLjVhLjU3Ny41NzcgMCAwIDEtLjU3Ny41NzdoLTEuMzQ2djEuMzQ2YS41NzcuNTc3IDAgMSAxLTEuMTU0IDB2LTEuMzQ2SDcuNTc3YS41NzcuNTc3IDAgMCAxIDAtMS4xNTRoMS4zNDZ2LTEuMzQ2YS41NzcuNTc3IDAgMSAxIDEuMTU0IDB2MS4zNDZoMS4zNDZjLjMyIDAgLjU3Ny4yNTguNTc3LjU3NyIgY2xpcC1ydWxlPSJldmVub2RkIi8+PC9zdmc+);line-height:1;padding:0 5px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-dynamic-wrapper.tf-dynamic-wrapper-buttons-inside .tf-button-icon.cm-content[contenteditable=false]:before{display:none}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-dynamic-field-wrapper.tf-dynamic-wrapper .tf-dynamic-value-input:disabled{background:hsla(0,0%,100%,.5);border-color:rgba(0,0,0,.1);color:rgba(0,0,0,.4)}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-dynamic-field-wrapper.tf-dynamic-wrapper .tf-button-icon.tf-dynamic-wrapper-clear:before{content:"⨯"}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-dynamic-text-input{background:#fff;border:1px solid #8c8f94;border-radius:2px;box-shadow:unset;color:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;height:32px;padding:0 12px;width:192px;width:168px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-dynamic-text-input::-moz-placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-dynamic-text-input::placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-dynamic-text-input:focus-within{border-color:#4b84ce}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-dynamic-text-input:has(.cm-content[contenteditable=false]){background:hsla(0,0%,100%,.5);border-color:rgba(0,0,0,.1);color:rgba(0,0,0,.4);pointer-events:none}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-dynamic-text-input:has(.cm-content[contenteditable=false]) .tf-dynamic-text-input__affix{border-color:rgba(0,0,0,.1)}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-dynamic-text-input--has-prefix,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-dynamic-text-input--has-suffix{display:flex;height:auto;padding:0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-dynamic-text-input--has-prefix>.cm-editor,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-dynamic-text-input--has-suffix>.cm-editor{flex:1 1 auto;min-height:32px;overflow:hidden}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-dynamic-text-input>.cm-editor{height:100%;justify-content:center;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-dynamic-text-input>.cm-editor .cm-content,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-dynamic-text-input>.cm-editor .cm-line{padding:0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-dynamic-text-input>.cm-editor .cm-content{display:flex;flex-direction:column;justify-content:center}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-dynamic-text-input .tf-dynamic-text-item-delete:before{content:"⨯";cursor:pointer;padding-left:3px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-dynamic-text-input__affix{align-items:center;border:0 solid #8c8f94;display:inline-flex;font-size:.8em;font-weight:700;padding:0 .5em;text-wrap:nowrap}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-dynamic-text-input__affix--prefix{border-right-width:1px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-dynamic-text-input__affix--suffix{border-left-width:1px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-dynamic-text-input:focus-within .tf-dynamic-text-input__affix{border-color:#4b84ce}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-dynamic-wrapper[data-dynamic=true] .cm-editor{padding-right:25px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-dynamic-wrapper[data-dynamic=true] .cm-editor:has(.cm-content[contenteditable=false]){padding-right:0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-dynamic-wrapper[data-dynamic=true] .tf-dynamic-text-input--has-suffix .cm-editor{padding-right:8px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-dynamic-wrapper[data-dynamic=true] .tf-dynamic-text-input__affix--suffix{border-right-width:1px;margin-right:33px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-number-button-group{padding:0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-number-button-group .tf-button-number{background:#eee}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-number-button-group .tf-button-number:hover{background:#e2e2e2;color:#505050}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-editor .ProseMirror-menubar-wrapper{background-color:#fff;border:2px solid rgba(0,0,0,.2);height:auto;overflow:unset;position:relative}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-editor .ProseMirror-menubar-spacer{height:auto!important}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-editor .ProseMirror-menubar{background:#fff;border-bottom:2px solid rgba(0,0,0,.2);color:inherit;left:0!important;min-height:60px!important;position:absolute!important;top:0!important}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-editor .ProseMirror.ProseMirror-example-setup-style{margin-bottom:0;margin-top:63px;max-height:100px;min-height:60px;overflow:auto}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-gallery__controls{min-height:32px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-gallery-preview{display:flex;flex-wrap:wrap}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-gallery-item{height:75px;width:75px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-gallery-buttons{margin-top:12px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-radio-group-container{gap:4px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-radio{align-items:center;display:inline-flex;gap:4px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-dimensions-number-groups{max-width:250px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-dimensions-number-groups .tf-number-field>input{padding:0 6px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-field-group-item{margin:12px 0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-checkbox>.tf-label{align-items:center;display:flex}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-panel .tf-panel-header.tf-button-action:hover{background:#e2e2e2;color:#505050}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-button-action,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-button-danger,body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-button-primary{height:32px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-dynamic-text-input{padding:0;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-dynamic-text-input>.cm-editor ::-webkit-scrollbar{height:10px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-dynamic-text-input>.cm-editor ::-webkit-scrollbar-thumb{background:#d3d3d3;border-radius:5px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-dynamic-text-input>.cm-editor .cm-line{height:1.5em}body.elementor-editor-active:has(#e-theme-ui-dark-css[media=none]) .tf-context-elementor .tf-switch .tf-switch-label{max-width:-moz-max-content;max-width:max-content}@media (prefers-color-scheme:dark){body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-button-action,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-button-danger,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-button-primary{align-items:center;background:#34383c;border:1px solid #64666a;border-radius:4px;color:#fff;cursor:pointer;display:flex;height:30px;justify-content:center;padding:0 12px;width:-moz-fit-content;width:fit-content}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-button-action:hover,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-button-danger:hover,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-button-primary:hover{background:#64666a;color:#fff}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-button-danger{border-color:#cc1818;color:#cc1818}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-button-primary{background-color:#4b84ce;color:inherit}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-button-action[disabled],body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-button-danger[disabled],body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-button-icon-trash[disabled],body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-button-primary[disabled],body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-button-text-action[disabled],body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-button-text-danger[disabled],body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-button-text-primary[disabled]{cursor:not-allowed;opacity:.5;pointer-events:none}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-button-action:focus{outline:none}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-button-text-action,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-button-text-danger,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-button-text-primary{background:transparent;border:none;cursor:pointer;display:inline}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-button-text-action:hover,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-button-text-danger:hover,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-button-text-primary:hover{font-weight:700}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-button-text-action{color:#fff}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-button-text-danger{color:#cc1818}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-button-text-primary{color:#4b84ce}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-button-icon-trash{align-items:center;background:transparent;border:none;cursor:pointer;display:flex;height:32px;justify-content:center;width:32px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-button-icon-trash:after{content:url('data:image/svg+xml;utf8,')}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-button-icon-eye{align-items:center;background:transparent;border:none;cursor:pointer;display:flex;height:32px;justify-content:center;width:32px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-button-icon-eye:after{content:url('data:image/svg+xml;utf8,')}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dialog .tf-title{display:flex}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dialog .tf-title h4{margin:0;padding:12px 0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-panel{background:#34383c;border:1px solid #64666a;display:flex;flex-direction:column;margin-bottom:8px;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-panel-header{align-items:center;cursor:pointer;display:flex;height:32px;justify-content:space-between;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-panel-header.tf-button-action{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:0;border-radius:0;box-sizing:border-box;color:inherit;cursor:pointer;display:flex;font-family:inherit;font-size:100%;height:32px;justify-content:space-between;line-height:1.15;margin:0;padding:8px 12px;text-align:left;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-panel-header.tf-button-action:hover{background:#f0f0f0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-panel-open .tf-panel-header.tf-button-action{border-bottom:1px solid #64666a}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-panel-header-before-title,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-panel-header-left,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-panel-header-right,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-panel-header-title{align-items:center;display:flex;justify-content:flex-start;padding:0 12px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-panel-header-left{padding-left:0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-panel-content,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-panel-footer{padding:4px 12px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-panel-closed .tf-panel-content{display:none}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-panel-footer{border-top:1px solid #64666a}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-panel-footer{display:flex;gap:8px;justify-content:flex-end;padding:1em}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-panel-arrow{border:solid;border-color:inherit;border-width:0 1px 1px 0;display:inline-block;height:8px;width:8px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-panel-open .tf-panel-arrow{transform:translateY(50%) rotate(-135deg)}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-panel-closed .tf-panel-arrow{transform:translateY(-50%) rotate(45deg)}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-label{color:inherit;display:inline-block;font-size:inherit;font-style:inherit;font-weight:inherit;margin-bottom:6px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-description{color:inherit;font-size:inherit;font-style:inherit;font-weight:inherit}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-list-box{background:#34383c;list-style:none;margin:5px 0;max-height:300px;max-width:100%;min-width:100%;overflow-y:auto;padding:0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-list-box-option{background:transparent;border-radius:2px;cursor:pointer;display:flex;font-size:13px;gap:8px;margin:0 5px;outline:none;padding:5px 9px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-list-box-option:not(.tf-list-box-option-selected,.tf-list-box-option-disabled):hover{color:#4b84ce}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-list-box-option-selected,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-list-box-option-selected.tf-list-box-option-selected{background-color:#4b84ce;color:#34383c}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-list-box-option-selected.tf-list-box-option-selected:hover,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-list-box-option-selected:hover{color:#34383c}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-list-box-option-selected.tf-list-box-option-selected:after,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-list-box-option-selected:after{content:"✓";margin-left:auto}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-list-box-option-disabled{color:#aaa;cursor:default}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-list-box-option-focus{box-shadow:inset 0 0 0 2px;color:#4b84ce}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-list-box-section-separator:not(:first-child){border-top:1px solid #8c8f94;margin:12px 0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-list-box-section>span{color:#7d8690;display:block;font-size:11px;font-weight:500;line-height:1.45;margin:0 10px;padding:5px 9px;text-transform:uppercase}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-list-box-section>ul{list-style:none;padding:0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-modal{align-items:center;background:rgba(0,0,0,.7);bottom:0;display:flex;justify-content:center;left:0;position:fixed;right:0;top:0;z-index:9990}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-modal .tf-modal-container{background:#34383c;border:1px solid #64666a;border-radius:2px;padding:2rem}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-modal-actions{display:flex;justify-content:flex-end;padding-top:12px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-modal-actions button{margin-left:12px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-notice{background:#fff;box-shadow:0 1px 1px rgba(0,0,0,.04);color:#000;margin-top:4px;padding:1px 12px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-notice.tf-is-dismissible{padding-right:38px;position:relative}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-notice.tf-error{border-left:4px solid #d63638}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-notice.tf-success{border-left:4px solid #00a32a}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-notice.tf-warning{border-left-color:#dba617}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-notice.tf-info{border-left-color:#72aee6}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-notice-dismiss{background:none;border:none;color:#787c82;cursor:pointer;margin:0;padding:9px;position:absolute;right:1px;top:0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-notice-dismiss:active:before,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-notice-dismiss:focus:before,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-notice-dismiss:hover:before{color:#d63638}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-notice-dismiss:focus{box-shadow:0 0 0 1px #4f94d4,0 0 2px 1px rgba(79,148,212,.8);outline:none}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-notice-dismiss:before{background:none;color:#787c82;content:"\f153";display:block;font:normal 16px/20px dashicons;height:20px;text-align:center;width:20px;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-underlay{inset:0;position:fixed}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-popover{background:#34383c;color:inherit;z-index:900}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-tooltip-trigger-content{cursor:context-menu;position:relative;width:-moz-fit-content;width:fit-content}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-tooltip{cursor:default;display:inline-block;max-width:150px;position:absolute;visibility:hidden;width:-moz-max-content;width:max-content;z-index:1}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-tooltip-top{bottom:100%;left:50%;margin-bottom:12px;transform:translateX(-50%)}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-tooltip-bottom{left:50%;margin-top:12px;top:100%;transform:translateX(-50%)}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-tooltip-start{margin-right:12px;right:100%;top:50%;transform:translateY(-50%)}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-tooltip-end{left:100%;margin-left:12px;top:50%;transform:translateY(-50%)}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-tooltip-content{border-radius:3px;font-size:12px;padding:6px 12px;text-align:center;word-break:normal}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-tooltip-content.light{background-color:#e6e6e6;color:hsla(0,4%,5%,.945);--tf-tooltip-after-color:#e6e6e6}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-tooltip-content.dark{background-color:hsla(0,4%,5%,.945);color:#e6e6e6;--tf-tooltip-after-color:hsla(0,4%,5%,.945)}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-tooltip-content:after{border-style:solid;border-width:7px;content:" ";position:absolute}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-tooltip-content-top:after{border-color:var(--tf-tooltip-after-color,transparent) transparent transparent transparent;left:50%;margin-left:-7px;top:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-tooltip-content-bottom:after{border-color:transparent transparent var(--tf-tooltip-after-color,transparent) transparent;bottom:100%;left:50%;margin-left:-7px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-tooltip-content-start:after{border-color:transparent transparent transparent var(--tf-tooltip-after-color,transparent);left:100%;margin-top:-7px;top:50%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-tooltip-content-end:after{border-color:transparent var(--tf-tooltip-after-color,transparent) transparent transparent;margin-top:-7px;right:100%;top:50%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-tooltip-trigger-content:hover .tf-tooltip{visibility:visible}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-conditional-group-actions{align-items:center;display:flex;gap:8px;padding:8px 0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-conditional-group-actions strong{text-transform:uppercase}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-conditional-panel-condition-actions{display:flex;gap:4px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-conditional-panel-condition-actions .tf-button-action:first-child{text-transform:uppercase}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-conditional-panel-condition-actions .tf-button-danger:last-child{position:relative}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-conditional-panel-condition-actions .tf-button-danger:last-child:before{background-color:#cc1818;content:"";height:1px;position:absolute;width:100%;width:10px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-accordion .tf-switch-element,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-accordion .tf-switch-element-selected{transform:scale(.7)}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-alignment-matrix-container{display:grid;grid-template-columns:repeat(3,1fr);height:50px;margin:5px;width:50px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-border-dimensions-container{margin:0 0 5px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-button-group .tf-button-group-option{align-items:center;background:#34383c;border:1px solid #64666a;border-radius:4px;border-radius:0;color:#fff;color:#4b84ce;cursor:pointer;display:inline-flex;height:30px;margin:0;padding:0 12px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-button-group .tf-button-group-option:hover{background:#64666a;color:#fff}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-button-group .tf-button-group-option:first-child{border-bottom-left-radius:4px;border-top-left-radius:4px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-button-group .tf-button-group-option:not(:first-child){margin-left:-1px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-button-group .tf-button-group-option:last-child{border-bottom-right-radius:4px;border-top-right-radius:4px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-button-group .tf-button-group-option.tf-button-group-option-selected{background:#4b84ce;border-color:#4b84ce;color:#34383c}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-button-group .tf-button-group-option:focus-within{position:relative;z-index:1}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-button-group .tf-button-group-option .dashicons{align-items:center;display:flex;justify-content:center}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-button-group-container[aria-disabled=true] .tf-button-group-option{opacity:.5;pointer-events:none}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-checkbox .tf-label{font-size:13px;font-weight:400;margin-bottom:revert;text-transform:none}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-checkbox input[type=checkbox]{border:1px solid;border-color:inherit;border-radius:2px;box-shadow:0 0 0 transparent;margin-right:6px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-checkbox input[type=checkbox]:focus{border-color:#4b84ce;box-shadow:0 0 0 1px #4b84ce;outline:2px solid transparent}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-checkbox input[type=checkbox]:checked{background:#4b84ce;border-color:#4b84ce;color:#fff}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-checkbox input[type=checkbox]:checked:before{content:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGFyaWEtaGlkZGVuPSJ0cnVlIiBjbGFzcz0iY29tcG9uZW50cy1jaGVja2JveC1jb250cm9sX19jaGVja2VkIiB2aWV3Qm94PSIwIDAgMjQgMjQiPjxwYXRoIGZpbGw9IiNmZmYiIGQ9Im0xNi43IDcuMS02LjMgOC41LTMuMy0yLjUtLjkgMS4yIDQuNSAzLjRMMTcuOSA4eiIvPjwvc3ZnPg==")}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-checkbox input[type=checkbox]:indeterminate{background:#4b84ce;border-color:#4b84ce;color:#fff}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-checkbox input[type=checkbox]:indeterminate:before{content:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGFyaWEtaGlkZGVuPSJ0cnVlIiBjbGFzcz0iY29tcG9uZW50cy1jaGVja2JveC1jb250cm9sX19pbmRldGVybWluYXRlIiB2aWV3Qm94PSIwIDAgMjQgMjQiPjxwYXRoIGZpbGw9IiNmZmYiIGQ9Ik03IDExLjVoMTBWMTNIN3oiLz48L3N2Zz4=")}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-color-area,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-color-area-gradient{height:150px;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-color-area-thumb{border:2px solid #fff;border-radius:50%;box-shadow:0 0 0 1px #000,inset 0 0 0 1px #000;height:20px;top:50%;width:20px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-color-container{position:relative;width:-moz-fit-content;width:fit-content}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-color-container input{background:#34383c;border:1px solid #64666a;border-radius:2px;box-shadow:unset;color:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;height:32px;padding:0 12px;width:192px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-color-container input::-moz-placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-color-container input::placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-color-picker{background:#34383c;border:1px solid #64666a;width:100%;z-index:900}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-color-picker .tf-color-area{display:flex;justify-content:center;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-color-picker .tf-color-area .tf-color-area-thumb{transform:translate(-50%,-50%)!important}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-color-picker .tf-color-input{display:flex;flex-direction:column;padding:10px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-color-picker .tf-color-sliders{padding:0 12px 10px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-color-input>input{width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-color-slider{align-items:center;display:flex;flex-direction:column;padding-bottom:5px;padding-top:5px;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-color-slider-label{align-self:stretch;display:flex}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-color-slider-label output{flex:1 0 auto;text-align:end}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-color-slider-container{border:1px solid #64666a;border-radius:10px;height:20px;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-combo-box{display:flex;flex-direction:column;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-combo-box-text{background:#34383c;border:1px solid #64666a;border-radius:2px;box-shadow:unset;color:inherit;display:flex;flex-wrap:nowrap;font-size:inherit;font-style:inherit;font-weight:inherit;height:32px;justify-content:space-between;padding:0;position:relative;width:192px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-combo-box-text::-moz-placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-combo-box-text::placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-combo-box-text input{border:0;box-shadow:none;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-combo-box-text input:focus{box-shadow:none}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-combo-box-text .tf-button-action{background:#34383c;background:none;border:0;border-radius:4px;color:#fff;cursor:pointer;height:30px;max-height:30px;padding:0 12px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-combo-box-text .tf-button-action:hover{background:#64666a;color:#fff}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-combo-box-text .tf-button-action span{padding:0 2px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-combo-box-text:focus-within{border-color:#4b84ce;box-shadow:0 0 0 1px #4b84ce;outline:2px solid transparent}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-combo-box-item{align-items:center;background-color:#e2e7ff;border:1px solid transparent;border-radius:2px;box-sizing:border-box;color:#4b84ce;display:inline-flex;font-size:13px;font-weight:700;gap:.35em;line-height:1.4;max-width:100%;padding:.25em .5em}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-combo-box-item span:first-child{flex:1 1 auto;padding-right:5px;text-overflow:ellipsis}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-combo-box-item button:last-child{background-color:transparent;border:none;color:#4b84ce;cursor:pointer}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-combo-box-item button:last-child:focus{outline:none}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-multiple-combobox-container{display:flex;gap:8px;position:relative}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-multiple-combobox-container>.tf-popover{left:0;position:absolute;top:100%;width:192px;z-index:900}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-multiple-combobox-container>.tf-popover .tf-combo-box{width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-multiple-combobox-container>.tf-popover .tf-list-box-option:not(.tf-list-box-option-selected,.tf-list-box-option-disabled):hover:after{content:"+";margin-left:auto}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-multiple-combobox{position:relative}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-multiple-combobox>.tf-label{display:flex}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-multiple-combobox-values{align-items:center;background-color:#34383c;border:1px solid #64666a;border-radius:2px;box-sizing:border-box;display:flex;flex-wrap:wrap;gap:8px;min-height:32px;padding:0 12px;width:192px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-multiple-combobox[data-enabled=false] .tf-multiple-combobox-values{opacity:.5}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-combo-box-popover.tf-popover{border:1px solid #4b84ce;border-bottom-left-radius:2px;border-bottom-right-radius:2px;box-shadow:0 0 0 1px #4b84ce;margin-left:-2px;outline:2px solid transparent}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-date-picker{align-items:flex-start;display:flex;flex-direction:column}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-popover{border:1px solid #64666a;border-radius:2px;display:flex;justify-content:center;width:auto}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-popover .tf-calendar{padding:20px;width:-moz-fit-content;width:fit-content}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-popover .tf-calendar-month{text-align:center}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-popover .tf-calendar-buttons{align-items:center;display:flex;justify-content:space-between}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-popover .tf-calendar-buttons button{background:#34383c;border:1px solid #64666a;border-radius:4px;color:#fff;cursor:pointer;height:30px;padding:0 12px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-popover .tf-calendar-buttons button:hover{background:#64666a;color:#fff}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-popover .tf-calendar-tables{display:flex}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-popover .tf-calendar-table{padding:10px;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-popover .tf-calendar-table td{text-align:center}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-popover .tf-calendar-presets{display:flex;gap:.25rem}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-popover .tf-calendar-presets button{background:#34383c;border:1px solid #64666a;border-radius:4px;color:#fff;cursor:pointer;height:30px;padding:0 12px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-popover .tf-calendar-presets button:hover{background:#64666a;color:#fff}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-popover .tf-calendar-cell{border-radius:100%;cursor:pointer;height:2em;line-height:2em;width:2em}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-popover .tf-calendar-cell.tf-calendar-cell-disabled,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-popover .tf-calendar-cell.tf-calendar-cell-unavailable{cursor:not-allowed;opacity:.5}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-popover .tf-calendar-cell:not(.tf-calendar-cell-disabled,.tf-calendar-cell-unavailable,.tf-calendar-cell-selected):hover{color:#4b84ce}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-popover .tf-calendar-cell.tf-calendar-cell-selected{background-color:#4b84ce;color:#fff}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-date-group{align-items:center;display:flex;gap:8px;justify-content:flex-start}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-date-group .tf-button-action{height:32px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-date-field-container{width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-date-field{align-items:center;background:#34383c;border:1px solid #64666a;border-radius:2px;box-shadow:unset;color:inherit;display:inline-flex;font-size:inherit;font-style:inherit;font-weight:inherit;height:32px;justify-content:center;padding:0 12px;width:192px;width:168px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-date-field::-moz-placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-date-field::placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-date-field:focus-within{border-color:#4b84ce}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-date-segment{font-variant-numeric:tabular-nums;padding:0 2px;text-align:end}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-date-segment:focus{background:#4b84ce;border-radius:2px;color:#fff;outline:none}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-date-segment span{display:none}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-date-segment-placeholder span{display:flex}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dimensions{display:flex;flex-direction:column}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dimensions .tf-select,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dimensions .tf-select .tf-button-select{width:auto}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dimensions-container{display:flex;flex-wrap:wrap;position:relative;width:-moz-fit-content;width:fit-content}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dimensions-number-groups{display:flex;flex-direction:row;max-width:300px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dimensions-number-groups .tf-number{flex:1 1 75px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dimensions-number-groups .tf-number .tf-number-field{width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dimensions-number-groups .tf-number input{text-align:left;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dimensions-number-groups .tf-number-button-group .tf-button-number{padding:0 3px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dimensions-number-groups-linked .tf-number:not(:first-child){display:none;opacity:.5;pointer-events:none}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-text-field{align-items:center;display:flex;gap:8px;position:relative}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-text-field .tf-dynamic-text-popover{left:0;position:absolute;top:100%;width:192px;z-index:900}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-text-field .tf-dynamic-text-popover .tf-list-box-option:not(.tf-list-box-option-selected,.tf-list-box-option-disabled):hover:after{content:"+";margin-left:auto}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-text-item{align-items:center;background-color:#e2e7ff;border:1px solid transparent;border-radius:2px;color:#4b84ce;display:inline-flex;font-size:13px;font-weight:700;gap:.35em;line-height:1.4;margin:0 .15em;padding:.25em .5em}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-text-item:before{content:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMSIgaGVpZ2h0PSIxNiIgZmlsbD0ibm9uZSI+PGcgY2xpcC1wYXRoPSJ1cmwoI2EpIj48cGF0aCBmaWxsPSIjMzg1OEU5IiBkPSJNNi44OSA3LjA2MmgzLjE5M2MuMzgxIDAgLjcyNS4yNDQuODM0LjYwN2EuOTEuOTEgMCAwIDEtLjIzIDEuMDM3bC03LjMzMyA2LjU2M2EuOS45IDAgMCAxLTEuMTQzLjA1Mi45NS45NSAwIDAgMS0uMzA0LTEuMTI4bDIuMjA0LTUuMjU2SC44OWMtLjM1NiAwLS42OTgtLjI0My0uODMzLS42MDZhLjk1NS45NTUgMCAwIDEgLjI1NS0xLjAzN0w3LjY0Ni43MzJBLjkuOSAwIDAgMSA4Ljc4OC42NzlhLjk1Ljk1IDAgMCAxIC4zMDQgMS4xMjh6Ii8+PC9nPjxkZWZzPjxjbGlwUGF0aCBpZD0iYSI+PHBhdGggZmlsbD0iI2ZmZiIgZD0iTTAgLjVoMTF2MTVIMHoiLz48L2NsaXBQYXRoPjwvZGVmcz48L3N2Zz4=");line-height:1}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .cm-content[contenteditable=false] .tf-dynamic-text-item{filter:grayscale(1)}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-text-input:focus-within{box-shadow:0 0 0 1px #4b84ce;outline:2px solid transparent}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-text-input>.cm-editor{padding:0 12px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-text-input>.cm-editor.cm-focused{outline:none}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-text-input>.cm-editor .cm-scroller{font-family:inherit}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-text-input>.cm-editor .cm-content{height:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-editor .ProseMirror ul{list-style-type:disc}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-editor .ProseMirror ol{margin:0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-editor .ProseMirror{line-height:1.2;outline:none;padding:4px 8px 4px 14px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-editor .tf-editor-view-toggle{display:flex;flex-direction:row;justify-content:flex-end;padding-bottom:5px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-editor .tf-editor-view-toggle .tf-button-group{width:-moz-fit-content;width:fit-content}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-file-field{align-items:center;display:flex;flex-wrap:wrap;width:-moz-fit-content;width:fit-content}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-file-text{max-width:192px;overflow:hidden;padding:0 12px;text-overflow:ellipsis}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-file-list{margin-bottom:0;padding:0;width:300px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-file-item{align-items:center;display:flex;flex-wrap:wrap;justify-content:space-between}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-file-item img{max-width:200px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-file-item span{flex-grow:1;overflow:hidden;text-overflow:ellipsis;width:70%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-file-item .tf-button-upload-list{cursor:pointer;font-style:italic;text-decoration:underline}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-gallery-item{align-items:center;display:flex;height:100px;justify-content:center;width:100px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-gallery-item img{border-radius:2px;height:100%;-o-object-fit:cover;object-fit:cover;overflow:hidden;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-gallery__controls{background:#34383c;border:1px solid #64666a;padding:8px 12px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-gallery-buttons{display:flex;gap:10px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-gradient-container{display:flex;flex-direction:column;position:relative;width:192px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-gradient-input{background:#34383c;border:1px solid #64666a;border-radius:2px;box-shadow:unset;color:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;height:32px;padding:0 12px;width:192px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-gradient-input::-moz-placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-gradient-input::placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-gradient-settings{padding:10px 12px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-gradient-settings .tf-gradient-settings-row{padding:10px 0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-gradient-popover .tf-dialog{width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-gradient-preview{padding:10px 12px;position:relative}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-gradient-colors{align-items:center;cursor:pointer;display:flex;height:32px;justify-content:space-between;padding:0 12px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-list-container{display:flex;flex-direction:column;gap:8px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-list-items{width:192px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-list-header,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-list-header label,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-list-item{align-items:center;display:flex;justify-content:flex-start}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-list-header{background:#f0f0f0;border:1px solid hsla(218,4%,56%,.5);border-radius:2px;border-bottom-left-radius:0;border-bottom-right-radius:0;padding:0 12px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-list-header label{height:32px;margin:0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-list-item{background:#34383c;border:1px solid hsla(218,4%,56%,.5);border-top:none;box-sizing:border-box;height:32px;width:192px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-list-item .tf-list-item-text{flex:1;font-size:inherit;font-weight:inherit;padding:0 12px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-list-item .tf-list-item-actions{display:flex}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-list-search{display:flex;width:192px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-list-search .tf-combo-box{flex:1}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-number input{background:#34383c;border:1px solid #64666a;border-radius:2px;box-shadow:unset;color:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;height:32px;padding:0 12px;width:192px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-number input::-moz-placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-number input::placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-number .tf-label{display:flex}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-number-field{display:flex;flex-direction:row;flex-wrap:nowrap;position:relative;width:192px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-number[data-enabled=false] .tf-number-field{opacity:.5}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-number-button-group{bottom:1px;display:flex;flex-direction:column;flex-wrap:nowrap;height:auto;padding:0 12px;position:absolute;right:1px;top:1px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-number-button-group .tf-button-number{align-items:center;background-color:#eee;border:0;border-radius:4px;border-radius:0;color:#fff;cursor:pointer;display:flex;height:30px;height:50%;justify-content:center;line-height:0;min-width:2em;padding:0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-number-button-group .tf-button-number:hover{background-color:#e2e2e2}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-number-button-group .tf-button-number:first-child{border-bottom-left-radius:0;border-bottom-right-radius:0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-number-button-group .tf-button-number:last-child{border-top-left-radius:0;border-top-right-radius:0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-radio-group-container{display:flex;flex-direction:column}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-multiple-select,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-select{display:inline-block;position:relative;width:192px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-multiple-select>.tf-label,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-select>.tf-label{display:flex}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-multiple-select__value,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-select__value{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-multiple-select .tf-button-select,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-select .tf-button-select{align-items:center;background:#34383c;border:1px solid #64666a;border-radius:2px;box-shadow:unset;color:inherit;display:flex;font-style:inherit;font-weight:inherit;height:32px;justify-content:space-between;padding:0 10px;width:192px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-multiple-select .tf-button-select::-moz-placeholder,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-select .tf-button-select::-moz-placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-multiple-select .tf-button-select::placeholder,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-select .tf-button-select::placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-multiple-select .tf-button-select[disabled],body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-select .tf-button-select[disabled]{background:hsla(0,0%,100%,.5);border-color:rgba(0,0,0,.1);color:rgba(0,0,0,.4)}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-multiple-select .tf-select-icon,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-select .tf-select-icon{font-size:10px;padding-left:5px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-multiple-select .tf-button-select,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-select .tf-button-select{cursor:pointer;font-size:inherit}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-simple-dimensions{display:flex;flex-direction:column}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-simple-dimensions .tf-select,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-simple-dimensions .tf-select .tf-button-select{width:auto}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-simple-dimensions-container{display:flex;position:relative;width:-moz-fit-content;width:fit-content}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-switch label{align-items:center;display:flex;justify-content:flex-start}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-switch-element,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-switch-element-selected{display:inline-block;height:32px;position:relative;width:64px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-switch-element span,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-switch-element-selected span{background-color:#ccc;border-radius:32px;bottom:0;cursor:pointer;left:0;position:absolute;right:0;top:0;transition:.4s}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-switch-element span:before,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-switch-element-selected span:before{background-color:#34383c;border-radius:50%;bottom:4px;content:"";height:24px;left:4px;position:absolute;transition:.4s;width:24px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-switch-element-selected span{background-color:#4b84ce}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-switch-element-selected span:focus{box-shadow:0 0 1px #4b84ce}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-switch-element-selected span:before{transform:translateX(32px)}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-text{box-sizing:content-box;display:flex;flex-direction:column}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-text input{background:#34383c;border:1px solid #64666a;border-radius:2px;box-shadow:unset;color:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;height:32px;padding:0 12px;width:192px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-text input::-moz-placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-text input::placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-text-area textarea{background:#34383c;border:1px solid #64666a;border-radius:2px;box-shadow:unset;color:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;height:32px;height:auto;padding:.6em;width:192px;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-text-area textarea::-moz-placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-text-area textarea::placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-bulk-actions{align-items:center;background:#34383c;border:1px solid #64666a;border-radius:2px;display:flex;justify-content:flex-start;margin-bottom:4px;padding:5px 12px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-bulk-actions>button,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-bulk-actions>div{margin-right:5px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-advanced-label-row{box-sizing:border-box;display:flex;gap:8px;justify-content:space-between;padding:8px 12px;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-advanced-label-row .tf-repeater-advanced-label-row-item{align-items:center;display:flex;flex:1;flex-wrap:wrap;justify-content:flex-start}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-advanced-label-row .tf-repeater-advanced-label-row-item:first-child{color:#4b84ce;font-weight:700}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-advanced-label-row .tf-repeater-advanced-label-row-arrow,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-advanced-label-row .tf-repeater-advanced-label-row-index{width:32px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-advanced-header{background:#f0f0f0;border:1px solid hsla(218,4%,56%,.5);border-bottom:none;border-radius:2px;border-bottom-left-radius:0;border-bottom-right-radius:0;margin:0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-advanced-header .tf-repeater-advanced-header-item{color:inherit;display:inline-block;font-size:inherit;font-style:inherit;font-weight:inherit;height:32px;margin-bottom:0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-advanced-overview{background:#34383c}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-advanced-overview .tf-repeater-advanced-label-row-arrow,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-advanced-overview .tf-repeater-advanced-label-row-index{height:40px;line-height:40px;text-align:center}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-advanced-overview .tf-repeater-advanced-label-row-index{background:#f0f0f0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-advanced-overview .tf-repeater-advanced-label-row-arrow{cursor:pointer}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-advanced-overview .tf-repeater-advanced-label-row-arrow>div{border:solid;border-color:inherit;border-width:0 1px 1px 0;display:inline-block;height:8px;width:8px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-advanced-overview .tf-repeater-advanced-overview-item-actions{height:20px;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-advanced-overview .tf-repeater-advanced-overview-item-actions button{display:none}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-advanced-overview-item-container{display:flex;flex-direction:column;justify-content:center;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-advanced-overview-item-fields{display:flex}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-advanced-overview:hover .tf-repeater-advanced-overview-item-actions button{display:initial}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-advanced-item .tf-repeater-advanced-overview:hover,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-advanced-item[data-open=true] .tf-repeater-advanced-overview{background-color:#e2e7ff}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-advanced-item[data-open=true] .tf-repeater-advanced-label-row-arrow>div{transform:translateY(50%) rotate(-135deg)}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-advanced-item[data-open=false] .tf-repeater-advanced-label-row-arrow>div{transform:translateY(-50%) rotate(45deg)}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-advanced-item{background-color:#34383c;border:1px solid hsla(218,4%,56%,.5);border-radius:2px;border-radius:0;border-top:none;position:relative}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-advanced-item[data-open=true]:before{background-color:#4b84ce;content:"";height:100%;left:0;position:absolute;top:0;width:3px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-advanced-container>.tf-repeater-actions{background-color:#34383c;border:1px solid hsla(218,4%,56%,.5);border-radius:2px;border-top:none;border-top-left-radius:0;border-top-right-radius:0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-advanced-row{margin:16px 32px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-advanced-row .tf-repeater-advanced-item-field{padding:8px 12px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-advanced-item-field:has(>div[data-overlay-container=true]:empty){display:none}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-advanced-item-field:has(input.tf-hidden[type=hidden]){padding:0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-advanced .tf-repeater-actions{padding:8px 12px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-bare-items{display:flex;flex-direction:column;row-gap:8px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-bare-items .tf-repeater-bare-row{display:flex;gap:8px;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-block-item{background:#34383c;border:1px solid #64666a;border-radius:2px;display:flex;flex-direction:column;margin-bottom:6px;margin-top:1em;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-block-item .tf-panel-header .tf-switch-element,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-block-item .tf-panel-header .tf-switch-element-selected{transform:scale(.7)}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-block-item-field{padding:1em}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-block-item-field:has(>div[data-overlay-container=true]:empty){display:none}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-tab-container{background-color:#34383c;border:1px solid hsla(218,4%,56%,.5);border-radius:2px;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-tab-header{border-bottom:1px solid hsla(218,4%,56%,.5);box-sizing:border-box;display:flex;flex-wrap:nowrap;justify-content:space-between;overflow-x:scroll;overflow-y:hidden;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-tab-actions{display:flex;flex-wrap:nowrap;justify-content:space-between;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-tab-icon-actions{align-items:center;display:flex}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-tab-icon-actions button{min-width:-moz-fit-content;min-width:fit-content}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-tab-items{background-color:#34383c;box-sizing:border-box;display:flex;gap:8px;justify-content:flex-start;margin:0;min-width:-moz-fit-content;min-width:fit-content;overflow-x:auto;overflow-y:hidden}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-tab-add-item,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-tab-icon-actions button,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-tab-item{align-items:center;color:inherit;display:flex;display:inline-block;font-size:inherit;font-style:inherit;font-weight:inherit;height:32px;justify-content:center;margin-bottom:0;min-width:-moz-fit-content;min-width:fit-content;padding:8px 12px;position:relative}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-tab-add-item[data-open=true]:before,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-tab-icon-actions button[data-open=true]:before,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-tab-item[data-open=true]:before{background-color:#4b84ce;bottom:0;content:"";height:3px;left:0;position:absolute;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-tab-add-item button,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-tab-icon-actions button button,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-tab-item button{white-space:nowrap}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-tab-add-item{justify-content:flex-start;min-width:-moz-max-content;min-width:max-content;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-tab-content{background-color:#34383c;box-sizing:border-box;padding:16px 32px;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-tab-content .tf-repeater-tab-item-field{padding:8px 12px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-table-container{border:1px solid hsla(218,4%,56%,.5);border-radius:2px;display:flex;flex-direction:column;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-table-container .tf-repeater-actions{box-sizing:border-box;justify-content:flex-start;padding:8px 12px;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-table-container table{padding:0 4px 4px;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-table-container table th,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-table-container table tr{min-height:32px;padding:2px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-table-container table th{height:32px;text-align:left}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-table-container table td>div{display:flex;justify-content:center;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-table-container table td>div>div{width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-table-container .tf-repeater-row-actions{width:1%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-table-container .tf-repeater-row-actions>div{display:inline-flex;gap:6px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-actions{display:flex;gap:6px;justify-content:flex-end;padding:2px 2px 4px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-actions .tf-button-action:last-child{border-color:#cc1818;color:#cc1818}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-title{color:inherit;display:inline-block;font-size:inherit;font-style:inherit;font-weight:inherit;margin-bottom:6px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-block-items{margin-bottom:8px;margin-top:8px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-wrapper{align-items:center;display:flex;position:relative}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-wrapper .tf-dynamic-wrapper-popover{position:absolute;top:100%;width:192px;z-index:900}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-wrapper .tf-dynamic-wrapper-popover-form{background:#34383c;border:1px solid #64666a;padding:0 12px;width:100%;z-index:900}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-wrapper .tf-dynamic-wrapper-popover-form>*{margin:12px 0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-wrapper .tf-dynamic-wrapper-popover-buttons{display:flex;justify-content:flex-end}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-wrapper .tf-dynamic-wrapper-popover-buttons button{margin-left:6px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-wrapper.tf-dynamic-wrapper-buttons-outside{gap:8px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-wrapper.tf-dynamic-wrapper-buttons-inside{gap:0;width:-moz-fit-content;width:fit-content}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-wrapper.tf-dynamic-wrapper-buttons-inside .tf-button-icon{background:transparent;border:none;cursor:pointer;height:32px;position:absolute;right:1px;top:50%;transform:translateY(-50%)}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-wrapper.tf-dynamic-wrapper-buttons-inside .tf-button-icon:before{content:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMyIgaGVpZ2h0PSIxNyIgZmlsbD0ibm9uZSI+PHBhdGggZmlsbD0iIzFFMUUxRSIgZD0iTTcuNTIyIDdoMy40ODdjLjQxNiAwIC43OS4yNi45MS42NDdhLjk1Ljk1IDAgMCAxLS4yNSAxLjEwNmwtLjYwMy41MjdhNC41IDQuNSAwIDAgMC01Ljk1NyA1LjIwOGwtMS40NDcgMS4yNjVhMSAxIDAgMCAxLTEuNTgtMS4xNDdMNC40ODkgOUguOTczYS45OTUuOTk1IDAgMCAxLS45MDktLjY0NyAxIDEgMCAwIDEgLjI3OC0xLjEwNmw4LjAwNS03YTEuMDAyIDEuMDAyIDAgMCAxIDEuNTggMS4xNDd6Ii8+PHBhdGggZmlsbD0iIzFFMUUxRSIgZmlsbC1ydWxlPSJldmVub2RkIiBkPSJNOS41IDE3YTMuNSAzLjUgMCAxIDAgMC03IDMuNSAzLjUgMCAwIDAgMCA3bTIuNS0zLjVhLjU3Ny41NzcgMCAwIDEtLjU3Ny41NzdoLTEuMzQ2djEuMzQ2YS41NzcuNTc3IDAgMSAxLTEuMTU0IDB2LTEuMzQ2SDcuNTc3YS41NzcuNTc3IDAgMCAxIDAtMS4xNTRoMS4zNDZ2LTEuMzQ2YS41NzcuNTc3IDAgMSAxIDEuMTU0IDB2MS4zNDZoMS4zNDZjLjMyIDAgLjU3Ny4yNTguNTc3LjU3NyIgY2xpcC1ydWxlPSJldmVub2RkIi8+PC9zdmc+);line-height:1;padding:0 5px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-wrapper.tf-dynamic-wrapper-buttons-inside .tf-button-icon.cm-content[contenteditable=false]:before{display:none}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-field-wrapper.tf-dynamic-wrapper .tf-dynamic-value-input:disabled{background:hsla(0,0%,100%,.5);border-color:rgba(0,0,0,.1);color:rgba(0,0,0,.4)}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-field-wrapper.tf-dynamic-wrapper .tf-button-icon.tf-dynamic-wrapper-clear:before{content:"⨯"}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-text-input{background:#34383c;border:1px solid #64666a;border-radius:2px;box-shadow:unset;color:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;height:32px;padding:0 12px;width:192px;width:168px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-text-input::-moz-placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-text-input::placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-text-input:focus-within{border-color:#4b84ce}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-text-input:has(.cm-content[contenteditable=false]){background:hsla(0,0%,100%,.5);border-color:rgba(0,0,0,.1);color:rgba(0,0,0,.4);pointer-events:none}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-text-input:has(.cm-content[contenteditable=false]) .tf-dynamic-text-input__affix{border-color:rgba(0,0,0,.1)}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-text-input--has-prefix,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-text-input--has-suffix{display:flex;height:auto;padding:0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-text-input--has-prefix>.cm-editor,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-text-input--has-suffix>.cm-editor{flex:1 1 auto;min-height:32px;overflow:hidden}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-text-input>.cm-editor{height:100%;justify-content:center;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-text-input>.cm-editor .cm-content,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-text-input>.cm-editor .cm-line{padding:0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-text-input>.cm-editor .cm-content{display:flex;flex-direction:column;justify-content:center}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-text-input .tf-dynamic-text-item-delete:before{content:"⨯";cursor:pointer;padding-left:3px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-text-input__affix{align-items:center;border:0 solid #8c8f94;display:inline-flex;font-size:.8em;font-weight:700;padding:0 .5em;text-wrap:nowrap}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-text-input__affix--prefix{border-right-width:1px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-text-input__affix--suffix{border-left-width:1px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-text-input:focus-within .tf-dynamic-text-input__affix{border-color:#4b84ce}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-wrapper[data-dynamic=true] .cm-editor{padding-right:25px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-wrapper[data-dynamic=true] .cm-editor:has(.cm-content[contenteditable=false]){padding-right:0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-wrapper[data-dynamic=true] .tf-dynamic-text-input--has-suffix .cm-editor{padding-right:8px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-wrapper[data-dynamic=true] .tf-dynamic-text-input__affix--suffix{border-right-width:1px;margin-right:33px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-number-button-group{padding:0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-number-button-group .tf-button-number{background:#34383c}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-number-button-group .tf-button-number:hover{background:#64666a;color:#fff}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-editor .ProseMirror-menubar-wrapper{background-color:#34383c;border:2px solid hsla(0,0%,100%,.2);height:auto;overflow:unset;position:relative}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-editor .ProseMirror-menubar-spacer{height:auto!important}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-editor .ProseMirror-menubar{background:#34383c;border-bottom:2px solid hsla(0,0%,100%,.2);color:inherit;left:0!important;min-height:60px!important;position:absolute!important;top:0!important}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-editor .ProseMirror.ProseMirror-example-setup-style{margin-bottom:0;margin-top:63px;max-height:100px;min-height:60px;overflow:auto}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-gallery__controls{min-height:32px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-gallery-preview{display:flex;flex-wrap:wrap}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-gallery-item{height:75px;width:75px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-gallery-buttons{margin-top:12px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-radio-group-container{gap:4px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-radio{align-items:center;display:inline-flex;gap:4px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dimensions-number-groups{max-width:250px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dimensions-number-groups .tf-number-field>input{padding:0 6px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-field-group-item{margin:12px 0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-checkbox>.tf-label{align-items:center;display:flex}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-panel .tf-panel-header.tf-button-action:hover{background:#64666a;color:#fff}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-button-action,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-button-danger,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-button-primary{height:32px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-text-input{padding:0;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-text-input>.cm-editor ::-webkit-scrollbar{height:10px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-text-input>.cm-editor ::-webkit-scrollbar-thumb{background:#64666a;border-radius:5px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-text-input>.cm-editor .cm-line{height:1.5em}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-switch .tf-switch-label{max-width:-moz-max-content;max-width:max-content}}@media (prefers-color-scheme:light){body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-button-action,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-button-danger,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-button-primary{align-items:center;background:#eee;border:1px solid #d3d3d3;border-radius:4px;color:#505050;cursor:pointer;display:flex;height:30px;justify-content:center;padding:0 12px;width:-moz-fit-content;width:fit-content}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-button-action:hover,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-button-danger:hover,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-button-primary:hover{background:#e2e2e2;color:#505050}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-button-danger{border-color:#cc1818;color:#cc1818}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-button-primary{background-color:#4b84ce;color:inherit}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-button-action[disabled],body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-button-danger[disabled],body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-button-icon-trash[disabled],body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-button-primary[disabled],body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-button-text-action[disabled],body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-button-text-danger[disabled],body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-button-text-primary[disabled]{cursor:not-allowed;opacity:.5;pointer-events:none}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-button-action:focus{outline:none}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-button-text-action,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-button-text-danger,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-button-text-primary{background:transparent;border:none;cursor:pointer;display:inline}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-button-text-action:hover,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-button-text-danger:hover,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-button-text-primary:hover{font-weight:700}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-button-text-action{color:#505050}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-button-text-danger{color:#cc1818}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-button-text-primary{color:#4b84ce}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-button-icon-trash{align-items:center;background:transparent;border:none;cursor:pointer;display:flex;height:32px;justify-content:center;width:32px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-button-icon-trash:after{content:url('data:image/svg+xml;utf8,')}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-button-icon-eye{align-items:center;background:transparent;border:none;cursor:pointer;display:flex;height:32px;justify-content:center;width:32px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-button-icon-eye:after{content:url('data:image/svg+xml;utf8,')}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dialog .tf-title{display:flex}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dialog .tf-title h4{margin:0;padding:12px 0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-panel{background:#fff;border:1px solid #a7b1bb;border-radius:2px;display:flex;flex-direction:column;margin-bottom:8px;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-panel-header{align-items:center;cursor:pointer;display:flex;height:32px;justify-content:space-between;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-panel-header.tf-button-action{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:0;border-radius:0;box-sizing:border-box;color:inherit;cursor:pointer;display:flex;font-family:inherit;font-size:100%;height:32px;justify-content:space-between;line-height:1.15;margin:0;padding:8px 12px;text-align:left;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-panel-header.tf-button-action:hover{background:#f0f0f0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-panel-open .tf-panel-header.tf-button-action{border-bottom:1px solid #a7b1bb}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-panel-header-before-title,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-panel-header-left,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-panel-header-right,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-panel-header-title{align-items:center;display:flex;justify-content:flex-start;padding:0 12px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-panel-header-left{padding-left:0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-panel-content,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-panel-footer{padding:4px 12px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-panel-closed .tf-panel-content{display:none}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-panel-footer{border-top:1px solid #a7b1bb}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-panel-footer{display:flex;gap:8px;justify-content:flex-end;padding:1em}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-panel-arrow{border:solid;border-color:inherit;border-width:0 1px 1px 0;display:inline-block;height:8px;width:8px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-panel-open .tf-panel-arrow{transform:translateY(50%) rotate(-135deg)}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-panel-closed .tf-panel-arrow{transform:translateY(-50%) rotate(45deg)}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-label{color:inherit;display:inline-block;font-size:inherit;font-style:inherit;font-weight:inherit;margin-bottom:6px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-description{color:inherit;font-size:inherit;font-style:inherit;font-weight:inherit}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-list-box{background:#fff;list-style:none;margin:5px 0;max-height:300px;max-width:100%;min-width:100%;overflow-y:auto;padding:0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-list-box-option{background:transparent;border-radius:2px;cursor:pointer;display:flex;font-size:13px;gap:8px;margin:0 5px;outline:none;padding:5px 9px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-list-box-option:not(.tf-list-box-option-selected,.tf-list-box-option-disabled):hover{color:#4b84ce}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-list-box-option-selected,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-list-box-option-selected.tf-list-box-option-selected{background-color:#4b84ce;color:#fff}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-list-box-option-selected.tf-list-box-option-selected:hover,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-list-box-option-selected:hover{color:#fff}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-list-box-option-selected.tf-list-box-option-selected:after,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-list-box-option-selected:after{content:"✓";margin-left:auto}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-list-box-option-disabled{color:#aaa;cursor:default}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-list-box-option-focus{box-shadow:inset 0 0 0 2px;color:#4b84ce}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-list-box-section-separator:not(:first-child){border-top:1px solid #8c8f94;margin:12px 0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-list-box-section>span{color:#7d8690;display:block;font-size:11px;font-weight:500;line-height:1.45;margin:0 10px;padding:5px 9px;text-transform:uppercase}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-list-box-section>ul{list-style:none;padding:0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-modal{align-items:center;background:rgba(0,0,0,.7);bottom:0;display:flex;justify-content:center;left:0;position:fixed;right:0;top:0;z-index:9990}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-modal .tf-modal-container{background:#fff;border:1px solid #8c8f94;border-radius:2px;padding:2rem}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-modal-actions{display:flex;justify-content:flex-end;padding-top:12px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-modal-actions button{margin-left:12px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-notice{background:#fff;box-shadow:0 1px 1px rgba(0,0,0,.04);color:#000;margin-top:4px;padding:1px 12px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-notice.tf-is-dismissible{padding-right:38px;position:relative}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-notice.tf-error{border-left:4px solid #d63638}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-notice.tf-success{border-left:4px solid #00a32a}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-notice.tf-warning{border-left-color:#dba617}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-notice.tf-info{border-left-color:#72aee6}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-notice-dismiss{background:none;border:none;color:#787c82;cursor:pointer;margin:0;padding:9px;position:absolute;right:1px;top:0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-notice-dismiss:active:before,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-notice-dismiss:focus:before,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-notice-dismiss:hover:before{color:#d63638}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-notice-dismiss:focus{box-shadow:0 0 0 1px #4f94d4,0 0 2px 1px rgba(79,148,212,.8);outline:none}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-notice-dismiss:before{background:none;color:#787c82;content:"\f153";display:block;font:normal 16px/20px dashicons;height:20px;text-align:center;width:20px;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-underlay{inset:0;position:fixed}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-popover{background:#fff;color:inherit;z-index:900}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-tooltip-trigger-content{cursor:context-menu;position:relative;width:-moz-fit-content;width:fit-content}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-tooltip{cursor:default;display:inline-block;max-width:150px;position:absolute;visibility:hidden;width:-moz-max-content;width:max-content;z-index:1}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-tooltip-top{bottom:100%;left:50%;margin-bottom:12px;transform:translateX(-50%)}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-tooltip-bottom{left:50%;margin-top:12px;top:100%;transform:translateX(-50%)}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-tooltip-start{margin-right:12px;right:100%;top:50%;transform:translateY(-50%)}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-tooltip-end{left:100%;margin-left:12px;top:50%;transform:translateY(-50%)}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-tooltip-content{border-radius:3px;font-size:12px;padding:6px 12px;text-align:center;word-break:normal}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-tooltip-content.light{background-color:#e6e6e6;color:hsla(0,4%,5%,.945);--tf-tooltip-after-color:#e6e6e6}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-tooltip-content.dark{background-color:hsla(0,4%,5%,.945);color:#e6e6e6;--tf-tooltip-after-color:hsla(0,4%,5%,.945)}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-tooltip-content:after{border-style:solid;border-width:7px;content:" ";position:absolute}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-tooltip-content-top:after{border-color:var(--tf-tooltip-after-color,transparent) transparent transparent transparent;left:50%;margin-left:-7px;top:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-tooltip-content-bottom:after{border-color:transparent transparent var(--tf-tooltip-after-color,transparent) transparent;bottom:100%;left:50%;margin-left:-7px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-tooltip-content-start:after{border-color:transparent transparent transparent var(--tf-tooltip-after-color,transparent);left:100%;margin-top:-7px;top:50%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-tooltip-content-end:after{border-color:transparent var(--tf-tooltip-after-color,transparent) transparent transparent;margin-top:-7px;right:100%;top:50%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-tooltip-trigger-content:hover .tf-tooltip{visibility:visible}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-conditional-group-actions{align-items:center;display:flex;gap:8px;padding:8px 0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-conditional-group-actions strong{text-transform:uppercase}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-conditional-panel-condition-actions{display:flex;gap:4px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-conditional-panel-condition-actions .tf-button-action:first-child{text-transform:uppercase}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-conditional-panel-condition-actions .tf-button-danger:last-child{position:relative}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-conditional-panel-condition-actions .tf-button-danger:last-child:before{background-color:#cc1818;content:"";height:1px;position:absolute;width:100%;width:10px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-accordion .tf-switch-element,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-accordion .tf-switch-element-selected{transform:scale(.7)}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-alignment-matrix-container{display:grid;grid-template-columns:repeat(3,1fr);height:50px;margin:5px;width:50px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-border-dimensions-container{margin:0 0 5px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-button-group .tf-button-group-option{align-items:center;background:#eee;border:1px solid #d3d3d3;border-radius:4px;border-radius:0;color:#505050;color:#4b84ce;cursor:pointer;display:inline-flex;height:30px;margin:0;padding:0 12px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-button-group .tf-button-group-option:hover{background:#e2e2e2;color:#505050}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-button-group .tf-button-group-option:first-child{border-bottom-left-radius:4px;border-top-left-radius:4px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-button-group .tf-button-group-option:not(:first-child){margin-left:-1px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-button-group .tf-button-group-option:last-child{border-bottom-right-radius:4px;border-top-right-radius:4px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-button-group .tf-button-group-option.tf-button-group-option-selected{background:#4b84ce;border-color:#4b84ce;color:#fff}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-button-group .tf-button-group-option:focus-within{position:relative;z-index:1}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-button-group .tf-button-group-option .dashicons{align-items:center;display:flex;justify-content:center}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-button-group-container[aria-disabled=true] .tf-button-group-option{opacity:.5;pointer-events:none}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-checkbox .tf-label{font-size:13px;font-weight:400;margin-bottom:revert;text-transform:none}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-checkbox input[type=checkbox]{border:1px solid;border-color:inherit;border-radius:2px;box-shadow:0 0 0 transparent;margin-right:6px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-checkbox input[type=checkbox]:focus{border-color:#4b84ce;box-shadow:0 0 0 1px #4b84ce;outline:2px solid transparent}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-checkbox input[type=checkbox]:checked{background:#4b84ce;border-color:#4b84ce;color:#fff}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-checkbox input[type=checkbox]:checked:before{content:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGFyaWEtaGlkZGVuPSJ0cnVlIiBjbGFzcz0iY29tcG9uZW50cy1jaGVja2JveC1jb250cm9sX19jaGVja2VkIiB2aWV3Qm94PSIwIDAgMjQgMjQiPjxwYXRoIGZpbGw9IiNmZmYiIGQ9Im0xNi43IDcuMS02LjMgOC41LTMuMy0yLjUtLjkgMS4yIDQuNSAzLjRMMTcuOSA4eiIvPjwvc3ZnPg==")}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-checkbox input[type=checkbox]:indeterminate{background:#4b84ce;border-color:#4b84ce;color:#fff}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-checkbox input[type=checkbox]:indeterminate:before{content:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGFyaWEtaGlkZGVuPSJ0cnVlIiBjbGFzcz0iY29tcG9uZW50cy1jaGVja2JveC1jb250cm9sX19pbmRldGVybWluYXRlIiB2aWV3Qm94PSIwIDAgMjQgMjQiPjxwYXRoIGZpbGw9IiNmZmYiIGQ9Ik03IDExLjVoMTBWMTNIN3oiLz48L3N2Zz4=")}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-color-area,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-color-area-gradient{height:150px;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-color-area-thumb{border:2px solid #fff;border-radius:50%;box-shadow:0 0 0 1px #000,inset 0 0 0 1px #000;height:20px;top:50%;width:20px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-color-container{position:relative;width:-moz-fit-content;width:fit-content}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-color-container input{background:#fff;border:1px solid #8c8f94;border-radius:2px;box-shadow:unset;color:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;height:32px;padding:0 12px;width:192px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-color-container input::-moz-placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-color-container input::placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-color-picker{background:#fff;border:1px solid #8c8f94;width:100%;z-index:900}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-color-picker .tf-color-area{display:flex;justify-content:center;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-color-picker .tf-color-area .tf-color-area-thumb{transform:translate(-50%,-50%)!important}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-color-picker .tf-color-input{display:flex;flex-direction:column;padding:10px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-color-picker .tf-color-sliders{padding:0 12px 10px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-color-input>input{width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-color-slider{align-items:center;display:flex;flex-direction:column;padding-bottom:5px;padding-top:5px;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-color-slider-label{align-self:stretch;display:flex}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-color-slider-label output{flex:1 0 auto;text-align:end}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-color-slider-container{border:1px solid #8c8f94;border-radius:10px;height:20px;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-combo-box{display:flex;flex-direction:column;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-combo-box-text{background:#fff;border:1px solid #8c8f94;border-radius:2px;box-shadow:unset;color:inherit;display:flex;flex-wrap:nowrap;font-size:inherit;font-style:inherit;font-weight:inherit;height:32px;justify-content:space-between;padding:0;position:relative;width:192px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-combo-box-text::-moz-placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-combo-box-text::placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-combo-box-text input{border:0;box-shadow:none;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-combo-box-text input:focus{box-shadow:none}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-combo-box-text .tf-button-action{background:#eee;background:none;border:0;border-radius:4px;color:#505050;cursor:pointer;height:30px;max-height:30px;padding:0 12px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-combo-box-text .tf-button-action:hover{background:#e2e2e2;color:#505050}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-combo-box-text .tf-button-action span{padding:0 2px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-combo-box-text:focus-within{border-color:#4b84ce;box-shadow:0 0 0 1px #4b84ce;outline:2px solid transparent}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-combo-box-item{align-items:center;background-color:#e2e7ff;border:1px solid transparent;border-radius:2px;box-sizing:border-box;color:#4b84ce;display:inline-flex;font-size:13px;font-weight:700;gap:.35em;line-height:1.4;max-width:100%;padding:.25em .5em}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-combo-box-item span:first-child{flex:1 1 auto;padding-right:5px;text-overflow:ellipsis}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-combo-box-item button:last-child{background-color:transparent;border:none;color:#4b84ce;cursor:pointer}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-combo-box-item button:last-child:focus{outline:none}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-multiple-combobox-container{display:flex;gap:8px;position:relative}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-multiple-combobox-container>.tf-popover{left:0;position:absolute;top:100%;width:192px;z-index:900}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-multiple-combobox-container>.tf-popover .tf-combo-box{width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-multiple-combobox-container>.tf-popover .tf-list-box-option:not(.tf-list-box-option-selected,.tf-list-box-option-disabled):hover:after{content:"+";margin-left:auto}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-multiple-combobox{position:relative}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-multiple-combobox>.tf-label{display:flex}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-multiple-combobox-values{align-items:center;background-color:#fff;border:1px solid #8c8f94;border-radius:2px;box-sizing:border-box;display:flex;flex-wrap:wrap;gap:8px;min-height:32px;padding:0 12px;width:192px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-multiple-combobox[data-enabled=false] .tf-multiple-combobox-values{opacity:.5}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-combo-box-popover.tf-popover{border:1px solid #4b84ce;border-bottom-left-radius:2px;border-bottom-right-radius:2px;box-shadow:0 0 0 1px #4b84ce;margin-left:-2px;outline:2px solid transparent}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-date-picker{align-items:flex-start;display:flex;flex-direction:column}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-popover{border:1px solid #8c8f94;border-radius:2px;display:flex;justify-content:center;width:auto}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-popover .tf-calendar{padding:20px;width:-moz-fit-content;width:fit-content}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-popover .tf-calendar-month{text-align:center}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-popover .tf-calendar-buttons{align-items:center;display:flex;justify-content:space-between}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-popover .tf-calendar-buttons button{background:#eee;border:1px solid #d3d3d3;border-radius:4px;color:#505050;cursor:pointer;height:30px;padding:0 12px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-popover .tf-calendar-buttons button:hover{background:#e2e2e2;color:#505050}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-popover .tf-calendar-tables{display:flex}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-popover .tf-calendar-table{padding:10px;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-popover .tf-calendar-table td{text-align:center}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-popover .tf-calendar-presets{display:flex;gap:.25rem}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-popover .tf-calendar-presets button{background:#eee;border:1px solid #d3d3d3;border-radius:4px;color:#505050;cursor:pointer;height:30px;padding:0 12px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-popover .tf-calendar-presets button:hover{background:#e2e2e2;color:#505050}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-popover .tf-calendar-cell{border-radius:100%;cursor:pointer;height:2em;line-height:2em;width:2em}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-popover .tf-calendar-cell.tf-calendar-cell-disabled,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-popover .tf-calendar-cell.tf-calendar-cell-unavailable{cursor:not-allowed;opacity:.5}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-popover .tf-calendar-cell:not(.tf-calendar-cell-disabled,.tf-calendar-cell-unavailable,.tf-calendar-cell-selected):hover{color:#4b84ce}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-popover .tf-calendar-cell.tf-calendar-cell-selected{background-color:#4b84ce;color:#fff}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-date-group{align-items:center;display:flex;gap:8px;justify-content:flex-start}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-date-group .tf-button-action{height:32px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-date-field-container{width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-date-field{align-items:center;background:#fff;border:1px solid #8c8f94;border-radius:2px;box-shadow:unset;color:inherit;display:inline-flex;font-size:inherit;font-style:inherit;font-weight:inherit;height:32px;justify-content:center;padding:0 12px;width:192px;width:168px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-date-field::-moz-placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-date-field::placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-date-field:focus-within{border-color:#4b84ce}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-date-segment{font-variant-numeric:tabular-nums;padding:0 2px;text-align:end}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-date-segment:focus{background:#4b84ce;border-radius:2px;color:#fff;outline:none}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-date-segment span{display:none}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-date-segment-placeholder span{display:flex}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dimensions{display:flex;flex-direction:column}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dimensions .tf-select,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dimensions .tf-select .tf-button-select{width:auto}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dimensions-container{display:flex;flex-wrap:wrap;position:relative;width:-moz-fit-content;width:fit-content}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dimensions-number-groups{display:flex;flex-direction:row;max-width:300px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dimensions-number-groups .tf-number{flex:1 1 75px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dimensions-number-groups .tf-number .tf-number-field{width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dimensions-number-groups .tf-number input{text-align:left;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dimensions-number-groups .tf-number-button-group .tf-button-number{padding:0 3px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dimensions-number-groups-linked .tf-number:not(:first-child){display:none;opacity:.5;pointer-events:none}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-text-field{align-items:center;display:flex;gap:8px;position:relative}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-text-field .tf-dynamic-text-popover{left:0;position:absolute;top:100%;width:192px;z-index:900}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-text-field .tf-dynamic-text-popover .tf-list-box-option:not(.tf-list-box-option-selected,.tf-list-box-option-disabled):hover:after{content:"+";margin-left:auto}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-text-item{align-items:center;background-color:#e2e7ff;border:1px solid transparent;border-radius:2px;color:#4b84ce;display:inline-flex;font-size:13px;font-weight:700;gap:.35em;line-height:1.4;margin:0 .15em;padding:.25em .5em}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-text-item:before{content:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMSIgaGVpZ2h0PSIxNiIgZmlsbD0ibm9uZSI+PGcgY2xpcC1wYXRoPSJ1cmwoI2EpIj48cGF0aCBmaWxsPSIjMzg1OEU5IiBkPSJNNi44OSA3LjA2MmgzLjE5M2MuMzgxIDAgLjcyNS4yNDQuODM0LjYwN2EuOTEuOTEgMCAwIDEtLjIzIDEuMDM3bC03LjMzMyA2LjU2M2EuOS45IDAgMCAxLTEuMTQzLjA1Mi45NS45NSAwIDAgMS0uMzA0LTEuMTI4bDIuMjA0LTUuMjU2SC44OWMtLjM1NiAwLS42OTgtLjI0My0uODMzLS42MDZhLjk1NS45NTUgMCAwIDEgLjI1NS0xLjAzN0w3LjY0Ni43MzJBLjkuOSAwIDAgMSA4Ljc4OC42NzlhLjk1Ljk1IDAgMCAxIC4zMDQgMS4xMjh6Ii8+PC9nPjxkZWZzPjxjbGlwUGF0aCBpZD0iYSI+PHBhdGggZmlsbD0iI2ZmZiIgZD0iTTAgLjVoMTF2MTVIMHoiLz48L2NsaXBQYXRoPjwvZGVmcz48L3N2Zz4=");line-height:1}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .cm-content[contenteditable=false] .tf-dynamic-text-item{filter:grayscale(1)}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-text-input:focus-within{box-shadow:0 0 0 1px #4b84ce;outline:2px solid transparent}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-text-input>.cm-editor{padding:0 12px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-text-input>.cm-editor.cm-focused{outline:none}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-text-input>.cm-editor .cm-scroller{font-family:inherit}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-text-input>.cm-editor .cm-content{height:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-editor .ProseMirror ul{list-style-type:disc}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-editor .ProseMirror ol{margin:0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-editor .ProseMirror{line-height:1.2;outline:none;padding:4px 8px 4px 14px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-editor .tf-editor-view-toggle{display:flex;flex-direction:row;justify-content:flex-end;padding-bottom:5px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-editor .tf-editor-view-toggle .tf-button-group{width:-moz-fit-content;width:fit-content}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-file-field{align-items:center;display:flex;flex-wrap:wrap;width:-moz-fit-content;width:fit-content}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-file-text{max-width:192px;overflow:hidden;padding:0 12px;text-overflow:ellipsis}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-file-list{margin-bottom:0;padding:0;width:300px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-file-item{align-items:center;display:flex;flex-wrap:wrap;justify-content:space-between}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-file-item img{max-width:200px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-file-item span{flex-grow:1;overflow:hidden;text-overflow:ellipsis;width:70%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-file-item .tf-button-upload-list{cursor:pointer;font-style:italic;text-decoration:underline}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-gallery-item{align-items:center;display:flex;height:100px;justify-content:center;width:100px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-gallery-item img{border-radius:2px;height:100%;-o-object-fit:cover;object-fit:cover;overflow:hidden;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-gallery__controls{background:#fff;border:1px solid #a7b1bb;border-radius:2px;padding:8px 12px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-gallery-buttons{display:flex;gap:10px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-gradient-container{display:flex;flex-direction:column;position:relative;width:192px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-gradient-input{background:#fff;border:1px solid #8c8f94;border-radius:2px;box-shadow:unset;color:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;height:32px;padding:0 12px;width:192px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-gradient-input::-moz-placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-gradient-input::placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-gradient-settings{padding:10px 12px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-gradient-settings .tf-gradient-settings-row{padding:10px 0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-gradient-popover .tf-dialog{width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-gradient-preview{padding:10px 12px;position:relative}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-gradient-colors{align-items:center;cursor:pointer;display:flex;height:32px;justify-content:space-between;padding:0 12px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-list-container{display:flex;flex-direction:column;gap:8px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-list-items{width:192px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-list-header,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-list-header label,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-list-item{align-items:center;display:flex;justify-content:flex-start}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-list-header{background:#f0f0f0;border:1px solid hsla(218,4%,56%,.5);border-radius:2px;border-bottom-left-radius:0;border-bottom-right-radius:0;padding:0 12px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-list-header label{height:32px;margin:0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-list-item{background:#fff;border:1px solid hsla(218,4%,56%,.5);border-top:none;box-sizing:border-box;height:32px;width:192px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-list-item .tf-list-item-text{flex:1;font-size:inherit;font-weight:inherit;padding:0 12px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-list-item .tf-list-item-actions{display:flex}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-list-search{display:flex;width:192px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-list-search .tf-combo-box{flex:1}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-number input{background:#fff;border:1px solid #8c8f94;border-radius:2px;box-shadow:unset;color:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;height:32px;padding:0 12px;width:192px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-number input::-moz-placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-number input::placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-number .tf-label{display:flex}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-number-field{display:flex;flex-direction:row;flex-wrap:nowrap;position:relative;width:192px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-number[data-enabled=false] .tf-number-field{opacity:.5}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-number-button-group{bottom:1px;display:flex;flex-direction:column;flex-wrap:nowrap;height:auto;padding:0 12px;position:absolute;right:1px;top:1px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-number-button-group .tf-button-number{align-items:center;background-color:#eee;border:0;border-radius:4px;border-radius:0;color:#505050;cursor:pointer;display:flex;height:30px;height:50%;justify-content:center;line-height:0;min-width:2em;padding:0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-number-button-group .tf-button-number:hover{background-color:#e2e2e2}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-number-button-group .tf-button-number:first-child{border-bottom-left-radius:0;border-bottom-right-radius:0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-number-button-group .tf-button-number:last-child{border-top-left-radius:0;border-top-right-radius:0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-radio-group-container{display:flex;flex-direction:column}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-multiple-select,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-select{display:inline-block;position:relative;width:192px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-multiple-select>.tf-label,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-select>.tf-label{display:flex}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-multiple-select__value,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-select__value{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-multiple-select .tf-button-select,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-select .tf-button-select{align-items:center;background:#fff;border:1px solid #8c8f94;border-radius:2px;box-shadow:unset;color:inherit;display:flex;font-style:inherit;font-weight:inherit;height:32px;justify-content:space-between;padding:0 10px;width:192px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-multiple-select .tf-button-select::-moz-placeholder,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-select .tf-button-select::-moz-placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-multiple-select .tf-button-select::placeholder,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-select .tf-button-select::placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-multiple-select .tf-button-select[disabled],body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-select .tf-button-select[disabled]{background:hsla(0,0%,100%,.5);border-color:rgba(0,0,0,.1);color:rgba(0,0,0,.4)}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-multiple-select .tf-select-icon,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-select .tf-select-icon{font-size:10px;padding-left:5px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-multiple-select .tf-button-select,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-select .tf-button-select{cursor:pointer;font-size:inherit}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-simple-dimensions{display:flex;flex-direction:column}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-simple-dimensions .tf-select,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-simple-dimensions .tf-select .tf-button-select{width:auto}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-simple-dimensions-container{display:flex;position:relative;width:-moz-fit-content;width:fit-content}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-switch label{align-items:center;display:flex;justify-content:flex-start}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-switch-element,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-switch-element-selected{display:inline-block;height:32px;position:relative;width:64px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-switch-element span,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-switch-element-selected span{background-color:#ccc;border-radius:32px;bottom:0;cursor:pointer;left:0;position:absolute;right:0;top:0;transition:.4s}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-switch-element span:before,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-switch-element-selected span:before{background-color:#fff;border-radius:50%;bottom:4px;content:"";height:24px;left:4px;position:absolute;transition:.4s;width:24px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-switch-element-selected span{background-color:#4b84ce}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-switch-element-selected span:focus{box-shadow:0 0 1px #4b84ce}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-switch-element-selected span:before{transform:translateX(32px)}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-text{box-sizing:content-box;display:flex;flex-direction:column}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-text input{background:#fff;border:1px solid #8c8f94;border-radius:2px;box-shadow:unset;color:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;height:32px;padding:0 12px;width:192px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-text input::-moz-placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-text input::placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-text-area textarea{background:#fff;border:1px solid #8c8f94;border-radius:2px;box-shadow:unset;color:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;height:32px;height:auto;padding:.6em;width:192px;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-text-area textarea::-moz-placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-text-area textarea::placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-bulk-actions{align-items:center;background:#fff;border:1px solid #8c8f94;border-radius:2px;display:flex;justify-content:flex-start;margin-bottom:4px;padding:5px 12px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-bulk-actions>button,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-bulk-actions>div{margin-right:5px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-advanced-label-row{box-sizing:border-box;display:flex;gap:8px;justify-content:space-between;padding:8px 12px;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-advanced-label-row .tf-repeater-advanced-label-row-item{align-items:center;display:flex;flex:1;flex-wrap:wrap;justify-content:flex-start}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-advanced-label-row .tf-repeater-advanced-label-row-item:first-child{color:#4b84ce;font-weight:700}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-advanced-label-row .tf-repeater-advanced-label-row-arrow,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-advanced-label-row .tf-repeater-advanced-label-row-index{width:32px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-advanced-header{background:#f0f0f0;border:1px solid hsla(218,4%,56%,.5);border-bottom:none;border-radius:2px;border-bottom-left-radius:0;border-bottom-right-radius:0;margin:0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-advanced-header .tf-repeater-advanced-header-item{color:inherit;display:inline-block;font-size:inherit;font-style:inherit;font-weight:inherit;height:32px;margin-bottom:0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-advanced-overview{background:#fff}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-advanced-overview .tf-repeater-advanced-label-row-arrow,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-advanced-overview .tf-repeater-advanced-label-row-index{height:40px;line-height:40px;text-align:center}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-advanced-overview .tf-repeater-advanced-label-row-index{background:#f0f0f0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-advanced-overview .tf-repeater-advanced-label-row-arrow{cursor:pointer}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-advanced-overview .tf-repeater-advanced-label-row-arrow>div{border:solid;border-color:inherit;border-width:0 1px 1px 0;display:inline-block;height:8px;width:8px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-advanced-overview .tf-repeater-advanced-overview-item-actions{height:20px;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-advanced-overview .tf-repeater-advanced-overview-item-actions button{display:none}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-advanced-overview-item-container{display:flex;flex-direction:column;justify-content:center;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-advanced-overview-item-fields{display:flex}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-advanced-overview:hover .tf-repeater-advanced-overview-item-actions button{display:initial}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-advanced-item .tf-repeater-advanced-overview:hover,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-advanced-item[data-open=true] .tf-repeater-advanced-overview{background-color:#e2e7ff}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-advanced-item[data-open=true] .tf-repeater-advanced-label-row-arrow>div{transform:translateY(50%) rotate(-135deg)}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-advanced-item[data-open=false] .tf-repeater-advanced-label-row-arrow>div{transform:translateY(-50%) rotate(45deg)}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-advanced-item{background-color:#fff;border:1px solid hsla(218,4%,56%,.5);border-radius:2px;border-radius:0;border-top:none;position:relative}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-advanced-item[data-open=true]:before{background-color:#4b84ce;content:"";height:100%;left:0;position:absolute;top:0;width:3px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-advanced-container>.tf-repeater-actions{background-color:#fff;border:1px solid hsla(218,4%,56%,.5);border-radius:2px;border-top:none;border-top-left-radius:0;border-top-right-radius:0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-advanced-row{margin:16px 32px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-advanced-row .tf-repeater-advanced-item-field{padding:8px 12px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-advanced-item-field:has(>div[data-overlay-container=true]:empty){display:none}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-advanced-item-field:has(input.tf-hidden[type=hidden]){padding:0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-advanced .tf-repeater-actions{padding:8px 12px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-bare-items{display:flex;flex-direction:column;row-gap:8px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-bare-items .tf-repeater-bare-row{display:flex;gap:8px;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-block-item{background:#fff;border:1px solid #8c8f94;border-radius:2px;display:flex;flex-direction:column;margin-bottom:6px;margin-top:1em;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-block-item .tf-panel-header .tf-switch-element,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-block-item .tf-panel-header .tf-switch-element-selected{transform:scale(.7)}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-block-item-field{padding:1em}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-block-item-field:has(>div[data-overlay-container=true]:empty){display:none}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-tab-container{background-color:#fff;border:1px solid hsla(218,4%,56%,.5);border-radius:2px;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-tab-header{border-bottom:1px solid hsla(218,4%,56%,.5);box-sizing:border-box;display:flex;flex-wrap:nowrap;justify-content:space-between;overflow-x:scroll;overflow-y:hidden;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-tab-actions{display:flex;flex-wrap:nowrap;justify-content:space-between;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-tab-icon-actions{align-items:center;display:flex}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-tab-icon-actions button{min-width:-moz-fit-content;min-width:fit-content}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-tab-items{background-color:#fff;box-sizing:border-box;display:flex;gap:8px;justify-content:flex-start;margin:0;min-width:-moz-fit-content;min-width:fit-content;overflow-x:auto;overflow-y:hidden}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-tab-add-item,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-tab-icon-actions button,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-tab-item{align-items:center;color:inherit;display:flex;display:inline-block;font-size:inherit;font-style:inherit;font-weight:inherit;height:32px;justify-content:center;margin-bottom:0;min-width:-moz-fit-content;min-width:fit-content;padding:8px 12px;position:relative}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-tab-add-item[data-open=true]:before,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-tab-icon-actions button[data-open=true]:before,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-tab-item[data-open=true]:before{background-color:#4b84ce;bottom:0;content:"";height:3px;left:0;position:absolute;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-tab-add-item button,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-tab-icon-actions button button,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-tab-item button{white-space:nowrap}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-tab-add-item{justify-content:flex-start;min-width:-moz-max-content;min-width:max-content;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-tab-content{background-color:#fff;box-sizing:border-box;padding:16px 32px;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-tab-content .tf-repeater-tab-item-field{padding:8px 12px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-table-container{border:1px solid hsla(218,4%,56%,.5);border-radius:2px;display:flex;flex-direction:column;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-table-container .tf-repeater-actions{box-sizing:border-box;justify-content:flex-start;padding:8px 12px;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-table-container table{padding:0 4px 4px;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-table-container table th,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-table-container table tr{min-height:32px;padding:2px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-table-container table th{height:32px;text-align:left}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-table-container table td>div{display:flex;justify-content:center;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-table-container table td>div>div{width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-table-container .tf-repeater-row-actions{width:1%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-table-container .tf-repeater-row-actions>div{display:inline-flex;gap:6px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-actions{display:flex;gap:6px;justify-content:flex-end;padding:2px 2px 4px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-actions .tf-button-action:last-child{border-color:#cc1818;color:#cc1818}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-title{color:inherit;display:inline-block;font-size:inherit;font-style:inherit;font-weight:inherit;margin-bottom:6px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-repeater-block-items{margin-bottom:8px;margin-top:8px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-wrapper{align-items:center;display:flex;position:relative}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-wrapper .tf-dynamic-wrapper-popover{position:absolute;top:100%;width:192px;z-index:900}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-wrapper .tf-dynamic-wrapper-popover-form{background:#fff;border:1px solid #8c8f94;padding:0 12px;width:100%;z-index:900}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-wrapper .tf-dynamic-wrapper-popover-form>*{margin:12px 0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-wrapper .tf-dynamic-wrapper-popover-buttons{display:flex;justify-content:flex-end}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-wrapper .tf-dynamic-wrapper-popover-buttons button{margin-left:6px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-wrapper.tf-dynamic-wrapper-buttons-outside{gap:8px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-wrapper.tf-dynamic-wrapper-buttons-inside{gap:0;width:-moz-fit-content;width:fit-content}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-wrapper.tf-dynamic-wrapper-buttons-inside .tf-button-icon{background:transparent;border:none;cursor:pointer;height:32px;position:absolute;right:1px;top:50%;transform:translateY(-50%)}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-wrapper.tf-dynamic-wrapper-buttons-inside .tf-button-icon:before{content:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMyIgaGVpZ2h0PSIxNyIgZmlsbD0ibm9uZSI+PHBhdGggZmlsbD0iIzFFMUUxRSIgZD0iTTcuNTIyIDdoMy40ODdjLjQxNiAwIC43OS4yNi45MS42NDdhLjk1Ljk1IDAgMCAxLS4yNSAxLjEwNmwtLjYwMy41MjdhNC41IDQuNSAwIDAgMC01Ljk1NyA1LjIwOGwtMS40NDcgMS4yNjVhMSAxIDAgMCAxLTEuNTgtMS4xNDdMNC40ODkgOUguOTczYS45OTUuOTk1IDAgMCAxLS45MDktLjY0NyAxIDEgMCAwIDEgLjI3OC0xLjEwNmw4LjAwNS03YTEuMDAyIDEuMDAyIDAgMCAxIDEuNTggMS4xNDd6Ii8+PHBhdGggZmlsbD0iIzFFMUUxRSIgZmlsbC1ydWxlPSJldmVub2RkIiBkPSJNOS41IDE3YTMuNSAzLjUgMCAxIDAgMC03IDMuNSAzLjUgMCAwIDAgMCA3bTIuNS0zLjVhLjU3Ny41NzcgMCAwIDEtLjU3Ny41NzdoLTEuMzQ2djEuMzQ2YS41NzcuNTc3IDAgMSAxLTEuMTU0IDB2LTEuMzQ2SDcuNTc3YS41NzcuNTc3IDAgMCAxIDAtMS4xNTRoMS4zNDZ2LTEuMzQ2YS41NzcuNTc3IDAgMSAxIDEuMTU0IDB2MS4zNDZoMS4zNDZjLjMyIDAgLjU3Ny4yNTguNTc3LjU3NyIgY2xpcC1ydWxlPSJldmVub2RkIi8+PC9zdmc+);line-height:1;padding:0 5px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-wrapper.tf-dynamic-wrapper-buttons-inside .tf-button-icon.cm-content[contenteditable=false]:before{display:none}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-field-wrapper.tf-dynamic-wrapper .tf-dynamic-value-input:disabled{background:hsla(0,0%,100%,.5);border-color:rgba(0,0,0,.1);color:rgba(0,0,0,.4)}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-field-wrapper.tf-dynamic-wrapper .tf-button-icon.tf-dynamic-wrapper-clear:before{content:"⨯"}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-text-input{background:#fff;border:1px solid #8c8f94;border-radius:2px;box-shadow:unset;color:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;height:32px;padding:0 12px;width:192px;width:168px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-text-input::-moz-placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-text-input::placeholder{color:initial;font-size:inherit;font-style:inherit;font-weight:inherit}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-text-input:focus-within{border-color:#4b84ce}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-text-input:has(.cm-content[contenteditable=false]){background:hsla(0,0%,100%,.5);border-color:rgba(0,0,0,.1);color:rgba(0,0,0,.4);pointer-events:none}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-text-input:has(.cm-content[contenteditable=false]) .tf-dynamic-text-input__affix{border-color:rgba(0,0,0,.1)}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-text-input--has-prefix,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-text-input--has-suffix{display:flex;height:auto;padding:0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-text-input--has-prefix>.cm-editor,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-text-input--has-suffix>.cm-editor{flex:1 1 auto;min-height:32px;overflow:hidden}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-text-input>.cm-editor{height:100%;justify-content:center;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-text-input>.cm-editor .cm-content,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-text-input>.cm-editor .cm-line{padding:0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-text-input>.cm-editor .cm-content{display:flex;flex-direction:column;justify-content:center}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-text-input .tf-dynamic-text-item-delete:before{content:"⨯";cursor:pointer;padding-left:3px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-text-input__affix{align-items:center;border:0 solid #8c8f94;display:inline-flex;font-size:.8em;font-weight:700;padding:0 .5em;text-wrap:nowrap}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-text-input__affix--prefix{border-right-width:1px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-text-input__affix--suffix{border-left-width:1px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-text-input:focus-within .tf-dynamic-text-input__affix{border-color:#4b84ce}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-wrapper[data-dynamic=true] .cm-editor{padding-right:25px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-wrapper[data-dynamic=true] .cm-editor:has(.cm-content[contenteditable=false]){padding-right:0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-wrapper[data-dynamic=true] .tf-dynamic-text-input--has-suffix .cm-editor{padding-right:8px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-wrapper[data-dynamic=true] .tf-dynamic-text-input__affix--suffix{border-right-width:1px;margin-right:33px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-number-button-group{padding:0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-number-button-group .tf-button-number{background:#eee}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-number-button-group .tf-button-number:hover{background:#e2e2e2;color:#505050}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-editor .ProseMirror-menubar-wrapper{background-color:#fff;border:2px solid rgba(0,0,0,.2);height:auto;overflow:unset;position:relative}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-editor .ProseMirror-menubar-spacer{height:auto!important}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-editor .ProseMirror-menubar{background:#fff;border-bottom:2px solid rgba(0,0,0,.2);color:inherit;left:0!important;min-height:60px!important;position:absolute!important;top:0!important}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-editor .ProseMirror.ProseMirror-example-setup-style{margin-bottom:0;margin-top:63px;max-height:100px;min-height:60px;overflow:auto}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-gallery__controls{min-height:32px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-gallery-preview{display:flex;flex-wrap:wrap}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-gallery-item{height:75px;width:75px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-gallery-buttons{margin-top:12px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-radio-group-container{gap:4px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-radio{align-items:center;display:inline-flex;gap:4px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dimensions-number-groups{max-width:250px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dimensions-number-groups .tf-number-field>input{padding:0 6px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-field-group-item{margin:12px 0}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-checkbox>.tf-label{align-items:center;display:flex}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-panel .tf-panel-header.tf-button-action:hover{background:#e2e2e2;color:#505050}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-button-action,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-button-danger,body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-button-primary{height:32px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-text-input{padding:0;width:100%}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-text-input>.cm-editor ::-webkit-scrollbar{height:10px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-text-input>.cm-editor ::-webkit-scrollbar-thumb{background:#d3d3d3;border-radius:5px}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-dynamic-text-input>.cm-editor .cm-line{height:1.5em}body.elementor-editor-active:has(#e-theme-ui-dark-css[media="(prefers-color-scheme: dark)"]) .tf-context-elementor .tf-switch .tf-switch-label{max-width:-moz-max-content;max-width:max-content}}.ProseMirror-textblock-dropdown{min-width:3em}.ProseMirror-menu{line-height:1;margin:0 -4px}.ProseMirror-tooltip .ProseMirror-menu{white-space:pre;width:-moz-fit-content;width:fit-content}.ProseMirror-menuitem{display:inline-block;margin-right:3px}.ProseMirror-menuseparator{border-right:1px solid #ddd;margin-right:3px}.ProseMirror-menu-dropdown,.ProseMirror-menu-dropdown-menu{font-size:90%;white-space:nowrap}.ProseMirror-menu-dropdown{cursor:pointer;padding-right:15px;position:relative;vertical-align:1px}.ProseMirror-menu-dropdown-wrap{display:inline-block;padding:1px 0 1px 4px;position:relative}.ProseMirror-menu-dropdown:after{border-left:4px solid transparent;border-right:4px solid transparent;border-top:4px solid;content:"";opacity:.6;position:absolute;right:4px;top:calc(50% - 2px)}.ProseMirror-menu-dropdown-menu,.ProseMirror-menu-submenu{background:#fff;border:1px solid #aaa;color:#666;padding:2px;position:absolute}.ProseMirror-menu-dropdown-menu{min-width:6em;z-index:15}.ProseMirror-menu-dropdown-item{cursor:pointer;padding:2px 8px 2px 4px}.ProseMirror-menu-dropdown-item:hover{background:#f2f2f2}.ProseMirror-menu-submenu-wrap{margin-right:-4px;position:relative}.ProseMirror-menu-submenu-label:after{border-bottom:4px solid transparent;border-left:4px solid;border-top:4px solid transparent;content:"";opacity:.6;position:absolute;right:4px;top:calc(50% - 4px)}.ProseMirror-menu-submenu{display:none;left:100%;min-width:4em;top:-3px}.ProseMirror-menu-active{background:#eee;border-radius:4px}.ProseMirror-menu-disabled{opacity:.3}.ProseMirror-menu-submenu-wrap-active .ProseMirror-menu-submenu,.ProseMirror-menu-submenu-wrap:hover .ProseMirror-menu-submenu{display:block}.ProseMirror-menubar{background:#fff;border-bottom:1px solid silver;border-top-left-radius:inherit;border-top-right-radius:inherit;color:#666;left:0;min-height:1em;padding:1px 6px;position:relative;right:0;top:0;z-index:10}.ProseMirror-icon{cursor:pointer;display:inline-block;line-height:.8;padding:2px 8px;vertical-align:-2px}.ProseMirror-menu-disabled.ProseMirror-icon{cursor:default}.ProseMirror-icon svg{fill:currentColor;height:1em}.ProseMirror-icon span{vertical-align:text-top}.ProseMirror-menubar-wrapper{background-color:#fff;border:2px solid rgba(0,0,0,.2);border-radius:5px;height:150px;overflow:auto;resize:vertical}.ProseMirror-menubar{box-shadow:0 2px 5px rgba(0,0,0,.2);box-sizing:border-box;overflow:visible;padding-bottom:12px;padding-top:12px}.ProseMirror.ProseMirror-example-setup-style{border-radius:5px;margin-bottom:20px;padding-bottom:12px;padding-left:12px;padding-right:12px}.ProseMirror-example-setup-style hr{border:none;margin:1em 0;padding:2px 10px}.ProseMirror-example-setup-style hr:after{background-color:silver;content:"";display:block;height:1px;line-height:2px}.ProseMirror ol,.ProseMirror ul{padding-left:30px}.ProseMirror blockquote{border-left:3px solid #eee;margin-left:0;margin-right:0;padding-left:1em}.ProseMirror-example-setup-style img{cursor:default}.ProseMirror-prompt{background:#fff;border:1px solid silver;border-radius:3px;box-shadow:-.5px 2px 5px rgba(0,0,0,.2);padding:8px 10px 8px 15px;position:fixed;z-index:9999999}.ProseMirror-prompt h5{color:#444;font-size:100%;font-weight:400;margin:0}.ProseMirror-prompt input[type=text],.ProseMirror-prompt textarea{background:#eee;border:none;outline:none}.ProseMirror-prompt input[type=text]{margin-top:5px;padding:0 4px}.ProseMirror-prompt-close{background:transparent;border:none;color:#666;left:2px;padding:0;position:absolute;top:1px}.ProseMirror-prompt-close:after{content:"✕";font-size:12px}.ProseMirror-invalid{background:#ffc;border:1px solid #cc7;border-radius:4px;min-width:10em;padding:5px 10px;position:absolute}.ProseMirror-prompt-buttons{margin-top:5px}.ProseMirror{position:relative;word-wrap:break-word;font-feature-settings:"liga" 0;font-variant-ligatures:none;white-space:pre-wrap;white-space:break-spaces}.ProseMirror pre{white-space:pre-wrap}.ProseMirror li{position:relative}.ProseMirror-hideselection ::selection{background:transparent}.ProseMirror-hideselection ::-moz-selection{background:transparent}.ProseMirror-hideselection{caret-color:transparent}.ProseMirror-selectednode{outline:2px solid #8cf}li.ProseMirror-selectednode{outline:none}li.ProseMirror-selectednode:after{border:2px solid #8cf;bottom:-2px;content:"";left:-32px;pointer-events:none;position:absolute;right:-2px;top:-2px}img.ProseMirror-separator{border:none!important;display:inline!important;margin:0!important}.ProseMirror-gapcursor{display:none;pointer-events:none;position:absolute}.ProseMirror-gapcursor:after{animation:ProseMirror-cursor-blink 1.1s steps(2,start) infinite;border-top:1px solid #000;content:"";display:block;position:absolute;top:-2px;width:20px}@keyframes ProseMirror-cursor-blink{to{visibility:hidden}}.ProseMirror-focused .ProseMirror-gapcursor{display:block} /*# sourceMappingURL=index.min.css.map */ \ No newline at end of file diff --git a/assets/build/example.min.css b/assets/build/example.min.css index c2bbadf7..c6696e8d 100644 --- a/assets/build/example.min.css +++ b/assets/build/example.min.css @@ -1,2 +1,2 @@ -.tangible-field-example-settings pre{background:#22272e}.tangible-field-example-settings .tangible-plugin-settings-tab{max-width:100%}.tangible-field-example-settings .tangible-settings-row{padding:10px 0}.tangible-field-example-settings .tf-example-container{display:flex}.tangible-field-example-settings .tf-dynamic-value-content-js ul,.tangible-field-example-settings .tf-example-field>ul{list-style:circle;padding:10px}.tangible-field-example-settings .tf-dynamic-value-content-js ul ul,.tangible-field-example-settings .tf-example-field>ul ul{list-style:square;padding:5px 5px 5px 40px}.tangible-field-example-settings .tf-example-list{padding-top:20px;width:20%}.tangible-field-example-settings .tf-example-field{width:80%}.tangible-field-example-settings .tf-context-select-container{padding:20px 0}.tangible-field-example-settings .tf-dynamic-value-content-js{display:flex;flex-direction:column;gap:10px}.tangible-field-example-settings .tf-dynamic-value-description{padding-bottom:10px}.tangible-field-example-settings .tf-dynamic-value-list{display:flex}.tangible-field-example-settings .tf-dynamic-value-list-sidebar{display:flex;flex-direction:column;width:33%}.tangible-field-example-settings .tf-dynamic-value-list-content{display:flex;flex-direction:column}.tangible-field-example-settings .tf-dynamic-value-trigger-js{cursor:pointer}.tangible-field-example-settings .tangible-settings-code-preview{display:flex;flex-wrap:nowrap;gap:20px}.tangible-field-example-settings .tangible-settings-code-preview>pre{flex:1} +.tangible-field-example-settings pre{background:#22272e}.tangible-field-example-settings .tangible-plugin-settings-tab{max-width:100%}.tangible-field-example-settings .tangible-settings-row{padding:10px 0}.tangible-field-example-settings .tf-example-container{display:flex}.tangible-field-example-settings .tf-dynamic-value-content-js ul,.tangible-field-example-settings .tf-example-field>ul{list-style:circle;padding:10px}.tangible-field-example-settings .tf-dynamic-value-content-js ul ul,.tangible-field-example-settings .tf-example-field>ul ul{list-style:square;padding:5px 5px 5px 40px}.tangible-field-example-settings .tf-example-list{padding-top:20px;width:20%}.tangible-field-example-settings .tf-example-field{width:70%}.tangible-field-example-settings .tf-context-select-container{padding:20px 0}.tangible-field-example-settings .tf-dynamic-value-content-js{display:flex;flex-direction:column;gap:10px}.tangible-field-example-settings .tf-dynamic-value-description{padding-bottom:10px}.tangible-field-example-settings .tf-dynamic-value-list{display:flex}.tangible-field-example-settings .tf-dynamic-value-list-sidebar{display:flex;flex-direction:column;width:33%}.tangible-field-example-settings .tf-dynamic-value-list-content{display:flex;flex-direction:column}.tangible-field-example-settings .tf-dynamic-value-trigger-js{cursor:pointer}.tangible-field-example-settings .tangible-settings-code-preview{display:flex;flex-wrap:nowrap;gap:20px}.tangible-field-example-settings .tangible-settings-code-preview>pre{flex:1} /*# sourceMappingURL=example.min.css.map */ \ No newline at end of file diff --git a/assets/build/index.min.js b/assets/build/index.min.js index 70f15087..0caeeb2d 100644 --- a/assets/build/index.min.js +++ b/assets/build/index.min.js @@ -1,14 +1,14 @@ -var ree=Object.defineProperty;var u=(Lp,Ul)=>ree(Lp,"name",{value:Ul,configurable:!0});(function(){"use strict";var lr,El,ao,zr,Ct,oo,qu,Uu,Gu,Hu,Ju,Rl,ec,fo,rc,Ml,oc,Lr,fc,Nl,mo,yc;(function(){const t={NODE_ENV:"production"};try{if(process){process.env=Object.assign({},process.env),Object.assign(process.env,t);return}}catch{}globalThis.process={env:t}})();var Lp=Object.defineProperty,Ul=u((t,e)=>Lp(t,"name",{value:e,configurable:!0}),"n$m");const Wp="tangible/fields/",Qi=Ul((t,e={})=>{const n=new CustomEvent(Wp+t,{detail:e});window.dispatchEvent(n)},"triggerEvent"),Yl=Ul((t,e)=>{const n=Ul(r=>e(r.detail??{},r),"eventCallback");return window.addEventListener(Wp+t,n),n},"addEventListener"),Xp=Ul((t,e)=>window.removeEventListener(Wp+t,e),"removeEventListener"),De=typeof document<"u"?wp.element.useLayoutEffect:()=>{};function Ne(t){const e=(0,wp.element.useRef)(null);return De(()=>{e.current=t},[t]),(0,wp.element.useCallback)((...n)=>{const r=e.current;return r?.(...n)},[])}u(Ne,"$8ae05eaa5c114e9c$export$7f54fc3180508a52");function q9(t){let[e,n]=(0,wp.element.useState)(t),r=(0,wp.element.useRef)(null),i=Ne(()=>{if(!r.current)return;let a=r.current.next();if(a.done){r.current=null;return}e===a.value?i():n(a.value)});De(()=>{r.current&&i()});let l=Ne(a=>{r.current=a(e),i()});return[e,l]}u(q9,"$1dbecbe27a04f9af$export$14d238f342723f25");const Dc={prefix:String(Math.round(Math.random()*1e10)),current:0},o3=wp.element.createContext(Dc),U9=wp.element.createContext(!1);let Y9=!!(typeof window<"u"&&window.document&&window.document.createElement),jp=new WeakMap;function K9(t=!1){let e=(0,wp.element.useContext)(o3),n=(0,wp.element.useRef)(null);if(n.current===null&&!t){var r,i;let l=(i=wp.element.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED)===null||i===void 0||(r=i.ReactCurrentOwner)===null||r===void 0?void 0:r.current;if(l){let a=jp.get(l);a==null?jp.set(l,{id:e.current,state:l.memoizedState}):l.memoizedState!==a.state&&(e.current=a.id,jp.delete(l))}n.current=++e.current}return n.current}u(K9,"$b5e257d569688ac6$var$useCounter");function G9(t){let e=(0,wp.element.useContext)(o3);e===Dc&&!Y9&&console.warn("When server rendering, you must wrap your application in an to ensure consistent ids are generated between the client and server.");let n=K9(!!t),r=e===Dc&&process.env.NODE_ENV==="test"?"react-aria":`react-aria${e.prefix}`;return t||`${r}-${n}`}u(G9,"$b5e257d569688ac6$var$useLegacySSRSafeId");function H9(t){let e=wp.element.useId(),[n]=(0,wp.element.useState)(kc()),r=n||process.env.NODE_ENV==="test"?"react-aria":`react-aria${Dc.prefix}`;return t||`${r}-${e}`}u(H9,"$b5e257d569688ac6$var$useModernSSRSafeId");const _9=typeof wp.element.useId=="function"?H9:G9;function J9(){return!1}u(J9,"$b5e257d569688ac6$var$getSnapshot");function eQ(){return!0}u(eQ,"$b5e257d569688ac6$var$getServerSnapshot");function tQ(t){return()=>{}}u(tQ,"$b5e257d569688ac6$var$subscribe");function kc(){return typeof wp.element.useSyncExternalStore=="function"?wp.element.useSyncExternalStore(tQ,J9,eQ):(0,wp.element.useContext)(U9)}u(kc,"$b5e257d569688ac6$export$535bd6ca7f90a273");let nQ=!!(typeof window<"u"&&window.document&&window.document.createElement),jr=new Map;function Fe(t){let[e,n]=(0,wp.element.useState)(t),r=(0,wp.element.useRef)(null),i=_9(e),l=(0,wp.element.useCallback)(a=>{r.current=a},[]);return nQ&&(jr.has(i)&&!jr.get(i).includes(l)?jr.set(i,[...jr.get(i),l]):jr.set(i,[l])),De(()=>{let a=i;return()=>{jr.delete(a)}},[i]),(0,wp.element.useEffect)(()=>{let a=r.current;a&&(r.current=null,n(a))}),i}u(Fe,"$bdb11010cef70236$export$f680877a34711e37");function rQ(t,e){if(t===e)return t;let n=jr.get(t);if(n)return n.forEach(i=>i(e)),e;let r=jr.get(e);return r?(r.forEach(i=>i(t)),t):e}u(rQ,"$bdb11010cef70236$export$cd8c9cb68f842629");function Kl(t=[]){let e=Fe(),[n,r]=q9(e),i=(0,wp.element.useCallback)(()=>{r(function*(){yield e,yield document.getElementById(e)?e:void 0})},[e,r]);return De(i,[e,i,...t]),n}u(Kl,"$bdb11010cef70236$export$b4cc09c592e8fdb8");function fr(...t){return(...e)=>{for(let n of t)typeof n=="function"&&n(...e)}}u(fr,"$ff5963eb1fccf552$export$e08e3b67e392101e");const Oe=u(t=>{var e;return(e=t?.ownerDocument)!==null&&e!==void 0?e:document},"$431fbd86ca7dc216$export$b204af158042fbac"),Jt=u(t=>t&&"window"in t&&t.window===t?t:Oe(t).defaultView||window,"$431fbd86ca7dc216$export$f21a1ffae260145a");function s3(t){var e,n,r="";if(typeof t=="string"||typeof t=="number")r+=t;else if(typeof t=="object")if(Array.isArray(t)){var i=t.length;for(e=0;e=65&&i.charCodeAt(2)<=90?e[i]=fr(l,a):(i==="className"||i==="UNSAFE_className")&&typeof l=="string"&&typeof a=="string"?e[i]=iQ(l,a):i==="id"&&l&&a?e.id=rQ(l,a):e[i]=a!==void 0?a:l}}return e}u(te,"$3ef42575df84b30b$export$9d1611c77c2fe928");const lQ=new Set(["id"]),aQ=new Set(["aria-label","aria-labelledby","aria-describedby","aria-details"]),oQ=new Set(["href","hrefLang","target","rel","download","ping","referrerPolicy"]),sQ=/^(data-.*)$/;function ft(t,e={}){let{labelable:n,isLink:r,propNames:i}=e,l={};for(const a in t)Object.prototype.hasOwnProperty.call(t,a)&&(lQ.has(a)||n&&aQ.has(a)||r&&oQ.has(a)||i?.has(a)||sQ.test(a))&&(l[a]=t[a]);return l}u(ft,"$65484d02dcb7eb3e$export$457c3d6518dd4c6f");function en(t){if(uQ())t.focus({preventScroll:!0});else{let e=cQ(t);t.focus(),dQ(e)}}u(en,"$7215afc6de606d6b$export$de79e2c695e052f3");let Pc=null;function uQ(){if(Pc==null){Pc=!1;try{document.createElement("div").focus({get preventScroll(){return Pc=!0,!0}})}catch{}}return Pc}u(uQ,"$7215afc6de606d6b$var$supportsPreventScroll");function cQ(t){let e=t.parentNode,n=[],r=document.scrollingElement||document.documentElement;for(;e instanceof HTMLElement&&e!==r;)(e.offsetHeight"u"||window.navigator==null?!1:((e=window.navigator.userAgentData)===null||e===void 0?void 0:e.brands.some(n=>t.test(n.brand)))||t.test(window.navigator.userAgent)}u(Ec,"$c87311424ea30a05$var$testUserAgent");function qp(t){var e;return typeof window<"u"&&window.navigator!=null?t.test(((e=window.navigator.userAgentData)===null||e===void 0?void 0:e.platform)||window.navigator.platform):!1}u(qp,"$c87311424ea30a05$var$testPlatform");function hr(t){let e=null;return()=>(e==null&&(e=t()),e)}u(hr,"$c87311424ea30a05$var$cached");const pr=hr(function(){return qp(/^Mac/i)}),u3=hr(function(){return qp(/^iPhone/i)}),c3=hr(function(){return qp(/^iPad/i)||pr()&&navigator.maxTouchPoints>1}),Mi=hr(function(){return u3()||c3()}),Ac=hr(function(){return pr()||Mi()}),Up=hr(function(){return Ec(/AppleWebKit/i)&&!fQ()}),fQ=hr(function(){return Ec(/Chrome/i)}),Tc=hr(function(){return Ec(/Android/i)}),hQ=hr(function(){return Ec(/Firefox/i)}),pQ=(0,wp.element.createContext)({isNative:!0,open:gQ,useHref:t=>t});function Rc(){return(0,wp.element.useContext)(pQ)}u(Rc,"$ea8dcbcb9ea1b556$export$9a302a45f65d0572");function Bi(t,e,n=!0){var r,i;let{metaKey:l,ctrlKey:a,altKey:o,shiftKey:s}=e;hQ()&&(!((i=window.event)===null||i===void 0||(r=i.type)===null||r===void 0)&&r.startsWith("key"))&&t.target==="_blank"&&(pr()?l=!0:a=!0);let c=Up()&&pr()&&!c3()?new KeyboardEvent("keydown",{keyIdentifier:"Enter",metaKey:l,ctrlKey:a,altKey:o,shiftKey:s}):new MouseEvent("click",{metaKey:l,ctrlKey:a,altKey:o,shiftKey:s,bubbles:!0,cancelable:!0});Bi.isOpening=n,en(t),t.dispatchEvent(c),Bi.isOpening=!1}u(Bi,"$ea8dcbcb9ea1b556$export$95185d699e05d4d7"),Bi.isOpening=!1;function mQ(t,e){if(t instanceof HTMLAnchorElement)e(t);else if(t.hasAttribute("data-href")){let n=document.createElement("a");n.href=t.getAttribute("data-href"),t.hasAttribute("data-target")&&(n.target=t.getAttribute("data-target")),t.hasAttribute("data-rel")&&(n.rel=t.getAttribute("data-rel")),t.hasAttribute("data-download")&&(n.download=t.getAttribute("data-download")),t.hasAttribute("data-ping")&&(n.ping=t.getAttribute("data-ping")),t.hasAttribute("data-referrer-policy")&&(n.referrerPolicy=t.getAttribute("data-referrer-policy")),t.appendChild(n),e(n),t.removeChild(n)}}u(mQ,"$ea8dcbcb9ea1b556$var$getSyntheticLink");function gQ(t,e){mQ(t,n=>Bi(n,e))}u(gQ,"$ea8dcbcb9ea1b556$var$openSyntheticLink");function OQ(t){let e=Rc();var n;const r=e.useHref((n=t?.href)!==null&&n!==void 0?n:"");return{href:t?.href?r:void 0,target:t?.target,rel:t?.rel,download:t?.download,ping:t?.ping,referrerPolicy:t?.referrerPolicy}}u(OQ,"$ea8dcbcb9ea1b556$export$7e924b3091a3bd18");let Gl=new Map,Yp=new Set;function d3(){if(typeof window>"u")return;function t(r){return"propertyName"in r}u(t,"isTransitionEvent");let e=u(r=>{if(!t(r)||!r.target)return;let i=Gl.get(r.target);i||(i=new Set,Gl.set(r.target,i),r.target.addEventListener("transitioncancel",n,{once:!0})),i.add(r.propertyName)},"onTransitionStart"),n=u(r=>{if(!t(r)||!r.target)return;let i=Gl.get(r.target);if(i&&(i.delete(r.propertyName),i.size===0&&(r.target.removeEventListener("transitioncancel",n),Gl.delete(r.target)),Gl.size===0)){for(let l of Yp)l();Yp.clear()}},"onTransitionEnd");document.body.addEventListener("transitionrun",e),document.body.addEventListener("transitionend",n)}u(d3,"$bbed8b41f857bcc0$var$setupGlobalEvents"),typeof document<"u"&&(document.readyState!=="loading"?d3():document.addEventListener("DOMContentLoaded",d3));function f3(t){requestAnimationFrame(()=>{Gl.size===0?t():Yp.add(t)})}u(f3,"$bbed8b41f857bcc0$export$24490316f764c430");function Vi(){let t=(0,wp.element.useRef)(new Map),e=(0,wp.element.useCallback)((i,l,a,o)=>{let s=o?.once?(...c)=>{t.current.delete(a),a(...c)}:a;t.current.set(a,{type:l,eventTarget:i,fn:s,options:o}),i.addEventListener(l,a,o)},[]),n=(0,wp.element.useCallback)((i,l,a,o)=>{var s;let c=((s=t.current.get(a))===null||s===void 0?void 0:s.fn)||a;i.removeEventListener(l,c,o),t.current.delete(a)},[]),r=(0,wp.element.useCallback)(()=>{t.current.forEach((i,l)=>{n(i.eventTarget,i.type,l,i.options)})},[n]);return(0,wp.element.useEffect)(()=>r,[r]),{addGlobalListener:e,removeGlobalListener:n,removeAllGlobalListeners:r}}u(Vi,"$03deb23ff14920c4$export$4eaf04e54aa8eed6");function Mn(t,e){let{id:n,"aria-label":r,"aria-labelledby":i}=t;return n=Fe(n),i&&r?i=[...new Set([n,...i.trim().split(/\s+/)])].join(" "):i&&(i=i.trim().split(/\s+/).join(" ")),!r&&!i&&e&&(r=e),{id:n,"aria-label":r,"aria-labelledby":i}}u(Mn,"$313b98861ee5dd6c$export$d6875122194c7b44");function h3(t,e){const n=(0,wp.element.useRef)(!0),r=(0,wp.element.useRef)(null);(0,wp.element.useEffect)(()=>(n.current=!0,()=>{n.current=!1}),[]),(0,wp.element.useEffect)(()=>{n.current?n.current=!1:(!r.current||e.some((i,l)=>!Object.is(i,r[l])))&&t(),r.current=e},e)}u(h3,"$4f58c5f72bcf79f7$export$496315a1608d9602");function bQ(){return typeof window.ResizeObserver<"u"}u(bQ,"$9daab02d461809db$var$hasResizeObserver");function p3(t){const{ref:e,box:n,onResize:r}=t;(0,wp.element.useEffect)(()=>{let i=e?.current;if(i)if(bQ()){const l=new window.ResizeObserver(a=>{a.length&&r()});return l.observe(i,{box:n}),()=>{i&&l.unobserve(i)}}else return window.addEventListener("resize",r,!1),()=>{window.removeEventListener("resize",r,!1)}},[r,e,n])}u(p3,"$9daab02d461809db$export$683480f191c0e3ea");function m3(t,e){De(()=>{if(t&&t.ref&&e)return t.ref.current=e.current,()=>{t.ref&&(t.ref.current=null)}})}u(m3,"$e7801be82b4b2a53$export$4debdb1a3f0fa79e");function xo(t,e){let n=window.getComputedStyle(t),r=/(auto|scroll)/.test(n.overflow+n.overflowX+n.overflowY);return r&&e&&(r=t.scrollHeight!==t.clientHeight||t.scrollWidth!==t.clientWidth),r}u(xo,"$cc38e7bd3fc7b213$export$2bb74740c4e19def");function Qc(t,e){let n=t;for(xo(n,e)&&(n=n.parentElement);n&&!xo(n,e);)n=n.parentElement;return n||document.scrollingElement||document.documentElement}u(Qc,"$62d8ded9296f3872$export$cfa2225e87938781");function yQ(t,e){const n=[];for(;t&&t!==document.documentElement;)xo(t,e)&&n.push(t),t=t.parentElement;return n}u(yQ,"$a40c673dc9f6d9c7$export$94ed1c92c7beeb22");let vQ=0;const Kp=new Map;function So(t){let[e,n]=(0,wp.element.useState)();return De(()=>{if(!t)return;let r=Kp.get(t);if(r)n(r.element.id);else{let i=`react-aria-description-${vQ++}`;n(i);let l=document.createElement("div");l.id=i,l.style.display="none",l.textContent=t,document.body.appendChild(l),r={refCount:0,element:l},Kp.set(t,r)}return r.refCount++,()=>{r&&--r.refCount===0&&(r.element.remove(),Kp.delete(t))}},[t]),{"aria-describedby":t?e:void 0}}u(So,"$ef06256079686ba0$export$f8aeda7b10753fa1");function mr(t,e,n,r){let i=Ne(n),l=n==null;(0,wp.element.useEffect)(()=>{if(l||!t.current)return;let a=t.current;return a.addEventListener(e,i,r),()=>{a.removeEventListener(e,i,r)}},[t,e,r,l,i])}u(mr,"$e9faafb641e167db$export$90fc3a17d93f704c");function g3(t,e){let n=O3(t,e,"left"),r=O3(t,e,"top"),i=e.offsetWidth,l=e.offsetHeight,a=t.scrollLeft,o=t.scrollTop,{borderTopWidth:s,borderLeftWidth:c}=getComputedStyle(t),d=t.scrollLeft+parseInt(c,10),f=t.scrollTop+parseInt(s,10),h=d+t.clientWidth,p=f+t.clientHeight;n<=a?a=n-parseInt(c,10):n+i>h&&(a+=n+i-h),r<=f?o=r-parseInt(s,10):r+l>p&&(o+=r+l-p),t.scrollLeft=a,t.scrollTop=o}u(g3,"$2f04cbc44ee30ce0$export$53a0910f038337bd");function O3(t,e,n){const r=n==="left"?"offsetLeft":"offsetTop";let i=0;for(;e.offsetParent&&(i+=e[r],e.offsetParent!==t);){if(e.offsetParent.contains(t)){i-=t[r];break}e=e.offsetParent}return i}u(O3,"$2f04cbc44ee30ce0$var$relativeOffset");function Mc(t,e){if(document.contains(t)){let a=document.scrollingElement||document.documentElement;if(window.getComputedStyle(a).overflow==="hidden"){let s=yQ(t);for(let c of s)g3(c,t)}else{var n;let{left:s,top:c}=t.getBoundingClientRect();t==null||(n=t.scrollIntoView)===null||n===void 0||n.call(t,{block:"nearest"});let{left:d,top:f}=t.getBoundingClientRect();if(Math.abs(s-d)>1||Math.abs(c-f)>1){var r,i,l;e==null||(i=e.containingElement)===null||i===void 0||(r=i.scrollIntoView)===null||r===void 0||r.call(i,{block:"center",inline:"center"}),(l=t.scrollIntoView)===null||l===void 0||l.call(t,{block:"nearest"})}}}}u(Mc,"$2f04cbc44ee30ce0$export$c826860796309d1b");function Gp(t){return t.mozInputSource===0&&t.isTrusted?!0:Tc()&&t.pointerType?t.type==="click"&&t.buttons===1:t.detail===0&&!t.pointerType}u(Gp,"$6a7db85432448f7f$export$60278871457622de");function $Q(t){return!Tc()&&t.width===0&&t.height===0||t.width===1&&t.height===1&&t.pressure===0&&t.detail===0&&t.pointerType==="mouse"}u($Q,"$6a7db85432448f7f$export$29bf1b5f2c56cf63");function b3(t,e){let n=(0,wp.element.useRef)(null);return t&&n.current&&e(t,n.current)&&(t=n.current),n.current=t,t}u(b3,"$5a387cc49350e6db$export$722debc0e56fea39");function qr(t,e,n){let r=(0,wp.element.useRef)(e),i=Ne(()=>{n&&n(r.current)});(0,wp.element.useEffect)(()=>{var l;let a=t==null||(l=t.current)===null||l===void 0?void 0:l.form;return a?.addEventListener("reset",i),()=>{a?.removeEventListener("reset",i)}},[t,i])}u(qr,"$99facab73266f662$export$5add1d006293d136");function Le(t,e,n){let[r,i]=(0,wp.element.useState)(t||e),l=(0,wp.element.useRef)(t!==void 0),a=t!==void 0;(0,wp.element.useEffect)(()=>{let c=l.current;c!==a&&console.warn(`WARN: A component changed from ${c?"controlled":"uncontrolled"} to ${a?"controlled":"uncontrolled"}.`),l.current=a},[a]);let o=a?t:r,s=(0,wp.element.useCallback)((c,...d)=>{let f=u((h,...p)=>{n&&(Object.is(o,h)||n(h,...p)),a||(o=h)},"onChangeCaller");typeof c=="function"?(console.warn("We can not support a function callback. See Github Issues for details https://github.com/adobe/react-spectrum/issues/2320"),i(u((p,...m)=>{let g=c(a?o:p,...m);return f(g,...d),a?p:g},"updateFunction"))):(a||i(c),f(c,...d))},[a,o,n]);return[o,s]}u(Le,"$458b0a5536c1a7cf$export$40bfa8c7b0832715");function We(t,e=-1/0,n=1/0){return Math.min(Math.max(t,e),n)}u(We,"$9446cca9a3875146$export$7d15b64cf5a3a4c4");function Bc(t,e){let n=t,r=e.toString(),i=r.indexOf("."),l=i>=0?r.length-i:0;if(l>0){let a=Math.pow(10,l);n=Math.round(n*a)/a}return n}u(Bc,"$9446cca9a3875146$export$e1a7b8e69ef6c52f");function Ie(t,e,n,r){e=Number(e),n=Number(n);let i=(t-(isNaN(e)?0:e))%r,l=Bc(Math.abs(i)*2>=r?t+Math.sign(i)*(r-Math.abs(i)):t-i,r);return isNaN(e)?!isNaN(n)&&l>n&&(l=Math.floor(Bc(n/r,r))*r):ln&&(l=e+Math.floor(Bc((n-e)/r,r))*r),l=Bc(l,r),l}u(Ie,"$9446cca9a3875146$export$cb6e0bb50bc19463");function Ze(t,e,n=10){const r=Math.pow(n,e);return Math.round(t*r)/r}u(Ze,"$9446cca9a3875146$export$b6268554fba451f");let Hl="default",Hp="",Vc=new WeakMap;function _p(t){if(Mi()){if(Hl==="default"){const e=Oe(t);Hp=e.documentElement.style.webkitUserSelect,e.documentElement.style.webkitUserSelect="none"}Hl="disabled"}else(t instanceof HTMLElement||t instanceof SVGElement)&&(Vc.set(t,t.style.userSelect),t.style.userSelect="none")}u(_p,"$14c0b72509d70225$export$16a4697467175487");function Co(t){if(Mi()){if(Hl!=="disabled")return;Hl="restoring",setTimeout(()=>{f3(()=>{if(Hl==="restoring"){const e=Oe(t);e.documentElement.style.webkitUserSelect==="none"&&(e.documentElement.style.webkitUserSelect=Hp||""),Hp="",Hl="default"}})},300)}else if((t instanceof HTMLElement||t instanceof SVGElement)&&t&&Vc.has(t)){let e=Vc.get(t);t.style.userSelect==="none"&&(t.style.userSelect=e),t.getAttribute("style")===""&&t.removeAttribute("style"),Vc.delete(t)}}u(Co,"$14c0b72509d70225$export$b0d6fa1ab32e3295");const Jp=wp.element.createContext({register:()=>{}});Jp.displayName="PressResponderContext";function wQ(t,e){return e.get?e.get.call(t):e.value}u(wQ,"_class_apply_descriptor_get");function y3(t,e,n){if(!e.has(t))throw new TypeError("attempted to "+n+" private field on non-instance");return e.get(t)}u(y3,"_class_extract_field_descriptor");function xQ(t,e){var n=y3(t,e,"get");return wQ(t,n)}u(xQ,"_class_private_field_get");function SQ(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")}u(SQ,"_check_private_redeclaration");function Do(t,e,n){SQ(t,e),e.set(t,n)}u(Do,"_class_private_field_init");function CQ(t,e,n){if(e.set)e.set.call(t,n);else{if(!e.writable)throw new TypeError("attempted to set read only private field");e.value=n}}u(CQ,"_class_apply_descriptor_set");function v3(t,e,n){var r=y3(t,e,"set");return CQ(t,r,n),n}u(v3,"_class_private_field_set");function DQ(t){let e=(0,wp.element.useContext)(Jp);if(e){let{register:n,...r}=e;t=te(r,t),n()}return m3(e,t.ref),t}u(DQ,"$f6c31cce2adf654f$var$usePressResponderContext");var Nc=new WeakMap;const sy=class sy{continuePropagation(){v3(this,Nc,!1)}get shouldStopPropagation(){return xQ(this,Nc)}constructor(e,n,r,i){Do(this,Nc,{writable:!0,value:void 0}),v3(this,Nc,!0);var l;let a=(l=i?.target)!==null&&l!==void 0?l:r.currentTarget;const o=a?.getBoundingClientRect();let s,c=0,d,f=null;r.clientX!=null&&r.clientY!=null&&(d=r.clientX,f=r.clientY),o&&(d!=null&&f!=null?(s=d-o.left,c=f-o.top):(s=o.width/2,c=o.height/2)),this.type=e,this.pointerType=n,this.target=r.currentTarget,this.shiftKey=r.shiftKey,this.metaKey=r.metaKey,this.ctrlKey=r.ctrlKey,this.altKey=r.altKey,this.x=s,this.y=c}};u(sy,"$f6c31cce2adf654f$var$PressEvent");let _l=sy;const $3=Symbol("linkClicked");function gr(t){let{onPress:e,onPressChange:n,onPressStart:r,onPressEnd:i,onPressUp:l,isDisabled:a,isPressed:o,preventFocusOnPress:s,shouldCancelOnPointerExit:c,allowTextSelectionOnPress:d,ref:f,...h}=DQ(t),[p,m]=(0,wp.element.useState)(!1),g=(0,wp.element.useRef)({isPressed:!1,ignoreEmulatedMouseEvents:!1,ignoreClickAfterPress:!1,didFirePressStart:!1,isTriggeringEvent:!1,activePointerId:null,target:null,isOverTarget:!1,pointerType:null}),{addGlobalListener:O,removeAllGlobalListeners:b}=Vi(),y=Ne((v,k)=>{let D=g.current;if(a||D.didFirePressStart)return!1;let S=!0;if(D.isTriggeringEvent=!0,r){let E=new _l("pressstart",k,v);r(E),S=E.shouldStopPropagation}return n&&n(!0),D.isTriggeringEvent=!1,D.didFirePressStart=!0,m(!0),S}),$=Ne((v,k,D=!0)=>{let S=g.current;if(!S.didFirePressStart)return!1;S.ignoreClickAfterPress=!0,S.didFirePressStart=!1,S.isTriggeringEvent=!0;let E=!0;if(i){let A=new _l("pressend",k,v);i(A),E=A.shouldStopPropagation}if(n&&n(!1),m(!1),e&&D&&!a){let A=new _l("press",k,v);e(A),E&&(E=A.shouldStopPropagation)}return S.isTriggeringEvent=!1,E}),C=Ne((v,k)=>{let D=g.current;if(a)return!1;if(l){D.isTriggeringEvent=!0;let S=new _l("pressup",k,v);return l(S),D.isTriggeringEvent=!1,S.shouldStopPropagation}return!0}),w=Ne(v=>{let k=g.current;k.isPressed&&k.target&&(k.isOverTarget&&k.pointerType!=null&&$(Or(k.target,v),k.pointerType,!1),k.isPressed=!1,k.isOverTarget=!1,k.activePointerId=null,k.pointerType=null,b(),d||Co(k.target))}),x=Ne(v=>{c&&w(v)}),P=(0,wp.element.useMemo)(()=>{let v=g.current,k={onKeyDown(S){if(tm(S.nativeEvent,S.currentTarget)&&S.currentTarget.contains(S.target)){var E;S3(S.target,S.key)&&S.preventDefault();let A=!0;if(!v.isPressed&&!S.repeat){v.target=S.currentTarget,v.isPressed=!0,A=y(S,"keyboard");let B=S.currentTarget,T=u(R=>{tm(R,B)&&!R.repeat&&B.contains(R.target)&&v.target&&C(Or(v.target,R),"keyboard")},"pressUp");O(Oe(S.currentTarget),"keyup",fr(T,D),!0)}A&&S.stopPropagation(),S.metaKey&&pr()&&((E=v.metaKeyEvents)===null||E===void 0||E.set(S.key,S.nativeEvent))}else S.key==="Meta"&&(v.metaKeyEvents=new Map)},onClick(S){if(!(S&&!S.currentTarget.contains(S.target))&&S&&S.button===0&&!v.isTriggeringEvent&&!Bi.isOpening){let E=!0;if(a&&S.preventDefault(),!v.ignoreClickAfterPress&&!v.ignoreEmulatedMouseEvents&&!v.isPressed&&(v.pointerType==="virtual"||Gp(S.nativeEvent))){!a&&!s&&en(S.currentTarget);let A=y(S,"virtual"),B=C(S,"virtual"),T=$(S,"virtual");E=A&&B&&T}v.ignoreEmulatedMouseEvents=!1,v.ignoreClickAfterPress=!1,E&&S.stopPropagation()}}},D=u(S=>{var E;if(v.isPressed&&v.target&&tm(S,v.target)){var A;S3(S.target,S.key)&&S.preventDefault();let T=S.target;$(Or(v.target,S),"keyboard",v.target.contains(T)),b(),S.key!=="Enter"&&em(v.target)&&v.target.contains(T)&&!S[$3]&&(S[$3]=!0,Bi(v.target,S,!1)),v.isPressed=!1,(A=v.metaKeyEvents)===null||A===void 0||A.delete(S.key)}else if(S.key==="Meta"&&(!((E=v.metaKeyEvents)===null||E===void 0)&&E.size)){var B;let T=v.metaKeyEvents;v.metaKeyEvents=void 0;for(let R of T.values())(B=v.target)===null||B===void 0||B.dispatchEvent(new KeyboardEvent("keyup",R))}},"onKeyUp");if(typeof PointerEvent<"u"){k.onPointerDown=T=>{if(T.button!==0||!T.currentTarget.contains(T.target))return;if($Q(T.nativeEvent)){v.pointerType="virtual";return}nm(T.currentTarget)&&T.preventDefault(),v.pointerType=T.pointerType;let R=!0;v.isPressed||(v.isPressed=!0,v.isOverTarget=!0,v.activePointerId=T.pointerId,v.target=T.currentTarget,!a&&!s&&en(T.currentTarget),d||_p(v.target),R=y(T,v.pointerType),O(Oe(T.currentTarget),"pointermove",S,!1),O(Oe(T.currentTarget),"pointerup",E,!1),O(Oe(T.currentTarget),"pointercancel",B,!1)),R&&T.stopPropagation()},k.onMouseDown=T=>{T.currentTarget.contains(T.target)&&T.button===0&&(nm(T.currentTarget)&&T.preventDefault(),T.stopPropagation())},k.onPointerUp=T=>{!T.currentTarget.contains(T.target)||v.pointerType==="virtual"||T.button===0&&Jl(T,T.currentTarget)&&C(T,v.pointerType||T.pointerType)};let S=u(T=>{T.pointerId===v.activePointerId&&(v.target&&Jl(T,v.target)?!v.isOverTarget&&v.pointerType!=null&&(v.isOverTarget=!0,y(Or(v.target,T),v.pointerType)):v.target&&v.isOverTarget&&v.pointerType!=null&&(v.isOverTarget=!1,$(Or(v.target,T),v.pointerType,!1),x(T)))},"onPointerMove"),E=u(T=>{T.pointerId===v.activePointerId&&v.isPressed&&T.button===0&&v.target&&(Jl(T,v.target)&&v.pointerType!=null?$(Or(v.target,T),v.pointerType):v.isOverTarget&&v.pointerType!=null&&$(Or(v.target,T),v.pointerType,!1),v.isPressed=!1,v.isOverTarget=!1,v.activePointerId=null,v.pointerType=null,b(),d||Co(v.target),"ontouchend"in v.target&&T.pointerType!=="mouse"&&O(v.target,"touchend",A,{once:!0}))},"onPointerUp"),A=u(T=>{x3(T.currentTarget)&&T.preventDefault()},"onTouchEnd"),B=u(T=>{w(T)},"onPointerCancel");k.onDragStart=T=>{T.currentTarget.contains(T.target)&&w(T)}}else{k.onMouseDown=A=>{if(A.button!==0||!A.currentTarget.contains(A.target))return;if(nm(A.currentTarget)&&A.preventDefault(),v.ignoreEmulatedMouseEvents){A.stopPropagation();return}v.isPressed=!0,v.isOverTarget=!0,v.target=A.currentTarget,v.pointerType=Gp(A.nativeEvent)?"virtual":"mouse",!a&&!s&&en(A.currentTarget),y(A,v.pointerType)&&A.stopPropagation(),O(Oe(A.currentTarget),"mouseup",S,!1)},k.onMouseEnter=A=>{if(!A.currentTarget.contains(A.target))return;let B=!0;v.isPressed&&!v.ignoreEmulatedMouseEvents&&v.pointerType!=null&&(v.isOverTarget=!0,B=y(A,v.pointerType)),B&&A.stopPropagation()},k.onMouseLeave=A=>{if(!A.currentTarget.contains(A.target))return;let B=!0;v.isPressed&&!v.ignoreEmulatedMouseEvents&&v.pointerType!=null&&(v.isOverTarget=!1,B=$(A,v.pointerType,!1),x(A)),B&&A.stopPropagation()},k.onMouseUp=A=>{A.currentTarget.contains(A.target)&&!v.ignoreEmulatedMouseEvents&&A.button===0&&C(A,v.pointerType||"mouse")};let S=u(A=>{if(A.button===0){if(v.isPressed=!1,b(),v.ignoreEmulatedMouseEvents){v.ignoreEmulatedMouseEvents=!1;return}v.target&&Jl(A,v.target)&&v.pointerType!=null?$(Or(v.target,A),v.pointerType):v.target&&v.isOverTarget&&v.pointerType!=null&&$(Or(v.target,A),v.pointerType,!1),v.isOverTarget=!1}},"onMouseUp");k.onTouchStart=A=>{if(!A.currentTarget.contains(A.target))return;let B=kQ(A.nativeEvent);if(!B)return;v.activePointerId=B.identifier,v.ignoreEmulatedMouseEvents=!0,v.isOverTarget=!0,v.isPressed=!0,v.target=A.currentTarget,v.pointerType="touch",!a&&!s&&en(A.currentTarget),d||_p(v.target),y(Ur(v.target,A),v.pointerType)&&A.stopPropagation(),O(Jt(A.currentTarget),"scroll",E,!0)},k.onTouchMove=A=>{if(!A.currentTarget.contains(A.target))return;if(!v.isPressed){A.stopPropagation();return}let B=w3(A.nativeEvent,v.activePointerId),T=!0;B&&Jl(B,A.currentTarget)?!v.isOverTarget&&v.pointerType!=null&&(v.isOverTarget=!0,T=y(Ur(v.target,A),v.pointerType)):v.isOverTarget&&v.pointerType!=null&&(v.isOverTarget=!1,T=$(Ur(v.target,A),v.pointerType,!1),x(Ur(v.target,A))),T&&A.stopPropagation()},k.onTouchEnd=A=>{if(!A.currentTarget.contains(A.target))return;if(!v.isPressed){A.stopPropagation();return}let B=w3(A.nativeEvent,v.activePointerId),T=!0;B&&Jl(B,A.currentTarget)&&v.pointerType!=null?(C(Ur(v.target,A),v.pointerType),T=$(Ur(v.target,A),v.pointerType)):v.isOverTarget&&v.pointerType!=null&&(T=$(Ur(v.target,A),v.pointerType,!1)),T&&A.stopPropagation(),v.isPressed=!1,v.activePointerId=null,v.isOverTarget=!1,v.ignoreEmulatedMouseEvents=!0,v.target&&!d&&Co(v.target),b()},k.onTouchCancel=A=>{A.currentTarget.contains(A.target)&&(A.stopPropagation(),v.isPressed&&w(Ur(v.target,A)))};let E=u(A=>{v.isPressed&&A.target.contains(v.target)&&w({currentTarget:v.target,shiftKey:!1,ctrlKey:!1,metaKey:!1,altKey:!1})},"onScroll");k.onDragStart=A=>{A.currentTarget.contains(A.target)&&w(A)}}return k},[O,a,s,b,d,w,x,$,y,C]);return(0,wp.element.useEffect)(()=>()=>{var v;d||Co((v=g.current.target)!==null&&v!==void 0?v:void 0)},[d]),{isPressed:o||p,pressProps:te(h,P)}}u(gr,"$f6c31cce2adf654f$export$45712eceda6fad21");function em(t){return t.tagName==="A"&&t.hasAttribute("href")}u(em,"$f6c31cce2adf654f$var$isHTMLAnchorLink");function tm(t,e){const{key:n,code:r}=t,i=e,l=i.getAttribute("role");return(n==="Enter"||n===" "||n==="Spacebar"||r==="Space")&&!(i instanceof Jt(i).HTMLInputElement&&!C3(i,n)||i instanceof Jt(i).HTMLTextAreaElement||i.isContentEditable)&&!((l==="link"||!l&&em(i))&&n!=="Enter")}u(tm,"$f6c31cce2adf654f$var$isValidKeyboardEvent");function kQ(t){const{targetTouches:e}=t;return e.length>0?e[0]:null}u(kQ,"$f6c31cce2adf654f$var$getTouchFromEvent");function w3(t,e){const n=t.changedTouches;for(let r=0;re.right||e.left>t.right||t.top>e.bottom||e.top>t.bottom)}u(EQ,"$f6c31cce2adf654f$var$areRectanglesOverlapping");function Jl(t,e){let n=e.getBoundingClientRect(),r=PQ(t);return EQ(n,r)}u(Jl,"$f6c31cce2adf654f$var$isOverTarget");function nm(t){return!(t instanceof HTMLElement)||!t.hasAttribute("draggable")}u(nm,"$f6c31cce2adf654f$var$shouldPreventDefaultDown");function x3(t){return t instanceof HTMLInputElement?!1:t instanceof HTMLButtonElement?t.type!=="submit"&&t.type!=="reset":!em(t)}u(x3,"$f6c31cce2adf654f$var$shouldPreventDefaultUp");function S3(t,e){return t instanceof HTMLInputElement?!C3(t,e):x3(t)}u(S3,"$f6c31cce2adf654f$var$shouldPreventDefaultKeyboard");const AQ=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function C3(t,e){return t.type==="checkbox"||t.type==="radio"?e===" ":AQ.has(t.type)}u(C3,"$f6c31cce2adf654f$var$isValidInputKey");function TQ({children:t}){let e=(0,wp.element.useMemo)(()=>({register:()=>{}}),[]);return wp.element.createElement(Jp.Provider,{value:e},t)}u(TQ,"$f1ab8c75478c6f73$export$cf75428e0b9ed1ea");const uy=class uy{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,n){this.nativeEvent=n,this.target=n.target,this.currentTarget=n.currentTarget,this.relatedTarget=n.relatedTarget,this.bubbles=n.bubbles,this.cancelable=n.cancelable,this.defaultPrevented=n.defaultPrevented,this.eventPhase=n.eventPhase,this.isTrusted=n.isTrusted,this.timeStamp=n.timeStamp,this.type=e}};u(uy,"$8a9cb279dc87e130$export$905e7fc544a71f36");let rm=uy;function D3(t){let e=(0,wp.element.useRef)({isFocused:!1,observer:null});De(()=>{const r=e.current;return()=>{r.observer&&(r.observer.disconnect(),r.observer=null)}},[]);let n=Ne(r=>{t?.(r)});return(0,wp.element.useCallback)(r=>{if(r.target instanceof HTMLButtonElement||r.target instanceof HTMLInputElement||r.target instanceof HTMLTextAreaElement||r.target instanceof HTMLSelectElement){e.current.isFocused=!0;let i=r.target,l=u(a=>{e.current.isFocused=!1,i.disabled&&n(new rm("blur",a)),e.current.observer&&(e.current.observer.disconnect(),e.current.observer=null)},"onBlurHandler");i.addEventListener("focusout",l,{once:!0}),e.current.observer=new MutationObserver(()=>{if(e.current.isFocused&&i.disabled){var a;(a=e.current.observer)===null||a===void 0||a.disconnect();let o=i===document.activeElement?null:document.activeElement;i.dispatchEvent(new FocusEvent("blur",{relatedTarget:o})),i.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:o}))}}),e.current.observer.observe(i,{attributes:!0,attributeFilter:["disabled"]})}},[n])}u(D3,"$8a9cb279dc87e130$export$715c682d09d639cc");function ko(t){let{isDisabled:e,onFocus:n,onBlur:r,onFocusChange:i}=t;const l=(0,wp.element.useCallback)(s=>{if(s.target===s.currentTarget)return r&&r(s),i&&i(!1),!0},[r,i]),a=D3(l),o=(0,wp.element.useCallback)(s=>{const c=Oe(s.target);s.target===s.currentTarget&&c.activeElement===s.target&&(n&&n(s),i&&i(!0),a(s))},[i,n,a]);return{focusProps:{onFocus:!e&&(n||i||r)?o:void 0,onBlur:!e&&(r||i)?l:void 0}}}u(ko,"$a1ea59d68270f0dd$export$f8168d8dd8fd66e6");let br=null,Po=new Set,Eo=new Map,Ni=!1,im=!1;const RQ={Tab:!0,Escape:!0};function Fc(t,e){for(let n of Po)n(t,e)}u(Fc,"$507fabe10e71c6fb$var$triggerChangeHandlers");function QQ(t){return!(t.metaKey||!pr()&&t.altKey||t.ctrlKey||t.key==="Control"||t.key==="Shift"||t.key==="Meta")}u(QQ,"$507fabe10e71c6fb$var$isValidKey");function Ic(t){Ni=!0,QQ(t)&&(br="keyboard",Fc("keyboard",t))}u(Ic,"$507fabe10e71c6fb$var$handleKeyboardEvent");function tn(t){br="pointer",(t.type==="mousedown"||t.type==="pointerdown")&&(Ni=!0,Fc("pointer",t))}u(tn,"$507fabe10e71c6fb$var$handlePointerEvent");function k3(t){Gp(t)&&(Ni=!0,br="virtual")}u(k3,"$507fabe10e71c6fb$var$handleClickEvent");function P3(t){t.target===window||t.target===document||(!Ni&&!im&&(br="virtual",Fc("virtual",t)),Ni=!1,im=!1)}u(P3,"$507fabe10e71c6fb$var$handleFocusEvent");function E3(){Ni=!1,im=!0}u(E3,"$507fabe10e71c6fb$var$handleWindowBlur");function Zc(t){if(typeof window>"u"||Eo.get(Jt(t)))return;const e=Jt(t),n=Oe(t);let r=e.HTMLElement.prototype.focus;e.HTMLElement.prototype.focus=function(){Ni=!0,r.apply(this,arguments)},n.addEventListener("keydown",Ic,!0),n.addEventListener("keyup",Ic,!0),n.addEventListener("click",k3,!0),e.addEventListener("focus",P3,!0),e.addEventListener("blur",E3,!1),typeof PointerEvent<"u"?(n.addEventListener("pointerdown",tn,!0),n.addEventListener("pointermove",tn,!0),n.addEventListener("pointerup",tn,!0)):(n.addEventListener("mousedown",tn,!0),n.addEventListener("mousemove",tn,!0),n.addEventListener("mouseup",tn,!0)),e.addEventListener("beforeunload",()=>{A3(t)},{once:!0}),Eo.set(e,{focus:r})}u(Zc,"$507fabe10e71c6fb$var$setupGlobalFocusEvents");const A3=u((t,e)=>{const n=Jt(t),r=Oe(t);e&&r.removeEventListener("DOMContentLoaded",e),Eo.has(n)&&(n.HTMLElement.prototype.focus=Eo.get(n).focus,r.removeEventListener("keydown",Ic,!0),r.removeEventListener("keyup",Ic,!0),r.removeEventListener("click",k3,!0),n.removeEventListener("focus",P3,!0),n.removeEventListener("blur",E3,!1),typeof PointerEvent<"u"?(r.removeEventListener("pointerdown",tn,!0),r.removeEventListener("pointermove",tn,!0),r.removeEventListener("pointerup",tn,!0)):(r.removeEventListener("mousedown",tn,!0),r.removeEventListener("mousemove",tn,!0),r.removeEventListener("mouseup",tn,!0)),Eo.delete(n))},"$507fabe10e71c6fb$var$tearDownWindowFocusTracking");function MQ(t){const e=Oe(t);let n;return e.readyState!=="loading"?Zc(t):(n=u(()=>{Zc(t)},"loadListener"),e.addEventListener("DOMContentLoaded",n)),()=>A3(t,n)}u(MQ,"$507fabe10e71c6fb$export$2f1888112f558a7d"),typeof document<"u"&&MQ();function zc(){return br!=="pointer"}u(zc,"$507fabe10e71c6fb$export$b9b3dfddab17db27");function Lc(){return br}u(Lc,"$507fabe10e71c6fb$export$630ff653c5ada6a9");function lm(t){br=t,Fc(t,null)}u(lm,"$507fabe10e71c6fb$export$8397ddfc504fdb9a");function BQ(){Zc();let[t,e]=(0,wp.element.useState)(br);return(0,wp.element.useEffect)(()=>{let n=u(()=>{e(br)},"handler");return Po.add(n),()=>{Po.delete(n)}},[]),kc()?null:t}u(BQ,"$507fabe10e71c6fb$export$98e20ec92f614cfe");const VQ=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function NQ(t,e,n){var r;const i=typeof window<"u"?Jt(n?.target).HTMLInputElement:HTMLInputElement,l=typeof window<"u"?Jt(n?.target).HTMLTextAreaElement:HTMLTextAreaElement,a=typeof window<"u"?Jt(n?.target).HTMLElement:HTMLElement,o=typeof window<"u"?Jt(n?.target).KeyboardEvent:KeyboardEvent;return t=t||n?.target instanceof i&&!VQ.has(n==null||(r=n.target)===null||r===void 0?void 0:r.type)||n?.target instanceof l||n?.target instanceof a&&n?.target.isContentEditable,!(t&&e==="keyboard"&&n instanceof o&&!RQ[n.key])}u(NQ,"$507fabe10e71c6fb$var$isKeyboardFocusEvent");function FQ(t,e,n){Zc(),(0,wp.element.useEffect)(()=>{let r=u((i,l)=>{NQ(!!n?.isTextInput,i,l)&&t(zc())},"handler");return Po.add(r),()=>{Po.delete(r)}},e)}u(FQ,"$507fabe10e71c6fb$export$ec71b4b83ac08ec3");function Nt(t){let{isDisabled:e,onBlurWithin:n,onFocusWithin:r,onFocusWithinChange:i}=t,l=(0,wp.element.useRef)({isFocusWithin:!1}),a=(0,wp.element.useCallback)(c=>{l.current.isFocusWithin&&!c.currentTarget.contains(c.relatedTarget)&&(l.current.isFocusWithin=!1,n&&n(c),i&&i(!1))},[n,i,l]),o=D3(a),s=(0,wp.element.useCallback)(c=>{!l.current.isFocusWithin&&document.activeElement===c.target&&(r&&r(c),i&&i(!0),l.current.isFocusWithin=!0,o(c))},[r,i,o]);return e?{focusWithinProps:{onFocus:void 0,onBlur:void 0}}:{focusWithinProps:{onFocus:s,onBlur:a}}}u(Nt,"$9ab94262bd0047c7$export$420e68273165f4ec");let Wc=!1,am=0;function om(){Wc=!0,setTimeout(()=>{Wc=!1},50)}u(om,"$6179b936705e76d3$var$setGlobalIgnoreEmulatedMouseEvents");function T3(t){t.pointerType==="touch"&&om()}u(T3,"$6179b936705e76d3$var$handleGlobalPointerEvent");function IQ(){if(!(typeof document>"u"))return typeof PointerEvent<"u"?document.addEventListener("pointerup",T3):document.addEventListener("touchend",om),am++,()=>{am--,!(am>0)&&(typeof PointerEvent<"u"?document.removeEventListener("pointerup",T3):document.removeEventListener("touchend",om))}}u(IQ,"$6179b936705e76d3$var$setupGlobalTouchEvents");function ZQ(t){let{onHoverStart:e,onHoverChange:n,onHoverEnd:r,isDisabled:i}=t,[l,a]=(0,wp.element.useState)(!1),o=(0,wp.element.useRef)({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current;(0,wp.element.useEffect)(IQ,[]);let{hoverProps:s,triggerHoverEnd:c}=(0,wp.element.useMemo)(()=>{let d=u((p,m)=>{if(o.pointerType=m,i||m==="touch"||o.isHovered||!p.currentTarget.contains(p.target))return;o.isHovered=!0;let g=p.currentTarget;o.target=g,e&&e({type:"hoverstart",target:g,pointerType:m}),n&&n(!0),a(!0)},"triggerHoverStart"),f=u((p,m)=>{if(o.pointerType="",o.target=null,m==="touch"||!o.isHovered)return;o.isHovered=!1;let g=p.currentTarget;r&&r({type:"hoverend",target:g,pointerType:m}),n&&n(!1),a(!1)},"triggerHoverEnd"),h={};return typeof PointerEvent<"u"?(h.onPointerEnter=p=>{Wc&&p.pointerType==="mouse"||d(p,p.pointerType)},h.onPointerLeave=p=>{!i&&p.currentTarget.contains(p.target)&&f(p,p.pointerType)}):(h.onTouchStart=()=>{o.ignoreEmulatedMouseEvents=!0},h.onMouseEnter=p=>{!o.ignoreEmulatedMouseEvents&&!Wc&&d(p,"mouse"),o.ignoreEmulatedMouseEvents=!1},h.onMouseLeave=p=>{!i&&p.currentTarget.contains(p.target)&&f(p,"mouse")}),{hoverProps:h,triggerHoverEnd:f}},[e,n,r,i,o]);return(0,wp.element.useEffect)(()=>{i&&c({currentTarget:o.target},o.pointerType)},[i]),{hoverProps:s,isHovered:l}}u(ZQ,"$6179b936705e76d3$export$ae780daf29e6d456");function zQ(t){let{ref:e,onInteractOutside:n,isDisabled:r,onInteractOutsideStart:i}=t,l=(0,wp.element.useRef)({isPointerDown:!1,ignoreEmulatedMouseEvents:!1}),a=Ne(s=>{n&&Xc(s,e)&&(i&&i(s),l.current.isPointerDown=!0)}),o=Ne(s=>{n&&n(s)});(0,wp.element.useEffect)(()=>{let s=l.current;if(r)return;const c=e.current,d=Oe(c);if(typeof PointerEvent<"u"){let f=u(h=>{s.isPointerDown&&Xc(h,e)&&o(h),s.isPointerDown=!1},"onPointerUp");return d.addEventListener("pointerdown",a,!0),d.addEventListener("pointerup",f,!0),()=>{d.removeEventListener("pointerdown",a,!0),d.removeEventListener("pointerup",f,!0)}}else{let f=u(p=>{s.ignoreEmulatedMouseEvents?s.ignoreEmulatedMouseEvents=!1:s.isPointerDown&&Xc(p,e)&&o(p),s.isPointerDown=!1},"onMouseUp"),h=u(p=>{s.ignoreEmulatedMouseEvents=!0,s.isPointerDown&&Xc(p,e)&&o(p),s.isPointerDown=!1},"onTouchEnd");return d.addEventListener("mousedown",a,!0),d.addEventListener("mouseup",f,!0),d.addEventListener("touchstart",a,!0),d.addEventListener("touchend",h,!0),()=>{d.removeEventListener("mousedown",a,!0),d.removeEventListener("mouseup",f,!0),d.removeEventListener("touchstart",a,!0),d.removeEventListener("touchend",h,!0)}}},[e,r,a,o])}u(zQ,"$e0b6e0b68ec7f50f$export$872b660ac5a1ff98");function Xc(t,e){if(t.button>0)return!1;if(t.target){const n=t.target.ownerDocument;if(!n||!n.documentElement.contains(t.target)||t.target.closest("[data-react-aria-top-layer]"))return!1}return e.current&&!e.current.contains(t.target)}u(Xc,"$e0b6e0b68ec7f50f$var$isValidEvent");function R3(t){if(!t)return;let e=!0;return n=>{let r={...n,preventDefault(){n.preventDefault()},isDefaultPrevented(){return n.isDefaultPrevented()},stopPropagation(){console.error("stopPropagation is now the default behavior for events in React Spectrum. You can use continuePropagation() to revert this behavior.")},continuePropagation(){e=!1}};t(r),e&&n.stopPropagation()}}u(R3,"$93925083ecbb358c$export$48d1ea6320830260");function sm(t){return{keyboardProps:t.isDisabled?{}:{onKeyDown:R3(t.onKeyDown),onKeyUp:R3(t.onKeyUp)}}}u(sm,"$46d819fcbaf35654$export$8f71654801c2f7cd");function jc(t){let{onMoveStart:e,onMove:n,onMoveEnd:r}=t,i=(0,wp.element.useRef)({didMove:!1,lastPosition:null,id:null}),{addGlobalListener:l,removeGlobalListener:a}=Vi(),o=Ne((d,f,h,p)=>{h===0&&p===0||(i.current.didMove||(i.current.didMove=!0,e?.({type:"movestart",pointerType:f,shiftKey:d.shiftKey,metaKey:d.metaKey,ctrlKey:d.ctrlKey,altKey:d.altKey})),n?.({type:"move",pointerType:f,deltaX:h,deltaY:p,shiftKey:d.shiftKey,metaKey:d.metaKey,ctrlKey:d.ctrlKey,altKey:d.altKey}))}),s=Ne((d,f)=>{Co(),i.current.didMove&&r?.({type:"moveend",pointerType:f,shiftKey:d.shiftKey,metaKey:d.metaKey,ctrlKey:d.ctrlKey,altKey:d.altKey})});return{moveProps:(0,wp.element.useMemo)(()=>{let d={},f=u(()=>{_p(),i.current.didMove=!1},"start");if(typeof PointerEvent>"u"){let p=u(b=>{if(b.button===0){var y,$,C,w;o(b,"mouse",b.pageX-((C=(y=i.current.lastPosition)===null||y===void 0?void 0:y.pageX)!==null&&C!==void 0?C:0),b.pageY-((w=($=i.current.lastPosition)===null||$===void 0?void 0:$.pageY)!==null&&w!==void 0?w:0)),i.current.lastPosition={pageX:b.pageX,pageY:b.pageY}}},"onMouseMove"),m=u(b=>{b.button===0&&(s(b,"mouse"),a(window,"mousemove",p,!1),a(window,"mouseup",m,!1))},"onMouseUp");d.onMouseDown=b=>{b.button===0&&(f(),b.stopPropagation(),b.preventDefault(),i.current.lastPosition={pageX:b.pageX,pageY:b.pageY},l(window,"mousemove",p,!1),l(window,"mouseup",m,!1))};let g=u(b=>{let y=[...b.changedTouches].findIndex(({identifier:P})=>P===i.current.id);if(y>=0){var $,C;let{pageX:P,pageY:v}=b.changedTouches[y];var w,x;o(b,"touch",P-((w=($=i.current.lastPosition)===null||$===void 0?void 0:$.pageX)!==null&&w!==void 0?w:0),v-((x=(C=i.current.lastPosition)===null||C===void 0?void 0:C.pageY)!==null&&x!==void 0?x:0)),i.current.lastPosition={pageX:P,pageY:v}}},"onTouchMove"),O=u(b=>{[...b.changedTouches].findIndex(({identifier:$})=>$===i.current.id)>=0&&(s(b,"touch"),i.current.id=null,a(window,"touchmove",g),a(window,"touchend",O),a(window,"touchcancel",O))},"onTouchEnd");d.onTouchStart=b=>{if(b.changedTouches.length===0||i.current.id!=null)return;let{pageX:y,pageY:$,identifier:C}=b.changedTouches[0];f(),b.stopPropagation(),b.preventDefault(),i.current.lastPosition={pageX:y,pageY:$},i.current.id=C,l(window,"touchmove",g,!1),l(window,"touchend",O,!1),l(window,"touchcancel",O,!1)}}else{let p=u(g=>{if(g.pointerId===i.current.id){var O,b;let C=g.pointerType||"mouse";var y,$;o(g,C,g.pageX-((y=(O=i.current.lastPosition)===null||O===void 0?void 0:O.pageX)!==null&&y!==void 0?y:0),g.pageY-(($=(b=i.current.lastPosition)===null||b===void 0?void 0:b.pageY)!==null&&$!==void 0?$:0)),i.current.lastPosition={pageX:g.pageX,pageY:g.pageY}}},"onPointerMove"),m=u(g=>{if(g.pointerId===i.current.id){let O=g.pointerType||"mouse";s(g,O),i.current.id=null,a(window,"pointermove",p,!1),a(window,"pointerup",m,!1),a(window,"pointercancel",m,!1)}},"onPointerUp");d.onPointerDown=g=>{g.button===0&&i.current.id==null&&(f(),g.stopPropagation(),g.preventDefault(),i.current.lastPosition={pageX:g.pageX,pageY:g.pageY},i.current.id=g.pointerId,l(window,"pointermove",p,!1),l(window,"pointerup",m,!1),l(window,"pointercancel",m,!1))}}let h=u((p,m,g)=>{f(),o(p,"keyboard",m,g),s(p,"keyboard")},"triggerKeyboardMove");return d.onKeyDown=p=>{switch(p.key){case"Left":case"ArrowLeft":p.preventDefault(),p.stopPropagation(),h(p,-1,0);break;case"Right":case"ArrowRight":p.preventDefault(),p.stopPropagation(),h(p,1,0);break;case"Up":case"ArrowUp":p.preventDefault(),p.stopPropagation(),h(p,0,-1);break;case"Down":case"ArrowDown":p.preventDefault(),p.stopPropagation(),h(p,0,1);break}},d},[i,l,a,o,s])}}u(jc,"$e8a7022cf87cba2a$export$36da96379f79f245");function Q3(t,e){let{onScroll:n,isDisabled:r}=t,i=(0,wp.element.useCallback)(l=>{l.ctrlKey||(l.preventDefault(),l.stopPropagation(),n&&n({deltaX:l.deltaX,deltaY:l.deltaY}))},[n]);mr(e,"wheel",r?void 0:i)}u(Q3,"$7d0a636d7a4dcefd$export$2123ff2b87c81ca");const LQ=500;function M3(t){let{isDisabled:e,onLongPressStart:n,onLongPressEnd:r,onLongPress:i,threshold:l=LQ,accessibilityDescription:a}=t;const o=(0,wp.element.useRef)(void 0);let{addGlobalListener:s,removeGlobalListener:c}=Vi(),{pressProps:d}=gr({isDisabled:e,onPressStart(h){if(h.continuePropagation(),(h.pointerType==="mouse"||h.pointerType==="touch")&&(n&&n({...h,type:"longpressstart"}),o.current=setTimeout(()=>{h.target.dispatchEvent(new PointerEvent("pointercancel",{bubbles:!0})),i&&i({...h,type:"longpress"}),o.current=void 0},l),h.pointerType==="touch")){let p=u(m=>{m.preventDefault()},"onContextMenu");s(h.target,"contextmenu",p,{once:!0}),s(window,"pointerup",()=>{setTimeout(()=>{c(h.target,"contextmenu",p)},30)},{once:!0})}},onPressEnd(h){o.current&&clearTimeout(o.current),r&&(h.pointerType==="mouse"||h.pointerType==="touch")&&r({...h,type:"longpressend"})}}),f=So(i&&!e?a:void 0);return{longPressProps:te(d,f)}}u(M3,"$8a26561d2877236e$export$c24ed0104d07eab9");function Fi(t){const e=Oe(t);if(Lc()==="virtual"){let n=e.activeElement;f3(()=>{e.activeElement===n&&t.isConnected&&en(t)})}else en(t)}u(Fi,"$6a99195332edec8b$export$80f3e147d781571c");function WQ(t){const e=Jt(t);if(!(t instanceof e.HTMLElement)&&!(t instanceof e.SVGElement))return!1;let{display:n,visibility:r}=t.style,i=n!=="none"&&r!=="hidden"&&r!=="collapse";if(i){const{getComputedStyle:l}=t.ownerDocument.defaultView;let{display:a,visibility:o}=l(t);i=a!=="none"&&o!=="hidden"&&o!=="collapse"}return i}u(WQ,"$645f2e67b85a24c9$var$isStyleVisible");function XQ(t,e){return!t.hasAttribute("hidden")&&!t.hasAttribute("data-react-aria-prevent-focus")&&(t.nodeName==="DETAILS"&&e&&e.nodeName!=="SUMMARY"?t.hasAttribute("open"):!0)}u(XQ,"$645f2e67b85a24c9$var$isAttributeVisible");function B3(t,e){return t.nodeName!=="#comment"&&WQ(t)&&XQ(t,e)&&(!t.parentElement||B3(t.parentElement,t))}u(B3,"$645f2e67b85a24c9$export$e989c0fffaa6b27a");const V3=wp.element.createContext(null),um="react-aria-focus-scope-restore";let ve=null;function qc(t){let{children:e,contain:n,restoreFocus:r,autoFocus:i}=t,l=(0,wp.element.useRef)(null),a=(0,wp.element.useRef)(null),o=(0,wp.element.useRef)([]),{parentNode:s}=(0,wp.element.useContext)(V3)||{},c=(0,wp.element.useMemo)(()=>new To({scopeRef:o}),[o]);De(()=>{let h=s||ze.root;if(ze.getTreeNode(h.scopeRef)&&ve&&!Yc(ve,h.scopeRef)){let p=ze.getTreeNode(ve);p&&(h=p)}h.addChild(c),ze.addNode(c)},[c,s]),De(()=>{let h=ze.getTreeNode(o);h&&(h.contain=!!n)},[n]),De(()=>{var h;let p=(h=l.current)===null||h===void 0?void 0:h.nextSibling,m=[],g=u(O=>O.stopPropagation(),"stopPropagation");for(;p&&p!==a.current;)m.push(p),p.addEventListener(um,g),p=p.nextSibling;return o.current=m,()=>{for(let O of m)O.removeEventListener(um,g)}},[e]),HQ(o,r,n),YQ(o,n),JQ(o,r,n),GQ(o,i),(0,wp.element.useEffect)(()=>{const h=Oe(o.current?o.current[0]:void 0).activeElement;let p=null;if(rt(h,o.current)){for(let m of ze.traverse())m.scopeRef&&rt(h,m.scopeRef.current)&&(p=m);p===ze.getTreeNode(o)&&(ve=p.scopeRef)}},[o]),De(()=>()=>{var h,p,m;let g=(m=(p=ze.getTreeNode(o))===null||p===void 0||(h=p.parent)===null||h===void 0?void 0:h.scopeRef)!==null&&m!==void 0?m:null;(o===ve||Yc(o,ve))&&(!g||ze.getTreeNode(g))&&(ve=g),ze.removeTreeNode(o)},[o]);let d=(0,wp.element.useMemo)(()=>jQ(o),[]),f=(0,wp.element.useMemo)(()=>({focusManager:d,parentNode:c}),[c,d]);return wp.element.createElement(V3.Provider,{value:f},wp.element.createElement("span",{"data-focus-scope-start":!0,hidden:!0,ref:l}),e,wp.element.createElement("span",{"data-focus-scope-end":!0,hidden:!0,ref:a}))}u(qc,"$9bf71ea28793e738$export$20e40289641fbbb6");function jQ(t){return{focusNext(e={}){let n=t.current,{from:r,tabbable:i,wrap:l,accept:a}=e,o=r||Oe(n[0]).activeElement,s=n[0].previousElementSibling,c=Ii(n),d=ht(c,{tabbable:i,accept:a},n);d.currentNode=rt(o,n)?o:s;let f=d.nextNode();return!f&&l&&(d.currentNode=s,f=d.nextNode()),f&&kt(f,!0),f},focusPrevious(e={}){let n=t.current,{from:r,tabbable:i,wrap:l,accept:a}=e,o=r||Oe(n[0]).activeElement,s=n[n.length-1].nextElementSibling,c=Ii(n),d=ht(c,{tabbable:i,accept:a},n);d.currentNode=rt(o,n)?o:s;let f=d.previousNode();return!f&&l&&(d.currentNode=s,f=d.previousNode()),f&&kt(f,!0),f},focusFirst(e={}){let n=t.current,{tabbable:r,accept:i}=e,l=Ii(n),a=ht(l,{tabbable:r,accept:i},n);a.currentNode=n[0].previousElementSibling;let o=a.nextNode();return o&&kt(o,!0),o},focusLast(e={}){let n=t.current,{tabbable:r,accept:i}=e,l=Ii(n),a=ht(l,{tabbable:r,accept:i},n);a.currentNode=n[n.length-1].nextElementSibling;let o=a.previousNode();return o&&kt(o,!0),o}}}u(jQ,"$9bf71ea28793e738$var$createFocusManagerForScope");const cm=["input:not([disabled]):not([type=hidden])","select:not([disabled])","textarea:not([disabled])","button:not([disabled])","a[href]","area[href]","summary","iframe","object","embed","audio[controls]","video[controls]","[contenteditable]"],qQ=cm.join(":not([hidden]),")+",[tabindex]:not([disabled]):not([hidden])";cm.push('[tabindex]:not([tabindex="-1"]):not([disabled])');const UQ=cm.join(':not([hidden]):not([tabindex="-1"]),');function Ii(t){return t[0].parentElement}u(Ii,"$9bf71ea28793e738$var$getScopeRoot");function Ao(t){let e=ze.getTreeNode(ve);for(;e&&e.scopeRef!==t;){if(e.contain)return!1;e=e.parent}return!0}u(Ao,"$9bf71ea28793e738$var$shouldContainFocus");function YQ(t,e){let n=(0,wp.element.useRef)(void 0),r=(0,wp.element.useRef)(void 0);De(()=>{let i=t.current;if(!e){r.current&&(cancelAnimationFrame(r.current),r.current=void 0);return}const l=Oe(i?i[0]:void 0);let a=u(c=>{if(c.key!=="Tab"||c.altKey||c.ctrlKey||c.metaKey||!Ao(t)||c.isComposing)return;let d=l.activeElement,f=t.current;if(!f||!rt(d,f))return;let h=Ii(f),p=ht(h,{tabbable:!0},f);if(!d)return;p.currentNode=d;let m=c.shiftKey?p.previousNode():p.nextNode();m||(p.currentNode=c.shiftKey?f[f.length-1].nextElementSibling:f[0].previousElementSibling,m=c.shiftKey?p.previousNode():p.nextNode()),c.preventDefault(),m&&kt(m,!0)},"onKeyDown"),o=u(c=>{(!ve||Yc(ve,t))&&rt(c.target,t.current)?(ve=t,n.current=c.target):Ao(t)&&!Uc(c.target,t)?n.current?n.current.focus():ve&&ve.current&&dm(ve.current):Ao(t)&&(n.current=c.target)},"onFocus"),s=u(c=>{r.current&&cancelAnimationFrame(r.current),r.current=requestAnimationFrame(()=>{if(l.activeElement&&Ao(t)&&!Uc(l.activeElement,t))if(ve=t,l.body.contains(c.target)){var d;n.current=c.target,(d=n.current)===null||d===void 0||d.focus()}else ve.current&&dm(ve.current)})},"onBlur");return l.addEventListener("keydown",a,!1),l.addEventListener("focusin",o,!1),i?.forEach(c=>c.addEventListener("focusin",o,!1)),i?.forEach(c=>c.addEventListener("focusout",s,!1)),()=>{l.removeEventListener("keydown",a,!1),l.removeEventListener("focusin",o,!1),i?.forEach(c=>c.removeEventListener("focusin",o,!1)),i?.forEach(c=>c.removeEventListener("focusout",s,!1))}},[t,e]),De(()=>()=>{r.current&&cancelAnimationFrame(r.current)},[r])}u(YQ,"$9bf71ea28793e738$var$useFocusContainment");function N3(t){return Uc(t)}u(N3,"$9bf71ea28793e738$var$isElementInAnyScope");function rt(t,e){return!t||!e?!1:e.some(n=>n.contains(t))}u(rt,"$9bf71ea28793e738$var$isElementInScope");function Uc(t,e=null){if(t instanceof Element&&t.closest("[data-react-aria-top-layer]"))return!0;for(let{scopeRef:n}of ze.traverse(ze.getTreeNode(e)))if(n&&rt(t,n.current))return!0;return!1}u(Uc,"$9bf71ea28793e738$var$isElementInChildScope");function KQ(t){return Uc(t,ve)}u(KQ,"$9bf71ea28793e738$export$1258395f99bf9cbf");function Yc(t,e){var n;let r=(n=ze.getTreeNode(e))===null||n===void 0?void 0:n.parent;for(;r;){if(r.scopeRef===t)return!0;r=r.parent}return!1}u(Yc,"$9bf71ea28793e738$var$isAncestorScope");function kt(t,e=!1){if(t!=null&&!e)try{Fi(t)}catch{}else if(t!=null)try{t.focus()}catch{}}u(kt,"$9bf71ea28793e738$var$focusElement");function F3(t,e=!0){let n=t[0].previousElementSibling,r=Ii(t),i=ht(r,{tabbable:e},t);i.currentNode=n;let l=i.nextNode();return e&&!l&&(r=Ii(t),i=ht(r,{tabbable:!1},t),i.currentNode=n,l=i.nextNode()),l}u(F3,"$9bf71ea28793e738$var$getFirstInScope");function dm(t,e=!0){kt(F3(t,e))}u(dm,"$9bf71ea28793e738$var$focusFirstInScope");function GQ(t,e){const n=wp.element.useRef(e);(0,wp.element.useEffect)(()=>{if(n.current){ve=t;const r=Oe(t.current?t.current[0]:void 0);!rt(r.activeElement,ve.current)&&t.current&&dm(t.current)}n.current=!1},[t])}u(GQ,"$9bf71ea28793e738$var$useAutoFocus");function HQ(t,e,n){De(()=>{if(e||n)return;let r=t.current;const i=Oe(r?r[0]:void 0);let l=u(a=>{let o=a.target;rt(o,t.current)?ve=t:N3(o)||(ve=null)},"onFocus");return i.addEventListener("focusin",l,!1),r?.forEach(a=>a.addEventListener("focusin",l,!1)),()=>{i.removeEventListener("focusin",l,!1),r?.forEach(a=>a.removeEventListener("focusin",l,!1))}},[t,e,n])}u(HQ,"$9bf71ea28793e738$var$useActiveScopeTracker");function _Q(t){let e=ze.getTreeNode(ve);for(;e&&e.scopeRef!==t;){if(e.nodeToRestore)return!1;e=e.parent}return e?.scopeRef===t}u(_Q,"$9bf71ea28793e738$var$shouldRestoreFocus");function JQ(t,e,n){const r=(0,wp.element.useRef)(typeof document<"u"?Oe(t.current?t.current[0]:void 0).activeElement:null);De(()=>{let i=t.current;const l=Oe(i?i[0]:void 0);if(!e||n)return;let a=u(()=>{(!ve||Yc(ve,t))&&rt(l.activeElement,t.current)&&(ve=t)},"onFocus");return l.addEventListener("focusin",a,!1),i?.forEach(o=>o.addEventListener("focusin",a,!1)),()=>{l.removeEventListener("focusin",a,!1),i?.forEach(o=>o.removeEventListener("focusin",a,!1))}},[t,n]),De(()=>{const i=Oe(t.current?t.current[0]:void 0);if(!e)return;let l=u(a=>{if(a.key!=="Tab"||a.altKey||a.ctrlKey||a.metaKey||!Ao(t)||a.isComposing)return;let o=i.activeElement;if(!rt(o,t.current))return;let s=ze.getTreeNode(t);if(!s)return;let c=s.nodeToRestore,d=ht(i.body,{tabbable:!0});d.currentNode=o;let f=a.shiftKey?d.previousNode():d.nextNode();if((!c||!i.body.contains(c)||c===i.body)&&(c=void 0,s.nodeToRestore=void 0),(!f||!rt(f,t.current))&&c){d.currentNode=c;do f=a.shiftKey?d.previousNode():d.nextNode();while(rt(f,t.current));a.preventDefault(),a.stopPropagation(),f?kt(f,!0):N3(c)?kt(c,!0):o.blur()}},"onKeyDown");return n||i.addEventListener("keydown",l,!0),()=>{n||i.removeEventListener("keydown",l,!0)}},[t,e,n]),De(()=>{const i=Oe(t.current?t.current[0]:void 0);if(!e)return;let l=ze.getTreeNode(t);if(l){var a;return l.nodeToRestore=(a=r.current)!==null&&a!==void 0?a:void 0,()=>{let o=ze.getTreeNode(t);if(!o)return;let s=o.nodeToRestore;if(e&&s&&(rt(i.activeElement,t.current)||i.activeElement===i.body&&_Q(t))){let c=ze.clone();requestAnimationFrame(()=>{if(i.activeElement===i.body){let d=c.getTreeNode(t);for(;d;){if(d.nodeToRestore&&d.nodeToRestore.isConnected){I3(d.nodeToRestore);return}d=d.parent}for(d=c.getTreeNode(t);d;){if(d.scopeRef&&d.scopeRef.current&&ze.getTreeNode(d.scopeRef)){let f=F3(d.scopeRef.current,!0);I3(f);return}d=d.parent}}})}}}},[t,e])}u(JQ,"$9bf71ea28793e738$var$useRestoreFocus");function I3(t){t.dispatchEvent(new CustomEvent(um,{bubbles:!0,cancelable:!0}))&&kt(t)}u(I3,"$9bf71ea28793e738$var$restoreFocusToElement");function ht(t,e,n){let r=e?.tabbable?UQ:qQ,i=Oe(t).createTreeWalker(t,NodeFilter.SHOW_ELEMENT,{acceptNode(l){var a;return!(e==null||(a=e.from)===null||a===void 0)&&a.contains(l)?NodeFilter.FILTER_REJECT:l.matches(r)&&B3(l)&&(!n||rt(l,n))&&(!e?.accept||e.accept(l))?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});return e?.from&&(i.currentNode=e.from),i}u(ht,"$9bf71ea28793e738$export$2d6ec8fc375ceafa");function Kc(t,e={}){return{focusNext(n={}){let r=t.current;if(!r)return null;let{from:i,tabbable:l=e.tabbable,wrap:a=e.wrap,accept:o=e.accept}=n,s=i||Oe(r).activeElement,c=ht(r,{tabbable:l,accept:o});r.contains(s)&&(c.currentNode=s);let d=c.nextNode();return!d&&a&&(c.currentNode=r,d=c.nextNode()),d&&kt(d,!0),d},focusPrevious(n=e){let r=t.current;if(!r)return null;let{from:i,tabbable:l=e.tabbable,wrap:a=e.wrap,accept:o=e.accept}=n,s=i||Oe(r).activeElement,c=ht(r,{tabbable:l,accept:o});if(r.contains(s))c.currentNode=s;else{let f=fm(c);return f&&kt(f,!0),f??null}let d=c.previousNode();if(!d&&a){c.currentNode=r;let f=fm(c);if(!f)return null;d=f}return d&&kt(d,!0),d??null},focusFirst(n=e){let r=t.current;if(!r)return null;let{tabbable:i=e.tabbable,accept:l=e.accept}=n,o=ht(r,{tabbable:i,accept:l}).nextNode();return o&&kt(o,!0),o},focusLast(n=e){let r=t.current;if(!r)return null;let{tabbable:i=e.tabbable,accept:l=e.accept}=n,a=ht(r,{tabbable:i,accept:l}),o=fm(a);return o&&kt(o,!0),o??null}}}u(Kc,"$9bf71ea28793e738$export$c5251b9e124bf29");function fm(t){let e,n;do n=t.lastChild(),n&&(e=n);while(n);return e}u(fm,"$9bf71ea28793e738$var$last");const _h=class _h{get size(){return this.fastMap.size}getTreeNode(e){return this.fastMap.get(e)}addTreeNode(e,n,r){let i=this.fastMap.get(n??null);if(!i)return;let l=new To({scopeRef:e});i.addChild(l),l.parent=i,this.fastMap.set(e,l),r&&(l.nodeToRestore=r)}addNode(e){this.fastMap.set(e.scopeRef,e)}removeTreeNode(e){if(e===null)return;let n=this.fastMap.get(e);if(!n)return;let r=n.parent;for(let l of this.traverse())l!==n&&n.nodeToRestore&&l.nodeToRestore&&n.scopeRef&&n.scopeRef.current&&rt(l.nodeToRestore,n.scopeRef.current)&&(l.nodeToRestore=n.nodeToRestore);let i=n.children;r&&(r.removeChild(n),i.size>0&&i.forEach(l=>r&&r.addChild(l))),this.fastMap.delete(n.scopeRef)}*traverse(e=this.root){if(e.scopeRef!=null&&(yield e),e.children.size>0)for(let n of e.children)yield*this.traverse(n)}clone(){var e;let n=new _h;var r;for(let i of this.traverse())n.addTreeNode(i.scopeRef,(r=(e=i.parent)===null||e===void 0?void 0:e.scopeRef)!==null&&r!==void 0?r:null,i.nodeToRestore);return n}constructor(){this.fastMap=new Map,this.root=new To({scopeRef:null}),this.fastMap.set(null,this.root)}};u(_h,"$9bf71ea28793e738$var$Tree");let hm=_h;const cy=class cy{addChild(e){this.children.add(e),e.parent=this}removeChild(e){this.children.delete(e),e.parent=void 0}constructor(e){this.children=new Set,this.contain=!1,this.scopeRef=e.scopeRef}};u(cy,"$9bf71ea28793e738$var$TreeNode");let To=cy,ze=new hm;function Ro(t={}){let{autoFocus:e=!1,isTextInput:n,within:r}=t,i=(0,wp.element.useRef)({isFocused:!1,isFocusVisible:e||zc()}),[l,a]=(0,wp.element.useState)(!1),[o,s]=(0,wp.element.useState)(()=>i.current.isFocused&&i.current.isFocusVisible),c=(0,wp.element.useCallback)(()=>s(i.current.isFocused&&i.current.isFocusVisible),[]),d=(0,wp.element.useCallback)(p=>{i.current.isFocused=p,a(p),c()},[c]);FQ(p=>{i.current.isFocusVisible=p,c()},[],{isTextInput:n});let{focusProps:f}=ko({isDisabled:r,onFocusChange:d}),{focusWithinProps:h}=Nt({isDisabled:!r,onFocusWithinChange:d});return{isFocused:l,isFocusVisible:o,focusProps:r?h:f}}u(Ro,"$f7dceffc5ad7768b$export$4e328f61c538687f");let eM=wp.element.createContext(null);function tM(t){let e=(0,wp.element.useContext)(eM)||{};m3(e,t);let{ref:n,...r}=e;return r}u(tM,"$e6afbd83fe6ebbd2$var$useFocusableContext");function Qo(t,e){let{focusProps:n}=ko(t),{keyboardProps:r}=sm(t),i=te(n,r),l=tM(e),a=t.isDisabled?{}:l,o=(0,wp.element.useRef)(t.autoFocus);return(0,wp.element.useEffect)(()=>{o.current&&e.current&&Fi(e.current),o.current=!1},[e]),{focusableProps:te({...i,tabIndex:t.excludeFromTabOrder&&!t.isDisabled?-1:void 0},a)}}u(Qo,"$e6afbd83fe6ebbd2$export$4c014de7c8940b4c");const nM=new Set(["Arab","Syrc","Samr","Mand","Thaa","Mend","Nkoo","Adlm","Rohg","Hebr"]),rM=new Set(["ae","ar","arc","bcc","bqi","ckb","dv","fa","glk","he","ku","mzn","nqo","pnb","ps","sd","ug","ur","yi"]);function iM(t){if(Intl.Locale){let n=new Intl.Locale(t).maximize(),r=typeof n.getTextInfo=="function"?n.getTextInfo():n.textInfo;if(r)return r.direction==="rtl";if(n.script)return nM.has(n.script)}let e=t.split("-")[0];return rM.has(e)}u(iM,"$148a7a147e38ea7f$export$702d680b21cbd764");const lM=Symbol.for("react-aria.i18n.locale");function Z3(){let t=typeof window<"u"&&window[lM]||typeof navigator<"u"&&(navigator.language||navigator.userLanguage)||"en-US";try{Intl.DateTimeFormat.supportedLocalesOf([t])}catch{t="en-US"}return{locale:t,direction:iM(t)?"rtl":"ltr"}}u(Z3,"$1e5a04cdaf7d1af8$export$f09106e7c6677ec5");let pm=Z3(),Mo=new Set;function z3(){pm=Z3();for(let t of Mo)t(pm)}u(z3,"$1e5a04cdaf7d1af8$var$updateLocale");function aM(){let t=kc(),[e,n]=(0,wp.element.useState)(pm);return(0,wp.element.useEffect)(()=>(Mo.size===0&&window.addEventListener("languagechange",z3),Mo.add(n),()=>{Mo.delete(n),Mo.size===0&&window.removeEventListener("languagechange",z3)}),[]),t?{locale:"en-US",direction:"ltr"}:e}u(aM,"$1e5a04cdaf7d1af8$export$188ec29ebc2bdc3a");const oM=wp.element.createContext(null);function Ee(){let t=aM();return(0,wp.element.useContext)(oM)||t}u(Ee,"$18f2051aff69b9bf$export$43bb16f9c6d9e3f7");const sM=Symbol.for("react-aria.i18n.locale"),uM=Symbol.for("react-aria.i18n.strings");let ea;const Jh=class Jh{getStringForLocale(e,n){let i=this.getStringsForLocale(n)[e];if(!i)throw new Error(`Could not find intl message ${e} in ${n} locale`);return i}getStringsForLocale(e){let n=this.strings[e];return n||(n=cM(e,this.strings,this.defaultLocale),this.strings[e]=n),n}static getGlobalDictionaryForPackage(e){if(typeof window>"u")return null;let n=window[sM];if(ea===void 0){let i=window[uM];if(!i)return null;ea={};for(let l in i)ea[l]=new Jh({[n]:i[l]},n)}let r=ea?.[e];if(!r)throw new Error(`Strings for package "${e}" were not included by LocalizedStringProvider. Please add it to the list passed to createLocalizedStringDictionary.`);return r}constructor(e,n="en-US"){this.strings=Object.fromEntries(Object.entries(e).filter(([,r])=>r)),this.defaultLocale=n}};u(Jh,"$5b160d28a433310d$export$c17fa47878dc55b6");let nn=Jh;function cM(t,e,n="en-US"){if(e[t])return e[t];let r=dM(t);if(e[r])return e[r];for(let i in e)if(i.startsWith(r+"-"))return e[i];return e[n]}u(cM,"$5b160d28a433310d$var$getStringsForLocale");function dM(t){return Intl.Locale?new Intl.Locale(t).language:t.split("-")[0]}u(dM,"$5b160d28a433310d$var$getLanguage");const L3=new Map,W3=new Map,dy=class dy{format(e,n){let r=this.strings.getStringForLocale(e,this.locale);return typeof r=="function"?r(n,this):r}plural(e,n,r="cardinal"){let i=n["="+e];if(i)return typeof i=="function"?i():i;let l=this.locale+":"+r,a=L3.get(l);a||(a=new Intl.PluralRules(this.locale,{type:r}),L3.set(l,a));let o=a.select(e);return i=n[o]||n.other,typeof i=="function"?i():i}number(e){let n=W3.get(this.locale);return n||(n=new Intl.NumberFormat(this.locale),W3.set(this.locale,n)),n.format(e)}select(e,n){let r=e[n]||e.other;return typeof r=="function"?r():r}constructor(e,n){this.locale=e,this.strings=n}};u(dy,"$6db58dc88e78b024$export$2f817fcdc4b89ae0");let Bo=dy;const X3=new WeakMap;function fM(t){let e=X3.get(t);return e||(e=new nn(t),X3.set(t,e)),e}u(fM,"$fca6afa0e843324b$var$getCachedDictionary");function j3(t,e){return e&&nn.getGlobalDictionaryForPackage(e)||fM(t)}u(j3,"$fca6afa0e843324b$export$87b761675e8eaa10");function Ft(t,e){let{locale:n}=Ee(),r=j3(t,e);return(0,wp.element.useMemo)(()=>new Bo(n,r),[n,r])}u(Ft,"$fca6afa0e843324b$export$f12b703ca79dfbb1");function ta(t,e){return t-e*Math.floor(t/e)}u(ta,"$2b4dce13dd5a17fa$export$842a2cf37af977e1");const q3=1721426;function Zi(t,e,n,r){e=Vo(t,e);let i=e-1,l=-2;return n<=2?l=0:Yr(e)&&(l=-1),q3-1+365*i+Math.floor(i/4)-Math.floor(i/100)+Math.floor(i/400)+Math.floor((367*n-362)/12+l+r)}u(Zi,"$3b62074eb05584b2$export$f297eb839006d339");function Yr(t){return t%4===0&&(t%100!==0||t%400===0)}u(Yr,"$3b62074eb05584b2$export$553d7fa8e3805fc0");function Vo(t,e){return t==="BC"?1-e:e}u(Vo,"$3b62074eb05584b2$export$c36e0ecb2d4fa69d");function Gc(t){let e="AD";return t<=0&&(e="BC",t=1-t),[e,t]}u(Gc,"$3b62074eb05584b2$export$4475b7e617eb123c");const hM={standard:[31,28,31,30,31,30,31,31,30,31,30,31],leapyear:[31,29,31,30,31,30,31,31,30,31,30,31]},fy=class fy{fromJulianDay(e){let n=e,r=n-q3,i=Math.floor(r/146097),l=ta(r,146097),a=Math.floor(l/36524),o=ta(l,36524),s=Math.floor(o/1461),c=ta(o,1461),d=Math.floor(c/365),f=i*400+a*100+s*4+d+(a!==4&&d!==4?1:0),[h,p]=Gc(f),m=n-Zi(h,p,1,1),g=2;n=0?t:e:t||e}u(ym,"$14e0f24ef4ac5c92$export$a75f2bff57811055");function ra(t){t=Ae(t,new it);let e=Vo(t.era,t.year);return _3(e,t.month,t.day,t.hour,t.minute,t.second,t.millisecond)}u(ra,"$11d87f3f76e88657$export$bd4fb2bc8bb06fb");function _3(t,e,n,r,i,l,a){let o=new Date;return o.setUTCHours(r,i,l,a),o.setUTCFullYear(t,e-1,n),o.getTime()}u(_3,"$11d87f3f76e88657$var$epochFromParts");function vm(t,e){if(e==="UTC")return 0;if(t>0&&e===zi())return new Date(t).getTimezoneOffset()*-6e4;let{year:n,month:r,day:i,hour:l,minute:a,second:o}=e$(t,e);return _3(n,r,i,l,a,o,0)-Math.floor(t/1e3)*1e3}u(vm,"$11d87f3f76e88657$export$59c99f3515d3493f");const J3=new Map;function e$(t,e){let n=J3.get(e);n||(n=new Intl.DateTimeFormat("en-US",{timeZone:e,hour12:!1,era:"short",year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric"}),J3.set(e,n));let r=n.formatToParts(new Date(t)),i={};for(let l of r)l.type!=="literal"&&(i[l.type]=l.value);return{year:i.era==="BC"||i.era==="B"?-i.year+1:+i.year,month:+i.month,day:+i.day,hour:i.hour==="24"?0:+i.hour,minute:+i.minute,second:+i.second}}u(e$,"$11d87f3f76e88657$var$getTimeZoneParts");const t$=864e5;function xM(t,e,n,r){return(n===r?[n]:[n,r]).filter(l=>SM(t,e,l))}u(xM,"$11d87f3f76e88657$var$getValidWallTimes");function SM(t,e,n){let r=e$(n,e);return t.year===r.year&&t.month===r.month&&t.day===r.day&&t.hour===r.hour&&t.minute===r.minute&&t.second===r.second}u(SM,"$11d87f3f76e88657$var$isValidWallTime");function yr(t,e,n="compatible"){let r=Bn(t);if(e==="UTC")return ra(r);if(e===zi()&&n==="compatible"){r=Ae(r,new it);let s=new Date,c=Vo(r.era,r.year);return s.setFullYear(c,r.month-1,r.day),s.setHours(r.hour,r.minute,r.second,r.millisecond),s.getTime()}let i=ra(r),l=vm(i-t$,e),a=vm(i+t$,e),o=xM(r,e,i-l,i-a);if(o.length===1)return o[0];if(o.length>1)switch(n){case"compatible":case"earlier":return o[0];case"later":return o[o.length-1];case"reject":throw new RangeError("Multiple possible absolute times found")}switch(n){case"earlier":return Math.min(i-l,i-a);case"compatible":case"later":return Math.max(i-l,i-a);case"reject":throw new RangeError("No such absolute time found")}}u(yr,"$11d87f3f76e88657$export$5107c82f94518f5c");function n$(t,e,n="compatible"){return new Date(yr(t,e,n))}u(n$,"$11d87f3f76e88657$export$e67a095c620b86fe");function vr(t,e){let n=vm(t,e),r=new Date(t+n),i=r.getUTCFullYear(),l=r.getUTCMonth()+1,a=r.getUTCDate(),o=r.getUTCHours(),s=r.getUTCMinutes(),c=r.getUTCSeconds(),d=r.getUTCMilliseconds();return new Jc(i,l,a,e,n,o,s,c,d)}u(vr,"$11d87f3f76e88657$export$1b96692a1ba042ac");function pt(t){return new Te(t.calendar,t.era,t.year,t.month,t.day)}u(pt,"$11d87f3f76e88657$export$93522d1a439f3617");function Bn(t,e){let n=0,r=0,i=0,l=0;if("timeZone"in t)({hour:n,minute:r,second:i,millisecond:l}=t);else if("hour"in t&&!e)return t;return e&&({hour:n,minute:r,second:i,millisecond:l}=e),new Em(t.calendar,t.era,t.year,t.month,t.day,n,r,i,l)}u(Bn,"$11d87f3f76e88657$export$b21e0b124e224484");function Ae(t,e){if(t.calendar.identifier===e.identifier)return t;let n=e.fromJulianDay(t.calendar.toJulianDay(t)),r=t.copy();return r.calendar=e,r.era=n.era,r.year=n.year,r.month=n.month,r.day=n.day,Wi(r),r}u(Ae,"$11d87f3f76e88657$export$b4a036af3fc0b032");function CM(t,e,n){if(t instanceof Jc)return t.timeZone===e?t:kM(t,e);let r=yr(t,e,n);return vr(r,e)}u(CM,"$11d87f3f76e88657$export$84c95a83c799e074");function DM(t){let e=ra(t)-t.offset;return new Date(e)}u(DM,"$11d87f3f76e88657$export$83aac07b4c37b25");function kM(t,e){let n=ra(t)-t.offset;return Ae(vr(n,e),t.calendar)}u(kM,"$11d87f3f76e88657$export$538b00033cc11c75");const Fo=36e5;function Hc(t,e){let n=t.copy(),r="hour"in n?a$(n,e):0;$m(n,e.years||0),n.calendar.balanceYearMonth&&n.calendar.balanceYearMonth(n,t),n.month+=e.months||0,wm(n),r$(n),n.day+=(e.weeks||0)*7,n.day+=e.days||0,n.day+=r,PM(n),n.calendar.balanceDate&&n.calendar.balanceDate(n),n.year<1&&(n.year=1,n.month=1,n.day=1);let i=n.calendar.getYearsInEra(n);if(n.year>i){var l,a;let s=(l=(a=n.calendar).isInverseEra)===null||l===void 0?void 0:l.call(a,n);n.year=i,n.month=s?1:n.calendar.getMonthsInYear(n),n.day=s?1:n.calendar.getDaysInMonth(n)}n.month<1&&(n.month=1,n.day=1);let o=n.calendar.getMonthsInYear(n);return n.month>o&&(n.month=o,n.day=n.calendar.getDaysInMonth(n)),n.day=Math.max(1,Math.min(n.calendar.getDaysInMonth(n),n.day)),n}u(Hc,"$735220c2d4774dd3$export$e16d8520af44a096");function $m(t,e){var n,r;!((n=(r=t.calendar).isInverseEra)===null||n===void 0)&&n.call(r,t)&&(e=-e),t.year+=e}u($m,"$735220c2d4774dd3$var$addYears");function wm(t){for(;t.month<1;)$m(t,-1),t.month+=t.calendar.getMonthsInYear(t);let e=0;for(;t.month>(e=t.calendar.getMonthsInYear(t));)t.month-=e,$m(t,1)}u(wm,"$735220c2d4774dd3$var$balanceYearMonth");function PM(t){for(;t.day<1;)t.month--,wm(t),t.day+=t.calendar.getDaysInMonth(t);for(;t.day>t.calendar.getDaysInMonth(t);)t.day-=t.calendar.getDaysInMonth(t),t.month++,wm(t)}u(PM,"$735220c2d4774dd3$var$balanceDay");function r$(t){t.month=Math.max(1,Math.min(t.calendar.getMonthsInYear(t),t.month)),t.day=Math.max(1,Math.min(t.calendar.getDaysInMonth(t),t.day))}u(r$,"$735220c2d4774dd3$var$constrainMonthDay");function Wi(t){t.calendar.constrainDate&&t.calendar.constrainDate(t),t.year=Math.max(1,Math.min(t.calendar.getYearsInEra(t),t.year)),r$(t)}u(Wi,"$735220c2d4774dd3$export$c4e2ecac49351ef2");function xm(t){let e={};for(let n in t)typeof t[n]=="number"&&(e[n]=-t[n]);return e}u(xm,"$735220c2d4774dd3$export$3e2544e88a25bff8");function i$(t,e){return Hc(t,xm(e))}u(i$,"$735220c2d4774dd3$export$4e2d2ead65e5f7e3");function Sm(t,e){let n=t.copy();return e.era!=null&&(n.era=e.era),e.year!=null&&(n.year=e.year),e.month!=null&&(n.month=e.month),e.day!=null&&(n.day=e.day),Wi(n),n}u(Sm,"$735220c2d4774dd3$export$adaa4cf7ef1b65be");function Io(t,e){let n=t.copy();return e.hour!=null&&(n.hour=e.hour),e.minute!=null&&(n.minute=e.minute),e.second!=null&&(n.second=e.second),e.millisecond!=null&&(n.millisecond=e.millisecond),l$(n),n}u(Io,"$735220c2d4774dd3$export$e5d5e1c1822b6e56");function EM(t){t.second+=Math.floor(t.millisecond/1e3),t.millisecond=_c(t.millisecond,1e3),t.minute+=Math.floor(t.second/60),t.second=_c(t.second,60),t.hour+=Math.floor(t.minute/60),t.minute=_c(t.minute,60);let e=Math.floor(t.hour/24);return t.hour=_c(t.hour,24),e}u(EM,"$735220c2d4774dd3$var$balanceTime");function l$(t){t.millisecond=Math.max(0,Math.min(t.millisecond,1e3)),t.second=Math.max(0,Math.min(t.second,59)),t.minute=Math.max(0,Math.min(t.minute,59)),t.hour=Math.max(0,Math.min(t.hour,23))}u(l$,"$735220c2d4774dd3$export$7555de1e070510cb");function _c(t,e){let n=t%e;return n<0&&(n+=e),n}u(_c,"$735220c2d4774dd3$var$nonNegativeMod");function a$(t,e){return t.hour+=e.hours||0,t.minute+=e.minutes||0,t.second+=e.seconds||0,t.millisecond+=e.milliseconds||0,EM(t)}u(a$,"$735220c2d4774dd3$var$addTimeFields");function o$(t,e){let n=t.copy();return a$(n,e),n}u(o$,"$735220c2d4774dd3$export$7ed87b6bc2506470");function AM(t,e){return o$(t,xm(e))}u(AM,"$735220c2d4774dd3$export$fe34d3a381cd7501");function Cm(t,e,n,r){let i=t.copy();switch(e){case"era":{let o=t.calendar.getEras(),s=o.indexOf(t.era);if(s<0)throw new Error("Invalid era: "+t.era);s=$r(s,n,0,o.length-1,r?.round),i.era=o[s],Wi(i);break}case"year":var l,a;!((l=(a=i.calendar).isInverseEra)===null||l===void 0)&&l.call(a,i)&&(n=-n),i.year=$r(t.year,n,-1/0,9999,r?.round),i.year===-1/0&&(i.year=1),i.calendar.balanceYearMonth&&i.calendar.balanceYearMonth(i,t);break;case"month":i.month=$r(t.month,n,1,t.calendar.getMonthsInYear(t),r?.round);break;case"day":i.day=$r(t.day,n,1,t.calendar.getDaysInMonth(t),r?.round);break;default:throw new Error("Unsupported field "+e)}return t.calendar.balanceDate&&t.calendar.balanceDate(i),Wi(i),i}u(Cm,"$735220c2d4774dd3$export$d52ced6badfb9a4c");function Dm(t,e,n,r){let i=t.copy();switch(e){case"hour":{let l=t.hour,a=0,o=23;if(r?.hourCycle===12){let s=l>=12;a=s?12:0,o=s?23:11}i.hour=$r(l,n,a,o,r?.round);break}case"minute":i.minute=$r(t.minute,n,0,59,r?.round);break;case"second":i.second=$r(t.second,n,0,59,r?.round);break;case"millisecond":i.millisecond=$r(t.millisecond,n,0,999,r?.round);break;default:throw new Error("Unsupported field "+e)}return i}u(Dm,"$735220c2d4774dd3$export$dd02b3e0007dfe28");function $r(t,e,n,r,i=!1){if(i){t+=Math.sign(e),t0?t=Math.ceil(t/l)*l:t=Math.floor(t/l)*l,t>r&&(t=n)}else t+=e,tr&&(t=n+(t-r-1));return t}u($r,"$735220c2d4774dd3$var$cycleValue");function s$(t,e){let n;if(e.years!=null&&e.years!==0||e.months!=null&&e.months!==0||e.weeks!=null&&e.weeks!==0||e.days!=null&&e.days!==0){let i=Hc(Bn(t),{years:e.years,months:e.months,weeks:e.weeks,days:e.days});n=yr(i,t.timeZone)}else n=ra(t)-t.offset;n+=e.milliseconds||0,n+=(e.seconds||0)*1e3,n+=(e.minutes||0)*6e4,n+=(e.hours||0)*36e5;let r=vr(n,t.timeZone);return Ae(r,t.calendar)}u(s$,"$735220c2d4774dd3$export$96b1d28349274637");function TM(t,e){return s$(t,xm(e))}u(TM,"$735220c2d4774dd3$export$6814caac34ca03c7");function RM(t,e,n,r){switch(e){case"hour":{let i=0,l=23;if(r?.hourCycle===12){let m=t.hour>=12;i=m?12:0,l=m?23:11}let a=Bn(t),o=Ae(Io(a,{hour:i}),new it),s=[yr(o,t.timeZone,"earlier"),yr(o,t.timeZone,"later")].filter(m=>vr(m,t.timeZone).day===o.day)[0],c=Ae(Io(a,{hour:l}),new it),d=[yr(c,t.timeZone,"earlier"),yr(c,t.timeZone,"later")].filter(m=>vr(m,t.timeZone).day===c.day).pop(),f=ra(t)-t.offset,h=Math.floor(f/Fo),p=f%Fo;return f=$r(h,n,Math.floor(s/Fo),Math.floor(d/Fo),r?.round)*Fo+p,Ae(vr(f,t.timeZone),t.calendar)}case"minute":case"second":case"millisecond":return Dm(t,e,n,r);case"era":case"year":case"month":case"day":{let i=Cm(Bn(t),e,n,r),l=yr(i,t.timeZone);return Ae(vr(l,t.timeZone),t.calendar)}default:throw new Error("Unsupported field "+e)}}u(RM,"$735220c2d4774dd3$export$9a297d111fc86b79");function QM(t,e,n){let r=Bn(t),i=Io(Sm(r,e),e);if(i.compare(r)===0)return t;let l=yr(i,t.timeZone,n);return Ae(vr(l,t.timeZone),t.calendar)}u(QM,"$735220c2d4774dd3$export$31b5430eb18be4f8");function u$(t){return`${String(t.hour).padStart(2,"0")}:${String(t.minute).padStart(2,"0")}:${String(t.second).padStart(2,"0")}${t.millisecond?String(t.millisecond/1e3).slice(1):""}`}u(u$,"$fae977aafc393c5c$export$f59dee82248f5ad4");function c$(t){let e=Ae(t,new it);return`${String(e.year).padStart(4,"0")}-${String(e.month).padStart(2,"0")}-${String(e.day).padStart(2,"0")}`}u(c$,"$fae977aafc393c5c$export$60dfd74aa96791bd");function d$(t){return`${c$(t)}T${u$(t)}`}u(d$,"$fae977aafc393c5c$export$4223de14708adc63");function MM(t){let e=Math.sign(t)<0?"-":"+";t=Math.abs(t);let n=Math.floor(t/36e5),r=t%36e5/6e4;return`${e}${String(n).padStart(2,"0")}:${String(r).padStart(2,"0")}`}u(MM,"$fae977aafc393c5c$var$offsetToString");function BM(t){return`${d$(t)}${MM(t.offset)}[${t.timeZone}]`}u(BM,"$fae977aafc393c5c$export$bf79f1ebf4b18792");function km(t){let e=typeof t[0]=="object"?t.shift():new it,n;if(typeof t[0]=="string")n=t.shift();else{let a=e.getEras();n=a[a.length-1]}let r=t.shift(),i=t.shift(),l=t.shift();return[e,n,r,i,l]}u(km,"$35ea8db9cb2ccb90$var$shiftArgs");var VM=new WeakMap;const Fu=class Fu{copy(){return this.era?new Fu(this.calendar,this.era,this.year,this.month,this.day):new Fu(this.calendar,this.year,this.month,this.day)}add(e){return Hc(this,e)}subtract(e){return i$(this,e)}set(e){return Sm(this,e)}cycle(e,n,r){return Cm(this,e,n,r)}toDate(e){return n$(this,e)}toString(){return c$(this)}compare(e){return Y3(this,e)}constructor(...e){Do(this,VM,{writable:!0,value:void 0});let[n,r,i,l,a]=km(e);this.calendar=n,this.era=r,this.year=i,this.month=l,this.day=a,Wi(this)}};u(Fu,"$35ea8db9cb2ccb90$export$99faa760c7908e4f");let Te=Fu;var NM=new WeakMap;const ep=class ep{copy(){return new ep(this.hour,this.minute,this.second,this.millisecond)}add(e){return o$(this,e)}subtract(e){return AM(this,e)}set(e){return Io(this,e)}cycle(e,n,r){return Dm(this,e,n,r)}toString(){return u$(this)}compare(e){return K3(this,e)}constructor(e=0,n=0,r=0,i=0){Do(this,NM,{writable:!0,value:void 0}),this.hour=e,this.minute=n,this.second=r,this.millisecond=i,l$(this)}};u(ep,"$35ea8db9cb2ccb90$export$680ea196effce5f");let Pm=ep;var FM=new WeakMap;const Iu=class Iu{copy(){return this.era?new Iu(this.calendar,this.era,this.year,this.month,this.day,this.hour,this.minute,this.second,this.millisecond):new Iu(this.calendar,this.year,this.month,this.day,this.hour,this.minute,this.second,this.millisecond)}add(e){return Hc(this,e)}subtract(e){return i$(this,e)}set(e){return Sm(Io(this,e),e)}cycle(e,n,r){switch(e){case"era":case"year":case"month":case"day":return Cm(this,e,n,r);default:return Dm(this,e,n,r)}}toDate(e,n){return n$(this,e,n)}toString(){return d$(this)}compare(e){let n=Y3(this,e);return n===0?K3(this,Bn(e)):n}constructor(...e){Do(this,FM,{writable:!0,value:void 0});let[n,r,i,l,a]=km(e);this.calendar=n,this.era=r,this.year=i,this.month=l,this.day=a,this.hour=e.shift()||0,this.minute=e.shift()||0,this.second=e.shift()||0,this.millisecond=e.shift()||0,Wi(this)}};u(Iu,"$35ea8db9cb2ccb90$export$ca871e8dbb80966f");let Em=Iu;var IM=new WeakMap;const Zu=class Zu{copy(){return this.era?new Zu(this.calendar,this.era,this.year,this.month,this.day,this.timeZone,this.offset,this.hour,this.minute,this.second,this.millisecond):new Zu(this.calendar,this.year,this.month,this.day,this.timeZone,this.offset,this.hour,this.minute,this.second,this.millisecond)}add(e){return s$(this,e)}subtract(e){return TM(this,e)}set(e,n){return QM(this,e,n)}cycle(e,n,r){return RM(this,e,n,r)}toDate(){return DM(this)}toString(){return BM(this)}toAbsoluteString(){return this.toDate().toISOString()}compare(e){return this.toDate().getTime()-CM(e,this.timeZone).toDate().getTime()}constructor(...e){Do(this,IM,{writable:!0,value:void 0});let[n,r,i,l,a]=km(e),o=e.shift(),s=e.shift();this.calendar=n,this.era=r,this.year=i,this.month=l,this.day=a,this.timeZone=o,this.offset=s,this.hour=e.shift()||0,this.minute=e.shift()||0,this.second=e.shift()||0,this.millisecond=e.shift()||0,Wi(this)}};u(Zu,"$35ea8db9cb2ccb90$export$d3b7288e7994edea");let Jc=Zu;const ia=[[1868,9,8],[1912,7,30],[1926,12,25],[1989,1,8],[2019,5,1]],ZM=[[1912,7,29],[1926,12,24],[1989,1,7],[2019,4,30]],ed=[1867,1911,1925,1988,2018],Gr=["meiji","taisho","showa","heisei","reiwa"];function f$(t){const e=ia.findIndex(([n,r,i])=>t.year=0){let[,i,l]=ia[n];e.month=Math.max(i,e.month),e.month===i&&(e.day=Math.max(l,e.day))}}getEras(){return Gr}getYearsInEra(e){let n=Gr.indexOf(e.era),r=ia[n],i=ia[n+1];if(i==null)return 9999-r[0]+1;let l=i[0]-r[0];return(e.month0?["minguo",e]:["before_minguo",1-e]}u(O$,"$5f31bd6f0c8940b2$var$gregorianToTaiwan");const my=class my extends it{fromJulianDay(e){let n=super.fromJulianDay(e),r=Vo(n.era,n.year),[i,l]=O$(r);return new Te(this,i,l,n.month,n.day)}toJulianDay(e){return super.toJulianDay(b$(e))}getEras(){return["before_minguo","minguo"]}balanceDate(e){let[n,r]=O$(g$(e));e.era=n,e.year=r}isInverseEra(e){return e.era==="before_minguo"}getDaysInMonth(e){return super.getDaysInMonth(b$(e))}getYearsInEra(e){return e.era==="before_minguo"?9999:9999-td}constructor(...e){super(...e),this.identifier="roc"}};u(my,"$5f31bd6f0c8940b2$export$65e01080afcb0799");let Qm=my;function b$(t){let[e,n]=Gc(g$(t));return new Te(e,n,t.month,t.day)}u(b$,"$5f31bd6f0c8940b2$var$toGregorian");const y$=1948320,v$=[0,31,62,93,124,155,186,216,246,276,306,336],gy=class gy{fromJulianDay(e){let n=e-y$,r=1+Math.floor((33*n+3)/12053),i=365*(r-1)+Math.floor((8*r+21)/33),l=n-i,a=l<216?Math.floor(l/31):Math.floor((l-6)/30),o=l-v$[a]+1;return new Te(this,r,a+1,o)}toJulianDay(e){let n=y$-1+365*(e.year-1)+Math.floor((8*e.year+21)/33);return n+=v$[e.month-1],n+=e.day,n}getMonthsInYear(){return 12}getDaysInMonth(e){return e.month<=6?31:e.month<=11||ta(25*e.year+11,33)<8?30:29}getEras(){return["AP"]}getYearsInEra(){return 9377}constructor(){this.identifier="persian"}};u(gy,"$f3ed2e4472ae7e25$export$37fccdbfd14c5939");let Mm=gy;const Bm=78,$$=80,Oy=class Oy extends it{fromJulianDay(e){let n=super.fromJulianDay(e),r=n.year-Bm,i=e-Zi(n.era,n.year,1,1),l;i<$$?(r--,l=Yr(n.year-1)?31:30,i+=l+155+90+10):(l=Yr(n.year)?31:30,i-=$$);let a,o;if(i=8&&(a+=(e.month-7)*30),a+=e.day-1,a)}getDaysInMonth(e){return e.month===1&&Yr(e.year+Bm)||e.month>=2&&e.month<=6?31:30}getYearsInEra(){return 9919}getEras(){return["saka"]}balanceDate(){}constructor(...e){super(...e),this.identifier="indian"}};u(Oy,"$82c358003bdda0a8$export$39f31c639fa15726");let Vm=Oy;const nd=1948440,w$=1948439,rn=1300,la=1600,zM=460322;function rd(t,e,n,r){return r+Math.ceil(29.5*(n-1))+(e-1)*354+Math.floor((3+11*e)/30)+t-1}u(rd,"$f2f3e0e3a817edbd$var$islamicToJulianDay");function x$(t,e,n){let r=Math.floor((30*(n-e)+10646)/10631),i=Math.min(12,Math.ceil((n-(29+rd(e,r,1,1)))/29.5)+1),l=n-rd(e,r,i,1)+1;return new Te(t,r,i,l)}u(x$,"$f2f3e0e3a817edbd$var$julianDayToIslamic");function S$(t){return(14+11*t)%30<11}u(S$,"$f2f3e0e3a817edbd$var$isLeapYear");const by=class by{fromJulianDay(e){return x$(this,nd,e)}toJulianDay(e){return rd(nd,e.year,e.month,e.day)}getDaysInMonth(e){let n=29+e.month%2;return e.month===12&&S$(e.year)&&n++,n}getMonthsInYear(){return 12}getDaysInYear(e){return S$(e.year)?355:354}getYearsInEra(){return 9665}getEras(){return["AH"]}constructor(){this.identifier="islamic-civil"}};u(by,"$f2f3e0e3a817edbd$export$2066795aadd37bfc");let Zo=by;const yy=class yy extends Zo{fromJulianDay(e){return x$(this,w$,e)}toJulianDay(e){return rd(w$,e.year,e.month,e.day)}constructor(...e){super(...e),this.identifier="islamic-tbla"}};u(yy,"$f2f3e0e3a817edbd$export$37f0887f2f9d22f7");let Nm=yy;const LM="qgpUDckO1AbqBmwDrQpVBakGkgepC9QF2gpcBS0NlQZKB1QLagutBa4ETwoXBYsGpQbVCtYCWwmdBE0KJg2VDawFtgm6AlsKKwWVCsoG6Qr0AnYJtgJWCcoKpAvSC9kF3AJtCU0FpQpSC6ULtAW2CVcFlwJLBaMGUgdlC2oFqworBZUMSg2lDcoF1gpXCasESwmlClILagt1BXYCtwhbBFUFqQW0BdoJ3QRuAjYJqgpUDbIN1QXaAlsJqwRVCkkLZAtxC7QFtQpVCiUNkg7JDtQG6QprCasEkwpJDaQNsg25CroEWworBZUKKgtVC1wFvQQ9Ah0JlQpKC1oLbQW2AjsJmwRVBqkGVAdqC2wFrQpVBSkLkgupC9QF2gpaBasKlQVJB2QHqgu1BbYCVgpNDiULUgtqC60FrgIvCZcESwalBqwG1gpdBZ0ETQoWDZUNqgW1BdoCWwmtBJUFygbkBuoK9QS2AlYJqgpUC9IL2QXqAm0JrQSVCkoLpQuyBbUJ1gSXCkcFkwZJB1ULagVrCisFiwpGDaMNygXWCtsEawJLCaUKUgtpC3UFdgG3CFsCKwVlBbQF2gntBG0BtgimClINqQ3UBdoKWwmrBFMGKQdiB6kLsgW1ClUFJQuSDckO0gbpCmsFqwRVCikNVA2qDbUJugQ7CpsETQqqCtUK2gJdCV4ELgqaDFUNsga5BroEXQotBZUKUguoC7QLuQXaAloJSgukDdEO6AZqC20FNQWVBkoNqA3UDdoGWwWdAisGFQtKC5ULqgWuCi4JjwwnBZUGqgbWCl0FnQI=";let Fm,aa;function id(t){return zM+aa[t-rn]}u(id,"$f2f3e0e3a817edbd$var$umalquraYearStart");function zo(t,e){let n=t-rn,r=1<<11-(e-1);return Fm[n]&r?30:29}u(zo,"$f2f3e0e3a817edbd$var$umalquraMonthLength");function C$(t,e){let n=id(t);for(let r=1;ri)return super.fromJulianDay(e);{let l=rn-1,a=1,o=1;for(;o>0;){l++,o=n-id(l)+1;let s=D$(l);if(o===s){a=12;break}else if(oc;)o-=c,a++,c=zo(l,a);break}}return new Te(this,l,a,n-C$(l,a)+1)}}toJulianDay(e){return e.yearla?super.toJulianDay(e):nd+C$(e.year,e.month)+(e.day-1)}getDaysInMonth(e){return e.yearla?super.getDaysInMonth(e):zo(e.year,e.month)}getDaysInYear(e){return e.yearla?super.getDaysInYear(e):D$(e.year)}constructor(){if(super(),this.identifier="islamic-umalqura",Fm||(Fm=new Uint16Array(Uint8Array.from(atob(LM),e=>e.charCodeAt(0)).buffer)),!aa){aa=new Uint32Array(la-rn+1);let e=0;for(let n=rn;n<=la;n++){aa[n-rn]=e;for(let r=1;r<=12;r++)e+=zo(n,r)}}}};u(vy,"$f2f3e0e3a817edbd$export$5baab4758c231076");let Im=vy;const k$=347997,P$=1080,E$=24*P$,WM=29,XM=12*P$+793,jM=WM*E$+XM;function Xi(t){return ta(t*7+1,19)<7}u(Xi,"$7c5f6fbf42389787$var$isLeapYear");function ld(t){let e=Math.floor((235*t-234)/19),n=12084+13753*e,r=e*29+Math.floor(n/25920);return ta(3*(r+1),7)<3&&(r+=1),r}u(ld,"$7c5f6fbf42389787$var$hebrewDelay1");function qM(t){let e=ld(t-1),n=ld(t);return ld(t+1)-n===356?2:n-e===382?1:0}u(qM,"$7c5f6fbf42389787$var$hebrewDelay2");function Lo(t){return ld(t)+qM(t)}u(Lo,"$7c5f6fbf42389787$var$startOfYear");function A$(t){return Lo(t+1)-Lo(t)}u(A$,"$7c5f6fbf42389787$var$getDaysInYear");function UM(t){let e=A$(t);switch(e>380&&(e-=30),e){case 353:return 0;case 354:return 1;case 355:return 2}}u(UM,"$7c5f6fbf42389787$var$getYearType");function ad(t,e){if(e>=6&&!Xi(t)&&e++,e===4||e===7||e===9||e===11||e===13)return 29;let n=UM(t);return e===2?n===2?30:29:e===3?n===0?29:30:e===6?Xi(t)?30:0:30}u(ad,"$7c5f6fbf42389787$var$getDaysInMonth");const $y=class $y{fromJulianDay(e){let n=e-k$,r=n*E$/jM,i=Math.floor((19*r+234)/235)+1,l=Lo(i),a=Math.floor(n-l);for(;a<1;)i--,l=Lo(i),a=Math.floor(n-l);let o=1,s=0;for(;s6?e.month--:!Xi(n.year)&&Xi(e.year)&&n.month>6&&e.month++)}constructor(){this.identifier="hebrew"}};u($y,"$7c5f6fbf42389787$export$ca405048b8fb5af");let Zm=$y;const zm=1723856,T$=1824665,Lm=5500;function od(t,e,n,r){return t+365*e+Math.floor(e/4)+30*(n-1)+r-1}u(od,"$b956b2d7a6cf451f$var$ceToJulianDay");function Wm(t,e){let n=Math.floor(4*(e-t)/1461),r=1+Math.floor((e-od(t,n,1,1))/30),i=e+1-od(t,n,r,1);return[n,r,i]}u(Wm,"$b956b2d7a6cf451f$var$julianDayToCE");function R$(t){return Math.floor(t%4/3)}u(R$,"$b956b2d7a6cf451f$var$getLeapDay");function Q$(t,e){return e%13!==0?30:R$(t)+5}u(Q$,"$b956b2d7a6cf451f$var$getDaysInMonth");const wy=class wy{fromJulianDay(e){let[n,r,i]=Wm(zm,e),l="AM";return n<=0&&(l="AA",n+=Lm),new Te(this,l,n,r,i)}toJulianDay(e){let n=e.year;return e.era==="AA"&&(n-=Lm),od(zm,n,e.month,e.day)}getDaysInMonth(e){return Q$(e.year,e.month)}getMonthsInYear(){return 13}getDaysInYear(e){return 365+R$(e.year)}getYearsInEra(e){return e.era==="AA"?9999:9991}getEras(){return["AA","AM"]}constructor(){this.identifier="ethiopic"}};u(wy,"$b956b2d7a6cf451f$export$26ba6eab5e20cd7d");let Wo=wy;const xy=class xy extends Wo{fromJulianDay(e){let[n,r,i]=Wm(zm,e);return n+=Lm,new Te(this,"AA",n,r,i)}getEras(){return["AA"]}getYearsInEra(){return 9999}constructor(...e){super(...e),this.identifier="ethioaa"}};u(xy,"$b956b2d7a6cf451f$export$d72e0c37005a4914");let Xm=xy;const Sy=class Sy extends Wo{fromJulianDay(e){let[n,r,i]=Wm(T$,e),l="CE";return n<=0&&(l="BCE",n=1-n),new Te(this,l,n,r,i)}toJulianDay(e){let n=e.year;return e.era==="BCE"&&(n=1-n),od(T$,n,e.month,e.day)}getDaysInMonth(e){let n=e.year;return e.era==="BCE"&&(n=1-n),Q$(n,e.month)}isInverseEra(e){return e.era==="BCE"}balanceDate(e){e.year<=0&&(e.era=e.era==="BCE"?"CE":"BCE",e.year=1-e.year)}getEras(){return["BCE","CE"]}getYearsInEra(e){return e.era==="BCE"?9999:9715}constructor(...e){super(...e),this.identifier="coptic"}};u(Sy,"$b956b2d7a6cf451f$export$fe6243cbe1a4b7c1");let jm=Sy;function qm(t){switch(t){case"buddhist":return new Rm;case"ethiopic":return new Wo;case"ethioaa":return new Xm;case"coptic":return new jm;case"hebrew":return new Zm;case"indian":return new Vm;case"islamic-civil":return new Zo;case"islamic-tbla":return new Nm;case"islamic-umalqura":return new Im;case"japanese":return new Tm;case"persian":return new Mm;case"roc":return new Qm;case"gregory":default:return new it}}u(qm,"$64244302c3013299$export$dd0bbc9b26defe37");let Um=new Map;const Cy=class Cy{format(e){return this.formatter.format(e)}formatToParts(e){return this.formatter.formatToParts(e)}formatRange(e,n){if(typeof this.formatter.formatRange=="function")return this.formatter.formatRange(e,n);if(n= start date");return`${this.formatter.format(e)} \u2013 ${this.formatter.format(n)}`}formatRangeToParts(e,n){if(typeof this.formatter.formatRangeToParts=="function")return this.formatter.formatRangeToParts(e,n);if(n= start date");let r=this.formatter.formatToParts(e),i=this.formatter.formatToParts(n);return[...r.map(l=>({...l,source:"startRange"})),{type:"literal",value:" \u2013 ",source:"shared"},...i.map(l=>({...l,source:"endRange"}))]}resolvedOptions(){let e=this.formatter.resolvedOptions();return GM()&&(this.resolvedHourCycle||(this.resolvedHourCycle=HM(e.locale,this.options)),e.hourCycle=this.resolvedHourCycle,e.hour12=this.resolvedHourCycle==="h11"||this.resolvedHourCycle==="h12"),e.calendar==="ethiopic-amete-alem"&&(e.calendar="ethioaa"),e}constructor(e,n={}){this.formatter=M$(e,n),this.options=n}};u(Cy,"$fb18d541ea1ad717$export$ad991b66133851cf");let Pt=Cy;const YM={true:{ja:"h11"},false:{}};function M$(t,e={}){if(typeof e.hour12=="boolean"&&KM()){e={...e};let i=YM[String(e.hour12)][t.split("-")[0]],l=e.hour12?"h12":"h23";e.hourCycle=i??l,delete e.hour12}let n=t+(e?Object.entries(e).sort((i,l)=>i[0]l.type==="hour").value,10),i=parseInt(n.formatToParts(new Date(2020,2,3,23)).find(l=>l.type==="hour").value,10);if(r===0&&i===23)return"h23";if(r===24&&i===23)return"h24";if(r===0&&i===11)return"h11";if(r===12&&i===11)return"h12";throw new Error("Unexpected hour cycle result")}u(HM,"$fb18d541ea1ad717$var$getResolvedHourCycle");function Vn(t){t=b3(t??{},_M);let{locale:e}=Ee();return(0,wp.element.useMemo)(()=>new Pt(e,t),[e,t])}u(Vn,"$896ba0a80a8f4d36$export$85fd5fdf27bacc79");function _M(t,e){if(t===e)return!0;let n=Object.keys(t),r=Object.keys(e);if(n.length!==r.length)return!1;for(let i of n)if(e[i]!==t[i])return!1;return!0}u(_M,"$896ba0a80a8f4d36$var$isEqual");let Gm=new Map,Hm=!1;try{Hm=new Intl.NumberFormat("de-DE",{signDisplay:"exceptZero"}).resolvedOptions().signDisplay==="exceptZero"}catch{}let sd=!1;try{sd=new Intl.NumberFormat("de-DE",{style:"unit",unit:"degree"}).resolvedOptions().style==="unit"}catch{}const B$={degree:{narrow:{default:"\xB0","ja-JP":" \u5EA6","zh-TW":"\u5EA6","sl-SI":" \xB0"}}},Dy=class Dy{format(e){let n="";if(!Hm&&this.options.signDisplay!=null?n=eB(this.numberFormatter,this.options.signDisplay,e):n=this.numberFormatter.format(e),this.options.style==="unit"&&!sd){var r;let{unit:i,unitDisplay:l="short",locale:a}=this.resolvedOptions();if(!i)return n;let o=(r=B$[i])===null||r===void 0?void 0:r[l];n+=o[a]||o.default}return n}formatToParts(e){return this.numberFormatter.formatToParts(e)}formatRange(e,n){if(typeof this.numberFormatter.formatRange=="function")return this.numberFormatter.formatRange(e,n);if(n= start date");return`${this.format(e)} \u2013 ${this.format(n)}`}formatRangeToParts(e,n){if(typeof this.numberFormatter.formatRangeToParts=="function")return this.numberFormatter.formatRangeToParts(e,n);if(n= start date");let r=this.numberFormatter.formatToParts(e),i=this.numberFormatter.formatToParts(n);return[...r.map(l=>({...l,source:"startRange"})),{type:"literal",value:" \u2013 ",source:"shared"},...i.map(l=>({...l,source:"endRange"}))]}resolvedOptions(){let e=this.numberFormatter.resolvedOptions();return!Hm&&this.options.signDisplay!=null&&(e={...e,signDisplay:this.options.signDisplay}),!sd&&this.options.style==="unit"&&(e={...e,style:"unit",unit:this.options.unit,unitDisplay:this.options.unitDisplay}),e}constructor(e,n={}){this.numberFormatter=JM(e,n),this.options=n}};u(Dy,"$488c6ddbf4ef74c2$export$cc77c4ff7e8673c5");let Nn=Dy;function JM(t,e={}){let{numberingSystem:n}=e;if(n&&t.includes("-nu-")&&(t.includes("-u-")||(t+="-u-"),t+=`-nu-${n}`),e.style==="unit"&&!sd){var r;let{unit:a,unitDisplay:o="short"}=e;if(!a)throw new Error('unit option must be provided with style: "unit"');if(!(!((r=B$[a])===null||r===void 0)&&r[o]))throw new Error(`Unsupported unit ${a} with unitDisplay = ${o}`);e={...e,style:"decimal"}}let i=t+(e?Object.entries(e).sort((a,o)=>a[0]0||Object.is(n,0):e==="exceptZero"&&(Object.is(n,-0)||Object.is(n,0)?n=Math.abs(n):r=n>0),r){let i=t.format(-n),l=t.format(n),a=i.replace(l,"").replace(/\u200e|\u061C/,"");return[...a].length!==1&&console.warn("@react-aria/i18n polyfill for NumberFormat signDisplay: Unsupported case"),i.replace(l,"!!!").replace(a,"+").replace("!!!",l)}else return t.format(n)}}u(eB,"$488c6ddbf4ef74c2$export$711b50b3c525e0f2");const tB=new RegExp("^.*\\(.*\\).*$"),nB=["latn","arab","hanidec"],ky=class ky{parse(e){return _m(this.locale,this.options,e).parse(e)}isValidPartialNumber(e,n,r){return _m(this.locale,this.options,e).isValidPartialNumber(e,n,r)}getNumberingSystem(e){return _m(this.locale,this.options,e).options.numberingSystem}constructor(e,n={}){this.locale=e,this.options=n}};u(ky,"$6c7bd7858deea686$export$cd11ab140839f11d");let Xo=ky;const V$=new Map;function _m(t,e,n){let r=N$(t,e);if(!t.includes("-nu-")&&!r.isValidPartialNumber(n)){for(let i of nB)if(i!==r.options.numberingSystem){let l=N$(t+(t.includes("-u-")?"-nu-":"-u-nu-")+i,e);if(l.isValidPartialNumber(n))return l}}return r}u(_m,"$6c7bd7858deea686$var$getNumberParserImpl");function N$(t,e){let n=t+(e?Object.entries(e).sort((i,l)=>i[0]-1&&(n=`-${n}`)}let r=n?+n:NaN;if(isNaN(r))return NaN;if(this.options.style==="percent"){var i,l;let a={...this.options,style:"decimal",minimumFractionDigits:Math.min(((i=this.options.minimumFractionDigits)!==null&&i!==void 0?i:0)+2,20),maximumFractionDigits:Math.min(((l=this.options.maximumFractionDigits)!==null&&l!==void 0?l:0)+2,20)};return new Xo(this.locale,a).parse(new Nn(this.locale,a).format(r))}return this.options.currencySign==="accounting"&&tB.test(e)&&(r=-1*r),r}sanitize(e){return e=e.replace(this.symbols.literals,""),this.symbols.minusSign&&(e=e.replace("-",this.symbols.minusSign)),this.options.numberingSystem==="arab"&&(this.symbols.decimal&&(e=e.replace(",",this.symbols.decimal),e=e.replace("\u060C",this.symbols.decimal)),this.symbols.group&&(e=ud(e,".",this.symbols.group))),this.options.locale==="fr-FR"&&(e=ud(e,".","\u202F")),e}isValidPartialNumber(e,n=-1/0,r=1/0){return e=this.sanitize(e),this.symbols.minusSign&&e.startsWith(this.symbols.minusSign)&&n<0?e=e.slice(this.symbols.minusSign.length):this.symbols.plusSign&&e.startsWith(this.symbols.plusSign)&&r>0&&(e=e.slice(this.symbols.plusSign.length)),this.symbols.group&&e.startsWith(this.symbols.group)||this.symbols.decimal&&e.indexOf(this.symbols.decimal)>-1&&this.options.maximumFractionDigits===0?!1:(this.symbols.group&&(e=ud(e,this.symbols.group,"")),e=e.replace(this.symbols.numeral,""),this.symbols.decimal&&(e=e.replace(this.symbols.decimal,"")),e.length===0)}constructor(e,n={}){this.locale=e,this.formatter=new Intl.NumberFormat(e,n),this.options=this.formatter.resolvedOptions(),this.symbols=iB(e,this.formatter,this.options,n);var r,i;this.options.style==="percent"&&(((r=this.options.minimumFractionDigits)!==null&&r!==void 0?r:0)>18||((i=this.options.maximumFractionDigits)!==null&&i!==void 0?i:0)>18)&&console.warn("NumberParser cannot handle percentages with greater than 18 decimal places, please reduce the number in your options.")}};u(Py,"$6c7bd7858deea686$var$NumberParserImpl");let Jm=Py;const F$=new Set(["decimal","fraction","integer","minusSign","plusSign","group"]),rB=[0,4,2,1,11,20,3,7,100,21,.1,1.1];function iB(t,e,n,r){var i,l,a,o;let s=new Intl.NumberFormat(t,{...n,minimumSignificantDigits:1,maximumSignificantDigits:21}),c=s.formatToParts(-10000.111),d=s.formatToParts(10000.111),f=rB.map(D=>s.formatToParts(D));var h;let p=(h=(i=c.find(D=>D.type==="minusSign"))===null||i===void 0?void 0:i.value)!==null&&h!==void 0?h:"-",m=(l=d.find(D=>D.type==="plusSign"))===null||l===void 0?void 0:l.value;!m&&(r?.signDisplay==="exceptZero"||r?.signDisplay==="always")&&(m="+");let O=(a=new Intl.NumberFormat(t,{...n,minimumFractionDigits:2,maximumFractionDigits:2}).formatToParts(.001).find(D=>D.type==="decimal"))===null||a===void 0?void 0:a.value,b=(o=c.find(D=>D.type==="group"))===null||o===void 0?void 0:o.value,y=c.filter(D=>!F$.has(D.type)).map(D=>I$(D.value)),$=f.flatMap(D=>D.filter(S=>!F$.has(S.type)).map(S=>I$(S.value))),C=[...new Set([...y,...$])].sort((D,S)=>S.length-D.length),w=C.length===0?new RegExp("[\\p{White_Space}]","gu"):new RegExp(`${C.join("|")}|[\\p{White_Space}]`,"gu"),x=[...new Intl.NumberFormat(n.locale,{useGrouping:!1}).format(9876543210)].reverse(),P=new Map(x.map((D,S)=>[D,S])),v=new RegExp(`[${x.join("")}]`,"g");return{minusSign:p,plusSign:m,decimal:O,group:b,literals:w,numeral:v,index:u(D=>String(P.get(D)),"index")}}u(iB,"$6c7bd7858deea686$var$getSymbols");function ud(t,e,n){return t.replaceAll?t.replaceAll(e,n):t.split(e).join(n)}u(ud,"$6c7bd7858deea686$var$replaceAll");function I$(t){return t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}u(I$,"$6c7bd7858deea686$var$escapeRegex");function Z$(t={}){let{locale:e}=Ee();return(0,wp.element.useMemo)(()=>new Nn(e,t),[e,t])}u(Z$,"$a916eb452884faea$export$b7a616150fdb9f44");let eg=new Map;function tg(t){let{locale:e}=Ee(),n=e+(t?Object.entries(t).sort((i,l)=>i[0]a.length===0?!0:(l=l.normalize("NFC"),a=a.normalize("NFC"),e.compare(l.slice(0,a.length),a)===0),[e]),r=(0,wp.element.useCallback)((l,a)=>a.length===0?!0:(l=l.normalize("NFC"),a=a.normalize("NFC"),e.compare(l.slice(-a.length),a)===0),[e]),i=(0,wp.element.useCallback)((l,a)=>{if(a.length===0)return!0;l=l.normalize("NFC"),a=a.normalize("NFC");let o=0,s=a.length;for(;o+s<=l.length;o++){let c=l.slice(o,o+s);if(e.compare(a,c)===0)return!0}return!1},[e]);return(0,wp.element.useMemo)(()=>({startsWith:n,endsWith:r,contains:i}),[n,r,i])}u(z$,"$bb77f239b46e8c72$export$3274cf84b703fff");function lB(t,e){let{elementType:n="button",isDisabled:r,onPress:i,onPressStart:l,onPressEnd:a,onPressUp:o,onPressChange:s,preventFocusOnPress:c,allowFocusWhenDisabled:d,onClick:f,href:h,target:p,rel:m,type:g="button"}=t,O;n==="button"?O={type:g,disabled:r}:O={role:"button",tabIndex:r?void 0:0,href:n==="a"&&r?void 0:h,target:n==="a"?p:void 0,type:n==="input"?g:void 0,disabled:n==="input"?r:void 0,"aria-disabled":!r||n==="input"?void 0:r,rel:n==="a"?m:void 0};let{pressProps:b,isPressed:y}=gr({onPressStart:l,onPressEnd:a,onPressChange:s,onPress:i,onPressUp:o,isDisabled:r,preventFocusOnPress:c,ref:e}),{focusableProps:$}=Qo(t,e);d&&($.tabIndex=r?-1:$.tabIndex);let C=te($,b,ft(t,{labelable:!0}));return{isPressed:y,buttonProps:te(O,C,{"aria-haspopup":t["aria-haspopup"],"aria-expanded":t["aria-expanded"],"aria-controls":t["aria-controls"],"aria-pressed":t["aria-pressed"],onClick:w=>{f&&(f(w),console.warn("onClick is deprecated, please use onPress"))}})}}u(lB,"$701a24aa0da5b062$export$ea18c227d4417cc3");var L$={};L$={dateRange:t=>`${t.startDate} \u0625\u0644\u0649 ${t.endDate}`,dateSelected:t=>`${t.date} \u0627\u0644\u0645\u062D\u062F\u062F`,finishRangeSelectionPrompt:"\u0627\u0646\u0642\u0631 \u0644\u0625\u0646\u0647\u0627\u0621 \u0639\u0645\u0644\u064A\u0629 \u062A\u062D\u062F\u064A\u062F \u0646\u0637\u0627\u0642 \u0627\u0644\u062A\u0627\u0631\u064A\u062E",maximumDate:"\u0622\u062E\u0631 \u062A\u0627\u0631\u064A\u062E \u0645\u062A\u0627\u062D",minimumDate:"\u0623\u0648\u0644 \u062A\u0627\u0631\u064A\u062E \u0645\u062A\u0627\u062D",next:"\u0627\u0644\u062A\u0627\u0644\u064A",previous:"\u0627\u0644\u0633\u0627\u0628\u0642",selectedDateDescription:t=>`\u062A\u0627\u0631\u064A\u062E \u0645\u062D\u062F\u062F: ${t.date}`,selectedRangeDescription:t=>`\u0627\u0644\u0645\u062F\u0649 \u0627\u0644\u0632\u0645\u0646\u064A \u0627\u0644\u0645\u062D\u062F\u062F: ${t.dateRange}`,startRangeSelectionPrompt:"\u0627\u0646\u0642\u0631 \u0644\u0628\u062F\u0621 \u0639\u0645\u0644\u064A\u0629 \u062A\u062D\u062F\u064A\u062F \u0646\u0637\u0627\u0642 \u0627\u0644\u062A\u0627\u0631\u064A\u062E",todayDate:t=>`\u0627\u0644\u064A\u0648\u0645\u060C ${t.date}`,todayDateSelected:t=>`\u0627\u0644\u064A\u0648\u0645\u060C ${t.date} \u0645\u062D\u062F\u062F`};var W$={};W$={dateRange:t=>`${t.startDate} \u0434\u043E ${t.endDate}`,dateSelected:t=>`\u0418\u0437\u0431\u0440\u0430\u043D\u043E \u0435 ${t.date}`,finishRangeSelectionPrompt:"\u041D\u0430\u0442\u0438\u0441\u043D\u0435\u0442\u0435, \u0437\u0430 \u0434\u0430 \u0434\u043E\u0432\u044A\u0440\u0448\u0438\u0442\u0435 \u0438\u0437\u0431\u043E\u0440\u0430 \u043D\u0430 \u0432\u0440\u0435\u043C\u0435\u0432\u0438 \u0438\u043D\u0442\u0435\u0440\u0432\u0430\u043B",maximumDate:"\u041F\u043E\u0441\u043B\u0435\u0434\u043D\u0430 \u043D\u0430\u043B\u0438\u0447\u043D\u0430 \u0434\u0430\u0442\u0430",minimumDate:"\u041F\u044A\u0440\u0432\u0430 \u043D\u0430\u043B\u0438\u0447\u043D\u0430 \u0434\u0430\u0442\u0430",next:"\u041D\u0430\u043F\u0440\u0435\u0434",previous:"\u041D\u0430\u0437\u0430\u0434",selectedDateDescription:t=>`\u0418\u0437\u0431\u0440\u0430\u043D\u0430 \u0434\u0430\u0442\u0430: ${t.date}`,selectedRangeDescription:t=>`\u0418\u0437\u0431\u0440\u0430\u043D \u0434\u0438\u0430\u043F\u0430\u0437\u043E\u043D: ${t.dateRange}`,startRangeSelectionPrompt:"\u041D\u0430\u0442\u0438\u0441\u043D\u0435\u0442\u0435, \u0437\u0430 \u0434\u0430 \u043F\u0440\u0438\u0441\u0442\u044A\u043F\u0438\u0442\u0435 \u043A\u044A\u043C \u0438\u0437\u0431\u043E\u0440\u0430 \u043D\u0430 \u0432\u0440\u0435\u043C\u0435\u0432\u0438 \u0438\u043D\u0442\u0435\u0440\u0432\u0430\u043B",todayDate:t=>`\u0414\u043D\u0435\u0441, ${t.date}`,todayDateSelected:t=>`\u0414\u043D\u0435\u0441, ${t.date} \u0441\u0430 \u0438\u0437\u0431\u0440\u0430\u043D\u0438`};var X$={};X$={dateRange:t=>`${t.startDate} a\u017E ${t.endDate}`,dateSelected:t=>`Vybr\xE1no ${t.date}`,finishRangeSelectionPrompt:"Kliknut\xEDm dokon\u010D\xEDte v\xFDb\u011Br rozsahu dat",maximumDate:"Posledn\xED dostupn\xE9 datum",minimumDate:"Prvn\xED dostupn\xE9 datum",next:"Dal\u0161\xED",previous:"P\u0159edchoz\xED",selectedDateDescription:t=>`Vybran\xE9 datum: ${t.date}`,selectedRangeDescription:t=>`Vybran\xE9 obdob\xED: ${t.dateRange}`,startRangeSelectionPrompt:"Kliknut\xEDm zah\xE1j\xEDte v\xFDb\u011Br rozsahu dat",todayDate:t=>`Dnes, ${t.date}`,todayDateSelected:t=>`Dnes, vybr\xE1no ${t.date}`};var j$={};j$={dateRange:t=>`${t.startDate} til ${t.endDate}`,dateSelected:t=>`${t.date} valgt`,finishRangeSelectionPrompt:"Klik for at fuldf\xF8re valg af datoomr\xE5de",maximumDate:"Sidste ledige dato",minimumDate:"F\xF8rste ledige dato",next:"N\xE6ste",previous:"Forrige",selectedDateDescription:t=>`Valgt dato: ${t.date}`,selectedRangeDescription:t=>`Valgt interval: ${t.dateRange}`,startRangeSelectionPrompt:"Klik for at starte valg af datoomr\xE5de",todayDate:t=>`I dag, ${t.date}`,todayDateSelected:t=>`I dag, ${t.date} valgt`};var q$={};q$={dateRange:t=>`${t.startDate} bis ${t.endDate}`,dateSelected:t=>`${t.date} ausgew\xE4hlt`,finishRangeSelectionPrompt:"Klicken, um die Auswahl des Datumsbereichs zu beenden",maximumDate:"Letztes verf\xFCgbares Datum",minimumDate:"Erstes verf\xFCgbares Datum",next:"Weiter",previous:"Zur\xFCck",selectedDateDescription:t=>`Ausgew\xE4hltes Datum: ${t.date}`,selectedRangeDescription:t=>`Ausgew\xE4hlter Bereich: ${t.dateRange}`,startRangeSelectionPrompt:"Klicken, um die Auswahl des Datumsbereichs zu beginnen",todayDate:t=>`Heute, ${t.date}`,todayDateSelected:t=>`Heute, ${t.date} ausgew\xE4hlt`};var U$={};U$={dateRange:t=>`${t.startDate} \u03AD\u03C9\u03C2 ${t.endDate}`,dateSelected:t=>`\u0395\u03C0\u03B9\u03BB\u03AD\u03C7\u03B8\u03B7\u03BA\u03B5 ${t.date}`,finishRangeSelectionPrompt:"\u039A\u03AC\u03BD\u03C4\u03B5 \u03BA\u03BB\u03B9\u03BA \u03B3\u03B9\u03B1 \u03BD\u03B1 \u03BF\u03BB\u03BF\u03BA\u03BB\u03B7\u03C1\u03CE\u03C3\u03B5\u03C4\u03B5 \u03C4\u03B7\u03BD \u03B5\u03C0\u03B9\u03BB\u03BF\u03B3\u03AE \u03B5\u03CD\u03C1\u03BF\u03C5\u03C2 \u03B7\u03BC\u03B5\u03C1\u03BF\u03BC\u03B7\u03BD\u03B9\u03CE\u03BD",maximumDate:"\u03A4\u03B5\u03BB\u03B5\u03C5\u03C4\u03B1\u03AF\u03B1 \u03B4\u03B9\u03B1\u03B8\u03AD\u03C3\u03B9\u03BC\u03B7 \u03B7\u03BC\u03B5\u03C1\u03BF\u03BC\u03B7\u03BD\u03AF\u03B1",minimumDate:"\u03A0\u03C1\u03CE\u03C4\u03B7 \u03B4\u03B9\u03B1\u03B8\u03AD\u03C3\u03B9\u03BC\u03B7 \u03B7\u03BC\u03B5\u03C1\u03BF\u03BC\u03B7\u03BD\u03AF\u03B1",next:"\u0395\u03C0\u03CC\u03BC\u03B5\u03BD\u03BF",previous:"\u03A0\u03C1\u03BF\u03B7\u03B3\u03BF\u03CD\u03BC\u03B5\u03BD\u03BF",selectedDateDescription:t=>`\u0395\u03C0\u03B9\u03BB\u03B5\u03B3\u03BC\u03AD\u03BD\u03B7 \u03B7\u03BC\u03B5\u03C1\u03BF\u03BC\u03B7\u03BD\u03AF\u03B1: ${t.date}`,selectedRangeDescription:t=>`\u0395\u03C0\u03B9\u03BB\u03B5\u03B3\u03BC\u03AD\u03BD\u03BF \u03B5\u03CD\u03C1\u03BF\u03C2: ${t.dateRange}`,startRangeSelectionPrompt:"\u039A\u03AC\u03BD\u03C4\u03B5 \u03BA\u03BB\u03B9\u03BA \u03B3\u03B9\u03B1 \u03BD\u03B1 \u03BE\u03B5\u03BA\u03B9\u03BD\u03AE\u03C3\u03B5\u03C4\u03B5 \u03C4\u03B7\u03BD \u03B5\u03C0\u03B9\u03BB\u03BF\u03B3\u03AE \u03B5\u03CD\u03C1\u03BF\u03C5\u03C2 \u03B7\u03BC\u03B5\u03C1\u03BF\u03BC\u03B7\u03BD\u03B9\u03CE\u03BD",todayDate:t=>`\u03A3\u03AE\u03BC\u03B5\u03C1\u03B1, ${t.date}`,todayDateSelected:t=>`\u03A3\u03AE\u03BC\u03B5\u03C1\u03B1, \u03B5\u03C0\u03B9\u03BB\u03AD\u03C7\u03C4\u03B7\u03BA\u03B5 ${t.date}`};var Y$={};Y$={previous:"Previous",next:"Next",selectedDateDescription:t=>`Selected Date: ${t.date}`,selectedRangeDescription:t=>`Selected Range: ${t.dateRange}`,todayDate:t=>`Today, ${t.date}`,todayDateSelected:t=>`Today, ${t.date} selected`,dateSelected:t=>`${t.date} selected`,startRangeSelectionPrompt:"Click to start selecting date range",finishRangeSelectionPrompt:"Click to finish selecting date range",minimumDate:"First available date",maximumDate:"Last available date",dateRange:t=>`${t.startDate} to ${t.endDate}`};var K$={};K$={dateRange:t=>`${t.startDate} a ${t.endDate}`,dateSelected:t=>`${t.date} seleccionado`,finishRangeSelectionPrompt:"Haga clic para terminar de seleccionar rango de fechas",maximumDate:"\xDAltima fecha disponible",minimumDate:"Primera fecha disponible",next:"Siguiente",previous:"Anterior",selectedDateDescription:t=>`Fecha seleccionada: ${t.date}`,selectedRangeDescription:t=>`Intervalo seleccionado: ${t.dateRange}`,startRangeSelectionPrompt:"Haga clic para comenzar a seleccionar un rango de fechas",todayDate:t=>`Hoy, ${t.date}`,todayDateSelected:t=>`Hoy, ${t.date} seleccionado`};var G$={};G$={dateRange:t=>`${t.startDate} kuni ${t.endDate}`,dateSelected:t=>`${t.date} valitud`,finishRangeSelectionPrompt:"Kl\xF5psake kuup\xE4evavahemiku valimise l\xF5petamiseks",maximumDate:"Viimane saadaolev kuup\xE4ev",minimumDate:"Esimene saadaolev kuup\xE4ev",next:"J\xE4rgmine",previous:"Eelmine",selectedDateDescription:t=>`Valitud kuup\xE4ev: ${t.date}`,selectedRangeDescription:t=>`Valitud vahemik: ${t.dateRange}`,startRangeSelectionPrompt:"Kl\xF5psake kuup\xE4evavahemiku valimiseks",todayDate:t=>`T\xE4na, ${t.date}`,todayDateSelected:t=>`T\xE4na, ${t.date} valitud`};var H$={};H$={dateRange:t=>`${t.startDate} \u2013 ${t.endDate}`,dateSelected:t=>`${t.date} valittu`,finishRangeSelectionPrompt:"Lopeta p\xE4iv\xE4m\xE4\xE4r\xE4alueen valinta napsauttamalla t\xE4t\xE4.",maximumDate:"Viimeinen varattavissa oleva p\xE4iv\xE4m\xE4\xE4r\xE4",minimumDate:"Ensimm\xE4inen varattavissa oleva p\xE4iv\xE4m\xE4\xE4r\xE4",next:"Seuraava",previous:"Edellinen",selectedDateDescription:t=>`Valittu p\xE4iv\xE4m\xE4\xE4r\xE4: ${t.date}`,selectedRangeDescription:t=>`Valittu aikav\xE4li: ${t.dateRange}`,startRangeSelectionPrompt:"Aloita p\xE4iv\xE4m\xE4\xE4r\xE4alueen valinta napsauttamalla t\xE4t\xE4.",todayDate:t=>`T\xE4n\xE4\xE4n, ${t.date}`,todayDateSelected:t=>`T\xE4n\xE4\xE4n, ${t.date} valittu`};var _$={};_$={dateRange:t=>`${t.startDate} \xE0 ${t.endDate}`,dateSelected:t=>`${t.date} s\xE9lectionn\xE9`,finishRangeSelectionPrompt:"Cliquer pour finir de s\xE9lectionner la plage de dates",maximumDate:"Derni\xE8re date disponible",minimumDate:"Premi\xE8re date disponible",next:"Suivant",previous:"Pr\xE9c\xE9dent",selectedDateDescription:t=>`Date s\xE9lectionn\xE9e\xA0: ${t.date}`,selectedRangeDescription:t=>`Plage s\xE9lectionn\xE9e\xA0: ${t.dateRange}`,startRangeSelectionPrompt:"Cliquer pour commencer \xE0 s\xE9lectionner la plage de dates",todayDate:t=>`Aujourd'hui, ${t.date}`,todayDateSelected:t=>`Aujourd\u2019hui, ${t.date} s\xE9lectionn\xE9`};var J$={};J$={dateRange:t=>`${t.startDate} \u05E2\u05D3 ${t.endDate}`,dateSelected:t=>`${t.date} \u05E0\u05D1\u05D7\u05E8`,finishRangeSelectionPrompt:"\u05D7\u05E5 \u05DB\u05D3\u05D9 \u05DC\u05E1\u05D9\u05D9\u05DD \u05D0\u05EA \u05D1\u05D7\u05D9\u05E8\u05EA \u05D8\u05D5\u05D5\u05D7 \u05D4\u05EA\u05D0\u05E8\u05D9\u05DB\u05D9\u05DD",maximumDate:"\u05EA\u05D0\u05E8\u05D9\u05DA \u05E4\u05E0\u05D5\u05D9 \u05D0\u05D7\u05E8\u05D5\u05DF",minimumDate:"\u05EA\u05D0\u05E8\u05D9\u05DA \u05E4\u05E0\u05D5\u05D9 \u05E8\u05D0\u05E9\u05D5\u05DF",next:"\u05D4\u05D1\u05D0",previous:"\u05D4\u05E7\u05D5\u05D3\u05DD",selectedDateDescription:t=>`\u05EA\u05D0\u05E8\u05D9\u05DA \u05E0\u05D1\u05D7\u05E8: ${t.date}`,selectedRangeDescription:t=>`\u05D8\u05D5\u05D5\u05D7 \u05E0\u05D1\u05D7\u05E8: ${t.dateRange}`,startRangeSelectionPrompt:"\u05DC\u05D7\u05E5 \u05DB\u05D3\u05D9 \u05DC\u05D4\u05EA\u05D7\u05D9\u05DC \u05D1\u05D1\u05D7\u05D9\u05E8\u05EA \u05D8\u05D5\u05D5\u05D7 \u05D4\u05EA\u05D0\u05E8\u05D9\u05DB\u05D9\u05DD",todayDate:t=>`\u05D4\u05D9\u05D5\u05DD, ${t.date}`,todayDateSelected:t=>`\u05D4\u05D9\u05D5\u05DD, ${t.date} \u05E0\u05D1\u05D7\u05E8`};var ew={};ew={dateRange:t=>`${t.startDate} do ${t.endDate}`,dateSelected:t=>`${t.date} odabran`,finishRangeSelectionPrompt:"Kliknite da dovr\u0161ite raspon odabranih datuma",maximumDate:"Posljednji raspolo\u017Eivi datum",minimumDate:"Prvi raspolo\u017Eivi datum",next:"Sljede\u0107i",previous:"Prethodni",selectedDateDescription:t=>`Odabrani datum: ${t.date}`,selectedRangeDescription:t=>`Odabrani raspon: ${t.dateRange}`,startRangeSelectionPrompt:"Kliknite da zapo\u010Dnete raspon odabranih datuma",todayDate:t=>`Danas, ${t.date}`,todayDateSelected:t=>`Danas, odabran ${t.date}`};var tw={};tw={dateRange:t=>`${t.startDate}\u2013${t.endDate}`,dateSelected:t=>`${t.date} kiv\xE1lasztva`,finishRangeSelectionPrompt:"Kattintson a d\xE1tumtartom\xE1ny kijel\xF6l\xE9s\xE9nek befejez\xE9s\xE9hez",maximumDate:"Utols\xF3 el\xE9rhet\u0151 d\xE1tum",minimumDate:"Az els\u0151 el\xE9rhet\u0151 d\xE1tum",next:"K\xF6vetkez\u0151",previous:"El\u0151z\u0151",selectedDateDescription:t=>`Kijel\xF6lt d\xE1tum: ${t.date}`,selectedRangeDescription:t=>`Kijel\xF6lt tartom\xE1ny: ${t.dateRange}`,startRangeSelectionPrompt:"Kattintson a d\xE1tumtartom\xE1ny kijel\xF6l\xE9s\xE9nek ind\xEDt\xE1s\xE1hoz",todayDate:t=>`Ma, ${t.date}`,todayDateSelected:t=>`Ma, ${t.date} kijel\xF6lve`};var nw={};nw={dateRange:t=>`Da ${t.startDate} a ${t.endDate}`,dateSelected:t=>`${t.date} selezionata`,finishRangeSelectionPrompt:"Fai clic per completare la selezione dell\u2019intervallo di date",maximumDate:"Ultima data disponibile",minimumDate:"Prima data disponibile",next:"Successivo",previous:"Precedente",selectedDateDescription:t=>`Data selezionata: ${t.date}`,selectedRangeDescription:t=>`Intervallo selezionato: ${t.dateRange}`,startRangeSelectionPrompt:"Fai clic per selezionare l\u2019intervallo di date",todayDate:t=>`Oggi, ${t.date}`,todayDateSelected:t=>`Oggi, ${t.date} selezionata`};var rw={};rw={dateRange:t=>`${t.startDate} \u304B\u3089 ${t.endDate}`,dateSelected:t=>`${t.date} \u3092\u9078\u629E`,finishRangeSelectionPrompt:"\u30AF\u30EA\u30C3\u30AF\u3057\u3066\u65E5\u4ED8\u7BC4\u56F2\u306E\u9078\u629E\u3092\u7D42\u4E86",maximumDate:"\u6700\u7D42\u5229\u7528\u53EF\u80FD\u65E5",minimumDate:"\u6700\u521D\u306E\u5229\u7528\u53EF\u80FD\u65E5",next:"\u6B21\u3078",previous:"\u524D\u3078",selectedDateDescription:t=>`\u9078\u629E\u3057\u305F\u65E5\u4ED8 : ${t.date}`,selectedRangeDescription:t=>`\u9078\u629E\u7BC4\u56F2 : ${t.dateRange}`,startRangeSelectionPrompt:"\u30AF\u30EA\u30C3\u30AF\u3057\u3066\u65E5\u4ED8\u7BC4\u56F2\u306E\u9078\u629E\u3092\u958B\u59CB",todayDate:t=>`\u672C\u65E5\u3001${t.date}`,todayDateSelected:t=>`\u672C\u65E5\u3001${t.date} \u3092\u9078\u629E`};var iw={};iw={dateRange:t=>`${t.startDate} ~ ${t.endDate}`,dateSelected:t=>`${t.date} \uC120\uD0DD\uB428`,finishRangeSelectionPrompt:"\uB0A0\uC9DC \uBC94\uC704 \uC120\uD0DD\uC744 \uC644\uB8CC\uD558\uB824\uBA74 \uD074\uB9AD\uD558\uC2ED\uC2DC\uC624.",maximumDate:"\uB9C8\uC9C0\uB9C9\uC73C\uB85C \uC0AC\uC6A9 \uAC00\uB2A5\uD55C \uC77C\uC790",minimumDate:"\uCC98\uC74C\uC73C\uB85C \uC0AC\uC6A9 \uAC00\uB2A5\uD55C \uC77C\uC790",next:"\uB2E4\uC74C",previous:"\uC774\uC804",selectedDateDescription:t=>`\uC120\uD0DD \uC77C\uC790: ${t.date}`,selectedRangeDescription:t=>`\uC120\uD0DD \uBC94\uC704: ${t.dateRange}`,startRangeSelectionPrompt:"\uB0A0\uC9DC \uBC94\uC704 \uC120\uD0DD\uC744 \uC2DC\uC791\uD558\uB824\uBA74 \uD074\uB9AD\uD558\uC2ED\uC2DC\uC624.",todayDate:t=>`\uC624\uB298, ${t.date}`,todayDateSelected:t=>`\uC624\uB298, ${t.date} \uC120\uD0DD\uB428`};var lw={};lw={dateRange:t=>`Nuo ${t.startDate} iki ${t.endDate}`,dateSelected:t=>`Pasirinkta ${t.date}`,finishRangeSelectionPrompt:"Spustel\u0117kite, kad baigtum\u0117te pasirinkti dat\u0173 interval\u0105",maximumDate:"Paskutin\u0117 galima data",minimumDate:"Pirmoji galima data",next:"Paskesnis",previous:"Ankstesnis",selectedDateDescription:t=>`Pasirinkta data: ${t.date}`,selectedRangeDescription:t=>`Pasirinktas intervalas: ${t.dateRange}`,startRangeSelectionPrompt:"Spustel\u0117kite, kad prad\u0117tum\u0117te pasirinkti dat\u0173 interval\u0105",todayDate:t=>`\u0160iandien, ${t.date}`,todayDateSelected:t=>`\u0160iandien, pasirinkta ${t.date}`};var aw={};aw={dateRange:t=>`No ${t.startDate} l\u012Bdz ${t.endDate}`,dateSelected:t=>`Atlas\u012Bts: ${t.date}`,finishRangeSelectionPrompt:"Noklik\u0161\u0137iniet, lai pabeigtu datumu diapazona atlasi",maximumDate:"P\u0113d\u0113jais pieejamais datums",minimumDate:"Pirmais pieejamais datums",next:"T\u0101l\u0101k",previous:"Atpaka\u013C",selectedDateDescription:t=>`Atlas\u012Btais datums: ${t.date}`,selectedRangeDescription:t=>`Atlas\u012Btais diapazons: ${t.dateRange}`,startRangeSelectionPrompt:"Noklik\u0161\u0137iniet, lai s\u0101ktu datumu diapazona atlasi",todayDate:t=>`\u0160odien, ${t.date}`,todayDateSelected:t=>`Atlas\u012Bta \u0161odiena, ${t.date}`};var ow={};ow={dateRange:t=>`${t.startDate} til ${t.endDate}`,dateSelected:t=>`${t.date} valgt`,finishRangeSelectionPrompt:"Klikk for \xE5 fullf\xF8re valg av datoomr\xE5de",maximumDate:"Siste tilgjengelige dato",minimumDate:"F\xF8rste tilgjengelige dato",next:"Neste",previous:"Forrige",selectedDateDescription:t=>`Valgt dato: ${t.date}`,selectedRangeDescription:t=>`Valgt omr\xE5de: ${t.dateRange}`,startRangeSelectionPrompt:"Klikk for \xE5 starte valg av datoomr\xE5de",todayDate:t=>`I dag, ${t.date}`,todayDateSelected:t=>`I dag, ${t.date} valgt`};var sw={};sw={dateRange:t=>`${t.startDate} tot ${t.endDate}`,dateSelected:t=>`${t.date} geselecteerd`,finishRangeSelectionPrompt:"Klik om de selectie van het datumbereik te voltooien",maximumDate:"Laatste beschikbare datum",minimumDate:"Eerste beschikbare datum",next:"Volgende",previous:"Vorige",selectedDateDescription:t=>`Geselecteerde datum: ${t.date}`,selectedRangeDescription:t=>`Geselecteerd bereik: ${t.dateRange}`,startRangeSelectionPrompt:"Klik om het datumbereik te selecteren",todayDate:t=>`Vandaag, ${t.date}`,todayDateSelected:t=>`Vandaag, ${t.date} geselecteerd`};var uw={};uw={dateRange:t=>`${t.startDate} do ${t.endDate}`,dateSelected:t=>`Wybrano ${t.date}`,finishRangeSelectionPrompt:"Kliknij, aby zako\u0144czy\u0107 wyb\xF3r zakresu dat",maximumDate:"Ostatnia dost\u0119pna data",minimumDate:"Pierwsza dost\u0119pna data",next:"Dalej",previous:"Wstecz",selectedDateDescription:t=>`Wybrana data: ${t.date}`,selectedRangeDescription:t=>`Wybrany zakres: ${t.dateRange}`,startRangeSelectionPrompt:"Kliknij, aby rozpocz\u0105\u0107 wyb\xF3r zakresu dat",todayDate:t=>`Dzisiaj, ${t.date}`,todayDateSelected:t=>`Dzisiaj wybrano ${t.date}`};var cw={};cw={dateRange:t=>`${t.startDate} a ${t.endDate}`,dateSelected:t=>`${t.date} selecionado`,finishRangeSelectionPrompt:"Clique para concluir a sele\xE7\xE3o do intervalo de datas",maximumDate:"\xDAltima data dispon\xEDvel",minimumDate:"Primeira data dispon\xEDvel",next:"Pr\xF3ximo",previous:"Anterior",selectedDateDescription:t=>`Data selecionada: ${t.date}`,selectedRangeDescription:t=>`Intervalo selecionado: ${t.dateRange}`,startRangeSelectionPrompt:"Clique para iniciar a sele\xE7\xE3o do intervalo de datas",todayDate:t=>`Hoje, ${t.date}`,todayDateSelected:t=>`Hoje, ${t.date} selecionado`};var dw={};dw={dateRange:t=>`${t.startDate} a ${t.endDate}`,dateSelected:t=>`${t.date} selecionado`,finishRangeSelectionPrompt:"Clique para terminar de selecionar o intervalo de datas",maximumDate:"\xDAltima data dispon\xEDvel",minimumDate:"Primeira data dispon\xEDvel",next:"Pr\xF3ximo",previous:"Anterior",selectedDateDescription:t=>`Data selecionada: ${t.date}`,selectedRangeDescription:t=>`Intervalo selecionado: ${t.dateRange}`,startRangeSelectionPrompt:"Clique para come\xE7ar a selecionar o intervalo de datas",todayDate:t=>`Hoje, ${t.date}`,todayDateSelected:t=>`Hoje, ${t.date} selecionado`};var fw={};fw={dateRange:t=>`De la ${t.startDate} p\xE2n\u0103 la ${t.endDate}`,dateSelected:t=>`${t.date} selectat\u0103`,finishRangeSelectionPrompt:"Ap\u0103sa\u0163i pentru a finaliza selec\u0163ia razei pentru dat\u0103",maximumDate:"Ultima dat\u0103 disponibil\u0103",minimumDate:"Prima dat\u0103 disponibil\u0103",next:"Urm\u0103torul",previous:"\xCEnainte",selectedDateDescription:t=>`Dat\u0103 selectat\u0103: ${t.date}`,selectedRangeDescription:t=>`Interval selectat: ${t.dateRange}`,startRangeSelectionPrompt:"Ap\u0103sa\u0163i pentru a \xEEncepe selec\u0163ia razei pentru dat\u0103",todayDate:t=>`Ast\u0103zi, ${t.date}`,todayDateSelected:t=>`Azi, ${t.date} selectat\u0103`};var hw={};hw={dateRange:t=>`\u0421 ${t.startDate} \u043F\u043E ${t.endDate}`,dateSelected:t=>`\u0412\u044B\u0431\u0440\u0430\u043D\u043E ${t.date}`,finishRangeSelectionPrompt:"\u0429\u0435\u043B\u043A\u043D\u0438\u0442\u0435, \u0447\u0442\u043E\u0431\u044B \u0437\u0430\u0432\u0435\u0440\u0448\u0438\u0442\u044C \u0432\u044B\u0431\u043E\u0440 \u0434\u0438\u0430\u043F\u0430\u0437\u043E\u043D\u0430 \u0434\u0430\u0442",maximumDate:"\u041F\u043E\u0441\u043B\u0435\u0434\u043D\u044F\u044F \u0434\u043E\u0441\u0442\u0443\u043F\u043D\u0430\u044F \u0434\u0430\u0442\u0430",minimumDate:"\u041F\u0435\u0440\u0432\u0430\u044F \u0434\u043E\u0441\u0442\u0443\u043F\u043D\u0430\u044F \u0434\u0430\u0442\u0430",next:"\u0414\u0430\u043B\u0435\u0435",previous:"\u041D\u0430\u0437\u0430\u0434",selectedDateDescription:t=>`\u0412\u044B\u0431\u0440\u0430\u043D\u043D\u0430\u044F \u0434\u0430\u0442\u0430: ${t.date}`,selectedRangeDescription:t=>`\u0412\u044B\u0431\u0440\u0430\u043D\u043D\u044B\u0439 \u0434\u0438\u0430\u043F\u0430\u0437\u043E\u043D: ${t.dateRange}`,startRangeSelectionPrompt:"\u0429\u0435\u043B\u043A\u043D\u0438\u0442\u0435, \u0447\u0442\u043E\u0431\u044B \u043D\u0430\u0447\u0430\u0442\u044C \u0432\u044B\u0431\u043E\u0440 \u0434\u0438\u0430\u043F\u0430\u0437\u043E\u043D\u0430 \u0434\u0430\u0442",todayDate:t=>`\u0421\u0435\u0433\u043E\u0434\u043D\u044F, ${t.date}`,todayDateSelected:t=>`\u0421\u0435\u0433\u043E\u0434\u043D\u044F, \u0432\u044B\u0431\u0440\u0430\u043D\u043E ${t.date}`};var pw={};pw={dateRange:t=>`Od ${t.startDate} do ${t.endDate}`,dateSelected:t=>`Vybrat\xFD d\xE1tum ${t.date}`,finishRangeSelectionPrompt:"Kliknut\xEDm dokon\u010D\xEDte v\xFDber rozsahu d\xE1tumov",maximumDate:"Posledn\xFD dostupn\xFD d\xE1tum",minimumDate:"Prv\xFD dostupn\xFD d\xE1tum",next:"Nasleduj\xFAce",previous:"Predch\xE1dzaj\xFAce",selectedDateDescription:t=>`Vybrat\xFD d\xE1tum: ${t.date}`,selectedRangeDescription:t=>`Vybrat\xFD rozsah: ${t.dateRange}`,startRangeSelectionPrompt:"Kliknut\xEDm spust\xEDte v\xFDber rozsahu d\xE1tumov",todayDate:t=>`Dnes ${t.date}`,todayDateSelected:t=>`Vybrat\xFD dne\u0161n\xFD d\xE1tum ${t.date}`};var mw={};mw={dateRange:t=>`${t.startDate} do ${t.endDate}`,dateSelected:t=>`${t.date} izbrano`,finishRangeSelectionPrompt:"Kliknite za dokon\u010Danje izbire datumskega obsega",maximumDate:"Zadnji razpolo\u017Eljivi datum",minimumDate:"Prvi razpolo\u017Eljivi datum",next:"Naprej",previous:"Nazaj",selectedDateDescription:t=>`Izbrani datum: ${t.date}`,selectedRangeDescription:t=>`Izbrano obmo\u010Dje: ${t.dateRange}`,startRangeSelectionPrompt:"Kliknite za za\u010Detek izbire datumskega obsega",todayDate:t=>`Danes, ${t.date}`,todayDateSelected:t=>`Danes, ${t.date} izbrano`};var gw={};gw={dateRange:t=>`${t.startDate} do ${t.endDate}`,dateSelected:t=>`${t.date} izabran`,finishRangeSelectionPrompt:"Kliknite da dovr\u0161ite opseg izabranih datuma",maximumDate:"Zadnji raspolo\u017Eivi datum",minimumDate:"Prvi raspolo\u017Eivi datum",next:"Slede\u0107i",previous:"Prethodni",selectedDateDescription:t=>`Izabrani datum: ${t.date}`,selectedRangeDescription:t=>`Izabrani period: ${t.dateRange}`,startRangeSelectionPrompt:"Kliknite da zapo\u010Dnete opseg izabranih datuma",todayDate:t=>`Danas, ${t.date}`,todayDateSelected:t=>`Danas, izabran ${t.date}`};var Ow={};Ow={dateRange:t=>`${t.startDate} till ${t.endDate}`,dateSelected:t=>`${t.date} har valts`,finishRangeSelectionPrompt:"Klicka f\xF6r att avsluta val av datumintervall",maximumDate:"Sista tillg\xE4ngliga datum",minimumDate:"F\xF6rsta tillg\xE4ngliga datum",next:"N\xE4sta",previous:"F\xF6reg\xE5ende",selectedDateDescription:t=>`Valt datum: ${t.date}`,selectedRangeDescription:t=>`Valt intervall: ${t.dateRange}`,startRangeSelectionPrompt:"Klicka f\xF6r att v\xE4lja datumintervall",todayDate:t=>`Idag, ${t.date}`,todayDateSelected:t=>`Idag, ${t.date} har valts`};var bw={};bw={dateRange:t=>`${t.startDate} - ${t.endDate}`,dateSelected:t=>`${t.date} se\xE7ildi`,finishRangeSelectionPrompt:"Tarih aral\u0131\u011F\u0131 se\xE7imini tamamlamak i\xE7in t\u0131klay\u0131n",maximumDate:"Son m\xFCsait tarih",minimumDate:"\u0130lk m\xFCsait tarih",next:"Sonraki",previous:"\xD6nceki",selectedDateDescription:t=>`Se\xE7ilen Tarih: ${t.date}`,selectedRangeDescription:t=>`Se\xE7ilen Aral\u0131k: ${t.dateRange}`,startRangeSelectionPrompt:"Tarih aral\u0131\u011F\u0131 se\xE7imini ba\u015Flatmak i\xE7in t\u0131klay\u0131n",todayDate:t=>`Bug\xFCn, ${t.date}`,todayDateSelected:t=>`Bug\xFCn, ${t.date} se\xE7ildi`};var yw={};yw={dateRange:t=>`${t.startDate} \u2014 ${t.endDate}`,dateSelected:t=>`\u0412\u0438\u0431\u0440\u0430\u043D\u043E ${t.date}`,finishRangeSelectionPrompt:"\u041D\u0430\u0442\u0438\u0441\u043D\u0456\u0442\u044C, \u0449\u043E\u0431 \u0437\u0430\u0432\u0435\u0440\u0448\u0438\u0442\u0438 \u0432\u0438\u0431\u0456\u0440 \u0434\u0456\u0430\u043F\u0430\u0437\u043E\u043D\u0443 \u0434\u0430\u0442",maximumDate:"\u041E\u0441\u0442\u0430\u043D\u043D\u044F \u0434\u043E\u0441\u0442\u0443\u043F\u043D\u0430 \u0434\u0430\u0442\u0430",minimumDate:"\u041F\u0435\u0440\u0448\u0430 \u0434\u043E\u0441\u0442\u0443\u043F\u043D\u0430 \u0434\u0430\u0442\u0430",next:"\u041D\u0430\u0441\u0442\u0443\u043F\u043D\u0438\u0439",previous:"\u041F\u043E\u043F\u0435\u0440\u0435\u0434\u043D\u0456\u0439",selectedDateDescription:t=>`\u0412\u0438\u0431\u0440\u0430\u043D\u0430 \u0434\u0430\u0442\u0430: ${t.date}`,selectedRangeDescription:t=>`\u0412\u0438\u0431\u0440\u0430\u043D\u0438\u0439 \u0434\u0456\u0430\u043F\u0430\u0437\u043E\u043D: ${t.dateRange}`,startRangeSelectionPrompt:"\u041D\u0430\u0442\u0438\u0441\u043D\u0456\u0442\u044C, \u0449\u043E\u0431 \u043F\u043E\u0447\u0430\u0442\u0438 \u0432\u0438\u0431\u0456\u0440 \u0434\u0456\u0430\u043F\u0430\u0437\u043E\u043D\u0443 \u0434\u0430\u0442",todayDate:t=>`\u0421\u044C\u043E\u0433\u043E\u0434\u043D\u0456, ${t.date}`,todayDateSelected:t=>`\u0421\u044C\u043E\u0433\u043E\u0434\u043D\u0456, \u0432\u0438\u0431\u0440\u0430\u043D\u043E ${t.date}`};var vw={};vw={dateRange:t=>`${t.startDate} \u81F3 ${t.endDate}`,dateSelected:t=>`\u5DF2\u9009\u62E9 ${t.date}`,finishRangeSelectionPrompt:"\u5355\u51FB\u4EE5\u5B8C\u6210\u9009\u62E9\u65E5\u671F\u8303\u56F4",maximumDate:"\u6700\u540E\u4E00\u4E2A\u53EF\u7528\u65E5\u671F",minimumDate:"\u7B2C\u4E00\u4E2A\u53EF\u7528\u65E5\u671F",next:"\u4E0B\u4E00\u9875",previous:"\u4E0A\u4E00\u9875",selectedDateDescription:t=>`\u9009\u5B9A\u7684\u65E5\u671F\uFF1A${t.date}`,selectedRangeDescription:t=>`\u9009\u5B9A\u7684\u8303\u56F4\uFF1A${t.dateRange}`,startRangeSelectionPrompt:"\u5355\u51FB\u4EE5\u5F00\u59CB\u9009\u62E9\u65E5\u671F\u8303\u56F4",todayDate:t=>`\u4ECA\u5929\uFF0C\u5373 ${t.date}`,todayDateSelected:t=>`\u5DF2\u9009\u62E9\u4ECA\u5929\uFF0C\u5373 ${t.date}`};var $w={};$w={dateRange:t=>`${t.startDate} \u81F3 ${t.endDate}`,dateSelected:t=>`\u5DF2\u9078\u53D6 ${t.date}`,finishRangeSelectionPrompt:"\u6309\u4E00\u4E0B\u4EE5\u5B8C\u6210\u9078\u53D6\u65E5\u671F\u7BC4\u570D",maximumDate:"\u6700\u5F8C\u4E00\u500B\u53EF\u7528\u65E5\u671F",minimumDate:"\u7B2C\u4E00\u500B\u53EF\u7528\u65E5\u671F",next:"\u4E0B\u4E00\u9801",previous:"\u4E0A\u4E00\u9801",selectedDateDescription:t=>`\u9078\u5B9A\u7684\u65E5\u671F\uFF1A${t.date}`,selectedRangeDescription:t=>`\u9078\u5B9A\u7684\u7BC4\u570D\uFF1A${t.dateRange}`,startRangeSelectionPrompt:"\u6309\u4E00\u4E0B\u4EE5\u958B\u59CB\u9078\u53D6\u65E5\u671F\u7BC4\u570D",todayDate:t=>`\u4ECA\u5929\uFF0C${t.date}`,todayDateSelected:t=>`\u5DF2\u9078\u53D6\u4ECA\u5929\uFF0C${t.date}`};var jo={};jo={"ar-AE":L$,"bg-BG":W$,"cs-CZ":X$,"da-DK":j$,"de-DE":q$,"el-GR":U$,"en-US":Y$,"es-ES":K$,"et-EE":G$,"fi-FI":H$,"fr-FR":_$,"he-IL":J$,"hr-HR":ew,"hu-HU":tw,"it-IT":nw,"ja-JP":rw,"ko-KR":iw,"lt-LT":lw,"lv-LV":aw,"nb-NO":ow,"nl-NL":sw,"pl-PL":uw,"pt-BR":cw,"pt-PT":dw,"ro-RO":fw,"ru-RU":hw,"sk-SK":pw,"sl-SI":mw,"sr-SP":gw,"sv-SE":Ow,"tr-TR":bw,"uk-UA":yw,"zh-CN":vw,"zh-TW":$w};function ww(t){return t&&t.__esModule?t.default:t}u(ww,"$parcel$interopDefault$e");const ng=new WeakMap;function qo(t){return t?.calendar.identifier==="gregory"&&t.era==="BC"?"short":void 0}u(qo,"$a074e1e2d0f0a665$export$134cbb7fb09a9522");function aB(t){let e=Ft(ww(jo),"@react-aria/calendar"),n,r;"highlightedRange"in t?{start:n,end:r}=t.highlightedRange||{}:n=r=t.value;let i=Vn({weekday:"long",month:"long",year:"numeric",day:"numeric",era:qo(n)||qo(r),timeZone:t.timeZone}),l="anchorDate"in t?t.anchorDate:null;return(0,wp.element.useMemo)(()=>{if(!l&&n&&r)if(Xe(n,r)){let a=i.format(n.toDate(t.timeZone));return e.format("selectedDateDescription",{date:a})}else{let a=ig(i,e,n,r,t.timeZone);return e.format("selectedRangeDescription",{dateRange:a})}return""},[n,r,l,t.timeZone,e,i])}u(aB,"$a074e1e2d0f0a665$export$b6df97c887c38e1a");function rg(t,e,n,r){let i=Ft(ww(jo),"@react-aria/calendar"),l=qo(t)||qo(e),a=Vn({month:"long",year:"numeric",era:l,calendar:t.calendar.identifier,timeZone:n}),o=Vn({month:"long",year:"numeric",day:"numeric",era:l,calendar:t.calendar.identifier,timeZone:n});return(0,wp.element.useMemo)(()=>{if(Xe(t,Li(t))){if(Xe(e,na(t)))return a.format(t.toDate(n));if(Xe(e,na(e)))return r?ig(a,i,t,e,n):a.formatRange(t.toDate(n),e.toDate(n))}return r?ig(o,i,t,e,n):o.formatRange(t.toDate(n),e.toDate(n))},[t,e,a,o,i,n,r])}u(rg,"$a074e1e2d0f0a665$export$31afe65d91ef6e8");function ig(t,e,n,r,i){let l=t.formatRangeToParts(n.toDate(i),r.toDate(i)),a=-1;for(let c=0;ca&&(s+=l[c].value);return e.format("dateRange",{startDate:o,endDate:s})}u(ig,"$a074e1e2d0f0a665$var$formatRange");const xw=7e3;let ln=null;function oa(t,e="assertive",n=xw){ln?ln.announce(t,e,n):(ln=new lg,(typeof IS_REACT_ACT_ENVIRONMENT=="boolean"?IS_REACT_ACT_ENVIRONMENT:typeof jest<"u")?ln.announce(t,e,n):setTimeout(()=>{ln?.isAttached()&&ln?.announce(t,e,n)},100))}u(oa,"$319e236875307eab$export$a9b970dcc4ae71a9");function oB(t){ln&&ln.clear(t)}u(oB,"$319e236875307eab$export$d10ae4f68404609a");const Ey=class Ey{isAttached(){var e;return(e=this.node)===null||e===void 0?void 0:e.isConnected}createLog(e){let n=document.createElement("div");return n.setAttribute("role","log"),n.setAttribute("aria-live",e),n.setAttribute("aria-relevant","additions"),n}destroy(){this.node&&(document.body.removeChild(this.node),this.node=null)}announce(e,n="assertive",r=xw){var i,l;if(!this.node)return;let a=document.createElement("div");typeof e=="object"?(a.setAttribute("role","img"),a.setAttribute("aria-labelledby",e["aria-labelledby"])):a.textContent=e,n==="assertive"?(i=this.assertiveLog)===null||i===void 0||i.appendChild(a):(l=this.politeLog)===null||l===void 0||l.appendChild(a),e!==""&&setTimeout(()=>{a.remove()},r)}clear(e){this.node&&((!e||e==="assertive")&&this.assertiveLog&&(this.assertiveLog.innerHTML=""),(!e||e==="polite")&&this.politeLog&&(this.politeLog.innerHTML=""))}constructor(){this.node=null,this.assertiveLog=null,this.politeLog=null,typeof document<"u"&&(this.node=document.createElement("div"),this.node.dataset.liveAnnouncer="true",Object.assign(this.node.style,{border:0,clip:"rect(0 0 0 0)",clipPath:"inset(50%)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap"}),this.assertiveLog=this.createLog("assertive"),this.node.appendChild(this.assertiveLog),this.politeLog=this.createLog("polite"),this.node.appendChild(this.politeLog),document.body.prepend(this.node))}};u(Ey,"$319e236875307eab$var$LiveAnnouncer");let lg=Ey;function sB(t){return t&&t.__esModule?t.default:t}u(sB,"$parcel$interopDefault$d");function Sw(t,e){let n=Ft(sB(jo),"@react-aria/calendar"),r=ft(t),i=rg(e.visibleRange.start,e.visibleRange.end,e.timeZone,!1),l=rg(e.visibleRange.start,e.visibleRange.end,e.timeZone,!0);h3(()=>{e.isFocused||oa(l)},[l]);let a=aB(e);h3(()=>{a&&oa(a,"polite",4e3)},[a]);let o=Kl([!!t.errorMessage,t.isInvalid,t.validationState]);ng.set(e,{ariaLabel:t["aria-label"],ariaLabelledBy:t["aria-labelledby"],errorMessageId:o,selectedDateDescription:a});let[s,c]=(0,wp.element.useState)(!1),d=t.isDisabled||e.isNextVisibleRangeInvalid();d&&s&&(c(!1),e.setFocused(!0));let[f,h]=(0,wp.element.useState)(!1),p=t.isDisabled||e.isPreviousVisibleRangeInvalid();p&&f&&(h(!1),e.setFocused(!0));let m=Mn({id:t.id,"aria-label":[t["aria-label"],l].filter(Boolean).join(", "),"aria-labelledby":t["aria-labelledby"]});return{calendarProps:te(r,m,{role:"application","aria-describedby":t["aria-describedby"]||void 0}),nextButtonProps:{onPress:()=>e.focusNextPage(),"aria-label":n.format("next"),isDisabled:d,onFocusChange:c},prevButtonProps:{onPress:()=>e.focusPreviousPage(),"aria-label":n.format("previous"),isDisabled:p,onFocusChange:h},errorMessageProps:{id:o},title:i}}u(Sw,"$c4acc1de3ab169cf$export$d652b3ea2d672d5b");function uB(t,e){return Sw(t,e)}u(uB,"$9942cad8a072a530$export$3ee915f8151bd4f1");function cB(t,e,n){let r=Sw(t,e),i=(0,wp.element.useRef)(!1),l=(0,wp.element.useRef)(typeof window<"u"?window:null);return mr(l,"pointerdown",o=>{i.current=o.width===0&&o.height===0}),mr(l,"pointerup",u(o=>{if(i.current){i.current=!1;return}if(e.setDragging(!1),!e.anchorDate)return;let s=o.target;n.current&&n.current.contains(document.activeElement)&&(!n.current.contains(s)||!s.closest('button, [role="button"]'))&&e.selectFocusedDate()},"endDragging")),r.calendarProps.onBlur=o=>{n.current&&(!o.relatedTarget||!n.current.contains(o.relatedTarget))&&e.anchorDate&&e.selectFocusedDate()},mr(n,"touchmove",o=>{e.isDragging&&o.preventDefault()},{passive:!1,capture:!0}),r}u(cB,"$46a4342aab3d8076$export$87e0539f600c24e5");function Cw(t,e){let{startDate:n=e.visibleRange.start,endDate:r=e.visibleRange.end}=t,{direction:i}=Ee(),l=u(p=>{switch(p.key){case"Enter":case" ":p.preventDefault(),e.selectFocusedDate();break;case"PageUp":p.preventDefault(),p.stopPropagation(),e.focusPreviousSection(p.shiftKey);break;case"PageDown":p.preventDefault(),p.stopPropagation(),e.focusNextSection(p.shiftKey);break;case"End":p.preventDefault(),p.stopPropagation(),e.focusSectionEnd();break;case"Home":p.preventDefault(),p.stopPropagation(),e.focusSectionStart();break;case"ArrowLeft":p.preventDefault(),p.stopPropagation(),i==="rtl"?e.focusNextDay():e.focusPreviousDay();break;case"ArrowUp":p.preventDefault(),p.stopPropagation(),e.focusPreviousRow();break;case"ArrowRight":p.preventDefault(),p.stopPropagation(),i==="rtl"?e.focusPreviousDay():e.focusNextDay();break;case"ArrowDown":p.preventDefault(),p.stopPropagation(),e.focusNextRow();break;case"Escape":"setAnchorDate"in e&&(p.preventDefault(),e.setAnchorDate(null));break}},"onKeyDown"),a=rg(n,r,e.timeZone,!0),{ariaLabel:o,ariaLabelledBy:s}=ng.get(e),c=Mn({"aria-label":[o,a].filter(Boolean).join(", "),"aria-labelledby":s}),d=Vn({weekday:t.weekdayStyle||"narrow",timeZone:e.timeZone}),{locale:f}=Ee(),h=(0,wp.element.useMemo)(()=>{let p=No(Kr(e.timeZone),f);return[...new Array(7).keys()].map(m=>{let O=p.add({days:m}).toDate(e.timeZone);return d.format(O)})},[f,e.timeZone,d]);return{gridProps:te(c,{role:"grid","aria-readonly":e.isReadOnly||null,"aria-disabled":e.isDisabled||null,"aria-multiselectable":"highlightedRange"in e||void 0,onKeyDown:l,onFocus:()=>e.setFocused(!0),onBlur:()=>e.setFocused(!1)}),headerProps:{"aria-hidden":!0},weekDays:h}}u(Cw,"$e3031d1f8c9d64eb$export$cb95147730a423f5");function dB(t){return t&&t.__esModule?t.default:t}u(dB,"$parcel$interopDefault$c");function fB(t,e,n){let{date:r,isDisabled:i}=t,{errorMessageId:l,selectedDateDescription:a}=ng.get(e),o=Ft(dB(jo),"@react-aria/calendar"),s=Vn({weekday:"long",day:"numeric",month:"long",year:"numeric",era:qo(r),timeZone:e.timeZone}),c=e.isSelected(r),d=e.isCellFocused(r);i=i||e.isCellDisabled(r);let f=e.isCellUnavailable(r),h=!i&&!f,p=e.isValueInvalid&&("highlightedRange"in e?!e.anchorDate&&e.highlightedRange&&r.compare(e.highlightedRange.start)>=0&&r.compare(e.highlightedRange.end)<=0:e.value&&Xe(e.value,r));p&&(c=!0),r=b3(r,mm);let m=(0,wp.element.useMemo)(()=>r.toDate(e.timeZone),[r,e.timeZone]),g=mM(r,e.timeZone),O=(0,wp.element.useMemo)(()=>{let S="";return"highlightedRange"in e&&e.value&&!e.anchorDate&&(Xe(r,e.value.start)||Xe(r,e.value.end))&&(S=a+", "),S+=s.format(m),g?S=o.format(c?"todayDateSelected":"todayDate",{date:S}):c&&(S=o.format("dateSelected",{date:S})),e.minValue&&Xe(r,e.minValue)?S+=", "+o.format("minimumDate"):e.maxValue&&Xe(r,e.maxValue)&&(S+=", "+o.format("maximumDate")),S},[s,m,o,c,g,r,e,a]),b="";"anchorDate"in e&&d&&!e.isReadOnly&&h&&(e.anchorDate?b=o.format("finishRangeSelectionPrompt"):b=o.format("startRangeSelectionPrompt"));let y=So(b),$=(0,wp.element.useRef)(!1),C=(0,wp.element.useRef)(!1),w=(0,wp.element.useRef)(null),{pressProps:x,isPressed:P}=gr({shouldCancelOnPointerExit:"anchorDate"in e&&!!e.anchorDate,preventFocusOnPress:!0,isDisabled:!h||e.isReadOnly,onPressStart(S){if(e.isReadOnly){e.setFocusedDate(r);return}if("highlightedRange"in e&&!e.anchorDate&&(S.pointerType==="mouse"||S.pointerType==="touch")){if(e.highlightedRange&&!p){if(Xe(r,e.highlightedRange.start)){e.setAnchorDate(e.highlightedRange.end),e.setFocusedDate(r),e.setDragging(!0),C.current=!0;return}else if(Xe(r,e.highlightedRange.end)){e.setAnchorDate(e.highlightedRange.start),e.setFocusedDate(r),e.setDragging(!0),C.current=!0;return}}let E=u(()=>{e.setDragging(!0),w.current=null,e.selectDate(r),e.setFocusedDate(r),$.current=!0},"startDragging");S.pointerType==="touch"?w.current=setTimeout(E,200):E()}},onPressEnd(){C.current=!1,$.current=!1,clearTimeout(w.current),w.current=null},onPress(){!("anchorDate"in e)&&!e.isReadOnly&&(e.selectDate(r),e.setFocusedDate(r))},onPressUp(S){if(!e.isReadOnly&&("anchorDate"in e&&w.current&&(e.selectDate(r),e.setFocusedDate(r)),"anchorDate"in e))if(C.current)e.setAnchorDate(r);else if(e.anchorDate&&!$.current)e.selectDate(r),e.setFocusedDate(r);else if(S.pointerType==="keyboard"&&!e.anchorDate){e.selectDate(r);let E=r.add({days:1});e.isInvalid(E)&&(E=r.subtract({days:1})),e.isInvalid(E)||e.setFocusedDate(E)}else S.pointerType==="virtual"&&(e.selectDate(r),e.setFocusedDate(r))}}),v=null;i||(v=Xe(r,e.focusedDate)?0:-1),(0,wp.element.useEffect)(()=>{d&&n.current&&(en(n.current),Lc()!=="pointer"&&document.activeElement===n.current&&Mc(n.current,{containingElement:Qc(n.current)}))},[d,n]);let k=Vn({day:"numeric",timeZone:e.timeZone,calendar:r.calendar.identifier}),D=(0,wp.element.useMemo)(()=>k.formatToParts(m).find(S=>S.type==="day").value,[k,m]);return{cellProps:{role:"gridcell","aria-disabled":!h||null,"aria-selected":c||null,"aria-invalid":p||null},buttonProps:te(x,{onFocus(){i||e.setFocusedDate(r)},tabIndex:v,role:"button","aria-disabled":!h||null,"aria-label":O,"aria-invalid":p||null,"aria-describedby":[p?l:null,y["aria-describedby"]].filter(Boolean).join(" ")||void 0,onPointerEnter(S){"highlightDate"in e&&(S.pointerType!=="touch"||e.isDragging)&&h&&e.highlightDate(r)},onPointerDown(S){"releasePointerCapture"in S.target&&S.target.releasePointerCapture(S.pointerId)},onContextMenu(S){S.preventDefault()}}),isPressed:P,isFocused:d,isSelected:c,isDisabled:i,isUnavailable:f,isOutsideVisibleRange:r.compare(e.visibleRange.start)<0||r.compare(e.visibleRange.end)>0,isInvalid:p,formattedDate:D}}u(fB,"$36a0ac60f04457c5$export$136073280381448e");function Uo(t,e,n){let{validationBehavior:r,focus:i}=t;De(()=>{if(r==="native"&&n?.current){let s=e.realtimeValidation.isInvalid?e.realtimeValidation.validationErrors.join(" ")||"Invalid value.":"";n.current.setCustomValidity(s),n.current.hasAttribute("title")||(n.current.title=""),e.realtimeValidation.isInvalid||e.updateValidation(pB(n.current))}});let l=Ne(()=>{e.resetValidation()}),a=Ne(s=>{var c;e.displayValidation.isInvalid||e.commitValidation();let d=n==null||(c=n.current)===null||c===void 0?void 0:c.form;if(!s.defaultPrevented&&n&&d&&mB(d)===n.current){var f;i?i():(f=n.current)===null||f===void 0||f.focus(),lm("keyboard")}s.preventDefault()}),o=Ne(()=>{e.commitValidation()});(0,wp.element.useEffect)(()=>{let s=n?.current;if(!s)return;let c=s.form;return s.addEventListener("invalid",a),s.addEventListener("change",o),c?.addEventListener("reset",l),()=>{s.removeEventListener("invalid",a),s.removeEventListener("change",o),c?.removeEventListener("reset",l)}},[n,a,o,l,r])}u(Uo,"$e93e671b31057976$export$b8473d3665f3a75a");function hB(t){let e=t.validity;return{badInput:e.badInput,customError:e.customError,patternMismatch:e.patternMismatch,rangeOverflow:e.rangeOverflow,rangeUnderflow:e.rangeUnderflow,stepMismatch:e.stepMismatch,tooLong:e.tooLong,tooShort:e.tooShort,typeMismatch:e.typeMismatch,valueMissing:e.valueMissing,valid:e.valid}}u(hB,"$e93e671b31057976$var$getValidity");function pB(t){return{isInvalid:!t.validity.valid,validationDetails:hB(t),validationErrors:t.validationMessage?[t.validationMessage]:[]}}u(pB,"$e93e671b31057976$var$getNativeValidity");function mB(t){for(let e=0;ekw(bB(a,i)),[a,i]);l?.validationDetails.valid&&(l=null);let d=(0,wp.element.useContext)(gB),f=(0,wp.element.useMemo)(()=>r?Array.isArray(r)?r.flatMap(D=>ag(d[D])):ag(d[r]):[],[d,r]),[h,p]=(0,wp.element.useState)(d),[m,g]=(0,wp.element.useState)(!1);d!==h&&(p(d),g(!1));let O=(0,wp.element.useMemo)(()=>kw(m?[]:f),[m,f]),b=(0,wp.element.useRef)(ji),[y,$]=(0,wp.element.useState)(ji),C=(0,wp.element.useRef)(ji),w=u(()=>{if(!x)return;P(!1);let D=c||l||b.current;og(D,C.current)||(C.current=D,$(D))},"commitValidation"),[x,P]=(0,wp.element.useState)(!1);return(0,wp.element.useEffect)(w),{realtimeValidation:s||O||c||l||ji,displayValidation:o==="native"?s||O||y:s||O||c||l||y,updateValidation(D){o==="aria"&&!og(y,D)?$(D):b.current=D},resetValidation(){let D=ji;og(D,C.current)||(C.current=D,$(D)),o==="native"&&P(!1),g(!0)},commitValidation(){o==="native"&&P(!0),g(!0)}}}u(OB,"$e5be200c675c3b3a$var$useFormValidationStateImpl");function ag(t){return t?Array.isArray(t)?t:[t]:[]}u(ag,"$e5be200c675c3b3a$var$asArray");function bB(t,e){if(typeof t=="function"){let n=t(e);if(n&&typeof n!="boolean")return ag(n)}return[]}u(bB,"$e5be200c675c3b3a$var$runValidate");function kw(t){return t.length?{isInvalid:!0,validationErrors:t,validationDetails:Dw}:null}u(kw,"$e5be200c675c3b3a$var$getValidationResult");function og(t,e){return t===e?!0:t&&e&&t.isInvalid===e.isInvalid&&t.validationErrors.length===e.validationErrors.length&&t.validationErrors.every((n,r)=>n===e.validationErrors[r])&&Object.entries(t.validationDetails).every(([n,r])=>e.validationDetails[n]===r)}u(og,"$e5be200c675c3b3a$var$isEqualValidation");function dd(...t){let e=new Set,n=!1,r={...cd};for(let a of t){var i,l;for(let o of a.validationErrors)e.add(o);n||(n=a.isInvalid);for(let o in r)(i=r)[l=o]||(i[l]=a.validationDetails[o])}return r.valid=!n,{isInvalid:n,validationErrors:[...e],validationDetails:r}}u(dd,"$e5be200c675c3b3a$export$75ee7c75d68f5b0e");function Pw(t,e,n){let{isDisabled:r=!1,isReadOnly:i=!1,value:l,name:a,children:o,"aria-label":s,"aria-labelledby":c,validationState:d="valid",isInvalid:f}=t,h=u(x=>{x.stopPropagation(),e.setSelected(x.target.checked)},"onChange"),p=o!=null,m=s!=null||c!=null;!p&&!m&&console.warn("If you do not provide children, you must specify an aria-label for accessibility");let{pressProps:g,isPressed:O}=gr({isDisabled:r}),{pressProps:b,isPressed:y}=gr({isDisabled:r||i,onPress(){e.toggle()}}),{focusableProps:$}=Qo(t,n),C=te(g,$),w=ft(t,{labelable:!0});return qr(n,e.isSelected,e.setSelected),{labelProps:te(b,{onClick:x=>x.preventDefault()}),inputProps:te(w,{"aria-invalid":f||d==="invalid"||void 0,"aria-errormessage":t["aria-errormessage"],"aria-controls":t["aria-controls"],"aria-readonly":i||void 0,onChange:h,disabled:r,...l==null?{}:{value:l},name:a,type:"checkbox",...C}),isSelected:e.isSelected,isPressed:O||y,isDisabled:r,isReadOnly:i,isInvalid:f||d==="invalid"}}u(Pw,"$d2c8e2b0480f3f34$export$cbe85ee05b554577");function yB(t,e,n){let r=Fn({...t,value:e.isSelected}),{isInvalid:i,validationErrors:l,validationDetails:a}=r.displayValidation,{labelProps:o,inputProps:s,isSelected:c,isPressed:d,isDisabled:f,isReadOnly:h}=Pw({...t,isInvalid:i},e,n);Uo(t,r,n);let{isIndeterminate:p,isRequired:m,validationBehavior:g="aria"}=t;return(0,wp.element.useEffect)(()=>{n.current&&(n.current.indeterminate=!!p)}),{labelProps:o,inputProps:{...s,checked:c,"aria-required":m&&g==="aria"||void 0,required:m&&g==="native"},isSelected:c,isPressed:d,isDisabled:f,isReadOnly:h,isInvalid:i,validationErrors:l,validationDetails:a}}u(yB,"$406796ff087fe49b$export$e375f10ce42261c5");function fd(t){let{id:e,label:n,"aria-labelledby":r,"aria-label":i,labelElementType:l="label"}=t;e=Fe(e);let a=Fe(),o={};n?(r=r?`${a} ${r}`:a,o={id:a,htmlFor:l==="label"?e:void 0}):!r&&!i&&console.warn("If you do not provide a visible label, you must specify an aria-label or aria-labelledby attribute for accessibility");let s=Mn({id:e,"aria-label":i,"aria-labelledby":r});return{labelProps:o,fieldProps:s}}u(fd,"$d191a55c9702f145$export$8467354a121f1b9f");function mt(t){let{description:e,errorMessage:n,isInvalid:r,validationState:i}=t,{labelProps:l,fieldProps:a}=fd(t),o=Kl([!!e,!!n,r,i]),s=Kl([!!e,!!n,r,i]);return a=te(a,{"aria-describedby":[o,s,t["aria-describedby"]].filter(Boolean).join(" ")||void 0}),{labelProps:l,fieldProps:a,descriptionProps:{id:o},errorMessageProps:{id:s}}}u(mt,"$2baaea4c71418dea$export$294aa081a6c6f55d");function Ew(t={}){let{isReadOnly:e}=t,[n,r]=Le(t.isSelected,t.defaultSelected||!1,t.onChange);function i(a){e||r(a)}u(i,"updateSelected");function l(){e||r(!n)}return u(l,"toggleState"),{isSelected:n,setSelected:i,toggle:l}}u(Ew,"$3017fa7ffdddec74$export$8042c6c013fd5226");var Aw={};Aw={colorInputLabel:t=>`${t.label}, ${t.channelLabel}`,colorNameAndValue:t=>`${t.name}: ${t.value}`,colorPicker:"\u0623\u062F\u0627\u0629 \u0627\u0646\u062A\u0642\u0627\u0621 \u0627\u0644\u0644\u0648\u0646",colorSwatch:"\u062A\u063A\u064A\u064A\u0631 \u0627\u0644\u0623\u0644\u0648\u0627\u0646",transparent:"\u0634\u0641\u0627\u0641",twoDimensionalSlider:"\u0645\u064F\u0646\u0632\u0644\u0642 2D"};var Tw={};Tw={colorInputLabel:t=>`${t.label}, ${t.channelLabel}`,colorNameAndValue:t=>`${t.name}: ${t.value}`,colorPicker:"\u0421\u0440\u0435\u0434\u0441\u0442\u0432\u043E \u0437\u0430 \u0438\u0437\u0431\u0438\u0440\u0430\u043D\u0435 \u043D\u0430 \u0446\u0432\u044F\u0442",colorSwatch:"\u0446\u0432\u0435\u0442\u043D\u0430 \u043C\u043E\u0441\u0442\u0440\u0430",transparent:"\u043F\u0440\u043E\u0437\u0440\u0430\u0447\u0435\u043D",twoDimensionalSlider:"2D \u043F\u043B\u044A\u0437\u0433\u0430\u0447"};var Rw={};Rw={colorInputLabel:t=>`${t.label}, ${t.channelLabel}`,colorNameAndValue:t=>`${t.name}: ${t.value}`,colorPicker:"V\xFDb\u011Br barvy",colorSwatch:"barevn\xFD vzorek",transparent:"pr\u016Fhledn\xFD",twoDimensionalSlider:"2D posuvn\xEDk"};var Qw={};Qw={colorInputLabel:t=>`${t.label}, ${t.channelLabel}`,colorNameAndValue:t=>`${t.name}: ${t.value}`,colorPicker:"Farvev\xE6lger",colorSwatch:"farvepr\xF8ve",transparent:"gennemsigtig",twoDimensionalSlider:"2D-skyder"};var Mw={};Mw={colorInputLabel:t=>`${t.label}, ${t.channelLabel}`,colorNameAndValue:t=>`${t.name}: ${t.value}`,colorPicker:"Farbw\xE4hler",colorSwatch:"Farbfeld",transparent:"transparent",twoDimensionalSlider:"2D-Schieberegler"};var Bw={};Bw={colorInputLabel:t=>`${t.label}, ${t.channelLabel}`,colorNameAndValue:t=>`${t.name}: ${t.value}`,colorPicker:"\u0395\u03C0\u03B9\u03BB\u03BF\u03B3\u03AD\u03B1\u03C2 \u03C7\u03C1\u03C9\u03BC\u03AC\u03C4\u03C9\u03BD",colorSwatch:"\u03C7\u03C1\u03C9\u03BC\u03B1\u03C4\u03B9\u03BA\u03CC \u03B4\u03B5\u03AF\u03B3\u03BC\u03B1",transparent:"\u03B4\u03B9\u03B1\u03C6\u03B1\u03BD\u03AD\u03C2",twoDimensionalSlider:"\u03A1\u03C5\u03B8\u03BC\u03B9\u03C3\u03C4\u03B9\u03BA\u03CC 2D"};var Vw={};Vw={colorPicker:"Color picker",twoDimensionalSlider:"2D slider",colorNameAndValue:t=>`${t.name}: ${t.value}`,colorInputLabel:t=>`${t.label}, ${t.channelLabel}`,colorSwatch:"color swatch",transparent:"transparent"};var Nw={};Nw={colorInputLabel:t=>`${t.label}, ${t.channelLabel}`,colorNameAndValue:t=>`${t.name}: ${t.value}`,colorPicker:"Selector de color",colorSwatch:"muestra de color",transparent:"transparente",twoDimensionalSlider:"Regulador 2D"};var Fw={};Fw={colorInputLabel:t=>`${t.label}, ${t.channelLabel}`,colorNameAndValue:t=>`${t.name}: ${t.value}`,colorPicker:"V\xE4rvivalija",colorSwatch:"v\xE4rvin\xE4idis",transparent:"l\xE4bipaistev",twoDimensionalSlider:"2D-liugur"};var Iw={};Iw={colorInputLabel:t=>`${t.label}, ${t.channelLabel}`,colorNameAndValue:t=>`${t.name}: ${t.value}`,colorPicker:"V\xE4rimuokkain",colorSwatch:"v\xE4rimalli",transparent:"l\xE4pin\xE4kyv\xE4",twoDimensionalSlider:"2D-liukus\xE4\xE4din"};var Zw={};Zw={colorInputLabel:t=>`${t.label}, ${t.channelLabel}`,colorNameAndValue:t=>`${t.name}\xA0: ${t.value}`,colorPicker:"S\xE9lecteur de couleurs",colorSwatch:"\xC9chantillon de couleurs",transparent:"Transparent",twoDimensionalSlider:"Curseur\xA02D"};var zw={};zw={colorInputLabel:t=>`${t.label}, ${t.channelLabel}`,colorNameAndValue:t=>`${t.name}: ${t.value}`,colorPicker:"\u05D1\u05D5\u05D7\u05E8 \u05D4\u05E6\u05D1\u05E2\u05D9\u05DD",colorSwatch:"\u05D3\u05D5\u05D2\u05DE\u05D9\u05EA \u05E6\u05D1\u05E2",transparent:"\u05E9\u05E7\u05D5\u05E3",twoDimensionalSlider:"\u05DE\u05D7\u05D5\u05D5\u05DF \u05D3\u05D5 \u05DE\u05D9\u05DE\u05D3\u05D9"};var Lw={};Lw={colorInputLabel:t=>`${t.label}, ${t.channelLabel}`,colorNameAndValue:t=>`${t.name}: ${t.value}`,colorPicker:"Odabir boje",colorSwatch:"uzorak boje",transparent:"transparentno",twoDimensionalSlider:"2D kliza\u010D"};var Ww={};Ww={colorInputLabel:t=>`${t.label}, ${t.channelLabel}`,colorNameAndValue:t=>`${t.name}: ${t.value}`,colorPicker:"Sz\xEDnv\xE1laszt\xF3",colorSwatch:"sz\xEDnt\xE1r",transparent:"\xE1tl\xE1tsz\xF3",twoDimensionalSlider:"2D-cs\xFAszka"};var Xw={};Xw={colorInputLabel:t=>`${t.label}, ${t.channelLabel}`,colorNameAndValue:t=>`${t.name}: ${t.value}`,colorPicker:"Selettore colore",colorSwatch:"campione di colore",transparent:"trasparente",twoDimensionalSlider:"Cursore 2D"};var jw={};jw={colorInputLabel:t=>`${t.label}\u3001${t.channelLabel}`,colorNameAndValue:t=>`${t.name} : ${t.value}`,colorPicker:"\u30AB\u30E9\u30FC\u30D4\u30C3\u30AB\u30FC",colorSwatch:"\u30AB\u30E9\u30FC\u30B9\u30A6\u30A9\u30C3\u30C1",transparent:"\u900F\u660E",twoDimensionalSlider:"2D \u30B9\u30E9\u30A4\u30C0\u30FC"};var qw={};qw={colorInputLabel:t=>`${t.label}, ${t.channelLabel}`,colorNameAndValue:t=>`${t.name}: ${t.value}`,colorPicker:"\uC0C9\uC0C1 \uD53C\uCEE4",colorSwatch:"\uC0C9\uC0C1 \uACAC\uBCF8",transparent:"\uD22C\uBA85\uB3C4",twoDimensionalSlider:"2D \uC2AC\uB77C\uC774\uB354"};var Uw={};Uw={colorInputLabel:t=>`${t.label}, ${t.channelLabel}`,colorNameAndValue:t=>`${t.name}: ${t.value}`,colorPicker:"Spalv\u0173 parinkiklis",colorSwatch:"spalv\u0173 pavyzdys",transparent:"skaidrus",twoDimensionalSlider:"2D slankiklis"};var Yw={};Yw={colorInputLabel:t=>`${t.label}, ${t.channelLabel}`,colorNameAndValue:t=>`${t.name}: ${t.value}`,colorPicker:"Kr\u0101su atlas\u012Bt\u0101js",colorSwatch:"kr\u0101su paraugs",transparent:"caursp\u012Bd\u012Bgs",twoDimensionalSlider:"2D sl\u012Bdnis"};var Kw={};Kw={colorInputLabel:t=>`${t.label}, ${t.channelLabel}`,colorNameAndValue:t=>`${t.name}: ${t.value}`,colorPicker:"Fargevelger",colorSwatch:"fargekart",transparent:"gjennomsiktig",twoDimensionalSlider:"2D-glidebryter"};var Gw={};Gw={colorInputLabel:t=>`${t.label}, ${t.channelLabel}`,colorNameAndValue:t=>`${t.name}: ${t.value}`,colorPicker:"Kleurkiezer",colorSwatch:"kleurstaal",transparent:"transparant",twoDimensionalSlider:"2D-schuifregelaar"};var Hw={};Hw={colorInputLabel:t=>`${t.label}, ${t.channelLabel}`,colorNameAndValue:t=>`${t.name}: ${t.value}`,colorPicker:"Pr\xF3bnik kolor\xF3w",colorSwatch:"pr\xF3bka koloru",transparent:"przezroczysty",twoDimensionalSlider:"Suwak 2D"};var _w={};_w={colorInputLabel:t=>`${t.label}, ${t.channelLabel}`,colorNameAndValue:t=>`${t.name}: ${t.value}`,colorPicker:"Seletor de cores",colorSwatch:"amostra de cores",transparent:"transparente",twoDimensionalSlider:"Controle deslizante 2D"};var Jw={};Jw={colorInputLabel:t=>`${t.label}, ${t.channelLabel}`,colorNameAndValue:t=>`${t.name}: ${t.value}`,colorPicker:"Seletor de cores",colorSwatch:"amostra de cor",transparent:"transparente",twoDimensionalSlider:"Controle deslizante 2D"};var ex={};ex={colorInputLabel:t=>`${t.label}, ${t.channelLabel}`,colorNameAndValue:t=>`${t.name}: ${t.value}`,colorPicker:"Selector de culori",colorSwatch:"specimen de culoare",transparent:"transparent",twoDimensionalSlider:"Glisor 2D"};var tx={};tx={colorInputLabel:t=>`${t.label}, ${t.channelLabel}`,colorNameAndValue:t=>`${t.name}: ${t.value}`,colorPicker:"\u041F\u0430\u043B\u0438\u0442\u0440\u0430 \u0446\u0432\u0435\u0442\u043E\u0432",colorSwatch:"\u0446\u0432\u0435\u0442\u043E\u0432\u043E\u0439 \u043E\u0431\u0440\u0430\u0437\u0435\u0446",transparent:"\u043F\u0440\u043E\u0437\u0440\u0430\u0447\u043D\u044B\u0439",twoDimensionalSlider:"\u041F\u043E\u043B\u0437\u0443\u043D\u043E\u043A 2D"};var nx={};nx={colorInputLabel:t=>`${t.label}, ${t.channelLabel}`,colorNameAndValue:t=>`${t.name}: ${t.value}`,colorPicker:"V\xFDber farieb",colorSwatch:"vzorkovn\xEDk farieb",transparent:"transparentn\xFD",twoDimensionalSlider:"2D jazdec"};var rx={};rx={colorInputLabel:t=>`${t.label}, ${t.channelLabel}`,colorNameAndValue:t=>`${t.name}: ${t.value}`,colorPicker:"Izbirnik barv",colorSwatch:"barvna paleta",transparent:"prozorno",twoDimensionalSlider:"2D drsnik"};var ix={};ix={colorInputLabel:t=>`${t.label}, ${t.channelLabel}`,colorNameAndValue:t=>`${t.name}: ${t.value}`,colorPicker:"Bira\u010D boja",colorSwatch:"Uzorak boje",transparent:"providno",twoDimensionalSlider:"2D kliza\u010D"};var lx={};lx={colorInputLabel:t=>`${t.label}, ${t.channelLabel}`,colorNameAndValue:t=>`${t.name}: ${t.value}`,colorPicker:"F\xE4rgv\xE4ljaren",colorSwatch:"f\xE4rgruta",transparent:"genomskinlig",twoDimensionalSlider:"2D-reglage"};var ax={};ax={colorInputLabel:t=>`${t.label}, ${t.channelLabel}`,colorNameAndValue:t=>`${t.name}: ${t.value}`,colorPicker:"Renk Se\xE7ici",colorSwatch:"renk \xF6rne\u011Fi",transparent:"saydam",twoDimensionalSlider:"2D s\xFCrg\xFC"};var ox={};ox={colorInputLabel:t=>`${t.label}, ${t.channelLabel}`,colorNameAndValue:t=>`${t.name}: ${t.value}`,colorPicker:"\u041F\u0430\u043B\u0456\u0442\u0440\u0430 \u043A\u043E\u043B\u044C\u043E\u0440\u0456\u0432",colorSwatch:"\u0437\u0440\u0430\u0437\u043E\u043A \u043A\u043E\u043B\u044C\u043E\u0440\u0443",transparent:"\u043F\u0440\u043E\u0437\u043E\u0440\u0438\u0439",twoDimensionalSlider:"\u041F\u043E\u0432\u0437\u0443\u043D\u043E\u043A 2D"};var sx={};sx={colorInputLabel:t=>`${t.label}\u3001${t.channelLabel}`,colorNameAndValue:t=>`${t.name}\uFF1A${t.value}`,colorPicker:"\u62FE\u8272\u5668",colorSwatch:"\u989C\u8272\u8272\u677F",transparent:"\u900F\u660E",twoDimensionalSlider:"2D \u6ED1\u5757"};var ux={};ux={colorInputLabel:t=>`${t.label}\uFF0C${t.channelLabel}`,colorNameAndValue:t=>`${t.name}\uFF1A${t.value}`,colorPicker:"\u6AA2\u8272\u5668",colorSwatch:"\u8272\u7968",transparent:"\u900F\u660E",twoDimensionalSlider:"2D \u6ED1\u687F"};var cx={};cx={"ar-AE":Aw,"bg-BG":Tw,"cs-CZ":Rw,"da-DK":Qw,"de-DE":Mw,"el-GR":Bw,"en-US":Vw,"es-ES":Nw,"et-EE":Fw,"fi-FI":Iw,"fr-FR":Zw,"he-IL":zw,"hr-HR":Lw,"hu-HU":Ww,"it-IT":Xw,"ja-JP":jw,"ko-KR":qw,"lt-LT":Uw,"lv-LV":Yw,"nb-NO":Kw,"nl-NL":Gw,"pl-PL":Hw,"pt-BR":_w,"pt-PT":Jw,"ro-RO":ex,"ru-RU":tx,"sk-SK":nx,"sl-SI":rx,"sr-SP":ix,"sv-SE":lx,"tr-TR":ax,"uk-UA":ox,"zh-CN":sx,"zh-TW":ux};var dx={};dx={alpha:"\u0623\u0644\u0641\u0627",black:"\u0623\u0633\u0648\u062F",blue:"\u0623\u0632\u0631\u0642","blue purple":"\u0623\u0631\u062C\u0648\u0627\u0646\u064A \u0645\u0632\u0631\u0642",brightness:"\u0627\u0644\u0633\u0637\u0648\u0639",brown:"\u0628\u0646\u064A","brown yellow":"\u0623\u0635\u0641\u0631 \u0628\u0646\u064A",colorName:t=>`${t.lightness} ${t.chroma} ${t.hue}`,cyan:"\u0633\u0645\u0627\u0648\u064A","cyan blue":"\u0623\u0632\u0631\u0642 \u0633\u0645\u0627\u0648\u064A",dark:"\u062F\u0627\u0643\u0646",gray:"\u0631\u0645\u0627\u062F\u064A",grayish:"\u0645\u0627\u0626\u0644 \u0644\u0644\u0631\u0645\u0627\u062F\u064A",green:"\u0623\u062E\u0636\u0631","green cyan":"\u0633\u0645\u0627\u0648\u064A \u0645\u062E\u0636\u0631",hue:"\u062F\u0631\u062C\u0629 \u0627\u0644\u0644\u0648\u0646",light:"\u0641\u0627\u062A\u062D",lightness:"\u0627\u0644\u0625\u0636\u0627\u0621\u0629",magenta:"\u0623\u0631\u062C\u0648\u0627\u0646\u064A","magenta pink":"\u0623\u0631\u062C\u0648\u0627\u0646\u064A \u0648\u0631\u062F\u064A",orange:"\u0628\u0631\u062A\u0642\u0627\u0644\u064A","orange yellow":"\u0623\u0635\u0641\u0631 \u0628\u0631\u062A\u0642\u0627\u0644\u064A",pale:"\u0628\u0627\u0647\u062A",pink:"\u0648\u0631\u062F\u064A","pink red":"\u0623\u062D\u0645\u0631 \u0648\u0631\u062F\u064A",purple:"\u0623\u0631\u062C\u0648\u0627\u0646\u064A","purple magenta":"\u0628\u0646\u0641\u0633\u062C\u064A",red:"\u0623\u062D\u0645\u0631","red orange":"\u0628\u0631\u062A\u0642\u0627\u0644\u064A \u0645\u062D\u0645\u0631",saturation:"\u0627\u0644\u062A\u0634\u0628\u0639",transparentColorName:t=>`${t.lightness} ${t.chroma} ${t.hue}, ${t.percentTransparent} \u0634\u0641\u0627\u0641`,"very dark":"\u062F\u0627\u0643\u0646 \u062C\u062F\u064B\u0627","very light":"\u0641\u0627\u062A\u062D \u062C\u062F\u064B\u0627",vibrant:"\u0633\u0627\u0637\u0639",white:"\u0623\u0628\u064A\u0636",yellow:"\u0623\u0635\u0641\u0631","yellow green":"\u0623\u062E\u0636\u0631 \u0645\u0635\u0641\u0631"};var fx={};fx={alpha:"\u0410\u043B\u0444\u0430",black:"\u0447\u0435\u0440\u043D\u043E",blue:"\u0421\u0438\u043D\u044C\u043E","blue purple":"\u0441\u0438\u043D\u044C\u043E \u043B\u0438\u043B\u0430\u0432\u043E",brightness:"\u042F\u0440\u043A\u043E\u0441\u0442",brown:"\u043A\u0430\u0444\u044F\u0432\u043E","brown yellow":"\u043A\u0430\u0444\u044F\u0432\u043E \u0436\u044A\u043B\u0442\u043E",colorName:t=>`${t.lightness} ${t.chroma} ${t.hue}`,cyan:"\u0446\u0438\u0430\u043D","cyan blue":"\u0446\u0438\u0430\u043D \u0441\u0438\u043D\u044C\u043E",dark:"\u0442\u044A\u043C\u043D\u043E",gray:"\u0441\u0438\u0432\u043E",grayish:"\u0441\u0438\u0432\u043A\u0430\u0432",green:"\u0417\u0435\u043B\u0435\u043D\u043E","green cyan":"\u0437\u0435\u043B\u0435\u043D \u0446\u0438\u0430\u043D",hue:"\u041E\u0442\u0442\u0435\u043D\u044A\u043A",light:"\u0441\u0432\u0435\u0442\u043B\u043E",lightness:"\u041B\u0435\u043A\u043E\u0442\u0430",magenta:"\u043C\u0430\u0433\u0435\u043D\u0442\u0430","magenta pink":"\u043C\u0430\u0433\u0435\u043D\u0442\u0430 \u0440\u043E\u0437\u043E\u0432\u043E",orange:"\u043E\u0440\u0430\u043D\u0436\u0435\u0432\u043E","orange yellow":"\u043E\u0440\u0430\u043D\u0436\u0435\u0432\u043E \u0436\u044A\u043B\u0442\u043E",pale:"\u0431\u043B\u0435\u0434\u043E",pink:"\u0440\u043E\u0437\u043E\u0432\u043E","pink red":"\u0440\u043E\u0437\u043E\u0432\u043E \u0447\u0435\u0440\u0432\u0435\u043D\u043E",purple:"\u043B\u0438\u043B\u0430\u0432\u043E","purple magenta":"\u043B\u0438\u043B\u0430\u0432\u043E \u043C\u0430\u0433\u0435\u043D\u0442\u0430",red:"\u0427\u0435\u0440\u0432\u0435\u043D\u043E","red orange":"\u0447\u0435\u0440\u0432\u0435\u043D \u043F\u043E\u0440\u0442\u043E\u043A\u0430\u043B",saturation:"\u041D\u0430\u0441\u0438\u0442\u0435\u043D\u043E\u0441\u0442",transparentColorName:t=>`${t.lightness} ${t.chroma} ${t.hue}, ${t.percentTransparent} \u043F\u0440\u043E\u0437\u0440\u0430\u0447\u0435\u043D`,"very dark":"\u043C\u043D\u043E\u0433\u043E \u0442\u044A\u043C\u043D\u043E","very light":"\u043C\u043D\u043E\u0433\u043E \u0441\u0432\u0435\u0442\u043B\u043E",vibrant:" \u044F\u0440\u043A\u043E",white:"\u0431\u044F\u043B\u043E",yellow:"\u0436\u044A\u043B\u0442\u043E","yellow green":"\u0436\u044A\u043B\u0442\u043E \u0437\u0435\u043B\u0435\u043D"};var hx={};hx={alpha:"Alfa",black:"\u010Dern\xE1",blue:"Modr\xE1","blue purple":"modrofialov\xE1",brightness:"Jas",brown:"hn\u011Bd\xE1","brown yellow":"hn\u011Bdo\u017Elut\xE1",colorName:t=>`${t.lightness} ${t.chroma} ${t.hue}`,cyan:"tyrkysov\xE1","cyan blue":"tyrkysovomodr\xE1",dark:"tmav\xE1",gray:"\u0161ed\xE1",grayish:"na\u0161edl\xE1",green:"Zelen\xE1","green cyan":"zelenotyrkysov\xE1",hue:"Odst\xEDn",light:"sv\u011Btl\xE1",lightness:"Sv\u011Btlost",magenta:"purpurov\xE1","magenta pink":"purpurov\u011B r\u016F\u017Eov\xE1",orange:"oran\u017Eov\xE1","orange yellow":"oran\u017Eovo\u017Elut\xE1",pale:"bled\xE1",pink:"r\u016F\u017Eov\xE1","pink red":"r\u016F\u017Eovo\u010Derven\xE1",purple:"fialov\xE1","purple magenta":"fialov\u011B purpurov\xE1",red:"\u010Cerven\xE1","red orange":"\u010Dervenooran\u017Eov\xE1",saturation:"Sytost",transparentColorName:t=>`${t.lightness} ${t.chroma} ${t.hue}, ${t.percentTransparent} pr\u016Fhledn\xE9`,"very dark":"velmi tmav\xE1","very light":"velmi sv\u011Btl\xE1",vibrant:"z\xE1\u0159iv\xE1",white:"b\xEDl\xE1",yellow:"\u017Elut\xE1","yellow green":"\u017Elutozelen\xE1"};var px={};px={alpha:"Alfa",black:"sort",blue:"Bl\xE5","blue purple":"bl\xE5lilla",brightness:"Lysstyrke",brown:"brun","brown yellow":"brungul",colorName:t=>`${t.lightness} ${t.chroma} ${t.hue}`,cyan:"cyan","cyan blue":"cyan bl\xE5",dark:"m\xF8rk",gray:"gr\xE5",grayish:"gr\xE5lig",green:"Gr\xF8n","green cyan":"gr\xF8n cyan",hue:"Tone",light:"lys",lightness:"Lyshed",magenta:"magenta","magenta pink":"magenta pink",orange:"orange","orange yellow":"orangegul",pale:"bleg",pink:"lyser\xF8d","pink red":"lyser\xF8dlig r\xF8d",purple:"lilla","purple magenta":"lilla magenta",red:"R\xF8d","red orange":"r\xF8dorange",saturation:"Farvem\xE6tning",transparentColorName:t=>`${t.lightness} ${t.chroma} ${t.hue}, ${t.percentTransparent} gennemsigtig`,"very dark":"meget m\xF8rk","very light":"meget lys",vibrant:"klar",white:"hvid",yellow:"gul","yellow green":"gulgr\xF8n"};var mx={};mx={alpha:"Alpha",black:"Schwarz",blue:"Blau","blue purple":"Blaulila",brightness:"Helligkeit",brown:"Braun","brown yellow":"Braungelb",colorName:t=>`${t.lightness} ${t.chroma} ${t.hue}`,cyan:"Cyan","cyan blue":"Cyanblau",dark:"dunkles",gray:"Grau",grayish:"gr\xE4uliches",green:"Gr\xFCn","green cyan":"Gr\xFCncyan",hue:"Farbton",light:"helles",lightness:"Leuchtkraft",magenta:"Magenta","magenta pink":"Magentarosa",orange:"Orange","orange yellow":"Orangegelb",pale:"blasses",pink:"Rosa","pink red":"Rosarot",purple:"Lila","purple magenta":"Lilamagenta",red:"Rot","red orange":"Rotorange",saturation:"S\xE4ttigung",transparentColorName:t=>`${t.lightness} ${t.chroma} ${t.hue}, zu ${t.percentTransparent} transparent`,"very dark":"sehr dunkles","very light":"sehr helles",vibrant:"lebhaftes",white:"Wei\xDF",yellow:"Gelb","yellow green":"Gelbgr\xFCn"};var gx={};gx={alpha:"\u0386\u03BB\u03C6\u03B1",black:"\u03BC\u03B1\u03CD\u03C1\u03BF",blue:"\u039C\u03C0\u03BB\u03B5","blue purple":"\u03BC\u03C0\u03BB\u03B5 \u03BC\u03C9\u03B2",brightness:"\u03A6\u03C9\u03C4\u03B5\u03B9\u03BD\u03CC\u03C4\u03B7\u03C4\u03B1",brown:"\u03BA\u03B1\u03C6\u03AD","brown yellow":"\u03BA\u03B1\u03C6\u03AD \u03BA\u03AF\u03C4\u03C1\u03B9\u03BD\u03BF",colorName:t=>`${t.lightness} ${t.chroma} ${t.hue}`,cyan:"\u03BA\u03C5\u03B1\u03BD\u03CC","cyan blue":"\u03BA\u03C5\u03B1\u03BD\u03CC \u03BC\u03C0\u03BB\u03B5",dark:"\u03C3\u03BA\u03BF\u03CD\u03C1\u03BF",gray:"\u03B3\u03BA\u03C1\u03B9",grayish:"\u03B3\u03BA\u03C1\u03B9\u03B6\u03C9\u03C0\u03CC",green:"\u03A0\u03C1\u03AC\u03C3\u03B9\u03BD\u03BF","green cyan":"\u03C0\u03C1\u03AC\u03C3\u03B9\u03BD\u03BF \u03BA\u03C5\u03B1\u03BD\u03CC",hue:"\u03A4\u03CC\u03BD\u03BF\u03C2",light:"\u03B1\u03BD\u03BF\u03B9\u03C7\u03C4\u03CC",lightness:"\u03A6\u03C9\u03C4\u03B5\u03B9\u03BD\u03CC\u03C4\u03B7\u03C4\u03B1",magenta:"\u03BC\u03B1\u03C4\u03B6\u03AD\u03BD\u03C4\u03B1","magenta pink":"\u03BC\u03B1\u03C4\u03B6\u03AD\u03BD\u03C4\u03B1 \u03C1\u03BF\u03B6",orange:"\u03C0\u03BF\u03C1\u03C4\u03BF\u03BA\u03B1\u03BB\u03AF","orange yellow":"\u03C0\u03BF\u03C1\u03C4\u03BF\u03BA\u03B1\u03BB\u03AF \u03BA\u03AF\u03C4\u03C1\u03B9\u03BD\u03BF",pale:"\u03B1\u03BD\u03BF\u03B9\u03C7\u03C4\u03CC",pink:"\u03C1\u03BF\u03B6","pink red":"\u03C1\u03BF\u03B6 \u03BA\u03CC\u03BA\u03BA\u03B9\u03BD\u03BF",purple:"\u03BC\u03C9\u03B2","purple magenta":"\u03BC\u03C9\u03B2 \u03BC\u03B1\u03C4\u03B6\u03AD\u03BD\u03C4\u03B1",red:"\u039A\u03CC\u03BA\u03BA\u03B9\u03BD\u03BF","red orange":"\u03BA\u03CC\u03BA\u03BA\u03B9\u03BD\u03BF \u03C0\u03BF\u03C1\u03C4\u03BF\u03BA\u03B1\u03BB\u03AF",saturation:"\u039A\u03BF\u03C1\u03B5\u03C3\u03BC\u03CC\u03C2",transparentColorName:t=>`${t.lightness} ${t.chroma} ${t.hue}, ${t.percentTransparent} \u03B4\u03B9\u03B1\u03C6\u03B1\u03BD\u03AD\u03C2`,"very dark":"\u03C0\u03BF\u03BB\u03CD \u03C3\u03BA\u03BF\u03CD\u03C1\u03BF","very light":"\u03C0\u03BF\u03BB\u03CD \u03B1\u03BD\u03BF\u03B9\u03C7\u03C4\u03CC",vibrant:"\u03AD\u03BD\u03C4\u03BF\u03BD\u03BF",white:"\u03BB\u03B5\u03C5\u03BA\u03CC",yellow:"\u03BA\u03AF\u03C4\u03C1\u03B9\u03BD\u03BF","yellow green":"\u03BA\u03AF\u03C4\u03C1\u03B9\u03BD\u03BF \u03C0\u03C1\u03AC\u03C3\u03B9\u03BD\u03BF"};var Ox={};Ox={hue:"Hue",saturation:"Saturation",lightness:"Lightness",brightness:"Brightness",red:"Red",green:"Green",blue:"Blue",alpha:"Alpha",colorName:t=>`${t.lightness} ${t.chroma} ${t.hue}`,transparentColorName:t=>`${t.lightness} ${t.chroma} ${t.hue}, ${t.percentTransparent} transparent`,"very dark":"very dark",dark:"dark",light:"light","very light":"very light",pale:"pale",grayish:"grayish",vibrant:"vibrant",black:"black",white:"white",gray:"gray",pink:"pink","pink red":"pink red","red orange":"red orange",brown:"brown",orange:"orange","orange yellow":"orange yellow","brown yellow":"brown yellow",yellow:"yellow","yellow green":"yellow green","green cyan":"green cyan",cyan:"cyan","cyan blue":"cyan blue","blue purple":"blue purple",purple:"purple","purple magenta":"purple magenta",magenta:"magenta","magenta pink":"magenta pink"};var bx={};bx={alpha:"Alpha",black:"negro",blue:"Azul","blue purple":"p\xFArpura azulado",brightness:"Brillo",brown:"marr\xF3n","brown yellow":"amarillo amarronado",colorName:t=>`${t.lightness} ${t.chroma} ${t.hue}`,cyan:"cian","cyan blue":"azul cian",dark:"oscuro",gray:"gris",grayish:"gris\xE1ceo",green:"Verde","green cyan":"cian verdoso",hue:"Tono",light:"claro",lightness:"Luminosidad",magenta:"magenta","magenta pink":"rosa magenta",orange:"naranja","orange yellow":"amarillo anaranjado",pale:"p\xE1lido",pink:"rosa","pink red":"rojo rosado",purple:"morado","purple magenta":"magenta viol\xE1ceo",red:"Rojo","red orange":"naranja rojizo",saturation:"Saturaci\xF3n",transparentColorName:t=>`${t.lightness} ${t.chroma} ${t.hue}, ${t.percentTransparent} transparente`,"very dark":"muy oscuro","very light":"muy claro",vibrant:"intenso",white:"blanco",yellow:"amarillo","yellow green":"verde amarillento"};var yx={};yx={alpha:"Alfa",black:"must",blue:"Sinine","blue purple":"sinakaslilla",brightness:"Heledus",brown:"pruun","brown yellow":"pruunikaskollane",colorName:t=>`${t.lightness} ${t.chroma} ${t.hue}`,cyan:"ts\xFCaan","cyan blue":"ts\xFCaansinine",dark:"tume",gray:"hall",grayish:"hallikas",green:"Roheline","green cyan":"ts\xFCaanroheline",hue:"V\xE4rv",light:"valgus",lightness:"Valgus",magenta:"magentapunane","magenta pink":"magentaroosa",orange:"oran\u017E","orange yellow":"oran\u017Eikaskollane",pale:"kahvatu",pink:"roosa","pink red":"vaarikapunane",purple:"lilla","purple magenta":"purpurne magenta",red:"Punane","red orange":"punakasoran\u017E",saturation:"K\xFCllastus",transparentColorName:t=>`${t.lightness} ${t.chroma} ${t.hue}, ${t.percentTransparent} l\xE4bipaistev`,"very dark":"v\xE4ga tume","very light":"v\xE4ga hele",vibrant:"ere",white:"valge",yellow:"kollane","yellow green":"kollakasroheline"};var vx={};vx={alpha:"Alpha",black:"musta",blue:"Sininen","blue purple":"sinivioletti",brightness:"Kirkkaus",brown:"ruskea","brown yellow":"ruskeankeltainen",colorName:t=>`${t.lightness} ${t.chroma} ${t.hue}`,cyan:"syaani","cyan blue":"syaaninsininen",dark:"tumma",gray:"harmaa",grayish:"harmahtava",green:"Vihre\xE4","green cyan":"vihre\xE4nsyaani",hue:"S\xE4vy",light:"vaalea",lightness:"Valom\xE4\xE4r\xE4",magenta:"magenta","magenta pink":"magentapinkki",orange:"oranssi","orange yellow":"oranssinkeltainen",pale:"vaalea",pink:"pinkki","pink red":"vaaleanpunainen",purple:"violetti","purple magenta":"violettimagenta",red:"Punainen","red orange":"punaoranssi",saturation:"V\xE4rikyll\xE4isyys",transparentColorName:t=>`${t.lightness} ${t.chroma} ${t.hue}, ${t.percentTransparent} l\xE4pin\xE4kyv\xE4`,"very dark":"hyvin tumma","very light":"eritt\xE4in vaalea",vibrant:"eloisa",white:"valkea",yellow:"keltainen","yellow green":"keltavihre\xE4"};var $x={};$x={alpha:"Alpha",black:"Noir",blue:"Bleu","blue purple":"Violet bleu",brightness:"Luminosit\xE9",brown:"Brun","brown yellow":"Jaune brun",colorName:t=>`${t.lightness} ${t.chroma} ${t.hue}`,cyan:"Cyan","cyan blue":"Bleu cyan",dark:"Sombre",gray:"Gris",grayish:"Gris\xE2tre",green:"Vert","green cyan":"Cyan vert",hue:"Teinte",light:"Clair",lightness:"Luminosit\xE9",magenta:"Magenta","magenta pink":"Rose magenta",orange:"Orange","orange yellow":"Jaune orang\xE9",pale:"P\xE2le",pink:"Rose","pink red":"Rouge ros\xE9",purple:"Violet","purple magenta":"Magenta violet",red:"Rouge","red orange":"Orange rouge",saturation:"Saturation",transparentColorName:t=>`${t.lightness} ${t.chroma} ${t.hue}, ${t.percentTransparent} transparent`,"very dark":"Tr\xE8s sombre","very light":"Tr\xE8s clair",vibrant:"Vif",white:"Blanc",yellow:"Jaune","yellow green":"Vert jaune"};var wx={};wx={alpha:"\u05D0\u05DC\u05E4\u05D0",black:"\u05E9\u05D7\u05D5\u05E8",blue:"\u05DB\u05D7\u05D5\u05DC","blue purple":"\u05DB\u05D7\u05D5\u05DC \u05E1\u05D2\u05D5\u05DC",brightness:"\u05D1\u05D4\u05D9\u05E8\u05D5\u05EA",brown:"\u05D7\u05D5\u05DD","brown yellow":"\u05D7\u05D5\u05DD \u05E6\u05D4\u05D5\u05D1",colorName:t=>`${t.lightness} ${t.chroma} ${t.hue}`,cyan:"\u05D8\u05D5\u05E8\u05E7\u05D9\u05D6","cyan blue":"\u05DB\u05D7\u05D5\u05DC \u05E6\u05D9\u05D0\u05DF",dark:"\u05DB\u05D4\u05D4",gray:"\u05D0\u05E4\u05D5\u05E8",grayish:"\u05D0\u05E4\u05E8\u05E4\u05E8",green:"\u05D9\u05E8\u05D5\u05E7","green cyan":"\u05E6\u05D9\u05D0\u05DF \u05D9\u05E8\u05D5\u05E7",hue:"\u05D2\u05D5\u05D5\u05DF",light:"\u05D0\u05D5\u05E8",lightness:"\u05DB\u05DE\u05D5\u05EA \u05D0\u05D5\u05E8",magenta:"\u05DE\u05D2'\u05E0\u05D8\u05D4","magenta pink":"\u05D5\u05E8\u05D5\u05D3 \u05DE\u05D2'\u05E0\u05D8\u05D4",orange:"\u05DB\u05EA\u05D5\u05DD","orange yellow":"\u05DB\u05EA\u05D5\u05DD \u05E6\u05D4\u05D5\u05D1",pale:"\u05D7\u05D9\u05D5\u05D5\u05E8",pink:"\u05D5\u05E8\u05D5\u05D3","pink red":"\u05D5\u05E8\u05D5\u05D3 \u05D0\u05D3\u05D5\u05DD",purple:"\u05E1\u05D2\u05D5\u05DC","purple magenta":"\u05DE\u05D2'\u05E0\u05D8\u05D4 \u05E1\u05D2\u05D5\u05DC",red:"\u05D0\u05D3\u05D5\u05DD","red orange":"\u05DB\u05EA\u05D5\u05DD \u05D0\u05D3\u05D5\u05DD",saturation:"\u05E8\u05D5\u05D5\u05D9\u05D4",transparentColorName:t=>`${t.lightness} ${t.chroma} ${t.hue}, ${t.percentTransparent} \u05E9\u05E7\u05D5\u05E3`,"very dark":"\u05DB\u05D4\u05D4 \u05DE\u05D0\u05D5\u05D3","very light":"\u05D1\u05D4\u05D9\u05E8 \u05DE\u05D0\u05D5\u05D3",vibrant:"\u05EA\u05D5\u05E1\u05E1",white:"\u05DC\u05D1\u05DF",yellow:"\u05E6\u05D4\u05D5\u05D1","yellow green":"\u05E6\u05D4\u05D5\u05D1 \u05D9\u05E8\u05D5\u05E7"};var xx={};xx={alpha:"Alfa",black:"crno",blue:"Plava","blue purple":"plavo ljubi\u010Dasta",brightness:"Svjetlina",brown:"sme\u0111a","brown yellow":"sme\u0111e \u017Euta",colorName:t=>`${t.lightness} ${t.chroma} ${t.hue}`,cyan:"cijan","cyan blue":"cijan plava",dark:"tamno",gray:"siva",grayish:"sivkasto",green:"Zelena","green cyan":"zelena cijan",hue:"Nijansa",light:"svjetlo",lightness:"Osvijetljenost",magenta:"magenta","magenta pink":"magentno ru\u017Ei\u010Dasta",orange:"naran\u010Dasta","orange yellow":"naran\u010Dasto \u017Euta",pale:"blijeda",pink:"ru\u017Ei\u010Dasta","pink red":"ru\u017Ei\u010Dasto crvena",purple:"ljubi\u010Dasta","purple magenta":"ljubi\u010Dasta magenta",red:"Crvena","red orange":"crveno naran\u010Dasta",saturation:"Zasi\u0107enost",transparentColorName:t=>`${t.lightness} ${t.chroma} ${t.hue}, ${t.percentTransparent} prozirnosti`,"very dark":"jako tamna","very light":"vrlo svijetlo",vibrant:"vibrantna",white:"bijela",yellow:"\u017Euto","yellow green":"\u017Euto zelena"};var Sx={};Sx={alpha:"Alfa",black:"fekete",blue:"K\xE9k","blue purple":"k\xE9k lila",brightness:"F\xE9nyess\xE9g",brown:"barna","brown yellow":"barna s\xE1rga",colorName:t=>`${t.lightness} ${t.chroma} ${t.hue}`,cyan:"ci\xE1nk\xE9k","cyan blue":"ci\xE1nk\xE9k",dark:"s\xF6t\xE9t",gray:"sz\xFCrke",grayish:"sz\xFCrk\xE9s",green:"Z\xF6ld","green cyan":"z\xF6ld ci\xE1nk\xE9k",hue:"Sz\xEDn\xE1rnyalat",light:"vil\xE1gos",lightness:"Vil\xE1goss\xE1g",magenta:"b\xEDbor","magenta pink":"b\xEDbor r\xF3zsasz\xEDn",orange:"narancs","orange yellow":"narancss\xE1rga",pale:"halv\xE1ny",pink:"r\xF3zsasz\xEDn","pink red":"r\xF3zsasz\xEDn piros",purple:"lila","purple magenta":"lila b\xEDbor",red:"Piros","red orange":"piros narancs",saturation:"Tel\xEDtetts\xE9g",transparentColorName:t=>`${t.lightness} ${t.chroma} ${t.hue}, ${t.percentTransparent} \xE1tl\xE1tsz\xF3`,"very dark":"nagyon s\xF6t\xE9t","very light":"nagyon vil\xE1gos",vibrant:"\xE9l\xE9nk",white:"feh\xE9r",yellow:"s\xE1rga","yellow green":"s\xE1rga z\xF6ld"};var Cx={};Cx={alpha:"Alfa",black:"nero",blue:"Blu","blue purple":"blu viola",brightness:"Luminosit\xE0",brown:"marrone","brown yellow":"giallo bruno",colorName:t=>`${t.hue} ${t.chroma} ${t.lightness}`,cyan:"ciano","cyan blue":"blu ciano",dark:"scuro",gray:"grigio",grayish:"grigiastro",green:"Verde","green cyan":"verde ciano",hue:"Tonalit\xE0",light:"chiaro",lightness:"Luminosit\xE0",magenta:"magenta","magenta pink":"rosa magenta",orange:"arancio","orange yellow":"giallo arancio",pale:"tenue",pink:"rosa","pink red":"rosa rosso",purple:"viola","purple magenta":"viola magenta",red:"Rosso","red orange":"rosso arancio",saturation:"Saturazione",transparentColorName:t=>`${t.hue} ${t.chroma} ${t.lightness}, trasparenza ${t.percentTransparent}`,"very dark":"molto scuro","very light":"molto chiaro",vibrant:"vivace",white:"bianco",yellow:"giallo","yellow green":"giallo verde"};var Dx={};Dx={alpha:"\u30A2\u30EB\u30D5\u30A1",black:"\u30D6\u30E9\u30C3\u30AF",blue:"\u9752","blue purple":"\u30D6\u30EB\u30FC\u30D1\u30FC\u30D7\u30EB",brightness:"\u660E\u308B\u3055",brown:"\u30D6\u30E9\u30A6\u30F3","brown yellow":"\u30D6\u30E9\u30A6\u30F3\u30A4\u30A8\u30ED\u30FC",colorName:t=>`${t.lightness} ${t.chroma} ${t.hue}`,cyan:"\u30B7\u30A2\u30F3","cyan blue":"\u30B7\u30A2\u30F3\u30D6\u30EB\u30FC",dark:"\u30C0\u30FC\u30AF",gray:"\u30B0\u30EC\u30FC",grayish:"\u30B0\u30EC\u30A4\u30C3\u30B7\u30E5",green:"\u7DD1","green cyan":"\u30B0\u30EA\u30FC\u30F3\u30B7\u30A2\u30F3",hue:"\u8272\u76F8",light:"\u30E9\u30A4\u30C8",lightness:"\u660E\u5EA6",magenta:"\u30DE\u30BC\u30F3\u30BF","magenta pink":"\u30DE\u30BC\u30F3\u30BF\u30D4\u30F3\u30AF",orange:"\u30AA\u30EC\u30F3\u30B8","orange yellow":"\u30AA\u30EC\u30F3\u30B8\u30A4\u30A8\u30ED\u30FC",pale:"\u30DA\u30FC\u30EB",pink:"\u30D4\u30F3\u30AF","pink red":"\u30D4\u30F3\u30AF\u30EC\u30C3\u30C9",purple:"\u30D1\u30FC\u30D7\u30EB","purple magenta":"\u30D1\u30FC\u30D7\u30EB\u30DE\u30BC\u30F3\u30BF",red:"\u8D64","red orange":"\u30EC\u30C3\u30C9\u30AA\u30EC\u30F3\u30B8",saturation:"\u5F69\u5EA6",transparentColorName:t=>`${t.lightness} ${t.chroma} ${t.hue}, ${t.percentTransparent} \u900F\u660E`,"very dark":"\u6700\u3082\u6697\u3044","very light":"\u30D9\u30EA\u30FC\u30E9\u30A4\u30C8",vibrant:"\u9BAE\u3084\u304B",white:"\u30DB\u30EF\u30A4\u30C8",yellow:"\u30A4\u30A8\u30ED\u30FC","yellow green":"\u30A4\u30A8\u30ED\u30FC\u30B0\u30EA\u30FC\u30F3"};var kx={};kx={alpha:"\uC54C\uD30C",black:"\uAC80\uC740\uC0C9",blue:"\uD30C\uB791","blue purple":"\uCCAD\uC790\uC0C9",brightness:"\uBA85\uB3C4",brown:"\uAC08\uC0C9","brown yellow":"\uD669\uAC08\uC0C9",colorName:t=>`${t.lightness}, ${t.chroma}, ${t.hue}`,cyan:"\uCCAD\uB85D\uC0C9","cyan blue":"\uCCAD\uB85D\uC0C9",dark:"\uB2E4\uD06C",gray:"\uD68C\uC0C9",grayish:"\uD68C\uAC08\uC0C9",green:"\uCD08\uB85D","green cyan":"\uCCAD\uB85D\uC0C9",hue:"\uC0C9\uC870",light:"\uB77C\uC774\uD2B8",lightness:"\uBC1D\uAE30",magenta:"\uC790\uD64D\uC0C9","magenta pink":"\uB9C8\uC820\uD0C0 \uD551\uD06C",orange:"\uC8FC\uD669\uC0C9","orange yellow":"\uBD88\uADF8\uC2A4\uB984\uD55C \uB178\uB791",pale:"\uD759\uC0C9",pink:"\uBD84\uD64D\uC0C9","pink red":"\uD551\uD06C \uB808\uB4DC",purple:"\uC790\uC8FC\uC0C9","purple magenta":"\uBCF4\uB77C\uBE5B \uC790\uD64D\uC0C9",red:"\uBE68\uAC15","red orange":"\uBD89\uC740 \uC8FC\uD669\uC0C9",saturation:"\uCC44\uB3C4",transparentColorName:t=>`${t.lightness}, ${t.chroma}, ${t.hue}, ${t.percentTransparent} \uD22C\uBA85\uB3C4`,"very dark":"\uB9E4\uC6B0 \uC5B4\uB450\uC6B4","very light":"\uB9E4\uC6B0 \uC5F0\uD568",vibrant:"\uAC15\uB82C\uD55C",white:"\uD770\uC0C9",yellow:"\uB178\uB780\uC0C9","yellow green":"\uC5F0\uB450\uC0C9"};var Px={};Px={alpha:"Alfa",black:"juoda",blue:"M\u0117lyna","blue purple":"melsvai violetin\u0117",brightness:"Ry\u0161kumas",brown:"ruda","brown yellow":"rusvai geltona",colorName:t=>`${t.lightness} ${t.chroma} ${t.hue}`,cyan:"\u017Ealsvai m\u0117lyna","cyan blue":"\u017Ealsvai m\u0117lyna",dark:"tamsi",gray:"pilka",grayish:"pilk\u0161va",green:"\u017Dalia","green cyan":"\u017Ealsvai m\u0117lyna",hue:"Atspalvis",light:"\u0161viesi",lightness:"\u0160viesumas",magenta:"rausvai raudona","magenta pink":"purpurin\u0117",orange:"oran\u017Ein\u0117","orange yellow":"oran\u017Einio atspalvio geltona",pale:"bly\u0161ki",pink:"ro\u017Ein\u0117","pink red":"ro\u017Ein\u0117 raudona",purple:"violetin\u0117","purple magenta":"purpurin\u0117 rausvai raudona",red:"Raudona","red orange":"rausvai oran\u017Ein\u0117",saturation:"\u012Esotinimas",transparentColorName:t=>`${t.lightness} ${t.chroma} ${t.hue}, ${t.percentTransparent} skaidri`,"very dark":"labai tamsi","very light":"labai \u0161viesi",vibrant:"ry\u0161ki",white:"balta",yellow:"geltona","yellow green":"gelsvai \u017Ealia"};var Ex={};Ex={alpha:"Alfa",black:"melns",blue:"Zila","blue purple":"zili violets",brightness:"Spilgtums",brown:"br\u016Bns","brown yellow":"br\u016Bni dzeltens",colorName:t=>`${t.lightness} ${t.chroma} ${t.hue}`,cyan:"ci\u0101ns","cyan blue":"ci\u0101na zils",dark:"tum\u0161s",gray:"pel\u0113ks",grayish:"pel\u0113c\u012Bgs",green:"Za\u013Ca","green cyan":"za\u013C\u0161 ci\u0101ns",hue:"Nokr\u0101sa",light:"gai\u0161s",lightness:"Gai\u0161ums",magenta:"fuksiju","magenta pink":"fuksiju roz\u0101",orange:"oran\u017Es","orange yellow":"oran\u017Ei dzeltens",pale:"b\u0101ls",pink:"roz\u0101","pink red":"roz\u012Bgi sarkans",purple:"violets","purple magenta":"violets fuksiju",red:"Sarkana","red orange":"sarkan\u012Bgi oran\u017Es",saturation:"Pies\u0101tin\u0101jums",transparentColorName:t=>`${t.lightness} ${t.chroma} ${t.hue}, ${t.percentTransparent} caursp\u012Bd\u012Bgs`,"very dark":"\u013Coti tum\u0161s","very light":"\u013Coti gai\u0161s",vibrant:"ko\u0161s",white:"balts",yellow:"dzeltens","yellow green":"dzelteni za\u013C\u0161"};var Ax={};Ax={alpha:"Alfa",black:"svart",blue:"Bl\xE5","blue purple":"bl\xE5lilla",brightness:"Lysstyrke",brown:"brun","brown yellow":"brungul",colorName:t=>`${t.lightness} ${t.chroma} ${t.hue}`,cyan:"cyan","cyan blue":"cyanbl\xE5",dark:"m\xF8rk",gray:"gr\xE5",grayish:"gr\xE5aktig",green:"Gr\xF8nn","green cyan":"gr\xF8nncyan",hue:"Fargetone",light:"lys",lightness:"Lyshet",magenta:"magenta","magenta pink":"magentarosa",orange:"oransje","orange yellow":"oransjegul",pale:"blek",pink:"rosa","pink red":"rosar\xF8d",purple:"lilla","purple magenta":"lillamagenta",red:"R\xF8d","red orange":"r\xF8doransje",saturation:"Metning",transparentColorName:t=>`${t.lightness} ${t.chroma} ${t.hue}, ${t.percentTransparent} gjennomsiktig`,"very dark":"sv\xE6rt m\xF8rk","very light":"sv\xE6rt lys",vibrant:"levende",white:"hvit",yellow:"gul","yellow green":"gulgr\xF8nn"};var Tx={};Tx={alpha:"Alfa",black:"zwart",blue:"Blauw","blue purple":"paarsblauw",brightness:"Helderheid",brown:"bruin","brown yellow":"bruingeel",colorName:t=>`${t.lightness} ${t.chroma} ${t.hue}`,cyan:"cyaan","cyan blue":"cyaanblauw",dark:"donker",gray:"grijs",grayish:"grijsachtig",green:"Groen","green cyan":"cyaangroen",hue:"Kleurtoon",light:"licht",lightness:"Lichtsterkte",magenta:"magenta","magenta pink":"magentaroze",orange:"oranje","orange yellow":"oranjegeel",pale:"bleek",pink:"roze","pink red":"rozerood",purple:"paars","purple magenta":"magentapaars",red:"Rood","red orange":"roodoranje",saturation:"Verzadiging",transparentColorName:t=>`${t.lightness} ${t.chroma} ${t.hue}, ${t.percentTransparent} transparant`,"very dark":"heel donker","very light":"heel licht",vibrant:"levendig",white:"wit",yellow:"geel","yellow green":"geelgroen"};var Rx={};Rx={alpha:"Alfa",black:"czarny",blue:"Niebieski","blue purple":"niebiesko-fioletowy",brightness:"Jasno\u015B\u0107",brown:"br\u0105zowy","brown yellow":"br\u0105zowo-\u017C\xF3\u0142ty",colorName:t=>`${t.lightness} ${t.chroma} ${t.hue}`,cyan:"cyjanowy","cyan blue":"cyjanowo-niebieski",dark:"ciemny",gray:"szary",grayish:"szarawy",green:"Zielony","green cyan":"zielono-cyjanowy",hue:"Odcie\u0144",light:"jasny",lightness:"Jaskrawo\u015B\u0107",magenta:"purpurowy","magenta pink":"purpurowo-r\xF3\u017Cowy",orange:"pomara\u0144czowy","orange yellow":"pomara\u0144czowo-\u017C\xF3\u0142ty",pale:"blady",pink:"r\xF3\u017Cowy","pink red":"r\xF3\u017Cowo-czerwony",purple:"fioletowy","purple magenta":"fioletowo-purpurowy",red:"Czerwony","red orange":"czerwono-pomara\u0144czowy",saturation:"Nasycenie",transparentColorName:t=>`${t.lightness} ${t.chroma} ${t.hue}, ${t.percentTransparent} przezroczysto\u015Bci`,"very dark":"bardzo ciemny","very light":"bardzo jasny",vibrant:"intensywny",white:"bia\u0142y",yellow:"\u017C\xF3\u0142ty","yellow green":"\u017C\xF3\u0142to-zielony"};var Qx={};Qx={alpha:"Alfa",black:"preto",blue:"Azul","blue purple":"roxo azulado",brightness:"Brilho",brown:"marrom","brown yellow":"marrom amarelado",colorName:t=>`${t.lightness} ${t.chroma} ${t.hue}`,cyan:"ciano","cyan blue":"azul-ciano",dark:"escuro",gray:"cinza",grayish:"acinzentado",green:"Verde","green cyan":"verde-ciano",hue:"Matiz",light:"claro",lightness:"Luminosidade",magenta:"magenta","magenta pink":"rosa-magenta",orange:"laranja","orange yellow":"amarelo alaranjado",pale:"p\xE1lido",pink:"rosa","pink red":"rosa avermelhado",purple:"roxo","purple magenta":"roxo-magenta",red:"Vermelho","red orange":"laranja avermelhado",saturation:"Satura\xE7\xE3o",transparentColorName:t=>`${t.lightness} ${t.chroma} ${t.hue}, ${t.percentTransparent} transparente`,"very dark":"muito escuro","very light":"muito claro",vibrant:"vibrante",white:"branco",yellow:"amarelo","yellow green":"verde amarelado"};var Mx={};Mx={alpha:"Alfa",black:"preto",blue:"Azul","blue purple":"azul-p\xFArpura",brightness:"Luminosidade",brown:"castanho","brown yellow":"amarelo-castanho",colorName:t=>`${t.lightness} ${t.chroma} ${t.hue}`,cyan:"ciano","cyan blue":"azul-ciano",dark:"escuro",gray:"cinzento",grayish:"acinzentado",green:"Verde","green cyan":"verde-ciano",hue:"Tonalidade",light:"claro",lightness:"Claridade",magenta:"magenta","magenta pink":"rosa-magenta",orange:"laranja","orange yellow":"amarelo-laranja",pale:"p\xE1lido",pink:"cor-de-rosa","pink red":"vermelho-rosa",purple:"p\xFArpura","purple magenta":"p\xFArpura-magenta",red:"Vermelho","red orange":"laranja-vermelho",saturation:"Satura\xE7\xE3o",transparentColorName:t=>`${t.lightness} ${t.chroma} ${t.hue}, ${t.percentTransparent} transparente`,"very dark":"muito escuro","very light":"muito claro",vibrant:"vibrante",white:"branco",yellow:"amarelo","yellow green":"verde-amarelo"};var Bx={};Bx={alpha:"Alfa",black:"negru",blue:"Albastru","blue purple":"albastru-violet",brightness:"Luminozitate",brown:"maro","brown yellow":"galben maro",colorName:t=>`${t.lightness} ${t.chroma} ${t.hue}`,cyan:"bleu","cyan blue":"albastru-bleu",dark:"\xEEnchis",gray:"gri",grayish:"cenu\u0219iu",green:"Verde","green cyan":"verde bleu",hue:"Nuan\u021B\u0103",light:"deschis",lightness:"Luminozitate",magenta:"fucsia","magenta pink":"roz-fucsia",orange:"portocaliu","orange yellow":"galben-portocaliu",pale:"pal",pink:"roz","pink red":"roz-ro\u0219u",purple:"violet","purple magenta":"violet-fucsia",red:"Ro\u0219u","red orange":"portocaliu-ro\u0219u",saturation:"Satura\u021Bie",transparentColorName:t=>`${t.lightness} ${t.chroma} ${t.hue}, ${t.percentTransparent} transparent`,"very dark":"foarte \xEEnchis","very light":"foarte deschis",vibrant:"plin de via\u021B\u0103",white:"alb",yellow:"galben","yellow green":"galben-verde"};var Vx={};Vx={alpha:"\u0410\u043B\u044C\u0444\u0430",black:"\u0447\u0435\u0440\u043D\u044B\u0439",blue:"\u0421\u0438\u043D\u0438\u0439","blue purple":"\u0441\u0438\u043D\u0435-\u0444\u0438\u043E\u043B\u0435\u0442\u043E\u0432\u044B\u0439",brightness:"\u042F\u0440\u043A\u043E\u0441\u0442\u044C",brown:"\u043A\u043E\u0440\u0438\u0447\u043D\u0435\u0432\u044B\u0439","brown yellow":"\u043A\u043E\u0440\u0438\u0447\u043D\u0435\u0432\u043E-\u0436\u0435\u043B\u0442\u044B\u0439",colorName:t=>`${t.lightness} ${t.chroma} ${t.hue}`,cyan:"\u0433\u043E\u043B\u0443\u0431\u043E\u0439","cyan blue":"\u0446\u0432\u0435\u0442 \u043C\u043E\u0440\u0441\u043A\u043E\u0439 \u0432\u043E\u043B\u043D\u044B",dark:"\u0442\u0435\u043C\u043D\u044B\u0439",gray:"\u0441\u0435\u0440\u044B\u0439",grayish:"\u0441\u0435\u0440\u043E\u0432\u0430\u0442\u044B\u0439",green:"\u0417\u0435\u043B\u0435\u043D\u044B\u0439","green cyan":"\u0441\u0438\u043D\u0435-\u0437\u0435\u043B\u0435\u043D\u044B\u0439",hue:"\u041E\u0442\u0442\u0435\u043D\u043E\u043A",light:"\u0441\u0432\u0435\u0442\u043B\u044B\u0439",lightness:"\u041E\u0441\u0432\u0435\u0449\u0435\u043D\u043D\u043E\u0441\u0442\u044C",magenta:"\u043F\u0443\u0440\u043F\u0443\u0440\u043D\u044B\u0439","magenta pink":"\u043F\u0443\u0440\u043F\u0443\u0440\u043D\u043E-\u0440\u043E\u0437\u043E\u0432\u044B\u0439",orange:"\u043E\u0440\u0430\u043D\u0436\u0435\u0432\u044B\u0439","orange yellow":"\u043E\u0440\u0430\u043D\u0436\u0435\u0432\u043E-\u0436\u0435\u043B\u0442\u044B\u0439",pale:"\u0431\u043B\u0435\u0434\u043D\u044B\u0439",pink:"\u0440\u043E\u0437\u043E\u0432\u044B\u0439","pink red":"\u0440\u043E\u0437\u043E\u0432\u043E-\u043A\u0440\u0430\u0441\u043D\u044B\u0439",purple:"\u0444\u0438\u043E\u043B\u0435\u0442\u043E\u0432\u044B\u0439","purple magenta":"\u0444\u0438\u043E\u043B\u0435\u0442\u043E\u0432\u043E-\u043F\u0443\u0440\u043F\u0443\u0440\u043D\u044B\u0439",red:"\u041A\u0440\u0430\u0441\u043D\u044B\u0439","red orange":"\u043A\u0440\u0430\u0441\u043D\u043E-\u043E\u0440\u0430\u043D\u0436\u0435\u0432\u044B\u0439",saturation:"\u041D\u0430\u0441\u044B\u0449\u0435\u043D\u043D\u043E\u0441\u0442\u044C",transparentColorName:t=>`${t.lightness} ${t.chroma} ${t.hue}, \u043F\u0440\u043E\u0437\u0440\u0430\u0447\u043D\u044B\u0439 \u043D\u0430 ${t.percentTransparent}`,"very dark":"\u043E\u0447\u0435\u043D\u044C \u0442\u0435\u043C\u043D\u044B\u0439","very light":"\u043E\u0447\u0435\u043D\u044C \u0441\u0432\u0435\u0442\u043B\u044B\u0439",vibrant:"\u044F\u0440\u043A\u0438\u0439",white:"\u0431\u0435\u043B\u044B\u0439",yellow:"\u0436\u0435\u043B\u0442\u044B\u0439","yellow green":"\u0436\u0435\u043B\u0442\u043E-\u0437\u0435\u043B\u0435\u043D\u044B\u0439"};var Nx={};Nx={alpha:"Alfa",black:"\u010Dierna",blue:"Modr\xE1","blue purple":"modrofialov\xE1",brightness:"Jas",brown:"hned\xE1","brown yellow":"hnedo\u017Elt\xE1",colorName:t=>`${t.lightness} ${t.chroma} ${t.hue}`,cyan:"az\xFArov\xE1","cyan blue":"az\xFArov\xE1 modr\xE1",dark:"tmav\xE1",gray:"siv\xE1",grayish:"sivast\xE1",green:"Zelen\xE1","green cyan":"zelen\xE1 az\xFArov\xE1",hue:"Odtie\u0148",light:"svetl\xE1",lightness:"Svetlos\u0165",magenta:"purpurov\xE1","magenta pink":"ru\u017Eov\xE1 purpurov\xE1",orange:"oran\u017Eov\xE1","orange yellow":"oran\u017Eovo\u017Elt\xE1",pale:"bled\xE1",pink:"ru\u017Eov\xE1","pink red":"ru\u017Eovo\u010Derven\xE1",purple:"fialov\xE1","purple magenta":"fialov\xE1 purpurov\xE1",red:"\u010Cerven\xE1","red orange":"\u010Dervenooran\u017Eov\xE1",saturation:"S\xFDtos\u0165",transparentColorName:t=>`${t.lightness} ${t.chroma} ${t.hue}, ${t.percentTransparent} prieh\u013Eadn\xE1`,"very dark":"ve\u013Emi tmav\xE1","very light":"ve\u013Emi svetl\xE1",vibrant:"energick\xE1",white:"biela",yellow:"\u017Elt\xE1","yellow green":"\u017Eltozelen\xE1"};var Fx={};Fx={alpha:"Alfa",black:"\u010Drna",blue:"Modra","blue purple":"modro vijoli\u010Dna",brightness:"Svetlost",brown:"rjava","brown yellow":"rjavo rumena",colorName:t=>`${t.lightness} ${t.chroma} ${t.hue}`,cyan:"cian","cyan blue":"cian modra",dark:"temna",gray:"siva",grayish:"sivkasta",green:"Zelena","green cyan":"zelena cian",hue:"Barva",light:"svetla",lightness:"Lahkost",magenta:"\u0161krlatna","magenta pink":"\u0161krlatno roza",orange:"oran\u017Ena","orange yellow":"oran\u017Eno rumena",pale:"bleda",pink:"roza","pink red":"roza rde\u010Da",purple:"vijoli\u010Dna","purple magenta":"vijoli\u010Dno \u0161krlatna",red:"Rde\u010Da","red orange":"rde\u010De oran\u017Ena",saturation:"Nasi\u010Denost",transparentColorName:t=>`${t.lightness} ${t.chroma} ${t.hue}, ${t.percentTransparent} prozorna`,"very dark":"zelo temna","very light":"zelo svetla",vibrant:"\u017Eivahna",white:"bela",yellow:"rumena","yellow green":"rumeno zelena"};var Ix={};Ix={alpha:"Alfa",black:"crno",blue:"Plava","blue purple":"plavoljubi\u010Dasta",brightness:"Osvetljenost",brown:"sme\u0111a","brown yellow":"sme\u0111e\u017Euta",colorName:t=>`${t.lightness} ${t.chroma} ${t.hue}`,cyan:"cijan","cyan blue":"cijan plava",dark:"tamno",gray:"siva",grayish:"sivkasta",green:"Zelena","green cyan":"zeleno cijan",hue:"Nijansa",light:"svetla",lightness:"Osvetljenje",magenta:"purpurnocrvena","magenta pink":"magenta ru\u017Ei\u010Dasta",orange:"narand\u017Easta","orange yellow":"narand\u017Easto\u017Euta",pale:"bledo",pink:"ru\u017Ei\u010Dasta","pink red":"ru\u017Ei\u010Dastocrvena",purple:"ljubi\u010Dasta","purple magenta":"ljubi\u010Dasta magenta",red:"Crvena","red orange":"crvenonarand\u017Easta",saturation:"Zasi\u0107enje",transparentColorName:t=>`${t.lightness} ${t.chroma} ${t.hue}, ${t.percentTransparent} prozirna`,"very dark":"veoma tamno","very light":"vrlo svetlo",vibrant:"\u017Eivopisna",white:"bela",yellow:"\u017Euto","yellow green":"\u017Eutozelena"};var Zx={};Zx={alpha:"Alfa",black:"svart",blue:"Bl\xE5tt","blue purple":"bl\xE5lila",brightness:"Ljusstyrka",brown:"brun","brown yellow":"brungul",colorName:t=>`${t.lightness} ${t.chroma} ${t.hue}`,cyan:"cyan","cyan blue":"cyanbl\xE5",dark:"m\xF6rk",gray:"gr\xE5",grayish:"gr\xE5aktig",green:"Gr\xF6nt","green cyan":"gr\xF6n cyan",hue:"Nyans",light:"ljus",lightness:"Ljushet",magenta:"magenta","magenta pink":"magentarosa",orange:"orange","orange yellow":"orangegul",pale:"blek",pink:"rosa","pink red":"rosar\xF6d",purple:"lila","purple magenta":"lila magenta",red:"R\xF6tt","red orange":"r\xF6dorange",saturation:"M\xE4ttnad",transparentColorName:t=>`${t.lightness} ${t.chroma} ${t.hue}, ${t.percentTransparent} genomskinlig`,"very dark":"mycket m\xF6rk","very light":"mycket ljus",vibrant:"livfull",white:"vit",yellow:"gul","yellow green":"gulgr\xF6n"};var zx={};zx={alpha:"Alfa",black:"siyah",blue:"Mavi","blue purple":"mavi mor",brightness:"Parlakl\u0131k",brown:"kahverengi","brown yellow":"kahverengi sar\u0131",colorName:t=>`${t.lightness} ${t.chroma} ${t.hue}`,cyan:"camg\xF6be\u011Fi","cyan blue":"camg\xF6be\u011Fi mavi",dark:"koyu",gray:"gri",grayish:"grimsi",green:"Ye\u015Fil","green cyan":"ye\u015Fil camg\xF6be\u011Fi",hue:"Ton",light:"a\xE7\u0131k",lightness:"Canl\u0131l\u0131k",magenta:"eflatun","magenta pink":"eflatun pembe",orange:"turuncu","orange yellow":"turuncu sar\u0131",pale:"solgun",pink:"pembe","pink red":"pembe k\u0131rm\u0131z\u0131",purple:"mor","purple magenta":"mor eflatun",red:"K\u0131rm\u0131z\u0131","red orange":"k\u0131rm\u0131z\u0131 portakal",saturation:"Doygunluk",transparentColorName:t=>`${t.lightness} ${t.chroma} ${t.hue}, ${t.percentTransparent} saydam`,"very dark":"\xE7ok koyu","very light":"\xE7ok a\xE7\u0131k",vibrant:"canl\u0131",white:"beyaz",yellow:"sar\u0131","yellow green":"sar\u0131 ye\u015Fil"};var Lx={};Lx={alpha:"\u0410\u043B\u044C\u0444\u0430",black:"\u0447\u043E\u0440\u043D\u0438\u0439",blue:"\u0421\u0438\u043D\u0456\u0439","blue purple":"\u0441\u0438\u043D\u044C\u043E-\u0444\u0456\u043E\u043B\u0435\u0442\u043E\u0432\u0438\u0439",brightness:"\u042F\u0441\u043A\u0440\u0430\u0432\u0456\u0441\u0442\u044C",brown:"\u043A\u043E\u0440\u0438\u0447\u043D\u0435\u0432\u0438\u0439","brown yellow":"\u043A\u043E\u0440\u0438\u0447\u043D\u0435\u0432\u043E-\u0436\u043E\u0432\u0442\u0438\u0439",colorName:t=>`${t.lightness} ${t.chroma} ${t.hue}`,cyan:"\u0431\u043B\u0430\u043A\u0438\u0442\u043D\u0438\u0439","cyan blue":"\u0441\u0438\u043D\u044C\u043E-\u0431\u043B\u0430\u043A\u0438\u0442\u043D\u0438\u0439",dark:"\u0442\u0435\u043C\u043D\u0438\u0439",gray:"\u0441\u0456\u0440\u0438\u0439",grayish:"\u0441\u0456\u0440\u0443\u0432\u0430\u0442\u0438\u0439",green:"\u0417\u0435\u043B\u0435\u043D\u0438\u0439","green cyan":"\u0437\u0435\u043B\u0435\u043D\u043E-\u0431\u043B\u0430\u043A\u0438\u0442\u043D\u0438\u0439",hue:"\u0422\u043E\u043D",light:"\u0441\u0432\u0456\u0442\u043B\u0438\u0439",lightness:"\u041E\u0441\u0432\u0456\u0442\u043B\u0435\u043D\u0456\u0441\u0442\u044C",magenta:"\u043F\u0443\u0440\u043F\u0443\u0440\u043E\u0432\u0438\u0439","magenta pink":"\u043F\u0443\u0440\u043F\u0443\u0440\u043E\u0432\u043E-\u0440\u043E\u0436\u0435\u0432\u0438\u0439",orange:"\u043F\u043E\u043C\u0430\u0440\u0430\u043D\u0447\u0435\u0432\u0438\u0439","orange yellow":"\u043F\u043E\u043C\u0430\u0440\u0430\u043D\u0447\u0435\u0432\u043E-\u0436\u043E\u0432\u0442\u0438\u0439",pale:"\u0431\u043B\u0456\u0434\u0438\u0439",pink:"\u0440\u043E\u0436\u0435\u0432\u0438\u0439","pink red":"\u0440\u043E\u0436\u0435\u0432\u043E-\u0447\u0435\u0440\u0432\u043E\u043D\u0438\u0439",purple:"\u0444\u0456\u043E\u043B\u0435\u0442\u043E\u0432\u0438\u0439","purple magenta":"\u0444\u0456\u043E\u043B\u0435\u0442\u043E\u0432\u043E-\u043F\u0443\u0440\u043F\u0443\u0440\u043E\u0432\u0438\u0439",red:"\u0427\u0435\u0440\u0432\u043E\u043D\u0438\u0439","red orange":"\u0447\u0435\u0440\u0432\u043E\u043D\u043E-\u043F\u043E\u043C\u0430\u0440\u0430\u043D\u0447\u0435\u0432\u0438\u0439",saturation:"\u041D\u0430\u0441\u0438\u0447\u0435\u043D\u0456\u0441\u0442\u044C",transparentColorName:t=>`${t.lightness} ${t.chroma} ${t.hue}, \u043F\u0440\u043E\u0437\u043E\u0440\u0438\u0439 \u043D\u0430 ${t.percentTransparent}`,"very dark":"\u0434\u0443\u0436\u0435 \u0442\u0435\u043C\u043D\u0438\u0439","very light":"\u0434\u0443\u0436\u0435 \u0441\u0432\u0456\u0442\u043B\u0438\u0439",vibrant:"\u044F\u0441\u043A\u0440\u0430\u0432\u0438\u0439",white:"\u0431\u0456\u043B\u0438\u0439",yellow:"\u0436\u043E\u0432\u0442\u0438\u0439","yellow green":"\u0436\u043E\u0432\u0442\u043E-\u0437\u0435\u043B\u0435\u043D\u0438\u0439"};var Wx={};Wx={alpha:"Alpha",black:"\u9ED1\u8272",blue:"\u84DD\u8272","blue purple":"\u84DD\u7D2B\u8272",brightness:"\u4EAE\u5EA6",brown:"\u68D5\u8272\u7684","brown yellow":"\u68D5\u9EC4\u8272",colorName:t=>`${t.lightness} ${t.chroma} ${t.hue}`,cyan:"\u84DD\u7EFF\u8272","cyan blue":"\u9752\u84DD\u8272",dark:"\u6DF1\u8272",gray:"\u7070\u8272",grayish:"\u6D45\u7070\u8272\u7684",green:"\u7EFF\u8272","green cyan":"\u7EFF\u9752\u8272",hue:"\u8272\u76F8",light:"\u6D45\u8272",lightness:"\u660E\u4EAE\u5EA6",magenta:"\u7D2B\u7EA2\u8272","magenta pink":"\u7D2B\u7C89\u8272",orange:"\u6A59\u8272","orange yellow":"\u6A59\u9EC4\u8272",pale:"\u82CD\u767D\u7684",pink:"\u7C89\u8272","pink red":"\u7C89\u7EA2\u8272",purple:"\u7D2B\u8272","purple magenta":"\u7D2B\u6D0B\u7EA2\u8272",red:"\u7EA2\u8272","red orange":"\u7EA2\u6A59\u8272",saturation:"\u9971\u548C\u5EA6",transparentColorName:t=>`${t.lightness} ${t.chroma} ${t.hue}, ${t.percentTransparent} \u900F\u660E`,"very dark":"\u5F88\u6697","very light":"\u5F88\u6D45",vibrant:"\u751F\u673A\u52C3\u52C3",white:"\u767D\u8272",yellow:"\u9EC4\u8272","yellow green":"\u9EC4\u8272/\u7EFF\u8272"};var Xx={};Xx={alpha:"Alpha",black:"\u9ED1",blue:"\u85CD\u8272","blue purple":"\u85CD\u7D2B",brightness:"\u4EAE\u5EA6",brown:"\u68D5","brown yellow":"\u68D5\u9EC3",colorName:t=>`${t.lightness} ${t.chroma} ${t.hue}`,cyan:"\u9752","cyan blue":"\u9752\u85CD",dark:"\u6697",gray:"\u7070",grayish:"\u504F\u7070",green:"\u7DA0\u8272","green cyan":"\u9752\u7DA0",hue:"\u8272\u76F8",light:"\u6DFA",lightness:"\u660E\u4EAE",magenta:"\u6D0B\u7D05","magenta pink":"\u6DFA\u6D0B\u7D05",orange:"\u6A59","orange yellow":"\u6A59\u9EC3",pale:"\u6DE1",pink:"\u7C89\u7D05","pink red":"\u7C89\u7D05",purple:"\u7D2B","purple magenta":"\u7D2B\u6D0B\u7D05",red:"\u7D05\u8272","red orange":"\u6A59\u7D05",saturation:"\u98FD\u548C\u5EA6",transparentColorName:t=>`${t.lightness} ${t.chroma} ${t.hue}, ${t.percentTransparent} \u900F\u660E`,"very dark":"\u5F88\u6697","very light":"\u5F88\u6DFA",vibrant:"\u9BAE\u8C54",white:"\u767D",yellow:"\u9EC3","yellow green":"\u9EC3\u7DA0"};var jx={};jx={"ar-AE":dx,"bg-BG":fx,"cs-CZ":hx,"da-DK":px,"de-DE":mx,"el-GR":gx,"en-US":Ox,"es-ES":bx,"et-EE":yx,"fi-FI":vx,"fr-FR":$x,"he-IL":wx,"hr-HR":xx,"hu-HU":Sx,"it-IT":Cx,"ja-JP":Dx,"ko-KR":kx,"lt-LT":Px,"lv-LV":Ex,"nb-NO":Ax,"nl-NL":Tx,"pl-PL":Rx,"pt-BR":Qx,"pt-PT":Mx,"ro-RO":Bx,"ru-RU":Vx,"sk-SK":Nx,"sl-SI":Fx,"sr-SP":Ix,"sv-SE":Zx,"tr-TR":zx,"uk-UA":Lx,"zh-CN":Wx,"zh-TW":Xx};function vB(t){return t&&t.__esModule?t.default:t}u(vB,"$parcel$interopDefault$b");let sg=new nn(vB(jx));function an(t){let e=ua.parse(t)||ca.parse(t)||da.parse(t);if(e)return e;throw new Error("Invalid color value: "+t)}u(an,"$799cddbef784668f$export$6e865ea70d7724f");function sa(t){return typeof t=="string"?an(t):t}u(sa,"$799cddbef784668f$export$4cde5df63f53f473");function qx(t){return t===360?t:(t%360+360)%360}u(qx,"$799cddbef784668f$export$87f5012e10bb20b2");const Ux=.68,$B=.85,Yx=.55,Kx=.001,ug=[[0,"pink"],[15,"red"],[48,"orange"],[94,"yellow"],[135,"green"],[175,"cyan"],[264,"blue"],[284,"purple"],[320,"magenta"],[349,"pink"]],Ay=class Ay{toHexInt(){return this.toFormat("rgb").toHexInt()}getChannelValue(e){if(e in this)return this[e];throw new Error("Unsupported color channel: "+e)}withChannelValue(e,n){if(e in this){let r=this.clone();return r[e]=n,r}throw new Error("Unsupported color channel: "+e)}getChannelName(e,n){return(nn.getGlobalDictionaryForPackage("@react-stately/color")||sg).getStringForLocale(e,n)}getColorSpaceAxes(e){let{xChannel:n,yChannel:r}=e,i=n||this.getColorChannels().find(o=>o!==r),l=r||this.getColorChannels().find(o=>o!==i),a=this.getColorChannels().find(o=>o!==i&&o!==l);return{xChannel:i,yChannel:l,zChannel:a}}getColorName(e){let[n,r,i]=Gx(this),l=nn.getGlobalDictionaryForPackage("@react-stately/color")||sg;if(n>.999)return l.getStringForLocale("white",e);if(n<.001)return l.getStringForLocale("black",e);let a;[a,n]=this.getOklchHue(n,r,i,e);let o="",s="";r<=.1&&r>=Kx?n>=.7?s="pale":s="grayish":r>=.15&&(s="vibrant"),n<.3?o="very dark":n=o&&ro+(c-o)/2&&s!==d?s=`${s} ${d}`:s==="yellow"&&e<$B&&(s="yellow green"),[l.getStringForLocale(s,i).toLocaleLowerCase(i),e]}throw new Error("Unexpected hue")}getHueName(e){let[n,r,i]=Gx(this),[l]=this.getOklchHue(n,r,i,e);return l}};u(Ay,"$799cddbef784668f$var$Color");let Yo=Ay;const no=class no extends Yo{static parse(e){let n=[];if(/^#[\da-f]+$/i.test(e)&&[4,5,7,9].includes(e.length)){const l=(e.length<6?e.replace(/[^#]/gi,"$&$&"):e).slice(1).split("");for(;l.length>0;)n.push(parseInt(l.splice(0,2).join(""),16));n[3]=n[3]!==void 0?n[3]/255:void 0}const r=e.match(/^rgba?\((.*)\)$/);if(r?.[1]&&(n=r[1].split(",").map(l=>Number(l.trim())),n=n.map((l,a)=>We(l??0,0,a<3?255:1))),!(n[0]===void 0||n[1]===void 0||n[2]===void 0)){var i;return n.length<3?void 0:new no(n[0],n[1],n[2],(i=n[3])!==null&&i!==void 0?i:1)}}toString(e="css"){switch(e){case"hex":return"#"+(this.red.toString(16).padStart(2,"0")+this.green.toString(16).padStart(2,"0")+this.blue.toString(16).padStart(2,"0")).toUpperCase();case"hexa":return"#"+(this.red.toString(16).padStart(2,"0")+this.green.toString(16).padStart(2,"0")+this.blue.toString(16).padStart(2,"0")+Math.round(this.alpha*255).toString(16).padStart(2,"0")).toUpperCase();case"rgb":return`rgb(${this.red}, ${this.green}, ${this.blue})`;case"css":case"rgba":return`rgba(${this.red}, ${this.green}, ${this.blue}, ${this.alpha})`;default:return this.toFormat(e).toString(e)}}toFormat(e){switch(e){case"hex":case"hexa":case"rgb":case"rgba":return this;case"hsb":case"hsba":return this.toHSB();case"hsl":case"hsla":return this.toHSL();default:throw new Error("Unsupported color conversion: rgb -> "+e)}}toHexInt(){return this.red<<16|this.green<<8|this.blue}toHSB(){const e=this.red/255,n=this.green/255,r=this.blue/255,i=Math.min(e,n,r),l=Math.max(e,n,r),a=l-i,o=l===0?0:a/l;let s=0;if(a!==0){switch(l){case e:s=(n-r)/a+(nNumber(s.trim().replace("%","")));return new ro(qx(i),We(l,0,100),We(a,0,100),We(o??1,0,1))}}toString(e="css"){switch(e){case"css":return this.toHSL().toString("css");case"hex":return this.toRGB().toString("hex");case"hexa":return this.toRGB().toString("hexa");case"hsb":return`hsb(${this.hue}, ${Ze(this.saturation,2)}%, ${Ze(this.brightness,2)}%)`;case"hsba":return`hsba(${this.hue}, ${Ze(this.saturation,2)}%, ${Ze(this.brightness,2)}%, ${this.alpha})`;default:return this.toFormat(e).toString(e)}}toFormat(e){switch(e){case"hsb":case"hsba":return this;case"hsl":case"hsla":return this.toHSL();case"rgb":case"rgba":return this.toRGB();default:throw new Error("Unsupported color conversion: hsb -> "+e)}}toHSL(){let e=this.saturation/100,n=this.brightness/100,r=n*(1-e/2);return e=r===0||r===1?0:(n-r)/Math.min(r,1-r),new da(Ze(this.hue,2),Ze(e*100,2),Ze(r*100,2),this.alpha)}toRGB(){let e=this.hue,n=this.saturation/100,r=this.brightness/100,i=u((l,a=(l+e/60)%6)=>r-n*r*Math.max(Math.min(a,4-a,1),0),"fn");return new ua(Math.round(i(5)*255),Math.round(i(3)*255),Math.round(i(1)*255),this.alpha)}clone(){return new ro(this.hue,this.saturation,this.brightness,this.alpha)}getChannelRange(e){switch(e){case"hue":return{minValue:0,maxValue:360,step:1,pageSize:15};case"saturation":case"brightness":return{minValue:0,maxValue:100,step:1,pageSize:10};case"alpha":return{minValue:0,maxValue:1,step:.01,pageSize:.1};default:throw new Error("Unknown color channel: "+e)}}getChannelFormatOptions(e){switch(e){case"hue":return{style:"unit",unit:"degree",unitDisplay:"narrow"};case"saturation":case"brightness":case"alpha":return{style:"percent"};default:throw new Error("Unknown color channel: "+e)}}formatChannelValue(e,n){let r=this.getChannelFormatOptions(e),i=this.getChannelValue(e);return(e==="saturation"||e==="brightness")&&(i/=100),new Nn(n,r).format(i)}getColorSpace(){return"hsb"}getColorChannels(){return ro.colorChannels}constructor(e,n,r,i){super(),this.hue=e,this.saturation=n,this.brightness=r,this.alpha=i}};u(ro,"$799cddbef784668f$var$HSBColor");let ca=ro;ca.colorChannels=["hue","saturation","brightness"];const xB=/hsl\(([-+]?\d+(?:.\d+)?\s*,\s*[-+]?\d+(?:.\d+)?%\s*,\s*[-+]?\d+(?:.\d+)?%)\)|hsla\(([-+]?\d+(?:.\d+)?\s*,\s*[-+]?\d+(?:.\d+)?%\s*,\s*[-+]?\d+(?:.\d+)?%\s*,\s*[-+]?\d(.\d+)?)\)/,io=class io extends Yo{static parse(e){let n;if(n=e.match(xB)){var r;const[i,l,a,o]=((r=n[1])!==null&&r!==void 0?r:n[2]).split(",").map(s=>Number(s.trim().replace("%","")));return new io(qx(i),We(l,0,100),We(a,0,100),We(o??1,0,1))}}toString(e="css"){switch(e){case"hex":return this.toRGB().toString("hex");case"hexa":return this.toRGB().toString("hexa");case"hsl":return`hsl(${this.hue}, ${Ze(this.saturation,2)}%, ${Ze(this.lightness,2)}%)`;case"css":case"hsla":return`hsla(${this.hue}, ${Ze(this.saturation,2)}%, ${Ze(this.lightness,2)}%, ${this.alpha})`;default:return this.toFormat(e).toString(e)}}toFormat(e){switch(e){case"hsl":case"hsla":return this;case"hsb":case"hsba":return this.toHSB();case"rgb":case"rgba":return this.toRGB();default:throw new Error("Unsupported color conversion: hsl -> "+e)}}toHSB(){let e=this.saturation/100,n=this.lightness/100,r=n+e*Math.min(n,1-n);return e=r===0?0:2*(1-n/r),new ca(Ze(this.hue,2),Ze(e*100,2),Ze(r*100,2),this.alpha)}toRGB(){let e=this.hue,n=this.saturation/100,r=this.lightness/100,i=n*Math.min(r,1-r),l=u((a,o=(a+e/30)%12)=>r-i*Math.max(Math.min(o-3,9-o,1),-1),"fn");return new ua(Math.round(l(0)*255),Math.round(l(8)*255),Math.round(l(4)*255),this.alpha)}clone(){return new io(this.hue,this.saturation,this.lightness,this.alpha)}getChannelRange(e){switch(e){case"hue":return{minValue:0,maxValue:360,step:1,pageSize:15};case"saturation":case"lightness":return{minValue:0,maxValue:100,step:1,pageSize:10};case"alpha":return{minValue:0,maxValue:1,step:.01,pageSize:.1};default:throw new Error("Unknown color channel: "+e)}}getChannelFormatOptions(e){switch(e){case"hue":return{style:"unit",unit:"degree",unitDisplay:"narrow"};case"saturation":case"lightness":case"alpha":return{style:"percent"};default:throw new Error("Unknown color channel: "+e)}}formatChannelValue(e,n){let r=this.getChannelFormatOptions(e),i=this.getChannelValue(e);return(e==="saturation"||e==="lightness")&&(i/=100),new Nn(n,r).format(i)}getColorSpace(){return"hsl"}getColorChannels(){return io.colorChannels}constructor(e,n,r,i){super(),this.hue=e,this.saturation=n,this.lightness=r,this.alpha=i}};u(io,"$799cddbef784668f$var$HSLColor");let da=io;da.colorChannels=["hue","saturation","lightness"];function Gx(t){let e=t.toFormat("rgb"),n=e.getChannelValue("red")/255,r=e.getChannelValue("green")/255,i=e.getChannelValue("blue")/255;[n,r,i]=CB(n,r,i);let[l,a,o]=DB(n,r,i),[s,c,d]=kB(l,a,o);return SB(s,c,d)}u(Gx,"$799cddbef784668f$var$toOKLCH");function SB(t,e,n){var r=Math.atan2(n,e)*180/Math.PI;return[t,Math.sqrt(e**2+n**2),r>=0?r:r+360]}u(SB,"$799cddbef784668f$var$OKLab_to_OKLCH");function CB(t,e,n){return[cg(t),cg(e),cg(n)]}u(CB,"$799cddbef784668f$var$lin_sRGB");function cg(t){let e=t<0?-1:1,n=Math.abs(t);return n<=.04045?t/12.92:e*Math.pow((n+.055)/1.055,2.4)}u(cg,"$799cddbef784668f$var$lin_sRGB_component");function DB(t,e,n){return dg([.4123907992659595,.35758433938387796,.1804807884018343,.21263900587151036,.7151686787677559,.07219231536073371,.01933081871559185,.11919477979462599,.9505321522496606],t,e,n)}u(DB,"$799cddbef784668f$var$lin_sRGB_to_XYZ");function kB(t,e,n){const r=[.819022437996703,.3619062600528904,-.1288737815209879,.0329836539323885,.9292868615863434,.0361446663506424,.0481771893596242,.2642395317527308,.6335478284694309],i=[.210454268309314,.7936177747023054,-.0040720430116193,1.9779985324311684,-2.42859224204858,.450593709617411,.0259040424655478,.7827717124575296,-.8086757549230774];let[l,a,o]=dg(r,t,e,n);return dg(i,Math.cbrt(l),Math.cbrt(a),Math.cbrt(o))}u(kB,"$799cddbef784668f$var$XYZ_to_OKLab");function dg(t,e,n,r){let i=t[0]*e+t[1]*n+t[2]*r,l=t[3]*e+t[4]*n+t[5]*r,a=t[6]*e+t[7]*n+t[8]*r;return[i,l,a]}u(dg,"$799cddbef784668f$var$multiplyMatrix");const PB=an("#ffffff");function EB(t){let{value:e,defaultValue:n,colorSpace:r,xChannel:i,yChannel:l,onChange:a,onChangeEnd:o}=t;!e&&!n&&(n=PB),e&&(e=sa(e)),n&&(n=sa(n));let[s,c]=Le(e,n,a),d=(0,wp.element.useMemo)(()=>r&&s?s.toFormat(r):s,[s,r]),f=(0,wp.element.useRef)(d),h=u(T=>{f.current=T,c(T)},"setColor"),p=(0,wp.element.useMemo)(()=>d.getColorSpaceAxes({xChannel:i,yChannel:l}),[d,i,l]),m=d.getChannelRange(p.xChannel),g=d.getChannelRange(p.yChannel),{minValue:O,maxValue:b,step:y,pageSize:$}=m,{minValue:C,maxValue:w,step:x,pageSize:P}=g,[v,k]=(0,wp.element.useState)(!1),D=(0,wp.element.useRef)(!1),S=d.getChannelValue(p.xChannel),E=d.getChannelValue(p.yChannel),A=u(T=>{if(T===S)return;let R=d.withChannelValue(p.xChannel,T);h(R)},"setXValue"),B=u(T=>{if(T===E)return;let R=d.withChannelValue(p.yChannel,T);h(R)},"setYValue");return{channels:p,xChannelStep:y,yChannelStep:x,xChannelPageStep:$,yChannelPageStep:P,value:d,setValue(T){h(sa(T))},xValue:S,setXValue:A,yValue:E,setYValue:B,setColorFromPoint(T,R){let M=O+We(T,0,1)*(b-O),N=C+(1-We(R,0,1))*(w-C),I;M!==S&&(M=Ie(M,O,b,y),I=d.withChannelValue(p.xChannel,M)),N!==E&&(N=Ie(N,C,w,x),I=(I||d).withChannelValue(p.yChannel,N)),I&&h(I)},getThumbPosition(){let T=(S-O)/(b-O),R=1-(E-C)/(w-C);return{x:T,y:R}},incrementX(T=1){A(S+T>b?b:Ie(S+T,O,b,y))},incrementY(T=1){B(E+T>w?w:Ie(E+T,C,w,x))},decrementX(T=1){A(Ie(S-T,O,b,y))},decrementY(T=1){B(Ie(E-T,C,w,x))},setDragging(T){let R=D.current;D.current=T,o&&!T&&R&&o(f.current),k(T)},isDragging:v,getDisplayColor(){return d.withChannelValue("alpha",1)}}}u(EB,"$6e14a98a7f67141d$export$6df7f0e2cabc7eef");const AB=0,TB=100,RB=1;function QB(t){const{isDisabled:e=!1,minValue:n=AB,maxValue:r=TB,numberFormatter:i,step:l=RB,orientation:a="horizontal"}=t;let o=(0,wp.element.useMemo)(()=>{let V=(r-n)/10;return V=Ie(V,0,V+l,l),Math.max(V,l)},[l,r,n]),s=(0,wp.element.useCallback)(V=>V?.map((Z,_)=>{let W=_===0?n:Z[_-1],re=_===V.length-1?r:Z[_+1];return Ie(Z,W,re,l)}),[n,r,l]),c=(0,wp.element.useMemo)(()=>s(_x(t.value)),[t.value]),d=(0,wp.element.useMemo)(()=>{var V;return s((V=_x(t.defaultValue))!==null&&V!==void 0?V:[n])},[t.defaultValue,n]),f=Jx(t.value,t.defaultValue,t.onChange),h=Jx(t.value,t.defaultValue,t.onChangeEnd);const[p,m]=Le(c,d,f),[g,O]=(0,wp.element.useState)(new Array(p.length).fill(!1)),b=(0,wp.element.useRef)(new Array(p.length).fill(!0)),[y,$]=(0,wp.element.useState)(void 0),C=(0,wp.element.useRef)(p),w=(0,wp.element.useRef)(g);let x=u(V=>{C.current=V,m(V)},"setValues"),P=u(V=>{w.current=V,O(V)},"setDraggings");function v(V){return(V-n)/(r-n)}u(v,"getValuePercent");function k(V){return V===0?n:p[V-1]}u(k,"getThumbMinValue");function D(V){return V===p.length-1?r:p[V+1]}u(D,"getThumbMaxValue");function S(V){return b.current[V]}u(S,"isThumbEditable");function E(V,Z){b.current[V]=Z}u(E,"setThumbEditable");function A(V,Z){if(e||!S(V))return;const _=k(V),W=D(V);Z=Ie(Z,_,W,l);let re=Hx(C.current,V,Z);x(re)}u(A,"updateValue");function B(V,Z){if(e||!S(V))return;Z&&(C.current=p);const _=w.current[V];w.current=Hx(w.current,V,Z),P(w.current),h&&_&&!w.current.some(Boolean)&&h(C.current)}u(B,"updateDragging");function T(V){return i.format(V)}u(T,"getFormattedValue");function R(V,Z){A(V,N(Z))}u(R,"setThumbPercent");function M(V){return Math.round((V-n)/l)*l+n}u(M,"getRoundedValue");function N(V){const Z=V*(r-n)+n;return We(M(Z),n,r)}u(N,"getPercentValue");function I(V,Z=1){let _=Math.max(Z,l);A(V,Ie(p[V]+_,n,r,l))}u(I,"incrementThumb");function F(V,Z=1){let _=Math.max(Z,l);A(V,Ie(p[V]-_,n,r,l))}return u(F,"decrementThumb"),{values:p,getThumbValue:V=>p[V],setThumbValue:A,setThumbPercent:R,isThumbDragging:V=>g[V],setThumbDragging:B,focusedThumb:y,setFocusedThumb:$,getThumbPercent:V=>v(p[V]),getValuePercent:v,getThumbValueLabel:V=>T(p[V]),getFormattedValue:T,getThumbMinValue:k,getThumbMaxValue:D,getPercentValue:N,isThumbEditable:S,setThumbEditable:E,incrementThumb:I,decrementThumb:F,step:l,pageSize:o,orientation:a,isDisabled:e}}u(QB,"$28f99e3e86e6ec45$export$e5fda3247f5d67f9");function Hx(t,e,n){return t[e]===n?t:[...t.slice(0,e),n,...t.slice(e+1)]}u(Hx,"$28f99e3e86e6ec45$var$replaceIndex");function _x(t){if(t!=null)return Array.isArray(t)?t:[t]}u(_x,"$28f99e3e86e6ec45$var$convertValue");function Jx(t,e,n){return r=>{n?.(typeof t=="number"||typeof e=="number"?r[0]:r)}}u(Jx,"$28f99e3e86e6ec45$var$createOnChange");function MB(t){let{channel:e,colorSpace:n,value:r,defaultValue:i,onChange:l,locale:a,...o}=t;if(r==null&&i==null)throw new Error("useColorSliderState requires a value or defaultValue");r&&(r=sa(r)),i&&(i=sa(i));let[s,c]=Le(r,i,l),d=(0,wp.element.useMemo)(()=>n&&s?s.toFormat(n):s,[s,n]),f=QB({...d.getChannelRange(e),...o,numberFormatter:null,value:d.getChannelValue(e),onChange(m){c(d.withChannelValue(e,m))},onChangeEnd(m){t.onChangeEnd&&t.onChangeEnd(d.withChannelValue(e,m))}}),{step:h,pageSize:p}=d.getChannelRange(e);return{...f,value:d,setValue(m){c(sa(m))},getDisplayColor(){switch(e){case"hue":return an(`hsl(${d.getChannelValue("hue")}, 100%, 50%)`);case"lightness":case"brightness":case"saturation":case"red":case"green":case"blue":return d.withChannelValue("alpha",1);case"alpha":return d;default:throw new Error("Unknown color channel: "+e)}},getThumbValueLabel(){return d.formatChannelValue(e,a)},step:h,pageSize:p,isDragging:f.isThumbDragging(0)}}u(MB,"$25a25ac0d1624665$export$57bc203e1c9c6d44");function eS(t){return(0,wp.element.useMemo)(()=>{if(typeof t=="string")try{return an(t)}catch{return}return t},[t])}u(eS,"$aa90ad8b2b1d015f$export$5aadd9c0606af5c2");const hd=an("#000000"),tS=an("#FFFFFF"),BB=hd.toHexInt(),VB=tS.toHexInt();function NB(t){let{value:e,defaultValue:n,onChange:r}=t,{step:i}=hd.getChannelRange("red"),l=eS(e),a=eS(n),[o,s]=Le(l,a,r),[c,d]=(0,wp.element.useState)(()=>(e||n)&&o?o.toString("hex"):""),f=Fn({...t,value:o}),h=u(x=>{if(!o||!x){s(x);return}if(x.toHexInt()!==o.toHexInt()){s(x);return}},"safelySetColorValue"),[p,m]=(0,wp.element.useState)(o);p!==o&&(d(o?o.toString("hex"):""),m(o));let g=(0,wp.element.useMemo)(()=>{let x;try{x=an(c.startsWith("#")?c:`#${c}`)}catch{x=null}return x},[c]);return{...f,validate:u(x=>{var P;return x===""||!!(!((P=x.match(/^#?[0-9a-f]{0,6}$/i))===null||P===void 0)&&P[0])},"validate"),colorValue:o,inputValue:c,setInputValue:d,commit:u(()=>{if(!c.length){h(null),d(e===void 0||o===null?"":o.toString("hex"));return}if(g==null){d(o?o.toString("hex"):"");return}h(g);let x="";o&&(x=o.toString("hex")),d(x)},"commit"),increment:u(()=>{let x=nS(g,i);x===o&&d(x.toString("hex")),h(x),f.commitValidation()},"increment"),incrementToMax:u(()=>h(tS),"incrementToMax"),decrement:u(()=>{let x=nS(g,-i);x===o&&d(x.toString("hex")),h(x),f.commitValidation()},"decrement"),decrementToMin:u(()=>h(hd),"decrementToMin")}}u(NB,"$b335ada08155d9c0$export$d52a01683abdfcd6");function nS(t,e){let n=t||hd,r=n.toHexInt(),i=Math.min(Math.max(r+e,BB),VB);if(i!==r){let l=`#${i.toString(16).padStart(6,"0").toUpperCase()}`;n=an(l)}return n}u(nS,"$b335ada08155d9c0$var$addColorValue");function FB(t){let{minValue:e,maxValue:n,step:r,formatOptions:i,value:l,defaultValue:a=NaN,onChange:o,locale:s,isDisabled:c,isReadOnly:d}=t;l===null&&(l=NaN),l!==void 0&&!isNaN(l)&&(r!==void 0&&!isNaN(r)?l=Ie(l,e,n,r):l=We(l,e,n)),isNaN(a)||(r!==void 0&&!isNaN(r)?a=Ie(a,e,n,r):a=We(a,e,n));let[f,h]=Le(l,isNaN(a)?NaN:a,o),[p,m]=(0,wp.element.useState)(()=>isNaN(f)?"":new Nn(s,i).format(f)),g=(0,wp.element.useMemo)(()=>new Xo(s,i),[s,i]),O=(0,wp.element.useMemo)(()=>g.getNumberingSystem(p),[g,p]),b=(0,wp.element.useMemo)(()=>new Nn(s,{...i,numberingSystem:O}),[s,i,O]),y=(0,wp.element.useMemo)(()=>b.resolvedOptions(),[b]),$=(0,wp.element.useCallback)(Z=>isNaN(Z)||Z===null?"":b.format(Z),[b]),C=Fn({...t,value:f}),w=r!==void 0&&!isNaN(r)?r:1;y.style==="percent"&&(r===void 0||isNaN(r))&&(w=.01);let[x,P]=(0,wp.element.useState)(f),[v,k]=(0,wp.element.useState)(s),[D,S]=(0,wp.element.useState)(i);(!Object.is(f,x)||s!==v||i!==D)&&(m($(f)),P(f),k(s),S(i));let E=(0,wp.element.useMemo)(()=>g.parse(p),[g,p]),A=u(()=>{if(!p.length){h(NaN),m(l===void 0?"":$(f));return}if(isNaN(E)){m($(f));return}let Z;r===void 0||isNaN(r)?Z=We(E,e,n):Z=Ie(E,e,n,r),Z=g.parse($(Z)),h(Z),m($(l===void 0?Z:f))},"commit"),B=u((Z,_=0)=>{let W=E;if(isNaN(W)){let re=isNaN(_)?0:_;return Ie(re,e,n,w)}else{let re=Ie(W,e,n,w);return Z==="+"&&re>W||Z==="-"&&re{let Z=B("+",e);Z===f&&m($(Z)),h(Z),C.commitValidation()},"increment"),R=u(()=>{let Z=B("-",n);Z===f&&m($(Z)),h(Z),C.commitValidation()},"decrement"),M=u(()=>{n!=null&&(h(Ie(n,e,n,w)),C.commitValidation())},"incrementToMax"),N=u(()=>{e!=null&&(h(e),C.commitValidation())},"decrementToMin"),I=(0,wp.element.useMemo)(()=>!c&&!d&&(isNaN(E)||n===void 0||isNaN(n)||Ie(E,e,n,w)>E||fg("+",E,w)<=n),[c,d,e,n,w,E]),F=(0,wp.element.useMemo)(()=>!c&&!d&&(isNaN(E)||e===void 0||isNaN(e)||Ie(E,e,n,w)=e),[c,d,e,n,w,E]);return{...C,validate:u(Z=>g.isValidPartialNumber(Z,e,n),"validate"),increment:T,incrementToMax:M,decrement:R,decrementToMin:N,canIncrement:I,canDecrement:F,minValue:e,maxValue:n,numberValue:E,setNumberValue:h,setInputValue:m,inputValue:p,commit:A}}u(FB,"$de67e98908f0c6ee$export$7f629e9dc1ecf37c");function fg(t,e,n){let r=t==="+"?e+n:e-n;if(e%1!==0||n%1!==0){const i=e.toString().split("."),l=n.toString().split("."),a=i[1]&&i[1].length||0,o=l[1]&&l[1].length||0,s=Math.pow(10,Math.max(a,o));e=Math.round(e*s),n=Math.round(n*s),r=t==="+"?e+n:e-n,r/=s}return r}u(fg,"$de67e98908f0c6ee$var$handleDecimalOperation");const rS=u(t=>[0,60,120,180,240,300,360].map(e=>t.withChannelValue("hue",e).toString("css")).join(", "),"$40297c24c53588e6$var$hue"),iS=u(t=>`${t.withChannelValue("saturation",0)}, transparent`,"$40297c24c53588e6$var$saturation"),IB={hue:rS,saturation:iS,lightness:()=>"black, transparent, white"},ZB={hue:rS,saturation:iS,brightness:()=>"black, transparent"};function zB({direction:t,state:e,zChannel:n,xChannel:r,yChannel:i}){return(0,wp.element.useMemo)(()=>{let a=t==="rtl"?"left":"right",o={},s=e.value.getChannelValue(n);switch(e.value.getColorSpace()){case"rgb":{let h=an("rgb(0, 0, 0)");o={background:[`linear-gradient(to ${a}, ${h.withChannelValue(r,0)}, ${h.withChannelValue(r,255)})`,`linear-gradient(to top, ${h.withChannelValue(i,0)}, ${h.withChannelValue(i,255)})`,h.withChannelValue(n,s)].join(","),backgroundBlendMode:"screen"};break}case"hsl":{let h=e.value.getColorChannels(),p=an("hsl(0, 100%, 50%)").withChannelValue(n,s),m=h.filter(g=>g!==n).map(g=>`linear-gradient(to ${g===r?a:"top"}, ${IB[g](p)})`).reverse();n==="hue"&&m.push(p.toString("css")),o={background:m.join(", ")};break}case"hsb":{let h=e.value.getColorChannels(),p=an("hsb(0, 100%, 100%)").withChannelValue(n,s),m=h.filter(g=>g!==n).map(g=>`linear-gradient(to ${g===r?a:"top"}, ${ZB[g](p)})`).reverse();n==="hue"&&m.push(p.toString("css")),o={background:m.join(", ")};break}}let{x:c,y:d}=e.getThumbPosition();t==="rtl"&&(c=1-c);let f={forcedColorAdjust:"none"};return{colorAreaStyleProps:{style:{position:"relative",touchAction:"none",...f,...o}},thumbStyleProps:{style:{position:"absolute",left:`${c*100}%`,top:`${d*100}%`,transform:"translate(-50%, -50%)",touchAction:"none",...f}}}},[t,e,n,r,i])}u(zB,"$40297c24c53588e6$export$dd62420467d245ca");const lS={border:0,clip:"rect(0 0 0 0)",clipPath:"inset(50%)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap"};function pd(t={}){let{style:e,isFocusable:n}=t,[r,i]=(0,wp.element.useState)(!1),{focusWithinProps:l}=Nt({isDisabled:!n,onFocusWithinChange:o=>i(o)}),a=(0,wp.element.useMemo)(()=>r?e:e?{...lS,...e}:lS,[r]);return{visuallyHiddenProps:{...l,style:a}}}u(pd,"$5c3e21d68f1c4674$export$a966af930f325cab");function on(t){let{children:e,elementType:n="div",isFocusable:r,style:i,...l}=t,{visuallyHiddenProps:a}=pd(t);return wp.element.createElement(n,te(l,a),e)}u(on,"$5c3e21d68f1c4674$export$439d29a4e110a164");function LB(t){return t&&t.__esModule?t.default:t}u(LB,"$parcel$interopDefault$a");function WB(t,e){let{isDisabled:n,inputXRef:r,inputYRef:i,containerRef:l,"aria-label":a,xName:o,yName:s}=t,c=Ft(LB(cx),"@react-aria/color"),{addGlobalListener:d,removeGlobalListener:f}=Vi(),{direction:h,locale:p}=Ee(),[m,g]=(0,wp.element.useState)(null),O=(0,wp.element.useCallback)((j=r)=>{j.current&&en(j.current)},[r]);qr(r,[e.xValue,e.yValue],([j,K])=>{let ue=e.value.withChannelValue(e.channels.xChannel,j).withChannelValue(e.channels.yChannel,K);e.setValue(ue)});let[b,y]=(0,wp.element.useState)(!1),[$,C]=(0,wp.element.useState)(!1),{xChannel:w,yChannel:x,zChannel:P}=e.channels,v=e.xChannelStep,k=e.yChannelStep,D=(0,wp.element.useRef)(null),{keyboardProps:S}=sm({onKeyDown(j){if(!/^(PageUp|PageDown|Home|End)$/.test(j.key)){j.continuePropagation();return}j.preventDefault(),e.setDragging(!0),y(!0);let K;switch(j.key){case"PageUp":e.incrementY(e.yChannelPageStep),K="y";break;case"PageDown":e.decrementY(e.yChannelPageStep),K="y";break;case"Home":h==="rtl"?e.incrementX(e.xChannelPageStep):e.decrementX(e.xChannelPageStep),K="x";break;case"End":h==="rtl"?e.decrementX(e.xChannelPageStep):e.incrementX(e.xChannelPageStep),K="x";break}e.setDragging(!1),K&&(O(K==="x"?r:i),g(K))}}),E={onMoveStart(){D.current=null,e.setDragging(!0)},onMove({deltaX:j,deltaY:K,pointerType:ue,shiftKey:ge}){var Qn;let{incrementX:wc,decrementX:wo,incrementY:cr,decrementY:Xr,xChannelPageStep:dr,xChannelStep:xc,yChannelPageStep:Sc,yChannelStep:zp,getThumbPosition:a3,setColorFromPoint:Dt}=e;D.current==null&&(D.current=a3());let{width:Cc,height:nee}=((Qn=l.current)===null||Qn===void 0?void 0:Qn.getBoundingClientRect())||{width:0,height:0},W9=j!==0||K!==0;if(ue==="keyboard"){let X9=ge&&dr>xc?dr:xc,j9=ge&&Sc>zp?Sc:zp;j>0&&h==="ltr"||j<0&&h==="rtl"?wc(X9):j<0&&h==="ltr"||j>0&&h==="rtl"?wo(X9):K>0?Xr(j9):K<0&&cr(j9),y(W9),m=W9&&Math.abs(K)>Math.abs(j)?"y":"x",g(m)}else D.current.x+=(h==="rtl"?-1:1)*j/Cc,D.current.y+=K/nee,Dt(D.current.x,D.current.y)},onMoveEnd(){R.current=!1,e.setDragging(!1),O(m==="x"?r:i)}},{moveProps:A}=jc(E),{focusWithinProps:B}=Nt({onFocusWithinChange:j=>{j||(y(!1),C(!1))}}),T=(0,wp.element.useRef)(void 0),R=(0,wp.element.useRef)(!1),{moveProps:M}=jc({onMoveStart(){R.current&&E.onMoveStart()},onMove(j){R.current&&E.onMove(j)},onMoveEnd(){R.current&&E.onMoveEnd()}}),N=u(j=>{e.isDragging||(T.current=j,y(!1),O(),e.setDragging(!0),typeof PointerEvent<"u"?d(window,"pointerup",I,!1):(d(window,"mouseup",I,!1),d(window,"touchend",I,!1)))},"onThumbDown"),I=u(j=>{var K,ue;((ue=j.pointerId)!==null&&ue!==void 0?ue:(K=j.changedTouches)===null||K===void 0?void 0:K[0].identifier)===T.current&&(y(!1),O(),e.setDragging(!1),T.current=void 0,R.current=!1,typeof PointerEvent<"u"?f(window,"pointerup",I,!1):(f(window,"mouseup",I,!1),f(window,"touchend",I,!1)))},"onThumbUp"),F=u((j,K,ue,ge)=>{let Qn=j.getBoundingClientRect(),{width:wc,height:wo}=Qn,cr=(ue-Qn.x)/wc,Xr=(ge-Qn.y)/wo;h==="rtl"&&(cr=1-cr),cr>=0&&cr<=1&&Xr>=0&&Xr<=1&&!e.isDragging&&T.current===void 0&&(R.current=!0,y(!1),T.current=K,e.setColorFromPoint(cr,Xr),O(),e.setDragging(!0),typeof PointerEvent<"u"?d(window,"pointerup",V,!1):(d(window,"mouseup",V,!1),d(window,"touchend",V,!1)))},"onColorAreaDown"),V=u(j=>{var K,ue;let ge=(ue=j.pointerId)!==null&&ue!==void 0?ue:(K=j.changedTouches)===null||K===void 0?void 0:K[0].identifier;R.current&&ge===T.current&&(R.current=!1,y(!1),T.current=void 0,e.setDragging(!1),O(),typeof PointerEvent<"u"?f(window,"pointerup",V,!1):(f(window,"mouseup",V,!1),f(window,"touchend",V,!1)))},"onColorAreaUp"),Z=n?{}:te({...typeof PointerEvent<"u"?{onPointerDown:j=>{j.pointerType==="mouse"&&(j.button!==0||j.altKey||j.ctrlKey||j.metaKey)||F(j.currentTarget,j.pointerId,j.clientX,j.clientY)}}:{onMouseDown:j=>{j.button!==0||j.altKey||j.ctrlKey||j.metaKey||F(j.currentTarget,void 0,j.clientX,j.clientY)},onTouchStart:j=>{F(j.currentTarget,j.changedTouches[0].identifier,j.changedTouches[0].clientX,j.changedTouches[0].clientY)}}},M),_=n?{}:te({...typeof PointerEvent<"u"?{onPointerDown:j=>{j.pointerType==="mouse"&&(j.button!==0||j.altKey||j.ctrlKey||j.metaKey)||N(j.pointerId)}}:{onMouseDown:j=>{j.button!==0||j.altKey||j.ctrlKey||j.metaKey||N(void 0)},onTouchStart:j=>{N(j.changedTouches[0].identifier)}}},B,S,A),{focusProps:W}=ko({onFocus:()=>{g("x")}}),{focusProps:re}=ko({onFocus:()=>{g("y")}});const fe=u(j=>{const{target:K}=j;C(!0),K===r.current?e.setXValue(parseFloat(K.value)):K===i.current&&e.setYValue(parseFloat(K.value))},"onChange");let L=Mi()||Tc(),ie=e.getDisplayColor();const he=(0,wp.element.useCallback)(j=>`${$||b?c.format("colorNameAndValue",{name:ie.getChannelName(j,p),value:ie.formatChannelValue(j,p)}):[c.format("colorNameAndValue",{name:ie.getChannelName(j,p),value:ie.formatChannelValue(j,p)}),c.format("colorNameAndValue",{name:ie.getChannelName(j===x?w:x,p),value:ie.formatChannelValue(j===x?w:x,p)}),c.format("colorNameAndValue",{name:ie.getChannelName(P,p),value:ie.formatChannelValue(P,p)})].join(", ")}, ${ie.getColorName(p)}`,[p,ie,c,$,b,w,x,P]);let J=c.format("colorPicker"),le=Mn({...t,"aria-label":a?c.format("colorInputLabel",{label:a,channelLabel:J}):J}),Ve=Mn({...t,"aria-label":a?c.format("colorInputLabel",{label:a,channelLabel:J}):J}),Ue=Mn({...t,"aria-label":a?`${a}, ${J}`:void 0},L?J:void 0),ur=c.format("twoDimensionalSlider"),{visuallyHiddenProps:vo}=pd({style:{opacity:"0.0001",width:"100%",height:"100%",pointerEvents:"none"}}),{colorAreaStyleProps:ql,thumbStyleProps:$o}=zB({direction:h,state:e,xChannel:w,yChannel:x,zChannel:P});return{colorAreaProps:{...Ue,...Z,...ql,role:"group"},thumbProps:{..._,...$o,role:"presentation"},xInputProps:{...le,...vo,...W,type:"range",min:e.value.getChannelRange(w).minValue,max:e.value.getChannelRange(w).maxValue,step:v,"aria-roledescription":ur,"aria-valuetext":he(w),"aria-orientation":"horizontal","aria-describedby":t["aria-describedby"],"aria-details":t["aria-details"],disabled:n,value:e.value.getChannelValue(w),name:o,tabIndex:L||!m||m==="x"?void 0:-1,"aria-hidden":L||!m||m==="x"||b?void 0:"true",onChange:fe},yInputProps:{...Ve,...vo,...re,type:"range",min:e.value.getChannelRange(x).minValue,max:e.value.getChannelRange(x).maxValue,step:k,"aria-roledescription":ur,"aria-valuetext":he(x),"aria-orientation":"vertical","aria-describedby":t["aria-describedby"],"aria-details":t["aria-details"],disabled:n,value:e.value.getChannelValue(x),name:s,tabIndex:L||m==="y"?void 0:-1,"aria-hidden":L||m==="y"||b?void 0:"true",onChange:fe}}}u(WB,"$60bd7d6e45dcddfa$export$2f92a7a615a014f6");const hg=new WeakMap;function pg(t,e){let n=hg.get(t);if(!n)throw new Error("Unknown slider state");return`${n.id}-${e}`}u(pg,"$aa519ee6cf463259$export$68e648cbec363a18");function XB(t,e,n){let{labelProps:r,fieldProps:i}=fd(t),l=t.orientation==="vertical";var a;hg.set(e,{id:(a=r.id)!==null&&a!==void 0?a:i.id,"aria-describedby":t["aria-describedby"],"aria-details":t["aria-details"]});let{direction:o}=Ee(),{addGlobalListener:s,removeGlobalListener:c}=Vi();const d=(0,wp.element.useRef)(null),f=o==="rtl",h=(0,wp.element.useRef)(null),{moveProps:p}=jc({onMoveStart(){h.current=null},onMove({deltaX:b,deltaY:y}){let{height:$,width:C}=n.current.getBoundingClientRect(),w=l?$:C;h.current==null&&(h.current=e.getThumbPercent(d.current)*w);let x=l?y:b;if((l||f)&&(x=-x),h.current+=x,d.current!=null&&n.current){const P=We(h.current/w,0,1);e.setThumbPercent(d.current,P)}},onMoveEnd(){d.current!=null&&(e.setThumbDragging(d.current,!1),d.current=null)}});let m=(0,wp.element.useRef)(void 0),g=u((b,y,$,C)=>{if(n.current&&!t.isDisabled&&e.values.every((w,x)=>!e.isThumbDragging(x))){let{height:w,width:x,top:P,left:v}=n.current.getBoundingClientRect(),k=l?w:x,A=((l?C:$)-(l?P:v))/k;(o==="rtl"||l)&&(A=1-A);let B=e.getPercentValue(A),T,R=e.values.findIndex(M=>B-M<0);if(R===0)T=R;else if(R===-1)T=e.values.length-1;else{let M=e.values[R-1],N=e.values[R];Math.abs(M-B)=0&&e.isThumbEditable(T)?(b.preventDefault(),d.current=T,e.setFocusedThumb(T),m.current=y,e.setThumbDragging(d.current,!0),e.setThumbValue(T,B),s(window,"mouseup",O,!1),s(window,"touchend",O,!1),s(window,"pointerup",O,!1)):d.current=null}},"onDownTrack"),O=u(b=>{var y,$;(($=b.pointerId)!==null&&$!==void 0?$:(y=b.changedTouches)===null||y===void 0?void 0:y[0].identifier)===m.current&&(d.current!=null&&(e.setThumbDragging(d.current,!1),d.current=null),c(window,"mouseup",O,!1),c(window,"touchend",O,!1),c(window,"pointerup",O,!1))},"onUpTrack");return"htmlFor"in r&&r.htmlFor&&(delete r.htmlFor,r.onClick=()=>{var b;(b=document.getElementById(pg(e,0)))===null||b===void 0||b.focus(),lm("keyboard")}),{labelProps:r,groupProps:{role:"group",...i},trackProps:te({onMouseDown(b){b.button!==0||b.altKey||b.ctrlKey||b.metaKey||g(b,void 0,b.clientX,b.clientY)},onPointerDown(b){b.pointerType==="mouse"&&(b.button!==0||b.altKey||b.ctrlKey||b.metaKey)||g(b,b.pointerId,b.clientX,b.clientY)},onTouchStart(b){g(b,b.changedTouches[0].identifier,b.changedTouches[0].clientX,b.changedTouches[0].clientY)},style:{position:"relative",touchAction:"none"}},p),outputProps:{htmlFor:e.values.map((b,y)=>pg(e,y)).join(" "),"aria-live":"off"}}}u(XB,"$bcca50147b47f54d$export$56b2c08e277f365");function jB(t,e){let{index:n=0,isRequired:r,validationState:i,isInvalid:l,trackRef:a,inputRef:o,orientation:s=e.orientation,name:c}=t,d=t.isDisabled||e.isDisabled,f=s==="vertical",{direction:h}=Ee(),{addGlobalListener:p,removeGlobalListener:m}=Vi(),g=hg.get(e);var O;const{labelProps:b,fieldProps:y}=fd({...t,id:pg(e,n),"aria-labelledby":`${g.id} ${(O=t["aria-labelledby"])!==null&&O!==void 0?O:""}`.trim()}),$=e.values[n],C=(0,wp.element.useCallback)(()=>{o.current&&en(o.current)},[o]),w=e.focusedThumb===n;(0,wp.element.useEffect)(()=>{w&&C()},[w,C]);let x=h==="rtl",P=(0,wp.element.useRef)(null),{keyboardProps:v}=sm({onKeyDown(R){let{getThumbMaxValue:M,getThumbMinValue:N,decrementThumb:I,incrementThumb:F,setThumbValue:V,setThumbDragging:Z,pageSize:_}=e;if(!/^(PageUp|PageDown|Home|End)$/.test(R.key)){R.continuePropagation();return}switch(R.preventDefault(),Z(n,!0),R.key){case"PageUp":F(n,_);break;case"PageDown":I(n,_);break;case"Home":V(n,N(n));break;case"End":V(n,M(n));break}Z(n,!1)}}),{moveProps:k}=jc({onMoveStart(){P.current=null,e.setThumbDragging(n,!0)},onMove({deltaX:R,deltaY:M,pointerType:N,shiftKey:I}){const{getThumbPercent:F,setThumbPercent:V,decrementThumb:Z,incrementThumb:_,step:W,pageSize:re}=e;let{width:fe,height:L}=a.current.getBoundingClientRect(),ie=f?L:fe;if(P.current==null&&(P.current=F(n)*ie),N==="keyboard")R>0&&x||R<0&&!x||M>0?Z(n,I?re:W):_(n,I?re:W);else{let he=f?M:R;(f||x)&&(he=-he),P.current+=he,V(n,We(P.current/ie,0,1))}},onMoveEnd(){e.setThumbDragging(n,!1)}});e.setThumbEditable(n,!d);const{focusableProps:D}=Qo(te(t,{onFocus:()=>e.setFocusedThumb(n),onBlur:()=>e.setFocusedThumb(void 0)}),o);let S=(0,wp.element.useRef)(void 0),E=u(R=>{C(),S.current=R,e.setThumbDragging(n,!0),p(window,"mouseup",A,!1),p(window,"touchend",A,!1),p(window,"pointerup",A,!1)},"onDown"),A=u(R=>{var M,N;((N=R.pointerId)!==null&&N!==void 0?N:(M=R.changedTouches)===null||M===void 0?void 0:M[0].identifier)===S.current&&(C(),e.setThumbDragging(n,!1),m(window,"mouseup",A,!1),m(window,"touchend",A,!1),m(window,"pointerup",A,!1))},"onUp"),B=e.getThumbPercent(n);(f||h==="rtl")&&(B=1-B);let T=d?{}:te(v,k,{onMouseDown:R=>{R.button!==0||R.altKey||R.ctrlKey||R.metaKey||E()},onPointerDown:R=>{R.button!==0||R.altKey||R.ctrlKey||R.metaKey||E(R.pointerId)},onTouchStart:R=>{E(R.changedTouches[0].identifier)}});return qr(o,$,R=>{e.setThumbValue(n,R)}),{inputProps:te(D,y,{type:"range",tabIndex:d?void 0:0,min:e.getThumbMinValue(n),max:e.getThumbMaxValue(n),step:e.step,value:$,name:c,disabled:d,"aria-orientation":s,"aria-valuetext":e.getThumbValueLabel(n),"aria-required":r||void 0,"aria-invalid":l||i==="invalid"||void 0,"aria-errormessage":t["aria-errormessage"],"aria-describedby":[g["aria-describedby"],t["aria-describedby"]].filter(Boolean).join(" "),"aria-details":[g["aria-details"],t["aria-details"]].filter(Boolean).join(" "),onChange:R=>{e.setThumbValue(n,parseFloat(R.target.value))}}),thumbProps:{...T,style:{position:"absolute",[f?"top":"left"]:`${B*100}%`,transform:"translate(-50%, -50%)",touchAction:"none"}},labelProps:b,isDragging:e.isThumbDragging(n),isDisabled:d,isFocused:w}}u(jB,"$47b897dc8cdb026b$export$8d15029008292ae");function qB(t,e){let{trackRef:n,inputRef:r,orientation:i,channel:l,"aria-label":a,name:o}=t,{locale:s,direction:c}=Ee();!t.label&&!a&&!t["aria-labelledby"]&&(a=e.value.getChannelName(l,s));let{groupProps:d,trackProps:f,labelProps:h,outputProps:p}=XB({...t,"aria-label":a},e,n),{inputProps:m,thumbProps:g}=jB({index:0,orientation:i,isDisabled:t.isDisabled,name:o,trackRef:n,inputRef:r},e),O=e.getDisplayColor(),b=u(()=>{let C;switch(i==="vertical"?C="top":c==="ltr"?C="right":C="left",l){case"hue":{let w=[0,60,120,180,240,300,360].map(x=>O.withChannelValue("hue",x).toString("css")).join(", ");return`linear-gradient(to ${C}, ${w})`}case"lightness":{let w=e.getThumbMinValue(0),x=e.getThumbMaxValue(0),P=O.withChannelValue(l,w).toString("css"),v=O.withChannelValue(l,(x-w)/2).toString("css"),k=O.withChannelValue(l,x).toString("css");return`linear-gradient(to ${C}, ${P}, ${v}, ${k})`}case"saturation":case"brightness":case"red":case"green":case"blue":case"alpha":{let w=O.withChannelValue(l,e.getThumbMinValue(0)).toString("css"),x=O.withChannelValue(l,e.getThumbMaxValue(0)).toString("css");return`linear-gradient(to ${C}, ${w}, ${x})`}default:throw new Error("Unknown color channel: "+l)}},"generateBackground"),y={forcedColorAdjust:"none"};l==="hue"?m["aria-valuetext"]+=`, ${O.getHueName(s)}`:l!=="alpha"&&(m["aria-valuetext"]+=`, ${O.getColorName(s)}`);let{visuallyHiddenProps:$}=pd({style:{opacity:"0.0001",width:"100%",height:"100%",pointerEvents:"none"}});return{trackProps:{...te(d,f),style:{...f.style,...y,background:b()}},inputProps:{...m,style:{...m.style,...$.style}},thumbProps:{...g,style:{...g.style,...y}},labelProps:h,outputProps:p}}u(qB,"$40af666d6c251e36$export$106b7a4e66508f66");function wr(t,e){let{inputElementType:n="input",isDisabled:r=!1,isRequired:i=!1,isReadOnly:l=!1,type:a="text",validationBehavior:o="aria"}=t,[s,c]=Le(t.value,t.defaultValue||"",t.onChange),{focusableProps:d}=Qo(t,e),f=Fn({...t,value:s}),{isInvalid:h,validationErrors:p,validationDetails:m}=f.displayValidation,{labelProps:g,fieldProps:O,descriptionProps:b,errorMessageProps:y}=mt({...t,isInvalid:h,errorMessage:t.errorMessage||p}),$=ft(t,{labelable:!0});const C={type:a,pattern:t.pattern};return qr(e,s,c),Uo(t,f,e),(0,wp.element.useEffect)(()=>{if(e.current instanceof Jt(e.current).HTMLTextAreaElement){let w=e.current;Object.defineProperty(w,"defaultValue",{get:()=>w.value,set:()=>{},configurable:!0})}},[e]),{labelProps:g,inputProps:te($,n==="input"?C:void 0,{disabled:r,readOnly:l,required:i&&o==="native","aria-required":i&&o==="aria"||void 0,"aria-invalid":h||void 0,"aria-errormessage":t["aria-errormessage"],"aria-activedescendant":t["aria-activedescendant"],"aria-autocomplete":t["aria-autocomplete"],"aria-haspopup":t["aria-haspopup"],value:s,onChange:w=>c(w.target.value),autoComplete:t.autoComplete,autoCapitalize:t.autoCapitalize,maxLength:t.maxLength,minLength:t.minLength,name:t.name,placeholder:t.placeholder,inputMode:t.inputMode,onCopy:t.onCopy,onCut:t.onCut,onPaste:t.onPaste,onCompositionEnd:t.onCompositionEnd,onCompositionStart:t.onCompositionStart,onCompositionUpdate:t.onCompositionUpdate,onSelect:t.onSelect,onBeforeInput:t.onBeforeInput,onInput:t.onInput,...d,...O}),descriptionProps:b,errorMessageProps:y,isInvalid:h,validationErrors:p,validationDetails:m}}u(wr,"$2d73ec29415bd339$export$712718f7aec83d5");function aS(){return typeof window<"u"&&window.InputEvent&&typeof InputEvent.prototype.getTargetRanges=="function"}u(aS,"$d841c8010a73d545$var$supportsNativeBeforeInputEvent");function oS(t,e,n){let r=Ne(f=>{let h=n.current,p;switch(f.inputType){case"historyUndo":case"historyRedo":return;case"insertLineBreak":return;case"deleteContent":case"deleteByCut":case"deleteByDrag":p=h.value.slice(0,h.selectionStart)+h.value.slice(h.selectionEnd);break;case"deleteContentForward":p=h.selectionEnd===h.selectionStart?h.value.slice(0,h.selectionStart)+h.value.slice(h.selectionEnd+1):h.value.slice(0,h.selectionStart)+h.value.slice(h.selectionEnd);break;case"deleteContentBackward":p=h.selectionEnd===h.selectionStart?h.value.slice(0,h.selectionStart-1)+h.value.slice(h.selectionStart):h.value.slice(0,h.selectionStart)+h.value.slice(h.selectionEnd);break;case"deleteSoftLineBackward":case"deleteHardLineBackward":p=h.value.slice(h.selectionStart);break;default:f.data!=null&&(p=h.value.slice(0,h.selectionStart)+f.data+h.value.slice(h.selectionEnd));break}(p==null||!e.validate(p))&&f.preventDefault()});(0,wp.element.useEffect)(()=>{if(!aS())return;let f=n.current;return f.addEventListener("beforeinput",r,!1),()=>{f.removeEventListener("beforeinput",r,!1)}},[n,r]);let i=aS()?null:f=>{let h=f.target.value.slice(0,f.target.selectionStart)+f.data+f.target.value.slice(f.target.selectionEnd);e.validate(h)||f.preventDefault()},{labelProps:l,inputProps:a,descriptionProps:o,errorMessageProps:s,...c}=wr(t,n),d=(0,wp.element.useRef)(null);return{inputProps:te(a,{onBeforeInput:i,onCompositionStart(){let{value:f,selectionStart:h,selectionEnd:p}=n.current;d.current={value:f,selectionStart:h,selectionEnd:p}},onCompositionEnd(){if(!e.validate(n.current.value)){let{value:f,selectionStart:h,selectionEnd:p}=d.current;n.current.value=f,n.current.setSelectionRange(h,p),e.setInputValue(f)}}}),labelProps:l,descriptionProps:o,errorMessageProps:s,...c}}u(oS,"$d841c8010a73d545$export$4f384c9210e583c3");var sS={};sS={Empty:"\u0641\u0627\u0631\u063A"};var uS={};uS={Empty:"\u0418\u0437\u043F\u0440\u0430\u0437\u043D\u0438"};var cS={};cS={Empty:"Pr\xE1zdn\xE9"};var dS={};dS={Empty:"Tom"};var fS={};fS={Empty:"Leer"};var hS={};hS={Empty:"\u0386\u03B4\u03B5\u03B9\u03BF"};var pS={};pS={Empty:"Empty"};var mS={};mS={Empty:"Vac\xEDo"};var gS={};gS={Empty:"T\xFChjenda"};var OS={};OS={Empty:"Tyhj\xE4"};var bS={};bS={Empty:"Vide"};var yS={};yS={Empty:"\u05E8\u05D9\u05E7"};var vS={};vS={Empty:"Prazno"};var $S={};$S={Empty:"\xDCres"};var wS={};wS={Empty:"Vuoto"};var xS={};xS={Empty:"\u7A7A"};var SS={};SS={Empty:"\uBE44\uC5B4 \uC788\uC74C"};var CS={};CS={Empty:"Tu\u0161\u010Dias"};var DS={};DS={Empty:"Tuk\u0161s"};var kS={};kS={Empty:"Tom"};var PS={};PS={Empty:"Leeg"};var ES={};ES={Empty:"Pusty"};var AS={};AS={Empty:"Vazio"};var TS={};TS={Empty:"Vazio"};var RS={};RS={Empty:"Gol"};var QS={};QS={Empty:"\u041D\u0435 \u0437\u0430\u043F\u043E\u043B\u043D\u0435\u043D\u043E"};var MS={};MS={Empty:"Pr\xE1zdne"};var BS={};BS={Empty:"Prazen"};var VS={};VS={Empty:"Prazno"};var NS={};NS={Empty:"Tomt"};var FS={};FS={Empty:"Bo\u015F"};var IS={};IS={Empty:"\u041F\u0443\u0441\u0442\u043E"};var ZS={};ZS={Empty:"\u7A7A"};var zS={};zS={Empty:"\u7A7A\u767D"};var LS={};LS={"ar-AE":sS,"bg-BG":uS,"cs-CZ":cS,"da-DK":dS,"de-DE":fS,"el-GR":hS,"en-US":pS,"es-ES":mS,"et-EE":gS,"fi-FI":OS,"fr-FR":bS,"he-IL":yS,"hr-HR":vS,"hu-HU":$S,"it-IT":wS,"ja-JP":xS,"ko-KR":SS,"lt-LT":CS,"lv-LV":DS,"nb-NO":kS,"nl-NL":PS,"pl-PL":ES,"pt-BR":AS,"pt-PT":TS,"ro-RO":RS,"ru-RU":QS,"sk-SK":MS,"sl-SI":BS,"sr-SP":VS,"sv-SE":NS,"tr-TR":FS,"uk-UA":IS,"zh-CN":ZS,"zh-TW":zS};function UB(t){return t&&t.__esModule?t.default:t}u(UB,"$parcel$interopDefault$9");function mg(t){const e=(0,wp.element.useRef)(void 0);let{value:n,textValue:r,minValue:i,maxValue:l,isDisabled:a,isReadOnly:o,isRequired:s,onIncrement:c,onIncrementPage:d,onDecrement:f,onDecrementPage:h,onDecrementToMin:p,onIncrementToMax:m}=t;const g=Ft(UB(LS),"@react-aria/spinbutton"),O=u(()=>clearTimeout(e.current),"clearAsync");(0,wp.element.useEffect)(()=>()=>O(),[]);let b=u(S=>{if(!(S.ctrlKey||S.metaKey||S.shiftKey||S.altKey||o))switch(S.key){case"PageUp":if(d){S.preventDefault(),d?.();break}case"ArrowUp":case"Up":c&&(S.preventDefault(),c?.());break;case"PageDown":if(h){S.preventDefault(),h?.();break}case"ArrowDown":case"Down":f&&(S.preventDefault(),f?.());break;case"Home":p&&(S.preventDefault(),p?.());break;case"End":m&&(S.preventDefault(),m?.());break}},"onKeyDown"),y=(0,wp.element.useRef)(!1),$=u(()=>{y.current=!0},"onFocus"),C=u(()=>{y.current=!1},"onBlur"),w=r===""?g.format("Empty"):(r||`${n}`).replace("-","\u2212");(0,wp.element.useEffect)(()=>{y.current&&(oB("assertive"),oa(w,"assertive"))},[w]);const x=Ne(S=>{O(),c?.(),e.current=window.setTimeout(()=>{(l===void 0||isNaN(l)||n===void 0||isNaN(n)||n{O(),f?.(),e.current=window.setTimeout(()=>{(i===void 0||isNaN(i)||n===void 0||isNaN(n)||n>i)&&P(60)},S)});let v=u(S=>{S.preventDefault()},"cancelContextMenu"),{addGlobalListener:k,removeAllGlobalListeners:D}=Vi();return{spinButtonProps:{role:"spinbutton","aria-valuenow":n!==void 0&&!isNaN(n)?n:void 0,"aria-valuetext":w,"aria-valuemin":i,"aria-valuemax":l,"aria-disabled":a||void 0,"aria-readonly":o||void 0,"aria-required":s||void 0,onKeyDown:b,onFocus:$,onBlur:C},incrementButtonProps:{onPressStart:()=>{x(400),k(window,"contextmenu",v)},onPressEnd:()=>{O(),D()},onFocus:$,onBlur:C},decrementButtonProps:{onPressStart:()=>{P(400),k(window,"contextmenu",v)},onPressEnd:()=>{O(),D()},onFocus:$,onBlur:C}}}u(mg,"$d2e8511e6f209edf$export$e908e06f4b8e3402");function YB(t,e,n){let{isDisabled:r,isReadOnly:i,isRequired:l,isWheelDisabled:a,validationBehavior:o="aria"}=t,{colorValue:s,inputValue:c,increment:d,decrement:f,incrementToMax:h,decrementToMin:p,commit:m}=e,g=Fe(),{spinButtonProps:O}=mg({isDisabled:r,isReadOnly:i,isRequired:l,maxValue:16777215,minValue:0,onIncrement:d,onIncrementToMax:h,onDecrement:f,onDecrementToMin:p,value:s?s.toHexInt():void 0,textValue:s?s.toString("hex"):void 0}),[b,y]=(0,wp.element.useState)(!1),{focusWithinProps:$}=Nt({isDisabled:r,onFocusWithinChange:y}),C=(0,wp.element.useCallback)(k=>{Math.abs(k.deltaY)<=Math.abs(k.deltaX)||(k.deltaY>0?d():k.deltaY<0&&f())},[f,d]);Q3({onScroll:C,isDisabled:a||r||i||!b},n);let x=u(k=>{e.validate(k)&&e.setInputValue(k)},"onChange"),{inputProps:P,...v}=oS({...t,id:g,value:c,defaultValue:void 0,validate:void 0,[Hr]:e,type:"text",autoComplete:"off",onChange:x},e,n);return P=te(P,O,$,{role:"textbox","aria-valuemax":null,"aria-valuemin":null,"aria-valuenow":null,"aria-valuetext":null,autoCorrect:"off",spellCheck:"false",onBlur:m}),o==="native"&&(P["aria-required"]=void 0),{inputProps:P,...v}}u(YB,"$f6896b05b2ecad12$export$77e32ca575a28fdf");var WS={};WS={decrease:t=>`\u062E\u0641\u0636 ${t.fieldLabel}`,increase:t=>`\u0632\u064A\u0627\u062F\u0629 ${t.fieldLabel}`,numberField:"\u062D\u0642\u0644 \u0631\u0642\u0645\u064A"};var XS={};XS={decrease:t=>`\u041D\u0430\u043C\u0430\u043B\u044F\u0432\u0430\u043D\u0435 ${t.fieldLabel}`,increase:t=>`\u0423\u0441\u0438\u043B\u0432\u0430\u043D\u0435 ${t.fieldLabel}`,numberField:"\u041D\u043E\u043C\u0435\u0440 \u043D\u0430 \u043F\u043E\u043B\u0435\u0442\u043E"};var jS={};jS={decrease:t=>`Sn\xED\u017Eit ${t.fieldLabel}`,increase:t=>`Zv\xFD\u0161it ${t.fieldLabel}`,numberField:"\u010C\xEDseln\xE9 pole"};var qS={};qS={decrease:t=>`Reducer ${t.fieldLabel}`,increase:t=>`\xD8g ${t.fieldLabel}`,numberField:"Talfelt"};var US={};US={decrease:t=>`${t.fieldLabel} verringern`,increase:t=>`${t.fieldLabel} erh\xF6hen`,numberField:"Nummernfeld"};var YS={};YS={decrease:t=>`\u039C\u03B5\u03AF\u03C9\u03C3\u03B7 ${t.fieldLabel}`,increase:t=>`\u0391\u03CD\u03BE\u03B7\u03C3\u03B7 ${t.fieldLabel}`,numberField:"\u03A0\u03B5\u03B4\u03AF\u03BF \u03B1\u03C1\u03B9\u03B8\u03BC\u03BF\u03CD"};var KS={};KS={decrease:t=>`Decrease ${t.fieldLabel}`,increase:t=>`Increase ${t.fieldLabel}`,numberField:"Number field"};var GS={};GS={decrease:t=>`Reducir ${t.fieldLabel}`,increase:t=>`Aumentar ${t.fieldLabel}`,numberField:"Campo de n\xFAmero"};var HS={};HS={decrease:t=>`V\xE4henda ${t.fieldLabel}`,increase:t=>`Suurenda ${t.fieldLabel}`,numberField:"Numbri v\xE4li"};var _S={};_S={decrease:t=>`V\xE4henn\xE4 ${t.fieldLabel}`,increase:t=>`Lis\xE4\xE4 ${t.fieldLabel}`,numberField:"Numerokentt\xE4"};var JS={};JS={decrease:t=>`Diminuer ${t.fieldLabel}`,increase:t=>`Augmenter ${t.fieldLabel}`,numberField:"Champ de nombre"};var e5={};e5={decrease:t=>`\u05D4\u05E7\u05D8\u05DF ${t.fieldLabel}`,increase:t=>`\u05D4\u05D2\u05D3\u05DC ${t.fieldLabel}`,numberField:"\u05E9\u05D3\u05D4 \u05DE\u05E1\u05E4\u05E8"};var t5={};t5={decrease:t=>`Smanji ${t.fieldLabel}`,increase:t=>`Pove\u0107aj ${t.fieldLabel}`,numberField:"Polje broja"};var n5={};n5={decrease:t=>`${t.fieldLabel} cs\xF6kkent\xE9se`,increase:t=>`${t.fieldLabel} n\xF6vel\xE9se`,numberField:"Sz\xE1mmez\u0151"};var r5={};r5={decrease:t=>`Riduci ${t.fieldLabel}`,increase:t=>`Aumenta ${t.fieldLabel}`,numberField:"Campo numero"};var i5={};i5={decrease:t=>`${t.fieldLabel}\u3092\u7E2E\u5C0F`,increase:t=>`${t.fieldLabel}\u3092\u62E1\u5927`,numberField:"\u6570\u5024\u30D5\u30A3\u30FC\u30EB\u30C9"};var l5={};l5={decrease:t=>`${t.fieldLabel} \uAC10\uC18C`,increase:t=>`${t.fieldLabel} \uC99D\uAC00`,numberField:"\uBC88\uD638 \uD544\uB4DC"};var a5={};a5={decrease:t=>`Suma\u017Einti ${t.fieldLabel}`,increase:t=>`Padidinti ${t.fieldLabel}`,numberField:"Numerio laukas"};var o5={};o5={decrease:t=>`Samazin\u0101\u0161ana ${t.fieldLabel}`,increase:t=>`Palielin\u0101\u0161ana ${t.fieldLabel}`,numberField:"Skait\u013Cu lauks"};var s5={};s5={decrease:t=>`Reduser ${t.fieldLabel}`,increase:t=>`\xD8k ${t.fieldLabel}`,numberField:"Tallfelt"};var u5={};u5={decrease:t=>`${t.fieldLabel} verlagen`,increase:t=>`${t.fieldLabel} verhogen`,numberField:"Getalveld"};var c5={};c5={decrease:t=>`Zmniejsz ${t.fieldLabel}`,increase:t=>`Zwi\u0119ksz ${t.fieldLabel}`,numberField:"Pole numeru"};var d5={};d5={decrease:t=>`Diminuir ${t.fieldLabel}`,increase:t=>`Aumentar ${t.fieldLabel}`,numberField:"Campo de n\xFAmero"};var f5={};f5={decrease:t=>`Diminuir ${t.fieldLabel}`,increase:t=>`Aumentar ${t.fieldLabel}`,numberField:"Campo num\xE9rico"};var h5={};h5={decrease:t=>`Sc\u0103dere ${t.fieldLabel}`,increase:t=>`Cre\u0219tere ${t.fieldLabel}`,numberField:"C\xE2mp numeric"};var p5={};p5={decrease:t=>`\u0423\u043C\u0435\u043D\u044C\u0448\u0435\u043D\u0438\u0435 ${t.fieldLabel}`,increase:t=>`\u0423\u0432\u0435\u043B\u0438\u0447\u0435\u043D\u0438\u0435 ${t.fieldLabel}`,numberField:"\u0427\u0438\u0441\u043B\u043E\u0432\u043E\u0435 \u043F\u043E\u043B\u0435"};var m5={};m5={decrease:t=>`Zn\xED\u017Ei\u0165 ${t.fieldLabel}`,increase:t=>`Zv\xFD\u0161i\u0165 ${t.fieldLabel}`,numberField:"\u010C\xEDseln\xE9 pole"};var g5={};g5={decrease:t=>`Upadati ${t.fieldLabel}`,increase:t=>`Pove\u010Dajte ${t.fieldLabel}`,numberField:"\u0160tevil\u010Dno polje"};var O5={};O5={decrease:t=>`Smanji ${t.fieldLabel}`,increase:t=>`Pove\u0107aj ${t.fieldLabel}`,numberField:"Polje broja"};var b5={};b5={decrease:t=>`Minska ${t.fieldLabel}`,increase:t=>`\xD6ka ${t.fieldLabel}`,numberField:"Nummerf\xE4lt"};var y5={};y5={decrease:t=>`${t.fieldLabel} azalt`,increase:t=>`${t.fieldLabel} artt\u0131r`,numberField:"Say\u0131 alan\u0131"};var v5={};v5={decrease:t=>`\u0417\u043C\u0435\u043D\u0448\u0438\u0442\u0438 ${t.fieldLabel}`,increase:t=>`\u0417\u0431\u0456\u043B\u044C\u0448\u0438\u0442\u0438 ${t.fieldLabel}`,numberField:"\u041F\u043E\u043B\u0435 \u043D\u043E\u043C\u0435\u0440\u0430"};var $5={};$5={decrease:t=>`\u964D\u4F4E ${t.fieldLabel}`,increase:t=>`\u63D0\u9AD8 ${t.fieldLabel}`,numberField:"\u6570\u5B57\u5B57\u6BB5"};var w5={};w5={decrease:t=>`\u7E2E\u5C0F ${t.fieldLabel}`,increase:t=>`\u653E\u5927 ${t.fieldLabel}`,numberField:"\u6578\u5B57\u6B04\u4F4D"};var x5={};x5={"ar-AE":WS,"bg-BG":XS,"cs-CZ":jS,"da-DK":qS,"de-DE":US,"el-GR":YS,"en-US":KS,"es-ES":GS,"et-EE":HS,"fi-FI":_S,"fr-FR":JS,"he-IL":e5,"hr-HR":t5,"hu-HU":n5,"it-IT":r5,"ja-JP":i5,"ko-KR":l5,"lt-LT":a5,"lv-LV":o5,"nb-NO":s5,"nl-NL":u5,"pl-PL":c5,"pt-BR":d5,"pt-PT":f5,"ro-RO":h5,"ru-RU":p5,"sk-SK":m5,"sl-SI":g5,"sr-SP":O5,"sv-SE":b5,"tr-TR":y5,"uk-UA":v5,"zh-CN":$5,"zh-TW":w5};function KB(t){return t&&t.__esModule?t.default:t}u(KB,"$parcel$interopDefault$8");function GB(t,e,n){let{id:r,decrementAriaLabel:i,incrementAriaLabel:l,isDisabled:a,isReadOnly:o,isRequired:s,minValue:c,maxValue:d,autoFocus:f,label:h,formatOptions:p,onBlur:m=u(()=>{},"onBlur"),onFocus:g,onFocusChange:O,onKeyDown:b,onKeyUp:y,description:$,errorMessage:C,isWheelDisabled:w,...x}=t,{increment:P,incrementToMax:v,decrement:k,decrementToMin:D,numberValue:S,inputValue:E,commit:A,commitValidation:B}=e;const T=Ft(KB(x5),"@react-aria/numberfield");let R=Fe(r),{focusProps:M}=ko({onBlur(){A()}}),N=Z$(p),I=(0,wp.element.useMemo)(()=>N.resolvedOptions(),[N]),F=Z$({...p,currencySign:void 0}),V=(0,wp.element.useMemo)(()=>isNaN(S)?"":F.format(S),[F,S]),{spinButtonProps:Z,incrementButtonProps:_,decrementButtonProps:W}=mg({isDisabled:a,isReadOnly:o,isRequired:s,maxValue:d,minValue:c,onIncrement:P,onIncrementToMax:v,onDecrement:k,onDecrementToMin:D,value:S,textValue:V}),[re,fe]=(0,wp.element.useState)(!1),{focusWithinProps:L}=Nt({isDisabled:a,onFocusWithinChange:fe}),ie=(0,wp.element.useCallback)(Dt=>{Math.abs(Dt.deltaY)<=Math.abs(Dt.deltaX)||(Dt.deltaY>0?P():Dt.deltaY<0&&k())},[k,P]);Q3({onScroll:ie,isDisabled:w||a||o||!re},n);var J;let le=((J=I.maximumFractionDigits)!==null&&J!==void 0?J:0)>0,Ve=e.minValue===void 0||isNaN(e.minValue)||e.minValue<0,Ue="numeric";u3()?Ve?Ue="text":le&&(Ue="decimal"):Tc()&&(Ve?Ue="numeric":le&&(Ue="decimal"));let ur=u(Dt=>{e.validate(Dt)&&e.setInputValue(Dt)},"onChange"),vo=ft(t),ql=(0,wp.element.useCallback)(Dt=>{Dt.key==="Enter"?(A(),B()):Dt.continuePropagation()},[A,B]),{isInvalid:$o,validationErrors:j,validationDetails:K}=e.displayValidation,{labelProps:ue,inputProps:ge,descriptionProps:Qn,errorMessageProps:wc}=oS({...x,...vo,name:void 0,label:h,autoFocus:f,isDisabled:a,isReadOnly:o,isRequired:s,validate:void 0,[Hr]:e,value:E,defaultValue:void 0,autoComplete:"off","aria-label":t["aria-label"]||void 0,"aria-labelledby":t["aria-labelledby"]||void 0,id:R,type:"text",inputMode:Ue,onChange:ur,onBlur:m,onFocus:g,onFocusChange:O,onKeyDown:(0,wp.element.useMemo)(()=>fr(ql,b),[ql,b]),onKeyUp:y,description:$,errorMessage:C},e,n);qr(n,e.numberValue,e.setNumberValue);let wo=te(Z,M,ge,{role:null,"aria-roledescription":Mi()?null:T.format("numberField"),"aria-valuemax":null,"aria-valuemin":null,"aria-valuenow":null,"aria-valuetext":null,autoCorrect:"off",spellCheck:"false"});t.validationBehavior==="native"&&(wo["aria-required"]=void 0);let cr=u(Dt=>{var Cc;document.activeElement!==n.current&&(Dt.pointerType==="mouse"?(Cc=n.current)===null||Cc===void 0||Cc.focus():Dt.target.focus())},"onButtonPressStart"),Xr=t["aria-label"]||(typeof t.label=="string"?t.label:""),dr;Xr||(dr=t.label!=null?ue.id:t["aria-labelledby"]);let xc=Fe(),Sc=Fe(),zp=te(_,{"aria-label":l||T.format("increase",{fieldLabel:Xr}).trim(),id:dr&&!l?xc:null,"aria-labelledby":dr&&!l?`${xc} ${dr}`:null,"aria-controls":R,excludeFromTabOrder:!0,preventFocusOnPress:!0,allowFocusWhenDisabled:!0,isDisabled:!e.canIncrement,onPressStart:cr}),a3=te(W,{"aria-label":i||T.format("decrease",{fieldLabel:Xr}).trim(),id:dr&&!i?Sc:null,"aria-labelledby":dr&&!i?`${Sc} ${dr}`:null,"aria-controls":R,excludeFromTabOrder:!0,preventFocusOnPress:!0,allowFocusWhenDisabled:!0,isDisabled:!e.canDecrement,onPressStart:cr});return{groupProps:{...L,role:"group","aria-disabled":a,"aria-invalid":$o?"true":void 0},labelProps:ue,inputProps:wo,incrementButtonProps:zp,decrementButtonProps:a3,errorMessageProps:wc,descriptionProps:Qn,isInvalid:$o,validationErrors:j,validationDetails:K}}u(GB,"$81397a9303501bda$export$23f548e970bdf099");var S5={};S5={buttonLabel:"\u0639\u0631\u0636 \u0627\u0644\u0645\u0642\u062A\u0631\u062D\u0627\u062A",countAnnouncement:(t,e)=>`${e.plural(t.optionCount,{one:()=>`${e.number(t.optionCount)} \u062E\u064A\u0627\u0631`,other:()=>`${e.number(t.optionCount)} \u062E\u064A\u0627\u0631\u0627\u062A`})} \u0645\u062A\u0627\u062D\u0629.`,focusAnnouncement:(t,e)=>`${e.select({true:()=>`\u0627\u0644\u0645\u062C\u0645\u0648\u0639\u0629 \u0627\u0644\u0645\u062F\u062E\u0644\u0629 ${t.groupTitle}, \u0645\u0639 ${e.plural(t.groupCount,{one:()=>`${e.number(t.groupCount)} \u062E\u064A\u0627\u0631`,other:()=>`${e.number(t.groupCount)} \u062E\u064A\u0627\u0631\u0627\u062A`})}. `,other:""},t.isGroupChange)}${t.optionText}${e.select({true:", \u0645\u062D\u062F\u062F",other:""},t.isSelected)}`,listboxLabel:"\u0645\u0642\u062A\u0631\u062D\u0627\u062A",selectedAnnouncement:t=>`${t.optionText}\u060C \u0645\u062D\u062F\u062F`};var C5={};C5={buttonLabel:"\u041F\u043E\u043A\u0430\u0436\u0438 \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u044F",countAnnouncement:(t,e)=>`${e.plural(t.optionCount,{one:()=>`${e.number(t.optionCount)} \u043E\u043F\u0446\u0438\u044F`,other:()=>`${e.number(t.optionCount)} \u043E\u043F\u0446\u0438\u0438`})} \u043D\u0430 \u0440\u0430\u0437\u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435.`,focusAnnouncement:(t,e)=>`${e.select({true:()=>`\u0412\u044A\u0432\u0435\u0434\u0435\u043D\u0430 \u0433\u0440\u0443\u043F\u0430 ${t.groupTitle}, \u0441 ${e.plural(t.groupCount,{one:()=>`${e.number(t.groupCount)} \u043E\u043F\u0446\u0438\u044F`,other:()=>`${e.number(t.groupCount)} \u043E\u043F\u0446\u0438\u0438`})}. `,other:""},t.isGroupChange)}${t.optionText}${e.select({true:", \u0438\u0437\u0431\u0440\u0430\u043D\u0438",other:""},t.isSelected)}`,listboxLabel:"\u041F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u044F",selectedAnnouncement:t=>`${t.optionText}, \u0438\u0437\u0431\u0440\u0430\u043D\u0438`};var D5={};D5={buttonLabel:"Zobrazit doporu\u010Den\xED",countAnnouncement:(t,e)=>`K dispozici ${e.plural(t.optionCount,{one:()=>`je ${e.number(t.optionCount)} mo\u017Enost`,other:()=>`jsou/je ${e.number(t.optionCount)} mo\u017Enosti/-\xED`})}.`,focusAnnouncement:(t,e)=>`${e.select({true:()=>`Zadan\xE1 skupina \u201E${t.groupTitle}\u201C ${e.plural(t.groupCount,{one:()=>`s ${e.number(t.groupCount)} mo\u017Enost\xED`,other:()=>`se ${e.number(t.groupCount)} mo\u017Enostmi`})}. `,other:""},t.isGroupChange)}${t.optionText}${e.select({true:" (vybr\xE1no)",other:""},t.isSelected)}`,listboxLabel:"N\xE1vrhy",selectedAnnouncement:t=>`${t.optionText}, vybr\xE1no`};var k5={};k5={buttonLabel:"Vis forslag",countAnnouncement:(t,e)=>`${e.plural(t.optionCount,{one:()=>`${e.number(t.optionCount)} mulighed tilg\xE6ngelig`,other:()=>`${e.number(t.optionCount)} muligheder tilg\xE6ngelige`})}.`,focusAnnouncement:(t,e)=>`${e.select({true:()=>`Angivet gruppe ${t.groupTitle}, med ${e.plural(t.groupCount,{one:()=>`${e.number(t.groupCount)} mulighed`,other:()=>`${e.number(t.groupCount)} muligheder`})}. `,other:""},t.isGroupChange)}${t.optionText}${e.select({true:", valgt",other:""},t.isSelected)}`,listboxLabel:"Forslag",selectedAnnouncement:t=>`${t.optionText}, valgt`};var P5={};P5={buttonLabel:"Empfehlungen anzeigen",countAnnouncement:(t,e)=>`${e.plural(t.optionCount,{one:()=>`${e.number(t.optionCount)} Option`,other:()=>`${e.number(t.optionCount)} Optionen`})} verf\xFCgbar.`,focusAnnouncement:(t,e)=>`${e.select({true:()=>`Eingetretene Gruppe ${t.groupTitle}, mit ${e.plural(t.groupCount,{one:()=>`${e.number(t.groupCount)} Option`,other:()=>`${e.number(t.groupCount)} Optionen`})}. `,other:""},t.isGroupChange)}${t.optionText}${e.select({true:", ausgew\xE4hlt",other:""},t.isSelected)}`,listboxLabel:"Empfehlungen",selectedAnnouncement:t=>`${t.optionText}, ausgew\xE4hlt`};var E5={};E5={buttonLabel:"\u03A0\u03C1\u03BF\u03B2\u03BF\u03BB\u03AE \u03C0\u03C1\u03BF\u03C4\u03AC\u03C3\u03B5\u03C9\u03BD",countAnnouncement:(t,e)=>`${e.plural(t.optionCount,{one:()=>`${e.number(t.optionCount)} \u03B5\u03C0\u03B9\u03BB\u03BF\u03B3\u03AE`,other:()=>`${e.number(t.optionCount)} \u03B5\u03C0\u03B9\u03BB\u03BF\u03B3\u03AD\u03C2 `})} \u03B4\u03B9\u03B1\u03B8\u03AD\u03C3\u03B9\u03BC\u03B5\u03C2.`,focusAnnouncement:(t,e)=>`${e.select({true:()=>`\u0395\u03B9\u03C3\u03B1\u03B3\u03BC\u03AD\u03BD\u03B7 \u03BF\u03BC\u03AC\u03B4\u03B1 ${t.groupTitle}, \u03BC\u03B5 ${e.plural(t.groupCount,{one:()=>`${e.number(t.groupCount)} \u03B5\u03C0\u03B9\u03BB\u03BF\u03B3\u03AE`,other:()=>`${e.number(t.groupCount)} \u03B5\u03C0\u03B9\u03BB\u03BF\u03B3\u03AD\u03C2`})}. `,other:""},t.isGroupChange)}${t.optionText}${e.select({true:", \u03B5\u03C0\u03B9\u03BB\u03B5\u03B3\u03BC\u03AD\u03BD\u03BF",other:""},t.isSelected)}`,listboxLabel:"\u03A0\u03C1\u03BF\u03C4\u03AC\u03C3\u03B5\u03B9\u03C2",selectedAnnouncement:t=>`${t.optionText}, \u03B5\u03C0\u03B9\u03BB\u03AD\u03C7\u03B8\u03B7\u03BA\u03B5`};var A5={};A5={focusAnnouncement:(t,e)=>`${e.select({true:()=>`Entered group ${t.groupTitle}, with ${e.plural(t.groupCount,{one:()=>`${e.number(t.groupCount)} option`,other:()=>`${e.number(t.groupCount)} options`})}. `,other:""},t.isGroupChange)}${t.optionText}${e.select({true:", selected",other:""},t.isSelected)}`,countAnnouncement:(t,e)=>`${e.plural(t.optionCount,{one:()=>`${e.number(t.optionCount)} option`,other:()=>`${e.number(t.optionCount)} options`})} available.`,selectedAnnouncement:t=>`${t.optionText}, selected`,buttonLabel:"Show suggestions",listboxLabel:"Suggestions"};var T5={};T5={buttonLabel:"Mostrar sugerencias",countAnnouncement:(t,e)=>`${e.plural(t.optionCount,{one:()=>`${e.number(t.optionCount)} opci\xF3n`,other:()=>`${e.number(t.optionCount)} opciones`})} disponible(s).`,focusAnnouncement:(t,e)=>`${e.select({true:()=>`Se ha unido al grupo ${t.groupTitle}, con ${e.plural(t.groupCount,{one:()=>`${e.number(t.groupCount)} opci\xF3n`,other:()=>`${e.number(t.groupCount)} opciones`})}. `,other:""},t.isGroupChange)}${t.optionText}${e.select({true:", seleccionado",other:""},t.isSelected)}`,listboxLabel:"Sugerencias",selectedAnnouncement:t=>`${t.optionText}, seleccionado`};var R5={};R5={buttonLabel:"Kuva soovitused",countAnnouncement:(t,e)=>`${e.plural(t.optionCount,{one:()=>`${e.number(t.optionCount)} valik`,other:()=>`${e.number(t.optionCount)} valikud`})} saadaval.`,focusAnnouncement:(t,e)=>`${e.select({true:()=>`Sisestatud r\xFChm ${t.groupTitle}, valikuga ${e.plural(t.groupCount,{one:()=>`${e.number(t.groupCount)} valik`,other:()=>`${e.number(t.groupCount)} valikud`})}. `,other:""},t.isGroupChange)}${t.optionText}${e.select({true:", valitud",other:""},t.isSelected)}`,listboxLabel:"Soovitused",selectedAnnouncement:t=>`${t.optionText}, valitud`};var Q5={};Q5={buttonLabel:"N\xE4yt\xE4 ehdotukset",countAnnouncement:(t,e)=>`${e.plural(t.optionCount,{one:()=>`${e.number(t.optionCount)} vaihtoehto`,other:()=>`${e.number(t.optionCount)} vaihtoehdot`})} saatavilla.`,focusAnnouncement:(t,e)=>`${e.select({true:()=>`Mentiin ryhm\xE4\xE4n ${t.groupTitle}, ${e.plural(t.groupCount,{one:()=>`${e.number(t.groupCount)} vaihtoehdon`,other:()=>`${e.number(t.groupCount)} vaihtoehdon`})} kanssa.`,other:""},t.isGroupChange)}${t.optionText}${e.select({true:", valittu",other:""},t.isSelected)}`,listboxLabel:"Ehdotukset",selectedAnnouncement:t=>`${t.optionText}, valittu`};var M5={};M5={buttonLabel:"Afficher les suggestions",countAnnouncement:(t,e)=>`${e.plural(t.optionCount,{one:()=>`${e.number(t.optionCount)} option`,other:()=>`${e.number(t.optionCount)} options`})} disponible(s).`,focusAnnouncement:(t,e)=>`${e.select({true:()=>`Groupe ${t.groupTitle} rejoint, avec ${e.plural(t.groupCount,{one:()=>`${e.number(t.groupCount)} option`,other:()=>`${e.number(t.groupCount)} options`})}. `,other:""},t.isGroupChange)}${t.optionText}${e.select({true:", s\xE9lectionn\xE9(s)",other:""},t.isSelected)}`,listboxLabel:"Suggestions",selectedAnnouncement:t=>`${t.optionText}, s\xE9lectionn\xE9`};var B5={};B5={buttonLabel:"\u05D4\u05E6\u05D2 \u05D4\u05E6\u05E2\u05D5\u05EA",countAnnouncement:(t,e)=>`${e.plural(t.optionCount,{one:()=>`\u05D0\u05E4\u05E9\u05E8\u05D5\u05EA ${e.number(t.optionCount)}`,other:()=>`${e.number(t.optionCount)} \u05D0\u05E4\u05E9\u05E8\u05D5\u05D9\u05D5\u05EA`})} \u05D1\u05DE\u05E6\u05D1 \u05D6\u05DE\u05D9\u05DF.`,focusAnnouncement:(t,e)=>`${e.select({true:()=>`\u05E0\u05DB\u05E0\u05E1 \u05DC\u05E7\u05D1\u05D5\u05E6\u05D4 ${t.groupTitle}, \u05E2\u05DD ${e.plural(t.groupCount,{one:()=>`\u05D0\u05E4\u05E9\u05E8\u05D5\u05EA ${e.number(t.groupCount)}`,other:()=>`${e.number(t.groupCount)} \u05D0\u05E4\u05E9\u05E8\u05D5\u05D9\u05D5\u05EA`})}. `,other:""},t.isGroupChange)}${t.optionText}${e.select({true:", \u05E0\u05D1\u05D7\u05E8",other:""},t.isSelected)}`,listboxLabel:"\u05D4\u05E6\u05E2\u05D5\u05EA",selectedAnnouncement:t=>`${t.optionText}, \u05E0\u05D1\u05D7\u05E8`};var V5={};V5={buttonLabel:"Prika\u017Ei prijedloge",countAnnouncement:(t,e)=>`Dostupno jo\u0161: ${e.plural(t.optionCount,{one:()=>`${e.number(t.optionCount)} opcija`,other:()=>`${e.number(t.optionCount)} opcije/a`})}.`,focusAnnouncement:(t,e)=>`${e.select({true:()=>`Unesena skupina ${t.groupTitle}, s ${e.plural(t.groupCount,{one:()=>`${e.number(t.groupCount)} opcijom`,other:()=>`${e.number(t.groupCount)} opcije/a`})}. `,other:""},t.isGroupChange)}${t.optionText}${e.select({true:", odabranih",other:""},t.isSelected)}`,listboxLabel:"Prijedlozi",selectedAnnouncement:t=>`${t.optionText}, odabrano`};var N5={};N5={buttonLabel:"Javaslatok megjelen\xEDt\xE9se",countAnnouncement:(t,e)=>`${e.plural(t.optionCount,{one:()=>`${e.number(t.optionCount)} lehet\u0151s\xE9g`,other:()=>`${e.number(t.optionCount)} lehet\u0151s\xE9g`})} \xE1ll rendelkez\xE9sre.`,focusAnnouncement:(t,e)=>`${e.select({true:()=>`Bel\xE9pett a(z) ${t.groupTitle} csoportba, amely ${e.plural(t.groupCount,{one:()=>`${e.number(t.groupCount)} lehet\u0151s\xE9get`,other:()=>`${e.number(t.groupCount)} lehet\u0151s\xE9get`})} tartalmaz. `,other:""},t.isGroupChange)}${t.optionText}${e.select({true:", kijel\xF6lve",other:""},t.isSelected)}`,listboxLabel:"Javaslatok",selectedAnnouncement:t=>`${t.optionText}, kijel\xF6lve`};var F5={};F5={buttonLabel:"Mostra suggerimenti",countAnnouncement:(t,e)=>`${e.plural(t.optionCount,{one:()=>`${e.number(t.optionCount)} opzione disponibile`,other:()=>`${e.number(t.optionCount)} opzioni disponibili`})}.`,focusAnnouncement:(t,e)=>`${e.select({true:()=>`Ingresso nel gruppo ${t.groupTitle}, con ${e.plural(t.groupCount,{one:()=>`${e.number(t.groupCount)} opzione`,other:()=>`${e.number(t.groupCount)} opzioni`})}. `,other:""},t.isGroupChange)}${t.optionText}${e.select({true:", selezionato",other:""},t.isSelected)}`,listboxLabel:"Suggerimenti",selectedAnnouncement:t=>`${t.optionText}, selezionato`};var I5={};I5={buttonLabel:"\u5019\u88DC\u3092\u8868\u793A",countAnnouncement:(t,e)=>`${e.plural(t.optionCount,{one:()=>`${e.number(t.optionCount)} \u500B\u306E\u30AA\u30D7\u30B7\u30E7\u30F3`,other:()=>`${e.number(t.optionCount)} \u500B\u306E\u30AA\u30D7\u30B7\u30E7\u30F3`})}\u3092\u5229\u7528\u3067\u304D\u307E\u3059\u3002`,focusAnnouncement:(t,e)=>`${e.select({true:()=>`\u5165\u529B\u3055\u308C\u305F\u30B0\u30EB\u30FC\u30D7 ${t.groupTitle}\u3001${e.plural(t.groupCount,{one:()=>`${e.number(t.groupCount)} \u500B\u306E\u30AA\u30D7\u30B7\u30E7\u30F3`,other:()=>`${e.number(t.groupCount)} \u500B\u306E\u30AA\u30D7\u30B7\u30E7\u30F3`})}\u3092\u542B\u3080\u3002`,other:""},t.isGroupChange)}${t.optionText}${e.select({true:"\u3001\u9078\u629E\u6E08\u307F",other:""},t.isSelected)}`,listboxLabel:"\u5019\u88DC",selectedAnnouncement:t=>`${t.optionText}\u3001\u9078\u629E\u6E08\u307F`};var Z5={};Z5={buttonLabel:"\uC81C\uC548 \uC0AC\uD56D \uD45C\uC2DC",countAnnouncement:(t,e)=>`${e.plural(t.optionCount,{one:()=>`${e.number(t.optionCount)}\uAC1C \uC635\uC158`,other:()=>`${e.number(t.optionCount)}\uAC1C \uC635\uC158`})}\uC744 \uC0AC\uC6A9\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4.`,focusAnnouncement:(t,e)=>`${e.select({true:()=>`\uC785\uB825\uD55C \uADF8\uB8F9 ${t.groupTitle}, ${e.plural(t.groupCount,{one:()=>`${e.number(t.groupCount)}\uAC1C \uC635\uC158`,other:()=>`${e.number(t.groupCount)}\uAC1C \uC635\uC158`})}. `,other:""},t.isGroupChange)}${t.optionText}${e.select({true:", \uC120\uD0DD\uB428",other:""},t.isSelected)}`,listboxLabel:"\uC81C\uC548",selectedAnnouncement:t=>`${t.optionText}, \uC120\uD0DD\uB428`};var z5={};z5={buttonLabel:"Rodyti pasi\u016Blymus",countAnnouncement:(t,e)=>`Yra ${e.plural(t.optionCount,{one:()=>`${e.number(t.optionCount)} parinktis`,other:()=>`${e.number(t.optionCount)} parinktys (-i\u0173)`})}.`,focusAnnouncement:(t,e)=>`${e.select({true:()=>`\u012Evesta grup\u0117 ${t.groupTitle}, su ${e.plural(t.groupCount,{one:()=>`${e.number(t.groupCount)} parinktimi`,other:()=>`${e.number(t.groupCount)} parinktimis (-i\u0173)`})}. `,other:""},t.isGroupChange)}${t.optionText}${e.select({true:", pasirinkta",other:""},t.isSelected)}`,listboxLabel:"Pasi\u016Blymai",selectedAnnouncement:t=>`${t.optionText}, pasirinkta`};var L5={};L5={buttonLabel:"R\u0101d\u012Bt ieteikumus",countAnnouncement:(t,e)=>`Pieejamo opciju skaits: ${e.plural(t.optionCount,{one:()=>`${e.number(t.optionCount)} opcija`,other:()=>`${e.number(t.optionCount)} opcijas`})}.`,focusAnnouncement:(t,e)=>`${e.select({true:()=>`Ievad\u012Bta grupa ${t.groupTitle}, ar ${e.plural(t.groupCount,{one:()=>`${e.number(t.groupCount)} opciju`,other:()=>`${e.number(t.groupCount)} opcij\u0101m`})}. `,other:""},t.isGroupChange)}${t.optionText}${e.select({true:", atlas\u012Bta",other:""},t.isSelected)}`,listboxLabel:"Ieteikumi",selectedAnnouncement:t=>`${t.optionText}, atlas\u012Bta`};var W5={};W5={buttonLabel:"Vis forslag",countAnnouncement:(t,e)=>`${e.plural(t.optionCount,{one:()=>`${e.number(t.optionCount)} alternativ`,other:()=>`${e.number(t.optionCount)} alternativer`})} finnes.`,focusAnnouncement:(t,e)=>`${e.select({true:()=>`Angitt gruppe ${t.groupTitle}, med ${e.plural(t.groupCount,{one:()=>`${e.number(t.groupCount)} alternativ`,other:()=>`${e.number(t.groupCount)} alternativer`})}. `,other:""},t.isGroupChange)}${t.optionText}${e.select({true:", valgt",other:""},t.isSelected)}`,listboxLabel:"Forslag",selectedAnnouncement:t=>`${t.optionText}, valgt`};var X5={};X5={buttonLabel:"Suggesties weergeven",countAnnouncement:(t,e)=>`${e.plural(t.optionCount,{one:()=>`${e.number(t.optionCount)} optie`,other:()=>`${e.number(t.optionCount)} opties`})} beschikbaar.`,focusAnnouncement:(t,e)=>`${e.select({true:()=>`Groep ${t.groupTitle} ingevoerd met ${e.plural(t.groupCount,{one:()=>`${e.number(t.groupCount)} optie`,other:()=>`${e.number(t.groupCount)} opties`})}. `,other:""},t.isGroupChange)}${t.optionText}${e.select({true:", geselecteerd",other:""},t.isSelected)}`,listboxLabel:"Suggesties",selectedAnnouncement:t=>`${t.optionText}, geselecteerd`};var j5={};j5={buttonLabel:"Wy\u015Bwietlaj sugestie",countAnnouncement:(t,e)=>`dost\u0119pna/dost\u0119pne(-nych) ${e.plural(t.optionCount,{one:()=>`${e.number(t.optionCount)} opcja`,other:()=>`${e.number(t.optionCount)} opcje(-i)`})}.`,focusAnnouncement:(t,e)=>`${e.select({true:()=>`Do\u0142\u0105czono do grupy ${t.groupTitle}, z ${e.plural(t.groupCount,{one:()=>`${e.number(t.groupCount)} opcj\u0105`,other:()=>`${e.number(t.groupCount)} opcjami`})}. `,other:""},t.isGroupChange)}${t.optionText}${e.select({true:", wybrano",other:""},t.isSelected)}`,listboxLabel:"Sugestie",selectedAnnouncement:t=>`${t.optionText}, wybrano`};var q5={};q5={buttonLabel:"Mostrar sugest\xF5es",countAnnouncement:(t,e)=>`${e.plural(t.optionCount,{one:()=>`${e.number(t.optionCount)} op\xE7\xE3o`,other:()=>`${e.number(t.optionCount)} op\xE7\xF5es`})} dispon\xEDvel.`,focusAnnouncement:(t,e)=>`${e.select({true:()=>`Grupo inserido ${t.groupTitle}, com ${e.plural(t.groupCount,{one:()=>`${e.number(t.groupCount)} op\xE7\xE3o`,other:()=>`${e.number(t.groupCount)} op\xE7\xF5es`})}. `,other:""},t.isGroupChange)}${t.optionText}${e.select({true:", selecionado",other:""},t.isSelected)}`,listboxLabel:"Sugest\xF5es",selectedAnnouncement:t=>`${t.optionText}, selecionado`};var U5={};U5={buttonLabel:"Apresentar sugest\xF5es",countAnnouncement:(t,e)=>`${e.plural(t.optionCount,{one:()=>`${e.number(t.optionCount)} op\xE7\xE3o`,other:()=>`${e.number(t.optionCount)} op\xE7\xF5es`})} dispon\xEDvel.`,focusAnnouncement:(t,e)=>`${e.select({true:()=>`Grupo introduzido ${t.groupTitle}, com ${e.plural(t.groupCount,{one:()=>`${e.number(t.groupCount)} op\xE7\xE3o`,other:()=>`${e.number(t.groupCount)} op\xE7\xF5es`})}. `,other:""},t.isGroupChange)}${t.optionText}${e.select({true:", selecionado",other:""},t.isSelected)}`,listboxLabel:"Sugest\xF5es",selectedAnnouncement:t=>`${t.optionText}, selecionado`};var Y5={};Y5={buttonLabel:"Afi\u0219are sugestii",countAnnouncement:(t,e)=>`${e.plural(t.optionCount,{one:()=>`${e.number(t.optionCount)} op\u021Biune`,other:()=>`${e.number(t.optionCount)} op\u021Biuni`})} disponibile.`,focusAnnouncement:(t,e)=>`${e.select({true:()=>`Grup ${t.groupTitle} introdus, cu ${e.plural(t.groupCount,{one:()=>`${e.number(t.groupCount)} op\u021Biune`,other:()=>`${e.number(t.groupCount)} op\u021Biuni`})}. `,other:""},t.isGroupChange)}${t.optionText}${e.select({true:", selectat",other:""},t.isSelected)}`,listboxLabel:"Sugestii",selectedAnnouncement:t=>`${t.optionText}, selectat`};var K5={};K5={buttonLabel:"\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u044F",countAnnouncement:(t,e)=>`${e.plural(t.optionCount,{one:()=>`${e.number(t.optionCount)} \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440`,other:()=>`${e.number(t.optionCount)} \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u043E\u0432`})} \u0434\u043E\u0441\u0442\u0443\u043F\u043D\u043E.`,focusAnnouncement:(t,e)=>`${e.select({true:()=>`\u0412\u0432\u0435\u0434\u0435\u043D\u043D\u0430\u044F \u0433\u0440\u0443\u043F\u043F\u0430 ${t.groupTitle}, \u0441 ${e.plural(t.groupCount,{one:()=>`${e.number(t.groupCount)} \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u043E\u043C`,other:()=>`${e.number(t.groupCount)} \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u0430\u043C\u0438`})}. `,other:""},t.isGroupChange)}${t.optionText}${e.select({true:", \u0432\u044B\u0431\u0440\u0430\u043D\u043D\u044B\u043C\u0438",other:""},t.isSelected)}`,listboxLabel:"\u041F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u044F",selectedAnnouncement:t=>`${t.optionText}, \u0432\u044B\u0431\u0440\u0430\u043D\u043E`};var G5={};G5={buttonLabel:"Zobrazi\u0165 n\xE1vrhy",countAnnouncement:(t,e)=>`${e.plural(t.optionCount,{one:()=>`${e.number(t.optionCount)} mo\u017Enos\u0165`,other:()=>`${e.number(t.optionCount)} mo\u017Enosti/-\xED`})} k dispoz\xEDcii.`,focusAnnouncement:(t,e)=>`${e.select({true:()=>`Zadan\xE1 skupina ${t.groupTitle}, s ${e.plural(t.groupCount,{one:()=>`${e.number(t.groupCount)} mo\u017Enos\u0165ou`,other:()=>`${e.number(t.groupCount)} mo\u017Enos\u0165ami`})}. `,other:""},t.isGroupChange)}${t.optionText}${e.select({true:", vybrat\xE9",other:""},t.isSelected)}`,listboxLabel:"N\xE1vrhy",selectedAnnouncement:t=>`${t.optionText}, vybrat\xE9`};var H5={};H5={buttonLabel:"Prika\u017Ei predloge",countAnnouncement:(t,e)=>`Na voljo je ${e.plural(t.optionCount,{one:()=>`${e.number(t.optionCount)} opcija`,other:()=>`${e.number(t.optionCount)} opcije`})}.`,focusAnnouncement:(t,e)=>`${e.select({true:()=>`Vnesena skupina ${t.groupTitle}, z ${e.plural(t.groupCount,{one:()=>`${e.number(t.groupCount)} opcija`,other:()=>`${e.number(t.groupCount)} opcije`})}. `,other:""},t.isGroupChange)}${t.optionText}${e.select({true:", izbrano",other:""},t.isSelected)}`,listboxLabel:"Predlogi",selectedAnnouncement:t=>`${t.optionText}, izbrano`};var _5={};_5={buttonLabel:"Prika\u017Ei predloge",countAnnouncement:(t,e)=>`Dostupno jo\u0161: ${e.plural(t.optionCount,{one:()=>`${e.number(t.optionCount)} opcija`,other:()=>`${e.number(t.optionCount)} opcije/a`})}.`,focusAnnouncement:(t,e)=>`${e.select({true:()=>`Unesena grupa ${t.groupTitle}, s ${e.plural(t.groupCount,{one:()=>`${e.number(t.groupCount)} opcijom`,other:()=>`${e.number(t.groupCount)} optione/a`})}. `,other:""},t.isGroupChange)}${t.optionText}${e.select({true:", izabranih",other:""},t.isSelected)}`,listboxLabel:"Predlozi",selectedAnnouncement:t=>`${t.optionText}, izabrano`};var J5={};J5={buttonLabel:"Visa f\xF6rslag",countAnnouncement:(t,e)=>`${e.plural(t.optionCount,{one:()=>`${e.number(t.optionCount)} alternativ`,other:()=>`${e.number(t.optionCount)} alternativ`})} tillg\xE4ngliga.`,focusAnnouncement:(t,e)=>`${e.select({true:()=>`Ingick i gruppen ${t.groupTitle} med ${e.plural(t.groupCount,{one:()=>`${e.number(t.groupCount)} alternativ`,other:()=>`${e.number(t.groupCount)} alternativ`})}. `,other:""},t.isGroupChange)}${t.optionText}${e.select({true:", valda",other:""},t.isSelected)}`,listboxLabel:"F\xF6rslag",selectedAnnouncement:t=>`${t.optionText}, valda`};var eC={};eC={buttonLabel:"\xD6nerileri g\xF6ster",countAnnouncement:(t,e)=>`${e.plural(t.optionCount,{one:()=>`${e.number(t.optionCount)} se\xE7enek`,other:()=>`${e.number(t.optionCount)} se\xE7enekler`})} kullan\u0131labilir.`,focusAnnouncement:(t,e)=>`${e.select({true:()=>`Girilen grup ${t.groupTitle}, ile ${e.plural(t.groupCount,{one:()=>`${e.number(t.groupCount)} se\xE7enek`,other:()=>`${e.number(t.groupCount)} se\xE7enekler`})}. `,other:""},t.isGroupChange)}${t.optionText}${e.select({true:", se\xE7ildi",other:""},t.isSelected)}`,listboxLabel:"\xD6neriler",selectedAnnouncement:t=>`${t.optionText}, se\xE7ildi`};var tC={};tC={buttonLabel:"\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u0438 \u043F\u0440\u043E\u043F\u043E\u0437\u0438\u0446\u0456\u0457",countAnnouncement:(t,e)=>`${e.plural(t.optionCount,{one:()=>`${e.number(t.optionCount)} \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440`,other:()=>`${e.number(t.optionCount)} \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u0438(-\u0456\u0432)`})} \u0434\u043E\u0441\u0442\u0443\u043F\u043D\u043E.`,focusAnnouncement:(t,e)=>`${e.select({true:()=>`\u0412\u0432\u0435\u0434\u0435\u043D\u0430 \u0433\u0440\u0443\u043F\u0430 ${t.groupTitle}, \u0437 ${e.plural(t.groupCount,{one:()=>`${e.number(t.groupCount)} \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440`,other:()=>`${e.number(t.groupCount)} \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u0438(-\u0456\u0432)`})}. `,other:""},t.isGroupChange)}${t.optionText}${e.select({true:", \u0432\u0438\u0431\u0440\u0430\u043D\u043E",other:""},t.isSelected)}`,listboxLabel:"\u041F\u0440\u043E\u043F\u043E\u0437\u0438\u0446\u0456\u0457",selectedAnnouncement:t=>`${t.optionText}, \u0432\u0438\u0431\u0440\u0430\u043D\u043E`};var nC={};nC={buttonLabel:"\u663E\u793A\u5EFA\u8BAE",countAnnouncement:(t,e)=>`\u6709 ${e.plural(t.optionCount,{one:()=>`${e.number(t.optionCount)} \u4E2A\u9009\u9879`,other:()=>`${e.number(t.optionCount)} \u4E2A\u9009\u9879`})}\u53EF\u7528\u3002`,focusAnnouncement:(t,e)=>`${e.select({true:()=>`\u8FDB\u5165\u4E86 ${t.groupTitle} \u7EC4\uFF0C\u5176\u4E2D\u6709 ${e.plural(t.groupCount,{one:()=>`${e.number(t.groupCount)} \u4E2A\u9009\u9879`,other:()=>`${e.number(t.groupCount)} \u4E2A\u9009\u9879`})}. `,other:""},t.isGroupChange)}${t.optionText}${e.select({true:", \u5DF2\u9009\u62E9",other:""},t.isSelected)}`,listboxLabel:"\u5EFA\u8BAE",selectedAnnouncement:t=>`${t.optionText}, \u5DF2\u9009\u62E9`};var rC={};rC={buttonLabel:"\u986F\u793A\u5EFA\u8B70",countAnnouncement:(t,e)=>`${e.plural(t.optionCount,{one:()=>`${e.number(t.optionCount)} \u9078\u9805`,other:()=>`${e.number(t.optionCount)} \u9078\u9805`})} \u53EF\u7528\u3002`,focusAnnouncement:(t,e)=>`${e.select({true:()=>`\u8F38\u5165\u7684\u7FA4\u7D44 ${t.groupTitle}, \u6709 ${e.plural(t.groupCount,{one:()=>`${e.number(t.groupCount)} \u9078\u9805`,other:()=>`${e.number(t.groupCount)} \u9078\u9805`})}. `,other:""},t.isGroupChange)}${t.optionText}${e.select({true:", \u5DF2\u9078\u53D6",other:""},t.isSelected)}`,listboxLabel:"\u5EFA\u8B70",selectedAnnouncement:t=>`${t.optionText}, \u5DF2\u9078\u53D6`};var iC={};iC={"ar-AE":S5,"bg-BG":C5,"cs-CZ":D5,"da-DK":k5,"de-DE":P5,"el-GR":E5,"en-US":A5,"es-ES":T5,"et-EE":R5,"fi-FI":Q5,"fr-FR":M5,"he-IL":B5,"hr-HR":V5,"hu-HU":N5,"it-IT":F5,"ja-JP":I5,"ko-KR":Z5,"lt-LT":z5,"lv-LV":L5,"nb-NO":W5,"nl-NL":X5,"pl-PL":j5,"pt-BR":q5,"pt-PT":U5,"ro-RO":Y5,"ru-RU":K5,"sk-SK":G5,"sl-SI":H5,"sr-SP":_5,"sv-SE":J5,"tr-TR":eC,"uk-UA":tC,"zh-CN":nC,"zh-TW":rC};const In={top:"top",bottom:"top",left:"left",right:"left"},md={top:"bottom",bottom:"top",left:"right",right:"left"},HB={top:"left",left:"top"},gg={top:"height",left:"width"},lC={width:"totalWidth",height:"totalHeight"},gd={};let Et=typeof document<"u"&&window.visualViewport;function aC(t){let e=0,n=0,r=0,i=0,l=0,a=0,o={},s=Et?.scale>1;if(t.tagName==="BODY"){let f=document.documentElement;r=f.clientWidth,i=f.clientHeight;var c;e=(c=Et?.width)!==null&&c!==void 0?c:r;var d;n=(d=Et?.height)!==null&&d!==void 0?d:i,o.top=f.scrollTop||t.scrollTop,o.left=f.scrollLeft||t.scrollLeft,Et&&(l=Et.offsetTop,a=Et.offsetLeft)}else({width:e,height:n,top:l,left:a}=fa(t)),o.top=t.scrollTop,o.left=t.scrollLeft,r=e,i=n;return Up()&&(t.tagName==="BODY"||t.tagName==="HTML")&&s&&(o.top=0,o.left=0,l=Et.pageTop,a=Et.pageLeft),{width:e,height:n,totalWidth:r,totalHeight:i,scroll:o,top:l,left:a}}u(aC,"$edcf132a9284368a$var$getContainerDimensions");function _B(t){return{top:t.scrollTop,left:t.scrollLeft,width:t.scrollWidth,height:t.scrollHeight}}u(_B,"$edcf132a9284368a$var$getScroll");function oC(t,e,n,r,i,l,a){let o=i.scroll[t],s=r[gg[t]],c=r.scroll[In[t]]+l,d=s+r.scroll[In[t]]-l,f=e-o+a[t]-r[In[t]],h=e-o+n+a[t]-r[In[t]];return fd?Math.max(d-h,c-f):0}u(oC,"$edcf132a9284368a$var$getDelta");function JB(t){let e=window.getComputedStyle(t);return{top:parseInt(e.marginTop,10)||0,bottom:parseInt(e.marginBottom,10)||0,left:parseInt(e.marginLeft,10)||0,right:parseInt(e.marginRight,10)||0}}u(JB,"$edcf132a9284368a$var$getMargins");function sC(t){if(gd[t])return gd[t];let[e,n]=t.split(" "),r=In[e]||"right",i=HB[r];In[n]||(n="center");let l=gg[r],a=gg[i];return gd[t]={placement:e,crossPlacement:n,axis:r,crossAxis:i,size:l,crossSize:a},gd[t]}u(sC,"$edcf132a9284368a$var$parsePlacement");function Og(t,e,n,r,i,l,a,o,s,c){let{placement:d,crossPlacement:f,axis:h,crossAxis:p,size:m,crossSize:g}=r,O={};O[p]=t[p],f==="center"?O[p]+=(t[g]-n[g])/2:f!==p&&(O[p]+=t[g]-n[g]),O[p]+=l;const b=t[p]-n[g]+s+c,y=t[p]+t[g]-s-c;if(O[p]=We(O[p],b,y),d===h){const $=o?a[m]:e[lC[m]];O[md[h]]=Math.floor($-t[h]+i)}else O[h]=Math.floor(t[h]+t[m]+i);return O}u(Og,"$edcf132a9284368a$var$computePosition");function eV(t,e,n,r,i,l,a,o){const s=r?n.height:e[lC.height];let c=t.top!=null?n.top+t.top:n.top+(s-t.bottom-a),d=o!=="top"?Math.max(0,e.height+e.top+e.scroll.top-c-(i.top+i.bottom+l)):Math.max(0,c+a-(e.top+e.scroll.top)-(i.top+i.bottom+l));return Math.min(e.height-l*2,d)}u(eV,"$edcf132a9284368a$var$getMaxHeight");function uC(t,e,n,r,i,l){let{placement:a,axis:o,size:s}=l;return a===o?Math.max(0,n[o]-t[o]-t.scroll[o]+e[o]-r[o]-r[md[o]]-i):Math.max(0,t[s]+t[o]+t.scroll[o]-e[o]-n[o]-n[s]-r[o]-r[md[o]]-i)}u(uC,"$edcf132a9284368a$var$getAvailableSpace");function tV(t,e,n,r,i,l,a,o,s,c,d,f,h,p,m,g){let O=sC(t),{size:b,crossAxis:y,crossSize:$,placement:C,crossPlacement:w}=O,x=Og(e,o,n,O,d,f,c,h,m,g),P=d,v=uC(o,c,e,i,l+d,O);if(a&&r[b]>v){let F=sC(`${md[C]} ${w}`),V=Og(e,o,n,F,d,f,c,h,m,g);uC(o,c,e,i,l+d,F)>v&&(O=F,x=V,P=d)}let k="bottom";O.axis==="top"?O.placement==="top"?k="top":O.placement==="bottom"&&(k="bottom"):O.crossAxis==="top"&&(O.crossPlacement==="top"?k="bottom":O.crossPlacement==="bottom"&&(k="top"));let D=oC(y,x[y],n[$],o,s,l,c);x[y]+=D;let S=eV(x,o,c,h,i,l,n.height,k);p&&p{if(!n||r===null)return;let i=u(l=>{let a=l.target;if(!e.current||a instanceof Node&&!a.contains(e.current)||l.target instanceof HTMLInputElement||l.target instanceof HTMLTextAreaElement)return;let o=r||fC.get(e.current);o&&o()},"onScroll");return window.addEventListener("scroll",i,!0),()=>{window.removeEventListener("scroll",i,!0)}},[n,r,e])}u(iV,"$dd149f63282afbbf$export$18fc8428861184da");let Me=typeof document<"u"&&window.visualViewport;function lV(t){let{direction:e}=Ee(),{arrowSize:n=0,targetRef:r,overlayRef:i,scrollRef:l=i,placement:a="bottom",containerPadding:o=12,shouldFlip:s=!0,boundaryElement:c=typeof document<"u"?document.body:null,offset:d=0,crossOffset:f=0,shouldUpdatePosition:h=!0,isOpen:p=!0,onClose:m,maxHeight:g,arrowBoundaryOffset:O=0}=t,[b,y]=(0,wp.element.useState)({position:{},arrowOffsetLeft:void 0,arrowOffsetTop:void 0,maxHeight:void 0,placement:void 0}),$=[h,a,i.current,r.current,l.current,o,s,c,d,f,p,e,g,O,n],C=(0,wp.element.useRef)(Me?.scale);(0,wp.element.useEffect)(()=>{p&&(C.current=Me?.scale)},[p]);let w=(0,wp.element.useCallback)(()=>{if(h===!1||!p||!i.current||!r.current||!c||Me?.scale!==C.current)return;let k=null;if(l.current&&l.current.contains(document.activeElement)){let B=document.activeElement.getBoundingClientRect(),T=l.current.getBoundingClientRect();k={type:"top",offset:B.top-T.top},k.offset>T.height/2&&(k.type="bottom",k.offset=B.bottom-T.bottom)}let D=i.current;if(!g&&i.current){var S;D.style.top="0px",D.style.bottom="";var E;D.style.maxHeight=((E=(S=window.visualViewport)===null||S===void 0?void 0:S.height)!==null&&E!==void 0?E:window.innerHeight)+"px"}let A=nV({placement:oV(a,e),overlayNode:i.current,targetNode:r.current,scrollNode:l.current||i.current,padding:o,shouldFlip:s,boundaryElement:c,offset:d,crossOffset:f,maxHeight:g,arrowSize:n,arrowBoundaryOffset:O});if(D.style.top="",D.style.bottom="",D.style.left="",D.style.right="",Object.keys(A.position).forEach(B=>D.style[B]=A.position[B]+"px"),D.style.maxHeight=A.maxHeight!=null?A.maxHeight+"px":void 0,k){let B=document.activeElement.getBoundingClientRect(),T=l.current.getBoundingClientRect(),R=B[k.type]-T[k.type];l.current.scrollTop+=R-k.offset}y(A)},$);De(w,$),aV(w),p3({ref:i,onResize:w}),p3({ref:r,onResize:w});let x=(0,wp.element.useRef)(!1);De(()=>{let k,D=u(()=>{x.current=!0,clearTimeout(k),k=setTimeout(()=>{x.current=!1},500),w()},"onResize"),S=u(()=>{x.current&&D()},"onScroll");return Me?.addEventListener("resize",D),Me?.addEventListener("scroll",S),()=>{Me?.removeEventListener("resize",D),Me?.removeEventListener("scroll",S)}},[w]);let P=(0,wp.element.useCallback)(()=>{x.current||m()},[m,x]);iV({triggerRef:r,isOpen:p,onClose:m&&P});var v;return{overlayProps:{style:{position:"absolute",zIndex:1e5,...b.position,maxHeight:(v=b.maxHeight)!==null&&v!==void 0?v:"100vh"}},placement:b.placement,arrowProps:{"aria-hidden":"true",role:"presentation",style:{left:b.arrowOffsetLeft,top:b.arrowOffsetTop}},updatePosition:w}}u(lV,"$2a41e45df1593e64$export$d39e1813b3bdd0e1");function aV(t){De(()=>(window.addEventListener("resize",t,!1),()=>{window.removeEventListener("resize",t,!1)}),[t])}u(aV,"$2a41e45df1593e64$var$useResize");function oV(t,e){return e==="rtl"?t.replace("start","right").replace("end","left"):t.replace("start","left").replace("end","right")}u(oV,"$2a41e45df1593e64$var$translateRTL");const xr=[];function hC(t,e){let{onClose:n,shouldCloseOnBlur:r,isOpen:i,isDismissable:l=!1,isKeyboardDismissDisabled:a=!1,shouldCloseOnInteractOutside:o}=t;(0,wp.element.useEffect)(()=>(i&&xr.push(e),()=>{let m=xr.indexOf(e);m>=0&&xr.splice(m,1)}),[i,e]);let s=u(()=>{xr[xr.length-1]===e&&n&&n()},"onHide"),c=u(m=>{(!o||o(m.target))&&xr[xr.length-1]===e&&(m.stopPropagation(),m.preventDefault())},"onInteractOutsideStart"),d=u(m=>{(!o||o(m.target))&&(xr[xr.length-1]===e&&(m.stopPropagation(),m.preventDefault()),s())},"onInteractOutside"),f=u(m=>{m.key==="Escape"&&!a&&!m.nativeEvent.isComposing&&(m.stopPropagation(),m.preventDefault(),s())},"onKeyDown");zQ({ref:e,onInteractOutside:l&&i?d:null,onInteractOutsideStart:c});let{focusWithinProps:h}=Nt({isDisabled:!r,onBlurWithin:m=>{!m.relatedTarget||KQ(m.relatedTarget)||(!o||o(m.relatedTarget))&&n()}}),p=u(m=>{m.target===m.currentTarget&&m.preventDefault()},"onPointerDownUnderlay");return{overlayProps:{onKeyDown:f,...h},underlayProps:{onPointerDown:p}}}u(hC,"$a11501f3d1d39e6c$export$ea8f71083e90600f");function Ko(t,e,n){let{type:r}=t,{isOpen:i}=e;(0,wp.element.useEffect)(()=>{n&&n.current&&fC.set(n.current,e.close)});let l;r==="menu"?l=!0:r==="listbox"&&(l="listbox");let a=Fe();return{triggerProps:{"aria-haspopup":l,"aria-expanded":i,"aria-controls":i?a:null,onPress:e.toggle},overlayProps:{id:a}}}u(Ko,"$628037886ba31236$export$f9d5c8beee7d008d");const bg=typeof document<"u"&&window.visualViewport,sV=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);let Od=0,yg;function pC(t={}){let{isDisabled:e}=t;De(()=>{if(!e)return Od++,Od===1&&(Mi()?yg=cV():yg=uV()),()=>{Od--,Od===0&&yg()}},[e])}u(pC,"$49c51c25361d4cd2$export$ee0f7cc6afcd1c18");function uV(){return fr(ha(document.documentElement,"paddingRight",`${window.innerWidth-document.documentElement.clientWidth}px`),ha(document.documentElement,"overflow","hidden"))}u(uV,"$49c51c25361d4cd2$var$preventScrollStandard");function cV(){let t,e,n=u(c=>{t=Qc(c.target,!0),!(t===document.documentElement&&t===document.body)&&t instanceof HTMLElement&&window.getComputedStyle(t).overscrollBehavior==="auto"&&(e=ha(t,"overscrollBehavior","contain"))},"onTouchStart"),r=u(c=>{if(!t||t===document.documentElement||t===document.body){c.preventDefault();return}t.scrollHeight===t.clientHeight&&t.scrollWidth===t.clientWidth&&c.preventDefault()},"onTouchMove"),i=u(c=>{let d=c.target;gC(d)&&d!==document.activeElement&&(c.preventDefault(),o(),d.style.transform="translateY(-2000px)",d.focus(),requestAnimationFrame(()=>{d.style.transform=""})),e&&e()},"onTouchEnd"),l=u(c=>{let d=c.target;gC(d)&&(o(),d.style.transform="translateY(-2000px)",requestAnimationFrame(()=>{d.style.transform="",bg&&(bg.height{mC(d)}):bg.addEventListener("resize",()=>mC(d),{once:!0}))}))},"onFocus"),a=null,o=u(()=>{if(a)return;let c=u(()=>{window.scrollTo(0,0)},"onWindowScroll"),d=window.pageXOffset,f=window.pageYOffset;a=fr(Go(window,"scroll",c),ha(document.documentElement,"paddingRight",`${window.innerWidth-document.documentElement.clientWidth}px`),ha(document.documentElement,"overflow","hidden"),ha(document.body,"marginTop",`-${f}px`),()=>{window.scrollTo(d,f)}),window.scrollTo(0,0)},"setupStyles"),s=fr(Go(document,"touchstart",n,{passive:!1,capture:!0}),Go(document,"touchmove",r,{passive:!1,capture:!0}),Go(document,"touchend",i,{passive:!1,capture:!0}),Go(document,"focus",l,!0));return()=>{e?.(),a?.(),s()}}u(cV,"$49c51c25361d4cd2$var$preventScrollMobileSafari");function ha(t,e,n){let r=t.style[e];return t.style[e]=n,()=>{t.style[e]=r}}u(ha,"$49c51c25361d4cd2$var$setStyle");function Go(t,e,n,r){return t.addEventListener(e,n,r),()=>{t.removeEventListener(e,n,r)}}u(Go,"$49c51c25361d4cd2$var$addEvent");function mC(t){let e=document.scrollingElement||document.documentElement;for(;t&&t!==e;){let n=Qc(t);if(n!==document.documentElement&&n!==document.body&&n!==t){let r=n.getBoundingClientRect().top,i=t.getBoundingClientRect().top;i>r+t.clientHeight&&(n.scrollTop+=i-r)}t=n.parentElement}}u(mC,"$49c51c25361d4cd2$var$scrollIntoView");function gC(t){return t instanceof HTMLInputElement&&!sV.has(t.type)||t instanceof HTMLTextAreaElement||t instanceof HTMLElement&&t.isContentEditable}u(gC,"$49c51c25361d4cd2$var$willOpenKeyboard");const vg=wp.element.createContext(null);function dV(t){let{children:e}=t,n=(0,wp.element.useContext)(vg),[r,i]=(0,wp.element.useState)(0),l=(0,wp.element.useMemo)(()=>({parent:n,modalCount:r,addModal(){i(a=>a+1),n&&n.addModal()},removeModal(){i(a=>a-1),n&&n.removeModal()}}),[n,r]);return wp.element.createElement(vg.Provider,{value:l},e)}u(dV,"$f57aed4a881a3485$export$178405afcd8c5eb");function fV(){let t=(0,wp.element.useContext)(vg);return{modalProviderProps:{"aria-hidden":t&&t.modalCount>0?!0:null}}}u(fV,"$f57aed4a881a3485$export$d9aaed4c3ece1bc0");function hV(t){let{modalProviderProps:e}=fV();return wp.element.createElement("div",{"data-overlay-container":!0,...t,...e})}u(hV,"$f57aed4a881a3485$var$OverlayContainerDOM");function OC(t){return wp.element.createElement(dV,null,wp.element.createElement(hV,t))}u(OC,"$f57aed4a881a3485$export$bf688221f59024e5");var bC={};bC={dismiss:"\u062A\u062C\u0627\u0647\u0644"};var yC={};yC={dismiss:"\u041E\u0442\u0445\u0432\u044A\u0440\u043B\u044F\u043D\u0435"};var vC={};vC={dismiss:"Odstranit"};var $C={};$C={dismiss:"Luk"};var wC={};wC={dismiss:"Schlie\xDFen"};var xC={};xC={dismiss:"\u0391\u03C0\u03CC\u03C1\u03C1\u03B9\u03C8\u03B7"};var SC={};SC={dismiss:"Dismiss"};var CC={};CC={dismiss:"Descartar"};var DC={};DC={dismiss:"L\xF5peta"};var kC={};kC={dismiss:"Hylk\xE4\xE4"};var PC={};PC={dismiss:"Rejeter"};var EC={};EC={dismiss:"\u05D4\u05EA\u05E2\u05DC\u05DD"};var AC={};AC={dismiss:"Odbaci"};var TC={};TC={dismiss:"Elutas\xEDt\xE1s"};var RC={};RC={dismiss:"Ignora"};var QC={};QC={dismiss:"\u9589\u3058\u308B"};var MC={};MC={dismiss:"\uBB34\uC2DC"};var BC={};BC={dismiss:"Atmesti"};var VC={};VC={dismiss:"Ner\u0101d\u012Bt"};var NC={};NC={dismiss:"Lukk"};var FC={};FC={dismiss:"Negeren"};var IC={};IC={dismiss:"Zignoruj"};var ZC={};ZC={dismiss:"Descartar"};var zC={};zC={dismiss:"Dispensar"};var LC={};LC={dismiss:"Revocare"};var WC={};WC={dismiss:"\u041F\u0440\u043E\u043F\u0443\u0441\u0442\u0438\u0442\u044C"};var XC={};XC={dismiss:"Zru\u0161i\u0165"};var jC={};jC={dismiss:"Opusti"};var qC={};qC={dismiss:"Odbaci"};var UC={};UC={dismiss:"Avvisa"};var YC={};YC={dismiss:"Kapat"};var KC={};KC={dismiss:"\u0421\u043A\u0430\u0441\u0443\u0432\u0430\u0442\u0438"};var GC={};GC={dismiss:"\u53D6\u6D88"};var HC={};HC={dismiss:"\u95DC\u9589"};var _C={};_C={"ar-AE":bC,"bg-BG":yC,"cs-CZ":vC,"da-DK":$C,"de-DE":wC,"el-GR":xC,"en-US":SC,"es-ES":CC,"et-EE":DC,"fi-FI":kC,"fr-FR":PC,"he-IL":EC,"hr-HR":AC,"hu-HU":TC,"it-IT":RC,"ja-JP":QC,"ko-KR":MC,"lt-LT":BC,"lv-LV":VC,"nb-NO":NC,"nl-NL":FC,"pl-PL":IC,"pt-BR":ZC,"pt-PT":zC,"ro-RO":LC,"ru-RU":WC,"sk-SK":XC,"sl-SI":jC,"sr-SP":qC,"sv-SE":UC,"tr-TR":YC,"uk-UA":KC,"zh-CN":GC,"zh-TW":HC};function pV(t){return t&&t.__esModule?t.default:t}u(pV,"$parcel$interopDefault$7");function Ho(t){let{onDismiss:e,...n}=t,r=Ft(pV(_C),"@react-aria/overlays"),i=Mn(n,r.format("dismiss")),l=u(()=>{e&&e()},"onClick");return wp.element.createElement(on,null,wp.element.createElement("button",{...i,tabIndex:-1,onClick:l,style:{width:1,height:1}}))}u(Ho,"$86ea4cb521eb2e37$export$2317d149ed6f78c4");let _o=new WeakMap,sn=[];function $g(t,e=document.body){let n=new Set(t),r=new Set,i=u(s=>{for(let h of s.querySelectorAll("[data-live-announcer], [data-react-aria-top-layer]"))n.add(h);let c=u(h=>{if(n.has(h)||r.has(h.parentElement)&&h.parentElement.getAttribute("role")!=="row")return NodeFilter.FILTER_REJECT;for(let p of n)if(h.contains(p))return NodeFilter.FILTER_SKIP;return NodeFilter.FILTER_ACCEPT},"acceptNode"),d=document.createTreeWalker(s,NodeFilter.SHOW_ELEMENT,{acceptNode:c}),f=c(s);if(f===NodeFilter.FILTER_ACCEPT&&l(s),f!==NodeFilter.FILTER_REJECT){let h=d.nextNode();for(;h!=null;)l(h),h=d.nextNode()}},"walk"),l=u(s=>{var c;let d=(c=_o.get(s))!==null&&c!==void 0?c:0;s.getAttribute("aria-hidden")==="true"&&d===0||(d===0&&s.setAttribute("aria-hidden","true"),r.add(s),_o.set(s,d+1))},"hide");sn.length&&sn[sn.length-1].disconnect(),i(e);let a=new MutationObserver(s=>{for(let c of s)if(!(c.type!=="childList"||c.addedNodes.length===0)&&![...n,...r].some(d=>d.contains(c.target))){for(let d of c.removedNodes)d instanceof Element&&(n.delete(d),r.delete(d));for(let d of c.addedNodes)(d instanceof HTMLElement||d instanceof SVGElement)&&(d.dataset.liveAnnouncer==="true"||d.dataset.reactAriaTopLayer==="true")?n.add(d):d instanceof Element&&i(d)}});a.observe(e,{childList:!0,subtree:!0});let o={observe(){a.observe(e,{childList:!0,subtree:!0})},disconnect(){a.disconnect()}};return sn.push(o),()=>{a.disconnect();for(let s of r){let c=_o.get(s);c===1?(s.removeAttribute("aria-hidden"),_o.delete(s)):_o.set(s,c-1)}o===sn[sn.length-1]?(sn.pop(),sn.length&&sn[sn.length-1].observe()):sn.splice(sn.indexOf(o),1)}}u($g,"$5e3802645cc19319$export$1c3ebcada18427bf");function mV(t,e){let{triggerRef:n,popoverRef:r,isNonModal:i,isKeyboardDismissDisabled:l,shouldCloseOnInteractOutside:a,...o}=t,{overlayProps:s,underlayProps:c}=hC({isOpen:e.isOpen,onClose:e.close,shouldCloseOnBlur:!0,isDismissable:!i,isKeyboardDismissDisabled:l,shouldCloseOnInteractOutside:a},r),{overlayProps:d,arrowProps:f,placement:h}=lV({...o,targetRef:n,overlayRef:r,isOpen:e.isOpen,onClose:i?e.close:null});return pC({isDisabled:i||!e.isOpen}),De(()=>{if(e.isOpen&&!i&&r.current)return $g([r.current])},[i,e.isOpen,r]),{popoverProps:te(s,d),arrowProps:f,underlayProps:c,placement:h}}u(mV,"$f2f8a6077418541e$export$542a6fd13ac93354");const gV=(0,wp.element.createContext)({});function OV(){var t;return(t=(0,wp.element.useContext)(gV))!==null&&t!==void 0?t:{}}u(OV,"$96b38030c423d352$export$574e9b0fb070c3b0");const JC=wp.element.createContext(null);function eD(t){let e=kc(),{portalContainer:n=e?null:document.body,isExiting:r}=t,[i,l]=(0,wp.element.useState)(!1),a=(0,wp.element.useMemo)(()=>({contain:i,setContain:l}),[i,l]),{getContainer:o}=OV();if(!t.portalContainer&&o&&(n=o()),!n)return null;let s=t.children;return t.disableFocusManagement||(s=wp.element.createElement(qc,{restoreFocus:!0,contain:i&&!r},s)),s=wp.element.createElement(JC.Provider,{value:a},wp.element.createElement(TQ,null,s)),wp.element.createPortal(s,n)}u(eD,"$337b884510726a0d$export$c6fdb837b070b4ff");function tD(){let t=(0,wp.element.useContext)(JC),e=t?.setContain;De(()=>{e?.(!0)},[e])}u(tD,"$337b884510726a0d$export$14c98a7594375490");function bV(t,e,n){let{overlayProps:r,underlayProps:i}=hC({...t,isOpen:e.isOpen,onClose:e.close},n);return pC({isDisabled:!e.isOpen}),tD(),(0,wp.element.useEffect)(()=>{if(e.isOpen)return $g([n.current])},[e.isOpen,n]),{modalProps:te(r),underlayProps:i}}u(bV,"$8ac8429251c45e4b$export$dbc0f175b25fb0fb");const bd=new WeakMap;function yV(t){return typeof t=="string"?t.replace(/\s*/g,""):""+t}u(yV,"$b1f0cad8af73213b$var$normalizeKey");function nD(t,e){let n=bd.get(t);if(!n)throw new Error("Unknown list");return`${n.id}-option-${yV(e)}`}u(nD,"$b1f0cad8af73213b$export$9145995848b05025");function wg(t){return Ac()?t.altKey:t.ctrlKey}u(wg,"$feb5ffebff200149$export$d3e3bd3e26688c04");function pa(t){return pr()?t.metaKey:t.ctrlKey}u(pa,"$feb5ffebff200149$export$16792effe837dba3");const vV=1e3;function rD(t){let{keyboardDelegate:e,selectionManager:n,onTypeSelect:r}=t,i=(0,wp.element.useRef)({search:"",timeout:null}).current,l=u(a=>{let o=$V(a.key);if(!o||a.ctrlKey||a.metaKey||!a.currentTarget.contains(a.target))return;o===" "&&i.search.trim().length>0&&(a.preventDefault(),"continuePropagation"in a||a.stopPropagation()),i.search+=o;let s=e.getKeyForSearch(i.search,n.focusedKey);s==null&&(s=e.getKeyForSearch(i.search)),s!=null&&(n.setFocusedKey(s),r&&r(s)),clearTimeout(i.timeout),i.timeout=setTimeout(()=>{i.search=""},vV)},"onKeyDown");return{typeSelectProps:{onKeyDownCapture:e.getKeyForSearch?l:null}}}u(rD,"$fb3050f43d946246$export$e32c88dfddc6e1d8");function $V(t){return t.length===1||!/^[A-Z]/i.test(t)?t:""}u($V,"$fb3050f43d946246$var$getStringForKey");function iD(t){let{selectionManager:e,keyboardDelegate:n,ref:r,autoFocus:i=!1,shouldFocusWrap:l=!1,disallowEmptySelection:a=!1,disallowSelectAll:o=!1,selectOnFocus:s=e.selectionBehavior==="replace",disallowTypeAhead:c=!1,shouldUseVirtualFocus:d,allowsTabNavigation:f=!1,isVirtualized:h,scrollRef:p=r,linkBehavior:m="action"}=t,{direction:g}=Ee(),O=Rc(),b=u(D=>{if(D.altKey&&D.key==="Tab"&&D.preventDefault(),!r.current.contains(D.target))return;const S=u((W,re)=>{if(W!=null){if(e.isLink(W)&&m==="selection"&&s&&!wg(D)){(0,wp.element.flushSync)(()=>{e.setFocusedKey(W,re)});let fe=p.current.querySelector(`[data-key="${CSS.escape(W.toString())}"]`),L=e.getItemProps(W);O.open(fe,D,L.href,L.routerOptions);return}if(e.setFocusedKey(W,re),e.isLink(W)&&m==="override")return;D.shiftKey&&e.selectionMode==="multiple"?e.extendSelection(W):s&&!wg(D)&&e.replaceSelection(W)}},"navigateToKey");switch(D.key){case"ArrowDown":if(n.getKeyBelow){var E,A,B;let W=e.focusedKey!=null?(E=n.getKeyBelow)===null||E===void 0?void 0:E.call(n,e.focusedKey):(A=n.getFirstKey)===null||A===void 0?void 0:A.call(n);W==null&&l&&(W=(B=n.getFirstKey)===null||B===void 0?void 0:B.call(n,e.focusedKey)),W!=null&&(D.preventDefault(),S(W))}break;case"ArrowUp":if(n.getKeyAbove){var T,R,M;let W=e.focusedKey!=null?(T=n.getKeyAbove)===null||T===void 0?void 0:T.call(n,e.focusedKey):(R=n.getLastKey)===null||R===void 0?void 0:R.call(n);W==null&&l&&(W=(M=n.getLastKey)===null||M===void 0?void 0:M.call(n,e.focusedKey)),W!=null&&(D.preventDefault(),S(W))}break;case"ArrowLeft":if(n.getKeyLeftOf){var N,I,F;let W=(N=n.getKeyLeftOf)===null||N===void 0?void 0:N.call(n,e.focusedKey);W==null&&l&&(W=g==="rtl"?(I=n.getFirstKey)===null||I===void 0?void 0:I.call(n,e.focusedKey):(F=n.getLastKey)===null||F===void 0?void 0:F.call(n,e.focusedKey)),W!=null&&(D.preventDefault(),S(W,g==="rtl"?"first":"last"))}break;case"ArrowRight":if(n.getKeyRightOf){var V,Z,_;let W=(V=n.getKeyRightOf)===null||V===void 0?void 0:V.call(n,e.focusedKey);W==null&&l&&(W=g==="rtl"?(Z=n.getLastKey)===null||Z===void 0?void 0:Z.call(n,e.focusedKey):(_=n.getFirstKey)===null||_===void 0?void 0:_.call(n,e.focusedKey)),W!=null&&(D.preventDefault(),S(W,g==="rtl"?"last":"first"))}break;case"Home":if(n.getFirstKey){D.preventDefault();let W=n.getFirstKey(e.focusedKey,pa(D));e.setFocusedKey(W),pa(D)&&D.shiftKey&&e.selectionMode==="multiple"?e.extendSelection(W):s&&e.replaceSelection(W)}break;case"End":if(n.getLastKey){D.preventDefault();let W=n.getLastKey(e.focusedKey,pa(D));e.setFocusedKey(W),pa(D)&&D.shiftKey&&e.selectionMode==="multiple"?e.extendSelection(W):s&&e.replaceSelection(W)}break;case"PageDown":if(n.getKeyPageBelow){let W=n.getKeyPageBelow(e.focusedKey);W!=null&&(D.preventDefault(),S(W))}break;case"PageUp":if(n.getKeyPageAbove){let W=n.getKeyPageAbove(e.focusedKey);W!=null&&(D.preventDefault(),S(W))}break;case"a":pa(D)&&e.selectionMode==="multiple"&&o!==!0&&(D.preventDefault(),e.selectAll());break;case"Escape":!a&&e.selectedKeys.size!==0&&(D.stopPropagation(),D.preventDefault(),e.clearSelection());break;case"Tab":if(!f){if(D.shiftKey)r.current.focus();else{let W=ht(r.current,{tabbable:!0}),re,fe;do fe=W.lastChild(),fe&&(re=fe);while(fe);re&&!re.contains(document.activeElement)&&en(re)}break}}},"onKeyDown"),y=(0,wp.element.useRef)({top:0,left:0});mr(p,"scroll",h?null:()=>{y.current={top:p.current.scrollTop,left:p.current.scrollLeft}});let $=u(D=>{if(e.isFocused){D.currentTarget.contains(D.target)||e.setFocused(!1);return}if(D.currentTarget.contains(D.target)){if(e.setFocused(!0),e.focusedKey==null){let A=u(T=>{T!=null&&(e.setFocusedKey(T),s&&e.replaceSelection(T))},"navigateToFirstKey"),B=D.relatedTarget;var S,E;B&&D.currentTarget.compareDocumentPosition(B)&Node.DOCUMENT_POSITION_FOLLOWING?A((S=e.lastSelectedKey)!==null&&S!==void 0?S:n.getLastKey()):A((E=e.firstSelectedKey)!==null&&E!==void 0?E:n.getFirstKey())}else h||(p.current.scrollTop=y.current.top,p.current.scrollLeft=y.current.left);if(e.focusedKey!=null){let A=p.current.querySelector(`[data-key="${CSS.escape(e.focusedKey.toString())}"]`);A&&(A.contains(document.activeElement)||en(A),Lc()==="keyboard"&&Mc(A,{containingElement:r.current}))}}},"onFocus"),C=u(D=>{D.currentTarget.contains(D.relatedTarget)||e.setFocused(!1)},"onBlur");const w=(0,wp.element.useRef)(i);(0,wp.element.useEffect)(()=>{if(w.current){let D=null;i==="first"&&(D=n.getFirstKey()),i==="last"&&(D=n.getLastKey());let S=e.selectedKeys;if(S.size){for(let E of S)if(e.canSelectItem(E)){D=E;break}}e.setFocused(!0),e.setFocusedKey(D),D==null&&!d&&Fi(r.current)}},[]);let x=(0,wp.element.useRef)(e.focusedKey);(0,wp.element.useEffect)(()=>{if(e.isFocused&&e.focusedKey!=null&&(e.focusedKey!==x.current||w.current)&&p?.current){let D=Lc(),S=r.current.querySelector(`[data-key="${CSS.escape(e.focusedKey.toString())}"]`);if(!S)return;(D==="keyboard"||w.current)&&(g3(p.current,S),D!=="virtual"&&Mc(S,{containingElement:r.current}))}!d&&e.isFocused&&e.focusedKey==null&&x.current!=null&&Fi(r.current),x.current=e.focusedKey,w.current=!1}),mr(r,"react-aria-focus-scope-restore",D=>{D.preventDefault(),e.setFocused(!0)});let P={onKeyDown:b,onFocus:$,onBlur:C,onMouseDown(D){p.current===D.target&&D.preventDefault()}},{typeSelectProps:v}=rD({keyboardDelegate:n,selectionManager:e});c||(P=te(v,P));let k;return d||(k=e.focusedKey==null?0:-1),{collectionProps:{...P,tabIndex:k}}}u(iD,"$ae20dd8cbca75726$export$d6daf82dcd84e87c");function wV(t){let{selectionManager:e,key:n,ref:r,shouldSelectOnPressUp:i,shouldUseVirtualFocus:l,focus:a,isDisabled:o,onAction:s,allowsDifferentPressOrigin:c,linkBehavior:d="action"}=t,f=Rc(),h=u(M=>{if(M.pointerType==="keyboard"&&wg(M))e.toggleSelection(n);else{if(e.selectionMode==="none")return;if(e.isLink(n)){if(d==="selection"){let N=e.getItemProps(n);f.open(r.current,M,N.href,N.routerOptions),e.setSelectedKeys(e.selectedKeys);return}else if(d==="override"||d==="none")return}e.selectionMode==="single"?e.isSelected(n)&&!e.disallowEmptySelection?e.toggleSelection(n):e.replaceSelection(n):M&&M.shiftKey?e.extendSelection(n):e.selectionBehavior==="toggle"||M&&(pa(M)||M.pointerType==="touch"||M.pointerType==="virtual")?e.toggleSelection(n):e.replaceSelection(n)}},"onSelect");(0,wp.element.useEffect)(()=>{n===e.focusedKey&&e.isFocused&&!l&&(a?a():document.activeElement!==r.current&&Fi(r.current))},[r,n,e.focusedKey,e.childFocusStrategy,e.isFocused,l]),o=o||e.isDisabled(n);let p={};!l&&!o?p={tabIndex:n===e.focusedKey?0:-1,onFocus(M){M.target===r.current&&e.setFocusedKey(n)}}:o&&(p.onMouseDown=M=>{M.preventDefault()});let m=e.isLink(n)&&d==="override",g=e.isLink(n)&&d!=="selection"&&d!=="none",O=!o&&e.canSelectItem(n)&&!m,b=(s||g)&&!o,y=b&&(e.selectionBehavior==="replace"?!O:!O||e.isEmpty),$=b&&O&&e.selectionBehavior==="replace",C=y||$,w=(0,wp.element.useRef)(null),x=C&&O,P=(0,wp.element.useRef)(!1),v=(0,wp.element.useRef)(!1),k=u(M=>{if(s&&s(),g){let N=e.getItemProps(n);f.open(r.current,M,N.href,N.routerOptions)}},"performAction"),D={};i?(D.onPressStart=M=>{w.current=M.pointerType,P.current=x,M.pointerType==="keyboard"&&(!C||aD())&&h(M)},c?(D.onPressUp=y?null:M=>{M.pointerType!=="keyboard"&&O&&h(M)},D.onPress=y?k:null):D.onPress=M=>{if(y||$&&M.pointerType!=="mouse"){if(M.pointerType==="keyboard"&&!lD())return;k(M)}else M.pointerType!=="keyboard"&&O&&h(M)}):(D.onPressStart=M=>{w.current=M.pointerType,P.current=x,v.current=y,O&&(M.pointerType==="mouse"&&!y||M.pointerType==="keyboard"&&(!b||aD()))&&h(M)},D.onPress=M=>{(M.pointerType==="touch"||M.pointerType==="pen"||M.pointerType==="virtual"||M.pointerType==="keyboard"&&C&&lD()||M.pointerType==="mouse"&&v.current)&&(C?k(M):O&&h(M))}),p["data-key"]=n,D.preventFocusOnPress=l;let{pressProps:S,isPressed:E}=gr(D),A=$?M=>{w.current==="mouse"&&(M.stopPropagation(),M.preventDefault(),k(M))}:void 0,{longPressProps:B}=M3({isDisabled:!x,onLongPress(M){M.pointerType==="touch"&&(h(M),e.setSelectionBehavior("toggle"))}}),T=u(M=>{w.current==="touch"&&P.current&&M.preventDefault()},"onDragStartCapture"),R=e.isLink(n)?M=>{Bi.isOpening||M.preventDefault()}:void 0;return{itemProps:te(p,O||y?S:{},x?B:{},{onDoubleClick:A,onDragStartCapture:T,onClick:R}),isPressed:E,isSelected:e.isSelected(n),isFocused:e.isFocused&&e.focusedKey===n,isDisabled:o,allowsSelection:O,hasAction:C}}u(wV,"$880e95eb8b93ba9a$export$ecf600387e221c37");function lD(){let t=window.event;return t?.key==="Enter"}u(lD,"$880e95eb8b93ba9a$var$isActionKey");function aD(){let t=window.event;return t?.key===" "||t?.code==="Space"}u(aD,"$880e95eb8b93ba9a$var$isSelectionKey");const Ty=class Ty{getItemRect(e){let n=this.ref.current,r=e!=null?n.querySelector(`[data-key="${CSS.escape(e.toString())}"]`):null;if(!r)return null;let i=n.getBoundingClientRect(),l=r.getBoundingClientRect();return{x:l.left-i.left+n.scrollLeft,y:l.top-i.top+n.scrollTop,width:l.width,height:l.height}}getContentSize(){let e=this.ref.current;return{width:e.scrollWidth,height:e.scrollHeight}}getVisibleRect(){let e=this.ref.current;return{x:e.scrollLeft,y:e.scrollTop,width:e.offsetWidth,height:e.offsetHeight}}constructor(e){this.ref=e}};u(Ty,"$657e4dc4a6e88df0$export$8f5ed9ff9f511381");let yd=Ty;const Ry=class Ry{isDisabled(e){var n;return this.disabledBehavior==="all"&&(((n=e.props)===null||n===void 0?void 0:n.isDisabled)||this.disabledKeys.has(e.key))}findNextNonDisabled(e,n){for(;e!=null;){let r=this.collection.getItem(e);if(r?.type==="item"&&!this.isDisabled(r))return e;e=n(e)}return null}getNextKey(e){return e=this.collection.getKeyAfter(e),this.findNextNonDisabled(e,n=>this.collection.getKeyAfter(n))}getPreviousKey(e){return e=this.collection.getKeyBefore(e),this.findNextNonDisabled(e,n=>this.collection.getKeyBefore(n))}findKey(e,n,r){let i=this.layoutDelegate.getItemRect(e);if(!i)return null;let l=i;do e=n(e),i=this.layoutDelegate.getItemRect(e);while(i&&r(l,i));return e}isSameRow(e,n){return e.y===n.y||e.x!==n.x}isSameColumn(e,n){return e.x===n.x||e.y!==n.y}getKeyBelow(e){return this.layout==="grid"&&this.orientation==="vertical"?this.findKey(e,n=>this.getNextKey(n),this.isSameRow):this.getNextKey(e)}getKeyAbove(e){return this.layout==="grid"&&this.orientation==="vertical"?this.findKey(e,n=>this.getPreviousKey(n),this.isSameRow):this.getPreviousKey(e)}getNextColumn(e,n){return n?this.getPreviousKey(e):this.getNextKey(e)}getKeyRightOf(e){let n=this.direction==="ltr"?"getKeyRightOf":"getKeyLeftOf";return this.layoutDelegate[n]?(e=this.layoutDelegate[n](e),this.findNextNonDisabled(e,r=>this.layoutDelegate[n](r))):this.layout==="grid"?this.orientation==="vertical"?this.getNextColumn(e,this.direction==="rtl"):this.findKey(e,r=>this.getNextColumn(r,this.direction==="rtl"),this.isSameColumn):this.orientation==="horizontal"?this.getNextColumn(e,this.direction==="rtl"):null}getKeyLeftOf(e){let n=this.direction==="ltr"?"getKeyLeftOf":"getKeyRightOf";return this.layoutDelegate[n]?(e=this.layoutDelegate[n](e),this.findNextNonDisabled(e,r=>this.layoutDelegate[n](r))):this.layout==="grid"?this.orientation==="vertical"?this.getNextColumn(e,this.direction==="ltr"):this.findKey(e,r=>this.getNextColumn(r,this.direction==="ltr"),this.isSameColumn):this.orientation==="horizontal"?this.getNextColumn(e,this.direction==="ltr"):null}getFirstKey(){let e=this.collection.getFirstKey();return this.findNextNonDisabled(e,n=>this.collection.getKeyAfter(n))}getLastKey(){let e=this.collection.getLastKey();return this.findNextNonDisabled(e,n=>this.collection.getKeyBefore(n))}getKeyPageAbove(e){let n=this.ref.current,r=this.layoutDelegate.getItemRect(e);if(!r)return null;if(!xo(n))return this.getFirstKey();if(this.orientation==="horizontal"){let i=Math.max(0,r.x+r.width-this.layoutDelegate.getVisibleRect().width);for(;r&&r.x>i;)e=this.getKeyAbove(e),r=e==null?null:this.layoutDelegate.getItemRect(e)}else{let i=Math.max(0,r.y+r.height-this.layoutDelegate.getVisibleRect().height);for(;r&&r.y>i;)e=this.getKeyAbove(e),r=e==null?null:this.layoutDelegate.getItemRect(e)}return e??this.getFirstKey()}getKeyPageBelow(e){let n=this.ref.current,r=this.layoutDelegate.getItemRect(e);if(!r)return null;if(!xo(n))return this.getLastKey();if(this.orientation==="horizontal"){let i=Math.min(this.layoutDelegate.getContentSize().width,r.y-r.width+this.layoutDelegate.getVisibleRect().width);for(;r&&r.xl||new Jo({collection:n,disabledKeys:r,disabledBehavior:s,ref:i,collator:o,layoutDelegate:a}),[l,a,n,r,i,o,s]),{collectionProps:d}=iD({...t,ref:i,selectionManager:e,keyboardDelegate:c});return{listProps:d}}u(xV,"$982254629710d113$export$b95089534ab7c1fd");function oD(t,e,n){let r=ft(t,{labelable:!0}),i=t.selectionBehavior||"toggle",l=t.linkBehavior||(i==="replace"?"action":"override");i==="toggle"&&l==="action"&&(l="override");let{listProps:a}=xV({...t,ref:n,selectionManager:e.selectionManager,collection:e.collection,disabledKeys:e.disabledKeys,linkBehavior:l}),{focusWithinProps:o}=Nt({onFocusWithin:t.onFocus,onBlurWithin:t.onBlur,onFocusWithinChange:t.onFocusChange}),s=Fe(t.id);bd.set(e,{id:s,shouldUseVirtualFocus:t.shouldUseVirtualFocus,shouldSelectOnPressUp:t.shouldSelectOnPressUp,shouldFocusOnHover:t.shouldFocusOnHover,isVirtualized:t.isVirtualized,onAction:t.onAction,linkBehavior:l});let{labelProps:c,fieldProps:d}=fd({...t,id:s,labelElementType:"span"});return{labelProps:c,listBoxProps:te(r,o,e.selectionManager.selectionMode==="multiple"?{"aria-multiselectable":"true"}:{},{role:"listbox",...te(d,a)})}}u(oD,"$c132121280ec012d$export$50eacbbf140a3141");function sD(t){return null}u(sD,"$c1d7fb2ec91bae71$var$Item"),sD.getCollectionNode=u(function*(e,n){let{childItems:r,title:i,children:l}=e,a=e.title||e.children,o=e.textValue||(typeof a=="string"?a:"")||e["aria-label"]||"";!o&&!n?.suppressTextValueWarning&&console.warn(" with non-plain text contents is unsupported by type to select for accessibility. Please add a `textValue` prop."),yield{type:"item",props:e,rendered:a,textValue:o,"aria-label":e["aria-label"],hasChildNodes:SV(e),*childNodes(){if(r)for(let s of r)yield{type:"item",value:s};else if(i){let s=[];wp.element.Children.forEach(l,c=>{s.push({type:"item",element:c})}),yield*s}}}},"getCollectionNode");function SV(t){return t.hasChildItems!=null?t.hasChildItems:!!(t.childItems||t.title&&wp.element.Children.count(t.children)>0)}u(SV,"$c1d7fb2ec91bae71$var$hasChildItems");let Sr=sD;function uD(t){return null}u(uD,"$9fc4852771d079eb$var$Section"),uD.getCollectionNode=u(function*(e){let{children:n,title:r,items:i}=e;yield{type:"section",props:e,hasChildNodes:!0,rendered:r,"aria-label":e["aria-label"],*childNodes(){if(typeof n=="function"){if(!i)throw new Error("props.children was a function but props.items is missing");for(let l of i)yield{type:"item",value:l,renderer:n}}else{let l=[];wp.element.Children.forEach(n,a=>{l.push({type:"item",element:a})}),yield*l}}}},"getCollectionNode");let CV=uD;const Qy=class Qy{build(e,n){return this.context=n,cD(()=>this.iterateCollection(e))}*iterateCollection(e){let{children:n,items:r}=e;if(wp.element.isValidElement(n)&&n.type===wp.element.Fragment)yield*this.iterateCollection({children:n.props.children,items:r});else if(typeof n=="function"){if(!r)throw new Error("props.children was a function but props.items is missing");for(let i of e.items)yield*this.getFullNode({value:i},{renderer:n})}else{let i=[];wp.element.Children.forEach(n,a=>{i.push(a)});let l=0;for(let a of i){let o=this.getFullNode({element:a,index:l},{});for(let s of o)l++,yield s}}}getKey(e,n,r,i){if(e.key!=null)return e.key;if(n.type==="cell"&&n.key!=null)return`${i}${n.key}`;let l=n.value;if(l!=null){var a;let o=(a=l.key)!==null&&a!==void 0?a:l.id;if(o==null)throw new Error("No key found for item");return o}return i?`${i}.${n.index}`:`$.${n.index}`}getChildState(e,n){return{renderer:n.renderer||e.renderer}}*getFullNode(e,n,r,i){if(wp.element.isValidElement(e.element)&&e.element.type===wp.element.Fragment){let s=[];wp.element.Children.forEach(e.element.props.children,d=>{s.push(d)});let c=e.index;for(const d of s)yield*this.getFullNode({element:d,index:c++},n,r,i);return}let l=e.element;if(!l&&e.value&&n&&n.renderer){let s=this.cache.get(e.value);if(s&&(!s.shouldInvalidate||!s.shouldInvalidate(this.context))){s.index=e.index,s.parentKey=i?i.key:null,yield s;return}l=n.renderer(e.value)}if(wp.element.isValidElement(l)){let s=l.type;if(typeof s!="function"&&typeof s.getCollectionNode!="function"){let h=typeof l.type=="function"?l.type.name:l.type;throw new Error(`Unknown element <${h}> in collection.`)}let c=s.getCollectionNode(l.props,this.context),d=e.index,f=c.next();for(;!f.done&&f.value;){let h=f.value;e.index=d;let p=h.key;p||(p=h.element?null:this.getKey(l,e,n,r));let g=[...this.getFullNode({...h,key:p,index:d,wrapper:DV(e.wrapper,h.wrapper)},this.getChildState(n,h),r?`${r}${l.key}`:l.key,i)];for(let O of g){if(O.value=h.value||e.value,O.value&&this.cache.set(O.value,O),e.type&&O.type!==e.type)throw new Error(`Unsupported type <${Sg(O.type)}> in <${Sg(i.type)}>. Only <${Sg(e.type)}> is supported.`);d++,yield O}f=c.next(g)}return}if(e.key==null)return;let a=this,o={type:e.type,props:e.props,key:e.key,parentKey:i?i.key:null,value:e.value,level:i?i.level+1:0,index:e.index,rendered:e.rendered,textValue:e.textValue,"aria-label":e["aria-label"],wrapper:e.wrapper,shouldInvalidate:e.shouldInvalidate,hasChildNodes:e.hasChildNodes,childNodes:cD(function*(){if(!e.hasChildNodes)return;let s=0;for(let c of e.childNodes()){c.key!=null&&(c.key=`${o.key}${c.key}`),c.index=s;let d=a.getFullNode(c,a.getChildState(n,c),o.key,o);for(let f of d)s++,yield f}})};yield o}constructor(){this.cache=new WeakMap}};u(Qy,"$eb2240fc39a57fa5$export$bf788dd355e3a401");let xg=Qy;function cD(t){let e=[],n=null;return{*[Symbol.iterator](){for(let r of e)yield r;n||(n=t());for(let r of n)e.push(r),yield r}}}u(cD,"$eb2240fc39a57fa5$var$iterable");function DV(t,e){if(t&&e)return n=>t(e(n));if(t)return t;if(e)return e}u(DV,"$eb2240fc39a57fa5$var$compose");function Sg(t){return t[0].toUpperCase()+t.slice(1)}u(Sg,"$eb2240fc39a57fa5$var$capitalize");function kV(t,e,n){let r=(0,wp.element.useMemo)(()=>new xg,[]),{children:i,items:l,collection:a}=t;return(0,wp.element.useMemo)(()=>{if(a)return a;let s=r.build({children:i,items:l},n);return e(s)},[r,i,l,a,n,e])}u(kV,"$7613b1592d41b092$export$6cd28814d92fa9c9");function vd(t,e){return typeof e.getChildren=="function"?e.getChildren(t.key):t.childNodes}u(vd,"$c5a24bc478652b5f$export$1005530eda016c13");function PV(t){return EV(t,0)}u(PV,"$c5a24bc478652b5f$export$fbdeaa6a76694f71");function EV(t,e){if(e<0)return;let n=0;for(let r of t){if(n===e)return r;n++}}u(EV,"$c5a24bc478652b5f$export$5f3398f8733f90e2");function Cg(t,e,n){if(e.parentKey===n.parentKey)return e.index-n.index;let r=[...dD(t,e),e],i=[...dD(t,n),n],l=r.slice(0,i.length).findIndex((a,o)=>a!==i[o]);return l!==-1?(e=r[l],n=i[l],e.index-n.index):r.findIndex(a=>a===n)>=0?1:(i.findIndex(a=>a===e)>=0,-1)}u(Cg,"$c5a24bc478652b5f$export$8c434b3a7a4dad6");function dD(t,e){let n=[];for(;e?.parentKey!=null;)e=t.getItem(e.parentKey),n.unshift(e);return n}u(dD,"$c5a24bc478652b5f$var$getAncestors");const fD=new WeakMap;function hD(t){let e=fD.get(t);if(e!=null)return e;e=0;let n=u(r=>{for(let i of r)i.type==="section"?n(vd(i,t)):e++},"countItems");return n(t),fD.set(t,e),e}u(hD,"$453cc9f0df89c0a5$export$77d5aafae4e095b2");function AV(t,e,n){var r,i;let{key:l}=t,a=bd.get(e);var o;let s=(o=t.isDisabled)!==null&&o!==void 0?o:e.selectionManager.isDisabled(l);var c;let d=(c=t.isSelected)!==null&&c!==void 0?c:e.selectionManager.isSelected(l);var f;let h=(f=t.shouldSelectOnPressUp)!==null&&f!==void 0?f:a?.shouldSelectOnPressUp;var p;let m=(p=t.shouldFocusOnHover)!==null&&p!==void 0?p:a?.shouldFocusOnHover;var g;let O=(g=t.shouldUseVirtualFocus)!==null&&g!==void 0?g:a?.shouldUseVirtualFocus;var b;let y=(b=t.isVirtualized)!==null&&b!==void 0?b:a?.isVirtualized,$=Kl(),C=Kl(),w={role:"option","aria-disabled":s||void 0,"aria-selected":e.selectionManager.selectionMode!=="none"?d:void 0};pr()&&Up()||(w["aria-label"]=t["aria-label"],w["aria-labelledby"]=$,w["aria-describedby"]=C);let x=e.collection.getItem(l);if(y){let R=Number(x?.index);w["aria-posinset"]=Number.isNaN(R)?void 0:R+1,w["aria-setsize"]=hD(e.collection)}let P=a?.onAction?()=>{var R;return a==null||(R=a.onAction)===null||R===void 0?void 0:R.call(a,l)}:void 0,{itemProps:v,isPressed:k,isFocused:D,hasAction:S,allowsSelection:E}=wV({selectionManager:e.selectionManager,key:l,ref:n,shouldSelectOnPressUp:h,allowsDifferentPressOrigin:h&&m,isVirtualized:y,shouldUseVirtualFocus:O,isDisabled:s,onAction:P||!(x==null||(r=x.props)===null||r===void 0)&&r.onAction?fr(x==null||(i=x.props)===null||i===void 0?void 0:i.onAction,P):void 0,linkBehavior:a?.linkBehavior}),{hoverProps:A}=ZQ({isDisabled:s||!m,onHoverStart(){zc()||(e.selectionManager.setFocused(!0),e.selectionManager.setFocusedKey(l))}}),B=ft(x?.props);delete B.id;let T=OQ(x?.props);return{optionProps:{...w,...te(B,v,A,T),id:nD(e,l)},labelProps:{id:$},descriptionProps:{id:C},isFocused:D,isFocusVisible:D&&zc(),isSelected:d,isDisabled:s,isPressed:k,allowsSelection:E,hasAction:S}}u(AV,"$293f70390ea03370$export$497855f14858aa34");function TV(t){let{heading:e,"aria-label":n}=t,r=Fe();return{itemProps:{role:"presentation"},headingProps:e?{id:r,role:"presentation"}:{},groupProps:{role:"group","aria-label":n,"aria-labelledby":e?r:void 0}}}u(TV,"$af383d3bef1cfdc9$export$c3f9f39876e4bc7");var pD={};pD={longPressMessage:"\u0627\u0636\u063A\u0637 \u0645\u0637\u0648\u0644\u0627\u064B \u0623\u0648 \u0627\u0636\u063A\u0637 \u0639\u0644\u0649 Alt + \u0627\u0644\u0633\u0647\u0645 \u0644\u0623\u0633\u0641\u0644 \u0644\u0641\u062A\u062D \u0627\u0644\u0642\u0627\u0626\u0645\u0629"};var mD={};mD={longPressMessage:"\u041D\u0430\u0442\u0438\u0441\u043D\u0435\u0442\u0435 \u043F\u0440\u043E\u0434\u044A\u043B\u0436\u0438\u0442\u0435\u043B\u043D\u043E \u0438\u043B\u0438 \u043D\u0430\u0442\u0438\u0441\u043D\u0435\u0442\u0435 Alt+ \u0441\u0442\u0440\u0435\u043B\u043A\u0430 \u043D\u0430\u0434\u043E\u043B\u0443, \u0437\u0430 \u0434\u0430 \u043E\u0442\u0432\u043E\u0440\u0438\u0442\u0435 \u043C\u0435\u043D\u044E\u0442\u043E"};var gD={};gD={longPressMessage:"Dlouh\xFDm stiskem nebo stisknut\xEDm kl\xE1ves Alt + \u0161ipka dol\u016F otev\u0159ete nab\xEDdku"};var OD={};OD={longPressMessage:"Langt tryk eller tryk p\xE5 Alt + pil ned for at \xE5bne menuen"};var bD={};bD={longPressMessage:"Dr\xFCcken Sie lange oder dr\xFCcken Sie Alt + Nach-unten, um das Men\xFC zu \xF6ffnen"};var yD={};yD={longPressMessage:"\u03A0\u03B9\u03AD\u03C3\u03C4\u03B5 \u03C0\u03B1\u03C1\u03B1\u03C4\u03B5\u03C4\u03B1\u03BC\u03AD\u03BD\u03B1 \u03AE \u03C0\u03B1\u03C4\u03AE\u03C3\u03C4\u03B5 Alt + \u03BA\u03AC\u03C4\u03C9 \u03B2\u03AD\u03BB\u03BF\u03C2 \u03B3\u03B9\u03B1 \u03BD\u03B1 \u03B1\u03BD\u03BF\u03AF\u03BE\u03B5\u03C4\u03B5 \u03C4\u03BF \u03BC\u03B5\u03BD\u03BF\u03CD"};var vD={};vD={longPressMessage:"Long press or press Alt + ArrowDown to open menu"};var $D={};$D={longPressMessage:"Mantenga pulsado o pulse Alt + flecha abajo para abrir el men\xFA"};var wD={};wD={longPressMessage:"Men\xFC\xFC avamiseks vajutage pikalt v\xF5i vajutage klahve Alt + allanool"};var xD={};xD={longPressMessage:"Avaa valikko painamalla pohjassa tai n\xE4pp\xE4inyhdistelm\xE4ll\xE4 Alt + Alanuoli"};var SD={};SD={longPressMessage:"Appuyez de mani\xE8re prolong\xE9e ou appuyez sur Alt\xA0+\xA0Fl\xE8che vers le bas pour ouvrir le menu."};var CD={};CD={longPressMessage:"\u05DC\u05D7\u05E5 \u05DC\u05D7\u05D9\u05E6\u05D4 \u05D0\u05E8\u05D5\u05DB\u05D4 \u05D0\u05D5 \u05D4\u05E7\u05E9 Alt + ArrowDown \u05DB\u05D3\u05D9 \u05DC\u05E4\u05EA\u05D5\u05D7 \u05D0\u05EA \u05D4\u05EA\u05E4\u05E8\u05D9\u05D8"};var DD={};DD={longPressMessage:"Dugo pritisnite ili pritisnite Alt + strelicu prema dolje za otvaranje izbornika"};var kD={};kD={longPressMessage:"Nyomja meg hosszan, vagy nyomja meg az Alt + lefele ny\xEDl gombot a men\xFC megnyit\xE1s\xE1hoz"};var PD={};PD={longPressMessage:"Premere a lungo o premere Alt + Freccia gi\xF9 per aprire il menu"};var ED={};ED={longPressMessage:"\u9577\u62BC\u3057\u307E\u305F\u306F Alt+\u4E0B\u77E2\u5370\u30AD\u30FC\u3067\u30E1\u30CB\u30E5\u30FC\u3092\u958B\u304F"};var AD={};AD={longPressMessage:"\uAE38\uAC8C \uB204\uB974\uAC70\uB098 Alt + \uC544\uB798\uCABD \uD654\uC0B4\uD45C\uB97C \uB20C\uB7EC \uBA54\uB274 \uC5F4\uAE30"};var TD={};TD={longPressMessage:"Nor\u0117dami atidaryti meniu, nuspaud\u0119 palaikykite arba paspauskite \u201EAlt + ArrowDown\u201C."};var RD={};RD={longPressMessage:"Lai atv\u0113rtu izv\u0113lni, turiet nospiestu vai nospiediet tausti\u0146u kombin\u0101ciju Alt + lejupv\u0113rst\u0101 bulti\u0146a"};var QD={};QD={longPressMessage:"Langt trykk eller trykk Alt + PilNed for \xE5 \xE5pne menyen"};var MD={};MD={longPressMessage:"Druk lang op Alt + pijl-omlaag of druk op Alt om het menu te openen"};var BD={};BD={longPressMessage:"Naci\u015Bnij i przytrzymaj lub naci\u015Bnij klawisze Alt + Strza\u0142ka w d\xF3\u0142, aby otworzy\u0107 menu"};var VD={};VD={longPressMessage:"Pressione e segure ou pressione Alt + Seta para baixo para abrir o menu"};var ND={};ND={longPressMessage:"Prima continuamente ou prima Alt + Seta Para Baixo para abrir o menu"};var FD={};FD={longPressMessage:"Ap\u0103sa\u021Bi lung sau ap\u0103sa\u021Bi pe Alt + s\u0103geat\u0103 \xEEn jos pentru a deschide meniul"};var ID={};ID={longPressMessage:"\u041D\u0430\u0436\u043C\u0438\u0442\u0435 \u0438 \u0443\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0439\u0442\u0435 \u0438\u043B\u0438 \u043D\u0430\u0436\u043C\u0438\u0442\u0435 Alt + \u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u043D\u0438\u0437, \u0447\u0442\u043E\u0431\u044B \u043E\u0442\u043A\u0440\u044B\u0442\u044C \u043C\u0435\u043D\u044E"};var ZD={};ZD={longPressMessage:"Ponuku otvor\xEDte dlh\xFDm stla\u010Den\xEDm alebo stla\u010Den\xEDm kl\xE1vesu Alt + kl\xE1vesu so \u0161\xEDpkou nadol"};var zD={};zD={longPressMessage:"Za odprtje menija pritisnite in dr\u017Eite gumb ali pritisnite Alt+pu\u0161\u010Dica navzdol"};var LD={};LD={longPressMessage:"Dugo pritisnite ili pritisnite Alt + strelicu prema dole da otvorite meni"};var WD={};WD={longPressMessage:"H\xE5ll nedtryckt eller tryck p\xE5 Alt + pil ned\xE5t f\xF6r att \xF6ppna menyn"};var XD={};XD={longPressMessage:"Men\xFCy\xFC a\xE7mak i\xE7in uzun bas\u0131n veya Alt + A\u015Fa\u011F\u0131 Ok tu\u015Funa bas\u0131n"};var jD={};jD={longPressMessage:"\u0414\u043E\u0432\u0433\u043E \u0430\u0431\u043E \u0437\u0432\u0438\u0447\u0430\u0439\u043D\u043E \u043D\u0430\u0442\u0438\u0441\u043D\u0456\u0442\u044C \u043A\u043E\u043C\u0431\u0456\u043D\u0430\u0446\u0456\u044E \u043A\u043B\u0430\u0432\u0456\u0448 Alt \u0456 \u0441\u0442\u0440\u0456\u043B\u043A\u0430 \u0432\u043D\u0438\u0437, \u0449\u043E\u0431 \u0432\u0456\u0434\u043A\u0440\u0438\u0442\u0438 \u043C\u0435\u043D\u044E"};var qD={};qD={longPressMessage:"\u957F\u6309\u6216\u6309 Alt + \u5411\u4E0B\u65B9\u5411\u952E\u4EE5\u6253\u5F00\u83DC\u5355"};var UD={};UD={longPressMessage:"\u9577\u6309\u6216\u6309 Alt+\u5411\u4E0B\u9375\u4EE5\u958B\u555F\u529F\u80FD\u8868"};var YD={};YD={"ar-AE":pD,"bg-BG":mD,"cs-CZ":gD,"da-DK":OD,"de-DE":bD,"el-GR":yD,"en-US":vD,"es-ES":$D,"et-EE":wD,"fi-FI":xD,"fr-FR":SD,"he-IL":CD,"hr-HR":DD,"hu-HU":kD,"it-IT":PD,"ja-JP":ED,"ko-KR":AD,"lt-LT":TD,"lv-LV":RD,"nb-NO":QD,"nl-NL":MD,"pl-PL":BD,"pt-BR":VD,"pt-PT":ND,"ro-RO":FD,"ru-RU":ID,"sk-SK":ZD,"sl-SI":zD,"sr-SP":LD,"sv-SE":WD,"tr-TR":XD,"uk-UA":jD,"zh-CN":qD,"zh-TW":UD};function RV(t){return t&&t.__esModule?t.default:t}u(RV,"$parcel$interopDefault$6");function KD(t,e,n){let{type:r="menu",isDisabled:i,trigger:l="press"}=t,a=Fe(),{triggerProps:o,overlayProps:s}=Ko({type:r},e,n),c=u(p=>{if(!i&&!(l==="longPress"&&!p.altKey)&&n&&n.current)switch(p.key){case"Enter":case" ":if(l==="longPress")return;case"ArrowDown":"continuePropagation"in p||p.stopPropagation(),p.preventDefault(),e.toggle("first");break;case"ArrowUp":"continuePropagation"in p||p.stopPropagation(),p.preventDefault(),e.toggle("last");break;default:"continuePropagation"in p&&p.continuePropagation()}},"onKeyDown"),d=Ft(RV(YD),"@react-aria/menu"),{longPressProps:f}=M3({isDisabled:i||l!=="longPress",accessibilityDescription:d.format("longPressMessage"),onLongPressStart(){e.close()},onLongPress(){e.open("first")}}),h={onPressStart(p){p.pointerType!=="touch"&&p.pointerType!=="keyboard"&&!i&&e.open(p.pointerType==="virtual"?"first":null)},onPress(p){p.pointerType==="touch"&&!i&&e.toggle()}};return delete o.onPress,{menuTriggerProps:{...o,...l==="press"?h:f,id:a,onKeyDown:c},menuProps:{...s,"aria-labelledby":a,autoFocus:e.focusStrategy||!0,onClose:e.close}}}u(KD,"$168583247155ddda$export$dc9c12ed27dd1b49");function QV(t){return t&&t.__esModule?t.default:t}u(QV,"$parcel$interopDefault$5");function MV(t,e){let{buttonRef:n,popoverRef:r,inputRef:i,listBoxRef:l,keyboardDelegate:a,layoutDelegate:o,shouldFocusWrap:s,isReadOnly:c,isDisabled:d}=t,f=Ft(QV(iC),"@react-aria/combobox"),{menuTriggerProps:h,menuProps:p}=KD({type:"listbox",isDisabled:d||c},e,n);bd.set(e,{id:p.id});let{collection:m}=e,{disabledKeys:g}=e.selectionManager,O=(0,wp.element.useMemo)(()=>a||new Jo({collection:m,disabledKeys:g,ref:l,layoutDelegate:o}),[a,o,m,g,l]),{collectionProps:b}=iD({selectionManager:e.selectionManager,keyboardDelegate:O,disallowTypeAhead:!0,disallowEmptySelection:!0,shouldFocusWrap:s,ref:i,isVirtualized:!0}),y=Rc(),$=u(J=>{if(!J.nativeEvent.isComposing)switch(J.key){case"Enter":case"Tab":if(e.isOpen&&J.key==="Enter"&&J.preventDefault(),e.isOpen&&e.selectionManager.focusedKey!=null&&e.selectionManager.isLink(e.selectionManager.focusedKey)){if(J.key==="Enter"){let le=l.current.querySelector(`[data-key="${CSS.escape(e.selectionManager.focusedKey.toString())}"]`);if(le instanceof HTMLAnchorElement){let Ve=e.collection.getItem(e.selectionManager.focusedKey);y.open(le,J,Ve.props.href,Ve.props.routerOptions)}}e.close()}else e.commit();break;case"Escape":(e.selectedKey!==null||e.inputValue===""||t.allowsCustomValue)&&J.continuePropagation(),e.revert();break;case"ArrowDown":e.open("first","manual");break;case"ArrowUp":e.open("last","manual");break;case"ArrowLeft":case"ArrowRight":e.selectionManager.setFocusedKey(null);break}},"onKeyDown"),C=u(J=>{var le;let Ve=n?.current&&n.current===J.relatedTarget,Ue=(le=r.current)===null||le===void 0?void 0:le.contains(J.relatedTarget);Ve||Ue||(t.onBlur&&t.onBlur(J),e.setFocused(!1))},"onBlur"),w=u(J=>{e.isFocused||(t.onFocus&&t.onFocus(J),e.setFocused(!0))},"onFocus"),{isInvalid:x,validationErrors:P,validationDetails:v}=e.displayValidation,{labelProps:k,inputProps:D,descriptionProps:S,errorMessageProps:E}=wr({...t,onChange:e.setInputValue,onKeyDown:c?t.onKeyDown:fr(e.isOpen&&b.onKeyDown,$,t.onKeyDown),onBlur:C,value:e.inputValue,onFocus:w,autoComplete:"off",validate:void 0,[Hr]:e},i),A=u(J=>{J.pointerType==="touch"&&(i.current.focus(),e.toggle(null,"manual"))},"onPress"),B=u(J=>{J.pointerType!=="touch"&&(i.current.focus(),e.toggle(J.pointerType==="keyboard"||J.pointerType==="virtual"?"first":null,"manual"))},"onPressStart"),T=Mn({id:h.id,"aria-label":f.format("buttonLabel"),"aria-labelledby":t["aria-labelledby"]||k.id}),R=Mn({id:p.id,"aria-label":f.format("listboxLabel"),"aria-labelledby":t["aria-labelledby"]||k.id}),M=(0,wp.element.useRef)(0),N=u(J=>{if(d||c)return;if(J.timeStamp-M.current<500){J.preventDefault(),i.current.focus();return}let le=J.target.getBoundingClientRect(),Ve=J.changedTouches[0],Ue=Math.ceil(le.left+.5*le.width),ur=Math.ceil(le.top+.5*le.height);Ve.clientX===Ue&&Ve.clientY===ur&&(J.preventDefault(),i.current.focus(),e.toggle(null,"manual"),M.current=J.timeStamp)},"onTouchEnd"),I=e.selectionManager.focusedKey!=null&&e.isOpen?e.collection.getItem(e.selectionManager.focusedKey):void 0;var F;let V=(F=I?.parentKey)!==null&&F!==void 0?F:null;var Z;let _=(Z=e.selectionManager.focusedKey)!==null&&Z!==void 0?Z:null,W=(0,wp.element.useRef)(V),re=(0,wp.element.useRef)(_);(0,wp.element.useEffect)(()=>{if(Ac()&&I!=null&&_!==re.current){let J=e.selectionManager.isSelected(_),le=V!=null?e.collection.getItem(V):null,Ve=le?.["aria-label"]||(typeof le?.rendered=="string"?le.rendered:"")||"",Ue=f.format("focusAnnouncement",{isGroupChange:le&&V!==W.current,groupTitle:Ve,groupCount:le?[...vd(le,e.collection)].length:0,optionText:I["aria-label"]||I.textValue||"",isSelected:J});oa(Ue)}W.current=V,re.current=_});let fe=hD(e.collection),L=(0,wp.element.useRef)(fe),ie=(0,wp.element.useRef)(e.isOpen);(0,wp.element.useEffect)(()=>{let J=e.isOpen!==ie.current&&(e.selectionManager.focusedKey==null||Ac());if(e.isOpen&&(J||fe!==L.current)){let le=f.format("countAnnouncement",{optionCount:fe});oa(le)}L.current=fe,ie.current=e.isOpen});let he=(0,wp.element.useRef)(e.selectedKey);return(0,wp.element.useEffect)(()=>{if(Ac()&&e.isFocused&&e.selectedItem&&e.selectedKey!==he.current){let J=e.selectedItem["aria-label"]||e.selectedItem.textValue||"",le=f.format("selectedAnnouncement",{optionText:J});oa(le)}he.current=e.selectedKey}),(0,wp.element.useEffect)(()=>{if(e.isOpen)return $g([i.current,r.current])},[e.isOpen,i,r]),{labelProps:k,buttonProps:{...h,...T,excludeFromTabOrder:!0,preventFocusOnPress:!0,onPress:A,onPressStart:B,isDisabled:d||c},inputProps:te(D,{role:"combobox","aria-expanded":h["aria-expanded"],"aria-controls":e.isOpen?p.id:void 0,"aria-autocomplete":"list","aria-activedescendant":I?nD(e,I.key):void 0,onTouchEnd:N,autoCorrect:"off",spellCheck:"false"}),listBoxProps:te(p,R,{autoFocus:e.focusStrategy,shouldUseVirtualFocus:!0,shouldSelectOnPressUp:!0,shouldFocusOnHover:!0,linkBehavior:"selection"}),descriptionProps:S,errorMessageProps:E,isInvalid:x,validationErrors:P,validationDetails:v}}u(MV,"$c350ade66beef0af$export$8c18d1b4f7232bbf");var GD={};GD={calendar:"\u0627\u0644\u062A\u0642\u0648\u064A\u0645",day:"\u064A\u0648\u0645",dayPeriod:"\u0635/\u0645",endDate:"\u062A\u0627\u0631\u064A\u062E \u0627\u0644\u0627\u0646\u062A\u0647\u0627\u0621",era:"\u0627\u0644\u0639\u0635\u0631",hour:"\u0627\u0644\u0633\u0627\u0639\u0627\u062A",minute:"\u0627\u0644\u062F\u0642\u0627\u0626\u0642",month:"\u0627\u0644\u0634\u0647\u0631",second:"\u0627\u0644\u062B\u0648\u0627\u0646\u064A",selectedDateDescription:t=>`\u062A\u0627\u0631\u064A\u062E \u0645\u062D\u062F\u062F: ${t.date}`,selectedRangeDescription:t=>`\u0627\u0644\u0645\u062F\u0649 \u0627\u0644\u0632\u0645\u0646\u064A \u0627\u0644\u0645\u062D\u062F\u062F: ${t.startDate} \u0625\u0644\u0649 ${t.endDate}`,selectedTimeDescription:t=>`\u0627\u0644\u0648\u0642\u062A \u0627\u0644\u0645\u062D\u062F\u062F: ${t.time}`,startDate:"\u062A\u0627\u0631\u064A\u062E \u0627\u0644\u0628\u062F\u0621",timeZoneName:"\u0627\u0644\u062A\u0648\u0642\u064A\u062A",weekday:"\u0627\u0644\u064A\u0648\u0645",year:"\u0627\u0644\u0633\u0646\u0629"};var HD={};HD={calendar:"\u041A\u0430\u043B\u0435\u043D\u0434\u0430\u0440",day:"\u0434\u0435\u043D",dayPeriod:"\u043F\u0440.\u043E\u0431./\u0441\u043B.\u043E\u0431.",endDate:"\u041A\u0440\u0430\u0439\u043D\u0430 \u0434\u0430\u0442\u0430",era:"\u0435\u0440\u0430",hour:"\u0447\u0430\u0441",minute:"\u043C\u0438\u043D\u0443\u0442\u0430",month:"\u043C\u0435\u0441\u0435\u0446",second:"\u0441\u0435\u043A\u0443\u043D\u0434\u0430",selectedDateDescription:t=>`\u0418\u0437\u0431\u0440\u0430\u043D\u0430 \u0434\u0430\u0442\u0430: ${t.date}`,selectedRangeDescription:t=>`\u0418\u0437\u0431\u0440\u0430\u043D \u0434\u0438\u0430\u043F\u0430\u0437\u043E\u043D: ${t.startDate} \u0434\u043E ${t.endDate}`,selectedTimeDescription:t=>`\u0418\u0437\u0431\u0440\u0430\u043D\u043E \u0432\u0440\u0435\u043C\u0435: ${t.time}`,startDate:"\u041D\u0430\u0447\u0430\u043B\u043D\u0430 \u0434\u0430\u0442\u0430",timeZoneName:"\u0447\u0430\u0441\u043E\u0432\u0430 \u0437\u043E\u043D\u0430",weekday:"\u0434\u0435\u043D \u043E\u0442 \u0441\u0435\u0434\u043C\u0438\u0446\u0430\u0442\u0430",year:"\u0433\u043E\u0434\u0438\u043D\u0430"};var _D={};_D={calendar:"Kalend\xE1\u0159",day:"den",dayPeriod:"\u010D\xE1st dne",endDate:"Kone\u010Dn\xE9 datum",era:"letopo\u010Det",hour:"hodina",minute:"minuta",month:"m\u011Bs\xEDc",second:"sekunda",selectedDateDescription:t=>`Vybran\xE9 datum: ${t.date}`,selectedRangeDescription:t=>`Vybran\xE9 obdob\xED: ${t.startDate} a\u017E ${t.endDate}`,selectedTimeDescription:t=>`Vybran\xFD \u010Das: ${t.time}`,startDate:"Po\u010D\xE1te\u010Dn\xED datum",timeZoneName:"\u010Dasov\xE9 p\xE1smo",weekday:"den v t\xFDdnu",year:"rok"};var JD={};JD={calendar:"Kalender",day:"dag",dayPeriod:"AM/PM",endDate:"Slutdato",era:"\xE6ra",hour:"time",minute:"minut",month:"m\xE5ned",second:"sekund",selectedDateDescription:t=>`Valgt dato: ${t.date}`,selectedRangeDescription:t=>`Valgt interval: ${t.startDate} til ${t.endDate}`,selectedTimeDescription:t=>`Valgt tidspunkt: ${t.time}`,startDate:"Startdato",timeZoneName:"tidszone",weekday:"ugedag",year:"\xE5r"};var e2={};e2={calendar:"Kalender",day:"Tag",dayPeriod:"Tagesh\xE4lfte",endDate:"Enddatum",era:"Epoche",hour:"Stunde",minute:"Minute",month:"Monat",second:"Sekunde",selectedDateDescription:t=>`Ausgew\xE4hltes Datum: ${t.date}`,selectedRangeDescription:t=>`Ausgew\xE4hlter Bereich: ${t.startDate} bis ${t.endDate}`,selectedTimeDescription:t=>`Ausgew\xE4hlte Zeit: ${t.time}`,startDate:"Anfangsdatum",timeZoneName:"Zeitzone",weekday:"Wochentag",year:"Jahr"};var t2={};t2={calendar:"\u0397\u03BC\u03B5\u03C1\u03BF\u03BB\u03CC\u03B3\u03B9\u03BF",day:"\u03B7\u03BC\u03AD\u03C1\u03B1",dayPeriod:"\u03C0.\u03BC./\u03BC.\u03BC.",endDate:"\u0397\u03BC\u03B5\u03C1\u03BF\u03BC\u03B7\u03BD\u03AF\u03B1 \u03BB\u03AE\u03BE\u03B7\u03C2",era:"\u03C0\u03B5\u03C1\u03AF\u03BF\u03B4\u03BF\u03C2",hour:"\u03CE\u03C1\u03B1",minute:"\u03BB\u03B5\u03C0\u03C4\u03CC",month:"\u03BC\u03AE\u03BD\u03B1\u03C2",second:"\u03B4\u03B5\u03C5\u03C4\u03B5\u03C1\u03CC\u03BB\u03B5\u03C0\u03C4\u03BF",selectedDateDescription:t=>`\u0395\u03C0\u03B9\u03BB\u03B5\u03B3\u03BC\u03AD\u03BD\u03B7 \u03B7\u03BC\u03B5\u03C1\u03BF\u03BC\u03B7\u03BD\u03AF\u03B1: ${t.date}`,selectedRangeDescription:t=>`\u0395\u03C0\u03B9\u03BB\u03B5\u03B3\u03BC\u03AD\u03BD\u03BF \u03B5\u03CD\u03C1\u03BF\u03C2: ${t.startDate} \u03AD\u03C9\u03C2 ${t.endDate}`,selectedTimeDescription:t=>`\u0395\u03C0\u03B9\u03BB\u03B5\u03B3\u03BC\u03AD\u03BD\u03B7 \u03CE\u03C1\u03B1: ${t.time}`,startDate:"\u0397\u03BC\u03B5\u03C1\u03BF\u03BC\u03B7\u03BD\u03AF\u03B1 \u03AD\u03BD\u03B1\u03C1\u03BE\u03B7\u03C2",timeZoneName:"\u03B6\u03CE\u03BD\u03B7 \u03CE\u03C1\u03B1\u03C2",weekday:"\u03BA\u03B1\u03B8\u03B7\u03BC\u03B5\u03C1\u03B9\u03BD\u03AE",year:"\u03AD\u03C4\u03BF\u03C2"};var n2={};n2={era:"era",year:"year",month:"month",day:"day",hour:"hour",minute:"minute",second:"second",dayPeriod:"AM/PM",calendar:"Calendar",startDate:"Start Date",endDate:"End Date",weekday:"day of the week",timeZoneName:"time zone",selectedDateDescription:t=>`Selected Date: ${t.date}`,selectedRangeDescription:t=>`Selected Range: ${t.startDate} to ${t.endDate}`,selectedTimeDescription:t=>`Selected Time: ${t.time}`};var r2={};r2={calendar:"Calendario",day:"d\xEDa",dayPeriod:"a.\xA0m./p.\xA0m.",endDate:"Fecha final",era:"era",hour:"hora",minute:"minuto",month:"mes",second:"segundo",selectedDateDescription:t=>`Fecha seleccionada: ${t.date}`,selectedRangeDescription:t=>`Rango seleccionado: ${t.startDate} a ${t.endDate}`,selectedTimeDescription:t=>`Hora seleccionada: ${t.time}`,startDate:"Fecha de inicio",timeZoneName:"zona horaria",weekday:"d\xEDa de la semana",year:"a\xF1o"};var i2={};i2={calendar:"Kalender",day:"p\xE4ev",dayPeriod:"enne/p\xE4rast l\xF5unat",endDate:"L\xF5ppkuup\xE4ev",era:"ajastu",hour:"tund",minute:"minut",month:"kuu",second:"sekund",selectedDateDescription:t=>`Valitud kuup\xE4ev: ${t.date}`,selectedRangeDescription:t=>`Valitud vahemik: ${t.startDate} kuni ${t.endDate}`,selectedTimeDescription:t=>`Valitud aeg: ${t.time}`,startDate:"Alguskuup\xE4ev",timeZoneName:"ajav\xF6\xF6nd",weekday:"n\xE4dalap\xE4ev",year:"aasta"};var l2={};l2={calendar:"Kalenteri",day:"p\xE4iv\xE4",dayPeriod:"vuorokaudenaika",endDate:"P\xE4\xE4ttymisp\xE4iv\xE4",era:"aikakausi",hour:"tunti",minute:"minuutti",month:"kuukausi",second:"sekunti",selectedDateDescription:t=>`Valittu p\xE4iv\xE4m\xE4\xE4r\xE4: ${t.date}`,selectedRangeDescription:t=>`Valittu aikav\xE4li: ${t.startDate} \u2013 ${t.endDate}`,selectedTimeDescription:t=>`Valittu aika: ${t.time}`,startDate:"Alkamisp\xE4iv\xE4",timeZoneName:"aikavy\xF6hyke",weekday:"viikonp\xE4iv\xE4",year:"vuosi"};var a2={};a2={calendar:"Calendrier",day:"jour",dayPeriod:"cadran",endDate:"Date de fin",era:"\xE8re",hour:"heure",minute:"minute",month:"mois",second:"seconde",selectedDateDescription:t=>`Date s\xE9lectionn\xE9e\xA0: ${t.date}`,selectedRangeDescription:t=>`Plage s\xE9lectionn\xE9e\xA0: ${t.startDate} au ${t.endDate}`,selectedTimeDescription:t=>`Heure choisie\xA0: ${t.time}`,startDate:"Date de d\xE9but",timeZoneName:"fuseau horaire",weekday:"jour de la semaine",year:"ann\xE9e"};var o2={};o2={calendar:"\u05DC\u05D5\u05D7 \u05E9\u05E0\u05D4",day:"\u05D9\u05D5\u05DD",dayPeriod:"\u05DC\u05E4\u05E0\u05D4\u05F4\u05E6/\u05D0\u05D7\u05D4\u05F4\u05E6",endDate:"\u05EA\u05D0\u05E8\u05D9\u05DA \u05E1\u05D9\u05D5\u05DD",era:"\u05EA\u05E7\u05D5\u05E4\u05D4",hour:"\u05E9\u05E2\u05D4",minute:"\u05D3\u05E7\u05D4",month:"\u05D7\u05D5\u05D3\u05E9",second:"\u05E9\u05E0\u05D9\u05D9\u05D4",selectedDateDescription:t=>`\u05EA\u05D0\u05E8\u05D9\u05DA \u05E0\u05D1\u05D7\u05E8: ${t.date}`,selectedRangeDescription:t=>`\u05D8\u05D5\u05D5\u05D7 \u05E0\u05D1\u05D7\u05E8: ${t.startDate} \u05E2\u05D3 ${t.endDate}`,selectedTimeDescription:t=>`\u05D6\u05DE\u05DF \u05E0\u05D1\u05D7\u05E8: ${t.time}`,startDate:"\u05EA\u05D0\u05E8\u05D9\u05DA \u05D4\u05EA\u05D7\u05DC\u05D4",timeZoneName:"\u05D0\u05D6\u05D5\u05E8 \u05D6\u05DE\u05DF",weekday:"\u05D9\u05D5\u05DD \u05D1\u05E9\u05D1\u05D5\u05E2",year:"\u05E9\u05E0\u05D4"};var s2={};s2={calendar:"Kalendar",day:"dan",dayPeriod:"AM/PM",endDate:"Datum zavr\u0161etka",era:"era",hour:"sat",minute:"minuta",month:"mjesec",second:"sekunda",selectedDateDescription:t=>`Odabrani datum: ${t.date}`,selectedRangeDescription:t=>`Odabrani raspon: ${t.startDate} do ${t.endDate}`,selectedTimeDescription:t=>`Odabrano vrijeme: ${t.time}`,startDate:"Datum po\u010Detka",timeZoneName:"vremenska zona",weekday:"dan u tjednu",year:"godina"};var u2={};u2={calendar:"Napt\xE1r",day:"nap",dayPeriod:"napszak",endDate:"Befejez\u0151 d\xE1tum",era:"\xE9ra",hour:"\xF3ra",minute:"perc",month:"h\xF3nap",second:"m\xE1sodperc",selectedDateDescription:t=>`Kijel\xF6lt d\xE1tum: ${t.date}`,selectedRangeDescription:t=>`Kijel\xF6lt tartom\xE1ny: ${t.startDate}\u2013${t.endDate}`,selectedTimeDescription:t=>`Kijel\xF6lt id\u0151: ${t.time}`,startDate:"Kezd\u0151 d\xE1tum",timeZoneName:"id\u0151z\xF3na",weekday:"h\xE9t napja",year:"\xE9v"};var c2={};c2={calendar:"Calendario",day:"giorno",dayPeriod:"AM/PM",endDate:"Data finale",era:"era",hour:"ora",minute:"minuto",month:"mese",second:"secondo",selectedDateDescription:t=>`Data selezionata: ${t.date}`,selectedRangeDescription:t=>`Intervallo selezionato: da ${t.startDate} a ${t.endDate}`,selectedTimeDescription:t=>`Ora selezionata: ${t.time}`,startDate:"Data iniziale",timeZoneName:"fuso orario",weekday:"giorno della settimana",year:"anno"};var d2={};d2={calendar:"\u30AB\u30EC\u30F3\u30C0\u30FC",day:"\u65E5",dayPeriod:"\u5348\u524D/\u5348\u5F8C",endDate:"\u7D42\u4E86\u65E5",era:"\u6642\u4EE3",hour:"\u6642",minute:"\u5206",month:"\u6708",second:"\u79D2",selectedDateDescription:t=>`\u9078\u629E\u3057\u305F\u65E5\u4ED8 : ${t.date}`,selectedRangeDescription:t=>`\u9078\u629E\u7BC4\u56F2 : ${t.startDate} \u304B\u3089 ${t.endDate}`,selectedTimeDescription:t=>`\u9078\u629E\u3057\u305F\u6642\u9593 : ${t.time}`,startDate:"\u958B\u59CB\u65E5",timeZoneName:"\u30BF\u30A4\u30E0\u30BE\u30FC\u30F3",weekday:"\u66DC\u65E5",year:"\u5E74"};var f2={};f2={calendar:"\uB2EC\uB825",day:"\uC77C",dayPeriod:"\uC624\uC804/\uC624\uD6C4",endDate:"\uC885\uB8CC\uC77C",era:"\uC5F0\uD638",hour:"\uC2DC",minute:"\uBD84",month:"\uC6D4",second:"\uCD08",selectedDateDescription:t=>`\uC120\uD0DD \uC77C\uC790: ${t.date}`,selectedRangeDescription:t=>`\uC120\uD0DD \uBC94\uC704: ${t.startDate} ~ ${t.endDate}`,selectedTimeDescription:t=>`\uC120\uD0DD \uC2DC\uAC04: ${t.time}`,startDate:"\uC2DC\uC791\uC77C",timeZoneName:"\uC2DC\uAC04\uB300",weekday:"\uC694\uC77C",year:"\uB144"};var h2={};h2={calendar:"Kalendorius",day:"diena",dayPeriod:"iki piet\u0173 / po piet\u0173",endDate:"Pabaigos data",era:"era",hour:"valanda",minute:"minut\u0117",month:"m\u0117nuo",second:"sekund\u0117",selectedDateDescription:t=>`Pasirinkta data: ${t.date}`,selectedRangeDescription:t=>`Pasirinktas intervalas: nuo ${t.startDate} iki ${t.endDate}`,selectedTimeDescription:t=>`Pasirinktas laikas: ${t.time}`,startDate:"Prad\u017Eios data",timeZoneName:"laiko juosta",weekday:"savait\u0117s diena",year:"metai"};var p2={};p2={calendar:"Kalend\u0101rs",day:"diena",dayPeriod:"priek\u0161pusdien\u0101/p\u0113cpusdien\u0101",endDate:"Beigu datums",era:"\u0113ra",hour:"stundas",minute:"min\u016Btes",month:"m\u0113nesis",second:"sekundes",selectedDateDescription:t=>`Atlas\u012Btais datums: ${t.date}`,selectedRangeDescription:t=>`Atlas\u012Btais diapazons: no ${t.startDate} l\u012Bdz ${t.endDate}`,selectedTimeDescription:t=>`Atlas\u012Btais laiks: ${t.time}`,startDate:"S\u0101kuma datums",timeZoneName:"laika josla",weekday:"ned\u0113\u013Cas diena",year:"gads"};var m2={};m2={calendar:"Kalender",day:"dag",dayPeriod:"a.m./p.m.",endDate:"Sluttdato",era:"tidsalder",hour:"time",minute:"minutt",month:"m\xE5ned",second:"sekund",selectedDateDescription:t=>`Valgt dato: ${t.date}`,selectedRangeDescription:t=>`Valgt omr\xE5de: ${t.startDate} til ${t.endDate}`,selectedTimeDescription:t=>`Valgt tid: ${t.time}`,startDate:"Startdato",timeZoneName:"tidssone",weekday:"ukedag",year:"\xE5r"};var g2={};g2={calendar:"Kalender",day:"dag",dayPeriod:"a.m./p.m.",endDate:"Einddatum",era:"tijdperk",hour:"uur",minute:"minuut",month:"maand",second:"seconde",selectedDateDescription:t=>`Geselecteerde datum: ${t.date}`,selectedRangeDescription:t=>`Geselecteerd bereik: ${t.startDate} tot ${t.endDate}`,selectedTimeDescription:t=>`Geselecteerde tijd: ${t.time}`,startDate:"Startdatum",timeZoneName:"tijdzone",weekday:"dag van de week",year:"jaar"};var O2={};O2={calendar:"Kalendarz",day:"dzie\u0144",dayPeriod:"rano / po po\u0142udniu / wieczorem",endDate:"Data ko\u0144cowa",era:"era",hour:"godzina",minute:"minuta",month:"miesi\u0105c",second:"sekunda",selectedDateDescription:t=>`Wybrana data: ${t.date}`,selectedRangeDescription:t=>`Wybrany zakres: ${t.startDate} do ${t.endDate}`,selectedTimeDescription:t=>`Wybrany czas: ${t.time}`,startDate:"Data pocz\u0105tkowa",timeZoneName:"strefa czasowa",weekday:"dzie\u0144 tygodnia",year:"rok"};var b2={};b2={calendar:"Calend\xE1rio",day:"dia",dayPeriod:"AM/PM",endDate:"Data final",era:"era",hour:"hora",minute:"minuto",month:"m\xEAs",second:"segundo",selectedDateDescription:t=>`Data selecionada: ${t.date}`,selectedRangeDescription:t=>`Intervalo selecionado: ${t.startDate} a ${t.endDate}`,selectedTimeDescription:t=>`Hora selecionada: ${t.time}`,startDate:"Data inicial",timeZoneName:"fuso hor\xE1rio",weekday:"dia da semana",year:"ano"};var y2={};y2={calendar:"Calend\xE1rio",day:"dia",dayPeriod:"am/pm",endDate:"Data de T\xE9rmino",era:"era",hour:"hora",minute:"minuto",month:"m\xEAs",second:"segundo",selectedDateDescription:t=>`Data selecionada: ${t.date}`,selectedRangeDescription:t=>`Intervalo selecionado: ${t.startDate} a ${t.endDate}`,selectedTimeDescription:t=>`Hora selecionada: ${t.time}`,startDate:"Data de In\xEDcio",timeZoneName:"fuso hor\xE1rio",weekday:"dia da semana",year:"ano"};var v2={};v2={calendar:"Calendar",day:"zi",dayPeriod:"a.m/p.m.",endDate:"Dat\u0103 final",era:"er\u0103",hour:"or\u0103",minute:"minut",month:"lun\u0103",second:"secund\u0103",selectedDateDescription:t=>`Dat\u0103 selectat\u0103: ${t.date}`,selectedRangeDescription:t=>`Interval selectat: de la ${t.startDate} p\xE2n\u0103 la ${t.endDate}`,selectedTimeDescription:t=>`Ora selectat\u0103: ${t.time}`,startDate:"Dat\u0103 \xEEnceput",timeZoneName:"fus orar",weekday:"ziua din s\u0103pt\u0103m\xE2n\u0103",year:"an"};var $2={};$2={calendar:"\u041A\u0430\u043B\u0435\u043D\u0434\u0430\u0440\u044C",day:"\u0434\u0435\u043D\u044C",dayPeriod:"AM/PM",endDate:"\u0414\u0430\u0442\u0430 \u043E\u043A\u043E\u043D\u0447\u0430\u043D\u0438\u044F",era:"\u044D\u0440\u0430",hour:"\u0447\u0430\u0441",minute:"\u043C\u0438\u043D\u0443\u0442\u0430",month:"\u043C\u0435\u0441\u044F\u0446",second:"\u0441\u0435\u043A\u0443\u043D\u0434\u0430",selectedDateDescription:t=>`\u0412\u044B\u0431\u0440\u0430\u043D\u043D\u0430\u044F \u0434\u0430\u0442\u0430: ${t.date}`,selectedRangeDescription:t=>`\u0412\u044B\u0431\u0440\u0430\u043D\u043D\u044B\u0439 \u0434\u0438\u0430\u043F\u0430\u0437\u043E\u043D: \u0441 ${t.startDate} \u043F\u043E ${t.endDate}`,selectedTimeDescription:t=>`\u0412\u044B\u0431\u0440\u0430\u043D\u043D\u043E\u0435 \u0432\u0440\u0435\u043C\u044F: ${t.time}`,startDate:"\u0414\u0430\u0442\u0430 \u043D\u0430\u0447\u0430\u043B\u0430",timeZoneName:"\u0447\u0430\u0441\u043E\u0432\u043E\u0439 \u043F\u043E\u044F\u0441",weekday:"\u0434\u0435\u043D\u044C \u043D\u0435\u0434\u0435\u043B\u0438",year:"\u0433\u043E\u0434"};var w2={};w2={calendar:"Kalend\xE1r",day:"de\u0148",dayPeriod:"AM/PM",endDate:"D\xE1tum ukon\u010Denia",era:"letopo\u010Det",hour:"hodina",minute:"min\xFAta",month:"mesiac",second:"sekunda",selectedDateDescription:t=>`Vybrat\xFD d\xE1tum: ${t.date}`,selectedRangeDescription:t=>`Vybrat\xFD rozsah: od ${t.startDate} do ${t.endDate}`,selectedTimeDescription:t=>`Vybrat\xFD \u010Das: ${t.time}`,startDate:"D\xE1tum za\u010Datia",timeZoneName:"\u010Dasov\xE9 p\xE1smo",weekday:"de\u0148 t\xFD\u017Ed\u0148a",year:"rok"};var x2={};x2={calendar:"Koledar",day:"dan",dayPeriod:"dop/pop",endDate:"Datum konca",era:"doba",hour:"ura",minute:"minuta",month:"mesec",second:"sekunda",selectedDateDescription:t=>`Izbrani datum: ${t.date}`,selectedRangeDescription:t=>`Izbrano obmo\u010Dje: ${t.startDate} do ${t.endDate}`,selectedTimeDescription:t=>`Izbrani \u010Das: ${t.time}`,startDate:"Datum za\u010Detka",timeZoneName:"\u010Dasovni pas",weekday:"dan v tednu",year:"leto"};var S2={};S2={calendar:"Kalendar",day:"\u0434\u0430\u043D",dayPeriod:"\u043F\u0440\u0435 \u043F\u043E\u0434\u043D\u0435/\u043F\u043E \u043F\u043E\u0434\u043D\u0435",endDate:"Datum zavr\u0161etka",era:"\u0435\u0440\u0430",hour:"\u0441\u0430\u0442",minute:"\u043C\u0438\u043D\u0443\u0442",month:"\u043C\u0435\u0441\u0435\u0446",second:"\u0441\u0435\u043A\u0443\u043D\u0434",selectedDateDescription:t=>`Izabrani datum: ${t.date}`,selectedRangeDescription:t=>`Izabrani opseg: od ${t.startDate} do ${t.endDate}`,selectedTimeDescription:t=>`Izabrano vreme: ${t.time}`,startDate:"Datum po\u010Detka",timeZoneName:"\u0432\u0440\u0435\u043C\u0435\u043D\u0441\u043A\u0430 \u0437\u043E\u043D\u0430",weekday:"\u0434\u0430\u043D \u0443 \u043D\u0435\u0434\u0435\u0459\u0438",year:"\u0433\u043E\u0434\u0438\u043D\u0430"};var C2={};C2={calendar:"Kalender",day:"dag",dayPeriod:"fm/em",endDate:"Slutdatum",era:"era",hour:"timme",minute:"minut",month:"m\xE5nad",second:"sekund",selectedDateDescription:t=>`Valt datum: ${t.date}`,selectedRangeDescription:t=>`Valt intervall: ${t.startDate} till ${t.endDate}`,selectedTimeDescription:t=>`Vald tid: ${t.time}`,startDate:"Startdatum",timeZoneName:"tidszon",weekday:"veckodag",year:"\xE5r"};var D2={};D2={calendar:"Takvim",day:"g\xFCn",dayPeriod:"\xD6\xD6/\xD6S",endDate:"Biti\u015F Tarihi",era:"\xE7a\u011F",hour:"saat",minute:"dakika",month:"ay",second:"saniye",selectedDateDescription:t=>`Se\xE7ilen Tarih: ${t.date}`,selectedRangeDescription:t=>`Se\xE7ilen Aral\u0131k: ${t.startDate} - ${t.endDate}`,selectedTimeDescription:t=>`Se\xE7ilen Zaman: ${t.time}`,startDate:"Ba\u015Flang\u0131\xE7 Tarihi",timeZoneName:"saat dilimi",weekday:"haftan\u0131n g\xFCn\xFC",year:"y\u0131l"};var k2={};k2={calendar:"\u041A\u0430\u043B\u0435\u043D\u0434\u0430\u0440",day:"\u0434\u0435\u043D\u044C",dayPeriod:"\u0434\u043F/\u043F\u043F",endDate:"\u0414\u0430\u0442\u0430 \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043D\u043D\u044F",era:"\u0435\u0440\u0430",hour:"\u0433\u043E\u0434\u0438\u043D\u0430",minute:"\u0445\u0432\u0438\u043B\u0438\u043D\u0430",month:"\u043C\u0456\u0441\u044F\u0446\u044C",second:"\u0441\u0435\u043A\u0443\u043D\u0434\u0430",selectedDateDescription:t=>`\u0412\u0438\u0431\u0440\u0430\u043D\u0430 \u0434\u0430\u0442\u0430: ${t.date}`,selectedRangeDescription:t=>`\u0412\u0438\u0431\u0440\u0430\u043D\u0438\u0439 \u0434\u0456\u0430\u043F\u0430\u0437\u043E\u043D: ${t.startDate} \u2014 ${t.endDate}`,selectedTimeDescription:t=>`\u0412\u0438\u0431\u0440\u0430\u043D\u0438\u0439 \u0447\u0430\u0441: ${t.time}`,startDate:"\u0414\u0430\u0442\u0430 \u043F\u043E\u0447\u0430\u0442\u043A\u0443",timeZoneName:"\u0447\u0430\u0441\u043E\u0432\u0438\u0439 \u043F\u043E\u044F\u0441",weekday:"\u0434\u0435\u043D\u044C \u0442\u0438\u0436\u043D\u044F",year:"\u0440\u0456\u043A"};var P2={};P2={calendar:"\u65E5\u5386",day:"\u65E5",dayPeriod:"\u4E0A\u5348/\u4E0B\u5348",endDate:"\u7ED3\u675F\u65E5\u671F",era:"\u7EAA\u5143",hour:"\u5C0F\u65F6",minute:"\u5206\u949F",month:"\u6708",second:"\u79D2",selectedDateDescription:t=>`\u9009\u5B9A\u7684\u65E5\u671F\uFF1A${t.date}`,selectedRangeDescription:t=>`\u9009\u5B9A\u7684\u8303\u56F4\uFF1A${t.startDate} \u81F3 ${t.endDate}`,selectedTimeDescription:t=>`\u9009\u5B9A\u7684\u65F6\u95F4\uFF1A${t.time}`,startDate:"\u5F00\u59CB\u65E5\u671F",timeZoneName:"\u65F6\u533A",weekday:"\u5DE5\u4F5C\u65E5",year:"\u5E74"};var E2={};E2={calendar:"\u65E5\u66C6",day:"\u65E5",dayPeriod:"\u4E0A\u5348/\u4E0B\u5348",endDate:"\u7D50\u675F\u65E5\u671F",era:"\u7EAA\u5143",hour:"\u5C0F\u65F6",minute:"\u5206\u949F",month:"\u6708",second:"\u79D2",selectedDateDescription:t=>`\u9078\u5B9A\u7684\u65E5\u671F\uFF1A${t.date}`,selectedRangeDescription:t=>`\u9078\u5B9A\u7684\u7BC4\u570D\uFF1A${t.startDate} \u81F3 ${t.endDate}`,selectedTimeDescription:t=>`\u9078\u5B9A\u7684\u6642\u9593\uFF1A${t.time}`,startDate:"\u958B\u59CB\u65E5\u671F",timeZoneName:"\u65F6\u533A",weekday:"\u5DE5\u4F5C\u65E5",year:"\u5E74"};var es={};es={"ar-AE":GD,"bg-BG":HD,"cs-CZ":_D,"da-DK":JD,"de-DE":e2,"el-GR":t2,"en-US":n2,"es-ES":r2,"et-EE":i2,"fi-FI":l2,"fr-FR":a2,"he-IL":o2,"hr-HR":s2,"hu-HU":u2,"it-IT":c2,"ja-JP":d2,"ko-KR":f2,"lt-LT":h2,"lv-LV":p2,"nb-NO":m2,"nl-NL":g2,"pl-PL":O2,"pt-BR":b2,"pt-PT":y2,"ro-RO":v2,"ru-RU":$2,"sk-SK":w2,"sl-SI":x2,"sr-SP":S2,"sv-SE":C2,"tr-TR":D2,"uk-UA":k2,"zh-CN":P2,"zh-TW":E2};function Dg(t,e,n){let{direction:r}=Ee(),i=(0,wp.element.useMemo)(()=>Kc(e),[e]),l=u(s=>{if(s.currentTarget.contains(s.target)&&(s.altKey&&(s.key==="ArrowDown"||s.key==="ArrowUp")&&"setOpen"in t&&(s.preventDefault(),s.stopPropagation(),t.setOpen(!0)),!n))switch(s.key){case"ArrowLeft":s.preventDefault(),s.stopPropagation(),r==="rtl"?i.focusNext():i.focusPrevious();break;case"ArrowRight":s.preventDefault(),s.stopPropagation(),r==="rtl"?i.focusPrevious():i.focusNext();break}},"onKeyDown"),a=u(()=>{var s;let c=(s=window.event)===null||s===void 0?void 0:s.target,d=ht(e.current,{tabbable:!0});if(c&&(d.currentNode=c,c=d.previousNode()),!c){let f;do f=d.lastChild(),f&&(c=f);while(f)}for(;c?.hasAttribute("data-placeholder");){let f=d.previousNode();if(f&&f.hasAttribute("data-placeholder"))c=f;else break}c&&c.focus()},"focusLast"),{pressProps:o}=gr({preventFocusOnPress:!0,allowTextSelectionOnPress:!0,onPressStart(s){s.pointerType==="mouse"&&a()},onPress(s){s.pointerType!=="mouse"&&a()}});return te(o,{onKeyDown:l})}u(Dg,"$3dfb0f96be0d6a08$export$4a931266a3838b86");function BV(t){return t&&t.__esModule?t.default:t}u(BV,"$parcel$interopDefault$4");const A2=new WeakMap,ts="__role_"+Date.now(),T2="__focusManager_"+Date.now();function VV(t,e,n){var r;let{isInvalid:i,validationErrors:l,validationDetails:a}=e.displayValidation,{labelProps:o,fieldProps:s,descriptionProps:c,errorMessageProps:d}=mt({...t,labelElementType:"span",isInvalid:i,errorMessage:t.errorMessage||l}),f=(0,wp.element.useRef)(null),{focusWithinProps:h}=Nt({...t,onFocusWithin(D){var S;f.current=e.value,(S=t.onFocus)===null||S===void 0||S.call(t,D)},onBlurWithin:D=>{var S;e.confirmPlaceholder(),e.value!==f.current&&e.commitValidation(),(S=t.onBlur)===null||S===void 0||S.call(t,D)},onFocusWithinChange:t.onFocusChange}),p=Ft(BV(es),"@react-aria/datepicker"),m=e.maxGranularity==="hour"?"selectedTimeDescription":"selectedDateDescription",g=e.maxGranularity==="hour"?"time":"date",O=e.value?p.format(m,{[g]:e.formatValue({month:"long"})}):"",b=So(O),y=t[ts]==="presentation"?s["aria-describedby"]:[b["aria-describedby"],s["aria-describedby"]].filter(Boolean).join(" ")||void 0,$=t[T2],C=(0,wp.element.useMemo)(()=>$||Kc(n),[$,n]),w=Dg(e,n,t[ts]==="presentation");A2.set(e,{ariaLabel:t["aria-label"],ariaLabelledBy:[o.id,t["aria-labelledby"]].filter(Boolean).join(" ")||void 0,ariaDescribedBy:y,focusManager:C});let x=(0,wp.element.useRef)(t.autoFocus),P;t[ts]==="presentation"?P={role:"presentation"}:P=te(s,{role:"group","aria-disabled":t.isDisabled||void 0,"aria-describedby":y}),(0,wp.element.useEffect)(()=>{x.current&&C.focusFirst(),x.current=!1},[C]),qr(t.inputRef,e.value,e.setValue),Uo({...t,focus(){C.focusFirst()}},e,t.inputRef);let v={type:"hidden",name:t.name,value:((r=e.value)===null||r===void 0?void 0:r.toString())||"",disabled:t.isDisabled};t.validationBehavior==="native"&&(v.type="text",v.hidden=!0,v.required=t.isRequired,v.onChange=()=>{});let k=ft(t);return{labelProps:{...o,onClick:()=>{C.focusFirst()}},fieldProps:te(k,P,w,h,{onKeyDown(D){t.onKeyDown&&t.onKeyDown(D)},onKeyUp(D){t.onKeyUp&&t.onKeyUp(D)}}),inputProps:v,descriptionProps:c,errorMessageProps:d,isInvalid:i,validationErrors:l,validationDetails:a}}u(VV,"$16f0b7bb276bc17e$export$5591b0b878c1a989");function NV(t){return t&&t.__esModule?t.default:t}u(NV,"$parcel$interopDefault$3");function FV(t,e,n){let r=Fe(),i=Fe(),l=Fe(),a=Ft(NV(es),"@react-aria/datepicker"),{isInvalid:o,validationErrors:s,validationDetails:c}=e.displayValidation,{labelProps:d,fieldProps:f,descriptionProps:h,errorMessageProps:p}=mt({...t,labelElementType:"span",isInvalid:o,errorMessage:t.errorMessage||s}),m=Dg(e,n),g=f["aria-labelledby"]||f.id,{locale:O}=Ee(),b=e.formatValue(O,{month:"long"}),y=b?a.format("selectedDateDescription",{date:b}):"",$=So(y),C=[$["aria-describedby"],f["aria-describedby"]].filter(Boolean).join(" ")||void 0,w=ft(t),x=(0,wp.element.useMemo)(()=>Kc(n),[n]),{focusWithinProps:P}=Nt({...t,isDisabled:e.isOpen,onBlurWithin:t.onBlur,onFocusWithin:t.onFocus,onFocusWithinChange:t.onFocusChange});return{groupProps:te(w,m,f,$,P,{role:"group","aria-disabled":t.isDisabled||null,"aria-labelledby":g,"aria-describedby":C,onKeyDown(v){e.isOpen||t.onKeyDown&&t.onKeyDown(v)},onKeyUp(v){e.isOpen||t.onKeyUp&&t.onKeyUp(v)}}),labelProps:{...d,onClick:()=>{x.focusFirst()}},fieldProps:{...f,id:l,[ts]:"presentation","aria-describedby":C,value:e.value,onChange:e.setValue,placeholderValue:t.placeholderValue,hideTimeZone:t.hideTimeZone,hourCycle:t.hourCycle,shouldForceLeadingZeros:t.shouldForceLeadingZeros,granularity:t.granularity,isDisabled:t.isDisabled,isReadOnly:t.isReadOnly,isRequired:t.isRequired,validationBehavior:t.validationBehavior,[Hr]:e,autoFocus:t.autoFocus,name:t.name},descriptionProps:h,errorMessageProps:p,buttonProps:{...$,id:r,"aria-haspopup":"dialog","aria-label":a.format("calendar"),"aria-labelledby":`${r} ${g}`,"aria-describedby":C,"aria-expanded":e.isOpen,isDisabled:t.isDisabled||t.isReadOnly,onPress:()=>e.setOpen(!0)},dialogProps:{id:i,"aria-labelledby":`${r} ${g}`},calendarProps:{autoFocus:!0,value:e.dateValue,onChange:e.setDateValue,minValue:t.minValue,maxValue:t.maxValue,isDisabled:t.isDisabled,isReadOnly:t.isReadOnly,isDateUnavailable:t.isDateUnavailable,defaultFocusedValue:e.dateValue?void 0:t.placeholderValue,isInvalid:e.isInvalid,errorMessage:typeof t.errorMessage=="function"?t.errorMessage(e.displayValidation):t.errorMessage||e.displayValidation.validationErrors.join(" ")},isInvalid:o,validationErrors:s,validationDetails:c}}u(FV,"$6057a3d2a53a12fd$export$42df105a73306d51");function IV(t){return t&&t.__esModule?t.default:t}u(IV,"$parcel$interopDefault$2");function ZV(){let{locale:t}=Ee(),e=j3(IV(es),"@react-aria/datepicker");return(0,wp.element.useMemo)(()=>{try{return new Intl.DisplayNames(t,{type:"dateTimeField"})}catch{return new kg(t,e)}},[t,e])}u(ZV,"$3aeceb3a64eb8358$export$d42c60378c8168f8");const My=class My{of(e){return this.dictionary.getStringForLocale(e,this.locale)}constructor(e,n){this.locale=e,this.dictionary=n}};u(My,"$3aeceb3a64eb8358$var$DisplayNamesPolyfill");let kg=My;function zV(t,e,n){let r=(0,wp.element.useRef)(""),{locale:i}=Ee(),l=ZV(),{ariaLabel:a,ariaLabelledBy:o,ariaDescribedBy:s,focusManager:c}=A2.get(e),d=t.isPlaceholder?"":t.text,f=(0,wp.element.useMemo)(()=>e.dateFormatter.resolvedOptions(),[e.dateFormatter]),h=Vn({month:"long",timeZone:f.timeZone}),p=Vn({hour:"numeric",hour12:f.hour12,timeZone:f.timeZone});if(t.type==="month"&&!t.isPlaceholder){let N=h.format(e.dateValue);d=N!==d?`${d} \u2013 ${N}`:N}else t.type==="hour"&&!t.isPlaceholder&&(d=p.format(e.dateValue));let{spinButtonProps:m}=mg({value:t.value,textValue:d,minValue:t.minValue,maxValue:t.maxValue,isDisabled:e.isDisabled,isReadOnly:e.isReadOnly||!t.isEditable,isRequired:e.isRequired,onIncrement:()=>{r.current="",e.increment(t.type)},onDecrement:()=>{r.current="",e.decrement(t.type)},onIncrementPage:()=>{r.current="",e.incrementPage(t.type)},onDecrementPage:()=>{r.current="",e.decrementPage(t.type)},onIncrementToMax:()=>{r.current="",e.setSegment(t.type,t.maxValue)},onDecrementToMin:()=>{r.current="",e.setSegment(t.type,t.minValue)}}),g=(0,wp.element.useMemo)(()=>new Xo(i,{maximumFractionDigits:0}),[i]),O=u(()=>{if(t.text===t.placeholder&&c.focusPrevious(),g.isValidPartialNumber(t.text)&&!e.isReadOnly&&!t.isPlaceholder){let N=t.text.slice(0,-1),I=g.parse(N);N=I===0?"":N,N.length===0||I===0?e.clearSegment(t.type):e.setSegment(t.type,I),r.current=N}else t.type==="dayPeriod"&&e.clearSegment(t.type)},"backspace"),b=u(N=>{if(N.key==="a"&&(pr()?N.metaKey:N.ctrlKey)&&N.preventDefault(),!(N.ctrlKey||N.metaKey||N.shiftKey||N.altKey))switch(N.key){case"Backspace":case"Delete":N.preventDefault(),N.stopPropagation(),O();break}},"onKeyDown"),{startsWith:y}=z$({sensitivity:"base"}),$=Vn({hour:"numeric",hour12:!0}),C=(0,wp.element.useMemo)(()=>{let N=new Date;return N.setHours(0),$.formatToParts(N).find(I=>I.type==="dayPeriod").value},[$]),w=(0,wp.element.useMemo)(()=>{let N=new Date;return N.setHours(12),$.formatToParts(N).find(I=>I.type==="dayPeriod").value},[$]),x=Vn({year:"numeric",era:"narrow",timeZone:"UTC"}),P=(0,wp.element.useMemo)(()=>{if(t.type!=="era")return[];let N=Ae(new Te(1,1,1),e.calendar),I=e.calendar.getEras().map(V=>{let Z=N.set({year:1,month:1,day:1,era:V}).toDate("UTC"),W=x.formatToParts(Z).find(re=>re.type==="era").value;return{era:V,formatted:W}}),F=LV(I.map(V=>V.formatted));if(F)for(let V of I)V.formatted=V.formatted.slice(F);return I},[x,e.calendar,t.type]),v=u(N=>{if(e.isDisabled||e.isReadOnly)return;let I=r.current+N;switch(t.type){case"dayPeriod":if(y(C,N))e.setSegment("dayPeriod",0);else if(y(w,N))e.setSegment("dayPeriod",12);else break;c.focusNext();break;case"era":{let F=P.find(V=>y(V.formatted,N));F&&(e.setSegment("era",F.era),c.focusNext());break}case"day":case"hour":case"minute":case"second":case"month":case"year":{if(!g.isValidPartialNumber(I))return;let F=g.parse(I),V=F,Z=t.minValue===0;if(t.type==="hour"&&e.dateFormatter.resolvedOptions().hour12){switch(e.dateFormatter.resolvedOptions().hourCycle){case"h11":F>11&&(V=g.parse(N));break;case"h12":Z=!1,F>12&&(V=g.parse(N));break}t.value>=12&&F>1&&(F+=12)}else F>t.maxValue&&(V=g.parse(N));if(isNaN(F))return;let _=V!==0||Z;_&&e.setSegment(t.type,V),+(F+"0")>t.maxValue||I.length>=String(t.maxValue).length?(r.current="",_&&c.focusNext()):r.current=I;break}}},"onInput"),k=u(()=>{r.current="",Mc(n.current,{containingElement:Qc(n.current)}),window.getSelection().collapse(n.current)},"onFocus"),D=(0,wp.element.useRef)(typeof document<"u"?document:null);mr(D,"selectionchange",()=>{let N=window.getSelection();n.current&&n.current.contains(N.anchorNode)&&N.collapse(n.current)});let S=(0,wp.element.useRef)("");mr(n,"beforeinput",N=>{switch(N.preventDefault(),N.inputType){case"deleteContentBackward":case"deleteContentForward":g.isValidPartialNumber(t.text)&&!e.isReadOnly&&O();break;case"insertCompositionText":S.current=n.current.textContent,n.current.textContent=n.current.textContent;break;default:N.data!=null&&v(N.data);break}}),mr(n,"input",N=>{let{inputType:I,data:F}=N;switch(I){case"insertCompositionText":n.current.textContent=S.current,(y(C,F)||y(w,F))&&v(F);break}}),De(()=>{let N=n.current;return()=>{document.activeElement===N&&(c.focusPrevious()||c.focusNext())}},[n,c]);let E=Mi()||t.type==="timeZoneName"?{role:"textbox","aria-valuemax":null,"aria-valuemin":null,"aria-valuetext":null,"aria-valuenow":null}:{},A=(0,wp.element.useMemo)(()=>e.segments.find(N=>N.isEditable),[e.segments]);t!==A&&!e.isInvalid&&(s=void 0);let B=Fe(),T=!e.isDisabled&&!e.isReadOnly&&t.isEditable,R=t.type==="literal"?"":l.of(t.type),M=Mn({"aria-label":`${R}${a?`, ${a}`:""}${o?", ":""}`,"aria-labelledby":o});return t.type==="literal"?{segmentProps:{"aria-hidden":!0}}:{segmentProps:te(m,M,{id:B,...E,"aria-invalid":e.isInvalid?"true":void 0,"aria-describedby":s,"aria-readonly":e.isReadOnly||!t.isEditable?"true":void 0,"data-placeholder":t.isPlaceholder||void 0,contentEditable:T,suppressContentEditableWarning:T,spellCheck:T?"false":void 0,autoCorrect:T?"off":void 0,[parseInt(wp.element.version,10)>=17?"enterKeyHint":"enterkeyhint"]:T?"next":void 0,inputMode:e.isDisabled||t.type==="dayPeriod"||t.type==="era"||!T?void 0:"numeric",tabIndex:e.isDisabled?void 0:0,onKeyDown:b,onFocus:k,style:{caretColor:"transparent"},onPointerDown(N){N.stopPropagation()},onMouseDown(N){N.stopPropagation()}})}}u(zV,"$32489daedd52963e$export$1315d136e6f7581");function LV(t){t.sort();let e=t[0],n=t[t.length-1];for(let r=0;rKc(n,{accept:B=>B.id!==C}),[n,C]),k={[T2]:v,[ts]:"presentation","aria-describedby":P,placeholderValue:t.placeholderValue,hideTimeZone:t.hideTimeZone,hourCycle:t.hourCycle,granularity:t.granularity,shouldForceLeadingZeros:t.shouldForceLeadingZeros,isDisabled:t.isDisabled,isReadOnly:t.isReadOnly,isRequired:t.isRequired,validationBehavior:t.validationBehavior},D=ft(t),{focusWithinProps:S}=Nt({...t,isDisabled:e.isOpen,onBlurWithin:t.onBlur,onFocusWithin:t.onFocus,onFocusWithinChange:t.onFocusChange}),E=(0,wp.element.useRef)(ji),A=(0,wp.element.useRef)(ji);return{groupProps:te(D,x,d,b,S,{role:"group","aria-disabled":t.isDisabled||null,"aria-describedby":P,onKeyDown(B){e.isOpen||t.onKeyDown&&t.onKeyDown(B)},onKeyUp(B){e.isOpen||t.onKeyUp&&t.onKeyUp(B)}}),labelProps:{...c,onClick:()=>{v.focusFirst()}},buttonProps:{...b,id:C,"aria-haspopup":"dialog","aria-label":l.format("calendar"),"aria-labelledby":`${C} ${p}`,"aria-describedby":P,"aria-expanded":e.isOpen,isDisabled:t.isDisabled||t.isReadOnly,onPress:()=>e.setOpen(!0)},dialogProps:{id:w,"aria-labelledby":`${C} ${p}`},startFieldProps:{...y,...k,value:(r=e.value)===null||r===void 0?void 0:r.start,onChange:B=>e.setDateTime("start",B),autoFocus:t.autoFocus,name:t.startName,[Hr]:{realtimeValidation:e.realtimeValidation,displayValidation:e.displayValidation,updateValidation(B){E.current=B,e.updateValidation(dd(B,A.current))},resetValidation:e.resetValidation,commitValidation:e.commitValidation}},endFieldProps:{...$,...k,value:(i=e.value)===null||i===void 0?void 0:i.end,onChange:B=>e.setDateTime("end",B),name:t.endName,[Hr]:{realtimeValidation:e.realtimeValidation,displayValidation:e.displayValidation,updateValidation(B){A.current=B,e.updateValidation(dd(E.current,B))},resetValidation:e.resetValidation,commitValidation:e.commitValidation}},descriptionProps:f,errorMessageProps:h,calendarProps:{autoFocus:!0,value:e.dateRange,onChange:e.setDateRange,minValue:t.minValue,maxValue:t.maxValue,isDisabled:t.isDisabled,isReadOnly:t.isReadOnly,isDateUnavailable:t.isDateUnavailable,allowsNonContiguousRanges:t.allowsNonContiguousRanges,defaultFocusedValue:e.dateRange?void 0:t.placeholderValue,isInvalid:e.isInvalid,errorMessage:typeof t.errorMessage=="function"?t.errorMessage(e.displayValidation):t.errorMessage||e.displayValidation.validationErrors.join(" ")},isInvalid:a,validationErrors:o,validationDetails:s}}u(R2,"$887cac91b7cc8801$export$12fd5f0e9f4bb192");function XV(t,e){let{role:n="dialog"}=t,r=Kl();r=t["aria-label"]?void 0:r;let i=(0,wp.element.useRef)(!1);return(0,wp.element.useEffect)(()=>{if(e.current&&!e.current.contains(document.activeElement)){Fi(e.current);let l=setTimeout(()=>{document.activeElement===e.current&&(i.current=!0,e.current&&(e.current.blur(),Fi(e.current)),i.current=!1)},500);return()=>{clearTimeout(l)}}},[e]),tD(),{dialogProps:{...ft(t,{labelable:!0}),role:n,tabIndex:-1,"aria-labelledby":t["aria-labelledby"]||r,onBlur:l=>{i.current&&l.stopPropagation()}},titleProps:{id:r}}}u(XV,"$40df3f8667284809$export$d55e7ee900f34e93");const Q2=new WeakMap;function M2(t,e,n){let{value:r,children:i,"aria-label":l,"aria-labelledby":a}=t;const o=t.isDisabled||e.isDisabled;let s=i!=null,c=l!=null||a!=null;!s&&!c&&console.warn("If you do not provide children, you must specify an aria-label for accessibility");let d=e.selectedValue===r,f=u(v=>{v.stopPropagation(),e.setSelectedValue(r)},"onChange"),{pressProps:h,isPressed:p}=gr({isDisabled:o}),{pressProps:m,isPressed:g}=gr({isDisabled:o,onPress(){e.setSelectedValue(r)}}),{focusableProps:O}=Qo(te(t,{onFocus:()=>e.setLastFocusedValue(r)}),n),b=te(h,O),y=ft(t,{labelable:!0}),$=-1;e.selectedValue!=null?e.selectedValue===r&&($=0):(e.lastFocusedValue===r||e.lastFocusedValue==null)&&($=0),o&&($=void 0);let{name:C,descriptionId:w,errorMessageId:x,validationBehavior:P}=Q2.get(e);return qr(n,e.selectedValue,e.setSelectedValue),Uo({validationBehavior:P},e,n),{labelProps:te(m,{onClick:v=>v.preventDefault()}),inputProps:te(y,{...b,type:"radio",name:C,tabIndex:$,disabled:o,required:e.isRequired&&P==="native",checked:d,value:r,onChange:f,"aria-describedby":[t["aria-describedby"],e.isInvalid?x:null,w].filter(Boolean).join(" ")||void 0}),isDisabled:o,isSelected:d,isPressed:p||g}}u(M2,"$0d5c49892c1215da$export$37b0961d2f4751e2");function B2(t,e){let{name:n,isReadOnly:r,isRequired:i,isDisabled:l,orientation:a="vertical",validationBehavior:o="aria"}=t,{direction:s}=Ee(),{isInvalid:c,validationErrors:d,validationDetails:f}=e.displayValidation,{labelProps:h,fieldProps:p,descriptionProps:m,errorMessageProps:g}=mt({...t,labelElementType:"span",isInvalid:e.isInvalid,errorMessage:t.errorMessage||d}),O=ft(t,{labelable:!0}),{focusWithinProps:b}=Nt({onBlurWithin(C){var w;(w=t.onBlur)===null||w===void 0||w.call(t,C),e.selectedValue||e.setLastFocusedValue(null)},onFocusWithin:t.onFocus,onFocusWithinChange:t.onFocusChange}),y=u(C=>{let w;switch(C.key){case"ArrowRight":s==="rtl"&&a!=="vertical"?w="prev":w="next";break;case"ArrowLeft":s==="rtl"&&a!=="vertical"?w="next":w="prev";break;case"ArrowDown":w="next";break;case"ArrowUp":w="prev";break;default:return}C.preventDefault();let x=ht(C.currentTarget,{from:C.target}),P;w==="next"?(P=x.nextNode(),P||(x.currentNode=C.currentTarget,P=x.firstChild())):(P=x.previousNode(),P||(x.currentNode=C.currentTarget,P=x.lastChild())),P&&(P.focus(),e.setSelectedValue(P.value))},"onKeyDown"),$=Fe(n);return Q2.set(e,{name:$,descriptionId:m.id,errorMessageId:g.id,validationBehavior:o}),{radioGroupProps:te(O,{role:"radiogroup",onKeyDown:y,"aria-invalid":e.isInvalid||void 0,"aria-errormessage":t["aria-errormessage"],"aria-readonly":r||void 0,"aria-required":i||void 0,"aria-disabled":l||void 0,"aria-orientation":a,...p,...b}),labelProps:h,descriptionProps:m,errorMessageProps:g,isInvalid:c,validationErrors:d,validationDetails:f}}u(B2,"$430f30ed08ec25fa$export$62b9571f283ff5c2");const V2=new WeakMap;function jV(t,e,n){let{keyboardDelegate:r,isDisabled:i,isRequired:l,name:a,validationBehavior:o="aria"}=t,s=tg({usage:"search",sensitivity:"base"}),c=(0,wp.element.useMemo)(()=>r||new Jo(e.collection,e.disabledKeys,null,s),[r,e.collection,e.disabledKeys,s]),{menuTriggerProps:d,menuProps:f}=KD({isDisabled:i,type:"listbox"},e,n),h=u(v=>{switch(v.key){case"ArrowLeft":{v.preventDefault();let k=e.selectedKey!=null?c.getKeyAbove(e.selectedKey):c.getFirstKey();k&&e.setSelectedKey(k);break}case"ArrowRight":{v.preventDefault();let k=e.selectedKey!=null?c.getKeyBelow(e.selectedKey):c.getFirstKey();k&&e.setSelectedKey(k);break}}},"onKeyDown"),{typeSelectProps:p}=rD({keyboardDelegate:c,selectionManager:e.selectionManager,onTypeSelect(v){e.setSelectedKey(v)}}),{isInvalid:m,validationErrors:g,validationDetails:O}=e.displayValidation,{labelProps:b,fieldProps:y,descriptionProps:$,errorMessageProps:C}=mt({...t,labelElementType:"span",isInvalid:m,errorMessage:t.errorMessage||g});p.onKeyDown=p.onKeyDownCapture,delete p.onKeyDownCapture;let w=ft(t,{labelable:!0}),x=te(p,d,y),P=Fe();return V2.set(e,{isDisabled:i,isRequired:l,name:a,validationBehavior:o}),{labelProps:{...b,onClick:()=>{t.isDisabled||(n.current.focus(),lm("keyboard"))}},triggerProps:te(w,{...x,isDisabled:i,onKeyDown:fr(x.onKeyDown,h,t.onKeyDown),onKeyUp:t.onKeyUp,"aria-labelledby":[P,x["aria-labelledby"],x["aria-label"]&&!x["aria-labelledby"]?x.id:null].filter(Boolean).join(" "),onFocus(v){e.isFocused||(t.onFocus&&t.onFocus(v),t.onFocusChange&&t.onFocusChange(!0),e.setFocused(!0))},onBlur(v){e.isOpen||(t.onBlur&&t.onBlur(v),t.onFocusChange&&t.onFocusChange(!1),e.setFocused(!1))}}),valueProps:{id:P},menuProps:{...f,autoFocus:e.focusStrategy||!0,shouldSelectOnPressUp:!0,shouldFocusOnHover:!0,disallowEmptySelection:!0,linkBehavior:"selection",onBlur:v=>{v.currentTarget.contains(v.relatedTarget)||(t.onBlur&&t.onBlur(v),t.onFocusChange&&t.onFocusChange(!1),e.setFocused(!1))},"aria-labelledby":[y["aria-labelledby"],x["aria-label"]&&!y["aria-labelledby"]?x.id:null].filter(Boolean).join(" ")},descriptionProps:$,errorMessageProps:C,isInvalid:m,validationErrors:g,validationDetails:O}}u(jV,"$58aed456727eb0f3$export$e64b2f635402ca43");function qV(t,e,n){let r=V2.get(e)||{},{autoComplete:i,name:l=r.name,isDisabled:a=r.isDisabled}=t,{validationBehavior:o,isRequired:s}=r,c=BQ(),{visuallyHiddenProps:d}=pd();qr(t.selectRef,e.selectedKey,e.setSelectedKey),Uo({validationBehavior:o,focus:()=>n.current.focus()},e,t.selectRef);var f;return{containerProps:{...d,"aria-hidden":!0,"data-react-aria-prevent-focus":!0,"data-a11y-ignore":"aria-hidden-focus"},inputProps:{type:"text",tabIndex:c==null||e.isFocused||e.isOpen?-1:0,style:{fontSize:16},onFocus:()=>n.current.focus(),disabled:a},selectProps:{tabIndex:-1,autoComplete:i,disabled:a,required:o==="native"&&s,name:l,value:(f=e.selectedKey)!==null&&f!==void 0?f:"",onChange:h=>e.setSelectedKey(h.target.value)}}}u(qV,"$bdd25dc72710631f$export$f809e80f58e251d1");function UV(t){let{state:e,triggerRef:n,label:r,name:i,isDisabled:l}=t,a=(0,wp.element.useRef)(null),{containerProps:o,inputProps:s,selectProps:c}=qV({...t,selectRef:a},e,n);var d;return e.collection.size<=300?wp.element.createElement("div",{...o,"data-testid":"hidden-select-container"},wp.element.createElement("input",s),wp.element.createElement("label",null,r,wp.element.createElement("select",{...c,ref:a},wp.element.createElement("option",null),[...e.collection.getKeys()].map(f=>{let h=e.collection.getItem(f);if(h.type==="item")return wp.element.createElement("option",{key:h.key,value:h.key},h.textValue)})))):i?wp.element.createElement("input",{type:"hidden",autoComplete:c.autoComplete,name:i,disabled:l,value:(d=e.selectedKey)!==null&&d!==void 0?d:""}):null}u(UV,"$bdd25dc72710631f$export$cbd84cdb2e668835");function YV(t){let e=ft(t,{labelable:!0}),n;return t.orientation==="vertical"&&(n="vertical"),t.elementType!=="hr"?{separatorProps:{...e,role:"separator","aria-orientation":n}}:{separatorProps:e}}u(YV,"$f4b273590fab9f93$export$52210f68a14655d0");function KV(t,e,n){let{labelProps:r,inputProps:i,isSelected:l,isPressed:a,isDisabled:o,isReadOnly:s}=Pw(t,e,n);return{labelProps:r,inputProps:{...i,role:"switch",checked:l},isSelected:l,isPressed:a,isDisabled:o,isReadOnly:s}}u(KV,"$b418ec0c85c52f27$export$d853f7095ae95f88");var GV=Object.defineProperty,N2=u((t,e)=>GV(t,"name",{value:e,configurable:!0}),"l$l");const HV=N2((t,e=!1)=>{if(e===!1)return`[[${t}]]`;let n="";for(const r in e){const i=e[r];n+=`::${r}=${typeof i=="object"?JSON.stringify(i):i}`}return`[[${t}${n}]]`},"dynamicValueToString"),F2=N2(t=>{if(typeof t!="string")return!1;const e=t.replace("[[","").replace("]]","").split("::");return e.length===0?!1:e.reduce((n,r,i)=>{if(i===0)return n;const l=r.split("=");return{...n,fields:{...n.fields,[l[0]]:l[1]}}},{type:e[0],settings:{}})},"stringToDynamicValue");var _V=Object.defineProperty,Pg=u((t,e)=>_V(t,"name",{value:e,configurable:!0}),"l$k");const{dynamics:$d}=TangibleFields,JV=["color-picker","conditional-panel","date-picker","number","text"],I2=/\[\[((?:(?!\]\]).)+\]?)\]\]/g,Z2=Pg(t=>typeof t=="string"?Array.from(t.matchAll(I2),e=>e[1]):[],"getDynamicStrings"),Eg={"color-picker":{mode:{default:"replace",supported:["replace"]},types:["color"]},"conditional-panel":{mode:{default:"replace",supported:["replace","insert"],types:["text","date","color","number"]},types:["color"]},"date-picker":{mode:{default:"replace",supported:["replace"]},types:["date"]},number:{mode:{default:"replace",supported:["replace"]},types:["number"]},text:{mode:{default:"insert",supported:["insert","replace"]},types:["text","date","color","number"]}},eN=Pg((t,e)=>Eg[t].mode.supported.includes(e)?e:Eg[t].mode.default,"getMode"),tN=Pg((t,e,{dynamic:n,type:r})=>JV.includes(r)?{getTypes:()=>n.types??Eg[r].types,getMode:()=>eN(r,n.mode??!1),getCategories:()=>n.categories??Object.keys($d.categories),getList:()=>$d.values,getAll:()=>Z2(t).map(F2),getLabel:i=>$d.values[i]?$d.values[i].label:i,stringify:HV,parse:F2,hasValues:()=>Z2(t).length!==0,setValue:i=>e(i)}:!1,"dynamicValuesAPI");var nN=Object.defineProperty,qi=u((t,e)=>nN(t,"name",{value:e,configurable:!0}),"n$k");const Ui=qi(()=>(Date.now()*1e3+Math.random()*1e3).toString(16).replace(/\./g,"").padEnd(14,"0"),"uniqid"),yn=qi((t,e=!1)=>{if(Array.isArray(t)||typeof t=="object")return t;if(t===""&&e)return e;try{return JSON.parse(t)}catch{return{}}},"initJSON"),z2=qi(t=>t instanceof Set?t:Array.isArray(t)?new Set(t):t.startsWith("[")&&t.endsWith("]")?yn(t,new Set):new Set(t.split(",")),"initSet"),_r=qi(t=>Object.keys(t).map(e=>t[e].choices?{...t[e],key:t[e].name,label:t[e].name,choices:Object.keys(t[e].choices).map(n=>({value:n,label:t[e].choices[n]}))}:{value:e,label:t[e]}),"getOptions"),L2=qi((t,e)=>e.filter(n=>n.value===t)[0]??!1,"getOption"),rN=qi((t,e)=>JSON.stringify(t)===JSON.stringify(e),"areSameObjects"),Ag=qi(t=>JSON.parse(JSON.stringify(t)),"deepCopy");var iN=Object.freeze({__proto__:null,areSameObjects:rN,deepCopy:Ag,getOption:L2,getOptions:_r,initJSON:yn,initSet:z2,uniqid:Ui}),lN=Object.defineProperty,W2=u((t,e)=>lN(t,"name",{value:e,configurable:!0}),"a$j");const aN=W2((t,e)=>(n,r)=>{switch(r.callback&&setTimeout(r.callback),r.type){case"add":return n.length>=e?n:[...n,{key:Ui(),...r.data??t}];case"insert":return n.length>=e?n:[...n.slice(0,r.position),{key:Ui(),...r.data??t},...n.slice(r.position)];case"remove":return[...n.slice(0,r.item),...n.slice(r.item+1)];case"update":return n[r.item][r.control]=r.value,[...n];case"clone":return n.length>=e?n:[...n,{...r.item,key:Ui()}];case"clear":return[];case"bulkCheck":return n.map(i=>({...i,_bulkCheckbox:!0}));case"bulkUncheck":return n.map(i=>({...i,_bulkCheckbox:!1}));case"bulkUpdate":return n.map(i=>i._bulkCheckbox===!0?{...i,[r.control]:r.value}:i);case"bulkRemove":return n.filter(i=>i._bulkCheckbox!==!0);default:return n}},"repeaterDispatcher"),oN=W2(t=>{try{const e=Array.isArray(t)?t:JSON.parse(t);return Array.isArray(e)?e:[{}]}catch{return[{}]}},"initDispatcher"),oe=wp.element.forwardRef(({children:t,...e},n)=>{const r=wp.element.useRef(),i=n??r,l=e.content??t,a=e.buttonType??"button",o=e.layout?e.layout?`tf-button-${e.layout}`:"":e.type?`tf-button-${e.type}`:"",{buttonProps:s}=lB(e,n),c=e.context?`tf-button-is-${e.context}`:"",d=`${o} ${c} ${e.className??""}`,f=e.changeTag&&e.changeTag=="span"?"span":"button";return wp.element.createElement(f,{className:d,style:e.style,...s,onClick:h=>{s.onClick(h),Qi("buttonPressed",{name:e.name??!1,props:e,event:h})},ref:i,type:a},e.contentVisuallyHidden?wp.element.createElement(on,null,l):l)});var sN=Object.defineProperty,uN=u((t,e)=>sN(t,"name",{value:e,configurable:!0}),"i$p");const $e=uN(({descriptionProps:t,parent:e,children:n,...r})=>{const i=e?.descriptionVisuallyHidden?on:wp.element.Fragment,l=r.content??n;return wp.element.createElement(i,null,wp.element.createElement("div",{className:"tf-description",...t},l))},"Description");var cN=Object.defineProperty,dN=u((t,e)=>cN(t,"name",{value:e,configurable:!0}),"t$d");const ns=dN(({title:t,children:e,...n})=>{const r=wp.element.useRef(),{dialogProps:i}=XV(n,r);return wp.element.createElement("div",{className:"tf-dialog",...i,ref:r},t&&wp.element.createElement(Ig,{level:4},t),wp.element.createElement("div",{className:"tf-dialog-content"},e))},"Dialog");var fN=Object.defineProperty,X2=u((t,e)=>fN(t,"name",{value:e,configurable:!0}),"l$j");const j2=X2(t=>{const[e,n]=wp.element.useState(!0);wp.element.useEffect(()=>{t.isOpen!==e&&n(t.isOpen)},[t.isOpen]);const r=X2(()=>{n(!e),t.onChange&&t.onChange(!e)},"toggle");let i="tf-panel";return i+=` tf-panel-${e?"open":"closed"}`,i+=t.className?` ${t.className}`:"",i+=t.class?` ${t.class}`:"",i+=t.footer?"":" tf-panel-no-footer",wp.element.createElement("div",{className:i,"data-status":e?"open":"closed"},wp.element.createElement(oe,{className:"tf-panel-header",type:"action",onClick:r},wp.element.createElement("div",{className:"tf-panel-header-left"},t.headerLeft?wp.element.createElement("div",{className:"tf-panel-header-before-title"},t.headerLeft):null,t.title?wp.element.createElement("div",{className:"tf-panel-header-title"},wp.element.isValidElement(t.title)?t.title:wp.element.createElement("strong",null,t.title)):null),wp.element.createElement("div",{className:"tf-panel-header-right"},t.headerRight?wp.element.createElement("div",{className:"tf-panel-header-before-title"},t.headerRight):null,wp.element.createElement("span",{className:"tf-panel-arrow"}))),e||t?.behavior==="hide"?wp.element.createElement("div",{className:"tf-panel-content"},t.children):null,t.footer?wp.element.createElement("div",{className:"tf-panel-footer"},t.footer):null)},"ExpandablePanel");var hN=Object.defineProperty,pN=u((t,e)=>hN(t,"name",{value:e,configurable:!0}),"t$c");const we=pN(({labelProps:t,parent:e,children:n,...r})=>{const i=e?.labelVisuallyHidden?on:wp.element.Fragment,l=r.content??n;return wp.element.createElement(i,null,wp.element.createElement("label",{className:"tf-label",...t,htmlFor:e?.name??""},l))},"Label");var mN=Object.defineProperty,gN=u((t,e)=>mN(t,"name",{value:e,configurable:!0}),"i$o");const Tg=gN(({item:t,state:e})=>{const n=wp.element.useRef(),{optionProps:r,isSelected:i,isFocused:l,isDisabled:a}=AV({key:t.key},e,n),{focusProps:o}=Ro();let s="tf-list-box-option";return i&&(s=s+=" tf-list-box-option-selected"),a&&(s=s+=" tf-list-box-option-disabled"),l&&(s=s+=" tf-list-box-option-focus"),wp.element.createElement("li",{...te(r,o),ref:n,className:s},t.rendered)},"Option");var ON=Object.defineProperty,bN=u((t,e)=>ON(t,"name",{value:e,configurable:!0}),"a$g");const yN=bN(({section:t,state:e})=>{const{itemProps:n,headingProps:r,groupProps:i}=TV({heading:t.rendered,"aria-label":t["aria-label"]}),{separatorProps:l}=YV({elementType:"li"}),a=t.key===e.collection.getFirstKey();return wp.element.createElement(wp.element.Fragment,null,!a&&wp.element.createElement("li",{className:"tf-list-box-section-separator",...l}),wp.element.createElement("li",{className:"tf-list-box-section",...n},t.rendered&&wp.element.createElement("span",{...r},t.rendered),wp.element.createElement("ul",{...i},[...t.childNodes].map(o=>wp.element.createElement(Tg,{key:o.key??o.name,item:o,state:e})))))},"Section");var vN=Object.defineProperty,$N=u((t,e)=>vN(t,"name",{value:e,configurable:!0}),"l$i");const Rg=$N(t=>{const e=wp.element.useRef(),{listBoxRef:n=e,state:r}=t,{listBoxProps:i}=oD(t,r,n);return wp.element.createElement(wp.element.Fragment,null,wp.element.createElement("ul",{...i,ref:n,className:"tf-list-box"},["loading","filtering"].includes(t?.loadingState)?wp.element.createElement(Tg,{key:"_loading",state:r,item:{rendered:"Loading...",isDisabled:!0},shouldUseVirtualFocus:!0}):[...r.collection].map(l=>l.type==="section"?wp.element.createElement(yN,{key:l.key??l.level,section:l,state:r,shouldUseVirtualFocus:!0}):wp.element.createElement(Tg,{key:l.key??l.name,item:l,state:r,shouldUseVirtualFocus:!0}))),wp.element.createElement(Ho,{onDismiss:r.close}))},"ListBox");var wN=Object.defineProperty,xN=u((t,e)=>wN(t,"name",{value:e,configurable:!0}),"a$e");const SN=xN(({state:t,children:e,...n})=>{const{ControlContext:r}=tangibleFields,i=wp.element.useContext(r),l=wp.element.useRef(null),{modalProps:a,underlayProps:o}=bV(n,t,l);return wp.element.createElement(eD,{portalContainer:i.portalContainer},wp.element.createElement("div",{className:i.wrapper},wp.element.createElement("div",{className:"tf-modal",...o,style:{zIndex:1e6}},wp.element.createElement("div",{className:"tf-modal-container",ref:l,...a},e))))},"Modal");function ma(t,e,n){return e!=null&&t.compare(e)<0||n!=null&&t.compare(n)>0}u(ma,"$f62d864046160412$export$eac50920cf2fd59a");function Qg(t,e,n,r,i){let l={};for(let o in e)l[o]=Math.floor(e[o]/2),l[o]>0&&e[o]%2===0&&l[o]--;let a=Yi(t,e,n).subtract(l);return rs(t,a,e,n,r,i)}u(Qg,"$f62d864046160412$export$f4a51ff076cc9a09");function Yi(t,e,n,r,i){let l=t;return e.years?l=gM(t):e.months?l=Li(t):e.weeks&&(l=No(t,n)),rs(t,l,e,n,r,i)}u(Yi,"$f62d864046160412$export$144a00ba6044eb9");function Mg(t,e,n,r,i){let l={...e};l.days?l.days--:l.weeks?l.weeks--:l.months?l.months--:l.years&&l.years--;let a=Yi(t,e,n).subtract(l);return rs(t,a,e,n,r,i)}u(Mg,"$f62d864046160412$export$530edbfc915b2b04");function rs(t,e,n,r,i,l){if(i&&t.compare(i)>=0){let a=ym(e,Yi(pt(i),n,r));a&&(e=a)}if(l&&t.compare(l)<=0){let a=bm(e,Mg(pt(l),n,r));a&&(e=a)}return e}u(rs,"$f62d864046160412$export$5bb865b12696a77d");function Jr(t,e,n){if(e){let r=ym(t,pt(e));r&&(t=r)}if(n){let r=bm(t,pt(n));r&&(t=r)}return t}u(Jr,"$f62d864046160412$export$4f5203c0d889109e");function q2(t,e,n){if(!n)return t;for(;t.compare(e)>=0&&n(t);)t=t.subtract({days:1});return t.compare(e)>=0?t:null}u(q2,"$f62d864046160412$export$a1d3911297b952d7");function U2(t){let e=(0,wp.element.useMemo)(()=>new Pt(t.locale),[t.locale]),n=(0,wp.element.useMemo)(()=>e.resolvedOptions(),[e]),{locale:r,createCalendar:i,visibleDuration:l={months:1},minValue:a,maxValue:o,selectionAlignment:s,isDateUnavailable:c,pageBehavior:d="visible"}=t,f=(0,wp.element.useMemo)(()=>i(n.calendar),[i,n.calendar]);var h;let[p,m]=Le(t.value,(h=t.defaultValue)!==null&&h!==void 0?h:null,t.onChange),g=(0,wp.element.useMemo)(()=>p?Ae(pt(p),f):null,[p,f]),O=(0,wp.element.useMemo)(()=>p&&"timeZone"in p?p.timeZone:n.timeZone,[p,n.timeZone]),b=(0,wp.element.useMemo)(()=>t.focusedValue?Jr(Ae(pt(t.focusedValue),f),a,o):void 0,[t.focusedValue,f,a,o]),y=(0,wp.element.useMemo)(()=>Jr(t.defaultFocusedValue?Ae(pt(t.defaultFocusedValue),f):g||Ae(Kr(O),f),a,o),[t.defaultFocusedValue,g,O,f,a,o]),[$,C]=Le(b,y,t.onFocusChange),[w,x]=(0,wp.element.useState)(()=>{switch(s){case"start":return Yi($,l,r,a,o);case"end":return Mg($,l,r,a,o);case"center":default:return Qg($,l,r,a,o)}}),[P,v]=(0,wp.element.useState)(t.autoFocus||!1),k=(0,wp.element.useMemo)(()=>{let F={...l};return F.days?F.days--:F.days=-1,w.add(F)},[w,l]),[D,S]=(0,wp.element.useState)(f.identifier);if(f.identifier!==D){let F=Ae($,f);x(Qg(F,l,r,a,o)),C(F),S(f.identifier)}ma($,a,o)?C(Jr($,a,o)):$.compare(w)<0?x(Mg($,l,r,a,o)):$.compare(k)>0&&x(Yi($,l,r,a,o));function E(F){F=Jr(F,a,o),C(F)}u(E,"focusCell");function A(F){if(!t.isDisabled&&!t.isReadOnly){let V=F;if(V===null){m(null);return}if(V=Jr(V,a,o),V=q2(V,w,c),!V)return;V=Ae(V,p?.calendar||new it),p&&"hour"in p?m(p.set(V)):m(V)}}u(A,"setValue");let B=(0,wp.element.useMemo)(()=>g?c&&c(g)?!0:ma(g,a,o):!1,[g,c,a,o]),T=t.isInvalid||t.validationState==="invalid"||B,R=T?"invalid":null,M=(0,wp.element.useMemo)(()=>d==="visible"?l:Bg(l),[d,l]);var N,I;return{isDisabled:(N=t.isDisabled)!==null&&N!==void 0?N:!1,isReadOnly:(I=t.isReadOnly)!==null&&I!==void 0?I:!1,value:g,setValue:A,visibleRange:{start:w,end:k},minValue:a,maxValue:o,focusedDate:$,timeZone:O,validationState:R,isValueInvalid:T,setFocusedDate(F){E(F),v(!0)},focusNextDay(){E($.add({days:1}))},focusPreviousDay(){E($.subtract({days:1}))},focusNextRow(){l.days?this.focusNextPage():(l.weeks||l.months||l.years)&&E($.add({weeks:1}))},focusPreviousRow(){l.days?this.focusPreviousPage():(l.weeks||l.months||l.years)&&E($.subtract({weeks:1}))},focusNextPage(){let F=w.add(M);C(Jr($.add(M),a,o)),x(Yi(rs($,F,M,r,a,o),M,r))},focusPreviousPage(){let F=w.subtract(M);C(Jr($.subtract(M),a,o)),x(Yi(rs($,F,M,r,a,o),M,r))},focusSectionStart(){l.days?E(w):l.weeks?E(No($,r)):(l.months||l.years)&&E(Li($))},focusSectionEnd(){l.days?E(k):l.weeks?E(yM($,r)):(l.months||l.years)&&E(na($))},focusNextSection(F){if(!F&&!l.days){E($.add(Bg(l)));return}l.days?this.focusNextPage():l.weeks?E($.add({months:1})):(l.months||l.years)&&E($.add({years:1}))},focusPreviousSection(F){if(!F&&!l.days){E($.subtract(Bg(l)));return}l.days?this.focusPreviousPage():l.weeks?E($.subtract({months:1})):(l.months||l.years)&&E($.subtract({years:1}))},selectFocusedDate(){A($)},selectDate(F){A(F)},isFocused:P,setFocused:v,isInvalid(F){return ma(F,a,o)},isSelected(F){return g!=null&&Xe(F,g)&&!this.isCellDisabled(F)&&!this.isCellUnavailable(F)},isCellFocused(F){return P&&$&&Xe(F,$)},isCellDisabled(F){return t.isDisabled||F.compare(w)<0||F.compare(k)>0||this.isInvalid(F)},isCellUnavailable(F){return t.isDateUnavailable?t.isDateUnavailable(F):!1},isPreviousVisibleRangeInvalid(){let F=w.subtract({days:1});return Xe(F,w)||this.isInvalid(F)},isNextVisibleRangeInvalid(){let F=k.add({days:1});return Xe(F,k)||this.isInvalid(F)},getDatesInWeek(F,V=w){let Z=V.add({weeks:F}),_=[];Z=No(Z,r);let W=gm(Z,r);for(let re=0;re0&&(m="start")}let g=(0,wp.element.useRef)(null),[O,b]=(0,wp.element.useState)(null),y=(0,wp.element.useMemo)(()=>ym(o,O?.start),[o,O]),$=(0,wp.element.useMemo)(()=>bm(s,O?.end),[s,O]),C=U2({...c,value:d&&d.start,createCalendar:i,locale:l,visibleDuration:a,minValue:y,maxValue:$,selectionAlignment:m}),w=u(M=>{if(M&&t.isDateUnavailable&&!t.allowsNonContiguousRanges){const N=K2(M,C,-1),I=K2(M,C,1);g.current={start:N,end:I},b(g.current)}else g.current=null,b(null)},"updateAvailableRange"),[x,P]=(0,wp.element.useState)(C.visibleRange);(!mm(C.visibleRange.start,x.start)||!mm(C.visibleRange.end,x.end))&&(w(h),P(C.visibleRange));let v=u(M=>{M?(p(M),w(M)):(p(null),w(null))},"setAnchorDate"),k=h?Vg(h,C.focusedDate):d&&Vg(d.start,d.end),D=u(M=>{if(t.isReadOnly)return;const N=Jr(M,y,$),I=q2(N,C.visibleRange.start,t.isDateUnavailable);if(I)if(!h)v(I);else{let F=Vg(h,I);F&&f({start:Y2(F.start,d?.start),end:Y2(F.end,d?.end)}),v(null)}},"selectDate"),[S,E]=(0,wp.element.useState)(!1),{isDateUnavailable:A}=t,B=(0,wp.element.useMemo)(()=>!d||h?!1:A&&(A(d.start)||A(d.end))?!0:ma(d.start,o,s)||ma(d.end,o,s),[A,d,h,o,s]),T=t.isInvalid||t.validationState==="invalid"||B;return{...C,value:d,setValue:f,anchorDate:h,setAnchorDate:v,highlightedRange:k,validationState:T?"invalid":null,isValueInvalid:T,selectFocusedDate(){D(C.focusedDate)},selectDate:D,highlightDate(M){h&&C.setFocusedDate(M)},isSelected(M){return!!(k&&M.compare(k.start)>=0&&M.compare(k.end)<=0&&!C.isCellDisabled(M)&&!C.isCellUnavailable(M))},isInvalid(M){var N,I;return C.isInvalid(M)||ma(M,(N=g.current)===null||N===void 0?void 0:N.start,(I=g.current)===null||I===void 0?void 0:I.end)},isDragging:S,setDragging:E}}u(CN,"$9a36b6ba2fb1a7c5$export$9a987164d97ecc90");function Vg(t,e){return!t||!e?null:(e.compare(t)<0&&([t,e]=[e,t]),{start:pt(t),end:pt(e)})}u(Vg,"$9a36b6ba2fb1a7c5$var$makeRange");function Y2(t,e){return t=Ae(t,e?.calendar||new it),e&&"hour"in e?e.set(t):t}u(Y2,"$9a36b6ba2fb1a7c5$var$convertValue");function K2(t,e,n){let r=t.add({days:n});for(;(n<0?r.compare(e.visibleRange.start)>=0:r.compare(e.visibleRange.end)<=0)&&!e.isCellUnavailable(r);)r=r.add({days:n});if(e.isCellUnavailable(r))return r.add({days:-n})}u(K2,"$9a36b6ba2fb1a7c5$var$nextUnavailableDate");const By=class By{*[Symbol.iterator](){yield*this.iterable}get size(){return this.keyMap.size}getKeys(){return this.keyMap.keys()}getKeyBefore(e){let n=this.keyMap.get(e);var r;return n&&(r=n.prevKey)!==null&&r!==void 0?r:null}getKeyAfter(e){let n=this.keyMap.get(e);var r;return n&&(r=n.nextKey)!==null&&r!==void 0?r:null}getFirstKey(){return this.firstKey}getLastKey(){return this.lastKey}getItem(e){var n;return(n=this.keyMap.get(e))!==null&&n!==void 0?n:null}at(e){const n=[...this.getKeys()];return this.getItem(n[e])}getChildren(e){let n=this.keyMap.get(e);return n?.childNodes||[]}constructor(e){this.keyMap=new Map,this.firstKey=null,this.lastKey=null,this.iterable=e;let n=u(a=>{if(this.keyMap.set(a.key,a),a.childNodes&&a.type==="section")for(let o of a.childNodes)n(o)},"visit");for(let a of e)n(a);let r=null,i=0;for(let[a,o]of this.keyMap)r?(r.nextKey=a,o.prevKey=r.key):(this.firstKey=a,o.prevKey=void 0),o.type==="item"&&(o.index=i++),r=o,r.nextKey=void 0;var l;this.lastKey=(l=r?.key)!==null&&l!==void 0?l:null}};u(By,"$a02d57049d202695$export$d085fb9e920b5ca7");let is=By;const tp=class tp extends Set{constructor(e,n,r){super(e),e instanceof tp?(this.anchorKey=n??e.anchorKey,this.currentKey=r??e.currentKey):(this.anchorKey=n,this.currentKey=r)}};u(tp,"$e40ea825a81a3709$export$52baac22726c72bf");let vn=tp;function DN(t,e){if(t.size!==e.size)return!1;for(let n of t)if(!e.has(n))return!1;return!0}u(DN,"$7af3f5b51489e0b5$var$equalSets");function kN(t){let{selectionMode:e="none",disallowEmptySelection:n,allowDuplicateSelectionEvents:r,selectionBehavior:i="toggle",disabledBehavior:l="all"}=t,a=(0,wp.element.useRef)(!1),[,o]=(0,wp.element.useState)(!1),s=(0,wp.element.useRef)(null),c=(0,wp.element.useRef)(null),[,d]=(0,wp.element.useState)(null),f=(0,wp.element.useMemo)(()=>G2(t.selectedKeys),[t.selectedKeys]),h=(0,wp.element.useMemo)(()=>G2(t.defaultSelectedKeys,new vn),[t.defaultSelectedKeys]),[p,m]=Le(f,h,t.onSelectionChange),g=(0,wp.element.useMemo)(()=>t.disabledKeys?new Set(t.disabledKeys):new Set,[t.disabledKeys]),[O,b]=(0,wp.element.useState)(i);i==="replace"&&O==="toggle"&&typeof p=="object"&&p.size===0&&b("replace");let y=(0,wp.element.useRef)(i);return(0,wp.element.useEffect)(()=>{i!==y.current&&(b(i),y.current=i)},[i]),{selectionMode:e,disallowEmptySelection:n,selectionBehavior:O,setSelectionBehavior:b,get isFocused(){return a.current},setFocused($){a.current=$,o($)},get focusedKey(){return s.current},get childFocusStrategy(){return c.current},setFocusedKey($,C="first"){s.current=$,c.current=C,d($)},selectedKeys:p,setSelectedKeys($){(r||!DN($,p))&&m($)},disabledKeys:g,disabledBehavior:l}}u(kN,"$7af3f5b51489e0b5$export$253fe78d46329472");function G2(t,e){return t?t==="all"?"all":new vn(t):e}u(G2,"$7af3f5b51489e0b5$var$convertSelection");const Vy=class Vy{get selectionMode(){return this.state.selectionMode}get disallowEmptySelection(){return this.state.disallowEmptySelection}get selectionBehavior(){return this.state.selectionBehavior}setSelectionBehavior(e){this.state.setSelectionBehavior(e)}get isFocused(){return this.state.isFocused}setFocused(e){this.state.setFocused(e)}get focusedKey(){return this.state.focusedKey}get childFocusStrategy(){return this.state.childFocusStrategy}setFocusedKey(e,n){(e==null||this.collection.getItem(e))&&this.state.setFocusedKey(e,n)}get selectedKeys(){return this.state.selectedKeys==="all"?new Set(this.getSelectAllKeys()):this.state.selectedKeys}get rawSelection(){return this.state.selectedKeys}isSelected(e){return this.state.selectionMode==="none"?!1:(e=this.getKey(e),this.state.selectedKeys==="all"?this.canSelectItem(e):this.state.selectedKeys.has(e))}get isEmpty(){return this.state.selectedKeys!=="all"&&this.state.selectedKeys.size===0}get isSelectAll(){if(this.isEmpty)return!1;if(this.state.selectedKeys==="all")return!0;if(this._isSelectAll!=null)return this._isSelectAll;let e=this.getSelectAllKeys(),n=this.state.selectedKeys;return this._isSelectAll=e.every(r=>n.has(r)),this._isSelectAll}get firstSelectedKey(){let e=null;for(let n of this.state.selectedKeys){let r=this.collection.getItem(n);(!e||r&&Cg(this.collection,r,e)<0)&&(e=r)}return e?.key}get lastSelectedKey(){let e=null;for(let n of this.state.selectedKeys){let r=this.collection.getItem(n);(!e||r&&Cg(this.collection,r,e)>0)&&(e=r)}return e?.key}get disabledKeys(){return this.state.disabledKeys}get disabledBehavior(){return this.state.disabledBehavior}extendSelection(e){if(this.selectionMode==="none")return;if(this.selectionMode==="single"){this.replaceSelection(e);return}e=this.getKey(e);let n;if(this.state.selectedKeys==="all")n=new vn([e],e,e);else{let l=this.state.selectedKeys;var r;let a=(r=l.anchorKey)!==null&&r!==void 0?r:e;n=new vn(l,a,e);var i;for(let o of this.getKeyRange(a,(i=l.currentKey)!==null&&i!==void 0?i:e))n.delete(o);for(let o of this.getKeyRange(e,a))this.canSelectItem(o)&&n.add(o)}this.state.setSelectedKeys(n)}getKeyRange(e,n){let r=this.collection.getItem(e),i=this.collection.getItem(n);return r&&i?Cg(this.collection,r,i)<=0?this.getKeyRangeInternal(e,n):this.getKeyRangeInternal(n,e):[]}getKeyRangeInternal(e,n){var r;if(!((r=this.layoutDelegate)===null||r===void 0)&&r.getKeyRange)return this.layoutDelegate.getKeyRange(e,n);let i=[],l=e;for(;l!=null;){let a=this.collection.getItem(l);if((a&&a.type==="item"||a.type==="cell"&&this.allowsCellSelection)&&i.push(l),l===n)return i;l=this.collection.getKeyAfter(l)}return[]}getKey(e){let n=this.collection.getItem(e);if(!n||n.type==="cell"&&this.allowsCellSelection)return e;for(;n.type!=="item"&&n.parentKey!=null;)n=this.collection.getItem(n.parentKey);return!n||n.type!=="item"?null:n.key}toggleSelection(e){if(this.selectionMode==="none")return;if(this.selectionMode==="single"&&!this.isSelected(e)){this.replaceSelection(e);return}if(e=this.getKey(e),e==null)return;let n=new vn(this.state.selectedKeys==="all"?this.getSelectAllKeys():this.state.selectedKeys);n.has(e)?n.delete(e):this.canSelectItem(e)&&(n.add(e),n.anchorKey=e,n.currentKey=e),!(this.disallowEmptySelection&&n.size===0)&&this.state.setSelectedKeys(n)}replaceSelection(e){if(this.selectionMode==="none"||(e=this.getKey(e),e==null))return;let n=this.canSelectItem(e)?new vn([e],e,e):new vn;this.state.setSelectedKeys(n)}setSelectedKeys(e){if(this.selectionMode==="none")return;let n=new vn;for(let r of e)if(r=this.getKey(r),r!=null&&(n.add(r),this.selectionMode==="single"))break;this.state.setSelectedKeys(n)}getSelectAllKeys(){let e=[],n=u(r=>{for(;r!=null;){if(this.canSelectItem(r)){let i=this.collection.getItem(r);i.type==="item"&&e.push(r),i.hasChildNodes&&(this.allowsCellSelection||i.type!=="item")&&n(PV(vd(i,this.collection)).key)}r=this.collection.getKeyAfter(r)}},"addKeys");return n(this.collection.getFirstKey()),e}selectAll(){!this.isSelectAll&&this.selectionMode==="multiple"&&this.state.setSelectedKeys("all")}clearSelection(){!this.disallowEmptySelection&&(this.state.selectedKeys==="all"||this.state.selectedKeys.size>0)&&this.state.setSelectedKeys(new vn)}toggleSelectAll(){this.isSelectAll?this.clearSelection():this.selectAll()}select(e,n){this.selectionMode!=="none"&&(this.selectionMode==="single"?this.isSelected(e)&&!this.disallowEmptySelection?this.toggleSelection(e):this.replaceSelection(e):this.selectionBehavior==="toggle"||n&&(n.pointerType==="touch"||n.pointerType==="virtual")?this.toggleSelection(e):this.replaceSelection(e))}isSelectionEqual(e){if(e===this.state.selectedKeys)return!0;let n=this.selectedKeys;if(e.size!==n.size)return!1;for(let r of e)if(!n.has(r))return!1;for(let r of n)if(!e.has(r))return!1;return!0}canSelectItem(e){var n;if(this.state.selectionMode==="none"||this.state.disabledKeys.has(e))return!1;let r=this.collection.getItem(e);return!(!r||!(r==null||(n=r.props)===null||n===void 0)&&n.isDisabled||r.type==="cell"&&!this.allowsCellSelection)}isDisabled(e){var n,r;return this.state.disabledBehavior==="all"&&(this.state.disabledKeys.has(e)||!!(!((r=this.collection.getItem(e))===null||r===void 0||(n=r.props)===null||n===void 0)&&n.isDisabled))}isLink(e){var n,r;return!!(!((r=this.collection.getItem(e))===null||r===void 0||(n=r.props)===null||n===void 0)&&n.href)}getItemProps(e){var n;return(n=this.collection.getItem(e))===null||n===void 0?void 0:n.props}constructor(e,n,r){this.collection=e,this.state=n;var i;this.allowsCellSelection=(i=r?.allowsCellSelection)!==null&&i!==void 0?i:!1,this._isSelectAll=null,this.layoutDelegate=r?.layoutDelegate||null}};u(Vy,"$d496c0a20b6e58ec$export$6c8a5aaad13c9852");let Ng=Vy;function H2(t){let{filter:e,layoutDelegate:n}=t,r=kN(t),i=(0,wp.element.useMemo)(()=>t.disabledKeys?new Set(t.disabledKeys):new Set,[t.disabledKeys]),l=(0,wp.element.useCallback)(d=>e?new is(e(d)):new is(d),[e]),a=(0,wp.element.useMemo)(()=>({suppressTextValueWarning:t.suppressTextValueWarning}),[t.suppressTextValueWarning]),o=kV(t,l,a),s=(0,wp.element.useMemo)(()=>new Ng(o,r,{layoutDelegate:n}),[o,r,n]);const c=(0,wp.element.useRef)(null);return(0,wp.element.useEffect)(()=>{if(r.focusedKey!=null&&!o.getItem(r.focusedKey)&&c.current){const b=c.current.getItem(r.focusedKey),y=[...c.current.getKeys()].map(v=>{const k=c.current.getItem(v);return k?.type==="item"?k:null}).filter(v=>v!==null),$=[...o.getKeys()].map(v=>{const k=o.getItem(v);return k?.type==="item"?k:null}).filter(v=>v!==null);var d,f;const C=((d=y?.length)!==null&&d!==void 0?d:0)-((f=$?.length)!==null&&f!==void 0?f:0);var h,p,m;let w=Math.min(C>1?Math.max(((h=b?.index)!==null&&h!==void 0?h:0)-C+1,0):(p=b?.index)!==null&&p!==void 0?p:0,((m=$?.length)!==null&&m!==void 0?m:0)-1),x=null,P=!1;for(;w>=0;){if(!s.isDisabled($[w].key)){x=$[w];break}if(w<$.length-1&&!P)w++;else{P=!0;var g,O;w>((g=b?.index)!==null&&g!==void 0?g:0)&&(w=(O=b?.index)!==null&&O!==void 0?O:0),w--}}r.setFocusedKey(x?x.key:null)}c.current=o},[o,s,r,r.focusedKey]),{collection:o,disabledKeys:i,selectionManager:s}}u(H2,"$e72dd72e1c76a225$export$2f645645f7bca764");function _2(t){var e;let[n,r]=Le(t.selectedKey,(e=t.defaultSelectedKey)!==null&&e!==void 0?e:null,t.onSelectionChange),i=(0,wp.element.useMemo)(()=>n!=null?[n]:[],[n]),{collection:l,disabledKeys:a,selectionManager:o}=H2({...t,selectionMode:"single",disallowEmptySelection:!0,allowDuplicateSelectionEvents:!0,selectedKeys:i,onSelectionChange:c=>{if(c==="all")return;var d;let f=(d=c.values().next().value)!==null&&d!==void 0?d:null;f===n&&t.onSelectionChange&&t.onSelectionChange(f),r(f)}}),s=n!=null?l.getItem(n):null;return{collection:l,disabledKeys:a,selectionManager:o,selectedKey:n,setSelectedKey:r,selectedItem:s}}u(_2,"$a0d645289fe9b86b$export$e7f05e985daf4b5f");function ei(t){let[e,n]=Le(t.isOpen,t.defaultOpen||!1,t.onOpenChange);const r=(0,wp.element.useCallback)(()=>{n(!0)},[n]),i=(0,wp.element.useCallback)(()=>{n(!1)},[n]),l=(0,wp.element.useCallback)(()=>{n(!e)},[n,e]);return{isOpen:e,setOpen:n,open:r,close:i,toggle:l}}u(ei,"$fc909762b330b746$export$61c6a8c84e605fb6");function PN(t){var e;let{defaultFilter:n,menuTrigger:r="input",allowsEmptyCollection:i=!1,allowsCustomValue:l,shouldCloseOnBlur:a=!0}=t,[o,s]=(0,wp.element.useState)(!1),[c,d]=(0,wp.element.useState)(!1),[f,h]=(0,wp.element.useState)(null),p=u(K=>{t.onSelectionChange&&t.onSelectionChange(K),K===b&&(W(),V())},"onSelectionChange");var m;let{collection:g,selectionManager:O,selectedKey:b,setSelectedKey:y,selectedItem:$,disabledKeys:C}=_2({...t,onSelectionChange:p,items:(m=t.items)!==null&&m!==void 0?m:t.defaultItems}),w=t.defaultInputValue;if(w==null){var x,P;b==null?w="":w=(P=(x=g.getItem(b))===null||x===void 0?void 0:x.textValue)!==null&&P!==void 0?P:""}let[v,k]=Le(t.inputValue,w,t.onInputChange),D=g,S=(0,wp.element.useMemo)(()=>t.items!=null||!n?g:EN(g,v,n),[g,v,n,t.items]),[E,A]=(0,wp.element.useState)(S),B=(0,wp.element.useRef)("focus"),R=ei({...t,onOpenChange:u(K=>{t.onOpenChange&&t.onOpenChange(K,K?B.current:void 0),O.setFocused(K),K||O.setFocusedKey(null)},"onOpenChange"),isOpen:void 0,defaultOpen:void 0}),M=u((K=null,ue)=>{let ge=ue==="manual"||ue==="focus"&&r==="focus";(i||S.size>0||ge&&D.size>0||t.items)&&(ge&&!R.isOpen&&t.items===void 0&&s(!0),B.current=ue,h(K),R.open())},"open"),N=u((K=null,ue)=>{let ge=ue==="manual"||ue==="focus"&&r==="focus";!(i||S.size>0||ge&&D.size>0||t.items)&&!R.isOpen||(ge&&!R.isOpen&&t.items===void 0&&s(!0),R.isOpen||(B.current=ue),F(K))},"toggle"),I=(0,wp.element.useCallback)(()=>{A(o?D:S)},[o,D,S]),F=(0,wp.element.useCallback)((K=null)=>{R.isOpen&&I(),h(K),R.toggle()},[R,I]),V=(0,wp.element.useCallback)(()=>{R.isOpen&&(I(),R.close())},[R,I]),[Z,_]=(0,wp.element.useState)(v),W=u(()=>{var K,ue;let ge=b!=null&&(ue=(K=g.getItem(b))===null||K===void 0?void 0:K.textValue)!==null&&ue!==void 0?ue:"";_(ge),k(ge)},"resetInputValue");var re,fe;let L=(0,wp.element.useRef)((fe=(re=t.selectedKey)!==null&&re!==void 0?re:t.defaultSelectedKey)!==null&&fe!==void 0?fe:null);var ie;let he=(0,wp.element.useRef)(b!=null&&(ie=(e=g.getItem(b))===null||e===void 0?void 0:e.textValue)!==null&&ie!==void 0?ie:"");(0,wp.element.useEffect)(()=>{var K;c&&(S.size>0||i)&&!R.isOpen&&v!==Z&&r!=="manual"&&M(null,"input"),!o&&!i&&R.isOpen&&S.size===0&&V(),b!=null&&b!==L.current&&V(),v!==Z&&(O.setFocusedKey(null),s(!1),v===""&&(t.inputValue===void 0||t.selectedKey===void 0)&&y(null)),b!==L.current&&(t.inputValue===void 0||t.selectedKey===void 0)?W():Z!==v&&_(v);var ue;let ge=b!=null&&(ue=(K=g.getItem(b))===null||K===void 0?void 0:K.textValue)!==null&&ue!==void 0?ue:"";!c&&b!=null&&t.inputValue===void 0&&b===L.current&&he.current!==ge&&(_(ge),k(ge)),L.current=b,he.current=ge});let J=Fn({...t,value:(0,wp.element.useMemo)(()=>({inputValue:v,selectedKey:b}),[v,b])}),le=u(()=>{l&&b==null?Ve():Ue()},"revert"),Ve=u(()=>{L.current=null,y(null),V()},"commitCustomValue"),Ue=u(()=>{if(t.selectedKey!==void 0&&t.inputValue!==void 0){var K,ue;(K=t.onSelectionChange)===null||K===void 0||K.call(t,b);var ge;let Qn=b!=null&&(ge=(ue=g.getItem(b))===null||ue===void 0?void 0:ue.textValue)!==null&&ge!==void 0?ge:"";_(Qn),V()}else W(),V()},"commitSelection");const ur=u(()=>{if(l){var K,ue;const ge=b!=null&&(ue=(K=g.getItem(b))===null||K===void 0?void 0:K.textValue)!==null&&ue!==void 0?ue:"";v===ge?Ue():Ve()}else Ue()},"commitValue");let vo=u(()=>{R.isOpen&&O.focusedKey!=null?b===O.focusedKey?Ue():y(O.focusedKey):ur()},"commit"),ql=(0,wp.element.useRef)(v),$o=u(K=>{K?(ql.current=v,r==="focus"&&!t.isReadOnly&&M(null,"focus")):(a&&ur(),v!==ql.current&&J.commitValidation()),d(K)},"setFocused"),j=(0,wp.element.useMemo)(()=>R.isOpen?o?D:S:E,[R.isOpen,D,S,o,E]);return{...J,...R,focusStrategy:f,toggle:N,open:M,close:ur,selectionManager:O,selectedKey:b,setSelectedKey:y,disabledKeys:C,isFocused:c,setFocused:$o,selectedItem:$,collection:j,inputValue:v,setInputValue:k,commit:vo,revert:le}}u(PN,"$a9e7382a7d111cb5$export$b453a3bfd4a5fa9e");function EN(t,e,n){return new is(J2(t,t,e,n))}u(EN,"$a9e7382a7d111cb5$var$filterCollection");function J2(t,e,n,r){let i=[];for(let l of e)if(l.type==="section"&&l.hasChildNodes){let a=J2(t,vd(l,t),n,r);[...a].some(o=>o.type==="item")&&i.push({...l,childNodes:a})}else l.type==="item"&&r(l.textValue,n)?i.push({...l}):l.type!=="item"&&i.push({...l});return i}u(J2,"$a9e7382a7d111cb5$var$filterNodes");var ek={};ek={rangeOverflow:t=>`\u064A\u062C\u0628 \u0623\u0646 \u062A\u0643\u0648\u0646 \u0627\u0644\u0642\u064A\u0645\u0629 ${t.maxValue} \u0623\u0648 \u0642\u0628\u0644 \u0630\u0644\u0643.`,rangeReversed:"\u062A\u0627\u0631\u064A\u062E \u0627\u0644\u0628\u062F\u0621 \u064A\u062C\u0628 \u0623\u0646 \u064A\u0643\u0648\u0646 \u0642\u0628\u0644 \u062A\u0627\u0631\u064A\u062E \u0627\u0644\u0627\u0646\u062A\u0647\u0627\u0621.",rangeUnderflow:t=>`\u064A\u062C\u0628 \u0623\u0646 \u062A\u0643\u0648\u0646 \u0627\u0644\u0642\u064A\u0645\u0629 ${t.minValue} \u0623\u0648 \u0628\u0639\u062F \u0630\u0644\u0643.`,unavailableDate:"\u0627\u0644\u0628\u064A\u0627\u0646\u0627\u062A \u0627\u0644\u0645\u062D\u062F\u062F\u0629 \u063A\u064A\u0631 \u0645\u062A\u0627\u062D\u0629."};var tk={};tk={rangeOverflow:t=>`\u0421\u0442\u043E\u0439\u043D\u043E\u0441\u0442\u0442\u0430 \u0442\u0440\u044F\u0431\u0432\u0430 \u0434\u0430 \u0435 ${t.maxValue} \u0438\u043B\u0438 \u043F\u043E-\u0440\u0430\u043D\u043D\u0430.`,rangeReversed:"\u041D\u0430\u0447\u0430\u043B\u043D\u0430\u0442\u0430 \u0434\u0430\u0442\u0430 \u0442\u0440\u044F\u0431\u0432\u0430 \u0434\u0430 \u0435 \u043F\u0440\u0435\u0434\u0438 \u043A\u0440\u0430\u0439\u043D\u0430\u0442\u0430.",rangeUnderflow:t=>`\u0421\u0442\u043E\u0439\u043D\u043E\u0441\u0442\u0442\u0430 \u0442\u0440\u044F\u0431\u0432\u0430 \u0434\u0430 \u0435 ${t.minValue} \u0438\u043B\u0438 \u043F\u043E-\u043A\u044A\u0441\u043D\u043E.`,unavailableDate:"\u0418\u0437\u0431\u0440\u0430\u043D\u0430\u0442\u0430 \u0434\u0430\u0442\u0430 \u043D\u0435 \u0435 \u043D\u0430\u043B\u0438\u0447\u043D\u0430."};var nk={};nk={rangeOverflow:t=>`Hodnota mus\xED b\xFDt ${t.maxValue} nebo d\u0159\xEDv\u011Bj\u0161\xED.`,rangeReversed:"Datum zah\xE1jen\xED mus\xED p\u0159edch\xE1zet datu ukon\u010Den\xED.",rangeUnderflow:t=>`Hodnota mus\xED b\xFDt ${t.minValue} nebo pozd\u011Bj\u0161\xED.`,unavailableDate:"Vybran\xE9 datum nen\xED k dispozici."};var rk={};rk={rangeOverflow:t=>`V\xE6rdien skal v\xE6re ${t.maxValue} eller tidligere.`,rangeReversed:"Startdatoen skal v\xE6re f\xF8r slutdatoen.",rangeUnderflow:t=>`V\xE6rdien skal v\xE6re ${t.minValue} eller nyere.`,unavailableDate:"Den valgte dato er ikke tilg\xE6ngelig."};var ik={};ik={rangeOverflow:t=>`Der Wert muss ${t.maxValue} oder fr\xFCher sein.`,rangeReversed:"Das Anfangsdatum muss vor dem Enddatum liegen.",rangeUnderflow:t=>`Der Wert muss ${t.minValue} oder sp\xE4ter sein.`,unavailableDate:"Das ausgew\xE4hlte Datum ist nicht verf\xFCgbar."};var lk={};lk={rangeOverflow:t=>`\u0397 \u03C4\u03B9\u03BC\u03AE \u03C0\u03C1\u03AD\u03C0\u03B5\u03B9 \u03BD\u03B1 \u03B5\u03AF\u03BD\u03B1\u03B9 ${t.maxValue} \u03AE \u03C0\u03B1\u03BB\u03B1\u03B9\u03CC\u03C4\u03B5\u03C1\u03B7.`,rangeReversed:"\u0397 \u03B7\u03BC\u03B5\u03C1\u03BF\u03BC\u03B7\u03BD\u03AF\u03B1 \u03AD\u03BD\u03B1\u03C1\u03BE\u03B7\u03C2 \u03C0\u03C1\u03AD\u03C0\u03B5\u03B9 \u03BD\u03B1 \u03B5\u03AF\u03BD\u03B1\u03B9 \u03C0\u03C1\u03B9\u03BD \u03B1\u03C0\u03CC \u03C4\u03B7\u03BD \u03B7\u03BC\u03B5\u03C1\u03BF\u03BC\u03B7\u03BD\u03AF\u03B1 \u03BB\u03AE\u03BE\u03B7\u03C2.",rangeUnderflow:t=>`\u0397 \u03C4\u03B9\u03BC\u03AE \u03C0\u03C1\u03AD\u03C0\u03B5\u03B9 \u03BD\u03B1 \u03B5\u03AF\u03BD\u03B1\u03B9 ${t.minValue} \u03AE \u03BC\u03B5\u03C4\u03B1\u03B3\u03B5\u03BD\u03AD\u03C3\u03C4\u03B5\u03C1\u03B7.`,unavailableDate:"\u0397 \u03B5\u03C0\u03B9\u03BB\u03B5\u03B3\u03BC\u03AD\u03BD\u03B7 \u03B7\u03BC\u03B5\u03C1\u03BF\u03BC\u03B7\u03BD\u03AF\u03B1 \u03B4\u03B5\u03BD \u03B5\u03AF\u03BD\u03B1\u03B9 \u03B4\u03B9\u03B1\u03B8\u03AD\u03C3\u03B9\u03BC\u03B7."};var ak={};ak={rangeUnderflow:t=>`Value must be ${t.minValue} or later.`,rangeOverflow:t=>`Value must be ${t.maxValue} or earlier.`,rangeReversed:"Start date must be before end date.",unavailableDate:"Selected date unavailable."};var ok={};ok={rangeOverflow:t=>`El valor debe ser ${t.maxValue} o anterior.`,rangeReversed:"La fecha de inicio debe ser anterior a la fecha de finalizaci\xF3n.",rangeUnderflow:t=>`El valor debe ser ${t.minValue} o posterior.`,unavailableDate:"Fecha seleccionada no disponible."};var sk={};sk={rangeOverflow:t=>`V\xE4\xE4rtus peab olema ${t.maxValue} v\xF5i varasem.`,rangeReversed:"Alguskuup\xE4ev peab olema enne l\xF5ppkuup\xE4eva.",rangeUnderflow:t=>`V\xE4\xE4rtus peab olema ${t.minValue} v\xF5i hilisem.`,unavailableDate:"Valitud kuup\xE4ev pole saadaval."};var uk={};uk={rangeOverflow:t=>`Arvon on oltava ${t.maxValue} tai sit\xE4 aikaisempi.`,rangeReversed:"Aloitusp\xE4iv\xE4n on oltava ennen lopetusp\xE4iv\xE4\xE4.",rangeUnderflow:t=>`Arvon on oltava ${t.minValue} tai sit\xE4 my\xF6h\xE4isempi.`,unavailableDate:"Valittu p\xE4iv\xE4m\xE4\xE4r\xE4 ei ole k\xE4ytett\xE4viss\xE4."};var ck={};ck={rangeOverflow:t=>`La valeur doit \xEAtre ${t.maxValue} ou ant\xE9rieure.`,rangeReversed:"La date de d\xE9but doit \xEAtre ant\xE9rieure \xE0 la date de fin.",rangeUnderflow:t=>`La valeur doit \xEAtre ${t.minValue} ou ult\xE9rieure.`,unavailableDate:"La date s\xE9lectionn\xE9e n\u2019est pas disponible."};var dk={};dk={rangeOverflow:t=>`\u05D4\u05E2\u05E8\u05DA \u05D7\u05D9\u05D9\u05D1 \u05DC\u05D4\u05D9\u05D5\u05EA ${t.maxValue} \u05D0\u05D5 \u05DE\u05D5\u05E7\u05D3\u05DD \u05D9\u05D5\u05EA\u05E8.`,rangeReversed:"\u05EA\u05D0\u05E8\u05D9\u05DA \u05D4\u05D4\u05EA\u05D7\u05DC\u05D4 \u05D7\u05D9\u05D9\u05D1 \u05DC\u05D4\u05D9\u05D5\u05EA \u05DC\u05E4\u05E0\u05D9 \u05EA\u05D0\u05E8\u05D9\u05DA \u05D4\u05E1\u05D9\u05D5\u05DD.",rangeUnderflow:t=>`\u05D4\u05E2\u05E8\u05DA \u05D7\u05D9\u05D9\u05D1 \u05DC\u05D4\u05D9\u05D5\u05EA ${t.minValue} \u05D0\u05D5 \u05DE\u05D0\u05D5\u05D7\u05E8 \u05D9\u05D5\u05EA\u05E8.`,unavailableDate:"\u05D4\u05EA\u05D0\u05E8\u05D9\u05DA \u05D4\u05E0\u05D1\u05D7\u05E8 \u05D0\u05D9\u05E0\u05D5 \u05D6\u05DE\u05D9\u05DF."};var fk={};fk={rangeOverflow:t=>`Vrijednost mora biti ${t.maxValue} ili ranije.`,rangeReversed:"Datum po\u010Detka mora biti prije datuma zavr\u0161etka.",rangeUnderflow:t=>`Vrijednost mora biti ${t.minValue} ili kasnije.`,unavailableDate:"Odabrani datum nije dostupan."};var hk={};hk={rangeOverflow:t=>`Az \xE9rt\xE9knek ${t.maxValue} vagy kor\xE1bbinak kell lennie.`,rangeReversed:"A kezd\u0151 d\xE1tumnak a befejez\u0151 d\xE1tumn\xE1l kor\xE1bbinak kell lennie.",rangeUnderflow:t=>`Az \xE9rt\xE9knek ${t.minValue} vagy k\xE9s\u0151bbinek kell lennie.`,unavailableDate:"A kiv\xE1lasztott d\xE1tum nem \xE9rhet\u0151 el."};var pk={};pk={rangeOverflow:t=>`Il valore deve essere ${t.maxValue} o precedente.`,rangeReversed:"La data di inizio deve essere antecedente alla data di fine.",rangeUnderflow:t=>`Il valore deve essere ${t.minValue} o successivo.`,unavailableDate:"Data selezionata non disponibile."};var mk={};mk={rangeOverflow:t=>`\u5024\u306F ${t.maxValue} \u4EE5\u4E0B\u306B\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002`,rangeReversed:"\u958B\u59CB\u65E5\u306F\u7D42\u4E86\u65E5\u3088\u308A\u524D\u306B\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002",rangeUnderflow:t=>`\u5024\u306F ${t.minValue} \u4EE5\u4E0A\u306B\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002`,unavailableDate:"\u9078\u629E\u3057\u305F\u65E5\u4ED8\u306F\u4F7F\u7528\u3067\u304D\u307E\u305B\u3093\u3002"};var gk={};gk={rangeOverflow:t=>`\uAC12\uC740 ${t.maxValue} \uC774\uC804\uC774\uC5B4\uC57C \uD569\uB2C8\uB2E4.`,rangeReversed:"\uC2DC\uC791\uC77C\uC740 \uC885\uB8CC\uC77C \uC774\uC804\uC774\uC5B4\uC57C \uD569\uB2C8\uB2E4.",rangeUnderflow:t=>`\uAC12\uC740 ${t.minValue} \uC774\uC0C1\uC774\uC5B4\uC57C \uD569\uB2C8\uB2E4.`,unavailableDate:"\uC120\uD0DD\uD55C \uB0A0\uC9DC\uB97C \uC0AC\uC6A9\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4."};var Ok={};Ok={rangeOverflow:t=>`Reik\u0161m\u0117 turi b\u016Bti ${t.maxValue} arba ankstesn\u0117.`,rangeReversed:"Prad\u017Eios data turi b\u016Bti ankstesn\u0117 nei pabaigos data.",rangeUnderflow:t=>`Reik\u0161m\u0117 turi b\u016Bti ${t.minValue} arba naujesn\u0117.`,unavailableDate:"Pasirinkta data nepasiekiama."};var bk={};bk={rangeOverflow:t=>`V\u0113rt\u012Bbai ir j\u0101b\u016Bt ${t.maxValue} vai agr\u0101kai.`,rangeReversed:"S\u0101kuma datumam ir j\u0101b\u016Bt pirms beigu datuma.",rangeUnderflow:t=>`V\u0113rt\u012Bbai ir j\u0101b\u016Bt ${t.minValue} vai v\u0113l\u0101kai.`,unavailableDate:"Atlas\u012Btais datums nav pieejams."};var yk={};yk={rangeOverflow:t=>`Verdien m\xE5 v\xE6re ${t.maxValue} eller tidligere.`,rangeReversed:"Startdatoen m\xE5 v\xE6re f\xF8r sluttdatoen.",rangeUnderflow:t=>`Verdien m\xE5 v\xE6re ${t.minValue} eller senere.`,unavailableDate:"Valgt dato utilgjengelig."};var vk={};vk={rangeOverflow:t=>`Waarde moet ${t.maxValue} of eerder zijn.`,rangeReversed:"De startdatum moet voor de einddatum liggen.",rangeUnderflow:t=>`Waarde moet ${t.minValue} of later zijn.`,unavailableDate:"Geselecteerde datum niet beschikbaar."};var $k={};$k={rangeOverflow:t=>`Warto\u015B\u0107 musi mie\u0107 warto\u015B\u0107 ${t.maxValue} lub wcze\u015Bniejsz\u0105.`,rangeReversed:"Data rozpocz\u0119cia musi by\u0107 wcze\u015Bniejsza ni\u017C data zako\u0144czenia.",rangeUnderflow:t=>`Warto\u015B\u0107 musi mie\u0107 warto\u015B\u0107 ${t.minValue} lub p\xF3\u017Aniejsz\u0105.`,unavailableDate:"Wybrana data jest niedost\u0119pna."};var wk={};wk={rangeOverflow:t=>`O valor deve ser ${t.maxValue} ou anterior.`,rangeReversed:"A data inicial deve ser anterior \xE0 data final.",rangeUnderflow:t=>`O valor deve ser ${t.minValue} ou posterior.`,unavailableDate:"Data selecionada indispon\xEDvel."};var xk={};xk={rangeOverflow:t=>`O valor tem de ser ${t.maxValue} ou anterior.`,rangeReversed:"A data de in\xEDcio deve ser anterior \xE0 data de fim.",rangeUnderflow:t=>`O valor tem de ser ${t.minValue} ou posterior.`,unavailableDate:"Data selecionada indispon\xEDvel."};var Sk={};Sk={rangeOverflow:t=>`Valoarea trebuie s\u0103 fie ${t.maxValue} sau anterioar\u0103.`,rangeReversed:"Data de \xEEnceput trebuie s\u0103 fie anterioar\u0103 datei de sf\xE2r\u0219it.",rangeUnderflow:t=>`Valoarea trebuie s\u0103 fie ${t.minValue} sau ulterioar\u0103.`,unavailableDate:"Data selectat\u0103 nu este disponibil\u0103."};var Ck={};Ck={rangeOverflow:t=>`\u0417\u043D\u0430\u0447\u0435\u043D\u0438\u0435 \u0434\u043E\u043B\u0436\u043D\u043E \u0431\u044B\u0442\u044C \u043D\u0435 \u043F\u043E\u0437\u0436\u0435 ${t.maxValue}.`,rangeReversed:"\u0414\u0430\u0442\u0430 \u043D\u0430\u0447\u0430\u043B\u0430 \u0434\u043E\u043B\u0436\u043D\u0430 \u043F\u0440\u0435\u0434\u0448\u0435\u0441\u0442\u0432\u043E\u0432\u0430\u0442\u044C \u0434\u0430\u0442\u0435 \u043E\u043A\u043E\u043D\u0447\u0430\u043D\u0438\u044F.",rangeUnderflow:t=>`\u0417\u043D\u0430\u0447\u0435\u043D\u0438\u0435 \u0434\u043E\u043B\u0436\u043D\u043E \u0431\u044B\u0442\u044C \u043D\u0435 \u0440\u0430\u043D\u044C\u0448\u0435 ${t.minValue}.`,unavailableDate:"\u0412\u044B\u0431\u0440\u0430\u043D\u043D\u0430\u044F \u0434\u0430\u0442\u0430 \u043D\u0435\u0434\u043E\u0441\u0442\u0443\u043F\u043D\u0430."};var Dk={};Dk={rangeOverflow:t=>`Hodnota mus\xED by\u0165 ${t.maxValue} alebo skor\u0161ia.`,rangeReversed:"D\xE1tum za\u010Diatku mus\xED by\u0165 skor\u0161\xED ako d\xE1tum konca.",rangeUnderflow:t=>`Hodnota mus\xED by\u0165 ${t.minValue} alebo neskor\u0161ia.`,unavailableDate:"Vybrat\xFD d\xE1tum je nedostupn\xFD."};var kk={};kk={rangeOverflow:t=>`Vrednost mora biti ${t.maxValue} ali starej\u0161a.`,rangeReversed:"Za\u010Detni datum mora biti pred kon\u010Dnim datumom.",rangeUnderflow:t=>`Vrednost mora biti ${t.minValue} ali novej\u0161a.`,unavailableDate:"Izbrani datum ni na voljo."};var Pk={};Pk={rangeOverflow:t=>`Vrednost mora da bude ${t.maxValue} ili starija.`,rangeReversed:"Datum po\u010Detka mora biti pre datuma zavr\u0161etka.",rangeUnderflow:t=>`Vrednost mora da bude ${t.minValue} ili novija.`,unavailableDate:"Izabrani datum nije dostupan."};var Ek={};Ek={rangeOverflow:t=>`V\xE4rdet m\xE5ste vara ${t.maxValue} eller tidigare.`,rangeReversed:"Startdatumet m\xE5ste vara f\xF6re slutdatumet.",rangeUnderflow:t=>`V\xE4rdet m\xE5ste vara ${t.minValue} eller senare.`,unavailableDate:"Det valda datumet \xE4r inte tillg\xE4ngligt."};var Ak={};Ak={rangeOverflow:t=>`De\u011Fer, ${t.maxValue} veya \xF6ncesi olmal\u0131d\u0131r.`,rangeReversed:"Ba\u015Flang\u0131\xE7 tarihi biti\u015F tarihinden \xF6nce olmal\u0131d\u0131r.",rangeUnderflow:t=>`De\u011Fer, ${t.minValue} veya sonras\u0131 olmal\u0131d\u0131r.`,unavailableDate:"Se\xE7ilen tarih kullan\u0131lam\u0131yor."};var Tk={};Tk={rangeOverflow:t=>`\u0417\u043D\u0430\u0447\u0435\u043D\u043D\u044F \u043C\u0430\u0454 \u0431\u0443\u0442\u0438 \u043D\u0435 \u043F\u0456\u0437\u043D\u0456\u0448\u0435 ${t.maxValue}.`,rangeReversed:"\u0414\u0430\u0442\u0430 \u043F\u043E\u0447\u0430\u0442\u043A\u0443 \u043C\u0430\u0454 \u043F\u0435\u0440\u0435\u0434\u0443\u0432\u0430\u0442\u0438 \u0434\u0430\u0442\u0456 \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043D\u043D\u044F.",rangeUnderflow:t=>`\u0417\u043D\u0430\u0447\u0435\u043D\u043D\u044F \u043C\u0430\u0454 \u0431\u0443\u0442\u0438 \u043D\u0435 \u0440\u0430\u043D\u0456\u0448\u0435 ${t.minValue}.`,unavailableDate:"\u0412\u0438\u0431\u0440\u0430\u043D\u0430 \u0434\u0430\u0442\u0430 \u043D\u0435\u0434\u043E\u0441\u0442\u0443\u043F\u043D\u0430."};var Rk={};Rk={rangeOverflow:t=>`\u503C\u5FC5\u987B\u662F ${t.maxValue} \u6216\u66F4\u65E9\u65E5\u671F\u3002`,rangeReversed:"\u5F00\u59CB\u65E5\u671F\u5FC5\u987B\u65E9\u4E8E\u7ED3\u675F\u65E5\u671F\u3002",rangeUnderflow:t=>`\u503C\u5FC5\u987B\u662F ${t.minValue} \u6216\u66F4\u665A\u65E5\u671F\u3002`,unavailableDate:"\u6240\u9009\u65E5\u671F\u4E0D\u53EF\u7528\u3002"};var Qk={};Qk={rangeOverflow:t=>`\u503C\u5FC5\u9808\u662F ${t.maxValue} \u6216\u66F4\u65E9\u3002`,rangeReversed:"\u958B\u59CB\u65E5\u671F\u5FC5\u9808\u5728\u7D50\u675F\u65E5\u671F\u4E4B\u524D\u3002",rangeUnderflow:t=>`\u503C\u5FC5\u9808\u662F ${t.minValue} \u6216\u66F4\u665A\u3002`,unavailableDate:"\u6240\u9078\u65E5\u671F\u7121\u6CD5\u4F7F\u7528\u3002"};var Mk={};Mk={"ar-AE":ek,"bg-BG":tk,"cs-CZ":nk,"da-DK":rk,"de-DE":ik,"el-GR":lk,"en-US":ak,"es-ES":ok,"et-EE":sk,"fi-FI":uk,"fr-FR":ck,"he-IL":dk,"hr-HR":fk,"hu-HU":hk,"it-IT":pk,"ja-JP":mk,"ko-KR":gk,"lt-LT":Ok,"lv-LV":bk,"nb-NO":yk,"nl-NL":vk,"pl-PL":$k,"pt-BR":wk,"pt-PT":xk,"ro-RO":Sk,"ru-RU":Ck,"sk-SK":Dk,"sl-SI":kk,"sr-SP":Pk,"sv-SE":Ek,"tr-TR":Ak,"uk-UA":Tk,"zh-CN":Rk,"zh-TW":Qk};function AN(t){return t&&t.__esModule?t.default:t}u(AN,"$parcel$interopDefault");const Bk=new nn(AN(Mk));function Vk(){return typeof navigator<"u"&&(navigator.language||navigator.userLanguage)||"en-US"}u(Vk,"$35a22f14a1f04b11$var$getLocale");function wd(t,e,n,r,i){let l=t!=null&&n!=null&&t.compare(n)>0,a=t!=null&&e!=null&&t.compare(e)<0,o=t!=null&&r?.(t)||!1,s=l||a||o,c=[];if(s){let d=Vk(),f=nn.getGlobalDictionaryForPackage("@react-stately/datepicker")||Bk,h=new Bo(d,f),p=new Pt(d,Cr({},i)),m=p.resolvedOptions().timeZone;a&&c.push(h.format("rangeUnderflow",{minValue:p.format(e.toDate(m))})),l&&c.push(h.format("rangeOverflow",{maxValue:p.format(n.toDate(m))})),o&&c.push(h.format("unavailableDate"))}return{isInvalid:s,validationErrors:c,validationDetails:{badInput:o,customError:!1,patternMismatch:!1,rangeOverflow:l,rangeUnderflow:a,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valueMissing:!1,valid:!s}}}u(wd,"$35a22f14a1f04b11$export$f18627323ab57ac0");function TN(t,e,n,r,i){let l=wd(t?.start,e,n,r,i),a=wd(t?.end,e,n,r,i),o=dd(l,a);if(t.end!=null&&t.start!=null&&t.end.compare(t.start)<0){let s=nn.getGlobalDictionaryForPackage("@react-stately/datepicker")||Bk;o=dd(o,{isInvalid:!0,validationErrors:[s.getStringForLocale("rangeReversed",Vk())],validationDetails:{...cd,rangeUnderflow:!0,rangeOverflow:!0,valid:!1}})}return o}u(TN,"$35a22f14a1f04b11$export$80ff8fc0ae339c13");const RN={year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"2-digit",second:"2-digit"},QN={year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"};function Cr(t,e){t={...e.shouldForceLeadingZeros?QN:RN,...t};let r=e.granularity||"minute",i=Object.keys(t);var l;let a=i.indexOf((l=e.maxGranularity)!==null&&l!==void 0?l:"year");a<0&&(a=0);let o=i.indexOf(r);if(o<0&&(o=2),a>o)throw new Error("maxGranularity must be greater than granularity");let s=i.slice(a,o+1).reduce((d,f)=>(d[f]=t[f],d),{});return e.hourCycle!=null&&(s.hour12=e.hourCycle===12),s.timeZone=e.timeZone||"UTC",(r==="hour"||r==="minute"||r==="second")&&e.timeZone&&!e.hideTimeZone&&(s.timeZoneName="short"),e.showEra&&a===0&&(s.era="short"),s}u(Cr,"$35a22f14a1f04b11$export$7e319ea407e63bc0");function ga(t){return t&&"hour"in t?t:new Pm}u(ga,"$35a22f14a1f04b11$export$c5221a78ef73c5e9");function Nk(t,e){if(t===null)return null;if(t)return Ae(t,e)}u(Nk,"$35a22f14a1f04b11$export$61a490a80c552550");function ls(t,e,n,r){if(t)return Nk(t,n);let i=Ae(U3(r).set({hour:0,minute:0,second:0,millisecond:0}),n);return e==="year"||e==="month"||e==="day"?pt(i):r?i:Bn(i)}u(ls,"$35a22f14a1f04b11$export$66aa2b09de4b1ea5");function Fg(t,e){let n=t&&"timeZone"in t?t.timeZone:void 0,r=t&&"minute"in t?"minute":"day";if(t&&e&&!(e in t))throw new Error("Invalid granularity "+e+" for value "+t.toString());let[i,l]=(0,wp.element.useState)([r,n]);t&&(i[0]!==r||i[1]!==n)&&l([r,n]),e||(e=t?r:i[0]);let a=t?n:i[1];return[e,a]}u(Fg,"$35a22f14a1f04b11$export$2440da353cedad43");function MN(t){let e=ei(t),[n,r]=Le(t.value,t.defaultValue||null,t.onChange),i=n||t.placeholderValue,[l,a]=Fg(i,t.granularity),o=n!=null?n.toDate(a??"UTC"):null,s=l==="hour"||l==="minute"||l==="second";var c;let d=(c=t.shouldCloseOnSelect)!==null&&c!==void 0?c:!0,[f,h]=(0,wp.element.useState)(null),[p,m]=(0,wp.element.useState)(null);if(n&&(f=n,"hour"in n&&(p=n)),i&&!(l in i))throw new Error("Invalid granularity "+l+" for value "+i.toString());let g=n?.calendar.identifier==="gregory"&&n.era==="BC",O=(0,wp.element.useMemo)(()=>({granularity:l,timeZone:a,hideTimeZone:t.hideTimeZone,hourCycle:t.hourCycle,shouldForceLeadingZeros:t.shouldForceLeadingZeros,showEra:g}),[l,t.hourCycle,t.shouldForceLeadingZeros,a,t.hideTimeZone,g]),{minValue:b,maxValue:y,isDateUnavailable:$}=t,C=(0,wp.element.useMemo)(()=>wd(n,b,y,$,O),[n,b,y,$,O]),w=Fn({...t,value:n,builtinValidation:C}),x=w.displayValidation.isInvalid,P=t.validationState||(x?"invalid":null),v=u((S,E)=>{r("timeZone"in E?E.set(pt(S)):Bn(S,E)),h(null),m(null),w.commitValidation()},"commitValue");return{...w,value:n,setValue:r,dateValue:f,timeValue:p,setDateValue:u(S=>{let E=typeof d=="function"?d():d;s?p||E?v(S,p||ga(t.placeholderValue)):h(S):(r(S),w.commitValidation()),E&&e.setOpen(!1)},"selectDate"),setTimeValue:u(S=>{f&&S?v(f,S):m(S)},"selectTime"),granularity:l,hasTime:s,...e,setOpen(S){!S&&!n&&f&&s&&v(f,p||ga(t.placeholderValue)),e.setOpen(S)},validationState:P,isInvalid:x,formatValue(S,E){if(!o)return"";let A=Cr(E,O);return new Pt(S,A).format(o)},getDateFormatter(S,E){let A={...O,...E},B=Cr({},A);return new Pt(S,B)}}}u(MN,"$ab5bf3f618090389$export$87194bb378cc3ac2");const BN=new nn({ach:{year:"mwaka",month:"dwe",day:"nino"},af:{year:"jjjj",month:"mm",day:"dd"},am:{year:"\u12D3\u12D3\u12D3\u12D3",month:"\u121A\u121C",day:"\u1240\u1240"},an:{year:"aaaa",month:"mm",day:"dd"},ar:{year:"\u0633\u0646\u0629",month:"\u0634\u0647\u0631",day:"\u064A\u0648\u0645"},ast:{year:"aaaa",month:"mm",day:"dd"},az:{year:"iiii",month:"aa",day:"gg"},be:{year:"\u0433\u0433\u0433\u0433",month:"\u043C\u043C",day:"\u0434\u0434"},bg:{year:"\u0433\u0433\u0433\u0433",month:"\u043C\u043C",day:"\u0434\u0434"},bn:{year:"yyyy",month:"\u09AE\u09BF\u09AE\u09BF",day:"dd"},br:{year:"bbbb",month:"mm",day:"dd"},bs:{year:"gggg",month:"mm",day:"dd"},ca:{year:"aaaa",month:"mm",day:"dd"},cak:{year:"jjjj",month:"ii",day:"q'q'"},ckb:{year:"\u0633\u0627\u06B5",month:"\u0645\u0627\u0646\u06AF",day:"\u0695\u06C6\u0698"},cs:{year:"rrrr",month:"mm",day:"dd"},cy:{year:"bbbb",month:"mm",day:"dd"},da:{year:"\xE5\xE5\xE5\xE5",month:"mm",day:"dd"},de:{year:"jjjj",month:"mm",day:"tt"},dsb:{year:"llll",month:"mm",day:"\u017A\u017A"},el:{year:"\u03B5\u03B5\u03B5\u03B5",month:"\u03BC\u03BC",day:"\u03B7\u03B7"},en:{year:"yyyy",month:"mm",day:"dd"},eo:{year:"jjjj",month:"mm",day:"tt"},es:{year:"aaaa",month:"mm",day:"dd"},et:{year:"aaaa",month:"kk",day:"pp"},eu:{year:"uuuu",month:"hh",day:"ee"},fa:{year:"\u0633\u0627\u0644",month:"\u0645\u0627\u0647",day:"\u0631\u0648\u0632"},ff:{year:"hhhh",month:"ll",day:"\xF1\xF1"},fi:{year:"vvvv",month:"kk",day:"pp"},fr:{year:"aaaa",month:"mm",day:"jj"},fy:{year:"jjjj",month:"mm",day:"dd"},ga:{year:"bbbb",month:"mm",day:"ll"},gd:{year:"bbbb",month:"mm",day:"ll"},gl:{year:"aaaa",month:"mm",day:"dd"},he:{year:"\u05E9\u05E0\u05D4",month:"\u05D7\u05D5\u05D3\u05E9",day:"\u05D9\u05D5\u05DD"},hr:{year:"gggg",month:"mm",day:"dd"},hsb:{year:"llll",month:"mm",day:"dd"},hu:{year:"\xE9\xE9\xE9\xE9",month:"hh",day:"nn"},ia:{year:"aaaa",month:"mm",day:"dd"},id:{year:"tttt",month:"bb",day:"hh"},it:{year:"aaaa",month:"mm",day:"gg"},ja:{year:" \u5E74 ",month:"\u6708",day:"\u65E5"},ka:{year:"\u10EC\u10EC\u10EC\u10EC",month:"\u10D7\u10D7",day:"\u10E0\u10E0"},kk:{year:"\u0436\u0436\u0436\u0436",month:"\u0430\u0430",day:"\u043A\u043A"},kn:{year:"\u0CB5\u0CB5\u0CB5\u0CB5",month:"\u0CAE\u0CBF\u0CAE\u0CC0",day:"\u0CA6\u0CBF\u0CA6\u0CBF"},ko:{year:"\uC5F0\uB3C4",month:"\uC6D4",day:"\uC77C"},lb:{year:"jjjj",month:"mm",day:"dd"},lo:{year:"\u0E9B\u0E9B\u0E9B\u0E9B",month:"\u0E94\u0E94",day:"\u0EA7\u0EA7"},lt:{year:"mmmm",month:"mm",day:"dd"},lv:{year:"gggg",month:"mm",day:"dd"},meh:{year:"aaaa",month:"mm",day:"dd"},ml:{year:"\u0D35\u0D7C\u0D37\u0D02",month:"\u0D2E\u0D3E\u0D38\u0D02",day:"\u0D24\u0D40\u0D2F\u0D24\u0D3F"},ms:{year:"tttt",month:"mm",day:"hh"},nl:{year:"jjjj",month:"mm",day:"dd"},nn:{year:"\xE5\xE5\xE5\xE5",month:"mm",day:"dd"},no:{year:"\xE5\xE5\xE5\xE5",month:"mm",day:"dd"},oc:{year:"aaaa",month:"mm",day:"jj"},pl:{year:"rrrr",month:"mm",day:"dd"},pt:{year:"aaaa",month:"mm",day:"dd"},rm:{year:"oooo",month:"mm",day:"dd"},ro:{year:"aaaa",month:"ll",day:"zz"},ru:{year:"\u0433\u0433\u0433\u0433",month:"\u043C\u043C",day:"\u0434\u0434"},sc:{year:"aaaa",month:"mm",day:"dd"},scn:{year:"aaaa",month:"mm",day:"jj"},sk:{year:"rrrr",month:"mm",day:"dd"},sl:{year:"llll",month:"mm",day:"dd"},sr:{year:"\u0433\u0433\u0433\u0433",month:"\u043C\u043C",day:"\u0434\u0434"},sv:{year:"\xE5\xE5\xE5\xE5",month:"mm",day:"dd"},szl:{year:"rrrr",month:"mm",day:"dd"},tg:{year:"\u0441\u0441\u0441\u0441",month:"\u043C\u043C",day:"\u0440\u0440"},th:{year:"\u0E1B\u0E1B\u0E1B\u0E1B",month:"\u0E14\u0E14",day:"\u0E27\u0E27"},tr:{year:"yyyy",month:"aa",day:"gg"},uk:{year:"\u0440\u0440\u0440\u0440",month:"\u043C\u043C",day:"\u0434\u0434"},"zh-CN":{year:"\u5E74",month:"\u6708",day:"\u65E5"},"zh-TW":{year:"\u5E74",month:"\u6708",day:"\u65E5"}},"en");function VN(t,e,n){return t==="era"||t==="dayPeriod"?e:t==="year"||t==="month"||t==="day"?BN.getStringForLocale(t,n):"\u2013\u2013"}u(VN,"$3e3ed55ab2966714$export$d3f5c5e0a5023fa0");const xd={year:!0,month:!0,day:!0,hour:!0,minute:!0,second:!0,dayPeriod:!0,era:!0},Fk={year:5,month:2,day:7,hour:2,minute:15,second:15},NN={dayperiod:"dayPeriod"};function FN(t){let{locale:e,createCalendar:n,hideTimeZone:r,isDisabled:i,isReadOnly:l,isRequired:a,minValue:o,maxValue:s,isDateUnavailable:c}=t,d=t.value||t.defaultValue||t.placeholderValue,[f,h]=Fg(d,t.granularity),p=h||"UTC";if(d&&!(f in d))throw new Error("Invalid granularity "+f+" for value "+d.toString());let m=(0,wp.element.useMemo)(()=>new Pt(e),[e]),g=(0,wp.element.useMemo)(()=>n(m.resolvedOptions().calendar),[n,m]),[O,b]=Le(t.value,t.defaultValue,t.onChange),y=(0,wp.element.useMemo)(()=>Nk(O,g),[O,g]),[$,C]=(0,wp.element.useState)(()=>ls(t.placeholderValue,f,g,h)),w=y||$,x=g.identifier==="gregory"&&w.era==="BC",P=(0,wp.element.useMemo)(()=>{var L;return{granularity:f,maxGranularity:(L=t.maxGranularity)!==null&&L!==void 0?L:"year",timeZone:h,hideTimeZone:r,hourCycle:t.hourCycle,showEra:x,shouldForceLeadingZeros:t.shouldForceLeadingZeros}},[t.maxGranularity,f,t.hourCycle,t.shouldForceLeadingZeros,h,r,x]),v=(0,wp.element.useMemo)(()=>Cr({},P),[P]),k=(0,wp.element.useMemo)(()=>new Pt(e,v),[e,v]),D=(0,wp.element.useMemo)(()=>k.resolvedOptions(),[k]),S=(0,wp.element.useMemo)(()=>k.formatToParts(new Date).filter(L=>xd[L.type]).reduce((L,ie)=>(L[ie.type]=!0,L),{}),[k]),[E,A]=(0,wp.element.useState)(()=>t.value||t.defaultValue?{...S}:{}),B=(0,wp.element.useRef)(void 0),T=(0,wp.element.useRef)(g.identifier);(0,wp.element.useEffect)(()=>{g.identifier!==T.current&&(T.current=g.identifier,C(L=>Object.keys(E).length>0?Ae(L,g):ls(t.placeholderValue,f,g,h)))},[g,f,E,h,t.placeholderValue]),O&&Object.keys(E).length=Object.keys(S).length?y:$,M=u(L=>{if(t.isDisabled||t.isReadOnly)return;let ie=Object.keys(E),he=Object.keys(S);L==null?(b(null),C(ls(t.placeholderValue,f,g,h)),A({})):ie.length>=he.length||ie.length===he.length-1&&S.dayPeriod&&!E.dayPeriod&&B.current!=="dayPeriod"?(L=Ae(L,d?.calendar||new it),b(L)):C(L),B.current=null},"setValue"),N=(0,wp.element.useMemo)(()=>R.toDate(p),[R,p]),I=(0,wp.element.useMemo)(()=>k.formatToParts(N).map(L=>{let ie=xd[L.type];L.type==="era"&&g.getEras().length===1&&(ie=!1);let he=xd[L.type]&&!E[L.type],J=xd[L.type]?VN(L.type,L.value,e):null;return{type:NN[L.type]||L.type,text:he?J:L.value,...IN(R,L.type,D),isPlaceholder:he,placeholder:J,isEditable:ie}}),[N,E,k,D,R,g,e]);S.era&&E.year&&!E.era?(E.era=!0,A({...E})):!S.era&&E.era&&(delete E.era,A({...E}));let F=u(L=>{E[L]=!0,L==="year"&&S.era&&(E.era=!0),A({...E})},"markValid"),V=u((L,ie)=>{if(E[L])M(ZN(R,L,ie,D));else{F(L);let he=Object.keys(E),J=Object.keys(S);(he.length>=J.length||he.length===J.length-1&&S.dayPeriod&&!E.dayPeriod)&&M(R)}},"adjustSegment"),Z=(0,wp.element.useMemo)(()=>wd(O,o,s,c,P),[O,o,s,c,P]),_=Fn({...t,value:O,builtinValidation:Z}),W=_.displayValidation.isInvalid,re=t.validationState||(W?"invalid":null);var fe;return{..._,value:y,dateValue:N,calendar:g,setValue:M,segments:I,dateFormatter:k,validationState:re,isInvalid:W,granularity:f,maxGranularity:(fe=t.maxGranularity)!==null&&fe!==void 0?fe:"year",isDisabled:i,isReadOnly:l,isRequired:a,increment(L){V(L,1)},decrement(L){V(L,-1)},incrementPage(L){V(L,Fk[L]||1)},decrementPage(L){V(L,-(Fk[L]||1))},setSegment(L,ie){F(L),M(zN(R,L,ie,D))},confirmPlaceholder(){if(t.isDisabled||t.isReadOnly)return;let L=Object.keys(E),ie=Object.keys(S);L.length===ie.length-1&&S.dayPeriod&&!E.dayPeriod&&(E={...S},A(E),M(R.copy()))},clearSegment(L){delete E[L],B.current=L,A({...E});let ie=ls(t.placeholderValue,f,g,h),he=R;if(L==="dayPeriod"&&"hour"in R&&"hour"in ie){let J=R.hour>=12,le=ie.hour>=12;J&&!le?he=R.set({hour:R.hour-12}):!J&&le&&(he=R.set({hour:R.hour+12}))}else L in R&&(he=R.set({[L]:ie[L]}));b(null),M(he)},formatValue(L){if(!y)return"";let ie=Cr(L,P);return new Pt(e,ie).format(N)},getDateFormatter(L,ie){let he={...P,...ie},J=Cr({},he);return new Pt(L,J)}}}u(FN,"$3c0fc76039f1c516$export$60e84778edff6d26");function IN(t,e,n){switch(e){case"era":{let r=t.calendar.getEras();return{value:r.indexOf(t.era),minValue:0,maxValue:r.length-1}}case"year":return{value:t.year,minValue:1,maxValue:t.calendar.getYearsInEra(t)};case"month":return{value:t.month,minValue:OM(t),maxValue:t.calendar.getMonthsInYear(t)};case"day":return{value:t.day,minValue:bM(t),maxValue:t.calendar.getDaysInMonth(t)}}if("hour"in t)switch(e){case"dayPeriod":return{value:t.hour>=12?12:0,minValue:0,maxValue:12};case"hour":if(n.hour12){let r=t.hour>=12;return{value:t.hour,minValue:r?12:0,maxValue:r?23:11}}return{value:t.hour,minValue:0,maxValue:23};case"minute":return{value:t.minute,minValue:0,maxValue:59};case"second":return{value:t.second,minValue:0,maxValue:59}}return{}}u(IN,"$3c0fc76039f1c516$var$getSegmentLimits");function ZN(t,e,n,r){switch(e){case"era":case"year":case"month":case"day":return t.cycle(e,n,{round:e==="year"})}if("hour"in t)switch(e){case"dayPeriod":{let i=t.hour,l=i>=12;return t.set({hour:l?i-12:i+12})}case"hour":case"minute":case"second":return t.cycle(e,n,{round:e!=="hour",hourCycle:r.hour12?12:24})}}u(ZN,"$3c0fc76039f1c516$var$addSegment");function zN(t,e,n,r){switch(e){case"day":case"month":case"year":case"era":return t.set({[e]:n})}if("hour"in t)switch(e){case"dayPeriod":{let i=t.hour,l=i>=12;return n>=12===l?t:t.set({hour:l?i-12:i+12})}case"hour":if(r.hour12){let l=t.hour>=12;!l&&n===12&&(n=0),l&&n<12&&(n+=12)}case"minute":case"second":return t.set({[e]:n})}}u(zN,"$3c0fc76039f1c516$var$setSegment");function LN(t){var e,n;let r=ei(t),[i,l]=Le(t.value,t.defaultValue||null,t.onChange),[a,o]=(0,wp.element.useState)(()=>i||{start:null,end:null});i==null&&a.start&&a.end&&(a={start:null,end:null},o(a));let s=i||a,c=u(R=>{o(R||{start:null,end:null}),R?.start&&R.end?l(R):l(null)},"setValue"),d=s?.start||s?.end||t.placeholderValue,[f,h]=Fg(d,t.granularity),p=f==="hour"||f==="minute"||f==="second";var m;let g=(m=t.shouldCloseOnSelect)!==null&&m!==void 0?m:!0,[O,b]=(0,wp.element.useState)(null),[y,$]=(0,wp.element.useState)(null);s&&s.start&&s.end&&(O=s,"hour"in s.start&&(y=s));let C=u((R,M)=>{c({start:"timeZone"in M.start?M.start.set(pt(R.start)):Bn(R.start,M.start),end:"timeZone"in M.end?M.end.set(pt(R.end)):Bn(R.end,M.end)}),b(null),$(null),A.commitValidation()},"commitValue"),w=u(R=>{let M=typeof g=="function"?g():g;p?M||R.start&&R.end&&y?.start&&y?.end?C(R,{start:y?.start||ga(t.placeholderValue),end:y?.end||ga(t.placeholderValue)}):b(R):R.start&&R.end?(c(R),A.commitValidation()):b(R),M&&r.setOpen(!1)},"setDateRange"),x=u(R=>{O?.start&&O?.end&&R.start&&R.end?C(O,R):$(R)},"setTimeRange"),P=(s==null||(e=s.start)===null||e===void 0?void 0:e.calendar.identifier)==="gregory"&&s.start.era==="BC"||(s==null||(n=s.end)===null||n===void 0?void 0:n.calendar.identifier)==="gregory"&&s.end.era==="BC",v=(0,wp.element.useMemo)(()=>({granularity:f,timeZone:h,hideTimeZone:t.hideTimeZone,hourCycle:t.hourCycle,shouldForceLeadingZeros:t.shouldForceLeadingZeros,showEra:P}),[f,t.hourCycle,t.shouldForceLeadingZeros,h,t.hideTimeZone,P]),{minValue:k,maxValue:D,isDateUnavailable:S}=t,E=(0,wp.element.useMemo)(()=>TN(s,k,D,S,v),[s,k,D,S,v]),A=Fn({...t,value:i,name:(0,wp.element.useMemo)(()=>[t.startName,t.endName],[t.startName,t.endName]),builtinValidation:E}),B=A.displayValidation.isInvalid,T=t.validationState||(B?"invalid":null);return{...A,value:s,setValue:c,dateRange:O,timeRange:y,granularity:f,hasTime:p,setDate(R,M){w({...O,[R]:M})},setTime(R,M){x({...y,[R]:M})},setDateTime(R,M){c({...s,[R]:M})},setDateRange:w,setTimeRange:x,...r,setOpen(R){!R&&!(s?.start&&s?.end)&&O?.start&&O?.end&&p&&C(O,{start:y?.start||ga(t.placeholderValue),end:y?.end||ga(t.placeholderValue)}),r.setOpen(R)},validationState:T,isInvalid:B,formatValue(R,M){if(!s||!s.start||!s.end)return null;let N="timeZone"in s.start?s.start.timeZone:void 0,I=t.granularity||(s.start&&"minute"in s.start?"minute":"day"),F="timeZone"in s.end?s.end.timeZone:void 0,V=t.granularity||(s.end&&"minute"in s.end?"minute":"day"),Z=Cr(M,{granularity:I,timeZone:N,hideTimeZone:t.hideTimeZone,hourCycle:t.hourCycle,showEra:s.start.calendar.identifier==="gregory"&&s.start.era==="BC"||s.end.calendar.identifier==="gregory"&&s.end.era==="BC"}),_=s.start.toDate(N||"UTC"),W=s.end.toDate(F||"UTC"),re=new Pt(R,Z),fe;if(N===F&&I===V&&s.start.compare(s.end)!==0){try{let L=re.formatRangeToParts(_,W),ie=-1;for(let le=0;leie&&(J+=L[le].value);return{start:he,end:J}}catch{}fe=re}else{let L=Cr(M,{granularity:V,timeZone:F,hideTimeZone:t.hideTimeZone,hourCycle:t.hourCycle});fe=new Pt(R,L)}return{start:re.format(_),end:fe.format(W)}},getDateFormatter(R,M){let N={...v,...M},I=Cr({},N);return new Pt(R,I)}}}u(LN,"$93c38a5e28be6249$export$e50a61c1de9f574");function WN(t,e){let{cursor:n,getKey:r}=t;return{setSelectedKeys(i){e(l=>({...l,selectedKeys:i}))},setFilterText(i){e(l=>({...l,filterText:i}))},insert(i,...l){e(a=>as(a,i,...l))},insertBefore(i,...l){e(a=>{let o=a.items.findIndex(s=>r(s)===i);if(o===-1)if(a.items.length===0)o=0;else return a;return as(a,o,...l)})},insertAfter(i,...l){e(a=>{let o=a.items.findIndex(s=>r(s)===i);if(o===-1)if(a.items.length===0)o=0;else return a;return as(a,o+1,...l)})},prepend(...i){e(l=>as(l,0,...i))},append(...i){e(l=>as(l,l.items.length,...i))},remove(...i){e(l=>{let a=new Set(i),o=l.items.filter(c=>!a.has(r(c))),s="all";if(l.selectedKeys!=="all"){s=new Set(l.selectedKeys);for(let c of i)s.delete(c)}return n==null&&o.length===0&&(s=new Set),{...l,items:o,selectedKeys:s}})},removeSelectedItems(){e(i=>{if(i.selectedKeys==="all")return{...i,items:[],selectedKeys:new Set};let l=i.selectedKeys,a=i.items.filter(o=>!l.has(r(o)));return{...i,items:a,selectedKeys:new Set}})},move(i,l){e(a=>{let o=a.items.findIndex(d=>r(d)===i);if(o===-1)return a;let s=a.items.slice(),[c]=s.splice(o,1);return s.splice(l,0,c),{...a,items:s}})},moveBefore(i,l){e(a=>{let o=a.items.findIndex(d=>r(d)===i);if(o===-1)return a;let c=(Array.isArray(l)?l:[...l]).map(d=>a.items.findIndex(f=>r(f)===d)).sort((d,f)=>d-f);return Ik(a,c,o)})},moveAfter(i,l){e(a=>{let o=a.items.findIndex(d=>r(d)===i);if(o===-1)return a;let c=(Array.isArray(l)?l:[...l]).map(d=>a.items.findIndex(f=>r(f)===d)).sort((d,f)=>d-f);return Ik(a,c,o+1)})},update(i,l){e(a=>{let o=a.items.findIndex(s=>r(s)===i);return o===-1?a:{...a,items:[...a.items.slice(0,o),l,...a.items.slice(o+1)]}})}}}u(WN,"$0d86e9c8f07f9a7b$export$79c0c687a5963b0a");function as(t,e,...n){return{...t,items:[...t.items.slice(0,e),...n,...t.items.slice(e)]}}u(as,"$0d86e9c8f07f9a7b$var$insert");function Ik(t,e,n){n-=e.filter(l=>l({from:l,to:n++}));for(let l=0;la&&r[o].from--}for(let l=0;ll;o--){let s=r[o];s.fromf.id||f.key,"getKey"),initialFilterText:a=""}=t;let[o,s]=(0,wp.element.useReducer)(XN,{state:"idle",error:null,items:[],selectedKeys:r==="all"?"all":new Set(r),sortDescriptor:i,filterText:a});const c=u(async(f,h)=>{let p=new AbortController;try{s({...f,abortController:p});var m;let b=(m=f.filterText)!==null&&m!==void 0?m:o.filterText;var g;let y=await h({items:o.items.slice(),selectedKeys:o.selectedKeys,sortDescriptor:(g=f.sortDescriptor)!==null&&g!==void 0?g:o.sortDescriptor,signal:p.signal,cursor:f.type==="loadingMore"?o.cursor:null,filterText:b});var O;let $=(O=y.filterText)!==null&&O!==void 0?O:b;s({type:"success",...y,abortController:p}),$&&$!==b&&!p.signal.aborted&&c({type:"filtering",filterText:$},e)}catch(b){s({type:"error",error:b,abortController:p})}},"dispatchFetch");let d=(0,wp.element.useRef)(!1);return(0,wp.element.useEffect)(()=>{d.current||(c({type:"loading"},e),d.current=!0)},[]),{items:o.items,selectedKeys:o.selectedKeys,sortDescriptor:o.sortDescriptor,isLoading:o.state==="loading"||o.state==="loadingMore"||o.state==="sorting"||o.state==="filtering",loadingState:o.state,error:o.error,filterText:o.filterText,getItem(f){return o.items.find(h=>l(h)===f)},reload(){c({type:"loading"},e)},loadMore(){o.state==="loadingMore"||o.state==="filtering"||o.cursor==null||c({type:"loadingMore"},e)},sort(f){c({type:"sorting",sortDescriptor:f},n||e)},...WN({...t,getKey:l,cursor:o.cursor},f=>{s({type:"update",updater:f})}),setFilterText(f){c({type:"filtering",filterText:f},e)}}}u(jN,"$f86e6c1ec7da6ebb$export$bc3384a35de93d66");let qN=Math.round(Math.random()*1e10),UN=0;function Zk(t){let e=(0,wp.element.useMemo)(()=>t.name||`radio-group-${qN}-${++UN}`,[t.name]);var n;let[r,i]=Le(t.value,(n=t.defaultValue)!==null&&n!==void 0?n:null,t.onChange),[l,a]=(0,wp.element.useState)(null),o=Fn({...t,value:r}),s=u(d=>{!t.isReadOnly&&!t.isDisabled&&(i(d),o.commitValidation())},"setSelectedValue"),c=o.displayValidation.isInvalid;return{...o,name:e,selectedValue:r,setSelectedValue:s,lastFocusedValue:l,setLastFocusedValue:a,isDisabled:t.isDisabled||!1,isReadOnly:t.isReadOnly||!1,isRequired:t.isRequired||!1,validationState:t.validationState||(c?"invalid":null),isInvalid:c}}u(Zk,"$a54cdc5c1942b639$export$bca9d026f8e704eb");function YN(t){let e=ei(t),[n,r]=(0,wp.element.useState)(null),i=_2({...t,onSelectionChange:s=>{t.onSelectionChange!=null&&t.onSelectionChange(s),e.close(),l.commitValidation()}}),l=Fn({...t,value:i.selectedKey}),[a,o]=(0,wp.element.useState)(!1);return{...l,...i,...e,focusStrategy:n,open(s=null){i.collection.size!==0&&(r(s),e.open())},toggle(s=null){i.collection.size!==0&&(r(s),e.toggle())},isFocused:a,setFocused:o}}u(YN,"$2bc3a590c5373a4e$export$5159ec8b34d4ec12");var KN=Object.defineProperty,GN=u((t,e)=>KN(t,"name",{value:e,configurable:!0}),"n$i");const ti=GN(t=>{const e=t.content??t.children,n=ei(t),{triggerProps:r,overlayProps:i}=Ko({type:"dialog"},n);return wp.element.createElement(wp.element.Fragment,null,wp.element.createElement(oe,{...r,type:"action",isDisabled:t.isDisabled,...t.buttonProps??{}},t.label??"Open modal"),n.isOpen&&wp.element.createElement(SN,{className:"tf-modal",state:n},wp.element.createElement(ns,{title:t.title,...i},e,wp.element.createElement("div",{className:"tf-modal-actions"},wp.element.createElement(oe,{type:"danger",onPress:()=>{n.close(),t.onValidate&&t.onValidate()}},t.confirmText??t.label),wp.element.createElement(oe,{type:"action",onPress:()=>{n.close(),t.onCancel&&t.onCancel()}},t.cancelText??"Cancel")))))},"ModalTrigger");var HN=Object.defineProperty,_N=u((t,e)=>HN(t,"name",{value:e,configurable:!0}),"s$i");function zk({message:t,type:e,onDismiss:n}){return wp.element.createElement("div",{className:`tf-notice ${e} tf-is-dismissible`},wp.element.createElement("p",null,t),wp.element.createElement("button",{type:"button",className:"tf-notice-dismiss",onClick:n}))}u(zk,"n$h"),_N(zk,"Notice");var JN=Object.defineProperty,eF=u((t,e)=>JN(t,"name",{value:e,configurable:!0}),"i$m");function Dr({children:t,state:e,style:n,className:r="",...i}){const l=wp.element.useRef(null),{popoverProps:a,underlayProps:o}=mV({...i,popoverRef:l},e),{ControlContext:s}=tangibleFields,c=wp.element.useContext(s);return wp.element.createElement(eD,{portalContainer:c.portalContainer},wp.element.createElement("div",{className:c.wrapper},!i.isNonModal&&wp.element.createElement("div",{...o,className:"tf-underlay"}),wp.element.createElement("div",{...a,ref:l,style:{...a.style,...n,zIndex:1e6,boxSizing:"border-box"},className:`tf-popover ${r}`},t,wp.element.createElement(Ho,{onDismiss:e.close}))))}u(Dr,"y$1"),eF(Dr,"Popover");var tF=Object.defineProperty,nF=u((t,e)=>tF(t,"name",{value:e,configurable:!0}),"o$e");const Sd=nF(t=>t.choices?wp.element.createElement(CV,{key:t.key??t.name,title:t.label??"",items:t.choices??[]},e=>wp.element.createElement(Sr,{key:e.value??""},e.label??"")):wp.element.createElement(Sr,{key:t.value??""},t.label??""),"RenderChoices");var rF=Object.defineProperty,iF=u((t,e)=>rF(t,"name",{value:e,configurable:!0}),"t$b");const Ig=iF(t=>{const e=`h${t.level}`;return wp.element.createElement("div",{className:"tf-title"},wp.element.createElement(e,{className:t.className},t.children))},"Title");var lF=Object.defineProperty,aF=u((t,e)=>lF(t,"name",{value:e,configurable:!0}),"t$a");const oF=aF(({content:t,children:e})=>wp.element.createElement(wp.element.Fragment,null,t??e),"Wrapper");var sF=Object.defineProperty,uF=u((t,e)=>sF(t,"name",{value:e,configurable:!0}),"n$f");const cF=uF(t=>{const e=t.content??t.children,n=t.placement??"top",r=t.theme&&t.theme==="dark"?"dark":"light";return wp.element.createElement("div",{className:`tf-tooltip tf-tooltip-${n}`},wp.element.createElement("div",{className:`tf-tooltip-content tf-tooltip-content-${n} ${r}`},e))},"Tooltip");var dF=Object.defineProperty,fF=u((t,e)=>dF(t,"name",{value:e,configurable:!0}),"l$g");const hF=fF(t=>{const e=t.layout??"button",n=t.label??"Open tooltip";return wp.element.createElement("div",{className:"tf-tooltip-trigger"},wp.element.createElement("div",{className:"tf-tooltip-trigger-content"},e==="button"?wp.element.createElement(oe,{type:"action",isDisabled:t.isDisabled,...t.buttonProps??{}},n):wp.element.createElement("span",null,n),wp.element.createElement(cF,{...t})))},"TooltipTrigger");var pF=Object.defineProperty,Lk=u((t,e)=>pF(t,"name",{value:e,configurable:!0}),"i$k");const mF=Lk(({items:t,fields:e,rowFields:n,renderItem:r,maxLength:i,dispatch:l,headerFields:a=!1,beforeRow:o=!1,afterRow:s=!1})=>{const[c,d]=wp.element.useState(!1),f=a?e.filter(p=>a.includes(p.name)||a.includes(p.name+".label")):e,h=Lk((p,m)=>p[m].label===""?JSON.stringify(p[m]):p[m].label,"formatHeaderFieldsObject");return wp.element.createElement("div",{className:"tf-repeater-advanced"},wp.element.createElement("div",{className:"tf-repeater-advanced-header tf-repeater-advanced-label-row"},wp.element.createElement("div",{key:"index",className:"tf-repeater-advanced-label-row-index"}),f.map((p,m)=>wp.element.createElement("div",{key:m,className:"tf-repeater-advanced-header-item tf-repeater-advanced-label-row-item"},p.label??"")),wp.element.createElement("div",{key:"arrow",className:"tf-repeater-advanced-label-row-arrow"})),wp.element.createElement("div",{className:"tf-repeater-items tf-repeater-advanced-items"},t&&t.slice(0,i).map((p,m)=>wp.element.createElement("div",{key:p.key??m,className:"tf-repeater-advanced-item","data-open":c===m?"true":"false"},wp.element.createElement("div",{className:"tf-repeater-advanced-overview tf-repeater-advanced-label-row"},wp.element.createElement("div",{key:"index",className:"tf-repeater-advanced-label-row-index"},m+1),wp.element.createElement("div",{className:"tf-repeater-advanced-overview-item-container"},wp.element.createElement("div",{className:"tf-repeater-advanced-overview-item-fields"},f.map((g,O)=>wp.element.createElement("div",{key:O,className:"tf-repeater-advanced-overview-item tf-repeater-advanced-label-row-item"},p[g.name]&&p[g.name]!==""?typeof p[g.name]=="object"?h(p,g.name):p[g.name]:wp.element.createElement("i",null,"Empty")))),i!==void 0&&wp.element.createElement("div",{className:"tf-repeater-advanced-overview-item-actions"},wp.element.createElement(oe,{type:"text-primary",onPress:()=>d(c===m?!1:m)},c===m?"Close":"Edit"),wp.element.createElement(oe,{type:"text-primary",isDisabled:i<=t.length,onPress:()=>l({type:"clone",item:p})},"Duplicate"),wp.element.createElement(ti,{label:"Delete",title:"Confirmation",onValidate:()=>l({type:"remove",item:m}),buttonProps:{type:"text-danger"}},"Are you sure you want to remove item ",m+1,"?"))),wp.element.createElement(oe,{key:"arrow",type:"repeater-overview-open",onPress:()=>d(c===m?!1:m),changeTag:"span",className:"tf-repeater-advanced-label-row-arrow"},wp.element.createElement("div",null))),c===m&&wp.element.createElement("div",{className:"tf-repeater-advanced-row"},o&&o(p,m,l),n.map(g=>wp.element.createElement("div",{key:g.name??m,className:"tf-repeater-advanced-item-field"},r(g,p,m))),s&&s(p,m,l))))))},"Advanced");var gF=Object.defineProperty,OF=u((t,e)=>gF(t,"name",{value:e,configurable:!0}),"s$h");const bF=OF(({items:t,rowFields:e,renderItem:n,maxLength:r,dispatch:i,beforeRow:l=!1,afterRow:a=!1})=>wp.element.createElement("div",{className:"tf-repeater-items tf-repeater-bare-items"},t&&t.slice(0,r).map((o,s)=>wp.element.createElement("div",{key:o.key??s,className:"tf-repeater-bare-row"},l&&l(o,s,i),e.map(c=>wp.element.createElement("div",{key:c.name??s,className:"tf-repeater-bare-item-field"},n(c,o,s))),r!==void 0&&wp.element.createElement(ti,{label:"Remove",title:"Confirmation",onValidate:()=>i({type:"remove",item:s})},"Are you sure you want to remove item ",s+1,"?"),a&&a(o,s,i)))),"Bare");var yF=Object.defineProperty,Wk=u((t,e)=>yF(t,"name",{value:e,configurable:!0}),"t$9");const vF=Wk(t=>{const[e,n]=wp.element.useState(yn(t.value));wp.element.useEffect(()=>t.onChange&&t.onChange(e),[e]);const r=Wk(l=>{n({...e,enabled:l===!0||l==="on"?"on":"off"})},"isEnabled"),i=t.useSwitch?wp.element.createElement("div",{onClick:l=>l.stopPropagation()},wp.element.createElement(ay,{value:e.enabled??"off",onChange:r,label:"Toggle accordion",labelVisuallyHidden:!0})):null;return wp.element.createElement("div",{className:"tf-accordion"},wp.element.createElement("input",{type:"hidden",name:t.name??"",value:JSON.stringify(e)}),wp.element.createElement(j2,{title:t.title??!1,headerLeft:i,behavior:"hide"},wp.element.createElement(S9,{...t,name:null,fields:t.fields,value:e,onChange:n})))},"Accordion");var $F=Object.defineProperty,wF=u((t,e)=>$F(t,"name",{value:e,configurable:!0}),"t$8");const Xk=wp.element.createContext(null),jk=wF(t=>{const e=Zk(t),{radioGroupProps:n,labelProps:r,descriptionProps:i}=B2(t,e);return wp.element.useEffect(()=>{t.onChange&&t.onChange(e.selectedValue)},[e.selectedValue]),wp.element.createElement("div",{className:"tf-radio-group"},t.label&&wp.element.createElement(we,{labelProps:r,parent:t},t.label),wp.element.createElement("div",{className:"tf-radio-group-container",...n},wp.element.createElement(Xk.Provider,{value:e},t.children)),t.description&&wp.element.createElement($e,{descriptionProps:i,parent:t},t.description))},"RadioGroup");var xF=Object.defineProperty,SF=u((t,e)=>xF(t,"name",{value:e,configurable:!0}),"r$d");const qk=SF(t=>{const e=wp.element.useContext(Xk),n=wp.element.useRef(null),{inputProps:r}=M2(t,e,n);return wp.element.createElement("label",{className:"tf-radio"},wp.element.createElement("input",{...r,ref:n}),t.children)},"Radio");var CF=Object.defineProperty,DF=u((t,e)=>CF(t,"name",{value:e,configurable:!0}),"i$i");const kF=DF(t=>{const[e,n]=wp.element.useState(t.value??""),r=["top left","top center","top right","center left","center center","center right","bottom left","bottom center","bottom right"];return wp.element.useEffect(()=>t.onChange&&t.onChange(e),[e]),wp.element.createElement("div",{className:"tf-alignment-matrix"},wp.element.createElement(jk,{...t,onChange:n},wp.element.createElement("div",{className:"tf-alignment-matrix-container"},r.map(i=>wp.element.createElement(qk,{key:i,id:i,value:i},wp.element.createElement(on,null,i))))))},"AlignmentMatrix");var PF=Object.defineProperty,ss=u((t,e)=>PF(t,"name",{value:e,configurable:!0}),"o$c");const Uk=ss(t=>{if(t.config===!1)return t.children;const{dynamics:e}=TangibleFields,n=wp.element.useRef(),r=wp.element.useRef(),[i,l]=wp.element.useState(!1),[a,o]=wp.element.useState(!1),[s,c]=wp.element.useState({}),[d,f]=wp.element.useState(!1),h=ei({}),{triggerProps:p,overlayProps:m}=Ko({type:"dialog"},h,n);wp.element.useEffect(()=>{t.isOpen?h.open():h.close()},[t.isOpen]),wp.element.useEffect(()=>{d!==!1&&(t?.onValueSelection(d),f(!1))},[d]);const g=ss(k=>{if(!k)return;const D=e.values[k]?.fields;if(l(k),!Array.isArray(D)||D.length===0)return O(k);o(D)},"saveDynamicValue"),O=ss(k=>{f(t.config.stringify(k,s??!1)),b()},"selectAndClose"),b=ss(()=>{l(!1),o(!1),c(!1),h.close()},"resetAndClose"),y=wp.element.useMemo(()=>{const k=t.config.getTypes();return t.config.getCategories().map(D=>{const S=e.categories[D],E=Object.keys(e.values).filter(A=>S.values.includes(A)&&k.includes(e.values[A]?.type)).reduce((A,B)=>({...A,[B]:e.values[B].label??B}),{});return{name:S.label,choices:E}}).filter(D=>Object.keys(D.choices).length!==0)},[]),$=wp.element.useRef(s),C=ss((k,D)=>{c($.current={...s,[k]:D})},"updateSettings"),w=t.buttonType??"outside",x=!(t.readOnly||t.inputMasking)&&(w==="outside"||!t.remove||t.remove.isDisabled),P=!(t.readOnly||t.inputMasking)&&(w==="outside"||t.remove&&t.remove.isDisabled===!1),v=`tf-dynamic-wrapper tf-dynamic-wrapper-buttons-${w} ${t.className??""}`;return wp.element.createElement("div",{className:v,"data-dynamic":"true"},t.children,x&&wp.element.createElement(oe,{type:w==="outside"?"action":"icon",className:"tf-dynamic-wrapper-insert",ref:n,contentVisuallyHidden:w==="inside",...p},"Insert"),P&&wp.element.createElement(oe,{type:w==="outside"?"action":"icon",className:"tf-dynamic-wrapper-clear",contentVisuallyHidden:w==="inside",...t.remove},"Clear"),h.isOpen&&wp.element.createElement("div",{className:"tf-dynamic-wrapper-popover",ref:r,...m},a?wp.element.createElement("div",{className:"tf-dynamic-wrapper-popover-form"},wp.element.createElement(Ig,{level:4},"Dynamic value settings"),e.values[i].description&&wp.element.createElement("i",null,e.values[i].description),a.map(k=>wp.element.createElement("div",{className:"tf-dynamic-wrapper-popover-field"},wp.element.createElement(Hh,{...k,value:s[k.name]??"",onChange:D=>C(k.name,D),visibility:{condition:k.condition?.condition??!1,action:k.condition?.action??"show"},data:{getValue:D=>$.current[D]??""}}))),wp.element.createElement("div",{className:"tf-dynamic-wrapper-popover-buttons"},wp.element.createElement(oe,{type:"action",onPress:()=>O(i)},"Add"),wp.element.createElement(oe,{type:"action",onPress:b},"Close"))):wp.element.createElement(lh,{choices:y,label:"Select dynamic value to insert",labelVisuallyHidden:!0,autoFocus:!0,showButton:!1,onChange:g,onFocusChange:k=>k?!h.isOpen&&h.open():h.close()}),wp.element.createElement(Ho,{onDismiss:h.close})))},"BaseWrapper");var EF=Object.defineProperty,AF=u((t,e)=>EF(t,"name",{value:e,configurable:!0}),"u$b");const us=wp.element.forwardRef(({inputProps:t={},...e},n)=>{const[r,i]=wp.element.useState(e.dynamic?e.dynamic.hasValues():!1),l=AF(a=>{const o=e.dynamic.parse(a);return o&&o.type?e.dynamic.getLabel(o.type):""},"getLabel");return wp.element.createElement(Uk,{className:"tf-dynamic-field-wrapper",config:e.dynamic??!1,onValueSelection:a=>{i(!0),e.onValueSelection(a)},remove:{isDisabled:r===!1,onPress:()=>{i(!1),e.onValueRemove&&e.onValueRemove()}},buttonType:e.buttonType??"outside",readOnly:e.readOnly??!1},r?wp.element.createElement(wp.element.Fragment,null,wp.element.createElement("input",{type:"text",className:"tf-dynamic-value-input",value:l(e.value),disabled:!0}),wp.element.createElement("input",{...t,name:e.name??"",value:e.value??"",type:"hidden",ref:n})):e.children)}),np=class np{lineAt(e){if(e<0||e>this.length)throw new RangeError(`Invalid position ${e} in document of length ${this.length}`);return this.lineInner(e,!1,1,0)}line(e){if(e<1||e>this.lines)throw new RangeError(`Invalid line number ${e} in ${this.lines}-line document`);return this.lineInner(e,!0,1,0)}replace(e,n,r){[e,n]=Oa(this,e,n);let i=[];return this.decompose(0,e,i,2),r.length&&r.decompose(0,r.length,i,3),this.decompose(n,this.length,i,1),Cd.from(i,this.length-(n-e)+r.length)}append(e){return this.replace(this.length,this.length,e)}slice(e,n=this.length){[e,n]=Oa(this,e,n);let r=[];return this.decompose(e,n,r,0),Cd.from(r,n-e)}eq(e){if(e==this)return!0;if(e.length!=this.length||e.lines!=this.lines)return!1;let n=this.scanIdentical(e,1),r=this.length-this.scanIdentical(e,-1),i=new Ki(this),l=new Ki(e);for(let a=n,o=n;;){if(i.next(a),l.next(a),a=0,i.lineBreak!=l.lineBreak||i.done!=l.done||i.value!=l.value)return!1;if(o+=i.value.length,i.done||o>=r)return!0}}iter(e=1){return new Ki(this,e)}iterRange(e,n=this.length){return new kd(this,e,n)}iterLines(e,n){let r;if(e==null)r=this.iter();else{n==null&&(n=this.lines+1);let i=this.line(e).from;r=this.iterRange(i,Math.max(i,n==this.lines+1?this.length:n<=1?0:this.line(n-1).to))}return new Pd(r)}toString(){return this.sliceString(0)}toJSON(){let e=[];return this.flatten(e),e}constructor(){}static of(e){if(e.length==0)throw new RangeError("A document must have at least one line");return e.length==1&&!e[0]?np.empty:e.length<=32?new It(e):Cd.from(It.split(e,[]))}};u(np,"Text");let de=np;const bn=class bn extends de{constructor(e,n=TF(e)){super(),this.text=e,this.length=n}get lines(){return this.text.length}get children(){return null}lineInner(e,n,r,i){for(let l=0;;l++){let a=this.text[l],o=i+a.length;if((n?r:o)>=e)return new Zg(i,o,r,a);i=o+1,r++}}decompose(e,n,r,i){let l=e<=0&&n>=this.length?this:new bn(Yk(this.text,e,n),Math.min(n,this.length)-Math.max(0,e));if(i&1){let a=r.pop(),o=Dd(l.text,a.text.slice(),0,l.length);if(o.length<=32)r.push(new bn(o,a.length+l.length));else{let s=o.length>>1;r.push(new bn(o.slice(0,s)),new bn(o.slice(s)))}}else r.push(l)}replace(e,n,r){if(!(r instanceof bn))return super.replace(e,n,r);[e,n]=Oa(this,e,n);let i=Dd(this.text,Dd(r.text,Yk(this.text,0,e)),n),l=this.length+r.length-(n-e);return i.length<=32?new bn(i,l):Cd.from(bn.split(i,[]),l)}sliceString(e,n=this.length,r=` -`){[e,n]=Oa(this,e,n);let i="";for(let l=0,a=0;l<=n&&ae&&a&&(i+=r),el&&(i+=o.slice(Math.max(0,e-l),n-l)),l=s+1}return i}flatten(e){for(let n of this.text)e.push(n)}scanIdentical(){return 0}static split(e,n){let r=[],i=-1;for(let l of e)r.push(l),i+=l.length+1,r.length==32&&(n.push(new bn(r,i)),r=[],i=-1);return i>-1&&n.push(new bn(r,i)),n}};u(bn,"TextLeaf");let It=bn,Cd=(lr=class extends de{constructor(e,n){super(),this.children=e,this.length=n,this.lines=0;for(let r of e)this.lines+=r.lines}lineInner(e,n,r,i){for(let l=0;;l++){let a=this.children[l],o=i+a.length,s=r+a.lines-1;if((n?s:o)>=e)return a.lineInner(e,n,r,i);i=o+1,r=s+1}}decompose(e,n,r,i){for(let l=0,a=0;a<=n&&l=a){let c=i&((a<=e?1:0)|(s>=n?2:0));a>=e&&s<=n&&!c?r.push(o):o.decompose(e-a,n-a,r,c)}a=s+1}}replace(e,n,r){if([e,n]=Oa(this,e,n),r.lines=l&&n<=o){let s=a.replace(e-l,n-l,r),c=this.lines-a.lines+s.lines;if(s.lines>4&&s.lines>c>>6){let d=this.children.slice();return d[i]=s,new lr(d,this.length-(n-e)+r.length)}return super.replace(l,o,s)}l=o+1}return super.replace(e,n,r)}sliceString(e,n=this.length,r=` -`){[e,n]=Oa(this,e,n);let i="";for(let l=0,a=0;le&&l&&(i+=r),ea&&(i+=o.sliceString(e-a,n-a,r)),a=s+1}return i}flatten(e){for(let n of this.children)n.flatten(e)}scanIdentical(e,n){if(!(e instanceof lr))return 0;let r=0,[i,l,a,o]=n>0?[0,0,this.children.length,e.children.length]:[this.children.length-1,e.children.length-1,-1,-1];for(;;i+=n,l+=n){if(i==a||l==o)return r;let s=this.children[i],c=e.children[l];if(s!=c)return r+s.scanIdentical(c,n);r+=s.length+1}}static from(e,n=e.reduce((r,i)=>r+i.length+1,-1)){let r=0;for(let p of e)r+=p.lines;if(r<32){let p=[];for(let m of e)m.flatten(p);return new It(p,n)}let i=Math.max(32,r>>5),l=i<<1,a=i>>1,o=[],s=0,c=-1,d=[];function f(p){let m;if(p.lines>l&&p instanceof lr)for(let g of p.children)f(g);else p.lines>a&&(s>a||!s)?(h(),o.push(p)):p instanceof It&&s&&(m=d[d.length-1])instanceof It&&p.lines+m.lines<=32?(s+=p.lines,c+=p.length+1,d[d.length-1]=new It(m.text.concat(p.text),m.length+1+p.length)):(s+p.lines>i&&h(),s+=p.lines,c+=p.length+1,d.push(p))}u(f,"add");function h(){s!=0&&(o.push(d.length==1?d[0]:lr.from(d,c)),c=-1,s=d.length=0)}u(h,"flush");for(let p of e)f(p);return h(),o.length==1?o[0]:new lr(o,n)}},u(lr,"TextNode"),lr);de.empty=new It([""],0);function TF(t){let e=-1;for(let n of t)e+=n.length+1;return e}u(TF,"textLength");function Dd(t,e,n=0,r=1e9){for(let i=0,l=0,a=!0;l=n&&(s>r&&(o=o.slice(0,r-i)),i0?1:(e instanceof It?e.text.length:e.children.length)<<1]}nextInner(e,n){for(this.done=this.lineBreak=!1;;){let r=this.nodes.length-1,i=this.nodes[r],l=this.offsets[r],a=l>>1,o=i instanceof It?i.text.length:i.children.length;if(a==(n>0?o:0)){if(r==0)return this.done=!0,this.value="",this;n>0&&this.offsets[r-1]++,this.nodes.pop(),this.offsets.pop()}else if((l&1)==(n>0?0:1)){if(this.offsets[r]+=n,e==0)return this.lineBreak=!0,this.value=` -`,this;e--}else if(i instanceof It){let s=i.text[a+(n<0?-1:0)];if(this.offsets[r]+=n,s.length>Math.max(0,e))return this.value=e==0?s:n>0?s.slice(e):s.slice(0,s.length-e),this;e-=s.length}else{let s=i.children[a+(n<0?-1:0)];e>s.length?(e-=s.length,this.offsets[r]+=n):(n<0&&this.offsets[r]--,this.nodes.push(s),this.offsets.push(n>0?1:(s instanceof It?s.text.length:s.children.length)<<1))}}}next(e=0){return e<0&&(this.nextInner(-e,-this.dir),e=this.value.length),this.nextInner(e,this.dir)}};u(Ny,"RawTextCursor");let Ki=Ny;const Fy=class Fy{constructor(e,n,r){this.value="",this.done=!1,this.cursor=new Ki(e,n>r?-1:1),this.pos=n>r?e.length:0,this.from=Math.min(n,r),this.to=Math.max(n,r)}nextInner(e,n){if(n<0?this.pos<=this.from:this.pos>=this.to)return this.value="",this.done=!0,this;e+=Math.max(0,n<0?this.pos-this.to:this.from-this.pos);let r=n<0?this.pos-this.from:this.to-this.pos;e>r&&(e=r),r-=e;let{value:i}=this.cursor.next(e);return this.pos+=(i.length+e)*n,this.value=i.length<=r?i:n<0?i.slice(i.length-r):i.slice(0,r),this.done=!this.value,this}next(e=0){return e<0?e=Math.max(e,this.from-this.pos):e>0&&(e=Math.min(e,this.to-this.pos)),this.nextInner(e,this.cursor.dir)}get lineBreak(){return this.cursor.lineBreak&&this.value!=""}};u(Fy,"PartialTextCursor");let kd=Fy;const Iy=class Iy{constructor(e){this.inner=e,this.afterBreak=!0,this.value="",this.done=!1}next(e=0){let{done:n,lineBreak:r,value:i}=this.inner.next(e);return n&&this.afterBreak?(this.value="",this.afterBreak=!1):n?(this.done=!0,this.value=""):r?this.afterBreak?this.value="":(this.afterBreak=!0,this.next()):(this.value=i,this.afterBreak=!1),this}get lineBreak(){return!1}};u(Iy,"LineCursor");let Pd=Iy;typeof Symbol<"u"&&(de.prototype[Symbol.iterator]=function(){return this.iter()},Ki.prototype[Symbol.iterator]=kd.prototype[Symbol.iterator]=Pd.prototype[Symbol.iterator]=function(){return this});const Zy=class Zy{constructor(e,n,r,i){this.from=e,this.to=n,this.number=r,this.text=i}get length(){return this.to-this.from}};u(Zy,"Line");let Zg=Zy;function Oa(t,e,n){return e=Math.max(0,Math.min(t.length,e)),[e,Math.max(e,Math.min(t.length,n))]}u(Oa,"clip");let ba="lc,34,7n,7,7b,19,,,,2,,2,,,20,b,1c,l,g,,2t,7,2,6,2,2,,4,z,,u,r,2j,b,1m,9,9,,o,4,,9,,3,,5,17,3,3b,f,,w,1j,,,,4,8,4,,3,7,a,2,t,,1m,,,,2,4,8,,9,,a,2,q,,2,2,1l,,4,2,4,2,2,3,3,,u,2,3,,b,2,1l,,4,5,,2,4,,k,2,m,6,,,1m,,,2,,4,8,,7,3,a,2,u,,1n,,,,c,,9,,14,,3,,1l,3,5,3,,4,7,2,b,2,t,,1m,,2,,2,,3,,5,2,7,2,b,2,s,2,1l,2,,,2,4,8,,9,,a,2,t,,20,,4,,2,3,,,8,,29,,2,7,c,8,2q,,2,9,b,6,22,2,r,,,,,,1j,e,,5,,2,5,b,,10,9,,2u,4,,6,,2,2,2,p,2,4,3,g,4,d,,2,2,6,,f,,jj,3,qa,3,t,3,t,2,u,2,1s,2,,7,8,,2,b,9,,19,3,3b,2,y,,3a,3,4,2,9,,6,3,63,2,2,,1m,,,7,,,,,2,8,6,a,2,,1c,h,1r,4,1c,7,,,5,,14,9,c,2,w,4,2,2,,3,1k,,,2,3,,,3,1m,8,2,2,48,3,,d,,7,4,,6,,3,2,5i,1m,,5,ek,,5f,x,2da,3,3x,,2o,w,fe,6,2x,2,n9w,4,,a,w,2,28,2,7k,,3,,4,,p,2,5,,47,2,q,i,d,,12,8,p,b,1a,3,1c,,2,4,2,2,13,,1v,6,2,2,2,2,c,,8,,1b,,1f,,,3,2,2,5,2,,,16,2,8,,6m,,2,,4,,fn4,,kh,g,g,g,a6,2,gt,,6a,,45,5,1ae,3,,2,5,4,14,3,4,,4l,2,fx,4,ar,2,49,b,4w,,1i,f,1k,3,1d,4,2,2,1x,3,10,5,,8,1q,,c,2,1g,9,a,4,2,,2n,3,2,,,2,6,,4g,,3,8,l,2,1l,2,,,,,m,,e,7,3,5,5f,8,2,3,,,n,,29,,2,6,,,2,,,2,,2,6j,,2,4,6,2,,2,r,2,2d,8,2,,,2,2y,,,,2,6,,,2t,3,2,4,,5,77,9,,2,6t,,a,2,,,4,,40,4,2,2,4,,w,a,14,6,2,4,8,,9,6,2,3,1a,d,,2,ba,7,,6,,,2a,m,2,7,,2,,2,3e,6,3,,,2,,7,,,20,2,3,,,,9n,2,f0b,5,1n,7,t4,,1r,4,29,,f5k,2,43q,,,3,4,5,8,8,2,7,u,4,44,3,1iz,1j,4,1e,8,,e,,m,5,,f,11s,7,,h,2,7,,2,,5,79,7,c5,4,15s,7,31,7,240,5,gx7k,2o,3k,6o".split(",").map(t=>t?parseInt(t,36):1);for(let t=1;tt)return ba[e-1]<=t;return!1}u(RF,"isExtendingChar");function Kk(t){return t>=127462&&t<=127487}u(Kk,"isRegionalIndicator");const Gk=8205;function gt(t,e,n=!0,r=!0){return(n?Hk:QF)(t,e,r)}u(gt,"findClusterBreak");function Hk(t,e,n){if(e==t.length)return e;e&&_k(t.charCodeAt(e))&&Jk(t.charCodeAt(e-1))&&e--;let r=Ye(t,e);for(e+=un(r);e=0&&Kk(Ye(t,a));)l++,a-=2;if(l%2==0)break;e+=2}else break}return e}u(Hk,"nextClusterBreak");function QF(t,e,n){for(;e>0;){let r=Hk(t,e-2,n);if(r=56320&&t<57344}u(_k,"surrogateLow");function Jk(t){return t>=55296&&t<56320}u(Jk,"surrogateHigh");function Ye(t,e){let n=t.charCodeAt(e);if(!Jk(n)||e+1==t.length)return n;let r=t.charCodeAt(e+1);return _k(r)?(n-55296<<10)+(r-56320)+65536:n}u(Ye,"codePointAt");function zg(t){return t<=65535?String.fromCharCode(t):(t-=65536,String.fromCharCode((t>>10)+55296,(t&1023)+56320))}u(zg,"fromCodePoint");function un(t){return t<65536?1:2}u(un,"codePointSize");const Lg=/\r\n?|\n/;var lt=function(t){return t[t.Simple=0]="Simple",t[t.TrackDel=1]="TrackDel",t[t.TrackBefore=2]="TrackBefore",t[t.TrackAfter=3]="TrackAfter",t}(lt||(lt={}));const lo=class lo{constructor(e){this.sections=e}get length(){let e=0;for(let n=0;ne)return l+(e-i);l+=o}else{if(r!=lt.Simple&&c>=e&&(r==lt.TrackDel&&ie||r==lt.TrackBefore&&ie))return null;if(c>e||c==e&&n<0&&!o)return e==i||n<0?l:l+s;l+=s}i=c}if(e>i)throw new RangeError(`Position ${e} is out of range for changeset of length ${i}`);return l}touchesRange(e,n=e){for(let r=0,i=0;r=0&&i<=n&&o>=e)return in?"cover":!0;i=o}return!1}toString(){let e="";for(let n=0;n=0?":"+i:"")}return e}toJSON(){return this.sections}static fromJSON(e){if(!Array.isArray(e)||e.length%2||e.some(n=>typeof n!="number"))throw new RangeError("Invalid JSON representation of ChangeDesc");return new lo(e)}static create(e){return new lo(e)}};u(lo,"ChangeDesc");let ni=lo;const ar=class ar extends ni{constructor(e,n){super(e),this.inserted=n}apply(e){if(this.length!=e.length)throw new RangeError("Applying change set to a document with the wrong length");return Wg(this,(n,r,i,l,a)=>e=e.replace(i,i+(r-n),a),!1),e}mapDesc(e,n=!1){return Xg(this,e,n,!0)}invert(e){let n=this.sections.slice(),r=[];for(let i=0,l=0;i=0){n[i]=o,n[i+1]=a;let s=i>>1;for(;r.length0&&ri(r,n,l.text),l.forward(d),o+=d}let c=e[a++];for(;o>1].toJSON()))}return e}static of(e,n,r){let i=[],l=[],a=0,o=null;function s(d=!1){if(!d&&!i.length)return;ah||f<0||h>n)throw new RangeError(`Invalid change range ${f} to ${h} (in doc of length ${n})`);let m=p?typeof p=="string"?de.of(p.split(r||Lg)):p:de.empty,g=m.length;if(f==h&&g==0)return;fa&&at(i,f-a,-1),at(i,h-f,g),ri(l,i,m),a=h}}return u(c,"process"),c(e),s(!o),o}static empty(e){return new ar(e?[e,-1]:[],[])}static fromJSON(e){if(!Array.isArray(e))throw new RangeError("Invalid JSON representation of ChangeSet");let n=[],r=[];for(let i=0;io&&typeof a!="string"))throw new RangeError("Invalid JSON representation of ChangeSet");if(l.length==1)n.push(l[0],0);else{for(;r.length=0&&n<=0&&n==t[i+1]?t[i]+=e:e==0&&t[i]==0?t[i+1]+=n:r?(t[i]+=e,t[i+1]+=n):t.push(e,n)}u(at,"addSection");function ri(t,e,n){if(n.length==0)return;let r=e.length-2>>1;if(r>1])),!(n||a==t.sections.length||t.sections[a+1]<0);)o=t.sections[a++],s=t.sections[a++];e(i,c,l,d,f),i=c,l=d}}}u(Wg,"iterChanges");function Xg(t,e,n,r=!1){let i=[],l=r?[]:null,a=new Gi(t),o=new Gi(e);for(let s=-1;;)if(a.ins==-1&&o.ins==-1){let c=Math.min(a.len,o.len);at(i,c,-1),a.forward(c),o.forward(c)}else if(o.ins>=0&&(a.ins<0||s==a.i||a.off==0&&(o.len=0&&s=0){let c=0,d=a.len;for(;d;)if(o.ins==-1){let f=Math.min(d,o.len);c+=f,d-=f,o.forward(f)}else if(o.ins==0&&o.lens||a.ins>=0&&a.len>s)&&(o||r.length>c),l.forward2(s),a.forward(s)}}}}u(eP,"composeSets");const zy=class zy{constructor(e){this.set=e,this.i=0,this.next()}next(){let{sections:e}=this.set;this.i>1;return n>=e.length?de.empty:e[n]}textBit(e){let{inserted:n}=this.set,r=this.i-2>>1;return r>=n.length&&!e?de.empty:n[r].slice(this.off,e==null?void 0:this.off+e)}forward(e){e==this.len?this.next():(this.len-=e,this.off+=e)}forward2(e){this.ins==-1?this.forward(e):e==this.ins?this.next():(this.ins-=e,this.off+=e)}};u(zy,"SectionIter");let Gi=zy,Ed=(El=class{constructor(e,n,r){this.from=e,this.to=n,this.flags=r}get anchor(){return this.flags&32?this.to:this.from}get head(){return this.flags&32?this.from:this.to}get empty(){return this.from==this.to}get assoc(){return this.flags&8?-1:this.flags&16?1:0}get bidiLevel(){let e=this.flags&7;return e==7?null:e}get goalColumn(){let e=this.flags>>6;return e==16777215?void 0:e}map(e,n=-1){let r,i;return this.empty?r=i=e.mapPos(this.from,n):(r=e.mapPos(this.from,1),i=e.mapPos(this.to,-1)),r==this.from&&i==this.to?this:new El(r,i,this.flags)}extend(e,n=e){if(e<=this.anchor&&n>=this.anchor)return z.range(e,n);let r=Math.abs(e-this.anchor)>Math.abs(n-this.anchor)?e:n;return z.range(this.anchor,r)}eq(e,n=!1){return this.anchor==e.anchor&&this.head==e.head&&(!n||!this.empty||this.assoc==e.assoc)}toJSON(){return{anchor:this.anchor,head:this.head}}static fromJSON(e){if(!e||typeof e.anchor!="number"||typeof e.head!="number")throw new RangeError("Invalid JSON representation for SelectionRange");return z.range(e.anchor,e.head)}static create(e,n,r){return new El(e,n,r)}},u(El,"SelectionRange"),El);const St=class St{constructor(e,n){this.ranges=e,this.mainIndex=n}map(e,n=-1){return e.empty?this:St.create(this.ranges.map(r=>r.map(e,n)),this.mainIndex)}eq(e,n=!1){if(this.ranges.length!=e.ranges.length||this.mainIndex!=e.mainIndex)return!1;for(let r=0;re.toJSON()),main:this.mainIndex}}static fromJSON(e){if(!e||!Array.isArray(e.ranges)||typeof e.main!="number"||e.main>=e.ranges.length)throw new RangeError("Invalid JSON representation for EditorSelection");return new St(e.ranges.map(n=>Ed.fromJSON(n)),e.main)}static single(e,n=e){return new St([St.range(e,n)],0)}static create(e,n=0){if(e.length==0)throw new RangeError("A selection needs at least one range");for(let r=0,i=0;ie?8:0)|l)}static normalized(e,n=0){let r=e[n];e.sort((i,l)=>i.from-l.from),n=e.indexOf(r);for(let i=1;il.head?St.range(s,o):St.range(o,s))}}return new St(e,n)}};u(St,"EditorSelection");let z=St;function tP(t,e){for(let n of t.ranges)if(n.to>e)throw new RangeError("Selection points outside of document")}u(tP,"checkSelection");let jg=0;const rp=class rp{constructor(e,n,r,i,l){this.combine=e,this.compareInput=n,this.compare=r,this.isStatic=i,this.id=jg++,this.default=e([]),this.extensions=typeof l=="function"?l(this):l}get reader(){return this}static define(e={}){return new rp(e.combine||(n=>n),e.compareInput||((n,r)=>n===r),e.compare||(e.combine?(n,r)=>n===r:qg),!!e.static,e.enables)}of(e){return new ya([],this,0,e)}compute(e,n){if(this.isStatic)throw new Error("Can't compute a static facet");return new ya(e,this,1,n)}computeN(e,n){if(this.isStatic)throw new Error("Can't compute a static facet");return new ya(e,this,2,n)}from(e,n){return n||(n=u(r=>r,"get")),this.compute([e],r=>n(r.field(e)))}};u(rp,"Facet");let G=rp;function qg(t,e){return t==e||t.length==e.length&&t.every((n,r)=>n===e[r])}u(qg,"sameArray$1");const Ly=class Ly{constructor(e,n,r,i){this.dependencies=e,this.facet=n,this.type=r,this.value=i,this.id=jg++}dynamicSlot(e){var n;let r=this.value,i=this.facet.compareInput,l=this.id,a=e[l]>>1,o=this.type==2,s=!1,c=!1,d=[];for(let f of this.dependencies)f=="doc"?s=!0:f=="selection"?c=!0:((n=e[f.id])!==null&&n!==void 0?n:1)&1||d.push(e[f.id]);return{create(f){return f.values[a]=r(f),1},update(f,h){if(s&&h.docChanged||c&&(h.docChanged||h.selection)||Ug(f,d)){let p=r(f);if(o?!nP(p,f.values[a],i):!i(p,f.values[a]))return f.values[a]=p,1}return 0},reconfigure:(f,h)=>{let p,m=h.config.address[l];if(m!=null){let g=Rd(h,m);if(this.dependencies.every(O=>O instanceof G?h.facet(O)===f.facet(O):O instanceof zt?h.field(O,!1)==f.field(O,!1):!0)||(o?nP(p=r(f),g,i):i(p=r(f),g)))return f.values[a]=g,0}else p=r(f);return f.values[a]=p,1}}}};u(Ly,"FacetProvider");let ya=Ly;function nP(t,e,n){if(t.length!=e.length)return!1;for(let r=0;rt[s.id]),i=n.map(s=>s.type),l=r.filter(s=>!(s&1)),a=t[e.id]>>1;function o(s){let c=[];for(let d=0;dr===i),e);return e.provide&&(n.provides=e.provide(n)),n}create(e){let n=e.facet(rP).find(r=>r.field==this);return(n?.create||this.createF)(e)}slot(e){let n=e[this.id]>>1;return{create:r=>(r.values[n]=this.create(r),1),update:(r,i)=>{let l=r.values[n],a=this.updateF(l,i);return this.compareF(l,a)?0:(r.values[n]=a,1)},reconfigure:(r,i)=>i.config.address[this.id]!=null?(r.values[n]=i.field(this),0):(r.values[n]=this.create(r),1)}}init(e){return[this,rP.of({field:this,create:e})]}get extension(){return this}};u(ip,"StateField");let zt=ip;const Hi={lowest:4,low:3,default:2,high:1,highest:0};function cs(t){return e=>new Ad(e,t)}u(cs,"prec");const _i={highest:cs(Hi.highest),high:cs(Hi.high),default:cs(Hi.default),low:cs(Hi.low),lowest:cs(Hi.lowest)},Wy=class Wy{constructor(e,n){this.inner=e,this.prec=n}};u(Wy,"PrecExtension");let Ad=Wy;const lp=class lp{of(e){return new ds(this,e)}reconfigure(e){return lp.reconfigure.of({compartment:this,extension:e})}get(e){return e.config.compartments.get(this)}};u(lp,"Compartment");let Td=lp;const Xy=class Xy{constructor(e,n){this.compartment=e,this.inner=n}};u(Xy,"CompartmentInstance");let ds=Xy,iP=(ao=class{constructor(e,n,r,i,l,a){for(this.base=e,this.compartments=n,this.dynamicSlots=r,this.address=i,this.staticValues=l,this.facets=a,this.statusTemplate=[];this.statusTemplate.length>1]}static resolve(e,n,r){let i=[],l=Object.create(null),a=new Map;for(let h of BF(e,n,a))h instanceof zt?i.push(h):(l[h.facet.id]||(l[h.facet.id]=[])).push(h);let o=Object.create(null),s=[],c=[];for(let h of i)o[h.id]=c.length<<1,c.push(p=>h.slot(p));let d=r?.config.facets;for(let h in l){let p=l[h],m=p[0].facet,g=d&&d[h]||[];if(p.every(O=>O.type==0))if(o[m.id]=s.length<<1|1,qg(g,p))s.push(r.facet(m));else{let O=m.combine(p.map(b=>b.value));s.push(r&&m.compare(O,r.facet(m))?r.facet(m):O)}else{for(let O of p)O.type==0?(o[O.id]=s.length<<1|1,s.push(O.value)):(o[O.id]=c.length<<1,c.push(b=>O.dynamicSlot(b)));o[m.id]=c.length<<1,c.push(O=>MF(O,m,p))}}let f=c.map(h=>h(o));return new ao(e,a,f,o,s,l)}},u(ao,"Configuration"),ao);function BF(t,e,n){let r=[[],[],[],[],[]],i=new Map;function l(a,o){let s=i.get(a);if(s!=null){if(s<=o)return;let c=r[s].indexOf(a);c>-1&&r[s].splice(c,1),a instanceof ds&&n.delete(a.compartment)}if(i.set(a,o),Array.isArray(a))for(let c of a)l(c,o);else if(a instanceof ds){if(n.has(a.compartment))throw new RangeError("Duplicate use of compartment in extensions");let c=e.get(a.compartment)||a.inner;n.set(a.compartment,c),l(c,o)}else if(a instanceof Ad)l(a.inner,a.prec);else if(a instanceof zt)r[o].push(a),a.provides&&l(a.provides,o);else if(a instanceof ya)r[o].push(a),a.facet.extensions&&l(a.facet.extensions,Hi.default);else{let c=a.extension;if(!c)throw new Error(`Unrecognized extension value in extension set (${a}). This sometimes happens because multiple instances of @codemirror/state are loaded, breaking instanceof checks.`);l(c,o)}}return u(l,"inner"),l(t,Hi.default),r.reduce((a,o)=>a.concat(o))}u(BF,"flatten");function fs(t,e){if(e&1)return 2;let n=e>>1,r=t.status[n];if(r==4)throw new Error("Cyclic dependency between fields and/or facets");if(r&2)return r;t.status[n]=4;let i=t.computeSlot(t,t.config.dynamicSlots[n]);return t.status[n]=2|i}u(fs,"ensureAddr");function Rd(t,e){return e&1?t.config.staticValues[e>>1]:t.values[e>>1]}u(Rd,"getAddr");const lP=G.define(),Yg=G.define({combine:t=>t.some(e=>e),static:!0}),aP=G.define({combine:t=>t.length?t[0]:void 0,static:!0}),oP=G.define(),sP=G.define(),uP=G.define(),cP=G.define({combine:t=>t.length?t[0]:!1}),jy=class jy{constructor(e,n){this.type=e,this.value=n}static define(){return new Kg}};u(jy,"Annotation");let $n=jy;const qy=class qy{of(e){return new $n(this,e)}};u(qy,"AnnotationType");let Kg=qy;const Uy=class Uy{constructor(e){this.map=e}of(e){return new pe(this,e)}};u(Uy,"StateEffectType");let Gg=Uy;const ap=class ap{constructor(e,n){this.type=e,this.value=n}map(e){let n=this.type.map(this.value,e);return n===void 0?void 0:n==this.value?this:new ap(this.type,n)}is(e){return this.type==e}static define(e={}){return new Gg(e.map||(n=>n))}static mapEffects(e,n){if(!e.length)return e;let r=[];for(let i of e){let l=i.map(n);l&&r.push(l)}return r}};u(ap,"StateEffect");let pe=ap;pe.reconfigure=pe.define(),pe.appendConfig=pe.define();let Ot=(zr=class{constructor(e,n,r,i,l,a){this.startState=e,this.changes=n,this.selection=r,this.effects=i,this.annotations=l,this.scrollIntoView=a,this._doc=null,this._state=null,r&&tP(r,n.newLength),l.some(o=>o.type==zr.time)||(this.annotations=l.concat(zr.time.of(Date.now())))}static create(e,n,r,i,l,a){return new zr(e,n,r,i,l,a)}get newDoc(){return this._doc||(this._doc=this.changes.apply(this.startState.doc))}get newSelection(){return this.selection||this.startState.selection.map(this.changes)}get state(){return this._state||this.startState.applyTransaction(this),this._state}annotation(e){for(let n of this.annotations)if(n.type==e)return n.value}get docChanged(){return!this.changes.empty}get reconfigured(){return this.startState.config!=this.state.config}isUserEvent(e){let n=this.annotation(zr.userEvent);return!!(n&&(n==e||n.length>e.length&&n.slice(0,e.length)==e&&n[e.length]=="."))}},u(zr,"Transaction"),zr);Ot.time=$n.define(),Ot.userEvent=$n.define(),Ot.addToHistory=$n.define(),Ot.remote=$n.define();function VF(t,e){let n=[];for(let r=0,i=0;;){let l,a;if(r=t[r]))l=t[r++],a=t[r++];else if(i=0;i--){let l=r[i](t);l instanceof Ot?t=l:Array.isArray(l)&&l.length==1&&l[0]instanceof Ot?t=l[0]:t=fP(e,va(l),!1)}return t}u(NF,"filterTransaction");function FF(t){let e=t.startState,n=e.facet(uP),r=t;for(let i=n.length-1;i>=0;i--){let l=n[i](t);l&&Object.keys(l).length&&(r=dP(r,Hg(e,l,t.changes.newLength),!0))}return r==t?t:Ot.create(e,t.changes,t.selection,r.effects,r.annotations,r.scrollIntoView)}u(FF,"extendTransaction");const IF=[];function va(t){return t==null?IF:Array.isArray(t)?t:[t]}u(va,"asArray$1");var ot=function(t){return t[t.Word=0]="Word",t[t.Space=1]="Space",t[t.Other=2]="Other",t}(ot||(ot={}));const ZF=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;let _g;try{_g=new RegExp("[\\p{Alphabetic}\\p{Number}_]","u")}catch{}function zF(t){if(_g)return _g.test(t);for(let e=0;e"\x80"&&(n.toUpperCase()!=n.toLowerCase()||ZF.test(n)))return!0}return!1}u(zF,"hasWordChar");function LF(t){return e=>{if(!/\S/.test(e))return ot.Space;if(zF(e))return ot.Word;for(let n=0;n-1)return ot.Word;return ot.Other}}u(LF,"makeCategorizer");let Be=(Ct=class{constructor(e,n,r,i,l,a){this.config=e,this.doc=n,this.selection=r,this.values=i,this.status=e.statusTemplate.slice(),this.computeSlot=l,a&&(a._state=this);for(let o=0;oi.set(c,s)),n=null),i.set(o.value.compartment,o.value.extension)):o.is(pe.reconfigure)?(n=null,r=o.value):o.is(pe.appendConfig)&&(n=null,r=va(r).concat(o.value));let l;n?l=e.startState.values.slice():(n=iP.resolve(r,i,this),l=new Ct(n,this.doc,this.selection,n.dynamicSlots.map(()=>null),(s,c)=>c.reconfigure(s,this),null).values);let a=e.startState.facet(Yg)?e.newSelection:e.newSelection.asSingle();new Ct(n,e.newDoc,a,l,(o,s)=>s.update(o,e),e)}replaceSelection(e){return typeof e=="string"&&(e=this.toText(e)),this.changeByRange(n=>({changes:{from:n.from,to:n.to,insert:e},range:z.cursor(n.from+e.length)}))}changeByRange(e){let n=this.selection,r=e(n.ranges[0]),i=this.changes(r.changes),l=[r.range],a=va(r.effects);for(let o=1;oa.spec.fromJSON(o,s)))}}return Ct.create({doc:e.doc,selection:z.fromJSON(e.selection),extensions:n.extensions?i.concat([n.extensions]):i})}static create(e={}){let n=iP.resolve(e.extensions||[],new Map),r=e.doc instanceof de?e.doc:de.of((e.doc||"").split(n.staticFacet(Ct.lineSeparator)||Lg)),i=e.selection?e.selection instanceof z?e.selection:z.single(e.selection.anchor,e.selection.head):z.single(0);return tP(i,r.length),n.staticFacet(Yg)||(i=i.asSingle()),new Ct(n,r,i,n.dynamicSlots.map(()=>null),(l,a)=>a.create(l),null)}get tabSize(){return this.facet(Ct.tabSize)}get lineBreak(){return this.facet(Ct.lineSeparator)||` -`}get readOnly(){return this.facet(cP)}phrase(e,...n){for(let r of this.facet(Ct.phrases))if(Object.prototype.hasOwnProperty.call(r,e)){e=r[e];break}return n.length&&(e=e.replace(/\$(\$|\d*)/g,(r,i)=>{if(i=="$")return"$";let l=+(i||1);return!l||l>n.length?r:n[l-1]})),e}languageDataAt(e,n,r=-1){let i=[];for(let l of this.facet(lP))for(let a of l(this,n,r))Object.prototype.hasOwnProperty.call(a,e)&&i.push(a[e]);return i}charCategorizer(e){return LF(this.languageDataAt("wordChars",e).join(""))}wordAt(e){let{text:n,from:r,length:i}=this.doc.lineAt(e),l=this.charCategorizer(e),a=e-r,o=e-r;for(;a>0;){let s=gt(n,a,!1);if(l(n.slice(s,a))!=ot.Word)break;a=s}for(;ot.length?t[0]:4}),Be.lineSeparator=aP,Be.readOnly=cP,Be.phrases=G.define({compare(t,e){let n=Object.keys(t),r=Object.keys(e);return n.length==r.length&&n.every(i=>t[i]==e[i])}}),Be.languageData=lP,Be.changeFilter=oP,Be.transactionFilter=sP,Be.transactionExtender=uP,Td.reconfigure=pe.define();function ii(t,e,n={}){let r={};for(let i of t)for(let l of Object.keys(i)){let a=i[l],o=r[l];if(o===void 0)r[l]=a;else if(!(o===a||a===void 0))if(Object.hasOwnProperty.call(n,l))r[l]=n[l](o,a);else throw new Error("Config merge conflict for field "+l)}for(let i in e)r[i]===void 0&&(r[i]=e[i]);return r}u(ii,"combineConfig");const Yy=class Yy{eq(e){return this==e}range(e,n=e){return Jg.create(e,n,this)}};u(Yy,"RangeValue");let kr=Yy;kr.prototype.startSide=kr.prototype.endSide=0,kr.prototype.point=!1,kr.prototype.mapMode=lt.TrackDel;let Jg=(oo=class{constructor(e,n,r){this.from=e,this.to=n,this.value=r}static create(e,n,r){return new oo(e,n,r)}},u(oo,"Range"),oo);function e0(t,e){return t.from-e.from||t.value.startSide-e.value.startSide}u(e0,"cmpRange");const op=class op{constructor(e,n,r,i){this.from=e,this.to=n,this.value=r,this.maxPoint=i}get length(){return this.to[this.to.length-1]}findIndex(e,n,r,i=0){let l=r?this.to:this.from;for(let a=i,o=l.length;;){if(a==o)return a;let s=a+o>>1,c=l[s]-e||(r?this.value[s].endSide:this.value[s].startSide)-n;if(s==a)return c>=0?a:o;c>=0?o=s:a=s+1}}between(e,n,r,i){for(let l=this.findIndex(n,-1e9,!0),a=this.findIndex(r,1e9,!1,l);lp||h==p&&c.startSide>0&&c.endSide<=0)continue;(p-h||c.endSide-c.startSide)<0||(a<0&&(a=h),c.point&&(o=Math.max(o,p-h)),r.push(c),i.push(h-a),l.push(p-a))}return{mapped:r.length?new op(i,l,r,o):null,pos:a}}};u(op,"Chunk");let t0=op;const Rn=class Rn{constructor(e,n,r,i){this.chunkPos=e,this.chunk=n,this.nextLayer=r,this.maxPoint=i}static create(e,n,r,i){return new Rn(e,n,r,i)}get length(){let e=this.chunk.length-1;return e<0?0:Math.max(this.chunkEnd(e),this.nextLayer.length)}get size(){if(this.isEmpty)return 0;let e=this.nextLayer.size;for(let n of this.chunk)e+=n.value.length;return e}chunkEnd(e){return this.chunkPos[e]+this.chunk[e].length}update(e){let{add:n=[],sort:r=!1,filterFrom:i=0,filterTo:l=this.length}=e,a=e.filter;if(n.length==0&&!a)return this;if(r&&(n=n.slice().sort(e0)),this.isEmpty)return n.length?Rn.of(n):this;let o=new Qd(this,null,-1).goto(0),s=0,c=[],d=new Ji;for(;o.value||s=0){let f=n[s++];d.addInner(f.from,f.to,f.value)||c.push(f)}else o.rangeIndex==1&&o.chunkIndexthis.chunkEnd(o.chunkIndex)||lo.to||l=l&&e<=l+a.length&&a.between(l,e-l,n-l,r)===!1)return}this.nextLayer.between(e,n,r)}}iter(e=0){return hs.from([this]).goto(e)}get isEmpty(){return this.nextLayer==this}static iter(e,n=0){return hs.from(e).goto(n)}static compare(e,n,r,i,l=-1){let a=e.filter(f=>f.maxPoint>0||!f.isEmpty&&f.maxPoint>=l),o=n.filter(f=>f.maxPoint>0||!f.isEmpty&&f.maxPoint>=l),s=hP(a,o,r),c=new el(a,s,l),d=new el(o,s,l);r.iterGaps((f,h,p)=>pP(c,f,d,h,p,i)),r.empty&&r.length==0&&pP(c,0,d,0,0,i)}static eq(e,n,r=0,i){i==null&&(i=999999999);let l=e.filter(d=>!d.isEmpty&&n.indexOf(d)<0),a=n.filter(d=>!d.isEmpty&&e.indexOf(d)<0);if(l.length!=a.length)return!1;if(!l.length)return!0;let o=hP(l,a),s=new el(l,o,0).goto(r),c=new el(a,o,0).goto(r);for(;;){if(s.to!=c.to||!r0(s.active,c.active)||s.point&&(!c.point||!s.point.eq(c.point)))return!1;if(s.to>i)return!0;s.next(),c.next()}}static spans(e,n,r,i,l=-1){let a=new el(e,null,l).goto(n),o=n,s=a.openStart;for(;;){let c=Math.min(a.to,r);if(a.point){let d=a.activeForPoint(a.to),f=a.pointFromo&&(i.span(o,c,a.active,s),s=a.openEnd(c));if(a.to>r)return s+(a.point&&a.to>r?1:0);o=a.to,a.next()}}static of(e,n=!1){let r=new Ji;for(let i of e instanceof Jg?[e]:n?WF(e):e)r.add(i.from,i.to,i.value);return r.finish()}static join(e){if(!e.length)return Rn.empty;let n=e[e.length-1];for(let r=e.length-2;r>=0;r--)for(let i=e[r];i!=Rn.empty;i=i.nextLayer)n=new Rn(i.chunkPos,i.chunk,n,Math.max(i.maxPoint,n.maxPoint));return n}};u(Rn,"RangeSet");let xe=Rn;xe.empty=new xe([],[],null,-1);function WF(t){if(t.length>1)for(let e=t[0],n=1;n0)return t.slice().sort(e0);e=r}return t}u(WF,"lazySort"),xe.empty.nextLayer=xe.empty;const sp=class sp{finishChunk(e){this.chunks.push(new t0(this.from,this.to,this.value,this.maxPoint)),this.chunkPos.push(this.chunkStart),this.chunkStart=-1,this.setMaxPoint=Math.max(this.setMaxPoint,this.maxPoint),this.maxPoint=-1,e&&(this.from=[],this.to=[],this.value=[])}constructor(){this.chunks=[],this.chunkPos=[],this.chunkStart=-1,this.last=null,this.lastFrom=-1e9,this.lastTo=-1e9,this.from=[],this.to=[],this.value=[],this.maxPoint=-1,this.setMaxPoint=-1,this.nextLayer=null}add(e,n,r){this.addInner(e,n,r)||(this.nextLayer||(this.nextLayer=new sp)).add(e,n,r)}addInner(e,n,r){let i=e-this.lastTo||r.startSide-this.last.endSide;if(i<=0&&(e-this.lastFrom||r.startSide-this.last.startSide)<0)throw new Error("Ranges must be added sorted by `from` position and `startSide`");return i<0?!1:(this.from.length==250&&this.finishChunk(!0),this.chunkStart<0&&(this.chunkStart=e),this.from.push(e-this.chunkStart),this.to.push(n-this.chunkStart),this.last=r,this.lastFrom=e,this.lastTo=n,this.value.push(r),r.point&&(this.maxPoint=Math.max(this.maxPoint,n-e)),!0)}addChunk(e,n){if((e-this.lastTo||n.value[0].startSide-this.last.endSide)<0)return!1;this.from.length&&this.finishChunk(!0),this.setMaxPoint=Math.max(this.setMaxPoint,n.maxPoint),this.chunks.push(n),this.chunkPos.push(e);let r=n.value.length-1;return this.last=n.value[r],this.lastFrom=n.from[r]+e,this.lastTo=n.to[r]+e,!0}finish(){return this.finishInner(xe.empty)}finishInner(e){if(this.from.length&&this.finishChunk(!1),this.chunks.length==0)return e;let n=xe.create(this.chunkPos,this.chunks,this.nextLayer?this.nextLayer.finishInner(e):e,this.setMaxPoint);return this.from=null,n}};u(sp,"RangeSetBuilder");let Ji=sp;function hP(t,e,n){let r=new Map;for(let l of t)for(let a=0;a=this.minPoint)break}}setRangeIndex(e){if(e==this.layer.chunk[this.chunkIndex].value.length){if(this.chunkIndex++,this.skip)for(;this.chunkIndex=r&&i.push(new Qd(a,n,r,l));return i.length==1?i[0]:new up(i)}get startSide(){return this.value?this.value.startSide:0}goto(e,n=-1e9){for(let r of this.heap)r.goto(e,n);for(let r=this.heap.length>>1;r>=0;r--)n0(this.heap,r);return this.next(),this}forward(e,n){for(let r of this.heap)r.forward(e,n);for(let r=this.heap.length>>1;r>=0;r--)n0(this.heap,r);(this.to-e||this.value.endSide-n)<0&&this.next()}next(){if(this.heap.length==0)this.from=this.to=1e9,this.value=null,this.rank=-1;else{let e=this.heap[0];this.from=e.from,this.to=e.to,this.value=e.value,this.rank=e.rank,e.value&&e.next(),n0(this.heap,0)}}};u(up,"HeapCursor");let hs=up;function n0(t,e){for(let n=t[e];;){let r=(e<<1)+1;if(r>=t.length)break;let i=t[r];if(r+1=0&&(i=t[r+1],r++),n.compare(i)<0)break;t[r]=n,t[e]=i,e=r}}u(n0,"heapBubble");const Gy=class Gy{constructor(e,n,r){this.minPoint=r,this.active=[],this.activeTo=[],this.activeRank=[],this.minActive=-1,this.point=null,this.pointFrom=0,this.pointRank=0,this.to=-1e9,this.endSide=0,this.openStart=-1,this.cursor=hs.from(e,n,r)}goto(e,n=-1e9){return this.cursor.goto(e,n),this.active.length=this.activeTo.length=this.activeRank.length=0,this.minActive=-1,this.to=e,this.endSide=n,this.openStart=-1,this.next(),this}forward(e,n){for(;this.minActive>-1&&(this.activeTo[this.minActive]-e||this.active[this.minActive].endSide-n)<0;)this.removeActive(this.minActive);this.cursor.forward(e,n)}removeActive(e){Md(this.active,e),Md(this.activeTo,e),Md(this.activeRank,e),this.minActive=mP(this.active,this.activeTo)}addActive(e){let n=0,{value:r,to:i,rank:l}=this.cursor;for(;n0;)n++;Bd(this.active,n,r),Bd(this.activeTo,n,i),Bd(this.activeRank,n,l),e&&Bd(e,n,this.cursor.from),this.minActive=mP(this.active,this.activeTo)}next(){let e=this.to,n=this.point;this.point=null;let r=this.openStart<0?[]:null;for(;;){let i=this.minActive;if(i>-1&&(this.activeTo[i]-this.cursor.from||this.active[i].endSide-this.cursor.startSide)<0){if(this.activeTo[i]>e){this.to=this.activeTo[i],this.endSide=this.active[i].endSide;break}this.removeActive(i),r&&Md(r,i)}else if(this.cursor.value)if(this.cursor.from>e){this.to=this.cursor.from,this.endSide=this.cursor.startSide;break}else{let l=this.cursor.value;if(!l.point)this.addActive(r),this.cursor.next();else if(n&&this.cursor.to==this.to&&this.cursor.from=0&&r[i]=0&&!(this.activeRank[r]e||this.activeTo[r]==e&&this.active[r].endSide>=this.point.endSide)&&n.push(this.active[r]);return n.reverse()}openEnd(e){let n=0;for(let r=this.activeTo.length-1;r>=0&&this.activeTo[r]>e;r--)n++;return n}};u(Gy,"SpanCursor");let el=Gy;function pP(t,e,n,r,i,l){t.goto(e),n.goto(r);let a=r+i,o=r,s=r-e;for(;;){let c=t.to+s-n.to||t.endSide-n.endSide,d=c<0?t.to+s:n.to,f=Math.min(d,a);if(t.point||n.point?t.point&&n.point&&(t.point==n.point||t.point.eq(n.point))&&r0(t.activeForPoint(t.to),n.activeForPoint(n.to))||l.comparePoint(o,f,t.point,n.point):f>o&&!r0(t.active,n.active)&&l.compareRange(o,f,t.active,n.active),d>a)break;o=d,c<=0&&t.next(),c>=0&&n.next()}}u(pP,"compare");function r0(t,e){if(t.length!=e.length)return!1;for(let n=0;n=e;r--)t[r+1]=t[r];t[e]=n}u(Bd,"insert");function mP(t,e){let n=-1,r=1e9;for(let i=0;i=e)return i;if(i==t.length)break;l+=t.charCodeAt(i)==9?n-l%n:1,i=gt(t,i)}return r===!0?-1:t.length}u(i0,"findColumn");const l0="\u037C",gP=typeof Symbol>"u"?"__"+l0:Symbol.for(l0),a0=typeof Symbol>"u"?"__styleSet"+Math.floor(Math.random()*1e8):Symbol("styleSet"),OP=typeof globalThis<"u"?globalThis:typeof window<"u"?window:{},Hy=class Hy{constructor(e,n){this.rules=[];let{finish:r}=n||{};function i(a){return/^@/.test(a)?[a]:a.split(/,\s*/)}u(i,"splitSelector");function l(a,o,s,c){let d=[],f=/^@(\w+)\b/.exec(a[0]),h=f&&f[1]=="keyframes";if(f&&o==null)return s.push(a[0]+";");for(let p in o){let m=o[p];if(/&/.test(p))l(p.split(/,\s*/).map(g=>a.map(O=>g.replace(/&/,O))).reduce((g,O)=>g.concat(O)),m,s);else if(m&&typeof m=="object"){if(!f)throw new RangeError("The value of a property ("+p+") should be a primitive value.");l(i(p),m,d,h)}else m!=null&&d.push(p.replace(/_.*/,"").replace(/[A-Z]/g,g=>"-"+g.toLowerCase())+": "+m+";")}(d.length||h)&&s.push((r&&!f&&!c?a.map(r):a).join(", ")+" {"+d.join(" ")+"}")}u(l,"render");for(let a in e)l(i(a),e[a],this.rules)}getRules(){return this.rules.join(` -`)}static newName(){let e=OP[gP]||1;return OP[gP]=e+1,l0+e.toString(36)}static mount(e,n,r){let i=e[a0],l=r&&r.nonce;i?l&&i.setNonce(l):i=new o0(e,l),i.mount(Array.isArray(n)?n:[n],e)}};u(Hy,"StyleModule");let Zn=Hy,bP=new Map;const _y=class _y{constructor(e,n){let r=e.ownerDocument||e,i=r.defaultView;if(!e.head&&e.adoptedStyleSheets&&i.CSSStyleSheet){let l=bP.get(r);if(l)return e[a0]=l;this.sheet=new i.CSSStyleSheet,bP.set(r,this)}else this.styleTag=r.createElement("style"),n&&this.styleTag.setAttribute("nonce",n);this.modules=[],e[a0]=this}mount(e,n){let r=this.sheet,i=0,l=0;for(let a=0;a-1&&(this.modules.splice(s,1),l--,s=-1),s==-1){if(this.modules.splice(l++,0,o),r)for(let c=0;c",191:"?",192:"~",219:"{",220:"|",221:"}",222:'"'},XF=typeof navigator<"u"&&/Mac/.test(navigator.platform),jF=typeof navigator<"u"&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent),Ke=0;Ke<10;Ke++)Pr[48+Ke]=Pr[96+Ke]=String(Ke);for(var Ke=1;Ke<=24;Ke++)Pr[Ke+111]="F"+Ke;for(var Ke=65;Ke<=90;Ke++)Pr[Ke]=String.fromCharCode(Ke+32),ps[Ke]=String.fromCharCode(Ke);for(var s0 in Pr)ps.hasOwnProperty(s0)||(ps[s0]=Pr[s0]);function yP(t){var e=XF&&t.metaKey&&t.shiftKey&&!t.ctrlKey&&!t.altKey||jF&&t.shiftKey&&t.key&&t.key.length==1||t.key=="Unidentified",n=!e&&t.key||(t.shiftKey?ps:Pr)[t.keyCode]||t.key||"Unidentified";return n=="Esc"&&(n="Escape"),n=="Del"&&(n="Delete"),n=="Left"&&(n="ArrowLeft"),n=="Up"&&(n="ArrowUp"),n=="Right"&&(n="ArrowRight"),n=="Down"&&(n="ArrowDown"),n}u(yP,"keyName");function ms(t){let e;return t.nodeType==11?e=t.getSelection?t:t.ownerDocument:e=t,e.getSelection()}u(ms,"getSelection$1");function u0(t,e){return e?t==e||t.contains(e.nodeType!=1?e.parentNode:e):!1}u(u0,"contains");function Vd(t,e){if(!e.anchorNode)return!1;try{return u0(t,e.anchorNode)}catch{return!1}}u(Vd,"hasSelection$1");function wa(t){return t.nodeType==3?nl(t,0,t.nodeValue.length).getClientRects():t.nodeType==1?t.getClientRects():[]}u(wa,"clientRectsFor");function gs(t,e,n,r){return n?vP(t,e,n,r,-1)||vP(t,e,n,r,1):!1}u(gs,"isEquivalentPosition$1");function tl(t){for(var e=0;;e++)if(t=t.previousSibling,!t)return e}u(tl,"domIndex$1");function Nd(t){return t.nodeType==1&&/^(DIV|P|LI|UL|OL|BLOCKQUOTE|DD|DT|H\d|SECTION|PRE)$/.test(t.nodeName)}u(Nd,"isBlockElement");function vP(t,e,n,r,i){for(;;){if(t==n&&e==r)return!0;if(e==(i<0?0:zn(t))){if(t.nodeName=="DIV")return!1;let l=t.parentNode;if(!l||l.nodeType!=1)return!1;e=tl(t)+(i<0?0:1),t=l}else if(t.nodeType==1){if(t=t.childNodes[e+(i<0?-1:0)],t.nodeType==1&&t.contentEditable=="false")return!1;e=i<0?zn(t):0}else return!1}}u(vP,"scanFor$1");function zn(t){return t.nodeType==3?t.nodeValue.length:t.childNodes.length}u(zn,"maxOffset");function Os(t,e){let n=e?t.left:t.right;return{left:n,right:n,top:t.top,bottom:t.bottom}}u(Os,"flattenRect");function qF(t){let e=t.visualViewport;return e?{left:0,right:e.width,top:0,bottom:e.height}:{left:0,right:t.innerWidth,top:0,bottom:t.innerHeight}}u(qF,"windowRect$1");function $P(t,e){let n=e.width/t.offsetWidth,r=e.height/t.offsetHeight;return(n>.995&&n<1.005||!isFinite(n)||Math.abs(e.width-t.offsetWidth)<1)&&(n=1),(r>.995&&r<1.005||!isFinite(r)||Math.abs(e.height-t.offsetHeight)<1)&&(r=1),{scaleX:n,scaleY:r}}u($P,"getScale");function UF(t,e,n,r,i,l,a,o){let s=t.ownerDocument,c=s.defaultView||window;for(let d=t,f=!1;d&&!f;)if(d.nodeType==1){let h,p=d==s.body,m=1,g=1;if(p)h=qF(c);else{if(/^(fixed|sticky)$/.test(getComputedStyle(d).position)&&(f=!0),d.scrollHeight<=d.clientHeight&&d.scrollWidth<=d.clientWidth){d=d.assignedSlot||d.parentNode;continue}let y=d.getBoundingClientRect();({scaleX:m,scaleY:g}=$P(d,y)),h={left:y.left,right:y.left+d.clientWidth*m,top:y.top,bottom:y.top+d.clientHeight*g}}let O=0,b=0;if(i=="nearest")e.top0&&e.bottom>h.bottom+b&&(b=e.bottom-h.bottom+b+a)):e.bottom>h.bottom&&(b=e.bottom-h.bottom+a,n<0&&e.top-b0&&e.right>h.right+O&&(O=e.right-h.right+O+l)):e.right>h.right&&(O=e.right-h.right+l,n<0&&e.lefti.clientHeight&&(r=i),!n&&i.scrollWidth>i.clientWidth&&(n=i),i=i.assignedSlot||i.parentNode;else if(i.nodeType==11)i=i.host;else break;return{x:n,y:r}}u(YF,"scrollableParents");const Jy=class Jy{constructor(){this.anchorNode=null,this.anchorOffset=0,this.focusNode=null,this.focusOffset=0}eq(e){return this.anchorNode==e.anchorNode&&this.anchorOffset==e.anchorOffset&&this.focusNode==e.focusNode&&this.focusOffset==e.focusOffset}setRange(e){let{anchorNode:n,focusNode:r}=e;this.set(n,Math.min(e.anchorOffset,n?zn(n):0),r,Math.min(e.focusOffset,r?zn(r):0))}set(e,n,r,i){this.anchorNode=e,this.anchorOffset=n,this.focusNode=r,this.focusOffset=i}};u(Jy,"DOMSelectionState");let c0=Jy,xa=null;function wP(t){if(t.setActive)return t.setActive();if(xa)return t.focus(xa);let e=[];for(let n=t;n&&(e.push(n,n.scrollTop,n.scrollLeft),n!=n.ownerDocument);n=n.parentNode);if(t.focus(xa==null?{get preventScroll(){return xa={preventScroll:!0},!0}}:void 0),!xa){xa=!1;for(let n=0;nMath.max(1,t.scrollHeight-t.clientHeight-4)}u(CP,"isScrolledToBottom");function DP(t,e){for(let n=t,r=e;;){if(n.nodeType==3&&r>0)return{node:n,offset:r};if(n.nodeType==1&&r>0){if(n.contentEditable=="false")return null;n=n.childNodes[r-1],r=zn(n)}else if(n.parentNode&&!Nd(n))r=tl(n),n=n.parentNode;else return null}}u(DP,"textNodeBefore$2");function kP(t,e){for(let n=t,r=e;;){if(n.nodeType==3&&rn)return f.domBoundsAround(e,n,c);if(h>=e&&i==-1&&(i=s,l=c),c>n&&f.dom.parentNode==this.dom){a=s,o=d;break}d=h,c=h+f.breakAfter}return{from:l,to:o<0?r+this.length:o,startDOM:(i?this.children[i-1].dom.nextSibling:null)||this.dom.firstChild,endDOM:a=0?this.children[a].dom:null}}markDirty(e=!1){this.flags|=2,this.markParentsDirty(e)}markParentsDirty(e){for(let n=this.parent;n;n=n.parent){if(e&&(n.flags|=2),n.flags&1)return;n.flags|=1,e=!1}}setParent(e){this.parent!=e&&(this.parent=e,this.flags&7&&this.markParentsDirty(!0))}setDOM(e){this.dom!=e&&(this.dom&&(this.dom.cmView=null),this.dom=e,e.cmView=this)}get rootView(){for(let e=this;;){let n=e.parent;if(!n)return e;e=n}}replaceChildren(e,n,r=d0){this.markDirty();for(let i=e;ithis.pos||e==this.pos&&(n>0||this.i==0||this.children[this.i-1].breakAfter))return this.off=e-this.pos,this;let r=this.children[--this.i];this.pos-=r.length+r.breakAfter}}};u(e4,"ChildCursor");let Fd=e4;function EP(t,e,n,r,i,l,a,o,s){let{children:c}=t,d=c.length?c[e]:null,f=l.length?l[l.length-1]:null,h=f?f.breakAfter:a;if(!(e==r&&d&&!a&&!h&&l.length<2&&d.merge(n,i,l.length?f:null,n==0,o,s))){if(r0&&(!a&&l.length&&d.merge(n,d.length,l[0],!1,o,0)?d.breakAfter=l.shift().breakAfter:(n2);var U={mac:BP||/Mac/.test(At.platform),windows:/Win/.test(At.platform),linux:/Linux|X11/.test(At.platform),ie:Id,ie_version:TP?f0.documentMode||6:p0?+p0[1]:h0?+h0[1]:0,gecko:RP,gecko_version:RP?+(/Firefox\/(\d+)/.exec(At.userAgent)||[0,0])[1]:0,chrome:!!m0,chrome_version:m0?+m0[1]:0,ios:BP,android:/Android\b/.test(At.userAgent),webkit:QP,safari:MP,webkit_version:QP?+(/\bAppleWebKit\/(\d+)/.exec(At.userAgent)||[0,0])[1]:0,tabSize:f0.documentElement.style.tabSize!=null?"tab-size":"-moz-tab-size"};const HF=256,Wu=class Wu extends Se{constructor(e){super(),this.text=e}get length(){return this.text.length}createDOM(e){this.setDOM(e||document.createTextNode(this.text))}sync(e,n){this.dom||this.createDOM(),this.dom.nodeValue!=this.text&&(n&&n.node==this.dom&&(n.written=!0),this.dom.nodeValue=this.text)}reuseDOM(e){e.nodeType==3&&this.createDOM(e)}merge(e,n,r){return this.flags&8||r&&(!(r instanceof Wu)||this.length-(n-e)+r.length>HF||r.flags&8)?!1:(this.text=this.text.slice(0,e)+(r?r.text:"")+this.text.slice(n),this.markDirty(),!0)}split(e){let n=new Wu(this.text.slice(e));return this.text=this.text.slice(0,e),this.markDirty(),n.flags|=this.flags&8,n}localPosFromDOM(e,n){return e==this.dom?n:n?this.text.length:0}domAtPos(e){return new bt(this.dom,e)}domBoundsAround(e,n,r){return{from:r,to:r+this.length,startDOM:this.dom,endDOM:this.dom.nextSibling}}coordsAt(e,n){return _F(this.dom,e,n)}};u(Wu,"TextView");let Ln=Wu;const Xu=class Xu extends Se{constructor(e,n=[],r=0){super(),this.mark=e,this.children=n,this.length=r;for(let i of n)i.setParent(this)}setAttrs(e){if(SP(e),this.mark.class&&(e.className=this.mark.class),this.mark.attrs)for(let n in this.mark.attrs)e.setAttribute(n,this.mark.attrs[n]);return e}canReuseDOM(e){return super.canReuseDOM(e)&&!((this.flags|e.flags)&8)}reuseDOM(e){e.nodeName==this.mark.tagName.toUpperCase()&&(this.setDOM(e),this.flags|=6)}sync(e,n){this.dom?this.flags&4&&this.setAttrs(this.dom):this.setDOM(this.setAttrs(document.createElement(this.mark.tagName))),super.sync(e,n)}merge(e,n,r,i,l,a){return r&&(!(r instanceof Xu&&r.mark.eq(this.mark))||e&&l<=0||ne&&n.push(r=e&&(i=l),r=s,l++}let a=this.length-e;return this.length=e,i>-1&&(this.children.length=i,this.markDirty()),new Xu(this.mark,n,a)}domAtPos(e){return VP(this,e)}coordsAt(e,n){return FP(this,e,n)}};u(Xu,"MarkView");let li=Xu;function _F(t,e,n){let r=t.nodeValue.length;e>r&&(e=r);let i=e,l=e,a=0;e==0&&n<0||e==r&&n>=0?U.chrome||U.gecko||(e?(i--,a=1):l=0)?0:o.length-1];return U.safari&&!a&&s.width==0&&(s=Array.prototype.find.call(o,c=>c.width)||s),a?Os(s,a<0):s||null}u(_F,"textCoords");const Al=class Al extends Se{static create(e,n,r){return new Al(e,n,r)}constructor(e,n,r){super(),this.widget=e,this.length=n,this.side=r,this.prevWidget=null}split(e){let n=Al.create(this.widget,this.length-e,this.side);return this.length-=e,n}sync(e){(!this.dom||!this.widget.updateDOM(this.dom,e))&&(this.dom&&this.prevWidget&&this.prevWidget.destroy(this.dom),this.prevWidget=null,this.setDOM(this.widget.toDOM(e)),this.widget.editable||(this.dom.contentEditable="false"))}getSide(){return this.side}merge(e,n,r,i,l,a){return r&&(!(r instanceof Al)||!this.widget.compare(r.widget)||e>0&&l<=0||n0)?bt.before(this.dom):bt.after(this.dom,e==this.length)}domBoundsAround(){return null}coordsAt(e,n){let r=this.widget.coordsAt(this.dom,e,n);if(r)return r;let i=this.dom.getClientRects(),l=null;if(!i.length)return null;let a=this.side?this.side<0:e>0;for(let o=a?i.length-1:0;l=i[o],!(e>0?o==0:o==i.length-1||l.top0?bt.before(this.dom):bt.after(this.dom)}localPosFromDOM(){return 0}domBoundsAround(){return null}coordsAt(e){return this.dom.getBoundingClientRect()}get overrideDOMText(){return de.empty}get isHidden(){return!0}};u(ju,"WidgetBufferView");let bs=ju;Ln.prototype.children=Zd.prototype.children=bs.prototype.children=d0;function VP(t,e){let n=t.dom,{children:r}=t,i=0;for(let l=0;il&&e0;l--){let a=r[l-1];if(a.dom.parentNode==n)return a.domAtPos(a.length)}for(let l=i;l0&&e instanceof li&&i.length&&(r=i[i.length-1])instanceof li&&r.mark.eq(e.mark)?NP(r,e.children[0],n-1):(i.push(e),e.setParent(t)),t.length+=e.length}u(NP,"joinInlineInto");function FP(t,e,n){let r=null,i=-1,l=null,a=-1;function o(c,d){for(let f=0,h=0;f=d&&(p.children.length?o(p,d-h):(!l||l.isHidden&&n>0)&&(m>d||h==m&&p.getSide()>0)?(l=p,a=d-h):(h-1?1:0)!=i.length-(n&&i.indexOf(n)>-1?1:0))return!1;for(let l of r)if(l!=n&&(i.indexOf(l)==-1||t[l]!==e[l]))return!1;return!0}u(zd,"attrsEq");function O0(t,e,n){let r=!1;if(e)for(let i in e)n&&i in n||(r=!0,i=="style"?t.style.cssText="":t.removeAttribute(i));if(n)for(let i in n)e&&e[i]==n[i]||(r=!0,i=="style"?t.style.cssText=n[i]:t.setAttribute(i,n[i]));return r}u(O0,"updateAttrs");function eI(t){let e=Object.create(null);for(let n=0;n0?3e8:-4e8:n>0?1e8:-1e8,new ai(e,n,n,r,e.widget||null,!1)}static replace(e){let n=!!e.block,r,i;if(e.isBlockGap)r=-5e8,i=4e8;else{let{start:l,end:a}=ZP(e,n);r=(l?n?-3e8:-1:5e8)-1,i=(a?n?2e8:1:-6e8)+1}return new ai(e,r,i,n,e.widget||null,!0)}static line(e){return new vs(e)}static set(e,n=!1){return xe.of(e,n)}hasHeight(){return this.widget?this.widget.estimatedHeight>-1:!1}},u(Uu,"Decoration"),Uu);ne.none=xe.empty;const cp=class cp extends ne{constructor(e){let{start:n,end:r}=ZP(e);super(n?-1:5e8,r?1:-6e8,null,e),this.tagName=e.tagName||"span",this.class=e.class||"",this.attrs=e.attributes||null}eq(e){var n,r;return this==e||e instanceof cp&&this.tagName==e.tagName&&(this.class||((n=this.attrs)===null||n===void 0?void 0:n.class))==(e.class||((r=e.attrs)===null||r===void 0?void 0:r.class))&&zd(this.attrs,e.attrs,"class")}range(e,n=e){if(e>=n)throw new RangeError("Mark decorations may not be empty");return super.range(e,n)}};u(cp,"MarkDecoration");let ys=cp;ys.prototype.point=!1;const dp=class dp extends ne{constructor(e){super(-2e8,-2e8,null,e)}eq(e){return e instanceof dp&&this.spec.class==e.spec.class&&zd(this.spec.attributes,e.spec.attributes)}range(e,n=e){if(n!=e)throw new RangeError("Line decoration ranges must be zero-length");return super.range(e,n)}};u(dp,"LineDecoration");let vs=dp;vs.prototype.mapMode=lt.TrackBefore,vs.prototype.point=!0;const fp=class fp extends ne{constructor(e,n,r,i,l,a){super(n,r,l,e),this.block=i,this.isReplace=a,this.mapMode=i?n<=0?lt.TrackBefore:lt.TrackAfter:lt.TrackDel}get type(){return this.startSide!=this.endSide?yt.WidgetRange:this.startSide<=0?yt.WidgetBefore:yt.WidgetAfter}get heightRelevant(){return this.block||!!this.widget&&(this.widget.estimatedHeight>=5||this.widget.lineBreaks>0)}eq(e){return e instanceof fp&&tI(this.widget,e.widget)&&this.block==e.block&&this.startSide==e.startSide&&this.endSide==e.endSide}range(e,n=e){if(this.isReplace&&(e>n||e==n&&this.startSide>0&&this.endSide<=0))throw new RangeError("Invalid range for replacement decoration");if(!this.isReplace&&n!=e)throw new RangeError("Widget decorations can only have zero-length ranges");return super.range(e,n)}};u(fp,"PointDecoration");let ai=fp;ai.prototype.point=!0;function ZP(t,e=!1){let{inclusiveStart:n,inclusiveEnd:r}=t;return n==null&&(n=t.inclusive),r==null&&(r=t.inclusive),{start:n??e,end:r??e}}u(ZP,"getInclusive");function tI(t,e){return t==e||!!(t&&e&&t.compare(e))}u(tI,"widgetsEq");function b0(t,e,n,r=0){let i=n.length-1;i>=0&&n[i]+r>=t?n[i]=Math.max(n[i],e):n.push(t,e)}u(b0,"addRange$1");const Tl=class Tl extends Se{constructor(){super(...arguments),this.children=[],this.length=0,this.prevAttrs=void 0,this.attrs=null,this.breakAfter=0}merge(e,n,r,i,l,a){if(r){if(!(r instanceof Tl))return!1;this.dom||r.transferDOM(this)}return i&&this.setDeco(r?r.attrs:null),AP(this,e,n,r?r.children.slice():[],l,a),!0}split(e){let n=new Tl;if(n.breakAfter=this.breakAfter,this.length==0)return n;let{i:r,off:i}=this.childPos(e);i&&(n.append(this.children[r].split(i),0),this.children[r].merge(i,this.children[r].length,null,!1,0,0),r++);for(let l=r;l0&&this.children[r-1].length==0;)this.children[--r].destroy();return this.children.length=r,this.markDirty(),this.length=e,n}transferDOM(e){this.dom&&(this.markDirty(),e.setDOM(this.dom),e.prevAttrs=this.prevAttrs===void 0?this.attrs:this.prevAttrs,this.prevAttrs=void 0,this.dom=null)}setDeco(e){zd(this.attrs,e)||(this.dom&&(this.prevAttrs=this.attrs,this.markDirty()),this.attrs=e)}append(e,n){NP(this,e,n)}addLineDeco(e){let n=e.spec.attributes,r=e.spec.class;n&&(this.attrs=g0(n,this.attrs||{})),r&&(this.attrs=g0({class:r},this.attrs||{}))}domAtPos(e){return VP(this,e)}reuseDOM(e){e.nodeName=="DIV"&&(this.setDOM(e),this.flags|=6)}sync(e,n){var r;this.dom?this.flags&4&&(SP(this.dom),this.dom.className="cm-line",this.prevAttrs=this.attrs?null:void 0):(this.setDOM(document.createElement("div")),this.dom.className="cm-line",this.prevAttrs=this.attrs?null:void 0),this.prevAttrs!==void 0&&(O0(this.dom,this.prevAttrs,this.attrs),this.dom.classList.add("cm-line"),this.prevAttrs=void 0),super.sync(e,n);let i=this.dom.lastChild;for(;i&&Se.get(i)instanceof li;)i=i.lastChild;if(!i||!this.length||i.nodeName!="BR"&&((r=Se.get(i))===null||r===void 0?void 0:r.isEditable)==!1&&(!U.ios||!this.children.some(l=>l instanceof Ln))){let l=document.createElement("BR");l.cmIgnore=!0,this.dom.appendChild(l)}}measureTextSize(){if(this.children.length==0||this.length>20)return null;let e=0,n;for(let r of this.children){if(!(r instanceof Ln)||/[^ -~]/.test(r.text))return null;let i=wa(r.dom);if(i.length!=1)return null;e+=i[0].width,n=i[0].height}return e?{lineHeight:this.dom.getBoundingClientRect().height,charWidth:e/this.length,textHeight:n}:null}coordsAt(e,n){let r=FP(this,e,n);if(!this.children.length&&r&&this.parent){let{heightOracle:i}=this.parent.view.viewState,l=r.bottom-r.top;if(Math.abs(l-i.lineHeight)<2&&i.textHeight=n){if(l instanceof Tl)return l;if(a>n)break}i=a+l.breakAfter}return null}};u(Tl,"LineView");let Ge=Tl;const so=class so extends Se{constructor(e,n,r){super(),this.widget=e,this.length=n,this.deco=r,this.breakAfter=0,this.prevWidget=null}merge(e,n,r,i,l,a){return r&&(!(r instanceof so)||!this.widget.compare(r.widget)||e>0&&l<=0||n0}};u(so,"BlockWidgetView");let rl=so;const t4=class t4 extends Wn{constructor(e){super(),this.height=e}toDOM(){let e=document.createElement("div");return e.className="cm-gap",this.updateDOM(e),e}eq(e){return e.height==this.height}updateDOM(e){return e.style.height=this.height+"px",!0}get editable(){return!0}get estimatedHeight(){return this.height}ignoreEvent(){return!1}};u(t4,"BlockGapWidget");let $s=t4;const hp=class hp{constructor(e,n,r,i){this.doc=e,this.pos=n,this.end=r,this.disallowBlockEffectsFor=i,this.content=[],this.curLine=null,this.breakAtStart=0,this.pendingBuffer=0,this.bufferMarks=[],this.atCursorPos=!0,this.openStart=-1,this.openEnd=-1,this.text="",this.textOff=0,this.cursor=e.iter(),this.skip=n}posCovered(){if(this.content.length==0)return!this.breakAtStart&&this.doc.lineAt(this.pos).from!=this.pos;let e=this.content[this.content.length-1];return!(e.breakAfter||e instanceof rl&&e.deco.endSide<0)}getLine(){return this.curLine||(this.content.push(this.curLine=new Ge),this.atCursorPos=!0),this.curLine}flushBuffer(e=this.bufferMarks){this.pendingBuffer&&(this.curLine.append(Ld(new bs(-1),e),e.length),this.pendingBuffer=0)}addBlockWidget(e){this.flushBuffer(),this.curLine=null,this.content.push(e)}finish(e){this.pendingBuffer&&e<=this.bufferMarks.length?this.flushBuffer():this.pendingBuffer=0,!this.posCovered()&&!(e&&this.content.length&&this.content[this.content.length-1]instanceof rl)&&this.getLine()}buildText(e,n,r){for(;e>0;){if(this.textOff==this.text.length){let{value:l,lineBreak:a,done:o}=this.cursor.next(this.skip);if(this.skip=0,o)throw new Error("Ran out of text content when drawing inline views");if(a){this.posCovered()||this.getLine(),this.content.length?this.content[this.content.length-1].breakAfter=1:this.breakAtStart=1,this.flushBuffer(),this.curLine=null,this.atCursorPos=!0,e--;continue}else this.text=l,this.textOff=0}let i=Math.min(this.text.length-this.textOff,e,512);this.flushBuffer(n.slice(n.length-r)),this.getLine().append(Ld(new Ln(this.text.slice(this.textOff,this.textOff+i)),n),r),this.atCursorPos=!0,this.textOff+=i,e-=i,r=0}}span(e,n,r,i){this.buildText(n-e,r,i),this.pos=n,this.openStart<0&&(this.openStart=i)}point(e,n,r,i,l,a){if(this.disallowBlockEffectsFor[a]&&r instanceof ai){if(r.block)throw new RangeError("Block decorations may not be specified via plugins");if(n>this.doc.lineAt(this.pos).to)throw new RangeError("Decorations that replace line breaks may not be specified via plugins")}let o=n-e;if(r instanceof ai)if(r.block)r.startSide>0&&!this.posCovered()&&this.getLine(),this.addBlockWidget(new rl(r.widget||oi.block,o,r));else{let s=Zd.create(r.widget||oi.inline,o,o?0:r.startSide),c=this.atCursorPos&&!s.isEditable&&l<=i.length&&(e0),d=!s.isEditable&&(ei.length||r.startSide<=0),f=this.getLine();this.pendingBuffer==2&&!c&&!s.isEditable&&(this.pendingBuffer=0),this.flushBuffer(i),c&&(f.append(Ld(new bs(1),i),l),l=i.length+Math.max(0,l-i.length)),f.append(Ld(s,i),l),this.atCursorPos=d,this.pendingBuffer=d?ei.length?1:2:0,this.pendingBuffer&&(this.bufferMarks=i.slice())}else this.doc.lineAt(this.pos).from==this.pos&&this.getLine().addLineDeco(r);o&&(this.textOff+o<=this.text.length?this.textOff+=o:(this.skip+=o-(this.text.length-this.textOff),this.text="",this.textOff=0),this.pos=n),this.openStart<0&&(this.openStart=l)}static build(e,n,r,i,l){let a=new hp(e,n,r,l);return a.openEnd=xe.spans(i,n,r,a),a.openStart<0&&(a.openStart=a.openEnd),a.finish(a.openEnd),a}};u(hp,"ContentBuilder");let ws=hp;function Ld(t,e){for(let n of e)t=new li(n,[t],t.length);return t}u(Ld,"wrapMarks$1");const n4=class n4 extends Wn{constructor(e){super(),this.tag=e}eq(e){return e.tag==this.tag}toDOM(){return document.createElement(this.tag)}updateDOM(e){return e.nodeName.toLowerCase()==this.tag}get isHidden(){return!0}};u(n4,"NullWidget");let oi=n4;oi.inline=new oi("span"),oi.block=new oi("div");var Pe=function(t){return t[t.LTR=0]="LTR",t[t.RTL=1]="RTL",t}(Pe||(Pe={}));const il=Pe.LTR,y0=Pe.RTL;function zP(t){let e=[];for(let n=0;n=n){if(o.level==r)return a;(l<0||(i!=0?i<0?o.fromn:e[l].level>o.level))&&(l=a)}}if(l<0)throw new RangeError("Index out of range");return l}};u(r4,"BidiSpan");let jn=r4;function WP(t,e){if(t.length!=e.length)return!1;for(let n=0;n=0;g-=3)if(Xn[g+1]==-p){let O=Xn[g+2],b=O&2?i:O&4?O&1?l:i:0;b&&(be[f]=be[Xn[g]]=b),o=g;break}}else{if(Xn.length==189)break;Xn[o++]=f,Xn[o++]=h,Xn[o++]=s}else if((m=be[f])==2||m==1){let g=m==i;s=g?0:1;for(let O=o-3;O>=0;O-=3){let b=Xn[O+2];if(b&2)break;if(g)Xn[O+2]|=2;else{if(b&4)break;Xn[O+2]|=4}}}}}u(aI,"processBracketPairs");function oI(t,e,n,r){for(let i=0,l=r;i<=n.length;i++){let a=i?n[i-1].to:t,o=is;)m==O&&(m=n[--g].from,O=g?n[g-1].to:t),be[--m]=p;s=d}else l=c,s++}}}u(oI,"processNeutrals");function $0(t,e,n,r,i,l,a){let o=r%2?2:1;if(r%2==i%2)for(let s=e,c=0;ss&&a.push(new jn(s,g.from,p));let O=g.direction==il!=!(p%2);w0(t,O?r+1:r,i,g.inner,g.from,g.to,a),s=g.to}m=g.to}else{if(m==n||(d?be[m]!=o:be[m]==o))break;m++}h?$0(t,s,m,r+1,i,h,a):se;){let d=!0,f=!1;if(!c||s>l[c-1].to){let g=be[s-1];g!=o&&(d=!1,f=g==16)}let h=!d&&o==1?[]:null,p=d?r:r+1,m=s;e:for(;;)if(c&&m==l[c-1].to){if(f)break e;let g=l[--c];if(!d)for(let O=g.from,b=c;;){if(O==e)break e;if(b&&l[b-1].to==O)O=l[--b].from;else{if(be[O-1]==o)break e;break}}if(h)h.push(g);else{g.tobe.length;)be[be.length]=256;let r=[],i=e==il?0:1;return w0(t,i,i,n,0,t.length,r),r}u(sI,"computeOrder");function XP(t){return[new jn(0,t,0)]}u(XP,"trivialOrder");let jP="";function uI(t,e,n,r,i){var l;let a=r.head-t.from,o=jn.find(e,a,(l=r.bidiLevel)!==null&&l!==void 0?l:-1,r.assoc),s=e[o],c=s.side(i,n);if(a==c){let h=o+=i?1:-1;if(h<0||h>=e.length)return null;s=e[o=h],a=s.side(!i,n),c=s.side(i,n)}let d=gt(t.text,a,s.forward(i,n));(ds.to)&&(d=c),jP=t.text.slice(Math.min(a,d),Math.max(a,d));let f=o==(i?e.length-1:0)?null:e[o+(i?1:-1)];return f&&d==c&&f.level+(i?0:1)t.some(e=>e)}),JP=G.define({combine:t=>t.some(e=>e)}),eE=G.define(),Yu=class Yu{constructor(e,n="nearest",r="nearest",i=5,l=5,a=!1){this.range=e,this.y=n,this.x=r,this.yMargin=i,this.xMargin=l,this.isSnapshot=a}map(e){return e.empty?this:new Yu(this.range.map(e),this.y,this.x,this.yMargin,this.xMargin,this.isSnapshot)}clip(e){return this.range.to<=e.doc.length?this:new Yu(z.cursor(e.doc.length),this.y,this.x,this.yMargin,this.xMargin,this.isSnapshot)}};u(Yu,"ScrollTarget");let xs=Yu;const Wd=pe.define({map:(t,e)=>t.map(e)}),tE=pe.define();function Lt(t,e,n){let r=t.facet(KP);r.length?r[0](e):window.onerror?window.onerror(String(e),n,void 0,void 0,e):n?console.error(n+":",e):console.error(e)}u(Lt,"logException");const si=G.define({combine:t=>t.length?t[0]:!0});let dI=0;const Ss=G.define(),Ku=class Ku{constructor(e,n,r,i,l){this.id=e,this.create=n,this.domEventHandlers=r,this.domEventObservers=i,this.extension=l(this)}static define(e,n){const{eventHandlers:r,eventObservers:i,provide:l,decorations:a}=n||{};return new Ku(dI++,e,r,i,o=>{let s=[Ss.of(o)];return a&&s.push(Ds.of(c=>{let d=c.plugin(o);return d?a(d):ne.none})),l&&s.push(l(o)),s})}static fromClass(e,n){return Ku.define(r=>new e(r),n)}};u(Ku,"ViewPlugin");let He=Ku;const i4=class i4{constructor(e){this.spec=e,this.mustUpdate=null,this.value=null}update(e){if(this.value){if(this.mustUpdate){let n=this.mustUpdate;if(this.mustUpdate=null,this.value.update)try{this.value.update(n)}catch(r){if(Lt(n.state,r,"CodeMirror plugin crashed"),this.value.destroy)try{this.value.destroy()}catch{}this.deactivate()}}}else if(this.spec)try{this.value=this.spec.create(e)}catch(n){Lt(e.state,n,"CodeMirror plugin crashed"),this.deactivate()}return this}destroy(e){var n;if(!((n=this.value)===null||n===void 0)&&n.destroy)try{this.value.destroy()}catch(r){Lt(e.state,r,"CodeMirror plugin crashed")}}deactivate(){this.spec=this.value=null}};u(i4,"PluginInstance");let Cs=i4;const nE=G.define(),D0=G.define(),Ds=G.define(),rE=G.define(),k0=G.define(),iE=G.define();function lE(t,e){let n=t.state.facet(iE);if(!n.length)return n;let r=n.map(l=>l instanceof Function?l(t):l),i=[];return xe.spans(r,e.from,e.to,{point(){},span(l,a,o,s){let c=l-e.from,d=a-e.from,f=i;for(let h=o.length-1;h>=0;h--,s--){let p=o[h].spec.bidiIsolate,m;if(p==null&&(p=cI(e.text,c,d)),s>0&&f.length&&(m=f[f.length-1]).to==c&&m.direction==p)m.to=d,f=m.inner;else{let g={from:c,to:d,direction:p,inner:[]};f.push(g),f=g.inner}}}}),i}u(lE,"getIsolatedRanges");const aE=G.define();function oE(t){let e=0,n=0,r=0,i=0;for(let l of t.state.facet(aE)){let a=l(t);a&&(a.left!=null&&(e=Math.max(e,a.left)),a.right!=null&&(n=Math.max(n,a.right)),a.top!=null&&(r=Math.max(r,a.top)),a.bottom!=null&&(i=Math.max(i,a.bottom)))}return{left:e,right:n,top:r,bottom:i}}u(oE,"getScrollMargins");const ks=G.define(),uo=class uo{constructor(e,n,r,i){this.fromA=e,this.toA=n,this.fromB=r,this.toB=i}join(e){return new uo(Math.min(this.fromA,e.fromA),Math.max(this.toA,e.toA),Math.min(this.fromB,e.fromB),Math.max(this.toB,e.toB))}addToSet(e){let n=e.length,r=this;for(;n>0;n--){let i=e[n-1];if(!(i.fromA>r.toA)){if(i.toAd)break;l+=2}if(!s)return r;new uo(s.fromA,s.toA,s.fromB,s.toB).addToSet(r),a=s.toA,o=s.toB}}};u(uo,"ChangedRange");let qn=uo;const pp=class pp{constructor(e,n,r){this.view=e,this.state=n,this.transactions=r,this.flags=0,this.startState=e.state,this.changes=Zt.empty(this.startState.doc.length);for(let l of r)this.changes=this.changes.compose(l.changes);let i=[];this.changes.iterChangedRanges((l,a,o,s)=>i.push(new qn(l,a,o,s))),this.changedRanges=i}static create(e,n,r){return new pp(e,n,r)}get viewportChanged(){return(this.flags&4)>0}get heightChanged(){return(this.flags&2)>0}get geometryChanged(){return this.docChanged||(this.flags&10)>0}get focusChanged(){return(this.flags&1)>0}get docChanged(){return!this.changes.empty}get selectionSet(){return this.transactions.some(e=>e.selection)}get empty(){return this.flags==0&&this.transactions.length==0}};u(pp,"ViewUpdate");let Xd=pp;const l4=class l4 extends Se{get length(){return this.view.state.doc.length}constructor(e){super(),this.view=e,this.decorations=[],this.dynamicDecorationMap=[!1],this.domChanged=null,this.hasComposition=null,this.markedForComposition=new Set,this.editContextFormatting=ne.none,this.lastCompositionAfterCursor=!1,this.minWidth=0,this.minWidthFrom=0,this.minWidthTo=0,this.impreciseAnchor=null,this.impreciseHead=null,this.forceSelection=!1,this.lastUpdate=Date.now(),this.setDOM(e.contentDOM),this.children=[new Ge],this.children[0].setParent(this),this.updateDeco(),this.updateInner([new qn(0,0,0,e.state.doc.length)],0,null)}update(e){var n;let r=e.changedRanges;this.minWidth>0&&r.length&&(r.every(({fromA:c,toA:d})=>dthis.minWidthTo)?(this.minWidthFrom=e.changes.mapPos(this.minWidthFrom,1),this.minWidthTo=e.changes.mapPos(this.minWidthTo,1)):this.minWidth=this.minWidthFrom=this.minWidthTo=0),this.updateEditContextFormatting(e);let i=-1;this.view.inputState.composing>=0&&!this.view.observer.editContext&&(!((n=this.domChanged)===null||n===void 0)&&n.newSel?i=this.domChanged.newSel.head:!bI(e.changes,this.hasComposition)&&!e.selectionSet&&(i=e.state.selection.main.head));let l=i>-1?hI(this.view,e.changes,i):null;if(this.domChanged=null,this.hasComposition){this.markedForComposition.clear();let{from:c,to:d}=this.hasComposition;r=new qn(c,d,e.changes.mapPos(c,-1),e.changes.mapPos(d,1)).addToSet(r.slice())}this.hasComposition=l?{from:l.range.fromB,to:l.range.toB}:null,(U.ie||U.chrome)&&!l&&e&&e.state.doc.lines!=e.startState.doc.lines&&(this.forceSelection=!0);let a=this.decorations,o=this.updateDeco(),s=gI(a,o,e.changes);return r=qn.extendWithRanges(r,s),!(this.flags&7)&&r.length==0?!1:(this.updateInner(r,e.startState.doc.length,l),e.transactions.length&&(this.lastUpdate=Date.now()),!0)}updateInner(e,n,r){this.view.viewState.mustMeasureContent=!0,this.updateChildren(e,n,r);let{observer:i}=this.view;i.ignore(()=>{this.dom.style.height=this.view.viewState.contentHeight/this.view.scaleY+"px",this.dom.style.flexBasis=this.minWidth?this.minWidth+"px":"";let a=U.chrome||U.ios?{node:i.selectionRange.focusNode,written:!1}:void 0;this.sync(this.view,a),this.flags&=-8,a&&(a.written||i.selectionRange.focusNode!=a.node)&&(this.forceSelection=!0),this.dom.style.height=""}),this.markedForComposition.forEach(a=>a.flags&=-9);let l=[];if(this.view.viewport.from||this.view.viewport.to=0?i[a]:null;if(!o)break;let{fromA:s,toA:c,fromB:d,toB:f}=o,h,p,m,g;if(r&&r.range.fromBd){let C=ws.build(this.view.state.doc,d,r.range.fromB,this.decorations,this.dynamicDecorationMap),w=ws.build(this.view.state.doc,r.range.toB,f,this.decorations,this.dynamicDecorationMap);p=C.breakAtStart,m=C.openStart,g=w.openEnd;let x=this.compositionView(r);w.breakAtStart?x.breakAfter=1:w.content.length&&x.merge(x.length,x.length,w.content[0],!1,w.openStart,0)&&(x.breakAfter=w.content[0].breakAfter,w.content.shift()),C.content.length&&x.merge(0,0,C.content[C.content.length-1],!0,0,C.openEnd)&&C.content.pop(),h=C.content.concat(x).concat(w.content)}else({content:h,breakAtStart:p,openStart:m,openEnd:g}=ws.build(this.view.state.doc,d,f,this.decorations,this.dynamicDecorationMap));let{i:O,off:b}=l.findPos(c,1),{i:y,off:$}=l.findPos(s,-1);EP(this,y,$,O,b,h,p,m,g)}r&&this.fixCompositionDOM(r)}updateEditContextFormatting(e){this.editContextFormatting=this.editContextFormatting.map(e.changes);for(let n of e.transactions)for(let r of n.effects)r.is(tE)&&(this.editContextFormatting=r.value)}compositionView(e){let n=new Ln(e.text.nodeValue);n.flags|=8;for(let{deco:i}of e.marks)n=new li(i,[n],n.length);let r=new Ge;return r.append(n,0),r}fixCompositionDOM(e){let n=u((l,a)=>{a.flags|=8|(a.children.some(s=>s.flags&7)?1:0),this.markedForComposition.add(a);let o=Se.get(l);o&&o!=a&&(o.dom=null),a.setDOM(l)},"fix"),r=this.childPos(e.range.fromB,1),i=this.children[r.i];n(e.line,i);for(let l=e.marks.length-1;l>=-1;l--)r=i.childPos(r.off,1),i=i.children[r.i],n(l>=0?e.marks[l].node:e.text,i)}updateSelection(e=!1,n=!1){(e||!this.view.observer.selectionRange.focusNode)&&this.view.observer.readSelectionRange();let r=this.view.root.activeElement,i=r==this.dom,l=!i&&Vd(this.dom,this.view.observer.selectionRange)&&!(r&&this.dom.contains(r));if(!(i||n||l))return;let a=this.forceSelection;this.forceSelection=!1;let o=this.view.state.selection.main,s=this.moveToLine(this.domAtPos(o.anchor)),c=o.empty?s:this.moveToLine(this.domAtPos(o.head));if(U.gecko&&o.empty&&!this.hasComposition&&fI(s)){let f=document.createTextNode("");this.view.observer.ignore(()=>s.node.insertBefore(f,s.node.childNodes[s.offset]||null)),s=c=new bt(f,0),a=!0}let d=this.view.observer.selectionRange;(a||!d.focusNode||(!gs(s.node,s.offset,d.anchorNode,d.anchorOffset)||!gs(c.node,c.offset,d.focusNode,d.focusOffset))&&!this.suppressWidgetCursorChange(d,o))&&(this.view.observer.ignore(()=>{U.android&&U.chrome&&this.dom.contains(d.focusNode)&&OI(d.focusNode,this.dom)&&(this.dom.blur(),this.dom.focus({preventScroll:!0}));let f=ms(this.view.root);if(f)if(o.empty){if(U.gecko){let h=pI(s.node,s.offset);if(h&&h!=3){let p=(h==1?DP:kP)(s.node,s.offset);p&&(s=new bt(p.node,p.offset))}}f.collapse(s.node,s.offset),o.bidiLevel!=null&&f.caretBidiLevel!==void 0&&(f.caretBidiLevel=o.bidiLevel)}else if(f.extend){f.collapse(s.node,s.offset);try{f.extend(c.node,c.offset)}catch{}}else{let h=document.createRange();o.anchor>o.head&&([s,c]=[c,s]),h.setEnd(c.node,c.offset),h.setStart(s.node,s.offset),f.removeAllRanges(),f.addRange(h)}l&&this.view.root.activeElement==this.dom&&(this.dom.blur(),r&&r.focus())}),this.view.observer.setSelectionRange(s,c)),this.impreciseAnchor=s.precise?null:new bt(d.anchorNode,d.anchorOffset),this.impreciseHead=c.precise?null:new bt(d.focusNode,d.focusOffset)}suppressWidgetCursorChange(e,n){return this.hasComposition&&n.empty&&gs(e.focusNode,e.focusOffset,e.anchorNode,e.anchorOffset)&&this.posFromDOM(e.focusNode,e.focusOffset)==n.head}enforceCursorAssoc(){if(this.hasComposition)return;let{view:e}=this,n=e.state.selection.main,r=ms(e.root),{anchorNode:i,anchorOffset:l}=e.observer.selectionRange;if(!r||!n.empty||!n.assoc||!r.modify)return;let a=Ge.find(this,n.head);if(!a)return;let o=a.posAtStart;if(n.head==o||n.head==o+a.length)return;let s=this.coordsAt(n.head,-1),c=this.coordsAt(n.head,1);if(!s||!c||s.bottom>c.top)return;let d=this.domAtPos(n.head+n.assoc);r.collapse(d.node,d.offset),r.modify("move",n.assoc<0?"forward":"backward","lineboundary"),e.observer.readSelectionRange();let f=e.observer.selectionRange;e.docView.posFromDOM(f.anchorNode,f.anchorOffset)!=n.from&&r.collapse(i,l)}moveToLine(e){let n=this.dom,r;if(e.node!=n)return e;for(let i=e.offset;!r&&i=0;i--){let l=Se.get(n.childNodes[i]);l instanceof Ge&&(r=l.domAtPos(l.length))}return r?new bt(r.node,r.offset,!0):e}nearest(e){for(let n=e;n;){let r=Se.get(n);if(r&&r.rootView==this)return r;n=n.parentNode}return null}posFromDOM(e,n){let r=this.nearest(e);if(!r)throw new RangeError("Trying to find position for a DOM position outside of the document");return r.localPosFromDOM(e,n)+r.posAtStart}domAtPos(e){let{i:n,off:r}=this.childCursor().findPos(e,-1);for(;n=0;a--){let o=this.children[a],s=l-o.breakAfter,c=s-o.length;if(se||o.covers(1))&&(!r||o instanceof Ge&&!(r instanceof Ge&&n>=0)))r=o,i=c;else if(r&&c==e&&s==e&&o instanceof rl&&Math.abs(n)<2){if(o.deco.startSide<0)break;a&&(r=null)}l=c}return r?r.coordsAt(e-i,n):null}coordsForChar(e){let{i:n,off:r}=this.childPos(e,1),i=this.children[n];if(!(i instanceof Ge))return null;for(;i.children.length;){let{i:o,off:s}=i.childPos(r,1);for(;;o++){if(o==i.children.length)return null;if((i=i.children[o]).length)break}r=s}if(!(i instanceof Ln))return null;let l=gt(i.text,r);if(l==r)return null;let a=nl(i.dom,r,l).getClientRects();for(let o=0;oMath.max(this.view.scrollDOM.clientWidth,this.minWidth)+1,o=-1,s=this.view.textDirection==Pe.LTR;for(let c=0,d=0;di)break;if(c>=r){let p=f.dom.getBoundingClientRect();if(n.push(p.height),a){let m=f.dom.lastChild,g=m?wa(m):[];if(g.length){let O=g[g.length-1],b=s?O.right-p.left:p.right-O.left;b>o&&(o=b,this.minWidth=l,this.minWidthFrom=c,this.minWidthTo=h)}}}c=h+f.breakAfter}return n}textDirectionAt(e){let{i:n}=this.childPos(e,1);return getComputedStyle(this.children[n].dom).direction=="rtl"?Pe.RTL:Pe.LTR}measureTextSize(){for(let l of this.children)if(l instanceof Ge){let a=l.measureTextSize();if(a)return a}let e=document.createElement("div"),n,r,i;return e.className="cm-line",e.style.width="99999px",e.style.position="absolute",e.textContent="abc def ghi jkl mno pqr stu",this.view.observer.ignore(()=>{this.dom.appendChild(e);let l=wa(e.firstChild)[0];n=e.getBoundingClientRect().height,r=l?l.width/27:7,i=l?l.height:n,e.remove()}),{lineHeight:n,charWidth:r,textHeight:i}}childCursor(e=this.length){let n=this.children.length;return n&&(e-=this.children[--n].length),new Fd(this.children,e,n)}computeBlockGapDeco(){let e=[],n=this.view.viewState;for(let r=0,i=0;;i++){let l=i==n.viewports.length?null:n.viewports[i],a=l?l.from-1:this.length;if(a>r){let o=(n.lineBlockAt(a).bottom-n.lineBlockAt(r).top)/this.view.scaleY;e.push(ne.replace({widget:new $s(o),block:!0,inclusive:!0,isBlockGap:!0}).range(r,a))}if(!l)break;r=l.to+1}return ne.set(e)}updateDeco(){let e=1,n=this.view.state.facet(Ds).map(l=>(this.dynamicDecorationMap[e++]=typeof l=="function")?l(this.view):l),r=!1,i=this.view.state.facet(rE).map((l,a)=>{let o=typeof l=="function";return o&&(r=!0),o?l(this.view):l});for(i.length&&(this.dynamicDecorationMap[e++]=r,n.push(xe.join(i))),this.decorations=[this.editContextFormatting,...n,this.computeBlockGapDeco(),this.view.viewState.lineGapDeco];en.anchor?-1:1),i;if(!r)return;!n.empty&&(i=this.coordsAt(n.anchor,n.anchor>n.head?-1:1))&&(r={left:Math.min(r.left,i.left),top:Math.min(r.top,i.top),right:Math.max(r.right,i.right),bottom:Math.max(r.bottom,i.bottom)});let l=oE(this.view),a={left:r.left-l.left,top:r.top-l.top,right:r.right+l.right,bottom:r.bottom+l.bottom},{offsetWidth:o,offsetHeight:s}=this.view.scrollDOM;UF(this.view.scrollDOM,a,n.head{re.from&&(n=!0)}),n}u(bI,"touchesComposition");function yI(t,e,n=1){let r=t.charCategorizer(e),i=t.doc.lineAt(e),l=e-i.from;if(i.length==0)return z.cursor(e);l==0?n=1:l==i.length&&(n=-1);let a=l,o=l;n<0?a=gt(i.text,l,!1):o=gt(i.text,l);let s=r(i.text.slice(a,o));for(;a>0;){let c=gt(i.text,a,!1);if(r(i.text.slice(c,a))!=s)break;a=c}for(;ot?e.left-t:Math.max(0,t-e.right)}u(vI,"getdx");function $I(t,e){return e.top>t?e.top-t:Math.max(0,t-e.bottom)}u($I,"getdy");function P0(t,e){return t.tope.top+1}u(P0,"yOverlap");function uE(t,e){return et.bottom?{top:t.top,left:t.left,right:t.right,bottom:e}:t}u(cE,"upBot");function E0(t,e,n){let r,i,l,a,o=!1,s,c,d,f;for(let m=t.firstChild;m;m=m.nextSibling){let g=wa(m);for(let O=0;O$||a==$&&l>y){r=m,i=b,l=y,a=$;let C=$?n0?O0)}y==0?n>b.bottom&&(!d||d.bottomb.top)&&(c=m,f=b):d&&P0(d,b)?d=cE(d,b.bottom):f&&P0(f,b)&&(f=uE(f,b.top))}}if(d&&d.bottom>=n?(r=s,i=d):f&&f.top<=n&&(r=c,i=f),!r)return{node:t,offset:0};let h=Math.max(i.left,Math.min(i.right,e));if(r.nodeType==3)return dE(r,h,n);if(o&&r.contentEditable!="false")return E0(r,h,n);let p=Array.prototype.indexOf.call(t.childNodes,r)+(e>=(i.left+i.right)/2?1:0);return{node:t,offset:p}}u(E0,"domPosAtCoords");function dE(t,e,n){let r=t.nodeValue.length,i=-1,l=1e9,a=0;for(let o=0;on?d.top-n:n-d.bottom)-1;if(d.left-1<=e&&d.right+1>=e&&f=(d.left+d.right)/2,p=h;if((U.chrome||U.gecko)&&nl(t,o).getBoundingClientRect().left==d.right&&(p=!h),f<=0)return{node:t,offset:o+(p?1:0)};i=o+(p?1:0),l=f}}}return{node:t,offset:i>-1?i:a>0?t.nodeValue.length:0}}u(dE,"domPosInText");function fE(t,e,n,r=-1){var i,l;let a=t.contentDOM.getBoundingClientRect(),o=a.top+t.viewState.paddingTop,s,{docHeight:c}=t.viewState,{x:d,y:f}=e,h=f-o;if(h<0)return 0;if(h>c)return t.state.doc.length;for(let C=t.viewState.heightOracle.textHeight/2,w=!1;s=t.elementAtHeight(h),s.type!=yt.Text;)for(;h=r>0?s.bottom+C:s.top-C,!(h>=0&&h<=c);){if(w)return n?null:0;w=!0,r=-r}f=o+h;let p=s.from;if(pt.viewport.to)return t.viewport.to==t.state.doc.length?t.state.doc.length:n?null:hE(t,a,s,d,f);let m=t.dom.ownerDocument,g=t.root.elementFromPoint?t.root:m,O=g.elementFromPoint(d,f);O&&!t.contentDOM.contains(O)&&(O=null),O||(d=Math.max(a.left+1,Math.min(a.right-1,d)),O=g.elementFromPoint(d,f),O&&!t.contentDOM.contains(O)&&(O=null));let b,y=-1;if(O&&((i=t.docView.nearest(O))===null||i===void 0?void 0:i.isEditable)!=!1){if(m.caretPositionFromPoint){let C=m.caretPositionFromPoint(d,f);C&&({offsetNode:b,offset:y}=C)}else if(m.caretRangeFromPoint){let C=m.caretRangeFromPoint(d,f);C&&({startContainer:b,startOffset:y}=C,(!t.contentDOM.contains(b)||U.safari&&wI(b,y,d)||U.chrome&&xI(b,y,d))&&(b=void 0))}b&&(y=Math.min(zn(b),y))}if(!b||!t.docView.dom.contains(b)){let C=Ge.find(t.docView,p);if(!C)return h>s.top+s.height/2?s.to:s.from;({node:b,offset:y}=E0(C.dom,d,f))}let $=t.docView.nearest(b);if(!$)return null;if($.isWidget&&((l=$.dom)===null||l===void 0?void 0:l.nodeType)==1){let C=$.dom.getBoundingClientRect();return e.yt.defaultLineHeight*1.5){let o=t.viewState.heightOracle.textHeight,s=Math.floor((i-n.top-(t.defaultLineHeight-o)*.5)/o);l+=s*t.viewState.heightOracle.lineLength}let a=t.state.sliceDoc(n.from,n.to);return n.from+i0(a,l,t.state.tabSize)}u(hE,"posAtCoordsImprecise");function wI(t,e,n){let r;if(t.nodeType!=3||e!=(r=t.nodeValue.length))return!1;for(let i=t.nextSibling;i;i=i.nextSibling)if(i.nodeType!=1||i.nodeName!="BR")return!1;return nl(t,r-1,r).getBoundingClientRect().left>n}u(wI,"isSuspiciousSafariCaretResult");function xI(t,e,n){if(e!=0)return!1;for(let i=t;;){let l=i.parentNode;if(!l||l.nodeType!=1||l.firstChild!=i)return!1;if(l.classList.contains("cm-line"))break;i=l}let r=t.nodeType==1?t.getBoundingClientRect():nl(t,0,Math.max(t.nodeValue.length,1)).getBoundingClientRect();return n-r.left>5}u(xI,"isSuspiciousChromeCaretResult");function A0(t,e){let n=t.lineBlockAt(e);if(Array.isArray(n.type)){for(let r of n.type)if(r.to>e||r.to==e&&(r.to==n.to||r.type==yt.Text))return r}return n}u(A0,"blockAt");function SI(t,e,n,r){let i=A0(t,e.head),l=!r||i.type!=yt.Text||!(t.lineWrapping||i.widgetLineBreaks)?null:t.coordsAtPos(e.assoc<0&&e.head>i.from?e.head-1:e.head);if(l){let a=t.dom.getBoundingClientRect(),o=t.textDirectionAt(i.from),s=t.posAtCoords({x:n==(o==Pe.LTR)?a.right-1:a.left+1,y:(l.top+l.bottom)/2});if(s!=null)return z.cursor(s,n?-1:1)}return z.cursor(n?i.to:i.from,n?-1:1)}u(SI,"moveToLineBoundary");function pE(t,e,n,r){let i=t.state.doc.lineAt(e.head),l=t.bidiSpans(i),a=t.textDirectionAt(i.from);for(let o=e,s=null;;){let c=uI(i,l,a,o,n),d=jP;if(!c){if(i.number==(n?t.state.doc.lines:1))return o;d=` -`,i=t.state.doc.line(i.number+(n?1:-1)),l=t.bidiSpans(i),c=t.visualLineSide(i,!n)}if(s){if(!s(d))return o}else{if(!r)return c;s=r(d)}o=c}}u(pE,"moveByChar");function CI(t,e,n){let r=t.state.charCategorizer(e),i=r(n);return l=>{let a=r(l);return i==ot.Space&&(i=a),i==a}}u(CI,"byGroup");function DI(t,e,n,r){let i=e.head,l=n?1:-1;if(i==(n?t.state.doc.length:0))return z.cursor(i,e.assoc);let a=e.goalColumn,o,s=t.contentDOM.getBoundingClientRect(),c=t.coordsAtPos(i,e.assoc||-1),d=t.documentTop;if(c)a==null&&(a=c.left-s.left),o=l<0?c.top:c.bottom;else{let p=t.viewState.lineBlockAt(i);a==null&&(a=Math.min(s.right-s.left,t.defaultCharacterWidth*(i-p.from))),o=(l<0?p.top:p.bottom)+d}let f=s.left+a,h=r??t.viewState.heightOracle.textHeight>>1;for(let p=0;;p+=10){let m=o+(h+p)*l,g=fE(t,{x:f,y:m},!1,l);if(ms.bottom||(l<0?gi)){let O=t.docView.coordsForChar(g),b=!O||m{if(e>l&&ei(t)),n.from,e.head>n.from?-1:1);return r==n.from?n:z.cursor(r,rl)&&this.lineBreak(),i=a}return this.findPointBefore(r,n),this}readTextNode(e){let n=e.nodeValue;for(let r of this.points)r.node==e&&(r.pos=this.text.length+Math.min(r.offset,n.length));for(let r=0,i=this.lineSeparator?null:/\r\n?|\n/g;;){let l=-1,a=1,o;if(this.lineSeparator?(l=n.indexOf(this.lineSeparator,r),a=this.lineSeparator.length):(o=i.exec(n))&&(l=o.index,a=o[0].length),this.append(n.slice(r,l<0?n.length:l)),l<0)break;if(this.lineBreak(),a>1)for(let s of this.points)s.node==e&&s.pos>this.text.length&&(s.pos-=a-1);r=l+a}}readNode(e){if(e.cmIgnore)return;let n=Se.get(e),r=n&&n.overrideDOMText;if(r!=null){this.findPointInside(e,r.length);for(let i=r.iter();!i.next().done;)i.lineBreak?this.lineBreak():this.append(i.value)}else e.nodeType==3?this.readTextNode(e):e.nodeName=="BR"?e.nextSibling&&this.lineBreak():e.nodeType==1&&this.readRange(e.firstChild,null)}findPointBefore(e,n){for(let r of this.points)r.node==e&&e.childNodes[r.offset]==n&&(r.pos=this.text.length)}findPointInside(e,n){for(let r of this.points)(e.nodeType==3?r.node==e:e.contains(r.node))&&(r.pos=this.text.length+(kI(e,r.node,r.offset)?n:0))}};u(a4,"DOMReader");let R0=a4;function kI(t,e,n){for(;;){if(!e||n-1;let{impreciseHead:l,impreciseAnchor:a}=e.docView;if(e.state.readOnly&&n>-1)this.newSel=null;else if(n>-1&&(this.bounds=e.docView.domBoundsAround(n,r,0))){let o=l||a?[]:AI(e),s=new R0(o,e.state);s.readRange(this.bounds.startDOM,this.bounds.endDOM),this.text=s.text,this.newSel=TI(o,this.bounds.from)}else{let o=e.observer.selectionRange,s=l&&l.node==o.focusNode&&l.offset==o.focusOffset||!u0(e.contentDOM,o.focusNode)?e.state.selection.main.head:e.docView.posFromDOM(o.focusNode,o.focusOffset),c=a&&a.node==o.anchorNode&&a.offset==o.anchorOffset||!u0(e.contentDOM,o.anchorNode)?e.state.selection.main.anchor:e.docView.posFromDOM(o.anchorNode,o.anchorOffset),d=e.viewport;if((U.ios||U.chrome)&&e.state.selection.main.empty&&s!=c&&(d.from>0||d.toDate.now()-100?t.inputState.lastKeyCode:-1;if(e.bounds){let{from:a,to:o}=e.bounds,s=i.from,c=null;(l===8||U.android&&e.text.length=i.from&&n.to<=i.to&&(n.from!=i.from||n.to!=i.to)&&i.to-i.from-(n.to-n.from)<=4?n={from:i.from,to:i.to,insert:t.state.doc.slice(i.from,n.from).append(n.insert).append(t.state.doc.slice(n.to,i.to))}:(U.mac||U.android)&&n&&n.from==n.to&&n.from==i.head-1&&/^\. ?$/.test(n.insert.toString())&&t.contentDOM.getAttribute("autocorrect")=="off"?(r&&n.insert.length==2&&(r=z.single(r.main.anchor-1,r.main.head-1)),n={from:i.from,to:i.to,insert:de.of([" "])}):U.chrome&&n&&n.from==n.to&&n.from==i.head&&n.insert.toString()==` - `&&t.lineWrapping&&(r&&(r=z.single(r.main.anchor-1,r.main.head-1)),n={from:i.from,to:i.to,insert:de.of([" "])}),n)return M0(t,n,r,l);if(r&&!r.main.eq(i)){let a=!1,o="select";return t.inputState.lastSelectionTime>Date.now()-50&&(t.inputState.lastSelectionOrigin=="select"&&(a=!0),o=t.inputState.lastSelectionOrigin),t.dispatch({selection:r,scrollIntoView:a,userEvent:o}),!0}else return!1}u(mE,"applyDOMChange");function M0(t,e,n,r=-1){if(U.ios&&t.inputState.flushIOSKey(e))return!0;let i=t.state.selection.main;if(U.android&&(e.to==i.to&&(e.from==i.from||e.from==i.from-1&&t.state.sliceDoc(e.from,i.from)==" ")&&e.insert.length==1&&e.insert.lines==2&&Sa(t.contentDOM,"Enter",13)||(e.from==i.from-1&&e.to==i.to&&e.insert.length==0||r==8&&e.insert.lengthi.head)&&Sa(t.contentDOM,"Backspace",8)||e.from==i.from&&e.to==i.to+1&&e.insert.length==0&&Sa(t.contentDOM,"Delete",46)))return!0;let l=e.insert.toString();t.inputState.composing>=0&&t.inputState.composing++;let a,o=u(()=>a||(a=PI(t,e,n)),"defaultInsert");return t.state.facet(GP).some(s=>s(t,e.from,e.to,l,o))||t.dispatch(o()),!0}u(M0,"applyDOMChangeInner");function PI(t,e,n){let r,i=t.state,l=i.selection.main;if(e.from>=l.from&&e.to<=l.to&&e.to-e.from>=(l.to-l.from)/3&&(!n||n.main.empty&&n.main.from==e.from+e.insert.length)&&t.inputState.composing<0){let o=l.frome.to?i.sliceDoc(e.to,l.to):"";r=i.replaceSelection(t.state.toText(o+e.insert.sliceString(0,void 0,t.state.lineBreak)+s))}else{let o=i.changes(e),s=n&&n.main.to<=o.newLength?n.main:void 0;if(i.selection.ranges.length>1&&t.inputState.composing>=0&&e.to<=l.to&&e.to>=l.to-10){let c=t.state.sliceDoc(e.from,e.to),d,f=n&&sE(t,n.main.head);if(f){let m=e.insert.length-(e.to-e.from);d={from:f.from,to:f.to-m}}else d=t.state.doc.lineAt(l.head);let h=l.to-e.to,p=l.to-l.from;r=i.changeByRange(m=>{if(m.from==l.from&&m.to==l.to)return{changes:o,range:s||m.map(o)};let g=m.to-h,O=g-c.length;if(m.to-m.from!=p||t.state.sliceDoc(O,g)!=c||m.to>=d.from&&m.from<=d.to)return{range:m};let b=i.changes({from:O,to:g,insert:e.insert}),y=m.to-l.to;return{changes:b,range:s?z.range(Math.max(0,s.anchor+y),Math.max(0,s.head+y)):m.map(b)}})}else r={changes:o,selection:s&&i.selection.replaceRange(s)}}let a="input.type";return(t.composing||t.inputState.compositionPendingChange&&t.inputState.compositionEndedAt>Date.now()-50)&&(t.inputState.compositionPendingChange=!1,a+=".compose",t.inputState.compositionFirstChange&&(a+=".start",t.inputState.compositionFirstChange=!1)),i.update(r,{userEvent:a,scrollIntoView:!0})}u(PI,"applyDefaultInsert");function EI(t,e,n,r){let i=Math.min(t.length,e.length),l=0;for(;l0&&o>0&&t.charCodeAt(a-1)==e.charCodeAt(o-1);)a--,o--;if(r=="end"){let s=Math.max(0,l-Math.min(a,o));n-=a+s-l}if(a=a?l-n:0;l-=s,o=l+(o-a),a=l}else if(o=o?l-n:0;l-=s,a=l+(a-o),o=l}return{from:l,toA:a,toB:o}}u(EI,"findDiff$1");function AI(t){let e=[];if(t.root.activeElement!=t.contentDOM)return e;let{anchorNode:n,anchorOffset:r,focusNode:i,focusOffset:l}=t.observer.selectionRange;return n&&(e.push(new Ud(n,r)),(i!=n||l!=r)&&e.push(new Ud(i,l))),e}u(AI,"selectionPoints");function TI(t,e){if(t.length==0)return null;let n=t[0].pos,r=t.length==2?t[1].pos:n;return n>-1&&r>-1?z.single(n+e,r+e):null}u(TI,"selectionFromPoints");let RI=(Hu=class{setSelectionOrigin(e){this.lastSelectionOrigin=e,this.lastSelectionTime=Date.now()}constructor(e){this.view=e,this.lastKeyCode=0,this.lastKeyTime=0,this.lastTouchTime=0,this.lastFocusTime=0,this.lastScrollTop=0,this.lastScrollLeft=0,this.pendingIOSKey=void 0,this.tabFocusMode=-1,this.lastSelectionOrigin=null,this.lastSelectionTime=0,this.lastContextMenu=0,this.scrollHandlers=[],this.handlers=Object.create(null),this.composing=-1,this.compositionFirstChange=null,this.compositionEndedAt=0,this.compositionPendingKey=!1,this.compositionPendingChange=!1,this.mouseSelection=null,this.draggedContent=null,this.handleEvent=this.handleEvent.bind(this),this.notifiedFocused=e.hasFocus,U.safari&&e.contentDOM.addEventListener("input",()=>null),U.gecko&&UI(e.contentDOM.ownerDocument)}handleEvent(e){!II(this.view,e)||this.ignoreDuringComposition(e)||e.type=="keydown"&&this.keydown(e)||this.runHandlers(e.type,e)}runHandlers(e,n){let r=this.handlers[e];if(r){for(let i of r.observers)i(this.view,n);for(let i of r.handlers){if(n.defaultPrevented)break;if(i(this.view,n)){n.preventDefault();break}}}}ensureHandlers(e){let n=QI(e),r=this.handlers,i=this.view.contentDOM;for(let l in n)if(l!="scroll"){let a=!n[l].handlers.length,o=r[l];o&&a!=!o.handlers.length&&(i.removeEventListener(l,this.handleEvent),o=null),o||i.addEventListener(l,this.handleEvent,{passive:a})}for(let l in r)l!="scroll"&&!n[l]&&i.removeEventListener(l,this.handleEvent);this.handlers=n}keydown(e){if(this.lastKeyCode=e.keyCode,this.lastKeyTime=Date.now(),e.keyCode==9&&this.tabFocusMode>-1&&(!this.tabFocusMode||Date.now()<=this.tabFocusMode))return!0;if(this.tabFocusMode>0&&e.keyCode!=27&&bE.indexOf(e.keyCode)<0&&(this.tabFocusMode=-1),U.android&&U.chrome&&!e.synthetic&&(e.keyCode==13||e.keyCode==8))return this.view.observer.delayAndroidKey(e.key,e.keyCode),!0;let n;return U.ios&&!e.synthetic&&!e.altKey&&!e.metaKey&&((n=OE.find(r=>r.keyCode==e.keyCode))&&!e.ctrlKey||MI.indexOf(e.key)>-1&&e.ctrlKey&&!e.shiftKey)?(this.pendingIOSKey=n||e,setTimeout(()=>this.flushIOSKey(),250),!0):(e.keyCode!=229&&this.view.observer.forceFlush(),!1)}flushIOSKey(e){let n=this.pendingIOSKey;return!n||n.key=="Enter"&&e&&e.from0?!0:U.safari&&!U.ios&&this.compositionPendingKey&&Date.now()-this.compositionEndedAt<100?(this.compositionPendingKey=!1,!0):!1:!1}startMouseSelection(e){this.mouseSelection&&this.mouseSelection.destroy(),this.mouseSelection=e}update(e){this.view.observer.update(e),this.mouseSelection&&this.mouseSelection.update(e),this.draggedContent&&e.docChanged&&(this.draggedContent=this.draggedContent.map(e.changes)),e.transactions.length&&(this.lastKeyCode=this.lastSelectionTime=0)}destroy(){this.mouseSelection&&this.mouseSelection.destroy()}},u(Hu,"InputState"),Hu);function gE(t,e){return(n,r)=>{try{return e.call(t,r,n)}catch(i){Lt(n.state,i)}}}u(gE,"bindHandler");function QI(t){let e=Object.create(null);function n(r){return e[r]||(e[r]={observers:[],handlers:[]})}u(n,"record");for(let r of t){let i=r.spec;if(i&&i.domEventHandlers)for(let l in i.domEventHandlers){let a=i.domEventHandlers[l];a&&n(l).handlers.push(gE(r.value,a))}if(i&&i.domEventObservers)for(let l in i.domEventObservers){let a=i.domEventObservers[l];a&&n(l).observers.push(gE(r.value,a))}}for(let r in wn)n(r).handlers.push(wn[r]);for(let r in cn)n(r).observers.push(cn[r]);return e}u(QI,"computeHandlers");const OE=[{key:"Backspace",keyCode:8,inputType:"deleteContentBackward"},{key:"Enter",keyCode:13,inputType:"insertParagraph"},{key:"Enter",keyCode:13,inputType:"insertLineBreak"},{key:"Delete",keyCode:46,inputType:"deleteContentForward"}],MI="dthko",bE=[16,17,18,20,91,92,224,225],Yd=6;function Kd(t){return Math.max(0,t)*.7+8}u(Kd,"dragScrollSpeed");function BI(t,e){return Math.max(Math.abs(t.clientX-e.clientX),Math.abs(t.clientY-e.clientY))}u(BI,"dist");const u4=class u4{constructor(e,n,r,i){this.view=e,this.startEvent=n,this.style=r,this.mustSelect=i,this.scrollSpeed={x:0,y:0},this.scrolling=-1,this.lastEvent=n,this.scrollParents=YF(e.contentDOM),this.atoms=e.state.facet(k0).map(a=>a(e));let l=e.contentDOM.ownerDocument;l.addEventListener("mousemove",this.move=this.move.bind(this)),l.addEventListener("mouseup",this.up=this.up.bind(this)),this.extend=n.shiftKey,this.multiple=e.state.facet(Be.allowMultipleSelections)&&VI(e,n),this.dragging=FI(e,n)&&kE(n)==1?null:!1}start(e){this.dragging===!1&&this.select(e)}move(e){if(e.buttons==0)return this.destroy();if(this.dragging||this.dragging==null&&BI(this.startEvent,e)<10)return;this.select(this.lastEvent=e);let n=0,r=0,i=0,l=0,a=this.view.win.innerWidth,o=this.view.win.innerHeight;this.scrollParents.x&&({left:i,right:a}=this.scrollParents.x.getBoundingClientRect()),this.scrollParents.y&&({top:l,bottom:o}=this.scrollParents.y.getBoundingClientRect());let s=oE(this.view);e.clientX-s.left<=i+Yd?n=-Kd(i-e.clientX):e.clientX+s.right>=a-Yd&&(n=Kd(e.clientX-a)),e.clientY-s.top<=l+Yd?r=-Kd(l-e.clientY):e.clientY+s.bottom>=o-Yd&&(r=Kd(e.clientY-o)),this.setScrollSpeed(n,r)}up(e){this.dragging==null&&this.select(this.lastEvent),this.dragging||e.preventDefault(),this.destroy()}destroy(){this.setScrollSpeed(0,0);let e=this.view.contentDOM.ownerDocument;e.removeEventListener("mousemove",this.move),e.removeEventListener("mouseup",this.up),this.view.inputState.mouseSelection=this.view.inputState.draggedContent=null}setScrollSpeed(e,n){this.scrollSpeed={x:e,y:n},e||n?this.scrolling<0&&(this.scrolling=setInterval(()=>this.scroll(),50)):this.scrolling>-1&&(clearInterval(this.scrolling),this.scrolling=-1)}scroll(){let{x:e,y:n}=this.scrollSpeed;e&&this.scrollParents.x&&(this.scrollParents.x.scrollLeft+=e,e=0),n&&this.scrollParents.y&&(this.scrollParents.y.scrollTop+=n,n=0),(e||n)&&this.view.win.scrollBy(e,n),this.dragging===!1&&this.select(this.lastEvent)}skipAtoms(e){let n=null;for(let r=0;rn.isUserEvent("input.type"))?this.destroy():this.style.update(e)&&setTimeout(()=>this.select(this.lastEvent),20)}};u(u4,"MouseSelection");let B0=u4;function VI(t,e){let n=t.state.facet(qP);return n.length?n[0](e):U.mac?e.metaKey:e.ctrlKey}u(VI,"addsSelectionRange");function NI(t,e){let n=t.state.facet(UP);return n.length?n[0](e):U.mac?!e.altKey:!e.ctrlKey}u(NI,"dragMovesSelection");function FI(t,e){let{main:n}=t.state.selection;if(n.empty)return!1;let r=ms(t.root);if(!r||r.rangeCount==0)return!0;let i=r.getRangeAt(0).getClientRects();for(let l=0;l=e.clientX&&a.top<=e.clientY&&a.bottom>=e.clientY)return!0}return!1}u(FI,"isInPrimarySelection");function II(t,e){if(!e.bubbles)return!0;if(e.defaultPrevented)return!1;for(let n=e.target,r;n!=t.contentDOM;n=n.parentNode)if(!n||n.nodeType==11||(r=Se.get(n))&&r.ignoreEvent(e))return!1;return!0}u(II,"eventBelongsToEditor");const wn=Object.create(null),cn=Object.create(null),yE=U.ie&&U.ie_version<15||U.ios&&U.webkit_version<604;function ZI(t){let e=t.dom.parentNode;if(!e)return;let n=e.appendChild(document.createElement("textarea"));n.style.cssText="position: fixed; left: -10000px; top: 10px",n.focus(),setTimeout(()=>{t.focus(),n.remove(),vE(t,n.value)},50)}u(ZI,"capturePaste$1");function Gd(t,e,n){for(let r of t.facet(e))n=r(n,t);return n}u(Gd,"textFilter");function vE(t,e){e=Gd(t.state,S0,e);let{state:n}=t,r,i=1,l=n.toText(e),a=l.lines==n.selection.ranges.length;if(V0!=null&&n.selection.ranges.every(s=>s.empty)&&V0==l.toString()){let s=-1;r=n.changeByRange(c=>{let d=n.doc.lineAt(c.from);if(d.from==s)return{range:c};s=d.from;let f=n.toText((a?l.line(i++).text:e)+n.lineBreak);return{changes:{from:d.from,insert:f},range:z.cursor(c.from+f.length)}})}else a?r=n.changeByRange(s=>{let c=l.line(i++);return{changes:{from:s.from,to:s.to,insert:c.text},range:z.cursor(s.from+c.length)}}):r=n.replaceSelection(l);t.dispatch(r,{userEvent:"input.paste",scrollIntoView:!0})}u(vE,"doPaste$1"),cn.scroll=t=>{t.inputState.lastScrollTop=t.scrollDOM.scrollTop,t.inputState.lastScrollLeft=t.scrollDOM.scrollLeft},wn.keydown=(t,e)=>(t.inputState.setSelectionOrigin("select"),e.keyCode==27&&t.inputState.tabFocusMode!=0&&(t.inputState.tabFocusMode=Date.now()+2e3),!1),cn.touchstart=(t,e)=>{t.inputState.lastTouchTime=Date.now(),t.inputState.setSelectionOrigin("select.pointer")},cn.touchmove=t=>{t.inputState.setSelectionOrigin("select.pointer")},wn.mousedown=(t,e)=>{if(t.observer.flush(),t.inputState.lastTouchTime>Date.now()-2e3)return!1;let n=null;for(let r of t.state.facet(YP))if(n=r(t,e),n)break;if(!n&&e.button==0&&(n=WI(t,e)),n){let r=!t.hasFocus;t.inputState.startMouseSelection(new B0(t,e,n,r)),r&&t.observer.ignore(()=>{wP(t.contentDOM);let l=t.root.activeElement;l&&!l.contains(t.contentDOM)&&l.blur()});let i=t.inputState.mouseSelection;if(i)return i.start(e),i.dragging===!1}return!1};function $E(t,e,n,r){if(r==1)return z.cursor(e,n);if(r==2)return yI(t.state,e,n);{let i=Ge.find(t.docView,e),l=t.state.doc.lineAt(i?i.posAtEnd:e),a=i?i.posAtStart:l.from,o=i?i.posAtEnd:l.to;return oe>=n.top&&e<=n.bottom&&t>=n.left&&t<=n.right,"inside");function zI(t,e,n,r){let i=Ge.find(t.docView,e);if(!i)return 1;let l=e-i.posAtStart;if(l==0)return 1;if(l==i.length)return-1;let a=i.coordsAt(l,-1);if(a&&wE(n,r,a))return-1;let o=i.coordsAt(l,1);return o&&wE(n,r,o)?1:a&&a.bottom>=r?-1:1}u(zI,"findPositionSide");function xE(t,e){let n=t.posAtCoords({x:e.clientX,y:e.clientY},!1);return{pos:n,bias:zI(t,n,e.clientX,e.clientY)}}u(xE,"queryPos");const LI=U.ie&&U.ie_version<=11;let SE=null,CE=0,DE=0;function kE(t){if(!LI)return t.detail;let e=SE,n=DE;return SE=t,DE=Date.now(),CE=!e||n>Date.now()-400&&Math.abs(e.clientX-t.clientX)<2&&Math.abs(e.clientY-t.clientY)<2?(CE+1)%3:1}u(kE,"getClickType");function WI(t,e){let n=xE(t,e),r=kE(e),i=t.state.selection;return{update(l){l.docChanged&&(n.pos=l.changes.mapPos(n.pos),i=i.map(l.changes))},get(l,a,o){let s=xE(t,l),c,d=$E(t,s.pos,s.bias,r);if(n.pos!=s.pos&&!a){let f=$E(t,n.pos,n.bias,r),h=Math.min(f.from,d.from),p=Math.max(f.to,d.to);d=h1&&(c=XI(i,s.pos))?c:o?i.addRange(d):z.create([d])}}}u(WI,"basicMouseSelection");function XI(t,e){for(let n=0;n=e)return z.create(t.ranges.slice(0,n).concat(t.ranges.slice(n+1)),t.mainIndex==n?0:t.mainIndex-(t.mainIndex>n?1:0))}return null}u(XI,"removeRangeAround"),wn.dragstart=(t,e)=>{let{selection:{main:n}}=t.state;if(e.target.draggable){let i=t.docView.nearest(e.target);if(i&&i.isWidget){let l=i.posAtStart,a=l+i.length;(l>=n.to||a<=n.from)&&(n=z.range(l,a))}}let{inputState:r}=t;return r.mouseSelection&&(r.mouseSelection.dragging=!0),r.draggedContent=n,e.dataTransfer&&(e.dataTransfer.setData("Text",Gd(t.state,C0,t.state.sliceDoc(n.from,n.to))),e.dataTransfer.effectAllowed="copyMove"),!1},wn.dragend=t=>(t.inputState.draggedContent=null,!1);function PE(t,e,n,r){if(n=Gd(t.state,S0,n),!n)return;let i=t.posAtCoords({x:e.clientX,y:e.clientY},!1),{draggedContent:l}=t.inputState,a=r&&l&&NI(t,e)?{from:l.from,to:l.to}:null,o={from:i,insert:n},s=t.state.changes(a?[a,o]:o);t.focus(),t.dispatch({changes:s,selection:{anchor:s.mapPos(i,-1),head:s.mapPos(i,1)},userEvent:a?"move.drop":"input.drop"}),t.inputState.draggedContent=null}u(PE,"dropText"),wn.drop=(t,e)=>{if(!e.dataTransfer)return!1;if(t.state.readOnly)return!0;let n=e.dataTransfer.files;if(n&&n.length){let r=Array(n.length),i=0,l=u(()=>{++i==n.length&&PE(t,e,r.filter(a=>a!=null).join(t.state.lineBreak),!1)},"finishFile");for(let a=0;a{/[\x00-\x08\x0e-\x1f]{2}/.test(o.result)||(r[a]=o.result),l()},o.readAsText(n[a])}return!0}else{let r=e.dataTransfer.getData("Text");if(r)return PE(t,e,r,!0),!0}return!1},wn.paste=(t,e)=>{if(t.state.readOnly)return!0;t.observer.flush();let n=yE?null:e.clipboardData;return n?(vE(t,n.getData("text/plain")||n.getData("text/uri-list")),!0):(ZI(t),!1)};function jI(t,e){let n=t.dom.parentNode;if(!n)return;let r=n.appendChild(document.createElement("textarea"));r.style.cssText="position: fixed; left: -10000px; top: 10px",r.value=e,r.focus(),r.selectionEnd=e.length,r.selectionStart=0,setTimeout(()=>{r.remove(),t.focus()},50)}u(jI,"captureCopy$1");function qI(t){let e=[],n=[],r=!1;for(let i of t.selection.ranges)i.empty||(e.push(t.sliceDoc(i.from,i.to)),n.push(i));if(!e.length){let i=-1;for(let{from:l}of t.selection.ranges){let a=t.doc.lineAt(l);a.number>i&&(e.push(a.text),n.push({from:a.from,to:Math.min(t.doc.length,a.to+1)})),i=a.number}r=!0}return{text:Gd(t,C0,e.join(t.lineBreak)),ranges:n,linewise:r}}u(qI,"copiedRange");let V0=null;wn.copy=wn.cut=(t,e)=>{let{text:n,ranges:r,linewise:i}=qI(t.state);if(!n&&!i)return!1;V0=i?n:null,e.type=="cut"&&!t.state.readOnly&&t.dispatch({changes:r,scrollIntoView:!0,userEvent:"delete.cut"});let l=yE?null:e.clipboardData;return l?(l.clearData(),l.setData("text/plain",n),!0):(jI(t,n),!1)};const EE=$n.define();function AE(t,e){let n=[];for(let r of t.facet(HP)){let i=r(t,e);i&&n.push(i)}return n?t.update({effects:n,annotations:EE.of(!0)}):null}u(AE,"focusChangeTransaction");function TE(t){setTimeout(()=>{let e=t.hasFocus;if(e!=t.inputState.notifiedFocused){let n=AE(t.state,e);n?t.dispatch(n):t.update([])}},10)}u(TE,"updateForFocusChange"),cn.focus=t=>{t.inputState.lastFocusTime=Date.now(),!t.scrollDOM.scrollTop&&(t.inputState.lastScrollTop||t.inputState.lastScrollLeft)&&(t.scrollDOM.scrollTop=t.inputState.lastScrollTop,t.scrollDOM.scrollLeft=t.inputState.lastScrollLeft),TE(t)},cn.blur=t=>{t.observer.clearSelectionRange(),TE(t)},cn.compositionstart=cn.compositionupdate=t=>{t.observer.editContext||(t.inputState.compositionFirstChange==null&&(t.inputState.compositionFirstChange=!0),t.inputState.composing<0&&(t.inputState.composing=0))},cn.compositionend=t=>{t.observer.editContext||(t.inputState.composing=-1,t.inputState.compositionEndedAt=Date.now(),t.inputState.compositionPendingKey=!0,t.inputState.compositionPendingChange=t.observer.pendingRecords().length>0,t.inputState.compositionFirstChange=null,U.chrome&&U.android?t.observer.flushSoon():t.inputState.compositionPendingChange?Promise.resolve().then(()=>t.observer.flush()):setTimeout(()=>{t.inputState.composing<0&&t.docView.hasComposition&&t.update([])},50))},cn.contextmenu=t=>{t.inputState.lastContextMenu=Date.now()},wn.beforeinput=(t,e)=>{var n,r;if(e.inputType=="insertReplacementText"&&t.observer.editContext){let l=(n=e.dataTransfer)===null||n===void 0?void 0:n.getData("text/plain"),a=e.getTargetRanges();if(l&&a.length){let o=a[0],s=t.posAtDOM(o.startContainer,o.startOffset),c=t.posAtDOM(o.endContainer,o.endOffset);return M0(t,{from:s,to:c,insert:t.state.toText(l)},null),!0}}let i;if(U.chrome&&U.android&&(i=OE.find(l=>l.inputType==e.inputType))&&(t.observer.delayAndroidKey(i.key,i.keyCode),i.key=="Backspace"||i.key=="Delete")){let l=((r=window.visualViewport)===null||r===void 0?void 0:r.height)||0;setTimeout(()=>{var a;(((a=window.visualViewport)===null||a===void 0?void 0:a.height)||0)>l+10&&t.hasFocus&&(t.contentDOM.blur(),t.focus())},100)}return U.ios&&e.inputType=="deleteContentForward"&&t.observer.flushSoon(),U.safari&&e.inputType=="insertText"&&t.inputState.composing>=0&&setTimeout(()=>cn.compositionend(t,e),20),!1};const RE=new Set;function UI(t){RE.has(t)||(RE.add(t),t.addEventListener("copy",()=>{}),t.addEventListener("cut",()=>{}))}u(UI,"firefoxCopyCutHack");const QE=["pre-wrap","normal","pre-line","break-spaces"];let Ca=!1;function ME(){Ca=!1}u(ME,"clearHeightChangeFlag");const c4=class c4{constructor(e){this.lineWrapping=e,this.doc=de.empty,this.heightSamples={},this.lineHeight=14,this.charWidth=7,this.textHeight=14,this.lineLength=30}heightForGap(e,n){let r=this.doc.lineAt(n).number-this.doc.lineAt(e).number+1;return this.lineWrapping&&(r+=Math.max(0,Math.ceil((n-e-r*this.lineLength*.5)/this.lineLength))),this.lineHeight*r}heightForLine(e){return this.lineWrapping?(1+Math.max(0,Math.ceil((e-this.lineLength)/(this.lineLength-5))))*this.lineHeight:this.lineHeight}setDoc(e){return this.doc=e,this}mustRefreshForWrapping(e){return QE.indexOf(e)>-1!=this.lineWrapping}mustRefreshForHeights(e){let n=!1;for(let r=0;r-1,s=Math.round(n)!=Math.round(this.lineHeight)||this.lineWrapping!=o;if(this.lineWrapping=o,this.lineHeight=n,this.charWidth=r,this.textHeight=i,this.lineLength=l,s){this.heightSamples={};for(let c=0;c0}set outdated(e){this.flags=(e?2:0)|this.flags&-3}setHeight(e){this.height!=e&&(Math.abs(this.height-e)>Hd&&(Ca=!0),this.height=e)}replace(e,n,r){return co.of(r)}decomposeLeft(e,n){n.push(this)}decomposeRight(e,n){n.push(this)}applyChanges(e,n,r,i){let l=this,a=r.doc;for(let o=i.length-1;o>=0;o--){let{fromA:s,toA:c,fromB:d,toB:f}=i[o],h=l.lineAt(s,ke.ByPosNoHeight,r.setDoc(n),0,0),p=h.to>=c?h:l.lineAt(c,ke.ByPosNoHeight,r,0,0);for(f+=p.to-c,c=p.to;o>0&&h.from<=i[o-1].toA;)s=i[o-1].fromA,d=i[o-1].fromB,o--,sl*2){let o=e[n-1];o.break?e.splice(--n,1,o.left,null,o.right):e.splice(--n,1,o.left,o.right),r+=1+o.break,i-=o.size}else if(l>i*2){let o=e[r];o.break?e.splice(r,1,o.left,null,o.right):e.splice(r,1,o.left,o.right),r+=2+o.break,l-=o.size}else break;else if(i=l&&a(this.blockAt(0,r,i,l))}updateHeight(e,n=0,r=!1,i){return i&&i.from<=n&&i.more&&this.setHeight(i.heights[i.index++]),this.outdated=!1,this}toString(){return`block(${this.length})`}};u(f4,"HeightMapBlock");let Jd=f4;const _u=class _u extends Jd{constructor(e,n){super(e,n,null),this.collapsed=0,this.widgetHeight=0,this.breaks=0}blockAt(e,n,r,i){return new Un(i,this.length,r,this.height,this.breaks)}replace(e,n,r){let i=r[0];return r.length==1&&(i instanceof _u||i instanceof ui&&i.flags&4)&&Math.abs(this.length-i.length)<10?(i instanceof ui?i=new _u(i.length,this.height):i.height=this.height,this.outdated||(i.outdated=!1),i):Wt.of(r)}updateHeight(e,n=0,r=!1,i){return i&&i.from<=n&&i.more?this.setHeight(i.heights[i.index++]):(r||this.outdated)&&this.setHeight(Math.max(this.widgetHeight,e.heightForLine(this.length-this.collapsed))+this.breaks*e.lineHeight),this.outdated=!1,this}toString(){return`line(${this.length}${this.collapsed?-this.collapsed:""}${this.widgetHeight?":"+this.widgetHeight:""})`}};u(_u,"HeightMapText");let dn=_u;const _t=class _t extends Wt{constructor(e){super(e,0)}heightMetrics(e,n){let r=e.doc.lineAt(n).number,i=e.doc.lineAt(n+this.length).number,l=i-r+1,a,o=0;if(e.lineWrapping){let s=Math.min(this.height,e.lineHeight*l);a=s/l,this.length>l+1&&(o=(this.height-s)/(this.length-l-1))}else a=this.height/l;return{firstLine:r,lastLine:i,perLine:a,perChar:o}}blockAt(e,n,r,i){let{firstLine:l,lastLine:a,perLine:o,perChar:s}=this.heightMetrics(n,i);if(n.lineWrapping){let c=i+(e0){let l=r[r.length-1];l instanceof _t?r[r.length-1]=new _t(l.length+i):r.push(null,new _t(i-1))}if(e>0){let l=r[0];l instanceof _t?r[0]=new _t(e+l.length):r.unshift(new _t(e-1),null)}return Wt.of(r)}decomposeLeft(e,n){n.push(new _t(e-1),null)}decomposeRight(e,n){n.push(null,new _t(this.length-e-1))}updateHeight(e,n=0,r=!1,i){let l=n+this.length;if(i&&i.from<=n+this.length&&i.more){let a=[],o=Math.max(n,i.from),s=-1;for(i.from>n&&a.push(new _t(i.from-n-1).updateHeight(e,n));o<=l&&i.more;){let d=e.doc.lineAt(o).length;a.length&&a.push(null);let f=i.heights[i.index++];s==-1?s=f:Math.abs(f-s)>=Hd&&(s=-2);let h=new dn(d,f);h.outdated=!1,a.push(h),o+=d+1}o<=l&&a.push(null,new _t(l-o).updateHeight(e,o));let c=Wt.of(a);return(s<0||Math.abs(c.height-this.height)>=Hd||Math.abs(s-this.heightMetrics(e,n).perLine)>=Hd)&&(Ca=!0),_d(this,c)}else(r||this.outdated)&&(this.setHeight(e.heightForGap(n,n+this.length)),this.outdated=!1);return this}toString(){return`gap(${this.length})`}};u(_t,"HeightMapGap");let ui=_t;const h4=class h4 extends Wt{constructor(e,n,r){super(e.length+n+r.length,e.height+r.height,n|(e.outdated||r.outdated?2:0)),this.left=e,this.right=r,this.size=e.size+r.size}get break(){return this.flags&1}blockAt(e,n,r,i){let l=r+this.left.height;return eo))return c;let d=n==ke.ByPosNoHeight?ke.ByPosNoHeight:ke.ByPos;return s?c.join(this.right.lineAt(o,d,r,a,o)):this.left.lineAt(o,d,r,i,l).join(c)}forEachLine(e,n,r,i,l,a){let o=i+this.left.height,s=l+this.left.length+this.break;if(this.break)e=s&&this.right.forEachLine(e,n,r,o,s,a);else{let c=this.lineAt(s,ke.ByPos,r,i,l);e=e&&c.from<=n&&a(c),n>c.to&&this.right.forEachLine(c.to+1,n,r,o,s,a)}}replace(e,n,r){let i=this.left.length+this.break;if(nthis.left.length)return this.balanced(this.left,this.right.replace(e-i,n-i,r));let l=[];e>0&&this.decomposeLeft(e,l);let a=l.length;for(let o of r)l.push(o);if(e>0&&BE(l,a-1),n=r&&n.push(null)),e>r&&this.right.decomposeLeft(e-r,n)}decomposeRight(e,n){let r=this.left.length,i=r+this.break;if(e>=i)return this.right.decomposeRight(e-i,n);e2*n.size||n.size>2*e.size?Wt.of(this.break?[e,null,n]:[e,n]):(this.left=_d(this.left,e),this.right=_d(this.right,n),this.setHeight(e.height+n.height),this.outdated=e.outdated||n.outdated,this.size=e.size+n.size,this.length=e.length+this.break+n.length,this)}updateHeight(e,n=0,r=!1,i){let{left:l,right:a}=this,o=n+l.length+this.break,s=null;return i&&i.from<=n+l.length&&i.more?s=l=l.updateHeight(e,n,r,i):l.updateHeight(e,n,r),i&&i.from<=o+a.length&&i.more?s=a=a.updateHeight(e,o,r,i):a.updateHeight(e,o,r),s?this.balanced(l,a):(this.height=this.left.height+this.right.height,this.outdated=!1,this)}toString(){return this.left+(this.break?" ":"-")+this.right}};u(h4,"HeightMapBranch");let I0=h4;function BE(t,e){let n,r;t[e]==null&&(n=t[e-1])instanceof ui&&(r=t[e+1])instanceof ui&&t.splice(e-1,3,new ui(n.length+1+r.length))}u(BE,"mergeGaps");const YI=5,gp=class gp{constructor(e,n){this.pos=e,this.oracle=n,this.nodes=[],this.lineStart=-1,this.lineEnd=-1,this.covering=null,this.writtenTo=e}get isCovered(){return this.covering&&this.nodes[this.nodes.length-1]==this.covering}span(e,n){if(this.lineStart>-1){let r=Math.min(n,this.lineEnd),i=this.nodes[this.nodes.length-1];i instanceof dn?i.length+=r-this.pos:(r>this.pos||!this.isCovered)&&this.nodes.push(new dn(r-this.pos,-1)),this.writtenTo=r,n>r&&(this.nodes.push(null),this.writtenTo++,this.lineStart=-1)}this.pos=n}point(e,n,r){if(e=YI)&&this.addLineDeco(i,l,a)}else n>e&&this.span(e,n);this.lineEnd>-1&&this.lineEnd-1)return;let{from:e,to:n}=this.oracle.doc.lineAt(this.pos);this.lineStart=e,this.lineEnd=n,this.writtenToe&&this.nodes.push(new dn(this.pos-e,-1)),this.writtenTo=this.pos}blankContent(e,n){let r=new ui(n-e);return this.oracle.doc.lineAt(e).to==n&&(r.flags|=4),r}ensureLine(){this.enterLine();let e=this.nodes.length?this.nodes[this.nodes.length-1]:null;if(e instanceof dn)return e;let n=new dn(0,-1);return this.nodes.push(n),n}addBlock(e){this.enterLine();let n=e.deco;n&&n.startSide>0&&!this.isCovered&&this.ensureLine(),this.nodes.push(e),this.writtenTo=this.pos=this.pos+e.length,n&&n.endSide>0&&(this.covering=e)}addLineDeco(e,n,r){let i=this.ensureLine();i.length+=r,i.collapsed+=r,i.widgetHeight=Math.max(i.widgetHeight,e),i.breaks+=n,this.writtenTo=this.pos=this.pos+r}finish(e){let n=this.nodes.length==0?null:this.nodes[this.nodes.length-1];this.lineStart>-1&&!(n instanceof dn)&&!this.isCovered?this.nodes.push(new dn(0,-1)):(this.writtenTod.clientHeight||d.scrollWidth>d.clientWidth)&&f.overflow!="visible"){let h=d.getBoundingClientRect();l=Math.max(l,h.left),a=Math.min(a,h.right),o=Math.max(o,h.top),s=Math.min(c==t.parentNode?i.innerHeight:s,h.bottom)}c=f.position=="absolute"||f.position=="fixed"?d.offsetParent:d.parentNode}else if(c.nodeType==11)c=c.host;else break;return{left:l-n.left,right:Math.max(l,a)-n.left,top:o-(n.top+e),bottom:Math.max(o,s)-(n.top+e)}}u(GI,"visiblePixelRange");function HI(t,e){let n=t.getBoundingClientRect();return{left:0,right:n.right-n.left,top:e,bottom:n.bottom-(n.top+e)}}u(HI,"fullPixelRange");const m4=class m4{constructor(e,n,r,i){this.from=e,this.to=n,this.size=r,this.displaySize=i}static same(e,n){if(e.length!=n.length)return!1;for(let r=0;rtypeof r!="function"&&r.class=="cm-lineWrapping");this.heightOracle=new N0(n),this.stateDeco=e.facet(Ds).filter(r=>typeof r!="function"),this.heightMap=Wt.empty().applyChanges(this.stateDeco,de.empty,this.heightOracle.setDoc(e.doc),[new qn(0,0,0,e.doc.length)]);for(let r=0;r<2&&(this.viewport=this.getViewport(0,null),!!this.updateForViewport());r++);this.updateViewportLines(),this.lineGaps=this.ensureLineGaps([]),this.lineGapDeco=ne.set(this.lineGaps.map(r=>r.draw(this,!1))),this.computeVisibleRanges()}updateForViewport(){let e=[this.viewport],{main:n}=this.state.selection;for(let r=0;r<=1;r++){let i=r?n.head:n.anchor;if(!e.some(({from:l,to:a})=>i>=l&&i<=a)){let{from:l,to:a}=this.lineBlockAt(i);e.push(new Da(l,a))}}return this.viewports=e.sort((r,i)=>r.from-i.from),this.updateScaler()}updateScaler(){let e=this.scaler;return this.scaler=this.heightMap.height<=7e6?VE:new W0(this.heightOracle,this.heightMap,this.viewports),e.eq(this.scaler)?0:2}updateViewportLines(){this.viewportLines=[],this.heightMap.forEachLine(this.viewport.from,this.viewport.to,this.heightOracle.setDoc(this.state.doc),0,0,e=>{this.viewportLines.push(As(e,this.scaler))})}update(e,n=null){this.state=e.state;let r=this.stateDeco;this.stateDeco=this.state.facet(Ds).filter(d=>typeof d!="function");let i=e.changedRanges,l=qn.extendWithRanges(i,KI(r,this.stateDeco,e?e.changes:Zt.empty(this.state.doc.length))),a=this.heightMap.height,o=this.scrolledToBottom?null:this.scrollAnchorAt(this.scrollTop);ME(),this.heightMap=this.heightMap.applyChanges(this.stateDeco,e.startState.doc,this.heightOracle.setDoc(this.state.doc),l),(this.heightMap.height!=a||Ca)&&(e.flags|=2),o?(this.scrollAnchorPos=e.changes.mapPos(o.from,-1),this.scrollAnchorHeight=o.top):(this.scrollAnchorPos=-1,this.scrollAnchorHeight=this.heightMap.height);let s=l.length?this.mapViewport(this.viewport,e.changes):this.viewport;(n&&(n.range.heads.to)||!this.viewportIsAppropriate(s))&&(s=this.getViewport(0,n));let c=s.from!=this.viewport.from||s.to!=this.viewport.to;this.viewport=s,e.flags|=this.updateForViewport(),(c||!e.changes.empty||e.flags&2)&&this.updateViewportLines(),(this.lineGaps.length||this.viewport.to-this.viewport.from>4e3)&&this.updateLineGaps(this.ensureLineGaps(this.mapLineGaps(this.lineGaps,e.changes))),e.flags|=this.computeVisibleRanges(),n&&(this.scrollTarget=n),!this.mustEnforceCursorAssoc&&e.selectionSet&&e.view.lineWrapping&&e.state.selection.main.empty&&e.state.selection.main.assoc&&!e.state.facet(JP)&&(this.mustEnforceCursorAssoc=!0)}measure(e){let n=e.contentDOM,r=window.getComputedStyle(n),i=this.heightOracle,l=r.whiteSpace;this.defaultTextDirection=r.direction=="rtl"?Pe.RTL:Pe.LTR;let a=this.heightOracle.mustRefreshForWrapping(l),o=n.getBoundingClientRect(),s=a||this.mustMeasureContent||this.contentDOMHeight!=o.height;this.contentDOMHeight=o.height,this.mustMeasureContent=!1;let c=0,d=0;if(o.width&&o.height){let{scaleX:C,scaleY:w}=$P(n,o);(C>.005&&Math.abs(this.scaleX-C)>.005||w>.005&&Math.abs(this.scaleY-w)>.005)&&(this.scaleX=C,this.scaleY=w,c|=8,a=s=!0)}let f=(parseInt(r.paddingTop)||0)*this.scaleY,h=(parseInt(r.paddingBottom)||0)*this.scaleY;(this.paddingTop!=f||this.paddingBottom!=h)&&(this.paddingTop=f,this.paddingBottom=h,c|=10),this.editorWidth!=e.scrollDOM.clientWidth&&(i.lineWrapping&&(s=!0),this.editorWidth=e.scrollDOM.clientWidth,c|=8);let p=e.scrollDOM.scrollTop*this.scaleY;this.scrollTop!=p&&(this.scrollAnchorHeight=-1,this.scrollTop=p),this.scrolledToBottom=CP(e.scrollDOM);let m=(this.printing?HI:GI)(n,this.paddingTop),g=m.top-this.pixelViewport.top,O=m.bottom-this.pixelViewport.bottom;this.pixelViewport=m;let b=this.pixelViewport.bottom>this.pixelViewport.top&&this.pixelViewport.right>this.pixelViewport.left;if(b!=this.inView&&(this.inView=b,b&&(s=!0)),!this.inView&&!this.scrollTarget)return 0;let y=o.width;if((this.contentDOMWidth!=y||this.editorHeight!=e.scrollDOM.clientHeight)&&(this.contentDOMWidth=o.width,this.editorHeight=e.scrollDOM.clientHeight,c|=8),s){let C=e.docView.measureVisibleLineHeights(this.viewport);if(i.mustRefreshForHeights(C)&&(a=!0),a||i.lineWrapping&&Math.abs(y-this.contentDOMWidth)>i.charWidth){let{lineHeight:w,charWidth:x,textHeight:P}=e.docView.measureTextSize();a=w>0&&i.refresh(l,w,x,P,y/x,C),a&&(e.docView.minWidth=0,c|=8)}g>0&&O>0?d=Math.max(g,O):g<0&&O<0&&(d=Math.min(g,O)),ME();for(let w of this.viewports){let x=w.from==this.viewport.from?C:e.docView.measureVisibleLineHeights(w);this.heightMap=(a?Wt.empty().applyChanges(this.stateDeco,de.empty,this.heightOracle,[new qn(0,0,0,e.state.doc.length)]):this.heightMap).updateHeight(i,0,a,new F0(w.from,x))}Ca&&(c|=2)}let $=!this.viewportIsAppropriate(this.viewport,d)||this.scrollTarget&&(this.scrollTarget.range.headthis.viewport.to);return $&&(c&2&&(c|=this.updateScaler()),this.viewport=this.getViewport(d,this.scrollTarget),c|=this.updateForViewport()),(c&2||$)&&this.updateViewportLines(),(this.lineGaps.length||this.viewport.to-this.viewport.from>4e3)&&this.updateLineGaps(this.ensureLineGaps(a?[]:this.lineGaps,e)),c|=this.computeVisibleRanges(),this.mustEnforceCursorAssoc&&(this.mustEnforceCursorAssoc=!1,e.docView.enforceCursorAssoc()),c}get visibleTop(){return this.scaler.fromDOM(this.pixelViewport.top)}get visibleBottom(){return this.scaler.fromDOM(this.pixelViewport.bottom)}getViewport(e,n){let r=.5-Math.max(-.5,Math.min(.5,e/1e3/2)),i=this.heightMap,l=this.heightOracle,{visibleTop:a,visibleBottom:o}=this,s=new Da(i.lineAt(a-r*1e3,ke.ByHeight,l,0,0).from,i.lineAt(o+(1-r)*1e3,ke.ByHeight,l,0,0).to);if(n){let{head:c}=n.range;if(cs.to){let d=Math.min(this.editorHeight,this.pixelViewport.bottom-this.pixelViewport.top),f=i.lineAt(c,ke.ByPos,l,0,0),h;n.y=="center"?h=(f.top+f.bottom)/2-d/2:n.y=="start"||n.y=="nearest"&&c=o+Math.max(10,Math.min(r,250)))&&i>a-2*1e3&&l>1,a=i<<1;if(this.defaultTextDirection!=Pe.LTR&&!r)return[];let o=[],s=u((d,f,h,p)=>{if(f-dd&&bb.from>=h.from&&b.to<=h.to&&Math.abs(b.from-d)b.fromy));if(!O){if(f$.from<=f&&$.to>=f)){let $=n.moveToLineBoundary(z.cursor(f),!1,!0).head;$>d&&(f=$)}let b=this.gapSize(h,d,f,p),y=r||b<2e6?b:2e6;O=new Es(d,f,b,y)}o.push(O)},"addGap"),c=u(d=>{if(d.length2e6)for(let x of e)x.from>=d.from&&x.fromd.from&&s(d.from,p,d,f),mn.draw(this,this.heightOracle.lineWrapping))))}computeVisibleRanges(){let e=this.stateDeco;this.lineGaps.length&&(e=e.concat(this.lineGapDeco));let n=[];xe.spans(e,this.viewport.from,this.viewport.to,{span(i,l){n.push({from:i,to:l})},point(){}},20);let r=n.length!=this.visibleRanges.length||this.visibleRanges.some((i,l)=>i.from!=n[l].from||i.to!=n[l].to);return this.visibleRanges=n,r?4:0}lineBlockAt(e){return e>=this.viewport.from&&e<=this.viewport.to&&this.viewportLines.find(n=>n.from<=e&&n.to>=e)||As(this.heightMap.lineAt(e,ke.ByPos,this.heightOracle,0,0),this.scaler)}lineBlockAtHeight(e){return e>=this.viewportLines[0].top&&e<=this.viewportLines[this.viewportLines.length-1].bottom&&this.viewportLines.find(n=>n.top<=e&&n.bottom>=e)||As(this.heightMap.lineAt(this.scaler.fromDOM(e),ke.ByHeight,this.heightOracle,0,0),this.scaler)}scrollAnchorAt(e){let n=this.lineBlockAtHeight(e+8);return n.from>=this.viewport.from||this.viewportLines[0].top-e>200?n:this.viewportLines[0]}elementAtHeight(e){return As(this.heightMap.blockAt(this.scaler.fromDOM(e),this.heightOracle,0,0),this.scaler)}get docHeight(){return this.scaler.toDOM(this.heightMap.height)}get contentHeight(){return this.docHeight+this.paddingTop+this.paddingBottom}};u(O4,"ViewState");let ef=O4;const b4=class b4{constructor(e,n){this.from=e,this.to=n}};u(b4,"Viewport");let Da=b4;function _I(t,e,n){let r=[],i=t,l=0;return xe.spans(n,t,e,{span(){},point(a,o){a>i&&(r.push({from:i,to:a}),l+=a-i),i=o}},20),i=1)return e[e.length-1].to;let r=Math.floor(t*n);for(let i=0;;i++){let{from:l,to:a}=e[i],o=a-l;if(r<=o)return l+r;r-=o}}u(tf,"findPosition");function nf(t,e){let n=0;for(let{from:r,to:i}of t.ranges){if(e<=i){n+=e-r;break}n+=i-r}return n/t.total}u(nf,"findFraction");function JI(t,e){for(let n of t)if(e(n))return n}u(JI,"find");const VE={toDOM(t){return t},fromDOM(t){return t},scale:1,eq(t){return t==this}},Op=class Op{constructor(e,n,r){let i=0,l=0,a=0;this.viewports=r.map(({from:o,to:s})=>{let c=n.lineAt(o,ke.ByPos,e,0,0).top,d=n.lineAt(s,ke.ByPos,e,0,0).bottom;return i+=d-c,{from:o,to:s,top:c,bottom:d,domTop:0,domBottom:0}}),this.scale=(7e6-i)/(n.height-i);for(let o of this.viewports)o.domTop=a+(o.top-l)*this.scale,a=o.domBottom=o.domTop+(o.bottom-o.top),l=o.bottom}toDOM(e){for(let n=0,r=0,i=0;;n++){let l=nn.from==e.viewports[r].from&&n.to==e.viewports[r].to):!1}};u(Op,"BigScaler");let W0=Op;function As(t,e){if(e.scale==1)return t;let n=e.toDOM(t.top),r=e.toDOM(t.bottom);return new Un(t.from,t.length,n,r-n,Array.isArray(t._content)?t._content.map(i=>As(i,e)):t._content)}u(As,"scaleBlock");const rf=G.define({combine:t=>t.join(" ")}),X0=G.define({combine:t=>t.indexOf(!0)>-1}),j0=Zn.newName(),NE=Zn.newName(),FE=Zn.newName(),IE={"&light":"."+NE,"&dark":"."+FE};function q0(t,e,n){return new Zn(e,{finish(r){return/&/.test(r)?r.replace(/&\w*/,i=>{if(i=="&")return t;if(!n||!n[i])throw new RangeError(`Unsupported selector: ${i}`);return n[i]}):t+" "+r}})}u(q0,"buildTheme");const eZ=q0("."+j0,{"&":{position:"relative !important",boxSizing:"border-box","&.cm-focused":{outline:"1px dotted #212121"},display:"flex !important",flexDirection:"column"},".cm-scroller":{display:"flex !important",alignItems:"flex-start !important",fontFamily:"monospace",lineHeight:1.4,height:"100%",overflowX:"auto",position:"relative",zIndex:0,overflowAnchor:"none"},".cm-content":{margin:0,flexGrow:2,flexShrink:0,display:"block",whiteSpace:"pre",wordWrap:"normal",boxSizing:"border-box",minHeight:"100%",padding:"4px 0",outline:"none","&[contenteditable=true]":{WebkitUserModify:"read-write-plaintext-only"}},".cm-lineWrapping":{whiteSpace_fallback:"pre-wrap",whiteSpace:"break-spaces",wordBreak:"break-word",overflowWrap:"anywhere",flexShrink:1},"&light .cm-content":{caretColor:"black"},"&dark .cm-content":{caretColor:"white"},".cm-line":{display:"block",padding:"0 2px 0 6px"},".cm-layer":{position:"absolute",left:0,top:0,contain:"size style","& > *":{position:"absolute"}},"&light .cm-selectionBackground":{background:"#d9d9d9"},"&dark .cm-selectionBackground":{background:"#222"},"&light.cm-focused > .cm-scroller > .cm-selectionLayer .cm-selectionBackground":{background:"#d7d4f0"},"&dark.cm-focused > .cm-scroller > .cm-selectionLayer .cm-selectionBackground":{background:"#233"},".cm-cursorLayer":{pointerEvents:"none"},"&.cm-focused > .cm-scroller > .cm-cursorLayer":{animation:"steps(1) cm-blink 1.2s infinite"},"@keyframes cm-blink":{"0%":{},"50%":{opacity:0},"100%":{}},"@keyframes cm-blink2":{"0%":{},"50%":{opacity:0},"100%":{}},".cm-cursor, .cm-dropCursor":{borderLeft:"1.2px solid black",marginLeft:"-0.6px",pointerEvents:"none"},".cm-cursor":{display:"none"},"&dark .cm-cursor":{borderLeftColor:"#444"},".cm-dropCursor":{position:"absolute"},"&.cm-focused > .cm-scroller > .cm-cursorLayer .cm-cursor":{display:"block"},".cm-iso":{unicodeBidi:"isolate"},".cm-announced":{position:"fixed",top:"-10000px"},"@media print":{".cm-announced":{display:"none"}},"&light .cm-activeLine":{backgroundColor:"#cceeff44"},"&dark .cm-activeLine":{backgroundColor:"#99eeff33"},"&light .cm-specialChar":{color:"red"},"&dark .cm-specialChar":{color:"#f78"},".cm-gutters":{flexShrink:0,display:"flex",height:"100%",boxSizing:"border-box",insetInlineStart:0,zIndex:200},"&light .cm-gutters":{backgroundColor:"#f5f5f5",color:"#6c6c6c",borderRight:"1px solid #ddd"},"&dark .cm-gutters":{backgroundColor:"#333338",color:"#ccc"},".cm-gutter":{display:"flex !important",flexDirection:"column",flexShrink:0,boxSizing:"border-box",minHeight:"100%",overflow:"hidden"},".cm-gutterElement":{boxSizing:"border-box"},".cm-lineNumbers .cm-gutterElement":{padding:"0 3px 0 5px",minWidth:"20px",textAlign:"right",whiteSpace:"nowrap"},"&light .cm-activeLineGutter":{backgroundColor:"#e2f2ff"},"&dark .cm-activeLineGutter":{backgroundColor:"#222227"},".cm-panels":{boxSizing:"border-box",position:"sticky",left:0,right:0,zIndex:300},"&light .cm-panels":{backgroundColor:"#f5f5f5",color:"black"},"&light .cm-panels-top":{borderBottom:"1px solid #ddd"},"&light .cm-panels-bottom":{borderTop:"1px solid #ddd"},"&dark .cm-panels":{backgroundColor:"#333338",color:"white"},".cm-tab":{display:"inline-block",overflow:"hidden",verticalAlign:"bottom"},".cm-widgetBuffer":{verticalAlign:"text-top",height:"1em",width:0,display:"inline"},".cm-placeholder":{color:"#888",display:"inline-block",verticalAlign:"top"},".cm-highlightSpace":{backgroundImage:"radial-gradient(circle at 50% 55%, #aaa 20%, transparent 5%)",backgroundPosition:"center"},".cm-highlightTab":{backgroundImage:`url('data:image/svg+xml,')`,backgroundSize:"auto 100%",backgroundPosition:"right 90%",backgroundRepeat:"no-repeat"},".cm-trailingSpace":{backgroundColor:"#ff332255"},".cm-button":{verticalAlign:"middle",color:"inherit",fontSize:"70%",padding:".2em 1em",borderRadius:"1px"},"&light .cm-button":{backgroundImage:"linear-gradient(#eff1f5, #d9d9df)",border:"1px solid #888","&:active":{backgroundImage:"linear-gradient(#b4b4b4, #d0d3d6)"}},"&dark .cm-button":{backgroundImage:"linear-gradient(#393939, #111)",border:"1px solid #888","&:active":{backgroundImage:"linear-gradient(#111, #333)"}},".cm-textfield":{verticalAlign:"middle",color:"inherit",fontSize:"70%",border:"1px solid silver",padding:".2em .5em"},"&light .cm-textfield":{backgroundColor:"white"},"&dark .cm-textfield":{border:"1px solid #555",backgroundColor:"inherit"}},IE),tZ={childList:!0,characterData:!0,subtree:!0,attributes:!0,characterDataOldValue:!0},U0=U.ie&&U.ie_version<=11;let nZ=(Ju=class{constructor(e){this.view=e,this.active=!1,this.editContext=null,this.selectionRange=new c0,this.selectionChanged=!1,this.delayedFlush=-1,this.resizeTimeout=-1,this.queue=[],this.delayedAndroidKey=null,this.flushingAndroidKey=-1,this.lastChange=0,this.scrollTargets=[],this.intersection=null,this.resizeScroll=null,this.intersecting=!1,this.gapIntersection=null,this.gaps=[],this.printQuery=null,this.parentCheck=-1,this.dom=e.contentDOM,this.observer=new MutationObserver(n=>{for(let r of n)this.queue.push(r);(U.ie&&U.ie_version<=11||U.ios&&e.composing)&&n.some(r=>r.type=="childList"&&r.removedNodes.length||r.type=="characterData"&&r.oldValue.length>r.target.nodeValue.length)?this.flushSoon():this.flush()}),window.EditContext&&e.constructor.EDIT_CONTEXT!==!1&&!(U.chrome&&U.chrome_version<126)&&(this.editContext=new Y0(e),e.state.facet(si)&&(e.contentDOM.editContext=this.editContext.editContext)),U0&&(this.onCharData=n=>{this.queue.push({target:n.target,type:"characterData",oldValue:n.prevValue}),this.flushSoon()}),this.onSelectionChange=this.onSelectionChange.bind(this),this.onResize=this.onResize.bind(this),this.onPrint=this.onPrint.bind(this),this.onScroll=this.onScroll.bind(this),window.matchMedia&&(this.printQuery=window.matchMedia("print")),typeof ResizeObserver=="function"&&(this.resizeScroll=new ResizeObserver(()=>{var n;((n=this.view.docView)===null||n===void 0?void 0:n.lastUpdate){this.parentCheck<0&&(this.parentCheck=setTimeout(this.listenForScroll.bind(this),1e3)),n.length>0&&n[n.length-1].intersectionRatio>0!=this.intersecting&&(this.intersecting=!this.intersecting,this.intersecting!=this.view.inView&&this.onScrollChanged(document.createEvent("Event")))},{threshold:[0,.001]}),this.intersection.observe(this.dom),this.gapIntersection=new IntersectionObserver(n=>{n.length>0&&n[n.length-1].intersectionRatio>0&&this.onScrollChanged(document.createEvent("Event"))},{})),this.listenForScroll(),this.readSelectionRange()}onScrollChanged(e){this.view.inputState.runHandlers("scroll",e),this.intersecting&&this.view.measure()}onScroll(e){this.intersecting&&this.flush(!1),this.editContext&&this.view.requestMeasure(this.editContext.measureReq),this.onScrollChanged(e)}onResize(){this.resizeTimeout<0&&(this.resizeTimeout=setTimeout(()=>{this.resizeTimeout=-1,this.view.requestMeasure()},50))}onPrint(e){(e.type=="change"||!e.type)&&!e.matches||(this.view.viewState.printing=!0,this.view.measure(),setTimeout(()=>{this.view.viewState.printing=!1,this.view.requestMeasure()},500))}updateGaps(e){if(this.gapIntersection&&(e.length!=this.gaps.length||this.gaps.some((n,r)=>n!=e[r]))){this.gapIntersection.disconnect();for(let n of e)this.gapIntersection.observe(n);this.gaps=e}}onSelectionChange(e){let n=this.selectionChanged;if(!this.readSelectionRange()||this.delayedAndroidKey)return;let{view:r}=this,i=this.selectionRange;if(r.state.facet(si)?r.root.activeElement!=this.dom:!Vd(this.dom,i))return;let l=i.anchorNode&&r.docView.nearest(i.anchorNode);if(l&&l.ignoreEvent(e)){n||(this.selectionChanged=!1);return}(U.ie&&U.ie_version<=11||U.android&&U.chrome)&&!r.state.selection.main.empty&&i.focusNode&&gs(i.focusNode,i.focusOffset,i.anchorNode,i.anchorOffset)?this.flushSoon():this.flush(!1)}readSelectionRange(){let{view:e}=this,n=ms(e.root);if(!n)return!1;let r=U.safari&&e.root.nodeType==11&&e.root.activeElement==this.dom&&rZ(this.view,n)||n;if(!r||this.selectionRange.eq(r))return!1;let i=Vd(this.dom,r);return i&&!this.selectionChanged&&e.inputState.lastFocusTime>Date.now()-200&&e.inputState.lastTouchTime{let l=this.delayedAndroidKey;l&&(this.clearDelayedAndroidKey(),this.view.inputState.lastKeyCode=l.keyCode,this.view.inputState.lastKeyTime=Date.now(),!this.flush()&&l.force&&Sa(this.dom,l.key,l.keyCode))},"flush");this.flushingAndroidKey=this.view.win.requestAnimationFrame(i)}(!this.delayedAndroidKey||e=="Enter")&&(this.delayedAndroidKey={key:e,keyCode:n,force:this.lastChange{this.delayedFlush=-1,this.flush()}))}forceFlush(){this.delayedFlush>=0&&(this.view.win.cancelAnimationFrame(this.delayedFlush),this.delayedFlush=-1),this.flush()}pendingRecords(){for(let e of this.observer.takeRecords())this.queue.push(e);return this.queue}processRecords(){let e=this.pendingRecords();e.length&&(this.queue=[]);let n=-1,r=-1,i=!1;for(let l of e){let a=this.readMutation(l);a&&(a.typeOver&&(i=!0),n==-1?{from:n,to:r}=a:(n=Math.min(a.from,n),r=Math.max(a.to,r)))}return{from:n,to:r,typeOver:i}}readChange(){let{from:e,to:n,typeOver:r}=this.processRecords(),i=this.selectionChanged&&Vd(this.dom,this.selectionRange);if(e<0&&!i)return null;e>-1&&(this.lastChange=Date.now()),this.view.inputState.lastFocusTime=0,this.selectionChanged=!1;let l=new Q0(this.view,e,n,r);return this.view.docView.domChanged={newSel:l.newSel?l.newSel.main:null},l}flush(e=!0){if(this.delayedFlush>=0||this.delayedAndroidKey)return!1;e&&this.readSelectionRange();let n=this.readChange();if(!n)return this.view.requestMeasure(),!1;let r=this.view.state,i=mE(this.view,n);return this.view.state==r&&(n.domChanged||n.newSel&&!n.newSel.main.eq(this.view.state.selection.main))&&this.view.update([]),i}readMutation(e){let n=this.view.docView.nearest(e.target);if(!n||n.ignoreMutation(e))return null;if(n.markDirty(e.type=="attributes"),e.type=="attributes"&&(n.flags|=4),e.type=="childList"){let r=ZE(n,e.previousSibling||e.target.previousSibling,-1),i=ZE(n,e.nextSibling||e.target.nextSibling,1);return{from:r?n.posAfter(r):n.posAtStart,to:i?n.posBefore(i):n.posAtEnd,typeOver:!1}}else return e.type=="characterData"?{from:n.posAtStart,to:n.posAtEnd,typeOver:e.target.nodeValue==e.oldValue}:null}setWindow(e){e!=this.win&&(this.removeWindowListeners(this.win),this.win=e,this.addWindowListeners(this.win))}addWindowListeners(e){e.addEventListener("resize",this.onResize),this.printQuery?this.printQuery.addEventListener?this.printQuery.addEventListener("change",this.onPrint):this.printQuery.addListener(this.onPrint):e.addEventListener("beforeprint",this.onPrint),e.addEventListener("scroll",this.onScroll),e.document.addEventListener("selectionchange",this.onSelectionChange)}removeWindowListeners(e){e.removeEventListener("scroll",this.onScroll),e.removeEventListener("resize",this.onResize),this.printQuery?this.printQuery.removeEventListener?this.printQuery.removeEventListener("change",this.onPrint):this.printQuery.removeListener(this.onPrint):e.removeEventListener("beforeprint",this.onPrint),e.document.removeEventListener("selectionchange",this.onSelectionChange)}update(e){this.editContext&&(this.editContext.update(e),e.startState.facet(si)!=e.state.facet(si)&&(e.view.contentDOM.editContext=e.state.facet(si)?this.editContext.editContext:null))}destroy(){var e,n,r;this.stop(),(e=this.intersection)===null||e===void 0||e.disconnect(),(n=this.gapIntersection)===null||n===void 0||n.disconnect(),(r=this.resizeScroll)===null||r===void 0||r.disconnect();for(let i of this.scrollTargets)i.removeEventListener("scroll",this.onScroll);this.removeWindowListeners(this.win),clearTimeout(this.parentCheck),clearTimeout(this.resizeTimeout),this.win.cancelAnimationFrame(this.delayedFlush),this.win.cancelAnimationFrame(this.flushingAndroidKey),this.editContext&&(this.view.contentDOM.editContext=null,this.editContext.destroy())}},u(Ju,"DOMObserver"),Ju);function ZE(t,e,n){for(;e;){let r=Se.get(e);if(r&&r.parent==t)return r;let i=e.parentNode;e=i!=t.dom?i:n>0?e.nextSibling:e.previousSibling}return null}u(ZE,"findChild");function zE(t,e){let n=e.startContainer,r=e.startOffset,i=e.endContainer,l=e.endOffset,a=t.docView.domAtPos(t.state.selection.main.anchor);return gs(a.node,a.offset,i,l)&&([n,r,i,l]=[i,l,n,r]),{anchorNode:n,anchorOffset:r,focusNode:i,focusOffset:l}}u(zE,"buildSelectionRangeFromRange");function rZ(t,e){if(e.getComposedRanges){let i=e.getComposedRanges(t.root)[0];if(i)return zE(t,i)}let n=null;function r(i){i.preventDefault(),i.stopImmediatePropagation(),n=i.getTargetRanges()[0]}return u(r,"read"),t.contentDOM.addEventListener("beforeinput",r,!0),t.dom.ownerDocument.execCommand("indent"),t.contentDOM.removeEventListener("beforeinput",r,!0),n?zE(t,n):null}u(rZ,"safariSelectionRangeHack");const y4=class y4{constructor(e){this.from=0,this.to=0,this.pendingContextChange=null,this.handlers=Object.create(null),this.resetRange(e.state);let n=this.editContext=new window.EditContext({text:e.state.doc.sliceString(this.from,this.to),selectionStart:this.toContextPos(Math.max(this.from,Math.min(this.to,e.state.selection.main.anchor))),selectionEnd:this.toContextPos(e.state.selection.main.head)});this.handlers.textupdate=r=>{let{anchor:i}=e.state.selection.main,l={from:this.toEditorPos(r.updateRangeStart),to:this.toEditorPos(r.updateRangeEnd),insert:de.of(r.text.split(` -`))};l.from==this.from&&ithis.to&&(l.to=i),!(l.from==l.to&&!l.insert.length)&&(this.pendingContextChange=l,e.state.readOnly||M0(e,l,z.single(this.toEditorPos(r.selectionStart),this.toEditorPos(r.selectionEnd))),this.pendingContextChange&&(this.revertPending(e.state),this.setSelection(e.state)))},this.handlers.characterboundsupdate=r=>{let i=[],l=null;for(let a=this.toEditorPos(r.rangeStart),o=this.toEditorPos(r.rangeEnd);a{let i=[];for(let l of r.getTextFormats()){let a=l.underlineStyle,o=l.underlineThickness;if(a!="None"&&o!="None"){let s=`text-decoration: underline ${a=="Dashed"?"dashed ":a=="Squiggle"?"wavy ":""}${o=="Thin"?1:2}px`;i.push(ne.mark({attributes:{style:s}}).range(this.toEditorPos(l.rangeStart),this.toEditorPos(l.rangeEnd)))}}e.dispatch({effects:tE.of(ne.set(i))})},this.handlers.compositionstart=()=>{e.inputState.composing<0&&(e.inputState.composing=0,e.inputState.compositionFirstChange=!0)},this.handlers.compositionend=()=>{e.inputState.composing=-1,e.inputState.compositionFirstChange=null};for(let r in this.handlers)n.addEventListener(r,this.handlers[r]);this.measureReq={read:r=>{this.editContext.updateControlBounds(r.contentDOM.getBoundingClientRect());let i=ms(r.root);i&&i.rangeCount&&this.editContext.updateSelectionBounds(i.getRangeAt(0).getBoundingClientRect())}}}applyEdits(e){let n=0,r=!1,i=this.pendingContextChange;return e.changes.iterChanges((l,a,o,s,c)=>{if(r)return;let d=c.length-(a-l);if(i&&a>=i.to)if(i.from==l&&i.to==a&&i.insert.eq(c)){i=this.pendingContextChange=null,n+=d,this.to+=d;return}else i=null,this.revertPending(e.state);if(l+=n,a+=n,a<=this.from)this.from+=d,this.to+=d;else if(lthis.to||this.to-this.from+c.length>3e4){r=!0;return}this.editContext.updateText(this.toContextPos(l),this.toContextPos(a),c.toString()),this.to+=d}n+=d}),i&&!r&&this.revertPending(e.state),!r}update(e){let n=this.pendingContextChange;!this.applyEdits(e)||!this.rangeIsValid(e.state)?(this.pendingContextChange=null,this.resetRange(e.state),this.editContext.updateText(0,this.editContext.text.length,e.state.doc.sliceString(this.from,this.to)),this.setSelection(e.state)):(e.docChanged||e.selectionSet||n)&&this.setSelection(e.state),(e.geometryChanged||e.docChanged||e.selectionSet)&&e.view.requestMeasure(this.measureReq)}resetRange(e){let{head:n}=e.selection.main;this.from=Math.max(0,n-1e4),this.to=Math.min(e.doc.length,n+1e4)}revertPending(e){let n=this.pendingContextChange;this.pendingContextChange=null,this.editContext.updateText(this.toContextPos(n.from),this.toContextPos(n.from+n.insert.length),e.doc.sliceString(n.from,n.to))}setSelection(e){let{main:n}=e.selection,r=this.toContextPos(Math.max(this.from,Math.min(this.to,n.anchor))),i=this.toContextPos(n.head);(this.editContext.selectionStart!=r||this.editContext.selectionEnd!=i)&&this.editContext.updateSelection(r,i)}rangeIsValid(e){let{head:n}=e.selection.main;return!(this.from>0&&n-this.from<500||this.to1e4*3)}toEditorPos(e){return e+this.from}toContextPos(e){return e-this.from}destroy(){for(let e in this.handlers)this.editContext.removeEventListener(e,this.handlers[e])}};u(y4,"EditContextManager");let Y0=y4,H=(Rl=class{get state(){return this.viewState.state}get viewport(){return this.viewState.viewport}get visibleRanges(){return this.viewState.visibleRanges}get inView(){return this.viewState.inView}get composing(){return this.inputState.composing>0}get compositionStarted(){return this.inputState.composing>=0}get root(){return this._root}get win(){return this.dom.ownerDocument.defaultView||window}constructor(e={}){var n;this.plugins=[],this.pluginMap=new Map,this.editorAttrs={},this.contentAttrs={},this.bidiCache=[],this.destroyed=!1,this.updateState=2,this.measureScheduled=-1,this.measureRequests=[],this.contentDOM=document.createElement("div"),this.scrollDOM=document.createElement("div"),this.scrollDOM.tabIndex=-1,this.scrollDOM.className="cm-scroller",this.scrollDOM.appendChild(this.contentDOM),this.announceDOM=document.createElement("div"),this.announceDOM.className="cm-announced",this.announceDOM.setAttribute("aria-live","polite"),this.dom=document.createElement("div"),this.dom.appendChild(this.announceDOM),this.dom.appendChild(this.scrollDOM),e.parent&&e.parent.appendChild(this.dom);let{dispatch:r}=e;this.dispatchTransactions=e.dispatchTransactions||r&&(i=>i.forEach(l=>r(l,this)))||(i=>this.update(i)),this.dispatch=this.dispatch.bind(this),this._root=e.root||KF(e.parent)||document,this.viewState=new ef(e.state||Be.create(e)),e.scrollTo&&e.scrollTo.is(Wd)&&(this.viewState.scrollTarget=e.scrollTo.value.clip(this.viewState.state)),this.plugins=this.state.facet(Ss).map(i=>new Cs(i));for(let i of this.plugins)i.update(this);this.observer=new nZ(this),this.inputState=new RI(this),this.inputState.ensureHandlers(this.plugins),this.docView=new jd(this),this.mountStyles(),this.updateAttrs(),this.updateState=0,this.requestMeasure(),!((n=document.fonts)===null||n===void 0)&&n.ready&&document.fonts.ready.then(()=>this.requestMeasure())}dispatch(...e){let n=e.length==1&&e[0]instanceof Ot?e:e.length==1&&Array.isArray(e[0])?e[0]:[this.state.update(...e)];this.dispatchTransactions(n,this)}update(e){if(this.updateState!=0)throw new Error("Calls to EditorView.update are not allowed while an update is in progress");let n=!1,r=!1,i,l=this.state;for(let h of e){if(h.startState!=l)throw new RangeError("Trying to update state with a transaction that doesn't start from the previous state.");l=h.state}if(this.destroyed){this.viewState.state=l;return}let a=this.hasFocus,o=0,s=null;e.some(h=>h.annotation(EE))?(this.inputState.notifiedFocused=a,o=1):a!=this.inputState.notifiedFocused&&(this.inputState.notifiedFocused=a,s=AE(l,a),s||(o=1));let c=this.observer.delayedAndroidKey,d=null;if(c?(this.observer.clearDelayedAndroidKey(),d=this.observer.readChange(),(d&&!this.state.doc.eq(l.doc)||!this.state.selection.eq(l.selection))&&(d=null)):this.observer.clear(),l.facet(Be.phrases)!=this.state.facet(Be.phrases))return this.setState(l);i=Xd.create(this,l,e),i.flags|=o;let f=this.viewState.scrollTarget;try{this.updateState=2;for(let h of e){if(f&&(f=f.map(h.changes)),h.scrollIntoView){let{main:p}=h.state.selection;f=new xs(p.empty?p:z.cursor(p.head,p.head>p.anchor?-1:1))}for(let p of h.effects)p.is(Wd)&&(f=p.value.clip(this.state))}this.viewState.update(i,f),this.bidiCache=lf.update(this.bidiCache,i.changes),i.empty||(this.updatePlugins(i),this.inputState.update(i)),n=this.docView.update(i),this.state.facet(ks)!=this.styleModules&&this.mountStyles(),r=this.updateAttrs(),this.showAnnouncements(e),this.docView.updateSelection(n,e.some(h=>h.isUserEvent("select.pointer")))}finally{this.updateState=0}if(i.startState.facet(rf)!=i.state.facet(rf)&&(this.viewState.mustMeasureContent=!0),(n||r||f||this.viewState.mustEnforceCursorAssoc||this.viewState.mustMeasureContent)&&this.requestMeasure(),n&&this.docViewUpdate(),!i.empty)for(let h of this.state.facet(x0))try{h(i)}catch(p){Lt(this.state,p,"update listener")}(s||d)&&Promise.resolve().then(()=>{s&&this.state==s.startState&&this.dispatch(s),d&&!mE(this,d)&&c.force&&Sa(this.contentDOM,c.key,c.keyCode)})}setState(e){if(this.updateState!=0)throw new Error("Calls to EditorView.setState are not allowed while an update is in progress");if(this.destroyed){this.viewState.state=e;return}this.updateState=2;let n=this.hasFocus;try{for(let r of this.plugins)r.destroy(this);this.viewState=new ef(e),this.plugins=e.facet(Ss).map(r=>new Cs(r)),this.pluginMap.clear();for(let r of this.plugins)r.update(this);this.docView.destroy(),this.docView=new jd(this),this.inputState.ensureHandlers(this.plugins),this.mountStyles(),this.updateAttrs(),this.bidiCache=[]}finally{this.updateState=0}n&&this.focus(),this.requestMeasure()}updatePlugins(e){let n=e.startState.facet(Ss),r=e.state.facet(Ss);if(n!=r){let i=[];for(let l of r){let a=n.indexOf(l);if(a<0)i.push(new Cs(l));else{let o=this.plugins[a];o.mustUpdate=e,i.push(o)}}for(let l of this.plugins)l.mustUpdate!=e&&l.destroy(this);this.plugins=i,this.pluginMap.clear()}else for(let i of this.plugins)i.mustUpdate=e;for(let i=0;i-1&&this.win.cancelAnimationFrame(this.measureScheduled),this.observer.delayedAndroidKey){this.measureScheduled=-1,this.requestMeasure();return}this.measureScheduled=0,e&&this.observer.forceFlush();let n=null,r=this.scrollDOM,i=r.scrollTop*this.scaleY,{scrollAnchorPos:l,scrollAnchorHeight:a}=this.viewState;Math.abs(i-this.viewState.scrollTop)>1&&(a=-1),this.viewState.scrollAnchorHeight=-1;try{for(let o=0;;o++){if(a<0)if(CP(r))l=-1,a=this.viewState.heightMap.height;else{let p=this.viewState.scrollAnchorAt(i);l=p.from,a=p.top}this.updateState=1;let s=this.viewState.measure(this);if(!s&&!this.measureRequests.length&&this.viewState.scrollTarget==null)break;if(o>5){console.warn(this.measureRequests.length?"Measure loop restarted more than 5 times":"Viewport failed to stabilize");break}let c=[];s&4||([this.measureRequests,c]=[c,this.measureRequests]);let d=c.map(p=>{try{return p.read(this)}catch(m){return Lt(this.state,m),LE}}),f=Xd.create(this,this.state,[]),h=!1;f.flags|=s,n?n.flags|=s:n=f,this.updateState=2,f.empty||(this.updatePlugins(f),this.inputState.update(f),this.updateAttrs(),h=this.docView.update(f),h&&this.docViewUpdate());for(let p=0;p1||m<-1){i=i+m,r.scrollTop=i/this.scaleY,a=-1;continue}}break}}}finally{this.updateState=0,this.measureScheduled=-1}if(n&&!n.empty)for(let o of this.state.facet(x0))o(n)}get themeClasses(){return j0+" "+(this.state.facet(X0)?FE:NE)+" "+this.state.facet(rf)}updateAttrs(){let e=WE(this,nE,{class:"cm-editor"+(this.hasFocus?" cm-focused ":" ")+this.themeClasses}),n={spellcheck:"false",autocorrect:"off",autocapitalize:"off",translate:"no",contenteditable:this.state.facet(si)?"true":"false",class:"cm-content",style:`${U.tabSize}: ${this.state.tabSize}`,role:"textbox","aria-multiline":"true"};this.state.readOnly&&(n["aria-readonly"]="true"),WE(this,D0,n);let r=this.observer.ignore(()=>{let i=O0(this.contentDOM,this.contentAttrs,n),l=O0(this.dom,this.editorAttrs,e);return i||l});return this.editorAttrs=e,this.contentAttrs=n,r}showAnnouncements(e){let n=!0;for(let r of e)for(let i of r.effects)if(i.is(Rl.announce)){n&&(this.announceDOM.textContent=""),n=!1;let l=this.announceDOM.appendChild(document.createElement("div"));l.textContent=i.value}}mountStyles(){this.styleModules=this.state.facet(ks);let e=this.state.facet(Rl.cspNonce);Zn.mount(this.root,this.styleModules.concat(eZ).reverse(),e?{nonce:e}:void 0)}readMeasured(){if(this.updateState==2)throw new Error("Reading the editor layout isn't allowed during an update");this.updateState==0&&this.measureScheduled>-1&&this.measure(!1)}requestMeasure(e){if(this.measureScheduled<0&&(this.measureScheduled=this.win.requestAnimationFrame(()=>this.measure())),e){if(this.measureRequests.indexOf(e)>-1)return;if(e.key!=null){for(let n=0;nr.spec==e)||null),n&&n.update(this).value}get documentTop(){return this.contentDOM.getBoundingClientRect().top+this.viewState.paddingTop}get documentPadding(){return{top:this.viewState.paddingTop,bottom:this.viewState.paddingBottom}}get scaleX(){return this.viewState.scaleX}get scaleY(){return this.viewState.scaleY}elementAtHeight(e){return this.readMeasured(),this.viewState.elementAtHeight(e)}lineBlockAtHeight(e){return this.readMeasured(),this.viewState.lineBlockAtHeight(e)}get viewportLineBlocks(){return this.viewState.viewportLines}lineBlockAt(e){return this.viewState.lineBlockAt(e)}get contentHeight(){return this.viewState.contentHeight}moveByChar(e,n,r){return T0(this,e,pE(this,e,n,r))}moveByGroup(e,n){return T0(this,e,pE(this,e,n,r=>CI(this,e.head,r)))}visualLineSide(e,n){let r=this.bidiSpans(e),i=this.textDirectionAt(e.from),l=r[n?r.length-1:0];return z.cursor(l.side(n,i)+e.from,l.forward(!n,i)?1:-1)}moveToLineBoundary(e,n,r=!0){return SI(this,e,n,r)}moveVertically(e,n,r){return T0(this,e,DI(this,e,n,r))}domAtPos(e){return this.docView.domAtPos(e)}posAtDOM(e,n=0){return this.docView.posFromDOM(e,n)}posAtCoords(e,n=!0){return this.readMeasured(),fE(this,e,n)}coordsAtPos(e,n=1){this.readMeasured();let r=this.docView.coordsAt(e,n);if(!r||r.left==r.right)return r;let i=this.state.doc.lineAt(e),l=this.bidiSpans(i),a=l[jn.find(l,e-i.from,-1,n)];return Os(r,a.dir==Pe.LTR==n>0)}coordsForChar(e){return this.readMeasured(),this.docView.coordsForChar(e)}get defaultCharacterWidth(){return this.viewState.heightOracle.charWidth}get defaultLineHeight(){return this.viewState.heightOracle.lineHeight}get textDirection(){return this.viewState.defaultTextDirection}textDirectionAt(e){return!this.state.facet(_P)||ethis.viewport.to?this.textDirection:(this.readMeasured(),this.docView.textDirectionAt(e))}get lineWrapping(){return this.viewState.heightOracle.lineWrapping}bidiSpans(e){if(e.length>iZ)return XP(e.length);let n=this.textDirectionAt(e.from),r;for(let l of this.bidiCache)if(l.from==e.from&&l.dir==n&&(l.fresh||WP(l.isolates,r=lE(this,e))))return l.order;r||(r=lE(this,e));let i=sI(e.text,n,r);return this.bidiCache.push(new lf(e.from,e.to,n,r,!0,i)),i}get hasFocus(){var e;return(this.dom.ownerDocument.hasFocus()||U.safari&&((e=this.inputState)===null||e===void 0?void 0:e.lastContextMenu)>Date.now()-3e4)&&this.root.activeElement==this.contentDOM}focus(){this.observer.ignore(()=>{wP(this.contentDOM),this.docView.updateSelection()})}setRoot(e){this._root!=e&&(this._root=e,this.observer.setWindow((e.nodeType==9?e:e.ownerDocument).defaultView||window),this.mountStyles())}destroy(){this.root.activeElement==this.contentDOM&&this.contentDOM.blur();for(let e of this.plugins)e.destroy(this);this.plugins=[],this.inputState.destroy(),this.docView.destroy(),this.dom.remove(),this.observer.destroy(),this.measureScheduled>-1&&this.win.cancelAnimationFrame(this.measureScheduled),this.destroyed=!0}static scrollIntoView(e,n={}){return Wd.of(new xs(typeof e=="number"?z.cursor(e):e,n.y,n.x,n.yMargin,n.xMargin))}scrollSnapshot(){let{scrollTop:e,scrollLeft:n}=this.scrollDOM,r=this.viewState.scrollAnchorAt(e);return Wd.of(new xs(z.cursor(r.from),"start","start",r.top-e,n,!0))}setTabFocusMode(e){e==null?this.inputState.tabFocusMode=this.inputState.tabFocusMode<0?0:-1:typeof e=="boolean"?this.inputState.tabFocusMode=e?0:-1:this.inputState.tabFocusMode!=0&&(this.inputState.tabFocusMode=Date.now()+e)}static domEventHandlers(e){return He.define(()=>({}),{eventHandlers:e})}static domEventObservers(e){return He.define(()=>({}),{eventObservers:e})}static theme(e,n){let r=Zn.newName(),i=[rf.of(r),ks.of(q0(`.${r}`,e))];return n&&n.dark&&i.push(X0.of(!0)),i}static baseTheme(e){return _i.lowest(ks.of(q0("."+j0,e,IE)))}static findFromDOM(e){var n;let r=e.querySelector(".cm-content"),i=r&&Se.get(r)||Se.get(e);return((n=i?.rootView)===null||n===void 0?void 0:n.view)||null}},u(Rl,"EditorView"),Rl);H.styleModule=ks,H.inputHandler=GP,H.clipboardInputFilter=S0,H.clipboardOutputFilter=C0,H.scrollHandler=eE,H.focusChangeEffect=HP,H.perLineTextDirection=_P,H.exceptionSink=KP,H.updateListener=x0,H.editable=si,H.mouseSelectionStyle=YP,H.dragMovesSelection=UP,H.clickAddsSelectionRange=qP,H.decorations=Ds,H.outerDecorations=rE,H.atomicRanges=k0,H.bidiIsolatedRanges=iE,H.scrollMargins=aE,H.darkTheme=X0,H.cspNonce=G.define({combine:t=>t.length?t[0]:""}),H.contentAttributes=D0,H.editorAttributes=nE,H.lineWrapping=H.contentAttributes.of({class:"cm-lineWrapping"}),H.announce=pe.define();const iZ=4096,LE={},bp=class bp{constructor(e,n,r,i,l,a){this.from=e,this.to=n,this.dir=r,this.isolates=i,this.fresh=l,this.order=a}static update(e,n){if(n.empty&&!e.some(l=>l.fresh))return e;let r=[],i=e.length?e[e.length-1].dir:Pe.LTR;for(let l=Math.max(0,e.length-10);l=0;i--){let l=r[i],a=typeof l=="function"?l(t):l;a&&g0(a,n)}return n}u(WE,"attrsFromFacet");const lZ=U.mac?"mac":U.windows?"win":U.linux?"linux":"key";function aZ(t,e){const n=t.split(/-(?!$)/);let r=n[n.length-1];r=="Space"&&(r=" ");let i,l,a,o;for(let s=0;sr.concat(i),[]))),n}u(sZ,"getKeymap");let ci=null;const uZ=4e3;function cZ(t,e=lZ){let n=Object.create(null),r=Object.create(null),i=u((a,o)=>{let s=r[a];if(s==null)r[a]=o;else if(s!=o)throw new Error("Key binding "+a+" is used both as a regular binding and as a multi-stroke prefix")},"checkPrefix"),l=u((a,o,s,c,d)=>{var f,h;let p=n[a]||(n[a]=Object.create(null)),m=o.split(/ (?!$)/).map(b=>aZ(b,e));for(let b=1;b{let C=ci={view:$,prefix:y,scope:a};return setTimeout(()=>{ci==C&&(ci=null)},uZ),!0}]})}let g=m.join(" ");i(g,!1);let O=p[g]||(p[g]={preventDefault:!1,stopPropagation:!1,run:((h=(f=p._any)===null||f===void 0?void 0:f.run)===null||h===void 0?void 0:h.slice())||[]});s&&O.run.push(s),c&&(O.preventDefault=!0),d&&(O.stopPropagation=!0)},"add");for(let a of t){let o=a.scope?a.scope.split(" "):["editor"];if(a.any)for(let c of o){let d=n[c]||(n[c]=Object.create(null));d._any||(d._any={preventDefault:!1,stopPropagation:!1,run:[]});let{any:f}=a;for(let h in d)d[h].run.push(p=>f(p,K0))}let s=a[e]||a.key;if(s)for(let c of o)l(c,s,a.run,a.preventDefault,a.stopPropagation),a.shift&&l(c,"Shift-"+s,a.shift,a.preventDefault,a.stopPropagation)}return n}u(cZ,"buildKeymap$1");let K0=null;function dZ(t,e,n,r){K0=e;let i=yP(e),l=Ye(i,0),a=un(l)==i.length&&i!=" ",o="",s=!1,c=!1,d=!1;ci&&ci.view==n&&ci.scope==r&&(o=ci.prefix+" ",bE.indexOf(e.keyCode)<0&&(c=!0,ci=null));let f=new Set,h=u(O=>{if(O){for(let b of O.run)if(!f.has(b)&&(f.add(b),b(n)))return O.stopPropagation&&(d=!0),!0;O.preventDefault&&(O.stopPropagation&&(d=!0),c=!0)}return!1},"runFor"),p=t[r],m,g;return p&&(h(p[o+af(i,e,!a)])?s=!0:a&&(e.altKey||e.metaKey||e.ctrlKey)&&!(U.windows&&e.ctrlKey&&e.altKey)&&(m=Pr[e.keyCode])&&m!=i?(h(p[o+af(m,e,!0)])||e.shiftKey&&(g=ps[e.keyCode])!=i&&g!=m&&h(p[o+af(g,e,!1)]))&&(s=!0):a&&e.shiftKey&&h(p[o+af(i,e,!0)])&&(s=!0),!s&&h(p._any)&&(s=!0)),c&&(s=!0),s&&d&&e.stopPropagation(),K0=null,s}u(dZ,"runHandlers");const yp=class yp{constructor(e,n,r,i,l){this.className=e,this.left=n,this.top=r,this.width=i,this.height=l}draw(){let e=document.createElement("div");return e.className=this.className,this.adjust(e),e}update(e,n){return n.className!=this.className?!1:(this.adjust(e),!0)}adjust(e){e.style.left=this.left+"px",e.style.top=this.top+"px",this.width!=null&&(e.style.width=this.width+"px"),e.style.height=this.height+"px"}eq(e){return this.left==e.left&&this.top==e.top&&this.width==e.width&&this.height==e.height&&this.className==e.className}static forRange(e,n,r){if(r.empty){let i=e.coordsAtPos(r.head,r.assoc||1);if(!i)return[];let l=jE(e);return[new yp(n,i.left-l.left,i.top-l.top,null,i.bottom-i.top)]}else return fZ(e,n,r)}};u(yp,"RectangleMarker");let Ts=yp;function jE(t){let e=t.scrollDOM.getBoundingClientRect();return{left:(t.textDirection==Pe.LTR?e.left:e.right-t.scrollDOM.clientWidth*t.scaleX)-t.scrollDOM.scrollLeft*t.scaleX,top:e.top-t.scrollDOM.scrollTop*t.scaleY}}u(jE,"getBase");function qE(t,e,n,r){let i=t.coordsAtPos(e,n*2);if(!i)return r;let l=t.dom.getBoundingClientRect(),a=(i.top+i.bottom)/2,o=t.posAtCoords({x:l.left+1,y:a}),s=t.posAtCoords({x:l.right-1,y:a});return o==null||s==null?r:{from:Math.max(r.from,Math.min(o,s)),to:Math.min(r.to,Math.max(o,s))}}u(qE,"wrappedLine");function fZ(t,e,n){if(n.to<=t.viewport.from||n.from>=t.viewport.to)return[];let r=Math.max(n.from,t.viewport.from),i=Math.min(n.to,t.viewport.to),l=t.textDirection==Pe.LTR,a=t.contentDOM,o=a.getBoundingClientRect(),s=jE(t),c=a.querySelector(".cm-line"),d=c&&window.getComputedStyle(c),f=o.left+(d?parseInt(d.paddingLeft)+Math.min(0,parseInt(d.textIndent)):0),h=o.right-(d?parseInt(d.paddingRight):0),p=A0(t,r),m=A0(t,i),g=p.type==yt.Text?p:null,O=m.type==yt.Text?m:null;if(g&&(t.lineWrapping||p.widgetLineBreaks)&&(g=qE(t,r,1,g)),O&&(t.lineWrapping||m.widgetLineBreaks)&&(O=qE(t,i,-1,O)),g&&O&&g.from==O.from&&g.to==O.to)return y($(n.from,n.to,g));{let w=g?$(n.from,null,g):C(p,!1),x=O?$(null,n.to,O):C(m,!0),P=[];return(g||p).to<(O||m).from-(g&&O?1:0)||p.widgetLineBreaks>1&&w.bottom+t.defaultLineHeight/2E&&B.from=R)break;F>T&&S(Math.max(I,T),w==null&&I<=E,Math.min(F,R),x==null&&F>=A,N.dir)}if(T=M.to+1,T>=R)break}return D.length==0&&S(E,w==null,A,x==null,t.textDirection),{top:v,bottom:k,horizontal:D}}u($,"drawForLine");function C(w,x){let P=o.top+(x?w.top:w.bottom);return{top:P,bottom:P,horizontal:[]}}u(C,"drawForWidget")}u(fZ,"rectanglesForRange");function hZ(t,e){return t.constructor==e.constructor&&t.eq(e)}u(hZ,"sameMarker");const v4=class v4{constructor(e,n){this.view=e,this.layer=n,this.drawn=[],this.scaleX=1,this.scaleY=1,this.measureReq={read:this.measure.bind(this),write:this.draw.bind(this)},this.dom=e.scrollDOM.appendChild(document.createElement("div")),this.dom.classList.add("cm-layer"),n.above&&this.dom.classList.add("cm-layer-above"),n.class&&this.dom.classList.add(n.class),this.scale(),this.dom.setAttribute("aria-hidden","true"),this.setOrder(e.state),e.requestMeasure(this.measureReq),n.mount&&n.mount(this.dom,e)}update(e){e.startState.facet(sf)!=e.state.facet(sf)&&this.setOrder(e.state),(this.layer.update(e,this.dom)||e.geometryChanged)&&(this.scale(),e.view.requestMeasure(this.measureReq))}docViewUpdate(e){this.layer.updateOnDocViewUpdate!==!1&&e.requestMeasure(this.measureReq)}setOrder(e){let n=0,r=e.facet(sf);for(;n!hZ(n,this.drawn[r]))){let n=this.dom.firstChild,r=0;for(let i of e)i.update&&n&&i.constructor&&this.drawn[r].constructor&&i.update(n,this.drawn[r])?(n=n.nextSibling,r++):this.dom.insertBefore(i.draw(),n);for(;n;){let i=n.nextSibling;n.remove(),n=i}this.drawn=e}}destroy(){this.layer.destroy&&this.layer.destroy(this.dom,this.view),this.dom.remove()}};u(v4,"LayerView");let G0=v4;const sf=G.define();function UE(t){return[He.define(e=>new G0(e,t)),sf.of(t)]}u(UE,"layer");const YE=!U.ios,Rs=G.define({combine(t){return ii(t,{cursorBlinkRate:1200,drawRangeCursor:!0},{cursorBlinkRate:(e,n)=>Math.min(e,n),drawRangeCursor:(e,n)=>e||n})}});function pZ(t={}){return[Rs.of(t),mZ,gZ,OZ,JP.of(!0)]}u(pZ,"drawSelection");function KE(t){return t.startState.facet(Rs)!=t.state.facet(Rs)}u(KE,"configChanged");const mZ=UE({above:!0,markers(t){let{state:e}=t,n=e.facet(Rs),r=[];for(let i of e.selection.ranges){let l=i==e.selection.main;if(i.empty?!l||YE:n.drawRangeCursor){let a=l?"cm-cursor cm-cursor-primary":"cm-cursor cm-cursor-secondary",o=i.empty?i:z.cursor(i.head,i.head>i.anchor?-1:1);for(let s of Ts.forRange(t,a,o))r.push(s)}}return r},update(t,e){t.transactions.some(r=>r.selection)&&(e.style.animationName=e.style.animationName=="cm-blink"?"cm-blink2":"cm-blink");let n=KE(t);return n&&GE(t.state,e),t.docChanged||t.selectionSet||n},mount(t,e){GE(e.state,t)},class:"cm-cursorLayer"});function GE(t,e){e.style.animationDuration=t.facet(Rs).cursorBlinkRate+"ms"}u(GE,"setBlinkRate");const gZ=UE({above:!1,markers(t){return t.state.selection.ranges.map(e=>e.empty?[]:Ts.forRange(t,"cm-selectionBackground",e)).reduce((e,n)=>e.concat(n))},update(t,e){return t.docChanged||t.selectionSet||t.viewportChanged||KE(t)},class:"cm-selectionLayer"}),H0={".cm-line":{"& ::selection, &::selection":{backgroundColor:"transparent !important"}},".cm-content":{"& :focus":{caretColor:"initial !important","&::selection, & ::selection":{backgroundColor:"Highlight !important"}}}};YE&&(H0[".cm-line"].caretColor=H0[".cm-content"].caretColor="transparent !important");const OZ=_i.highest(H.theme(H0));function HE(t,e,n,r,i){e.lastIndex=0;for(let l=t.iterRange(n,r),a=n,o;!l.next().done;a+=l.value.length)if(!l.lineBreak)for(;o=e.exec(l.value);)i(a+o.index,o)}u(HE,"iterMatches");function bZ(t,e){let n=t.visibleRanges;if(n.length==1&&n[0].from==t.viewport.from&&n[0].to==t.viewport.to)return n;let r=[];for(let{from:i,to:l}of n)i=Math.max(t.state.doc.lineAt(i).from,i-e),l=Math.min(t.state.doc.lineAt(l).to,l+e),r.length&&r[r.length-1].to>=i?r[r.length-1].to=l:r.push({from:i,to:l});return r}u(bZ,"matchRanges");const $4=class $4{constructor(e){const{regexp:n,decoration:r,decorate:i,boundary:l,maxLength:a=1e3}=e;if(!n.global)throw new RangeError("The regular expression given to MatchDecorator should have its 'g' flag set");if(this.regexp=n,i)this.addMatch=(o,s,c,d)=>i(d,c,c+o[0].length,o,s);else if(typeof r=="function")this.addMatch=(o,s,c,d)=>{let f=r(o,s,c);f&&d(c,c+o[0].length,f)};else if(r)this.addMatch=(o,s,c,d)=>d(c,c+o[0].length,r);else throw new RangeError("Either 'decorate' or 'decoration' should be provided to MatchDecorator");this.boundary=l,this.maxLength=a}createDeco(e){let n=new Ji,r=n.add.bind(n);for(let{from:i,to:l}of bZ(e,this.maxLength))HE(e.state.doc,this.regexp,i,l,(a,o)=>this.addMatch(o,e,a,r));return n.finish()}updateDeco(e,n){let r=1e9,i=-1;return e.docChanged&&e.changes.iterChanges((l,a,o,s)=>{s>e.view.viewport.from&&o1e3?this.createDeco(e.view):i>-1?this.updateRange(e.view,n.map(e.changes),r,i):n}updateRange(e,n,r,i){for(let l of e.visibleRanges){let a=Math.max(l.from,r),o=Math.min(l.to,i);if(o>a){let s=e.state.doc.lineAt(a),c=s.tos.from;a--)if(this.boundary.test(s.text[a-1-s.from])){d=a;break}for(;oh.push(b.range(g,O)),"add");if(s==c)for(this.regexp.lastIndex=d-s.from;(p=this.regexp.exec(s.text))&&p.indexthis.addMatch(O,e,g,m));n=n.update({filterFrom:d,filterTo:f,filter:(g,O)=>gf,add:h})}}return n}};u($4,"MatchDecorator");let uf=$4;const _0=/x/.unicode!=null?"gu":"g",yZ=new RegExp(`[\0-\b --\x7F-\x9F\xAD\u061C\u200B\u200E\u200F\u2028\u2029\u202D\u202E\u2066\u2067\u2069\uFEFF\uFFF9-\uFFFC]`,_0),vZ={0:"null",7:"bell",8:"backspace",10:"newline",11:"vertical tab",13:"carriage return",27:"escape",8203:"zero width space",8204:"zero width non-joiner",8205:"zero width joiner",8206:"left-to-right mark",8207:"right-to-left mark",8232:"line separator",8237:"left-to-right override",8238:"right-to-left override",8294:"left-to-right isolate",8295:"right-to-left isolate",8297:"pop directional isolate",8233:"paragraph separator",65279:"zero width no-break space",65532:"object replacement"};let J0=null;function $Z(){var t;if(J0==null&&typeof document<"u"&&document.body){let e=document.body.style;J0=((t=e.tabSize)!==null&&t!==void 0?t:e.MozTabSize)!=null}return J0||!1}u($Z,"supportsTabSize");const cf=G.define({combine(t){let e=ii(t,{render:null,specialChars:yZ,addSpecialChars:null});return(e.replaceTabs=!$Z())&&(e.specialChars=new RegExp(" |"+e.specialChars.source,_0)),e.addSpecialChars&&(e.specialChars=new RegExp(e.specialChars.source+"|"+e.addSpecialChars.source,_0)),e}});function wZ(t={}){return[cf.of(t),xZ()]}u(wZ,"highlightSpecialChars");let _E=null;function xZ(){return _E||(_E=He.fromClass(class{constructor(t){this.view=t,this.decorations=ne.none,this.decorationCache=Object.create(null),this.decorator=this.makeDecorator(t.state.facet(cf)),this.decorations=this.decorator.createDeco(t)}makeDecorator(t){return new uf({regexp:t.specialChars,decoration:(e,n,r)=>{let{doc:i}=n.state,l=Ye(e[0],0);if(l==9){let a=i.lineAt(r),o=n.state.tabSize,s=$a(a.text,o,r-a.from);return ne.replace({widget:new tO((o-s%o)*this.view.defaultCharacterWidth/this.view.scaleX)})}return this.decorationCache[l]||(this.decorationCache[l]=ne.replace({widget:new eO(t,l)}))},boundary:t.replaceTabs?void 0:/[^]/})}update(t){let e=t.state.facet(cf);t.startState.facet(cf)!=e?(this.decorator=this.makeDecorator(e),this.decorations=this.decorator.createDeco(t.view)):this.decorations=this.decorator.updateDeco(t,this.decorations)}},{decorations:t=>t.decorations}))}u(xZ,"specialCharPlugin");const SZ="\u2022";function CZ(t){return t>=32?SZ:t==10?"\u2424":String.fromCharCode(9216+t)}u(CZ,"placeholder$1");const w4=class w4 extends Wn{constructor(e,n){super(),this.options=e,this.code=n}eq(e){return e.code==this.code}toDOM(e){let n=CZ(this.code),r=e.state.phrase("Control character")+" "+(vZ[this.code]||"0x"+this.code.toString(16)),i=this.options.render&&this.options.render(this.code,r,n);if(i)return i;let l=document.createElement("span");return l.textContent=n,l.title=r,l.setAttribute("aria-label",r),l.className="cm-specialChar",l}ignoreEvent(){return!1}};u(w4,"SpecialCharWidget");let eO=w4;const x4=class x4 extends Wn{constructor(e){super(),this.width=e}eq(e){return e.width==this.width}toDOM(){let e=document.createElement("span");return e.textContent=" ",e.className="cm-tab",e.style.width=this.width+"px",e}ignoreEvent(){return!1}};u(x4,"TabWidget");let tO=x4;function DZ(){return PZ}u(DZ,"highlightActiveLine");const kZ=ne.line({class:"cm-activeLine"}),PZ=He.fromClass(class{constructor(t){this.decorations=this.getDeco(t)}update(t){(t.docChanged||t.selectionSet)&&(this.decorations=this.getDeco(t.view))}getDeco(t){let e=-1,n=[];for(let r of t.state.selection.ranges){let i=t.lineBlockAt(r.head);i.from>e&&(n.push(kZ.range(i.from)),e=i.from)}return ne.set(n)}},{decorations:t=>t.decorations}),S4=class S4 extends Wn{constructor(e){super(),this.content=e}toDOM(e){let n=document.createElement("span");return n.className="cm-placeholder",n.style.pointerEvents="none",n.appendChild(typeof this.content=="string"?document.createTextNode(this.content):typeof this.content=="function"?this.content(e):this.content.cloneNode(!0)),typeof this.content=="string"?n.setAttribute("aria-label","placeholder "+this.content):n.setAttribute("aria-hidden","true"),n}coordsAt(e){let n=e.firstChild?wa(e.firstChild):[];if(!n.length)return null;let r=window.getComputedStyle(e.parentNode),i=Os(n[0],r.direction!="rtl"),l=parseInt(r.lineHeight);return i.bottom-i.top>l*1.5?{left:i.left,right:i.right,top:i.top,bottom:i.top+l}:i}ignoreEvent(){return!1}};u(S4,"Placeholder");let nO=S4;function EZ(t){return He.fromClass(class{constructor(e){this.view=e,this.placeholder=t?ne.set([ne.widget({widget:new nO(t),side:1}).range(0)]):ne.none}get decorations(){return this.view.state.doc.length?ne.none:this.placeholder}},{decorations:e=>e.decorations})}u(EZ,"placeholder");const rO=2e3;function AZ(t,e,n){let r=Math.min(e.line,n.line),i=Math.max(e.line,n.line),l=[];if(e.off>rO||n.off>rO||e.col<0||n.col<0){let a=Math.min(e.off,n.off),o=Math.max(e.off,n.off);for(let s=r;s<=i;s++){let c=t.doc.line(s);c.length<=o&&l.push(z.range(c.from+a,c.to+o))}}else{let a=Math.min(e.col,n.col),o=Math.max(e.col,n.col);for(let s=r;s<=i;s++){let c=t.doc.line(s),d=i0(c.text,a,t.tabSize,!0);if(d<0)l.push(z.cursor(c.to));else{let f=i0(c.text,o,t.tabSize);l.push(z.range(c.from+d,c.from+f))}}}return l}u(AZ,"rectangleFor");function TZ(t,e){let n=t.coordsAtPos(t.viewport.from);return n?Math.round(Math.abs((n.left-e)/t.defaultCharacterWidth)):-1}u(TZ,"absoluteColumn");function JE(t,e){let n=t.posAtCoords({x:e.clientX,y:e.clientY},!1),r=t.state.doc.lineAt(n),i=n-r.from,l=i>rO?-1:i==r.length?TZ(t,e.clientX):$a(r.text,t.state.tabSize,n-r.from);return{line:r.number,col:l,off:i}}u(JE,"getPos");function RZ(t,e){let n=JE(t,e),r=t.state.selection;return n?{update(i){if(i.docChanged){let l=i.changes.mapPos(i.startState.doc.line(n.line).from),a=i.state.doc.lineAt(l);n={line:a.number,col:n.col,off:Math.min(n.off,a.length)},r=r.map(i.changes)}},get(i,l,a){let o=JE(t,i);if(!o)return r;let s=AZ(t.state,n,o);return s.length?a?z.create(s.concat(r.ranges)):z.create(s):r}}:null}u(RZ,"rectangleSelectionStyle");function QZ(t){let e=t?.eventFilter||(n=>n.altKey&&n.button==0);return H.mouseSelectionStyle.of((n,r)=>e(r)?RZ(n,r):null)}u(QZ,"rectangularSelection");const MZ={Alt:[18,t=>!!t.altKey],Control:[17,t=>!!t.ctrlKey],Shift:[16,t=>!!t.shiftKey],Meta:[91,t=>!!t.metaKey]},BZ={style:"cursor: crosshair"};function VZ(t={}){let[e,n]=MZ[t.key||"Alt"],r=He.fromClass(class{constructor(i){this.view=i,this.isDown=!1}set(i){this.isDown!=i&&(this.isDown=i,this.view.update([]))}},{eventObservers:{keydown(i){this.set(i.keyCode==e||n(i))},keyup(i){(i.keyCode==e||!n(i))&&this.set(!1)},mousemove(i){this.set(n(i))}}});return[r,H.contentAttributes.of(i=>{var l;return!((l=i.plugin(r))===null||l===void 0)&&l.isDown?BZ:null})]}u(VZ,"crosshairCursor");const Qs="-10000px",C4=class C4{constructor(e,n,r,i){this.facet=n,this.createTooltipView=r,this.removeTooltipView=i,this.input=e.state.facet(n),this.tooltips=this.input.filter(a=>a);let l=null;this.tooltipViews=this.tooltips.map(a=>l=r(a,l))}update(e,n){var r;let i=e.state.facet(this.facet),l=i.filter(s=>s);if(i===this.input){for(let s of this.tooltipViews)s.update&&s.update(e);return!1}let a=[],o=n?[]:null;for(let s=0;sn[c]=s),n.length=o.length),this.input=i,this.tooltips=l,this.tooltipViews=a,!0}};u(C4,"TooltipViewManager");let iO=C4;function NZ(t){let{win:e}=t;return{top:0,left:0,bottom:e.innerHeight,right:e.innerWidth}}u(NZ,"windowSpace");const lO=G.define({combine:t=>{var e,n,r;return{position:U.ios?"absolute":((e=t.find(i=>i.position))===null||e===void 0?void 0:e.position)||"fixed",parent:((n=t.find(i=>i.parent))===null||n===void 0?void 0:n.parent)||null,tooltipSpace:((r=t.find(i=>i.tooltipSpace))===null||r===void 0?void 0:r.tooltipSpace)||NZ}}}),e6=new WeakMap,t6=He.fromClass(class{constructor(t){this.view=t,this.above=[],this.inView=!0,this.madeAbsolute=!1,this.lastTransaction=0,this.measureTimeout=-1;let e=t.state.facet(lO);this.position=e.position,this.parent=e.parent,this.classes=t.themeClasses,this.createContainer(),this.measureReq={read:this.readMeasure.bind(this),write:this.writeMeasure.bind(this),key:this},this.resizeObserver=typeof ResizeObserver=="function"?new ResizeObserver(()=>this.measureSoon()):null,this.manager=new iO(t,n6,(n,r)=>this.createTooltip(n,r),n=>{this.resizeObserver&&this.resizeObserver.unobserve(n.dom),n.dom.remove()}),this.above=this.manager.tooltips.map(n=>!!n.above),this.intersectionObserver=typeof IntersectionObserver=="function"?new IntersectionObserver(n=>{Date.now()>this.lastTransaction-50&&n.length>0&&n[n.length-1].intersectionRatio<1&&this.measureSoon()},{threshold:[1]}):null,this.observeIntersection(),t.win.addEventListener("resize",this.measureSoon=this.measureSoon.bind(this)),this.maybeMeasure()}createContainer(){this.parent?(this.container=document.createElement("div"),this.container.style.position="relative",this.container.className=this.view.themeClasses,this.parent.appendChild(this.container)):this.container=this.view.dom}observeIntersection(){if(this.intersectionObserver){this.intersectionObserver.disconnect();for(let t of this.manager.tooltipViews)this.intersectionObserver.observe(t.dom)}}measureSoon(){this.measureTimeout<0&&(this.measureTimeout=setTimeout(()=>{this.measureTimeout=-1,this.maybeMeasure()},50))}update(t){t.transactions.length&&(this.lastTransaction=Date.now());let e=this.manager.update(t,this.above);e&&this.observeIntersection();let n=e||t.geometryChanged,r=t.state.facet(lO);if(r.position!=this.position&&!this.madeAbsolute){this.position=r.position;for(let i of this.manager.tooltipViews)i.dom.style.position=this.position;n=!0}if(r.parent!=this.parent){this.parent&&this.container.remove(),this.parent=r.parent,this.createContainer();for(let i of this.manager.tooltipViews)this.container.appendChild(i.dom);n=!0}else this.parent&&this.view.themeClasses!=this.classes&&(this.classes=this.container.className=this.view.themeClasses);n&&this.maybeMeasure()}createTooltip(t,e){let n=t.create(this.view),r=e?e.dom:null;if(n.dom.classList.add("cm-tooltip"),t.arrow&&!n.dom.querySelector(".cm-tooltip > .cm-tooltip-arrow")){let i=document.createElement("div");i.className="cm-tooltip-arrow",n.dom.appendChild(i)}return n.dom.style.position=this.position,n.dom.style.top=Qs,n.dom.style.left="0px",this.container.insertBefore(n.dom,r),n.mount&&n.mount(this.view),this.resizeObserver&&this.resizeObserver.observe(n.dom),n}destroy(){var t,e,n;this.view.win.removeEventListener("resize",this.measureSoon);for(let r of this.manager.tooltipViews)r.dom.remove(),(t=r.destroy)===null||t===void 0||t.call(r);this.parent&&this.container.remove(),(e=this.resizeObserver)===null||e===void 0||e.disconnect(),(n=this.intersectionObserver)===null||n===void 0||n.disconnect(),clearTimeout(this.measureTimeout)}readMeasure(){let t=this.view.dom.getBoundingClientRect(),e=1,n=1,r=!1;if(this.position=="fixed"&&this.manager.tooltipViews.length){let{dom:i}=this.manager.tooltipViews[0];if(U.gecko)r=i.offsetParent!=this.container.ownerDocument.body;else if(i.style.top==Qs&&i.style.left=="0px"){let l=i.getBoundingClientRect();r=Math.abs(l.top+1e4)>1||Math.abs(l.left)>1}}if(r||this.position=="absolute")if(this.parent){let i=this.parent.getBoundingClientRect();i.width&&i.height&&(e=i.width/this.parent.offsetWidth,n=i.height/this.parent.offsetHeight)}else({scaleX:e,scaleY:n}=this.view.viewState);return{editor:t,parent:this.parent?this.container.getBoundingClientRect():t,pos:this.manager.tooltips.map((i,l)=>{let a=this.manager.tooltipViews[l];return a.getCoords?a.getCoords(i.pos):this.view.coordsAtPos(i.pos)}),size:this.manager.tooltipViews.map(({dom:i})=>i.getBoundingClientRect()),space:this.view.state.facet(lO).tooltipSpace(this.view),scaleX:e,scaleY:n,makeAbsolute:r}}writeMeasure(t){var e;if(t.makeAbsolute){this.madeAbsolute=!0,this.position="absolute";for(let o of this.manager.tooltipViews)o.dom.style.position="absolute"}let{editor:n,space:r,scaleX:i,scaleY:l}=t,a=[];for(let o=0;o=Math.min(n.bottom,r.bottom)||f.rightMath.min(n.right,r.right)+.1){d.style.top=Qs;continue}let p=s.arrow?c.dom.querySelector(".cm-tooltip-arrow"):null,m=p?7:0,g=h.right-h.left,O=(e=e6.get(c))!==null&&e!==void 0?e:h.bottom-h.top,b=c.offset||IZ,y=this.view.textDirection==Pe.LTR,$=h.width>r.right-r.left?y?r.left:r.right-h.width:y?Math.max(r.left,Math.min(f.left-(p?14:0)+b.x,r.right-g)):Math.min(Math.max(r.left,f.left-g+(p?14:0)-b.x),r.right-g),C=this.above[o];!s.strictSide&&(C?f.top-(h.bottom-h.top)-b.yr.bottom)&&C==r.bottom-f.bottom>f.top-r.top&&(C=this.above[o]=!C);let w=(C?f.top-r.top:r.bottom-f.bottom)-m;if(w$&&v.topx&&(x=C?v.top-O-2-m:v.bottom+m+2);if(this.position=="absolute"?(d.style.top=(x-t.parent.top)/l+"px",d.style.left=($-t.parent.left)/i+"px"):(d.style.top=x/l+"px",d.style.left=$/i+"px"),p){let v=f.left+(y?b.x:-b.x)-($+14-7);p.style.left=v/i+"px"}c.overlap!==!0&&a.push({left:$,top:x,right:P,bottom:x+O}),d.classList.toggle("cm-tooltip-above",C),d.classList.toggle("cm-tooltip-below",!C),c.positioned&&c.positioned(t.space)}}maybeMeasure(){if(this.manager.tooltips.length&&(this.view.inView&&this.view.requestMeasure(this.measureReq),this.inView!=this.view.inView&&(this.inView=this.view.inView,!this.inView)))for(let t of this.manager.tooltipViews)t.dom.style.top=Qs}},{eventObservers:{scroll(){this.maybeMeasure()}}}),FZ=H.baseTheme({".cm-tooltip":{zIndex:100,boxSizing:"border-box"},"&light .cm-tooltip":{border:"1px solid #bbb",backgroundColor:"#f5f5f5"},"&light .cm-tooltip-section:not(:first-child)":{borderTop:"1px solid #bbb"},"&dark .cm-tooltip":{backgroundColor:"#333338",color:"white"},".cm-tooltip-arrow":{height:"7px",width:`${7*2}px`,position:"absolute",zIndex:-1,overflow:"hidden","&:before, &:after":{content:"''",position:"absolute",width:0,height:0,borderLeft:"7px solid transparent",borderRight:"7px solid transparent"},".cm-tooltip-above &":{bottom:"-7px","&:before":{borderTop:"7px solid #bbb"},"&:after":{borderTop:"7px solid #f5f5f5",bottom:"1px"}},".cm-tooltip-below &":{top:"-7px","&:before":{borderBottom:"7px solid #bbb"},"&:after":{borderBottom:"7px solid #f5f5f5",top:"1px"}}},"&dark .cm-tooltip .cm-tooltip-arrow":{"&:before":{borderTopColor:"#333338",borderBottomColor:"#333338"},"&:after":{borderTopColor:"transparent",borderBottomColor:"transparent"}}}),IZ={x:0,y:0},n6=G.define({enables:[t6,FZ]});function r6(t,e){let n=t.plugin(t6);if(!n)return null;let r=n.manager.tooltips.indexOf(e);return r<0?null:n.manager.tooltipViews[r]}u(r6,"getTooltip");const D4=class D4 extends kr{compare(e){return this==e||this.constructor==e.constructor&&this.eq(e)}eq(e){return!1}destroy(e){}};u(D4,"GutterMarker");let xn=D4;xn.prototype.elementClass="",xn.prototype.toDOM=void 0,xn.prototype.mapMode=lt.TrackBefore,xn.prototype.startSide=xn.prototype.endSide=-1,xn.prototype.point=!0;const df=G.define(),ZZ=G.define(),zZ={class:"",renderEmptyElements:!1,elementStyle:"",markers:()=>xe.empty,lineMarker:()=>null,widgetMarker:()=>null,lineMarkerChange:null,initialSpacer:null,updateSpacer:null,domEventHandlers:{}},Ms=G.define();function LZ(t){return[i6(),Ms.of(Object.assign(Object.assign({},zZ),t))]}u(LZ,"gutter");const aO=G.define({combine:t=>t.some(e=>e)});function i6(t){let e=[WZ];return t&&t.fixed===!1&&e.push(aO.of(!0)),e}u(i6,"gutters");const WZ=He.fromClass(class{constructor(t){this.view=t,this.prevViewport=t.viewport,this.dom=document.createElement("div"),this.dom.className="cm-gutters",this.dom.setAttribute("aria-hidden","true"),this.dom.style.minHeight=this.view.contentHeight/this.view.scaleY+"px",this.gutters=t.state.facet(Ms).map(e=>new ff(t,e));for(let e of this.gutters)this.dom.appendChild(e.dom);this.fixed=!t.state.facet(aO),this.fixed&&(this.dom.style.position="sticky"),this.syncGutters(!1),t.scrollDOM.insertBefore(this.dom,t.contentDOM)}update(t){if(this.updateGutters(t)){let e=this.prevViewport,n=t.view.viewport,r=Math.min(e.to,n.to)-Math.max(e.from,n.from);this.syncGutters(r<(n.to-n.from)*.8)}t.geometryChanged&&(this.dom.style.minHeight=this.view.contentHeight/this.view.scaleY+"px"),this.view.state.facet(aO)!=!this.fixed&&(this.fixed=!this.fixed,this.dom.style.position=this.fixed?"sticky":""),this.prevViewport=t.view.viewport}syncGutters(t){let e=this.dom.nextSibling;t&&this.dom.remove();let n=xe.iter(this.view.state.facet(df),this.view.viewport.from),r=[],i=this.gutters.map(l=>new sO(l,this.view.viewport,-this.view.documentPadding.top));for(let l of this.view.viewportLineBlocks)if(r.length&&(r=[]),Array.isArray(l.type)){let a=!0;for(let o of l.type)if(o.type==yt.Text&&a){oO(n,r,o.from);for(let s of i)s.line(this.view,o,r);a=!1}else if(o.widget)for(let s of i)s.widget(this.view,o)}else if(l.type==yt.Text){oO(n,r,l.from);for(let a of i)a.line(this.view,l,r)}else if(l.widget)for(let a of i)a.widget(this.view,l);for(let l of i)l.finish();t&&this.view.scrollDOM.insertBefore(this.dom,e)}updateGutters(t){let e=t.startState.facet(Ms),n=t.state.facet(Ms),r=t.docChanged||t.heightChanged||t.viewportChanged||!xe.eq(t.startState.facet(df),t.state.facet(df),t.view.viewport.from,t.view.viewport.to);if(e==n)for(let i of this.gutters)i.update(t)&&(r=!0);else{r=!0;let i=[];for(let l of n){let a=e.indexOf(l);a<0?i.push(new ff(this.view,l)):(this.gutters[a].update(t),i.push(this.gutters[a]))}for(let l of this.gutters)l.dom.remove(),i.indexOf(l)<0&&l.destroy();for(let l of i)this.dom.appendChild(l.dom);this.gutters=i}return r}destroy(){for(let t of this.gutters)t.destroy();this.dom.remove()}},{provide:t=>H.scrollMargins.of(e=>{let n=e.plugin(t);return!n||n.gutters.length==0||!n.fixed?null:e.textDirection==Pe.LTR?{left:n.dom.offsetWidth*e.scaleX}:{right:n.dom.offsetWidth*e.scaleX}})});function l6(t){return Array.isArray(t)?t:[t]}u(l6,"asArray");function oO(t,e,n){for(;t.value&&t.from<=n;)t.from==n&&e.push(t.value),t.next()}u(oO,"advanceCursor");const k4=class k4{constructor(e,n,r){this.gutter=e,this.height=r,this.i=0,this.cursor=xe.iter(e.markers,n.from)}addElement(e,n,r){let{gutter:i}=this,l=(n.top-this.height)/e.scaleY,a=n.height/e.scaleY;if(this.i==i.elements.length){let o=new hf(e,a,l,r);i.elements.push(o),i.dom.appendChild(o.dom)}else i.elements[this.i].update(e,a,l,r);this.height=n.bottom,this.i++}line(e,n,r){let i=[];oO(this.cursor,i,n.from),r.length&&(i=i.concat(r));let l=this.gutter.config.lineMarker(e,n,i);l&&i.unshift(l);let a=this.gutter;i.length==0&&!a.config.renderEmptyElements||this.addElement(e,n,i)}widget(e,n){let r=this.gutter.config.widgetMarker(e,n.widget,n),i=r?[r]:null;for(let l of e.state.facet(ZZ)){let a=l(e,n.widget,n);a&&(i||(i=[])).push(a)}i&&this.addElement(e,n,i)}finish(){let e=this.gutter;for(;e.elements.length>this.i;){let n=e.elements.pop();e.dom.removeChild(n.dom),n.destroy()}}};u(k4,"UpdateContext");let sO=k4;const P4=class P4{constructor(e,n){this.view=e,this.config=n,this.elements=[],this.spacer=null,this.dom=document.createElement("div"),this.dom.className="cm-gutter"+(this.config.class?" "+this.config.class:"");for(let r in n.domEventHandlers)this.dom.addEventListener(r,i=>{let l=i.target,a;if(l!=this.dom&&this.dom.contains(l)){for(;l.parentNode!=this.dom;)l=l.parentNode;let s=l.getBoundingClientRect();a=(s.top+s.bottom)/2}else a=i.clientY;let o=e.lineBlockAtHeight(a-e.documentTop);n.domEventHandlers[r](e,o,i)&&i.preventDefault()});this.markers=l6(n.markers(e)),n.initialSpacer&&(this.spacer=new hf(e,0,0,[n.initialSpacer(e)]),this.dom.appendChild(this.spacer.dom),this.spacer.dom.style.cssText+="visibility: hidden; pointer-events: none")}update(e){let n=this.markers;if(this.markers=l6(this.config.markers(e.view)),this.spacer&&this.config.updateSpacer){let i=this.config.updateSpacer(this.spacer.markers[0],e);i!=this.spacer.markers[0]&&this.spacer.update(e.view,0,0,[i])}let r=e.view.viewport;return!xe.eq(this.markers,n,r.from,r.to)||(this.config.lineMarkerChange?this.config.lineMarkerChange(e):!1)}destroy(){for(let e of this.elements)e.destroy()}};u(P4,"SingleGutterView");let ff=P4;const E4=class E4{constructor(e,n,r,i){this.height=-1,this.above=0,this.markers=[],this.dom=document.createElement("div"),this.dom.className="cm-gutterElement",this.update(e,n,r,i)}update(e,n,r,i){this.height!=n&&(this.height=n,this.dom.style.height=n+"px"),this.above!=r&&(this.dom.style.marginTop=(this.above=r)?r+"px":""),XZ(this.markers,i)||this.setMarkers(e,i)}setMarkers(e,n){let r="cm-gutterElement",i=this.dom.firstChild;for(let l=0,a=0;;){let o=a,s=ll(o,s,c)||a(o,s,c):a}return r}})}}),A4=class A4 extends xn{constructor(e){super(),this.number=e}eq(e){return this.number==e.number}toDOM(){return document.createTextNode(this.number)}};u(A4,"NumberMarker");let Bs=A4;function uO(t,e){return t.state.facet(ka).formatNumber(e,t.state)}u(uO,"formatNumber");const UZ=Ms.compute([ka],t=>({class:"cm-lineNumbers",renderEmptyElements:!1,markers(e){return e.state.facet(jZ)},lineMarker(e,n,r){return r.some(i=>i.toDOM)?null:new Bs(uO(e,e.state.doc.lineAt(n.from).number))},widgetMarker:(e,n,r)=>{for(let i of e.state.facet(qZ)){let l=i(e,n,r);if(l)return l}return null},lineMarkerChange:e=>e.startState.facet(ka)!=e.state.facet(ka),initialSpacer(e){return new Bs(uO(e,a6(e.state.doc.lines)))},updateSpacer(e,n){let r=uO(n.view,a6(n.view.state.doc.lines));return r==e.number?e:new Bs(r)},domEventHandlers:t.facet(ka).domEventHandlers}));function YZ(t={}){return[ka.of(t),i6(),UZ]}u(YZ,"lineNumbers");function a6(t){let e=9;for(;e{let e=[],n=-1;for(let r of t.selection.ranges){let i=t.doc.lineAt(r.head).from;i>n&&(n=i,e.push(KZ.range(i)))}return xe.of(e)});function HZ(){return GZ}u(HZ,"highlightActiveLineGutter");var _Z=Object.defineProperty,Vs=u((t,e)=>_Z(t,"name",{value:e,configurable:!0}),"d$9");const o6=Vs((t,e="",n=!1,r=[],i=(o,s)=>s[o]??o,l={},a="")=>new H({doc:e,parent:t,extensions:[EZ(a),He.fromClass(class{constructor(o){this.items=ez(r),this.placeholders=this.matchResults(this.items).createDeco(o)}update(o){this.placeholders=this.matchResults(this.items).updateDeco(o,this.placeholders)}matchResults(o){return new uf({regexp:I2,decoration:(s,c,d)=>ne.replace({widget:new tz(s[1],i(s[1],o),()=>c.dispatch({changes:{from:d,to:d+s[1].length+4}}),l)})})}},{decorations:o=>o.placeholders,provide:o=>H.atomicRanges.of(s=>s.plugin(o)?.placeholders||ne.none)}),H.updateListener.of(o=>{if(l.inputMask){if(o.focusChanged)o.state.doc.toString().includes("_")?o.view.dispatch({changes:{from:0,to:o.state.doc.length,insert:""}}):o.state.doc.toString().length===0&&o.view.hasFocus&&s6(o,l.inputMask);else if(o.docChanged&&o.view.hasFocus&&s6(o,l.inputMask))return}o.docChanged&&n&&n(o.state.doc.toString())}),H.theme({".cm-scroller":{fontFamily:"inherit",alignItems:"center !important"},"&.cm-editor.cm-focused":{outline:"none"}}),Be.readOnly.of(l.readOnly??!1),H.contentAttributes.of({contenteditable:!(l.readOnly??!1)})]}),"createInput");var cO=!1;const s6=Vs((t,e)=>{if(t.state.doc.toString().length===0){let n="";for(const r of e)n+=r==="a"||r==="9"||r==="*"?"_":r;t.view.dispatch({changes:{from:0,to:t.state.doc.length,insert:n}})}else{if(t.startState.doc.toString()===""||cO)return cO=!1,!1;const n=t.startState.doc.toString().split("");let r;return t.changes.iterChanges((i,l,a,o)=>{const s=t.state.doc.sliceString(a,o).split("");let c=Math.min(Math.max(l,o),n.length),d=Math.min(i,a);r=s.length>0?c:d;let f=0,h=!1;for(;d!==c;){let p=e[d],m=s[f];switch(p){case"a":m&&m.match(/[a-zA-Z]/)?(n[d]=m,f+=1):(n[d]="_",h||(h=!0,r=d));break;case"9":m&&m.match(/[0-9]/)?(n[d]=m,f+=1):(n[d]="_",h||(h=!0,r=d));break;case"*":m&&m.match(/[a-zA-Z0-9]/)?(n[d]=m,f+=1):(n[d]="_",h||(h=!0,r=d));break;default:n[d]=p;break}d+=1}}),cO=!0,t.view.dispatch({changes:{from:0,to:t.state.doc.length,insert:n.join("")},selection:{anchor:r,head:r}}),!0}},"handleMasking"),JZ=Vs((t,e)=>{if(t.length!==e.length)return!1;for(let n=0;nArray.isArray(t)?t.reduce((e,n)=>({...e,...n.choices??{}}),{}):t,"getItemsObject"),u6=(ec=class extends Wn{constructor(e,n,r,i){super(e),this.value=e,this.label=n,this.onRemove=r,this.config=i}toDOM(){const e=document.createElement("span");if(e.setAttribute("class","tf-dynamic-text-item"),e.setAttribute("data-id",this.value),e.textContent=this.label,this.config?.readOnly===!0)return e;const n=document.createElement("span");return n.setAttribute("class","tf-dynamic-text-item-delete"),n.addEventListener("click",this.onRemove),e.appendChild(n),e}},u(ec,"k"),ec);Vs(u6,"DynamicString");let tz=u6;var nz=Object.defineProperty,c6=u((t,e)=>nz(t,"name",{value:e,configurable:!0}),"x$4");const rz=wp.element.forwardRef(({inputProps:t,...e},n)=>{const r=wp.element.useRef();let i=e.value??"";if((e.prefix||e.suffix)&&(e.prefix&&!i.startsWith(e.prefix)&&(i=e.prefix+i),e.suffix&&!i.endsWith(e.suffix)&&(i=i+e.suffix)),e.inputMask){const c=e.prefix?e.prefix.length:0,d=e.suffix?i.length-e.suffix.length:i.length;i=JZ(i.slice(c,d),e.inputMask)?i:""}const[l,a]=wp.element.useState(i);wp.element.useEffect(()=>{let c=l;e.prefix&&(c=c.slice(e.prefix.length)),e.suffix&&(c=c.slice(0,c.length-e.suffix.length)),r.current=r.current??o6(n.current,c,d=>{a(`${e.prefix??""}${d}${e.suffix??""}`)},e.choices,o,{readOnly:e.readOnly??!1,inputMask:e.inputMask&&e.inputMask!==""?e.inputMask:null},e.placeholder??"")},[n.current]),wp.element.useEffect(()=>{if(e.suffix){const c=document.createElement("span");c.textContent=e.suffix,c.setAttribute("class","tf-dynamic-text-input__affix tf-dynamic-text-input__affix--suffix"),n.current.appendChild(c)}if(e.prefix){const c=document.createElement("span");c.textContent=e.prefix,c.setAttribute("class","tf-dynamic-text-input__affix tf-dynamic-text-input__affix--prefix"),n.current.insertBefore(c,n.current.children[0])}},[]);const o=c6(c=>{const d=e.dynamic.parse(c);return d&&d.type?e.dynamic.getLabel(d.type):c},"getDynamicValueLabel");wp.element.useEffect(()=>e.onChange&&e.onChange(l),[l]);const s=c6(c=>{r.current.dispatch({changes:{from:r.current.state.doc.length,insert:`${c}`}})},"insertDynamicValue");return!e.inputMask&&e.dynamic&&e.dynamic.getMode()==="replace"?wp.element.createElement(us,{...e,config:e.dynamic??"",value:l,onValueSelection:a,onValueRemove:()=>{r.current=null,a("")},inputProps:t,readOnly:e.readOnly??!1,buttonType:"inside"},wp.element.createElement("input",{...t,type:"hidden",value:l}),wp.element.createElement("div",{ref:n,className:`tf-dynamic-text-input${e.prefix?" tf-dynamic-text-input--has-prefix":""}${e.suffix?" tf-dynamic-text-input--has-suffix":""}`})):wp.element.createElement(Uk,{config:e.dynamic??"",onValueSelection:s,buttonType:"inside",readOnly:e.readOnly??!1,inputMasking:e.inputMask},wp.element.createElement("input",{...t,type:"hidden",value:l}),wp.element.createElement("div",{ref:n,className:`tf-dynamic-text-input${e.prefix?" tf-dynamic-text-input--has-prefix":""}${e.suffix?" tf-dynamic-text-input--has-suffix":""}`}))});var iz=Object.defineProperty,lz=u((t,e)=>iz(t,"name",{value:e,configurable:!0}),"l$f");const pf=lz(t=>{const{locale:e}=Ee(),[n,r]=wp.element.useState(t.value??""),i=FB({...t,locale:e}),l=wp.element.useRef(),{labelProps:a,descriptionProps:o,groupProps:s,inputProps:c,incrementButtonProps:d,decrementButtonProps:f}=GB(t,i,l);wp.element.useEffect(()=>t.onChange&&t.onChange(n),[n]);const h=t.hasButtons??!0,p=t.readOnly??!1;return wp.element.createElement("div",{className:"tf-number","data-enabled":!t.readOnly},t.label&&wp.element.createElement(we,{labelProps:a,parent:t},t.label),wp.element.createElement("div",{className:"tf-number-field",...s},wp.element.createElement(us,{...t,value:n,onValueSelection:r,ref:l,inputProps:c},wp.element.createElement("input",{...c,value:Number.isInteger(i.numberValue)?i.numberValue:0,ref:l,name:t.name??"",disabled:p}),h&&wp.element.createElement("div",{className:"tf-number-button-group"},wp.element.createElement(oe,{type:"number",...d,isDisabled:p},"+"),wp.element.createElement(oe,{type:"number",...f,isDisabled:p},"-")))),t.description&&wp.element.createElement($e,{descriptionProps:o,parent:t},t.description))},"NumberComponent");var az=Object.defineProperty,oz=u((t,e)=>az(t,"name",{value:e,configurable:!0}),"r$b");const Ns=oz(t=>{const e=YN(t),n=wp.element.useRef(),r=wp.element.useRef(),i=wp.element.useRef(),{labelProps:l,descriptionProps:a,triggerProps:o,valueProps:s,menuProps:c}=jV(t,e,n);return wp.element.createElement("div",{className:"tf-select",ref:i},t.label&&wp.element.createElement(we,{labelProps:l,parent:t},t.label),wp.element.createElement(UV,{state:e,triggerRef:n,label:t.label,name:t.name}),wp.element.createElement(oe,{type:"select",...o,ref:n,onKeyDown:d=>d.code==="Space"?e.toggle():o.onKeyDown(d)},wp.element.createElement("span",{...s,className:"tf-select__value"},e.selectedItem?e.selectedItem.rendered:t.placeholder??"Select an option"),wp.element.createElement("span",{"aria-hidden":"true",className:"tf-select-icon"},"\u25BC")),e.isOpen&&wp.element.createElement(Dr,{state:e,triggerRef:n,placement:"bottom start",style:{width:i?.current?.offsetWidth}},wp.element.createElement(Rg,{...c,listBoxRef:r,state:e,items:t.items})),t.description&&wp.element.createElement($e,{descriptionProps:a,parent:t},t.description))},"Select");var sz=Object.defineProperty,Fs=u((t,e)=>sz(t,"name",{value:e,configurable:!0}),"n$c");const d6=Fs(t=>{const e=t.units??["px"],n=t.linked==="toggle"||t.linked===void 0,{labelProps:r,fieldProps:i,descriptionProps:l}=mt(t),[a,o]=wp.element.useState(yn(t.value??"",{top:0,left:0,right:0,bottom:0,unit:e[0],isLinked:!1}));wp.element.useEffect(()=>t.onChange&&t.onChange(a),[a]),wp.element.useEffect(()=>{a.isLinked&&c(a.top)},[a.isLinked]);const s=Fs((p,m)=>{o({...a,[m]:p})},"setAttribute"),c=Fs(p=>{o({...a,top:p,left:p,right:p,bottom:p})},"setLinkedPosition"),d=Fs(p=>{o({...a,isLinked:p})},"setIsLinked"),f=Fs(()=>n?a.isLinked??!1:t.linked,"isLinked");let h="tf-dimensions-number-groups";return f()&&(h+=" tf-dimensions-number-groups-linked"),wp.element.createElement("div",{className:"tf-dimensions"},t.label&&wp.element.createElement(we,{labelProps:r,parent:t},t.label),wp.element.createElement("input",{type:"hidden",name:t.name??"",value:JSON.stringify(a),...i}),wp.element.createElement("div",{className:"tf-dimensions-container"},wp.element.createElement("div",{className:h},["top","left","right","bottom"].map(p=>wp.element.createElement(pf,{key:p,value:a[p]??0,name:p,description:!1,label:`Value for ${p} position`,labelVisuallyHidden:!0,onChange:m=>f()?c(m):s(m,p)}))),wp.element.createElement(Ns,{label:"Dimensions unit",labelVisuallyHidden:!0,description:!1,selectedKey:a.unit??"px",onSelectionChange:p=>s(p,"unit"),placeholder:"unit"},e.map(p=>wp.element.createElement(Sr,{key:p},p))),n&&wp.element.createElement(oe,{type:"action",onPress:()=>d(!a.isLinked)},wp.element.createElement("span",{className:"dashicons dashicons-admin-links"}))),t.description&&wp.element.createElement($e,{descriptionProps:l,parent:t},t.description))},"Dimensions");var uz=Object.defineProperty,f6=u((t,e)=>uz(t,"name",{value:e,configurable:!0}),"a$b");const cz=f6(t=>{const e=t.units??["px"],n=t.format??"hex",{labelProps:r,fieldProps:i,descriptionProps:l}=mt(t),[a,o]=wp.element.useState(yn(t.value??"",{dimensions:{top:0,left:0,right:0,bottom:0,unit:e[0],isLinked:!1},color:"rgba(0,0,0,1)"}));wp.element.useEffect(()=>t.onChange&&t.onChange(a),[a]);const s=f6(c=>{o(typeof c=="string"?d=>({...d,color:c}):d=>({...d,dimensions:{...d.dimensions,...c}}))},"handleData");return wp.element.createElement("div",{className:"tf-border"},t.label&&wp.element.createElement(we,{labelProps:r,parent:t},t.label),wp.element.createElement("input",{type:"hidden",name:t.name??"",value:JSON.stringify(a),...i}),wp.element.createElement("div",{className:"tf-border-container"},wp.element.createElement("div",{className:"tf-border-dimensions-container"},wp.element.createElement(d6,{label:"Border dimensions",labelVisuallyHidden:!0,onChange:s,linked:t.linked,units:e,value:a.dimensions})),wp.element.createElement("div",{className:"tf-border-color-picker-container"},wp.element.createElement($T,{label:"Border Color",labelVisuallyHidden:!0,onChange:s,value:a.color,format:n,hasAlpha:t.hasAlpha??!0}))),t.description&&wp.element.createElement($e,{descriptionProps:l,parent:t},t.description))},"Border");var dz=Object.defineProperty,fz=u((t,e)=>dz(t,"name",{value:e,configurable:!0}),"n$b");const hz=fz(t=>{const e=wp.element.useContext(t.context),n=wp.element.useRef(null),{inputProps:r}=M2(t,e,n);let i="tf-button-group-option";return e.selectedValue===t.value&&(i+=" tf-button-group-option-selected"),wp.element.createElement("label",{className:i},wp.element.createElement(on,null,wp.element.createElement("input",{...r,ref:n})),t.children)},"ButtonOption");var pz=Object.defineProperty,mz=u((t,e)=>pz(t,"name",{value:e,configurable:!0}),"n$a");const h6=wp.element.createContext(null),gz=mz(t=>{const e=Zk(t),n=_r(t.choices??{}),{radioGroupProps:r,labelProps:i,descriptionProps:l}=B2(t,e);return wp.element.useEffect(()=>{t.onChange&&t.onChange(e.selectedValue)},[e.selectedValue]),wp.element.createElement("div",{className:"tf-button-group"},t.label&&wp.element.createElement(we,{labelProps:i,parent:t},t.label),wp.element.createElement("div",{className:"tf-button-group-container",...r},wp.element.createElement(h6.Provider,{value:e},n.map(a=>wp.element.createElement(hz,{key:a.value,context:h6,...a},t.use_dashicon?wp.element.createElement("span",{className:`dashicons dashicons-${a.label}`}):a.label)))),t.description&&wp.element.createElement($e,{descriptionProps:l,parent:t},t.description))},"ButtonGroup");var Oz=Object.defineProperty,bz=u((t,e)=>Oz(t,"name",{value:e,configurable:!0}),"i$f");const mf=bz(t=>{const e=Ew(t),n=wp.element.useRef(),{inputProps:r}=yB({...t,children:t.label??!1},e,n),{labelProps:i,descriptionProps:l}=mt(t);wp.element.useEffect(()=>t.onChange&&t.onChange(e.isSelected),[e.isSelected]),wp.element.useEffect(()=>{t.value==="1"&&e.setSelected(!0),typeof t.value=="boolean"&&t.value!==e.isSelected&&e.setSelected(t.value)},[t.value]);const a=t?.labelVisuallyHidden?on:wp.element.Fragment;return wp.element.createElement("div",{className:"tf-checkbox"},wp.element.createElement(we,{labelProps:i,parent:{...t,labelVisuallyHidden:!1}},wp.element.createElement("input",{...r,ref:n,id:t.name??""}),wp.element.createElement("input",{type:"hidden",name:t.name??"",value:e.isSelected?"1":"0"}),wp.element.createElement(a,null,t.label??"")),t.description&&wp.element.createElement($e,{descriptionProps:l,parent:t},t.description))},"Checkbox"),p6=1024;let yz=0;const T4=class T4{constructor(e,n){this.from=e,this.to=n}};u(T4,"Range");let Tt=T4;const R4=class R4{constructor(e={}){this.id=yz++,this.perNode=!!e.perNode,this.deserialize=e.deserialize||(()=>{throw new Error("This node type doesn't define a deserialize function")})}add(e){if(this.perNode)throw new RangeError("Can't add per-node props to node types");return typeof e!="function"&&(e=Xt.match(e)),n=>{let r=e(n);return r===void 0?null:[this,r]}}};u(R4,"NodeProp");let se=R4;se.closedBy=new se({deserialize:t=>t.split(" ")}),se.openedBy=new se({deserialize:t=>t.split(" ")}),se.group=new se({deserialize:t=>t.split(" ")}),se.isolate=new se({deserialize:t=>{if(t&&t!="rtl"&&t!="ltr"&&t!="auto")throw new RangeError("Invalid value for isolate: "+t);return t||"auto"}}),se.contextHash=new se({perNode:!0}),se.lookAhead=new se({perNode:!0}),se.mounted=new se({perNode:!0});const Q4=class Q4{constructor(e,n,r){this.tree=e,this.overlay=n,this.parser=r}static get(e){return e&&e.props&&e.props[se.mounted.id]}};u(Q4,"MountedTree");let ll=Q4;const vz=Object.create(null);let Xt=(fo=class{constructor(e,n,r,i=0){this.name=e,this.props=n,this.id=r,this.flags=i}static define(e){let n=e.props&&e.props.length?Object.create(null):vz,r=(e.top?1:0)|(e.skipped?2:0)|(e.error?4:0)|(e.name==null?8:0),i=new fo(e.name||"",n,e.id,r);if(e.props){for(let l of e.props)if(Array.isArray(l)||(l=l(i)),l){if(l[0].perNode)throw new RangeError("Can't store a per-node prop on a node type");n[l[0].id]=l[1]}}return i}prop(e){return this.props[e.id]}get isTop(){return(this.flags&1)>0}get isSkipped(){return(this.flags&2)>0}get isError(){return(this.flags&4)>0}get isAnonymous(){return(this.flags&8)>0}is(e){if(typeof e=="string"){if(this.name==e)return!0;let n=this.prop(se.group);return n?n.indexOf(e)>-1:!1}return this.id==e}static match(e){let n=Object.create(null);for(let r in e)for(let i of r.split(" "))n[i]=e[r];return r=>{for(let i=r.prop(se.group),l=-1;l<(i?i.length:0);l++){let a=n[l<0?r.name:i[l]];if(a)return a}}}},u(fo,"NodeType"),fo);Xt.none=new Xt("",Object.create(null),0,8);const vp=class vp{constructor(e){this.types=e;for(let n=0;n0;for(let s=this.cursor(a|Ce.IncludeAnonymous);;){let c=!1;if(s.from<=l&&s.to>=i&&(!o&&s.type.isAnonymous||n(s)!==!1)){if(s.firstChild())continue;c=!0}for(;c&&r&&(o||!s.type.isAnonymous)&&r(s),!s.nextSibling();){if(!s.parent())return;c=!0}}}prop(e){return e.perNode?this.props?this.props[e.id]:void 0:this.type.prop(e)}get propValues(){let e=[];if(this.props)for(let n in this.props)e.push([+n,this.props[n]]);return e}balance(e={}){return this.children.length<=8?this:OO(Xt.none,this.children,this.positions,0,this.children.length,0,this.length,(n,r,i)=>new tc(this.type,n,r,i,this.propValues),e.makeTree||((n,r,i)=>new tc(Xt.none,n,r,i)))}static build(e){return wz(e)}};u(tc,"Tree");let Re=tc;Re.empty=new Re(Xt.none,[],[],0);const $p=class $p{constructor(e,n){this.buffer=e,this.index=n}get id(){return this.buffer[this.index-4]}get start(){return this.buffer[this.index-3]}get end(){return this.buffer[this.index-2]}get size(){return this.buffer[this.index-1]}get pos(){return this.index}next(){this.index-=4}fork(){return new $p(this.buffer,this.index)}};u($p,"FlatBufferCursor");let fO=$p;const xp=class xp{constructor(e,n,r){this.buffer=e,this.length=n,this.set=r}get type(){return Xt.none}toString(){let e=[];for(let n=0;n0));s=a[s+3]);return o}slice(e,n,r){let i=this.buffer,l=new Uint16Array(n-e),a=0;for(let o=e,s=0;o=e&&ne;case 1:return n<=e&&r>e;case 2:return r>e;case 4:return!0}}u(g6,"checkSide");function Is(t,e,n,r){for(var i;t.from==t.to||(n<1?t.from>=e:t.from>e)||(n>-1?t.to<=e:t.to0?o.length:-1;e!=c;e+=n){let d=o[e],f=s[e]+a.from;if(g6(i,r,f,f+d.length)){if(d instanceof di){if(l&Ce.ExcludeBuffers)continue;let h=d.findChild(0,d.buffer.length,n,r-f,i);if(h>-1)return new al(new pO(a,d,e,f),null,h)}else if(l&Ce.IncludeAnonymous||!d.type.isAnonymous||gO(d)){let h;if(!(l&Ce.IgnoreMounts)&&(h=ll.get(d))&&!h.overlay)return new ho(h.tree,f,e,a);let p=new ho(d,f,e,a);return l&Ce.IncludeAnonymous||!p.type.isAnonymous?p:p.nextChild(n<0?d.children.length-1:0,n,r,i)}}}if(l&Ce.IncludeAnonymous||!a.type.isAnonymous||(a.index>=0?e=a.index+n:e=n<0?-1:a._parent._tree.children.length,a=a._parent,!a))return null}}get firstChild(){return this.nextChild(0,1,0,4)}get lastChild(){return this.nextChild(this._tree.children.length-1,-1,0,4)}childAfter(e){return this.nextChild(0,1,e,2)}childBefore(e){return this.nextChild(this._tree.children.length-1,-1,e,-2)}enter(e,n,r=0){let i;if(!(r&Ce.IgnoreOverlays)&&(i=ll.get(this._tree))&&i.overlay){let l=e-this.from;for(let{from:a,to:o}of i.overlay)if((n>0?a<=l:a=l:o>l))return new ho(i.tree,i.overlay[0].from+this.from,-1,this)}return this.nextChild(0,1,e,n,r)}nextSignificantParent(){let e=this;for(;e.type.isAnonymous&&e._parent;)e=e._parent;return e}get parent(){return this._parent?this._parent.nextSignificantParent():null}get nextSibling(){return this._parent&&this.index>=0?this._parent.nextChild(this.index+1,1,0,4):null}get prevSibling(){return this._parent&&this.index>=0?this._parent.nextChild(this.index-1,-1,0,4):null}get tree(){return this._tree}toTree(){return this._tree}toString(){return this._tree.toString()}};u(ho,"TreeNode");let Rt=ho;function O6(t,e,n,r){let i=t.cursor(),l=[];if(!i.firstChild())return l;if(n!=null){for(let a=!1;!a;)if(a=i.type.is(n),!i.nextSibling())return l}for(;;){if(r!=null&&i.type.is(r))return l;if(i.type.is(e)&&l.push(i.node),!i.nextSibling())return r==null?l:[]}}u(O6,"getChildren");function hO(t,e,n=e.length-1){for(let r=t.parent;n>=0;r=r.parent){if(!r)return!1;if(!r.type.isAnonymous){if(e[n]&&e[n]!=r.name)return!1;n--}}return!0}u(hO,"matchNodeContext");const B4=class B4{constructor(e,n,r,i){this.parent=e,this.buffer=n,this.index=r,this.start=i}};u(B4,"BufferContext");let pO=B4;const Ql=class Ql extends Of{get name(){return this.type.name}get from(){return this.context.start+this.context.buffer.buffer[this.index+1]}get to(){return this.context.start+this.context.buffer.buffer[this.index+2]}constructor(e,n,r){super(),this.context=e,this._parent=n,this.index=r,this.type=e.buffer.set.types[e.buffer.buffer[r]]}child(e,n,r){let{buffer:i}=this.context,l=i.findChild(this.index+4,i.buffer[this.index+3],e,n-this.context.start,r);return l<0?null:new Ql(this.context,this,l)}get firstChild(){return this.child(1,0,4)}get lastChild(){return this.child(-1,0,4)}childAfter(e){return this.child(1,e,2)}childBefore(e){return this.child(-1,e,-2)}enter(e,n,r=0){if(r&Ce.ExcludeBuffers)return null;let{buffer:i}=this.context,l=i.findChild(this.index+4,i.buffer[this.index+3],n>0?1:-1,e-this.context.start,n);return l<0?null:new Ql(this.context,this,l)}get parent(){return this._parent||this.context.parent.nextSignificantParent()}externalSibling(e){return this._parent?null:this.context.parent.nextChild(this.context.index+e,e,0,4)}get nextSibling(){let{buffer:e}=this.context,n=e.buffer[this.index+3];return n<(this._parent?e.buffer[this._parent.index+3]:e.buffer.length)?new Ql(this.context,this._parent,n):this.externalSibling(1)}get prevSibling(){let{buffer:e}=this.context,n=this._parent?this._parent.index+4:0;return this.index==n?this.externalSibling(-1):new Ql(this.context,this._parent,e.findChild(n,this.index,-1,0,4))}get tree(){return null}toTree(){let e=[],n=[],{buffer:r}=this.context,i=this.index+4,l=r.buffer[this.index+3];if(l>i){let a=r.buffer[this.index+1];e.push(r.slice(i,l,a)),n.push(0)}return new Re(this.type,e,n,this.to-this.from)}toString(){return this.context.buffer.childString(this.index)}};u(Ql,"BufferNode");let al=Ql;function b6(t){if(!t.length)return null;let e=0,n=t[0];for(let l=1;ln.from||a.to=e){let o=new Rt(a.tree,a.overlay[0].from+l.from,-1,l);(i||(i=[r])).push(Is(o,e,n,!1))}}return i?b6(i):r}u($z,"stackIterator");const N4=class N4{get name(){return this.type.name}constructor(e,n=0){if(this.mode=n,this.buffer=null,this.stack=[],this.index=0,this.bufferNode=null,e instanceof Rt)this.yieldNode(e);else{this._tree=e.context.parent,this.buffer=e.context;for(let r=e._parent;r;r=r._parent)this.stack.unshift(r.index);this.bufferNode=e,this.yieldBuf(e.index)}}yieldNode(e){return e?(this._tree=e,this.type=e.type,this.from=e.from,this.to=e.to,!0):!1}yieldBuf(e,n){this.index=e;let{start:r,buffer:i}=this.buffer;return this.type=n||i.set.types[i.buffer[e]],this.from=r+i.buffer[e+1],this.to=r+i.buffer[e+2],!0}yield(e){return e?e instanceof Rt?(this.buffer=null,this.yieldNode(e)):(this.buffer=e.context,this.yieldBuf(e.index,e.type)):!1}toString(){return this.buffer?this.buffer.buffer.childString(this.index):this._tree.toString()}enterChild(e,n,r){if(!this.buffer)return this.yield(this._tree.nextChild(e<0?this._tree._tree.children.length-1:0,e,n,r,this.mode));let{buffer:i}=this.buffer,l=i.findChild(this.index+4,i.buffer[this.index+3],e,n-this.buffer.start,r);return l<0?!1:(this.stack.push(this.index),this.yieldBuf(l))}firstChild(){return this.enterChild(1,0,4)}lastChild(){return this.enterChild(-1,0,4)}childAfter(e){return this.enterChild(1,e,2)}childBefore(e){return this.enterChild(-1,e,-2)}enter(e,n,r=this.mode){return this.buffer?r&Ce.ExcludeBuffers?!1:this.enterChild(1,e,n):this.yield(this._tree.enter(e,n,r))}parent(){if(!this.buffer)return this.yieldNode(this.mode&Ce.IncludeAnonymous?this._tree._parent:this._tree.parent);if(this.stack.length)return this.yieldBuf(this.stack.pop());let e=this.mode&Ce.IncludeAnonymous?this.buffer.parent:this.buffer.parent.nextSignificantParent();return this.buffer=null,this.yieldNode(e)}sibling(e){if(!this.buffer)return this._tree._parent?this.yield(this._tree.index<0?null:this._tree._parent.nextChild(this._tree.index+e,e,0,4,this.mode)):!1;let{buffer:n}=this.buffer,r=this.stack.length-1;if(e<0){let i=r<0?0:this.stack[r]+4;if(this.index!=i)return this.yieldBuf(n.findChild(i,this.index,-1,0,4))}else{let i=n.buffer[this.index+3];if(i<(r<0?n.buffer.length:n.buffer[this.stack[r]+3]))return this.yieldBuf(i)}return r<0?this.yield(this.buffer.parent.nextChild(this.buffer.index+e,e,0,4,this.mode)):!1}nextSibling(){return this.sibling(1)}prevSibling(){return this.sibling(-1)}atLastNode(e){let n,r,{buffer:i}=this;if(i){if(e>0){if(this.index-1)for(let l=n+e,a=e<0?-1:r._tree.children.length;l!=a;l+=e){let o=r._tree.children[l];if(this.mode&Ce.IncludeAnonymous||o instanceof di||!o.type.isAnonymous||gO(o))return!1}return!0}move(e,n){if(n&&this.enterChild(e,0,4))return!0;for(;;){if(this.sibling(e))return!0;if(this.atLastNode(e)||!this.parent())return!1}}next(e=!0){return this.move(1,e)}prev(e=!0){return this.move(-1,e)}moveTo(e,n=0){for(;(this.from==this.to||(n<1?this.from>=e:this.from>e)||(n>-1?this.to<=e:this.to=0;){for(let a=e;a;a=a._parent)if(a.index==i){if(i==this.index)return a;n=a,r=l+1;break e}i=this.stack[--l]}for(let i=r;i=0;l--){if(l<0)return hO(this.node,e,i);let a=r[n.buffer[this.stack[l]]];if(!a.isAnonymous){if(e[i]&&e[i]!=a.name)return!1;i--}}return!0}};u(N4,"TreeCursor");let Pa=N4;function gO(t){return t.children.some(e=>e instanceof di||!e.type.isAnonymous||gO(e))}u(gO,"hasChild");function wz(t){var e;let{buffer:n,nodeSet:r,maxBufferLength:i=p6,reused:l=[],minRepeatType:a=r.types.length}=t,o=Array.isArray(n)?new fO(n,n.length):n,s=r.types,c=0,d=0;function f(w,x,P,v,k,D){let{id:S,start:E,end:A,size:B}=o,T=d;for(;B<0;)if(o.next(),B==-1){let F=l[S];P.push(F),v.push(E-w);return}else if(B==-3){c=S;return}else if(B==-4){d=S;return}else throw new RangeError(`Unrecognized record size: ${B}`);let R=s[S],M,N,I=E-w;if(A-E<=i&&(N=O(o.pos-x,k))){let F=new Uint16Array(N.size-N.skip),V=o.pos-N.size,Z=F.length;for(;o.pos>V;)Z=b(N.start,F,Z);M=new di(F,A-N.start,r),I=N.start-w}else{let F=o.pos-B;o.next();let V=[],Z=[],_=S>=a?S:-1,W=0,re=A;for(;o.pos>F;)_>=0&&o.id==_&&o.size>=0?(o.end<=re-i&&(m(V,Z,E,W,o.end,re,_,T),W=V.length,re=o.end),o.next()):D>2500?h(E,F,V,Z):f(E,F,V,Z,_,D+1);if(_>=0&&W>0&&W-1&&W>0){let fe=p(R);M=OO(R,V,Z,0,V.length,0,A-E,fe,fe)}else M=g(R,V,Z,A-E,T-A)}P.push(M),v.push(I)}u(f,"takeNode");function h(w,x,P,v){let k=[],D=0,S=-1;for(;o.pos>x;){let{id:E,start:A,end:B,size:T}=o;if(T>4)o.next();else{if(S>-1&&A=0;B-=3)E[T++]=k[B],E[T++]=k[B+1]-A,E[T++]=k[B+2]-A,E[T++]=T;P.push(new di(E,k[2]-A,r)),v.push(A-w)}}u(h,"takeFlatNode");function p(w){return(x,P,v)=>{let k=0,D=x.length-1,S,E;if(D>=0&&(S=x[D])instanceof Re){if(!D&&S.type==w&&S.length==v)return S;(E=S.prop(se.lookAhead))&&(k=P[D]+S.length+E)}return g(w,x,P,v,k)}}u(p,"makeBalanced");function m(w,x,P,v,k,D,S,E){let A=[],B=[];for(;w.length>v;)A.push(w.pop()),B.push(x.pop()+P-k);w.push(g(r.types[S],A,B,D-k,E-D)),x.push(k-P)}u(m,"makeRepeatLeaf");function g(w,x,P,v,k=0,D){if(c){let S=[se.contextHash,c];D=D?[S].concat(D):[S]}if(k>25){let S=[se.lookAhead,k];D=D?[S].concat(D):[S]}return new Re(w,x,P,v,D)}u(g,"makeTree");function O(w,x){let P=o.fork(),v=0,k=0,D=0,S=P.end-i,E={size:0,start:0,skip:0};e:for(let A=P.pos-w;P.pos>A;){let B=P.size;if(P.id==x&&B>=0){E.size=v,E.start=k,E.skip=D,D+=4,v+=4,P.next();continue}let T=P.pos-B;if(B<0||T=a?4:0,M=P.start;for(P.next();P.pos>T;){if(P.size<0)if(P.size==-3)R+=4;else break e;else P.id>=a&&(R+=4);P.next()}k=M,v+=B,D+=R}return(x<0||v==w)&&(E.size=v,E.start=k,E.skip=D),E.size>4?E:void 0}u(O,"findBufferSize");function b(w,x,P){let{id:v,start:k,end:D,size:S}=o;if(o.next(),S>=0&&v4){let A=o.pos-(S-4);for(;o.pos>A;)P=b(w,x,P)}x[--P]=E,x[--P]=D-w,x[--P]=k-w,x[--P]=v}else S==-3?c=v:S==-4&&(d=v);return P}u(b,"copyToBuffer");let y=[],$=[];for(;o.pos>0;)f(t.start||0,t.bufferStart||0,y,$,-1,0);let C=(e=t.length)!==null&&e!==void 0?e:y.length?$[0]+y[0].length:0;return new Re(s[t.topID],y.reverse(),$.reverse(),C)}u(wz,"buildTree$1");const y6=new WeakMap;function bf(t,e){if(!t.isAnonymous||e instanceof di||e.type!=t)return 1;let n=y6.get(e);if(n==null){n=1;for(let r of e.children){if(r.type!=t||!(r instanceof Re)){n=1;break}n+=bf(t,r)}y6.set(e,n)}return n}u(bf,"nodeSize$1");function OO(t,e,n,r,i,l,a,o,s){let c=0;for(let m=r;m=d)break;x+=P}if($==C+1){if(x>d){let P=m[C];p(P.children,P.positions,0,P.children.length,g[C]+y);continue}f.push(m[C])}else{let P=g[$-1]+m[$-1].length-w;f.push(OO(t,m,g,C,$,w,P,null,s))}h.push(w+y-l)}}return u(p,"divide"),p(e,n,r,i,0),(o||s)(f,h,a)}u(OO,"balanceRange");const F4=class F4{constructor(){this.map=new WeakMap}setBuffer(e,n,r){let i=this.map.get(e);i||this.map.set(e,i=new Map),i.set(n,r)}getBuffer(e,n){let r=this.map.get(e);return r&&r.get(n)}set(e,n){e instanceof al?this.setBuffer(e.context.buffer,e.index,n):e instanceof Rt&&this.map.set(e.tree,n)}get(e){return e instanceof al?this.getBuffer(e.context.buffer,e.index):e instanceof Rt?this.map.get(e.tree):void 0}cursorSet(e,n){e.buffer?this.setBuffer(e.buffer.buffer,e.index,n):this.map.set(e.tree,n)}cursorGet(e){return e.buffer?this.getBuffer(e.buffer.buffer,e.index):this.map.get(e.tree)}};u(F4,"NodeWeakMap");let yf=F4;const nc=class nc{constructor(e,n,r,i,l=!1,a=!1){this.from=e,this.to=n,this.tree=r,this.offset=i,this.open=(l?1:0)|(a?2:0)}get openStart(){return(this.open&1)>0}get openEnd(){return(this.open&2)>0}static addTree(e,n=[],r=!1){let i=[new nc(0,e.length,e,0,!1,r)];for(let l of n)l.to>e.length&&i.push(l);return i}static applyChanges(e,n,r=128){if(!n.length)return e;let i=[],l=1,a=e.length?e[0]:null;for(let o=0,s=0,c=0;;o++){let d=o=r)for(;a&&a.from=h.from||f<=h.to||c){let p=Math.max(h.from,s)-c,m=Math.min(h.to,f)-c;h=p>=m?null:new nc(p,m,h.tree,h.offset+c,o>0,!!d)}if(h&&i.push(h),a.to>f)break;a=lnew Tt(i.from,i.to)):[new Tt(0,0)]:[new Tt(0,e.length)],this.createParse(e,n||[],r)}parse(e,n,r){let i=this.startParse(e,n,r);for(;;){let l=i.advance();if(l)return l}}};u(I4,"Parser");let vf=I4;const Z4=class Z4{constructor(e){this.string=e}get length(){return this.string.length}chunk(e){return this.string.slice(e)}get lineChunks(){return!1}read(e,n){return this.string.slice(e,n)}};u(Z4,"StringInput");let bO=Z4;function xz(t){return(e,n,r,i)=>new $O(e,t,n,r,i)}u(xz,"parseMixed");const z4=class z4{constructor(e,n,r,i,l){this.parser=e,this.parse=n,this.overlay=r,this.target=i,this.from=l}};u(z4,"InnerParse");let $f=z4;function v6(t){if(!t.length||t.some(e=>e.from>=e.to))throw new RangeError("Invalid inner parse ranges given: "+JSON.stringify(t))}u(v6,"checkRanges");const L4=class L4{constructor(e,n,r,i,l,a,o){this.parser=e,this.predicate=n,this.mounts=r,this.index=i,this.start=l,this.target=a,this.prev=o,this.depth=0,this.ranges=[]}};u(L4,"ActiveOverlay");let yO=L4;const vO=new se({perNode:!0}),W4=class W4{constructor(e,n,r,i,l){this.nest=n,this.input=r,this.fragments=i,this.ranges=l,this.inner=[],this.innerDone=0,this.baseTree=null,this.stoppedAt=null,this.baseParse=e}advance(){if(this.baseParse){let r=this.baseParse.advance();if(!r)return null;if(this.baseParse=null,this.baseTree=r,this.startInner(),this.stoppedAt!=null)for(let i of this.inner)i.parse.stopAt(this.stoppedAt)}if(this.innerDone==this.inner.length){let r=this.baseTree;return this.stoppedAt!=null&&(r=new Re(r.type,r.children,r.positions,r.length,r.propValues.concat([[vO,this.stoppedAt]]))),r}let e=this.inner[this.innerDone],n=e.parse.advance();if(n){this.innerDone++;let r=Object.assign(Object.create(null),e.target.props);r[se.mounted.id]=new ll(n,e.overlay,e.parser),e.target.props=r}return null}get parsedPos(){if(this.baseParse)return 0;let e=this.input.length;for(let n=this.innerDone;n=this.stoppedAt)o=!1;else if(e.hasNode(i)){if(n){let c=n.mounts.find(d=>d.frag.from<=i.from&&d.frag.to>=i.to&&d.mount.overlay);if(c)for(let d of c.mount.overlay){let f=d.from+c.pos,h=d.to+c.pos;f>=i.from&&h<=i.to&&!n.ranges.some(p=>p.fromf)&&n.ranges.push({from:f,to:h})}}o=!1}else if(r&&(a=Sz(r.ranges,i.from,i.to)))o=a!=2;else if(!i.type.isAnonymous&&(l=this.nest(i,this.input))&&(i.fromnew Tt(f.from-i.from,f.to-i.from)):null,i.tree,d.length?d[0].from:i.from)),l.overlay?d.length&&(r={ranges:d,depth:0,prev:r}):o=!1}}else n&&(s=n.predicate(i))&&(s===!0&&(s=new Tt(i.from,i.to)),s.fromnew Tt(d.from-n.start,d.to-n.start)),n.target,c[0].from))),n=n.prev}r&&!--r.depth&&(r=r.prev)}}}};u(W4,"MixedParse");let $O=W4;function Sz(t,e,n){for(let r of t){if(r.from>=n)break;if(r.to>e)return r.from<=e&&r.to>=n?2:1}return 0}u(Sz,"checkCover");function $6(t,e,n,r,i,l){if(e=e&&n.enter(r,1,Ce.IgnoreOverlays|Ce.ExcludeBuffers)||n.next(!1)||(this.done=!0)}hasNode(e){if(this.moveTo(e.from),!this.done&&this.cursor.from+this.offset==e.from&&this.cursor.tree)for(let n=this.cursor.tree;;){if(n==e.tree)return!0;if(n.children.length&&n.positions[0]==0&&n.children[0]instanceof Re)n=n.children[0];else break}return!1}};u(X4,"StructureCursor");let wf=X4,Dz=(rc=class{constructor(e){var n;if(this.fragments=e,this.curTo=0,this.fragI=0,e.length){let r=this.curFrag=e[0];this.curTo=(n=r.tree.prop(vO))!==null&&n!==void 0?n:r.to,this.inner=new wf(r.tree,-r.offset)}else this.curFrag=this.inner=null}hasNode(e){for(;this.curFrag&&e.from>=this.curTo;)this.nextFrag();return this.curFrag&&this.curFrag.from<=e.from&&this.curTo>=e.to&&this.inner.hasNode(e)}nextFrag(){var e;if(this.fragI++,this.fragI==this.fragments.length)this.curFrag=this.inner=null;else{let n=this.curFrag=this.fragments[this.fragI];this.curTo=(e=n.tree.prop(vO))!==null&&e!==void 0?e:n.to,this.inner=new wf(n.tree,-n.offset)}}findMounts(e,n){var r;let i=[];if(this.inner){this.inner.cursor.moveTo(e,1);for(let l=this.inner.cursor.node;l;l=l.parent){let a=(r=l.tree)===null||r===void 0?void 0:r.prop(se.mounted);if(a&&a.parser==n)for(let o=this.fragI;o=l.to)break;s.tree==this.curFrag.tree&&i.push({frag:s,pos:l.from-s.offset,mount:a})}}}return i}},u(rc,"FragmentCursor"),rc);function w6(t,e){let n=null,r=e;for(let i=1,l=0;i=o)break;s.to<=a||(n||(r=n=e.slice()),s.fromo&&n.splice(l+1,0,new Tt(o,s.to))):s.to>o?n[l--]=new Tt(o,s.to):n.splice(l--,1))}}return r}u(w6,"punchRanges");function kz(t,e,n,r){let i=0,l=0,a=!1,o=!1,s=-1e9,c=[];for(;;){let d=i==t.length?1e9:a?t[i].to:t[i].from,f=l==e.length?1e9:o?e[l].to:e[l].from;if(a!=o){let h=Math.max(s,n),p=Math.min(d,f,r);hnew Tt(h.from+r,h.to+r)),f=kz(e,d,s,c);for(let h=0,p=s;;h++){let m=h==f.length,g=m?c:f[h].from;if(g>p&&n.push(new fi(p,g,i.tree,-a,l.from>=p||l.openStart,l.to<=g||l.openEnd)),m)break;p=f[h].to}}else n.push(new fi(s,c,i.tree,-a,l.from>=a||l.openStart,l.to<=o||l.openEnd))}return n}u(x6,"enterFragments");let Pz=0;const ic=class ic{constructor(e,n,r,i){this.name=e,this.set=n,this.base=r,this.modified=i,this.id=Pz++}toString(){let{name:e}=this;for(let n of this.modified)n.name&&(e=`${n.name}(${e})`);return e}static define(e,n){let r=typeof e=="string"?e:"?";if(e instanceof ic&&(n=e),n?.base)throw new Error("Can not derive from a modified tag");let i=new ic(r,[],null,[]);if(i.set.push(i),n)for(let l of n.set)i.set.push(l);return i}static defineModifier(e){let n=new xf(e);return r=>r.modified.indexOf(n)>-1?r:xf.get(r.base||r,r.modified.concat(n).sort((i,l)=>i.id-l.id))}};u(ic,"Tag");let Sn=ic,Ez=0;const Sp=class Sp{constructor(e){this.name=e,this.instances=[],this.id=Ez++}static get(e,n){if(!n.length)return e;let r=n[0].instances.find(o=>o.base==e&&Az(n,o.modified));if(r)return r;let i=[],l=new Sn(e.name,i,e,n);for(let o of n)o.instances.push(l);let a=Tz(n);for(let o of e.set)if(!o.modified.length)for(let s of a)i.push(Sp.get(o,s));return l}};u(Sp,"Modifier");let xf=Sp;function Az(t,e){return t.length==e.length&&t.every((n,r)=>n==e[r])}u(Az,"sameArray");function Tz(t){let e=[[]];for(let n=0;nr.length-n.length)}u(Tz,"powerSet");function Sf(t){let e=Object.create(null);for(let n in t){let r=t[n];Array.isArray(r)||(r=[r]);for(let i of n.split(" "))if(i){let l=[],a=2,o=i;for(let f=0;;){if(o=="..."&&f>0&&f+3==i.length){a=1;break}let h=/^"(?:[^"\\]|\\.)*?"|[^\/!]+/.exec(o);if(!h)throw new RangeError("Invalid path: "+i);if(l.push(h[0]=="*"?"":h[0][0]=='"'?JSON.parse(h[0]):h[0]),f+=h[0].length,f==i.length)break;let p=i[f++];if(f==i.length&&p=="!"){a=0;break}if(p!="/")throw new RangeError("Invalid path: "+i);o=i.slice(f)}let s=l.length-1,c=l[s];if(!c)throw new RangeError("Invalid path: "+i);let d=new Ea(r,a,s>0?l.slice(0,s):null);e[c]=d.sort(e[c])}}return S6.add(e)}u(Sf,"styleTags");const S6=new se,j4=class j4{constructor(e,n,r,i){this.tags=e,this.mode=n,this.context=r,this.next=i}get opaque(){return this.mode==0}get inherit(){return this.mode==1}sort(e){return!e||e.depth{let a=i;for(let o of l)for(let s of o.set){let c=n[s.id];if(c){a=a?a+" "+c:c;break}}return a},scope:r}}u(C6,"tagHighlighter");function Rz(t,e){let n=null;for(let r of t){let i=r.style(e);i&&(n=n?n+" "+i:i)}return n}u(Rz,"highlightTags");function Qz(t,e,n,r=0,i=t.length){let l=new wO(r,Array.isArray(e)?e:[e],n);l.highlightRange(t.cursor(),r,i,"",l.highlighters),l.flush(i)}u(Qz,"highlightTree");const q4=class q4{constructor(e,n,r){this.at=e,this.highlighters=n,this.span=r,this.class=""}startSpan(e,n){n!=this.class&&(this.flush(e),e>this.at&&(this.at=e),this.class=n)}flush(e){e>this.at&&this.class&&this.span(this.at,e,this.class)}highlightRange(e,n,r,i,l){let{type:a,from:o,to:s}=e;if(o>=r||s<=n)return;a.isTop&&(l=this.highlighters.filter(p=>!p.scope||p.scope(a)));let c=i,d=Mz(e)||Ea.empty,f=Rz(l,d.tags);if(f&&(c&&(c+=" "),c+=f,d.mode==1&&(i+=(i?" ":"")+f)),this.startSpan(Math.max(n,o),c),d.opaque)return;let h=e.tree&&e.tree.prop(se.mounted);if(h&&h.overlay){let p=e.node.enter(h.overlay[0].from+o,1),m=this.highlighters.filter(O=>!O.scope||O.scope(h.tree.type)),g=e.firstChild();for(let O=0,b=o;;O++){let y=O=$||!e.nextSibling())););if(!y||$>r)break;b=y.to+o,b>n&&(this.highlightRange(p.cursor(),Math.max(n,y.from+o),Math.min(r,b),"",m),this.startSpan(Math.min(r,b),c))}g&&e.parent()}else if(e.firstChild()){h&&(i="");do if(!(e.to<=n)){if(e.from>=r)break;this.highlightRange(e,n,r,i,l),this.startSpan(Math.min(r,e.to),c)}while(e.nextSibling());e.parent()}}};u(q4,"HighlightBuilder");let wO=q4;function Mz(t){let e=t.type.prop(S6);for(;e&&e.context&&!t.matchContext(e.context);)e=e.next;return e||null}u(Mz,"getStyleTags");const q=Sn.define,Cf=q(),hi=q(),D6=q(hi),k6=q(hi),pi=q(),Df=q(pi),xO=q(pi),Yn=q(),ol=q(Yn),Kn=q(),Gn=q(),SO=q(),Zs=q(SO),kf=q(),Q={comment:Cf,lineComment:q(Cf),blockComment:q(Cf),docComment:q(Cf),name:hi,variableName:q(hi),typeName:D6,tagName:q(D6),propertyName:k6,attributeName:q(k6),className:q(hi),labelName:q(hi),namespace:q(hi),macroName:q(hi),literal:pi,string:Df,docString:q(Df),character:q(Df),attributeValue:q(Df),number:xO,integer:q(xO),float:q(xO),bool:q(pi),regexp:q(pi),escape:q(pi),color:q(pi),url:q(pi),keyword:Kn,self:q(Kn),null:q(Kn),atom:q(Kn),unit:q(Kn),modifier:q(Kn),operatorKeyword:q(Kn),controlKeyword:q(Kn),definitionKeyword:q(Kn),moduleKeyword:q(Kn),operator:Gn,derefOperator:q(Gn),arithmeticOperator:q(Gn),logicOperator:q(Gn),bitwiseOperator:q(Gn),compareOperator:q(Gn),updateOperator:q(Gn),definitionOperator:q(Gn),typeOperator:q(Gn),controlOperator:q(Gn),punctuation:SO,separator:q(SO),bracket:Zs,angleBracket:q(Zs),squareBracket:q(Zs),paren:q(Zs),brace:q(Zs),content:Yn,heading:ol,heading1:q(ol),heading2:q(ol),heading3:q(ol),heading4:q(ol),heading5:q(ol),heading6:q(ol),contentSeparator:q(Yn),list:q(Yn),quote:q(Yn),emphasis:q(Yn),strong:q(Yn),link:q(Yn),monospace:q(Yn),strikethrough:q(Yn),inserted:q(),deleted:q(),changed:q(),invalid:q(),meta:kf,documentMeta:q(kf),annotation:q(kf),processingInstruction:q(kf),definition:Sn.defineModifier("definition"),constant:Sn.defineModifier("constant"),function:Sn.defineModifier("function"),standard:Sn.defineModifier("standard"),local:Sn.defineModifier("local"),special:Sn.defineModifier("special")};for(let t in Q){let e=Q[t];e instanceof Sn&&(e.name=t)}C6([{tag:Q.link,class:"tok-link"},{tag:Q.heading,class:"tok-heading"},{tag:Q.emphasis,class:"tok-emphasis"},{tag:Q.strong,class:"tok-strong"},{tag:Q.keyword,class:"tok-keyword"},{tag:Q.atom,class:"tok-atom"},{tag:Q.bool,class:"tok-bool"},{tag:Q.url,class:"tok-url"},{tag:Q.labelName,class:"tok-labelName"},{tag:Q.inserted,class:"tok-inserted"},{tag:Q.deleted,class:"tok-deleted"},{tag:Q.literal,class:"tok-literal"},{tag:Q.string,class:"tok-string"},{tag:Q.number,class:"tok-number"},{tag:[Q.regexp,Q.escape,Q.special(Q.string)],class:"tok-string2"},{tag:Q.variableName,class:"tok-variableName"},{tag:Q.local(Q.variableName),class:"tok-variableName tok-local"},{tag:Q.definition(Q.variableName),class:"tok-variableName tok-definition"},{tag:Q.special(Q.variableName),class:"tok-variableName2"},{tag:Q.definition(Q.propertyName),class:"tok-propertyName tok-definition"},{tag:Q.typeName,class:"tok-typeName"},{tag:Q.namespace,class:"tok-namespace"},{tag:Q.className,class:"tok-className"},{tag:Q.macroName,class:"tok-macroName"},{tag:Q.propertyName,class:"tok-propertyName"},{tag:Q.operator,class:"tok-operator"},{tag:Q.comment,class:"tok-comment"},{tag:Q.meta,class:"tok-meta"},{tag:Q.invalid,class:"tok-invalid"},{tag:Q.punctuation,class:"tok-punctuation"}]);var CO;const Aa=new se;function P6(t){return G.define({combine:t?e=>e.concat(t):void 0})}u(P6,"defineLanguageFacet");const DO=new se,U4=class U4{constructor(e,n,r=[],i=""){this.data=e,this.name=i,Be.prototype.hasOwnProperty("tree")||Object.defineProperty(Be.prototype,"tree",{get(){return Qe(this)}}),this.parser=n,this.extension=[mi.of(this),Be.languageData.of((l,a,o)=>{let s=E6(l,a,o),c=s.type.prop(Aa);if(!c)return[];let d=l.facet(c),f=s.type.prop(DO);if(f){let h=s.resolve(a-s.from,o);for(let p of f)if(p.test(h,l)){let m=l.facet(p.facet);return p.type=="replace"?m:m.concat(d)}}return d})].concat(r)}isActiveAt(e,n,r=-1){return E6(e,n,r).type.prop(Aa)==this.data}findRegions(e){let n=e.facet(mi);if(n?.data==this.data)return[{from:0,to:e.doc.length}];if(!n||!n.allowsNesting)return[];let r=[],i=u((l,a)=>{if(l.prop(Aa)==this.data){r.push({from:a,to:a+l.length});return}let o=l.prop(se.mounted);if(o){if(o.tree.prop(Aa)==this.data){if(o.overlay)for(let s of o.overlay)r.push({from:s.from+a,to:s.to+a});else r.push({from:a,to:a+l.length});return}else if(o.overlay){let s=r.length;if(i(o.tree,o.overlay[0].from+a),r.length>s)return}}for(let s=0;sr.isTop?n:void 0)]}),e.name)}configure(e,n){return new lc(this.data,this.parser.configure(e),n||this.name)}get allowsNesting(){return this.parser.hasWrappers()}};u(lc,"LRLanguage");let zs=lc;function Qe(t){let e=t.field(jt.state,!1);return e?e.tree:Re.empty}u(Qe,"syntaxTree");const Y4=class Y4{constructor(e){this.doc=e,this.cursorPos=0,this.string="",this.cursor=e.iter()}get length(){return this.doc.length}syncTo(e){return this.string=this.cursor.next(e-this.cursorPos).value,this.cursorPos=e+this.string.length,this.cursorPos-this.string.length}chunk(e){return this.syncTo(e),this.string}get lineChunks(){return!0}read(e,n){let r=this.cursorPos-this.string.length;return e=this.cursorPos?this.doc.sliceString(e,n):this.string.slice(e-r,n-r)}};u(Y4,"DocInput");let kO=Y4,Ls=null,Bz=(Ml=class{constructor(e,n,r=[],i,l,a,o,s){this.parser=e,this.state=n,this.fragments=r,this.tree=i,this.treeLen=l,this.viewport=a,this.skipped=o,this.scheduleOn=s,this.parse=null,this.tempSkipped=[]}static create(e,n,r){return new Ml(e,n,[],Re.empty,0,r,[],null)}startParse(){return this.parser.startParse(new kO(this.state.doc),this.fragments)}work(e,n){return n!=null&&n>=this.state.doc.length&&(n=void 0),this.tree!=Re.empty&&this.isDone(n??this.state.doc.length)?(this.takeTree(),!0):this.withContext(()=>{var r;if(typeof e=="number"){let i=Date.now()+e;e=u(()=>Date.now()>i,"until")}for(this.parse||(this.parse=this.startParse()),n!=null&&(this.parse.stoppedAt==null||this.parse.stoppedAt>n)&&n=this.treeLen&&((this.parse.stoppedAt==null||this.parse.stoppedAt>e)&&this.parse.stopAt(e),this.withContext(()=>{for(;!(n=this.parse.advance()););}),this.treeLen=e,this.tree=n,this.fragments=this.withoutTempSkipped(fi.addTree(this.tree,this.fragments,!0)),this.parse=null)}withContext(e){let n=Ls;Ls=this;try{return e()}finally{Ls=n}}withoutTempSkipped(e){for(let n;n=this.tempSkipped.pop();)e=A6(e,n.from,n.to);return e}changes(e,n){let{fragments:r,tree:i,treeLen:l,viewport:a,skipped:o}=this;if(this.takeTree(),!e.empty){let s=[];if(e.iterChangedRanges((c,d,f,h)=>s.push({fromA:c,toA:d,fromB:f,toB:h})),r=fi.applyChanges(r,s),i=Re.empty,l=0,a={from:e.mapPos(a.from,-1),to:e.mapPos(a.to,1)},this.skipped.length){o=[];for(let c of this.skipped){let d=e.mapPos(c.from,1),f=e.mapPos(c.to,-1);de.from&&(this.fragments=A6(this.fragments,i,l),this.skipped.splice(r--,1))}return this.skipped.length>=n?!1:(this.reset(),!0)}reset(){this.parse&&(this.takeTree(),this.parse=null)}skipUntilInView(e,n){this.skipped.push({from:e,to:n})}static getSkippingParser(e){return new class extends vf{createParse(n,r,i){let l=i[0].from,a=i[i.length-1].to;return{parsedPos:l,advance(){let s=Ls;if(s){for(let c of i)s.tempSkipped.push(c);e&&(s.scheduleOn=s.scheduleOn?Promise.all([s.scheduleOn,e]):e)}return this.parsedPos=a,new Re(Xt.none,[],[],a-l)},stoppedAt:null,stopAt(){}}}}}isDone(e){e=Math.min(e,this.state.doc.length);let n=this.fragments;return this.treeLen>=e&&n.length&&n[0].from==0&&n[0].to>=e}static get(){return Ls}},u(Ml,"ParseContext"),Ml);function A6(t,e,n){return fi.applyChanges(t,[{fromA:e,toA:n,fromB:e,toB:n}])}u(A6,"cutFragments");const ac=class ac{constructor(e){this.context=e,this.tree=e.tree}apply(e){if(!e.docChanged&&this.tree==this.context.tree)return this;let n=this.context.changes(e.changes,e.state),r=this.context.treeLen==e.startState.doc.length?void 0:Math.max(e.changes.mapPos(this.context.treeLen),n.viewport.to);return n.work(20,r)||n.takeTree(),new ac(n)}static init(e){let n=Math.min(3e3,e.doc.length),r=Bz.create(e.facet(mi).parser,e,{from:0,to:n});return r.work(20,n)||r.takeTree(),new ac(r)}};u(ac,"LanguageState");let Ws=ac;jt.state=zt.define({create:Ws.init,update(t,e){for(let n of e.effects)if(n.is(jt.setState))return n.value;return e.startState.facet(mi)!=e.state.facet(mi)?Ws.init(e.state):t.apply(e)}});let T6=u(t=>{let e=setTimeout(()=>t(),500);return()=>clearTimeout(e)},"requestIdle");typeof requestIdleCallback<"u"&&(T6=u(t=>{let e=-1,n=setTimeout(()=>{e=requestIdleCallback(t,{timeout:400})},100);return()=>e<0?clearTimeout(n):cancelIdleCallback(e)},"requestIdle"));const PO=typeof navigator<"u"&&(!((CO=navigator.scheduling)===null||CO===void 0)&&CO.isInputPending)?()=>navigator.scheduling.isInputPending():null,Vz=He.fromClass((oc=class{constructor(e){this.view=e,this.working=null,this.workScheduled=0,this.chunkEnd=-1,this.chunkBudget=-1,this.work=this.work.bind(this),this.scheduleWork()}update(e){let n=this.view.state.field(jt.state).context;(n.updateViewport(e.view.viewport)||this.view.viewport.to>n.treeLen)&&this.scheduleWork(),(e.docChanged||e.selectionSet)&&(this.view.hasFocus&&(this.chunkBudget+=50),this.scheduleWork()),this.checkAsyncSchedule(n)}scheduleWork(){if(this.working)return;let{state:e}=this.view,n=e.field(jt.state);(n.tree!=n.context.tree||!n.context.isDone(e.doc.length))&&(this.working=T6(this.work))}work(e){this.working=null;let n=Date.now();if(this.chunkEndi+1e3,s=l.context.work(()=>PO&&PO()||Date.now()>a,i+(o?0:1e5));this.chunkBudget-=Date.now()-n,(s||this.chunkBudget<=0)&&(l.context.takeTree(),this.view.dispatch({effects:jt.setState.of(new Ws(l.context))})),this.chunkBudget>0&&!(s&&!o)&&this.scheduleWork(),this.checkAsyncSchedule(l.context)}checkAsyncSchedule(e){e.scheduleOn&&(this.workScheduled++,e.scheduleOn.then(()=>this.scheduleWork()).catch(n=>Lt(this.view.state,n)).then(()=>this.workScheduled--),e.scheduleOn=null)}destroy(){this.working&&this.working()}isWorking(){return!!(this.working||this.workScheduled>0)}},u(oc,"ParseWorker"),oc),{eventHandlers:{focus(){this.scheduleWork()}}}),mi=G.define({combine(t){return t.length?t[0]:null},enables:t=>[jt.state,Vz,H.contentAttributes.compute([t],e=>{let n=e.facet(t);return n&&n.name?{"data-language":n.name}:{}})]}),K4=class K4{constructor(e,n=[]){this.language=e,this.support=n,this.extension=[e,n]}};u(K4,"LanguageSupport");let Xs=K4;const Nz=G.define(),js=G.define({combine:t=>{if(!t.length)return" ";let e=t[0];if(!e||/\S/.test(e)||Array.from(e).some(n=>n!=e[0]))throw new Error("Invalid indent unit: "+JSON.stringify(t[0]));return e}});function Pf(t){let e=t.facet(js);return e.charCodeAt(0)==9?t.tabSize*e.length:e.length}u(Pf,"getIndentUnit");function qs(t,e){let n="",r=t.tabSize,i=t.facet(js)[0];if(i==" "){for(;e>=r;)n+=" ",e-=r;i=" "}for(let l=0;l=e?Fz(t,n,e):null}u(EO,"getIndentation");const G4=class G4{constructor(e,n={}){this.state=e,this.options=n,this.unit=Pf(e)}lineAt(e,n=1){let r=this.state.doc.lineAt(e),{simulateBreak:i,simulateDoubleBreak:l}=this.options;return i!=null&&i>=r.from&&i<=r.to?l&&i==e?{text:"",from:e}:(n<0?i-1&&(l+=a-this.countColumn(r,r.search(/\S|$/))),l}countColumn(e,n=e.length){return $a(e,this.state.tabSize,n)}lineIndent(e,n=1){let{text:r,from:i}=this.lineAt(e,n),l=this.options.overrideIndentation;if(l){let a=l(i);if(a>-1)return a}return this.countColumn(r,r.search(/\S|$/))}get simulatedBreak(){return this.options.simulateBreak||null}};u(G4,"IndentContext");let Ta=G4;const Ef=new se;function Fz(t,e,n){let r=e.resolveStack(n),i=r.node.enterUnfinishedNodesBefore(n);if(i!=r.node){let l=[];for(let a=i;a!=r.node;a=a.parent)l.push(a);for(let a=l.length-1;a>=0;a--)r={node:l[a],next:r}}return R6(r,t,n)}u(Fz,"syntaxIndentation");function R6(t,e,n){for(let r=t;r;r=r.next){let i=Zz(r.node);if(i)return i(AO.create(e,n,r))}return 0}u(R6,"indentFor");function Iz(t){return t.pos==t.options.simulateBreak&&t.options.simulateDoubleBreak}u(Iz,"ignoreClosed");function Zz(t){let e=t.type.prop(Ef);if(e)return e;let n=t.firstChild,r;if(n&&(r=n.type.prop(se.closedBy))){let i=t.lastChild,l=i&&r.indexOf(i.name)>-1;return a=>Q6(a,!0,1,void 0,l&&!Iz(a)?i.from:void 0)}return t.parent==null?zz:null}u(Zz,"indentStrategy");function zz(){return 0}u(zz,"topIndent");const Cp=class Cp extends Ta{constructor(e,n,r){super(e.state,e.options),this.base=e,this.pos=n,this.context=r}get node(){return this.context.node}static create(e,n,r){return new Cp(e,n,r)}get textAfter(){return this.textAfterPos(this.pos)}get baseIndent(){return this.baseIndentFor(this.node)}baseIndentFor(e){let n=this.state.doc.lineAt(e.from);for(;;){let r=e.resolve(n.from);for(;r.parent&&r.parent.from==r.from;)r=r.parent;if(Lz(r,e))break;n=this.state.doc.lineAt(r.from)}return this.lineIndent(n.from)}continue(){return R6(this.context.next,this.base,this.pos)}};u(Cp,"TreeIndentContext");let AO=Cp;function Lz(t,e){for(let n=e;n;n=n.parent)if(t==n)return!0;return!1}u(Lz,"isParent");function Wz(t){let e=t.node,n=e.childAfter(e.from),r=e.lastChild;if(!n)return null;let i=t.options.simulateBreak,l=t.state.doc.lineAt(n.from),a=i==null||i<=l.from?l.to:Math.min(l.to,i);for(let o=n.to;;){let s=e.childAfter(o);if(!s||s==r)return null;if(!s.type.isSkipped){if(s.from>=a)return null;let c=/^ */.exec(l.text.slice(n.to-l.from))[0].length;return{from:n.from,to:n.to+c}}o=s.to}}u(Wz,"bracketedAligned");function Xz({closing:t,align:e=!0,units:n=1}){return r=>Q6(r,e,n,t)}u(Xz,"delimitedIndent");function Q6(t,e,n,r,i){let l=t.textAfter,a=l.match(/^\s*/)[0].length,o=r&&l.slice(a,a+r.length)==r||i==t.pos+a,s=e?Wz(t):null;return s?o?t.column(s.from):t.column(s.to):t.baseIndent+(o?0:t.unit*n)}u(Q6,"delimitedStrategy");const jz=u(t=>t.baseIndent,"flatIndent");function Af({except:t,units:e=1}={}){return n=>{let r=t&&t.test(n.textAfter);return n.baseIndent+(r?0:e*n.unit)}}u(Af,"continuedIndent");const qz=200;function Uz(){return Be.transactionFilter.of(t=>{if(!t.docChanged||!t.isUserEvent("input.type")&&!t.isUserEvent("input.complete"))return t;let e=t.startState.languageDataAt("indentOnInput",t.startState.selection.main.head);if(!e.length)return t;let n=t.newDoc,{head:r}=t.newSelection.main,i=n.lineAt(r);if(r>i.from+qz)return t;let l=n.sliceString(i.from,r);if(!e.some(c=>c.test(l)))return t;let{state:a}=t,o=-1,s=[];for(let{head:c}of a.selection.ranges){let d=a.doc.lineAt(c);if(d.from==o)continue;o=d.from;let f=EO(a,d.from);if(f==null)continue;let h=/^\s*/.exec(d.text)[0],p=qs(a,f);h!=p&&s.push({from:d.from,to:d.from+h.length,insert:p})}return s.length?[t,{changes:s,sequential:!0}]:t})}u(Uz,"indentOnInput");const Yz=G.define(),Tf=new se;function M6(t){let e=t.firstChild,n=t.lastChild;return e&&e.ton)continue;if(l&&o.from=e&&c.to>n&&(l=c)}}return l}u(Kz,"syntaxFolding");function Gz(t){let e=t.lastChild;return e&&e.to==t.to&&e.type.isError}u(Gz,"isUnfinished");function Rf(t,e,n){for(let r of t.facet(Yz)){let i=r(t,e,n);if(i)return i}return Kz(t,e,n)}u(Rf,"foldable");function B6(t,e){let n=e.mapPos(t.from,1),r=e.mapPos(t.to,-1);return n>=r?void 0:{from:n,to:r}}u(B6,"mapRange");const Qf=pe.define({map:B6}),Us=pe.define({map:B6});function V6(t){let e=[];for(let{head:n}of t.state.selection.ranges)e.some(r=>r.from<=n&&r.to>=n)||e.push(t.lineBlockAt(n));return e}u(V6,"selectedLines");const sl=zt.define({create(){return ne.none},update(t,e){t=t.map(e.changes);for(let n of e.effects)if(n.is(Qf)&&!Hz(t,n.value.from,n.value.to)){let{preparePlaceholder:r}=e.state.facet(TO),i=r?ne.replace({widget:new RO(r(e.state,n.value))}):z6;t=t.update({add:[i.range(n.value.from,n.value.to)]})}else n.is(Us)&&(t=t.update({filter:(r,i)=>n.value.from!=r||n.value.to!=i,filterFrom:n.value.from,filterTo:n.value.to}));if(e.selection){let n=!1,{head:r}=e.selection.main;t.between(r,r,(i,l)=>{ir&&(n=!0)}),n&&(t=t.update({filterFrom:r,filterTo:r,filter:(i,l)=>l<=r||i>=r}))}return t},provide:t=>H.decorations.from(t),toJSON(t,e){let n=[];return t.between(0,e.doc.length,(r,i)=>{n.push(r,i)}),n},fromJSON(t){if(!Array.isArray(t)||t.length%2)throw new RangeError("Invalid JSON for fold state");let e=[];for(let n=0;n{(!i||i.from>l)&&(i={from:l,to:a})}),i}u(Mf,"findFold");function Hz(t,e,n){let r=!1;return t.between(e,e,(i,l)=>{i==e&&l==n&&(r=!0)}),r}u(Hz,"foldExists");function N6(t,e){return t.field(sl,!1)?e:e.concat(pe.appendConfig.of(I6()))}u(N6,"maybeEnable");const _z=u(t=>{for(let e of V6(t)){let n=Rf(t.state,e.from,e.to);if(n)return t.dispatch({effects:N6(t.state,[Qf.of(n),F6(t,n)])}),!0}return!1},"foldCode"),Jz=u(t=>{if(!t.state.field(sl,!1))return!1;let e=[];for(let n of V6(t)){let r=Mf(t.state,n.from,n.to);r&&e.push(Us.of(r),F6(t,r,!1))}return e.length&&t.dispatch({effects:e}),e.length>0},"unfoldCode");function F6(t,e,n=!0){let r=t.state.doc.lineAt(e.from).number,i=t.state.doc.lineAt(e.to).number;return H.announce.of(`${t.state.phrase(n?"Folded lines":"Unfolded lines")} ${r} ${t.state.phrase("to")} ${i}.`)}u(F6,"announceFold");const eL=[{key:"Ctrl-Shift-[",mac:"Cmd-Alt-[",run:_z},{key:"Ctrl-Shift-]",mac:"Cmd-Alt-]",run:Jz},{key:"Ctrl-Alt-[",run:u(t=>{let{state:e}=t,n=[];for(let r=0;r{let e=t.state.field(sl,!1);if(!e||!e.size)return!1;let n=[];return e.between(0,t.state.doc.length,(r,i)=>{n.push(Us.of({from:r,to:i}))}),t.dispatch({effects:n}),!0},"unfoldAll")}],tL={placeholderDOM:null,preparePlaceholder:null,placeholderText:"\u2026"},TO=G.define({combine(t){return ii(t,tL)}});function I6(t){let e=[sl,iL];return t&&e.push(TO.of(t)),e}u(I6,"codeFolding");function Z6(t,e){let{state:n}=t,r=n.facet(TO),i=u(a=>{let o=t.lineBlockAt(t.posAtDOM(a.target)),s=Mf(t.state,o.from,o.to);s&&t.dispatch({effects:Us.of(s)}),a.preventDefault()},"onclick");if(r.placeholderDOM)return r.placeholderDOM(t,i,e);let l=document.createElement("span");return l.textContent=r.placeholderText,l.setAttribute("aria-label",n.phrase("folded code")),l.title=n.phrase("unfold"),l.className="cm-foldPlaceholder",l.onclick=i,l}u(Z6,"widgetToDOM");const z6=ne.replace({widget:new class extends Wn{toDOM(t){return Z6(t,null)}}}),H4=class H4 extends Wn{constructor(e){super(),this.value=e}eq(e){return this.value==e.value}toDOM(e){return Z6(e,this.value)}};u(H4,"PreparedFoldWidget");let RO=H4;const nL={openText:"\u2304",closedText:"\u203A",markerDOM:null,domEventHandlers:{},foldingChanged:()=>!1},_4=class _4 extends xn{constructor(e,n){super(),this.config=e,this.open=n}eq(e){return this.config==e.config&&this.open==e.open}toDOM(e){if(this.config.markerDOM)return this.config.markerDOM(this.open);let n=document.createElement("span");return n.textContent=this.open?this.config.openText:this.config.closedText,n.title=e.state.phrase(this.open?"Fold line":"Unfold line"),n}};u(_4,"FoldMarker");let Ys=_4;function rL(t={}){let e=Object.assign(Object.assign({},nL),t),n=new Ys(e,!0),r=new Ys(e,!1),i=He.fromClass(class{constructor(a){this.from=a.viewport.from,this.markers=this.buildMarkers(a)}update(a){(a.docChanged||a.viewportChanged||a.startState.facet(mi)!=a.state.facet(mi)||a.startState.field(sl,!1)!=a.state.field(sl,!1)||Qe(a.startState)!=Qe(a.state)||e.foldingChanged(a))&&(this.markers=this.buildMarkers(a.view))}buildMarkers(a){let o=new Ji;for(let s of a.viewportLineBlocks){let c=Mf(a.state,s.from,s.to)?r:Rf(a.state,s.from,s.to)?n:null;c&&o.add(s.from,s.from,c)}return o.finish()}}),{domEventHandlers:l}=e;return[i,LZ({class:"cm-foldGutter",markers(a){var o;return((o=a.plugin(i))===null||o===void 0?void 0:o.markers)||xe.empty},initialSpacer(){return new Ys(e,!1)},domEventHandlers:Object.assign(Object.assign({},l),{click:(a,o,s)=>{if(l.click&&l.click(a,o,s))return!0;let c=Mf(a.state,o.from,o.to);if(c)return a.dispatch({effects:Us.of(c)}),!0;let d=Rf(a.state,o.from,o.to);return d?(a.dispatch({effects:Qf.of(d)}),!0):!1}})}),I6()]}u(rL,"foldGutter");const iL=H.baseTheme({".cm-foldPlaceholder":{backgroundColor:"#eee",border:"1px solid #ddd",color:"#888",borderRadius:".2em",margin:"0 1px",padding:"0 1px",cursor:"pointer"},".cm-foldGutter span":{padding:"0 1px",cursor:"pointer"}}),Dp=class Dp{constructor(e,n){this.specs=e;let r;function i(o){let s=Zn.newName();return(r||(r=Object.create(null)))["."+s]=o,s}u(i,"def");const l=typeof n.all=="string"?n.all:n.all?i(n.all):void 0,a=n.scope;this.scope=a instanceof jt?o=>o.prop(Aa)==a.data:a?o=>o==a:void 0,this.style=C6(e.map(o=>({tag:o.tag,class:o.class||i(Object.assign({},o,{tag:null}))})),{all:l}).style,this.module=r?new Zn(r):null,this.themeType=n.themeType}static define(e,n){return new Dp(e,n||{})}};u(Dp,"HighlightStyle");let Bf=Dp;const QO=G.define(),L6=G.define({combine(t){return t.length?[t[0]]:null}});function MO(t){let e=t.facet(QO);return e.length?e:t.facet(L6)}u(MO,"getHighlighters");function lL(t,e){let n=[aL],r;return t instanceof Bf&&(t.module&&n.push(H.styleModule.of(t.module)),r=t.themeType),e?.fallback?n.push(L6.of(t)):r?n.push(QO.computeN([H.darkTheme],i=>i.facet(H.darkTheme)==(r=="dark")?[t]:[])):n.push(QO.of(t)),n}u(lL,"syntaxHighlighting");const J4=class J4{constructor(e){this.markCache=Object.create(null),this.tree=Qe(e.state),this.decorations=this.buildDeco(e,MO(e.state)),this.decoratedTo=e.viewport.to}update(e){let n=Qe(e.state),r=MO(e.state),i=r!=MO(e.startState),{viewport:l}=e.view,a=e.changes.mapPos(this.decoratedTo,1);n.length=l.to?(this.decorations=this.decorations.map(e.changes),this.decoratedTo=a):(n!=this.tree||e.viewportChanged||i)&&(this.tree=n,this.decorations=this.buildDeco(e.view,r),this.decoratedTo=l.to)}buildDeco(e,n){if(!n||!this.tree.length)return ne.none;let r=new Ji;for(let{from:i,to:l}of e.visibleRanges)Qz(this.tree,n,(a,o,s)=>{r.add(a,o,this.markCache[s]||(this.markCache[s]=ne.mark({class:s})))},i,l);return r.finish()}};u(J4,"TreeHighlighter");let BO=J4;const aL=_i.high(He.fromClass(BO,{decorations:t=>t.decorations})),oL=Bf.define([{tag:Q.meta,color:"#404740"},{tag:Q.link,textDecoration:"underline"},{tag:Q.heading,textDecoration:"underline",fontWeight:"bold"},{tag:Q.emphasis,fontStyle:"italic"},{tag:Q.strong,fontWeight:"bold"},{tag:Q.strikethrough,textDecoration:"line-through"},{tag:Q.keyword,color:"#708"},{tag:[Q.atom,Q.bool,Q.url,Q.contentSeparator,Q.labelName],color:"#219"},{tag:[Q.literal,Q.inserted],color:"#164"},{tag:[Q.string,Q.deleted],color:"#a11"},{tag:[Q.regexp,Q.escape,Q.special(Q.string)],color:"#e40"},{tag:Q.definition(Q.variableName),color:"#00f"},{tag:Q.local(Q.variableName),color:"#30a"},{tag:[Q.typeName,Q.namespace],color:"#085"},{tag:Q.className,color:"#167"},{tag:[Q.special(Q.variableName),Q.macroName],color:"#256"},{tag:Q.definition(Q.propertyName),color:"#00c"},{tag:Q.comment,color:"#940"},{tag:Q.invalid,color:"#f00"}]),sL=H.baseTheme({"&.cm-focused .cm-matchingBracket":{backgroundColor:"#328c8252"},"&.cm-focused .cm-nonmatchingBracket":{backgroundColor:"#bb555544"}}),W6=1e4,X6="()[]{}",j6=G.define({combine(t){return ii(t,{afterCursor:!0,brackets:X6,maxScanDistance:W6,renderMatch:dL})}}),uL=ne.mark({class:"cm-matchingBracket"}),cL=ne.mark({class:"cm-nonmatchingBracket"});function dL(t){let e=[],n=t.matched?uL:cL;return e.push(n.range(t.start.from,t.start.to)),t.end&&e.push(n.range(t.end.from,t.end.to)),e}u(dL,"defaultRenderMatch");const fL=[zt.define({create(){return ne.none},update(t,e){if(!e.docChanged&&!e.selection)return t;let n=[],r=e.state.facet(j6);for(let i of e.state.selection.ranges){if(!i.empty)continue;let l=Hn(e.state,i.head,-1,r)||i.head>0&&Hn(e.state,i.head-1,1,r)||r.afterCursor&&(Hn(e.state,i.head,1,r)||i.headH.decorations.from(t)}),sL];function hL(t={}){return[j6.of(t),fL]}u(hL,"bracketMatching");const q6=new se;function VO(t,e,n){let r=t.prop(e<0?se.openedBy:se.closedBy);if(r)return r;if(t.name.length==1){let i=n.indexOf(t.name);if(i>-1&&i%2==(e<0?1:0))return[n[i+e]]}return null}u(VO,"matchingNodes");function NO(t){let e=t.type.prop(q6);return e?e(t.node):t}u(NO,"findHandle");function Hn(t,e,n,r={}){let i=r.maxScanDistance||W6,l=r.brackets||X6,a=Qe(t),o=a.resolveInner(e,n);for(let s=o;s;s=s.parent){let c=VO(s.type,n,l);if(c&&s.from0?e>=d.from&&ed.from&&e<=d.to))return pL(t,e,n,s,d,c,l)}}return mL(t,e,n,a,o.type,i,l)}u(Hn,"matchBrackets");function pL(t,e,n,r,i,l,a){let o=r.parent,s={from:i.from,to:i.to},c=0,d=o?.cursor();if(d&&(n<0?d.childBefore(r.from):d.childAfter(r.to)))do if(n<0?d.to<=r.from:d.from>=r.to){if(c==0&&l.indexOf(d.type.name)>-1&&d.from0)return null;let c={from:n<0?e-1:e,to:n>0?e+1:e},d=t.doc.iterRange(e,n>0?t.doc.length:0),f=0;for(let h=0;!d.next().done&&h<=l;){let p=d.value;n<0&&(h+=p.length);let m=e+h*n;for(let g=n>0?0:p.length-1,O=n>0?p.length:-1;g!=O;g+=n){let b=a.indexOf(p[g]);if(!(b<0||r.resolveInner(m+g,1).type!=i))if(b%2==0==n>0)f++;else{if(f==1)return{start:c,end:{from:m+g,to:m+g+1},matched:b>>1==s>>1};f--}}n>0&&(h+=p.length)}return d.done?{start:c,matched:!1}:null}u(mL,"matchPlainBrackets");const gL=Object.create(null),U6=[Xt.none],Y6=[],K6=Object.create(null),OL=Object.create(null);for(let[t,e]of[["variable","variableName"],["variable-2","variableName.special"],["string-2","string.special"],["def","variableName.definition"],["tag","tagName"],["attribute","attributeName"],["type","typeName"],["builtin","variableName.standard"],["qualifier","modifier"],["error","invalid"],["header","heading"],["property","propertyName"]])OL[t]=bL(gL,e);function FO(t,e){Y6.indexOf(t)>-1||(Y6.push(t),console.warn(e))}u(FO,"warnForPart");function bL(t,e){let n=[];for(let o of e.split(" ")){let s=[];for(let c of o.split(".")){let d=t[c]||Q[c];d?typeof d=="function"?s.length?s=s.map(d):FO(c,`Modifier ${c} used at start of tag`):s.length?FO(c,`Tag ${c} used as modifier`):s=Array.isArray(d)?d:[d]:FO(c,`Unknown highlighting tag ${c}`)}for(let c of s)n.push(c)}if(!n.length)return 0;let r=e.replace(/ /g,"_"),i=r+" "+n.map(o=>o.id),l=K6[i];if(l)return l.id;let a=K6[i]=Xt.define({id:U6.length,name:r,props:[Sf({[r]:n})]});return U6.push(a),a.id}u(bL,"createTokenType"),Pe.RTL,Pe.LTR;const yL=u(t=>{let{state:e}=t,n=e.doc.lineAt(e.selection.main.from),r=ZO(t.state,n.from);return r.line?vL(t):r.block?wL(t):!1},"toggleComment");function IO(t,e){return({state:n,dispatch:r})=>{if(n.readOnly)return!1;let i=t(e,n);return i?(r(n.update(i)),!0):!1}}u(IO,"command");const vL=IO(CL,0),$L=IO(G6,0),wL=IO((t,e)=>G6(t,e,SL(e)),0);function ZO(t,e){let n=t.languageDataAt("commentTokens",e);return n.length?n[0]:{}}u(ZO,"getConfig");const Ks=50;function xL(t,{open:e,close:n},r,i){let l=t.sliceDoc(r-Ks,r),a=t.sliceDoc(i,i+Ks),o=/\s*$/.exec(l)[0].length,s=/^\s*/.exec(a)[0].length,c=l.length-o;if(l.slice(c-e.length,c)==e&&a.slice(s,s+n.length)==n)return{open:{pos:r-o,margin:o&&1},close:{pos:i+s,margin:s&&1}};let d,f;i-r<=2*Ks?d=f=t.sliceDoc(r,i):(d=t.sliceDoc(r,r+Ks),f=t.sliceDoc(i-Ks,i));let h=/^\s*/.exec(d)[0].length,p=/\s*$/.exec(f)[0].length,m=f.length-p-n.length;return d.slice(h,h+e.length)==e&&f.slice(m,m+n.length)==n?{open:{pos:r+h+e.length,margin:/\s/.test(d.charAt(h+e.length))?1:0},close:{pos:i-p-n.length,margin:/\s/.test(f.charAt(m-1))?1:0}}:null}u(xL,"findBlockComment");function SL(t){let e=[];for(let n of t.selection.ranges){let r=t.doc.lineAt(n.from),i=n.to<=r.to?r:t.doc.lineAt(n.to);i.from>r.from&&i.from==n.to&&(i=n.to==r.to+1?r:t.doc.lineAt(n.to-1));let l=e.length-1;l>=0&&e[l].to>r.from?e[l].to=i.to:e.push({from:r.from+/^\s*/.exec(r.text)[0].length,to:i.to})}return e}u(SL,"selectedLineRanges");function G6(t,e,n=e.selection.ranges){let r=n.map(l=>ZO(e,l.from).block);if(!r.every(l=>l))return null;let i=n.map((l,a)=>xL(e,r[a],l.from,l.to));if(t!=2&&!i.every(l=>l))return{changes:e.changes(n.map((l,a)=>i[a]?[]:[{from:l.from,insert:r[a].open+" "},{from:l.to,insert:" "+r[a].close}]))};if(t!=1&&i.some(l=>l)){let l=[];for(let a=0,o;ai&&(l==a||a>f.from)){i=f.from;let h=/^\s*/.exec(f.text)[0].length,p=h==f.length,m=f.text.slice(h,h+c.length)==c?h:-1;hl.comment<0&&(!l.empty||l.single))){let l=[];for(let{line:o,token:s,indent:c,empty:d,single:f}of r)(f||!d)&&l.push({from:o.from+c,insert:s+" "});let a=e.changes(l);return{changes:a,selection:e.selection.map(a,1)}}else if(t!=1&&r.some(l=>l.comment>=0)){let l=[];for(let{line:a,comment:o,token:s}of r)if(o>=0){let c=a.from+o,d=c+s.length;a.text[d-a.from]==" "&&d++,l.push({from:c,to:d})}return{changes:l}}return null}u(CL,"changeLineComment");const zO=$n.define(),DL=$n.define(),kL=G.define(),H6=G.define({combine(t){return ii(t,{minDepth:100,newGroupDelay:500,joinToEvent:(e,n)=>n},{minDepth:Math.max,newGroupDelay:Math.min,joinToEvent:(e,n)=>(r,i)=>e(r,i)||n(r,i)})}}),_6=zt.define({create(){return Gs.empty},update(t,e){let n=e.state.facet(H6),r=e.annotation(zO);if(r){let s=Cn.fromTransaction(e,r.selection),c=r.side,d=c==0?t.undone:t.done;return s?d=Nf(d,d.length,n.minDepth,s):d=t7(d,e.startState.selection),new Gs(c==0?r.rest:d,c==0?d:r.rest)}let i=e.annotation(DL);if((i=="full"||i=="before")&&(t=t.isolate()),e.annotation(Ot.addToHistory)===!1)return e.changes.empty?t:t.addMapping(e.changes.desc);let l=Cn.fromTransaction(e),a=e.annotation(Ot.time),o=e.annotation(Ot.userEvent);return l?t=t.addChanges(l,a,o,n,e):e.selection&&(t=t.addSelection(e.startState.selection,a,o,n.newGroupDelay)),(i=="full"||i=="after")&&(t=t.isolate()),t},toJSON(t){return{done:t.done.map(e=>e.toJSON()),undone:t.undone.map(e=>e.toJSON())}},fromJSON(t){return new Gs(t.done.map(Cn.fromJSON),t.undone.map(Cn.fromJSON))}});function PL(t={}){return[_6,H6.of(t),H.domEventHandlers({beforeinput(e,n){let r=e.inputType=="historyUndo"?J6:e.inputType=="historyRedo"?LO:null;return r?(e.preventDefault(),r(n)):!1}})]}u(PL,"history$1");function Vf(t,e){return function({state:n,dispatch:r}){if(!e&&n.readOnly)return!1;let i=n.field(_6,!1);if(!i)return!1;let l=i.pop(t,n,e);return l?(r(l),!0):!1}}u(Vf,"cmd");const J6=Vf(0,!1),LO=Vf(1,!1),EL=Vf(0,!0),AL=Vf(1,!0),Bl=class Bl{constructor(e,n,r,i,l){this.changes=e,this.effects=n,this.mapped=r,this.startSelection=i,this.selectionsAfter=l}setSelAfter(e){return new Bl(this.changes,this.effects,this.mapped,this.startSelection,e)}toJSON(){var e,n,r;return{changes:(e=this.changes)===null||e===void 0?void 0:e.toJSON(),mapped:(n=this.mapped)===null||n===void 0?void 0:n.toJSON(),startSelection:(r=this.startSelection)===null||r===void 0?void 0:r.toJSON(),selectionsAfter:this.selectionsAfter.map(i=>i.toJSON())}}static fromJSON(e){return new Bl(e.changes&&Zt.fromJSON(e.changes),[],e.mapped&&ni.fromJSON(e.mapped),e.startSelection&&z.fromJSON(e.startSelection),e.selectionsAfter.map(z.fromJSON))}static fromTransaction(e,n){let r=fn;for(let i of e.startState.facet(kL)){let l=i(e);l.length&&(r=r.concat(l))}return!r.length&&e.changes.empty?null:new Bl(e.changes.invert(e.startState.doc),r,void 0,n||e.startState.selection,fn)}static selection(e){return new Bl(void 0,fn,void 0,void 0,e)}};u(Bl,"HistEvent");let Cn=Bl;function Nf(t,e,n,r){let i=e+1>n+20?e-n-1:0,l=t.slice(i,e);return l.push(r),l}u(Nf,"updateBranch");function TL(t,e){let n=[],r=!1;return t.iterChangedRanges((i,l)=>n.push(i,l)),e.iterChangedRanges((i,l,a,o)=>{for(let s=0;s=c&&a<=d&&(r=!0)}}),r}u(TL,"isAdjacent");function RL(t,e){return t.ranges.length==e.ranges.length&&t.ranges.filter((n,r)=>n.empty!=e.ranges[r].empty).length===0}u(RL,"eqSelectionShape");function e7(t,e){return t.length?e.length?t.concat(e):t:e}u(e7,"conc");const fn=[],QL=200;function t7(t,e){if(t.length){let n=t[t.length-1],r=n.selectionsAfter.slice(Math.max(0,n.selectionsAfter.length-QL));return r.length&&r[r.length-1].eq(e)?t:(r.push(e),Nf(t,t.length-1,1e9,n.setSelAfter(r)))}else return[Cn.selection([e])]}u(t7,"addSelection");function ML(t){let e=t[t.length-1],n=t.slice();return n[t.length-1]=e.setSelAfter(e.selectionsAfter.slice(0,e.selectionsAfter.length-1)),n}u(ML,"popSelection");function WO(t,e){if(!t.length)return t;let n=t.length,r=fn;for(;n;){let i=BL(t[n-1],e,r);if(i.changes&&!i.changes.empty||i.effects.length){let l=t.slice(0,n);return l[n-1]=i,l}else e=i.mapped,n--,r=i.selectionsAfter}return r.length?[Cn.selection(r)]:fn}u(WO,"addMappingToBranch");function BL(t,e,n){let r=e7(t.selectionsAfter.length?t.selectionsAfter.map(o=>o.map(e)):fn,n);if(!t.changes)return Cn.selection(r);let i=t.changes.map(e),l=e.mapDesc(t.changes,!0),a=t.mapped?t.mapped.composeDesc(l):l;return new Cn(i,pe.mapEffects(t.effects,e),a,t.startSelection.map(l),r)}u(BL,"mapEvent");const VL=/^(input\.type|delete)($|\.)/;let Gs=(Lr=class{constructor(e,n,r=0,i=void 0){this.done=e,this.undone=n,this.prevTime=r,this.prevUserEvent=i}isolate(){return this.prevTime?new Lr(this.done,this.undone):this}addChanges(e,n,r,i,l){let a=this.done,o=a[a.length-1];return o&&o.changes&&!o.changes.empty&&e.changes&&(!r||VL.test(r))&&(!o.selectionsAfter.length&&n-this.prevTime0&&n-this.prevTimen.empty?t.moveByChar(n,e):Ff(n,e))}u(n7,"cursorByChar");function st(t){return t.textDirectionAt(t.state.selection.main.head)==Pe.LTR}u(st,"ltrAtCursor");const r7=u(t=>n7(t,!st(t)),"cursorCharLeft"),i7=u(t=>n7(t,st(t)),"cursorCharRight");function l7(t,e){return Dn(t,n=>n.empty?t.moveByGroup(n,e):Ff(n,e))}u(l7,"cursorByGroup");const FL=u(t=>l7(t,!st(t)),"cursorGroupLeft"),IL=u(t=>l7(t,st(t)),"cursorGroupRight");function ZL(t,e,n){if(e.type.prop(n))return!0;let r=e.to-e.from;return r&&(r>2||/[^\s,.;:]/.test(t.sliceDoc(e.from,e.to)))||e.firstChild}u(ZL,"interestingNode");function If(t,e,n){let r=Qe(t).resolveInner(e.head),i=n?se.closedBy:se.openedBy;for(let s=e.head;;){let c=n?r.childAfter(s):r.childBefore(s);if(!c)break;ZL(t,c,i)?r=c:s=n?c.to:c.from}let l=r.type.prop(i),a,o;return l&&(a=n?Hn(t,r.from,1):Hn(t,r.to,-1))&&a.matched?o=n?a.end.to:a.end.from:o=n?r.to:r.from,z.cursor(o,n?-1:1)}u(If,"moveBySyntax");const zL=u(t=>Dn(t,e=>If(t.state,e,!st(t))),"cursorSyntaxLeft"),LL=u(t=>Dn(t,e=>If(t.state,e,st(t))),"cursorSyntaxRight");function a7(t,e){return Dn(t,n=>{if(!n.empty)return Ff(n,e);let r=t.moveVertically(n,e);return r.head!=n.head?r:t.moveToLineBoundary(n,e)})}u(a7,"cursorByLine");const o7=u(t=>a7(t,!1),"cursorLineUp"),s7=u(t=>a7(t,!0),"cursorLineDown");function u7(t){let e=t.scrollDOM.clientHeighta.empty?t.moveVertically(a,e,n.height):Ff(a,e));if(i.eq(r.selection))return!1;let l;if(n.selfScroll){let a=t.coordsAtPos(r.selection.main.head),o=t.scrollDOM.getBoundingClientRect(),s=o.top+n.marginTop,c=o.bottom-n.marginBottom;a&&a.top>s&&a.bottomc7(t,!1),"cursorPageUp"),XO=u(t=>c7(t,!0),"cursorPageDown");function gi(t,e,n){let r=t.lineBlockAt(e.head),i=t.moveToLineBoundary(e,n);if(i.head==e.head&&i.head!=(n?r.to:r.from)&&(i=t.moveToLineBoundary(e,n,!1)),!n&&i.head==r.from&&r.length){let l=/^\s*/.exec(t.state.sliceDoc(r.from,Math.min(r.from+100,r.to)))[0].length;l&&e.head!=r.from+l&&(i=z.cursor(r.from+l))}return i}u(gi,"moveByLineBoundary");const WL=u(t=>Dn(t,e=>gi(t,e,!0)),"cursorLineBoundaryForward"),XL=u(t=>Dn(t,e=>gi(t,e,!1)),"cursorLineBoundaryBackward"),jL=u(t=>Dn(t,e=>gi(t,e,!st(t))),"cursorLineBoundaryLeft"),qL=u(t=>Dn(t,e=>gi(t,e,st(t))),"cursorLineBoundaryRight"),UL=u(t=>Dn(t,e=>z.cursor(t.lineBlockAt(e.head).from,1)),"cursorLineStart"),YL=u(t=>Dn(t,e=>z.cursor(t.lineBlockAt(e.head).to,-1)),"cursorLineEnd");function KL(t,e,n){let r=!1,i=Ra(t.selection,l=>{let a=Hn(t,l.head,-1)||Hn(t,l.head,1)||l.head>0&&Hn(t,l.head-1,1)||l.headKL(t,e,!1),"cursorMatchingBracket");function hn(t,e){let n=Ra(t.state.selection,r=>{let i=e(r);return z.range(r.anchor,i.head,i.goalColumn,i.bidiLevel||void 0)});return n.eq(t.state.selection)?!1:(t.dispatch(_n(t.state,n)),!0)}u(hn,"extendSel");function f7(t,e){return hn(t,n=>t.moveByChar(n,e))}u(f7,"selectByChar");const h7=u(t=>f7(t,!st(t)),"selectCharLeft"),p7=u(t=>f7(t,st(t)),"selectCharRight");function m7(t,e){return hn(t,n=>t.moveByGroup(n,e))}u(m7,"selectByGroup");const HL=u(t=>m7(t,!st(t)),"selectGroupLeft"),_L=u(t=>m7(t,st(t)),"selectGroupRight"),JL=u(t=>hn(t,e=>If(t.state,e,!st(t))),"selectSyntaxLeft"),eW=u(t=>hn(t,e=>If(t.state,e,st(t))),"selectSyntaxRight");function g7(t,e){return hn(t,n=>t.moveVertically(n,e))}u(g7,"selectByLine");const O7=u(t=>g7(t,!1),"selectLineUp"),b7=u(t=>g7(t,!0),"selectLineDown");function y7(t,e){return hn(t,n=>t.moveVertically(n,e,u7(t).height))}u(y7,"selectByPage");const v7=u(t=>y7(t,!1),"selectPageUp"),$7=u(t=>y7(t,!0),"selectPageDown"),tW=u(t=>hn(t,e=>gi(t,e,!0)),"selectLineBoundaryForward"),nW=u(t=>hn(t,e=>gi(t,e,!1)),"selectLineBoundaryBackward"),rW=u(t=>hn(t,e=>gi(t,e,!st(t))),"selectLineBoundaryLeft"),iW=u(t=>hn(t,e=>gi(t,e,st(t))),"selectLineBoundaryRight"),lW=u(t=>hn(t,e=>z.cursor(t.lineBlockAt(e.head).from)),"selectLineStart"),aW=u(t=>hn(t,e=>z.cursor(t.lineBlockAt(e.head).to)),"selectLineEnd"),w7=u(({state:t,dispatch:e})=>(e(_n(t,{anchor:0})),!0),"cursorDocStart"),x7=u(({state:t,dispatch:e})=>(e(_n(t,{anchor:t.doc.length})),!0),"cursorDocEnd"),S7=u(({state:t,dispatch:e})=>(e(_n(t,{anchor:t.selection.main.anchor,head:0})),!0),"selectDocStart"),C7=u(({state:t,dispatch:e})=>(e(_n(t,{anchor:t.selection.main.anchor,head:t.doc.length})),!0),"selectDocEnd"),oW=u(({state:t,dispatch:e})=>(e(t.update({selection:{anchor:0,head:t.doc.length},userEvent:"select"})),!0),"selectAll$1"),sW=u(({state:t,dispatch:e})=>{let n=zf(t).map(({from:r,to:i})=>z.range(r,Math.min(i+1,t.doc.length)));return e(t.update({selection:z.create(n),userEvent:"select"})),!0},"selectLine"),uW=u(({state:t,dispatch:e})=>{let n=Ra(t.selection,r=>{let i=Qe(t),l=i.resolveStack(r.from,1);if(r.empty){let a=i.resolveStack(r.from,-1);a.node.from>=l.node.from&&a.node.to<=l.node.to&&(l=a)}for(let a=l;a;a=a.next){let{node:o}=a;if((o.from=r.to||o.to>r.to&&o.from<=r.from)&&a.next)return z.range(o.to,o.from)}return r});return n.eq(t.selection)?!1:(e(_n(t,n)),!0)},"selectParentSyntax"),cW=u(({state:t,dispatch:e})=>{let n=t.selection,r=null;return n.ranges.length>1?r=z.create([n.main]):n.main.empty||(r=z.create([z.cursor(n.main.head)])),r?(e(_n(t,r)),!0):!1},"simplifySelection");function Hs(t,e){if(t.state.readOnly)return!1;let n="delete.selection",{state:r}=t,i=r.changeByRange(l=>{let{from:a,to:o}=l;if(a==o){let s=e(l);sa&&(n="delete.forward",s=Zf(t,s,!0)),a=Math.min(a,s),o=Math.max(o,s)}else a=Zf(t,a,!1),o=Zf(t,o,!0);return a==o?{range:l}:{changes:{from:a,to:o},range:z.cursor(a,ai(t)))r.between(e,e,(i,l)=>{ie&&(e=n?l:i)});return e}u(Zf,"skipAtomic");const D7=u((t,e,n)=>Hs(t,r=>{let i=r.from,{state:l}=t,a=l.doc.lineAt(i),o,s;if(n&&!e&&i>a.from&&iD7(t,!1,!0),"deleteCharBackward"),k7=u(t=>D7(t,!0,!1),"deleteCharForward"),P7=u((t,e)=>Hs(t,n=>{let r=n.head,{state:i}=t,l=i.doc.lineAt(r),a=i.charCategorizer(r);for(let o=null;;){if(r==(e?l.to:l.from)){r==n.head&&l.number!=(e?i.doc.lines:1)&&(r+=e?1:-1);break}let s=gt(l.text,r-l.from,e)+l.from,c=l.text.slice(Math.min(r,s)-l.from,Math.max(r,s)-l.from),d=a(c);if(o!=null&&d!=o)break;(c!=" "||r!=n.head)&&(o=d),r=s}return r}),"deleteByGroup"),E7=u(t=>P7(t,!1),"deleteGroupBackward"),dW=u(t=>P7(t,!0),"deleteGroupForward"),fW=u(t=>Hs(t,e=>{let n=t.lineBlockAt(e.head).to;return e.headHs(t,e=>{let n=t.moveToLineBoundary(e,!1).head;return e.head>n?n:Math.max(0,e.head-1)}),"deleteLineBoundaryBackward"),pW=u(t=>Hs(t,e=>{let n=t.moveToLineBoundary(e,!0).head;return e.head{if(t.readOnly)return!1;let n=t.changeByRange(r=>({changes:{from:r.from,to:r.to,insert:de.of(["",""])},range:z.cursor(r.from)}));return e(t.update(n,{scrollIntoView:!0,userEvent:"input"})),!0},"splitLine"),gW=u(({state:t,dispatch:e})=>{if(t.readOnly)return!1;let n=t.changeByRange(r=>{if(!r.empty||r.from==0||r.from==t.doc.length)return{range:r};let i=r.from,l=t.doc.lineAt(i),a=i==l.from?i-1:gt(l.text,i-l.from,!1)+l.from,o=i==l.to?i+1:gt(l.text,i-l.from,!0)+l.from;return{changes:{from:a,to:o,insert:t.doc.slice(i,o).append(t.doc.slice(a,i))},range:z.cursor(o)}});return n.changes.empty?!1:(e(t.update(n,{scrollIntoView:!0,userEvent:"move.character"})),!0)},"transposeChars");function zf(t){let e=[],n=-1;for(let r of t.selection.ranges){let i=t.doc.lineAt(r.from),l=t.doc.lineAt(r.to);if(!r.empty&&r.to==l.from&&(l=t.doc.lineAt(r.to-1)),n>=i.number){let a=e[e.length-1];a.to=l.to,a.ranges.push(r)}else e.push({from:i.from,to:l.to,ranges:[r]});n=l.number+1}return e}u(zf,"selectedLineBlocks");function A7(t,e,n){if(t.readOnly)return!1;let r=[],i=[];for(let l of zf(t)){if(n?l.to==t.doc.length:l.from==0)continue;let a=t.doc.lineAt(n?l.to+1:l.from-1),o=a.length+1;if(n){r.push({from:l.to,to:a.to},{from:l.from,insert:a.text+t.lineBreak});for(let s of l.ranges)i.push(z.range(Math.min(t.doc.length,s.anchor+o),Math.min(t.doc.length,s.head+o)))}else{r.push({from:a.from,to:l.from},{from:l.to,insert:t.lineBreak+a.text});for(let s of l.ranges)i.push(z.range(s.anchor-o,s.head-o))}}return r.length?(e(t.update({changes:r,scrollIntoView:!0,selection:z.create(i,t.selection.mainIndex),userEvent:"move.line"})),!0):!1}u(A7,"moveLine");const OW=u(({state:t,dispatch:e})=>A7(t,e,!1),"moveLineUp"),bW=u(({state:t,dispatch:e})=>A7(t,e,!0),"moveLineDown");function T7(t,e,n){if(t.readOnly)return!1;let r=[];for(let i of zf(t))n?r.push({from:i.from,insert:t.doc.slice(i.from,i.to)+t.lineBreak}):r.push({from:i.to,insert:t.lineBreak+t.doc.slice(i.from,i.to)});return e(t.update({changes:r,scrollIntoView:!0,userEvent:"input.copyline"})),!0}u(T7,"copyLine");const yW=u(({state:t,dispatch:e})=>T7(t,e,!1),"copyLineUp"),vW=u(({state:t,dispatch:e})=>T7(t,e,!0),"copyLineDown"),$W=u(t=>{if(t.state.readOnly)return!1;let{state:e}=t,n=e.changes(zf(e).map(({from:i,to:l})=>(i>0?i--:l{let l;if(t.lineWrapping){let a=t.lineBlockAt(i.head),o=t.coordsAtPos(i.head,i.assoc||1);o&&(l=a.bottom+t.documentTop-o.bottom+t.defaultLineHeight/2)}return t.moveVertically(i,!0,l)}).map(n);return t.dispatch({changes:n,selection:r,scrollIntoView:!0,userEvent:"delete.line"}),!0},"deleteLine");function wW(t,e){if(/\(\)|\[\]|\{\}/.test(t.sliceDoc(e-1,e+1)))return{from:e,to:e};let n=Qe(t).resolveInner(e),r=n.childBefore(e),i=n.childAfter(e),l;return r&&i&&r.to<=e&&i.from>=e&&(l=r.type.prop(se.closedBy))&&l.indexOf(i.name)>-1&&t.doc.lineAt(r.to).from==t.doc.lineAt(i.from).from&&!/\S/.test(t.sliceDoc(r.to,i.from))?{from:r.to,to:i.from}:null}u(wW,"isBetweenBrackets");const R7=Q7(!1),xW=Q7(!0);function Q7(t){return({state:e,dispatch:n})=>{if(e.readOnly)return!1;let r=e.changeByRange(i=>{let{from:l,to:a}=i,o=e.doc.lineAt(l),s=!t&&l==a&&wW(e,l);t&&(l=a=(a<=o.to?o:e.doc.lineAt(a)).to);let c=new Ta(e,{simulateBreak:l,simulateDoubleBreak:!!s}),d=EO(c,l);for(d==null&&(d=$a(/^\s*/.exec(e.doc.lineAt(l).text)[0],e.tabSize));ao.from&&l{let i=[];for(let a=r.from;a<=r.to;){let o=t.doc.lineAt(a);o.number>n&&(r.empty||r.to>o.from)&&(e(o,i,r),n=o.number),a=o.to+1}let l=t.changes(i);return{changes:i,range:z.range(l.mapPos(r.anchor,1),l.mapPos(r.head,1))}})}u(qO,"changeBySelectedLine");const SW=u(({state:t,dispatch:e})=>{if(t.readOnly)return!1;let n=Object.create(null),r=new Ta(t,{overrideIndentation:l=>{let a=n[l];return a??-1}}),i=qO(t,(l,a,o)=>{let s=EO(r,l.from);if(s==null)return;/\S/.test(l.text)||(s=0);let c=/^\s*/.exec(l.text)[0],d=qs(t,s);(c!=d||o.fromt.readOnly?!1:(e(t.update(qO(t,(n,r)=>{r.push({from:n.from,insert:t.facet(js)})}),{userEvent:"input.indent"})),!0),"indentMore"),B7=u(({state:t,dispatch:e})=>t.readOnly?!1:(e(t.update(qO(t,(n,r)=>{let i=/^\s*/.exec(n.text)[0];if(!i)return;let l=$a(i,t.tabSize),a=0,o=qs(t,Math.max(0,l-Pf(t)));for(;a(t.setTabFocusMode(),!0),"toggleTabFocusMode"),DW=[{key:"Ctrl-b",run:r7,shift:h7,preventDefault:!0},{key:"Ctrl-f",run:i7,shift:p7},{key:"Ctrl-p",run:o7,shift:O7},{key:"Ctrl-n",run:s7,shift:b7},{key:"Ctrl-a",run:UL,shift:lW},{key:"Ctrl-e",run:YL,shift:aW},{key:"Ctrl-d",run:k7},{key:"Ctrl-h",run:jO},{key:"Ctrl-k",run:fW},{key:"Ctrl-Alt-h",run:E7},{key:"Ctrl-o",run:mW},{key:"Ctrl-t",run:gW},{key:"Ctrl-v",run:XO}],kW=[{key:"ArrowLeft",run:r7,shift:h7,preventDefault:!0},{key:"Mod-ArrowLeft",mac:"Alt-ArrowLeft",run:FL,shift:HL,preventDefault:!0},{mac:"Cmd-ArrowLeft",run:jL,shift:rW,preventDefault:!0},{key:"ArrowRight",run:i7,shift:p7,preventDefault:!0},{key:"Mod-ArrowRight",mac:"Alt-ArrowRight",run:IL,shift:_L,preventDefault:!0},{mac:"Cmd-ArrowRight",run:qL,shift:iW,preventDefault:!0},{key:"ArrowUp",run:o7,shift:O7,preventDefault:!0},{mac:"Cmd-ArrowUp",run:w7,shift:S7},{mac:"Ctrl-ArrowUp",run:d7,shift:v7},{key:"ArrowDown",run:s7,shift:b7,preventDefault:!0},{mac:"Cmd-ArrowDown",run:x7,shift:C7},{mac:"Ctrl-ArrowDown",run:XO,shift:$7},{key:"PageUp",run:d7,shift:v7},{key:"PageDown",run:XO,shift:$7},{key:"Home",run:XL,shift:nW,preventDefault:!0},{key:"Mod-Home",run:w7,shift:S7},{key:"End",run:WL,shift:tW,preventDefault:!0},{key:"Mod-End",run:x7,shift:C7},{key:"Enter",run:R7,shift:R7},{key:"Mod-a",run:oW},{key:"Backspace",run:jO,shift:jO},{key:"Delete",run:k7},{key:"Mod-Backspace",mac:"Alt-Backspace",run:E7},{key:"Mod-Delete",mac:"Alt-Delete",run:dW},{mac:"Mod-Backspace",run:hW},{mac:"Mod-Delete",run:pW}].concat(DW.map(t=>({mac:t.key,run:t.run,shift:t.shift}))),PW=[{key:"Alt-ArrowLeft",mac:"Ctrl-ArrowLeft",run:zL,shift:JL},{key:"Alt-ArrowRight",mac:"Ctrl-ArrowRight",run:LL,shift:eW},{key:"Alt-ArrowUp",run:OW},{key:"Shift-Alt-ArrowUp",run:yW},{key:"Alt-ArrowDown",run:bW},{key:"Shift-Alt-ArrowDown",run:vW},{key:"Escape",run:cW},{key:"Mod-Enter",run:xW},{key:"Alt-l",mac:"Ctrl-l",run:sW},{key:"Mod-i",run:uW,preventDefault:!0},{key:"Mod-[",run:B7},{key:"Mod-]",run:M7},{key:"Mod-Alt-\\",run:SW},{key:"Shift-Mod-k",run:$W},{key:"Shift-Mod-\\",run:GL},{key:"Mod-/",run:yL},{key:"Alt-A",run:$L},{key:"Ctrl-m",mac:"Shift-Alt-m",run:CW}].concat(kW),EW={key:"Tab",run:M7,shift:B7},ev=class ev{constructor(e,n,r,i){this.state=e,this.pos=n,this.explicit=r,this.view=i,this.abortListeners=[],this.abortOnDocChange=!1}tokenBefore(e){let n=Qe(this.state).resolveInner(this.pos,-1);for(;n&&e.indexOf(n.name)<0;)n=n.parent;return n?{from:n.from,to:this.pos,text:this.state.sliceDoc(n.from,this.pos),type:n.type}:null}matchBefore(e){let n=this.state.doc.lineAt(this.pos),r=Math.max(n.from,this.pos-250),i=n.text.slice(r-n.from,this.pos-n.from),l=i.search(F7(e,!1));return l<0?null:{from:r+l,to:this.pos,text:i.slice(l)}}get aborted(){return this.abortListeners==null}addEventListener(e,n,r){e=="abort"&&this.abortListeners&&(this.abortListeners.push(n),r&&r.onDocChange&&(this.abortOnDocChange=!0))}};u(ev,"CompletionContext");let Lf=ev;function V7(t){let e=Object.keys(t).join(""),n=/\w/.test(e);return n&&(e=e.replace(/\w/g,"")),`[${n?"\\w":""}${e.replace(/[^\w\s]/g,"\\$&")}]`}u(V7,"toSet");function AW(t){let e=Object.create(null),n=Object.create(null);for(let{label:i}of t){e[i[0]]=!0;for(let l=1;ltypeof i=="string"?{label:i}:i),[n,r]=e.every(i=>/^\w+$/.test(i.label))?[/\w*$/,/\w+$/]:AW(e);return i=>{let l=i.matchBefore(r);return l||i.explicit?{from:l?l.from:i.pos,options:e,validFor:n}:null}}u(N7,"completeFromList");function TW(t,e){return n=>{for(let r=Qe(n.state).resolveInner(n.pos,-1);r;r=r.parent){if(t.indexOf(r.name)>-1)return null;if(r.type.isTop)break}return e(n)}}u(TW,"ifNotIn");const tv=class tv{constructor(e,n,r,i){this.completion=e,this.source=n,this.match=r,this.score=i}};u(tv,"Option");let Wf=tv;function Oi(t){return t.selection.main.from}u(Oi,"cur");function F7(t,e){var n;let{source:r}=t,i=e&&r[0]!="^",l=r[r.length-1]!="$";return!i&&!l?t:new RegExp(`${i?"^":""}(?:${r})${l?"$":""}`,(n=t.flags)!==null&&n!==void 0?n:t.ignoreCase?"i":"")}u(F7,"ensureAnchor");const UO=$n.define();function RW(t,e,n,r){let{main:i}=t.selection,l=n-i.from,a=r-i.from;return Object.assign(Object.assign({},t.changeByRange(o=>{if(o!=i&&n!=r&&t.sliceDoc(o.from+l,o.from+a)!=t.sliceDoc(n,r))return{range:o};let s=t.toText(e);return{changes:{from:o.from+l,to:r==i.from?o.to:o.from+a,insert:s},range:z.cursor(o.from+l+s.length)}})),{scrollIntoView:!0,userEvent:"input.complete"})}u(RW,"insertCompletionText");const I7=new WeakMap;function QW(t){if(!Array.isArray(t))return t;let e=I7.get(t);return e||I7.set(t,e=N7(t)),e}u(QW,"asSource");const Xf=pe.define(),_s=pe.define(),nv=class nv{constructor(e){this.pattern=e,this.chars=[],this.folded=[],this.any=[],this.precise=[],this.byWord=[],this.score=0,this.matched=[];for(let n=0;n=48&&w<=57||w>=97&&w<=122?2:w>=65&&w<=90?1:0:(x=zg(w))!=x.toLowerCase()?1:x!=x.toUpperCase()?2:0;(!y||P==1&&O||C==0&&P!=0)&&(n[f]==w||r[f]==w&&(h=!0)?a[f++]=y:a.length&&(b=!1)),C=P,y+=un(w)}return f==s&&a[0]==0&&b?this.result(-100+(h?-200:0),a,e):p==s&&m==0?this.ret(-200-e.length+(g==e.length?0:-100),[0,g]):o>-1?this.ret(-700-e.length,[o,o+this.pattern.length]):p==s?this.ret(-900-e.length,[m,g]):f==s?this.result(-100+(h?-200:0)+-700+(b?0:-1100),a,e):n.length==2?null:this.result((i[0]?-700:0)+-200+-1100,i,e)}result(e,n,r){let i=[],l=0;for(let a of n){let o=a+(this.astral?un(Ye(r,a)):1);l&&i[l-1]==a?i[l-1]=o:(i[l++]=a,i[l++]=o)}return this.ret(e-r.length,i)}};u(nv,"FuzzyMatcher");let YO=nv;const rv=class rv{constructor(e){this.pattern=e,this.matched=[],this.score=0,this.folded=e.toLowerCase()}match(e){if(e.length!1,activateOnTypingDelay:100,selectOnOpen:!0,override:null,closeOnBlur:!0,maxRenderedOptions:100,defaultKeymap:!0,tooltipClass:()=>"",optionClass:()=>"",aboveCursor:!1,icons:!0,addToOptions:[],positionInfo:MW,filterStrict:!1,compareCompletions:(e,n)=>e.label.localeCompare(n.label),interactionDelay:75,updateSyncTime:100},{defaultKeymap:(e,n)=>e&&n,closeOnBlur:(e,n)=>e&&n,icons:(e,n)=>e&&n,tooltipClass:(e,n)=>r=>Z7(e(r),n(r)),optionClass:(e,n)=>r=>Z7(e(r),n(r)),addToOptions:(e,n)=>e.concat(n),filterStrict:(e,n)=>e||n})}});function Z7(t,e){return t?e?t+" "+e:t:e}u(Z7,"joinClass");function MW(t,e,n,r,i,l){let a=t.textDirection==Pe.RTL,o=a,s=!1,c="top",d,f,h=e.left-i.left,p=i.right-e.right,m=r.right-r.left,g=r.bottom-r.top;if(o&&h=g||y>e.top?d=n.bottom-e.top:(c="bottom",d=e.bottom-n.top)}let O=(e.bottom-e.top)/l.offsetHeight,b=(e.right-e.left)/l.offsetWidth;return{style:`${c}: ${d/O}px; max-width: ${f/b}px`,class:"cm-completionInfo-"+(s?a?"left-narrow":"right-narrow":o?"left":"right")}}u(MW,"defaultPositionInfo");function BW(t){let e=t.addToOptions.slice();return t.icons&&e.push({render(n){let r=document.createElement("div");return r.classList.add("cm-completionIcon"),n.type&&r.classList.add(...n.type.split(/\s+/g).map(i=>"cm-completionIcon-"+i)),r.setAttribute("aria-hidden","true"),r},position:20}),e.push({render(n,r,i,l){let a=document.createElement("span");a.className="cm-completionLabel";let o=n.displayLabel||n.label,s=0;for(let c=0;cs&&a.appendChild(document.createTextNode(o.slice(s,d)));let h=a.appendChild(document.createElement("span"));h.appendChild(document.createTextNode(o.slice(d,f))),h.className="cm-completionMatchedText",s=f}return sn.position-r.position).map(n=>n.render)}u(BW,"optionContent");function GO(t,e,n){if(t<=n)return{from:0,to:t};if(e<0&&(e=0),e<=t>>1){let i=Math.floor(e/n);return{from:i*n,to:(i+1)*n}}let r=Math.floor((t-e)/n);return{from:t-(r+1)*n,to:t-r*n}}u(GO,"rangeAroundSelected");const iv=class iv{constructor(e,n,r){this.view=e,this.stateField=n,this.applyCompletion=r,this.info=null,this.infoDestroy=null,this.placeInfoReq={read:()=>this.measureInfo(),write:s=>this.placeInfo(s),key:this},this.space=null,this.currentClass="";let i=e.state.field(n),{options:l,selected:a}=i.open,o=e.state.facet(_e);this.optionContent=BW(o),this.optionClass=o.optionClass,this.tooltipClass=o.tooltipClass,this.range=GO(l.length,a,o.maxRenderedOptions),this.dom=document.createElement("div"),this.dom.className="cm-tooltip-autocomplete",this.updateTooltipClass(e.state),this.dom.addEventListener("mousedown",s=>{let{options:c}=e.state.field(n).open;for(let d=s.target,f;d&&d!=this.dom;d=d.parentNode)if(d.nodeName=="LI"&&(f=/-(\d+)$/.exec(d.id))&&+f[1]{let c=e.state.field(this.stateField,!1);c&&c.tooltip&&e.state.facet(_e).closeOnBlur&&s.relatedTarget!=e.contentDOM&&e.dispatch({effects:_s.of(null)})}),this.showOptions(l,i.id)}mount(){this.updateSel()}showOptions(e,n){this.list&&this.list.remove(),this.list=this.dom.appendChild(this.createListBox(e,n,this.range)),this.list.addEventListener("scroll",()=>{this.info&&this.view.requestMeasure(this.placeInfoReq)})}update(e){var n;let r=e.state.field(this.stateField),i=e.startState.field(this.stateField);if(this.updateTooltipClass(e.state),r!=i){let{options:l,selected:a,disabled:o}=r.open;(!i.open||i.open.options!=l)&&(this.range=GO(l.length,a,e.state.facet(_e).maxRenderedOptions),this.showOptions(l,r.id)),this.updateSel(),o!=((n=i.open)===null||n===void 0?void 0:n.disabled)&&this.dom.classList.toggle("cm-tooltip-autocomplete-disabled",!!o)}}updateTooltipClass(e){let n=this.tooltipClass(e);if(n!=this.currentClass){for(let r of this.currentClass.split(" "))r&&this.dom.classList.remove(r);for(let r of n.split(" "))r&&this.dom.classList.add(r);this.currentClass=n}}positioned(e){this.space=e,this.info&&this.view.requestMeasure(this.placeInfoReq)}updateSel(){let e=this.view.state.field(this.stateField),n=e.open;if((n.selected>-1&&n.selected=this.range.to)&&(this.range=GO(n.options.length,n.selected,this.view.state.facet(_e).maxRenderedOptions),this.showOptions(n.options,e.id)),this.updateSelectedOption(n.selected)){this.destroyInfo();let{completion:r}=n.options[n.selected],{info:i}=r;if(!i)return;let l=typeof i=="string"?document.createTextNode(i):i(r);if(!l)return;"then"in l?l.then(a=>{a&&this.view.state.field(this.stateField,!1)==e&&this.addInfoPane(a,r)}).catch(a=>Lt(this.view.state,a,"completion info")):this.addInfoPane(l,r)}}addInfoPane(e,n){this.destroyInfo();let r=this.info=document.createElement("div");if(r.className="cm-tooltip cm-completionInfo",e.nodeType!=null)r.appendChild(e),this.infoDestroy=null;else{let{dom:i,destroy:l}=e;r.appendChild(i),this.infoDestroy=l||null}this.dom.appendChild(r),this.view.requestMeasure(this.placeInfoReq)}updateSelectedOption(e){let n=null;for(let r=this.list.firstChild,i=this.range.from;r;r=r.nextSibling,i++)r.nodeName!="LI"||!r.id?i--:i==e?r.hasAttribute("aria-selected")||(r.setAttribute("aria-selected","true"),n=r):r.hasAttribute("aria-selected")&&r.removeAttribute("aria-selected");return n&&NW(this.list,n),n}measureInfo(){let e=this.dom.querySelector("[aria-selected]");if(!e||!this.info)return null;let n=this.dom.getBoundingClientRect(),r=this.info.getBoundingClientRect(),i=e.getBoundingClientRect(),l=this.space;if(!l){let a=this.dom.ownerDocument.defaultView||window;l={left:0,top:0,right:a.innerWidth,bottom:a.innerHeight}}return i.top>Math.min(l.bottom,n.bottom)-10||i.bottomr.from||r.from==0))if(l=h,typeof c!="string"&&c.header)i.appendChild(c.header(c));else{let p=i.appendChild(document.createElement("completion-section"));p.textContent=h}}const d=i.appendChild(document.createElement("li"));d.id=n+"-"+a,d.setAttribute("role","option");let f=this.optionClass(o);f&&(d.className=f);for(let h of this.optionContent){let p=h(o,this.view.state,this.view,s);p&&d.appendChild(p)}}return r.from&&i.classList.add("cm-completionListIncompleteTop"),r.tonew HO(n,t,e)}u(VW,"completionTooltip");function NW(t,e){let n=t.getBoundingClientRect(),r=e.getBoundingClientRect(),i=n.height/t.offsetHeight;r.topn.bottom&&(t.scrollTop+=(r.bottom-n.bottom)/i)}u(NW,"scrollIntoView");function z7(t){return(t.boost||0)*100+(t.apply?10:0)+(t.info?5:0)+(t.type?1:0)}u(z7,"score");function FW(t,e){let n=[],r=null,i=u(c=>{n.push(c);let{section:d}=c.completion;if(d){r||(r=[]);let f=typeof d=="string"?d:d.name;r.some(h=>h.name==f)||r.push(typeof d=="string"?{name:f}:d)}},"addOption"),l=e.facet(_e);for(let c of t)if(c.hasResult()){let d=c.result.getMatch;if(c.result.filter===!1)for(let f of c.result.options)i(new Wf(f,c.source,d?d(f):[],1e9-n.length));else{let f=e.sliceDoc(c.from,c.to),h,p=l.filterStrict?new KO(f):new YO(f);for(let m of c.result.options)if(h=p.match(m.label)){let g=m.displayLabel?d?d(m,h.matched):[]:h.matched;i(new Wf(m,c.source,g,h.score+(m.boost||0)))}}}if(r){let c=Object.create(null),d=0,f=u((h,p)=>{var m,g;return((m=h.rank)!==null&&m!==void 0?m:1e9)-((g=p.rank)!==null&&g!==void 0?g:1e9)||(h.namef.score-d.score||s(d.completion,f.completion))){let d=c.completion;!o||o.label!=d.label||o.detail!=d.detail||o.type!=null&&d.type!=null&&o.type!=d.type||o.apply!=d.apply||o.boost!=d.boost?a.push(c):z7(c.completion)>z7(o)&&(a[a.length-1]=c),o=c.completion}return a}u(FW,"sortOptions");const Vl=class Vl{constructor(e,n,r,i,l,a){this.options=e,this.attrs=n,this.tooltip=r,this.timestamp=i,this.selected=l,this.disabled=a}setSelected(e,n){return e==this.selected||e>=this.options.length?this:new Vl(this.options,L7(n,e),this.tooltip,this.timestamp,e,this.disabled)}static build(e,n,r,i,l){let a=FW(e,n);if(!a.length)return i&&e.some(s=>s.state==1)?new Vl(i.options,i.attrs,i.tooltip,i.timestamp,i.selected,!0):null;let o=n.facet(_e).selectOnOpen?0:-1;if(i&&i.selected!=o&&i.selected!=-1){let s=i.options[i.selected].completion;for(let c=0;cc.hasResult()?Math.min(s,c.from):s,1e8),create:XW,above:l.aboveCursor},i?i.timestamp:Date.now(),o,!1)}map(e){return new Vl(this.options,this.attrs,Object.assign(Object.assign({},this.tooltip),{pos:e.mapPos(this.tooltip.pos)}),this.timestamp,this.selected,this.disabled)}};u(Vl,"CompletionDialog");let _O=Vl;const sc=class sc{constructor(e,n,r){this.active=e,this.id=n,this.open=r}static start(){return new sc(LW,"cm-ac-"+Math.floor(Math.random()*2e6).toString(36),null)}update(e){let{state:n}=e,r=n.facet(_e),l=(r.override||n.languageDataAt("autocomplete",Oi(n)).map(QW)).map(o=>(this.active.find(c=>c.source==o)||new Er(o,this.active.some(c=>c.state!=0)?1:0)).update(e,r));l.length==this.active.length&&l.every((o,s)=>o==this.active[s])&&(l=this.active);let a=this.open;a&&e.docChanged&&(a=a.map(e.changes)),e.selection||l.some(o=>o.hasResult()&&e.changes.touchesRange(o.from,o.to))||!IW(l,this.active)?a=_O.build(l,n,this.id,a,r):a&&a.disabled&&!l.some(o=>o.state==1)&&(a=null),!a&&l.every(o=>o.state!=1)&&l.some(o=>o.hasResult())&&(l=l.map(o=>o.hasResult()?new Er(o.source,0):o));for(let o of e.effects)o.is(j7)&&(a=a&&a.setSelected(o.value,this.id));return l==this.active&&a==this.open?this:new sc(l,this.id,a)}get tooltip(){return this.open?this.open.tooltip:null}get attrs(){return this.open?this.open.attrs:this.active.length?ZW:zW}};u(sc,"CompletionState");let JO=sc;function IW(t,e){if(t==e)return!0;for(let n=0,r=0;;){for(;n-1&&(n["aria-activedescendant"]=t+"-"+e),n}u(L7,"makeAttrs");const LW=[];function W7(t,e){if(t.isUserEvent("input.complete")){let r=t.annotation(UO);if(r&&e.activateOnCompletion(r))return 12}let n=t.isUserEvent("input.type");return n&&e.activateOnTyping?5:n?1:t.isUserEvent("delete.backward")?2:t.selection?8:t.docChanged?16:0}u(W7,"getUpdateType");const Pi=class Pi{constructor(e,n,r=-1){this.source=e,this.state=n,this.explicitPos=r}hasResult(){return!1}update(e,n){let r=W7(e,n),i=this;(r&8||r&16&&this.touches(e))&&(i=new Pi(i.source,0)),r&4&&i.state==0&&(i=new Pi(this.source,1)),i=i.updateFor(e,r);for(let l of e.effects)if(l.is(Xf))i=new Pi(i.source,1,l.value?Oi(e.state):-1);else if(l.is(_s))i=new Pi(i.source,0);else if(l.is(X7))for(let a of l.value)a.source==i.source&&(i=a);return i}updateFor(e,n){return this.map(e.changes)}map(e){return e.empty||this.explicitPos<0?this:new Pi(this.source,this.state,e.mapPos(this.explicitPos))}touches(e){return e.changes.touchesRange(Oi(e.state))}};u(Pi,"ActiveSource");let Er=Pi;const po=class po extends Er{constructor(e,n,r,i,l){super(e,2,n),this.result=r,this.from=i,this.to=l}hasResult(){return!0}updateFor(e,n){var r;if(!(n&3))return this.map(e.changes);let i=this.result;i.map&&!e.changes.empty&&(i=i.map(i,e.changes));let l=e.changes.mapPos(this.from),a=e.changes.mapPos(this.to,1),o=Oi(e.state);if((this.explicitPos<0?o<=l:oa||!i||n&2&&Oi(e.startState)==this.from)return new Er(this.source,n&4?1:0);let s=this.explicitPos<0?-1:e.changes.mapPos(this.explicitPos);return WW(i.validFor,e.state,l,a)?new po(this.source,s,i,l,a):i.update&&(i=i.update(i,l,a,new Lf(e.state,o,s>=0)))?new po(this.source,s,i,i.from,(r=i.to)!==null&&r!==void 0?r:Oi(e.state)):new Er(this.source,1,s)}map(e){return e.empty?this:(this.result.map?this.result.map(this.result,e):this.result)?new po(this.source,this.explicitPos<0?-1:e.mapPos(this.explicitPos),this.result,e.mapPos(this.from),e.mapPos(this.to,1)):new Er(this.source,0)}touches(e){return e.changes.touchesRange(this.from,this.to)}};u(po,"ActiveResult");let jf=po;function WW(t,e,n,r){if(!t)return!1;let i=e.sliceDoc(n,r);return typeof t=="function"?t(i,n,r,e):F7(t,!0).test(i)}u(WW,"checkValid");const X7=pe.define({map(t,e){return t.map(n=>n.map(e))}}),j7=pe.define(),Qt=zt.define({create(){return JO.start()},update(t,e){return t.update(e)},provide:t=>[n6.from(t,e=>e.tooltip),H.contentAttributes.from(t,e=>e.attrs)]});function eb(t,e){const n=e.completion.apply||e.completion.label;let r=t.state.field(Qt).active.find(i=>i.source==e.source);return r instanceof jf?(typeof n=="string"?t.dispatch(Object.assign(Object.assign({},RW(t.state,n,r.from,r.to)),{annotations:UO.of(e.completion)})):n(t,e.completion,r.from,r.to),!0):!1}u(eb,"applyCompletion");const XW=VW(Qt,eb);function qf(t,e="option"){return n=>{let r=n.state.field(Qt,!1);if(!r||!r.open||r.open.disabled||Date.now()-r.open.timestamp-1?r.open.selected+i*(t?1:-1):t?0:a-1;return o<0?o=e=="page"?0:a-1:o>=a&&(o=e=="page"?a-1:0),n.dispatch({effects:j7.of(o)}),!0}}u(qf,"moveCompletionSelection");const jW=u(t=>{let e=t.state.field(Qt,!1);return t.state.readOnly||!e||!e.open||e.open.selected<0||e.open.disabled||Date.now()-e.open.timestampt.state.field(Qt,!1)?(t.dispatch({effects:Xf.of(!0)}),!0):!1,"startCompletion"),qW=u(t=>{let e=t.state.field(Qt,!1);return!e||!e.active.some(n=>n.state!=0)?!1:(t.dispatch({effects:_s.of(null)}),!0)},"closeCompletion"),lv=class lv{constructor(e,n){this.active=e,this.context=n,this.time=Date.now(),this.updates=[],this.done=void 0}};u(lv,"RunningQuery");let tb=lv;const UW=50,YW=1e3,KW=He.fromClass(class{constructor(t){this.view=t,this.debounceUpdate=-1,this.running=[],this.debounceAccept=-1,this.pendingStart=!1,this.composing=0;for(let e of t.state.field(Qt).active)e.state==1&&this.startQuery(e)}update(t){let e=t.state.field(Qt),n=t.state.facet(_e);if(!t.selectionSet&&!t.docChanged&&t.startState.field(Qt)==e)return;let r=t.transactions.some(l=>{let a=W7(l,n);return a&8||(l.selection||l.docChanged)&&!(a&3)});for(let l=0;lUW&&Date.now()-a.time>YW){for(let o of a.context.abortListeners)try{o()}catch(s){Lt(this.view.state,s)}a.context.abortListeners=null,this.running.splice(l--,1)}else a.updates.push(...t.transactions)}this.debounceUpdate>-1&&clearTimeout(this.debounceUpdate),t.transactions.some(l=>l.effects.some(a=>a.is(Xf)))&&(this.pendingStart=!0);let i=this.pendingStart?50:n.activateOnTypingDelay;if(this.debounceUpdate=e.active.some(l=>l.state==1&&!this.running.some(a=>a.active.source==l.source))?setTimeout(()=>this.startUpdate(),i):-1,this.composing!=0)for(let l of t.transactions)l.isUserEvent("input.type")?this.composing=2:this.composing==2&&l.selection&&(this.composing=3)}startUpdate(){this.debounceUpdate=-1,this.pendingStart=!1;let{state:t}=this.view,e=t.field(Qt);for(let n of e.active)n.state==1&&!this.running.some(r=>r.active.source==n.source)&&this.startQuery(n)}startQuery(t){let{state:e}=this.view,n=Oi(e),r=new Lf(e,n,t.explicitPos==n,this.view),i=new tb(t,r);this.running.push(i),Promise.resolve(t.source(r)).then(l=>{i.context.aborted||(i.done=l||null,this.scheduleAccept())},l=>{this.view.dispatch({effects:_s.of(null)}),Lt(this.view.state,l)})}scheduleAccept(){this.running.every(t=>t.done!==void 0)?this.accept():this.debounceAccept<0&&(this.debounceAccept=setTimeout(()=>this.accept(),this.view.state.facet(_e).updateSyncTime))}accept(){var t;this.debounceAccept>-1&&clearTimeout(this.debounceAccept),this.debounceAccept=-1;let e=[],n=this.view.state.facet(_e);for(let r=0;ra.source==i.active.source);if(l&&l.state==1)if(i.done==null){let a=new Er(i.active.source,0);for(let o of i.updates)a=a.update(o,n);a.state!=1&&e.push(a)}else this.startQuery(l)}e.length&&this.view.dispatch({effects:X7.of(e)})}},{eventHandlers:{blur(t){let e=this.view.state.field(Qt,!1);if(e&&e.tooltip&&this.view.state.facet(_e).closeOnBlur){let n=e.open&&r6(this.view,e.open.tooltip);(!n||!n.dom.contains(t.relatedTarget))&&setTimeout(()=>this.view.dispatch({effects:_s.of(null)}),10)}},compositionstart(){this.composing=1},compositionend(){this.composing==3&&setTimeout(()=>this.view.dispatch({effects:Xf.of(!1)}),20),this.composing=0}}}),GW=typeof navigator=="object"&&/Win/.test(navigator.platform),HW=_i.highest(H.domEventHandlers({keydown(t,e){let n=e.state.field(Qt,!1);if(!n||!n.open||n.open.disabled||n.open.selected<0||t.key.length>1||t.ctrlKey&&!(GW&&t.altKey)||t.metaKey)return!1;let r=n.open.options[n.open.selected],i=n.active.find(a=>a.source==r.source),l=r.completion.commitCharacters||i.result.commitCharacters;return l&&l.indexOf(t.key)>-1&&eb(e,r),!1}})),U7=H.baseTheme({".cm-tooltip.cm-tooltip-autocomplete":{"& > ul":{fontFamily:"monospace",whiteSpace:"nowrap",overflow:"hidden auto",maxWidth_fallback:"700px",maxWidth:"min(700px, 95vw)",minWidth:"250px",maxHeight:"10em",height:"100%",listStyle:"none",margin:0,padding:0,"& > li, & > completion-section":{padding:"1px 3px",lineHeight:1.2},"& > li":{overflowX:"hidden",textOverflow:"ellipsis",cursor:"pointer"},"& > completion-section":{display:"list-item",borderBottom:"1px solid silver",paddingLeft:"0.5em",opacity:.7}}},"&light .cm-tooltip-autocomplete ul li[aria-selected]":{background:"#17c",color:"white"},"&light .cm-tooltip-autocomplete-disabled ul li[aria-selected]":{background:"#777"},"&dark .cm-tooltip-autocomplete ul li[aria-selected]":{background:"#347",color:"white"},"&dark .cm-tooltip-autocomplete-disabled ul li[aria-selected]":{background:"#444"},".cm-completionListIncompleteTop:before, .cm-completionListIncompleteBottom:after":{content:'"\xB7\xB7\xB7"',opacity:.5,display:"block",textAlign:"center"},".cm-tooltip.cm-completionInfo":{position:"absolute",padding:"3px 9px",width:"max-content",maxWidth:"400px",boxSizing:"border-box",whiteSpace:"pre-line"},".cm-completionInfo.cm-completionInfo-left":{right:"100%"},".cm-completionInfo.cm-completionInfo-right":{left:"100%"},".cm-completionInfo.cm-completionInfo-left-narrow":{right:"30px"},".cm-completionInfo.cm-completionInfo-right-narrow":{left:"30px"},"&light .cm-snippetField":{backgroundColor:"#00000022"},"&dark .cm-snippetField":{backgroundColor:"#ffffff22"},".cm-snippetFieldPosition":{verticalAlign:"text-top",width:0,height:"1.15em",display:"inline-block",margin:"0 -0.7px -.7em",borderLeft:"1.4px dotted #888"},".cm-completionMatchedText":{textDecoration:"underline"},".cm-completionDetail":{marginLeft:"0.5em",fontStyle:"italic"},".cm-completionIcon":{fontSize:"90%",width:".8em",display:"inline-block",textAlign:"center",paddingRight:".6em",opacity:"0.6",boxSizing:"content-box"},".cm-completionIcon-function, .cm-completionIcon-method":{"&:after":{content:"'\u0192'"}},".cm-completionIcon-class":{"&:after":{content:"'\u25CB'"}},".cm-completionIcon-interface":{"&:after":{content:"'\u25CC'"}},".cm-completionIcon-variable":{"&:after":{content:"'\u{1D465}'"}},".cm-completionIcon-constant":{"&:after":{content:"'\u{1D436}'"}},".cm-completionIcon-type":{"&:after":{content:"'\u{1D461}'"}},".cm-completionIcon-enum":{"&:after":{content:"'\u222A'"}},".cm-completionIcon-property":{"&:after":{content:"'\u25A1'"}},".cm-completionIcon-keyword":{"&:after":{content:"'\u{1F511}\uFE0E'"}},".cm-completionIcon-namespace":{"&:after":{content:"'\u25A2'"}},".cm-completionIcon-text":{"&:after":{content:"'abc'",fontSize:"50%",verticalAlign:"middle"}}}),av=class av{constructor(e,n,r,i){this.field=e,this.line=n,this.from=r,this.to=i}};u(av,"FieldPos");let nb=av;const kp=class kp{constructor(e,n,r){this.field=e,this.from=n,this.to=r}map(e){let n=e.mapPos(this.from,-1,lt.TrackDel),r=e.mapPos(this.to,1,lt.TrackDel);return n==null||r==null?null:new kp(this.field,n,r)}};u(kp,"FieldRange");let rb=kp;const Pp=class Pp{constructor(e,n){this.lines=e,this.fieldPositions=n}instantiate(e,n){let r=[],i=[n],l=e.doc.lineAt(n),a=/^\s*/.exec(l.text)[0];for(let s of this.lines){if(r.length){let c=a,d=/^\t*/.exec(s)[0].length;for(let f=0;fnew rb(s.field,i[s.line]+s.from,i[s.line]+s.to));return{text:r,ranges:o}}static parse(e){let n=[],r=[],i=[],l;for(let a of e.split(/\r\n?|\n/)){for(;l=/[#$]\{(?:(\d+)(?::([^}]*))?|((?:\\[{}]|[^}])*))\}/.exec(a);){let o=l[1]?+l[1]:null,s=l[2]||l[3]||"",c=-1,d=s.replace(/\\[{}]/g,f=>f[1]);for(let f=0;f=c&&h.field++}i.push(new nb(c,r.length,l.index,l.index+d.length)),a=a.slice(0,l.index)+s+a.slice(l.index+l[0].length)}a=a.replace(/\\([{}])/g,(o,s,c)=>{for(let d of i)d.line==r.length&&d.from>c&&(d.from--,d.to--);return s}),r.push(a)}return new Pp(r,i)}};u(Pp,"Snippet");let ib=Pp,_W=ne.widget({widget:new class extends Wn{toDOM(){let t=document.createElement("span");return t.className="cm-snippetFieldPosition",t}ignoreEvent(){return!1}}}),JW=ne.mark({class:"cm-snippetField"});const Ep=class Ep{constructor(e,n){this.ranges=e,this.active=n,this.deco=ne.set(e.map(r=>(r.from==r.to?_W:JW).range(r.from,r.to)))}map(e){let n=[];for(let r of this.ranges){let i=r.map(e);if(!i)return null;n.push(i)}return new Ep(n,this.active)}selectionInsideField(e){return e.ranges.every(n=>this.ranges.some(r=>r.field==this.active&&r.from<=n.from&&r.to>=n.to))}};u(Ep,"ActiveSnippet");let Qa=Ep;const Js=pe.define({map(t,e){return t&&t.map(e)}}),eX=pe.define(),eu=zt.define({create(){return null},update(t,e){for(let n of e.effects){if(n.is(Js))return n.value;if(n.is(eX)&&t)return new Qa(t.ranges,n.value)}return t&&e.docChanged&&(t=t.map(e.changes)),t&&e.selection&&!t.selectionInsideField(e.selection)&&(t=null),t},provide:t=>H.decorations.from(t,e=>e?e.deco:ne.none)});function lb(t,e){return z.create(t.filter(n=>n.field==e).map(n=>z.range(n.from,n.to)))}u(lb,"fieldSelection");function tX(t){let e=ib.parse(t);return(n,r,i,l)=>{let{text:a,ranges:o}=e.instantiate(n.state,i),s={changes:{from:i,to:l,insert:de.of(a)},scrollIntoView:!0,annotations:r?[UO.of(r),Ot.userEvent.of("input.complete")]:void 0};if(o.length&&(s.selection=lb(o,0)),o.some(c=>c.field>0)){let c=new Qa(o,0),d=s.effects=[Js.of(c)];n.state.field(eu,!1)===void 0&&d.push(pe.appendConfig.of([eu,rX,iX,U7]))}n.dispatch(n.state.update(s))}}u(tX,"snippet");function Y7(t){return({state:e,dispatch:n})=>{let r=e.field(eu,!1);if(!r||t<0&&r.active==0)return!1;let i=r.active+t,l=t>0&&!r.ranges.some(a=>a.field==i+t);return n(e.update({selection:lb(r.ranges,i),effects:Js.of(l?null:new Qa(r.ranges,i)),scrollIntoView:!0})),!0}}u(Y7,"moveField");const nX=[{key:"Tab",run:Y7(1),shift:Y7(-1)},{key:"Escape",run:u(({state:t,dispatch:e})=>t.field(eu,!1)?(e(t.update({effects:Js.of(null)})),!0):!1,"clearSnippet")}],K7=G.define({combine(t){return t.length?t[0]:nX}}),rX=_i.highest(of.compute([K7],t=>t.facet(K7)));function Mt(t,e){return Object.assign(Object.assign({},e),{apply:tX(t)})}u(Mt,"snippetCompletion");const iX=H.domEventHandlers({mousedown(t,e){let n=e.state.field(eu,!1),r;if(!n||(r=e.posAtCoords({x:t.clientX,y:t.clientY}))==null)return!1;let i=n.ranges.find(l=>l.from<=r&&l.to>=r);return!i||i.field==n.active?!1:(e.dispatch({selection:lb(n.ranges,i.field),effects:Js.of(n.ranges.some(l=>l.field>i.field)?new Qa(n.ranges,i.field):null),scrollIntoView:!0}),!0)}}),tu={brackets:["(","[","{","'",'"'],before:")]}:;>",stringPrefixes:[]},ul=pe.define({map(t,e){let n=e.mapPos(t,-1,lt.TrackAfter);return n??void 0}}),ab=new class extends kr{};ab.startSide=1,ab.endSide=-1;const G7=zt.define({create(){return xe.empty},update(t,e){if(t=t.map(e.changes),e.selection){let n=e.state.doc.lineAt(e.selection.main.head);t=t.update({filter:r=>r>=n.from&&r<=n.to})}for(let n of e.effects)n.is(ul)&&(t=t.update({add:[ab.range(n.value,n.value+1)]}));return t}});function lX(){return[oX,G7]}u(lX,"closeBrackets");const ob="()[]{}<>";function H7(t){for(let e=0;e{if((aX?t.composing:t.compositionStarted)||t.state.readOnly)return!1;let i=t.state.selection.main;if(r.length>2||r.length==2&&un(Ye(r,0))==1||e!=i.from||n!=i.to)return!1;let l=uX(t.state,r);return l?(t.dispatch(l),!0):!1}),sX=[{key:"Backspace",run:u(({state:t,dispatch:e})=>{if(t.readOnly)return!1;let r=_7(t,t.selection.main.head).brackets||tu.brackets,i=null,l=t.changeByRange(a=>{if(a.empty){let o=cX(t.doc,a.head);for(let s of r)if(s==o&&Uf(t.doc,a.head)==H7(Ye(s,0)))return{changes:{from:a.head-s.length,to:a.head+s.length},range:z.cursor(a.head-s.length)}}return{range:i=a}});return i||e(t.update(l,{scrollIntoView:!0,userEvent:"delete.backward"})),!i},"deleteBracketPair")}];function uX(t,e){let n=_7(t,t.selection.main.head),r=n.brackets||tu.brackets;for(let i of r){let l=H7(Ye(i,0));if(e==i)return l==i?hX(t,i,r.indexOf(i+i+i)>-1,n):dX(t,i,l,n.before||tu.before);if(e==l&&J7(t,t.selection.main.from))return fX(t,i,l)}return null}u(uX,"insertBracket");function J7(t,e){let n=!1;return t.field(G7).between(0,t.doc.length,r=>{r==e&&(n=!0)}),n}u(J7,"closedBracketAt");function Uf(t,e){let n=t.sliceString(e,e+2);return n.slice(0,un(Ye(n,0)))}u(Uf,"nextChar");function cX(t,e){let n=t.sliceString(e-2,e);return un(Ye(n,0))==n.length?n:n.slice(1)}u(cX,"prevChar");function dX(t,e,n,r){let i=null,l=t.changeByRange(a=>{if(!a.empty)return{changes:[{insert:e,from:a.from},{insert:n,from:a.to}],effects:ul.of(a.to+e.length),range:z.range(a.anchor+e.length,a.head+e.length)};let o=Uf(t.doc,a.head);return!o||/\s/.test(o)||r.indexOf(o)>-1?{changes:{insert:e+n,from:a.head},effects:ul.of(a.head+e.length),range:z.cursor(a.head+e.length)}:{range:i=a}});return i?null:t.update(l,{scrollIntoView:!0,userEvent:"input.type"})}u(dX,"handleOpen");function fX(t,e,n){let r=null,i=t.changeByRange(l=>l.empty&&Uf(t.doc,l.head)==n?{changes:{from:l.head,to:l.head+n.length,insert:n},range:z.cursor(l.head+n.length)}:r={range:l});return r?null:t.update(i,{scrollIntoView:!0,userEvent:"input.type"})}u(fX,"handleClose");function hX(t,e,n,r){let i=r.stringPrefixes||tu.stringPrefixes,l=null,a=t.changeByRange(o=>{if(!o.empty)return{changes:[{insert:e,from:o.from},{insert:e,from:o.to}],effects:ul.of(o.to+e.length),range:z.range(o.anchor+e.length,o.head+e.length)};let s=o.head,c=Uf(t.doc,s),d;if(c==e){if(eA(t,s))return{changes:{insert:e+e,from:s},effects:ul.of(s+e.length),range:z.cursor(s+e.length)};if(J7(t,s)){let h=n&&t.sliceDoc(s,s+e.length*3)==e+e+e?e+e+e:e;return{changes:{from:s,to:s+h.length,insert:h},range:z.cursor(s+h.length)}}}else{if(n&&t.sliceDoc(s-2*e.length,s)==e+e&&(d=tA(t,s-2*e.length,i))>-1&&eA(t,d))return{changes:{insert:e+e+e+e,from:s},effects:ul.of(s+e.length),range:z.cursor(s+e.length)};if(t.charCategorizer(s)(c)!=ot.Word&&tA(t,s,i)>-1&&!pX(t,s,e,i))return{changes:{insert:e+e,from:s},effects:ul.of(s+e.length),range:z.cursor(s+e.length)}}return{range:l=o}});return l?null:t.update(a,{scrollIntoView:!0,userEvent:"input.type"})}u(hX,"handleSame");function eA(t,e){let n=Qe(t).resolveInner(e+1);return n.parent&&n.from==e}u(eA,"nodeStart");function pX(t,e,n,r){let i=Qe(t).resolveInner(e,-1),l=r.reduce((a,o)=>Math.max(a,o.length),0);for(let a=0;a<5;a++){let o=t.sliceDoc(i.from,Math.min(i.to,i.from+n.length+l)),s=o.indexOf(n);if(!s||s>-1&&r.indexOf(o.slice(0,s))>-1){let d=i.firstChild;for(;d&&d.from==i.from&&d.to-d.from>n.length+s;){if(t.sliceDoc(d.to-n.length,d.to)==n)return!1;d=d.firstChild}return!0}let c=i.to==e&&i.parent;if(!c)break;i=c}return!1}u(pX,"probablyInString");function tA(t,e,n){let r=t.charCategorizer(e);if(r(t.sliceDoc(e-1,e))!=ot.Word)return e;for(let i of n){let l=e-i.length;if(t.sliceDoc(l,e)==i&&r(t.sliceDoc(l-1,l))!=ot.Word)return l}return-1}u(tA,"canStartStringAt");function mX(t={}){return[HW,Qt,_e.of(t),KW,gX,U7]}u(mX,"autocompletion");const nA=[{key:"Ctrl-Space",run:q7},{mac:"Alt-`",run:q7},{key:"Escape",run:qW},{key:"ArrowDown",run:qf(!0)},{key:"ArrowUp",run:qf(!1)},{key:"PageDown",run:qf(!0,"page")},{key:"PageUp",run:qf(!1,"page")},{key:"Enter",run:jW}],gX=_i.highest(of.computeN([_e],t=>t.facet(_e).defaultKeymap?[nA]:[]));function qt(){var t=arguments[0];typeof t=="string"&&(t=document.createElement(t));var e=1,n=arguments[1];if(n&&typeof n=="object"&&n.nodeType==null&&!Array.isArray(n)){for(var r in n)if(Object.prototype.hasOwnProperty.call(n,r)){var i=n[r];typeof i=="string"?t.setAttribute(r,i):i!=null&&(t[r]=i)}e++}for(;et.normalize("NFKD"):t=>t,ov=class ov{constructor(e,n,r=0,i=e.length,l,a){this.test=a,this.value={from:0,to:0},this.done=!1,this.matches=[],this.buffer="",this.bufferPos=0,this.iter=e.iterRange(r,i),this.bufferStart=r,this.normalize=l?o=>l(iA(o)):iA,this.query=this.normalize(n)}peek(){if(this.bufferPos==this.buffer.length){if(this.bufferStart+=this.buffer.length,this.iter.next(),this.iter.done)return-1;this.bufferPos=0,this.buffer=this.iter.value}return Ye(this.buffer,this.bufferPos)}next(){for(;this.matches.length;)this.matches.pop();return this.nextOverlapping()}nextOverlapping(){for(;;){let e=this.peek();if(e<0)return this.done=!0,this;let n=zg(e),r=this.bufferStart+this.bufferPos;this.bufferPos+=un(e);let i=this.normalize(n);for(let l=0,a=r;;l++){let o=i.charCodeAt(l),s=this.match(o,a,this.bufferPos+this.bufferStart);if(l==i.length-1){if(s)return this.value=s,this;break}a==r&&le||n,minSelectionLength:Math.min,maxMatches:Math.min})}});function bX(t){let e=[xX,wX];return t&&e.push(lA.of(t)),e}u(bX,"highlightSelectionMatches");const yX=ne.mark({class:"cm-selectionMatch"}),vX=ne.mark({class:"cm-selectionMatch cm-selectionMatch-main"});function aA(t,e,n,r){return(n==0||t(e.sliceDoc(n-1,n))!=ot.Word)&&(r==e.doc.length||t(e.sliceDoc(r,r+1))!=ot.Word)}u(aA,"insideWordBoundaries");function $X(t,e,n,r){return t(e.sliceDoc(n,n+1))==ot.Word&&t(e.sliceDoc(r-1,r))==ot.Word}u($X,"insideWord");const wX=He.fromClass(class{constructor(t){this.decorations=this.getDeco(t)}update(t){(t.selectionSet||t.docChanged||t.viewportChanged)&&(this.decorations=this.getDeco(t.view))}getDeco(t){let e=t.state.facet(lA),{state:n}=t,r=n.selection;if(r.ranges.length>1)return ne.none;let i=r.main,l,a=null;if(i.empty){if(!e.highlightWordAroundCursor)return ne.none;let s=n.wordAt(i.head);if(!s)return ne.none;a=n.charCategorizer(i.head),l=n.sliceDoc(s.from,s.to)}else{let s=i.to-i.from;if(s200)return ne.none;if(e.wholeWords){if(l=n.sliceDoc(i.from,i.to),a=n.charCategorizer(i.head),!(aA(a,n,i.from,i.to)&&$X(a,n,i.from,i.to)))return ne.none}else if(l=n.sliceDoc(i.from,i.to),!l)return ne.none}let o=[];for(let s of t.visibleRanges){let c=new Yf(n.doc,l,s.from,s.to);for(;!c.next().done;){let{from:d,to:f}=c.value;if((!a||aA(a,n,d,f))&&(i.empty&&d<=i.from&&f>=i.to?o.push(vX.range(d,f)):(d>=i.to||f<=i.from)&&o.push(yX.range(d,f)),o.length>e.maxMatches))return ne.none}}return ne.set(o)}},{decorations:t=>t.decorations}),xX=H.baseTheme({".cm-selectionMatch":{backgroundColor:"#99ff7780"},".cm-searchMatch .cm-selectionMatch":{backgroundColor:"transparent"}});var sb=typeof global<"u"?global:typeof self<"u"?self:typeof window<"u"?window:{};function oA(){throw new Error("setTimeout has not been defined")}u(oA,"defaultSetTimout");function sA(){throw new Error("clearTimeout has not been defined")}u(sA,"defaultClearTimeout");var bi=oA,yi=sA;typeof sb.setTimeout=="function"&&(bi=setTimeout),typeof sb.clearTimeout=="function"&&(yi=clearTimeout);function uA(t){if(bi===setTimeout)return setTimeout(t,0);if((bi===oA||!bi)&&setTimeout)return bi=setTimeout,setTimeout(t,0);try{return bi(t,0)}catch{try{return bi.call(null,t,0)}catch{return bi.call(this,t,0)}}}u(uA,"runTimeout");function SX(t){if(yi===clearTimeout)return clearTimeout(t);if((yi===sA||!yi)&&clearTimeout)return yi=clearTimeout,clearTimeout(t);try{return yi(t)}catch{try{return yi.call(null,t)}catch{return yi.call(this,t)}}}u(SX,"runClearTimeout");var Ar=[],Ma=!1,cl,Kf=-1;function CX(){!Ma||!cl||(Ma=!1,cl.length?Ar=cl.concat(Ar):Kf=-1,Ar.length&&cA())}u(CX,"cleanUpNextTick");function cA(){if(!Ma){var t=uA(CX);Ma=!0;for(var e=Ar.length;e;){for(cl=Ar,Ar=[];++Kf1)for(var n=1;nn%3==0).concat(this.state)}]@${this.pos}${this.score?"!"+this.score:""}`}static start(e,n,r=0){let i=e.parser.context;return new uc(e,[],n,r,r,0,[],0,i?new Gf(i,i.start):null,0,null)}get context(){return this.curContext?this.curContext.context:null}pushState(e,n){this.stack.push(this.state,n,this.bufferBase+this.buffer.length),this.state=e}reduce(e){var n;let r=e>>19,i=e&65535,{parser:l}=this.p,a=this.reducePos=2e3&&!(!((n=this.p.parser.nodeSet.types[i])===null||n===void 0)&&n.isAnonymous)&&(c==this.p.lastBigReductionStart?(this.p.bigReductionCount++,this.p.lastBigReductionSize=d):this.p.lastBigReductionSizes;)this.stack.pop();this.reduceContext(i,c)}storeNode(e,n,r,i=4,l=!1){if(e==0&&(!this.stack.length||this.stack[this.stack.length-1]0&&a.buffer[o-4]==0&&a.buffer[o-1]>-1){if(n==r)return;if(a.buffer[o-2]>=n){a.buffer[o-2]=r;return}}}if(!l||this.pos==r)this.buffer.push(e,n,r,i);else{let a=this.buffer.length;if(a>0&&this.buffer[a-4]!=0){let o=!1;for(let s=a;s>0&&this.buffer[s-2]>r;s-=4)if(this.buffer[s-1]>=0){o=!0;break}if(o)for(;a>0&&this.buffer[a-2]>r;)this.buffer[a]=this.buffer[a-4],this.buffer[a+1]=this.buffer[a-3],this.buffer[a+2]=this.buffer[a-2],this.buffer[a+3]=this.buffer[a-1],a-=4,i>4&&(i-=4)}this.buffer[a]=e,this.buffer[a+1]=n,this.buffer[a+2]=r,this.buffer[a+3]=i}}shift(e,n,r,i){if(e&131072)this.pushState(e&65535,this.pos);else if(e&262144)this.pos=i,this.shiftContext(n,r),n<=this.p.parser.maxNode&&this.buffer.push(n,r,i,4);else{let l=e,{parser:a}=this.p;(i>this.pos||n<=a.maxNode)&&(this.pos=i,a.stateFlag(l,1)||(this.reducePos=i)),this.pushState(l,r),this.shiftContext(n,r),n<=a.maxNode&&this.buffer.push(n,r,i,4)}}apply(e,n,r,i){e&65536?this.reduce(e):this.shift(e,n,r,i)}useNode(e,n){let r=this.p.reused.length-1;(r<0||this.p.reused[r]!=e)&&(this.p.reused.push(e),r++);let i=this.pos;this.reducePos=this.pos=i+e.length,this.pushState(n,i),this.buffer.push(r,i,this.reducePos,-1),this.curContext&&this.updateContext(this.curContext.tracker.reuse(this.curContext.context,e,this,this.p.stream.reset(this.pos-e.length)))}split(){let e=this,n=e.buffer.length;for(;n>0&&e.buffer[n-2]>e.reducePos;)n-=4;let r=e.buffer.slice(n),i=e.bufferBase+n;for(;e&&i==e.bufferBase;)e=e.parent;return new uc(this.p,this.stack.slice(),this.state,this.reducePos,this.pos,this.score,r,i,this.curContext,this.lookAhead,e)}recoverByDelete(e,n){let r=e<=this.p.parser.maxNode;r&&this.storeNode(e,this.pos,n,4),this.storeNode(0,this.pos,n,r?8:4),this.pos=this.reducePos=n,this.score-=190}canShift(e){for(let n=new db(this);;){let r=this.p.parser.stateSlot(n.state,4)||this.p.parser.hasAction(n.state,e);if(r==0)return!1;if(!(r&65536))return!0;n.reduce(r)}}recoverByInsert(e){if(this.stack.length>=300)return[];let n=this.p.parser.nextStates(this.state);if(n.length>8||this.stack.length>=120){let i=[];for(let l=0,a;ls&1&&o==a)||i.push(n[l],a)}n=i}let r=[];for(let i=0;i>19,i=n&65535,l=this.stack.length-r*3;if(l<0||e.getGoto(this.stack[l],i,!1)<0){let a=this.findForcedReduction();if(a==null)return!1;n=a}this.storeNode(0,this.pos,this.pos,4,!0),this.score-=100}return this.reducePos=this.pos,this.reduce(n),!0}findForcedReduction(){let{parser:e}=this.p,n=[],r=u((i,l)=>{if(!n.includes(i))return n.push(i),e.allActions(i,a=>{if(!(a&393216))if(a&65536){let o=(a>>19)-l;if(o>1){let s=a&65535,c=this.stack.length-o*3;if(c>=0&&e.getGoto(this.stack[c],s,!1)>=0)return o<<19|65536|s}}else{let o=r(a,l+1);if(o!=null)return o}})},"explore");return r(this.state,0)}forceAll(){for(;!this.p.parser.stateFlag(this.state,2);)if(!this.forceReduce()){this.storeNode(0,this.pos,this.pos,4,!0);break}return this}get deadEnd(){if(this.stack.length!=3)return!1;let{parser:e}=this.p;return e.data[e.stateSlot(this.state,1)]==65535&&!e.stateSlot(this.state,4)}restart(){this.storeNode(0,this.pos,this.pos,4,!0),this.state=this.stack[0],this.stack.length=0}sameState(e){if(this.state!=e.state||this.stack.length!=e.stack.length)return!1;for(let n=0;nthis.lookAhead&&(this.emitLookAhead(),this.lookAhead=e)}close(){this.curContext&&this.curContext.tracker.strict&&this.emitContext(),this.lookAhead>0&&this.emitLookAhead()}};u(uc,"Stack");let cb=uc;const sv=class sv{constructor(e,n){this.tracker=e,this.context=n,this.hash=e.strict?e.hash(n):0}};u(sv,"StackContext");let Gf=sv;const uv=class uv{constructor(e){this.start=e,this.state=e.state,this.stack=e.stack,this.base=this.stack.length}reduce(e){let n=e&65535,r=e>>19;r==0?(this.stack==this.start.stack&&(this.stack=this.stack.slice()),this.stack.push(this.state,0,0),this.base+=3):this.base-=(r-1)*3;let i=this.start.p.parser.getGoto(this.stack[this.base-3],n,!0);this.state=i}};u(uv,"SimulatedStack");let db=uv;const cc=class cc{constructor(e,n,r){this.stack=e,this.pos=n,this.index=r,this.buffer=e.buffer,this.index==0&&this.maybeNext()}static create(e,n=e.bufferBase+e.buffer.length){return new cc(e,n,n-e.bufferBase)}maybeNext(){let e=this.stack.parent;e!=null&&(this.index=this.stack.bufferBase-e.bufferBase,this.stack=e,this.buffer=e.buffer)}get id(){return this.buffer[this.index-4]}get start(){return this.buffer[this.index-3]}get end(){return this.buffer[this.index-2]}get size(){return this.buffer[this.index-1]}next(){this.index-=4,this.pos-=4,this.index==0&&this.maybeNext()}fork(){return new cc(this.stack,this.pos,this.index)}};u(cc,"StackBufferCursor");let fb=cc;function nu(t,e=Uint16Array){if(typeof t!="string")return t;let n=null;for(let r=0,i=0;r=92&&a--,a>=34&&a--;let s=a-32;if(s>=46&&(s-=46,o=!0),l+=s,o)break;l*=46}n?n[i++]=l:n=new e(l)}return n}u(nu,"decodeArray");const cv=class cv{constructor(){this.start=-1,this.value=-1,this.end=-1,this.extended=-1,this.lookAhead=0,this.mask=0,this.context=0}};u(cv,"CachedToken");let Va=cv;const fA=new Va,dv=class dv{constructor(e,n){this.input=e,this.ranges=n,this.chunk="",this.chunkOff=0,this.chunk2="",this.chunk2Pos=0,this.next=-1,this.token=fA,this.rangeIndex=0,this.pos=this.chunkPos=n[0].from,this.range=n[0],this.end=n[n.length-1].to,this.readNext()}resolveOffset(e,n){let r=this.range,i=this.rangeIndex,l=this.pos+e;for(;lr.to:l>=r.to;){if(i==this.ranges.length-1)return null;let a=this.ranges[++i];l+=a.from-r.to,r=a}return l}clipPos(e){if(e>=this.range.from&&ee)return Math.max(e,n.from);return this.end}peek(e){let n=this.chunkOff+e,r,i;if(n>=0&&n=this.chunk2Pos&&ro.to&&(this.chunk2=this.chunk2.slice(0,o.to-r)),i=this.chunk2.charCodeAt(0)}}return r>=this.token.lookAhead&&(this.token.lookAhead=r+1),i}acceptToken(e,n=0){let r=n?this.resolveOffset(n,-1):this.pos;if(r==null||r=this.chunk2Pos&&this.posthis.range.to?e.slice(0,this.range.to-this.pos):e,this.chunkPos=this.pos,this.chunkOff=0}}readNext(){return this.chunkOff>=this.chunk.length&&(this.getChunk(),this.chunkOff==this.chunk.length)?this.next=-1:this.next=this.chunk.charCodeAt(this.chunkOff)}advance(e=1){for(this.chunkOff+=e;this.pos+e>=this.range.to;){if(this.rangeIndex==this.ranges.length-1)return this.setDone();e-=this.range.to-this.pos,this.range=this.ranges[++this.rangeIndex],this.pos=this.range.from}return this.pos+=e,this.pos>=this.token.lookAhead&&(this.token.lookAhead=this.pos+1),this.readNext()}setDone(){return this.pos=this.chunkPos=this.end,this.range=this.ranges[this.rangeIndex=this.ranges.length-1],this.chunk="",this.next=-1}reset(e,n){if(n?(this.token=n,n.start=e,n.lookAhead=e+1,n.value=n.extended=-1):this.token=fA,this.pos!=e){if(this.pos=e,e==this.end)return this.setDone(),this;for(;e=this.range.to;)this.range=this.ranges[++this.rangeIndex];e>=this.chunkPos&&e=this.chunkPos&&n<=this.chunkPos+this.chunk.length)return this.chunk.slice(e-this.chunkPos,n-this.chunkPos);if(e>=this.chunk2Pos&&n<=this.chunk2Pos+this.chunk2.length)return this.chunk2.slice(e-this.chunk2Pos,n-this.chunk2Pos);if(e>=this.range.from&&n<=this.range.to)return this.input.read(e,n);let r="";for(let i of this.ranges){if(i.from>=n)break;i.to>e&&(r+=this.input.read(Math.max(i.from,e),Math.min(i.to,n)))}return r}};u(dv,"InputStream");let hb=dv;const fv=class fv{constructor(e,n){this.data=e,this.id=n}token(e,n){let{parser:r}=n.p;hA(this.data,e,n,this.id,r.data,r.tokenPrecTable)}};u(fv,"TokenGroup");let vi=fv;vi.prototype.contextual=vi.prototype.fallback=vi.prototype.extend=!1;const hv=class hv{constructor(e,n,r){this.precTable=n,this.elseToken=r,this.data=typeof e=="string"?nu(e):e}token(e,n){let r=e.pos,i=0;for(;;){let l=e.next<0,a=e.resolveOffset(1,1);if(hA(this.data,e,n,0,this.data,this.precTable),e.token.value>-1)break;if(this.elseToken==null)return;if(l||i++,a==null)break;e.reset(a,e.token)}i&&(e.reset(r,e.token),e.acceptToken(this.elseToken,i))}};u(hv,"LocalTokenGroup");let Na=hv;Na.prototype.contextual=vi.prototype.fallback=vi.prototype.extend=!1;const pv=class pv{constructor(e,n={}){this.token=e,this.contextual=!!n.contextual,this.fallback=!!n.fallback,this.extend=!!n.extend}};u(pv,"ExternalTokenizer");let Ut=pv;function hA(t,e,n,r,i,l){let a=0,o=1<0){let m=t[p];if(s.allows(m)&&(e.token.value==-1||e.token.value==m||HX(m,e.token.value,i,l))){e.acceptToken(m);break}}let d=e.next,f=0,h=t[a+2];if(e.next<0&&h>f&&t[c+h*3-3]==65535){a=t[c+h*3-1];continue e}for(;f>1,m=c+p+(p<<1),g=t[m],O=t[m+1]||65536;if(d=O)f=p+1;else{a=t[m+2],e.advance();continue e}}break}}u(hA,"readToken");function pA(t,e,n){for(let r=e,i;(i=t[r])!=65535;r++)if(i==n)return r-e;return-1}u(pA,"findOffset");function HX(t,e,n,r){let i=pA(n,r,e);return i<0||pA(n,r,t)e)&&!r.type.isError)return n<0?Math.max(0,Math.min(r.to-1,e-25)):Math.min(t.length,Math.max(r.from+1,e+25));if(n<0?r.prevSibling():r.nextSibling())break;if(!r.parent())return n<0?0:t.length}}u(mA,"cutAt");const mv=class mv{constructor(e,n){this.fragments=e,this.nodeSet=n,this.i=0,this.fragment=null,this.safeFrom=-1,this.safeTo=-1,this.trees=[],this.start=[],this.index=[],this.nextFragment()}nextFragment(){let e=this.fragment=this.i==this.fragments.length?null:this.fragments[this.i++];if(e){for(this.safeFrom=e.openStart?mA(e.tree,e.from+e.offset,1)-e.offset:e.from,this.safeTo=e.openEnd?mA(e.tree,e.to+e.offset,-1)-e.offset:e.to;this.trees.length;)this.trees.pop(),this.start.pop(),this.index.pop();this.trees.push(e.tree),this.start.push(-e.offset),this.index.push(0),this.nextStart=this.safeFrom}else this.nextStart=1e9}nodeAt(e){if(ee)return this.nextStart=a,null;if(l instanceof Re){if(a==e){if(a=Math.max(this.safeFrom,e)&&(this.trees.push(l),this.start.push(a),this.index.push(0))}else this.index[n]++,this.nextStart=a+l.length}}};u(mv,"FragmentCursor");let mb=mv;const gv=class gv{constructor(e,n){this.stream=n,this.tokens=[],this.mainToken=null,this.actions=[],this.tokens=e.tokenizers.map(r=>new Va)}getActions(e){let n=0,r=null,{parser:i}=e.p,{tokenizers:l}=i,a=i.stateSlot(e.state,3),o=e.curContext?e.curContext.hash:0,s=0;for(let c=0;cf.end+25&&(s=Math.max(f.lookAhead,s)),f.value!=0)){let h=n;if(f.extended>-1&&(n=this.addActions(e,f.extended,f.end,n)),n=this.addActions(e,f.value,f.end,n),!d.extend&&(r=f,n>h))break}}for(;this.actions.length>n;)this.actions.pop();return s&&e.setLookAhead(s),!r&&e.pos==this.stream.end&&(r=new Va,r.value=e.p.parser.eofTerm,r.start=r.end=e.pos,n=this.addActions(e,r.value,r.end,n)),this.mainToken=r,this.actions}getMainToken(e){if(this.mainToken)return this.mainToken;let n=new Va,{pos:r,p:i}=e;return n.start=r,n.end=Math.min(r+1,i.stream.end),n.value=r==i.stream.end?i.parser.eofTerm:0,n}updateCachedToken(e,n,r){let i=this.stream.clipPos(r.pos);if(n.token(this.stream.reset(i,e),r),e.value>-1){let{parser:l}=r.p;for(let a=0;a=0&&r.p.parser.dialect.allows(o>>1)){o&1?e.extended=o>>1:e.value=o>>1;break}}}else e.value=0,e.end=this.stream.clipPos(i+1)}putAction(e,n,r,i){for(let l=0;le.bufferLength*4?new mb(r,e.nodeSet):null}get parsedPos(){return this.minStackPos}advance(){let e=this.stacks,n=this.minStackPos,r=this.stacks=[],i,l;if(this.bigReductionCount>300&&e.length==1){let[a]=e;for(;a.forceReduce()&&a.stack.length&&a.stack[a.stack.length-2]>=this.lastBigReductionStart;);this.bigReductionCount=this.lastBigReductionSize=0}for(let a=0;an)r.push(o);else{if(this.advanceStack(o,r,e))continue;{i||(i=[],l=[]),i.push(o);let s=this.tokens.getMainToken(o);l.push(s.value,s.end)}}break}}if(!r.length){let a=i&&_X(i);if(a)return Yt&&console.log("Finish with "+this.stackID(a)),this.stackToTree(a);if(this.parser.strict)throw Yt&&i&&console.log("Stuck with token "+(this.tokens.mainToken?this.parser.getName(this.tokens.mainToken.value):"none")),new SyntaxError("No parse at "+n);this.recovering||(this.recovering=5)}if(this.recovering&&i){let a=this.stoppedAt!=null&&i[0].pos>this.stoppedAt?i[0]:this.runRecovery(i,l,r);if(a)return Yt&&console.log("Force-finish "+this.stackID(a)),this.stackToTree(a.forceAll())}if(this.recovering){let a=this.recovering==1?1:this.recovering*3;if(r.length>a)for(r.sort((o,s)=>s.score-o.score);r.length>a;)r.pop();r.some(o=>o.reducePos>n)&&this.recovering--}else if(r.length>1){e:for(let a=0;a500&&c.buffer.length>500)if((o.score-c.score||o.buffer.length-c.buffer.length)>0)r.splice(s--,1);else{r.splice(a--,1);continue e}}}r.length>12&&r.splice(12,r.length-12)}this.minStackPos=r[0].pos;for(let a=1;a ":"";if(this.stoppedAt!=null&&i>this.stoppedAt)return e.forceReduce()?e:null;if(this.fragments){let c=e.curContext&&e.curContext.tracker.strict,d=c?e.curContext.hash:0;for(let f=this.fragments.nodeAt(i);f;){let h=this.parser.nodeSet.types[f.type.id]==f.type?l.getGoto(e.state,f.type.id):-1;if(h>-1&&f.length&&(!c||(f.prop(se.contextHash)||0)==d))return e.useNode(f,h),Yt&&console.log(a+this.stackID(e)+` (via reuse of ${l.getName(f.type.id)})`),!0;if(!(f instanceof Re)||f.children.length==0||f.positions[0]>0)break;let p=f.children[0];if(p instanceof Re&&f.positions[0]==0)f=p;else break}}let o=l.stateSlot(e.state,4);if(o>0)return e.reduce(o),Yt&&console.log(a+this.stackID(e)+` (via always-reduce ${l.getName(o&65535)})`),!0;if(e.stack.length>=8400)for(;e.stack.length>6e3&&e.forceReduce(););let s=this.tokens.getActions(e);for(let c=0;ci?n.push(m):r.push(m)}return!1}advanceFully(e,n){let r=e.pos;for(;;){if(!this.advanceStack(e,null,null))return!1;if(e.pos>r)return gA(e,n),!0}}runRecovery(e,n,r){let i=null,l=!1;for(let a=0;a ":"";if(o.deadEnd&&(l||(l=!0,o.restart(),Yt&&console.log(d+this.stackID(o)+" (restarted)"),this.advanceFully(o,r))))continue;let f=o.split(),h=d;for(let p=0;f.forceReduce()&&p<10&&(Yt&&console.log(h+this.stackID(f)+" (via force-reduce)"),!this.advanceFully(f,r));p++)Yt&&(h=this.stackID(f)+" -> ");for(let p of o.recoverByInsert(s))Yt&&console.log(d+this.stackID(p)+" (via recover-insert)"),this.advanceFully(p,r);this.stream.end>o.pos?(c==o.pos&&(c++,s=0),o.recoverByDelete(s,c),Yt&&console.log(d+this.stackID(o)+` (via recover-delete ${this.parser.getName(s)})`),gA(o,r)):(!i||i.scoret,"id"),yv=class yv{constructor(e){this.start=e.start,this.shift=e.shift||yb,this.reduce=e.reduce||yb,this.reuse=e.reuse||yb,this.hash=e.hash||(()=>0),this.strict=e.strict!==!1}};u(yv,"ContextTracker");let Hf=yv;const dc=class dc extends vf{constructor(e){if(super(),this.wrappers=[],e.version!=14)throw new RangeError(`Parser version (${e.version}) doesn't match runtime version (14)`);let n=e.nodeNames.split(" ");this.minRepeatTerm=n.length;for(let o=0;oe.topRules[o][1]),i=[];for(let o=0;o=0)l(d,s,o[c++]);else{let f=o[c+-d];for(let h=-d;h>0;h--)l(o[c++],s,f);c++}}}this.nodeSet=new dO(n.map((o,s)=>Xt.define({name:s>=this.minRepeatTerm?void 0:o,id:s,props:i[s],top:r.indexOf(s)>-1,error:s==0,skipped:e.skippedNodes&&e.skippedNodes.indexOf(s)>-1}))),e.propSources&&(this.nodeSet=this.nodeSet.extend(...e.propSources)),this.strict=!1,this.bufferLength=p6;let a=nu(e.tokenData);this.context=e.context,this.specializerSpecs=e.specialized||[],this.specialized=new Uint16Array(this.specializerSpecs.length);for(let o=0;otypeof o=="number"?new vi(a,o):o),this.topRules=e.topRules,this.dialects=e.dialects||{},this.dynamicPrecedences=e.dynamicPrecedences||null,this.tokenPrecTable=e.tokenPrec,this.termNames=e.termNames||null,this.maxNode=this.nodeSet.types.length-1,this.dialect=this.parseDialect(),this.top=this.topRules[Object.keys(this.topRules)[0]]}createParse(e,n,r){let i=new Ob(this,e,n,r);for(let l of this.wrappers)i=l(i,e,n,r);return i}getGoto(e,n,r=!1){let i=this.goto;if(n>=i[0])return-1;for(let l=i[n+1];;){let a=i[l++],o=a&1,s=i[l++];if(o&&r)return s;for(let c=l+(a>>1);l0}validAction(e,n){return!!this.allActions(e,r=>r==n?!0:null)}allActions(e,n){let r=this.stateSlot(e,4),i=r?n(r):void 0;for(let l=this.stateSlot(e,1);i==null;l+=3){if(this.data[l]==65535)if(this.data[l+1]==1)l=Tr(this.data,l+2);else break;i=n(Tr(this.data,l+1))}return i}nextStates(e){let n=[];for(let r=this.stateSlot(e,1);;r+=3){if(this.data[r]==65535)if(this.data[r+1]==1)r=Tr(this.data,r+2);else break;if(!(this.data[r+2]&1)){let i=this.data[r+1];n.some((l,a)=>a&1&&l==i)||n.push(this.data[r],i)}}return n}configure(e){let n=Object.assign(Object.create(dc.prototype),this);if(e.props&&(n.nodeSet=this.nodeSet.extend(...e.props)),e.top){let r=this.topRules[e.top];if(!r)throw new RangeError(`Invalid top rule name ${e.top}`);n.top=r}return e.tokenizers&&(n.tokenizers=this.tokenizers.map(r=>{let i=e.tokenizers.find(l=>l.from==r);return i?i.to:r})),e.specializers&&(n.specializers=this.specializers.slice(),n.specializerSpecs=this.specializerSpecs.map((r,i)=>{let l=e.specializers.find(o=>o.from==r.external);if(!l)return r;let a=Object.assign(Object.assign({},r),{external:l.to});return n.specializers[i]=OA(a),a})),e.contextTracker&&(n.context=e.contextTracker),e.dialect&&(n.dialect=this.parseDialect(e.dialect)),e.strict!=null&&(n.strict=e.strict),e.wrap&&(n.wrappers=n.wrappers.concat(e.wrap)),e.bufferLength!=null&&(n.bufferLength=e.bufferLength),n}hasWrappers(){return this.wrappers.length>0}getName(e){return this.termNames?this.termNames[e]:String(e<=this.maxNode&&this.nodeSet.types[e].name||e)}get eofTerm(){return this.maxNode+1}get topNode(){return this.nodeSet.types[this.top[1]]}dynamicPrecedence(e){let n=this.dynamicPrecedences;return n==null?0:n[e]||0}parseDialect(e){let n=Object.keys(this.dialects),r=n.map(()=>!1);if(e)for(let l of e.split(" ")){let a=n.indexOf(l);a>=0&&(r[a]=!0)}let i=null;for(let l=0;lr)&&n.p.parser.stateFlag(n.state,2)&&(!e||e.scoret.external(n,r)<<1|e}return t.get}u(OA,"getSpecializer");const JX=54,ej=1,tj=55,nj=2,rj=56,ij=3,bA=4,lj=5,_f=6,yA=7,vA=8,$A=9,wA=10,aj=11,oj=12,sj=13,vb=57,uj=14,xA=58,SA=20,cj=22,CA=23,dj=24,$b=26,DA=27,fj=28,hj=31,pj=34,mj=36,gj=37,Oj=0,bj=1,yj={area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},vj={dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},kA={dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}};function $j(t){return t==45||t==46||t==58||t>=65&&t<=90||t==95||t>=97&&t<=122||t>=161}u($j,"nameChar");function PA(t){return t==9||t==10||t==13||t==32}u(PA,"isSpace");let EA=null,AA=null,TA=0;function wb(t,e){let n=t.pos+e;if(TA==n&&AA==t)return EA;let r=t.peek(e);for(;PA(r);)r=t.peek(++e);let i="";for(;$j(r);)i+=String.fromCharCode(r),r=t.peek(++e);return AA=t,TA=n,EA=i?i.toLowerCase():r==wj||r==xj?void 0:null}u(wb,"tagNameAfter");const RA=60,Jf=62,xb=47,wj=63,xj=33,Sj=45;function QA(t,e){this.name=t,this.parent=e}u(QA,"ElementContext");const Cj=[_f,wA,yA,vA,$A],Dj=new Hf({start:null,shift(t,e,n,r){return Cj.indexOf(e)>-1?new QA(wb(r,1)||"",t):t},reduce(t,e){return e==SA&&t?t.parent:t},reuse(t,e,n,r){let i=e.type.id;return i==_f||i==mj?new QA(wb(r,1)||"",t):t},strict:!1}),kj=new Ut((t,e)=>{if(t.next!=RA){t.next<0&&e.context&&t.acceptToken(vb);return}t.advance();let n=t.next==xb;n&&t.advance();let r=wb(t,0);if(r===void 0)return;if(!r)return t.acceptToken(n?uj:_f);let i=e.context?e.context.name:null;if(n){if(r==i)return t.acceptToken(aj);if(i&&vj[i])return t.acceptToken(vb,-2);if(e.dialectEnabled(Oj))return t.acceptToken(oj);for(let l=e.context;l;l=l.parent)if(l.name==r)return;t.acceptToken(sj)}else{if(r=="script")return t.acceptToken(yA);if(r=="style")return t.acceptToken(vA);if(r=="textarea")return t.acceptToken($A);if(yj.hasOwnProperty(r))return t.acceptToken(wA);i&&kA[i]&&kA[i][r]?t.acceptToken(vb,-1):t.acceptToken(_f)}},{contextual:!0}),Pj=new Ut(t=>{for(let e=0,n=0;;n++){if(t.next<0){n&&t.acceptToken(xA);break}if(t.next==Sj)e++;else if(t.next==Jf&&e>=2){n>=3&&t.acceptToken(xA,-2);break}else e=0;t.advance()}});function Ej(t){for(;t;t=t.parent)if(t.name=="svg"||t.name=="math")return!0;return!1}u(Ej,"inForeignElement");const Aj=new Ut((t,e)=>{if(t.next==xb&&t.peek(1)==Jf){let n=e.dialectEnabled(bj)||Ej(e.context);t.acceptToken(n?lj:bA,2)}else t.next==Jf&&t.acceptToken(bA,1)});function Sb(t,e,n){let r=2+t.length;return new Ut(i=>{for(let l=0,a=0,o=0;;o++){if(i.next<0){o&&i.acceptToken(e);break}if(l==0&&i.next==RA||l==1&&i.next==xb||l>=2&&la?i.acceptToken(e,-a):i.acceptToken(n,-(a-2));break}else if((i.next==10||i.next==13)&&o){i.acceptToken(e,1);break}else l=a=0;i.advance()}})}u(Sb,"contentTokenizer");const Tj=Sb("script",JX,ej),Rj=Sb("style",tj,nj),Qj=Sb("textarea",rj,ij),Mj=Sf({"Text RawText":Q.content,"StartTag StartCloseTag SelfClosingEndTag EndTag":Q.angleBracket,TagName:Q.tagName,"MismatchedCloseTag/TagName":[Q.tagName,Q.invalid],AttributeName:Q.attributeName,"AttributeValue UnquotedAttributeValue":Q.attributeValue,Is:Q.definitionOperator,"EntityReference CharacterReference":Q.character,Comment:Q.blockComment,ProcessingInst:Q.processingInstruction,DoctypeDecl:Q.documentMeta}),Bj=ru.deserialize({version:14,states:",xOVO!rOOO!WQ#tO'#CqO!]Q#tO'#CzO!bQ#tO'#C}O!gQ#tO'#DQO!lQ#tO'#DSO!qOaO'#CpO!|ObO'#CpO#XOdO'#CpO$eO!rO'#CpOOO`'#Cp'#CpO$lO$fO'#DTO$tQ#tO'#DVO$yQ#tO'#DWOOO`'#Dk'#DkOOO`'#DY'#DYQVO!rOOO%OQ&rO,59]O%ZQ&rO,59fO%fQ&rO,59iO%qQ&rO,59lO%|Q&rO,59nOOOa'#D^'#D^O&XOaO'#CxO&dOaO,59[OOOb'#D_'#D_O&lObO'#C{O&wObO,59[OOOd'#D`'#D`O'POdO'#DOO'[OdO,59[OOO`'#Da'#DaO'dO!rO,59[O'kQ#tO'#DROOO`,59[,59[OOOp'#Db'#DbO'pO$fO,59oOOO`,59o,59oO'xQ#|O,59qO'}Q#|O,59rOOO`-E7W-E7WO(SQ&rO'#CsOOQW'#DZ'#DZO(bQ&rO1G.wOOOa1G.w1G.wOOO`1G/Y1G/YO(mQ&rO1G/QOOOb1G/Q1G/QO(xQ&rO1G/TOOOd1G/T1G/TO)TQ&rO1G/WOOO`1G/W1G/WO)`Q&rO1G/YOOOa-E7[-E7[O)kQ#tO'#CyOOO`1G.v1G.vOOOb-E7]-E7]O)pQ#tO'#C|OOOd-E7^-E7^O)uQ#tO'#DPOOO`-E7_-E7_O)zQ#|O,59mOOOp-E7`-E7`OOO`1G/Z1G/ZOOO`1G/]1G/]OOO`1G/^1G/^O*PQ,UO,59_OOQW-E7X-E7XOOOa7+$c7+$cOOO`7+$t7+$tOOOb7+$l7+$lOOOd7+$o7+$oOOO`7+$r7+$rO*[Q#|O,59eO*aQ#|O,59hO*fQ#|O,59kOOO`1G/X1G/XO*kO7[O'#CvO*|OMhO'#CvOOQW1G.y1G.yOOO`1G/P1G/POOO`1G/S1G/SOOO`1G/V1G/VOOOO'#D['#D[O+_O7[O,59bOOQW,59b,59bOOOO'#D]'#D]O+pOMhO,59bOOOO-E7Y-E7YOOQW1G.|1G.|OOOO-E7Z-E7Z",stateData:",]~O!^OS~OUSOVPOWQOXROYTO[]O][O^^O`^Oa^Ob^Oc^Ox^O{_O!dZO~OfaO~OfbO~OfcO~OfdO~OfeO~O!WfOPlP!ZlP~O!XiOQoP!ZoP~O!YlORrP!ZrP~OUSOVPOWQOXROYTOZqO[]O][O^^O`^Oa^Ob^Oc^Ox^O!dZO~O!ZrO~P#dO![sO!euO~OfvO~OfwO~OS|OT}OhyO~OS!POT}OhyO~OS!ROT}OhyO~OS!TOT}OhyO~OS}OT}OhyO~O!WfOPlX!ZlX~OP!WO!Z!XO~O!XiOQoX!ZoX~OQ!ZO!Z!XO~O!YlORrX!ZrX~OR!]O!Z!XO~O!Z!XO~P#dOf!_O~O![sO!e!aO~OS!bO~OS!cO~Oi!dOSgXTgXhgX~OS!fOT!gOhyO~OS!hOT!gOhyO~OS!iOT!gOhyO~OS!jOT!gOhyO~OS!gOT!gOhyO~Of!kO~Of!lO~Of!mO~OS!nO~Ok!qO!`!oO!b!pO~OS!rO~OS!sO~OS!tO~Oa!uOb!uOc!uO!`!wO!a!uO~Oa!xOb!xOc!xO!b!wO!c!xO~Oa!uOb!uOc!uO!`!{O!a!uO~Oa!xOb!xOc!xO!b!{O!c!xO~OT~bac!dx{!d~",goto:"%p!`PPPPPPPPPPPPPPPPPPPP!a!gP!mPP!yP!|#P#S#Y#]#`#f#i#l#r#x!aP!a!aP$O$U$l$r$x%O%U%[%bPPPPPPPP%hX^OX`pXUOX`pezabcde{!O!Q!S!UR!q!dRhUR!XhXVOX`pRkVR!XkXWOX`pRnWR!XnXXOX`pQrXR!XpXYOX`pQ`ORx`Q{aQ!ObQ!QcQ!SdQ!UeZ!e{!O!Q!S!UQ!v!oR!z!vQ!y!pR!|!yQgUR!VgQjVR!YjQmWR![mQpXR!^pQtZR!`tS_O`ToXp",nodeNames:"\u26A0 StartCloseTag StartCloseTag StartCloseTag EndTag SelfClosingEndTag StartTag StartTag StartTag StartTag StartTag StartCloseTag StartCloseTag StartCloseTag IncompleteCloseTag Document Text EntityReference CharacterReference InvalidEntity Element OpenTag TagName Attribute AttributeName Is AttributeValue UnquotedAttributeValue ScriptText CloseTag OpenTag StyleText CloseTag OpenTag TextareaText CloseTag OpenTag CloseTag SelfClosingTag Comment ProcessingInst MismatchedCloseTag CloseTag DoctypeDecl",maxTerm:67,context:Dj,nodeProps:[["closedBy",-10,1,2,3,7,8,9,10,11,12,13,"EndTag",6,"EndTag SelfClosingEndTag",-4,21,30,33,36,"CloseTag"],["openedBy",4,"StartTag StartCloseTag",5,"StartTag",-4,29,32,35,37,"OpenTag"],["group",-9,14,17,18,19,20,39,40,41,42,"Entity",16,"Entity TextContent",-3,28,31,34,"TextContent Entity"],["isolate",-11,21,29,30,32,33,35,36,37,38,41,42,"ltr",-3,26,27,39,""]],propSources:[Mj],skippedNodes:[0],repeatNodeCount:9,tokenData:"!]tw8twx7Sx!P8t!P!Q5u!Q!]8t!]!^/^!^!a7S!a#S8t#S#T;{#T#s8t#s$f5u$f;'S8t;'S;=`>V<%l?Ah8t?Ah?BY5u?BY?Mn8t?MnO5u!Z5zbkWOX5uXZ7SZ[5u[^7S^p5uqr5urs7Sst+Ptw5uwx7Sx!]5u!]!^7w!^!a7S!a#S5u#S#T7S#T;'S5u;'S;=`8n<%lO5u!R7VVOp7Sqs7St!]7S!]!^7l!^;'S7S;'S;=`7q<%lO7S!R7qOa!R!R7tP;=`<%l7S!Z8OYkWa!ROX+PZ[+P^p+Pqr+Psw+Px!^+P!a#S+P#T;'S+P;'S;=`+t<%lO+P!Z8qP;=`<%l5u!_8{ihSkWOX5uXZ7SZ[5u[^7S^p5uqr8trs7Sst/^tw8twx7Sx!P8t!P!Q5u!Q!]8t!]!^:j!^!a7S!a#S8t#S#T;{#T#s8t#s$f5u$f;'S8t;'S;=`>V<%l?Ah8t?Ah?BY5u?BY?Mn8t?MnO5u!_:sbhSkWa!ROX+PZ[+P^p+Pqr/^sw/^x!P/^!P!Q+P!Q!^/^!a#S/^#S#T0m#T#s/^#s$f+P$f;'S/^;'S;=`1e<%l?Ah/^?Ah?BY+P?BY?Mn/^?MnO+P!VP<%l?Ah;{?Ah?BY7S?BY?Mn;{?MnO7S!V=dXhSa!Rqr0msw0mx!P0m!Q!^0m!a#s0m$f;'S0m;'S;=`1_<%l?Ah0m?BY?Mn0m!V>SP;=`<%l;{!_>YP;=`<%l8t!_>dhhSkWOX@OXZAYZ[@O[^AY^p@OqrBwrsAYswBwwxAYx!PBw!P!Q@O!Q!]Bw!]!^/^!^!aAY!a#SBw#S#TE{#T#sBw#s$f@O$f;'SBw;'S;=`HS<%l?AhBw?Ah?BY@O?BY?MnBw?MnO@O!Z@TakWOX@OXZAYZ[@O[^AY^p@Oqr@OrsAYsw@OwxAYx!]@O!]!^Az!^!aAY!a#S@O#S#TAY#T;'S@O;'S;=`Bq<%lO@O!RA]UOpAYq!]AY!]!^Ao!^;'SAY;'S;=`At<%lOAY!RAtOb!R!RAwP;=`<%lAY!ZBRYkWb!ROX+PZ[+P^p+Pqr+Psw+Px!^+P!a#S+P#T;'S+P;'S;=`+t<%lO+P!ZBtP;=`<%l@O!_COhhSkWOX@OXZAYZ[@O[^AY^p@OqrBwrsAYswBwwxAYx!PBw!P!Q@O!Q!]Bw!]!^Dj!^!aAY!a#SBw#S#TE{#T#sBw#s$f@O$f;'SBw;'S;=`HS<%l?AhBw?Ah?BY@O?BY?MnBw?MnO@O!_DsbhSkWb!ROX+PZ[+P^p+Pqr/^sw/^x!P/^!P!Q+P!Q!^/^!a#S/^#S#T0m#T#s/^#s$f+P$f;'S/^;'S;=`1e<%l?Ah/^?Ah?BY+P?BY?Mn/^?MnO+P!VFQbhSOpAYqrE{rsAYswE{wxAYx!PE{!P!QAY!Q!]E{!]!^GY!^!aAY!a#sE{#s$fAY$f;'SE{;'S;=`G|<%l?AhE{?Ah?BYAY?BY?MnE{?MnOAY!VGaXhSb!Rqr0msw0mx!P0m!Q!^0m!a#s0m$f;'S0m;'S;=`1_<%l?Ah0m?BY?Mn0m!VHPP;=`<%lE{!_HVP;=`<%lBw!ZHcW!bx`P!a`Or(trs'ksv(tw!^(t!^!_)e!_;'S(t;'S;=`*P<%lO(t!aIYlhS`PkW!a`!cpOX$qXZ&XZ[$q[^&X^p$qpq&Xqr-_rs&}sv-_vw/^wx(tx}-_}!OKQ!O!P-_!P!Q$q!Q!^-_!^!_*V!_!a&X!a#S-_#S#T1k#T#s-_#s$f$q$f;'S-_;'S;=`3X<%l?Ah-_?Ah?BY$q?BY?Mn-_?MnO$q!aK_khS`PkW!a`!cpOX$qXZ&XZ[$q[^&X^p$qpq&Xqr-_rs&}sv-_vw/^wx(tx!P-_!P!Q$q!Q!^-_!^!_*V!_!`&X!`!aMS!a#S-_#S#T1k#T#s-_#s$f$q$f;'S-_;'S;=`3X<%l?Ah-_?Ah?BY$q?BY?Mn-_?MnO$q!TM_X`P!a`!cp!eQOr&Xrs&}sv&Xwx(tx!^&X!^!_*V!_;'S&X;'S;=`*y<%lO&X!aNZ!ZhSfQ`PkW!a`!cpOX$qXZ&XZ[$q[^&X^p$qpq&Xqr-_rs&}sv-_vw/^wx(tx}-_}!OMz!O!PMz!P!Q$q!Q![Mz![!]Mz!]!^-_!^!_*V!_!a&X!a!c-_!c!}Mz!}#R-_#R#SMz#S#T1k#T#oMz#o#s-_#s$f$q$f$}-_$}%OMz%O%W-_%W%oMz%o%p-_%p&aMz&a&b-_&b1pMz1p4UMz4U4dMz4d4e-_4e$ISMz$IS$I`-_$I`$IbMz$Ib$Je-_$Je$JgMz$Jg$Kh-_$Kh%#tMz%#t&/x-_&/x&EtMz&Et&FV-_&FV;'SMz;'S;:j!#|;:j;=`3X<%l?&r-_?&r?AhMz?Ah?BY$q?BY?MnMz?MnO$q!a!$PP;=`<%lMz!R!$ZY!a`!cpOq*Vqr!$yrs(Vsv*Vwx)ex!a*V!a!b!4t!b;'S*V;'S;=`*s<%lO*V!R!%Q]!a`!cpOr*Vrs(Vsv*Vwx)ex}*V}!O!%y!O!f*V!f!g!']!g#W*V#W#X!0`#X;'S*V;'S;=`*s<%lO*V!R!&QX!a`!cpOr*Vrs(Vsv*Vwx)ex}*V}!O!&m!O;'S*V;'S;=`*s<%lO*V!R!&vV!a`!cp!dPOr*Vrs(Vsv*Vwx)ex;'S*V;'S;=`*s<%lO*V!R!'dX!a`!cpOr*Vrs(Vsv*Vwx)ex!q*V!q!r!(P!r;'S*V;'S;=`*s<%lO*V!R!(WX!a`!cpOr*Vrs(Vsv*Vwx)ex!e*V!e!f!(s!f;'S*V;'S;=`*s<%lO*V!R!(zX!a`!cpOr*Vrs(Vsv*Vwx)ex!v*V!v!w!)g!w;'S*V;'S;=`*s<%lO*V!R!)nX!a`!cpOr*Vrs(Vsv*Vwx)ex!{*V!{!|!*Z!|;'S*V;'S;=`*s<%lO*V!R!*bX!a`!cpOr*Vrs(Vsv*Vwx)ex!r*V!r!s!*}!s;'S*V;'S;=`*s<%lO*V!R!+UX!a`!cpOr*Vrs(Vsv*Vwx)ex!g*V!g!h!+q!h;'S*V;'S;=`*s<%lO*V!R!+xY!a`!cpOr!+qrs!,hsv!+qvw!-Swx!.[x!`!+q!`!a!/j!a;'S!+q;'S;=`!0Y<%lO!+qq!,mV!cpOv!,hvx!-Sx!`!,h!`!a!-q!a;'S!,h;'S;=`!.U<%lO!,hP!-VTO!`!-S!`!a!-f!a;'S!-S;'S;=`!-k<%lO!-SP!-kO{PP!-nP;=`<%l!-Sq!-xS!cp{POv(Vx;'S(V;'S;=`(h<%lO(Vq!.XP;=`<%l!,ha!.aX!a`Or!.[rs!-Ssv!.[vw!-Sw!`!.[!`!a!.|!a;'S!.[;'S;=`!/d<%lO!.[a!/TT!a`{POr)esv)ew;'S)e;'S;=`)y<%lO)ea!/gP;=`<%l!.[!R!/sV!a`!cp{POr*Vrs(Vsv*Vwx)ex;'S*V;'S;=`*s<%lO*V!R!0]P;=`<%l!+q!R!0gX!a`!cpOr*Vrs(Vsv*Vwx)ex#c*V#c#d!1S#d;'S*V;'S;=`*s<%lO*V!R!1ZX!a`!cpOr*Vrs(Vsv*Vwx)ex#V*V#V#W!1v#W;'S*V;'S;=`*s<%lO*V!R!1}X!a`!cpOr*Vrs(Vsv*Vwx)ex#h*V#h#i!2j#i;'S*V;'S;=`*s<%lO*V!R!2qX!a`!cpOr*Vrs(Vsv*Vwx)ex#m*V#m#n!3^#n;'S*V;'S;=`*s<%lO*V!R!3eX!a`!cpOr*Vrs(Vsv*Vwx)ex#d*V#d#e!4Q#e;'S*V;'S;=`*s<%lO*V!R!4XX!a`!cpOr*Vrs(Vsv*Vwx)ex#X*V#X#Y!+q#Y;'S*V;'S;=`*s<%lO*V!R!4{Y!a`!cpOr!4trs!5ksv!4tvw!6Vwx!8]x!a!4t!a!b!:]!b;'S!4t;'S;=`!;r<%lO!4tq!5pV!cpOv!5kvx!6Vx!a!5k!a!b!7W!b;'S!5k;'S;=`!8V<%lO!5kP!6YTO!a!6V!a!b!6i!b;'S!6V;'S;=`!7Q<%lO!6VP!6lTO!`!6V!`!a!6{!a;'S!6V;'S;=`!7Q<%lO!6VP!7QOxPP!7TP;=`<%l!6Vq!7]V!cpOv!5kvx!6Vx!`!5k!`!a!7r!a;'S!5k;'S;=`!8V<%lO!5kq!7yS!cpxPOv(Vx;'S(V;'S;=`(h<%lO(Vq!8YP;=`<%l!5ka!8bX!a`Or!8]rs!6Vsv!8]vw!6Vw!a!8]!a!b!8}!b;'S!8];'S;=`!:V<%lO!8]a!9SX!a`Or!8]rs!6Vsv!8]vw!6Vw!`!8]!`!a!9o!a;'S!8];'S;=`!:V<%lO!8]a!9vT!a`xPOr)esv)ew;'S)e;'S;=`)y<%lO)ea!:YP;=`<%l!8]!R!:dY!a`!cpOr!4trs!5ksv!4tvw!6Vwx!8]x!`!4t!`!a!;S!a;'S!4t;'S;=`!;r<%lO!4t!R!;]V!a`!cpxPOr*Vrs(Vsv*Vwx)ex;'S*V;'S;=`*s<%lO*V!R!;uP;=`<%l!4t!V!{let c=o.type.id;if(c==fj)return Cb(o,s,n);if(c==hj)return Cb(o,s,r);if(c==pj)return Cb(o,s,i);if(c==SA&&l.length){let d=o.node,f=d.firstChild,h=f&&BA(f,s),p;if(h){for(let m of l)if(m.tag==h&&(!m.attrs||m.attrs(p||(p=MA(f,s))))){let g=d.lastChild,O=g.type.id==gj?g.from:d.to;if(O>f.to)return{parser:m.parser,overlay:[{from:f.to,to:O}]}}}}if(a&&c==CA){let d=o.node,f;if(f=d.firstChild){let h=a[s.read(f.from,f.to)];if(h)for(let p of h){if(p.tagName&&p.tagName!=BA(d.parent,s))continue;let m=d.lastChild;if(m.type.id==$b){let g=m.from+1,O=m.lastChild,b=m.to-(O&&O.isError?0:1);if(b>g)return{parser:p.parser,overlay:[{from:g,to:b}]}}else if(m.type.id==DA)return{parser:p.parser,overlay:[{from:m.from,to:m.to}]}}}}return null})}u(VA,"configureNesting");const Vj=99,NA=1,Nj=100,Fj=101,FA=2,IA=[9,10,11,12,13,32,133,160,5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8232,8233,8239,8287,12288],Ij=58,Zj=40,ZA=95,zj=91,eh=45,Lj=46,Wj=35,Xj=37,jj=38,qj=92,Uj=10;function iu(t){return t>=65&&t<=90||t>=97&&t<=122||t>=161}u(iu,"isAlpha");function zA(t){return t>=48&&t<=57}u(zA,"isDigit");const Yj=new Ut((t,e)=>{for(let n=!1,r=0,i=0;;i++){let{next:l}=t;if(iu(l)||l==eh||l==ZA||n&&zA(l))!n&&(l!=eh||i>0)&&(n=!0),r===i&&l==eh&&r++,t.advance();else if(l==qj&&t.peek(1)!=Uj)t.advance(),t.next>-1&&t.advance(),n=!0;else{n&&t.acceptToken(l==Zj?Nj:r==2&&e.canShift(FA)?FA:Fj);break}}}),Kj=new Ut(t=>{if(IA.includes(t.peek(-1))){let{next:e}=t;(iu(e)||e==ZA||e==Wj||e==Lj||e==zj||e==Ij&&iu(t.peek(1))||e==eh||e==jj)&&t.acceptToken(Vj)}}),Gj=new Ut(t=>{if(!IA.includes(t.peek(-1))){let{next:e}=t;if(e==Xj&&(t.advance(),t.acceptToken(NA)),iu(e)){do t.advance();while(iu(t.next)||zA(t.next));t.acceptToken(NA)}}}),Hj=Sf({"AtKeyword import charset namespace keyframes media supports":Q.definitionKeyword,"from to selector":Q.keyword,NamespaceName:Q.namespace,KeyframeName:Q.labelName,KeyframeRangeName:Q.operatorKeyword,TagName:Q.tagName,ClassName:Q.className,PseudoClassName:Q.constant(Q.className),IdName:Q.labelName,"FeatureName PropertyName":Q.propertyName,AttributeName:Q.attributeName,NumberLiteral:Q.number,KeywordQuery:Q.keyword,UnaryQueryOp:Q.operatorKeyword,"CallTag ValueName":Q.atom,VariableName:Q.variableName,Callee:Q.operatorKeyword,Unit:Q.unit,"UniversalSelector NestingSelector":Q.definitionOperator,MatchOp:Q.compareOperator,"ChildOp SiblingOp, LogicOp":Q.logicOperator,BinOp:Q.arithmeticOperator,Important:Q.modifier,Comment:Q.blockComment,ColorLiteral:Q.color,"ParenthesizedContent StringLiteral":Q.string,":":Q.punctuation,"PseudoOp #":Q.derefOperator,"; ,":Q.separator,"( )":Q.paren,"[ ]":Q.squareBracket,"{ }":Q.brace}),_j={__proto__:null,lang:32,"nth-child":32,"nth-last-child":32,"nth-of-type":32,"nth-last-of-type":32,dir:32,"host-context":32,url:60,"url-prefix":60,domain:60,regexp:60,selector:138},Jj={__proto__:null,"@import":118,"@media":142,"@charset":146,"@namespace":150,"@keyframes":156,"@supports":168},eq={__proto__:null,not:132,only:132},tq=ru.deserialize({version:14,states:":jQYQ[OOO#_Q[OOP#fOWOOOOQP'#Cd'#CdOOQP'#Cc'#CcO#kQ[O'#CfO$_QXO'#CaO$fQ[O'#ChO$qQ[O'#DTO$vQ[O'#DWOOQP'#Em'#EmO${QdO'#DgO%jQ[O'#DtO${QdO'#DvO%{Q[O'#DxO&WQ[O'#D{O&`Q[O'#ERO&nQ[O'#ETOOQS'#El'#ElOOQS'#EW'#EWQYQ[OOO&uQXO'#CdO'jQWO'#DcO'oQWO'#EsO'zQ[O'#EsQOQWOOP(UO#tO'#C_POOO)C@[)C@[OOQP'#Cg'#CgOOQP,59Q,59QO#kQ[O,59QO(aQ[O'#E[O({QWO,58{O)TQ[O,59SO$qQ[O,59oO$vQ[O,59rO(aQ[O,59uO(aQ[O,59wO(aQ[O,59xO)`Q[O'#DbOOQS,58{,58{OOQP'#Ck'#CkOOQO'#DR'#DROOQP,59S,59SO)gQWO,59SO)lQWO,59SOOQP'#DV'#DVOOQP,59o,59oOOQO'#DX'#DXO)qQ`O,59rOOQS'#Cp'#CpO${QdO'#CqO)yQvO'#CsO+ZQtO,5:ROOQO'#Cx'#CxO)lQWO'#CwO+oQWO'#CyO+tQ[O'#DOOOQS'#Ep'#EpOOQO'#Dj'#DjO+|Q[O'#DqO,[QWO'#EtO&`Q[O'#DoO,jQWO'#DrOOQO'#Eu'#EuO)OQWO,5:`O,oQpO,5:bOOQS'#Dz'#DzO,wQWO,5:dO,|Q[O,5:dOOQO'#D}'#D}O-UQWO,5:gO-ZQWO,5:mO-cQWO,5:oOOQS-E8U-E8UO-kQdO,59}O-{Q[O'#E^O.YQWO,5;_O.YQWO,5;_POOO'#EV'#EVP.eO#tO,58yPOOO,58y,58yOOQP1G.l1G.lO/[QXO,5:vOOQO-E8Y-E8YOOQS1G.g1G.gOOQP1G.n1G.nO)gQWO1G.nO)lQWO1G.nOOQP1G/Z1G/ZO/iQ`O1G/^O0SQXO1G/aO0jQXO1G/cO1QQXO1G/dO1hQWO,59|O1mQ[O'#DSO1tQdO'#CoOOQP1G/^1G/^O${QdO1G/^O1{QpO,59]OOQS,59_,59_O${QdO,59aO2TQWO1G/mOOQS,59c,59cO2YQ!bO,59eOOQS'#DP'#DPOOQS'#EY'#EYO2eQ[O,59jOOQS,59j,59jO2mQWO'#DjO2xQWO,5:VO2}QWO,5:]O&`Q[O,5:XO&`Q[O'#E_O3VQWO,5;`O3bQWO,5:ZO(aQ[O,5:^OOQS1G/z1G/zOOQS1G/|1G/|OOQS1G0O1G0OO3sQWO1G0OO3xQdO'#EOOOQS1G0R1G0ROOQS1G0X1G0XOOQS1G0Z1G0ZO4TQtO1G/iOOQO1G/i1G/iOOQO,5:x,5:xO4kQ[O,5:xOOQO-E8[-E8[O4xQWO1G0yPOOO-E8T-E8TPOOO1G.e1G.eOOQP7+$Y7+$YOOQP7+$x7+$xO${QdO7+$xOOQS1G/h1G/hO5TQXO'#ErO5[QWO,59nO5aQtO'#EXO6XQdO'#EoO6cQWO,59ZO6hQpO7+$xOOQS1G.w1G.wOOQS1G.{1G.{OOQS7+%X7+%XOOQS1G/P1G/PO6pQWO1G/POOQS-E8W-E8WOOQS1G/U1G/UO${QdO1G/qOOQO1G/w1G/wOOQO1G/s1G/sO6uQWO,5:yOOQO-E8]-E8]O7TQXO1G/xOOQS7+%j7+%jO7[QYO'#CsOOQO'#EQ'#EQO7gQ`O'#EPOOQO'#EP'#EPO7rQWO'#E`O7zQdO,5:jOOQS,5:j,5:jO8VQtO'#E]O${QdO'#E]O9WQdO7+%TOOQO7+%T7+%TOOQO1G0d1G0dO9kQpO<OAN>OO;]QdO,5:uOOQO-E8X-E8XOOQO<T![;'S%^;'S;=`%o<%lO%^l;TUo`Oy%^z!Q%^!Q![;g![;'S%^;'S;=`%o<%lO%^l;nYo`#e[Oy%^z!Q%^!Q![;g![!g%^!g!h<^!h#X%^#X#Y<^#Y;'S%^;'S;=`%o<%lO%^l[[o`#e[Oy%^z!O%^!O!P;g!P!Q%^!Q![>T![!g%^!g!h<^!h#X%^#X#Y<^#Y;'S%^;'S;=`%o<%lO%^n?VSt^Oy%^z;'S%^;'S;=`%o<%lO%^l?hWjWOy%^z!O%^!O!P;O!P!Q%^!Q![>T![;'S%^;'S;=`%o<%lO%^n@VU#bQOy%^z!Q%^!Q![;g![;'S%^;'S;=`%o<%lO%^~@nTjWOy%^z{@}{;'S%^;'S;=`%o<%lO%^~AUSo`#[~Oy%^z;'S%^;'S;=`%o<%lO%^lAg[#e[Oy%^z!O%^!O!P;g!P!Q%^!Q![>T![!g%^!g!h<^!h#X%^#X#Y<^#Y;'S%^;'S;=`%o<%lO%^bBbU]QOy%^z![%^![!]Bt!];'S%^;'S;=`%o<%lO%^bB{S^Qo`Oy%^z;'S%^;'S;=`%o<%lO%^nC^S!Y^Oy%^z;'S%^;'S;=`%o<%lO%^dCoS|SOy%^z;'S%^;'S;=`%o<%lO%^bDQU!OQOy%^z!`%^!`!aDd!a;'S%^;'S;=`%o<%lO%^bDkS!OQo`Oy%^z;'S%^;'S;=`%o<%lO%^bDzWOy%^z!c%^!c!}Ed!}#T%^#T#oEd#o;'S%^;'S;=`%o<%lO%^bEk[![Qo`Oy%^z}%^}!OEd!O!Q%^!Q![Ed![!c%^!c!}Ed!}#T%^#T#oEd#o;'S%^;'S;=`%o<%lO%^nFfSq^Oy%^z;'S%^;'S;=`%o<%lO%^nFwSp^Oy%^z;'S%^;'S;=`%o<%lO%^bGWUOy%^z#b%^#b#cGj#c;'S%^;'S;=`%o<%lO%^bGoUo`Oy%^z#W%^#W#XHR#X;'S%^;'S;=`%o<%lO%^bHYS!bQo`Oy%^z;'S%^;'S;=`%o<%lO%^bHiUOy%^z#f%^#f#gHR#g;'S%^;'S;=`%o<%lO%^fIQS!TUOy%^z;'S%^;'S;=`%o<%lO%^nIcS!S^Oy%^z;'S%^;'S;=`%o<%lO%^fItU!RQOy%^z!_%^!_!`6y!`;'S%^;'S;=`%o<%lO%^`JZP;=`<%l$}",tokenizers:[Kj,Gj,Yj,1,2,3,4,new Na("m~RRYZ[z{a~~g~aO#^~~dP!P!Qg~lO#_~~",28,105)],topRules:{StyleSheet:[0,4],Styles:[1,86]},specialized:[{term:100,get:t=>_j[t]||-1},{term:58,get:t=>Jj[t]||-1},{term:101,get:t=>eq[t]||-1}],tokenPrec:1219});let Db=null;function kb(){if(!Db&&typeof document=="object"&&document.body){let{style:t}=document.body,e=[],n=new Set;for(let r in t)r!="cssText"&&r!="cssFloat"&&typeof t[r]=="string"&&(/[A-Z]/.test(r)&&(r=r.replace(/[A-Z]/g,i=>"-"+i.toLowerCase())),n.has(r)||(e.push(r),n.add(r)));Db=e.sort().map(r=>({type:"property",label:r}))}return Db||[]}u(kb,"properties");const LA=["active","after","any-link","autofill","backdrop","before","checked","cue","default","defined","disabled","empty","enabled","file-selector-button","first","first-child","first-letter","first-line","first-of-type","focus","focus-visible","focus-within","fullscreen","has","host","host-context","hover","in-range","indeterminate","invalid","is","lang","last-child","last-of-type","left","link","marker","modal","not","nth-child","nth-last-child","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","part","placeholder","placeholder-shown","read-only","read-write","required","right","root","scope","selection","slotted","target","target-text","valid","visited","where"].map(t=>({type:"class",label:t})),WA=["above","absolute","activeborder","additive","activecaption","after-white-space","ahead","alias","all","all-scroll","alphabetic","alternate","always","antialiased","appworkspace","asterisks","attr","auto","auto-flow","avoid","avoid-column","avoid-page","avoid-region","axis-pan","background","backwards","baseline","below","bidi-override","blink","block","block-axis","bold","bolder","border","border-box","both","bottom","break","break-all","break-word","bullets","button","button-bevel","buttonface","buttonhighlight","buttonshadow","buttontext","calc","capitalize","caps-lock-indicator","caption","captiontext","caret","cell","center","checkbox","circle","cjk-decimal","clear","clip","close-quote","col-resize","collapse","color","color-burn","color-dodge","column","column-reverse","compact","condensed","contain","content","contents","content-box","context-menu","continuous","copy","counter","counters","cover","crop","cross","crosshair","currentcolor","cursive","cyclic","darken","dashed","decimal","decimal-leading-zero","default","default-button","dense","destination-atop","destination-in","destination-out","destination-over","difference","disc","discard","disclosure-closed","disclosure-open","document","dot-dash","dot-dot-dash","dotted","double","down","e-resize","ease","ease-in","ease-in-out","ease-out","element","ellipse","ellipsis","embed","end","ethiopic-abegede-gez","ethiopic-halehame-aa-er","ethiopic-halehame-gez","ew-resize","exclusion","expanded","extends","extra-condensed","extra-expanded","fantasy","fast","fill","fill-box","fixed","flat","flex","flex-end","flex-start","footnotes","forwards","from","geometricPrecision","graytext","grid","groove","hand","hard-light","help","hidden","hide","higher","highlight","highlighttext","horizontal","hsl","hsla","hue","icon","ignore","inactiveborder","inactivecaption","inactivecaptiontext","infinite","infobackground","infotext","inherit","initial","inline","inline-axis","inline-block","inline-flex","inline-grid","inline-table","inset","inside","intrinsic","invert","italic","justify","keep-all","landscape","large","larger","left","level","lighter","lighten","line-through","linear","linear-gradient","lines","list-item","listbox","listitem","local","logical","loud","lower","lower-hexadecimal","lower-latin","lower-norwegian","lowercase","ltr","luminosity","manipulation","match","matrix","matrix3d","medium","menu","menutext","message-box","middle","min-intrinsic","mix","monospace","move","multiple","multiple_mask_images","multiply","n-resize","narrower","ne-resize","nesw-resize","no-close-quote","no-drop","no-open-quote","no-repeat","none","normal","not-allowed","nowrap","ns-resize","numbers","numeric","nw-resize","nwse-resize","oblique","opacity","open-quote","optimizeLegibility","optimizeSpeed","outset","outside","outside-shape","overlay","overline","padding","padding-box","painted","page","paused","perspective","pinch-zoom","plus-darker","plus-lighter","pointer","polygon","portrait","pre","pre-line","pre-wrap","preserve-3d","progress","push-button","radial-gradient","radio","read-only","read-write","read-write-plaintext-only","rectangle","region","relative","repeat","repeating-linear-gradient","repeating-radial-gradient","repeat-x","repeat-y","reset","reverse","rgb","rgba","ridge","right","rotate","rotate3d","rotateX","rotateY","rotateZ","round","row","row-resize","row-reverse","rtl","run-in","running","s-resize","sans-serif","saturation","scale","scale3d","scaleX","scaleY","scaleZ","screen","scroll","scrollbar","scroll-position","se-resize","self-start","self-end","semi-condensed","semi-expanded","separate","serif","show","single","skew","skewX","skewY","skip-white-space","slide","slider-horizontal","slider-vertical","sliderthumb-horizontal","sliderthumb-vertical","slow","small","small-caps","small-caption","smaller","soft-light","solid","source-atop","source-in","source-out","source-over","space","space-around","space-between","space-evenly","spell-out","square","start","static","status-bar","stretch","stroke","stroke-box","sub","subpixel-antialiased","svg_masks","super","sw-resize","symbolic","symbols","system-ui","table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row","table-row-group","text","text-bottom","text-top","textarea","textfield","thick","thin","threeddarkshadow","threedface","threedhighlight","threedlightshadow","threedshadow","to","top","transform","translate","translate3d","translateX","translateY","translateZ","transparent","ultra-condensed","ultra-expanded","underline","unidirectional-pan","unset","up","upper-latin","uppercase","url","var","vertical","vertical-text","view-box","visible","visibleFill","visiblePainted","visibleStroke","visual","w-resize","wait","wave","wider","window","windowframe","windowtext","words","wrap","wrap-reverse","x-large","x-small","xor","xx-large","xx-small"].map(t=>({type:"keyword",label:t})).concat(["aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","black","blanchedalmond","blue","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","gold","goldenrod","gray","grey","green","greenyellow","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightsteelblue","lightyellow","lime","limegreen","linen","magenta","maroon","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","navy","oldlace","olive","olivedrab","orange","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","purple","rebeccapurple","red","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","white","whitesmoke","yellow","yellowgreen"].map(t=>({type:"constant",label:t}))),nq=["a","abbr","address","article","aside","b","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","dd","del","details","dfn","dialog","div","dl","dt","em","figcaption","figure","footer","form","header","hgroup","h1","h2","h3","h4","h5","h6","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","main","meter","nav","ol","output","p","pre","ruby","section","select","small","source","span","strong","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","tr","u","ul"].map(t=>({type:"type",label:t})),rq=["@charset","@color-profile","@container","@counter-style","@font-face","@font-feature-values","@font-palette-values","@import","@keyframes","@layer","@media","@namespace","@page","@position-try","@property","@scope","@starting-style","@supports","@view-transition"].map(t=>({type:"keyword",label:t})),Rr=/^(\w[\w-]*|-\w[\w-]*|)$/,iq=/^-(-[\w-]*)?$/;function lq(t,e){var n;if((t.name=="("||t.type.isError)&&(t=t.parent||t),t.name!="ArgList")return!1;let r=(n=t.parent)===null||n===void 0?void 0:n.firstChild;return r?.name!="Callee"?!1:e.sliceString(r.from,r.to)=="var"}u(lq,"isVarArg");const XA=new yf,aq=["Declaration"];function oq(t){for(let e=t;;){if(e.type.isTop)return e;if(!(e=e.parent))return t}}u(oq,"astTop");function jA(t,e,n){if(e.to-e.from>4096){let r=XA.get(e);if(r)return r;let i=[],l=new Set,a=e.cursor(Ce.IncludeAnonymous);if(a.firstChild())do for(let o of jA(t,a.node,n))l.has(o.label)||(l.add(o.label),i.push(o));while(a.nextSibling());return XA.set(e,i),i}else{let r=[],i=new Set;return e.cursor().iterate(l=>{var a;if(n(l)&&l.matchContext(aq)&&((a=l.node.nextSibling)===null||a===void 0?void 0:a.name)==":"){let o=t.sliceString(l.from,l.to);i.has(o)||(i.add(o),r.push({label:o,type:"variable"}))}}),r}}u(jA,"variableNames");const sq=u(t=>e=>{let{state:n,pos:r}=e,i=Qe(n).resolveInner(r,-1),l=i.type.isError&&i.from==i.to-1&&n.doc.sliceString(i.from,i.to)=="-";if(i.name=="PropertyName"||(l||i.name=="TagName")&&/^(Block|Styles)$/.test(i.resolve(i.to).name))return{from:i.from,options:kb(),validFor:Rr};if(i.name=="ValueName")return{from:i.from,options:WA,validFor:Rr};if(i.name=="PseudoClassName")return{from:i.from,options:LA,validFor:Rr};if(t(i)||(e.explicit||l)&&lq(i,n.doc))return{from:t(i)||l?i.from:r,options:jA(n.doc,oq(i),t),validFor:iq};if(i.name=="TagName"){for(let{parent:s}=i;s;s=s.parent)if(s.name=="Block")return{from:i.from,options:kb(),validFor:Rr};return{from:i.from,options:nq,validFor:Rr}}if(i.name=="AtKeyword")return{from:i.from,options:rq,validFor:Rr};if(!e.explicit)return null;let a=i.resolve(r),o=a.childBefore(r);return o&&o.name==":"&&a.name=="PseudoClassSelector"?{from:r,options:LA,validFor:Rr}:o&&o.name==":"&&a.name=="Declaration"||a.name=="ArgList"?{from:r,options:WA,validFor:Rr}:a.name=="Block"||a.name=="Styles"?{from:r,options:kb(),validFor:Rr}:null},"defineCSSCompletionSource")(t=>t.name=="VariableName"),th=zs.define({name:"css",parser:tq.configure({props:[Ef.add({Declaration:Af()}),Tf.add({"Block KeyframeList":M6})]}),languageData:{commentTokens:{block:{open:"/*",close:"*/"}},indentOnInput:/^\s*\}$/,wordChars:"-"}});function uq(){return new Xs(th,th.data.of({autocomplete:sq}))}u(uq,"css");const cq=312,qA=1,dq=2,fq=3,hq=4,pq=313,mq=315,gq=316,Oq=5,bq=6,yq=0,Pb=[9,10,11,12,13,32,133,160,5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8232,8233,8239,8287,12288],UA=125,vq=59,Eb=47,$q=42,wq=43,xq=45,Sq=60,Cq=44,Dq=63,kq=46,Pq=new Hf({start:!1,shift(t,e){return e==Oq||e==bq||e==mq?t:e==gq},strict:!1}),Eq=new Ut((t,e)=>{let{next:n}=t;(n==UA||n==-1||e.context)&&t.acceptToken(pq)},{contextual:!0,fallback:!0}),Aq=new Ut((t,e)=>{let{next:n}=t,r;Pb.indexOf(n)>-1||n==Eb&&((r=t.peek(1))==Eb||r==$q)||n!=UA&&n!=vq&&n!=-1&&!e.context&&t.acceptToken(cq)},{contextual:!0}),Tq=new Ut((t,e)=>{let{next:n}=t;if(n==wq||n==xq){if(t.advance(),n==t.next){t.advance();let r=!e.context&&e.canShift(qA);t.acceptToken(r?qA:dq)}}else n==Dq&&t.peek(1)==kq&&(t.advance(),t.advance(),(t.next<48||t.next>57)&&t.acceptToken(fq))},{contextual:!0});function Ab(t,e){return t>=65&&t<=90||t>=97&&t<=122||t==95||t>=192||!e&&t>=48&&t<=57}u(Ab,"identifierChar");const Rq=new Ut((t,e)=>{if(t.next!=Sq||!e.dialectEnabled(yq)||(t.advance(),t.next==Eb))return;let n=0;for(;Pb.indexOf(t.next)>-1;)t.advance(),n++;if(Ab(t.next,!0)){for(t.advance(),n++;Ab(t.next,!1);)t.advance(),n++;for(;Pb.indexOf(t.next)>-1;)t.advance(),n++;if(t.next==Cq)return;for(let r=0;;r++){if(r==7){if(!Ab(t.next,!0))return;break}if(t.next!="extends".charCodeAt(r))break;t.advance(),n++}}t.acceptToken(hq,-n)}),Qq=Sf({"get set async static":Q.modifier,"for while do if else switch try catch finally return throw break continue default case":Q.controlKeyword,"in of await yield void typeof delete instanceof":Q.operatorKeyword,"let var const using function class extends":Q.definitionKeyword,"import export from":Q.moduleKeyword,"with debugger as new":Q.keyword,TemplateString:Q.special(Q.string),super:Q.atom,BooleanLiteral:Q.bool,this:Q.self,null:Q.null,Star:Q.modifier,VariableName:Q.variableName,"CallExpression/VariableName TaggedTemplateExpression/VariableName":Q.function(Q.variableName),VariableDefinition:Q.definition(Q.variableName),Label:Q.labelName,PropertyName:Q.propertyName,PrivatePropertyName:Q.special(Q.propertyName),"CallExpression/MemberExpression/PropertyName":Q.function(Q.propertyName),"FunctionDeclaration/VariableDefinition":Q.function(Q.definition(Q.variableName)),"ClassDeclaration/VariableDefinition":Q.definition(Q.className),PropertyDefinition:Q.definition(Q.propertyName),PrivatePropertyDefinition:Q.definition(Q.special(Q.propertyName)),UpdateOp:Q.updateOperator,"LineComment Hashbang":Q.lineComment,BlockComment:Q.blockComment,Number:Q.number,String:Q.string,Escape:Q.escape,ArithOp:Q.arithmeticOperator,LogicOp:Q.logicOperator,BitOp:Q.bitwiseOperator,CompareOp:Q.compareOperator,RegExp:Q.regexp,Equals:Q.definitionOperator,Arrow:Q.function(Q.punctuation),": Spread":Q.punctuation,"( )":Q.paren,"[ ]":Q.squareBracket,"{ }":Q.brace,"InterpolationStart InterpolationEnd":Q.special(Q.brace),".":Q.derefOperator,", ;":Q.separator,"@":Q.meta,TypeName:Q.typeName,TypeDefinition:Q.definition(Q.typeName),"type enum interface implements namespace module declare":Q.definitionKeyword,"abstract global Privacy readonly override":Q.modifier,"is keyof unique infer":Q.operatorKeyword,JSXAttributeValue:Q.attributeValue,JSXText:Q.content,"JSXStartTag JSXStartCloseTag JSXSelfCloseEndTag JSXEndTag":Q.angleBracket,"JSXIdentifier JSXNameSpacedName":Q.tagName,"JSXAttribute/JSXIdentifier JSXAttribute/JSXNameSpacedName":Q.attributeName,"JSXBuiltin/JSXIdentifier":Q.standard(Q.tagName)}),Mq={__proto__:null,export:20,as:25,from:33,default:36,async:41,function:42,extends:54,this:58,true:66,false:66,null:78,void:82,typeof:86,super:102,new:136,delete:148,yield:157,await:161,class:166,public:229,private:229,protected:229,readonly:231,instanceof:250,satisfies:253,in:254,const:256,import:290,keyof:345,unique:349,infer:355,is:391,abstract:411,implements:413,type:415,let:418,var:420,using:423,interface:429,enum:433,namespace:439,module:441,declare:445,global:449,for:468,of:477,while:480,with:484,do:488,if:492,else:494,switch:498,case:504,try:510,catch:514,finally:518,return:522,throw:526,break:530,continue:534,debugger:538},Bq={__proto__:null,async:123,get:125,set:127,declare:189,public:191,private:191,protected:191,static:193,abstract:195,override:197,readonly:203,accessor:205,new:395},Vq={__proto__:null,"<":187},Nq=ru.deserialize({version:14,states:"$@QO%TQ^OOO%[Q^OOO'_Q`OOP(lOWOOO*zQ?NdO'#CiO+RO!bO'#CjO+aO#tO'#CjO+oO!0LbO'#D^O.QQ^O'#DdO.bQ^O'#DoO%[Q^O'#DwO0fQ^O'#EPOOQ?Mr'#EX'#EXO1PQWO'#EUOOQO'#Em'#EmOOQO'#Ih'#IhO1XQWO'#GpO1dQWO'#ElO1iQWO'#ElO3hQ?NdO'#JmO6[Q?NdO'#JnO6uQWO'#F[O6zQ&jO'#FsOOQ?Mr'#Fe'#FeO7VO,YO'#FeO7eQ7[O'#FzO9RQWO'#FyOOQ?Mr'#Jn'#JnOOQ?Mp'#Jm'#JmO9WQWO'#GtOOQU'#KZ'#KZO9cQWO'#IUO9hQ?MxO'#IVOOQU'#JZ'#JZOOQU'#IZ'#IZQ`Q^OOO`Q^OOO9pQMnO'#DsO9wQ^O'#D{O:OQ^O'#D}O9^QWO'#GpO:VQ7[O'#CoO:eQWO'#EkO:pQWO'#EvO:uQ7[O'#FdO;dQWO'#GpOOQO'#K['#K[O;iQWO'#K[O;wQWO'#GxO;wQWO'#GyO;wQWO'#G{O9^QWO'#HOOVQWO'#CeO>gQWO'#H_O>oQWO'#HeO>oQWO'#HgO`Q^O'#HiO>oQWO'#HkO>oQWO'#HnO>tQWO'#HtO>yQ?MyO'#HzO%[Q^O'#H|O?UQ?MyO'#IOO?aQ?MyO'#IQO9hQ?MxO'#ISO?lQ?NdO'#CiO@nQ`O'#DiQOQWOOO%[Q^O'#D}OAUQWO'#EQO:VQ7[O'#EkOAaQWO'#EkOAlQpO'#FdOOQU'#Cg'#CgOOQ?Mp'#Dn'#DnOOQ?Mp'#Jq'#JqO%[Q^O'#JqOOQO'#Jt'#JtOOQO'#Id'#IdOBlQ`O'#EdOOQ?Mp'#Ec'#EcOOQ?Mp'#Jx'#JxOChQ?NQO'#EdOCrQ`O'#ETOOQO'#Js'#JsODWQ`O'#JtOEeQ`O'#ETOCrQ`O'#EdPErO#@ItO'#CbPOOO)CDx)CDxOOOO'#I['#I[OE}O!bO,59UOOQ?Mr,59U,59UOOOO'#I]'#I]OF]O#tO,59UO%[Q^O'#D`OOOO'#I_'#I_OFkO!0LbO,59xOOQ?Mr,59x,59xOFyQ^O'#I`OG^QWO'#JoOI]QrO'#JoO+}Q^O'#JoOIdQWO,5:OOIzQWO'#EmOJXQWO'#KOOJdQWO'#J}OJdQWO'#J}OJlQWO,5;ZOJqQWO'#J|OOQ?Mv,5:Z,5:ZOJxQ^O,5:ZOLvQ?NdO,5:cOMgQWO,5:kONQQ?MxO'#J{ONXQWO'#JzO9WQWO'#JzONmQWO'#JzONuQWO,5;YONzQWO'#JzO!#PQrO'#JnOOQ?Mr'#Ci'#CiO%[Q^O'#EPO!#oQrO,5:pOOQQ'#Ju'#JuOOQO-EpOOQU'#Jc'#JcOOQU,5>q,5>qOOQU-EtQWO'#HTO9^QWO'#HVO!DgQWO'#HVO:VQ7[O'#HXO!DlQWO'#HXOOQU,5=m,5=mO!DqQWO'#HYO!ESQWO'#CoO!EXQWO,59PO!EcQWO,59PO!GhQ^O,59POOQU,59P,59PO!GxQ?MxO,59PO%[Q^O,59PO!JTQ^O'#HaOOQU'#Hb'#HbOOQU'#Hc'#HcO`Q^O,5=yO!JkQWO,5=yO`Q^O,5>PO`Q^O,5>RO!JpQWO,5>TO`Q^O,5>VO!JuQWO,5>YO!JzQ^O,5>`OOQU,5>f,5>fO%[Q^O,5>fO9hQ?MxO,5>hOOQU,5>j,5>jO# UQWO,5>jOOQU,5>l,5>lO# UQWO,5>lOOQU,5>n,5>nO# rQ`O'#D[O%[Q^O'#JqO# |Q`O'#JqO#!kQ`O'#DjO#!|Q`O'#DjO#%_Q^O'#DjO#%fQWO'#JpO#%nQWO,5:TO#%sQWO'#EqO#&RQWO'#KPO#&ZQWO,5;[O#&`Q`O'#DjO#&mQ`O'#ESOOQ?Mr,5:l,5:lO%[Q^O,5:lO#&tQWO,5:lO>tQWO,5;VO!A}Q`O,5;VO!BVQ7[O,5;VO:VQ7[O,5;VO#&|QWO,5@]O#'RQ(CYO,5:pOOQO-EzO+}Q^O,5>zOOQO,5?Q,5?QO#*ZQ^O'#I`OOQO-E<^-E<^O#*hQWO,5@ZO#*pQrO,5@ZO#*wQWO,5@iOOQ?Mr1G/j1G/jO%[Q^O,5@jO#+PQWO'#IfOOQO-EuQ?NdO1G0|O#>|Q?NdO1G0|O#AZQ07bO'#CiO#CUQ07bO1G1_O#C]Q07bO'#JnO#CpQ?NdO,5?WOOQ?Mp-EoQWO1G3oO$3VQ^O1G3qO$7ZQ^O'#HpOOQU1G3t1G3tO$7hQWO'#HvO>tQWO'#HxOOQU1G3z1G3zO$7pQ^O1G3zO9hQ?MxO1G4QOOQU1G4S1G4SOOQ?Mp'#G]'#G]O9hQ?MxO1G4UO9hQ?MxO1G4WO$;wQWO,5@]O!(oQ^O,5;]O9WQWO,5;]O>tQWO,5:UO!(oQ^O,5:UO!A}Q`O,5:UO$;|Q07bO,5:UOOQO,5;],5;]O$tQWO1G0qO!A}Q`O1G0qO!BVQ7[O1G0qOOQ?Mp1G5w1G5wO!ArQ?MxO1G0ZOOQO1G0j1G0jO%[Q^O1G0jO$=aQ?MxO1G0jO$=lQ?MxO1G0jO!A}Q`O1G0ZOCrQ`O1G0ZO$=zQ?MxO1G0jOOQO1G0Z1G0ZO$>`Q?NdO1G0jPOOO-EjQpO,5rQrO1G4fOOQO1G4l1G4lO%[Q^O,5>zO$>|QWO1G5uO$?UQWO1G6TO$?^QrO1G6UO9WQWO,5?QO$?hQ?NdO1G6RO%[Q^O1G6RO$?xQ?MxO1G6RO$@ZQWO1G6QO$@ZQWO1G6QO9WQWO1G6QO$@cQWO,5?TO9WQWO,5?TOOQO,5?T,5?TO$@wQWO,5?TO$(PQWO,5?TOOQO-E[OOQU,5>[,5>[O%[Q^O'#HqO%8mQWO'#HsOOQU,5>b,5>bO9WQWO,5>bOOQU,5>d,5>dOOQU7+)f7+)fOOQU7+)l7+)lOOQU7+)p7+)pOOQU7+)r7+)rO%8rQ`O1G5wO%9WQ07bO1G0wO%9bQWO1G0wOOQO1G/p1G/pO%9mQ07bO1G/pO>tQWO1G/pO!(oQ^O'#DjOOQO,5>{,5>{OOQO-E<_-E<_OOQO,5?R,5?ROOQO-EtQWO7+&]O!A}Q`O7+&]OOQO7+%u7+%uO$>`Q?NdO7+&UOOQO7+&U7+&UO%[Q^O7+&UO%9wQ?MxO7+&UO!ArQ?MxO7+%uO!A}Q`O7+%uO%:SQ?MxO7+&UO%:bQ?NdO7++mO%[Q^O7++mO%:rQWO7++lO%:rQWO7++lOOQO1G4o1G4oO9WQWO1G4oO%:zQWO1G4oOOQQ7+%z7+%zO#&wQWO<|O%[Q^O,5>|OOQO-E<`-E<`O%FwQWO1G5xOOQ?Mr<]OOQU,5>_,5>_O&8uQWO1G3|O9WQWO7+&cO!(oQ^O7+&cOOQO7+%[7+%[O&8zQ07bO1G6UO>tQWO7+%[OOQ?Mr<tQWO<`Q?NdO<pQ?NdO,5?_O&@xQ?NdO7+'zO&CWQrO1G4hO&CbQ07bO7+&^O&EcQ07bO,5=UO&GgQ07bO,5=WO&GwQ07bO,5=UO&HXQ07bO,5=WO&HiQ07bO,59rO&JlQ07bO,5tQWO7+)hO'(OQWO<`Q?NdOAN?[OOQOAN>{AN>{O%[Q^OAN?[OOQO<`Q?NdOG24vO#&wQWOLD,nOOQULD,nLD,nO!&_Q7[OLD,nO'5TQrOLD,nO'5[Q07bO7+'xO'6}Q07bO,5?]O'8}Q07bO,5?_O':}Q07bO7+'zO'kOh%VOk+aO![']O%f+`O~O!d+cOa(WX![(WX'u(WX!Y(WX~Oa%lO![XO'u%lO~Oh%VO!i%cO~Oh%VO!i%cO(O%eO~O!d#vO#h(tO~Ob+nO%g+oO(O+kO(QTO(TUO!Z)TP~O!Y+pO`)SX~O[+tO~O`+uO~O![%}O(O%eO(P!lO`)SP~Oh%VO#]+zO~Oh%VOk+}O![$|O~O![,PO~O},RO![XO~O%k%tO~O!u,WO~Oe,]O~Ob,^O(O#nO(QTO(TUO!Z)RP~Oe%{O~O%g!QO(O&WO~P=RO[,cO`,bO~OPYOQYOSfOdzOeyOmkOoYOpkOqkOwkOyYO{YO!PWO!TkO!UkO!fuO!iZO!lYO!mYO!nYO!pvO!uxO!y]O%e}O(QTO(TUO([VO(j[O(yiO~O![!eO!r!gO$V!kO(O!dO~P!EkO`,bOa%lO'u%lO~OPYOQYOSfOd!jOe!iOmkOoYOpkOqkOwkOyYO{YO!PWO!TkO!UkO![!eO!fuO!iZO!lYO!mYO!nYO!pvO!u!hO$V!kO(O!dO(QTO(TUO([VO(j[O(yiO~Oa,hO!rwO#t!OO%i!OO%j!OO%k!OO~P!HTO!i&lO~O&Y,nO~O![,pO~O&k,rO&m,sOP&haQ&haS&haY&haa&had&hae&ham&hao&hap&haq&haw&hay&ha{&ha!P&ha!T&ha!U&ha![&ha!f&ha!i&ha!l&ha!m&ha!n&ha!p&ha!r&ha!u&ha!y&ha#t&ha$V&ha%e&ha%g&ha%i&ha%j&ha%k&ha%n&ha%p&ha%s&ha%t&ha%v&ha&S&ha&Y&ha&[&ha&^&ha&`&ha&c&ha&i&ha&o&ha&q&ha&s&ha&u&ha&w&ha's&ha(O&ha(Q&ha(T&ha([&ha(j&ha(y&ha!Z&ha&a&hab&ha&f&ha~O(O,xO~Oh!bX!Y!OX!Z!OX!d!OX!d!bX!i!bX#]!OX~O!Y!bX!Z!bX~P# ZO!d,}O#],|Oh(eX!Y#eX!Y(eX!Z#eX!Z(eX!d(eX!i(eX~Oh%VO!d-PO!i%cO!Y!^X!Z!^X~Op!nO!P!oO(QTO(TUO(`!mO~OP;POQ;POSfOdkOg'XX!Y'XX~P!+hO!Y.wOg(ka~OSfO![3uO$c3vO~O!Z3zO~Os3{O~P#.aOa$lq!Y$lq'u$lq's$lq!V$lq!h$lqs$lq![$lq%f$lq!d$lq~P!9mO!V3|O~P#.aO})zO!P){O(u%POk'ea(t'ea!Y'ea#]'ea~Og'ea#}'ea~P%)nO})zO!P){Ok'ga(t'ga(u'ga!Y'ga#]'ga~Og'ga#}'ga~P%*aO(m$YO~P#.aO!VfX!V$xX!YfX!Y$xX!d%PX#]fX~P!/gO(OQ#>g#@V#@e#@l#BR#Ba#C|#D[#Db#Dh#Dn#Dx#EO#EU#E`#Er#ExPPPPPPPPPP#FOPPPPPPP#Fs#Iz#KZ#Kb#KjPPP$!sP$!|$%t$,^$,a$,d$-P$-S$-Z$-cP$-i$-lP$.Y$.^$/U$0d$0i$1PPP$1U$1[$1`P$1c$1g$1k$2a$2x$3a$3e$3h$3k$3q$3t$3x$3|R!|RoqOXst!Z#d%k&o&q&r&t,k,p1|2PY!vQ']-]1a5eQ%rvQ%zyQ&R|Q&g!VS'T!e-TQ'c!iS'i!r!yU*e$|*V*jQ+i%{Q+v&TQ,[&aQ-Z'[Q-e'dQ-m'jQ0R*lQ1k,]R;v;T%QdOPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$_$a$e%k%r&P&h&k&o&q&r&t&x'Q'_'o(P(R(X(`(t(v(z)y+R+V,h,k,p-a-i-w-}.l.s/f0a0g0v1d1t1u1w1y1|2P2R2r2x3^5b5m5}6O6R6f8R8X8h8rS#q];Q!r)Z$Z$n'U)o,|-P.}2b3u5`6]9h9y;P;S;T;W;X;Y;Z;[;];^;_;`;a;b;c;d;f;i;v;x;y;{ < TypeParamList TypeDefinition extends ThisType this LiteralType ArithOp Number BooleanLiteral TemplateType InterpolationEnd Interpolation InterpolationStart NullType null VoidType void TypeofType typeof MemberExpression . PropertyName [ TemplateString Escape Interpolation super RegExp ] ArrayExpression Spread , } { ObjectExpression Property async get set PropertyDefinition Block : NewTarget new NewExpression ) ( ArgList UnaryExpression delete LogicOp BitOp YieldExpression yield AwaitExpression await ParenthesizedExpression ClassExpression class ClassBody MethodDeclaration Decorator @ MemberExpression PrivatePropertyName CallExpression TypeArgList CompareOp < declare Privacy static abstract override PrivatePropertyDefinition PropertyDeclaration readonly accessor Optional TypeAnnotation Equals StaticBlock FunctionExpression ArrowFunction ParamList ParamList ArrayPattern ObjectPattern PatternProperty Privacy readonly Arrow MemberExpression BinaryExpression ArithOp ArithOp ArithOp ArithOp BitOp CompareOp instanceof satisfies in const CompareOp BitOp BitOp BitOp LogicOp LogicOp ConditionalExpression LogicOp LogicOp AssignmentExpression UpdateOp PostfixExpression CallExpression InstantiationExpression TaggedTemplateExpression DynamicImport import ImportMeta JSXElement JSXSelfCloseEndTag JSXSelfClosingTag JSXIdentifier JSXBuiltin JSXIdentifier JSXNamespacedName JSXMemberExpression JSXSpreadAttribute JSXAttribute JSXAttributeValue JSXEscape JSXEndTag JSXOpenTag JSXFragmentTag JSXText JSXEscape JSXStartCloseTag JSXCloseTag PrefixCast ArrowFunction TypeParamList SequenceExpression InstantiationExpression KeyofType keyof UniqueType unique ImportType InferredType infer TypeName ParenthesizedType FunctionSignature ParamList NewSignature IndexedType TupleType Label ArrayType ReadonlyType ObjectType MethodType PropertyType IndexSignature PropertyDefinition CallSignature TypePredicate is NewSignature new UnionType LogicOp IntersectionType LogicOp ConditionalType ParameterizedType ClassDeclaration abstract implements type VariableDeclaration let var using TypeAliasDeclaration InterfaceDeclaration interface EnumDeclaration enum EnumBody NamespaceDeclaration namespace module AmbientDeclaration declare GlobalDeclaration global ClassDeclaration ClassBody AmbientFunctionDeclaration ExportGroup VariableName VariableName ImportDeclaration ImportGroup ForStatement for ForSpec ForInSpec ForOfSpec of WhileStatement while WithStatement with DoStatement do IfStatement if else SwitchStatement switch SwitchBody CaseLabel case DefaultLabel TryStatement try CatchClause catch FinallyClause finally ReturnStatement return ThrowStatement throw BreakStatement break ContinueStatement continue DebuggerStatement debugger LabeledStatement ExpressionStatement SingleExpression SingleClassItem",maxTerm:376,context:Pq,nodeProps:[["isolate",-8,5,6,14,34,36,48,50,52,""],["group",-26,9,17,19,65,204,208,212,213,215,218,221,231,233,239,241,243,245,248,254,260,262,264,266,268,270,271,"Statement",-34,13,14,29,32,33,39,48,51,52,54,59,67,69,73,77,79,81,82,107,108,117,118,135,138,140,141,142,143,144,146,147,166,167,169,"Expression",-23,28,30,34,38,40,42,171,173,175,176,178,179,180,182,183,184,186,187,188,198,200,202,203,"Type",-3,85,100,106,"ClassItem"],["openedBy",23,"<",35,"InterpolationStart",53,"[",57,"{",70,"(",159,"JSXStartCloseTag"],["closedBy",24,">",37,"InterpolationEnd",47,"]",58,"}",71,")",164,"JSXEndTag"]],propSources:[Qq],skippedNodes:[0,5,6,274],repeatNodeCount:37,tokenData:"$Fq07[R!bOX%ZXY+gYZ-yZ[+g[]%Z]^.c^p%Zpq+gqr/mrs3cst:_tuEruvJSvwLkwx! Yxy!'iyz!(sz{!)}{|!,q|}!.O}!O!,q!O!P!/Y!P!Q!9j!Q!R#:O!R![#<_![!]#I_!]!^#Jk!^!_#Ku!_!`$![!`!a$$v!a!b$*T!b!c$,r!c!}Er!}#O$-|#O#P$/W#P#Q$4o#Q#R$5y#R#SEr#S#T$7W#T#o$8b#o#p$x#r#s$@U#s$f%Z$f$g+g$g#BYEr#BY#BZ$A`#BZ$ISEr$IS$I_$A`$I_$I|Er$I|$I}$Dk$I}$JO$Dk$JO$JTEr$JT$JU$A`$JU$KVEr$KV$KW$A`$KW&FUEr&FU&FV$A`&FV;'SEr;'S;=`I|<%l?HTEr?HT?HU$A`?HUOEr(n%d_$h&j(Rp(U!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z&j&hT$h&jO!^&c!_#o&c#p;'S&c;'S;=`&w<%lO&c&j&zP;=`<%l&c'|'U]$h&j(U!bOY&}YZ&cZw&}wx&cx!^&}!^!_'}!_#O&}#O#P&c#P#o&}#o#p'}#p;'S&};'S;=`(l<%lO&}!b(SU(U!bOY'}Zw'}x#O'}#P;'S'};'S;=`(f<%lO'}!b(iP;=`<%l'}'|(oP;=`<%l&}'[(y]$h&j(RpOY(rYZ&cZr(rrs&cs!^(r!^!_)r!_#O(r#O#P&c#P#o(r#o#p)r#p;'S(r;'S;=`*a<%lO(rp)wU(RpOY)rZr)rs#O)r#P;'S)r;'S;=`*Z<%lO)rp*^P;=`<%l)r'[*dP;=`<%l(r#S*nX(Rp(U!bOY*gZr*grs'}sw*gwx)rx#O*g#P;'S*g;'S;=`+Z<%lO*g#S+^P;=`<%l*g(n+dP;=`<%l%Z07[+rq$h&j(Rp(U!b'w0/lOX%ZXY+gYZ&cZ[+g[p%Zpq+gqr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p$f%Z$f$g+g$g#BY%Z#BY#BZ+g#BZ$IS%Z$IS$I_+g$I_$JT%Z$JT$JU+g$JU$KV%Z$KV$KW+g$KW&FU%Z&FU&FV+g&FV;'S%Z;'S;=`+a<%l?HT%Z?HT?HU+g?HUO%Z07[.ST(S#S$h&j'x0/lO!^&c!_#o&c#p;'S&c;'S;=`&w<%lO&c07[.n_$h&j(Rp(U!b'x0/lOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z)3p/x`$h&j!m),Q(Rp(U!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`0z!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z(KW1V`#u(Ch$h&j(Rp(U!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`2X!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z(KW2d_#u(Ch$h&j(Rp(U!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'At3l_(Q':f$h&j(U!bOY4kYZ5qZr4krs7nsw4kwx5qx!^4k!^!_8p!_#O4k#O#P5q#P#o4k#o#p8p#p;'S4k;'S;=`:X<%lO4k(^4r_$h&j(U!bOY4kYZ5qZr4krs7nsw4kwx5qx!^4k!^!_8p!_#O4k#O#P5q#P#o4k#o#p8p#p;'S4k;'S;=`:X<%lO4k&z5vX$h&jOr5qrs6cs!^5q!^!_6y!_#o5q#o#p6y#p;'S5q;'S;=`7h<%lO5q&z6jT$c`$h&jO!^&c!_#o&c#p;'S&c;'S;=`&w<%lO&c`6|TOr6yrs7]s;'S6y;'S;=`7b<%lO6y`7bO$c``7eP;=`<%l6y&z7kP;=`<%l5q(^7w]$c`$h&j(U!bOY&}YZ&cZw&}wx&cx!^&}!^!_'}!_#O&}#O#P&c#P#o&}#o#p'}#p;'S&};'S;=`(l<%lO&}!r8uZ(U!bOY8pYZ6yZr8prs9hsw8pwx6yx#O8p#O#P6y#P;'S8p;'S;=`:R<%lO8p!r9oU$c`(U!bOY'}Zw'}x#O'}#P;'S'};'S;=`(f<%lO'}!r:UP;=`<%l8p(^:[P;=`<%l4k%9[:hh$h&j(Rp(U!bOY%ZYZ&cZq%Zqr`#P#o`x!^=^!^!_?q!_#O=^#O#P>`#P#o=^#o#p?q#p;'S=^;'S;=`@h<%lO=^&n>gXWS$h&jOY>`YZ&cZ!^>`!^!_?S!_#o>`#o#p?S#p;'S>`;'S;=`?k<%lO>`S?XSWSOY?SZ;'S?S;'S;=`?e<%lO?SS?hP;=`<%l?S&n?nP;=`<%l>`!f?xWWS(U!bOY?qZw?qwx?Sx#O?q#O#P?S#P;'S?q;'S;=`@b<%lO?q!f@eP;=`<%l?q(Q@kP;=`<%l=^'`@w]WS$h&j(RpOY@nYZ&cZr@nrs>`s!^@n!^!_Ap!_#O@n#O#P>`#P#o@n#o#pAp#p;'S@n;'S;=`Bg<%lO@ntAwWWS(RpOYApZrAprs?Ss#OAp#O#P?S#P;'SAp;'S;=`Ba<%lOAptBdP;=`<%lAp'`BjP;=`<%l@n#WBvYWS(Rp(U!bOYBmZrBmrs?qswBmwxApx#OBm#O#P?S#P;'SBm;'S;=`Cf<%lOBm#WCiP;=`<%lBm(rCoP;=`<%l^!Q^$h&j!U7`OY!=yYZ&cZ!P!=y!P!Q!>|!Q!^!=y!^!_!@c!_!}!=y!}#O!CW#O#P!Dy#P#o!=y#o#p!@c#p;'S!=y;'S;=`!Ek<%lO!=y|#X#Z&c#Z#[!>|#[#]&c#]#^!>|#^#a&c#a#b!>|#b#g&c#g#h!>|#h#i&c#i#j!>|#j#k!>|#k#m&c#m#n!>|#n#o&c#p;'S&c;'S;=`&w<%lO&c7`!@hX!U7`OY!@cZ!P!@c!P!Q!AT!Q!}!@c!}#O!Ar#O#P!Bq#P;'S!@c;'S;=`!CQ<%lO!@c7`!AYW!U7`#W#X!AT#Z#[!AT#]#^!AT#a#b!AT#g#h!AT#i#j!AT#j#k!AT#m#n!AT7`!AuVOY!ArZ#O!Ar#O#P!B[#P#Q!@c#Q;'S!Ar;'S;=`!Bk<%lO!Ar7`!B_SOY!ArZ;'S!Ar;'S;=`!Bk<%lO!Ar7`!BnP;=`<%l!Ar7`!BtSOY!@cZ;'S!@c;'S;=`!CQ<%lO!@c7`!CTP;=`<%l!@c^!Ezl$h&j(U!b!U7`OY&}YZ&cZw&}wx&cx!^&}!^!_'}!_#O&}#O#P&c#P#W&}#W#X!Eq#X#Z&}#Z#[!Eq#[#]&}#]#^!Eq#^#a&}#a#b!Eq#b#g&}#g#h!Eq#h#i&}#i#j!Eq#j#k!Eq#k#m&}#m#n!Eq#n#o&}#o#p'}#p;'S&};'S;=`(l<%lO&}8r!GyZ(U!b!U7`OY!GrZw!Grwx!@cx!P!Gr!P!Q!Hl!Q!}!Gr!}#O!JU#O#P!Bq#P;'S!Gr;'S;=`!J|<%lO!Gr8r!Hse(U!b!U7`OY'}Zw'}x#O'}#P#W'}#W#X!Hl#X#Z'}#Z#[!Hl#[#]'}#]#^!Hl#^#a'}#a#b!Hl#b#g'}#g#h!Hl#h#i'}#i#j!Hl#j#k!Hl#k#m'}#m#n!Hl#n;'S'};'S;=`(f<%lO'}8r!JZX(U!bOY!JUZw!JUwx!Arx#O!JU#O#P!B[#P#Q!Gr#Q;'S!JU;'S;=`!Jv<%lO!JU8r!JyP;=`<%l!JU8r!KPP;=`<%l!Gr>^!KZ^$h&j(U!bOY!KSYZ&cZw!KSwx!CWx!^!KS!^!_!JU!_#O!KS#O#P!DR#P#Q!^!LYP;=`<%l!KS>^!L`P;=`<%l!_#c#d#Bq#d#l%Z#l#m#Es#m#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'Ad#_#c#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'Ad#>j_$h&j(Rp(U!bp'9tOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'Ad#?rd$h&j(Rp(U!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q!R#AQ!R!S#AQ!S!^%Z!^!_*g!_#O%Z#O#P&c#P#R%Z#R#S#AQ#S#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'Ad#A]f$h&j(Rp(U!bp'9tOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q!R#AQ!R!S#AQ!S!^%Z!^!_*g!_#O%Z#O#P&c#P#R%Z#R#S#AQ#S#b%Z#b#c#>_#c#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'Ad#Bzc$h&j(Rp(U!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q!Y#DV!Y!^%Z!^!_*g!_#O%Z#O#P&c#P#R%Z#R#S#DV#S#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'Ad#Dbe$h&j(Rp(U!bp'9tOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q!Y#DV!Y!^%Z!^!_*g!_#O%Z#O#P&c#P#R%Z#R#S#DV#S#b%Z#b#c#>_#c#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'Ad#E|g$h&j(Rp(U!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q![#Ge![!^%Z!^!_*g!_!c%Z!c!i#Ge!i#O%Z#O#P&c#P#R%Z#R#S#Ge#S#T%Z#T#Z#Ge#Z#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'Ad#Gpi$h&j(Rp(U!bp'9tOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q![#Ge![!^%Z!^!_*g!_!c%Z!c!i#Ge!i#O%Z#O#P&c#P#R%Z#R#S#Ge#S#T%Z#T#Z#Ge#Z#b%Z#b#c#>_#c#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z*)x#Il_!d$b$h&j#})Lv(Rp(U!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z)[#Jv_al$h&j(Rp(U!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z04f#LS^h#)`#O-Mq[t]||-1},{term:338,get:t=>Bq[t]||-1},{term:92,get:t=>Vq[t]||-1}],tokenPrec:14749}),YA=[Mt("function ${name}(${params}) {\n ${}\n}",{label:"function",detail:"definition",type:"keyword"}),Mt("for (let ${index} = 0; ${index} < ${bound}; ${index}++) {\n ${}\n}",{label:"for",detail:"loop",type:"keyword"}),Mt("for (let ${name} of ${collection}) {\n ${}\n}",{label:"for",detail:"of loop",type:"keyword"}),Mt("do {\n ${}\n} while (${})",{label:"do",detail:"loop",type:"keyword"}),Mt("while (${}) {\n ${}\n}",{label:"while",detail:"loop",type:"keyword"}),Mt(`try { +var uee=Object.defineProperty;var u=(Lp,Ul)=>uee(Lp,"name",{value:Ul,configurable:!0});(function(){"use strict";var lr,El,oo,Lr,Ct,so,ju,qu,Ku,Gu,_u,Rl,Ju,ho,nc,Ml,ac,Wr,dc,Nl,go,bc;(function(){const t={NODE_ENV:"production"};try{if(process){process.env=Object.assign({},process.env),Object.assign(process.env,t);return}}catch{}globalThis.process={env:t}})();var Lp=Object.defineProperty,Ul=u((t,e)=>Lp(t,"name",{value:e,configurable:!0}),"n$l");const Wp="tangible/fields/",Qi=Ul((t,e={})=>{const n=new CustomEvent(Wp+t,{detail:e});window.dispatchEvent(n)},"triggerEvent"),Yl=Ul((t,e)=>{const n=Ul(r=>e(r.detail??{},r),"eventCallback");return window.addEventListener(Wp+t,n),n},"addEventListener"),Xp=Ul((t,e)=>window.removeEventListener(Wp+t,e),"removeEventListener"),De=typeof document<"u"?wp.element.useLayoutEffect:()=>{};function Ne(t){const e=(0,wp.element.useRef)(null);return De(()=>{e.current=t},[t]),(0,wp.element.useCallback)((...n)=>{const r=e.current;return r?.(...n)},[])}u(Ne,"$8ae05eaa5c114e9c$export$7f54fc3180508a52");function U9(t){let[e,n]=(0,wp.element.useState)(t),r=(0,wp.element.useRef)(null),i=Ne(()=>{if(!r.current)return;let a=r.current.next();if(a.done){r.current=null;return}e===a.value?i():n(a.value)});De(()=>{r.current&&i()});let l=Ne(a=>{r.current=a(e),i()});return[e,l]}u(U9,"$1dbecbe27a04f9af$export$14d238f342723f25");const Cc={prefix:String(Math.round(Math.random()*1e10)),current:0},o3=wp.element.createContext(Cc),Y9=wp.element.createContext(!1);let K9=!!(typeof window<"u"&&window.document&&window.document.createElement),jp=new WeakMap;function G9(t=!1){let e=(0,wp.element.useContext)(o3),n=(0,wp.element.useRef)(null);if(n.current===null&&!t){var r,i;let l=(i=wp.element.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED)===null||i===void 0||(r=i.ReactCurrentOwner)===null||r===void 0?void 0:r.current;if(l){let a=jp.get(l);a==null?jp.set(l,{id:e.current,state:l.memoizedState}):l.memoizedState!==a.state&&(e.current=a.id,jp.delete(l))}n.current=++e.current}return n.current}u(G9,"$b5e257d569688ac6$var$useCounter");function H9(t){let e=(0,wp.element.useContext)(o3);e===Cc&&!K9&&console.warn("When server rendering, you must wrap your application in an to ensure consistent ids are generated between the client and server.");let n=G9(!!t),r=e===Cc&&process.env.NODE_ENV==="test"?"react-aria":`react-aria${e.prefix}`;return t||`${r}-${n}`}u(H9,"$b5e257d569688ac6$var$useLegacySSRSafeId");function _9(t){let e=wp.element.useId(),[n]=(0,wp.element.useState)(Dc()),r=n||process.env.NODE_ENV==="test"?"react-aria":`react-aria${Cc.prefix}`;return t||`${r}-${e}`}u(_9,"$b5e257d569688ac6$var$useModernSSRSafeId");const J9=typeof wp.element.useId=="function"?_9:H9;function eQ(){return!1}u(eQ,"$b5e257d569688ac6$var$getSnapshot");function tQ(){return!0}u(tQ,"$b5e257d569688ac6$var$getServerSnapshot");function nQ(t){return()=>{}}u(nQ,"$b5e257d569688ac6$var$subscribe");function Dc(){return typeof wp.element.useSyncExternalStore=="function"?wp.element.useSyncExternalStore(nQ,eQ,tQ):(0,wp.element.useContext)(Y9)}u(Dc,"$b5e257d569688ac6$export$535bd6ca7f90a273");let rQ=!!(typeof window<"u"&&window.document&&window.document.createElement),qr=new Map;function Fe(t){let[e,n]=(0,wp.element.useState)(t),r=(0,wp.element.useRef)(null),i=J9(e),l=(0,wp.element.useCallback)(a=>{r.current=a},[]);return rQ&&(qr.has(i)&&!qr.get(i).includes(l)?qr.set(i,[...qr.get(i),l]):qr.set(i,[l])),De(()=>{let a=i;return()=>{qr.delete(a)}},[i]),(0,wp.element.useEffect)(()=>{let a=r.current;a&&(r.current=null,n(a))}),i}u(Fe,"$bdb11010cef70236$export$f680877a34711e37");function iQ(t,e){if(t===e)return t;let n=qr.get(t);if(n)return n.forEach(i=>i(e)),e;let r=qr.get(e);return r?(r.forEach(i=>i(t)),t):e}u(iQ,"$bdb11010cef70236$export$cd8c9cb68f842629");function Kl(t=[]){let e=Fe(),[n,r]=U9(e),i=(0,wp.element.useCallback)(()=>{r(function*(){yield e,yield document.getElementById(e)?e:void 0})},[e,r]);return De(i,[e,i,...t]),n}u(Kl,"$bdb11010cef70236$export$b4cc09c592e8fdb8");function fr(...t){return(...e)=>{for(let n of t)typeof n=="function"&&n(...e)}}u(fr,"$ff5963eb1fccf552$export$e08e3b67e392101e");const Oe=u(t=>{var e;return(e=t?.ownerDocument)!==null&&e!==void 0?e:document},"$431fbd86ca7dc216$export$b204af158042fbac"),Jt=u(t=>t&&"window"in t&&t.window===t?t:Oe(t).defaultView||window,"$431fbd86ca7dc216$export$f21a1ffae260145a");function s3(t){var e,n,r="";if(typeof t=="string"||typeof t=="number")r+=t;else if(typeof t=="object")if(Array.isArray(t)){var i=t.length;for(e=0;e=65&&i.charCodeAt(2)<=90?e[i]=fr(l,a):(i==="className"||i==="UNSAFE_className")&&typeof l=="string"&&typeof a=="string"?e[i]=lQ(l,a):i==="id"&&l&&a?e.id=iQ(l,a):e[i]=a!==void 0?a:l}}return e}u(te,"$3ef42575df84b30b$export$9d1611c77c2fe928");const aQ=new Set(["id"]),oQ=new Set(["aria-label","aria-labelledby","aria-describedby","aria-details"]),sQ=new Set(["href","hrefLang","target","rel","download","ping","referrerPolicy"]),uQ=/^(data-.*)$/;function ft(t,e={}){let{labelable:n,isLink:r,propNames:i}=e,l={};for(const a in t)Object.prototype.hasOwnProperty.call(t,a)&&(aQ.has(a)||n&&oQ.has(a)||r&&sQ.has(a)||i?.has(a)||uQ.test(a))&&(l[a]=t[a]);return l}u(ft,"$65484d02dcb7eb3e$export$457c3d6518dd4c6f");function en(t){if(cQ())t.focus({preventScroll:!0});else{let e=dQ(t);t.focus(),fQ(e)}}u(en,"$7215afc6de606d6b$export$de79e2c695e052f3");let kc=null;function cQ(){if(kc==null){kc=!1;try{document.createElement("div").focus({get preventScroll(){return kc=!0,!0}})}catch{}}return kc}u(cQ,"$7215afc6de606d6b$var$supportsPreventScroll");function dQ(t){let e=t.parentNode,n=[],r=document.scrollingElement||document.documentElement;for(;e instanceof HTMLElement&&e!==r;)(e.offsetHeight"u"||window.navigator==null?!1:((e=window.navigator.userAgentData)===null||e===void 0?void 0:e.brands.some(n=>t.test(n.brand)))||t.test(window.navigator.userAgent)}u(Pc,"$c87311424ea30a05$var$testUserAgent");function qp(t){var e;return typeof window<"u"&&window.navigator!=null?t.test(((e=window.navigator.userAgentData)===null||e===void 0?void 0:e.platform)||window.navigator.platform):!1}u(qp,"$c87311424ea30a05$var$testPlatform");function hr(t){let e=null;return()=>(e==null&&(e=t()),e)}u(hr,"$c87311424ea30a05$var$cached");const pr=hr(function(){return qp(/^Mac/i)}),u3=hr(function(){return qp(/^iPhone/i)}),c3=hr(function(){return qp(/^iPad/i)||pr()&&navigator.maxTouchPoints>1}),Mi=hr(function(){return u3()||c3()}),Ec=hr(function(){return pr()||Mi()}),Up=hr(function(){return Pc(/AppleWebKit/i)&&!hQ()}),hQ=hr(function(){return Pc(/Chrome/i)}),Ac=hr(function(){return Pc(/Android/i)}),pQ=hr(function(){return Pc(/Firefox/i)}),mQ=(0,wp.element.createContext)({isNative:!0,open:OQ,useHref:t=>t});function Tc(){return(0,wp.element.useContext)(mQ)}u(Tc,"$ea8dcbcb9ea1b556$export$9a302a45f65d0572");function Bi(t,e,n=!0){var r,i;let{metaKey:l,ctrlKey:a,altKey:o,shiftKey:s}=e;pQ()&&(!((i=window.event)===null||i===void 0||(r=i.type)===null||r===void 0)&&r.startsWith("key"))&&t.target==="_blank"&&(pr()?l=!0:a=!0);let c=Up()&&pr()&&!c3()?new KeyboardEvent("keydown",{keyIdentifier:"Enter",metaKey:l,ctrlKey:a,altKey:o,shiftKey:s}):new MouseEvent("click",{metaKey:l,ctrlKey:a,altKey:o,shiftKey:s,bubbles:!0,cancelable:!0});Bi.isOpening=n,en(t),t.dispatchEvent(c),Bi.isOpening=!1}u(Bi,"$ea8dcbcb9ea1b556$export$95185d699e05d4d7"),Bi.isOpening=!1;function gQ(t,e){if(t instanceof HTMLAnchorElement)e(t);else if(t.hasAttribute("data-href")){let n=document.createElement("a");n.href=t.getAttribute("data-href"),t.hasAttribute("data-target")&&(n.target=t.getAttribute("data-target")),t.hasAttribute("data-rel")&&(n.rel=t.getAttribute("data-rel")),t.hasAttribute("data-download")&&(n.download=t.getAttribute("data-download")),t.hasAttribute("data-ping")&&(n.ping=t.getAttribute("data-ping")),t.hasAttribute("data-referrer-policy")&&(n.referrerPolicy=t.getAttribute("data-referrer-policy")),t.appendChild(n),e(n),t.removeChild(n)}}u(gQ,"$ea8dcbcb9ea1b556$var$getSyntheticLink");function OQ(t,e){gQ(t,n=>Bi(n,e))}u(OQ,"$ea8dcbcb9ea1b556$var$openSyntheticLink");function bQ(t){let e=Tc();var n;const r=e.useHref((n=t?.href)!==null&&n!==void 0?n:"");return{href:t?.href?r:void 0,target:t?.target,rel:t?.rel,download:t?.download,ping:t?.ping,referrerPolicy:t?.referrerPolicy}}u(bQ,"$ea8dcbcb9ea1b556$export$7e924b3091a3bd18");let Gl=new Map,Yp=new Set;function d3(){if(typeof window>"u")return;function t(r){return"propertyName"in r}u(t,"isTransitionEvent");let e=u(r=>{if(!t(r)||!r.target)return;let i=Gl.get(r.target);i||(i=new Set,Gl.set(r.target,i),r.target.addEventListener("transitioncancel",n,{once:!0})),i.add(r.propertyName)},"onTransitionStart"),n=u(r=>{if(!t(r)||!r.target)return;let i=Gl.get(r.target);if(i&&(i.delete(r.propertyName),i.size===0&&(r.target.removeEventListener("transitioncancel",n),Gl.delete(r.target)),Gl.size===0)){for(let l of Yp)l();Yp.clear()}},"onTransitionEnd");document.body.addEventListener("transitionrun",e),document.body.addEventListener("transitionend",n)}u(d3,"$bbed8b41f857bcc0$var$setupGlobalEvents"),typeof document<"u"&&(document.readyState!=="loading"?d3():document.addEventListener("DOMContentLoaded",d3));function f3(t){requestAnimationFrame(()=>{Gl.size===0?t():Yp.add(t)})}u(f3,"$bbed8b41f857bcc0$export$24490316f764c430");function Vi(){let t=(0,wp.element.useRef)(new Map),e=(0,wp.element.useCallback)((i,l,a,o)=>{let s=o?.once?(...c)=>{t.current.delete(a),a(...c)}:a;t.current.set(a,{type:l,eventTarget:i,fn:s,options:o}),i.addEventListener(l,a,o)},[]),n=(0,wp.element.useCallback)((i,l,a,o)=>{var s;let c=((s=t.current.get(a))===null||s===void 0?void 0:s.fn)||a;i.removeEventListener(l,c,o),t.current.delete(a)},[]),r=(0,wp.element.useCallback)(()=>{t.current.forEach((i,l)=>{n(i.eventTarget,i.type,l,i.options)})},[n]);return(0,wp.element.useEffect)(()=>r,[r]),{addGlobalListener:e,removeGlobalListener:n,removeAllGlobalListeners:r}}u(Vi,"$03deb23ff14920c4$export$4eaf04e54aa8eed6");function Mn(t,e){let{id:n,"aria-label":r,"aria-labelledby":i}=t;return n=Fe(n),i&&r?i=[...new Set([n,...i.trim().split(/\s+/)])].join(" "):i&&(i=i.trim().split(/\s+/).join(" ")),!r&&!i&&e&&(r=e),{id:n,"aria-label":r,"aria-labelledby":i}}u(Mn,"$313b98861ee5dd6c$export$d6875122194c7b44");function h3(t,e){const n=(0,wp.element.useRef)(!0),r=(0,wp.element.useRef)(null);(0,wp.element.useEffect)(()=>(n.current=!0,()=>{n.current=!1}),[]),(0,wp.element.useEffect)(()=>{n.current?n.current=!1:(!r.current||e.some((i,l)=>!Object.is(i,r[l])))&&t(),r.current=e},e)}u(h3,"$4f58c5f72bcf79f7$export$496315a1608d9602");function yQ(){return typeof window.ResizeObserver<"u"}u(yQ,"$9daab02d461809db$var$hasResizeObserver");function p3(t){const{ref:e,box:n,onResize:r}=t;(0,wp.element.useEffect)(()=>{let i=e?.current;if(i)if(yQ()){const l=new window.ResizeObserver(a=>{a.length&&r()});return l.observe(i,{box:n}),()=>{i&&l.unobserve(i)}}else return window.addEventListener("resize",r,!1),()=>{window.removeEventListener("resize",r,!1)}},[r,e,n])}u(p3,"$9daab02d461809db$export$683480f191c0e3ea");function m3(t,e){De(()=>{if(t&&t.ref&&e)return t.ref.current=e.current,()=>{t.ref&&(t.ref.current=null)}})}u(m3,"$e7801be82b4b2a53$export$4debdb1a3f0fa79e");function So(t,e){let n=window.getComputedStyle(t),r=/(auto|scroll)/.test(n.overflow+n.overflowX+n.overflowY);return r&&e&&(r=t.scrollHeight!==t.clientHeight||t.scrollWidth!==t.clientWidth),r}u(So,"$cc38e7bd3fc7b213$export$2bb74740c4e19def");function Rc(t,e){let n=t;for(So(n,e)&&(n=n.parentElement);n&&!So(n,e);)n=n.parentElement;return n||document.scrollingElement||document.documentElement}u(Rc,"$62d8ded9296f3872$export$cfa2225e87938781");function vQ(t,e){const n=[];for(;t&&t!==document.documentElement;)So(t,e)&&n.push(t),t=t.parentElement;return n}u(vQ,"$a40c673dc9f6d9c7$export$94ed1c92c7beeb22");let $Q=0;const Kp=new Map;function Co(t){let[e,n]=(0,wp.element.useState)();return De(()=>{if(!t)return;let r=Kp.get(t);if(r)n(r.element.id);else{let i=`react-aria-description-${$Q++}`;n(i);let l=document.createElement("div");l.id=i,l.style.display="none",l.textContent=t,document.body.appendChild(l),r={refCount:0,element:l},Kp.set(t,r)}return r.refCount++,()=>{r&&--r.refCount===0&&(r.element.remove(),Kp.delete(t))}},[t]),{"aria-describedby":t?e:void 0}}u(Co,"$ef06256079686ba0$export$f8aeda7b10753fa1");function mr(t,e,n,r){let i=Ne(n),l=n==null;(0,wp.element.useEffect)(()=>{if(l||!t.current)return;let a=t.current;return a.addEventListener(e,i,r),()=>{a.removeEventListener(e,i,r)}},[t,e,r,l,i])}u(mr,"$e9faafb641e167db$export$90fc3a17d93f704c");function g3(t,e){let n=O3(t,e,"left"),r=O3(t,e,"top"),i=e.offsetWidth,l=e.offsetHeight,a=t.scrollLeft,o=t.scrollTop,{borderTopWidth:s,borderLeftWidth:c}=getComputedStyle(t),d=t.scrollLeft+parseInt(c,10),f=t.scrollTop+parseInt(s,10),h=d+t.clientWidth,p=f+t.clientHeight;n<=a?a=n-parseInt(c,10):n+i>h&&(a+=n+i-h),r<=f?o=r-parseInt(s,10):r+l>p&&(o+=r+l-p),t.scrollLeft=a,t.scrollTop=o}u(g3,"$2f04cbc44ee30ce0$export$53a0910f038337bd");function O3(t,e,n){const r=n==="left"?"offsetLeft":"offsetTop";let i=0;for(;e.offsetParent&&(i+=e[r],e.offsetParent!==t);){if(e.offsetParent.contains(t)){i-=t[r];break}e=e.offsetParent}return i}u(O3,"$2f04cbc44ee30ce0$var$relativeOffset");function Qc(t,e){if(document.contains(t)){let a=document.scrollingElement||document.documentElement;if(window.getComputedStyle(a).overflow==="hidden"){let s=vQ(t);for(let c of s)g3(c,t)}else{var n;let{left:s,top:c}=t.getBoundingClientRect();t==null||(n=t.scrollIntoView)===null||n===void 0||n.call(t,{block:"nearest"});let{left:d,top:f}=t.getBoundingClientRect();if(Math.abs(s-d)>1||Math.abs(c-f)>1){var r,i,l;e==null||(i=e.containingElement)===null||i===void 0||(r=i.scrollIntoView)===null||r===void 0||r.call(i,{block:"center",inline:"center"}),(l=t.scrollIntoView)===null||l===void 0||l.call(t,{block:"nearest"})}}}}u(Qc,"$2f04cbc44ee30ce0$export$c826860796309d1b");function Gp(t){return t.mozInputSource===0&&t.isTrusted?!0:Ac()&&t.pointerType?t.type==="click"&&t.buttons===1:t.detail===0&&!t.pointerType}u(Gp,"$6a7db85432448f7f$export$60278871457622de");function wQ(t){return!Ac()&&t.width===0&&t.height===0||t.width===1&&t.height===1&&t.pressure===0&&t.detail===0&&t.pointerType==="mouse"}u(wQ,"$6a7db85432448f7f$export$29bf1b5f2c56cf63");function b3(t,e){let n=(0,wp.element.useRef)(null);return t&&n.current&&e(t,n.current)&&(t=n.current),n.current=t,t}u(b3,"$5a387cc49350e6db$export$722debc0e56fea39");function Ur(t,e,n){let r=(0,wp.element.useRef)(e),i=Ne(()=>{n&&n(r.current)});(0,wp.element.useEffect)(()=>{var l;let a=t==null||(l=t.current)===null||l===void 0?void 0:l.form;return a?.addEventListener("reset",i),()=>{a?.removeEventListener("reset",i)}},[t,i])}u(Ur,"$99facab73266f662$export$5add1d006293d136");function Le(t,e,n){let[r,i]=(0,wp.element.useState)(t||e),l=(0,wp.element.useRef)(t!==void 0),a=t!==void 0;(0,wp.element.useEffect)(()=>{let c=l.current;c!==a&&console.warn(`WARN: A component changed from ${c?"controlled":"uncontrolled"} to ${a?"controlled":"uncontrolled"}.`),l.current=a},[a]);let o=a?t:r,s=(0,wp.element.useCallback)((c,...d)=>{let f=u((h,...p)=>{n&&(Object.is(o,h)||n(h,...p)),a||(o=h)},"onChangeCaller");typeof c=="function"?(console.warn("We can not support a function callback. See Github Issues for details https://github.com/adobe/react-spectrum/issues/2320"),i(u((p,...m)=>{let g=c(a?o:p,...m);return f(g,...d),a?p:g},"updateFunction"))):(a||i(c),f(c,...d))},[a,o,n]);return[o,s]}u(Le,"$458b0a5536c1a7cf$export$40bfa8c7b0832715");function We(t,e=-1/0,n=1/0){return Math.min(Math.max(t,e),n)}u(We,"$9446cca9a3875146$export$7d15b64cf5a3a4c4");function Mc(t,e){let n=t,r=e.toString(),i=r.indexOf("."),l=i>=0?r.length-i:0;if(l>0){let a=Math.pow(10,l);n=Math.round(n*a)/a}return n}u(Mc,"$9446cca9a3875146$export$e1a7b8e69ef6c52f");function Ie(t,e,n,r){e=Number(e),n=Number(n);let i=(t-(isNaN(e)?0:e))%r,l=Mc(Math.abs(i)*2>=r?t+Math.sign(i)*(r-Math.abs(i)):t-i,r);return isNaN(e)?!isNaN(n)&&l>n&&(l=Math.floor(Mc(n/r,r))*r):ln&&(l=e+Math.floor(Mc((n-e)/r,r))*r),l=Mc(l,r),l}u(Ie,"$9446cca9a3875146$export$cb6e0bb50bc19463");function Ze(t,e,n=10){const r=Math.pow(n,e);return Math.round(t*r)/r}u(Ze,"$9446cca9a3875146$export$b6268554fba451f");let Hl="default",Hp="",Bc=new WeakMap;function _p(t){if(Mi()){if(Hl==="default"){const e=Oe(t);Hp=e.documentElement.style.webkitUserSelect,e.documentElement.style.webkitUserSelect="none"}Hl="disabled"}else(t instanceof HTMLElement||t instanceof SVGElement)&&(Bc.set(t,t.style.userSelect),t.style.userSelect="none")}u(_p,"$14c0b72509d70225$export$16a4697467175487");function Do(t){if(Mi()){if(Hl!=="disabled")return;Hl="restoring",setTimeout(()=>{f3(()=>{if(Hl==="restoring"){const e=Oe(t);e.documentElement.style.webkitUserSelect==="none"&&(e.documentElement.style.webkitUserSelect=Hp||""),Hp="",Hl="default"}})},300)}else if((t instanceof HTMLElement||t instanceof SVGElement)&&t&&Bc.has(t)){let e=Bc.get(t);t.style.userSelect==="none"&&(t.style.userSelect=e),t.getAttribute("style")===""&&t.removeAttribute("style"),Bc.delete(t)}}u(Do,"$14c0b72509d70225$export$b0d6fa1ab32e3295");const Jp=wp.element.createContext({register:()=>{}});Jp.displayName="PressResponderContext";function xQ(t,e){return e.get?e.get.call(t):e.value}u(xQ,"_class_apply_descriptor_get");function y3(t,e,n){if(!e.has(t))throw new TypeError("attempted to "+n+" private field on non-instance");return e.get(t)}u(y3,"_class_extract_field_descriptor");function SQ(t,e){var n=y3(t,e,"get");return xQ(t,n)}u(SQ,"_class_private_field_get");function CQ(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")}u(CQ,"_check_private_redeclaration");function ko(t,e,n){CQ(t,e),e.set(t,n)}u(ko,"_class_private_field_init");function DQ(t,e,n){if(e.set)e.set.call(t,n);else{if(!e.writable)throw new TypeError("attempted to set read only private field");e.value=n}}u(DQ,"_class_apply_descriptor_set");function v3(t,e,n){var r=y3(t,e,"set");return DQ(t,r,n),n}u(v3,"_class_private_field_set");function kQ(t){let e=(0,wp.element.useContext)(Jp);if(e){let{register:n,...r}=e;t=te(r,t),n()}return m3(e,t.ref),t}u(kQ,"$f6c31cce2adf654f$var$usePressResponderContext");var Vc=new WeakMap;const s1=class s1{continuePropagation(){v3(this,Vc,!1)}get shouldStopPropagation(){return SQ(this,Vc)}constructor(e,n,r,i){ko(this,Vc,{writable:!0,value:void 0}),v3(this,Vc,!0);var l;let a=(l=i?.target)!==null&&l!==void 0?l:r.currentTarget;const o=a?.getBoundingClientRect();let s,c=0,d,f=null;r.clientX!=null&&r.clientY!=null&&(d=r.clientX,f=r.clientY),o&&(d!=null&&f!=null?(s=d-o.left,c=f-o.top):(s=o.width/2,c=o.height/2)),this.type=e,this.pointerType=n,this.target=r.currentTarget,this.shiftKey=r.shiftKey,this.metaKey=r.metaKey,this.ctrlKey=r.ctrlKey,this.altKey=r.altKey,this.x=s,this.y=c}};u(s1,"$f6c31cce2adf654f$var$PressEvent");let _l=s1;const $3=Symbol("linkClicked");function gr(t){let{onPress:e,onPressChange:n,onPressStart:r,onPressEnd:i,onPressUp:l,isDisabled:a,isPressed:o,preventFocusOnPress:s,shouldCancelOnPointerExit:c,allowTextSelectionOnPress:d,ref:f,...h}=kQ(t),[p,m]=(0,wp.element.useState)(!1),g=(0,wp.element.useRef)({isPressed:!1,ignoreEmulatedMouseEvents:!1,ignoreClickAfterPress:!1,didFirePressStart:!1,isTriggeringEvent:!1,activePointerId:null,target:null,isOverTarget:!1,pointerType:null}),{addGlobalListener:O,removeAllGlobalListeners:b}=Vi(),y=Ne((v,k)=>{let D=g.current;if(a||D.didFirePressStart)return!1;let S=!0;if(D.isTriggeringEvent=!0,r){let E=new _l("pressstart",k,v);r(E),S=E.shouldStopPropagation}return n&&n(!0),D.isTriggeringEvent=!1,D.didFirePressStart=!0,m(!0),S}),$=Ne((v,k,D=!0)=>{let S=g.current;if(!S.didFirePressStart)return!1;S.ignoreClickAfterPress=!0,S.didFirePressStart=!1,S.isTriggeringEvent=!0;let E=!0;if(i){let A=new _l("pressend",k,v);i(A),E=A.shouldStopPropagation}if(n&&n(!1),m(!1),e&&D&&!a){let A=new _l("press",k,v);e(A),E&&(E=A.shouldStopPropagation)}return S.isTriggeringEvent=!1,E}),C=Ne((v,k)=>{let D=g.current;if(a)return!1;if(l){D.isTriggeringEvent=!0;let S=new _l("pressup",k,v);return l(S),D.isTriggeringEvent=!1,S.shouldStopPropagation}return!0}),w=Ne(v=>{let k=g.current;k.isPressed&&k.target&&(k.isOverTarget&&k.pointerType!=null&&$(Or(k.target,v),k.pointerType,!1),k.isPressed=!1,k.isOverTarget=!1,k.activePointerId=null,k.pointerType=null,b(),d||Do(k.target))}),x=Ne(v=>{c&&w(v)}),P=(0,wp.element.useMemo)(()=>{let v=g.current,k={onKeyDown(S){if(tm(S.nativeEvent,S.currentTarget)&&S.currentTarget.contains(S.target)){var E;S3(S.target,S.key)&&S.preventDefault();let A=!0;if(!v.isPressed&&!S.repeat){v.target=S.currentTarget,v.isPressed=!0,A=y(S,"keyboard");let B=S.currentTarget,T=u(R=>{tm(R,B)&&!R.repeat&&B.contains(R.target)&&v.target&&C(Or(v.target,R),"keyboard")},"pressUp");O(Oe(S.currentTarget),"keyup",fr(T,D),!0)}A&&S.stopPropagation(),S.metaKey&&pr()&&((E=v.metaKeyEvents)===null||E===void 0||E.set(S.key,S.nativeEvent))}else S.key==="Meta"&&(v.metaKeyEvents=new Map)},onClick(S){if(!(S&&!S.currentTarget.contains(S.target))&&S&&S.button===0&&!v.isTriggeringEvent&&!Bi.isOpening){let E=!0;if(a&&S.preventDefault(),!v.ignoreClickAfterPress&&!v.ignoreEmulatedMouseEvents&&!v.isPressed&&(v.pointerType==="virtual"||Gp(S.nativeEvent))){!a&&!s&&en(S.currentTarget);let A=y(S,"virtual"),B=C(S,"virtual"),T=$(S,"virtual");E=A&&B&&T}v.ignoreEmulatedMouseEvents=!1,v.ignoreClickAfterPress=!1,E&&S.stopPropagation()}}},D=u(S=>{var E;if(v.isPressed&&v.target&&tm(S,v.target)){var A;S3(S.target,S.key)&&S.preventDefault();let T=S.target;$(Or(v.target,S),"keyboard",v.target.contains(T)),b(),S.key!=="Enter"&&em(v.target)&&v.target.contains(T)&&!S[$3]&&(S[$3]=!0,Bi(v.target,S,!1)),v.isPressed=!1,(A=v.metaKeyEvents)===null||A===void 0||A.delete(S.key)}else if(S.key==="Meta"&&(!((E=v.metaKeyEvents)===null||E===void 0)&&E.size)){var B;let T=v.metaKeyEvents;v.metaKeyEvents=void 0;for(let R of T.values())(B=v.target)===null||B===void 0||B.dispatchEvent(new KeyboardEvent("keyup",R))}},"onKeyUp");if(typeof PointerEvent<"u"){k.onPointerDown=T=>{if(T.button!==0||!T.currentTarget.contains(T.target))return;if(wQ(T.nativeEvent)){v.pointerType="virtual";return}nm(T.currentTarget)&&T.preventDefault(),v.pointerType=T.pointerType;let R=!0;v.isPressed||(v.isPressed=!0,v.isOverTarget=!0,v.activePointerId=T.pointerId,v.target=T.currentTarget,!a&&!s&&en(T.currentTarget),d||_p(v.target),R=y(T,v.pointerType),O(Oe(T.currentTarget),"pointermove",S,!1),O(Oe(T.currentTarget),"pointerup",E,!1),O(Oe(T.currentTarget),"pointercancel",B,!1)),R&&T.stopPropagation()},k.onMouseDown=T=>{T.currentTarget.contains(T.target)&&T.button===0&&(nm(T.currentTarget)&&T.preventDefault(),T.stopPropagation())},k.onPointerUp=T=>{!T.currentTarget.contains(T.target)||v.pointerType==="virtual"||T.button===0&&Jl(T,T.currentTarget)&&C(T,v.pointerType||T.pointerType)};let S=u(T=>{T.pointerId===v.activePointerId&&(v.target&&Jl(T,v.target)?!v.isOverTarget&&v.pointerType!=null&&(v.isOverTarget=!0,y(Or(v.target,T),v.pointerType)):v.target&&v.isOverTarget&&v.pointerType!=null&&(v.isOverTarget=!1,$(Or(v.target,T),v.pointerType,!1),x(T)))},"onPointerMove"),E=u(T=>{T.pointerId===v.activePointerId&&v.isPressed&&T.button===0&&v.target&&(Jl(T,v.target)&&v.pointerType!=null?$(Or(v.target,T),v.pointerType):v.isOverTarget&&v.pointerType!=null&&$(Or(v.target,T),v.pointerType,!1),v.isPressed=!1,v.isOverTarget=!1,v.activePointerId=null,v.pointerType=null,b(),d||Do(v.target),"ontouchend"in v.target&&T.pointerType!=="mouse"&&O(v.target,"touchend",A,{once:!0}))},"onPointerUp"),A=u(T=>{x3(T.currentTarget)&&T.preventDefault()},"onTouchEnd"),B=u(T=>{w(T)},"onPointerCancel");k.onDragStart=T=>{T.currentTarget.contains(T.target)&&w(T)}}else{k.onMouseDown=A=>{if(A.button!==0||!A.currentTarget.contains(A.target))return;if(nm(A.currentTarget)&&A.preventDefault(),v.ignoreEmulatedMouseEvents){A.stopPropagation();return}v.isPressed=!0,v.isOverTarget=!0,v.target=A.currentTarget,v.pointerType=Gp(A.nativeEvent)?"virtual":"mouse",!a&&!s&&en(A.currentTarget),y(A,v.pointerType)&&A.stopPropagation(),O(Oe(A.currentTarget),"mouseup",S,!1)},k.onMouseEnter=A=>{if(!A.currentTarget.contains(A.target))return;let B=!0;v.isPressed&&!v.ignoreEmulatedMouseEvents&&v.pointerType!=null&&(v.isOverTarget=!0,B=y(A,v.pointerType)),B&&A.stopPropagation()},k.onMouseLeave=A=>{if(!A.currentTarget.contains(A.target))return;let B=!0;v.isPressed&&!v.ignoreEmulatedMouseEvents&&v.pointerType!=null&&(v.isOverTarget=!1,B=$(A,v.pointerType,!1),x(A)),B&&A.stopPropagation()},k.onMouseUp=A=>{A.currentTarget.contains(A.target)&&!v.ignoreEmulatedMouseEvents&&A.button===0&&C(A,v.pointerType||"mouse")};let S=u(A=>{if(A.button===0){if(v.isPressed=!1,b(),v.ignoreEmulatedMouseEvents){v.ignoreEmulatedMouseEvents=!1;return}v.target&&Jl(A,v.target)&&v.pointerType!=null?$(Or(v.target,A),v.pointerType):v.target&&v.isOverTarget&&v.pointerType!=null&&$(Or(v.target,A),v.pointerType,!1),v.isOverTarget=!1}},"onMouseUp");k.onTouchStart=A=>{if(!A.currentTarget.contains(A.target))return;let B=PQ(A.nativeEvent);if(!B)return;v.activePointerId=B.identifier,v.ignoreEmulatedMouseEvents=!0,v.isOverTarget=!0,v.isPressed=!0,v.target=A.currentTarget,v.pointerType="touch",!a&&!s&&en(A.currentTarget),d||_p(v.target),y(Yr(v.target,A),v.pointerType)&&A.stopPropagation(),O(Jt(A.currentTarget),"scroll",E,!0)},k.onTouchMove=A=>{if(!A.currentTarget.contains(A.target))return;if(!v.isPressed){A.stopPropagation();return}let B=w3(A.nativeEvent,v.activePointerId),T=!0;B&&Jl(B,A.currentTarget)?!v.isOverTarget&&v.pointerType!=null&&(v.isOverTarget=!0,T=y(Yr(v.target,A),v.pointerType)):v.isOverTarget&&v.pointerType!=null&&(v.isOverTarget=!1,T=$(Yr(v.target,A),v.pointerType,!1),x(Yr(v.target,A))),T&&A.stopPropagation()},k.onTouchEnd=A=>{if(!A.currentTarget.contains(A.target))return;if(!v.isPressed){A.stopPropagation();return}let B=w3(A.nativeEvent,v.activePointerId),T=!0;B&&Jl(B,A.currentTarget)&&v.pointerType!=null?(C(Yr(v.target,A),v.pointerType),T=$(Yr(v.target,A),v.pointerType)):v.isOverTarget&&v.pointerType!=null&&(T=$(Yr(v.target,A),v.pointerType,!1)),T&&A.stopPropagation(),v.isPressed=!1,v.activePointerId=null,v.isOverTarget=!1,v.ignoreEmulatedMouseEvents=!0,v.target&&!d&&Do(v.target),b()},k.onTouchCancel=A=>{A.currentTarget.contains(A.target)&&(A.stopPropagation(),v.isPressed&&w(Yr(v.target,A)))};let E=u(A=>{v.isPressed&&A.target.contains(v.target)&&w({currentTarget:v.target,shiftKey:!1,ctrlKey:!1,metaKey:!1,altKey:!1})},"onScroll");k.onDragStart=A=>{A.currentTarget.contains(A.target)&&w(A)}}return k},[O,a,s,b,d,w,x,$,y,C]);return(0,wp.element.useEffect)(()=>()=>{var v;d||Do((v=g.current.target)!==null&&v!==void 0?v:void 0)},[d]),{isPressed:o||p,pressProps:te(h,P)}}u(gr,"$f6c31cce2adf654f$export$45712eceda6fad21");function em(t){return t.tagName==="A"&&t.hasAttribute("href")}u(em,"$f6c31cce2adf654f$var$isHTMLAnchorLink");function tm(t,e){const{key:n,code:r}=t,i=e,l=i.getAttribute("role");return(n==="Enter"||n===" "||n==="Spacebar"||r==="Space")&&!(i instanceof Jt(i).HTMLInputElement&&!C3(i,n)||i instanceof Jt(i).HTMLTextAreaElement||i.isContentEditable)&&!((l==="link"||!l&&em(i))&&n!=="Enter")}u(tm,"$f6c31cce2adf654f$var$isValidKeyboardEvent");function PQ(t){const{targetTouches:e}=t;return e.length>0?e[0]:null}u(PQ,"$f6c31cce2adf654f$var$getTouchFromEvent");function w3(t,e){const n=t.changedTouches;for(let r=0;re.right||e.left>t.right||t.top>e.bottom||e.top>t.bottom)}u(AQ,"$f6c31cce2adf654f$var$areRectanglesOverlapping");function Jl(t,e){let n=e.getBoundingClientRect(),r=EQ(t);return AQ(n,r)}u(Jl,"$f6c31cce2adf654f$var$isOverTarget");function nm(t){return!(t instanceof HTMLElement)||!t.hasAttribute("draggable")}u(nm,"$f6c31cce2adf654f$var$shouldPreventDefaultDown");function x3(t){return t instanceof HTMLInputElement?!1:t instanceof HTMLButtonElement?t.type!=="submit"&&t.type!=="reset":!em(t)}u(x3,"$f6c31cce2adf654f$var$shouldPreventDefaultUp");function S3(t,e){return t instanceof HTMLInputElement?!C3(t,e):x3(t)}u(S3,"$f6c31cce2adf654f$var$shouldPreventDefaultKeyboard");const TQ=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function C3(t,e){return t.type==="checkbox"||t.type==="radio"?e===" ":TQ.has(t.type)}u(C3,"$f6c31cce2adf654f$var$isValidInputKey");function RQ({children:t}){let e=(0,wp.element.useMemo)(()=>({register:()=>{}}),[]);return wp.element.createElement(Jp.Provider,{value:e},t)}u(RQ,"$f1ab8c75478c6f73$export$cf75428e0b9ed1ea");const u1=class u1{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,n){this.nativeEvent=n,this.target=n.target,this.currentTarget=n.currentTarget,this.relatedTarget=n.relatedTarget,this.bubbles=n.bubbles,this.cancelable=n.cancelable,this.defaultPrevented=n.defaultPrevented,this.eventPhase=n.eventPhase,this.isTrusted=n.isTrusted,this.timeStamp=n.timeStamp,this.type=e}};u(u1,"$8a9cb279dc87e130$export$905e7fc544a71f36");let rm=u1;function D3(t){let e=(0,wp.element.useRef)({isFocused:!1,observer:null});De(()=>{const r=e.current;return()=>{r.observer&&(r.observer.disconnect(),r.observer=null)}},[]);let n=Ne(r=>{t?.(r)});return(0,wp.element.useCallback)(r=>{if(r.target instanceof HTMLButtonElement||r.target instanceof HTMLInputElement||r.target instanceof HTMLTextAreaElement||r.target instanceof HTMLSelectElement){e.current.isFocused=!0;let i=r.target,l=u(a=>{e.current.isFocused=!1,i.disabled&&n(new rm("blur",a)),e.current.observer&&(e.current.observer.disconnect(),e.current.observer=null)},"onBlurHandler");i.addEventListener("focusout",l,{once:!0}),e.current.observer=new MutationObserver(()=>{if(e.current.isFocused&&i.disabled){var a;(a=e.current.observer)===null||a===void 0||a.disconnect();let o=i===document.activeElement?null:document.activeElement;i.dispatchEvent(new FocusEvent("blur",{relatedTarget:o})),i.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:o}))}}),e.current.observer.observe(i,{attributes:!0,attributeFilter:["disabled"]})}},[n])}u(D3,"$8a9cb279dc87e130$export$715c682d09d639cc");function Po(t){let{isDisabled:e,onFocus:n,onBlur:r,onFocusChange:i}=t;const l=(0,wp.element.useCallback)(s=>{if(s.target===s.currentTarget)return r&&r(s),i&&i(!1),!0},[r,i]),a=D3(l),o=(0,wp.element.useCallback)(s=>{const c=Oe(s.target);s.target===s.currentTarget&&c.activeElement===s.target&&(n&&n(s),i&&i(!0),a(s))},[i,n,a]);return{focusProps:{onFocus:!e&&(n||i||r)?o:void 0,onBlur:!e&&(r||i)?l:void 0}}}u(Po,"$a1ea59d68270f0dd$export$f8168d8dd8fd66e6");let br=null,Eo=new Set,Ao=new Map,Ni=!1,im=!1;const QQ={Tab:!0,Escape:!0};function Nc(t,e){for(let n of Eo)n(t,e)}u(Nc,"$507fabe10e71c6fb$var$triggerChangeHandlers");function MQ(t){return!(t.metaKey||!pr()&&t.altKey||t.ctrlKey||t.key==="Control"||t.key==="Shift"||t.key==="Meta")}u(MQ,"$507fabe10e71c6fb$var$isValidKey");function Fc(t){Ni=!0,MQ(t)&&(br="keyboard",Nc("keyboard",t))}u(Fc,"$507fabe10e71c6fb$var$handleKeyboardEvent");function tn(t){br="pointer",(t.type==="mousedown"||t.type==="pointerdown")&&(Ni=!0,Nc("pointer",t))}u(tn,"$507fabe10e71c6fb$var$handlePointerEvent");function k3(t){Gp(t)&&(Ni=!0,br="virtual")}u(k3,"$507fabe10e71c6fb$var$handleClickEvent");function P3(t){t.target===window||t.target===document||(!Ni&&!im&&(br="virtual",Nc("virtual",t)),Ni=!1,im=!1)}u(P3,"$507fabe10e71c6fb$var$handleFocusEvent");function E3(){Ni=!1,im=!0}u(E3,"$507fabe10e71c6fb$var$handleWindowBlur");function Ic(t){if(typeof window>"u"||Ao.get(Jt(t)))return;const e=Jt(t),n=Oe(t);let r=e.HTMLElement.prototype.focus;e.HTMLElement.prototype.focus=function(){Ni=!0,r.apply(this,arguments)},n.addEventListener("keydown",Fc,!0),n.addEventListener("keyup",Fc,!0),n.addEventListener("click",k3,!0),e.addEventListener("focus",P3,!0),e.addEventListener("blur",E3,!1),typeof PointerEvent<"u"?(n.addEventListener("pointerdown",tn,!0),n.addEventListener("pointermove",tn,!0),n.addEventListener("pointerup",tn,!0)):(n.addEventListener("mousedown",tn,!0),n.addEventListener("mousemove",tn,!0),n.addEventListener("mouseup",tn,!0)),e.addEventListener("beforeunload",()=>{A3(t)},{once:!0}),Ao.set(e,{focus:r})}u(Ic,"$507fabe10e71c6fb$var$setupGlobalFocusEvents");const A3=u((t,e)=>{const n=Jt(t),r=Oe(t);e&&r.removeEventListener("DOMContentLoaded",e),Ao.has(n)&&(n.HTMLElement.prototype.focus=Ao.get(n).focus,r.removeEventListener("keydown",Fc,!0),r.removeEventListener("keyup",Fc,!0),r.removeEventListener("click",k3,!0),n.removeEventListener("focus",P3,!0),n.removeEventListener("blur",E3,!1),typeof PointerEvent<"u"?(r.removeEventListener("pointerdown",tn,!0),r.removeEventListener("pointermove",tn,!0),r.removeEventListener("pointerup",tn,!0)):(r.removeEventListener("mousedown",tn,!0),r.removeEventListener("mousemove",tn,!0),r.removeEventListener("mouseup",tn,!0)),Ao.delete(n))},"$507fabe10e71c6fb$var$tearDownWindowFocusTracking");function BQ(t){const e=Oe(t);let n;return e.readyState!=="loading"?Ic(t):(n=u(()=>{Ic(t)},"loadListener"),e.addEventListener("DOMContentLoaded",n)),()=>A3(t,n)}u(BQ,"$507fabe10e71c6fb$export$2f1888112f558a7d"),typeof document<"u"&&BQ();function Zc(){return br!=="pointer"}u(Zc,"$507fabe10e71c6fb$export$b9b3dfddab17db27");function zc(){return br}u(zc,"$507fabe10e71c6fb$export$630ff653c5ada6a9");function lm(t){br=t,Nc(t,null)}u(lm,"$507fabe10e71c6fb$export$8397ddfc504fdb9a");function VQ(){Ic();let[t,e]=(0,wp.element.useState)(br);return(0,wp.element.useEffect)(()=>{let n=u(()=>{e(br)},"handler");return Eo.add(n),()=>{Eo.delete(n)}},[]),Dc()?null:t}u(VQ,"$507fabe10e71c6fb$export$98e20ec92f614cfe");const NQ=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function FQ(t,e,n){var r;const i=typeof window<"u"?Jt(n?.target).HTMLInputElement:HTMLInputElement,l=typeof window<"u"?Jt(n?.target).HTMLTextAreaElement:HTMLTextAreaElement,a=typeof window<"u"?Jt(n?.target).HTMLElement:HTMLElement,o=typeof window<"u"?Jt(n?.target).KeyboardEvent:KeyboardEvent;return t=t||n?.target instanceof i&&!NQ.has(n==null||(r=n.target)===null||r===void 0?void 0:r.type)||n?.target instanceof l||n?.target instanceof a&&n?.target.isContentEditable,!(t&&e==="keyboard"&&n instanceof o&&!QQ[n.key])}u(FQ,"$507fabe10e71c6fb$var$isKeyboardFocusEvent");function IQ(t,e,n){Ic(),(0,wp.element.useEffect)(()=>{let r=u((i,l)=>{FQ(!!n?.isTextInput,i,l)&&t(Zc())},"handler");return Eo.add(r),()=>{Eo.delete(r)}},e)}u(IQ,"$507fabe10e71c6fb$export$ec71b4b83ac08ec3");function Nt(t){let{isDisabled:e,onBlurWithin:n,onFocusWithin:r,onFocusWithinChange:i}=t,l=(0,wp.element.useRef)({isFocusWithin:!1}),a=(0,wp.element.useCallback)(c=>{l.current.isFocusWithin&&!c.currentTarget.contains(c.relatedTarget)&&(l.current.isFocusWithin=!1,n&&n(c),i&&i(!1))},[n,i,l]),o=D3(a),s=(0,wp.element.useCallback)(c=>{!l.current.isFocusWithin&&document.activeElement===c.target&&(r&&r(c),i&&i(!0),l.current.isFocusWithin=!0,o(c))},[r,i,o]);return e?{focusWithinProps:{onFocus:void 0,onBlur:void 0}}:{focusWithinProps:{onFocus:s,onBlur:a}}}u(Nt,"$9ab94262bd0047c7$export$420e68273165f4ec");let Lc=!1,am=0;function om(){Lc=!0,setTimeout(()=>{Lc=!1},50)}u(om,"$6179b936705e76d3$var$setGlobalIgnoreEmulatedMouseEvents");function T3(t){t.pointerType==="touch"&&om()}u(T3,"$6179b936705e76d3$var$handleGlobalPointerEvent");function ZQ(){if(!(typeof document>"u"))return typeof PointerEvent<"u"?document.addEventListener("pointerup",T3):document.addEventListener("touchend",om),am++,()=>{am--,!(am>0)&&(typeof PointerEvent<"u"?document.removeEventListener("pointerup",T3):document.removeEventListener("touchend",om))}}u(ZQ,"$6179b936705e76d3$var$setupGlobalTouchEvents");function zQ(t){let{onHoverStart:e,onHoverChange:n,onHoverEnd:r,isDisabled:i}=t,[l,a]=(0,wp.element.useState)(!1),o=(0,wp.element.useRef)({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current;(0,wp.element.useEffect)(ZQ,[]);let{hoverProps:s,triggerHoverEnd:c}=(0,wp.element.useMemo)(()=>{let d=u((p,m)=>{if(o.pointerType=m,i||m==="touch"||o.isHovered||!p.currentTarget.contains(p.target))return;o.isHovered=!0;let g=p.currentTarget;o.target=g,e&&e({type:"hoverstart",target:g,pointerType:m}),n&&n(!0),a(!0)},"triggerHoverStart"),f=u((p,m)=>{if(o.pointerType="",o.target=null,m==="touch"||!o.isHovered)return;o.isHovered=!1;let g=p.currentTarget;r&&r({type:"hoverend",target:g,pointerType:m}),n&&n(!1),a(!1)},"triggerHoverEnd"),h={};return typeof PointerEvent<"u"?(h.onPointerEnter=p=>{Lc&&p.pointerType==="mouse"||d(p,p.pointerType)},h.onPointerLeave=p=>{!i&&p.currentTarget.contains(p.target)&&f(p,p.pointerType)}):(h.onTouchStart=()=>{o.ignoreEmulatedMouseEvents=!0},h.onMouseEnter=p=>{!o.ignoreEmulatedMouseEvents&&!Lc&&d(p,"mouse"),o.ignoreEmulatedMouseEvents=!1},h.onMouseLeave=p=>{!i&&p.currentTarget.contains(p.target)&&f(p,"mouse")}),{hoverProps:h,triggerHoverEnd:f}},[e,n,r,i,o]);return(0,wp.element.useEffect)(()=>{i&&c({currentTarget:o.target},o.pointerType)},[i]),{hoverProps:s,isHovered:l}}u(zQ,"$6179b936705e76d3$export$ae780daf29e6d456");function LQ(t){let{ref:e,onInteractOutside:n,isDisabled:r,onInteractOutsideStart:i}=t,l=(0,wp.element.useRef)({isPointerDown:!1,ignoreEmulatedMouseEvents:!1}),a=Ne(s=>{n&&Wc(s,e)&&(i&&i(s),l.current.isPointerDown=!0)}),o=Ne(s=>{n&&n(s)});(0,wp.element.useEffect)(()=>{let s=l.current;if(r)return;const c=e.current,d=Oe(c);if(typeof PointerEvent<"u"){let f=u(h=>{s.isPointerDown&&Wc(h,e)&&o(h),s.isPointerDown=!1},"onPointerUp");return d.addEventListener("pointerdown",a,!0),d.addEventListener("pointerup",f,!0),()=>{d.removeEventListener("pointerdown",a,!0),d.removeEventListener("pointerup",f,!0)}}else{let f=u(p=>{s.ignoreEmulatedMouseEvents?s.ignoreEmulatedMouseEvents=!1:s.isPointerDown&&Wc(p,e)&&o(p),s.isPointerDown=!1},"onMouseUp"),h=u(p=>{s.ignoreEmulatedMouseEvents=!0,s.isPointerDown&&Wc(p,e)&&o(p),s.isPointerDown=!1},"onTouchEnd");return d.addEventListener("mousedown",a,!0),d.addEventListener("mouseup",f,!0),d.addEventListener("touchstart",a,!0),d.addEventListener("touchend",h,!0),()=>{d.removeEventListener("mousedown",a,!0),d.removeEventListener("mouseup",f,!0),d.removeEventListener("touchstart",a,!0),d.removeEventListener("touchend",h,!0)}}},[e,r,a,o])}u(LQ,"$e0b6e0b68ec7f50f$export$872b660ac5a1ff98");function Wc(t,e){if(t.button>0)return!1;if(t.target){const n=t.target.ownerDocument;if(!n||!n.documentElement.contains(t.target)||t.target.closest("[data-react-aria-top-layer]"))return!1}return e.current&&!e.current.contains(t.target)}u(Wc,"$e0b6e0b68ec7f50f$var$isValidEvent");function R3(t){if(!t)return;let e=!0;return n=>{let r={...n,preventDefault(){n.preventDefault()},isDefaultPrevented(){return n.isDefaultPrevented()},stopPropagation(){console.error("stopPropagation is now the default behavior for events in React Spectrum. You can use continuePropagation() to revert this behavior.")},continuePropagation(){e=!1}};t(r),e&&n.stopPropagation()}}u(R3,"$93925083ecbb358c$export$48d1ea6320830260");function sm(t){return{keyboardProps:t.isDisabled?{}:{onKeyDown:R3(t.onKeyDown),onKeyUp:R3(t.onKeyUp)}}}u(sm,"$46d819fcbaf35654$export$8f71654801c2f7cd");function Xc(t){let{onMoveStart:e,onMove:n,onMoveEnd:r}=t,i=(0,wp.element.useRef)({didMove:!1,lastPosition:null,id:null}),{addGlobalListener:l,removeGlobalListener:a}=Vi(),o=Ne((d,f,h,p)=>{h===0&&p===0||(i.current.didMove||(i.current.didMove=!0,e?.({type:"movestart",pointerType:f,shiftKey:d.shiftKey,metaKey:d.metaKey,ctrlKey:d.ctrlKey,altKey:d.altKey})),n?.({type:"move",pointerType:f,deltaX:h,deltaY:p,shiftKey:d.shiftKey,metaKey:d.metaKey,ctrlKey:d.ctrlKey,altKey:d.altKey}))}),s=Ne((d,f)=>{Do(),i.current.didMove&&r?.({type:"moveend",pointerType:f,shiftKey:d.shiftKey,metaKey:d.metaKey,ctrlKey:d.ctrlKey,altKey:d.altKey})});return{moveProps:(0,wp.element.useMemo)(()=>{let d={},f=u(()=>{_p(),i.current.didMove=!1},"start");if(typeof PointerEvent>"u"){let p=u(b=>{if(b.button===0){var y,$,C,w;o(b,"mouse",b.pageX-((C=(y=i.current.lastPosition)===null||y===void 0?void 0:y.pageX)!==null&&C!==void 0?C:0),b.pageY-((w=($=i.current.lastPosition)===null||$===void 0?void 0:$.pageY)!==null&&w!==void 0?w:0)),i.current.lastPosition={pageX:b.pageX,pageY:b.pageY}}},"onMouseMove"),m=u(b=>{b.button===0&&(s(b,"mouse"),a(window,"mousemove",p,!1),a(window,"mouseup",m,!1))},"onMouseUp");d.onMouseDown=b=>{b.button===0&&(f(),b.stopPropagation(),b.preventDefault(),i.current.lastPosition={pageX:b.pageX,pageY:b.pageY},l(window,"mousemove",p,!1),l(window,"mouseup",m,!1))};let g=u(b=>{let y=[...b.changedTouches].findIndex(({identifier:P})=>P===i.current.id);if(y>=0){var $,C;let{pageX:P,pageY:v}=b.changedTouches[y];var w,x;o(b,"touch",P-((w=($=i.current.lastPosition)===null||$===void 0?void 0:$.pageX)!==null&&w!==void 0?w:0),v-((x=(C=i.current.lastPosition)===null||C===void 0?void 0:C.pageY)!==null&&x!==void 0?x:0)),i.current.lastPosition={pageX:P,pageY:v}}},"onTouchMove"),O=u(b=>{[...b.changedTouches].findIndex(({identifier:$})=>$===i.current.id)>=0&&(s(b,"touch"),i.current.id=null,a(window,"touchmove",g),a(window,"touchend",O),a(window,"touchcancel",O))},"onTouchEnd");d.onTouchStart=b=>{if(b.changedTouches.length===0||i.current.id!=null)return;let{pageX:y,pageY:$,identifier:C}=b.changedTouches[0];f(),b.stopPropagation(),b.preventDefault(),i.current.lastPosition={pageX:y,pageY:$},i.current.id=C,l(window,"touchmove",g,!1),l(window,"touchend",O,!1),l(window,"touchcancel",O,!1)}}else{let p=u(g=>{if(g.pointerId===i.current.id){var O,b;let C=g.pointerType||"mouse";var y,$;o(g,C,g.pageX-((y=(O=i.current.lastPosition)===null||O===void 0?void 0:O.pageX)!==null&&y!==void 0?y:0),g.pageY-(($=(b=i.current.lastPosition)===null||b===void 0?void 0:b.pageY)!==null&&$!==void 0?$:0)),i.current.lastPosition={pageX:g.pageX,pageY:g.pageY}}},"onPointerMove"),m=u(g=>{if(g.pointerId===i.current.id){let O=g.pointerType||"mouse";s(g,O),i.current.id=null,a(window,"pointermove",p,!1),a(window,"pointerup",m,!1),a(window,"pointercancel",m,!1)}},"onPointerUp");d.onPointerDown=g=>{g.button===0&&i.current.id==null&&(f(),g.stopPropagation(),g.preventDefault(),i.current.lastPosition={pageX:g.pageX,pageY:g.pageY},i.current.id=g.pointerId,l(window,"pointermove",p,!1),l(window,"pointerup",m,!1),l(window,"pointercancel",m,!1))}}let h=u((p,m,g)=>{f(),o(p,"keyboard",m,g),s(p,"keyboard")},"triggerKeyboardMove");return d.onKeyDown=p=>{switch(p.key){case"Left":case"ArrowLeft":p.preventDefault(),p.stopPropagation(),h(p,-1,0);break;case"Right":case"ArrowRight":p.preventDefault(),p.stopPropagation(),h(p,1,0);break;case"Up":case"ArrowUp":p.preventDefault(),p.stopPropagation(),h(p,0,-1);break;case"Down":case"ArrowDown":p.preventDefault(),p.stopPropagation(),h(p,0,1);break}},d},[i,l,a,o,s])}}u(Xc,"$e8a7022cf87cba2a$export$36da96379f79f245");function Q3(t,e){let{onScroll:n,isDisabled:r}=t,i=(0,wp.element.useCallback)(l=>{l.ctrlKey||(l.preventDefault(),l.stopPropagation(),n&&n({deltaX:l.deltaX,deltaY:l.deltaY}))},[n]);mr(e,"wheel",r?void 0:i)}u(Q3,"$7d0a636d7a4dcefd$export$2123ff2b87c81ca");const WQ=500;function M3(t){let{isDisabled:e,onLongPressStart:n,onLongPressEnd:r,onLongPress:i,threshold:l=WQ,accessibilityDescription:a}=t;const o=(0,wp.element.useRef)(void 0);let{addGlobalListener:s,removeGlobalListener:c}=Vi(),{pressProps:d}=gr({isDisabled:e,onPressStart(h){if(h.continuePropagation(),(h.pointerType==="mouse"||h.pointerType==="touch")&&(n&&n({...h,type:"longpressstart"}),o.current=setTimeout(()=>{h.target.dispatchEvent(new PointerEvent("pointercancel",{bubbles:!0})),i&&i({...h,type:"longpress"}),o.current=void 0},l),h.pointerType==="touch")){let p=u(m=>{m.preventDefault()},"onContextMenu");s(h.target,"contextmenu",p,{once:!0}),s(window,"pointerup",()=>{setTimeout(()=>{c(h.target,"contextmenu",p)},30)},{once:!0})}},onPressEnd(h){o.current&&clearTimeout(o.current),r&&(h.pointerType==="mouse"||h.pointerType==="touch")&&r({...h,type:"longpressend"})}}),f=Co(i&&!e?a:void 0);return{longPressProps:te(d,f)}}u(M3,"$8a26561d2877236e$export$c24ed0104d07eab9");function Fi(t){const e=Oe(t);if(zc()==="virtual"){let n=e.activeElement;f3(()=>{e.activeElement===n&&t.isConnected&&en(t)})}else en(t)}u(Fi,"$6a99195332edec8b$export$80f3e147d781571c");function XQ(t){const e=Jt(t);if(!(t instanceof e.HTMLElement)&&!(t instanceof e.SVGElement))return!1;let{display:n,visibility:r}=t.style,i=n!=="none"&&r!=="hidden"&&r!=="collapse";if(i){const{getComputedStyle:l}=t.ownerDocument.defaultView;let{display:a,visibility:o}=l(t);i=a!=="none"&&o!=="hidden"&&o!=="collapse"}return i}u(XQ,"$645f2e67b85a24c9$var$isStyleVisible");function jQ(t,e){return!t.hasAttribute("hidden")&&!t.hasAttribute("data-react-aria-prevent-focus")&&(t.nodeName==="DETAILS"&&e&&e.nodeName!=="SUMMARY"?t.hasAttribute("open"):!0)}u(jQ,"$645f2e67b85a24c9$var$isAttributeVisible");function B3(t,e){return t.nodeName!=="#comment"&&XQ(t)&&jQ(t,e)&&(!t.parentElement||B3(t.parentElement,t))}u(B3,"$645f2e67b85a24c9$export$e989c0fffaa6b27a");const V3=wp.element.createContext(null),um="react-aria-focus-scope-restore";let ve=null;function jc(t){let{children:e,contain:n,restoreFocus:r,autoFocus:i}=t,l=(0,wp.element.useRef)(null),a=(0,wp.element.useRef)(null),o=(0,wp.element.useRef)([]),{parentNode:s}=(0,wp.element.useContext)(V3)||{},c=(0,wp.element.useMemo)(()=>new Ro({scopeRef:o}),[o]);De(()=>{let h=s||ze.root;if(ze.getTreeNode(h.scopeRef)&&ve&&!Uc(ve,h.scopeRef)){let p=ze.getTreeNode(ve);p&&(h=p)}h.addChild(c),ze.addNode(c)},[c,s]),De(()=>{let h=ze.getTreeNode(o);h&&(h.contain=!!n)},[n]),De(()=>{var h;let p=(h=l.current)===null||h===void 0?void 0:h.nextSibling,m=[],g=u(O=>O.stopPropagation(),"stopPropagation");for(;p&&p!==a.current;)m.push(p),p.addEventListener(um,g),p=p.nextSibling;return o.current=m,()=>{for(let O of m)O.removeEventListener(um,g)}},[e]),_Q(o,r,n),KQ(o,n),eM(o,r,n),HQ(o,i),(0,wp.element.useEffect)(()=>{const h=Oe(o.current?o.current[0]:void 0).activeElement;let p=null;if(rt(h,o.current)){for(let m of ze.traverse())m.scopeRef&&rt(h,m.scopeRef.current)&&(p=m);p===ze.getTreeNode(o)&&(ve=p.scopeRef)}},[o]),De(()=>()=>{var h,p,m;let g=(m=(p=ze.getTreeNode(o))===null||p===void 0||(h=p.parent)===null||h===void 0?void 0:h.scopeRef)!==null&&m!==void 0?m:null;(o===ve||Uc(o,ve))&&(!g||ze.getTreeNode(g))&&(ve=g),ze.removeTreeNode(o)},[o]);let d=(0,wp.element.useMemo)(()=>qQ(o),[]),f=(0,wp.element.useMemo)(()=>({focusManager:d,parentNode:c}),[c,d]);return wp.element.createElement(V3.Provider,{value:f},wp.element.createElement("span",{"data-focus-scope-start":!0,hidden:!0,ref:l}),e,wp.element.createElement("span",{"data-focus-scope-end":!0,hidden:!0,ref:a}))}u(jc,"$9bf71ea28793e738$export$20e40289641fbbb6");function qQ(t){return{focusNext(e={}){let n=t.current,{from:r,tabbable:i,wrap:l,accept:a}=e,o=r||Oe(n[0]).activeElement,s=n[0].previousElementSibling,c=Ii(n),d=ht(c,{tabbable:i,accept:a},n);d.currentNode=rt(o,n)?o:s;let f=d.nextNode();return!f&&l&&(d.currentNode=s,f=d.nextNode()),f&&kt(f,!0),f},focusPrevious(e={}){let n=t.current,{from:r,tabbable:i,wrap:l,accept:a}=e,o=r||Oe(n[0]).activeElement,s=n[n.length-1].nextElementSibling,c=Ii(n),d=ht(c,{tabbable:i,accept:a},n);d.currentNode=rt(o,n)?o:s;let f=d.previousNode();return!f&&l&&(d.currentNode=s,f=d.previousNode()),f&&kt(f,!0),f},focusFirst(e={}){let n=t.current,{tabbable:r,accept:i}=e,l=Ii(n),a=ht(l,{tabbable:r,accept:i},n);a.currentNode=n[0].previousElementSibling;let o=a.nextNode();return o&&kt(o,!0),o},focusLast(e={}){let n=t.current,{tabbable:r,accept:i}=e,l=Ii(n),a=ht(l,{tabbable:r,accept:i},n);a.currentNode=n[n.length-1].nextElementSibling;let o=a.previousNode();return o&&kt(o,!0),o}}}u(qQ,"$9bf71ea28793e738$var$createFocusManagerForScope");const cm=["input:not([disabled]):not([type=hidden])","select:not([disabled])","textarea:not([disabled])","button:not([disabled])","a[href]","area[href]","summary","iframe","object","embed","audio[controls]","video[controls]","[contenteditable]"],UQ=cm.join(":not([hidden]),")+",[tabindex]:not([disabled]):not([hidden])";cm.push('[tabindex]:not([tabindex="-1"]):not([disabled])');const YQ=cm.join(':not([hidden]):not([tabindex="-1"]),');function Ii(t){return t[0].parentElement}u(Ii,"$9bf71ea28793e738$var$getScopeRoot");function To(t){let e=ze.getTreeNode(ve);for(;e&&e.scopeRef!==t;){if(e.contain)return!1;e=e.parent}return!0}u(To,"$9bf71ea28793e738$var$shouldContainFocus");function KQ(t,e){let n=(0,wp.element.useRef)(void 0),r=(0,wp.element.useRef)(void 0);De(()=>{let i=t.current;if(!e){r.current&&(cancelAnimationFrame(r.current),r.current=void 0);return}const l=Oe(i?i[0]:void 0);let a=u(c=>{if(c.key!=="Tab"||c.altKey||c.ctrlKey||c.metaKey||!To(t)||c.isComposing)return;let d=l.activeElement,f=t.current;if(!f||!rt(d,f))return;let h=Ii(f),p=ht(h,{tabbable:!0},f);if(!d)return;p.currentNode=d;let m=c.shiftKey?p.previousNode():p.nextNode();m||(p.currentNode=c.shiftKey?f[f.length-1].nextElementSibling:f[0].previousElementSibling,m=c.shiftKey?p.previousNode():p.nextNode()),c.preventDefault(),m&&kt(m,!0)},"onKeyDown"),o=u(c=>{(!ve||Uc(ve,t))&&rt(c.target,t.current)?(ve=t,n.current=c.target):To(t)&&!qc(c.target,t)?n.current?n.current.focus():ve&&ve.current&&dm(ve.current):To(t)&&(n.current=c.target)},"onFocus"),s=u(c=>{r.current&&cancelAnimationFrame(r.current),r.current=requestAnimationFrame(()=>{if(l.activeElement&&To(t)&&!qc(l.activeElement,t))if(ve=t,l.body.contains(c.target)){var d;n.current=c.target,(d=n.current)===null||d===void 0||d.focus()}else ve.current&&dm(ve.current)})},"onBlur");return l.addEventListener("keydown",a,!1),l.addEventListener("focusin",o,!1),i?.forEach(c=>c.addEventListener("focusin",o,!1)),i?.forEach(c=>c.addEventListener("focusout",s,!1)),()=>{l.removeEventListener("keydown",a,!1),l.removeEventListener("focusin",o,!1),i?.forEach(c=>c.removeEventListener("focusin",o,!1)),i?.forEach(c=>c.removeEventListener("focusout",s,!1))}},[t,e]),De(()=>()=>{r.current&&cancelAnimationFrame(r.current)},[r])}u(KQ,"$9bf71ea28793e738$var$useFocusContainment");function N3(t){return qc(t)}u(N3,"$9bf71ea28793e738$var$isElementInAnyScope");function rt(t,e){return!t||!e?!1:e.some(n=>n.contains(t))}u(rt,"$9bf71ea28793e738$var$isElementInScope");function qc(t,e=null){if(t instanceof Element&&t.closest("[data-react-aria-top-layer]"))return!0;for(let{scopeRef:n}of ze.traverse(ze.getTreeNode(e)))if(n&&rt(t,n.current))return!0;return!1}u(qc,"$9bf71ea28793e738$var$isElementInChildScope");function GQ(t){return qc(t,ve)}u(GQ,"$9bf71ea28793e738$export$1258395f99bf9cbf");function Uc(t,e){var n;let r=(n=ze.getTreeNode(e))===null||n===void 0?void 0:n.parent;for(;r;){if(r.scopeRef===t)return!0;r=r.parent}return!1}u(Uc,"$9bf71ea28793e738$var$isAncestorScope");function kt(t,e=!1){if(t!=null&&!e)try{Fi(t)}catch{}else if(t!=null)try{t.focus()}catch{}}u(kt,"$9bf71ea28793e738$var$focusElement");function F3(t,e=!0){let n=t[0].previousElementSibling,r=Ii(t),i=ht(r,{tabbable:e},t);i.currentNode=n;let l=i.nextNode();return e&&!l&&(r=Ii(t),i=ht(r,{tabbable:!1},t),i.currentNode=n,l=i.nextNode()),l}u(F3,"$9bf71ea28793e738$var$getFirstInScope");function dm(t,e=!0){kt(F3(t,e))}u(dm,"$9bf71ea28793e738$var$focusFirstInScope");function HQ(t,e){const n=wp.element.useRef(e);(0,wp.element.useEffect)(()=>{if(n.current){ve=t;const r=Oe(t.current?t.current[0]:void 0);!rt(r.activeElement,ve.current)&&t.current&&dm(t.current)}n.current=!1},[t])}u(HQ,"$9bf71ea28793e738$var$useAutoFocus");function _Q(t,e,n){De(()=>{if(e||n)return;let r=t.current;const i=Oe(r?r[0]:void 0);let l=u(a=>{let o=a.target;rt(o,t.current)?ve=t:N3(o)||(ve=null)},"onFocus");return i.addEventListener("focusin",l,!1),r?.forEach(a=>a.addEventListener("focusin",l,!1)),()=>{i.removeEventListener("focusin",l,!1),r?.forEach(a=>a.removeEventListener("focusin",l,!1))}},[t,e,n])}u(_Q,"$9bf71ea28793e738$var$useActiveScopeTracker");function JQ(t){let e=ze.getTreeNode(ve);for(;e&&e.scopeRef!==t;){if(e.nodeToRestore)return!1;e=e.parent}return e?.scopeRef===t}u(JQ,"$9bf71ea28793e738$var$shouldRestoreFocus");function eM(t,e,n){const r=(0,wp.element.useRef)(typeof document<"u"?Oe(t.current?t.current[0]:void 0).activeElement:null);De(()=>{let i=t.current;const l=Oe(i?i[0]:void 0);if(!e||n)return;let a=u(()=>{(!ve||Uc(ve,t))&&rt(l.activeElement,t.current)&&(ve=t)},"onFocus");return l.addEventListener("focusin",a,!1),i?.forEach(o=>o.addEventListener("focusin",a,!1)),()=>{l.removeEventListener("focusin",a,!1),i?.forEach(o=>o.removeEventListener("focusin",a,!1))}},[t,n]),De(()=>{const i=Oe(t.current?t.current[0]:void 0);if(!e)return;let l=u(a=>{if(a.key!=="Tab"||a.altKey||a.ctrlKey||a.metaKey||!To(t)||a.isComposing)return;let o=i.activeElement;if(!rt(o,t.current))return;let s=ze.getTreeNode(t);if(!s)return;let c=s.nodeToRestore,d=ht(i.body,{tabbable:!0});d.currentNode=o;let f=a.shiftKey?d.previousNode():d.nextNode();if((!c||!i.body.contains(c)||c===i.body)&&(c=void 0,s.nodeToRestore=void 0),(!f||!rt(f,t.current))&&c){d.currentNode=c;do f=a.shiftKey?d.previousNode():d.nextNode();while(rt(f,t.current));a.preventDefault(),a.stopPropagation(),f?kt(f,!0):N3(c)?kt(c,!0):o.blur()}},"onKeyDown");return n||i.addEventListener("keydown",l,!0),()=>{n||i.removeEventListener("keydown",l,!0)}},[t,e,n]),De(()=>{const i=Oe(t.current?t.current[0]:void 0);if(!e)return;let l=ze.getTreeNode(t);if(l){var a;return l.nodeToRestore=(a=r.current)!==null&&a!==void 0?a:void 0,()=>{let o=ze.getTreeNode(t);if(!o)return;let s=o.nodeToRestore;if(e&&s&&(rt(i.activeElement,t.current)||i.activeElement===i.body&&JQ(t))){let c=ze.clone();requestAnimationFrame(()=>{if(i.activeElement===i.body){let d=c.getTreeNode(t);for(;d;){if(d.nodeToRestore&&d.nodeToRestore.isConnected){I3(d.nodeToRestore);return}d=d.parent}for(d=c.getTreeNode(t);d;){if(d.scopeRef&&d.scopeRef.current&&ze.getTreeNode(d.scopeRef)){let f=F3(d.scopeRef.current,!0);I3(f);return}d=d.parent}}})}}}},[t,e])}u(eM,"$9bf71ea28793e738$var$useRestoreFocus");function I3(t){t.dispatchEvent(new CustomEvent(um,{bubbles:!0,cancelable:!0}))&&kt(t)}u(I3,"$9bf71ea28793e738$var$restoreFocusToElement");function ht(t,e,n){let r=e?.tabbable?YQ:UQ,i=Oe(t).createTreeWalker(t,NodeFilter.SHOW_ELEMENT,{acceptNode(l){var a;return!(e==null||(a=e.from)===null||a===void 0)&&a.contains(l)?NodeFilter.FILTER_REJECT:l.matches(r)&&B3(l)&&(!n||rt(l,n))&&(!e?.accept||e.accept(l))?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});return e?.from&&(i.currentNode=e.from),i}u(ht,"$9bf71ea28793e738$export$2d6ec8fc375ceafa");function Yc(t,e={}){return{focusNext(n={}){let r=t.current;if(!r)return null;let{from:i,tabbable:l=e.tabbable,wrap:a=e.wrap,accept:o=e.accept}=n,s=i||Oe(r).activeElement,c=ht(r,{tabbable:l,accept:o});r.contains(s)&&(c.currentNode=s);let d=c.nextNode();return!d&&a&&(c.currentNode=r,d=c.nextNode()),d&&kt(d,!0),d},focusPrevious(n=e){let r=t.current;if(!r)return null;let{from:i,tabbable:l=e.tabbable,wrap:a=e.wrap,accept:o=e.accept}=n,s=i||Oe(r).activeElement,c=ht(r,{tabbable:l,accept:o});if(r.contains(s))c.currentNode=s;else{let f=fm(c);return f&&kt(f,!0),f??null}let d=c.previousNode();if(!d&&a){c.currentNode=r;let f=fm(c);if(!f)return null;d=f}return d&&kt(d,!0),d??null},focusFirst(n=e){let r=t.current;if(!r)return null;let{tabbable:i=e.tabbable,accept:l=e.accept}=n,o=ht(r,{tabbable:i,accept:l}).nextNode();return o&&kt(o,!0),o},focusLast(n=e){let r=t.current;if(!r)return null;let{tabbable:i=e.tabbable,accept:l=e.accept}=n,a=ht(r,{tabbable:i,accept:l}),o=fm(a);return o&&kt(o,!0),o??null}}}u(Yc,"$9bf71ea28793e738$export$c5251b9e124bf29");function fm(t){let e,n;do n=t.lastChild(),n&&(e=n);while(n);return e}u(fm,"$9bf71ea28793e738$var$last");const _h=class _h{get size(){return this.fastMap.size}getTreeNode(e){return this.fastMap.get(e)}addTreeNode(e,n,r){let i=this.fastMap.get(n??null);if(!i)return;let l=new Ro({scopeRef:e});i.addChild(l),l.parent=i,this.fastMap.set(e,l),r&&(l.nodeToRestore=r)}addNode(e){this.fastMap.set(e.scopeRef,e)}removeTreeNode(e){if(e===null)return;let n=this.fastMap.get(e);if(!n)return;let r=n.parent;for(let l of this.traverse())l!==n&&n.nodeToRestore&&l.nodeToRestore&&n.scopeRef&&n.scopeRef.current&&rt(l.nodeToRestore,n.scopeRef.current)&&(l.nodeToRestore=n.nodeToRestore);let i=n.children;r&&(r.removeChild(n),i.size>0&&i.forEach(l=>r&&r.addChild(l))),this.fastMap.delete(n.scopeRef)}*traverse(e=this.root){if(e.scopeRef!=null&&(yield e),e.children.size>0)for(let n of e.children)yield*this.traverse(n)}clone(){var e;let n=new _h;var r;for(let i of this.traverse())n.addTreeNode(i.scopeRef,(r=(e=i.parent)===null||e===void 0?void 0:e.scopeRef)!==null&&r!==void 0?r:null,i.nodeToRestore);return n}constructor(){this.fastMap=new Map,this.root=new Ro({scopeRef:null}),this.fastMap.set(null,this.root)}};u(_h,"$9bf71ea28793e738$var$Tree");let hm=_h;const c1=class c1{addChild(e){this.children.add(e),e.parent=this}removeChild(e){this.children.delete(e),e.parent=void 0}constructor(e){this.children=new Set,this.contain=!1,this.scopeRef=e.scopeRef}};u(c1,"$9bf71ea28793e738$var$TreeNode");let Ro=c1,ze=new hm;function Qo(t={}){let{autoFocus:e=!1,isTextInput:n,within:r}=t,i=(0,wp.element.useRef)({isFocused:!1,isFocusVisible:e||Zc()}),[l,a]=(0,wp.element.useState)(!1),[o,s]=(0,wp.element.useState)(()=>i.current.isFocused&&i.current.isFocusVisible),c=(0,wp.element.useCallback)(()=>s(i.current.isFocused&&i.current.isFocusVisible),[]),d=(0,wp.element.useCallback)(p=>{i.current.isFocused=p,a(p),c()},[c]);IQ(p=>{i.current.isFocusVisible=p,c()},[],{isTextInput:n});let{focusProps:f}=Po({isDisabled:r,onFocusChange:d}),{focusWithinProps:h}=Nt({isDisabled:!r,onFocusWithinChange:d});return{isFocused:l,isFocusVisible:o,focusProps:r?h:f}}u(Qo,"$f7dceffc5ad7768b$export$4e328f61c538687f");let tM=wp.element.createContext(null);function nM(t){let e=(0,wp.element.useContext)(tM)||{};m3(e,t);let{ref:n,...r}=e;return r}u(nM,"$e6afbd83fe6ebbd2$var$useFocusableContext");function Mo(t,e){let{focusProps:n}=Po(t),{keyboardProps:r}=sm(t),i=te(n,r),l=nM(e),a=t.isDisabled?{}:l,o=(0,wp.element.useRef)(t.autoFocus);return(0,wp.element.useEffect)(()=>{o.current&&e.current&&Fi(e.current),o.current=!1},[e]),{focusableProps:te({...i,tabIndex:t.excludeFromTabOrder&&!t.isDisabled?-1:void 0},a)}}u(Mo,"$e6afbd83fe6ebbd2$export$4c014de7c8940b4c");const rM=new Set(["Arab","Syrc","Samr","Mand","Thaa","Mend","Nkoo","Adlm","Rohg","Hebr"]),iM=new Set(["ae","ar","arc","bcc","bqi","ckb","dv","fa","glk","he","ku","mzn","nqo","pnb","ps","sd","ug","ur","yi"]);function lM(t){if(Intl.Locale){let n=new Intl.Locale(t).maximize(),r=typeof n.getTextInfo=="function"?n.getTextInfo():n.textInfo;if(r)return r.direction==="rtl";if(n.script)return rM.has(n.script)}let e=t.split("-")[0];return iM.has(e)}u(lM,"$148a7a147e38ea7f$export$702d680b21cbd764");const aM=Symbol.for("react-aria.i18n.locale");function Z3(){let t=typeof window<"u"&&window[aM]||typeof navigator<"u"&&(navigator.language||navigator.userLanguage)||"en-US";try{Intl.DateTimeFormat.supportedLocalesOf([t])}catch{t="en-US"}return{locale:t,direction:lM(t)?"rtl":"ltr"}}u(Z3,"$1e5a04cdaf7d1af8$export$f09106e7c6677ec5");let pm=Z3(),Bo=new Set;function z3(){pm=Z3();for(let t of Bo)t(pm)}u(z3,"$1e5a04cdaf7d1af8$var$updateLocale");function oM(){let t=Dc(),[e,n]=(0,wp.element.useState)(pm);return(0,wp.element.useEffect)(()=>(Bo.size===0&&window.addEventListener("languagechange",z3),Bo.add(n),()=>{Bo.delete(n),Bo.size===0&&window.removeEventListener("languagechange",z3)}),[]),t?{locale:"en-US",direction:"ltr"}:e}u(oM,"$1e5a04cdaf7d1af8$export$188ec29ebc2bdc3a");const sM=wp.element.createContext(null);function Ee(){let t=oM();return(0,wp.element.useContext)(sM)||t}u(Ee,"$18f2051aff69b9bf$export$43bb16f9c6d9e3f7");const uM=Symbol.for("react-aria.i18n.locale"),cM=Symbol.for("react-aria.i18n.strings");let ea;const Jh=class Jh{getStringForLocale(e,n){let i=this.getStringsForLocale(n)[e];if(!i)throw new Error(`Could not find intl message ${e} in ${n} locale`);return i}getStringsForLocale(e){let n=this.strings[e];return n||(n=dM(e,this.strings,this.defaultLocale),this.strings[e]=n),n}static getGlobalDictionaryForPackage(e){if(typeof window>"u")return null;let n=window[uM];if(ea===void 0){let i=window[cM];if(!i)return null;ea={};for(let l in i)ea[l]=new Jh({[n]:i[l]},n)}let r=ea?.[e];if(!r)throw new Error(`Strings for package "${e}" were not included by LocalizedStringProvider. Please add it to the list passed to createLocalizedStringDictionary.`);return r}constructor(e,n="en-US"){this.strings=Object.fromEntries(Object.entries(e).filter(([,r])=>r)),this.defaultLocale=n}};u(Jh,"$5b160d28a433310d$export$c17fa47878dc55b6");let nn=Jh;function dM(t,e,n="en-US"){if(e[t])return e[t];let r=fM(t);if(e[r])return e[r];for(let i in e)if(i.startsWith(r+"-"))return e[i];return e[n]}u(dM,"$5b160d28a433310d$var$getStringsForLocale");function fM(t){return Intl.Locale?new Intl.Locale(t).language:t.split("-")[0]}u(fM,"$5b160d28a433310d$var$getLanguage");const L3=new Map,W3=new Map,d1=class d1{format(e,n){let r=this.strings.getStringForLocale(e,this.locale);return typeof r=="function"?r(n,this):r}plural(e,n,r="cardinal"){let i=n["="+e];if(i)return typeof i=="function"?i():i;let l=this.locale+":"+r,a=L3.get(l);a||(a=new Intl.PluralRules(this.locale,{type:r}),L3.set(l,a));let o=a.select(e);return i=n[o]||n.other,typeof i=="function"?i():i}number(e){let n=W3.get(this.locale);return n||(n=new Intl.NumberFormat(this.locale),W3.set(this.locale,n)),n.format(e)}select(e,n){let r=e[n]||e.other;return typeof r=="function"?r():r}constructor(e,n){this.locale=e,this.strings=n}};u(d1,"$6db58dc88e78b024$export$2f817fcdc4b89ae0");let Vo=d1;const X3=new WeakMap;function hM(t){let e=X3.get(t);return e||(e=new nn(t),X3.set(t,e)),e}u(hM,"$fca6afa0e843324b$var$getCachedDictionary");function j3(t,e){return e&&nn.getGlobalDictionaryForPackage(e)||hM(t)}u(j3,"$fca6afa0e843324b$export$87b761675e8eaa10");function Ft(t,e){let{locale:n}=Ee(),r=j3(t,e);return(0,wp.element.useMemo)(()=>new Vo(n,r),[n,r])}u(Ft,"$fca6afa0e843324b$export$f12b703ca79dfbb1");function ta(t,e){return t-e*Math.floor(t/e)}u(ta,"$2b4dce13dd5a17fa$export$842a2cf37af977e1");const q3=1721426;function Zi(t,e,n,r){e=No(t,e);let i=e-1,l=-2;return n<=2?l=0:Kr(e)&&(l=-1),q3-1+365*i+Math.floor(i/4)-Math.floor(i/100)+Math.floor(i/400)+Math.floor((367*n-362)/12+l+r)}u(Zi,"$3b62074eb05584b2$export$f297eb839006d339");function Kr(t){return t%4===0&&(t%100!==0||t%400===0)}u(Kr,"$3b62074eb05584b2$export$553d7fa8e3805fc0");function No(t,e){return t==="BC"?1-e:e}u(No,"$3b62074eb05584b2$export$c36e0ecb2d4fa69d");function Kc(t){let e="AD";return t<=0&&(e="BC",t=1-t),[e,t]}u(Kc,"$3b62074eb05584b2$export$4475b7e617eb123c");const pM={standard:[31,28,31,30,31,30,31,31,30,31,30,31],leapyear:[31,29,31,30,31,30,31,31,30,31,30,31]},f1=class f1{fromJulianDay(e){let n=e,r=n-q3,i=Math.floor(r/146097),l=ta(r,146097),a=Math.floor(l/36524),o=ta(l,36524),s=Math.floor(o/1461),c=ta(o,1461),d=Math.floor(c/365),f=i*400+a*100+s*4+d+(a!==4&&d!==4?1:0),[h,p]=Kc(f),m=n-Zi(h,p,1,1),g=2;n=0?t:e:t||e}u(ym,"$14e0f24ef4ac5c92$export$a75f2bff57811055");function ra(t){t=Ae(t,new it);let e=No(t.era,t.year);return _3(e,t.month,t.day,t.hour,t.minute,t.second,t.millisecond)}u(ra,"$11d87f3f76e88657$export$bd4fb2bc8bb06fb");function _3(t,e,n,r,i,l,a){let o=new Date;return o.setUTCHours(r,i,l,a),o.setUTCFullYear(t,e-1,n),o.getTime()}u(_3,"$11d87f3f76e88657$var$epochFromParts");function vm(t,e){if(e==="UTC")return 0;if(t>0&&e===zi())return new Date(t).getTimezoneOffset()*-6e4;let{year:n,month:r,day:i,hour:l,minute:a,second:o}=e$(t,e);return _3(n,r,i,l,a,o,0)-Math.floor(t/1e3)*1e3}u(vm,"$11d87f3f76e88657$export$59c99f3515d3493f");const J3=new Map;function e$(t,e){let n=J3.get(e);n||(n=new Intl.DateTimeFormat("en-US",{timeZone:e,hour12:!1,era:"short",year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric"}),J3.set(e,n));let r=n.formatToParts(new Date(t)),i={};for(let l of r)l.type!=="literal"&&(i[l.type]=l.value);return{year:i.era==="BC"||i.era==="B"?-i.year+1:+i.year,month:+i.month,day:+i.day,hour:i.hour==="24"?0:+i.hour,minute:+i.minute,second:+i.second}}u(e$,"$11d87f3f76e88657$var$getTimeZoneParts");const t$=864e5;function SM(t,e,n,r){return(n===r?[n]:[n,r]).filter(l=>CM(t,e,l))}u(SM,"$11d87f3f76e88657$var$getValidWallTimes");function CM(t,e,n){let r=e$(n,e);return t.year===r.year&&t.month===r.month&&t.day===r.day&&t.hour===r.hour&&t.minute===r.minute&&t.second===r.second}u(CM,"$11d87f3f76e88657$var$isValidWallTime");function yr(t,e,n="compatible"){let r=Bn(t);if(e==="UTC")return ra(r);if(e===zi()&&n==="compatible"){r=Ae(r,new it);let s=new Date,c=No(r.era,r.year);return s.setFullYear(c,r.month-1,r.day),s.setHours(r.hour,r.minute,r.second,r.millisecond),s.getTime()}let i=ra(r),l=vm(i-t$,e),a=vm(i+t$,e),o=SM(r,e,i-l,i-a);if(o.length===1)return o[0];if(o.length>1)switch(n){case"compatible":case"earlier":return o[0];case"later":return o[o.length-1];case"reject":throw new RangeError("Multiple possible absolute times found")}switch(n){case"earlier":return Math.min(i-l,i-a);case"compatible":case"later":return Math.max(i-l,i-a);case"reject":throw new RangeError("No such absolute time found")}}u(yr,"$11d87f3f76e88657$export$5107c82f94518f5c");function n$(t,e,n="compatible"){return new Date(yr(t,e,n))}u(n$,"$11d87f3f76e88657$export$e67a095c620b86fe");function vr(t,e){let n=vm(t,e),r=new Date(t+n),i=r.getUTCFullYear(),l=r.getUTCMonth()+1,a=r.getUTCDate(),o=r.getUTCHours(),s=r.getUTCMinutes(),c=r.getUTCSeconds(),d=r.getUTCMilliseconds();return new _c(i,l,a,e,n,o,s,c,d)}u(vr,"$11d87f3f76e88657$export$1b96692a1ba042ac");function pt(t){return new Te(t.calendar,t.era,t.year,t.month,t.day)}u(pt,"$11d87f3f76e88657$export$93522d1a439f3617");function Bn(t,e){let n=0,r=0,i=0,l=0;if("timeZone"in t)({hour:n,minute:r,second:i,millisecond:l}=t);else if("hour"in t&&!e)return t;return e&&({hour:n,minute:r,second:i,millisecond:l}=e),new Em(t.calendar,t.era,t.year,t.month,t.day,n,r,i,l)}u(Bn,"$11d87f3f76e88657$export$b21e0b124e224484");function Ae(t,e){if(t.calendar.identifier===e.identifier)return t;let n=e.fromJulianDay(t.calendar.toJulianDay(t)),r=t.copy();return r.calendar=e,r.era=n.era,r.year=n.year,r.month=n.month,r.day=n.day,Wi(r),r}u(Ae,"$11d87f3f76e88657$export$b4a036af3fc0b032");function DM(t,e,n){if(t instanceof _c)return t.timeZone===e?t:PM(t,e);let r=yr(t,e,n);return vr(r,e)}u(DM,"$11d87f3f76e88657$export$84c95a83c799e074");function kM(t){let e=ra(t)-t.offset;return new Date(e)}u(kM,"$11d87f3f76e88657$export$83aac07b4c37b25");function PM(t,e){let n=ra(t)-t.offset;return Ae(vr(n,e),t.calendar)}u(PM,"$11d87f3f76e88657$export$538b00033cc11c75");const Io=36e5;function Gc(t,e){let n=t.copy(),r="hour"in n?a$(n,e):0;$m(n,e.years||0),n.calendar.balanceYearMonth&&n.calendar.balanceYearMonth(n,t),n.month+=e.months||0,wm(n),r$(n),n.day+=(e.weeks||0)*7,n.day+=e.days||0,n.day+=r,EM(n),n.calendar.balanceDate&&n.calendar.balanceDate(n),n.year<1&&(n.year=1,n.month=1,n.day=1);let i=n.calendar.getYearsInEra(n);if(n.year>i){var l,a;let s=(l=(a=n.calendar).isInverseEra)===null||l===void 0?void 0:l.call(a,n);n.year=i,n.month=s?1:n.calendar.getMonthsInYear(n),n.day=s?1:n.calendar.getDaysInMonth(n)}n.month<1&&(n.month=1,n.day=1);let o=n.calendar.getMonthsInYear(n);return n.month>o&&(n.month=o,n.day=n.calendar.getDaysInMonth(n)),n.day=Math.max(1,Math.min(n.calendar.getDaysInMonth(n),n.day)),n}u(Gc,"$735220c2d4774dd3$export$e16d8520af44a096");function $m(t,e){var n,r;!((n=(r=t.calendar).isInverseEra)===null||n===void 0)&&n.call(r,t)&&(e=-e),t.year+=e}u($m,"$735220c2d4774dd3$var$addYears");function wm(t){for(;t.month<1;)$m(t,-1),t.month+=t.calendar.getMonthsInYear(t);let e=0;for(;t.month>(e=t.calendar.getMonthsInYear(t));)t.month-=e,$m(t,1)}u(wm,"$735220c2d4774dd3$var$balanceYearMonth");function EM(t){for(;t.day<1;)t.month--,wm(t),t.day+=t.calendar.getDaysInMonth(t);for(;t.day>t.calendar.getDaysInMonth(t);)t.day-=t.calendar.getDaysInMonth(t),t.month++,wm(t)}u(EM,"$735220c2d4774dd3$var$balanceDay");function r$(t){t.month=Math.max(1,Math.min(t.calendar.getMonthsInYear(t),t.month)),t.day=Math.max(1,Math.min(t.calendar.getDaysInMonth(t),t.day))}u(r$,"$735220c2d4774dd3$var$constrainMonthDay");function Wi(t){t.calendar.constrainDate&&t.calendar.constrainDate(t),t.year=Math.max(1,Math.min(t.calendar.getYearsInEra(t),t.year)),r$(t)}u(Wi,"$735220c2d4774dd3$export$c4e2ecac49351ef2");function xm(t){let e={};for(let n in t)typeof t[n]=="number"&&(e[n]=-t[n]);return e}u(xm,"$735220c2d4774dd3$export$3e2544e88a25bff8");function i$(t,e){return Gc(t,xm(e))}u(i$,"$735220c2d4774dd3$export$4e2d2ead65e5f7e3");function Sm(t,e){let n=t.copy();return e.era!=null&&(n.era=e.era),e.year!=null&&(n.year=e.year),e.month!=null&&(n.month=e.month),e.day!=null&&(n.day=e.day),Wi(n),n}u(Sm,"$735220c2d4774dd3$export$adaa4cf7ef1b65be");function Zo(t,e){let n=t.copy();return e.hour!=null&&(n.hour=e.hour),e.minute!=null&&(n.minute=e.minute),e.second!=null&&(n.second=e.second),e.millisecond!=null&&(n.millisecond=e.millisecond),l$(n),n}u(Zo,"$735220c2d4774dd3$export$e5d5e1c1822b6e56");function AM(t){t.second+=Math.floor(t.millisecond/1e3),t.millisecond=Hc(t.millisecond,1e3),t.minute+=Math.floor(t.second/60),t.second=Hc(t.second,60),t.hour+=Math.floor(t.minute/60),t.minute=Hc(t.minute,60);let e=Math.floor(t.hour/24);return t.hour=Hc(t.hour,24),e}u(AM,"$735220c2d4774dd3$var$balanceTime");function l$(t){t.millisecond=Math.max(0,Math.min(t.millisecond,1e3)),t.second=Math.max(0,Math.min(t.second,59)),t.minute=Math.max(0,Math.min(t.minute,59)),t.hour=Math.max(0,Math.min(t.hour,23))}u(l$,"$735220c2d4774dd3$export$7555de1e070510cb");function Hc(t,e){let n=t%e;return n<0&&(n+=e),n}u(Hc,"$735220c2d4774dd3$var$nonNegativeMod");function a$(t,e){return t.hour+=e.hours||0,t.minute+=e.minutes||0,t.second+=e.seconds||0,t.millisecond+=e.milliseconds||0,AM(t)}u(a$,"$735220c2d4774dd3$var$addTimeFields");function o$(t,e){let n=t.copy();return a$(n,e),n}u(o$,"$735220c2d4774dd3$export$7ed87b6bc2506470");function TM(t,e){return o$(t,xm(e))}u(TM,"$735220c2d4774dd3$export$fe34d3a381cd7501");function Cm(t,e,n,r){let i=t.copy();switch(e){case"era":{let o=t.calendar.getEras(),s=o.indexOf(t.era);if(s<0)throw new Error("Invalid era: "+t.era);s=$r(s,n,0,o.length-1,r?.round),i.era=o[s],Wi(i);break}case"year":var l,a;!((l=(a=i.calendar).isInverseEra)===null||l===void 0)&&l.call(a,i)&&(n=-n),i.year=$r(t.year,n,-1/0,9999,r?.round),i.year===-1/0&&(i.year=1),i.calendar.balanceYearMonth&&i.calendar.balanceYearMonth(i,t);break;case"month":i.month=$r(t.month,n,1,t.calendar.getMonthsInYear(t),r?.round);break;case"day":i.day=$r(t.day,n,1,t.calendar.getDaysInMonth(t),r?.round);break;default:throw new Error("Unsupported field "+e)}return t.calendar.balanceDate&&t.calendar.balanceDate(i),Wi(i),i}u(Cm,"$735220c2d4774dd3$export$d52ced6badfb9a4c");function Dm(t,e,n,r){let i=t.copy();switch(e){case"hour":{let l=t.hour,a=0,o=23;if(r?.hourCycle===12){let s=l>=12;a=s?12:0,o=s?23:11}i.hour=$r(l,n,a,o,r?.round);break}case"minute":i.minute=$r(t.minute,n,0,59,r?.round);break;case"second":i.second=$r(t.second,n,0,59,r?.round);break;case"millisecond":i.millisecond=$r(t.millisecond,n,0,999,r?.round);break;default:throw new Error("Unsupported field "+e)}return i}u(Dm,"$735220c2d4774dd3$export$dd02b3e0007dfe28");function $r(t,e,n,r,i=!1){if(i){t+=Math.sign(e),t0?t=Math.ceil(t/l)*l:t=Math.floor(t/l)*l,t>r&&(t=n)}else t+=e,tr&&(t=n+(t-r-1));return t}u($r,"$735220c2d4774dd3$var$cycleValue");function s$(t,e){let n;if(e.years!=null&&e.years!==0||e.months!=null&&e.months!==0||e.weeks!=null&&e.weeks!==0||e.days!=null&&e.days!==0){let i=Gc(Bn(t),{years:e.years,months:e.months,weeks:e.weeks,days:e.days});n=yr(i,t.timeZone)}else n=ra(t)-t.offset;n+=e.milliseconds||0,n+=(e.seconds||0)*1e3,n+=(e.minutes||0)*6e4,n+=(e.hours||0)*36e5;let r=vr(n,t.timeZone);return Ae(r,t.calendar)}u(s$,"$735220c2d4774dd3$export$96b1d28349274637");function RM(t,e){return s$(t,xm(e))}u(RM,"$735220c2d4774dd3$export$6814caac34ca03c7");function QM(t,e,n,r){switch(e){case"hour":{let i=0,l=23;if(r?.hourCycle===12){let m=t.hour>=12;i=m?12:0,l=m?23:11}let a=Bn(t),o=Ae(Zo(a,{hour:i}),new it),s=[yr(o,t.timeZone,"earlier"),yr(o,t.timeZone,"later")].filter(m=>vr(m,t.timeZone).day===o.day)[0],c=Ae(Zo(a,{hour:l}),new it),d=[yr(c,t.timeZone,"earlier"),yr(c,t.timeZone,"later")].filter(m=>vr(m,t.timeZone).day===c.day).pop(),f=ra(t)-t.offset,h=Math.floor(f/Io),p=f%Io;return f=$r(h,n,Math.floor(s/Io),Math.floor(d/Io),r?.round)*Io+p,Ae(vr(f,t.timeZone),t.calendar)}case"minute":case"second":case"millisecond":return Dm(t,e,n,r);case"era":case"year":case"month":case"day":{let i=Cm(Bn(t),e,n,r),l=yr(i,t.timeZone);return Ae(vr(l,t.timeZone),t.calendar)}default:throw new Error("Unsupported field "+e)}}u(QM,"$735220c2d4774dd3$export$9a297d111fc86b79");function MM(t,e,n){let r=Bn(t),i=Zo(Sm(r,e),e);if(i.compare(r)===0)return t;let l=yr(i,t.timeZone,n);return Ae(vr(l,t.timeZone),t.calendar)}u(MM,"$735220c2d4774dd3$export$31b5430eb18be4f8");function u$(t){return`${String(t.hour).padStart(2,"0")}:${String(t.minute).padStart(2,"0")}:${String(t.second).padStart(2,"0")}${t.millisecond?String(t.millisecond/1e3).slice(1):""}`}u(u$,"$fae977aafc393c5c$export$f59dee82248f5ad4");function c$(t){let e=Ae(t,new it);return`${String(e.year).padStart(4,"0")}-${String(e.month).padStart(2,"0")}-${String(e.day).padStart(2,"0")}`}u(c$,"$fae977aafc393c5c$export$60dfd74aa96791bd");function d$(t){return`${c$(t)}T${u$(t)}`}u(d$,"$fae977aafc393c5c$export$4223de14708adc63");function BM(t){let e=Math.sign(t)<0?"-":"+";t=Math.abs(t);let n=Math.floor(t/36e5),r=t%36e5/6e4;return`${e}${String(n).padStart(2,"0")}:${String(r).padStart(2,"0")}`}u(BM,"$fae977aafc393c5c$var$offsetToString");function VM(t){return`${d$(t)}${BM(t.offset)}[${t.timeZone}]`}u(VM,"$fae977aafc393c5c$export$bf79f1ebf4b18792");function km(t){let e=typeof t[0]=="object"?t.shift():new it,n;if(typeof t[0]=="string")n=t.shift();else{let a=e.getEras();n=a[a.length-1]}let r=t.shift(),i=t.shift(),l=t.shift();return[e,n,r,i,l]}u(km,"$35ea8db9cb2ccb90$var$shiftArgs");var NM=new WeakMap;const Nu=class Nu{copy(){return this.era?new Nu(this.calendar,this.era,this.year,this.month,this.day):new Nu(this.calendar,this.year,this.month,this.day)}add(e){return Gc(this,e)}subtract(e){return i$(this,e)}set(e){return Sm(this,e)}cycle(e,n,r){return Cm(this,e,n,r)}toDate(e){return n$(this,e)}toString(){return c$(this)}compare(e){return Y3(this,e)}constructor(...e){ko(this,NM,{writable:!0,value:void 0});let[n,r,i,l,a]=km(e);this.calendar=n,this.era=r,this.year=i,this.month=l,this.day=a,Wi(this)}};u(Nu,"$35ea8db9cb2ccb90$export$99faa760c7908e4f");let Te=Nu;var FM=new WeakMap;const ep=class ep{copy(){return new ep(this.hour,this.minute,this.second,this.millisecond)}add(e){return o$(this,e)}subtract(e){return TM(this,e)}set(e){return Zo(this,e)}cycle(e,n,r){return Dm(this,e,n,r)}toString(){return u$(this)}compare(e){return K3(this,e)}constructor(e=0,n=0,r=0,i=0){ko(this,FM,{writable:!0,value:void 0}),this.hour=e,this.minute=n,this.second=r,this.millisecond=i,l$(this)}};u(ep,"$35ea8db9cb2ccb90$export$680ea196effce5f");let Pm=ep;var IM=new WeakMap;const Fu=class Fu{copy(){return this.era?new Fu(this.calendar,this.era,this.year,this.month,this.day,this.hour,this.minute,this.second,this.millisecond):new Fu(this.calendar,this.year,this.month,this.day,this.hour,this.minute,this.second,this.millisecond)}add(e){return Gc(this,e)}subtract(e){return i$(this,e)}set(e){return Sm(Zo(this,e),e)}cycle(e,n,r){switch(e){case"era":case"year":case"month":case"day":return Cm(this,e,n,r);default:return Dm(this,e,n,r)}}toDate(e,n){return n$(this,e,n)}toString(){return d$(this)}compare(e){let n=Y3(this,e);return n===0?K3(this,Bn(e)):n}constructor(...e){ko(this,IM,{writable:!0,value:void 0});let[n,r,i,l,a]=km(e);this.calendar=n,this.era=r,this.year=i,this.month=l,this.day=a,this.hour=e.shift()||0,this.minute=e.shift()||0,this.second=e.shift()||0,this.millisecond=e.shift()||0,Wi(this)}};u(Fu,"$35ea8db9cb2ccb90$export$ca871e8dbb80966f");let Em=Fu;var ZM=new WeakMap;const Iu=class Iu{copy(){return this.era?new Iu(this.calendar,this.era,this.year,this.month,this.day,this.timeZone,this.offset,this.hour,this.minute,this.second,this.millisecond):new Iu(this.calendar,this.year,this.month,this.day,this.timeZone,this.offset,this.hour,this.minute,this.second,this.millisecond)}add(e){return s$(this,e)}subtract(e){return RM(this,e)}set(e,n){return MM(this,e,n)}cycle(e,n,r){return QM(this,e,n,r)}toDate(){return kM(this)}toString(){return VM(this)}toAbsoluteString(){return this.toDate().toISOString()}compare(e){return this.toDate().getTime()-DM(e,this.timeZone).toDate().getTime()}constructor(...e){ko(this,ZM,{writable:!0,value:void 0});let[n,r,i,l,a]=km(e),o=e.shift(),s=e.shift();this.calendar=n,this.era=r,this.year=i,this.month=l,this.day=a,this.timeZone=o,this.offset=s,this.hour=e.shift()||0,this.minute=e.shift()||0,this.second=e.shift()||0,this.millisecond=e.shift()||0,Wi(this)}};u(Iu,"$35ea8db9cb2ccb90$export$d3b7288e7994edea");let _c=Iu;const ia=[[1868,9,8],[1912,7,30],[1926,12,25],[1989,1,8],[2019,5,1]],zM=[[1912,7,29],[1926,12,24],[1989,1,7],[2019,4,30]],Jc=[1867,1911,1925,1988,2018],Hr=["meiji","taisho","showa","heisei","reiwa"];function f$(t){const e=ia.findIndex(([n,r,i])=>t.year=0){let[,i,l]=ia[n];e.month=Math.max(i,e.month),e.month===i&&(e.day=Math.max(l,e.day))}}getEras(){return Hr}getYearsInEra(e){let n=Hr.indexOf(e.era),r=ia[n],i=ia[n+1];if(i==null)return 9999-r[0]+1;let l=i[0]-r[0];return(e.month0?["minguo",e]:["before_minguo",1-e]}u(O$,"$5f31bd6f0c8940b2$var$gregorianToTaiwan");const m1=class m1 extends it{fromJulianDay(e){let n=super.fromJulianDay(e),r=No(n.era,n.year),[i,l]=O$(r);return new Te(this,i,l,n.month,n.day)}toJulianDay(e){return super.toJulianDay(b$(e))}getEras(){return["before_minguo","minguo"]}balanceDate(e){let[n,r]=O$(g$(e));e.era=n,e.year=r}isInverseEra(e){return e.era==="before_minguo"}getDaysInMonth(e){return super.getDaysInMonth(b$(e))}getYearsInEra(e){return e.era==="before_minguo"?9999:9999-ed}constructor(...e){super(...e),this.identifier="roc"}};u(m1,"$5f31bd6f0c8940b2$export$65e01080afcb0799");let Qm=m1;function b$(t){let[e,n]=Kc(g$(t));return new Te(e,n,t.month,t.day)}u(b$,"$5f31bd6f0c8940b2$var$toGregorian");const y$=1948320,v$=[0,31,62,93,124,155,186,216,246,276,306,336],g1=class g1{fromJulianDay(e){let n=e-y$,r=1+Math.floor((33*n+3)/12053),i=365*(r-1)+Math.floor((8*r+21)/33),l=n-i,a=l<216?Math.floor(l/31):Math.floor((l-6)/30),o=l-v$[a]+1;return new Te(this,r,a+1,o)}toJulianDay(e){let n=y$-1+365*(e.year-1)+Math.floor((8*e.year+21)/33);return n+=v$[e.month-1],n+=e.day,n}getMonthsInYear(){return 12}getDaysInMonth(e){return e.month<=6?31:e.month<=11||ta(25*e.year+11,33)<8?30:29}getEras(){return["AP"]}getYearsInEra(){return 9377}constructor(){this.identifier="persian"}};u(g1,"$f3ed2e4472ae7e25$export$37fccdbfd14c5939");let Mm=g1;const Bm=78,$$=80,O1=class O1 extends it{fromJulianDay(e){let n=super.fromJulianDay(e),r=n.year-Bm,i=e-Zi(n.era,n.year,1,1),l;i<$$?(r--,l=Kr(n.year-1)?31:30,i+=l+155+90+10):(l=Kr(n.year)?31:30,i-=$$);let a,o;if(i=8&&(a+=(e.month-7)*30),a+=e.day-1,a)}getDaysInMonth(e){return e.month===1&&Kr(e.year+Bm)||e.month>=2&&e.month<=6?31:30}getYearsInEra(){return 9919}getEras(){return["saka"]}balanceDate(){}constructor(...e){super(...e),this.identifier="indian"}};u(O1,"$82c358003bdda0a8$export$39f31c639fa15726");let Vm=O1;const td=1948440,w$=1948439,rn=1300,la=1600,LM=460322;function nd(t,e,n,r){return r+Math.ceil(29.5*(n-1))+(e-1)*354+Math.floor((3+11*e)/30)+t-1}u(nd,"$f2f3e0e3a817edbd$var$islamicToJulianDay");function x$(t,e,n){let r=Math.floor((30*(n-e)+10646)/10631),i=Math.min(12,Math.ceil((n-(29+nd(e,r,1,1)))/29.5)+1),l=n-nd(e,r,i,1)+1;return new Te(t,r,i,l)}u(x$,"$f2f3e0e3a817edbd$var$julianDayToIslamic");function S$(t){return(14+11*t)%30<11}u(S$,"$f2f3e0e3a817edbd$var$isLeapYear");const b1=class b1{fromJulianDay(e){return x$(this,td,e)}toJulianDay(e){return nd(td,e.year,e.month,e.day)}getDaysInMonth(e){let n=29+e.month%2;return e.month===12&&S$(e.year)&&n++,n}getMonthsInYear(){return 12}getDaysInYear(e){return S$(e.year)?355:354}getYearsInEra(){return 9665}getEras(){return["AH"]}constructor(){this.identifier="islamic-civil"}};u(b1,"$f2f3e0e3a817edbd$export$2066795aadd37bfc");let zo=b1;const y1=class y1 extends zo{fromJulianDay(e){return x$(this,w$,e)}toJulianDay(e){return nd(w$,e.year,e.month,e.day)}constructor(...e){super(...e),this.identifier="islamic-tbla"}};u(y1,"$f2f3e0e3a817edbd$export$37f0887f2f9d22f7");let Nm=y1;const WM="qgpUDckO1AbqBmwDrQpVBakGkgepC9QF2gpcBS0NlQZKB1QLagutBa4ETwoXBYsGpQbVCtYCWwmdBE0KJg2VDawFtgm6AlsKKwWVCsoG6Qr0AnYJtgJWCcoKpAvSC9kF3AJtCU0FpQpSC6ULtAW2CVcFlwJLBaMGUgdlC2oFqworBZUMSg2lDcoF1gpXCasESwmlClILagt1BXYCtwhbBFUFqQW0BdoJ3QRuAjYJqgpUDbIN1QXaAlsJqwRVCkkLZAtxC7QFtQpVCiUNkg7JDtQG6QprCasEkwpJDaQNsg25CroEWworBZUKKgtVC1wFvQQ9Ah0JlQpKC1oLbQW2AjsJmwRVBqkGVAdqC2wFrQpVBSkLkgupC9QF2gpaBasKlQVJB2QHqgu1BbYCVgpNDiULUgtqC60FrgIvCZcESwalBqwG1gpdBZ0ETQoWDZUNqgW1BdoCWwmtBJUFygbkBuoK9QS2AlYJqgpUC9IL2QXqAm0JrQSVCkoLpQuyBbUJ1gSXCkcFkwZJB1ULagVrCisFiwpGDaMNygXWCtsEawJLCaUKUgtpC3UFdgG3CFsCKwVlBbQF2gntBG0BtgimClINqQ3UBdoKWwmrBFMGKQdiB6kLsgW1ClUFJQuSDckO0gbpCmsFqwRVCikNVA2qDbUJugQ7CpsETQqqCtUK2gJdCV4ELgqaDFUNsga5BroEXQotBZUKUguoC7QLuQXaAloJSgukDdEO6AZqC20FNQWVBkoNqA3UDdoGWwWdAisGFQtKC5ULqgWuCi4JjwwnBZUGqgbWCl0FnQI=";let Fm,aa;function rd(t){return LM+aa[t-rn]}u(rd,"$f2f3e0e3a817edbd$var$umalquraYearStart");function Lo(t,e){let n=t-rn,r=1<<11-(e-1);return Fm[n]&r?30:29}u(Lo,"$f2f3e0e3a817edbd$var$umalquraMonthLength");function C$(t,e){let n=rd(t);for(let r=1;ri)return super.fromJulianDay(e);{let l=rn-1,a=1,o=1;for(;o>0;){l++,o=n-rd(l)+1;let s=D$(l);if(o===s){a=12;break}else if(oc;)o-=c,a++,c=Lo(l,a);break}}return new Te(this,l,a,n-C$(l,a)+1)}}toJulianDay(e){return e.yearla?super.toJulianDay(e):td+C$(e.year,e.month)+(e.day-1)}getDaysInMonth(e){return e.yearla?super.getDaysInMonth(e):Lo(e.year,e.month)}getDaysInYear(e){return e.yearla?super.getDaysInYear(e):D$(e.year)}constructor(){if(super(),this.identifier="islamic-umalqura",Fm||(Fm=new Uint16Array(Uint8Array.from(atob(WM),e=>e.charCodeAt(0)).buffer)),!aa){aa=new Uint32Array(la-rn+1);let e=0;for(let n=rn;n<=la;n++){aa[n-rn]=e;for(let r=1;r<=12;r++)e+=Lo(n,r)}}}};u(v1,"$f2f3e0e3a817edbd$export$5baab4758c231076");let Im=v1;const k$=347997,P$=1080,E$=24*P$,XM=29,jM=12*P$+793,qM=XM*E$+jM;function Xi(t){return ta(t*7+1,19)<7}u(Xi,"$7c5f6fbf42389787$var$isLeapYear");function id(t){let e=Math.floor((235*t-234)/19),n=12084+13753*e,r=e*29+Math.floor(n/25920);return ta(3*(r+1),7)<3&&(r+=1),r}u(id,"$7c5f6fbf42389787$var$hebrewDelay1");function UM(t){let e=id(t-1),n=id(t);return id(t+1)-n===356?2:n-e===382?1:0}u(UM,"$7c5f6fbf42389787$var$hebrewDelay2");function Wo(t){return id(t)+UM(t)}u(Wo,"$7c5f6fbf42389787$var$startOfYear");function A$(t){return Wo(t+1)-Wo(t)}u(A$,"$7c5f6fbf42389787$var$getDaysInYear");function YM(t){let e=A$(t);switch(e>380&&(e-=30),e){case 353:return 0;case 354:return 1;case 355:return 2}}u(YM,"$7c5f6fbf42389787$var$getYearType");function ld(t,e){if(e>=6&&!Xi(t)&&e++,e===4||e===7||e===9||e===11||e===13)return 29;let n=YM(t);return e===2?n===2?30:29:e===3?n===0?29:30:e===6?Xi(t)?30:0:30}u(ld,"$7c5f6fbf42389787$var$getDaysInMonth");const $1=class $1{fromJulianDay(e){let n=e-k$,r=n*E$/qM,i=Math.floor((19*r+234)/235)+1,l=Wo(i),a=Math.floor(n-l);for(;a<1;)i--,l=Wo(i),a=Math.floor(n-l);let o=1,s=0;for(;s6?e.month--:!Xi(n.year)&&Xi(e.year)&&n.month>6&&e.month++)}constructor(){this.identifier="hebrew"}};u($1,"$7c5f6fbf42389787$export$ca405048b8fb5af");let Zm=$1;const zm=1723856,T$=1824665,Lm=5500;function ad(t,e,n,r){return t+365*e+Math.floor(e/4)+30*(n-1)+r-1}u(ad,"$b956b2d7a6cf451f$var$ceToJulianDay");function Wm(t,e){let n=Math.floor(4*(e-t)/1461),r=1+Math.floor((e-ad(t,n,1,1))/30),i=e+1-ad(t,n,r,1);return[n,r,i]}u(Wm,"$b956b2d7a6cf451f$var$julianDayToCE");function R$(t){return Math.floor(t%4/3)}u(R$,"$b956b2d7a6cf451f$var$getLeapDay");function Q$(t,e){return e%13!==0?30:R$(t)+5}u(Q$,"$b956b2d7a6cf451f$var$getDaysInMonth");const w1=class w1{fromJulianDay(e){let[n,r,i]=Wm(zm,e),l="AM";return n<=0&&(l="AA",n+=Lm),new Te(this,l,n,r,i)}toJulianDay(e){let n=e.year;return e.era==="AA"&&(n-=Lm),ad(zm,n,e.month,e.day)}getDaysInMonth(e){return Q$(e.year,e.month)}getMonthsInYear(){return 13}getDaysInYear(e){return 365+R$(e.year)}getYearsInEra(e){return e.era==="AA"?9999:9991}getEras(){return["AA","AM"]}constructor(){this.identifier="ethiopic"}};u(w1,"$b956b2d7a6cf451f$export$26ba6eab5e20cd7d");let Xo=w1;const x1=class x1 extends Xo{fromJulianDay(e){let[n,r,i]=Wm(zm,e);return n+=Lm,new Te(this,"AA",n,r,i)}getEras(){return["AA"]}getYearsInEra(){return 9999}constructor(...e){super(...e),this.identifier="ethioaa"}};u(x1,"$b956b2d7a6cf451f$export$d72e0c37005a4914");let Xm=x1;const S1=class S1 extends Xo{fromJulianDay(e){let[n,r,i]=Wm(T$,e),l="CE";return n<=0&&(l="BCE",n=1-n),new Te(this,l,n,r,i)}toJulianDay(e){let n=e.year;return e.era==="BCE"&&(n=1-n),ad(T$,n,e.month,e.day)}getDaysInMonth(e){let n=e.year;return e.era==="BCE"&&(n=1-n),Q$(n,e.month)}isInverseEra(e){return e.era==="BCE"}balanceDate(e){e.year<=0&&(e.era=e.era==="BCE"?"CE":"BCE",e.year=1-e.year)}getEras(){return["BCE","CE"]}getYearsInEra(e){return e.era==="BCE"?9999:9715}constructor(...e){super(...e),this.identifier="coptic"}};u(S1,"$b956b2d7a6cf451f$export$fe6243cbe1a4b7c1");let jm=S1;function qm(t){switch(t){case"buddhist":return new Rm;case"ethiopic":return new Xo;case"ethioaa":return new Xm;case"coptic":return new jm;case"hebrew":return new Zm;case"indian":return new Vm;case"islamic-civil":return new zo;case"islamic-tbla":return new Nm;case"islamic-umalqura":return new Im;case"japanese":return new Tm;case"persian":return new Mm;case"roc":return new Qm;case"gregory":default:return new it}}u(qm,"$64244302c3013299$export$dd0bbc9b26defe37");let Um=new Map;const C1=class C1{format(e){return this.formatter.format(e)}formatToParts(e){return this.formatter.formatToParts(e)}formatRange(e,n){if(typeof this.formatter.formatRange=="function")return this.formatter.formatRange(e,n);if(n= start date");return`${this.formatter.format(e)} \u2013 ${this.formatter.format(n)}`}formatRangeToParts(e,n){if(typeof this.formatter.formatRangeToParts=="function")return this.formatter.formatRangeToParts(e,n);if(n= start date");let r=this.formatter.formatToParts(e),i=this.formatter.formatToParts(n);return[...r.map(l=>({...l,source:"startRange"})),{type:"literal",value:" \u2013 ",source:"shared"},...i.map(l=>({...l,source:"endRange"}))]}resolvedOptions(){let e=this.formatter.resolvedOptions();return HM()&&(this.resolvedHourCycle||(this.resolvedHourCycle=_M(e.locale,this.options)),e.hourCycle=this.resolvedHourCycle,e.hour12=this.resolvedHourCycle==="h11"||this.resolvedHourCycle==="h12"),e.calendar==="ethiopic-amete-alem"&&(e.calendar="ethioaa"),e}constructor(e,n={}){this.formatter=M$(e,n),this.options=n}};u(C1,"$fb18d541ea1ad717$export$ad991b66133851cf");let Pt=C1;const KM={true:{ja:"h11"},false:{}};function M$(t,e={}){if(typeof e.hour12=="boolean"&&GM()){e={...e};let i=KM[String(e.hour12)][t.split("-")[0]],l=e.hour12?"h12":"h23";e.hourCycle=i??l,delete e.hour12}let n=t+(e?Object.entries(e).sort((i,l)=>i[0]l.type==="hour").value,10),i=parseInt(n.formatToParts(new Date(2020,2,3,23)).find(l=>l.type==="hour").value,10);if(r===0&&i===23)return"h23";if(r===24&&i===23)return"h24";if(r===0&&i===11)return"h11";if(r===12&&i===11)return"h12";throw new Error("Unexpected hour cycle result")}u(_M,"$fb18d541ea1ad717$var$getResolvedHourCycle");function Vn(t){t=b3(t??{},JM);let{locale:e}=Ee();return(0,wp.element.useMemo)(()=>new Pt(e,t),[e,t])}u(Vn,"$896ba0a80a8f4d36$export$85fd5fdf27bacc79");function JM(t,e){if(t===e)return!0;let n=Object.keys(t),r=Object.keys(e);if(n.length!==r.length)return!1;for(let i of n)if(e[i]!==t[i])return!1;return!0}u(JM,"$896ba0a80a8f4d36$var$isEqual");let Gm=new Map,Hm=!1;try{Hm=new Intl.NumberFormat("de-DE",{signDisplay:"exceptZero"}).resolvedOptions().signDisplay==="exceptZero"}catch{}let od=!1;try{od=new Intl.NumberFormat("de-DE",{style:"unit",unit:"degree"}).resolvedOptions().style==="unit"}catch{}const B$={degree:{narrow:{default:"\xB0","ja-JP":" \u5EA6","zh-TW":"\u5EA6","sl-SI":" \xB0"}}},D1=class D1{format(e){let n="";if(!Hm&&this.options.signDisplay!=null?n=tB(this.numberFormatter,this.options.signDisplay,e):n=this.numberFormatter.format(e),this.options.style==="unit"&&!od){var r;let{unit:i,unitDisplay:l="short",locale:a}=this.resolvedOptions();if(!i)return n;let o=(r=B$[i])===null||r===void 0?void 0:r[l];n+=o[a]||o.default}return n}formatToParts(e){return this.numberFormatter.formatToParts(e)}formatRange(e,n){if(typeof this.numberFormatter.formatRange=="function")return this.numberFormatter.formatRange(e,n);if(n= start date");return`${this.format(e)} \u2013 ${this.format(n)}`}formatRangeToParts(e,n){if(typeof this.numberFormatter.formatRangeToParts=="function")return this.numberFormatter.formatRangeToParts(e,n);if(n= start date");let r=this.numberFormatter.formatToParts(e),i=this.numberFormatter.formatToParts(n);return[...r.map(l=>({...l,source:"startRange"})),{type:"literal",value:" \u2013 ",source:"shared"},...i.map(l=>({...l,source:"endRange"}))]}resolvedOptions(){let e=this.numberFormatter.resolvedOptions();return!Hm&&this.options.signDisplay!=null&&(e={...e,signDisplay:this.options.signDisplay}),!od&&this.options.style==="unit"&&(e={...e,style:"unit",unit:this.options.unit,unitDisplay:this.options.unitDisplay}),e}constructor(e,n={}){this.numberFormatter=eB(e,n),this.options=n}};u(D1,"$488c6ddbf4ef74c2$export$cc77c4ff7e8673c5");let Nn=D1;function eB(t,e={}){let{numberingSystem:n}=e;if(n&&t.includes("-nu-")&&(t.includes("-u-")||(t+="-u-"),t+=`-nu-${n}`),e.style==="unit"&&!od){var r;let{unit:a,unitDisplay:o="short"}=e;if(!a)throw new Error('unit option must be provided with style: "unit"');if(!(!((r=B$[a])===null||r===void 0)&&r[o]))throw new Error(`Unsupported unit ${a} with unitDisplay = ${o}`);e={...e,style:"decimal"}}let i=t+(e?Object.entries(e).sort((a,o)=>a[0]0||Object.is(n,0):e==="exceptZero"&&(Object.is(n,-0)||Object.is(n,0)?n=Math.abs(n):r=n>0),r){let i=t.format(-n),l=t.format(n),a=i.replace(l,"").replace(/\u200e|\u061C/,"");return[...a].length!==1&&console.warn("@react-aria/i18n polyfill for NumberFormat signDisplay: Unsupported case"),i.replace(l,"!!!").replace(a,"+").replace("!!!",l)}else return t.format(n)}}u(tB,"$488c6ddbf4ef74c2$export$711b50b3c525e0f2");const nB=new RegExp("^.*\\(.*\\).*$"),rB=["latn","arab","hanidec"],k1=class k1{parse(e){return _m(this.locale,this.options,e).parse(e)}isValidPartialNumber(e,n,r){return _m(this.locale,this.options,e).isValidPartialNumber(e,n,r)}getNumberingSystem(e){return _m(this.locale,this.options,e).options.numberingSystem}constructor(e,n={}){this.locale=e,this.options=n}};u(k1,"$6c7bd7858deea686$export$cd11ab140839f11d");let jo=k1;const V$=new Map;function _m(t,e,n){let r=N$(t,e);if(!t.includes("-nu-")&&!r.isValidPartialNumber(n)){for(let i of rB)if(i!==r.options.numberingSystem){let l=N$(t+(t.includes("-u-")?"-nu-":"-u-nu-")+i,e);if(l.isValidPartialNumber(n))return l}}return r}u(_m,"$6c7bd7858deea686$var$getNumberParserImpl");function N$(t,e){let n=t+(e?Object.entries(e).sort((i,l)=>i[0]-1&&(n=`-${n}`)}let r=n?+n:NaN;if(isNaN(r))return NaN;if(this.options.style==="percent"){var i,l;let a={...this.options,style:"decimal",minimumFractionDigits:Math.min(((i=this.options.minimumFractionDigits)!==null&&i!==void 0?i:0)+2,20),maximumFractionDigits:Math.min(((l=this.options.maximumFractionDigits)!==null&&l!==void 0?l:0)+2,20)};return new jo(this.locale,a).parse(new Nn(this.locale,a).format(r))}return this.options.currencySign==="accounting"&&nB.test(e)&&(r=-1*r),r}sanitize(e){return e=e.replace(this.symbols.literals,""),this.symbols.minusSign&&(e=e.replace("-",this.symbols.minusSign)),this.options.numberingSystem==="arab"&&(this.symbols.decimal&&(e=e.replace(",",this.symbols.decimal),e=e.replace("\u060C",this.symbols.decimal)),this.symbols.group&&(e=sd(e,".",this.symbols.group))),this.options.locale==="fr-FR"&&(e=sd(e,".","\u202F")),e}isValidPartialNumber(e,n=-1/0,r=1/0){return e=this.sanitize(e),this.symbols.minusSign&&e.startsWith(this.symbols.minusSign)&&n<0?e=e.slice(this.symbols.minusSign.length):this.symbols.plusSign&&e.startsWith(this.symbols.plusSign)&&r>0&&(e=e.slice(this.symbols.plusSign.length)),this.symbols.group&&e.startsWith(this.symbols.group)||this.symbols.decimal&&e.indexOf(this.symbols.decimal)>-1&&this.options.maximumFractionDigits===0?!1:(this.symbols.group&&(e=sd(e,this.symbols.group,"")),e=e.replace(this.symbols.numeral,""),this.symbols.decimal&&(e=e.replace(this.symbols.decimal,"")),e.length===0)}constructor(e,n={}){this.locale=e,this.formatter=new Intl.NumberFormat(e,n),this.options=this.formatter.resolvedOptions(),this.symbols=lB(e,this.formatter,this.options,n);var r,i;this.options.style==="percent"&&(((r=this.options.minimumFractionDigits)!==null&&r!==void 0?r:0)>18||((i=this.options.maximumFractionDigits)!==null&&i!==void 0?i:0)>18)&&console.warn("NumberParser cannot handle percentages with greater than 18 decimal places, please reduce the number in your options.")}};u(P1,"$6c7bd7858deea686$var$NumberParserImpl");let Jm=P1;const F$=new Set(["decimal","fraction","integer","minusSign","plusSign","group"]),iB=[0,4,2,1,11,20,3,7,100,21,.1,1.1];function lB(t,e,n,r){var i,l,a,o;let s=new Intl.NumberFormat(t,{...n,minimumSignificantDigits:1,maximumSignificantDigits:21}),c=s.formatToParts(-10000.111),d=s.formatToParts(10000.111),f=iB.map(D=>s.formatToParts(D));var h;let p=(h=(i=c.find(D=>D.type==="minusSign"))===null||i===void 0?void 0:i.value)!==null&&h!==void 0?h:"-",m=(l=d.find(D=>D.type==="plusSign"))===null||l===void 0?void 0:l.value;!m&&(r?.signDisplay==="exceptZero"||r?.signDisplay==="always")&&(m="+");let O=(a=new Intl.NumberFormat(t,{...n,minimumFractionDigits:2,maximumFractionDigits:2}).formatToParts(.001).find(D=>D.type==="decimal"))===null||a===void 0?void 0:a.value,b=(o=c.find(D=>D.type==="group"))===null||o===void 0?void 0:o.value,y=c.filter(D=>!F$.has(D.type)).map(D=>I$(D.value)),$=f.flatMap(D=>D.filter(S=>!F$.has(S.type)).map(S=>I$(S.value))),C=[...new Set([...y,...$])].sort((D,S)=>S.length-D.length),w=C.length===0?new RegExp("[\\p{White_Space}]","gu"):new RegExp(`${C.join("|")}|[\\p{White_Space}]`,"gu"),x=[...new Intl.NumberFormat(n.locale,{useGrouping:!1}).format(9876543210)].reverse(),P=new Map(x.map((D,S)=>[D,S])),v=new RegExp(`[${x.join("")}]`,"g");return{minusSign:p,plusSign:m,decimal:O,group:b,literals:w,numeral:v,index:u(D=>String(P.get(D)),"index")}}u(lB,"$6c7bd7858deea686$var$getSymbols");function sd(t,e,n){return t.replaceAll?t.replaceAll(e,n):t.split(e).join(n)}u(sd,"$6c7bd7858deea686$var$replaceAll");function I$(t){return t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}u(I$,"$6c7bd7858deea686$var$escapeRegex");function Z$(t={}){let{locale:e}=Ee();return(0,wp.element.useMemo)(()=>new Nn(e,t),[e,t])}u(Z$,"$a916eb452884faea$export$b7a616150fdb9f44");let eg=new Map;function tg(t){let{locale:e}=Ee(),n=e+(t?Object.entries(t).sort((i,l)=>i[0]a.length===0?!0:(l=l.normalize("NFC"),a=a.normalize("NFC"),e.compare(l.slice(0,a.length),a)===0),[e]),r=(0,wp.element.useCallback)((l,a)=>a.length===0?!0:(l=l.normalize("NFC"),a=a.normalize("NFC"),e.compare(l.slice(-a.length),a)===0),[e]),i=(0,wp.element.useCallback)((l,a)=>{if(a.length===0)return!0;l=l.normalize("NFC"),a=a.normalize("NFC");let o=0,s=a.length;for(;o+s<=l.length;o++){let c=l.slice(o,o+s);if(e.compare(a,c)===0)return!0}return!1},[e]);return(0,wp.element.useMemo)(()=>({startsWith:n,endsWith:r,contains:i}),[n,r,i])}u(z$,"$bb77f239b46e8c72$export$3274cf84b703fff");function aB(t,e){let{elementType:n="button",isDisabled:r,onPress:i,onPressStart:l,onPressEnd:a,onPressUp:o,onPressChange:s,preventFocusOnPress:c,allowFocusWhenDisabled:d,onClick:f,href:h,target:p,rel:m,type:g="button"}=t,O;n==="button"?O={type:g,disabled:r}:O={role:"button",tabIndex:r?void 0:0,href:n==="a"&&r?void 0:h,target:n==="a"?p:void 0,type:n==="input"?g:void 0,disabled:n==="input"?r:void 0,"aria-disabled":!r||n==="input"?void 0:r,rel:n==="a"?m:void 0};let{pressProps:b,isPressed:y}=gr({onPressStart:l,onPressEnd:a,onPressChange:s,onPress:i,onPressUp:o,isDisabled:r,preventFocusOnPress:c,ref:e}),{focusableProps:$}=Mo(t,e);d&&($.tabIndex=r?-1:$.tabIndex);let C=te($,b,ft(t,{labelable:!0}));return{isPressed:y,buttonProps:te(O,C,{"aria-haspopup":t["aria-haspopup"],"aria-expanded":t["aria-expanded"],"aria-controls":t["aria-controls"],"aria-pressed":t["aria-pressed"],onClick:w=>{f&&(f(w),console.warn("onClick is deprecated, please use onPress"))}})}}u(aB,"$701a24aa0da5b062$export$ea18c227d4417cc3");var L$={};L$={dateRange:t=>`${t.startDate} \u0625\u0644\u0649 ${t.endDate}`,dateSelected:t=>`${t.date} \u0627\u0644\u0645\u062D\u062F\u062F`,finishRangeSelectionPrompt:"\u0627\u0646\u0642\u0631 \u0644\u0625\u0646\u0647\u0627\u0621 \u0639\u0645\u0644\u064A\u0629 \u062A\u062D\u062F\u064A\u062F \u0646\u0637\u0627\u0642 \u0627\u0644\u062A\u0627\u0631\u064A\u062E",maximumDate:"\u0622\u062E\u0631 \u062A\u0627\u0631\u064A\u062E \u0645\u062A\u0627\u062D",minimumDate:"\u0623\u0648\u0644 \u062A\u0627\u0631\u064A\u062E \u0645\u062A\u0627\u062D",next:"\u0627\u0644\u062A\u0627\u0644\u064A",previous:"\u0627\u0644\u0633\u0627\u0628\u0642",selectedDateDescription:t=>`\u062A\u0627\u0631\u064A\u062E \u0645\u062D\u062F\u062F: ${t.date}`,selectedRangeDescription:t=>`\u0627\u0644\u0645\u062F\u0649 \u0627\u0644\u0632\u0645\u0646\u064A \u0627\u0644\u0645\u062D\u062F\u062F: ${t.dateRange}`,startRangeSelectionPrompt:"\u0627\u0646\u0642\u0631 \u0644\u0628\u062F\u0621 \u0639\u0645\u0644\u064A\u0629 \u062A\u062D\u062F\u064A\u062F \u0646\u0637\u0627\u0642 \u0627\u0644\u062A\u0627\u0631\u064A\u062E",todayDate:t=>`\u0627\u0644\u064A\u0648\u0645\u060C ${t.date}`,todayDateSelected:t=>`\u0627\u0644\u064A\u0648\u0645\u060C ${t.date} \u0645\u062D\u062F\u062F`};var W$={};W$={dateRange:t=>`${t.startDate} \u0434\u043E ${t.endDate}`,dateSelected:t=>`\u0418\u0437\u0431\u0440\u0430\u043D\u043E \u0435 ${t.date}`,finishRangeSelectionPrompt:"\u041D\u0430\u0442\u0438\u0441\u043D\u0435\u0442\u0435, \u0437\u0430 \u0434\u0430 \u0434\u043E\u0432\u044A\u0440\u0448\u0438\u0442\u0435 \u0438\u0437\u0431\u043E\u0440\u0430 \u043D\u0430 \u0432\u0440\u0435\u043C\u0435\u0432\u0438 \u0438\u043D\u0442\u0435\u0440\u0432\u0430\u043B",maximumDate:"\u041F\u043E\u0441\u043B\u0435\u0434\u043D\u0430 \u043D\u0430\u043B\u0438\u0447\u043D\u0430 \u0434\u0430\u0442\u0430",minimumDate:"\u041F\u044A\u0440\u0432\u0430 \u043D\u0430\u043B\u0438\u0447\u043D\u0430 \u0434\u0430\u0442\u0430",next:"\u041D\u0430\u043F\u0440\u0435\u0434",previous:"\u041D\u0430\u0437\u0430\u0434",selectedDateDescription:t=>`\u0418\u0437\u0431\u0440\u0430\u043D\u0430 \u0434\u0430\u0442\u0430: ${t.date}`,selectedRangeDescription:t=>`\u0418\u0437\u0431\u0440\u0430\u043D \u0434\u0438\u0430\u043F\u0430\u0437\u043E\u043D: ${t.dateRange}`,startRangeSelectionPrompt:"\u041D\u0430\u0442\u0438\u0441\u043D\u0435\u0442\u0435, \u0437\u0430 \u0434\u0430 \u043F\u0440\u0438\u0441\u0442\u044A\u043F\u0438\u0442\u0435 \u043A\u044A\u043C \u0438\u0437\u0431\u043E\u0440\u0430 \u043D\u0430 \u0432\u0440\u0435\u043C\u0435\u0432\u0438 \u0438\u043D\u0442\u0435\u0440\u0432\u0430\u043B",todayDate:t=>`\u0414\u043D\u0435\u0441, ${t.date}`,todayDateSelected:t=>`\u0414\u043D\u0435\u0441, ${t.date} \u0441\u0430 \u0438\u0437\u0431\u0440\u0430\u043D\u0438`};var X$={};X$={dateRange:t=>`${t.startDate} a\u017E ${t.endDate}`,dateSelected:t=>`Vybr\xE1no ${t.date}`,finishRangeSelectionPrompt:"Kliknut\xEDm dokon\u010D\xEDte v\xFDb\u011Br rozsahu dat",maximumDate:"Posledn\xED dostupn\xE9 datum",minimumDate:"Prvn\xED dostupn\xE9 datum",next:"Dal\u0161\xED",previous:"P\u0159edchoz\xED",selectedDateDescription:t=>`Vybran\xE9 datum: ${t.date}`,selectedRangeDescription:t=>`Vybran\xE9 obdob\xED: ${t.dateRange}`,startRangeSelectionPrompt:"Kliknut\xEDm zah\xE1j\xEDte v\xFDb\u011Br rozsahu dat",todayDate:t=>`Dnes, ${t.date}`,todayDateSelected:t=>`Dnes, vybr\xE1no ${t.date}`};var j$={};j$={dateRange:t=>`${t.startDate} til ${t.endDate}`,dateSelected:t=>`${t.date} valgt`,finishRangeSelectionPrompt:"Klik for at fuldf\xF8re valg af datoomr\xE5de",maximumDate:"Sidste ledige dato",minimumDate:"F\xF8rste ledige dato",next:"N\xE6ste",previous:"Forrige",selectedDateDescription:t=>`Valgt dato: ${t.date}`,selectedRangeDescription:t=>`Valgt interval: ${t.dateRange}`,startRangeSelectionPrompt:"Klik for at starte valg af datoomr\xE5de",todayDate:t=>`I dag, ${t.date}`,todayDateSelected:t=>`I dag, ${t.date} valgt`};var q$={};q$={dateRange:t=>`${t.startDate} bis ${t.endDate}`,dateSelected:t=>`${t.date} ausgew\xE4hlt`,finishRangeSelectionPrompt:"Klicken, um die Auswahl des Datumsbereichs zu beenden",maximumDate:"Letztes verf\xFCgbares Datum",minimumDate:"Erstes verf\xFCgbares Datum",next:"Weiter",previous:"Zur\xFCck",selectedDateDescription:t=>`Ausgew\xE4hltes Datum: ${t.date}`,selectedRangeDescription:t=>`Ausgew\xE4hlter Bereich: ${t.dateRange}`,startRangeSelectionPrompt:"Klicken, um die Auswahl des Datumsbereichs zu beginnen",todayDate:t=>`Heute, ${t.date}`,todayDateSelected:t=>`Heute, ${t.date} ausgew\xE4hlt`};var U$={};U$={dateRange:t=>`${t.startDate} \u03AD\u03C9\u03C2 ${t.endDate}`,dateSelected:t=>`\u0395\u03C0\u03B9\u03BB\u03AD\u03C7\u03B8\u03B7\u03BA\u03B5 ${t.date}`,finishRangeSelectionPrompt:"\u039A\u03AC\u03BD\u03C4\u03B5 \u03BA\u03BB\u03B9\u03BA \u03B3\u03B9\u03B1 \u03BD\u03B1 \u03BF\u03BB\u03BF\u03BA\u03BB\u03B7\u03C1\u03CE\u03C3\u03B5\u03C4\u03B5 \u03C4\u03B7\u03BD \u03B5\u03C0\u03B9\u03BB\u03BF\u03B3\u03AE \u03B5\u03CD\u03C1\u03BF\u03C5\u03C2 \u03B7\u03BC\u03B5\u03C1\u03BF\u03BC\u03B7\u03BD\u03B9\u03CE\u03BD",maximumDate:"\u03A4\u03B5\u03BB\u03B5\u03C5\u03C4\u03B1\u03AF\u03B1 \u03B4\u03B9\u03B1\u03B8\u03AD\u03C3\u03B9\u03BC\u03B7 \u03B7\u03BC\u03B5\u03C1\u03BF\u03BC\u03B7\u03BD\u03AF\u03B1",minimumDate:"\u03A0\u03C1\u03CE\u03C4\u03B7 \u03B4\u03B9\u03B1\u03B8\u03AD\u03C3\u03B9\u03BC\u03B7 \u03B7\u03BC\u03B5\u03C1\u03BF\u03BC\u03B7\u03BD\u03AF\u03B1",next:"\u0395\u03C0\u03CC\u03BC\u03B5\u03BD\u03BF",previous:"\u03A0\u03C1\u03BF\u03B7\u03B3\u03BF\u03CD\u03BC\u03B5\u03BD\u03BF",selectedDateDescription:t=>`\u0395\u03C0\u03B9\u03BB\u03B5\u03B3\u03BC\u03AD\u03BD\u03B7 \u03B7\u03BC\u03B5\u03C1\u03BF\u03BC\u03B7\u03BD\u03AF\u03B1: ${t.date}`,selectedRangeDescription:t=>`\u0395\u03C0\u03B9\u03BB\u03B5\u03B3\u03BC\u03AD\u03BD\u03BF \u03B5\u03CD\u03C1\u03BF\u03C2: ${t.dateRange}`,startRangeSelectionPrompt:"\u039A\u03AC\u03BD\u03C4\u03B5 \u03BA\u03BB\u03B9\u03BA \u03B3\u03B9\u03B1 \u03BD\u03B1 \u03BE\u03B5\u03BA\u03B9\u03BD\u03AE\u03C3\u03B5\u03C4\u03B5 \u03C4\u03B7\u03BD \u03B5\u03C0\u03B9\u03BB\u03BF\u03B3\u03AE \u03B5\u03CD\u03C1\u03BF\u03C5\u03C2 \u03B7\u03BC\u03B5\u03C1\u03BF\u03BC\u03B7\u03BD\u03B9\u03CE\u03BD",todayDate:t=>`\u03A3\u03AE\u03BC\u03B5\u03C1\u03B1, ${t.date}`,todayDateSelected:t=>`\u03A3\u03AE\u03BC\u03B5\u03C1\u03B1, \u03B5\u03C0\u03B9\u03BB\u03AD\u03C7\u03C4\u03B7\u03BA\u03B5 ${t.date}`};var Y$={};Y$={previous:"Previous",next:"Next",selectedDateDescription:t=>`Selected Date: ${t.date}`,selectedRangeDescription:t=>`Selected Range: ${t.dateRange}`,todayDate:t=>`Today, ${t.date}`,todayDateSelected:t=>`Today, ${t.date} selected`,dateSelected:t=>`${t.date} selected`,startRangeSelectionPrompt:"Click to start selecting date range",finishRangeSelectionPrompt:"Click to finish selecting date range",minimumDate:"First available date",maximumDate:"Last available date",dateRange:t=>`${t.startDate} to ${t.endDate}`};var K$={};K$={dateRange:t=>`${t.startDate} a ${t.endDate}`,dateSelected:t=>`${t.date} seleccionado`,finishRangeSelectionPrompt:"Haga clic para terminar de seleccionar rango de fechas",maximumDate:"\xDAltima fecha disponible",minimumDate:"Primera fecha disponible",next:"Siguiente",previous:"Anterior",selectedDateDescription:t=>`Fecha seleccionada: ${t.date}`,selectedRangeDescription:t=>`Intervalo seleccionado: ${t.dateRange}`,startRangeSelectionPrompt:"Haga clic para comenzar a seleccionar un rango de fechas",todayDate:t=>`Hoy, ${t.date}`,todayDateSelected:t=>`Hoy, ${t.date} seleccionado`};var G$={};G$={dateRange:t=>`${t.startDate} kuni ${t.endDate}`,dateSelected:t=>`${t.date} valitud`,finishRangeSelectionPrompt:"Kl\xF5psake kuup\xE4evavahemiku valimise l\xF5petamiseks",maximumDate:"Viimane saadaolev kuup\xE4ev",minimumDate:"Esimene saadaolev kuup\xE4ev",next:"J\xE4rgmine",previous:"Eelmine",selectedDateDescription:t=>`Valitud kuup\xE4ev: ${t.date}`,selectedRangeDescription:t=>`Valitud vahemik: ${t.dateRange}`,startRangeSelectionPrompt:"Kl\xF5psake kuup\xE4evavahemiku valimiseks",todayDate:t=>`T\xE4na, ${t.date}`,todayDateSelected:t=>`T\xE4na, ${t.date} valitud`};var H$={};H$={dateRange:t=>`${t.startDate} \u2013 ${t.endDate}`,dateSelected:t=>`${t.date} valittu`,finishRangeSelectionPrompt:"Lopeta p\xE4iv\xE4m\xE4\xE4r\xE4alueen valinta napsauttamalla t\xE4t\xE4.",maximumDate:"Viimeinen varattavissa oleva p\xE4iv\xE4m\xE4\xE4r\xE4",minimumDate:"Ensimm\xE4inen varattavissa oleva p\xE4iv\xE4m\xE4\xE4r\xE4",next:"Seuraava",previous:"Edellinen",selectedDateDescription:t=>`Valittu p\xE4iv\xE4m\xE4\xE4r\xE4: ${t.date}`,selectedRangeDescription:t=>`Valittu aikav\xE4li: ${t.dateRange}`,startRangeSelectionPrompt:"Aloita p\xE4iv\xE4m\xE4\xE4r\xE4alueen valinta napsauttamalla t\xE4t\xE4.",todayDate:t=>`T\xE4n\xE4\xE4n, ${t.date}`,todayDateSelected:t=>`T\xE4n\xE4\xE4n, ${t.date} valittu`};var _$={};_$={dateRange:t=>`${t.startDate} \xE0 ${t.endDate}`,dateSelected:t=>`${t.date} s\xE9lectionn\xE9`,finishRangeSelectionPrompt:"Cliquer pour finir de s\xE9lectionner la plage de dates",maximumDate:"Derni\xE8re date disponible",minimumDate:"Premi\xE8re date disponible",next:"Suivant",previous:"Pr\xE9c\xE9dent",selectedDateDescription:t=>`Date s\xE9lectionn\xE9e\xA0: ${t.date}`,selectedRangeDescription:t=>`Plage s\xE9lectionn\xE9e\xA0: ${t.dateRange}`,startRangeSelectionPrompt:"Cliquer pour commencer \xE0 s\xE9lectionner la plage de dates",todayDate:t=>`Aujourd'hui, ${t.date}`,todayDateSelected:t=>`Aujourd\u2019hui, ${t.date} s\xE9lectionn\xE9`};var J$={};J$={dateRange:t=>`${t.startDate} \u05E2\u05D3 ${t.endDate}`,dateSelected:t=>`${t.date} \u05E0\u05D1\u05D7\u05E8`,finishRangeSelectionPrompt:"\u05D7\u05E5 \u05DB\u05D3\u05D9 \u05DC\u05E1\u05D9\u05D9\u05DD \u05D0\u05EA \u05D1\u05D7\u05D9\u05E8\u05EA \u05D8\u05D5\u05D5\u05D7 \u05D4\u05EA\u05D0\u05E8\u05D9\u05DB\u05D9\u05DD",maximumDate:"\u05EA\u05D0\u05E8\u05D9\u05DA \u05E4\u05E0\u05D5\u05D9 \u05D0\u05D7\u05E8\u05D5\u05DF",minimumDate:"\u05EA\u05D0\u05E8\u05D9\u05DA \u05E4\u05E0\u05D5\u05D9 \u05E8\u05D0\u05E9\u05D5\u05DF",next:"\u05D4\u05D1\u05D0",previous:"\u05D4\u05E7\u05D5\u05D3\u05DD",selectedDateDescription:t=>`\u05EA\u05D0\u05E8\u05D9\u05DA \u05E0\u05D1\u05D7\u05E8: ${t.date}`,selectedRangeDescription:t=>`\u05D8\u05D5\u05D5\u05D7 \u05E0\u05D1\u05D7\u05E8: ${t.dateRange}`,startRangeSelectionPrompt:"\u05DC\u05D7\u05E5 \u05DB\u05D3\u05D9 \u05DC\u05D4\u05EA\u05D7\u05D9\u05DC \u05D1\u05D1\u05D7\u05D9\u05E8\u05EA \u05D8\u05D5\u05D5\u05D7 \u05D4\u05EA\u05D0\u05E8\u05D9\u05DB\u05D9\u05DD",todayDate:t=>`\u05D4\u05D9\u05D5\u05DD, ${t.date}`,todayDateSelected:t=>`\u05D4\u05D9\u05D5\u05DD, ${t.date} \u05E0\u05D1\u05D7\u05E8`};var ew={};ew={dateRange:t=>`${t.startDate} do ${t.endDate}`,dateSelected:t=>`${t.date} odabran`,finishRangeSelectionPrompt:"Kliknite da dovr\u0161ite raspon odabranih datuma",maximumDate:"Posljednji raspolo\u017Eivi datum",minimumDate:"Prvi raspolo\u017Eivi datum",next:"Sljede\u0107i",previous:"Prethodni",selectedDateDescription:t=>`Odabrani datum: ${t.date}`,selectedRangeDescription:t=>`Odabrani raspon: ${t.dateRange}`,startRangeSelectionPrompt:"Kliknite da zapo\u010Dnete raspon odabranih datuma",todayDate:t=>`Danas, ${t.date}`,todayDateSelected:t=>`Danas, odabran ${t.date}`};var tw={};tw={dateRange:t=>`${t.startDate}\u2013${t.endDate}`,dateSelected:t=>`${t.date} kiv\xE1lasztva`,finishRangeSelectionPrompt:"Kattintson a d\xE1tumtartom\xE1ny kijel\xF6l\xE9s\xE9nek befejez\xE9s\xE9hez",maximumDate:"Utols\xF3 el\xE9rhet\u0151 d\xE1tum",minimumDate:"Az els\u0151 el\xE9rhet\u0151 d\xE1tum",next:"K\xF6vetkez\u0151",previous:"El\u0151z\u0151",selectedDateDescription:t=>`Kijel\xF6lt d\xE1tum: ${t.date}`,selectedRangeDescription:t=>`Kijel\xF6lt tartom\xE1ny: ${t.dateRange}`,startRangeSelectionPrompt:"Kattintson a d\xE1tumtartom\xE1ny kijel\xF6l\xE9s\xE9nek ind\xEDt\xE1s\xE1hoz",todayDate:t=>`Ma, ${t.date}`,todayDateSelected:t=>`Ma, ${t.date} kijel\xF6lve`};var nw={};nw={dateRange:t=>`Da ${t.startDate} a ${t.endDate}`,dateSelected:t=>`${t.date} selezionata`,finishRangeSelectionPrompt:"Fai clic per completare la selezione dell\u2019intervallo di date",maximumDate:"Ultima data disponibile",minimumDate:"Prima data disponibile",next:"Successivo",previous:"Precedente",selectedDateDescription:t=>`Data selezionata: ${t.date}`,selectedRangeDescription:t=>`Intervallo selezionato: ${t.dateRange}`,startRangeSelectionPrompt:"Fai clic per selezionare l\u2019intervallo di date",todayDate:t=>`Oggi, ${t.date}`,todayDateSelected:t=>`Oggi, ${t.date} selezionata`};var rw={};rw={dateRange:t=>`${t.startDate} \u304B\u3089 ${t.endDate}`,dateSelected:t=>`${t.date} \u3092\u9078\u629E`,finishRangeSelectionPrompt:"\u30AF\u30EA\u30C3\u30AF\u3057\u3066\u65E5\u4ED8\u7BC4\u56F2\u306E\u9078\u629E\u3092\u7D42\u4E86",maximumDate:"\u6700\u7D42\u5229\u7528\u53EF\u80FD\u65E5",minimumDate:"\u6700\u521D\u306E\u5229\u7528\u53EF\u80FD\u65E5",next:"\u6B21\u3078",previous:"\u524D\u3078",selectedDateDescription:t=>`\u9078\u629E\u3057\u305F\u65E5\u4ED8 : ${t.date}`,selectedRangeDescription:t=>`\u9078\u629E\u7BC4\u56F2 : ${t.dateRange}`,startRangeSelectionPrompt:"\u30AF\u30EA\u30C3\u30AF\u3057\u3066\u65E5\u4ED8\u7BC4\u56F2\u306E\u9078\u629E\u3092\u958B\u59CB",todayDate:t=>`\u672C\u65E5\u3001${t.date}`,todayDateSelected:t=>`\u672C\u65E5\u3001${t.date} \u3092\u9078\u629E`};var iw={};iw={dateRange:t=>`${t.startDate} ~ ${t.endDate}`,dateSelected:t=>`${t.date} \uC120\uD0DD\uB428`,finishRangeSelectionPrompt:"\uB0A0\uC9DC \uBC94\uC704 \uC120\uD0DD\uC744 \uC644\uB8CC\uD558\uB824\uBA74 \uD074\uB9AD\uD558\uC2ED\uC2DC\uC624.",maximumDate:"\uB9C8\uC9C0\uB9C9\uC73C\uB85C \uC0AC\uC6A9 \uAC00\uB2A5\uD55C \uC77C\uC790",minimumDate:"\uCC98\uC74C\uC73C\uB85C \uC0AC\uC6A9 \uAC00\uB2A5\uD55C \uC77C\uC790",next:"\uB2E4\uC74C",previous:"\uC774\uC804",selectedDateDescription:t=>`\uC120\uD0DD \uC77C\uC790: ${t.date}`,selectedRangeDescription:t=>`\uC120\uD0DD \uBC94\uC704: ${t.dateRange}`,startRangeSelectionPrompt:"\uB0A0\uC9DC \uBC94\uC704 \uC120\uD0DD\uC744 \uC2DC\uC791\uD558\uB824\uBA74 \uD074\uB9AD\uD558\uC2ED\uC2DC\uC624.",todayDate:t=>`\uC624\uB298, ${t.date}`,todayDateSelected:t=>`\uC624\uB298, ${t.date} \uC120\uD0DD\uB428`};var lw={};lw={dateRange:t=>`Nuo ${t.startDate} iki ${t.endDate}`,dateSelected:t=>`Pasirinkta ${t.date}`,finishRangeSelectionPrompt:"Spustel\u0117kite, kad baigtum\u0117te pasirinkti dat\u0173 interval\u0105",maximumDate:"Paskutin\u0117 galima data",minimumDate:"Pirmoji galima data",next:"Paskesnis",previous:"Ankstesnis",selectedDateDescription:t=>`Pasirinkta data: ${t.date}`,selectedRangeDescription:t=>`Pasirinktas intervalas: ${t.dateRange}`,startRangeSelectionPrompt:"Spustel\u0117kite, kad prad\u0117tum\u0117te pasirinkti dat\u0173 interval\u0105",todayDate:t=>`\u0160iandien, ${t.date}`,todayDateSelected:t=>`\u0160iandien, pasirinkta ${t.date}`};var aw={};aw={dateRange:t=>`No ${t.startDate} l\u012Bdz ${t.endDate}`,dateSelected:t=>`Atlas\u012Bts: ${t.date}`,finishRangeSelectionPrompt:"Noklik\u0161\u0137iniet, lai pabeigtu datumu diapazona atlasi",maximumDate:"P\u0113d\u0113jais pieejamais datums",minimumDate:"Pirmais pieejamais datums",next:"T\u0101l\u0101k",previous:"Atpaka\u013C",selectedDateDescription:t=>`Atlas\u012Btais datums: ${t.date}`,selectedRangeDescription:t=>`Atlas\u012Btais diapazons: ${t.dateRange}`,startRangeSelectionPrompt:"Noklik\u0161\u0137iniet, lai s\u0101ktu datumu diapazona atlasi",todayDate:t=>`\u0160odien, ${t.date}`,todayDateSelected:t=>`Atlas\u012Bta \u0161odiena, ${t.date}`};var ow={};ow={dateRange:t=>`${t.startDate} til ${t.endDate}`,dateSelected:t=>`${t.date} valgt`,finishRangeSelectionPrompt:"Klikk for \xE5 fullf\xF8re valg av datoomr\xE5de",maximumDate:"Siste tilgjengelige dato",minimumDate:"F\xF8rste tilgjengelige dato",next:"Neste",previous:"Forrige",selectedDateDescription:t=>`Valgt dato: ${t.date}`,selectedRangeDescription:t=>`Valgt omr\xE5de: ${t.dateRange}`,startRangeSelectionPrompt:"Klikk for \xE5 starte valg av datoomr\xE5de",todayDate:t=>`I dag, ${t.date}`,todayDateSelected:t=>`I dag, ${t.date} valgt`};var sw={};sw={dateRange:t=>`${t.startDate} tot ${t.endDate}`,dateSelected:t=>`${t.date} geselecteerd`,finishRangeSelectionPrompt:"Klik om de selectie van het datumbereik te voltooien",maximumDate:"Laatste beschikbare datum",minimumDate:"Eerste beschikbare datum",next:"Volgende",previous:"Vorige",selectedDateDescription:t=>`Geselecteerde datum: ${t.date}`,selectedRangeDescription:t=>`Geselecteerd bereik: ${t.dateRange}`,startRangeSelectionPrompt:"Klik om het datumbereik te selecteren",todayDate:t=>`Vandaag, ${t.date}`,todayDateSelected:t=>`Vandaag, ${t.date} geselecteerd`};var uw={};uw={dateRange:t=>`${t.startDate} do ${t.endDate}`,dateSelected:t=>`Wybrano ${t.date}`,finishRangeSelectionPrompt:"Kliknij, aby zako\u0144czy\u0107 wyb\xF3r zakresu dat",maximumDate:"Ostatnia dost\u0119pna data",minimumDate:"Pierwsza dost\u0119pna data",next:"Dalej",previous:"Wstecz",selectedDateDescription:t=>`Wybrana data: ${t.date}`,selectedRangeDescription:t=>`Wybrany zakres: ${t.dateRange}`,startRangeSelectionPrompt:"Kliknij, aby rozpocz\u0105\u0107 wyb\xF3r zakresu dat",todayDate:t=>`Dzisiaj, ${t.date}`,todayDateSelected:t=>`Dzisiaj wybrano ${t.date}`};var cw={};cw={dateRange:t=>`${t.startDate} a ${t.endDate}`,dateSelected:t=>`${t.date} selecionado`,finishRangeSelectionPrompt:"Clique para concluir a sele\xE7\xE3o do intervalo de datas",maximumDate:"\xDAltima data dispon\xEDvel",minimumDate:"Primeira data dispon\xEDvel",next:"Pr\xF3ximo",previous:"Anterior",selectedDateDescription:t=>`Data selecionada: ${t.date}`,selectedRangeDescription:t=>`Intervalo selecionado: ${t.dateRange}`,startRangeSelectionPrompt:"Clique para iniciar a sele\xE7\xE3o do intervalo de datas",todayDate:t=>`Hoje, ${t.date}`,todayDateSelected:t=>`Hoje, ${t.date} selecionado`};var dw={};dw={dateRange:t=>`${t.startDate} a ${t.endDate}`,dateSelected:t=>`${t.date} selecionado`,finishRangeSelectionPrompt:"Clique para terminar de selecionar o intervalo de datas",maximumDate:"\xDAltima data dispon\xEDvel",minimumDate:"Primeira data dispon\xEDvel",next:"Pr\xF3ximo",previous:"Anterior",selectedDateDescription:t=>`Data selecionada: ${t.date}`,selectedRangeDescription:t=>`Intervalo selecionado: ${t.dateRange}`,startRangeSelectionPrompt:"Clique para come\xE7ar a selecionar o intervalo de datas",todayDate:t=>`Hoje, ${t.date}`,todayDateSelected:t=>`Hoje, ${t.date} selecionado`};var fw={};fw={dateRange:t=>`De la ${t.startDate} p\xE2n\u0103 la ${t.endDate}`,dateSelected:t=>`${t.date} selectat\u0103`,finishRangeSelectionPrompt:"Ap\u0103sa\u0163i pentru a finaliza selec\u0163ia razei pentru dat\u0103",maximumDate:"Ultima dat\u0103 disponibil\u0103",minimumDate:"Prima dat\u0103 disponibil\u0103",next:"Urm\u0103torul",previous:"\xCEnainte",selectedDateDescription:t=>`Dat\u0103 selectat\u0103: ${t.date}`,selectedRangeDescription:t=>`Interval selectat: ${t.dateRange}`,startRangeSelectionPrompt:"Ap\u0103sa\u0163i pentru a \xEEncepe selec\u0163ia razei pentru dat\u0103",todayDate:t=>`Ast\u0103zi, ${t.date}`,todayDateSelected:t=>`Azi, ${t.date} selectat\u0103`};var hw={};hw={dateRange:t=>`\u0421 ${t.startDate} \u043F\u043E ${t.endDate}`,dateSelected:t=>`\u0412\u044B\u0431\u0440\u0430\u043D\u043E ${t.date}`,finishRangeSelectionPrompt:"\u0429\u0435\u043B\u043A\u043D\u0438\u0442\u0435, \u0447\u0442\u043E\u0431\u044B \u0437\u0430\u0432\u0435\u0440\u0448\u0438\u0442\u044C \u0432\u044B\u0431\u043E\u0440 \u0434\u0438\u0430\u043F\u0430\u0437\u043E\u043D\u0430 \u0434\u0430\u0442",maximumDate:"\u041F\u043E\u0441\u043B\u0435\u0434\u043D\u044F\u044F \u0434\u043E\u0441\u0442\u0443\u043F\u043D\u0430\u044F \u0434\u0430\u0442\u0430",minimumDate:"\u041F\u0435\u0440\u0432\u0430\u044F \u0434\u043E\u0441\u0442\u0443\u043F\u043D\u0430\u044F \u0434\u0430\u0442\u0430",next:"\u0414\u0430\u043B\u0435\u0435",previous:"\u041D\u0430\u0437\u0430\u0434",selectedDateDescription:t=>`\u0412\u044B\u0431\u0440\u0430\u043D\u043D\u0430\u044F \u0434\u0430\u0442\u0430: ${t.date}`,selectedRangeDescription:t=>`\u0412\u044B\u0431\u0440\u0430\u043D\u043D\u044B\u0439 \u0434\u0438\u0430\u043F\u0430\u0437\u043E\u043D: ${t.dateRange}`,startRangeSelectionPrompt:"\u0429\u0435\u043B\u043A\u043D\u0438\u0442\u0435, \u0447\u0442\u043E\u0431\u044B \u043D\u0430\u0447\u0430\u0442\u044C \u0432\u044B\u0431\u043E\u0440 \u0434\u0438\u0430\u043F\u0430\u0437\u043E\u043D\u0430 \u0434\u0430\u0442",todayDate:t=>`\u0421\u0435\u0433\u043E\u0434\u043D\u044F, ${t.date}`,todayDateSelected:t=>`\u0421\u0435\u0433\u043E\u0434\u043D\u044F, \u0432\u044B\u0431\u0440\u0430\u043D\u043E ${t.date}`};var pw={};pw={dateRange:t=>`Od ${t.startDate} do ${t.endDate}`,dateSelected:t=>`Vybrat\xFD d\xE1tum ${t.date}`,finishRangeSelectionPrompt:"Kliknut\xEDm dokon\u010D\xEDte v\xFDber rozsahu d\xE1tumov",maximumDate:"Posledn\xFD dostupn\xFD d\xE1tum",minimumDate:"Prv\xFD dostupn\xFD d\xE1tum",next:"Nasleduj\xFAce",previous:"Predch\xE1dzaj\xFAce",selectedDateDescription:t=>`Vybrat\xFD d\xE1tum: ${t.date}`,selectedRangeDescription:t=>`Vybrat\xFD rozsah: ${t.dateRange}`,startRangeSelectionPrompt:"Kliknut\xEDm spust\xEDte v\xFDber rozsahu d\xE1tumov",todayDate:t=>`Dnes ${t.date}`,todayDateSelected:t=>`Vybrat\xFD dne\u0161n\xFD d\xE1tum ${t.date}`};var mw={};mw={dateRange:t=>`${t.startDate} do ${t.endDate}`,dateSelected:t=>`${t.date} izbrano`,finishRangeSelectionPrompt:"Kliknite za dokon\u010Danje izbire datumskega obsega",maximumDate:"Zadnji razpolo\u017Eljivi datum",minimumDate:"Prvi razpolo\u017Eljivi datum",next:"Naprej",previous:"Nazaj",selectedDateDescription:t=>`Izbrani datum: ${t.date}`,selectedRangeDescription:t=>`Izbrano obmo\u010Dje: ${t.dateRange}`,startRangeSelectionPrompt:"Kliknite za za\u010Detek izbire datumskega obsega",todayDate:t=>`Danes, ${t.date}`,todayDateSelected:t=>`Danes, ${t.date} izbrano`};var gw={};gw={dateRange:t=>`${t.startDate} do ${t.endDate}`,dateSelected:t=>`${t.date} izabran`,finishRangeSelectionPrompt:"Kliknite da dovr\u0161ite opseg izabranih datuma",maximumDate:"Zadnji raspolo\u017Eivi datum",minimumDate:"Prvi raspolo\u017Eivi datum",next:"Slede\u0107i",previous:"Prethodni",selectedDateDescription:t=>`Izabrani datum: ${t.date}`,selectedRangeDescription:t=>`Izabrani period: ${t.dateRange}`,startRangeSelectionPrompt:"Kliknite da zapo\u010Dnete opseg izabranih datuma",todayDate:t=>`Danas, ${t.date}`,todayDateSelected:t=>`Danas, izabran ${t.date}`};var Ow={};Ow={dateRange:t=>`${t.startDate} till ${t.endDate}`,dateSelected:t=>`${t.date} har valts`,finishRangeSelectionPrompt:"Klicka f\xF6r att avsluta val av datumintervall",maximumDate:"Sista tillg\xE4ngliga datum",minimumDate:"F\xF6rsta tillg\xE4ngliga datum",next:"N\xE4sta",previous:"F\xF6reg\xE5ende",selectedDateDescription:t=>`Valt datum: ${t.date}`,selectedRangeDescription:t=>`Valt intervall: ${t.dateRange}`,startRangeSelectionPrompt:"Klicka f\xF6r att v\xE4lja datumintervall",todayDate:t=>`Idag, ${t.date}`,todayDateSelected:t=>`Idag, ${t.date} har valts`};var bw={};bw={dateRange:t=>`${t.startDate} - ${t.endDate}`,dateSelected:t=>`${t.date} se\xE7ildi`,finishRangeSelectionPrompt:"Tarih aral\u0131\u011F\u0131 se\xE7imini tamamlamak i\xE7in t\u0131klay\u0131n",maximumDate:"Son m\xFCsait tarih",minimumDate:"\u0130lk m\xFCsait tarih",next:"Sonraki",previous:"\xD6nceki",selectedDateDescription:t=>`Se\xE7ilen Tarih: ${t.date}`,selectedRangeDescription:t=>`Se\xE7ilen Aral\u0131k: ${t.dateRange}`,startRangeSelectionPrompt:"Tarih aral\u0131\u011F\u0131 se\xE7imini ba\u015Flatmak i\xE7in t\u0131klay\u0131n",todayDate:t=>`Bug\xFCn, ${t.date}`,todayDateSelected:t=>`Bug\xFCn, ${t.date} se\xE7ildi`};var yw={};yw={dateRange:t=>`${t.startDate} \u2014 ${t.endDate}`,dateSelected:t=>`\u0412\u0438\u0431\u0440\u0430\u043D\u043E ${t.date}`,finishRangeSelectionPrompt:"\u041D\u0430\u0442\u0438\u0441\u043D\u0456\u0442\u044C, \u0449\u043E\u0431 \u0437\u0430\u0432\u0435\u0440\u0448\u0438\u0442\u0438 \u0432\u0438\u0431\u0456\u0440 \u0434\u0456\u0430\u043F\u0430\u0437\u043E\u043D\u0443 \u0434\u0430\u0442",maximumDate:"\u041E\u0441\u0442\u0430\u043D\u043D\u044F \u0434\u043E\u0441\u0442\u0443\u043F\u043D\u0430 \u0434\u0430\u0442\u0430",minimumDate:"\u041F\u0435\u0440\u0448\u0430 \u0434\u043E\u0441\u0442\u0443\u043F\u043D\u0430 \u0434\u0430\u0442\u0430",next:"\u041D\u0430\u0441\u0442\u0443\u043F\u043D\u0438\u0439",previous:"\u041F\u043E\u043F\u0435\u0440\u0435\u0434\u043D\u0456\u0439",selectedDateDescription:t=>`\u0412\u0438\u0431\u0440\u0430\u043D\u0430 \u0434\u0430\u0442\u0430: ${t.date}`,selectedRangeDescription:t=>`\u0412\u0438\u0431\u0440\u0430\u043D\u0438\u0439 \u0434\u0456\u0430\u043F\u0430\u0437\u043E\u043D: ${t.dateRange}`,startRangeSelectionPrompt:"\u041D\u0430\u0442\u0438\u0441\u043D\u0456\u0442\u044C, \u0449\u043E\u0431 \u043F\u043E\u0447\u0430\u0442\u0438 \u0432\u0438\u0431\u0456\u0440 \u0434\u0456\u0430\u043F\u0430\u0437\u043E\u043D\u0443 \u0434\u0430\u0442",todayDate:t=>`\u0421\u044C\u043E\u0433\u043E\u0434\u043D\u0456, ${t.date}`,todayDateSelected:t=>`\u0421\u044C\u043E\u0433\u043E\u0434\u043D\u0456, \u0432\u0438\u0431\u0440\u0430\u043D\u043E ${t.date}`};var vw={};vw={dateRange:t=>`${t.startDate} \u81F3 ${t.endDate}`,dateSelected:t=>`\u5DF2\u9009\u62E9 ${t.date}`,finishRangeSelectionPrompt:"\u5355\u51FB\u4EE5\u5B8C\u6210\u9009\u62E9\u65E5\u671F\u8303\u56F4",maximumDate:"\u6700\u540E\u4E00\u4E2A\u53EF\u7528\u65E5\u671F",minimumDate:"\u7B2C\u4E00\u4E2A\u53EF\u7528\u65E5\u671F",next:"\u4E0B\u4E00\u9875",previous:"\u4E0A\u4E00\u9875",selectedDateDescription:t=>`\u9009\u5B9A\u7684\u65E5\u671F\uFF1A${t.date}`,selectedRangeDescription:t=>`\u9009\u5B9A\u7684\u8303\u56F4\uFF1A${t.dateRange}`,startRangeSelectionPrompt:"\u5355\u51FB\u4EE5\u5F00\u59CB\u9009\u62E9\u65E5\u671F\u8303\u56F4",todayDate:t=>`\u4ECA\u5929\uFF0C\u5373 ${t.date}`,todayDateSelected:t=>`\u5DF2\u9009\u62E9\u4ECA\u5929\uFF0C\u5373 ${t.date}`};var $w={};$w={dateRange:t=>`${t.startDate} \u81F3 ${t.endDate}`,dateSelected:t=>`\u5DF2\u9078\u53D6 ${t.date}`,finishRangeSelectionPrompt:"\u6309\u4E00\u4E0B\u4EE5\u5B8C\u6210\u9078\u53D6\u65E5\u671F\u7BC4\u570D",maximumDate:"\u6700\u5F8C\u4E00\u500B\u53EF\u7528\u65E5\u671F",minimumDate:"\u7B2C\u4E00\u500B\u53EF\u7528\u65E5\u671F",next:"\u4E0B\u4E00\u9801",previous:"\u4E0A\u4E00\u9801",selectedDateDescription:t=>`\u9078\u5B9A\u7684\u65E5\u671F\uFF1A${t.date}`,selectedRangeDescription:t=>`\u9078\u5B9A\u7684\u7BC4\u570D\uFF1A${t.dateRange}`,startRangeSelectionPrompt:"\u6309\u4E00\u4E0B\u4EE5\u958B\u59CB\u9078\u53D6\u65E5\u671F\u7BC4\u570D",todayDate:t=>`\u4ECA\u5929\uFF0C${t.date}`,todayDateSelected:t=>`\u5DF2\u9078\u53D6\u4ECA\u5929\uFF0C${t.date}`};var qo={};qo={"ar-AE":L$,"bg-BG":W$,"cs-CZ":X$,"da-DK":j$,"de-DE":q$,"el-GR":U$,"en-US":Y$,"es-ES":K$,"et-EE":G$,"fi-FI":H$,"fr-FR":_$,"he-IL":J$,"hr-HR":ew,"hu-HU":tw,"it-IT":nw,"ja-JP":rw,"ko-KR":iw,"lt-LT":lw,"lv-LV":aw,"nb-NO":ow,"nl-NL":sw,"pl-PL":uw,"pt-BR":cw,"pt-PT":dw,"ro-RO":fw,"ru-RU":hw,"sk-SK":pw,"sl-SI":mw,"sr-SP":gw,"sv-SE":Ow,"tr-TR":bw,"uk-UA":yw,"zh-CN":vw,"zh-TW":$w};function ww(t){return t&&t.__esModule?t.default:t}u(ww,"$parcel$interopDefault$e");const ng=new WeakMap;function Uo(t){return t?.calendar.identifier==="gregory"&&t.era==="BC"?"short":void 0}u(Uo,"$a074e1e2d0f0a665$export$134cbb7fb09a9522");function oB(t){let e=Ft(ww(qo),"@react-aria/calendar"),n,r;"highlightedRange"in t?{start:n,end:r}=t.highlightedRange||{}:n=r=t.value;let i=Vn({weekday:"long",month:"long",year:"numeric",day:"numeric",era:Uo(n)||Uo(r),timeZone:t.timeZone}),l="anchorDate"in t?t.anchorDate:null;return(0,wp.element.useMemo)(()=>{if(!l&&n&&r)if(Xe(n,r)){let a=i.format(n.toDate(t.timeZone));return e.format("selectedDateDescription",{date:a})}else{let a=ig(i,e,n,r,t.timeZone);return e.format("selectedRangeDescription",{dateRange:a})}return""},[n,r,l,t.timeZone,e,i])}u(oB,"$a074e1e2d0f0a665$export$b6df97c887c38e1a");function rg(t,e,n,r){let i=Ft(ww(qo),"@react-aria/calendar"),l=Uo(t)||Uo(e),a=Vn({month:"long",year:"numeric",era:l,calendar:t.calendar.identifier,timeZone:n}),o=Vn({month:"long",year:"numeric",day:"numeric",era:l,calendar:t.calendar.identifier,timeZone:n});return(0,wp.element.useMemo)(()=>{if(Xe(t,Li(t))){if(Xe(e,na(t)))return a.format(t.toDate(n));if(Xe(e,na(e)))return r?ig(a,i,t,e,n):a.formatRange(t.toDate(n),e.toDate(n))}return r?ig(o,i,t,e,n):o.formatRange(t.toDate(n),e.toDate(n))},[t,e,a,o,i,n,r])}u(rg,"$a074e1e2d0f0a665$export$31afe65d91ef6e8");function ig(t,e,n,r,i){let l=t.formatRangeToParts(n.toDate(i),r.toDate(i)),a=-1;for(let c=0;ca&&(s+=l[c].value);return e.format("dateRange",{startDate:o,endDate:s})}u(ig,"$a074e1e2d0f0a665$var$formatRange");const xw=7e3;let ln=null;function oa(t,e="assertive",n=xw){ln?ln.announce(t,e,n):(ln=new lg,(typeof IS_REACT_ACT_ENVIRONMENT=="boolean"?IS_REACT_ACT_ENVIRONMENT:typeof jest<"u")?ln.announce(t,e,n):setTimeout(()=>{ln?.isAttached()&&ln?.announce(t,e,n)},100))}u(oa,"$319e236875307eab$export$a9b970dcc4ae71a9");function sB(t){ln&&ln.clear(t)}u(sB,"$319e236875307eab$export$d10ae4f68404609a");const E1=class E1{isAttached(){var e;return(e=this.node)===null||e===void 0?void 0:e.isConnected}createLog(e){let n=document.createElement("div");return n.setAttribute("role","log"),n.setAttribute("aria-live",e),n.setAttribute("aria-relevant","additions"),n}destroy(){this.node&&(document.body.removeChild(this.node),this.node=null)}announce(e,n="assertive",r=xw){var i,l;if(!this.node)return;let a=document.createElement("div");typeof e=="object"?(a.setAttribute("role","img"),a.setAttribute("aria-labelledby",e["aria-labelledby"])):a.textContent=e,n==="assertive"?(i=this.assertiveLog)===null||i===void 0||i.appendChild(a):(l=this.politeLog)===null||l===void 0||l.appendChild(a),e!==""&&setTimeout(()=>{a.remove()},r)}clear(e){this.node&&((!e||e==="assertive")&&this.assertiveLog&&(this.assertiveLog.innerHTML=""),(!e||e==="polite")&&this.politeLog&&(this.politeLog.innerHTML=""))}constructor(){this.node=null,this.assertiveLog=null,this.politeLog=null,typeof document<"u"&&(this.node=document.createElement("div"),this.node.dataset.liveAnnouncer="true",Object.assign(this.node.style,{border:0,clip:"rect(0 0 0 0)",clipPath:"inset(50%)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap"}),this.assertiveLog=this.createLog("assertive"),this.node.appendChild(this.assertiveLog),this.politeLog=this.createLog("polite"),this.node.appendChild(this.politeLog),document.body.prepend(this.node))}};u(E1,"$319e236875307eab$var$LiveAnnouncer");let lg=E1;function uB(t){return t&&t.__esModule?t.default:t}u(uB,"$parcel$interopDefault$d");function Sw(t,e){let n=Ft(uB(qo),"@react-aria/calendar"),r=ft(t),i=rg(e.visibleRange.start,e.visibleRange.end,e.timeZone,!1),l=rg(e.visibleRange.start,e.visibleRange.end,e.timeZone,!0);h3(()=>{e.isFocused||oa(l)},[l]);let a=oB(e);h3(()=>{a&&oa(a,"polite",4e3)},[a]);let o=Kl([!!t.errorMessage,t.isInvalid,t.validationState]);ng.set(e,{ariaLabel:t["aria-label"],ariaLabelledBy:t["aria-labelledby"],errorMessageId:o,selectedDateDescription:a});let[s,c]=(0,wp.element.useState)(!1),d=t.isDisabled||e.isNextVisibleRangeInvalid();d&&s&&(c(!1),e.setFocused(!0));let[f,h]=(0,wp.element.useState)(!1),p=t.isDisabled||e.isPreviousVisibleRangeInvalid();p&&f&&(h(!1),e.setFocused(!0));let m=Mn({id:t.id,"aria-label":[t["aria-label"],l].filter(Boolean).join(", "),"aria-labelledby":t["aria-labelledby"]});return{calendarProps:te(r,m,{role:"application","aria-describedby":t["aria-describedby"]||void 0}),nextButtonProps:{onPress:()=>e.focusNextPage(),"aria-label":n.format("next"),isDisabled:d,onFocusChange:c},prevButtonProps:{onPress:()=>e.focusPreviousPage(),"aria-label":n.format("previous"),isDisabled:p,onFocusChange:h},errorMessageProps:{id:o},title:i}}u(Sw,"$c4acc1de3ab169cf$export$d652b3ea2d672d5b");function cB(t,e){return Sw(t,e)}u(cB,"$9942cad8a072a530$export$3ee915f8151bd4f1");function dB(t,e,n){let r=Sw(t,e),i=(0,wp.element.useRef)(!1),l=(0,wp.element.useRef)(typeof window<"u"?window:null);return mr(l,"pointerdown",o=>{i.current=o.width===0&&o.height===0}),mr(l,"pointerup",u(o=>{if(i.current){i.current=!1;return}if(e.setDragging(!1),!e.anchorDate)return;let s=o.target;n.current&&n.current.contains(document.activeElement)&&(!n.current.contains(s)||!s.closest('button, [role="button"]'))&&e.selectFocusedDate()},"endDragging")),r.calendarProps.onBlur=o=>{n.current&&(!o.relatedTarget||!n.current.contains(o.relatedTarget))&&e.anchorDate&&e.selectFocusedDate()},mr(n,"touchmove",o=>{e.isDragging&&o.preventDefault()},{passive:!1,capture:!0}),r}u(dB,"$46a4342aab3d8076$export$87e0539f600c24e5");function Cw(t,e){let{startDate:n=e.visibleRange.start,endDate:r=e.visibleRange.end}=t,{direction:i}=Ee(),l=u(p=>{switch(p.key){case"Enter":case" ":p.preventDefault(),e.selectFocusedDate();break;case"PageUp":p.preventDefault(),p.stopPropagation(),e.focusPreviousSection(p.shiftKey);break;case"PageDown":p.preventDefault(),p.stopPropagation(),e.focusNextSection(p.shiftKey);break;case"End":p.preventDefault(),p.stopPropagation(),e.focusSectionEnd();break;case"Home":p.preventDefault(),p.stopPropagation(),e.focusSectionStart();break;case"ArrowLeft":p.preventDefault(),p.stopPropagation(),i==="rtl"?e.focusNextDay():e.focusPreviousDay();break;case"ArrowUp":p.preventDefault(),p.stopPropagation(),e.focusPreviousRow();break;case"ArrowRight":p.preventDefault(),p.stopPropagation(),i==="rtl"?e.focusPreviousDay():e.focusNextDay();break;case"ArrowDown":p.preventDefault(),p.stopPropagation(),e.focusNextRow();break;case"Escape":"setAnchorDate"in e&&(p.preventDefault(),e.setAnchorDate(null));break}},"onKeyDown"),a=rg(n,r,e.timeZone,!0),{ariaLabel:o,ariaLabelledBy:s}=ng.get(e),c=Mn({"aria-label":[o,a].filter(Boolean).join(", "),"aria-labelledby":s}),d=Vn({weekday:t.weekdayStyle||"narrow",timeZone:e.timeZone}),{locale:f}=Ee(),h=(0,wp.element.useMemo)(()=>{let p=Fo(Gr(e.timeZone),f);return[...new Array(7).keys()].map(m=>{let O=p.add({days:m}).toDate(e.timeZone);return d.format(O)})},[f,e.timeZone,d]);return{gridProps:te(c,{role:"grid","aria-readonly":e.isReadOnly||null,"aria-disabled":e.isDisabled||null,"aria-multiselectable":"highlightedRange"in e||void 0,onKeyDown:l,onFocus:()=>e.setFocused(!0),onBlur:()=>e.setFocused(!1)}),headerProps:{"aria-hidden":!0},weekDays:h}}u(Cw,"$e3031d1f8c9d64eb$export$cb95147730a423f5");function fB(t){return t&&t.__esModule?t.default:t}u(fB,"$parcel$interopDefault$c");function hB(t,e,n){let{date:r,isDisabled:i}=t,{errorMessageId:l,selectedDateDescription:a}=ng.get(e),o=Ft(fB(qo),"@react-aria/calendar"),s=Vn({weekday:"long",day:"numeric",month:"long",year:"numeric",era:Uo(r),timeZone:e.timeZone}),c=e.isSelected(r),d=e.isCellFocused(r);i=i||e.isCellDisabled(r);let f=e.isCellUnavailable(r),h=!i&&!f,p=e.isValueInvalid&&("highlightedRange"in e?!e.anchorDate&&e.highlightedRange&&r.compare(e.highlightedRange.start)>=0&&r.compare(e.highlightedRange.end)<=0:e.value&&Xe(e.value,r));p&&(c=!0),r=b3(r,mm);let m=(0,wp.element.useMemo)(()=>r.toDate(e.timeZone),[r,e.timeZone]),g=gM(r,e.timeZone),O=(0,wp.element.useMemo)(()=>{let S="";return"highlightedRange"in e&&e.value&&!e.anchorDate&&(Xe(r,e.value.start)||Xe(r,e.value.end))&&(S=a+", "),S+=s.format(m),g?S=o.format(c?"todayDateSelected":"todayDate",{date:S}):c&&(S=o.format("dateSelected",{date:S})),e.minValue&&Xe(r,e.minValue)?S+=", "+o.format("minimumDate"):e.maxValue&&Xe(r,e.maxValue)&&(S+=", "+o.format("maximumDate")),S},[s,m,o,c,g,r,e,a]),b="";"anchorDate"in e&&d&&!e.isReadOnly&&h&&(e.anchorDate?b=o.format("finishRangeSelectionPrompt"):b=o.format("startRangeSelectionPrompt"));let y=Co(b),$=(0,wp.element.useRef)(!1),C=(0,wp.element.useRef)(!1),w=(0,wp.element.useRef)(null),{pressProps:x,isPressed:P}=gr({shouldCancelOnPointerExit:"anchorDate"in e&&!!e.anchorDate,preventFocusOnPress:!0,isDisabled:!h||e.isReadOnly,onPressStart(S){if(e.isReadOnly){e.setFocusedDate(r);return}if("highlightedRange"in e&&!e.anchorDate&&(S.pointerType==="mouse"||S.pointerType==="touch")){if(e.highlightedRange&&!p){if(Xe(r,e.highlightedRange.start)){e.setAnchorDate(e.highlightedRange.end),e.setFocusedDate(r),e.setDragging(!0),C.current=!0;return}else if(Xe(r,e.highlightedRange.end)){e.setAnchorDate(e.highlightedRange.start),e.setFocusedDate(r),e.setDragging(!0),C.current=!0;return}}let E=u(()=>{e.setDragging(!0),w.current=null,e.selectDate(r),e.setFocusedDate(r),$.current=!0},"startDragging");S.pointerType==="touch"?w.current=setTimeout(E,200):E()}},onPressEnd(){C.current=!1,$.current=!1,clearTimeout(w.current),w.current=null},onPress(){!("anchorDate"in e)&&!e.isReadOnly&&(e.selectDate(r),e.setFocusedDate(r))},onPressUp(S){if(!e.isReadOnly&&("anchorDate"in e&&w.current&&(e.selectDate(r),e.setFocusedDate(r)),"anchorDate"in e))if(C.current)e.setAnchorDate(r);else if(e.anchorDate&&!$.current)e.selectDate(r),e.setFocusedDate(r);else if(S.pointerType==="keyboard"&&!e.anchorDate){e.selectDate(r);let E=r.add({days:1});e.isInvalid(E)&&(E=r.subtract({days:1})),e.isInvalid(E)||e.setFocusedDate(E)}else S.pointerType==="virtual"&&(e.selectDate(r),e.setFocusedDate(r))}}),v=null;i||(v=Xe(r,e.focusedDate)?0:-1),(0,wp.element.useEffect)(()=>{d&&n.current&&(en(n.current),zc()!=="pointer"&&document.activeElement===n.current&&Qc(n.current,{containingElement:Rc(n.current)}))},[d,n]);let k=Vn({day:"numeric",timeZone:e.timeZone,calendar:r.calendar.identifier}),D=(0,wp.element.useMemo)(()=>k.formatToParts(m).find(S=>S.type==="day").value,[k,m]);return{cellProps:{role:"gridcell","aria-disabled":!h||null,"aria-selected":c||null,"aria-invalid":p||null},buttonProps:te(x,{onFocus(){i||e.setFocusedDate(r)},tabIndex:v,role:"button","aria-disabled":!h||null,"aria-label":O,"aria-invalid":p||null,"aria-describedby":[p?l:null,y["aria-describedby"]].filter(Boolean).join(" ")||void 0,onPointerEnter(S){"highlightDate"in e&&(S.pointerType!=="touch"||e.isDragging)&&h&&e.highlightDate(r)},onPointerDown(S){"releasePointerCapture"in S.target&&S.target.releasePointerCapture(S.pointerId)},onContextMenu(S){S.preventDefault()}}),isPressed:P,isFocused:d,isSelected:c,isDisabled:i,isUnavailable:f,isOutsideVisibleRange:r.compare(e.visibleRange.start)<0||r.compare(e.visibleRange.end)>0,isInvalid:p,formattedDate:D}}u(hB,"$36a0ac60f04457c5$export$136073280381448e");function Yo(t,e,n){let{validationBehavior:r,focus:i}=t;De(()=>{if(r==="native"&&n?.current){let s=e.realtimeValidation.isInvalid?e.realtimeValidation.validationErrors.join(" ")||"Invalid value.":"";n.current.setCustomValidity(s),n.current.hasAttribute("title")||(n.current.title=""),e.realtimeValidation.isInvalid||e.updateValidation(mB(n.current))}});let l=Ne(()=>{e.resetValidation()}),a=Ne(s=>{var c;e.displayValidation.isInvalid||e.commitValidation();let d=n==null||(c=n.current)===null||c===void 0?void 0:c.form;if(!s.defaultPrevented&&n&&d&&gB(d)===n.current){var f;i?i():(f=n.current)===null||f===void 0||f.focus(),lm("keyboard")}s.preventDefault()}),o=Ne(()=>{e.commitValidation()});(0,wp.element.useEffect)(()=>{let s=n?.current;if(!s)return;let c=s.form;return s.addEventListener("invalid",a),s.addEventListener("change",o),c?.addEventListener("reset",l),()=>{s.removeEventListener("invalid",a),s.removeEventListener("change",o),c?.removeEventListener("reset",l)}},[n,a,o,l,r])}u(Yo,"$e93e671b31057976$export$b8473d3665f3a75a");function pB(t){let e=t.validity;return{badInput:e.badInput,customError:e.customError,patternMismatch:e.patternMismatch,rangeOverflow:e.rangeOverflow,rangeUnderflow:e.rangeUnderflow,stepMismatch:e.stepMismatch,tooLong:e.tooLong,tooShort:e.tooShort,typeMismatch:e.typeMismatch,valueMissing:e.valueMissing,valid:e.valid}}u(pB,"$e93e671b31057976$var$getValidity");function mB(t){return{isInvalid:!t.validity.valid,validationDetails:pB(t),validationErrors:t.validationMessage?[t.validationMessage]:[]}}u(mB,"$e93e671b31057976$var$getNativeValidity");function gB(t){for(let e=0;ekw(yB(a,i)),[a,i]);l?.validationDetails.valid&&(l=null);let d=(0,wp.element.useContext)(OB),f=(0,wp.element.useMemo)(()=>r?Array.isArray(r)?r.flatMap(D=>ag(d[D])):ag(d[r]):[],[d,r]),[h,p]=(0,wp.element.useState)(d),[m,g]=(0,wp.element.useState)(!1);d!==h&&(p(d),g(!1));let O=(0,wp.element.useMemo)(()=>kw(m?[]:f),[m,f]),b=(0,wp.element.useRef)(ji),[y,$]=(0,wp.element.useState)(ji),C=(0,wp.element.useRef)(ji),w=u(()=>{if(!x)return;P(!1);let D=c||l||b.current;og(D,C.current)||(C.current=D,$(D))},"commitValidation"),[x,P]=(0,wp.element.useState)(!1);return(0,wp.element.useEffect)(w),{realtimeValidation:s||O||c||l||ji,displayValidation:o==="native"?s||O||y:s||O||c||l||y,updateValidation(D){o==="aria"&&!og(y,D)?$(D):b.current=D},resetValidation(){let D=ji;og(D,C.current)||(C.current=D,$(D)),o==="native"&&P(!1),g(!0)},commitValidation(){o==="native"&&P(!0),g(!0)}}}u(bB,"$e5be200c675c3b3a$var$useFormValidationStateImpl");function ag(t){return t?Array.isArray(t)?t:[t]:[]}u(ag,"$e5be200c675c3b3a$var$asArray");function yB(t,e){if(typeof t=="function"){let n=t(e);if(n&&typeof n!="boolean")return ag(n)}return[]}u(yB,"$e5be200c675c3b3a$var$runValidate");function kw(t){return t.length?{isInvalid:!0,validationErrors:t,validationDetails:Dw}:null}u(kw,"$e5be200c675c3b3a$var$getValidationResult");function og(t,e){return t===e?!0:t&&e&&t.isInvalid===e.isInvalid&&t.validationErrors.length===e.validationErrors.length&&t.validationErrors.every((n,r)=>n===e.validationErrors[r])&&Object.entries(t.validationDetails).every(([n,r])=>e.validationDetails[n]===r)}u(og,"$e5be200c675c3b3a$var$isEqualValidation");function cd(...t){let e=new Set,n=!1,r={...ud};for(let a of t){var i,l;for(let o of a.validationErrors)e.add(o);n||(n=a.isInvalid);for(let o in r)(i=r)[l=o]||(i[l]=a.validationDetails[o])}return r.valid=!n,{isInvalid:n,validationErrors:[...e],validationDetails:r}}u(cd,"$e5be200c675c3b3a$export$75ee7c75d68f5b0e");function Pw(t,e,n){let{isDisabled:r=!1,isReadOnly:i=!1,value:l,name:a,children:o,"aria-label":s,"aria-labelledby":c,validationState:d="valid",isInvalid:f}=t,h=u(x=>{x.stopPropagation(),e.setSelected(x.target.checked)},"onChange"),p=o!=null,m=s!=null||c!=null;!p&&!m&&console.warn("If you do not provide children, you must specify an aria-label for accessibility");let{pressProps:g,isPressed:O}=gr({isDisabled:r}),{pressProps:b,isPressed:y}=gr({isDisabled:r||i,onPress(){e.toggle()}}),{focusableProps:$}=Mo(t,n),C=te(g,$),w=ft(t,{labelable:!0});return Ur(n,e.isSelected,e.setSelected),{labelProps:te(b,{onClick:x=>x.preventDefault()}),inputProps:te(w,{"aria-invalid":f||d==="invalid"||void 0,"aria-errormessage":t["aria-errormessage"],"aria-controls":t["aria-controls"],"aria-readonly":i||void 0,onChange:h,disabled:r,...l==null?{}:{value:l},name:a,type:"checkbox",...C}),isSelected:e.isSelected,isPressed:O||y,isDisabled:r,isReadOnly:i,isInvalid:f||d==="invalid"}}u(Pw,"$d2c8e2b0480f3f34$export$cbe85ee05b554577");function vB(t,e,n){let r=Fn({...t,value:e.isSelected}),{isInvalid:i,validationErrors:l,validationDetails:a}=r.displayValidation,{labelProps:o,inputProps:s,isSelected:c,isPressed:d,isDisabled:f,isReadOnly:h}=Pw({...t,isInvalid:i},e,n);Yo(t,r,n);let{isIndeterminate:p,isRequired:m,validationBehavior:g="aria"}=t;return(0,wp.element.useEffect)(()=>{n.current&&(n.current.indeterminate=!!p)}),{labelProps:o,inputProps:{...s,checked:c,"aria-required":m&&g==="aria"||void 0,required:m&&g==="native"},isSelected:c,isPressed:d,isDisabled:f,isReadOnly:h,isInvalid:i,validationErrors:l,validationDetails:a}}u(vB,"$406796ff087fe49b$export$e375f10ce42261c5");function dd(t){let{id:e,label:n,"aria-labelledby":r,"aria-label":i,labelElementType:l="label"}=t;e=Fe(e);let a=Fe(),o={};n?(r=r?`${a} ${r}`:a,o={id:a,htmlFor:l==="label"?e:void 0}):!r&&!i&&console.warn("If you do not provide a visible label, you must specify an aria-label or aria-labelledby attribute for accessibility");let s=Mn({id:e,"aria-label":i,"aria-labelledby":r});return{labelProps:o,fieldProps:s}}u(dd,"$d191a55c9702f145$export$8467354a121f1b9f");function mt(t){let{description:e,errorMessage:n,isInvalid:r,validationState:i}=t,{labelProps:l,fieldProps:a}=dd(t),o=Kl([!!e,!!n,r,i]),s=Kl([!!e,!!n,r,i]);return a=te(a,{"aria-describedby":[o,s,t["aria-describedby"]].filter(Boolean).join(" ")||void 0}),{labelProps:l,fieldProps:a,descriptionProps:{id:o},errorMessageProps:{id:s}}}u(mt,"$2baaea4c71418dea$export$294aa081a6c6f55d");function Ew(t={}){let{isReadOnly:e}=t,[n,r]=Le(t.isSelected,t.defaultSelected||!1,t.onChange);function i(a){e||r(a)}u(i,"updateSelected");function l(){e||r(!n)}return u(l,"toggleState"),{isSelected:n,setSelected:i,toggle:l}}u(Ew,"$3017fa7ffdddec74$export$8042c6c013fd5226");var Aw={};Aw={colorInputLabel:t=>`${t.label}, ${t.channelLabel}`,colorNameAndValue:t=>`${t.name}: ${t.value}`,colorPicker:"\u0623\u062F\u0627\u0629 \u0627\u0646\u062A\u0642\u0627\u0621 \u0627\u0644\u0644\u0648\u0646",colorSwatch:"\u062A\u063A\u064A\u064A\u0631 \u0627\u0644\u0623\u0644\u0648\u0627\u0646",transparent:"\u0634\u0641\u0627\u0641",twoDimensionalSlider:"\u0645\u064F\u0646\u0632\u0644\u0642 2D"};var Tw={};Tw={colorInputLabel:t=>`${t.label}, ${t.channelLabel}`,colorNameAndValue:t=>`${t.name}: ${t.value}`,colorPicker:"\u0421\u0440\u0435\u0434\u0441\u0442\u0432\u043E \u0437\u0430 \u0438\u0437\u0431\u0438\u0440\u0430\u043D\u0435 \u043D\u0430 \u0446\u0432\u044F\u0442",colorSwatch:"\u0446\u0432\u0435\u0442\u043D\u0430 \u043C\u043E\u0441\u0442\u0440\u0430",transparent:"\u043F\u0440\u043E\u0437\u0440\u0430\u0447\u0435\u043D",twoDimensionalSlider:"2D \u043F\u043B\u044A\u0437\u0433\u0430\u0447"};var Rw={};Rw={colorInputLabel:t=>`${t.label}, ${t.channelLabel}`,colorNameAndValue:t=>`${t.name}: ${t.value}`,colorPicker:"V\xFDb\u011Br barvy",colorSwatch:"barevn\xFD vzorek",transparent:"pr\u016Fhledn\xFD",twoDimensionalSlider:"2D posuvn\xEDk"};var Qw={};Qw={colorInputLabel:t=>`${t.label}, ${t.channelLabel}`,colorNameAndValue:t=>`${t.name}: ${t.value}`,colorPicker:"Farvev\xE6lger",colorSwatch:"farvepr\xF8ve",transparent:"gennemsigtig",twoDimensionalSlider:"2D-skyder"};var Mw={};Mw={colorInputLabel:t=>`${t.label}, ${t.channelLabel}`,colorNameAndValue:t=>`${t.name}: ${t.value}`,colorPicker:"Farbw\xE4hler",colorSwatch:"Farbfeld",transparent:"transparent",twoDimensionalSlider:"2D-Schieberegler"};var Bw={};Bw={colorInputLabel:t=>`${t.label}, ${t.channelLabel}`,colorNameAndValue:t=>`${t.name}: ${t.value}`,colorPicker:"\u0395\u03C0\u03B9\u03BB\u03BF\u03B3\u03AD\u03B1\u03C2 \u03C7\u03C1\u03C9\u03BC\u03AC\u03C4\u03C9\u03BD",colorSwatch:"\u03C7\u03C1\u03C9\u03BC\u03B1\u03C4\u03B9\u03BA\u03CC \u03B4\u03B5\u03AF\u03B3\u03BC\u03B1",transparent:"\u03B4\u03B9\u03B1\u03C6\u03B1\u03BD\u03AD\u03C2",twoDimensionalSlider:"\u03A1\u03C5\u03B8\u03BC\u03B9\u03C3\u03C4\u03B9\u03BA\u03CC 2D"};var Vw={};Vw={colorPicker:"Color picker",twoDimensionalSlider:"2D slider",colorNameAndValue:t=>`${t.name}: ${t.value}`,colorInputLabel:t=>`${t.label}, ${t.channelLabel}`,colorSwatch:"color swatch",transparent:"transparent"};var Nw={};Nw={colorInputLabel:t=>`${t.label}, ${t.channelLabel}`,colorNameAndValue:t=>`${t.name}: ${t.value}`,colorPicker:"Selector de color",colorSwatch:"muestra de color",transparent:"transparente",twoDimensionalSlider:"Regulador 2D"};var Fw={};Fw={colorInputLabel:t=>`${t.label}, ${t.channelLabel}`,colorNameAndValue:t=>`${t.name}: ${t.value}`,colorPicker:"V\xE4rvivalija",colorSwatch:"v\xE4rvin\xE4idis",transparent:"l\xE4bipaistev",twoDimensionalSlider:"2D-liugur"};var Iw={};Iw={colorInputLabel:t=>`${t.label}, ${t.channelLabel}`,colorNameAndValue:t=>`${t.name}: ${t.value}`,colorPicker:"V\xE4rimuokkain",colorSwatch:"v\xE4rimalli",transparent:"l\xE4pin\xE4kyv\xE4",twoDimensionalSlider:"2D-liukus\xE4\xE4din"};var Zw={};Zw={colorInputLabel:t=>`${t.label}, ${t.channelLabel}`,colorNameAndValue:t=>`${t.name}\xA0: ${t.value}`,colorPicker:"S\xE9lecteur de couleurs",colorSwatch:"\xC9chantillon de couleurs",transparent:"Transparent",twoDimensionalSlider:"Curseur\xA02D"};var zw={};zw={colorInputLabel:t=>`${t.label}, ${t.channelLabel}`,colorNameAndValue:t=>`${t.name}: ${t.value}`,colorPicker:"\u05D1\u05D5\u05D7\u05E8 \u05D4\u05E6\u05D1\u05E2\u05D9\u05DD",colorSwatch:"\u05D3\u05D5\u05D2\u05DE\u05D9\u05EA \u05E6\u05D1\u05E2",transparent:"\u05E9\u05E7\u05D5\u05E3",twoDimensionalSlider:"\u05DE\u05D7\u05D5\u05D5\u05DF \u05D3\u05D5 \u05DE\u05D9\u05DE\u05D3\u05D9"};var Lw={};Lw={colorInputLabel:t=>`${t.label}, ${t.channelLabel}`,colorNameAndValue:t=>`${t.name}: ${t.value}`,colorPicker:"Odabir boje",colorSwatch:"uzorak boje",transparent:"transparentno",twoDimensionalSlider:"2D kliza\u010D"};var Ww={};Ww={colorInputLabel:t=>`${t.label}, ${t.channelLabel}`,colorNameAndValue:t=>`${t.name}: ${t.value}`,colorPicker:"Sz\xEDnv\xE1laszt\xF3",colorSwatch:"sz\xEDnt\xE1r",transparent:"\xE1tl\xE1tsz\xF3",twoDimensionalSlider:"2D-cs\xFAszka"};var Xw={};Xw={colorInputLabel:t=>`${t.label}, ${t.channelLabel}`,colorNameAndValue:t=>`${t.name}: ${t.value}`,colorPicker:"Selettore colore",colorSwatch:"campione di colore",transparent:"trasparente",twoDimensionalSlider:"Cursore 2D"};var jw={};jw={colorInputLabel:t=>`${t.label}\u3001${t.channelLabel}`,colorNameAndValue:t=>`${t.name} : ${t.value}`,colorPicker:"\u30AB\u30E9\u30FC\u30D4\u30C3\u30AB\u30FC",colorSwatch:"\u30AB\u30E9\u30FC\u30B9\u30A6\u30A9\u30C3\u30C1",transparent:"\u900F\u660E",twoDimensionalSlider:"2D \u30B9\u30E9\u30A4\u30C0\u30FC"};var qw={};qw={colorInputLabel:t=>`${t.label}, ${t.channelLabel}`,colorNameAndValue:t=>`${t.name}: ${t.value}`,colorPicker:"\uC0C9\uC0C1 \uD53C\uCEE4",colorSwatch:"\uC0C9\uC0C1 \uACAC\uBCF8",transparent:"\uD22C\uBA85\uB3C4",twoDimensionalSlider:"2D \uC2AC\uB77C\uC774\uB354"};var Uw={};Uw={colorInputLabel:t=>`${t.label}, ${t.channelLabel}`,colorNameAndValue:t=>`${t.name}: ${t.value}`,colorPicker:"Spalv\u0173 parinkiklis",colorSwatch:"spalv\u0173 pavyzdys",transparent:"skaidrus",twoDimensionalSlider:"2D slankiklis"};var Yw={};Yw={colorInputLabel:t=>`${t.label}, ${t.channelLabel}`,colorNameAndValue:t=>`${t.name}: ${t.value}`,colorPicker:"Kr\u0101su atlas\u012Bt\u0101js",colorSwatch:"kr\u0101su paraugs",transparent:"caursp\u012Bd\u012Bgs",twoDimensionalSlider:"2D sl\u012Bdnis"};var Kw={};Kw={colorInputLabel:t=>`${t.label}, ${t.channelLabel}`,colorNameAndValue:t=>`${t.name}: ${t.value}`,colorPicker:"Fargevelger",colorSwatch:"fargekart",transparent:"gjennomsiktig",twoDimensionalSlider:"2D-glidebryter"};var Gw={};Gw={colorInputLabel:t=>`${t.label}, ${t.channelLabel}`,colorNameAndValue:t=>`${t.name}: ${t.value}`,colorPicker:"Kleurkiezer",colorSwatch:"kleurstaal",transparent:"transparant",twoDimensionalSlider:"2D-schuifregelaar"};var Hw={};Hw={colorInputLabel:t=>`${t.label}, ${t.channelLabel}`,colorNameAndValue:t=>`${t.name}: ${t.value}`,colorPicker:"Pr\xF3bnik kolor\xF3w",colorSwatch:"pr\xF3bka koloru",transparent:"przezroczysty",twoDimensionalSlider:"Suwak 2D"};var _w={};_w={colorInputLabel:t=>`${t.label}, ${t.channelLabel}`,colorNameAndValue:t=>`${t.name}: ${t.value}`,colorPicker:"Seletor de cores",colorSwatch:"amostra de cores",transparent:"transparente",twoDimensionalSlider:"Controle deslizante 2D"};var Jw={};Jw={colorInputLabel:t=>`${t.label}, ${t.channelLabel}`,colorNameAndValue:t=>`${t.name}: ${t.value}`,colorPicker:"Seletor de cores",colorSwatch:"amostra de cor",transparent:"transparente",twoDimensionalSlider:"Controle deslizante 2D"};var ex={};ex={colorInputLabel:t=>`${t.label}, ${t.channelLabel}`,colorNameAndValue:t=>`${t.name}: ${t.value}`,colorPicker:"Selector de culori",colorSwatch:"specimen de culoare",transparent:"transparent",twoDimensionalSlider:"Glisor 2D"};var tx={};tx={colorInputLabel:t=>`${t.label}, ${t.channelLabel}`,colorNameAndValue:t=>`${t.name}: ${t.value}`,colorPicker:"\u041F\u0430\u043B\u0438\u0442\u0440\u0430 \u0446\u0432\u0435\u0442\u043E\u0432",colorSwatch:"\u0446\u0432\u0435\u0442\u043E\u0432\u043E\u0439 \u043E\u0431\u0440\u0430\u0437\u0435\u0446",transparent:"\u043F\u0440\u043E\u0437\u0440\u0430\u0447\u043D\u044B\u0439",twoDimensionalSlider:"\u041F\u043E\u043B\u0437\u0443\u043D\u043E\u043A 2D"};var nx={};nx={colorInputLabel:t=>`${t.label}, ${t.channelLabel}`,colorNameAndValue:t=>`${t.name}: ${t.value}`,colorPicker:"V\xFDber farieb",colorSwatch:"vzorkovn\xEDk farieb",transparent:"transparentn\xFD",twoDimensionalSlider:"2D jazdec"};var rx={};rx={colorInputLabel:t=>`${t.label}, ${t.channelLabel}`,colorNameAndValue:t=>`${t.name}: ${t.value}`,colorPicker:"Izbirnik barv",colorSwatch:"barvna paleta",transparent:"prozorno",twoDimensionalSlider:"2D drsnik"};var ix={};ix={colorInputLabel:t=>`${t.label}, ${t.channelLabel}`,colorNameAndValue:t=>`${t.name}: ${t.value}`,colorPicker:"Bira\u010D boja",colorSwatch:"Uzorak boje",transparent:"providno",twoDimensionalSlider:"2D kliza\u010D"};var lx={};lx={colorInputLabel:t=>`${t.label}, ${t.channelLabel}`,colorNameAndValue:t=>`${t.name}: ${t.value}`,colorPicker:"F\xE4rgv\xE4ljaren",colorSwatch:"f\xE4rgruta",transparent:"genomskinlig",twoDimensionalSlider:"2D-reglage"};var ax={};ax={colorInputLabel:t=>`${t.label}, ${t.channelLabel}`,colorNameAndValue:t=>`${t.name}: ${t.value}`,colorPicker:"Renk Se\xE7ici",colorSwatch:"renk \xF6rne\u011Fi",transparent:"saydam",twoDimensionalSlider:"2D s\xFCrg\xFC"};var ox={};ox={colorInputLabel:t=>`${t.label}, ${t.channelLabel}`,colorNameAndValue:t=>`${t.name}: ${t.value}`,colorPicker:"\u041F\u0430\u043B\u0456\u0442\u0440\u0430 \u043A\u043E\u043B\u044C\u043E\u0440\u0456\u0432",colorSwatch:"\u0437\u0440\u0430\u0437\u043E\u043A \u043A\u043E\u043B\u044C\u043E\u0440\u0443",transparent:"\u043F\u0440\u043E\u0437\u043E\u0440\u0438\u0439",twoDimensionalSlider:"\u041F\u043E\u0432\u0437\u0443\u043D\u043E\u043A 2D"};var sx={};sx={colorInputLabel:t=>`${t.label}\u3001${t.channelLabel}`,colorNameAndValue:t=>`${t.name}\uFF1A${t.value}`,colorPicker:"\u62FE\u8272\u5668",colorSwatch:"\u989C\u8272\u8272\u677F",transparent:"\u900F\u660E",twoDimensionalSlider:"2D \u6ED1\u5757"};var ux={};ux={colorInputLabel:t=>`${t.label}\uFF0C${t.channelLabel}`,colorNameAndValue:t=>`${t.name}\uFF1A${t.value}`,colorPicker:"\u6AA2\u8272\u5668",colorSwatch:"\u8272\u7968",transparent:"\u900F\u660E",twoDimensionalSlider:"2D \u6ED1\u687F"};var cx={};cx={"ar-AE":Aw,"bg-BG":Tw,"cs-CZ":Rw,"da-DK":Qw,"de-DE":Mw,"el-GR":Bw,"en-US":Vw,"es-ES":Nw,"et-EE":Fw,"fi-FI":Iw,"fr-FR":Zw,"he-IL":zw,"hr-HR":Lw,"hu-HU":Ww,"it-IT":Xw,"ja-JP":jw,"ko-KR":qw,"lt-LT":Uw,"lv-LV":Yw,"nb-NO":Kw,"nl-NL":Gw,"pl-PL":Hw,"pt-BR":_w,"pt-PT":Jw,"ro-RO":ex,"ru-RU":tx,"sk-SK":nx,"sl-SI":rx,"sr-SP":ix,"sv-SE":lx,"tr-TR":ax,"uk-UA":ox,"zh-CN":sx,"zh-TW":ux};var dx={};dx={alpha:"\u0623\u0644\u0641\u0627",black:"\u0623\u0633\u0648\u062F",blue:"\u0623\u0632\u0631\u0642","blue purple":"\u0623\u0631\u062C\u0648\u0627\u0646\u064A \u0645\u0632\u0631\u0642",brightness:"\u0627\u0644\u0633\u0637\u0648\u0639",brown:"\u0628\u0646\u064A","brown yellow":"\u0623\u0635\u0641\u0631 \u0628\u0646\u064A",colorName:t=>`${t.lightness} ${t.chroma} ${t.hue}`,cyan:"\u0633\u0645\u0627\u0648\u064A","cyan blue":"\u0623\u0632\u0631\u0642 \u0633\u0645\u0627\u0648\u064A",dark:"\u062F\u0627\u0643\u0646",gray:"\u0631\u0645\u0627\u062F\u064A",grayish:"\u0645\u0627\u0626\u0644 \u0644\u0644\u0631\u0645\u0627\u062F\u064A",green:"\u0623\u062E\u0636\u0631","green cyan":"\u0633\u0645\u0627\u0648\u064A \u0645\u062E\u0636\u0631",hue:"\u062F\u0631\u062C\u0629 \u0627\u0644\u0644\u0648\u0646",light:"\u0641\u0627\u062A\u062D",lightness:"\u0627\u0644\u0625\u0636\u0627\u0621\u0629",magenta:"\u0623\u0631\u062C\u0648\u0627\u0646\u064A","magenta pink":"\u0623\u0631\u062C\u0648\u0627\u0646\u064A \u0648\u0631\u062F\u064A",orange:"\u0628\u0631\u062A\u0642\u0627\u0644\u064A","orange yellow":"\u0623\u0635\u0641\u0631 \u0628\u0631\u062A\u0642\u0627\u0644\u064A",pale:"\u0628\u0627\u0647\u062A",pink:"\u0648\u0631\u062F\u064A","pink red":"\u0623\u062D\u0645\u0631 \u0648\u0631\u062F\u064A",purple:"\u0623\u0631\u062C\u0648\u0627\u0646\u064A","purple magenta":"\u0628\u0646\u0641\u0633\u062C\u064A",red:"\u0623\u062D\u0645\u0631","red orange":"\u0628\u0631\u062A\u0642\u0627\u0644\u064A \u0645\u062D\u0645\u0631",saturation:"\u0627\u0644\u062A\u0634\u0628\u0639",transparentColorName:t=>`${t.lightness} ${t.chroma} ${t.hue}, ${t.percentTransparent} \u0634\u0641\u0627\u0641`,"very dark":"\u062F\u0627\u0643\u0646 \u062C\u062F\u064B\u0627","very light":"\u0641\u0627\u062A\u062D \u062C\u062F\u064B\u0627",vibrant:"\u0633\u0627\u0637\u0639",white:"\u0623\u0628\u064A\u0636",yellow:"\u0623\u0635\u0641\u0631","yellow green":"\u0623\u062E\u0636\u0631 \u0645\u0635\u0641\u0631"};var fx={};fx={alpha:"\u0410\u043B\u0444\u0430",black:"\u0447\u0435\u0440\u043D\u043E",blue:"\u0421\u0438\u043D\u044C\u043E","blue purple":"\u0441\u0438\u043D\u044C\u043E \u043B\u0438\u043B\u0430\u0432\u043E",brightness:"\u042F\u0440\u043A\u043E\u0441\u0442",brown:"\u043A\u0430\u0444\u044F\u0432\u043E","brown yellow":"\u043A\u0430\u0444\u044F\u0432\u043E \u0436\u044A\u043B\u0442\u043E",colorName:t=>`${t.lightness} ${t.chroma} ${t.hue}`,cyan:"\u0446\u0438\u0430\u043D","cyan blue":"\u0446\u0438\u0430\u043D \u0441\u0438\u043D\u044C\u043E",dark:"\u0442\u044A\u043C\u043D\u043E",gray:"\u0441\u0438\u0432\u043E",grayish:"\u0441\u0438\u0432\u043A\u0430\u0432",green:"\u0417\u0435\u043B\u0435\u043D\u043E","green cyan":"\u0437\u0435\u043B\u0435\u043D \u0446\u0438\u0430\u043D",hue:"\u041E\u0442\u0442\u0435\u043D\u044A\u043A",light:"\u0441\u0432\u0435\u0442\u043B\u043E",lightness:"\u041B\u0435\u043A\u043E\u0442\u0430",magenta:"\u043C\u0430\u0433\u0435\u043D\u0442\u0430","magenta pink":"\u043C\u0430\u0433\u0435\u043D\u0442\u0430 \u0440\u043E\u0437\u043E\u0432\u043E",orange:"\u043E\u0440\u0430\u043D\u0436\u0435\u0432\u043E","orange yellow":"\u043E\u0440\u0430\u043D\u0436\u0435\u0432\u043E \u0436\u044A\u043B\u0442\u043E",pale:"\u0431\u043B\u0435\u0434\u043E",pink:"\u0440\u043E\u0437\u043E\u0432\u043E","pink red":"\u0440\u043E\u0437\u043E\u0432\u043E \u0447\u0435\u0440\u0432\u0435\u043D\u043E",purple:"\u043B\u0438\u043B\u0430\u0432\u043E","purple magenta":"\u043B\u0438\u043B\u0430\u0432\u043E \u043C\u0430\u0433\u0435\u043D\u0442\u0430",red:"\u0427\u0435\u0440\u0432\u0435\u043D\u043E","red orange":"\u0447\u0435\u0440\u0432\u0435\u043D \u043F\u043E\u0440\u0442\u043E\u043A\u0430\u043B",saturation:"\u041D\u0430\u0441\u0438\u0442\u0435\u043D\u043E\u0441\u0442",transparentColorName:t=>`${t.lightness} ${t.chroma} ${t.hue}, ${t.percentTransparent} \u043F\u0440\u043E\u0437\u0440\u0430\u0447\u0435\u043D`,"very dark":"\u043C\u043D\u043E\u0433\u043E \u0442\u044A\u043C\u043D\u043E","very light":"\u043C\u043D\u043E\u0433\u043E \u0441\u0432\u0435\u0442\u043B\u043E",vibrant:" \u044F\u0440\u043A\u043E",white:"\u0431\u044F\u043B\u043E",yellow:"\u0436\u044A\u043B\u0442\u043E","yellow green":"\u0436\u044A\u043B\u0442\u043E \u0437\u0435\u043B\u0435\u043D"};var hx={};hx={alpha:"Alfa",black:"\u010Dern\xE1",blue:"Modr\xE1","blue purple":"modrofialov\xE1",brightness:"Jas",brown:"hn\u011Bd\xE1","brown yellow":"hn\u011Bdo\u017Elut\xE1",colorName:t=>`${t.lightness} ${t.chroma} ${t.hue}`,cyan:"tyrkysov\xE1","cyan blue":"tyrkysovomodr\xE1",dark:"tmav\xE1",gray:"\u0161ed\xE1",grayish:"na\u0161edl\xE1",green:"Zelen\xE1","green cyan":"zelenotyrkysov\xE1",hue:"Odst\xEDn",light:"sv\u011Btl\xE1",lightness:"Sv\u011Btlost",magenta:"purpurov\xE1","magenta pink":"purpurov\u011B r\u016F\u017Eov\xE1",orange:"oran\u017Eov\xE1","orange yellow":"oran\u017Eovo\u017Elut\xE1",pale:"bled\xE1",pink:"r\u016F\u017Eov\xE1","pink red":"r\u016F\u017Eovo\u010Derven\xE1",purple:"fialov\xE1","purple magenta":"fialov\u011B purpurov\xE1",red:"\u010Cerven\xE1","red orange":"\u010Dervenooran\u017Eov\xE1",saturation:"Sytost",transparentColorName:t=>`${t.lightness} ${t.chroma} ${t.hue}, ${t.percentTransparent} pr\u016Fhledn\xE9`,"very dark":"velmi tmav\xE1","very light":"velmi sv\u011Btl\xE1",vibrant:"z\xE1\u0159iv\xE1",white:"b\xEDl\xE1",yellow:"\u017Elut\xE1","yellow green":"\u017Elutozelen\xE1"};var px={};px={alpha:"Alfa",black:"sort",blue:"Bl\xE5","blue purple":"bl\xE5lilla",brightness:"Lysstyrke",brown:"brun","brown yellow":"brungul",colorName:t=>`${t.lightness} ${t.chroma} ${t.hue}`,cyan:"cyan","cyan blue":"cyan bl\xE5",dark:"m\xF8rk",gray:"gr\xE5",grayish:"gr\xE5lig",green:"Gr\xF8n","green cyan":"gr\xF8n cyan",hue:"Tone",light:"lys",lightness:"Lyshed",magenta:"magenta","magenta pink":"magenta pink",orange:"orange","orange yellow":"orangegul",pale:"bleg",pink:"lyser\xF8d","pink red":"lyser\xF8dlig r\xF8d",purple:"lilla","purple magenta":"lilla magenta",red:"R\xF8d","red orange":"r\xF8dorange",saturation:"Farvem\xE6tning",transparentColorName:t=>`${t.lightness} ${t.chroma} ${t.hue}, ${t.percentTransparent} gennemsigtig`,"very dark":"meget m\xF8rk","very light":"meget lys",vibrant:"klar",white:"hvid",yellow:"gul","yellow green":"gulgr\xF8n"};var mx={};mx={alpha:"Alpha",black:"Schwarz",blue:"Blau","blue purple":"Blaulila",brightness:"Helligkeit",brown:"Braun","brown yellow":"Braungelb",colorName:t=>`${t.lightness} ${t.chroma} ${t.hue}`,cyan:"Cyan","cyan blue":"Cyanblau",dark:"dunkles",gray:"Grau",grayish:"gr\xE4uliches",green:"Gr\xFCn","green cyan":"Gr\xFCncyan",hue:"Farbton",light:"helles",lightness:"Leuchtkraft",magenta:"Magenta","magenta pink":"Magentarosa",orange:"Orange","orange yellow":"Orangegelb",pale:"blasses",pink:"Rosa","pink red":"Rosarot",purple:"Lila","purple magenta":"Lilamagenta",red:"Rot","red orange":"Rotorange",saturation:"S\xE4ttigung",transparentColorName:t=>`${t.lightness} ${t.chroma} ${t.hue}, zu ${t.percentTransparent} transparent`,"very dark":"sehr dunkles","very light":"sehr helles",vibrant:"lebhaftes",white:"Wei\xDF",yellow:"Gelb","yellow green":"Gelbgr\xFCn"};var gx={};gx={alpha:"\u0386\u03BB\u03C6\u03B1",black:"\u03BC\u03B1\u03CD\u03C1\u03BF",blue:"\u039C\u03C0\u03BB\u03B5","blue purple":"\u03BC\u03C0\u03BB\u03B5 \u03BC\u03C9\u03B2",brightness:"\u03A6\u03C9\u03C4\u03B5\u03B9\u03BD\u03CC\u03C4\u03B7\u03C4\u03B1",brown:"\u03BA\u03B1\u03C6\u03AD","brown yellow":"\u03BA\u03B1\u03C6\u03AD \u03BA\u03AF\u03C4\u03C1\u03B9\u03BD\u03BF",colorName:t=>`${t.lightness} ${t.chroma} ${t.hue}`,cyan:"\u03BA\u03C5\u03B1\u03BD\u03CC","cyan blue":"\u03BA\u03C5\u03B1\u03BD\u03CC \u03BC\u03C0\u03BB\u03B5",dark:"\u03C3\u03BA\u03BF\u03CD\u03C1\u03BF",gray:"\u03B3\u03BA\u03C1\u03B9",grayish:"\u03B3\u03BA\u03C1\u03B9\u03B6\u03C9\u03C0\u03CC",green:"\u03A0\u03C1\u03AC\u03C3\u03B9\u03BD\u03BF","green cyan":"\u03C0\u03C1\u03AC\u03C3\u03B9\u03BD\u03BF \u03BA\u03C5\u03B1\u03BD\u03CC",hue:"\u03A4\u03CC\u03BD\u03BF\u03C2",light:"\u03B1\u03BD\u03BF\u03B9\u03C7\u03C4\u03CC",lightness:"\u03A6\u03C9\u03C4\u03B5\u03B9\u03BD\u03CC\u03C4\u03B7\u03C4\u03B1",magenta:"\u03BC\u03B1\u03C4\u03B6\u03AD\u03BD\u03C4\u03B1","magenta pink":"\u03BC\u03B1\u03C4\u03B6\u03AD\u03BD\u03C4\u03B1 \u03C1\u03BF\u03B6",orange:"\u03C0\u03BF\u03C1\u03C4\u03BF\u03BA\u03B1\u03BB\u03AF","orange yellow":"\u03C0\u03BF\u03C1\u03C4\u03BF\u03BA\u03B1\u03BB\u03AF \u03BA\u03AF\u03C4\u03C1\u03B9\u03BD\u03BF",pale:"\u03B1\u03BD\u03BF\u03B9\u03C7\u03C4\u03CC",pink:"\u03C1\u03BF\u03B6","pink red":"\u03C1\u03BF\u03B6 \u03BA\u03CC\u03BA\u03BA\u03B9\u03BD\u03BF",purple:"\u03BC\u03C9\u03B2","purple magenta":"\u03BC\u03C9\u03B2 \u03BC\u03B1\u03C4\u03B6\u03AD\u03BD\u03C4\u03B1",red:"\u039A\u03CC\u03BA\u03BA\u03B9\u03BD\u03BF","red orange":"\u03BA\u03CC\u03BA\u03BA\u03B9\u03BD\u03BF \u03C0\u03BF\u03C1\u03C4\u03BF\u03BA\u03B1\u03BB\u03AF",saturation:"\u039A\u03BF\u03C1\u03B5\u03C3\u03BC\u03CC\u03C2",transparentColorName:t=>`${t.lightness} ${t.chroma} ${t.hue}, ${t.percentTransparent} \u03B4\u03B9\u03B1\u03C6\u03B1\u03BD\u03AD\u03C2`,"very dark":"\u03C0\u03BF\u03BB\u03CD \u03C3\u03BA\u03BF\u03CD\u03C1\u03BF","very light":"\u03C0\u03BF\u03BB\u03CD \u03B1\u03BD\u03BF\u03B9\u03C7\u03C4\u03CC",vibrant:"\u03AD\u03BD\u03C4\u03BF\u03BD\u03BF",white:"\u03BB\u03B5\u03C5\u03BA\u03CC",yellow:"\u03BA\u03AF\u03C4\u03C1\u03B9\u03BD\u03BF","yellow green":"\u03BA\u03AF\u03C4\u03C1\u03B9\u03BD\u03BF \u03C0\u03C1\u03AC\u03C3\u03B9\u03BD\u03BF"};var Ox={};Ox={hue:"Hue",saturation:"Saturation",lightness:"Lightness",brightness:"Brightness",red:"Red",green:"Green",blue:"Blue",alpha:"Alpha",colorName:t=>`${t.lightness} ${t.chroma} ${t.hue}`,transparentColorName:t=>`${t.lightness} ${t.chroma} ${t.hue}, ${t.percentTransparent} transparent`,"very dark":"very dark",dark:"dark",light:"light","very light":"very light",pale:"pale",grayish:"grayish",vibrant:"vibrant",black:"black",white:"white",gray:"gray",pink:"pink","pink red":"pink red","red orange":"red orange",brown:"brown",orange:"orange","orange yellow":"orange yellow","brown yellow":"brown yellow",yellow:"yellow","yellow green":"yellow green","green cyan":"green cyan",cyan:"cyan","cyan blue":"cyan blue","blue purple":"blue purple",purple:"purple","purple magenta":"purple magenta",magenta:"magenta","magenta pink":"magenta pink"};var bx={};bx={alpha:"Alpha",black:"negro",blue:"Azul","blue purple":"p\xFArpura azulado",brightness:"Brillo",brown:"marr\xF3n","brown yellow":"amarillo amarronado",colorName:t=>`${t.lightness} ${t.chroma} ${t.hue}`,cyan:"cian","cyan blue":"azul cian",dark:"oscuro",gray:"gris",grayish:"gris\xE1ceo",green:"Verde","green cyan":"cian verdoso",hue:"Tono",light:"claro",lightness:"Luminosidad",magenta:"magenta","magenta pink":"rosa magenta",orange:"naranja","orange yellow":"amarillo anaranjado",pale:"p\xE1lido",pink:"rosa","pink red":"rojo rosado",purple:"morado","purple magenta":"magenta viol\xE1ceo",red:"Rojo","red orange":"naranja rojizo",saturation:"Saturaci\xF3n",transparentColorName:t=>`${t.lightness} ${t.chroma} ${t.hue}, ${t.percentTransparent} transparente`,"very dark":"muy oscuro","very light":"muy claro",vibrant:"intenso",white:"blanco",yellow:"amarillo","yellow green":"verde amarillento"};var yx={};yx={alpha:"Alfa",black:"must",blue:"Sinine","blue purple":"sinakaslilla",brightness:"Heledus",brown:"pruun","brown yellow":"pruunikaskollane",colorName:t=>`${t.lightness} ${t.chroma} ${t.hue}`,cyan:"ts\xFCaan","cyan blue":"ts\xFCaansinine",dark:"tume",gray:"hall",grayish:"hallikas",green:"Roheline","green cyan":"ts\xFCaanroheline",hue:"V\xE4rv",light:"valgus",lightness:"Valgus",magenta:"magentapunane","magenta pink":"magentaroosa",orange:"oran\u017E","orange yellow":"oran\u017Eikaskollane",pale:"kahvatu",pink:"roosa","pink red":"vaarikapunane",purple:"lilla","purple magenta":"purpurne magenta",red:"Punane","red orange":"punakasoran\u017E",saturation:"K\xFCllastus",transparentColorName:t=>`${t.lightness} ${t.chroma} ${t.hue}, ${t.percentTransparent} l\xE4bipaistev`,"very dark":"v\xE4ga tume","very light":"v\xE4ga hele",vibrant:"ere",white:"valge",yellow:"kollane","yellow green":"kollakasroheline"};var vx={};vx={alpha:"Alpha",black:"musta",blue:"Sininen","blue purple":"sinivioletti",brightness:"Kirkkaus",brown:"ruskea","brown yellow":"ruskeankeltainen",colorName:t=>`${t.lightness} ${t.chroma} ${t.hue}`,cyan:"syaani","cyan blue":"syaaninsininen",dark:"tumma",gray:"harmaa",grayish:"harmahtava",green:"Vihre\xE4","green cyan":"vihre\xE4nsyaani",hue:"S\xE4vy",light:"vaalea",lightness:"Valom\xE4\xE4r\xE4",magenta:"magenta","magenta pink":"magentapinkki",orange:"oranssi","orange yellow":"oranssinkeltainen",pale:"vaalea",pink:"pinkki","pink red":"vaaleanpunainen",purple:"violetti","purple magenta":"violettimagenta",red:"Punainen","red orange":"punaoranssi",saturation:"V\xE4rikyll\xE4isyys",transparentColorName:t=>`${t.lightness} ${t.chroma} ${t.hue}, ${t.percentTransparent} l\xE4pin\xE4kyv\xE4`,"very dark":"hyvin tumma","very light":"eritt\xE4in vaalea",vibrant:"eloisa",white:"valkea",yellow:"keltainen","yellow green":"keltavihre\xE4"};var $x={};$x={alpha:"Alpha",black:"Noir",blue:"Bleu","blue purple":"Violet bleu",brightness:"Luminosit\xE9",brown:"Brun","brown yellow":"Jaune brun",colorName:t=>`${t.lightness} ${t.chroma} ${t.hue}`,cyan:"Cyan","cyan blue":"Bleu cyan",dark:"Sombre",gray:"Gris",grayish:"Gris\xE2tre",green:"Vert","green cyan":"Cyan vert",hue:"Teinte",light:"Clair",lightness:"Luminosit\xE9",magenta:"Magenta","magenta pink":"Rose magenta",orange:"Orange","orange yellow":"Jaune orang\xE9",pale:"P\xE2le",pink:"Rose","pink red":"Rouge ros\xE9",purple:"Violet","purple magenta":"Magenta violet",red:"Rouge","red orange":"Orange rouge",saturation:"Saturation",transparentColorName:t=>`${t.lightness} ${t.chroma} ${t.hue}, ${t.percentTransparent} transparent`,"very dark":"Tr\xE8s sombre","very light":"Tr\xE8s clair",vibrant:"Vif",white:"Blanc",yellow:"Jaune","yellow green":"Vert jaune"};var wx={};wx={alpha:"\u05D0\u05DC\u05E4\u05D0",black:"\u05E9\u05D7\u05D5\u05E8",blue:"\u05DB\u05D7\u05D5\u05DC","blue purple":"\u05DB\u05D7\u05D5\u05DC \u05E1\u05D2\u05D5\u05DC",brightness:"\u05D1\u05D4\u05D9\u05E8\u05D5\u05EA",brown:"\u05D7\u05D5\u05DD","brown yellow":"\u05D7\u05D5\u05DD \u05E6\u05D4\u05D5\u05D1",colorName:t=>`${t.lightness} ${t.chroma} ${t.hue}`,cyan:"\u05D8\u05D5\u05E8\u05E7\u05D9\u05D6","cyan blue":"\u05DB\u05D7\u05D5\u05DC \u05E6\u05D9\u05D0\u05DF",dark:"\u05DB\u05D4\u05D4",gray:"\u05D0\u05E4\u05D5\u05E8",grayish:"\u05D0\u05E4\u05E8\u05E4\u05E8",green:"\u05D9\u05E8\u05D5\u05E7","green cyan":"\u05E6\u05D9\u05D0\u05DF \u05D9\u05E8\u05D5\u05E7",hue:"\u05D2\u05D5\u05D5\u05DF",light:"\u05D0\u05D5\u05E8",lightness:"\u05DB\u05DE\u05D5\u05EA \u05D0\u05D5\u05E8",magenta:"\u05DE\u05D2'\u05E0\u05D8\u05D4","magenta pink":"\u05D5\u05E8\u05D5\u05D3 \u05DE\u05D2'\u05E0\u05D8\u05D4",orange:"\u05DB\u05EA\u05D5\u05DD","orange yellow":"\u05DB\u05EA\u05D5\u05DD \u05E6\u05D4\u05D5\u05D1",pale:"\u05D7\u05D9\u05D5\u05D5\u05E8",pink:"\u05D5\u05E8\u05D5\u05D3","pink red":"\u05D5\u05E8\u05D5\u05D3 \u05D0\u05D3\u05D5\u05DD",purple:"\u05E1\u05D2\u05D5\u05DC","purple magenta":"\u05DE\u05D2'\u05E0\u05D8\u05D4 \u05E1\u05D2\u05D5\u05DC",red:"\u05D0\u05D3\u05D5\u05DD","red orange":"\u05DB\u05EA\u05D5\u05DD \u05D0\u05D3\u05D5\u05DD",saturation:"\u05E8\u05D5\u05D5\u05D9\u05D4",transparentColorName:t=>`${t.lightness} ${t.chroma} ${t.hue}, ${t.percentTransparent} \u05E9\u05E7\u05D5\u05E3`,"very dark":"\u05DB\u05D4\u05D4 \u05DE\u05D0\u05D5\u05D3","very light":"\u05D1\u05D4\u05D9\u05E8 \u05DE\u05D0\u05D5\u05D3",vibrant:"\u05EA\u05D5\u05E1\u05E1",white:"\u05DC\u05D1\u05DF",yellow:"\u05E6\u05D4\u05D5\u05D1","yellow green":"\u05E6\u05D4\u05D5\u05D1 \u05D9\u05E8\u05D5\u05E7"};var xx={};xx={alpha:"Alfa",black:"crno",blue:"Plava","blue purple":"plavo ljubi\u010Dasta",brightness:"Svjetlina",brown:"sme\u0111a","brown yellow":"sme\u0111e \u017Euta",colorName:t=>`${t.lightness} ${t.chroma} ${t.hue}`,cyan:"cijan","cyan blue":"cijan plava",dark:"tamno",gray:"siva",grayish:"sivkasto",green:"Zelena","green cyan":"zelena cijan",hue:"Nijansa",light:"svjetlo",lightness:"Osvijetljenost",magenta:"magenta","magenta pink":"magentno ru\u017Ei\u010Dasta",orange:"naran\u010Dasta","orange yellow":"naran\u010Dasto \u017Euta",pale:"blijeda",pink:"ru\u017Ei\u010Dasta","pink red":"ru\u017Ei\u010Dasto crvena",purple:"ljubi\u010Dasta","purple magenta":"ljubi\u010Dasta magenta",red:"Crvena","red orange":"crveno naran\u010Dasta",saturation:"Zasi\u0107enost",transparentColorName:t=>`${t.lightness} ${t.chroma} ${t.hue}, ${t.percentTransparent} prozirnosti`,"very dark":"jako tamna","very light":"vrlo svijetlo",vibrant:"vibrantna",white:"bijela",yellow:"\u017Euto","yellow green":"\u017Euto zelena"};var Sx={};Sx={alpha:"Alfa",black:"fekete",blue:"K\xE9k","blue purple":"k\xE9k lila",brightness:"F\xE9nyess\xE9g",brown:"barna","brown yellow":"barna s\xE1rga",colorName:t=>`${t.lightness} ${t.chroma} ${t.hue}`,cyan:"ci\xE1nk\xE9k","cyan blue":"ci\xE1nk\xE9k",dark:"s\xF6t\xE9t",gray:"sz\xFCrke",grayish:"sz\xFCrk\xE9s",green:"Z\xF6ld","green cyan":"z\xF6ld ci\xE1nk\xE9k",hue:"Sz\xEDn\xE1rnyalat",light:"vil\xE1gos",lightness:"Vil\xE1goss\xE1g",magenta:"b\xEDbor","magenta pink":"b\xEDbor r\xF3zsasz\xEDn",orange:"narancs","orange yellow":"narancss\xE1rga",pale:"halv\xE1ny",pink:"r\xF3zsasz\xEDn","pink red":"r\xF3zsasz\xEDn piros",purple:"lila","purple magenta":"lila b\xEDbor",red:"Piros","red orange":"piros narancs",saturation:"Tel\xEDtetts\xE9g",transparentColorName:t=>`${t.lightness} ${t.chroma} ${t.hue}, ${t.percentTransparent} \xE1tl\xE1tsz\xF3`,"very dark":"nagyon s\xF6t\xE9t","very light":"nagyon vil\xE1gos",vibrant:"\xE9l\xE9nk",white:"feh\xE9r",yellow:"s\xE1rga","yellow green":"s\xE1rga z\xF6ld"};var Cx={};Cx={alpha:"Alfa",black:"nero",blue:"Blu","blue purple":"blu viola",brightness:"Luminosit\xE0",brown:"marrone","brown yellow":"giallo bruno",colorName:t=>`${t.hue} ${t.chroma} ${t.lightness}`,cyan:"ciano","cyan blue":"blu ciano",dark:"scuro",gray:"grigio",grayish:"grigiastro",green:"Verde","green cyan":"verde ciano",hue:"Tonalit\xE0",light:"chiaro",lightness:"Luminosit\xE0",magenta:"magenta","magenta pink":"rosa magenta",orange:"arancio","orange yellow":"giallo arancio",pale:"tenue",pink:"rosa","pink red":"rosa rosso",purple:"viola","purple magenta":"viola magenta",red:"Rosso","red orange":"rosso arancio",saturation:"Saturazione",transparentColorName:t=>`${t.hue} ${t.chroma} ${t.lightness}, trasparenza ${t.percentTransparent}`,"very dark":"molto scuro","very light":"molto chiaro",vibrant:"vivace",white:"bianco",yellow:"giallo","yellow green":"giallo verde"};var Dx={};Dx={alpha:"\u30A2\u30EB\u30D5\u30A1",black:"\u30D6\u30E9\u30C3\u30AF",blue:"\u9752","blue purple":"\u30D6\u30EB\u30FC\u30D1\u30FC\u30D7\u30EB",brightness:"\u660E\u308B\u3055",brown:"\u30D6\u30E9\u30A6\u30F3","brown yellow":"\u30D6\u30E9\u30A6\u30F3\u30A4\u30A8\u30ED\u30FC",colorName:t=>`${t.lightness} ${t.chroma} ${t.hue}`,cyan:"\u30B7\u30A2\u30F3","cyan blue":"\u30B7\u30A2\u30F3\u30D6\u30EB\u30FC",dark:"\u30C0\u30FC\u30AF",gray:"\u30B0\u30EC\u30FC",grayish:"\u30B0\u30EC\u30A4\u30C3\u30B7\u30E5",green:"\u7DD1","green cyan":"\u30B0\u30EA\u30FC\u30F3\u30B7\u30A2\u30F3",hue:"\u8272\u76F8",light:"\u30E9\u30A4\u30C8",lightness:"\u660E\u5EA6",magenta:"\u30DE\u30BC\u30F3\u30BF","magenta pink":"\u30DE\u30BC\u30F3\u30BF\u30D4\u30F3\u30AF",orange:"\u30AA\u30EC\u30F3\u30B8","orange yellow":"\u30AA\u30EC\u30F3\u30B8\u30A4\u30A8\u30ED\u30FC",pale:"\u30DA\u30FC\u30EB",pink:"\u30D4\u30F3\u30AF","pink red":"\u30D4\u30F3\u30AF\u30EC\u30C3\u30C9",purple:"\u30D1\u30FC\u30D7\u30EB","purple magenta":"\u30D1\u30FC\u30D7\u30EB\u30DE\u30BC\u30F3\u30BF",red:"\u8D64","red orange":"\u30EC\u30C3\u30C9\u30AA\u30EC\u30F3\u30B8",saturation:"\u5F69\u5EA6",transparentColorName:t=>`${t.lightness} ${t.chroma} ${t.hue}, ${t.percentTransparent} \u900F\u660E`,"very dark":"\u6700\u3082\u6697\u3044","very light":"\u30D9\u30EA\u30FC\u30E9\u30A4\u30C8",vibrant:"\u9BAE\u3084\u304B",white:"\u30DB\u30EF\u30A4\u30C8",yellow:"\u30A4\u30A8\u30ED\u30FC","yellow green":"\u30A4\u30A8\u30ED\u30FC\u30B0\u30EA\u30FC\u30F3"};var kx={};kx={alpha:"\uC54C\uD30C",black:"\uAC80\uC740\uC0C9",blue:"\uD30C\uB791","blue purple":"\uCCAD\uC790\uC0C9",brightness:"\uBA85\uB3C4",brown:"\uAC08\uC0C9","brown yellow":"\uD669\uAC08\uC0C9",colorName:t=>`${t.lightness}, ${t.chroma}, ${t.hue}`,cyan:"\uCCAD\uB85D\uC0C9","cyan blue":"\uCCAD\uB85D\uC0C9",dark:"\uB2E4\uD06C",gray:"\uD68C\uC0C9",grayish:"\uD68C\uAC08\uC0C9",green:"\uCD08\uB85D","green cyan":"\uCCAD\uB85D\uC0C9",hue:"\uC0C9\uC870",light:"\uB77C\uC774\uD2B8",lightness:"\uBC1D\uAE30",magenta:"\uC790\uD64D\uC0C9","magenta pink":"\uB9C8\uC820\uD0C0 \uD551\uD06C",orange:"\uC8FC\uD669\uC0C9","orange yellow":"\uBD88\uADF8\uC2A4\uB984\uD55C \uB178\uB791",pale:"\uD759\uC0C9",pink:"\uBD84\uD64D\uC0C9","pink red":"\uD551\uD06C \uB808\uB4DC",purple:"\uC790\uC8FC\uC0C9","purple magenta":"\uBCF4\uB77C\uBE5B \uC790\uD64D\uC0C9",red:"\uBE68\uAC15","red orange":"\uBD89\uC740 \uC8FC\uD669\uC0C9",saturation:"\uCC44\uB3C4",transparentColorName:t=>`${t.lightness}, ${t.chroma}, ${t.hue}, ${t.percentTransparent} \uD22C\uBA85\uB3C4`,"very dark":"\uB9E4\uC6B0 \uC5B4\uB450\uC6B4","very light":"\uB9E4\uC6B0 \uC5F0\uD568",vibrant:"\uAC15\uB82C\uD55C",white:"\uD770\uC0C9",yellow:"\uB178\uB780\uC0C9","yellow green":"\uC5F0\uB450\uC0C9"};var Px={};Px={alpha:"Alfa",black:"juoda",blue:"M\u0117lyna","blue purple":"melsvai violetin\u0117",brightness:"Ry\u0161kumas",brown:"ruda","brown yellow":"rusvai geltona",colorName:t=>`${t.lightness} ${t.chroma} ${t.hue}`,cyan:"\u017Ealsvai m\u0117lyna","cyan blue":"\u017Ealsvai m\u0117lyna",dark:"tamsi",gray:"pilka",grayish:"pilk\u0161va",green:"\u017Dalia","green cyan":"\u017Ealsvai m\u0117lyna",hue:"Atspalvis",light:"\u0161viesi",lightness:"\u0160viesumas",magenta:"rausvai raudona","magenta pink":"purpurin\u0117",orange:"oran\u017Ein\u0117","orange yellow":"oran\u017Einio atspalvio geltona",pale:"bly\u0161ki",pink:"ro\u017Ein\u0117","pink red":"ro\u017Ein\u0117 raudona",purple:"violetin\u0117","purple magenta":"purpurin\u0117 rausvai raudona",red:"Raudona","red orange":"rausvai oran\u017Ein\u0117",saturation:"\u012Esotinimas",transparentColorName:t=>`${t.lightness} ${t.chroma} ${t.hue}, ${t.percentTransparent} skaidri`,"very dark":"labai tamsi","very light":"labai \u0161viesi",vibrant:"ry\u0161ki",white:"balta",yellow:"geltona","yellow green":"gelsvai \u017Ealia"};var Ex={};Ex={alpha:"Alfa",black:"melns",blue:"Zila","blue purple":"zili violets",brightness:"Spilgtums",brown:"br\u016Bns","brown yellow":"br\u016Bni dzeltens",colorName:t=>`${t.lightness} ${t.chroma} ${t.hue}`,cyan:"ci\u0101ns","cyan blue":"ci\u0101na zils",dark:"tum\u0161s",gray:"pel\u0113ks",grayish:"pel\u0113c\u012Bgs",green:"Za\u013Ca","green cyan":"za\u013C\u0161 ci\u0101ns",hue:"Nokr\u0101sa",light:"gai\u0161s",lightness:"Gai\u0161ums",magenta:"fuksiju","magenta pink":"fuksiju roz\u0101",orange:"oran\u017Es","orange yellow":"oran\u017Ei dzeltens",pale:"b\u0101ls",pink:"roz\u0101","pink red":"roz\u012Bgi sarkans",purple:"violets","purple magenta":"violets fuksiju",red:"Sarkana","red orange":"sarkan\u012Bgi oran\u017Es",saturation:"Pies\u0101tin\u0101jums",transparentColorName:t=>`${t.lightness} ${t.chroma} ${t.hue}, ${t.percentTransparent} caursp\u012Bd\u012Bgs`,"very dark":"\u013Coti tum\u0161s","very light":"\u013Coti gai\u0161s",vibrant:"ko\u0161s",white:"balts",yellow:"dzeltens","yellow green":"dzelteni za\u013C\u0161"};var Ax={};Ax={alpha:"Alfa",black:"svart",blue:"Bl\xE5","blue purple":"bl\xE5lilla",brightness:"Lysstyrke",brown:"brun","brown yellow":"brungul",colorName:t=>`${t.lightness} ${t.chroma} ${t.hue}`,cyan:"cyan","cyan blue":"cyanbl\xE5",dark:"m\xF8rk",gray:"gr\xE5",grayish:"gr\xE5aktig",green:"Gr\xF8nn","green cyan":"gr\xF8nncyan",hue:"Fargetone",light:"lys",lightness:"Lyshet",magenta:"magenta","magenta pink":"magentarosa",orange:"oransje","orange yellow":"oransjegul",pale:"blek",pink:"rosa","pink red":"rosar\xF8d",purple:"lilla","purple magenta":"lillamagenta",red:"R\xF8d","red orange":"r\xF8doransje",saturation:"Metning",transparentColorName:t=>`${t.lightness} ${t.chroma} ${t.hue}, ${t.percentTransparent} gjennomsiktig`,"very dark":"sv\xE6rt m\xF8rk","very light":"sv\xE6rt lys",vibrant:"levende",white:"hvit",yellow:"gul","yellow green":"gulgr\xF8nn"};var Tx={};Tx={alpha:"Alfa",black:"zwart",blue:"Blauw","blue purple":"paarsblauw",brightness:"Helderheid",brown:"bruin","brown yellow":"bruingeel",colorName:t=>`${t.lightness} ${t.chroma} ${t.hue}`,cyan:"cyaan","cyan blue":"cyaanblauw",dark:"donker",gray:"grijs",grayish:"grijsachtig",green:"Groen","green cyan":"cyaangroen",hue:"Kleurtoon",light:"licht",lightness:"Lichtsterkte",magenta:"magenta","magenta pink":"magentaroze",orange:"oranje","orange yellow":"oranjegeel",pale:"bleek",pink:"roze","pink red":"rozerood",purple:"paars","purple magenta":"magentapaars",red:"Rood","red orange":"roodoranje",saturation:"Verzadiging",transparentColorName:t=>`${t.lightness} ${t.chroma} ${t.hue}, ${t.percentTransparent} transparant`,"very dark":"heel donker","very light":"heel licht",vibrant:"levendig",white:"wit",yellow:"geel","yellow green":"geelgroen"};var Rx={};Rx={alpha:"Alfa",black:"czarny",blue:"Niebieski","blue purple":"niebiesko-fioletowy",brightness:"Jasno\u015B\u0107",brown:"br\u0105zowy","brown yellow":"br\u0105zowo-\u017C\xF3\u0142ty",colorName:t=>`${t.lightness} ${t.chroma} ${t.hue}`,cyan:"cyjanowy","cyan blue":"cyjanowo-niebieski",dark:"ciemny",gray:"szary",grayish:"szarawy",green:"Zielony","green cyan":"zielono-cyjanowy",hue:"Odcie\u0144",light:"jasny",lightness:"Jaskrawo\u015B\u0107",magenta:"purpurowy","magenta pink":"purpurowo-r\xF3\u017Cowy",orange:"pomara\u0144czowy","orange yellow":"pomara\u0144czowo-\u017C\xF3\u0142ty",pale:"blady",pink:"r\xF3\u017Cowy","pink red":"r\xF3\u017Cowo-czerwony",purple:"fioletowy","purple magenta":"fioletowo-purpurowy",red:"Czerwony","red orange":"czerwono-pomara\u0144czowy",saturation:"Nasycenie",transparentColorName:t=>`${t.lightness} ${t.chroma} ${t.hue}, ${t.percentTransparent} przezroczysto\u015Bci`,"very dark":"bardzo ciemny","very light":"bardzo jasny",vibrant:"intensywny",white:"bia\u0142y",yellow:"\u017C\xF3\u0142ty","yellow green":"\u017C\xF3\u0142to-zielony"};var Qx={};Qx={alpha:"Alfa",black:"preto",blue:"Azul","blue purple":"roxo azulado",brightness:"Brilho",brown:"marrom","brown yellow":"marrom amarelado",colorName:t=>`${t.lightness} ${t.chroma} ${t.hue}`,cyan:"ciano","cyan blue":"azul-ciano",dark:"escuro",gray:"cinza",grayish:"acinzentado",green:"Verde","green cyan":"verde-ciano",hue:"Matiz",light:"claro",lightness:"Luminosidade",magenta:"magenta","magenta pink":"rosa-magenta",orange:"laranja","orange yellow":"amarelo alaranjado",pale:"p\xE1lido",pink:"rosa","pink red":"rosa avermelhado",purple:"roxo","purple magenta":"roxo-magenta",red:"Vermelho","red orange":"laranja avermelhado",saturation:"Satura\xE7\xE3o",transparentColorName:t=>`${t.lightness} ${t.chroma} ${t.hue}, ${t.percentTransparent} transparente`,"very dark":"muito escuro","very light":"muito claro",vibrant:"vibrante",white:"branco",yellow:"amarelo","yellow green":"verde amarelado"};var Mx={};Mx={alpha:"Alfa",black:"preto",blue:"Azul","blue purple":"azul-p\xFArpura",brightness:"Luminosidade",brown:"castanho","brown yellow":"amarelo-castanho",colorName:t=>`${t.lightness} ${t.chroma} ${t.hue}`,cyan:"ciano","cyan blue":"azul-ciano",dark:"escuro",gray:"cinzento",grayish:"acinzentado",green:"Verde","green cyan":"verde-ciano",hue:"Tonalidade",light:"claro",lightness:"Claridade",magenta:"magenta","magenta pink":"rosa-magenta",orange:"laranja","orange yellow":"amarelo-laranja",pale:"p\xE1lido",pink:"cor-de-rosa","pink red":"vermelho-rosa",purple:"p\xFArpura","purple magenta":"p\xFArpura-magenta",red:"Vermelho","red orange":"laranja-vermelho",saturation:"Satura\xE7\xE3o",transparentColorName:t=>`${t.lightness} ${t.chroma} ${t.hue}, ${t.percentTransparent} transparente`,"very dark":"muito escuro","very light":"muito claro",vibrant:"vibrante",white:"branco",yellow:"amarelo","yellow green":"verde-amarelo"};var Bx={};Bx={alpha:"Alfa",black:"negru",blue:"Albastru","blue purple":"albastru-violet",brightness:"Luminozitate",brown:"maro","brown yellow":"galben maro",colorName:t=>`${t.lightness} ${t.chroma} ${t.hue}`,cyan:"bleu","cyan blue":"albastru-bleu",dark:"\xEEnchis",gray:"gri",grayish:"cenu\u0219iu",green:"Verde","green cyan":"verde bleu",hue:"Nuan\u021B\u0103",light:"deschis",lightness:"Luminozitate",magenta:"fucsia","magenta pink":"roz-fucsia",orange:"portocaliu","orange yellow":"galben-portocaliu",pale:"pal",pink:"roz","pink red":"roz-ro\u0219u",purple:"violet","purple magenta":"violet-fucsia",red:"Ro\u0219u","red orange":"portocaliu-ro\u0219u",saturation:"Satura\u021Bie",transparentColorName:t=>`${t.lightness} ${t.chroma} ${t.hue}, ${t.percentTransparent} transparent`,"very dark":"foarte \xEEnchis","very light":"foarte deschis",vibrant:"plin de via\u021B\u0103",white:"alb",yellow:"galben","yellow green":"galben-verde"};var Vx={};Vx={alpha:"\u0410\u043B\u044C\u0444\u0430",black:"\u0447\u0435\u0440\u043D\u044B\u0439",blue:"\u0421\u0438\u043D\u0438\u0439","blue purple":"\u0441\u0438\u043D\u0435-\u0444\u0438\u043E\u043B\u0435\u0442\u043E\u0432\u044B\u0439",brightness:"\u042F\u0440\u043A\u043E\u0441\u0442\u044C",brown:"\u043A\u043E\u0440\u0438\u0447\u043D\u0435\u0432\u044B\u0439","brown yellow":"\u043A\u043E\u0440\u0438\u0447\u043D\u0435\u0432\u043E-\u0436\u0435\u043B\u0442\u044B\u0439",colorName:t=>`${t.lightness} ${t.chroma} ${t.hue}`,cyan:"\u0433\u043E\u043B\u0443\u0431\u043E\u0439","cyan blue":"\u0446\u0432\u0435\u0442 \u043C\u043E\u0440\u0441\u043A\u043E\u0439 \u0432\u043E\u043B\u043D\u044B",dark:"\u0442\u0435\u043C\u043D\u044B\u0439",gray:"\u0441\u0435\u0440\u044B\u0439",grayish:"\u0441\u0435\u0440\u043E\u0432\u0430\u0442\u044B\u0439",green:"\u0417\u0435\u043B\u0435\u043D\u044B\u0439","green cyan":"\u0441\u0438\u043D\u0435-\u0437\u0435\u043B\u0435\u043D\u044B\u0439",hue:"\u041E\u0442\u0442\u0435\u043D\u043E\u043A",light:"\u0441\u0432\u0435\u0442\u043B\u044B\u0439",lightness:"\u041E\u0441\u0432\u0435\u0449\u0435\u043D\u043D\u043E\u0441\u0442\u044C",magenta:"\u043F\u0443\u0440\u043F\u0443\u0440\u043D\u044B\u0439","magenta pink":"\u043F\u0443\u0440\u043F\u0443\u0440\u043D\u043E-\u0440\u043E\u0437\u043E\u0432\u044B\u0439",orange:"\u043E\u0440\u0430\u043D\u0436\u0435\u0432\u044B\u0439","orange yellow":"\u043E\u0440\u0430\u043D\u0436\u0435\u0432\u043E-\u0436\u0435\u043B\u0442\u044B\u0439",pale:"\u0431\u043B\u0435\u0434\u043D\u044B\u0439",pink:"\u0440\u043E\u0437\u043E\u0432\u044B\u0439","pink red":"\u0440\u043E\u0437\u043E\u0432\u043E-\u043A\u0440\u0430\u0441\u043D\u044B\u0439",purple:"\u0444\u0438\u043E\u043B\u0435\u0442\u043E\u0432\u044B\u0439","purple magenta":"\u0444\u0438\u043E\u043B\u0435\u0442\u043E\u0432\u043E-\u043F\u0443\u0440\u043F\u0443\u0440\u043D\u044B\u0439",red:"\u041A\u0440\u0430\u0441\u043D\u044B\u0439","red orange":"\u043A\u0440\u0430\u0441\u043D\u043E-\u043E\u0440\u0430\u043D\u0436\u0435\u0432\u044B\u0439",saturation:"\u041D\u0430\u0441\u044B\u0449\u0435\u043D\u043D\u043E\u0441\u0442\u044C",transparentColorName:t=>`${t.lightness} ${t.chroma} ${t.hue}, \u043F\u0440\u043E\u0437\u0440\u0430\u0447\u043D\u044B\u0439 \u043D\u0430 ${t.percentTransparent}`,"very dark":"\u043E\u0447\u0435\u043D\u044C \u0442\u0435\u043C\u043D\u044B\u0439","very light":"\u043E\u0447\u0435\u043D\u044C \u0441\u0432\u0435\u0442\u043B\u044B\u0439",vibrant:"\u044F\u0440\u043A\u0438\u0439",white:"\u0431\u0435\u043B\u044B\u0439",yellow:"\u0436\u0435\u043B\u0442\u044B\u0439","yellow green":"\u0436\u0435\u043B\u0442\u043E-\u0437\u0435\u043B\u0435\u043D\u044B\u0439"};var Nx={};Nx={alpha:"Alfa",black:"\u010Dierna",blue:"Modr\xE1","blue purple":"modrofialov\xE1",brightness:"Jas",brown:"hned\xE1","brown yellow":"hnedo\u017Elt\xE1",colorName:t=>`${t.lightness} ${t.chroma} ${t.hue}`,cyan:"az\xFArov\xE1","cyan blue":"az\xFArov\xE1 modr\xE1",dark:"tmav\xE1",gray:"siv\xE1",grayish:"sivast\xE1",green:"Zelen\xE1","green cyan":"zelen\xE1 az\xFArov\xE1",hue:"Odtie\u0148",light:"svetl\xE1",lightness:"Svetlos\u0165",magenta:"purpurov\xE1","magenta pink":"ru\u017Eov\xE1 purpurov\xE1",orange:"oran\u017Eov\xE1","orange yellow":"oran\u017Eovo\u017Elt\xE1",pale:"bled\xE1",pink:"ru\u017Eov\xE1","pink red":"ru\u017Eovo\u010Derven\xE1",purple:"fialov\xE1","purple magenta":"fialov\xE1 purpurov\xE1",red:"\u010Cerven\xE1","red orange":"\u010Dervenooran\u017Eov\xE1",saturation:"S\xFDtos\u0165",transparentColorName:t=>`${t.lightness} ${t.chroma} ${t.hue}, ${t.percentTransparent} prieh\u013Eadn\xE1`,"very dark":"ve\u013Emi tmav\xE1","very light":"ve\u013Emi svetl\xE1",vibrant:"energick\xE1",white:"biela",yellow:"\u017Elt\xE1","yellow green":"\u017Eltozelen\xE1"};var Fx={};Fx={alpha:"Alfa",black:"\u010Drna",blue:"Modra","blue purple":"modro vijoli\u010Dna",brightness:"Svetlost",brown:"rjava","brown yellow":"rjavo rumena",colorName:t=>`${t.lightness} ${t.chroma} ${t.hue}`,cyan:"cian","cyan blue":"cian modra",dark:"temna",gray:"siva",grayish:"sivkasta",green:"Zelena","green cyan":"zelena cian",hue:"Barva",light:"svetla",lightness:"Lahkost",magenta:"\u0161krlatna","magenta pink":"\u0161krlatno roza",orange:"oran\u017Ena","orange yellow":"oran\u017Eno rumena",pale:"bleda",pink:"roza","pink red":"roza rde\u010Da",purple:"vijoli\u010Dna","purple magenta":"vijoli\u010Dno \u0161krlatna",red:"Rde\u010Da","red orange":"rde\u010De oran\u017Ena",saturation:"Nasi\u010Denost",transparentColorName:t=>`${t.lightness} ${t.chroma} ${t.hue}, ${t.percentTransparent} prozorna`,"very dark":"zelo temna","very light":"zelo svetla",vibrant:"\u017Eivahna",white:"bela",yellow:"rumena","yellow green":"rumeno zelena"};var Ix={};Ix={alpha:"Alfa",black:"crno",blue:"Plava","blue purple":"plavoljubi\u010Dasta",brightness:"Osvetljenost",brown:"sme\u0111a","brown yellow":"sme\u0111e\u017Euta",colorName:t=>`${t.lightness} ${t.chroma} ${t.hue}`,cyan:"cijan","cyan blue":"cijan plava",dark:"tamno",gray:"siva",grayish:"sivkasta",green:"Zelena","green cyan":"zeleno cijan",hue:"Nijansa",light:"svetla",lightness:"Osvetljenje",magenta:"purpurnocrvena","magenta pink":"magenta ru\u017Ei\u010Dasta",orange:"narand\u017Easta","orange yellow":"narand\u017Easto\u017Euta",pale:"bledo",pink:"ru\u017Ei\u010Dasta","pink red":"ru\u017Ei\u010Dastocrvena",purple:"ljubi\u010Dasta","purple magenta":"ljubi\u010Dasta magenta",red:"Crvena","red orange":"crvenonarand\u017Easta",saturation:"Zasi\u0107enje",transparentColorName:t=>`${t.lightness} ${t.chroma} ${t.hue}, ${t.percentTransparent} prozirna`,"very dark":"veoma tamno","very light":"vrlo svetlo",vibrant:"\u017Eivopisna",white:"bela",yellow:"\u017Euto","yellow green":"\u017Eutozelena"};var Zx={};Zx={alpha:"Alfa",black:"svart",blue:"Bl\xE5tt","blue purple":"bl\xE5lila",brightness:"Ljusstyrka",brown:"brun","brown yellow":"brungul",colorName:t=>`${t.lightness} ${t.chroma} ${t.hue}`,cyan:"cyan","cyan blue":"cyanbl\xE5",dark:"m\xF6rk",gray:"gr\xE5",grayish:"gr\xE5aktig",green:"Gr\xF6nt","green cyan":"gr\xF6n cyan",hue:"Nyans",light:"ljus",lightness:"Ljushet",magenta:"magenta","magenta pink":"magentarosa",orange:"orange","orange yellow":"orangegul",pale:"blek",pink:"rosa","pink red":"rosar\xF6d",purple:"lila","purple magenta":"lila magenta",red:"R\xF6tt","red orange":"r\xF6dorange",saturation:"M\xE4ttnad",transparentColorName:t=>`${t.lightness} ${t.chroma} ${t.hue}, ${t.percentTransparent} genomskinlig`,"very dark":"mycket m\xF6rk","very light":"mycket ljus",vibrant:"livfull",white:"vit",yellow:"gul","yellow green":"gulgr\xF6n"};var zx={};zx={alpha:"Alfa",black:"siyah",blue:"Mavi","blue purple":"mavi mor",brightness:"Parlakl\u0131k",brown:"kahverengi","brown yellow":"kahverengi sar\u0131",colorName:t=>`${t.lightness} ${t.chroma} ${t.hue}`,cyan:"camg\xF6be\u011Fi","cyan blue":"camg\xF6be\u011Fi mavi",dark:"koyu",gray:"gri",grayish:"grimsi",green:"Ye\u015Fil","green cyan":"ye\u015Fil camg\xF6be\u011Fi",hue:"Ton",light:"a\xE7\u0131k",lightness:"Canl\u0131l\u0131k",magenta:"eflatun","magenta pink":"eflatun pembe",orange:"turuncu","orange yellow":"turuncu sar\u0131",pale:"solgun",pink:"pembe","pink red":"pembe k\u0131rm\u0131z\u0131",purple:"mor","purple magenta":"mor eflatun",red:"K\u0131rm\u0131z\u0131","red orange":"k\u0131rm\u0131z\u0131 portakal",saturation:"Doygunluk",transparentColorName:t=>`${t.lightness} ${t.chroma} ${t.hue}, ${t.percentTransparent} saydam`,"very dark":"\xE7ok koyu","very light":"\xE7ok a\xE7\u0131k",vibrant:"canl\u0131",white:"beyaz",yellow:"sar\u0131","yellow green":"sar\u0131 ye\u015Fil"};var Lx={};Lx={alpha:"\u0410\u043B\u044C\u0444\u0430",black:"\u0447\u043E\u0440\u043D\u0438\u0439",blue:"\u0421\u0438\u043D\u0456\u0439","blue purple":"\u0441\u0438\u043D\u044C\u043E-\u0444\u0456\u043E\u043B\u0435\u0442\u043E\u0432\u0438\u0439",brightness:"\u042F\u0441\u043A\u0440\u0430\u0432\u0456\u0441\u0442\u044C",brown:"\u043A\u043E\u0440\u0438\u0447\u043D\u0435\u0432\u0438\u0439","brown yellow":"\u043A\u043E\u0440\u0438\u0447\u043D\u0435\u0432\u043E-\u0436\u043E\u0432\u0442\u0438\u0439",colorName:t=>`${t.lightness} ${t.chroma} ${t.hue}`,cyan:"\u0431\u043B\u0430\u043A\u0438\u0442\u043D\u0438\u0439","cyan blue":"\u0441\u0438\u043D\u044C\u043E-\u0431\u043B\u0430\u043A\u0438\u0442\u043D\u0438\u0439",dark:"\u0442\u0435\u043C\u043D\u0438\u0439",gray:"\u0441\u0456\u0440\u0438\u0439",grayish:"\u0441\u0456\u0440\u0443\u0432\u0430\u0442\u0438\u0439",green:"\u0417\u0435\u043B\u0435\u043D\u0438\u0439","green cyan":"\u0437\u0435\u043B\u0435\u043D\u043E-\u0431\u043B\u0430\u043A\u0438\u0442\u043D\u0438\u0439",hue:"\u0422\u043E\u043D",light:"\u0441\u0432\u0456\u0442\u043B\u0438\u0439",lightness:"\u041E\u0441\u0432\u0456\u0442\u043B\u0435\u043D\u0456\u0441\u0442\u044C",magenta:"\u043F\u0443\u0440\u043F\u0443\u0440\u043E\u0432\u0438\u0439","magenta pink":"\u043F\u0443\u0440\u043F\u0443\u0440\u043E\u0432\u043E-\u0440\u043E\u0436\u0435\u0432\u0438\u0439",orange:"\u043F\u043E\u043C\u0430\u0440\u0430\u043D\u0447\u0435\u0432\u0438\u0439","orange yellow":"\u043F\u043E\u043C\u0430\u0440\u0430\u043D\u0447\u0435\u0432\u043E-\u0436\u043E\u0432\u0442\u0438\u0439",pale:"\u0431\u043B\u0456\u0434\u0438\u0439",pink:"\u0440\u043E\u0436\u0435\u0432\u0438\u0439","pink red":"\u0440\u043E\u0436\u0435\u0432\u043E-\u0447\u0435\u0440\u0432\u043E\u043D\u0438\u0439",purple:"\u0444\u0456\u043E\u043B\u0435\u0442\u043E\u0432\u0438\u0439","purple magenta":"\u0444\u0456\u043E\u043B\u0435\u0442\u043E\u0432\u043E-\u043F\u0443\u0440\u043F\u0443\u0440\u043E\u0432\u0438\u0439",red:"\u0427\u0435\u0440\u0432\u043E\u043D\u0438\u0439","red orange":"\u0447\u0435\u0440\u0432\u043E\u043D\u043E-\u043F\u043E\u043C\u0430\u0440\u0430\u043D\u0447\u0435\u0432\u0438\u0439",saturation:"\u041D\u0430\u0441\u0438\u0447\u0435\u043D\u0456\u0441\u0442\u044C",transparentColorName:t=>`${t.lightness} ${t.chroma} ${t.hue}, \u043F\u0440\u043E\u0437\u043E\u0440\u0438\u0439 \u043D\u0430 ${t.percentTransparent}`,"very dark":"\u0434\u0443\u0436\u0435 \u0442\u0435\u043C\u043D\u0438\u0439","very light":"\u0434\u0443\u0436\u0435 \u0441\u0432\u0456\u0442\u043B\u0438\u0439",vibrant:"\u044F\u0441\u043A\u0440\u0430\u0432\u0438\u0439",white:"\u0431\u0456\u043B\u0438\u0439",yellow:"\u0436\u043E\u0432\u0442\u0438\u0439","yellow green":"\u0436\u043E\u0432\u0442\u043E-\u0437\u0435\u043B\u0435\u043D\u0438\u0439"};var Wx={};Wx={alpha:"Alpha",black:"\u9ED1\u8272",blue:"\u84DD\u8272","blue purple":"\u84DD\u7D2B\u8272",brightness:"\u4EAE\u5EA6",brown:"\u68D5\u8272\u7684","brown yellow":"\u68D5\u9EC4\u8272",colorName:t=>`${t.lightness} ${t.chroma} ${t.hue}`,cyan:"\u84DD\u7EFF\u8272","cyan blue":"\u9752\u84DD\u8272",dark:"\u6DF1\u8272",gray:"\u7070\u8272",grayish:"\u6D45\u7070\u8272\u7684",green:"\u7EFF\u8272","green cyan":"\u7EFF\u9752\u8272",hue:"\u8272\u76F8",light:"\u6D45\u8272",lightness:"\u660E\u4EAE\u5EA6",magenta:"\u7D2B\u7EA2\u8272","magenta pink":"\u7D2B\u7C89\u8272",orange:"\u6A59\u8272","orange yellow":"\u6A59\u9EC4\u8272",pale:"\u82CD\u767D\u7684",pink:"\u7C89\u8272","pink red":"\u7C89\u7EA2\u8272",purple:"\u7D2B\u8272","purple magenta":"\u7D2B\u6D0B\u7EA2\u8272",red:"\u7EA2\u8272","red orange":"\u7EA2\u6A59\u8272",saturation:"\u9971\u548C\u5EA6",transparentColorName:t=>`${t.lightness} ${t.chroma} ${t.hue}, ${t.percentTransparent} \u900F\u660E`,"very dark":"\u5F88\u6697","very light":"\u5F88\u6D45",vibrant:"\u751F\u673A\u52C3\u52C3",white:"\u767D\u8272",yellow:"\u9EC4\u8272","yellow green":"\u9EC4\u8272/\u7EFF\u8272"};var Xx={};Xx={alpha:"Alpha",black:"\u9ED1",blue:"\u85CD\u8272","blue purple":"\u85CD\u7D2B",brightness:"\u4EAE\u5EA6",brown:"\u68D5","brown yellow":"\u68D5\u9EC3",colorName:t=>`${t.lightness} ${t.chroma} ${t.hue}`,cyan:"\u9752","cyan blue":"\u9752\u85CD",dark:"\u6697",gray:"\u7070",grayish:"\u504F\u7070",green:"\u7DA0\u8272","green cyan":"\u9752\u7DA0",hue:"\u8272\u76F8",light:"\u6DFA",lightness:"\u660E\u4EAE",magenta:"\u6D0B\u7D05","magenta pink":"\u6DFA\u6D0B\u7D05",orange:"\u6A59","orange yellow":"\u6A59\u9EC3",pale:"\u6DE1",pink:"\u7C89\u7D05","pink red":"\u7C89\u7D05",purple:"\u7D2B","purple magenta":"\u7D2B\u6D0B\u7D05",red:"\u7D05\u8272","red orange":"\u6A59\u7D05",saturation:"\u98FD\u548C\u5EA6",transparentColorName:t=>`${t.lightness} ${t.chroma} ${t.hue}, ${t.percentTransparent} \u900F\u660E`,"very dark":"\u5F88\u6697","very light":"\u5F88\u6DFA",vibrant:"\u9BAE\u8C54",white:"\u767D",yellow:"\u9EC3","yellow green":"\u9EC3\u7DA0"};var jx={};jx={"ar-AE":dx,"bg-BG":fx,"cs-CZ":hx,"da-DK":px,"de-DE":mx,"el-GR":gx,"en-US":Ox,"es-ES":bx,"et-EE":yx,"fi-FI":vx,"fr-FR":$x,"he-IL":wx,"hr-HR":xx,"hu-HU":Sx,"it-IT":Cx,"ja-JP":Dx,"ko-KR":kx,"lt-LT":Px,"lv-LV":Ex,"nb-NO":Ax,"nl-NL":Tx,"pl-PL":Rx,"pt-BR":Qx,"pt-PT":Mx,"ro-RO":Bx,"ru-RU":Vx,"sk-SK":Nx,"sl-SI":Fx,"sr-SP":Ix,"sv-SE":Zx,"tr-TR":zx,"uk-UA":Lx,"zh-CN":Wx,"zh-TW":Xx};function $B(t){return t&&t.__esModule?t.default:t}u($B,"$parcel$interopDefault$b");let sg=new nn($B(jx));function an(t){let e=ua.parse(t)||ca.parse(t)||da.parse(t);if(e)return e;throw new Error("Invalid color value: "+t)}u(an,"$799cddbef784668f$export$6e865ea70d7724f");function sa(t){return typeof t=="string"?an(t):t}u(sa,"$799cddbef784668f$export$4cde5df63f53f473");function qx(t){return t===360?t:(t%360+360)%360}u(qx,"$799cddbef784668f$export$87f5012e10bb20b2");const Ux=.68,wB=.85,Yx=.55,Kx=.001,ug=[[0,"pink"],[15,"red"],[48,"orange"],[94,"yellow"],[135,"green"],[175,"cyan"],[264,"blue"],[284,"purple"],[320,"magenta"],[349,"pink"]],A1=class A1{toHexInt(){return this.toFormat("rgb").toHexInt()}getChannelValue(e){if(e in this)return this[e];throw new Error("Unsupported color channel: "+e)}withChannelValue(e,n){if(e in this){let r=this.clone();return r[e]=n,r}throw new Error("Unsupported color channel: "+e)}getChannelName(e,n){return(nn.getGlobalDictionaryForPackage("@react-stately/color")||sg).getStringForLocale(e,n)}getColorSpaceAxes(e){let{xChannel:n,yChannel:r}=e,i=n||this.getColorChannels().find(o=>o!==r),l=r||this.getColorChannels().find(o=>o!==i),a=this.getColorChannels().find(o=>o!==i&&o!==l);return{xChannel:i,yChannel:l,zChannel:a}}getColorName(e){let[n,r,i]=Gx(this),l=nn.getGlobalDictionaryForPackage("@react-stately/color")||sg;if(n>.999)return l.getStringForLocale("white",e);if(n<.001)return l.getStringForLocale("black",e);let a;[a,n]=this.getOklchHue(n,r,i,e);let o="",s="";r<=.1&&r>=Kx?n>=.7?s="pale":s="grayish":r>=.15&&(s="vibrant"),n<.3?o="very dark":n=o&&ro+(c-o)/2&&s!==d?s=`${s} ${d}`:s==="yellow"&&e0;)n.push(parseInt(l.splice(0,2).join(""),16));n[3]=n[3]!==void 0?n[3]/255:void 0}const r=e.match(/^rgba?\((.*)\)$/);if(r?.[1]&&(n=r[1].split(",").map(l=>Number(l.trim())),n=n.map((l,a)=>We(l??0,0,a<3?255:1))),!(n[0]===void 0||n[1]===void 0||n[2]===void 0)){var i;return n.length<3?void 0:new ro(n[0],n[1],n[2],(i=n[3])!==null&&i!==void 0?i:1)}}toString(e="css"){switch(e){case"hex":return"#"+(this.red.toString(16).padStart(2,"0")+this.green.toString(16).padStart(2,"0")+this.blue.toString(16).padStart(2,"0")).toUpperCase();case"hexa":return"#"+(this.red.toString(16).padStart(2,"0")+this.green.toString(16).padStart(2,"0")+this.blue.toString(16).padStart(2,"0")+Math.round(this.alpha*255).toString(16).padStart(2,"0")).toUpperCase();case"rgb":return`rgb(${this.red}, ${this.green}, ${this.blue})`;case"css":case"rgba":return`rgba(${this.red}, ${this.green}, ${this.blue}, ${this.alpha})`;default:return this.toFormat(e).toString(e)}}toFormat(e){switch(e){case"hex":case"hexa":case"rgb":case"rgba":return this;case"hsb":case"hsba":return this.toHSB();case"hsl":case"hsla":return this.toHSL();default:throw new Error("Unsupported color conversion: rgb -> "+e)}}toHexInt(){return this.red<<16|this.green<<8|this.blue}toHSB(){const e=this.red/255,n=this.green/255,r=this.blue/255,i=Math.min(e,n,r),l=Math.max(e,n,r),a=l-i,o=l===0?0:a/l;let s=0;if(a!==0){switch(l){case e:s=(n-r)/a+(nNumber(s.trim().replace("%","")));return new io(qx(i),We(l,0,100),We(a,0,100),We(o??1,0,1))}}toString(e="css"){switch(e){case"css":return this.toHSL().toString("css");case"hex":return this.toRGB().toString("hex");case"hexa":return this.toRGB().toString("hexa");case"hsb":return`hsb(${this.hue}, ${Ze(this.saturation,2)}%, ${Ze(this.brightness,2)}%)`;case"hsba":return`hsba(${this.hue}, ${Ze(this.saturation,2)}%, ${Ze(this.brightness,2)}%, ${this.alpha})`;default:return this.toFormat(e).toString(e)}}toFormat(e){switch(e){case"hsb":case"hsba":return this;case"hsl":case"hsla":return this.toHSL();case"rgb":case"rgba":return this.toRGB();default:throw new Error("Unsupported color conversion: hsb -> "+e)}}toHSL(){let e=this.saturation/100,n=this.brightness/100,r=n*(1-e/2);return e=r===0||r===1?0:(n-r)/Math.min(r,1-r),new da(Ze(this.hue,2),Ze(e*100,2),Ze(r*100,2),this.alpha)}toRGB(){let e=this.hue,n=this.saturation/100,r=this.brightness/100,i=u((l,a=(l+e/60)%6)=>r-n*r*Math.max(Math.min(a,4-a,1),0),"fn");return new ua(Math.round(i(5)*255),Math.round(i(3)*255),Math.round(i(1)*255),this.alpha)}clone(){return new io(this.hue,this.saturation,this.brightness,this.alpha)}getChannelRange(e){switch(e){case"hue":return{minValue:0,maxValue:360,step:1,pageSize:15};case"saturation":case"brightness":return{minValue:0,maxValue:100,step:1,pageSize:10};case"alpha":return{minValue:0,maxValue:1,step:.01,pageSize:.1};default:throw new Error("Unknown color channel: "+e)}}getChannelFormatOptions(e){switch(e){case"hue":return{style:"unit",unit:"degree",unitDisplay:"narrow"};case"saturation":case"brightness":case"alpha":return{style:"percent"};default:throw new Error("Unknown color channel: "+e)}}formatChannelValue(e,n){let r=this.getChannelFormatOptions(e),i=this.getChannelValue(e);return(e==="saturation"||e==="brightness")&&(i/=100),new Nn(n,r).format(i)}getColorSpace(){return"hsb"}getColorChannels(){return io.colorChannels}constructor(e,n,r,i){super(),this.hue=e,this.saturation=n,this.brightness=r,this.alpha=i}};u(io,"$799cddbef784668f$var$HSBColor");let ca=io;ca.colorChannels=["hue","saturation","brightness"];const SB=/hsl\(([-+]?\d+(?:.\d+)?\s*,\s*[-+]?\d+(?:.\d+)?%\s*,\s*[-+]?\d+(?:.\d+)?%)\)|hsla\(([-+]?\d+(?:.\d+)?\s*,\s*[-+]?\d+(?:.\d+)?%\s*,\s*[-+]?\d+(?:.\d+)?%\s*,\s*[-+]?\d(.\d+)?)\)/,lo=class lo extends Ko{static parse(e){let n;if(n=e.match(SB)){var r;const[i,l,a,o]=((r=n[1])!==null&&r!==void 0?r:n[2]).split(",").map(s=>Number(s.trim().replace("%","")));return new lo(qx(i),We(l,0,100),We(a,0,100),We(o??1,0,1))}}toString(e="css"){switch(e){case"hex":return this.toRGB().toString("hex");case"hexa":return this.toRGB().toString("hexa");case"hsl":return`hsl(${this.hue}, ${Ze(this.saturation,2)}%, ${Ze(this.lightness,2)}%)`;case"css":case"hsla":return`hsla(${this.hue}, ${Ze(this.saturation,2)}%, ${Ze(this.lightness,2)}%, ${this.alpha})`;default:return this.toFormat(e).toString(e)}}toFormat(e){switch(e){case"hsl":case"hsla":return this;case"hsb":case"hsba":return this.toHSB();case"rgb":case"rgba":return this.toRGB();default:throw new Error("Unsupported color conversion: hsl -> "+e)}}toHSB(){let e=this.saturation/100,n=this.lightness/100,r=n+e*Math.min(n,1-n);return e=r===0?0:2*(1-n/r),new ca(Ze(this.hue,2),Ze(e*100,2),Ze(r*100,2),this.alpha)}toRGB(){let e=this.hue,n=this.saturation/100,r=this.lightness/100,i=n*Math.min(r,1-r),l=u((a,o=(a+e/30)%12)=>r-i*Math.max(Math.min(o-3,9-o,1),-1),"fn");return new ua(Math.round(l(0)*255),Math.round(l(8)*255),Math.round(l(4)*255),this.alpha)}clone(){return new lo(this.hue,this.saturation,this.lightness,this.alpha)}getChannelRange(e){switch(e){case"hue":return{minValue:0,maxValue:360,step:1,pageSize:15};case"saturation":case"lightness":return{minValue:0,maxValue:100,step:1,pageSize:10};case"alpha":return{minValue:0,maxValue:1,step:.01,pageSize:.1};default:throw new Error("Unknown color channel: "+e)}}getChannelFormatOptions(e){switch(e){case"hue":return{style:"unit",unit:"degree",unitDisplay:"narrow"};case"saturation":case"lightness":case"alpha":return{style:"percent"};default:throw new Error("Unknown color channel: "+e)}}formatChannelValue(e,n){let r=this.getChannelFormatOptions(e),i=this.getChannelValue(e);return(e==="saturation"||e==="lightness")&&(i/=100),new Nn(n,r).format(i)}getColorSpace(){return"hsl"}getColorChannels(){return lo.colorChannels}constructor(e,n,r,i){super(),this.hue=e,this.saturation=n,this.lightness=r,this.alpha=i}};u(lo,"$799cddbef784668f$var$HSLColor");let da=lo;da.colorChannels=["hue","saturation","lightness"];function Gx(t){let e=t.toFormat("rgb"),n=e.getChannelValue("red")/255,r=e.getChannelValue("green")/255,i=e.getChannelValue("blue")/255;[n,r,i]=DB(n,r,i);let[l,a,o]=kB(n,r,i),[s,c,d]=PB(l,a,o);return CB(s,c,d)}u(Gx,"$799cddbef784668f$var$toOKLCH");function CB(t,e,n){var r=Math.atan2(n,e)*180/Math.PI;return[t,Math.sqrt(e**2+n**2),r>=0?r:r+360]}u(CB,"$799cddbef784668f$var$OKLab_to_OKLCH");function DB(t,e,n){return[cg(t),cg(e),cg(n)]}u(DB,"$799cddbef784668f$var$lin_sRGB");function cg(t){let e=t<0?-1:1,n=Math.abs(t);return n<=.04045?t/12.92:e*Math.pow((n+.055)/1.055,2.4)}u(cg,"$799cddbef784668f$var$lin_sRGB_component");function kB(t,e,n){return dg([.4123907992659595,.35758433938387796,.1804807884018343,.21263900587151036,.7151686787677559,.07219231536073371,.01933081871559185,.11919477979462599,.9505321522496606],t,e,n)}u(kB,"$799cddbef784668f$var$lin_sRGB_to_XYZ");function PB(t,e,n){const r=[.819022437996703,.3619062600528904,-.1288737815209879,.0329836539323885,.9292868615863434,.0361446663506424,.0481771893596242,.2642395317527308,.6335478284694309],i=[.210454268309314,.7936177747023054,-.0040720430116193,1.9779985324311684,-2.42859224204858,.450593709617411,.0259040424655478,.7827717124575296,-.8086757549230774];let[l,a,o]=dg(r,t,e,n);return dg(i,Math.cbrt(l),Math.cbrt(a),Math.cbrt(o))}u(PB,"$799cddbef784668f$var$XYZ_to_OKLab");function dg(t,e,n,r){let i=t[0]*e+t[1]*n+t[2]*r,l=t[3]*e+t[4]*n+t[5]*r,a=t[6]*e+t[7]*n+t[8]*r;return[i,l,a]}u(dg,"$799cddbef784668f$var$multiplyMatrix");const EB=an("#ffffff");function AB(t){let{value:e,defaultValue:n,colorSpace:r,xChannel:i,yChannel:l,onChange:a,onChangeEnd:o}=t;!e&&!n&&(n=EB),e&&(e=sa(e)),n&&(n=sa(n));let[s,c]=Le(e,n,a),d=(0,wp.element.useMemo)(()=>r&&s?s.toFormat(r):s,[s,r]),f=(0,wp.element.useRef)(d),h=u(T=>{f.current=T,c(T)},"setColor"),p=(0,wp.element.useMemo)(()=>d.getColorSpaceAxes({xChannel:i,yChannel:l}),[d,i,l]),m=d.getChannelRange(p.xChannel),g=d.getChannelRange(p.yChannel),{minValue:O,maxValue:b,step:y,pageSize:$}=m,{minValue:C,maxValue:w,step:x,pageSize:P}=g,[v,k]=(0,wp.element.useState)(!1),D=(0,wp.element.useRef)(!1),S=d.getChannelValue(p.xChannel),E=d.getChannelValue(p.yChannel),A=u(T=>{if(T===S)return;let R=d.withChannelValue(p.xChannel,T);h(R)},"setXValue"),B=u(T=>{if(T===E)return;let R=d.withChannelValue(p.yChannel,T);h(R)},"setYValue");return{channels:p,xChannelStep:y,yChannelStep:x,xChannelPageStep:$,yChannelPageStep:P,value:d,setValue(T){h(sa(T))},xValue:S,setXValue:A,yValue:E,setYValue:B,setColorFromPoint(T,R){let M=O+We(T,0,1)*(b-O),N=C+(1-We(R,0,1))*(w-C),I;M!==S&&(M=Ie(M,O,b,y),I=d.withChannelValue(p.xChannel,M)),N!==E&&(N=Ie(N,C,w,x),I=(I||d).withChannelValue(p.yChannel,N)),I&&h(I)},getThumbPosition(){let T=(S-O)/(b-O),R=1-(E-C)/(w-C);return{x:T,y:R}},incrementX(T=1){A(S+T>b?b:Ie(S+T,O,b,y))},incrementY(T=1){B(E+T>w?w:Ie(E+T,C,w,x))},decrementX(T=1){A(Ie(S-T,O,b,y))},decrementY(T=1){B(Ie(E-T,C,w,x))},setDragging(T){let R=D.current;D.current=T,o&&!T&&R&&o(f.current),k(T)},isDragging:v,getDisplayColor(){return d.withChannelValue("alpha",1)}}}u(AB,"$6e14a98a7f67141d$export$6df7f0e2cabc7eef");const TB=0,RB=100,QB=1;function MB(t){const{isDisabled:e=!1,minValue:n=TB,maxValue:r=RB,numberFormatter:i,step:l=QB,orientation:a="horizontal"}=t;let o=(0,wp.element.useMemo)(()=>{let V=(r-n)/10;return V=Ie(V,0,V+l,l),Math.max(V,l)},[l,r,n]),s=(0,wp.element.useCallback)(V=>V?.map((Z,_)=>{let W=_===0?n:Z[_-1],re=_===V.length-1?r:Z[_+1];return Ie(Z,W,re,l)}),[n,r,l]),c=(0,wp.element.useMemo)(()=>s(_x(t.value)),[t.value]),d=(0,wp.element.useMemo)(()=>{var V;return s((V=_x(t.defaultValue))!==null&&V!==void 0?V:[n])},[t.defaultValue,n]),f=Jx(t.value,t.defaultValue,t.onChange),h=Jx(t.value,t.defaultValue,t.onChangeEnd);const[p,m]=Le(c,d,f),[g,O]=(0,wp.element.useState)(new Array(p.length).fill(!1)),b=(0,wp.element.useRef)(new Array(p.length).fill(!0)),[y,$]=(0,wp.element.useState)(void 0),C=(0,wp.element.useRef)(p),w=(0,wp.element.useRef)(g);let x=u(V=>{C.current=V,m(V)},"setValues"),P=u(V=>{w.current=V,O(V)},"setDraggings");function v(V){return(V-n)/(r-n)}u(v,"getValuePercent");function k(V){return V===0?n:p[V-1]}u(k,"getThumbMinValue");function D(V){return V===p.length-1?r:p[V+1]}u(D,"getThumbMaxValue");function S(V){return b.current[V]}u(S,"isThumbEditable");function E(V,Z){b.current[V]=Z}u(E,"setThumbEditable");function A(V,Z){if(e||!S(V))return;const _=k(V),W=D(V);Z=Ie(Z,_,W,l);let re=Hx(C.current,V,Z);x(re)}u(A,"updateValue");function B(V,Z){if(e||!S(V))return;Z&&(C.current=p);const _=w.current[V];w.current=Hx(w.current,V,Z),P(w.current),h&&_&&!w.current.some(Boolean)&&h(C.current)}u(B,"updateDragging");function T(V){return i.format(V)}u(T,"getFormattedValue");function R(V,Z){A(V,N(Z))}u(R,"setThumbPercent");function M(V){return Math.round((V-n)/l)*l+n}u(M,"getRoundedValue");function N(V){const Z=V*(r-n)+n;return We(M(Z),n,r)}u(N,"getPercentValue");function I(V,Z=1){let _=Math.max(Z,l);A(V,Ie(p[V]+_,n,r,l))}u(I,"incrementThumb");function F(V,Z=1){let _=Math.max(Z,l);A(V,Ie(p[V]-_,n,r,l))}return u(F,"decrementThumb"),{values:p,getThumbValue:V=>p[V],setThumbValue:A,setThumbPercent:R,isThumbDragging:V=>g[V],setThumbDragging:B,focusedThumb:y,setFocusedThumb:$,getThumbPercent:V=>v(p[V]),getValuePercent:v,getThumbValueLabel:V=>T(p[V]),getFormattedValue:T,getThumbMinValue:k,getThumbMaxValue:D,getPercentValue:N,isThumbEditable:S,setThumbEditable:E,incrementThumb:I,decrementThumb:F,step:l,pageSize:o,orientation:a,isDisabled:e}}u(MB,"$28f99e3e86e6ec45$export$e5fda3247f5d67f9");function Hx(t,e,n){return t[e]===n?t:[...t.slice(0,e),n,...t.slice(e+1)]}u(Hx,"$28f99e3e86e6ec45$var$replaceIndex");function _x(t){if(t!=null)return Array.isArray(t)?t:[t]}u(_x,"$28f99e3e86e6ec45$var$convertValue");function Jx(t,e,n){return r=>{n?.(typeof t=="number"||typeof e=="number"?r[0]:r)}}u(Jx,"$28f99e3e86e6ec45$var$createOnChange");function BB(t){let{channel:e,colorSpace:n,value:r,defaultValue:i,onChange:l,locale:a,...o}=t;if(r==null&&i==null)throw new Error("useColorSliderState requires a value or defaultValue");r&&(r=sa(r)),i&&(i=sa(i));let[s,c]=Le(r,i,l),d=(0,wp.element.useMemo)(()=>n&&s?s.toFormat(n):s,[s,n]),f=MB({...d.getChannelRange(e),...o,numberFormatter:null,value:d.getChannelValue(e),onChange(m){c(d.withChannelValue(e,m))},onChangeEnd(m){t.onChangeEnd&&t.onChangeEnd(d.withChannelValue(e,m))}}),{step:h,pageSize:p}=d.getChannelRange(e);return{...f,value:d,setValue(m){c(sa(m))},getDisplayColor(){switch(e){case"hue":return an(`hsl(${d.getChannelValue("hue")}, 100%, 50%)`);case"lightness":case"brightness":case"saturation":case"red":case"green":case"blue":return d.withChannelValue("alpha",1);case"alpha":return d;default:throw new Error("Unknown color channel: "+e)}},getThumbValueLabel(){return d.formatChannelValue(e,a)},step:h,pageSize:p,isDragging:f.isThumbDragging(0)}}u(BB,"$25a25ac0d1624665$export$57bc203e1c9c6d44");function eS(t){return(0,wp.element.useMemo)(()=>{if(typeof t=="string")try{return an(t)}catch{return}return t},[t])}u(eS,"$aa90ad8b2b1d015f$export$5aadd9c0606af5c2");const fd=an("#000000"),tS=an("#FFFFFF"),VB=fd.toHexInt(),NB=tS.toHexInt();function FB(t){let{value:e,defaultValue:n,onChange:r}=t,{step:i}=fd.getChannelRange("red"),l=eS(e),a=eS(n),[o,s]=Le(l,a,r),[c,d]=(0,wp.element.useState)(()=>(e||n)&&o?o.toString("hex"):""),f=Fn({...t,value:o}),h=u(x=>{if(!o||!x){s(x);return}if(x.toHexInt()!==o.toHexInt()){s(x);return}},"safelySetColorValue"),[p,m]=(0,wp.element.useState)(o);p!==o&&(d(o?o.toString("hex"):""),m(o));let g=(0,wp.element.useMemo)(()=>{let x;try{x=an(c.startsWith("#")?c:`#${c}`)}catch{x=null}return x},[c]);return{...f,validate:u(x=>{var P;return x===""||!!(!((P=x.match(/^#?[0-9a-f]{0,6}$/i))===null||P===void 0)&&P[0])},"validate"),colorValue:o,inputValue:c,setInputValue:d,commit:u(()=>{if(!c.length){h(null),d(e===void 0||o===null?"":o.toString("hex"));return}if(g==null){d(o?o.toString("hex"):"");return}h(g);let x="";o&&(x=o.toString("hex")),d(x)},"commit"),increment:u(()=>{let x=nS(g,i);x===o&&d(x.toString("hex")),h(x),f.commitValidation()},"increment"),incrementToMax:u(()=>h(tS),"incrementToMax"),decrement:u(()=>{let x=nS(g,-i);x===o&&d(x.toString("hex")),h(x),f.commitValidation()},"decrement"),decrementToMin:u(()=>h(fd),"decrementToMin")}}u(FB,"$b335ada08155d9c0$export$d52a01683abdfcd6");function nS(t,e){let n=t||fd,r=n.toHexInt(),i=Math.min(Math.max(r+e,VB),NB);if(i!==r){let l=`#${i.toString(16).padStart(6,"0").toUpperCase()}`;n=an(l)}return n}u(nS,"$b335ada08155d9c0$var$addColorValue");function IB(t){let{minValue:e,maxValue:n,step:r,formatOptions:i,value:l,defaultValue:a=NaN,onChange:o,locale:s,isDisabled:c,isReadOnly:d}=t;l===null&&(l=NaN),l!==void 0&&!isNaN(l)&&(r!==void 0&&!isNaN(r)?l=Ie(l,e,n,r):l=We(l,e,n)),isNaN(a)||(r!==void 0&&!isNaN(r)?a=Ie(a,e,n,r):a=We(a,e,n));let[f,h]=Le(l,isNaN(a)?NaN:a,o),[p,m]=(0,wp.element.useState)(()=>isNaN(f)?"":new Nn(s,i).format(f)),g=(0,wp.element.useMemo)(()=>new jo(s,i),[s,i]),O=(0,wp.element.useMemo)(()=>g.getNumberingSystem(p),[g,p]),b=(0,wp.element.useMemo)(()=>new Nn(s,{...i,numberingSystem:O}),[s,i,O]),y=(0,wp.element.useMemo)(()=>b.resolvedOptions(),[b]),$=(0,wp.element.useCallback)(Z=>isNaN(Z)||Z===null?"":b.format(Z),[b]),C=Fn({...t,value:f}),w=r!==void 0&&!isNaN(r)?r:1;y.style==="percent"&&(r===void 0||isNaN(r))&&(w=.01);let[x,P]=(0,wp.element.useState)(f),[v,k]=(0,wp.element.useState)(s),[D,S]=(0,wp.element.useState)(i);(!Object.is(f,x)||s!==v||i!==D)&&(m($(f)),P(f),k(s),S(i));let E=(0,wp.element.useMemo)(()=>g.parse(p),[g,p]),A=u(()=>{if(!p.length){h(NaN),m(l===void 0?"":$(f));return}if(isNaN(E)){m($(f));return}let Z;r===void 0||isNaN(r)?Z=We(E,e,n):Z=Ie(E,e,n,r),Z=g.parse($(Z)),h(Z),m($(l===void 0?Z:f))},"commit"),B=u((Z,_=0)=>{let W=E;if(isNaN(W)){let re=isNaN(_)?0:_;return Ie(re,e,n,w)}else{let re=Ie(W,e,n,w);return Z==="+"&&re>W||Z==="-"&&re{let Z=B("+",e);Z===f&&m($(Z)),h(Z),C.commitValidation()},"increment"),R=u(()=>{let Z=B("-",n);Z===f&&m($(Z)),h(Z),C.commitValidation()},"decrement"),M=u(()=>{n!=null&&(h(Ie(n,e,n,w)),C.commitValidation())},"incrementToMax"),N=u(()=>{e!=null&&(h(e),C.commitValidation())},"decrementToMin"),I=(0,wp.element.useMemo)(()=>!c&&!d&&(isNaN(E)||n===void 0||isNaN(n)||Ie(E,e,n,w)>E||fg("+",E,w)<=n),[c,d,e,n,w,E]),F=(0,wp.element.useMemo)(()=>!c&&!d&&(isNaN(E)||e===void 0||isNaN(e)||Ie(E,e,n,w)=e),[c,d,e,n,w,E]);return{...C,validate:u(Z=>g.isValidPartialNumber(Z,e,n),"validate"),increment:T,incrementToMax:M,decrement:R,decrementToMin:N,canIncrement:I,canDecrement:F,minValue:e,maxValue:n,numberValue:E,setNumberValue:h,setInputValue:m,inputValue:p,commit:A}}u(IB,"$de67e98908f0c6ee$export$7f629e9dc1ecf37c");function fg(t,e,n){let r=t==="+"?e+n:e-n;if(e%1!==0||n%1!==0){const i=e.toString().split("."),l=n.toString().split("."),a=i[1]&&i[1].length||0,o=l[1]&&l[1].length||0,s=Math.pow(10,Math.max(a,o));e=Math.round(e*s),n=Math.round(n*s),r=t==="+"?e+n:e-n,r/=s}return r}u(fg,"$de67e98908f0c6ee$var$handleDecimalOperation");const rS=u(t=>[0,60,120,180,240,300,360].map(e=>t.withChannelValue("hue",e).toString("css")).join(", "),"$40297c24c53588e6$var$hue"),iS=u(t=>`${t.withChannelValue("saturation",0)}, transparent`,"$40297c24c53588e6$var$saturation"),ZB={hue:rS,saturation:iS,lightness:()=>"black, transparent, white"},zB={hue:rS,saturation:iS,brightness:()=>"black, transparent"};function LB({direction:t,state:e,zChannel:n,xChannel:r,yChannel:i}){return(0,wp.element.useMemo)(()=>{let a=t==="rtl"?"left":"right",o={},s=e.value.getChannelValue(n);switch(e.value.getColorSpace()){case"rgb":{let h=an("rgb(0, 0, 0)");o={background:[`linear-gradient(to ${a}, ${h.withChannelValue(r,0)}, ${h.withChannelValue(r,255)})`,`linear-gradient(to top, ${h.withChannelValue(i,0)}, ${h.withChannelValue(i,255)})`,h.withChannelValue(n,s)].join(","),backgroundBlendMode:"screen"};break}case"hsl":{let h=e.value.getColorChannels(),p=an("hsl(0, 100%, 50%)").withChannelValue(n,s),m=h.filter(g=>g!==n).map(g=>`linear-gradient(to ${g===r?a:"top"}, ${ZB[g](p)})`).reverse();n==="hue"&&m.push(p.toString("css")),o={background:m.join(", ")};break}case"hsb":{let h=e.value.getColorChannels(),p=an("hsb(0, 100%, 100%)").withChannelValue(n,s),m=h.filter(g=>g!==n).map(g=>`linear-gradient(to ${g===r?a:"top"}, ${zB[g](p)})`).reverse();n==="hue"&&m.push(p.toString("css")),o={background:m.join(", ")};break}}let{x:c,y:d}=e.getThumbPosition();t==="rtl"&&(c=1-c);let f={forcedColorAdjust:"none"};return{colorAreaStyleProps:{style:{position:"relative",touchAction:"none",...f,...o}},thumbStyleProps:{style:{position:"absolute",left:`${c*100}%`,top:`${d*100}%`,transform:"translate(-50%, -50%)",touchAction:"none",...f}}}},[t,e,n,r,i])}u(LB,"$40297c24c53588e6$export$dd62420467d245ca");const lS={border:0,clip:"rect(0 0 0 0)",clipPath:"inset(50%)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap"};function hd(t={}){let{style:e,isFocusable:n}=t,[r,i]=(0,wp.element.useState)(!1),{focusWithinProps:l}=Nt({isDisabled:!n,onFocusWithinChange:o=>i(o)}),a=(0,wp.element.useMemo)(()=>r?e:e?{...lS,...e}:lS,[r]);return{visuallyHiddenProps:{...l,style:a}}}u(hd,"$5c3e21d68f1c4674$export$a966af930f325cab");function on(t){let{children:e,elementType:n="div",isFocusable:r,style:i,...l}=t,{visuallyHiddenProps:a}=hd(t);return wp.element.createElement(n,te(l,a),e)}u(on,"$5c3e21d68f1c4674$export$439d29a4e110a164");function WB(t){return t&&t.__esModule?t.default:t}u(WB,"$parcel$interopDefault$a");function XB(t,e){let{isDisabled:n,inputXRef:r,inputYRef:i,containerRef:l,"aria-label":a,xName:o,yName:s}=t,c=Ft(WB(cx),"@react-aria/color"),{addGlobalListener:d,removeGlobalListener:f}=Vi(),{direction:h,locale:p}=Ee(),[m,g]=(0,wp.element.useState)(null),O=(0,wp.element.useCallback)((j=r)=>{j.current&&en(j.current)},[r]);Ur(r,[e.xValue,e.yValue],([j,K])=>{let ue=e.value.withChannelValue(e.channels.xChannel,j).withChannelValue(e.channels.yChannel,K);e.setValue(ue)});let[b,y]=(0,wp.element.useState)(!1),[$,C]=(0,wp.element.useState)(!1),{xChannel:w,yChannel:x,zChannel:P}=e.channels,v=e.xChannelStep,k=e.yChannelStep,D=(0,wp.element.useRef)(null),{keyboardProps:S}=sm({onKeyDown(j){if(!/^(PageUp|PageDown|Home|End)$/.test(j.key)){j.continuePropagation();return}j.preventDefault(),e.setDragging(!0),y(!0);let K;switch(j.key){case"PageUp":e.incrementY(e.yChannelPageStep),K="y";break;case"PageDown":e.decrementY(e.yChannelPageStep),K="y";break;case"Home":h==="rtl"?e.incrementX(e.xChannelPageStep):e.decrementX(e.xChannelPageStep),K="x";break;case"End":h==="rtl"?e.decrementX(e.xChannelPageStep):e.incrementX(e.xChannelPageStep),K="x";break}e.setDragging(!1),K&&(O(K==="x"?r:i),g(K))}}),E={onMoveStart(){D.current=null,e.setDragging(!0)},onMove({deltaX:j,deltaY:K,pointerType:ue,shiftKey:ge}){var Qn;let{incrementX:$c,decrementX:xo,incrementY:cr,decrementY:jr,xChannelPageStep:dr,xChannelStep:wc,yChannelPageStep:xc,yChannelStep:zp,getThumbPosition:a3,setColorFromPoint:Dt}=e;D.current==null&&(D.current=a3());let{width:Sc,height:see}=((Qn=l.current)===null||Qn===void 0?void 0:Qn.getBoundingClientRect())||{width:0,height:0},X9=j!==0||K!==0;if(ue==="keyboard"){let j9=ge&&dr>wc?dr:wc,q9=ge&&xc>zp?xc:zp;j>0&&h==="ltr"||j<0&&h==="rtl"?$c(j9):j<0&&h==="ltr"||j>0&&h==="rtl"?xo(j9):K>0?jr(q9):K<0&&cr(q9),y(X9),m=X9&&Math.abs(K)>Math.abs(j)?"y":"x",g(m)}else D.current.x+=(h==="rtl"?-1:1)*j/Sc,D.current.y+=K/see,Dt(D.current.x,D.current.y)},onMoveEnd(){R.current=!1,e.setDragging(!1),O(m==="x"?r:i)}},{moveProps:A}=Xc(E),{focusWithinProps:B}=Nt({onFocusWithinChange:j=>{j||(y(!1),C(!1))}}),T=(0,wp.element.useRef)(void 0),R=(0,wp.element.useRef)(!1),{moveProps:M}=Xc({onMoveStart(){R.current&&E.onMoveStart()},onMove(j){R.current&&E.onMove(j)},onMoveEnd(){R.current&&E.onMoveEnd()}}),N=u(j=>{e.isDragging||(T.current=j,y(!1),O(),e.setDragging(!0),typeof PointerEvent<"u"?d(window,"pointerup",I,!1):(d(window,"mouseup",I,!1),d(window,"touchend",I,!1)))},"onThumbDown"),I=u(j=>{var K,ue;((ue=j.pointerId)!==null&&ue!==void 0?ue:(K=j.changedTouches)===null||K===void 0?void 0:K[0].identifier)===T.current&&(y(!1),O(),e.setDragging(!1),T.current=void 0,R.current=!1,typeof PointerEvent<"u"?f(window,"pointerup",I,!1):(f(window,"mouseup",I,!1),f(window,"touchend",I,!1)))},"onThumbUp"),F=u((j,K,ue,ge)=>{let Qn=j.getBoundingClientRect(),{width:$c,height:xo}=Qn,cr=(ue-Qn.x)/$c,jr=(ge-Qn.y)/xo;h==="rtl"&&(cr=1-cr),cr>=0&&cr<=1&&jr>=0&&jr<=1&&!e.isDragging&&T.current===void 0&&(R.current=!0,y(!1),T.current=K,e.setColorFromPoint(cr,jr),O(),e.setDragging(!0),typeof PointerEvent<"u"?d(window,"pointerup",V,!1):(d(window,"mouseup",V,!1),d(window,"touchend",V,!1)))},"onColorAreaDown"),V=u(j=>{var K,ue;let ge=(ue=j.pointerId)!==null&&ue!==void 0?ue:(K=j.changedTouches)===null||K===void 0?void 0:K[0].identifier;R.current&&ge===T.current&&(R.current=!1,y(!1),T.current=void 0,e.setDragging(!1),O(),typeof PointerEvent<"u"?f(window,"pointerup",V,!1):(f(window,"mouseup",V,!1),f(window,"touchend",V,!1)))},"onColorAreaUp"),Z=n?{}:te({...typeof PointerEvent<"u"?{onPointerDown:j=>{j.pointerType==="mouse"&&(j.button!==0||j.altKey||j.ctrlKey||j.metaKey)||F(j.currentTarget,j.pointerId,j.clientX,j.clientY)}}:{onMouseDown:j=>{j.button!==0||j.altKey||j.ctrlKey||j.metaKey||F(j.currentTarget,void 0,j.clientX,j.clientY)},onTouchStart:j=>{F(j.currentTarget,j.changedTouches[0].identifier,j.changedTouches[0].clientX,j.changedTouches[0].clientY)}}},M),_=n?{}:te({...typeof PointerEvent<"u"?{onPointerDown:j=>{j.pointerType==="mouse"&&(j.button!==0||j.altKey||j.ctrlKey||j.metaKey)||N(j.pointerId)}}:{onMouseDown:j=>{j.button!==0||j.altKey||j.ctrlKey||j.metaKey||N(void 0)},onTouchStart:j=>{N(j.changedTouches[0].identifier)}}},B,S,A),{focusProps:W}=Po({onFocus:()=>{g("x")}}),{focusProps:re}=Po({onFocus:()=>{g("y")}});const fe=u(j=>{const{target:K}=j;C(!0),K===r.current?e.setXValue(parseFloat(K.value)):K===i.current&&e.setYValue(parseFloat(K.value))},"onChange");let L=Mi()||Ac(),ie=e.getDisplayColor();const he=(0,wp.element.useCallback)(j=>`${$||b?c.format("colorNameAndValue",{name:ie.getChannelName(j,p),value:ie.formatChannelValue(j,p)}):[c.format("colorNameAndValue",{name:ie.getChannelName(j,p),value:ie.formatChannelValue(j,p)}),c.format("colorNameAndValue",{name:ie.getChannelName(j===x?w:x,p),value:ie.formatChannelValue(j===x?w:x,p)}),c.format("colorNameAndValue",{name:ie.getChannelName(P,p),value:ie.formatChannelValue(P,p)})].join(", ")}, ${ie.getColorName(p)}`,[p,ie,c,$,b,w,x,P]);let J=c.format("colorPicker"),le=Mn({...t,"aria-label":a?c.format("colorInputLabel",{label:a,channelLabel:J}):J}),Ve=Mn({...t,"aria-label":a?c.format("colorInputLabel",{label:a,channelLabel:J}):J}),Ue=Mn({...t,"aria-label":a?`${a}, ${J}`:void 0},L?J:void 0),ur=c.format("twoDimensionalSlider"),{visuallyHiddenProps:$o}=hd({style:{opacity:"0.0001",width:"100%",height:"100%",pointerEvents:"none"}}),{colorAreaStyleProps:ql,thumbStyleProps:wo}=LB({direction:h,state:e,xChannel:w,yChannel:x,zChannel:P});return{colorAreaProps:{...Ue,...Z,...ql,role:"group"},thumbProps:{..._,...wo,role:"presentation"},xInputProps:{...le,...$o,...W,type:"range",min:e.value.getChannelRange(w).minValue,max:e.value.getChannelRange(w).maxValue,step:v,"aria-roledescription":ur,"aria-valuetext":he(w),"aria-orientation":"horizontal","aria-describedby":t["aria-describedby"],"aria-details":t["aria-details"],disabled:n,value:e.value.getChannelValue(w),name:o,tabIndex:L||!m||m==="x"?void 0:-1,"aria-hidden":L||!m||m==="x"||b?void 0:"true",onChange:fe},yInputProps:{...Ve,...$o,...re,type:"range",min:e.value.getChannelRange(x).minValue,max:e.value.getChannelRange(x).maxValue,step:k,"aria-roledescription":ur,"aria-valuetext":he(x),"aria-orientation":"vertical","aria-describedby":t["aria-describedby"],"aria-details":t["aria-details"],disabled:n,value:e.value.getChannelValue(x),name:s,tabIndex:L||m==="y"?void 0:-1,"aria-hidden":L||m==="y"||b?void 0:"true",onChange:fe}}}u(XB,"$60bd7d6e45dcddfa$export$2f92a7a615a014f6");const hg=new WeakMap;function pg(t,e){let n=hg.get(t);if(!n)throw new Error("Unknown slider state");return`${n.id}-${e}`}u(pg,"$aa519ee6cf463259$export$68e648cbec363a18");function jB(t,e,n){let{labelProps:r,fieldProps:i}=dd(t),l=t.orientation==="vertical";var a;hg.set(e,{id:(a=r.id)!==null&&a!==void 0?a:i.id,"aria-describedby":t["aria-describedby"],"aria-details":t["aria-details"]});let{direction:o}=Ee(),{addGlobalListener:s,removeGlobalListener:c}=Vi();const d=(0,wp.element.useRef)(null),f=o==="rtl",h=(0,wp.element.useRef)(null),{moveProps:p}=Xc({onMoveStart(){h.current=null},onMove({deltaX:b,deltaY:y}){let{height:$,width:C}=n.current.getBoundingClientRect(),w=l?$:C;h.current==null&&(h.current=e.getThumbPercent(d.current)*w);let x=l?y:b;if((l||f)&&(x=-x),h.current+=x,d.current!=null&&n.current){const P=We(h.current/w,0,1);e.setThumbPercent(d.current,P)}},onMoveEnd(){d.current!=null&&(e.setThumbDragging(d.current,!1),d.current=null)}});let m=(0,wp.element.useRef)(void 0),g=u((b,y,$,C)=>{if(n.current&&!t.isDisabled&&e.values.every((w,x)=>!e.isThumbDragging(x))){let{height:w,width:x,top:P,left:v}=n.current.getBoundingClientRect(),k=l?w:x,A=((l?C:$)-(l?P:v))/k;(o==="rtl"||l)&&(A=1-A);let B=e.getPercentValue(A),T,R=e.values.findIndex(M=>B-M<0);if(R===0)T=R;else if(R===-1)T=e.values.length-1;else{let M=e.values[R-1],N=e.values[R];Math.abs(M-B)=0&&e.isThumbEditable(T)?(b.preventDefault(),d.current=T,e.setFocusedThumb(T),m.current=y,e.setThumbDragging(d.current,!0),e.setThumbValue(T,B),s(window,"mouseup",O,!1),s(window,"touchend",O,!1),s(window,"pointerup",O,!1)):d.current=null}},"onDownTrack"),O=u(b=>{var y,$;(($=b.pointerId)!==null&&$!==void 0?$:(y=b.changedTouches)===null||y===void 0?void 0:y[0].identifier)===m.current&&(d.current!=null&&(e.setThumbDragging(d.current,!1),d.current=null),c(window,"mouseup",O,!1),c(window,"touchend",O,!1),c(window,"pointerup",O,!1))},"onUpTrack");return"htmlFor"in r&&r.htmlFor&&(delete r.htmlFor,r.onClick=()=>{var b;(b=document.getElementById(pg(e,0)))===null||b===void 0||b.focus(),lm("keyboard")}),{labelProps:r,groupProps:{role:"group",...i},trackProps:te({onMouseDown(b){b.button!==0||b.altKey||b.ctrlKey||b.metaKey||g(b,void 0,b.clientX,b.clientY)},onPointerDown(b){b.pointerType==="mouse"&&(b.button!==0||b.altKey||b.ctrlKey||b.metaKey)||g(b,b.pointerId,b.clientX,b.clientY)},onTouchStart(b){g(b,b.changedTouches[0].identifier,b.changedTouches[0].clientX,b.changedTouches[0].clientY)},style:{position:"relative",touchAction:"none"}},p),outputProps:{htmlFor:e.values.map((b,y)=>pg(e,y)).join(" "),"aria-live":"off"}}}u(jB,"$bcca50147b47f54d$export$56b2c08e277f365");function qB(t,e){let{index:n=0,isRequired:r,validationState:i,isInvalid:l,trackRef:a,inputRef:o,orientation:s=e.orientation,name:c}=t,d=t.isDisabled||e.isDisabled,f=s==="vertical",{direction:h}=Ee(),{addGlobalListener:p,removeGlobalListener:m}=Vi(),g=hg.get(e);var O;const{labelProps:b,fieldProps:y}=dd({...t,id:pg(e,n),"aria-labelledby":`${g.id} ${(O=t["aria-labelledby"])!==null&&O!==void 0?O:""}`.trim()}),$=e.values[n],C=(0,wp.element.useCallback)(()=>{o.current&&en(o.current)},[o]),w=e.focusedThumb===n;(0,wp.element.useEffect)(()=>{w&&C()},[w,C]);let x=h==="rtl",P=(0,wp.element.useRef)(null),{keyboardProps:v}=sm({onKeyDown(R){let{getThumbMaxValue:M,getThumbMinValue:N,decrementThumb:I,incrementThumb:F,setThumbValue:V,setThumbDragging:Z,pageSize:_}=e;if(!/^(PageUp|PageDown|Home|End)$/.test(R.key)){R.continuePropagation();return}switch(R.preventDefault(),Z(n,!0),R.key){case"PageUp":F(n,_);break;case"PageDown":I(n,_);break;case"Home":V(n,N(n));break;case"End":V(n,M(n));break}Z(n,!1)}}),{moveProps:k}=Xc({onMoveStart(){P.current=null,e.setThumbDragging(n,!0)},onMove({deltaX:R,deltaY:M,pointerType:N,shiftKey:I}){const{getThumbPercent:F,setThumbPercent:V,decrementThumb:Z,incrementThumb:_,step:W,pageSize:re}=e;let{width:fe,height:L}=a.current.getBoundingClientRect(),ie=f?L:fe;if(P.current==null&&(P.current=F(n)*ie),N==="keyboard")R>0&&x||R<0&&!x||M>0?Z(n,I?re:W):_(n,I?re:W);else{let he=f?M:R;(f||x)&&(he=-he),P.current+=he,V(n,We(P.current/ie,0,1))}},onMoveEnd(){e.setThumbDragging(n,!1)}});e.setThumbEditable(n,!d);const{focusableProps:D}=Mo(te(t,{onFocus:()=>e.setFocusedThumb(n),onBlur:()=>e.setFocusedThumb(void 0)}),o);let S=(0,wp.element.useRef)(void 0),E=u(R=>{C(),S.current=R,e.setThumbDragging(n,!0),p(window,"mouseup",A,!1),p(window,"touchend",A,!1),p(window,"pointerup",A,!1)},"onDown"),A=u(R=>{var M,N;((N=R.pointerId)!==null&&N!==void 0?N:(M=R.changedTouches)===null||M===void 0?void 0:M[0].identifier)===S.current&&(C(),e.setThumbDragging(n,!1),m(window,"mouseup",A,!1),m(window,"touchend",A,!1),m(window,"pointerup",A,!1))},"onUp"),B=e.getThumbPercent(n);(f||h==="rtl")&&(B=1-B);let T=d?{}:te(v,k,{onMouseDown:R=>{R.button!==0||R.altKey||R.ctrlKey||R.metaKey||E()},onPointerDown:R=>{R.button!==0||R.altKey||R.ctrlKey||R.metaKey||E(R.pointerId)},onTouchStart:R=>{E(R.changedTouches[0].identifier)}});return Ur(o,$,R=>{e.setThumbValue(n,R)}),{inputProps:te(D,y,{type:"range",tabIndex:d?void 0:0,min:e.getThumbMinValue(n),max:e.getThumbMaxValue(n),step:e.step,value:$,name:c,disabled:d,"aria-orientation":s,"aria-valuetext":e.getThumbValueLabel(n),"aria-required":r||void 0,"aria-invalid":l||i==="invalid"||void 0,"aria-errormessage":t["aria-errormessage"],"aria-describedby":[g["aria-describedby"],t["aria-describedby"]].filter(Boolean).join(" "),"aria-details":[g["aria-details"],t["aria-details"]].filter(Boolean).join(" "),onChange:R=>{e.setThumbValue(n,parseFloat(R.target.value))}}),thumbProps:{...T,style:{position:"absolute",[f?"top":"left"]:`${B*100}%`,transform:"translate(-50%, -50%)",touchAction:"none"}},labelProps:b,isDragging:e.isThumbDragging(n),isDisabled:d,isFocused:w}}u(qB,"$47b897dc8cdb026b$export$8d15029008292ae");function UB(t,e){let{trackRef:n,inputRef:r,orientation:i,channel:l,"aria-label":a,name:o}=t,{locale:s,direction:c}=Ee();!t.label&&!a&&!t["aria-labelledby"]&&(a=e.value.getChannelName(l,s));let{groupProps:d,trackProps:f,labelProps:h,outputProps:p}=jB({...t,"aria-label":a},e,n),{inputProps:m,thumbProps:g}=qB({index:0,orientation:i,isDisabled:t.isDisabled,name:o,trackRef:n,inputRef:r},e),O=e.getDisplayColor(),b=u(()=>{let C;switch(i==="vertical"?C="top":c==="ltr"?C="right":C="left",l){case"hue":{let w=[0,60,120,180,240,300,360].map(x=>O.withChannelValue("hue",x).toString("css")).join(", ");return`linear-gradient(to ${C}, ${w})`}case"lightness":{let w=e.getThumbMinValue(0),x=e.getThumbMaxValue(0),P=O.withChannelValue(l,w).toString("css"),v=O.withChannelValue(l,(x-w)/2).toString("css"),k=O.withChannelValue(l,x).toString("css");return`linear-gradient(to ${C}, ${P}, ${v}, ${k})`}case"saturation":case"brightness":case"red":case"green":case"blue":case"alpha":{let w=O.withChannelValue(l,e.getThumbMinValue(0)).toString("css"),x=O.withChannelValue(l,e.getThumbMaxValue(0)).toString("css");return`linear-gradient(to ${C}, ${w}, ${x})`}default:throw new Error("Unknown color channel: "+l)}},"generateBackground"),y={forcedColorAdjust:"none"};l==="hue"?m["aria-valuetext"]+=`, ${O.getHueName(s)}`:l!=="alpha"&&(m["aria-valuetext"]+=`, ${O.getColorName(s)}`);let{visuallyHiddenProps:$}=hd({style:{opacity:"0.0001",width:"100%",height:"100%",pointerEvents:"none"}});return{trackProps:{...te(d,f),style:{...f.style,...y,background:b()}},inputProps:{...m,style:{...m.style,...$.style}},thumbProps:{...g,style:{...g.style,...y}},labelProps:h,outputProps:p}}u(UB,"$40af666d6c251e36$export$106b7a4e66508f66");function wr(t,e){let{inputElementType:n="input",isDisabled:r=!1,isRequired:i=!1,isReadOnly:l=!1,type:a="text",validationBehavior:o="aria"}=t,[s,c]=Le(t.value,t.defaultValue||"",t.onChange),{focusableProps:d}=Mo(t,e),f=Fn({...t,value:s}),{isInvalid:h,validationErrors:p,validationDetails:m}=f.displayValidation,{labelProps:g,fieldProps:O,descriptionProps:b,errorMessageProps:y}=mt({...t,isInvalid:h,errorMessage:t.errorMessage||p}),$=ft(t,{labelable:!0});const C={type:a,pattern:t.pattern};return Ur(e,s,c),Yo(t,f,e),(0,wp.element.useEffect)(()=>{if(e.current instanceof Jt(e.current).HTMLTextAreaElement){let w=e.current;Object.defineProperty(w,"defaultValue",{get:()=>w.value,set:()=>{},configurable:!0})}},[e]),{labelProps:g,inputProps:te($,n==="input"?C:void 0,{disabled:r,readOnly:l,required:i&&o==="native","aria-required":i&&o==="aria"||void 0,"aria-invalid":h||void 0,"aria-errormessage":t["aria-errormessage"],"aria-activedescendant":t["aria-activedescendant"],"aria-autocomplete":t["aria-autocomplete"],"aria-haspopup":t["aria-haspopup"],value:s,onChange:w=>c(w.target.value),autoComplete:t.autoComplete,autoCapitalize:t.autoCapitalize,maxLength:t.maxLength,minLength:t.minLength,name:t.name,placeholder:t.placeholder,inputMode:t.inputMode,onCopy:t.onCopy,onCut:t.onCut,onPaste:t.onPaste,onCompositionEnd:t.onCompositionEnd,onCompositionStart:t.onCompositionStart,onCompositionUpdate:t.onCompositionUpdate,onSelect:t.onSelect,onBeforeInput:t.onBeforeInput,onInput:t.onInput,...d,...O}),descriptionProps:b,errorMessageProps:y,isInvalid:h,validationErrors:p,validationDetails:m}}u(wr,"$2d73ec29415bd339$export$712718f7aec83d5");function aS(){return typeof window<"u"&&window.InputEvent&&typeof InputEvent.prototype.getTargetRanges=="function"}u(aS,"$d841c8010a73d545$var$supportsNativeBeforeInputEvent");function oS(t,e,n){let r=Ne(f=>{let h=n.current,p;switch(f.inputType){case"historyUndo":case"historyRedo":return;case"insertLineBreak":return;case"deleteContent":case"deleteByCut":case"deleteByDrag":p=h.value.slice(0,h.selectionStart)+h.value.slice(h.selectionEnd);break;case"deleteContentForward":p=h.selectionEnd===h.selectionStart?h.value.slice(0,h.selectionStart)+h.value.slice(h.selectionEnd+1):h.value.slice(0,h.selectionStart)+h.value.slice(h.selectionEnd);break;case"deleteContentBackward":p=h.selectionEnd===h.selectionStart?h.value.slice(0,h.selectionStart-1)+h.value.slice(h.selectionStart):h.value.slice(0,h.selectionStart)+h.value.slice(h.selectionEnd);break;case"deleteSoftLineBackward":case"deleteHardLineBackward":p=h.value.slice(h.selectionStart);break;default:f.data!=null&&(p=h.value.slice(0,h.selectionStart)+f.data+h.value.slice(h.selectionEnd));break}(p==null||!e.validate(p))&&f.preventDefault()});(0,wp.element.useEffect)(()=>{if(!aS())return;let f=n.current;return f.addEventListener("beforeinput",r,!1),()=>{f.removeEventListener("beforeinput",r,!1)}},[n,r]);let i=aS()?null:f=>{let h=f.target.value.slice(0,f.target.selectionStart)+f.data+f.target.value.slice(f.target.selectionEnd);e.validate(h)||f.preventDefault()},{labelProps:l,inputProps:a,descriptionProps:o,errorMessageProps:s,...c}=wr(t,n),d=(0,wp.element.useRef)(null);return{inputProps:te(a,{onBeforeInput:i,onCompositionStart(){let{value:f,selectionStart:h,selectionEnd:p}=n.current;d.current={value:f,selectionStart:h,selectionEnd:p}},onCompositionEnd(){if(!e.validate(n.current.value)){let{value:f,selectionStart:h,selectionEnd:p}=d.current;n.current.value=f,n.current.setSelectionRange(h,p),e.setInputValue(f)}}}),labelProps:l,descriptionProps:o,errorMessageProps:s,...c}}u(oS,"$d841c8010a73d545$export$4f384c9210e583c3");var sS={};sS={Empty:"\u0641\u0627\u0631\u063A"};var uS={};uS={Empty:"\u0418\u0437\u043F\u0440\u0430\u0437\u043D\u0438"};var cS={};cS={Empty:"Pr\xE1zdn\xE9"};var dS={};dS={Empty:"Tom"};var fS={};fS={Empty:"Leer"};var hS={};hS={Empty:"\u0386\u03B4\u03B5\u03B9\u03BF"};var pS={};pS={Empty:"Empty"};var mS={};mS={Empty:"Vac\xEDo"};var gS={};gS={Empty:"T\xFChjenda"};var OS={};OS={Empty:"Tyhj\xE4"};var bS={};bS={Empty:"Vide"};var yS={};yS={Empty:"\u05E8\u05D9\u05E7"};var vS={};vS={Empty:"Prazno"};var $S={};$S={Empty:"\xDCres"};var wS={};wS={Empty:"Vuoto"};var xS={};xS={Empty:"\u7A7A"};var SS={};SS={Empty:"\uBE44\uC5B4 \uC788\uC74C"};var CS={};CS={Empty:"Tu\u0161\u010Dias"};var DS={};DS={Empty:"Tuk\u0161s"};var kS={};kS={Empty:"Tom"};var PS={};PS={Empty:"Leeg"};var ES={};ES={Empty:"Pusty"};var AS={};AS={Empty:"Vazio"};var TS={};TS={Empty:"Vazio"};var RS={};RS={Empty:"Gol"};var QS={};QS={Empty:"\u041D\u0435 \u0437\u0430\u043F\u043E\u043B\u043D\u0435\u043D\u043E"};var MS={};MS={Empty:"Pr\xE1zdne"};var BS={};BS={Empty:"Prazen"};var VS={};VS={Empty:"Prazno"};var NS={};NS={Empty:"Tomt"};var FS={};FS={Empty:"Bo\u015F"};var IS={};IS={Empty:"\u041F\u0443\u0441\u0442\u043E"};var ZS={};ZS={Empty:"\u7A7A"};var zS={};zS={Empty:"\u7A7A\u767D"};var LS={};LS={"ar-AE":sS,"bg-BG":uS,"cs-CZ":cS,"da-DK":dS,"de-DE":fS,"el-GR":hS,"en-US":pS,"es-ES":mS,"et-EE":gS,"fi-FI":OS,"fr-FR":bS,"he-IL":yS,"hr-HR":vS,"hu-HU":$S,"it-IT":wS,"ja-JP":xS,"ko-KR":SS,"lt-LT":CS,"lv-LV":DS,"nb-NO":kS,"nl-NL":PS,"pl-PL":ES,"pt-BR":AS,"pt-PT":TS,"ro-RO":RS,"ru-RU":QS,"sk-SK":MS,"sl-SI":BS,"sr-SP":VS,"sv-SE":NS,"tr-TR":FS,"uk-UA":IS,"zh-CN":ZS,"zh-TW":zS};function YB(t){return t&&t.__esModule?t.default:t}u(YB,"$parcel$interopDefault$9");function mg(t){const e=(0,wp.element.useRef)(void 0);let{value:n,textValue:r,minValue:i,maxValue:l,isDisabled:a,isReadOnly:o,isRequired:s,onIncrement:c,onIncrementPage:d,onDecrement:f,onDecrementPage:h,onDecrementToMin:p,onIncrementToMax:m}=t;const g=Ft(YB(LS),"@react-aria/spinbutton"),O=u(()=>clearTimeout(e.current),"clearAsync");(0,wp.element.useEffect)(()=>()=>O(),[]);let b=u(S=>{if(!(S.ctrlKey||S.metaKey||S.shiftKey||S.altKey||o))switch(S.key){case"PageUp":if(d){S.preventDefault(),d?.();break}case"ArrowUp":case"Up":c&&(S.preventDefault(),c?.());break;case"PageDown":if(h){S.preventDefault(),h?.();break}case"ArrowDown":case"Down":f&&(S.preventDefault(),f?.());break;case"Home":p&&(S.preventDefault(),p?.());break;case"End":m&&(S.preventDefault(),m?.());break}},"onKeyDown"),y=(0,wp.element.useRef)(!1),$=u(()=>{y.current=!0},"onFocus"),C=u(()=>{y.current=!1},"onBlur"),w=r===""?g.format("Empty"):(r||`${n}`).replace("-","\u2212");(0,wp.element.useEffect)(()=>{y.current&&(sB("assertive"),oa(w,"assertive"))},[w]);const x=Ne(S=>{O(),c?.(),e.current=window.setTimeout(()=>{(l===void 0||isNaN(l)||n===void 0||isNaN(n)||n{O(),f?.(),e.current=window.setTimeout(()=>{(i===void 0||isNaN(i)||n===void 0||isNaN(n)||n>i)&&P(60)},S)});let v=u(S=>{S.preventDefault()},"cancelContextMenu"),{addGlobalListener:k,removeAllGlobalListeners:D}=Vi();return{spinButtonProps:{role:"spinbutton","aria-valuenow":n!==void 0&&!isNaN(n)?n:void 0,"aria-valuetext":w,"aria-valuemin":i,"aria-valuemax":l,"aria-disabled":a||void 0,"aria-readonly":o||void 0,"aria-required":s||void 0,onKeyDown:b,onFocus:$,onBlur:C},incrementButtonProps:{onPressStart:()=>{x(400),k(window,"contextmenu",v)},onPressEnd:()=>{O(),D()},onFocus:$,onBlur:C},decrementButtonProps:{onPressStart:()=>{P(400),k(window,"contextmenu",v)},onPressEnd:()=>{O(),D()},onFocus:$,onBlur:C}}}u(mg,"$d2e8511e6f209edf$export$e908e06f4b8e3402");function KB(t,e,n){let{isDisabled:r,isReadOnly:i,isRequired:l,isWheelDisabled:a,validationBehavior:o="aria"}=t,{colorValue:s,inputValue:c,increment:d,decrement:f,incrementToMax:h,decrementToMin:p,commit:m}=e,g=Fe(),{spinButtonProps:O}=mg({isDisabled:r,isReadOnly:i,isRequired:l,maxValue:16777215,minValue:0,onIncrement:d,onIncrementToMax:h,onDecrement:f,onDecrementToMin:p,value:s?s.toHexInt():void 0,textValue:s?s.toString("hex"):void 0}),[b,y]=(0,wp.element.useState)(!1),{focusWithinProps:$}=Nt({isDisabled:r,onFocusWithinChange:y}),C=(0,wp.element.useCallback)(k=>{Math.abs(k.deltaY)<=Math.abs(k.deltaX)||(k.deltaY>0?d():k.deltaY<0&&f())},[f,d]);Q3({onScroll:C,isDisabled:a||r||i||!b},n);let x=u(k=>{e.validate(k)&&e.setInputValue(k)},"onChange"),{inputProps:P,...v}=oS({...t,id:g,value:c,defaultValue:void 0,validate:void 0,[_r]:e,type:"text",autoComplete:"off",onChange:x},e,n);return P=te(P,O,$,{role:"textbox","aria-valuemax":null,"aria-valuemin":null,"aria-valuenow":null,"aria-valuetext":null,autoCorrect:"off",spellCheck:"false",onBlur:m}),o==="native"&&(P["aria-required"]=void 0),{inputProps:P,...v}}u(KB,"$f6896b05b2ecad12$export$77e32ca575a28fdf");var WS={};WS={decrease:t=>`\u062E\u0641\u0636 ${t.fieldLabel}`,increase:t=>`\u0632\u064A\u0627\u062F\u0629 ${t.fieldLabel}`,numberField:"\u062D\u0642\u0644 \u0631\u0642\u0645\u064A"};var XS={};XS={decrease:t=>`\u041D\u0430\u043C\u0430\u043B\u044F\u0432\u0430\u043D\u0435 ${t.fieldLabel}`,increase:t=>`\u0423\u0441\u0438\u043B\u0432\u0430\u043D\u0435 ${t.fieldLabel}`,numberField:"\u041D\u043E\u043C\u0435\u0440 \u043D\u0430 \u043F\u043E\u043B\u0435\u0442\u043E"};var jS={};jS={decrease:t=>`Sn\xED\u017Eit ${t.fieldLabel}`,increase:t=>`Zv\xFD\u0161it ${t.fieldLabel}`,numberField:"\u010C\xEDseln\xE9 pole"};var qS={};qS={decrease:t=>`Reducer ${t.fieldLabel}`,increase:t=>`\xD8g ${t.fieldLabel}`,numberField:"Talfelt"};var US={};US={decrease:t=>`${t.fieldLabel} verringern`,increase:t=>`${t.fieldLabel} erh\xF6hen`,numberField:"Nummernfeld"};var YS={};YS={decrease:t=>`\u039C\u03B5\u03AF\u03C9\u03C3\u03B7 ${t.fieldLabel}`,increase:t=>`\u0391\u03CD\u03BE\u03B7\u03C3\u03B7 ${t.fieldLabel}`,numberField:"\u03A0\u03B5\u03B4\u03AF\u03BF \u03B1\u03C1\u03B9\u03B8\u03BC\u03BF\u03CD"};var KS={};KS={decrease:t=>`Decrease ${t.fieldLabel}`,increase:t=>`Increase ${t.fieldLabel}`,numberField:"Number field"};var GS={};GS={decrease:t=>`Reducir ${t.fieldLabel}`,increase:t=>`Aumentar ${t.fieldLabel}`,numberField:"Campo de n\xFAmero"};var HS={};HS={decrease:t=>`V\xE4henda ${t.fieldLabel}`,increase:t=>`Suurenda ${t.fieldLabel}`,numberField:"Numbri v\xE4li"};var _S={};_S={decrease:t=>`V\xE4henn\xE4 ${t.fieldLabel}`,increase:t=>`Lis\xE4\xE4 ${t.fieldLabel}`,numberField:"Numerokentt\xE4"};var JS={};JS={decrease:t=>`Diminuer ${t.fieldLabel}`,increase:t=>`Augmenter ${t.fieldLabel}`,numberField:"Champ de nombre"};var e5={};e5={decrease:t=>`\u05D4\u05E7\u05D8\u05DF ${t.fieldLabel}`,increase:t=>`\u05D4\u05D2\u05D3\u05DC ${t.fieldLabel}`,numberField:"\u05E9\u05D3\u05D4 \u05DE\u05E1\u05E4\u05E8"};var t5={};t5={decrease:t=>`Smanji ${t.fieldLabel}`,increase:t=>`Pove\u0107aj ${t.fieldLabel}`,numberField:"Polje broja"};var n5={};n5={decrease:t=>`${t.fieldLabel} cs\xF6kkent\xE9se`,increase:t=>`${t.fieldLabel} n\xF6vel\xE9se`,numberField:"Sz\xE1mmez\u0151"};var r5={};r5={decrease:t=>`Riduci ${t.fieldLabel}`,increase:t=>`Aumenta ${t.fieldLabel}`,numberField:"Campo numero"};var i5={};i5={decrease:t=>`${t.fieldLabel}\u3092\u7E2E\u5C0F`,increase:t=>`${t.fieldLabel}\u3092\u62E1\u5927`,numberField:"\u6570\u5024\u30D5\u30A3\u30FC\u30EB\u30C9"};var l5={};l5={decrease:t=>`${t.fieldLabel} \uAC10\uC18C`,increase:t=>`${t.fieldLabel} \uC99D\uAC00`,numberField:"\uBC88\uD638 \uD544\uB4DC"};var a5={};a5={decrease:t=>`Suma\u017Einti ${t.fieldLabel}`,increase:t=>`Padidinti ${t.fieldLabel}`,numberField:"Numerio laukas"};var o5={};o5={decrease:t=>`Samazin\u0101\u0161ana ${t.fieldLabel}`,increase:t=>`Palielin\u0101\u0161ana ${t.fieldLabel}`,numberField:"Skait\u013Cu lauks"};var s5={};s5={decrease:t=>`Reduser ${t.fieldLabel}`,increase:t=>`\xD8k ${t.fieldLabel}`,numberField:"Tallfelt"};var u5={};u5={decrease:t=>`${t.fieldLabel} verlagen`,increase:t=>`${t.fieldLabel} verhogen`,numberField:"Getalveld"};var c5={};c5={decrease:t=>`Zmniejsz ${t.fieldLabel}`,increase:t=>`Zwi\u0119ksz ${t.fieldLabel}`,numberField:"Pole numeru"};var d5={};d5={decrease:t=>`Diminuir ${t.fieldLabel}`,increase:t=>`Aumentar ${t.fieldLabel}`,numberField:"Campo de n\xFAmero"};var f5={};f5={decrease:t=>`Diminuir ${t.fieldLabel}`,increase:t=>`Aumentar ${t.fieldLabel}`,numberField:"Campo num\xE9rico"};var h5={};h5={decrease:t=>`Sc\u0103dere ${t.fieldLabel}`,increase:t=>`Cre\u0219tere ${t.fieldLabel}`,numberField:"C\xE2mp numeric"};var p5={};p5={decrease:t=>`\u0423\u043C\u0435\u043D\u044C\u0448\u0435\u043D\u0438\u0435 ${t.fieldLabel}`,increase:t=>`\u0423\u0432\u0435\u043B\u0438\u0447\u0435\u043D\u0438\u0435 ${t.fieldLabel}`,numberField:"\u0427\u0438\u0441\u043B\u043E\u0432\u043E\u0435 \u043F\u043E\u043B\u0435"};var m5={};m5={decrease:t=>`Zn\xED\u017Ei\u0165 ${t.fieldLabel}`,increase:t=>`Zv\xFD\u0161i\u0165 ${t.fieldLabel}`,numberField:"\u010C\xEDseln\xE9 pole"};var g5={};g5={decrease:t=>`Upadati ${t.fieldLabel}`,increase:t=>`Pove\u010Dajte ${t.fieldLabel}`,numberField:"\u0160tevil\u010Dno polje"};var O5={};O5={decrease:t=>`Smanji ${t.fieldLabel}`,increase:t=>`Pove\u0107aj ${t.fieldLabel}`,numberField:"Polje broja"};var b5={};b5={decrease:t=>`Minska ${t.fieldLabel}`,increase:t=>`\xD6ka ${t.fieldLabel}`,numberField:"Nummerf\xE4lt"};var y5={};y5={decrease:t=>`${t.fieldLabel} azalt`,increase:t=>`${t.fieldLabel} artt\u0131r`,numberField:"Say\u0131 alan\u0131"};var v5={};v5={decrease:t=>`\u0417\u043C\u0435\u043D\u0448\u0438\u0442\u0438 ${t.fieldLabel}`,increase:t=>`\u0417\u0431\u0456\u043B\u044C\u0448\u0438\u0442\u0438 ${t.fieldLabel}`,numberField:"\u041F\u043E\u043B\u0435 \u043D\u043E\u043C\u0435\u0440\u0430"};var $5={};$5={decrease:t=>`\u964D\u4F4E ${t.fieldLabel}`,increase:t=>`\u63D0\u9AD8 ${t.fieldLabel}`,numberField:"\u6570\u5B57\u5B57\u6BB5"};var w5={};w5={decrease:t=>`\u7E2E\u5C0F ${t.fieldLabel}`,increase:t=>`\u653E\u5927 ${t.fieldLabel}`,numberField:"\u6578\u5B57\u6B04\u4F4D"};var x5={};x5={"ar-AE":WS,"bg-BG":XS,"cs-CZ":jS,"da-DK":qS,"de-DE":US,"el-GR":YS,"en-US":KS,"es-ES":GS,"et-EE":HS,"fi-FI":_S,"fr-FR":JS,"he-IL":e5,"hr-HR":t5,"hu-HU":n5,"it-IT":r5,"ja-JP":i5,"ko-KR":l5,"lt-LT":a5,"lv-LV":o5,"nb-NO":s5,"nl-NL":u5,"pl-PL":c5,"pt-BR":d5,"pt-PT":f5,"ro-RO":h5,"ru-RU":p5,"sk-SK":m5,"sl-SI":g5,"sr-SP":O5,"sv-SE":b5,"tr-TR":y5,"uk-UA":v5,"zh-CN":$5,"zh-TW":w5};function GB(t){return t&&t.__esModule?t.default:t}u(GB,"$parcel$interopDefault$8");function HB(t,e,n){let{id:r,decrementAriaLabel:i,incrementAriaLabel:l,isDisabled:a,isReadOnly:o,isRequired:s,minValue:c,maxValue:d,autoFocus:f,label:h,formatOptions:p,onBlur:m=u(()=>{},"onBlur"),onFocus:g,onFocusChange:O,onKeyDown:b,onKeyUp:y,description:$,errorMessage:C,isWheelDisabled:w,...x}=t,{increment:P,incrementToMax:v,decrement:k,decrementToMin:D,numberValue:S,inputValue:E,commit:A,commitValidation:B}=e;const T=Ft(GB(x5),"@react-aria/numberfield");let R=Fe(r),{focusProps:M}=Po({onBlur(){A()}}),N=Z$(p),I=(0,wp.element.useMemo)(()=>N.resolvedOptions(),[N]),F=Z$({...p,currencySign:void 0}),V=(0,wp.element.useMemo)(()=>isNaN(S)?"":F.format(S),[F,S]),{spinButtonProps:Z,incrementButtonProps:_,decrementButtonProps:W}=mg({isDisabled:a,isReadOnly:o,isRequired:s,maxValue:d,minValue:c,onIncrement:P,onIncrementToMax:v,onDecrement:k,onDecrementToMin:D,value:S,textValue:V}),[re,fe]=(0,wp.element.useState)(!1),{focusWithinProps:L}=Nt({isDisabled:a,onFocusWithinChange:fe}),ie=(0,wp.element.useCallback)(Dt=>{Math.abs(Dt.deltaY)<=Math.abs(Dt.deltaX)||(Dt.deltaY>0?P():Dt.deltaY<0&&k())},[k,P]);Q3({onScroll:ie,isDisabled:w||a||o||!re},n);var J;let le=((J=I.maximumFractionDigits)!==null&&J!==void 0?J:0)>0,Ve=e.minValue===void 0||isNaN(e.minValue)||e.minValue<0,Ue="numeric";u3()?Ve?Ue="text":le&&(Ue="decimal"):Ac()&&(Ve?Ue="numeric":le&&(Ue="decimal"));let ur=u(Dt=>{e.validate(Dt)&&e.setInputValue(Dt)},"onChange"),$o=ft(t),ql=(0,wp.element.useCallback)(Dt=>{Dt.key==="Enter"?(A(),B()):Dt.continuePropagation()},[A,B]),{isInvalid:wo,validationErrors:j,validationDetails:K}=e.displayValidation,{labelProps:ue,inputProps:ge,descriptionProps:Qn,errorMessageProps:$c}=oS({...x,...$o,name:void 0,label:h,autoFocus:f,isDisabled:a,isReadOnly:o,isRequired:s,validate:void 0,[_r]:e,value:E,defaultValue:void 0,autoComplete:"off","aria-label":t["aria-label"]||void 0,"aria-labelledby":t["aria-labelledby"]||void 0,id:R,type:"text",inputMode:Ue,onChange:ur,onBlur:m,onFocus:g,onFocusChange:O,onKeyDown:(0,wp.element.useMemo)(()=>fr(ql,b),[ql,b]),onKeyUp:y,description:$,errorMessage:C},e,n);Ur(n,e.numberValue,e.setNumberValue);let xo=te(Z,M,ge,{role:null,"aria-roledescription":Mi()?null:T.format("numberField"),"aria-valuemax":null,"aria-valuemin":null,"aria-valuenow":null,"aria-valuetext":null,autoCorrect:"off",spellCheck:"false"});t.validationBehavior==="native"&&(xo["aria-required"]=void 0);let cr=u(Dt=>{var Sc;document.activeElement!==n.current&&(Dt.pointerType==="mouse"?(Sc=n.current)===null||Sc===void 0||Sc.focus():Dt.target.focus())},"onButtonPressStart"),jr=t["aria-label"]||(typeof t.label=="string"?t.label:""),dr;jr||(dr=t.label!=null?ue.id:t["aria-labelledby"]);let wc=Fe(),xc=Fe(),zp=te(_,{"aria-label":l||T.format("increase",{fieldLabel:jr}).trim(),id:dr&&!l?wc:null,"aria-labelledby":dr&&!l?`${wc} ${dr}`:null,"aria-controls":R,excludeFromTabOrder:!0,preventFocusOnPress:!0,allowFocusWhenDisabled:!0,isDisabled:!e.canIncrement,onPressStart:cr}),a3=te(W,{"aria-label":i||T.format("decrease",{fieldLabel:jr}).trim(),id:dr&&!i?xc:null,"aria-labelledby":dr&&!i?`${xc} ${dr}`:null,"aria-controls":R,excludeFromTabOrder:!0,preventFocusOnPress:!0,allowFocusWhenDisabled:!0,isDisabled:!e.canDecrement,onPressStart:cr});return{groupProps:{...L,role:"group","aria-disabled":a,"aria-invalid":wo?"true":void 0},labelProps:ue,inputProps:xo,incrementButtonProps:zp,decrementButtonProps:a3,errorMessageProps:$c,descriptionProps:Qn,isInvalid:wo,validationErrors:j,validationDetails:K}}u(HB,"$81397a9303501bda$export$23f548e970bdf099");var S5={};S5={buttonLabel:"\u0639\u0631\u0636 \u0627\u0644\u0645\u0642\u062A\u0631\u062D\u0627\u062A",countAnnouncement:(t,e)=>`${e.plural(t.optionCount,{one:()=>`${e.number(t.optionCount)} \u062E\u064A\u0627\u0631`,other:()=>`${e.number(t.optionCount)} \u062E\u064A\u0627\u0631\u0627\u062A`})} \u0645\u062A\u0627\u062D\u0629.`,focusAnnouncement:(t,e)=>`${e.select({true:()=>`\u0627\u0644\u0645\u062C\u0645\u0648\u0639\u0629 \u0627\u0644\u0645\u062F\u062E\u0644\u0629 ${t.groupTitle}, \u0645\u0639 ${e.plural(t.groupCount,{one:()=>`${e.number(t.groupCount)} \u062E\u064A\u0627\u0631`,other:()=>`${e.number(t.groupCount)} \u062E\u064A\u0627\u0631\u0627\u062A`})}. `,other:""},t.isGroupChange)}${t.optionText}${e.select({true:", \u0645\u062D\u062F\u062F",other:""},t.isSelected)}`,listboxLabel:"\u0645\u0642\u062A\u0631\u062D\u0627\u062A",selectedAnnouncement:t=>`${t.optionText}\u060C \u0645\u062D\u062F\u062F`};var C5={};C5={buttonLabel:"\u041F\u043E\u043A\u0430\u0436\u0438 \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u044F",countAnnouncement:(t,e)=>`${e.plural(t.optionCount,{one:()=>`${e.number(t.optionCount)} \u043E\u043F\u0446\u0438\u044F`,other:()=>`${e.number(t.optionCount)} \u043E\u043F\u0446\u0438\u0438`})} \u043D\u0430 \u0440\u0430\u0437\u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435.`,focusAnnouncement:(t,e)=>`${e.select({true:()=>`\u0412\u044A\u0432\u0435\u0434\u0435\u043D\u0430 \u0433\u0440\u0443\u043F\u0430 ${t.groupTitle}, \u0441 ${e.plural(t.groupCount,{one:()=>`${e.number(t.groupCount)} \u043E\u043F\u0446\u0438\u044F`,other:()=>`${e.number(t.groupCount)} \u043E\u043F\u0446\u0438\u0438`})}. `,other:""},t.isGroupChange)}${t.optionText}${e.select({true:", \u0438\u0437\u0431\u0440\u0430\u043D\u0438",other:""},t.isSelected)}`,listboxLabel:"\u041F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u044F",selectedAnnouncement:t=>`${t.optionText}, \u0438\u0437\u0431\u0440\u0430\u043D\u0438`};var D5={};D5={buttonLabel:"Zobrazit doporu\u010Den\xED",countAnnouncement:(t,e)=>`K dispozici ${e.plural(t.optionCount,{one:()=>`je ${e.number(t.optionCount)} mo\u017Enost`,other:()=>`jsou/je ${e.number(t.optionCount)} mo\u017Enosti/-\xED`})}.`,focusAnnouncement:(t,e)=>`${e.select({true:()=>`Zadan\xE1 skupina \u201E${t.groupTitle}\u201C ${e.plural(t.groupCount,{one:()=>`s ${e.number(t.groupCount)} mo\u017Enost\xED`,other:()=>`se ${e.number(t.groupCount)} mo\u017Enostmi`})}. `,other:""},t.isGroupChange)}${t.optionText}${e.select({true:" (vybr\xE1no)",other:""},t.isSelected)}`,listboxLabel:"N\xE1vrhy",selectedAnnouncement:t=>`${t.optionText}, vybr\xE1no`};var k5={};k5={buttonLabel:"Vis forslag",countAnnouncement:(t,e)=>`${e.plural(t.optionCount,{one:()=>`${e.number(t.optionCount)} mulighed tilg\xE6ngelig`,other:()=>`${e.number(t.optionCount)} muligheder tilg\xE6ngelige`})}.`,focusAnnouncement:(t,e)=>`${e.select({true:()=>`Angivet gruppe ${t.groupTitle}, med ${e.plural(t.groupCount,{one:()=>`${e.number(t.groupCount)} mulighed`,other:()=>`${e.number(t.groupCount)} muligheder`})}. `,other:""},t.isGroupChange)}${t.optionText}${e.select({true:", valgt",other:""},t.isSelected)}`,listboxLabel:"Forslag",selectedAnnouncement:t=>`${t.optionText}, valgt`};var P5={};P5={buttonLabel:"Empfehlungen anzeigen",countAnnouncement:(t,e)=>`${e.plural(t.optionCount,{one:()=>`${e.number(t.optionCount)} Option`,other:()=>`${e.number(t.optionCount)} Optionen`})} verf\xFCgbar.`,focusAnnouncement:(t,e)=>`${e.select({true:()=>`Eingetretene Gruppe ${t.groupTitle}, mit ${e.plural(t.groupCount,{one:()=>`${e.number(t.groupCount)} Option`,other:()=>`${e.number(t.groupCount)} Optionen`})}. `,other:""},t.isGroupChange)}${t.optionText}${e.select({true:", ausgew\xE4hlt",other:""},t.isSelected)}`,listboxLabel:"Empfehlungen",selectedAnnouncement:t=>`${t.optionText}, ausgew\xE4hlt`};var E5={};E5={buttonLabel:"\u03A0\u03C1\u03BF\u03B2\u03BF\u03BB\u03AE \u03C0\u03C1\u03BF\u03C4\u03AC\u03C3\u03B5\u03C9\u03BD",countAnnouncement:(t,e)=>`${e.plural(t.optionCount,{one:()=>`${e.number(t.optionCount)} \u03B5\u03C0\u03B9\u03BB\u03BF\u03B3\u03AE`,other:()=>`${e.number(t.optionCount)} \u03B5\u03C0\u03B9\u03BB\u03BF\u03B3\u03AD\u03C2 `})} \u03B4\u03B9\u03B1\u03B8\u03AD\u03C3\u03B9\u03BC\u03B5\u03C2.`,focusAnnouncement:(t,e)=>`${e.select({true:()=>`\u0395\u03B9\u03C3\u03B1\u03B3\u03BC\u03AD\u03BD\u03B7 \u03BF\u03BC\u03AC\u03B4\u03B1 ${t.groupTitle}, \u03BC\u03B5 ${e.plural(t.groupCount,{one:()=>`${e.number(t.groupCount)} \u03B5\u03C0\u03B9\u03BB\u03BF\u03B3\u03AE`,other:()=>`${e.number(t.groupCount)} \u03B5\u03C0\u03B9\u03BB\u03BF\u03B3\u03AD\u03C2`})}. `,other:""},t.isGroupChange)}${t.optionText}${e.select({true:", \u03B5\u03C0\u03B9\u03BB\u03B5\u03B3\u03BC\u03AD\u03BD\u03BF",other:""},t.isSelected)}`,listboxLabel:"\u03A0\u03C1\u03BF\u03C4\u03AC\u03C3\u03B5\u03B9\u03C2",selectedAnnouncement:t=>`${t.optionText}, \u03B5\u03C0\u03B9\u03BB\u03AD\u03C7\u03B8\u03B7\u03BA\u03B5`};var A5={};A5={focusAnnouncement:(t,e)=>`${e.select({true:()=>`Entered group ${t.groupTitle}, with ${e.plural(t.groupCount,{one:()=>`${e.number(t.groupCount)} option`,other:()=>`${e.number(t.groupCount)} options`})}. `,other:""},t.isGroupChange)}${t.optionText}${e.select({true:", selected",other:""},t.isSelected)}`,countAnnouncement:(t,e)=>`${e.plural(t.optionCount,{one:()=>`${e.number(t.optionCount)} option`,other:()=>`${e.number(t.optionCount)} options`})} available.`,selectedAnnouncement:t=>`${t.optionText}, selected`,buttonLabel:"Show suggestions",listboxLabel:"Suggestions"};var T5={};T5={buttonLabel:"Mostrar sugerencias",countAnnouncement:(t,e)=>`${e.plural(t.optionCount,{one:()=>`${e.number(t.optionCount)} opci\xF3n`,other:()=>`${e.number(t.optionCount)} opciones`})} disponible(s).`,focusAnnouncement:(t,e)=>`${e.select({true:()=>`Se ha unido al grupo ${t.groupTitle}, con ${e.plural(t.groupCount,{one:()=>`${e.number(t.groupCount)} opci\xF3n`,other:()=>`${e.number(t.groupCount)} opciones`})}. `,other:""},t.isGroupChange)}${t.optionText}${e.select({true:", seleccionado",other:""},t.isSelected)}`,listboxLabel:"Sugerencias",selectedAnnouncement:t=>`${t.optionText}, seleccionado`};var R5={};R5={buttonLabel:"Kuva soovitused",countAnnouncement:(t,e)=>`${e.plural(t.optionCount,{one:()=>`${e.number(t.optionCount)} valik`,other:()=>`${e.number(t.optionCount)} valikud`})} saadaval.`,focusAnnouncement:(t,e)=>`${e.select({true:()=>`Sisestatud r\xFChm ${t.groupTitle}, valikuga ${e.plural(t.groupCount,{one:()=>`${e.number(t.groupCount)} valik`,other:()=>`${e.number(t.groupCount)} valikud`})}. `,other:""},t.isGroupChange)}${t.optionText}${e.select({true:", valitud",other:""},t.isSelected)}`,listboxLabel:"Soovitused",selectedAnnouncement:t=>`${t.optionText}, valitud`};var Q5={};Q5={buttonLabel:"N\xE4yt\xE4 ehdotukset",countAnnouncement:(t,e)=>`${e.plural(t.optionCount,{one:()=>`${e.number(t.optionCount)} vaihtoehto`,other:()=>`${e.number(t.optionCount)} vaihtoehdot`})} saatavilla.`,focusAnnouncement:(t,e)=>`${e.select({true:()=>`Mentiin ryhm\xE4\xE4n ${t.groupTitle}, ${e.plural(t.groupCount,{one:()=>`${e.number(t.groupCount)} vaihtoehdon`,other:()=>`${e.number(t.groupCount)} vaihtoehdon`})} kanssa.`,other:""},t.isGroupChange)}${t.optionText}${e.select({true:", valittu",other:""},t.isSelected)}`,listboxLabel:"Ehdotukset",selectedAnnouncement:t=>`${t.optionText}, valittu`};var M5={};M5={buttonLabel:"Afficher les suggestions",countAnnouncement:(t,e)=>`${e.plural(t.optionCount,{one:()=>`${e.number(t.optionCount)} option`,other:()=>`${e.number(t.optionCount)} options`})} disponible(s).`,focusAnnouncement:(t,e)=>`${e.select({true:()=>`Groupe ${t.groupTitle} rejoint, avec ${e.plural(t.groupCount,{one:()=>`${e.number(t.groupCount)} option`,other:()=>`${e.number(t.groupCount)} options`})}. `,other:""},t.isGroupChange)}${t.optionText}${e.select({true:", s\xE9lectionn\xE9(s)",other:""},t.isSelected)}`,listboxLabel:"Suggestions",selectedAnnouncement:t=>`${t.optionText}, s\xE9lectionn\xE9`};var B5={};B5={buttonLabel:"\u05D4\u05E6\u05D2 \u05D4\u05E6\u05E2\u05D5\u05EA",countAnnouncement:(t,e)=>`${e.plural(t.optionCount,{one:()=>`\u05D0\u05E4\u05E9\u05E8\u05D5\u05EA ${e.number(t.optionCount)}`,other:()=>`${e.number(t.optionCount)} \u05D0\u05E4\u05E9\u05E8\u05D5\u05D9\u05D5\u05EA`})} \u05D1\u05DE\u05E6\u05D1 \u05D6\u05DE\u05D9\u05DF.`,focusAnnouncement:(t,e)=>`${e.select({true:()=>`\u05E0\u05DB\u05E0\u05E1 \u05DC\u05E7\u05D1\u05D5\u05E6\u05D4 ${t.groupTitle}, \u05E2\u05DD ${e.plural(t.groupCount,{one:()=>`\u05D0\u05E4\u05E9\u05E8\u05D5\u05EA ${e.number(t.groupCount)}`,other:()=>`${e.number(t.groupCount)} \u05D0\u05E4\u05E9\u05E8\u05D5\u05D9\u05D5\u05EA`})}. `,other:""},t.isGroupChange)}${t.optionText}${e.select({true:", \u05E0\u05D1\u05D7\u05E8",other:""},t.isSelected)}`,listboxLabel:"\u05D4\u05E6\u05E2\u05D5\u05EA",selectedAnnouncement:t=>`${t.optionText}, \u05E0\u05D1\u05D7\u05E8`};var V5={};V5={buttonLabel:"Prika\u017Ei prijedloge",countAnnouncement:(t,e)=>`Dostupno jo\u0161: ${e.plural(t.optionCount,{one:()=>`${e.number(t.optionCount)} opcija`,other:()=>`${e.number(t.optionCount)} opcije/a`})}.`,focusAnnouncement:(t,e)=>`${e.select({true:()=>`Unesena skupina ${t.groupTitle}, s ${e.plural(t.groupCount,{one:()=>`${e.number(t.groupCount)} opcijom`,other:()=>`${e.number(t.groupCount)} opcije/a`})}. `,other:""},t.isGroupChange)}${t.optionText}${e.select({true:", odabranih",other:""},t.isSelected)}`,listboxLabel:"Prijedlozi",selectedAnnouncement:t=>`${t.optionText}, odabrano`};var N5={};N5={buttonLabel:"Javaslatok megjelen\xEDt\xE9se",countAnnouncement:(t,e)=>`${e.plural(t.optionCount,{one:()=>`${e.number(t.optionCount)} lehet\u0151s\xE9g`,other:()=>`${e.number(t.optionCount)} lehet\u0151s\xE9g`})} \xE1ll rendelkez\xE9sre.`,focusAnnouncement:(t,e)=>`${e.select({true:()=>`Bel\xE9pett a(z) ${t.groupTitle} csoportba, amely ${e.plural(t.groupCount,{one:()=>`${e.number(t.groupCount)} lehet\u0151s\xE9get`,other:()=>`${e.number(t.groupCount)} lehet\u0151s\xE9get`})} tartalmaz. `,other:""},t.isGroupChange)}${t.optionText}${e.select({true:", kijel\xF6lve",other:""},t.isSelected)}`,listboxLabel:"Javaslatok",selectedAnnouncement:t=>`${t.optionText}, kijel\xF6lve`};var F5={};F5={buttonLabel:"Mostra suggerimenti",countAnnouncement:(t,e)=>`${e.plural(t.optionCount,{one:()=>`${e.number(t.optionCount)} opzione disponibile`,other:()=>`${e.number(t.optionCount)} opzioni disponibili`})}.`,focusAnnouncement:(t,e)=>`${e.select({true:()=>`Ingresso nel gruppo ${t.groupTitle}, con ${e.plural(t.groupCount,{one:()=>`${e.number(t.groupCount)} opzione`,other:()=>`${e.number(t.groupCount)} opzioni`})}. `,other:""},t.isGroupChange)}${t.optionText}${e.select({true:", selezionato",other:""},t.isSelected)}`,listboxLabel:"Suggerimenti",selectedAnnouncement:t=>`${t.optionText}, selezionato`};var I5={};I5={buttonLabel:"\u5019\u88DC\u3092\u8868\u793A",countAnnouncement:(t,e)=>`${e.plural(t.optionCount,{one:()=>`${e.number(t.optionCount)} \u500B\u306E\u30AA\u30D7\u30B7\u30E7\u30F3`,other:()=>`${e.number(t.optionCount)} \u500B\u306E\u30AA\u30D7\u30B7\u30E7\u30F3`})}\u3092\u5229\u7528\u3067\u304D\u307E\u3059\u3002`,focusAnnouncement:(t,e)=>`${e.select({true:()=>`\u5165\u529B\u3055\u308C\u305F\u30B0\u30EB\u30FC\u30D7 ${t.groupTitle}\u3001${e.plural(t.groupCount,{one:()=>`${e.number(t.groupCount)} \u500B\u306E\u30AA\u30D7\u30B7\u30E7\u30F3`,other:()=>`${e.number(t.groupCount)} \u500B\u306E\u30AA\u30D7\u30B7\u30E7\u30F3`})}\u3092\u542B\u3080\u3002`,other:""},t.isGroupChange)}${t.optionText}${e.select({true:"\u3001\u9078\u629E\u6E08\u307F",other:""},t.isSelected)}`,listboxLabel:"\u5019\u88DC",selectedAnnouncement:t=>`${t.optionText}\u3001\u9078\u629E\u6E08\u307F`};var Z5={};Z5={buttonLabel:"\uC81C\uC548 \uC0AC\uD56D \uD45C\uC2DC",countAnnouncement:(t,e)=>`${e.plural(t.optionCount,{one:()=>`${e.number(t.optionCount)}\uAC1C \uC635\uC158`,other:()=>`${e.number(t.optionCount)}\uAC1C \uC635\uC158`})}\uC744 \uC0AC\uC6A9\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4.`,focusAnnouncement:(t,e)=>`${e.select({true:()=>`\uC785\uB825\uD55C \uADF8\uB8F9 ${t.groupTitle}, ${e.plural(t.groupCount,{one:()=>`${e.number(t.groupCount)}\uAC1C \uC635\uC158`,other:()=>`${e.number(t.groupCount)}\uAC1C \uC635\uC158`})}. `,other:""},t.isGroupChange)}${t.optionText}${e.select({true:", \uC120\uD0DD\uB428",other:""},t.isSelected)}`,listboxLabel:"\uC81C\uC548",selectedAnnouncement:t=>`${t.optionText}, \uC120\uD0DD\uB428`};var z5={};z5={buttonLabel:"Rodyti pasi\u016Blymus",countAnnouncement:(t,e)=>`Yra ${e.plural(t.optionCount,{one:()=>`${e.number(t.optionCount)} parinktis`,other:()=>`${e.number(t.optionCount)} parinktys (-i\u0173)`})}.`,focusAnnouncement:(t,e)=>`${e.select({true:()=>`\u012Evesta grup\u0117 ${t.groupTitle}, su ${e.plural(t.groupCount,{one:()=>`${e.number(t.groupCount)} parinktimi`,other:()=>`${e.number(t.groupCount)} parinktimis (-i\u0173)`})}. `,other:""},t.isGroupChange)}${t.optionText}${e.select({true:", pasirinkta",other:""},t.isSelected)}`,listboxLabel:"Pasi\u016Blymai",selectedAnnouncement:t=>`${t.optionText}, pasirinkta`};var L5={};L5={buttonLabel:"R\u0101d\u012Bt ieteikumus",countAnnouncement:(t,e)=>`Pieejamo opciju skaits: ${e.plural(t.optionCount,{one:()=>`${e.number(t.optionCount)} opcija`,other:()=>`${e.number(t.optionCount)} opcijas`})}.`,focusAnnouncement:(t,e)=>`${e.select({true:()=>`Ievad\u012Bta grupa ${t.groupTitle}, ar ${e.plural(t.groupCount,{one:()=>`${e.number(t.groupCount)} opciju`,other:()=>`${e.number(t.groupCount)} opcij\u0101m`})}. `,other:""},t.isGroupChange)}${t.optionText}${e.select({true:", atlas\u012Bta",other:""},t.isSelected)}`,listboxLabel:"Ieteikumi",selectedAnnouncement:t=>`${t.optionText}, atlas\u012Bta`};var W5={};W5={buttonLabel:"Vis forslag",countAnnouncement:(t,e)=>`${e.plural(t.optionCount,{one:()=>`${e.number(t.optionCount)} alternativ`,other:()=>`${e.number(t.optionCount)} alternativer`})} finnes.`,focusAnnouncement:(t,e)=>`${e.select({true:()=>`Angitt gruppe ${t.groupTitle}, med ${e.plural(t.groupCount,{one:()=>`${e.number(t.groupCount)} alternativ`,other:()=>`${e.number(t.groupCount)} alternativer`})}. `,other:""},t.isGroupChange)}${t.optionText}${e.select({true:", valgt",other:""},t.isSelected)}`,listboxLabel:"Forslag",selectedAnnouncement:t=>`${t.optionText}, valgt`};var X5={};X5={buttonLabel:"Suggesties weergeven",countAnnouncement:(t,e)=>`${e.plural(t.optionCount,{one:()=>`${e.number(t.optionCount)} optie`,other:()=>`${e.number(t.optionCount)} opties`})} beschikbaar.`,focusAnnouncement:(t,e)=>`${e.select({true:()=>`Groep ${t.groupTitle} ingevoerd met ${e.plural(t.groupCount,{one:()=>`${e.number(t.groupCount)} optie`,other:()=>`${e.number(t.groupCount)} opties`})}. `,other:""},t.isGroupChange)}${t.optionText}${e.select({true:", geselecteerd",other:""},t.isSelected)}`,listboxLabel:"Suggesties",selectedAnnouncement:t=>`${t.optionText}, geselecteerd`};var j5={};j5={buttonLabel:"Wy\u015Bwietlaj sugestie",countAnnouncement:(t,e)=>`dost\u0119pna/dost\u0119pne(-nych) ${e.plural(t.optionCount,{one:()=>`${e.number(t.optionCount)} opcja`,other:()=>`${e.number(t.optionCount)} opcje(-i)`})}.`,focusAnnouncement:(t,e)=>`${e.select({true:()=>`Do\u0142\u0105czono do grupy ${t.groupTitle}, z ${e.plural(t.groupCount,{one:()=>`${e.number(t.groupCount)} opcj\u0105`,other:()=>`${e.number(t.groupCount)} opcjami`})}. `,other:""},t.isGroupChange)}${t.optionText}${e.select({true:", wybrano",other:""},t.isSelected)}`,listboxLabel:"Sugestie",selectedAnnouncement:t=>`${t.optionText}, wybrano`};var q5={};q5={buttonLabel:"Mostrar sugest\xF5es",countAnnouncement:(t,e)=>`${e.plural(t.optionCount,{one:()=>`${e.number(t.optionCount)} op\xE7\xE3o`,other:()=>`${e.number(t.optionCount)} op\xE7\xF5es`})} dispon\xEDvel.`,focusAnnouncement:(t,e)=>`${e.select({true:()=>`Grupo inserido ${t.groupTitle}, com ${e.plural(t.groupCount,{one:()=>`${e.number(t.groupCount)} op\xE7\xE3o`,other:()=>`${e.number(t.groupCount)} op\xE7\xF5es`})}. `,other:""},t.isGroupChange)}${t.optionText}${e.select({true:", selecionado",other:""},t.isSelected)}`,listboxLabel:"Sugest\xF5es",selectedAnnouncement:t=>`${t.optionText}, selecionado`};var U5={};U5={buttonLabel:"Apresentar sugest\xF5es",countAnnouncement:(t,e)=>`${e.plural(t.optionCount,{one:()=>`${e.number(t.optionCount)} op\xE7\xE3o`,other:()=>`${e.number(t.optionCount)} op\xE7\xF5es`})} dispon\xEDvel.`,focusAnnouncement:(t,e)=>`${e.select({true:()=>`Grupo introduzido ${t.groupTitle}, com ${e.plural(t.groupCount,{one:()=>`${e.number(t.groupCount)} op\xE7\xE3o`,other:()=>`${e.number(t.groupCount)} op\xE7\xF5es`})}. `,other:""},t.isGroupChange)}${t.optionText}${e.select({true:", selecionado",other:""},t.isSelected)}`,listboxLabel:"Sugest\xF5es",selectedAnnouncement:t=>`${t.optionText}, selecionado`};var Y5={};Y5={buttonLabel:"Afi\u0219are sugestii",countAnnouncement:(t,e)=>`${e.plural(t.optionCount,{one:()=>`${e.number(t.optionCount)} op\u021Biune`,other:()=>`${e.number(t.optionCount)} op\u021Biuni`})} disponibile.`,focusAnnouncement:(t,e)=>`${e.select({true:()=>`Grup ${t.groupTitle} introdus, cu ${e.plural(t.groupCount,{one:()=>`${e.number(t.groupCount)} op\u021Biune`,other:()=>`${e.number(t.groupCount)} op\u021Biuni`})}. `,other:""},t.isGroupChange)}${t.optionText}${e.select({true:", selectat",other:""},t.isSelected)}`,listboxLabel:"Sugestii",selectedAnnouncement:t=>`${t.optionText}, selectat`};var K5={};K5={buttonLabel:"\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u044F",countAnnouncement:(t,e)=>`${e.plural(t.optionCount,{one:()=>`${e.number(t.optionCount)} \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440`,other:()=>`${e.number(t.optionCount)} \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u043E\u0432`})} \u0434\u043E\u0441\u0442\u0443\u043F\u043D\u043E.`,focusAnnouncement:(t,e)=>`${e.select({true:()=>`\u0412\u0432\u0435\u0434\u0435\u043D\u043D\u0430\u044F \u0433\u0440\u0443\u043F\u043F\u0430 ${t.groupTitle}, \u0441 ${e.plural(t.groupCount,{one:()=>`${e.number(t.groupCount)} \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u043E\u043C`,other:()=>`${e.number(t.groupCount)} \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u0430\u043C\u0438`})}. `,other:""},t.isGroupChange)}${t.optionText}${e.select({true:", \u0432\u044B\u0431\u0440\u0430\u043D\u043D\u044B\u043C\u0438",other:""},t.isSelected)}`,listboxLabel:"\u041F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u044F",selectedAnnouncement:t=>`${t.optionText}, \u0432\u044B\u0431\u0440\u0430\u043D\u043E`};var G5={};G5={buttonLabel:"Zobrazi\u0165 n\xE1vrhy",countAnnouncement:(t,e)=>`${e.plural(t.optionCount,{one:()=>`${e.number(t.optionCount)} mo\u017Enos\u0165`,other:()=>`${e.number(t.optionCount)} mo\u017Enosti/-\xED`})} k dispoz\xEDcii.`,focusAnnouncement:(t,e)=>`${e.select({true:()=>`Zadan\xE1 skupina ${t.groupTitle}, s ${e.plural(t.groupCount,{one:()=>`${e.number(t.groupCount)} mo\u017Enos\u0165ou`,other:()=>`${e.number(t.groupCount)} mo\u017Enos\u0165ami`})}. `,other:""},t.isGroupChange)}${t.optionText}${e.select({true:", vybrat\xE9",other:""},t.isSelected)}`,listboxLabel:"N\xE1vrhy",selectedAnnouncement:t=>`${t.optionText}, vybrat\xE9`};var H5={};H5={buttonLabel:"Prika\u017Ei predloge",countAnnouncement:(t,e)=>`Na voljo je ${e.plural(t.optionCount,{one:()=>`${e.number(t.optionCount)} opcija`,other:()=>`${e.number(t.optionCount)} opcije`})}.`,focusAnnouncement:(t,e)=>`${e.select({true:()=>`Vnesena skupina ${t.groupTitle}, z ${e.plural(t.groupCount,{one:()=>`${e.number(t.groupCount)} opcija`,other:()=>`${e.number(t.groupCount)} opcije`})}. `,other:""},t.isGroupChange)}${t.optionText}${e.select({true:", izbrano",other:""},t.isSelected)}`,listboxLabel:"Predlogi",selectedAnnouncement:t=>`${t.optionText}, izbrano`};var _5={};_5={buttonLabel:"Prika\u017Ei predloge",countAnnouncement:(t,e)=>`Dostupno jo\u0161: ${e.plural(t.optionCount,{one:()=>`${e.number(t.optionCount)} opcija`,other:()=>`${e.number(t.optionCount)} opcije/a`})}.`,focusAnnouncement:(t,e)=>`${e.select({true:()=>`Unesena grupa ${t.groupTitle}, s ${e.plural(t.groupCount,{one:()=>`${e.number(t.groupCount)} opcijom`,other:()=>`${e.number(t.groupCount)} optione/a`})}. `,other:""},t.isGroupChange)}${t.optionText}${e.select({true:", izabranih",other:""},t.isSelected)}`,listboxLabel:"Predlozi",selectedAnnouncement:t=>`${t.optionText}, izabrano`};var J5={};J5={buttonLabel:"Visa f\xF6rslag",countAnnouncement:(t,e)=>`${e.plural(t.optionCount,{one:()=>`${e.number(t.optionCount)} alternativ`,other:()=>`${e.number(t.optionCount)} alternativ`})} tillg\xE4ngliga.`,focusAnnouncement:(t,e)=>`${e.select({true:()=>`Ingick i gruppen ${t.groupTitle} med ${e.plural(t.groupCount,{one:()=>`${e.number(t.groupCount)} alternativ`,other:()=>`${e.number(t.groupCount)} alternativ`})}. `,other:""},t.isGroupChange)}${t.optionText}${e.select({true:", valda",other:""},t.isSelected)}`,listboxLabel:"F\xF6rslag",selectedAnnouncement:t=>`${t.optionText}, valda`};var eC={};eC={buttonLabel:"\xD6nerileri g\xF6ster",countAnnouncement:(t,e)=>`${e.plural(t.optionCount,{one:()=>`${e.number(t.optionCount)} se\xE7enek`,other:()=>`${e.number(t.optionCount)} se\xE7enekler`})} kullan\u0131labilir.`,focusAnnouncement:(t,e)=>`${e.select({true:()=>`Girilen grup ${t.groupTitle}, ile ${e.plural(t.groupCount,{one:()=>`${e.number(t.groupCount)} se\xE7enek`,other:()=>`${e.number(t.groupCount)} se\xE7enekler`})}. `,other:""},t.isGroupChange)}${t.optionText}${e.select({true:", se\xE7ildi",other:""},t.isSelected)}`,listboxLabel:"\xD6neriler",selectedAnnouncement:t=>`${t.optionText}, se\xE7ildi`};var tC={};tC={buttonLabel:"\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u0438 \u043F\u0440\u043E\u043F\u043E\u0437\u0438\u0446\u0456\u0457",countAnnouncement:(t,e)=>`${e.plural(t.optionCount,{one:()=>`${e.number(t.optionCount)} \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440`,other:()=>`${e.number(t.optionCount)} \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u0438(-\u0456\u0432)`})} \u0434\u043E\u0441\u0442\u0443\u043F\u043D\u043E.`,focusAnnouncement:(t,e)=>`${e.select({true:()=>`\u0412\u0432\u0435\u0434\u0435\u043D\u0430 \u0433\u0440\u0443\u043F\u0430 ${t.groupTitle}, \u0437 ${e.plural(t.groupCount,{one:()=>`${e.number(t.groupCount)} \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440`,other:()=>`${e.number(t.groupCount)} \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u0438(-\u0456\u0432)`})}. `,other:""},t.isGroupChange)}${t.optionText}${e.select({true:", \u0432\u0438\u0431\u0440\u0430\u043D\u043E",other:""},t.isSelected)}`,listboxLabel:"\u041F\u0440\u043E\u043F\u043E\u0437\u0438\u0446\u0456\u0457",selectedAnnouncement:t=>`${t.optionText}, \u0432\u0438\u0431\u0440\u0430\u043D\u043E`};var nC={};nC={buttonLabel:"\u663E\u793A\u5EFA\u8BAE",countAnnouncement:(t,e)=>`\u6709 ${e.plural(t.optionCount,{one:()=>`${e.number(t.optionCount)} \u4E2A\u9009\u9879`,other:()=>`${e.number(t.optionCount)} \u4E2A\u9009\u9879`})}\u53EF\u7528\u3002`,focusAnnouncement:(t,e)=>`${e.select({true:()=>`\u8FDB\u5165\u4E86 ${t.groupTitle} \u7EC4\uFF0C\u5176\u4E2D\u6709 ${e.plural(t.groupCount,{one:()=>`${e.number(t.groupCount)} \u4E2A\u9009\u9879`,other:()=>`${e.number(t.groupCount)} \u4E2A\u9009\u9879`})}. `,other:""},t.isGroupChange)}${t.optionText}${e.select({true:", \u5DF2\u9009\u62E9",other:""},t.isSelected)}`,listboxLabel:"\u5EFA\u8BAE",selectedAnnouncement:t=>`${t.optionText}, \u5DF2\u9009\u62E9`};var rC={};rC={buttonLabel:"\u986F\u793A\u5EFA\u8B70",countAnnouncement:(t,e)=>`${e.plural(t.optionCount,{one:()=>`${e.number(t.optionCount)} \u9078\u9805`,other:()=>`${e.number(t.optionCount)} \u9078\u9805`})} \u53EF\u7528\u3002`,focusAnnouncement:(t,e)=>`${e.select({true:()=>`\u8F38\u5165\u7684\u7FA4\u7D44 ${t.groupTitle}, \u6709 ${e.plural(t.groupCount,{one:()=>`${e.number(t.groupCount)} \u9078\u9805`,other:()=>`${e.number(t.groupCount)} \u9078\u9805`})}. `,other:""},t.isGroupChange)}${t.optionText}${e.select({true:", \u5DF2\u9078\u53D6",other:""},t.isSelected)}`,listboxLabel:"\u5EFA\u8B70",selectedAnnouncement:t=>`${t.optionText}, \u5DF2\u9078\u53D6`};var iC={};iC={"ar-AE":S5,"bg-BG":C5,"cs-CZ":D5,"da-DK":k5,"de-DE":P5,"el-GR":E5,"en-US":A5,"es-ES":T5,"et-EE":R5,"fi-FI":Q5,"fr-FR":M5,"he-IL":B5,"hr-HR":V5,"hu-HU":N5,"it-IT":F5,"ja-JP":I5,"ko-KR":Z5,"lt-LT":z5,"lv-LV":L5,"nb-NO":W5,"nl-NL":X5,"pl-PL":j5,"pt-BR":q5,"pt-PT":U5,"ro-RO":Y5,"ru-RU":K5,"sk-SK":G5,"sl-SI":H5,"sr-SP":_5,"sv-SE":J5,"tr-TR":eC,"uk-UA":tC,"zh-CN":nC,"zh-TW":rC};const In={top:"top",bottom:"top",left:"left",right:"left"},pd={top:"bottom",bottom:"top",left:"right",right:"left"},_B={top:"left",left:"top"},gg={top:"height",left:"width"},lC={width:"totalWidth",height:"totalHeight"},md={};let Et=typeof document<"u"&&window.visualViewport;function aC(t){let e=0,n=0,r=0,i=0,l=0,a=0,o={},s=Et?.scale>1;if(t.tagName==="BODY"){let f=document.documentElement;r=f.clientWidth,i=f.clientHeight;var c;e=(c=Et?.width)!==null&&c!==void 0?c:r;var d;n=(d=Et?.height)!==null&&d!==void 0?d:i,o.top=f.scrollTop||t.scrollTop,o.left=f.scrollLeft||t.scrollLeft,Et&&(l=Et.offsetTop,a=Et.offsetLeft)}else({width:e,height:n,top:l,left:a}=fa(t)),o.top=t.scrollTop,o.left=t.scrollLeft,r=e,i=n;return Up()&&(t.tagName==="BODY"||t.tagName==="HTML")&&s&&(o.top=0,o.left=0,l=Et.pageTop,a=Et.pageLeft),{width:e,height:n,totalWidth:r,totalHeight:i,scroll:o,top:l,left:a}}u(aC,"$edcf132a9284368a$var$getContainerDimensions");function JB(t){return{top:t.scrollTop,left:t.scrollLeft,width:t.scrollWidth,height:t.scrollHeight}}u(JB,"$edcf132a9284368a$var$getScroll");function oC(t,e,n,r,i,l,a){let o=i.scroll[t],s=r[gg[t]],c=r.scroll[In[t]]+l,d=s+r.scroll[In[t]]-l,f=e-o+a[t]-r[In[t]],h=e-o+n+a[t]-r[In[t]];return fd?Math.max(d-h,c-f):0}u(oC,"$edcf132a9284368a$var$getDelta");function eV(t){let e=window.getComputedStyle(t);return{top:parseInt(e.marginTop,10)||0,bottom:parseInt(e.marginBottom,10)||0,left:parseInt(e.marginLeft,10)||0,right:parseInt(e.marginRight,10)||0}}u(eV,"$edcf132a9284368a$var$getMargins");function sC(t){if(md[t])return md[t];let[e,n]=t.split(" "),r=In[e]||"right",i=_B[r];In[n]||(n="center");let l=gg[r],a=gg[i];return md[t]={placement:e,crossPlacement:n,axis:r,crossAxis:i,size:l,crossSize:a},md[t]}u(sC,"$edcf132a9284368a$var$parsePlacement");function Og(t,e,n,r,i,l,a,o,s,c){let{placement:d,crossPlacement:f,axis:h,crossAxis:p,size:m,crossSize:g}=r,O={};O[p]=t[p],f==="center"?O[p]+=(t[g]-n[g])/2:f!==p&&(O[p]+=t[g]-n[g]),O[p]+=l;const b=t[p]-n[g]+s+c,y=t[p]+t[g]-s-c;if(O[p]=We(O[p],b,y),d===h){const $=o?a[m]:e[lC[m]];O[pd[h]]=Math.floor($-t[h]+i)}else O[h]=Math.floor(t[h]+t[m]+i);return O}u(Og,"$edcf132a9284368a$var$computePosition");function tV(t,e,n,r,i,l,a,o){const s=r?n.height:e[lC.height];let c=t.top!=null?n.top+t.top:n.top+(s-t.bottom-a),d=o!=="top"?Math.max(0,e.height+e.top+e.scroll.top-c-(i.top+i.bottom+l)):Math.max(0,c+a-(e.top+e.scroll.top)-(i.top+i.bottom+l));return Math.min(e.height-l*2,d)}u(tV,"$edcf132a9284368a$var$getMaxHeight");function uC(t,e,n,r,i,l){let{placement:a,axis:o,size:s}=l;return a===o?Math.max(0,n[o]-t[o]-t.scroll[o]+e[o]-r[o]-r[pd[o]]-i):Math.max(0,t[s]+t[o]+t.scroll[o]-e[o]-n[o]-n[s]-r[o]-r[pd[o]]-i)}u(uC,"$edcf132a9284368a$var$getAvailableSpace");function nV(t,e,n,r,i,l,a,o,s,c,d,f,h,p,m,g){let O=sC(t),{size:b,crossAxis:y,crossSize:$,placement:C,crossPlacement:w}=O,x=Og(e,o,n,O,d,f,c,h,m,g),P=d,v=uC(o,c,e,i,l+d,O);if(a&&r[b]>v){let F=sC(`${pd[C]} ${w}`),V=Og(e,o,n,F,d,f,c,h,m,g);uC(o,c,e,i,l+d,F)>v&&(O=F,x=V,P=d)}let k="bottom";O.axis==="top"?O.placement==="top"?k="top":O.placement==="bottom"&&(k="bottom"):O.crossAxis==="top"&&(O.crossPlacement==="top"?k="bottom":O.crossPlacement==="bottom"&&(k="top"));let D=oC(y,x[y],n[$],o,s,l,c);x[y]+=D;let S=tV(x,o,c,h,i,l,n.height,k);p&&p{if(!n||r===null)return;let i=u(l=>{let a=l.target;if(!e.current||a instanceof Node&&!a.contains(e.current)||l.target instanceof HTMLInputElement||l.target instanceof HTMLTextAreaElement)return;let o=r||fC.get(e.current);o&&o()},"onScroll");return window.addEventListener("scroll",i,!0),()=>{window.removeEventListener("scroll",i,!0)}},[n,r,e])}u(lV,"$dd149f63282afbbf$export$18fc8428861184da");let Me=typeof document<"u"&&window.visualViewport;function aV(t){let{direction:e}=Ee(),{arrowSize:n=0,targetRef:r,overlayRef:i,scrollRef:l=i,placement:a="bottom",containerPadding:o=12,shouldFlip:s=!0,boundaryElement:c=typeof document<"u"?document.body:null,offset:d=0,crossOffset:f=0,shouldUpdatePosition:h=!0,isOpen:p=!0,onClose:m,maxHeight:g,arrowBoundaryOffset:O=0}=t,[b,y]=(0,wp.element.useState)({position:{},arrowOffsetLeft:void 0,arrowOffsetTop:void 0,maxHeight:void 0,placement:void 0}),$=[h,a,i.current,r.current,l.current,o,s,c,d,f,p,e,g,O,n],C=(0,wp.element.useRef)(Me?.scale);(0,wp.element.useEffect)(()=>{p&&(C.current=Me?.scale)},[p]);let w=(0,wp.element.useCallback)(()=>{if(h===!1||!p||!i.current||!r.current||!c||Me?.scale!==C.current)return;let k=null;if(l.current&&l.current.contains(document.activeElement)){let B=document.activeElement.getBoundingClientRect(),T=l.current.getBoundingClientRect();k={type:"top",offset:B.top-T.top},k.offset>T.height/2&&(k.type="bottom",k.offset=B.bottom-T.bottom)}let D=i.current;if(!g&&i.current){var S;D.style.top="0px",D.style.bottom="";var E;D.style.maxHeight=((E=(S=window.visualViewport)===null||S===void 0?void 0:S.height)!==null&&E!==void 0?E:window.innerHeight)+"px"}let A=rV({placement:sV(a,e),overlayNode:i.current,targetNode:r.current,scrollNode:l.current||i.current,padding:o,shouldFlip:s,boundaryElement:c,offset:d,crossOffset:f,maxHeight:g,arrowSize:n,arrowBoundaryOffset:O});if(D.style.top="",D.style.bottom="",D.style.left="",D.style.right="",Object.keys(A.position).forEach(B=>D.style[B]=A.position[B]+"px"),D.style.maxHeight=A.maxHeight!=null?A.maxHeight+"px":void 0,k){let B=document.activeElement.getBoundingClientRect(),T=l.current.getBoundingClientRect(),R=B[k.type]-T[k.type];l.current.scrollTop+=R-k.offset}y(A)},$);De(w,$),oV(w),p3({ref:i,onResize:w}),p3({ref:r,onResize:w});let x=(0,wp.element.useRef)(!1);De(()=>{let k,D=u(()=>{x.current=!0,clearTimeout(k),k=setTimeout(()=>{x.current=!1},500),w()},"onResize"),S=u(()=>{x.current&&D()},"onScroll");return Me?.addEventListener("resize",D),Me?.addEventListener("scroll",S),()=>{Me?.removeEventListener("resize",D),Me?.removeEventListener("scroll",S)}},[w]);let P=(0,wp.element.useCallback)(()=>{x.current||m()},[m,x]);lV({triggerRef:r,isOpen:p,onClose:m&&P});var v;return{overlayProps:{style:{position:"absolute",zIndex:1e5,...b.position,maxHeight:(v=b.maxHeight)!==null&&v!==void 0?v:"100vh"}},placement:b.placement,arrowProps:{"aria-hidden":"true",role:"presentation",style:{left:b.arrowOffsetLeft,top:b.arrowOffsetTop}},updatePosition:w}}u(aV,"$2a41e45df1593e64$export$d39e1813b3bdd0e1");function oV(t){De(()=>(window.addEventListener("resize",t,!1),()=>{window.removeEventListener("resize",t,!1)}),[t])}u(oV,"$2a41e45df1593e64$var$useResize");function sV(t,e){return e==="rtl"?t.replace("start","right").replace("end","left"):t.replace("start","left").replace("end","right")}u(sV,"$2a41e45df1593e64$var$translateRTL");const xr=[];function hC(t,e){let{onClose:n,shouldCloseOnBlur:r,isOpen:i,isDismissable:l=!1,isKeyboardDismissDisabled:a=!1,shouldCloseOnInteractOutside:o}=t;(0,wp.element.useEffect)(()=>(i&&xr.push(e),()=>{let m=xr.indexOf(e);m>=0&&xr.splice(m,1)}),[i,e]);let s=u(()=>{xr[xr.length-1]===e&&n&&n()},"onHide"),c=u(m=>{(!o||o(m.target))&&xr[xr.length-1]===e&&(m.stopPropagation(),m.preventDefault())},"onInteractOutsideStart"),d=u(m=>{(!o||o(m.target))&&(xr[xr.length-1]===e&&(m.stopPropagation(),m.preventDefault()),s())},"onInteractOutside"),f=u(m=>{m.key==="Escape"&&!a&&!m.nativeEvent.isComposing&&(m.stopPropagation(),m.preventDefault(),s())},"onKeyDown");LQ({ref:e,onInteractOutside:l&&i?d:null,onInteractOutsideStart:c});let{focusWithinProps:h}=Nt({isDisabled:!r,onBlurWithin:m=>{!m.relatedTarget||GQ(m.relatedTarget)||(!o||o(m.relatedTarget))&&n()}}),p=u(m=>{m.target===m.currentTarget&&m.preventDefault()},"onPointerDownUnderlay");return{overlayProps:{onKeyDown:f,...h},underlayProps:{onPointerDown:p}}}u(hC,"$a11501f3d1d39e6c$export$ea8f71083e90600f");function Go(t,e,n){let{type:r}=t,{isOpen:i}=e;(0,wp.element.useEffect)(()=>{n&&n.current&&fC.set(n.current,e.close)});let l;r==="menu"?l=!0:r==="listbox"&&(l="listbox");let a=Fe();return{triggerProps:{"aria-haspopup":l,"aria-expanded":i,"aria-controls":i?a:null,onPress:e.toggle},overlayProps:{id:a}}}u(Go,"$628037886ba31236$export$f9d5c8beee7d008d");const bg=typeof document<"u"&&window.visualViewport,uV=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);let gd=0,yg;function pC(t={}){let{isDisabled:e}=t;De(()=>{if(!e)return gd++,gd===1&&(Mi()?yg=dV():yg=cV()),()=>{gd--,gd===0&&yg()}},[e])}u(pC,"$49c51c25361d4cd2$export$ee0f7cc6afcd1c18");function cV(){return fr(ha(document.documentElement,"paddingRight",`${window.innerWidth-document.documentElement.clientWidth}px`),ha(document.documentElement,"overflow","hidden"))}u(cV,"$49c51c25361d4cd2$var$preventScrollStandard");function dV(){let t,e,n=u(c=>{t=Rc(c.target,!0),!(t===document.documentElement&&t===document.body)&&t instanceof HTMLElement&&window.getComputedStyle(t).overscrollBehavior==="auto"&&(e=ha(t,"overscrollBehavior","contain"))},"onTouchStart"),r=u(c=>{if(!t||t===document.documentElement||t===document.body){c.preventDefault();return}t.scrollHeight===t.clientHeight&&t.scrollWidth===t.clientWidth&&c.preventDefault()},"onTouchMove"),i=u(c=>{let d=c.target;gC(d)&&d!==document.activeElement&&(c.preventDefault(),o(),d.style.transform="translateY(-2000px)",d.focus(),requestAnimationFrame(()=>{d.style.transform=""})),e&&e()},"onTouchEnd"),l=u(c=>{let d=c.target;gC(d)&&(o(),d.style.transform="translateY(-2000px)",requestAnimationFrame(()=>{d.style.transform="",bg&&(bg.height{mC(d)}):bg.addEventListener("resize",()=>mC(d),{once:!0}))}))},"onFocus"),a=null,o=u(()=>{if(a)return;let c=u(()=>{window.scrollTo(0,0)},"onWindowScroll"),d=window.pageXOffset,f=window.pageYOffset;a=fr(Ho(window,"scroll",c),ha(document.documentElement,"paddingRight",`${window.innerWidth-document.documentElement.clientWidth}px`),ha(document.documentElement,"overflow","hidden"),ha(document.body,"marginTop",`-${f}px`),()=>{window.scrollTo(d,f)}),window.scrollTo(0,0)},"setupStyles"),s=fr(Ho(document,"touchstart",n,{passive:!1,capture:!0}),Ho(document,"touchmove",r,{passive:!1,capture:!0}),Ho(document,"touchend",i,{passive:!1,capture:!0}),Ho(document,"focus",l,!0));return()=>{e?.(),a?.(),s()}}u(dV,"$49c51c25361d4cd2$var$preventScrollMobileSafari");function ha(t,e,n){let r=t.style[e];return t.style[e]=n,()=>{t.style[e]=r}}u(ha,"$49c51c25361d4cd2$var$setStyle");function Ho(t,e,n,r){return t.addEventListener(e,n,r),()=>{t.removeEventListener(e,n,r)}}u(Ho,"$49c51c25361d4cd2$var$addEvent");function mC(t){let e=document.scrollingElement||document.documentElement;for(;t&&t!==e;){let n=Rc(t);if(n!==document.documentElement&&n!==document.body&&n!==t){let r=n.getBoundingClientRect().top,i=t.getBoundingClientRect().top;i>r+t.clientHeight&&(n.scrollTop+=i-r)}t=n.parentElement}}u(mC,"$49c51c25361d4cd2$var$scrollIntoView");function gC(t){return t instanceof HTMLInputElement&&!uV.has(t.type)||t instanceof HTMLTextAreaElement||t instanceof HTMLElement&&t.isContentEditable}u(gC,"$49c51c25361d4cd2$var$willOpenKeyboard");const vg=wp.element.createContext(null);function fV(t){let{children:e}=t,n=(0,wp.element.useContext)(vg),[r,i]=(0,wp.element.useState)(0),l=(0,wp.element.useMemo)(()=>({parent:n,modalCount:r,addModal(){i(a=>a+1),n&&n.addModal()},removeModal(){i(a=>a-1),n&&n.removeModal()}}),[n,r]);return wp.element.createElement(vg.Provider,{value:l},e)}u(fV,"$f57aed4a881a3485$export$178405afcd8c5eb");function hV(){let t=(0,wp.element.useContext)(vg);return{modalProviderProps:{"aria-hidden":t&&t.modalCount>0?!0:null}}}u(hV,"$f57aed4a881a3485$export$d9aaed4c3ece1bc0");function pV(t){let{modalProviderProps:e}=hV();return wp.element.createElement("div",{"data-overlay-container":!0,...t,...e})}u(pV,"$f57aed4a881a3485$var$OverlayContainerDOM");function OC(t){return wp.element.createElement(fV,null,wp.element.createElement(pV,t))}u(OC,"$f57aed4a881a3485$export$bf688221f59024e5");var bC={};bC={dismiss:"\u062A\u062C\u0627\u0647\u0644"};var yC={};yC={dismiss:"\u041E\u0442\u0445\u0432\u044A\u0440\u043B\u044F\u043D\u0435"};var vC={};vC={dismiss:"Odstranit"};var $C={};$C={dismiss:"Luk"};var wC={};wC={dismiss:"Schlie\xDFen"};var xC={};xC={dismiss:"\u0391\u03C0\u03CC\u03C1\u03C1\u03B9\u03C8\u03B7"};var SC={};SC={dismiss:"Dismiss"};var CC={};CC={dismiss:"Descartar"};var DC={};DC={dismiss:"L\xF5peta"};var kC={};kC={dismiss:"Hylk\xE4\xE4"};var PC={};PC={dismiss:"Rejeter"};var EC={};EC={dismiss:"\u05D4\u05EA\u05E2\u05DC\u05DD"};var AC={};AC={dismiss:"Odbaci"};var TC={};TC={dismiss:"Elutas\xEDt\xE1s"};var RC={};RC={dismiss:"Ignora"};var QC={};QC={dismiss:"\u9589\u3058\u308B"};var MC={};MC={dismiss:"\uBB34\uC2DC"};var BC={};BC={dismiss:"Atmesti"};var VC={};VC={dismiss:"Ner\u0101d\u012Bt"};var NC={};NC={dismiss:"Lukk"};var FC={};FC={dismiss:"Negeren"};var IC={};IC={dismiss:"Zignoruj"};var ZC={};ZC={dismiss:"Descartar"};var zC={};zC={dismiss:"Dispensar"};var LC={};LC={dismiss:"Revocare"};var WC={};WC={dismiss:"\u041F\u0440\u043E\u043F\u0443\u0441\u0442\u0438\u0442\u044C"};var XC={};XC={dismiss:"Zru\u0161i\u0165"};var jC={};jC={dismiss:"Opusti"};var qC={};qC={dismiss:"Odbaci"};var UC={};UC={dismiss:"Avvisa"};var YC={};YC={dismiss:"Kapat"};var KC={};KC={dismiss:"\u0421\u043A\u0430\u0441\u0443\u0432\u0430\u0442\u0438"};var GC={};GC={dismiss:"\u53D6\u6D88"};var HC={};HC={dismiss:"\u95DC\u9589"};var _C={};_C={"ar-AE":bC,"bg-BG":yC,"cs-CZ":vC,"da-DK":$C,"de-DE":wC,"el-GR":xC,"en-US":SC,"es-ES":CC,"et-EE":DC,"fi-FI":kC,"fr-FR":PC,"he-IL":EC,"hr-HR":AC,"hu-HU":TC,"it-IT":RC,"ja-JP":QC,"ko-KR":MC,"lt-LT":BC,"lv-LV":VC,"nb-NO":NC,"nl-NL":FC,"pl-PL":IC,"pt-BR":ZC,"pt-PT":zC,"ro-RO":LC,"ru-RU":WC,"sk-SK":XC,"sl-SI":jC,"sr-SP":qC,"sv-SE":UC,"tr-TR":YC,"uk-UA":KC,"zh-CN":GC,"zh-TW":HC};function mV(t){return t&&t.__esModule?t.default:t}u(mV,"$parcel$interopDefault$7");function _o(t){let{onDismiss:e,...n}=t,r=Ft(mV(_C),"@react-aria/overlays"),i=Mn(n,r.format("dismiss")),l=u(()=>{e&&e()},"onClick");return wp.element.createElement(on,null,wp.element.createElement("button",{...i,tabIndex:-1,onClick:l,style:{width:1,height:1}}))}u(_o,"$86ea4cb521eb2e37$export$2317d149ed6f78c4");let Jo=new WeakMap,sn=[];function $g(t,e=document.body){let n=new Set(t),r=new Set,i=u(s=>{for(let h of s.querySelectorAll("[data-live-announcer], [data-react-aria-top-layer]"))n.add(h);let c=u(h=>{if(n.has(h)||r.has(h.parentElement)&&h.parentElement.getAttribute("role")!=="row")return NodeFilter.FILTER_REJECT;for(let p of n)if(h.contains(p))return NodeFilter.FILTER_SKIP;return NodeFilter.FILTER_ACCEPT},"acceptNode"),d=document.createTreeWalker(s,NodeFilter.SHOW_ELEMENT,{acceptNode:c}),f=c(s);if(f===NodeFilter.FILTER_ACCEPT&&l(s),f!==NodeFilter.FILTER_REJECT){let h=d.nextNode();for(;h!=null;)l(h),h=d.nextNode()}},"walk"),l=u(s=>{var c;let d=(c=Jo.get(s))!==null&&c!==void 0?c:0;s.getAttribute("aria-hidden")==="true"&&d===0||(d===0&&s.setAttribute("aria-hidden","true"),r.add(s),Jo.set(s,d+1))},"hide");sn.length&&sn[sn.length-1].disconnect(),i(e);let a=new MutationObserver(s=>{for(let c of s)if(!(c.type!=="childList"||c.addedNodes.length===0)&&![...n,...r].some(d=>d.contains(c.target))){for(let d of c.removedNodes)d instanceof Element&&(n.delete(d),r.delete(d));for(let d of c.addedNodes)(d instanceof HTMLElement||d instanceof SVGElement)&&(d.dataset.liveAnnouncer==="true"||d.dataset.reactAriaTopLayer==="true")?n.add(d):d instanceof Element&&i(d)}});a.observe(e,{childList:!0,subtree:!0});let o={observe(){a.observe(e,{childList:!0,subtree:!0})},disconnect(){a.disconnect()}};return sn.push(o),()=>{a.disconnect();for(let s of r){let c=Jo.get(s);c===1?(s.removeAttribute("aria-hidden"),Jo.delete(s)):Jo.set(s,c-1)}o===sn[sn.length-1]?(sn.pop(),sn.length&&sn[sn.length-1].observe()):sn.splice(sn.indexOf(o),1)}}u($g,"$5e3802645cc19319$export$1c3ebcada18427bf");function gV(t,e){let{triggerRef:n,popoverRef:r,isNonModal:i,isKeyboardDismissDisabled:l,shouldCloseOnInteractOutside:a,...o}=t,{overlayProps:s,underlayProps:c}=hC({isOpen:e.isOpen,onClose:e.close,shouldCloseOnBlur:!0,isDismissable:!i,isKeyboardDismissDisabled:l,shouldCloseOnInteractOutside:a},r),{overlayProps:d,arrowProps:f,placement:h}=aV({...o,targetRef:n,overlayRef:r,isOpen:e.isOpen,onClose:i?e.close:null});return pC({isDisabled:i||!e.isOpen}),De(()=>{if(e.isOpen&&!i&&r.current)return $g([r.current])},[i,e.isOpen,r]),{popoverProps:te(s,d),arrowProps:f,underlayProps:c,placement:h}}u(gV,"$f2f8a6077418541e$export$542a6fd13ac93354");const OV=(0,wp.element.createContext)({});function bV(){var t;return(t=(0,wp.element.useContext)(OV))!==null&&t!==void 0?t:{}}u(bV,"$96b38030c423d352$export$574e9b0fb070c3b0");const JC=wp.element.createContext(null);function eD(t){let e=Dc(),{portalContainer:n=e?null:document.body,isExiting:r}=t,[i,l]=(0,wp.element.useState)(!1),a=(0,wp.element.useMemo)(()=>({contain:i,setContain:l}),[i,l]),{getContainer:o}=bV();if(!t.portalContainer&&o&&(n=o()),!n)return null;let s=t.children;return t.disableFocusManagement||(s=wp.element.createElement(jc,{restoreFocus:!0,contain:i&&!r},s)),s=wp.element.createElement(JC.Provider,{value:a},wp.element.createElement(RQ,null,s)),wp.element.createPortal(s,n)}u(eD,"$337b884510726a0d$export$c6fdb837b070b4ff");function tD(){let t=(0,wp.element.useContext)(JC),e=t?.setContain;De(()=>{e?.(!0)},[e])}u(tD,"$337b884510726a0d$export$14c98a7594375490");function yV(t,e,n){let{overlayProps:r,underlayProps:i}=hC({...t,isOpen:e.isOpen,onClose:e.close},n);return pC({isDisabled:!e.isOpen}),tD(),(0,wp.element.useEffect)(()=>{if(e.isOpen)return $g([n.current])},[e.isOpen,n]),{modalProps:te(r),underlayProps:i}}u(yV,"$8ac8429251c45e4b$export$dbc0f175b25fb0fb");const Od=new WeakMap;function vV(t){return typeof t=="string"?t.replace(/\s*/g,""):""+t}u(vV,"$b1f0cad8af73213b$var$normalizeKey");function nD(t,e){let n=Od.get(t);if(!n)throw new Error("Unknown list");return`${n.id}-option-${vV(e)}`}u(nD,"$b1f0cad8af73213b$export$9145995848b05025");function wg(t){return Ec()?t.altKey:t.ctrlKey}u(wg,"$feb5ffebff200149$export$d3e3bd3e26688c04");function pa(t){return pr()?t.metaKey:t.ctrlKey}u(pa,"$feb5ffebff200149$export$16792effe837dba3");const $V=1e3;function rD(t){let{keyboardDelegate:e,selectionManager:n,onTypeSelect:r}=t,i=(0,wp.element.useRef)({search:"",timeout:null}).current,l=u(a=>{let o=wV(a.key);if(!o||a.ctrlKey||a.metaKey||!a.currentTarget.contains(a.target))return;o===" "&&i.search.trim().length>0&&(a.preventDefault(),"continuePropagation"in a||a.stopPropagation()),i.search+=o;let s=e.getKeyForSearch(i.search,n.focusedKey);s==null&&(s=e.getKeyForSearch(i.search)),s!=null&&(n.setFocusedKey(s),r&&r(s)),clearTimeout(i.timeout),i.timeout=setTimeout(()=>{i.search=""},$V)},"onKeyDown");return{typeSelectProps:{onKeyDownCapture:e.getKeyForSearch?l:null}}}u(rD,"$fb3050f43d946246$export$e32c88dfddc6e1d8");function wV(t){return t.length===1||!/^[A-Z]/i.test(t)?t:""}u(wV,"$fb3050f43d946246$var$getStringForKey");function iD(t){let{selectionManager:e,keyboardDelegate:n,ref:r,autoFocus:i=!1,shouldFocusWrap:l=!1,disallowEmptySelection:a=!1,disallowSelectAll:o=!1,selectOnFocus:s=e.selectionBehavior==="replace",disallowTypeAhead:c=!1,shouldUseVirtualFocus:d,allowsTabNavigation:f=!1,isVirtualized:h,scrollRef:p=r,linkBehavior:m="action"}=t,{direction:g}=Ee(),O=Tc(),b=u(D=>{if(D.altKey&&D.key==="Tab"&&D.preventDefault(),!r.current.contains(D.target))return;const S=u((W,re)=>{if(W!=null){if(e.isLink(W)&&m==="selection"&&s&&!wg(D)){(0,wp.element.flushSync)(()=>{e.setFocusedKey(W,re)});let fe=p.current.querySelector(`[data-key="${CSS.escape(W.toString())}"]`),L=e.getItemProps(W);O.open(fe,D,L.href,L.routerOptions);return}if(e.setFocusedKey(W,re),e.isLink(W)&&m==="override")return;D.shiftKey&&e.selectionMode==="multiple"?e.extendSelection(W):s&&!wg(D)&&e.replaceSelection(W)}},"navigateToKey");switch(D.key){case"ArrowDown":if(n.getKeyBelow){var E,A,B;let W=e.focusedKey!=null?(E=n.getKeyBelow)===null||E===void 0?void 0:E.call(n,e.focusedKey):(A=n.getFirstKey)===null||A===void 0?void 0:A.call(n);W==null&&l&&(W=(B=n.getFirstKey)===null||B===void 0?void 0:B.call(n,e.focusedKey)),W!=null&&(D.preventDefault(),S(W))}break;case"ArrowUp":if(n.getKeyAbove){var T,R,M;let W=e.focusedKey!=null?(T=n.getKeyAbove)===null||T===void 0?void 0:T.call(n,e.focusedKey):(R=n.getLastKey)===null||R===void 0?void 0:R.call(n);W==null&&l&&(W=(M=n.getLastKey)===null||M===void 0?void 0:M.call(n,e.focusedKey)),W!=null&&(D.preventDefault(),S(W))}break;case"ArrowLeft":if(n.getKeyLeftOf){var N,I,F;let W=(N=n.getKeyLeftOf)===null||N===void 0?void 0:N.call(n,e.focusedKey);W==null&&l&&(W=g==="rtl"?(I=n.getFirstKey)===null||I===void 0?void 0:I.call(n,e.focusedKey):(F=n.getLastKey)===null||F===void 0?void 0:F.call(n,e.focusedKey)),W!=null&&(D.preventDefault(),S(W,g==="rtl"?"first":"last"))}break;case"ArrowRight":if(n.getKeyRightOf){var V,Z,_;let W=(V=n.getKeyRightOf)===null||V===void 0?void 0:V.call(n,e.focusedKey);W==null&&l&&(W=g==="rtl"?(Z=n.getLastKey)===null||Z===void 0?void 0:Z.call(n,e.focusedKey):(_=n.getFirstKey)===null||_===void 0?void 0:_.call(n,e.focusedKey)),W!=null&&(D.preventDefault(),S(W,g==="rtl"?"last":"first"))}break;case"Home":if(n.getFirstKey){D.preventDefault();let W=n.getFirstKey(e.focusedKey,pa(D));e.setFocusedKey(W),pa(D)&&D.shiftKey&&e.selectionMode==="multiple"?e.extendSelection(W):s&&e.replaceSelection(W)}break;case"End":if(n.getLastKey){D.preventDefault();let W=n.getLastKey(e.focusedKey,pa(D));e.setFocusedKey(W),pa(D)&&D.shiftKey&&e.selectionMode==="multiple"?e.extendSelection(W):s&&e.replaceSelection(W)}break;case"PageDown":if(n.getKeyPageBelow){let W=n.getKeyPageBelow(e.focusedKey);W!=null&&(D.preventDefault(),S(W))}break;case"PageUp":if(n.getKeyPageAbove){let W=n.getKeyPageAbove(e.focusedKey);W!=null&&(D.preventDefault(),S(W))}break;case"a":pa(D)&&e.selectionMode==="multiple"&&o!==!0&&(D.preventDefault(),e.selectAll());break;case"Escape":!a&&e.selectedKeys.size!==0&&(D.stopPropagation(),D.preventDefault(),e.clearSelection());break;case"Tab":if(!f){if(D.shiftKey)r.current.focus();else{let W=ht(r.current,{tabbable:!0}),re,fe;do fe=W.lastChild(),fe&&(re=fe);while(fe);re&&!re.contains(document.activeElement)&&en(re)}break}}},"onKeyDown"),y=(0,wp.element.useRef)({top:0,left:0});mr(p,"scroll",h?null:()=>{y.current={top:p.current.scrollTop,left:p.current.scrollLeft}});let $=u(D=>{if(e.isFocused){D.currentTarget.contains(D.target)||e.setFocused(!1);return}if(D.currentTarget.contains(D.target)){if(e.setFocused(!0),e.focusedKey==null){let A=u(T=>{T!=null&&(e.setFocusedKey(T),s&&e.replaceSelection(T))},"navigateToFirstKey"),B=D.relatedTarget;var S,E;B&&D.currentTarget.compareDocumentPosition(B)&Node.DOCUMENT_POSITION_FOLLOWING?A((S=e.lastSelectedKey)!==null&&S!==void 0?S:n.getLastKey()):A((E=e.firstSelectedKey)!==null&&E!==void 0?E:n.getFirstKey())}else h||(p.current.scrollTop=y.current.top,p.current.scrollLeft=y.current.left);if(e.focusedKey!=null){let A=p.current.querySelector(`[data-key="${CSS.escape(e.focusedKey.toString())}"]`);A&&(A.contains(document.activeElement)||en(A),zc()==="keyboard"&&Qc(A,{containingElement:r.current}))}}},"onFocus"),C=u(D=>{D.currentTarget.contains(D.relatedTarget)||e.setFocused(!1)},"onBlur");const w=(0,wp.element.useRef)(i);(0,wp.element.useEffect)(()=>{if(w.current){let D=null;i==="first"&&(D=n.getFirstKey()),i==="last"&&(D=n.getLastKey());let S=e.selectedKeys;if(S.size){for(let E of S)if(e.canSelectItem(E)){D=E;break}}e.setFocused(!0),e.setFocusedKey(D),D==null&&!d&&Fi(r.current)}},[]);let x=(0,wp.element.useRef)(e.focusedKey);(0,wp.element.useEffect)(()=>{if(e.isFocused&&e.focusedKey!=null&&(e.focusedKey!==x.current||w.current)&&p?.current){let D=zc(),S=r.current.querySelector(`[data-key="${CSS.escape(e.focusedKey.toString())}"]`);if(!S)return;(D==="keyboard"||w.current)&&(g3(p.current,S),D!=="virtual"&&Qc(S,{containingElement:r.current}))}!d&&e.isFocused&&e.focusedKey==null&&x.current!=null&&Fi(r.current),x.current=e.focusedKey,w.current=!1}),mr(r,"react-aria-focus-scope-restore",D=>{D.preventDefault(),e.setFocused(!0)});let P={onKeyDown:b,onFocus:$,onBlur:C,onMouseDown(D){p.current===D.target&&D.preventDefault()}},{typeSelectProps:v}=rD({keyboardDelegate:n,selectionManager:e});c||(P=te(v,P));let k;return d||(k=e.focusedKey==null?0:-1),{collectionProps:{...P,tabIndex:k}}}u(iD,"$ae20dd8cbca75726$export$d6daf82dcd84e87c");function xV(t){let{selectionManager:e,key:n,ref:r,shouldSelectOnPressUp:i,shouldUseVirtualFocus:l,focus:a,isDisabled:o,onAction:s,allowsDifferentPressOrigin:c,linkBehavior:d="action"}=t,f=Tc(),h=u(M=>{if(M.pointerType==="keyboard"&&wg(M))e.toggleSelection(n);else{if(e.selectionMode==="none")return;if(e.isLink(n)){if(d==="selection"){let N=e.getItemProps(n);f.open(r.current,M,N.href,N.routerOptions),e.setSelectedKeys(e.selectedKeys);return}else if(d==="override"||d==="none")return}e.selectionMode==="single"?e.isSelected(n)&&!e.disallowEmptySelection?e.toggleSelection(n):e.replaceSelection(n):M&&M.shiftKey?e.extendSelection(n):e.selectionBehavior==="toggle"||M&&(pa(M)||M.pointerType==="touch"||M.pointerType==="virtual")?e.toggleSelection(n):e.replaceSelection(n)}},"onSelect");(0,wp.element.useEffect)(()=>{n===e.focusedKey&&e.isFocused&&!l&&(a?a():document.activeElement!==r.current&&Fi(r.current))},[r,n,e.focusedKey,e.childFocusStrategy,e.isFocused,l]),o=o||e.isDisabled(n);let p={};!l&&!o?p={tabIndex:n===e.focusedKey?0:-1,onFocus(M){M.target===r.current&&e.setFocusedKey(n)}}:o&&(p.onMouseDown=M=>{M.preventDefault()});let m=e.isLink(n)&&d==="override",g=e.isLink(n)&&d!=="selection"&&d!=="none",O=!o&&e.canSelectItem(n)&&!m,b=(s||g)&&!o,y=b&&(e.selectionBehavior==="replace"?!O:!O||e.isEmpty),$=b&&O&&e.selectionBehavior==="replace",C=y||$,w=(0,wp.element.useRef)(null),x=C&&O,P=(0,wp.element.useRef)(!1),v=(0,wp.element.useRef)(!1),k=u(M=>{if(s&&s(),g){let N=e.getItemProps(n);f.open(r.current,M,N.href,N.routerOptions)}},"performAction"),D={};i?(D.onPressStart=M=>{w.current=M.pointerType,P.current=x,M.pointerType==="keyboard"&&(!C||aD())&&h(M)},c?(D.onPressUp=y?null:M=>{M.pointerType!=="keyboard"&&O&&h(M)},D.onPress=y?k:null):D.onPress=M=>{if(y||$&&M.pointerType!=="mouse"){if(M.pointerType==="keyboard"&&!lD())return;k(M)}else M.pointerType!=="keyboard"&&O&&h(M)}):(D.onPressStart=M=>{w.current=M.pointerType,P.current=x,v.current=y,O&&(M.pointerType==="mouse"&&!y||M.pointerType==="keyboard"&&(!b||aD()))&&h(M)},D.onPress=M=>{(M.pointerType==="touch"||M.pointerType==="pen"||M.pointerType==="virtual"||M.pointerType==="keyboard"&&C&&lD()||M.pointerType==="mouse"&&v.current)&&(C?k(M):O&&h(M))}),p["data-key"]=n,D.preventFocusOnPress=l;let{pressProps:S,isPressed:E}=gr(D),A=$?M=>{w.current==="mouse"&&(M.stopPropagation(),M.preventDefault(),k(M))}:void 0,{longPressProps:B}=M3({isDisabled:!x,onLongPress(M){M.pointerType==="touch"&&(h(M),e.setSelectionBehavior("toggle"))}}),T=u(M=>{w.current==="touch"&&P.current&&M.preventDefault()},"onDragStartCapture"),R=e.isLink(n)?M=>{Bi.isOpening||M.preventDefault()}:void 0;return{itemProps:te(p,O||y?S:{},x?B:{},{onDoubleClick:A,onDragStartCapture:T,onClick:R}),isPressed:E,isSelected:e.isSelected(n),isFocused:e.isFocused&&e.focusedKey===n,isDisabled:o,allowsSelection:O,hasAction:C}}u(xV,"$880e95eb8b93ba9a$export$ecf600387e221c37");function lD(){let t=window.event;return t?.key==="Enter"}u(lD,"$880e95eb8b93ba9a$var$isActionKey");function aD(){let t=window.event;return t?.key===" "||t?.code==="Space"}u(aD,"$880e95eb8b93ba9a$var$isSelectionKey");const T1=class T1{getItemRect(e){let n=this.ref.current,r=e!=null?n.querySelector(`[data-key="${CSS.escape(e.toString())}"]`):null;if(!r)return null;let i=n.getBoundingClientRect(),l=r.getBoundingClientRect();return{x:l.left-i.left+n.scrollLeft,y:l.top-i.top+n.scrollTop,width:l.width,height:l.height}}getContentSize(){let e=this.ref.current;return{width:e.scrollWidth,height:e.scrollHeight}}getVisibleRect(){let e=this.ref.current;return{x:e.scrollLeft,y:e.scrollTop,width:e.offsetWidth,height:e.offsetHeight}}constructor(e){this.ref=e}};u(T1,"$657e4dc4a6e88df0$export$8f5ed9ff9f511381");let bd=T1;const R1=class R1{isDisabled(e){var n;return this.disabledBehavior==="all"&&(((n=e.props)===null||n===void 0?void 0:n.isDisabled)||this.disabledKeys.has(e.key))}findNextNonDisabled(e,n){for(;e!=null;){let r=this.collection.getItem(e);if(r?.type==="item"&&!this.isDisabled(r))return e;e=n(e)}return null}getNextKey(e){return e=this.collection.getKeyAfter(e),this.findNextNonDisabled(e,n=>this.collection.getKeyAfter(n))}getPreviousKey(e){return e=this.collection.getKeyBefore(e),this.findNextNonDisabled(e,n=>this.collection.getKeyBefore(n))}findKey(e,n,r){let i=this.layoutDelegate.getItemRect(e);if(!i)return null;let l=i;do e=n(e),i=this.layoutDelegate.getItemRect(e);while(i&&r(l,i));return e}isSameRow(e,n){return e.y===n.y||e.x!==n.x}isSameColumn(e,n){return e.x===n.x||e.y!==n.y}getKeyBelow(e){return this.layout==="grid"&&this.orientation==="vertical"?this.findKey(e,n=>this.getNextKey(n),this.isSameRow):this.getNextKey(e)}getKeyAbove(e){return this.layout==="grid"&&this.orientation==="vertical"?this.findKey(e,n=>this.getPreviousKey(n),this.isSameRow):this.getPreviousKey(e)}getNextColumn(e,n){return n?this.getPreviousKey(e):this.getNextKey(e)}getKeyRightOf(e){let n=this.direction==="ltr"?"getKeyRightOf":"getKeyLeftOf";return this.layoutDelegate[n]?(e=this.layoutDelegate[n](e),this.findNextNonDisabled(e,r=>this.layoutDelegate[n](r))):this.layout==="grid"?this.orientation==="vertical"?this.getNextColumn(e,this.direction==="rtl"):this.findKey(e,r=>this.getNextColumn(r,this.direction==="rtl"),this.isSameColumn):this.orientation==="horizontal"?this.getNextColumn(e,this.direction==="rtl"):null}getKeyLeftOf(e){let n=this.direction==="ltr"?"getKeyLeftOf":"getKeyRightOf";return this.layoutDelegate[n]?(e=this.layoutDelegate[n](e),this.findNextNonDisabled(e,r=>this.layoutDelegate[n](r))):this.layout==="grid"?this.orientation==="vertical"?this.getNextColumn(e,this.direction==="ltr"):this.findKey(e,r=>this.getNextColumn(r,this.direction==="ltr"),this.isSameColumn):this.orientation==="horizontal"?this.getNextColumn(e,this.direction==="ltr"):null}getFirstKey(){let e=this.collection.getFirstKey();return this.findNextNonDisabled(e,n=>this.collection.getKeyAfter(n))}getLastKey(){let e=this.collection.getLastKey();return this.findNextNonDisabled(e,n=>this.collection.getKeyBefore(n))}getKeyPageAbove(e){let n=this.ref.current,r=this.layoutDelegate.getItemRect(e);if(!r)return null;if(!So(n))return this.getFirstKey();if(this.orientation==="horizontal"){let i=Math.max(0,r.x+r.width-this.layoutDelegate.getVisibleRect().width);for(;r&&r.x>i;)e=this.getKeyAbove(e),r=e==null?null:this.layoutDelegate.getItemRect(e)}else{let i=Math.max(0,r.y+r.height-this.layoutDelegate.getVisibleRect().height);for(;r&&r.y>i;)e=this.getKeyAbove(e),r=e==null?null:this.layoutDelegate.getItemRect(e)}return e??this.getFirstKey()}getKeyPageBelow(e){let n=this.ref.current,r=this.layoutDelegate.getItemRect(e);if(!r)return null;if(!So(n))return this.getLastKey();if(this.orientation==="horizontal"){let i=Math.min(this.layoutDelegate.getContentSize().width,r.y-r.width+this.layoutDelegate.getVisibleRect().width);for(;r&&r.xl||new es({collection:n,disabledKeys:r,disabledBehavior:s,ref:i,collator:o,layoutDelegate:a}),[l,a,n,r,i,o,s]),{collectionProps:d}=iD({...t,ref:i,selectionManager:e,keyboardDelegate:c});return{listProps:d}}u(SV,"$982254629710d113$export$b95089534ab7c1fd");function oD(t,e,n){let r=ft(t,{labelable:!0}),i=t.selectionBehavior||"toggle",l=t.linkBehavior||(i==="replace"?"action":"override");i==="toggle"&&l==="action"&&(l="override");let{listProps:a}=SV({...t,ref:n,selectionManager:e.selectionManager,collection:e.collection,disabledKeys:e.disabledKeys,linkBehavior:l}),{focusWithinProps:o}=Nt({onFocusWithin:t.onFocus,onBlurWithin:t.onBlur,onFocusWithinChange:t.onFocusChange}),s=Fe(t.id);Od.set(e,{id:s,shouldUseVirtualFocus:t.shouldUseVirtualFocus,shouldSelectOnPressUp:t.shouldSelectOnPressUp,shouldFocusOnHover:t.shouldFocusOnHover,isVirtualized:t.isVirtualized,onAction:t.onAction,linkBehavior:l});let{labelProps:c,fieldProps:d}=dd({...t,id:s,labelElementType:"span"});return{labelProps:c,listBoxProps:te(r,o,e.selectionManager.selectionMode==="multiple"?{"aria-multiselectable":"true"}:{},{role:"listbox",...te(d,a)})}}u(oD,"$c132121280ec012d$export$50eacbbf140a3141");function sD(t){return null}u(sD,"$c1d7fb2ec91bae71$var$Item"),sD.getCollectionNode=u(function*(e,n){let{childItems:r,title:i,children:l}=e,a=e.title||e.children,o=e.textValue||(typeof a=="string"?a:"")||e["aria-label"]||"";!o&&!n?.suppressTextValueWarning&&console.warn(" with non-plain text contents is unsupported by type to select for accessibility. Please add a `textValue` prop."),yield{type:"item",props:e,rendered:a,textValue:o,"aria-label":e["aria-label"],hasChildNodes:CV(e),*childNodes(){if(r)for(let s of r)yield{type:"item",value:s};else if(i){let s=[];wp.element.Children.forEach(l,c=>{s.push({type:"item",element:c})}),yield*s}}}},"getCollectionNode");function CV(t){return t.hasChildItems!=null?t.hasChildItems:!!(t.childItems||t.title&&wp.element.Children.count(t.children)>0)}u(CV,"$c1d7fb2ec91bae71$var$hasChildItems");let Sr=sD;function uD(t){return null}u(uD,"$9fc4852771d079eb$var$Section"),uD.getCollectionNode=u(function*(e){let{children:n,title:r,items:i}=e;yield{type:"section",props:e,hasChildNodes:!0,rendered:r,"aria-label":e["aria-label"],*childNodes(){if(typeof n=="function"){if(!i)throw new Error("props.children was a function but props.items is missing");for(let l of i)yield{type:"item",value:l,renderer:n}}else{let l=[];wp.element.Children.forEach(n,a=>{l.push({type:"item",element:a})}),yield*l}}}},"getCollectionNode");let DV=uD;const Q1=class Q1{build(e,n){return this.context=n,cD(()=>this.iterateCollection(e))}*iterateCollection(e){let{children:n,items:r}=e;if(wp.element.isValidElement(n)&&n.type===wp.element.Fragment)yield*this.iterateCollection({children:n.props.children,items:r});else if(typeof n=="function"){if(!r)throw new Error("props.children was a function but props.items is missing");for(let i of e.items)yield*this.getFullNode({value:i},{renderer:n})}else{let i=[];wp.element.Children.forEach(n,a=>{i.push(a)});let l=0;for(let a of i){let o=this.getFullNode({element:a,index:l},{});for(let s of o)l++,yield s}}}getKey(e,n,r,i){if(e.key!=null)return e.key;if(n.type==="cell"&&n.key!=null)return`${i}${n.key}`;let l=n.value;if(l!=null){var a;let o=(a=l.key)!==null&&a!==void 0?a:l.id;if(o==null)throw new Error("No key found for item");return o}return i?`${i}.${n.index}`:`$.${n.index}`}getChildState(e,n){return{renderer:n.renderer||e.renderer}}*getFullNode(e,n,r,i){if(wp.element.isValidElement(e.element)&&e.element.type===wp.element.Fragment){let s=[];wp.element.Children.forEach(e.element.props.children,d=>{s.push(d)});let c=e.index;for(const d of s)yield*this.getFullNode({element:d,index:c++},n,r,i);return}let l=e.element;if(!l&&e.value&&n&&n.renderer){let s=this.cache.get(e.value);if(s&&(!s.shouldInvalidate||!s.shouldInvalidate(this.context))){s.index=e.index,s.parentKey=i?i.key:null,yield s;return}l=n.renderer(e.value)}if(wp.element.isValidElement(l)){let s=l.type;if(typeof s!="function"&&typeof s.getCollectionNode!="function"){let h=typeof l.type=="function"?l.type.name:l.type;throw new Error(`Unknown element <${h}> in collection.`)}let c=s.getCollectionNode(l.props,this.context),d=e.index,f=c.next();for(;!f.done&&f.value;){let h=f.value;e.index=d;let p=h.key;p||(p=h.element?null:this.getKey(l,e,n,r));let g=[...this.getFullNode({...h,key:p,index:d,wrapper:kV(e.wrapper,h.wrapper)},this.getChildState(n,h),r?`${r}${l.key}`:l.key,i)];for(let O of g){if(O.value=h.value||e.value,O.value&&this.cache.set(O.value,O),e.type&&O.type!==e.type)throw new Error(`Unsupported type <${Sg(O.type)}> in <${Sg(i.type)}>. Only <${Sg(e.type)}> is supported.`);d++,yield O}f=c.next(g)}return}if(e.key==null)return;let a=this,o={type:e.type,props:e.props,key:e.key,parentKey:i?i.key:null,value:e.value,level:i?i.level+1:0,index:e.index,rendered:e.rendered,textValue:e.textValue,"aria-label":e["aria-label"],wrapper:e.wrapper,shouldInvalidate:e.shouldInvalidate,hasChildNodes:e.hasChildNodes,childNodes:cD(function*(){if(!e.hasChildNodes)return;let s=0;for(let c of e.childNodes()){c.key!=null&&(c.key=`${o.key}${c.key}`),c.index=s;let d=a.getFullNode(c,a.getChildState(n,c),o.key,o);for(let f of d)s++,yield f}})};yield o}constructor(){this.cache=new WeakMap}};u(Q1,"$eb2240fc39a57fa5$export$bf788dd355e3a401");let xg=Q1;function cD(t){let e=[],n=null;return{*[Symbol.iterator](){for(let r of e)yield r;n||(n=t());for(let r of n)e.push(r),yield r}}}u(cD,"$eb2240fc39a57fa5$var$iterable");function kV(t,e){if(t&&e)return n=>t(e(n));if(t)return t;if(e)return e}u(kV,"$eb2240fc39a57fa5$var$compose");function Sg(t){return t[0].toUpperCase()+t.slice(1)}u(Sg,"$eb2240fc39a57fa5$var$capitalize");function PV(t,e,n){let r=(0,wp.element.useMemo)(()=>new xg,[]),{children:i,items:l,collection:a}=t;return(0,wp.element.useMemo)(()=>{if(a)return a;let s=r.build({children:i,items:l},n);return e(s)},[r,i,l,a,n,e])}u(PV,"$7613b1592d41b092$export$6cd28814d92fa9c9");function yd(t,e){return typeof e.getChildren=="function"?e.getChildren(t.key):t.childNodes}u(yd,"$c5a24bc478652b5f$export$1005530eda016c13");function EV(t){return AV(t,0)}u(EV,"$c5a24bc478652b5f$export$fbdeaa6a76694f71");function AV(t,e){if(e<0)return;let n=0;for(let r of t){if(n===e)return r;n++}}u(AV,"$c5a24bc478652b5f$export$5f3398f8733f90e2");function Cg(t,e,n){if(e.parentKey===n.parentKey)return e.index-n.index;let r=[...dD(t,e),e],i=[...dD(t,n),n],l=r.slice(0,i.length).findIndex((a,o)=>a!==i[o]);return l!==-1?(e=r[l],n=i[l],e.index-n.index):r.findIndex(a=>a===n)>=0?1:(i.findIndex(a=>a===e)>=0,-1)}u(Cg,"$c5a24bc478652b5f$export$8c434b3a7a4dad6");function dD(t,e){let n=[];for(;e?.parentKey!=null;)e=t.getItem(e.parentKey),n.unshift(e);return n}u(dD,"$c5a24bc478652b5f$var$getAncestors");const fD=new WeakMap;function hD(t){let e=fD.get(t);if(e!=null)return e;e=0;let n=u(r=>{for(let i of r)i.type==="section"?n(yd(i,t)):e++},"countItems");return n(t),fD.set(t,e),e}u(hD,"$453cc9f0df89c0a5$export$77d5aafae4e095b2");function TV(t,e,n){var r,i;let{key:l}=t,a=Od.get(e);var o;let s=(o=t.isDisabled)!==null&&o!==void 0?o:e.selectionManager.isDisabled(l);var c;let d=(c=t.isSelected)!==null&&c!==void 0?c:e.selectionManager.isSelected(l);var f;let h=(f=t.shouldSelectOnPressUp)!==null&&f!==void 0?f:a?.shouldSelectOnPressUp;var p;let m=(p=t.shouldFocusOnHover)!==null&&p!==void 0?p:a?.shouldFocusOnHover;var g;let O=(g=t.shouldUseVirtualFocus)!==null&&g!==void 0?g:a?.shouldUseVirtualFocus;var b;let y=(b=t.isVirtualized)!==null&&b!==void 0?b:a?.isVirtualized,$=Kl(),C=Kl(),w={role:"option","aria-disabled":s||void 0,"aria-selected":e.selectionManager.selectionMode!=="none"?d:void 0};pr()&&Up()||(w["aria-label"]=t["aria-label"],w["aria-labelledby"]=$,w["aria-describedby"]=C);let x=e.collection.getItem(l);if(y){let R=Number(x?.index);w["aria-posinset"]=Number.isNaN(R)?void 0:R+1,w["aria-setsize"]=hD(e.collection)}let P=a?.onAction?()=>{var R;return a==null||(R=a.onAction)===null||R===void 0?void 0:R.call(a,l)}:void 0,{itemProps:v,isPressed:k,isFocused:D,hasAction:S,allowsSelection:E}=xV({selectionManager:e.selectionManager,key:l,ref:n,shouldSelectOnPressUp:h,allowsDifferentPressOrigin:h&&m,isVirtualized:y,shouldUseVirtualFocus:O,isDisabled:s,onAction:P||!(x==null||(r=x.props)===null||r===void 0)&&r.onAction?fr(x==null||(i=x.props)===null||i===void 0?void 0:i.onAction,P):void 0,linkBehavior:a?.linkBehavior}),{hoverProps:A}=zQ({isDisabled:s||!m,onHoverStart(){Zc()||(e.selectionManager.setFocused(!0),e.selectionManager.setFocusedKey(l))}}),B=ft(x?.props);delete B.id;let T=bQ(x?.props);return{optionProps:{...w,...te(B,v,A,T),id:nD(e,l)},labelProps:{id:$},descriptionProps:{id:C},isFocused:D,isFocusVisible:D&&Zc(),isSelected:d,isDisabled:s,isPressed:k,allowsSelection:E,hasAction:S}}u(TV,"$293f70390ea03370$export$497855f14858aa34");function RV(t){let{heading:e,"aria-label":n}=t,r=Fe();return{itemProps:{role:"presentation"},headingProps:e?{id:r,role:"presentation"}:{},groupProps:{role:"group","aria-label":n,"aria-labelledby":e?r:void 0}}}u(RV,"$af383d3bef1cfdc9$export$c3f9f39876e4bc7");var pD={};pD={longPressMessage:"\u0627\u0636\u063A\u0637 \u0645\u0637\u0648\u0644\u0627\u064B \u0623\u0648 \u0627\u0636\u063A\u0637 \u0639\u0644\u0649 Alt + \u0627\u0644\u0633\u0647\u0645 \u0644\u0623\u0633\u0641\u0644 \u0644\u0641\u062A\u062D \u0627\u0644\u0642\u0627\u0626\u0645\u0629"};var mD={};mD={longPressMessage:"\u041D\u0430\u0442\u0438\u0441\u043D\u0435\u0442\u0435 \u043F\u0440\u043E\u0434\u044A\u043B\u0436\u0438\u0442\u0435\u043B\u043D\u043E \u0438\u043B\u0438 \u043D\u0430\u0442\u0438\u0441\u043D\u0435\u0442\u0435 Alt+ \u0441\u0442\u0440\u0435\u043B\u043A\u0430 \u043D\u0430\u0434\u043E\u043B\u0443, \u0437\u0430 \u0434\u0430 \u043E\u0442\u0432\u043E\u0440\u0438\u0442\u0435 \u043C\u0435\u043D\u044E\u0442\u043E"};var gD={};gD={longPressMessage:"Dlouh\xFDm stiskem nebo stisknut\xEDm kl\xE1ves Alt + \u0161ipka dol\u016F otev\u0159ete nab\xEDdku"};var OD={};OD={longPressMessage:"Langt tryk eller tryk p\xE5 Alt + pil ned for at \xE5bne menuen"};var bD={};bD={longPressMessage:"Dr\xFCcken Sie lange oder dr\xFCcken Sie Alt + Nach-unten, um das Men\xFC zu \xF6ffnen"};var yD={};yD={longPressMessage:"\u03A0\u03B9\u03AD\u03C3\u03C4\u03B5 \u03C0\u03B1\u03C1\u03B1\u03C4\u03B5\u03C4\u03B1\u03BC\u03AD\u03BD\u03B1 \u03AE \u03C0\u03B1\u03C4\u03AE\u03C3\u03C4\u03B5 Alt + \u03BA\u03AC\u03C4\u03C9 \u03B2\u03AD\u03BB\u03BF\u03C2 \u03B3\u03B9\u03B1 \u03BD\u03B1 \u03B1\u03BD\u03BF\u03AF\u03BE\u03B5\u03C4\u03B5 \u03C4\u03BF \u03BC\u03B5\u03BD\u03BF\u03CD"};var vD={};vD={longPressMessage:"Long press or press Alt + ArrowDown to open menu"};var $D={};$D={longPressMessage:"Mantenga pulsado o pulse Alt + flecha abajo para abrir el men\xFA"};var wD={};wD={longPressMessage:"Men\xFC\xFC avamiseks vajutage pikalt v\xF5i vajutage klahve Alt + allanool"};var xD={};xD={longPressMessage:"Avaa valikko painamalla pohjassa tai n\xE4pp\xE4inyhdistelm\xE4ll\xE4 Alt + Alanuoli"};var SD={};SD={longPressMessage:"Appuyez de mani\xE8re prolong\xE9e ou appuyez sur Alt\xA0+\xA0Fl\xE8che vers le bas pour ouvrir le menu."};var CD={};CD={longPressMessage:"\u05DC\u05D7\u05E5 \u05DC\u05D7\u05D9\u05E6\u05D4 \u05D0\u05E8\u05D5\u05DB\u05D4 \u05D0\u05D5 \u05D4\u05E7\u05E9 Alt + ArrowDown \u05DB\u05D3\u05D9 \u05DC\u05E4\u05EA\u05D5\u05D7 \u05D0\u05EA \u05D4\u05EA\u05E4\u05E8\u05D9\u05D8"};var DD={};DD={longPressMessage:"Dugo pritisnite ili pritisnite Alt + strelicu prema dolje za otvaranje izbornika"};var kD={};kD={longPressMessage:"Nyomja meg hosszan, vagy nyomja meg az Alt + lefele ny\xEDl gombot a men\xFC megnyit\xE1s\xE1hoz"};var PD={};PD={longPressMessage:"Premere a lungo o premere Alt + Freccia gi\xF9 per aprire il menu"};var ED={};ED={longPressMessage:"\u9577\u62BC\u3057\u307E\u305F\u306F Alt+\u4E0B\u77E2\u5370\u30AD\u30FC\u3067\u30E1\u30CB\u30E5\u30FC\u3092\u958B\u304F"};var AD={};AD={longPressMessage:"\uAE38\uAC8C \uB204\uB974\uAC70\uB098 Alt + \uC544\uB798\uCABD \uD654\uC0B4\uD45C\uB97C \uB20C\uB7EC \uBA54\uB274 \uC5F4\uAE30"};var TD={};TD={longPressMessage:"Nor\u0117dami atidaryti meniu, nuspaud\u0119 palaikykite arba paspauskite \u201EAlt + ArrowDown\u201C."};var RD={};RD={longPressMessage:"Lai atv\u0113rtu izv\u0113lni, turiet nospiestu vai nospiediet tausti\u0146u kombin\u0101ciju Alt + lejupv\u0113rst\u0101 bulti\u0146a"};var QD={};QD={longPressMessage:"Langt trykk eller trykk Alt + PilNed for \xE5 \xE5pne menyen"};var MD={};MD={longPressMessage:"Druk lang op Alt + pijl-omlaag of druk op Alt om het menu te openen"};var BD={};BD={longPressMessage:"Naci\u015Bnij i przytrzymaj lub naci\u015Bnij klawisze Alt + Strza\u0142ka w d\xF3\u0142, aby otworzy\u0107 menu"};var VD={};VD={longPressMessage:"Pressione e segure ou pressione Alt + Seta para baixo para abrir o menu"};var ND={};ND={longPressMessage:"Prima continuamente ou prima Alt + Seta Para Baixo para abrir o menu"};var FD={};FD={longPressMessage:"Ap\u0103sa\u021Bi lung sau ap\u0103sa\u021Bi pe Alt + s\u0103geat\u0103 \xEEn jos pentru a deschide meniul"};var ID={};ID={longPressMessage:"\u041D\u0430\u0436\u043C\u0438\u0442\u0435 \u0438 \u0443\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0439\u0442\u0435 \u0438\u043B\u0438 \u043D\u0430\u0436\u043C\u0438\u0442\u0435 Alt + \u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u043D\u0438\u0437, \u0447\u0442\u043E\u0431\u044B \u043E\u0442\u043A\u0440\u044B\u0442\u044C \u043C\u0435\u043D\u044E"};var ZD={};ZD={longPressMessage:"Ponuku otvor\xEDte dlh\xFDm stla\u010Den\xEDm alebo stla\u010Den\xEDm kl\xE1vesu Alt + kl\xE1vesu so \u0161\xEDpkou nadol"};var zD={};zD={longPressMessage:"Za odprtje menija pritisnite in dr\u017Eite gumb ali pritisnite Alt+pu\u0161\u010Dica navzdol"};var LD={};LD={longPressMessage:"Dugo pritisnite ili pritisnite Alt + strelicu prema dole da otvorite meni"};var WD={};WD={longPressMessage:"H\xE5ll nedtryckt eller tryck p\xE5 Alt + pil ned\xE5t f\xF6r att \xF6ppna menyn"};var XD={};XD={longPressMessage:"Men\xFCy\xFC a\xE7mak i\xE7in uzun bas\u0131n veya Alt + A\u015Fa\u011F\u0131 Ok tu\u015Funa bas\u0131n"};var jD={};jD={longPressMessage:"\u0414\u043E\u0432\u0433\u043E \u0430\u0431\u043E \u0437\u0432\u0438\u0447\u0430\u0439\u043D\u043E \u043D\u0430\u0442\u0438\u0441\u043D\u0456\u0442\u044C \u043A\u043E\u043C\u0431\u0456\u043D\u0430\u0446\u0456\u044E \u043A\u043B\u0430\u0432\u0456\u0448 Alt \u0456 \u0441\u0442\u0440\u0456\u043B\u043A\u0430 \u0432\u043D\u0438\u0437, \u0449\u043E\u0431 \u0432\u0456\u0434\u043A\u0440\u0438\u0442\u0438 \u043C\u0435\u043D\u044E"};var qD={};qD={longPressMessage:"\u957F\u6309\u6216\u6309 Alt + \u5411\u4E0B\u65B9\u5411\u952E\u4EE5\u6253\u5F00\u83DC\u5355"};var UD={};UD={longPressMessage:"\u9577\u6309\u6216\u6309 Alt+\u5411\u4E0B\u9375\u4EE5\u958B\u555F\u529F\u80FD\u8868"};var YD={};YD={"ar-AE":pD,"bg-BG":mD,"cs-CZ":gD,"da-DK":OD,"de-DE":bD,"el-GR":yD,"en-US":vD,"es-ES":$D,"et-EE":wD,"fi-FI":xD,"fr-FR":SD,"he-IL":CD,"hr-HR":DD,"hu-HU":kD,"it-IT":PD,"ja-JP":ED,"ko-KR":AD,"lt-LT":TD,"lv-LV":RD,"nb-NO":QD,"nl-NL":MD,"pl-PL":BD,"pt-BR":VD,"pt-PT":ND,"ro-RO":FD,"ru-RU":ID,"sk-SK":ZD,"sl-SI":zD,"sr-SP":LD,"sv-SE":WD,"tr-TR":XD,"uk-UA":jD,"zh-CN":qD,"zh-TW":UD};function QV(t){return t&&t.__esModule?t.default:t}u(QV,"$parcel$interopDefault$6");function KD(t,e,n){let{type:r="menu",isDisabled:i,trigger:l="press"}=t,a=Fe(),{triggerProps:o,overlayProps:s}=Go({type:r},e,n),c=u(p=>{if(!i&&!(l==="longPress"&&!p.altKey)&&n&&n.current)switch(p.key){case"Enter":case" ":if(l==="longPress")return;case"ArrowDown":"continuePropagation"in p||p.stopPropagation(),p.preventDefault(),e.toggle("first");break;case"ArrowUp":"continuePropagation"in p||p.stopPropagation(),p.preventDefault(),e.toggle("last");break;default:"continuePropagation"in p&&p.continuePropagation()}},"onKeyDown"),d=Ft(QV(YD),"@react-aria/menu"),{longPressProps:f}=M3({isDisabled:i||l!=="longPress",accessibilityDescription:d.format("longPressMessage"),onLongPressStart(){e.close()},onLongPress(){e.open("first")}}),h={onPressStart(p){p.pointerType!=="touch"&&p.pointerType!=="keyboard"&&!i&&e.open(p.pointerType==="virtual"?"first":null)},onPress(p){p.pointerType==="touch"&&!i&&e.toggle()}};return delete o.onPress,{menuTriggerProps:{...o,...l==="press"?h:f,id:a,onKeyDown:c},menuProps:{...s,"aria-labelledby":a,autoFocus:e.focusStrategy||!0,onClose:e.close}}}u(KD,"$168583247155ddda$export$dc9c12ed27dd1b49");function MV(t){return t&&t.__esModule?t.default:t}u(MV,"$parcel$interopDefault$5");function BV(t,e){let{buttonRef:n,popoverRef:r,inputRef:i,listBoxRef:l,keyboardDelegate:a,layoutDelegate:o,shouldFocusWrap:s,isReadOnly:c,isDisabled:d}=t,f=Ft(MV(iC),"@react-aria/combobox"),{menuTriggerProps:h,menuProps:p}=KD({type:"listbox",isDisabled:d||c},e,n);Od.set(e,{id:p.id});let{collection:m}=e,{disabledKeys:g}=e.selectionManager,O=(0,wp.element.useMemo)(()=>a||new es({collection:m,disabledKeys:g,ref:l,layoutDelegate:o}),[a,o,m,g,l]),{collectionProps:b}=iD({selectionManager:e.selectionManager,keyboardDelegate:O,disallowTypeAhead:!0,disallowEmptySelection:!0,shouldFocusWrap:s,ref:i,isVirtualized:!0}),y=Tc(),$=u(J=>{if(!J.nativeEvent.isComposing)switch(J.key){case"Enter":case"Tab":if(e.isOpen&&J.key==="Enter"&&J.preventDefault(),e.isOpen&&e.selectionManager.focusedKey!=null&&e.selectionManager.isLink(e.selectionManager.focusedKey)){if(J.key==="Enter"){let le=l.current.querySelector(`[data-key="${CSS.escape(e.selectionManager.focusedKey.toString())}"]`);if(le instanceof HTMLAnchorElement){let Ve=e.collection.getItem(e.selectionManager.focusedKey);y.open(le,J,Ve.props.href,Ve.props.routerOptions)}}e.close()}else e.commit();break;case"Escape":(e.selectedKey!==null||e.inputValue===""||t.allowsCustomValue)&&J.continuePropagation(),e.revert();break;case"ArrowDown":e.open("first","manual");break;case"ArrowUp":e.open("last","manual");break;case"ArrowLeft":case"ArrowRight":e.selectionManager.setFocusedKey(null);break}},"onKeyDown"),C=u(J=>{var le;let Ve=n?.current&&n.current===J.relatedTarget,Ue=(le=r.current)===null||le===void 0?void 0:le.contains(J.relatedTarget);Ve||Ue||(t.onBlur&&t.onBlur(J),e.setFocused(!1))},"onBlur"),w=u(J=>{e.isFocused||(t.onFocus&&t.onFocus(J),e.setFocused(!0))},"onFocus"),{isInvalid:x,validationErrors:P,validationDetails:v}=e.displayValidation,{labelProps:k,inputProps:D,descriptionProps:S,errorMessageProps:E}=wr({...t,onChange:e.setInputValue,onKeyDown:c?t.onKeyDown:fr(e.isOpen&&b.onKeyDown,$,t.onKeyDown),onBlur:C,value:e.inputValue,onFocus:w,autoComplete:"off",validate:void 0,[_r]:e},i),A=u(J=>{J.pointerType==="touch"&&(i.current.focus(),e.toggle(null,"manual"))},"onPress"),B=u(J=>{J.pointerType!=="touch"&&(i.current.focus(),e.toggle(J.pointerType==="keyboard"||J.pointerType==="virtual"?"first":null,"manual"))},"onPressStart"),T=Mn({id:h.id,"aria-label":f.format("buttonLabel"),"aria-labelledby":t["aria-labelledby"]||k.id}),R=Mn({id:p.id,"aria-label":f.format("listboxLabel"),"aria-labelledby":t["aria-labelledby"]||k.id}),M=(0,wp.element.useRef)(0),N=u(J=>{if(d||c)return;if(J.timeStamp-M.current<500){J.preventDefault(),i.current.focus();return}let le=J.target.getBoundingClientRect(),Ve=J.changedTouches[0],Ue=Math.ceil(le.left+.5*le.width),ur=Math.ceil(le.top+.5*le.height);Ve.clientX===Ue&&Ve.clientY===ur&&(J.preventDefault(),i.current.focus(),e.toggle(null,"manual"),M.current=J.timeStamp)},"onTouchEnd"),I=e.selectionManager.focusedKey!=null&&e.isOpen?e.collection.getItem(e.selectionManager.focusedKey):void 0;var F;let V=(F=I?.parentKey)!==null&&F!==void 0?F:null;var Z;let _=(Z=e.selectionManager.focusedKey)!==null&&Z!==void 0?Z:null,W=(0,wp.element.useRef)(V),re=(0,wp.element.useRef)(_);(0,wp.element.useEffect)(()=>{if(Ec()&&I!=null&&_!==re.current){let J=e.selectionManager.isSelected(_),le=V!=null?e.collection.getItem(V):null,Ve=le?.["aria-label"]||(typeof le?.rendered=="string"?le.rendered:"")||"",Ue=f.format("focusAnnouncement",{isGroupChange:le&&V!==W.current,groupTitle:Ve,groupCount:le?[...yd(le,e.collection)].length:0,optionText:I["aria-label"]||I.textValue||"",isSelected:J});oa(Ue)}W.current=V,re.current=_});let fe=hD(e.collection),L=(0,wp.element.useRef)(fe),ie=(0,wp.element.useRef)(e.isOpen);(0,wp.element.useEffect)(()=>{let J=e.isOpen!==ie.current&&(e.selectionManager.focusedKey==null||Ec());if(e.isOpen&&(J||fe!==L.current)){let le=f.format("countAnnouncement",{optionCount:fe});oa(le)}L.current=fe,ie.current=e.isOpen});let he=(0,wp.element.useRef)(e.selectedKey);return(0,wp.element.useEffect)(()=>{if(Ec()&&e.isFocused&&e.selectedItem&&e.selectedKey!==he.current){let J=e.selectedItem["aria-label"]||e.selectedItem.textValue||"",le=f.format("selectedAnnouncement",{optionText:J});oa(le)}he.current=e.selectedKey}),(0,wp.element.useEffect)(()=>{if(e.isOpen)return $g([i.current,r.current])},[e.isOpen,i,r]),{labelProps:k,buttonProps:{...h,...T,excludeFromTabOrder:!0,preventFocusOnPress:!0,onPress:A,onPressStart:B,isDisabled:d||c},inputProps:te(D,{role:"combobox","aria-expanded":h["aria-expanded"],"aria-controls":e.isOpen?p.id:void 0,"aria-autocomplete":"list","aria-activedescendant":I?nD(e,I.key):void 0,onTouchEnd:N,autoCorrect:"off",spellCheck:"false"}),listBoxProps:te(p,R,{autoFocus:e.focusStrategy,shouldUseVirtualFocus:!0,shouldSelectOnPressUp:!0,shouldFocusOnHover:!0,linkBehavior:"selection"}),descriptionProps:S,errorMessageProps:E,isInvalid:x,validationErrors:P,validationDetails:v}}u(BV,"$c350ade66beef0af$export$8c18d1b4f7232bbf");var GD={};GD={calendar:"\u0627\u0644\u062A\u0642\u0648\u064A\u0645",day:"\u064A\u0648\u0645",dayPeriod:"\u0635/\u0645",endDate:"\u062A\u0627\u0631\u064A\u062E \u0627\u0644\u0627\u0646\u062A\u0647\u0627\u0621",era:"\u0627\u0644\u0639\u0635\u0631",hour:"\u0627\u0644\u0633\u0627\u0639\u0627\u062A",minute:"\u0627\u0644\u062F\u0642\u0627\u0626\u0642",month:"\u0627\u0644\u0634\u0647\u0631",second:"\u0627\u0644\u062B\u0648\u0627\u0646\u064A",selectedDateDescription:t=>`\u062A\u0627\u0631\u064A\u062E \u0645\u062D\u062F\u062F: ${t.date}`,selectedRangeDescription:t=>`\u0627\u0644\u0645\u062F\u0649 \u0627\u0644\u0632\u0645\u0646\u064A \u0627\u0644\u0645\u062D\u062F\u062F: ${t.startDate} \u0625\u0644\u0649 ${t.endDate}`,selectedTimeDescription:t=>`\u0627\u0644\u0648\u0642\u062A \u0627\u0644\u0645\u062D\u062F\u062F: ${t.time}`,startDate:"\u062A\u0627\u0631\u064A\u062E \u0627\u0644\u0628\u062F\u0621",timeZoneName:"\u0627\u0644\u062A\u0648\u0642\u064A\u062A",weekday:"\u0627\u0644\u064A\u0648\u0645",year:"\u0627\u0644\u0633\u0646\u0629"};var HD={};HD={calendar:"\u041A\u0430\u043B\u0435\u043D\u0434\u0430\u0440",day:"\u0434\u0435\u043D",dayPeriod:"\u043F\u0440.\u043E\u0431./\u0441\u043B.\u043E\u0431.",endDate:"\u041A\u0440\u0430\u0439\u043D\u0430 \u0434\u0430\u0442\u0430",era:"\u0435\u0440\u0430",hour:"\u0447\u0430\u0441",minute:"\u043C\u0438\u043D\u0443\u0442\u0430",month:"\u043C\u0435\u0441\u0435\u0446",second:"\u0441\u0435\u043A\u0443\u043D\u0434\u0430",selectedDateDescription:t=>`\u0418\u0437\u0431\u0440\u0430\u043D\u0430 \u0434\u0430\u0442\u0430: ${t.date}`,selectedRangeDescription:t=>`\u0418\u0437\u0431\u0440\u0430\u043D \u0434\u0438\u0430\u043F\u0430\u0437\u043E\u043D: ${t.startDate} \u0434\u043E ${t.endDate}`,selectedTimeDescription:t=>`\u0418\u0437\u0431\u0440\u0430\u043D\u043E \u0432\u0440\u0435\u043C\u0435: ${t.time}`,startDate:"\u041D\u0430\u0447\u0430\u043B\u043D\u0430 \u0434\u0430\u0442\u0430",timeZoneName:"\u0447\u0430\u0441\u043E\u0432\u0430 \u0437\u043E\u043D\u0430",weekday:"\u0434\u0435\u043D \u043E\u0442 \u0441\u0435\u0434\u043C\u0438\u0446\u0430\u0442\u0430",year:"\u0433\u043E\u0434\u0438\u043D\u0430"};var _D={};_D={calendar:"Kalend\xE1\u0159",day:"den",dayPeriod:"\u010D\xE1st dne",endDate:"Kone\u010Dn\xE9 datum",era:"letopo\u010Det",hour:"hodina",minute:"minuta",month:"m\u011Bs\xEDc",second:"sekunda",selectedDateDescription:t=>`Vybran\xE9 datum: ${t.date}`,selectedRangeDescription:t=>`Vybran\xE9 obdob\xED: ${t.startDate} a\u017E ${t.endDate}`,selectedTimeDescription:t=>`Vybran\xFD \u010Das: ${t.time}`,startDate:"Po\u010D\xE1te\u010Dn\xED datum",timeZoneName:"\u010Dasov\xE9 p\xE1smo",weekday:"den v t\xFDdnu",year:"rok"};var JD={};JD={calendar:"Kalender",day:"dag",dayPeriod:"AM/PM",endDate:"Slutdato",era:"\xE6ra",hour:"time",minute:"minut",month:"m\xE5ned",second:"sekund",selectedDateDescription:t=>`Valgt dato: ${t.date}`,selectedRangeDescription:t=>`Valgt interval: ${t.startDate} til ${t.endDate}`,selectedTimeDescription:t=>`Valgt tidspunkt: ${t.time}`,startDate:"Startdato",timeZoneName:"tidszone",weekday:"ugedag",year:"\xE5r"};var e2={};e2={calendar:"Kalender",day:"Tag",dayPeriod:"Tagesh\xE4lfte",endDate:"Enddatum",era:"Epoche",hour:"Stunde",minute:"Minute",month:"Monat",second:"Sekunde",selectedDateDescription:t=>`Ausgew\xE4hltes Datum: ${t.date}`,selectedRangeDescription:t=>`Ausgew\xE4hlter Bereich: ${t.startDate} bis ${t.endDate}`,selectedTimeDescription:t=>`Ausgew\xE4hlte Zeit: ${t.time}`,startDate:"Anfangsdatum",timeZoneName:"Zeitzone",weekday:"Wochentag",year:"Jahr"};var t2={};t2={calendar:"\u0397\u03BC\u03B5\u03C1\u03BF\u03BB\u03CC\u03B3\u03B9\u03BF",day:"\u03B7\u03BC\u03AD\u03C1\u03B1",dayPeriod:"\u03C0.\u03BC./\u03BC.\u03BC.",endDate:"\u0397\u03BC\u03B5\u03C1\u03BF\u03BC\u03B7\u03BD\u03AF\u03B1 \u03BB\u03AE\u03BE\u03B7\u03C2",era:"\u03C0\u03B5\u03C1\u03AF\u03BF\u03B4\u03BF\u03C2",hour:"\u03CE\u03C1\u03B1",minute:"\u03BB\u03B5\u03C0\u03C4\u03CC",month:"\u03BC\u03AE\u03BD\u03B1\u03C2",second:"\u03B4\u03B5\u03C5\u03C4\u03B5\u03C1\u03CC\u03BB\u03B5\u03C0\u03C4\u03BF",selectedDateDescription:t=>`\u0395\u03C0\u03B9\u03BB\u03B5\u03B3\u03BC\u03AD\u03BD\u03B7 \u03B7\u03BC\u03B5\u03C1\u03BF\u03BC\u03B7\u03BD\u03AF\u03B1: ${t.date}`,selectedRangeDescription:t=>`\u0395\u03C0\u03B9\u03BB\u03B5\u03B3\u03BC\u03AD\u03BD\u03BF \u03B5\u03CD\u03C1\u03BF\u03C2: ${t.startDate} \u03AD\u03C9\u03C2 ${t.endDate}`,selectedTimeDescription:t=>`\u0395\u03C0\u03B9\u03BB\u03B5\u03B3\u03BC\u03AD\u03BD\u03B7 \u03CE\u03C1\u03B1: ${t.time}`,startDate:"\u0397\u03BC\u03B5\u03C1\u03BF\u03BC\u03B7\u03BD\u03AF\u03B1 \u03AD\u03BD\u03B1\u03C1\u03BE\u03B7\u03C2",timeZoneName:"\u03B6\u03CE\u03BD\u03B7 \u03CE\u03C1\u03B1\u03C2",weekday:"\u03BA\u03B1\u03B8\u03B7\u03BC\u03B5\u03C1\u03B9\u03BD\u03AE",year:"\u03AD\u03C4\u03BF\u03C2"};var n2={};n2={era:"era",year:"year",month:"month",day:"day",hour:"hour",minute:"minute",second:"second",dayPeriod:"AM/PM",calendar:"Calendar",startDate:"Start Date",endDate:"End Date",weekday:"day of the week",timeZoneName:"time zone",selectedDateDescription:t=>`Selected Date: ${t.date}`,selectedRangeDescription:t=>`Selected Range: ${t.startDate} to ${t.endDate}`,selectedTimeDescription:t=>`Selected Time: ${t.time}`};var r2={};r2={calendar:"Calendario",day:"d\xEDa",dayPeriod:"a.\xA0m./p.\xA0m.",endDate:"Fecha final",era:"era",hour:"hora",minute:"minuto",month:"mes",second:"segundo",selectedDateDescription:t=>`Fecha seleccionada: ${t.date}`,selectedRangeDescription:t=>`Rango seleccionado: ${t.startDate} a ${t.endDate}`,selectedTimeDescription:t=>`Hora seleccionada: ${t.time}`,startDate:"Fecha de inicio",timeZoneName:"zona horaria",weekday:"d\xEDa de la semana",year:"a\xF1o"};var i2={};i2={calendar:"Kalender",day:"p\xE4ev",dayPeriod:"enne/p\xE4rast l\xF5unat",endDate:"L\xF5ppkuup\xE4ev",era:"ajastu",hour:"tund",minute:"minut",month:"kuu",second:"sekund",selectedDateDescription:t=>`Valitud kuup\xE4ev: ${t.date}`,selectedRangeDescription:t=>`Valitud vahemik: ${t.startDate} kuni ${t.endDate}`,selectedTimeDescription:t=>`Valitud aeg: ${t.time}`,startDate:"Alguskuup\xE4ev",timeZoneName:"ajav\xF6\xF6nd",weekday:"n\xE4dalap\xE4ev",year:"aasta"};var l2={};l2={calendar:"Kalenteri",day:"p\xE4iv\xE4",dayPeriod:"vuorokaudenaika",endDate:"P\xE4\xE4ttymisp\xE4iv\xE4",era:"aikakausi",hour:"tunti",minute:"minuutti",month:"kuukausi",second:"sekunti",selectedDateDescription:t=>`Valittu p\xE4iv\xE4m\xE4\xE4r\xE4: ${t.date}`,selectedRangeDescription:t=>`Valittu aikav\xE4li: ${t.startDate} \u2013 ${t.endDate}`,selectedTimeDescription:t=>`Valittu aika: ${t.time}`,startDate:"Alkamisp\xE4iv\xE4",timeZoneName:"aikavy\xF6hyke",weekday:"viikonp\xE4iv\xE4",year:"vuosi"};var a2={};a2={calendar:"Calendrier",day:"jour",dayPeriod:"cadran",endDate:"Date de fin",era:"\xE8re",hour:"heure",minute:"minute",month:"mois",second:"seconde",selectedDateDescription:t=>`Date s\xE9lectionn\xE9e\xA0: ${t.date}`,selectedRangeDescription:t=>`Plage s\xE9lectionn\xE9e\xA0: ${t.startDate} au ${t.endDate}`,selectedTimeDescription:t=>`Heure choisie\xA0: ${t.time}`,startDate:"Date de d\xE9but",timeZoneName:"fuseau horaire",weekday:"jour de la semaine",year:"ann\xE9e"};var o2={};o2={calendar:"\u05DC\u05D5\u05D7 \u05E9\u05E0\u05D4",day:"\u05D9\u05D5\u05DD",dayPeriod:"\u05DC\u05E4\u05E0\u05D4\u05F4\u05E6/\u05D0\u05D7\u05D4\u05F4\u05E6",endDate:"\u05EA\u05D0\u05E8\u05D9\u05DA \u05E1\u05D9\u05D5\u05DD",era:"\u05EA\u05E7\u05D5\u05E4\u05D4",hour:"\u05E9\u05E2\u05D4",minute:"\u05D3\u05E7\u05D4",month:"\u05D7\u05D5\u05D3\u05E9",second:"\u05E9\u05E0\u05D9\u05D9\u05D4",selectedDateDescription:t=>`\u05EA\u05D0\u05E8\u05D9\u05DA \u05E0\u05D1\u05D7\u05E8: ${t.date}`,selectedRangeDescription:t=>`\u05D8\u05D5\u05D5\u05D7 \u05E0\u05D1\u05D7\u05E8: ${t.startDate} \u05E2\u05D3 ${t.endDate}`,selectedTimeDescription:t=>`\u05D6\u05DE\u05DF \u05E0\u05D1\u05D7\u05E8: ${t.time}`,startDate:"\u05EA\u05D0\u05E8\u05D9\u05DA \u05D4\u05EA\u05D7\u05DC\u05D4",timeZoneName:"\u05D0\u05D6\u05D5\u05E8 \u05D6\u05DE\u05DF",weekday:"\u05D9\u05D5\u05DD \u05D1\u05E9\u05D1\u05D5\u05E2",year:"\u05E9\u05E0\u05D4"};var s2={};s2={calendar:"Kalendar",day:"dan",dayPeriod:"AM/PM",endDate:"Datum zavr\u0161etka",era:"era",hour:"sat",minute:"minuta",month:"mjesec",second:"sekunda",selectedDateDescription:t=>`Odabrani datum: ${t.date}`,selectedRangeDescription:t=>`Odabrani raspon: ${t.startDate} do ${t.endDate}`,selectedTimeDescription:t=>`Odabrano vrijeme: ${t.time}`,startDate:"Datum po\u010Detka",timeZoneName:"vremenska zona",weekday:"dan u tjednu",year:"godina"};var u2={};u2={calendar:"Napt\xE1r",day:"nap",dayPeriod:"napszak",endDate:"Befejez\u0151 d\xE1tum",era:"\xE9ra",hour:"\xF3ra",minute:"perc",month:"h\xF3nap",second:"m\xE1sodperc",selectedDateDescription:t=>`Kijel\xF6lt d\xE1tum: ${t.date}`,selectedRangeDescription:t=>`Kijel\xF6lt tartom\xE1ny: ${t.startDate}\u2013${t.endDate}`,selectedTimeDescription:t=>`Kijel\xF6lt id\u0151: ${t.time}`,startDate:"Kezd\u0151 d\xE1tum",timeZoneName:"id\u0151z\xF3na",weekday:"h\xE9t napja",year:"\xE9v"};var c2={};c2={calendar:"Calendario",day:"giorno",dayPeriod:"AM/PM",endDate:"Data finale",era:"era",hour:"ora",minute:"minuto",month:"mese",second:"secondo",selectedDateDescription:t=>`Data selezionata: ${t.date}`,selectedRangeDescription:t=>`Intervallo selezionato: da ${t.startDate} a ${t.endDate}`,selectedTimeDescription:t=>`Ora selezionata: ${t.time}`,startDate:"Data iniziale",timeZoneName:"fuso orario",weekday:"giorno della settimana",year:"anno"};var d2={};d2={calendar:"\u30AB\u30EC\u30F3\u30C0\u30FC",day:"\u65E5",dayPeriod:"\u5348\u524D/\u5348\u5F8C",endDate:"\u7D42\u4E86\u65E5",era:"\u6642\u4EE3",hour:"\u6642",minute:"\u5206",month:"\u6708",second:"\u79D2",selectedDateDescription:t=>`\u9078\u629E\u3057\u305F\u65E5\u4ED8 : ${t.date}`,selectedRangeDescription:t=>`\u9078\u629E\u7BC4\u56F2 : ${t.startDate} \u304B\u3089 ${t.endDate}`,selectedTimeDescription:t=>`\u9078\u629E\u3057\u305F\u6642\u9593 : ${t.time}`,startDate:"\u958B\u59CB\u65E5",timeZoneName:"\u30BF\u30A4\u30E0\u30BE\u30FC\u30F3",weekday:"\u66DC\u65E5",year:"\u5E74"};var f2={};f2={calendar:"\uB2EC\uB825",day:"\uC77C",dayPeriod:"\uC624\uC804/\uC624\uD6C4",endDate:"\uC885\uB8CC\uC77C",era:"\uC5F0\uD638",hour:"\uC2DC",minute:"\uBD84",month:"\uC6D4",second:"\uCD08",selectedDateDescription:t=>`\uC120\uD0DD \uC77C\uC790: ${t.date}`,selectedRangeDescription:t=>`\uC120\uD0DD \uBC94\uC704: ${t.startDate} ~ ${t.endDate}`,selectedTimeDescription:t=>`\uC120\uD0DD \uC2DC\uAC04: ${t.time}`,startDate:"\uC2DC\uC791\uC77C",timeZoneName:"\uC2DC\uAC04\uB300",weekday:"\uC694\uC77C",year:"\uB144"};var h2={};h2={calendar:"Kalendorius",day:"diena",dayPeriod:"iki piet\u0173 / po piet\u0173",endDate:"Pabaigos data",era:"era",hour:"valanda",minute:"minut\u0117",month:"m\u0117nuo",second:"sekund\u0117",selectedDateDescription:t=>`Pasirinkta data: ${t.date}`,selectedRangeDescription:t=>`Pasirinktas intervalas: nuo ${t.startDate} iki ${t.endDate}`,selectedTimeDescription:t=>`Pasirinktas laikas: ${t.time}`,startDate:"Prad\u017Eios data",timeZoneName:"laiko juosta",weekday:"savait\u0117s diena",year:"metai"};var p2={};p2={calendar:"Kalend\u0101rs",day:"diena",dayPeriod:"priek\u0161pusdien\u0101/p\u0113cpusdien\u0101",endDate:"Beigu datums",era:"\u0113ra",hour:"stundas",minute:"min\u016Btes",month:"m\u0113nesis",second:"sekundes",selectedDateDescription:t=>`Atlas\u012Btais datums: ${t.date}`,selectedRangeDescription:t=>`Atlas\u012Btais diapazons: no ${t.startDate} l\u012Bdz ${t.endDate}`,selectedTimeDescription:t=>`Atlas\u012Btais laiks: ${t.time}`,startDate:"S\u0101kuma datums",timeZoneName:"laika josla",weekday:"ned\u0113\u013Cas diena",year:"gads"};var m2={};m2={calendar:"Kalender",day:"dag",dayPeriod:"a.m./p.m.",endDate:"Sluttdato",era:"tidsalder",hour:"time",minute:"minutt",month:"m\xE5ned",second:"sekund",selectedDateDescription:t=>`Valgt dato: ${t.date}`,selectedRangeDescription:t=>`Valgt omr\xE5de: ${t.startDate} til ${t.endDate}`,selectedTimeDescription:t=>`Valgt tid: ${t.time}`,startDate:"Startdato",timeZoneName:"tidssone",weekday:"ukedag",year:"\xE5r"};var g2={};g2={calendar:"Kalender",day:"dag",dayPeriod:"a.m./p.m.",endDate:"Einddatum",era:"tijdperk",hour:"uur",minute:"minuut",month:"maand",second:"seconde",selectedDateDescription:t=>`Geselecteerde datum: ${t.date}`,selectedRangeDescription:t=>`Geselecteerd bereik: ${t.startDate} tot ${t.endDate}`,selectedTimeDescription:t=>`Geselecteerde tijd: ${t.time}`,startDate:"Startdatum",timeZoneName:"tijdzone",weekday:"dag van de week",year:"jaar"};var O2={};O2={calendar:"Kalendarz",day:"dzie\u0144",dayPeriod:"rano / po po\u0142udniu / wieczorem",endDate:"Data ko\u0144cowa",era:"era",hour:"godzina",minute:"minuta",month:"miesi\u0105c",second:"sekunda",selectedDateDescription:t=>`Wybrana data: ${t.date}`,selectedRangeDescription:t=>`Wybrany zakres: ${t.startDate} do ${t.endDate}`,selectedTimeDescription:t=>`Wybrany czas: ${t.time}`,startDate:"Data pocz\u0105tkowa",timeZoneName:"strefa czasowa",weekday:"dzie\u0144 tygodnia",year:"rok"};var b2={};b2={calendar:"Calend\xE1rio",day:"dia",dayPeriod:"AM/PM",endDate:"Data final",era:"era",hour:"hora",minute:"minuto",month:"m\xEAs",second:"segundo",selectedDateDescription:t=>`Data selecionada: ${t.date}`,selectedRangeDescription:t=>`Intervalo selecionado: ${t.startDate} a ${t.endDate}`,selectedTimeDescription:t=>`Hora selecionada: ${t.time}`,startDate:"Data inicial",timeZoneName:"fuso hor\xE1rio",weekday:"dia da semana",year:"ano"};var y2={};y2={calendar:"Calend\xE1rio",day:"dia",dayPeriod:"am/pm",endDate:"Data de T\xE9rmino",era:"era",hour:"hora",minute:"minuto",month:"m\xEAs",second:"segundo",selectedDateDescription:t=>`Data selecionada: ${t.date}`,selectedRangeDescription:t=>`Intervalo selecionado: ${t.startDate} a ${t.endDate}`,selectedTimeDescription:t=>`Hora selecionada: ${t.time}`,startDate:"Data de In\xEDcio",timeZoneName:"fuso hor\xE1rio",weekday:"dia da semana",year:"ano"};var v2={};v2={calendar:"Calendar",day:"zi",dayPeriod:"a.m/p.m.",endDate:"Dat\u0103 final",era:"er\u0103",hour:"or\u0103",minute:"minut",month:"lun\u0103",second:"secund\u0103",selectedDateDescription:t=>`Dat\u0103 selectat\u0103: ${t.date}`,selectedRangeDescription:t=>`Interval selectat: de la ${t.startDate} p\xE2n\u0103 la ${t.endDate}`,selectedTimeDescription:t=>`Ora selectat\u0103: ${t.time}`,startDate:"Dat\u0103 \xEEnceput",timeZoneName:"fus orar",weekday:"ziua din s\u0103pt\u0103m\xE2n\u0103",year:"an"};var $2={};$2={calendar:"\u041A\u0430\u043B\u0435\u043D\u0434\u0430\u0440\u044C",day:"\u0434\u0435\u043D\u044C",dayPeriod:"AM/PM",endDate:"\u0414\u0430\u0442\u0430 \u043E\u043A\u043E\u043D\u0447\u0430\u043D\u0438\u044F",era:"\u044D\u0440\u0430",hour:"\u0447\u0430\u0441",minute:"\u043C\u0438\u043D\u0443\u0442\u0430",month:"\u043C\u0435\u0441\u044F\u0446",second:"\u0441\u0435\u043A\u0443\u043D\u0434\u0430",selectedDateDescription:t=>`\u0412\u044B\u0431\u0440\u0430\u043D\u043D\u0430\u044F \u0434\u0430\u0442\u0430: ${t.date}`,selectedRangeDescription:t=>`\u0412\u044B\u0431\u0440\u0430\u043D\u043D\u044B\u0439 \u0434\u0438\u0430\u043F\u0430\u0437\u043E\u043D: \u0441 ${t.startDate} \u043F\u043E ${t.endDate}`,selectedTimeDescription:t=>`\u0412\u044B\u0431\u0440\u0430\u043D\u043D\u043E\u0435 \u0432\u0440\u0435\u043C\u044F: ${t.time}`,startDate:"\u0414\u0430\u0442\u0430 \u043D\u0430\u0447\u0430\u043B\u0430",timeZoneName:"\u0447\u0430\u0441\u043E\u0432\u043E\u0439 \u043F\u043E\u044F\u0441",weekday:"\u0434\u0435\u043D\u044C \u043D\u0435\u0434\u0435\u043B\u0438",year:"\u0433\u043E\u0434"};var w2={};w2={calendar:"Kalend\xE1r",day:"de\u0148",dayPeriod:"AM/PM",endDate:"D\xE1tum ukon\u010Denia",era:"letopo\u010Det",hour:"hodina",minute:"min\xFAta",month:"mesiac",second:"sekunda",selectedDateDescription:t=>`Vybrat\xFD d\xE1tum: ${t.date}`,selectedRangeDescription:t=>`Vybrat\xFD rozsah: od ${t.startDate} do ${t.endDate}`,selectedTimeDescription:t=>`Vybrat\xFD \u010Das: ${t.time}`,startDate:"D\xE1tum za\u010Datia",timeZoneName:"\u010Dasov\xE9 p\xE1smo",weekday:"de\u0148 t\xFD\u017Ed\u0148a",year:"rok"};var x2={};x2={calendar:"Koledar",day:"dan",dayPeriod:"dop/pop",endDate:"Datum konca",era:"doba",hour:"ura",minute:"minuta",month:"mesec",second:"sekunda",selectedDateDescription:t=>`Izbrani datum: ${t.date}`,selectedRangeDescription:t=>`Izbrano obmo\u010Dje: ${t.startDate} do ${t.endDate}`,selectedTimeDescription:t=>`Izbrani \u010Das: ${t.time}`,startDate:"Datum za\u010Detka",timeZoneName:"\u010Dasovni pas",weekday:"dan v tednu",year:"leto"};var S2={};S2={calendar:"Kalendar",day:"\u0434\u0430\u043D",dayPeriod:"\u043F\u0440\u0435 \u043F\u043E\u0434\u043D\u0435/\u043F\u043E \u043F\u043E\u0434\u043D\u0435",endDate:"Datum zavr\u0161etka",era:"\u0435\u0440\u0430",hour:"\u0441\u0430\u0442",minute:"\u043C\u0438\u043D\u0443\u0442",month:"\u043C\u0435\u0441\u0435\u0446",second:"\u0441\u0435\u043A\u0443\u043D\u0434",selectedDateDescription:t=>`Izabrani datum: ${t.date}`,selectedRangeDescription:t=>`Izabrani opseg: od ${t.startDate} do ${t.endDate}`,selectedTimeDescription:t=>`Izabrano vreme: ${t.time}`,startDate:"Datum po\u010Detka",timeZoneName:"\u0432\u0440\u0435\u043C\u0435\u043D\u0441\u043A\u0430 \u0437\u043E\u043D\u0430",weekday:"\u0434\u0430\u043D \u0443 \u043D\u0435\u0434\u0435\u0459\u0438",year:"\u0433\u043E\u0434\u0438\u043D\u0430"};var C2={};C2={calendar:"Kalender",day:"dag",dayPeriod:"fm/em",endDate:"Slutdatum",era:"era",hour:"timme",minute:"minut",month:"m\xE5nad",second:"sekund",selectedDateDescription:t=>`Valt datum: ${t.date}`,selectedRangeDescription:t=>`Valt intervall: ${t.startDate} till ${t.endDate}`,selectedTimeDescription:t=>`Vald tid: ${t.time}`,startDate:"Startdatum",timeZoneName:"tidszon",weekday:"veckodag",year:"\xE5r"};var D2={};D2={calendar:"Takvim",day:"g\xFCn",dayPeriod:"\xD6\xD6/\xD6S",endDate:"Biti\u015F Tarihi",era:"\xE7a\u011F",hour:"saat",minute:"dakika",month:"ay",second:"saniye",selectedDateDescription:t=>`Se\xE7ilen Tarih: ${t.date}`,selectedRangeDescription:t=>`Se\xE7ilen Aral\u0131k: ${t.startDate} - ${t.endDate}`,selectedTimeDescription:t=>`Se\xE7ilen Zaman: ${t.time}`,startDate:"Ba\u015Flang\u0131\xE7 Tarihi",timeZoneName:"saat dilimi",weekday:"haftan\u0131n g\xFCn\xFC",year:"y\u0131l"};var k2={};k2={calendar:"\u041A\u0430\u043B\u0435\u043D\u0434\u0430\u0440",day:"\u0434\u0435\u043D\u044C",dayPeriod:"\u0434\u043F/\u043F\u043F",endDate:"\u0414\u0430\u0442\u0430 \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043D\u043D\u044F",era:"\u0435\u0440\u0430",hour:"\u0433\u043E\u0434\u0438\u043D\u0430",minute:"\u0445\u0432\u0438\u043B\u0438\u043D\u0430",month:"\u043C\u0456\u0441\u044F\u0446\u044C",second:"\u0441\u0435\u043A\u0443\u043D\u0434\u0430",selectedDateDescription:t=>`\u0412\u0438\u0431\u0440\u0430\u043D\u0430 \u0434\u0430\u0442\u0430: ${t.date}`,selectedRangeDescription:t=>`\u0412\u0438\u0431\u0440\u0430\u043D\u0438\u0439 \u0434\u0456\u0430\u043F\u0430\u0437\u043E\u043D: ${t.startDate} \u2014 ${t.endDate}`,selectedTimeDescription:t=>`\u0412\u0438\u0431\u0440\u0430\u043D\u0438\u0439 \u0447\u0430\u0441: ${t.time}`,startDate:"\u0414\u0430\u0442\u0430 \u043F\u043E\u0447\u0430\u0442\u043A\u0443",timeZoneName:"\u0447\u0430\u0441\u043E\u0432\u0438\u0439 \u043F\u043E\u044F\u0441",weekday:"\u0434\u0435\u043D\u044C \u0442\u0438\u0436\u043D\u044F",year:"\u0440\u0456\u043A"};var P2={};P2={calendar:"\u65E5\u5386",day:"\u65E5",dayPeriod:"\u4E0A\u5348/\u4E0B\u5348",endDate:"\u7ED3\u675F\u65E5\u671F",era:"\u7EAA\u5143",hour:"\u5C0F\u65F6",minute:"\u5206\u949F",month:"\u6708",second:"\u79D2",selectedDateDescription:t=>`\u9009\u5B9A\u7684\u65E5\u671F\uFF1A${t.date}`,selectedRangeDescription:t=>`\u9009\u5B9A\u7684\u8303\u56F4\uFF1A${t.startDate} \u81F3 ${t.endDate}`,selectedTimeDescription:t=>`\u9009\u5B9A\u7684\u65F6\u95F4\uFF1A${t.time}`,startDate:"\u5F00\u59CB\u65E5\u671F",timeZoneName:"\u65F6\u533A",weekday:"\u5DE5\u4F5C\u65E5",year:"\u5E74"};var E2={};E2={calendar:"\u65E5\u66C6",day:"\u65E5",dayPeriod:"\u4E0A\u5348/\u4E0B\u5348",endDate:"\u7D50\u675F\u65E5\u671F",era:"\u7EAA\u5143",hour:"\u5C0F\u65F6",minute:"\u5206\u949F",month:"\u6708",second:"\u79D2",selectedDateDescription:t=>`\u9078\u5B9A\u7684\u65E5\u671F\uFF1A${t.date}`,selectedRangeDescription:t=>`\u9078\u5B9A\u7684\u7BC4\u570D\uFF1A${t.startDate} \u81F3 ${t.endDate}`,selectedTimeDescription:t=>`\u9078\u5B9A\u7684\u6642\u9593\uFF1A${t.time}`,startDate:"\u958B\u59CB\u65E5\u671F",timeZoneName:"\u65F6\u533A",weekday:"\u5DE5\u4F5C\u65E5",year:"\u5E74"};var ts={};ts={"ar-AE":GD,"bg-BG":HD,"cs-CZ":_D,"da-DK":JD,"de-DE":e2,"el-GR":t2,"en-US":n2,"es-ES":r2,"et-EE":i2,"fi-FI":l2,"fr-FR":a2,"he-IL":o2,"hr-HR":s2,"hu-HU":u2,"it-IT":c2,"ja-JP":d2,"ko-KR":f2,"lt-LT":h2,"lv-LV":p2,"nb-NO":m2,"nl-NL":g2,"pl-PL":O2,"pt-BR":b2,"pt-PT":y2,"ro-RO":v2,"ru-RU":$2,"sk-SK":w2,"sl-SI":x2,"sr-SP":S2,"sv-SE":C2,"tr-TR":D2,"uk-UA":k2,"zh-CN":P2,"zh-TW":E2};function Dg(t,e,n){let{direction:r}=Ee(),i=(0,wp.element.useMemo)(()=>Yc(e),[e]),l=u(s=>{if(s.currentTarget.contains(s.target)&&(s.altKey&&(s.key==="ArrowDown"||s.key==="ArrowUp")&&"setOpen"in t&&(s.preventDefault(),s.stopPropagation(),t.setOpen(!0)),!n))switch(s.key){case"ArrowLeft":s.preventDefault(),s.stopPropagation(),r==="rtl"?i.focusNext():i.focusPrevious();break;case"ArrowRight":s.preventDefault(),s.stopPropagation(),r==="rtl"?i.focusPrevious():i.focusNext();break}},"onKeyDown"),a=u(()=>{var s;let c=(s=window.event)===null||s===void 0?void 0:s.target,d=ht(e.current,{tabbable:!0});if(c&&(d.currentNode=c,c=d.previousNode()),!c){let f;do f=d.lastChild(),f&&(c=f);while(f)}for(;c?.hasAttribute("data-placeholder");){let f=d.previousNode();if(f&&f.hasAttribute("data-placeholder"))c=f;else break}c&&c.focus()},"focusLast"),{pressProps:o}=gr({preventFocusOnPress:!0,allowTextSelectionOnPress:!0,onPressStart(s){s.pointerType==="mouse"&&a()},onPress(s){s.pointerType!=="mouse"&&a()}});return te(o,{onKeyDown:l})}u(Dg,"$3dfb0f96be0d6a08$export$4a931266a3838b86");function VV(t){return t&&t.__esModule?t.default:t}u(VV,"$parcel$interopDefault$4");const A2=new WeakMap,ns="__role_"+Date.now(),T2="__focusManager_"+Date.now();function NV(t,e,n){var r;let{isInvalid:i,validationErrors:l,validationDetails:a}=e.displayValidation,{labelProps:o,fieldProps:s,descriptionProps:c,errorMessageProps:d}=mt({...t,labelElementType:"span",isInvalid:i,errorMessage:t.errorMessage||l}),f=(0,wp.element.useRef)(null),{focusWithinProps:h}=Nt({...t,onFocusWithin(D){var S;f.current=e.value,(S=t.onFocus)===null||S===void 0||S.call(t,D)},onBlurWithin:D=>{var S;e.confirmPlaceholder(),e.value!==f.current&&e.commitValidation(),(S=t.onBlur)===null||S===void 0||S.call(t,D)},onFocusWithinChange:t.onFocusChange}),p=Ft(VV(ts),"@react-aria/datepicker"),m=e.maxGranularity==="hour"?"selectedTimeDescription":"selectedDateDescription",g=e.maxGranularity==="hour"?"time":"date",O=e.value?p.format(m,{[g]:e.formatValue({month:"long"})}):"",b=Co(O),y=t[ns]==="presentation"?s["aria-describedby"]:[b["aria-describedby"],s["aria-describedby"]].filter(Boolean).join(" ")||void 0,$=t[T2],C=(0,wp.element.useMemo)(()=>$||Yc(n),[$,n]),w=Dg(e,n,t[ns]==="presentation");A2.set(e,{ariaLabel:t["aria-label"],ariaLabelledBy:[o.id,t["aria-labelledby"]].filter(Boolean).join(" ")||void 0,ariaDescribedBy:y,focusManager:C});let x=(0,wp.element.useRef)(t.autoFocus),P;t[ns]==="presentation"?P={role:"presentation"}:P=te(s,{role:"group","aria-disabled":t.isDisabled||void 0,"aria-describedby":y}),(0,wp.element.useEffect)(()=>{x.current&&C.focusFirst(),x.current=!1},[C]),Ur(t.inputRef,e.value,e.setValue),Yo({...t,focus(){C.focusFirst()}},e,t.inputRef);let v={type:"hidden",name:t.name,value:((r=e.value)===null||r===void 0?void 0:r.toString())||"",disabled:t.isDisabled};t.validationBehavior==="native"&&(v.type="text",v.hidden=!0,v.required=t.isRequired,v.onChange=()=>{});let k=ft(t);return{labelProps:{...o,onClick:()=>{C.focusFirst()}},fieldProps:te(k,P,w,h,{onKeyDown(D){t.onKeyDown&&t.onKeyDown(D)},onKeyUp(D){t.onKeyUp&&t.onKeyUp(D)}}),inputProps:v,descriptionProps:c,errorMessageProps:d,isInvalid:i,validationErrors:l,validationDetails:a}}u(NV,"$16f0b7bb276bc17e$export$5591b0b878c1a989");function FV(t){return t&&t.__esModule?t.default:t}u(FV,"$parcel$interopDefault$3");function IV(t,e,n){let r=Fe(),i=Fe(),l=Fe(),a=Ft(FV(ts),"@react-aria/datepicker"),{isInvalid:o,validationErrors:s,validationDetails:c}=e.displayValidation,{labelProps:d,fieldProps:f,descriptionProps:h,errorMessageProps:p}=mt({...t,labelElementType:"span",isInvalid:o,errorMessage:t.errorMessage||s}),m=Dg(e,n),g=f["aria-labelledby"]||f.id,{locale:O}=Ee(),b=e.formatValue(O,{month:"long"}),y=b?a.format("selectedDateDescription",{date:b}):"",$=Co(y),C=[$["aria-describedby"],f["aria-describedby"]].filter(Boolean).join(" ")||void 0,w=ft(t),x=(0,wp.element.useMemo)(()=>Yc(n),[n]),{focusWithinProps:P}=Nt({...t,isDisabled:e.isOpen,onBlurWithin:t.onBlur,onFocusWithin:t.onFocus,onFocusWithinChange:t.onFocusChange});return{groupProps:te(w,m,f,$,P,{role:"group","aria-disabled":t.isDisabled||null,"aria-labelledby":g,"aria-describedby":C,onKeyDown(v){e.isOpen||t.onKeyDown&&t.onKeyDown(v)},onKeyUp(v){e.isOpen||t.onKeyUp&&t.onKeyUp(v)}}),labelProps:{...d,onClick:()=>{x.focusFirst()}},fieldProps:{...f,id:l,[ns]:"presentation","aria-describedby":C,value:e.value,onChange:e.setValue,placeholderValue:t.placeholderValue,hideTimeZone:t.hideTimeZone,hourCycle:t.hourCycle,shouldForceLeadingZeros:t.shouldForceLeadingZeros,granularity:t.granularity,isDisabled:t.isDisabled,isReadOnly:t.isReadOnly,isRequired:t.isRequired,validationBehavior:t.validationBehavior,[_r]:e,autoFocus:t.autoFocus,name:t.name},descriptionProps:h,errorMessageProps:p,buttonProps:{...$,id:r,"aria-haspopup":"dialog","aria-label":a.format("calendar"),"aria-labelledby":`${r} ${g}`,"aria-describedby":C,"aria-expanded":e.isOpen,isDisabled:t.isDisabled||t.isReadOnly,onPress:()=>e.setOpen(!0)},dialogProps:{id:i,"aria-labelledby":`${r} ${g}`},calendarProps:{autoFocus:!0,value:e.dateValue,onChange:e.setDateValue,minValue:t.minValue,maxValue:t.maxValue,isDisabled:t.isDisabled,isReadOnly:t.isReadOnly,isDateUnavailable:t.isDateUnavailable,defaultFocusedValue:e.dateValue?void 0:t.placeholderValue,isInvalid:e.isInvalid,errorMessage:typeof t.errorMessage=="function"?t.errorMessage(e.displayValidation):t.errorMessage||e.displayValidation.validationErrors.join(" ")},isInvalid:o,validationErrors:s,validationDetails:c}}u(IV,"$6057a3d2a53a12fd$export$42df105a73306d51");function ZV(t){return t&&t.__esModule?t.default:t}u(ZV,"$parcel$interopDefault$2");function zV(){let{locale:t}=Ee(),e=j3(ZV(ts),"@react-aria/datepicker");return(0,wp.element.useMemo)(()=>{try{return new Intl.DisplayNames(t,{type:"dateTimeField"})}catch{return new kg(t,e)}},[t,e])}u(zV,"$3aeceb3a64eb8358$export$d42c60378c8168f8");const M1=class M1{of(e){return this.dictionary.getStringForLocale(e,this.locale)}constructor(e,n){this.locale=e,this.dictionary=n}};u(M1,"$3aeceb3a64eb8358$var$DisplayNamesPolyfill");let kg=M1;function LV(t,e,n){let r=(0,wp.element.useRef)(""),{locale:i}=Ee(),l=zV(),{ariaLabel:a,ariaLabelledBy:o,ariaDescribedBy:s,focusManager:c}=A2.get(e),d=t.isPlaceholder?"":t.text,f=(0,wp.element.useMemo)(()=>e.dateFormatter.resolvedOptions(),[e.dateFormatter]),h=Vn({month:"long",timeZone:f.timeZone}),p=Vn({hour:"numeric",hour12:f.hour12,timeZone:f.timeZone});if(t.type==="month"&&!t.isPlaceholder){let N=h.format(e.dateValue);d=N!==d?`${d} \u2013 ${N}`:N}else t.type==="hour"&&!t.isPlaceholder&&(d=p.format(e.dateValue));let{spinButtonProps:m}=mg({value:t.value,textValue:d,minValue:t.minValue,maxValue:t.maxValue,isDisabled:e.isDisabled,isReadOnly:e.isReadOnly||!t.isEditable,isRequired:e.isRequired,onIncrement:()=>{r.current="",e.increment(t.type)},onDecrement:()=>{r.current="",e.decrement(t.type)},onIncrementPage:()=>{r.current="",e.incrementPage(t.type)},onDecrementPage:()=>{r.current="",e.decrementPage(t.type)},onIncrementToMax:()=>{r.current="",e.setSegment(t.type,t.maxValue)},onDecrementToMin:()=>{r.current="",e.setSegment(t.type,t.minValue)}}),g=(0,wp.element.useMemo)(()=>new jo(i,{maximumFractionDigits:0}),[i]),O=u(()=>{if(t.text===t.placeholder&&c.focusPrevious(),g.isValidPartialNumber(t.text)&&!e.isReadOnly&&!t.isPlaceholder){let N=t.text.slice(0,-1),I=g.parse(N);N=I===0?"":N,N.length===0||I===0?e.clearSegment(t.type):e.setSegment(t.type,I),r.current=N}else t.type==="dayPeriod"&&e.clearSegment(t.type)},"backspace"),b=u(N=>{if(N.key==="a"&&(pr()?N.metaKey:N.ctrlKey)&&N.preventDefault(),!(N.ctrlKey||N.metaKey||N.shiftKey||N.altKey))switch(N.key){case"Backspace":case"Delete":N.preventDefault(),N.stopPropagation(),O();break}},"onKeyDown"),{startsWith:y}=z$({sensitivity:"base"}),$=Vn({hour:"numeric",hour12:!0}),C=(0,wp.element.useMemo)(()=>{let N=new Date;return N.setHours(0),$.formatToParts(N).find(I=>I.type==="dayPeriod").value},[$]),w=(0,wp.element.useMemo)(()=>{let N=new Date;return N.setHours(12),$.formatToParts(N).find(I=>I.type==="dayPeriod").value},[$]),x=Vn({year:"numeric",era:"narrow",timeZone:"UTC"}),P=(0,wp.element.useMemo)(()=>{if(t.type!=="era")return[];let N=Ae(new Te(1,1,1),e.calendar),I=e.calendar.getEras().map(V=>{let Z=N.set({year:1,month:1,day:1,era:V}).toDate("UTC"),W=x.formatToParts(Z).find(re=>re.type==="era").value;return{era:V,formatted:W}}),F=WV(I.map(V=>V.formatted));if(F)for(let V of I)V.formatted=V.formatted.slice(F);return I},[x,e.calendar,t.type]),v=u(N=>{if(e.isDisabled||e.isReadOnly)return;let I=r.current+N;switch(t.type){case"dayPeriod":if(y(C,N))e.setSegment("dayPeriod",0);else if(y(w,N))e.setSegment("dayPeriod",12);else break;c.focusNext();break;case"era":{let F=P.find(V=>y(V.formatted,N));F&&(e.setSegment("era",F.era),c.focusNext());break}case"day":case"hour":case"minute":case"second":case"month":case"year":{if(!g.isValidPartialNumber(I))return;let F=g.parse(I),V=F,Z=t.minValue===0;if(t.type==="hour"&&e.dateFormatter.resolvedOptions().hour12){switch(e.dateFormatter.resolvedOptions().hourCycle){case"h11":F>11&&(V=g.parse(N));break;case"h12":Z=!1,F>12&&(V=g.parse(N));break}t.value>=12&&F>1&&(F+=12)}else F>t.maxValue&&(V=g.parse(N));if(isNaN(F))return;let _=V!==0||Z;_&&e.setSegment(t.type,V),+(F+"0")>t.maxValue||I.length>=String(t.maxValue).length?(r.current="",_&&c.focusNext()):r.current=I;break}}},"onInput"),k=u(()=>{r.current="",Qc(n.current,{containingElement:Rc(n.current)}),window.getSelection().collapse(n.current)},"onFocus"),D=(0,wp.element.useRef)(typeof document<"u"?document:null);mr(D,"selectionchange",()=>{let N=window.getSelection();n.current&&n.current.contains(N.anchorNode)&&N.collapse(n.current)});let S=(0,wp.element.useRef)("");mr(n,"beforeinput",N=>{switch(N.preventDefault(),N.inputType){case"deleteContentBackward":case"deleteContentForward":g.isValidPartialNumber(t.text)&&!e.isReadOnly&&O();break;case"insertCompositionText":S.current=n.current.textContent,n.current.textContent=n.current.textContent;break;default:N.data!=null&&v(N.data);break}}),mr(n,"input",N=>{let{inputType:I,data:F}=N;switch(I){case"insertCompositionText":n.current.textContent=S.current,(y(C,F)||y(w,F))&&v(F);break}}),De(()=>{let N=n.current;return()=>{document.activeElement===N&&(c.focusPrevious()||c.focusNext())}},[n,c]);let E=Mi()||t.type==="timeZoneName"?{role:"textbox","aria-valuemax":null,"aria-valuemin":null,"aria-valuetext":null,"aria-valuenow":null}:{},A=(0,wp.element.useMemo)(()=>e.segments.find(N=>N.isEditable),[e.segments]);t!==A&&!e.isInvalid&&(s=void 0);let B=Fe(),T=!e.isDisabled&&!e.isReadOnly&&t.isEditable,R=t.type==="literal"?"":l.of(t.type),M=Mn({"aria-label":`${R}${a?`, ${a}`:""}${o?", ":""}`,"aria-labelledby":o});return t.type==="literal"?{segmentProps:{"aria-hidden":!0}}:{segmentProps:te(m,M,{id:B,...E,"aria-invalid":e.isInvalid?"true":void 0,"aria-describedby":s,"aria-readonly":e.isReadOnly||!t.isEditable?"true":void 0,"data-placeholder":t.isPlaceholder||void 0,contentEditable:T,suppressContentEditableWarning:T,spellCheck:T?"false":void 0,autoCorrect:T?"off":void 0,[parseInt(wp.element.version,10)>=17?"enterKeyHint":"enterkeyhint"]:T?"next":void 0,inputMode:e.isDisabled||t.type==="dayPeriod"||t.type==="era"||!T?void 0:"numeric",tabIndex:e.isDisabled?void 0:0,onKeyDown:b,onFocus:k,style:{caretColor:"transparent"},onPointerDown(N){N.stopPropagation()},onMouseDown(N){N.stopPropagation()}})}}u(LV,"$32489daedd52963e$export$1315d136e6f7581");function WV(t){t.sort();let e=t[0],n=t[t.length-1];for(let r=0;rYc(n,{accept:B=>B.id!==C}),[n,C]),k={[T2]:v,[ns]:"presentation","aria-describedby":P,placeholderValue:t.placeholderValue,hideTimeZone:t.hideTimeZone,hourCycle:t.hourCycle,granularity:t.granularity,shouldForceLeadingZeros:t.shouldForceLeadingZeros,isDisabled:t.isDisabled,isReadOnly:t.isReadOnly,isRequired:t.isRequired,validationBehavior:t.validationBehavior},D=ft(t),{focusWithinProps:S}=Nt({...t,isDisabled:e.isOpen,onBlurWithin:t.onBlur,onFocusWithin:t.onFocus,onFocusWithinChange:t.onFocusChange}),E=(0,wp.element.useRef)(ji),A=(0,wp.element.useRef)(ji);return{groupProps:te(D,x,d,b,S,{role:"group","aria-disabled":t.isDisabled||null,"aria-describedby":P,onKeyDown(B){e.isOpen||t.onKeyDown&&t.onKeyDown(B)},onKeyUp(B){e.isOpen||t.onKeyUp&&t.onKeyUp(B)}}),labelProps:{...c,onClick:()=>{v.focusFirst()}},buttonProps:{...b,id:C,"aria-haspopup":"dialog","aria-label":l.format("calendar"),"aria-labelledby":`${C} ${p}`,"aria-describedby":P,"aria-expanded":e.isOpen,isDisabled:t.isDisabled||t.isReadOnly,onPress:()=>e.setOpen(!0)},dialogProps:{id:w,"aria-labelledby":`${C} ${p}`},startFieldProps:{...y,...k,value:(r=e.value)===null||r===void 0?void 0:r.start,onChange:B=>e.setDateTime("start",B),autoFocus:t.autoFocus,name:t.startName,[_r]:{realtimeValidation:e.realtimeValidation,displayValidation:e.displayValidation,updateValidation(B){E.current=B,e.updateValidation(cd(B,A.current))},resetValidation:e.resetValidation,commitValidation:e.commitValidation}},endFieldProps:{...$,...k,value:(i=e.value)===null||i===void 0?void 0:i.end,onChange:B=>e.setDateTime("end",B),name:t.endName,[_r]:{realtimeValidation:e.realtimeValidation,displayValidation:e.displayValidation,updateValidation(B){A.current=B,e.updateValidation(cd(E.current,B))},resetValidation:e.resetValidation,commitValidation:e.commitValidation}},descriptionProps:f,errorMessageProps:h,calendarProps:{autoFocus:!0,value:e.dateRange,onChange:e.setDateRange,minValue:t.minValue,maxValue:t.maxValue,isDisabled:t.isDisabled,isReadOnly:t.isReadOnly,isDateUnavailable:t.isDateUnavailable,allowsNonContiguousRanges:t.allowsNonContiguousRanges,defaultFocusedValue:e.dateRange?void 0:t.placeholderValue,isInvalid:e.isInvalid,errorMessage:typeof t.errorMessage=="function"?t.errorMessage(e.displayValidation):t.errorMessage||e.displayValidation.validationErrors.join(" ")},isInvalid:a,validationErrors:o,validationDetails:s}}u(R2,"$887cac91b7cc8801$export$12fd5f0e9f4bb192");function jV(t,e){let{role:n="dialog"}=t,r=Kl();r=t["aria-label"]?void 0:r;let i=(0,wp.element.useRef)(!1);return(0,wp.element.useEffect)(()=>{if(e.current&&!e.current.contains(document.activeElement)){Fi(e.current);let l=setTimeout(()=>{document.activeElement===e.current&&(i.current=!0,e.current&&(e.current.blur(),Fi(e.current)),i.current=!1)},500);return()=>{clearTimeout(l)}}},[e]),tD(),{dialogProps:{...ft(t,{labelable:!0}),role:n,tabIndex:-1,"aria-labelledby":t["aria-labelledby"]||r,onBlur:l=>{i.current&&l.stopPropagation()}},titleProps:{id:r}}}u(jV,"$40df3f8667284809$export$d55e7ee900f34e93");const Q2=new WeakMap;function M2(t,e,n){let{value:r,children:i,"aria-label":l,"aria-labelledby":a}=t;const o=t.isDisabled||e.isDisabled;let s=i!=null,c=l!=null||a!=null;!s&&!c&&console.warn("If you do not provide children, you must specify an aria-label for accessibility");let d=e.selectedValue===r,f=u(v=>{v.stopPropagation(),e.setSelectedValue(r)},"onChange"),{pressProps:h,isPressed:p}=gr({isDisabled:o}),{pressProps:m,isPressed:g}=gr({isDisabled:o,onPress(){e.setSelectedValue(r)}}),{focusableProps:O}=Mo(te(t,{onFocus:()=>e.setLastFocusedValue(r)}),n),b=te(h,O),y=ft(t,{labelable:!0}),$=-1;e.selectedValue!=null?e.selectedValue===r&&($=0):(e.lastFocusedValue===r||e.lastFocusedValue==null)&&($=0),o&&($=void 0);let{name:C,descriptionId:w,errorMessageId:x,validationBehavior:P}=Q2.get(e);return Ur(n,e.selectedValue,e.setSelectedValue),Yo({validationBehavior:P},e,n),{labelProps:te(m,{onClick:v=>v.preventDefault()}),inputProps:te(y,{...b,type:"radio",name:C,tabIndex:$,disabled:o,required:e.isRequired&&P==="native",checked:d,value:r,onChange:f,"aria-describedby":[t["aria-describedby"],e.isInvalid?x:null,w].filter(Boolean).join(" ")||void 0}),isDisabled:o,isSelected:d,isPressed:p||g}}u(M2,"$0d5c49892c1215da$export$37b0961d2f4751e2");function B2(t,e){let{name:n,isReadOnly:r,isRequired:i,isDisabled:l,orientation:a="vertical",validationBehavior:o="aria"}=t,{direction:s}=Ee(),{isInvalid:c,validationErrors:d,validationDetails:f}=e.displayValidation,{labelProps:h,fieldProps:p,descriptionProps:m,errorMessageProps:g}=mt({...t,labelElementType:"span",isInvalid:e.isInvalid,errorMessage:t.errorMessage||d}),O=ft(t,{labelable:!0}),{focusWithinProps:b}=Nt({onBlurWithin(C){var w;(w=t.onBlur)===null||w===void 0||w.call(t,C),e.selectedValue||e.setLastFocusedValue(null)},onFocusWithin:t.onFocus,onFocusWithinChange:t.onFocusChange}),y=u(C=>{let w;switch(C.key){case"ArrowRight":s==="rtl"&&a!=="vertical"?w="prev":w="next";break;case"ArrowLeft":s==="rtl"&&a!=="vertical"?w="next":w="prev";break;case"ArrowDown":w="next";break;case"ArrowUp":w="prev";break;default:return}C.preventDefault();let x=ht(C.currentTarget,{from:C.target}),P;w==="next"?(P=x.nextNode(),P||(x.currentNode=C.currentTarget,P=x.firstChild())):(P=x.previousNode(),P||(x.currentNode=C.currentTarget,P=x.lastChild())),P&&(P.focus(),e.setSelectedValue(P.value))},"onKeyDown"),$=Fe(n);return Q2.set(e,{name:$,descriptionId:m.id,errorMessageId:g.id,validationBehavior:o}),{radioGroupProps:te(O,{role:"radiogroup",onKeyDown:y,"aria-invalid":e.isInvalid||void 0,"aria-errormessage":t["aria-errormessage"],"aria-readonly":r||void 0,"aria-required":i||void 0,"aria-disabled":l||void 0,"aria-orientation":a,...p,...b}),labelProps:h,descriptionProps:m,errorMessageProps:g,isInvalid:c,validationErrors:d,validationDetails:f}}u(B2,"$430f30ed08ec25fa$export$62b9571f283ff5c2");const V2=new WeakMap;function qV(t,e,n){let{keyboardDelegate:r,isDisabled:i,isRequired:l,name:a,validationBehavior:o="aria"}=t,s=tg({usage:"search",sensitivity:"base"}),c=(0,wp.element.useMemo)(()=>r||new es(e.collection,e.disabledKeys,null,s),[r,e.collection,e.disabledKeys,s]),{menuTriggerProps:d,menuProps:f}=KD({isDisabled:i,type:"listbox"},e,n),h=u(v=>{switch(v.key){case"ArrowLeft":{v.preventDefault();let k=e.selectedKey!=null?c.getKeyAbove(e.selectedKey):c.getFirstKey();k&&e.setSelectedKey(k);break}case"ArrowRight":{v.preventDefault();let k=e.selectedKey!=null?c.getKeyBelow(e.selectedKey):c.getFirstKey();k&&e.setSelectedKey(k);break}}},"onKeyDown"),{typeSelectProps:p}=rD({keyboardDelegate:c,selectionManager:e.selectionManager,onTypeSelect(v){e.setSelectedKey(v)}}),{isInvalid:m,validationErrors:g,validationDetails:O}=e.displayValidation,{labelProps:b,fieldProps:y,descriptionProps:$,errorMessageProps:C}=mt({...t,labelElementType:"span",isInvalid:m,errorMessage:t.errorMessage||g});p.onKeyDown=p.onKeyDownCapture,delete p.onKeyDownCapture;let w=ft(t,{labelable:!0}),x=te(p,d,y),P=Fe();return V2.set(e,{isDisabled:i,isRequired:l,name:a,validationBehavior:o}),{labelProps:{...b,onClick:()=>{t.isDisabled||(n.current.focus(),lm("keyboard"))}},triggerProps:te(w,{...x,isDisabled:i,onKeyDown:fr(x.onKeyDown,h,t.onKeyDown),onKeyUp:t.onKeyUp,"aria-labelledby":[P,x["aria-labelledby"],x["aria-label"]&&!x["aria-labelledby"]?x.id:null].filter(Boolean).join(" "),onFocus(v){e.isFocused||(t.onFocus&&t.onFocus(v),t.onFocusChange&&t.onFocusChange(!0),e.setFocused(!0))},onBlur(v){e.isOpen||(t.onBlur&&t.onBlur(v),t.onFocusChange&&t.onFocusChange(!1),e.setFocused(!1))}}),valueProps:{id:P},menuProps:{...f,autoFocus:e.focusStrategy||!0,shouldSelectOnPressUp:!0,shouldFocusOnHover:!0,disallowEmptySelection:!0,linkBehavior:"selection",onBlur:v=>{v.currentTarget.contains(v.relatedTarget)||(t.onBlur&&t.onBlur(v),t.onFocusChange&&t.onFocusChange(!1),e.setFocused(!1))},"aria-labelledby":[y["aria-labelledby"],x["aria-label"]&&!y["aria-labelledby"]?x.id:null].filter(Boolean).join(" ")},descriptionProps:$,errorMessageProps:C,isInvalid:m,validationErrors:g,validationDetails:O}}u(qV,"$58aed456727eb0f3$export$e64b2f635402ca43");function UV(t,e,n){let r=V2.get(e)||{},{autoComplete:i,name:l=r.name,isDisabled:a=r.isDisabled}=t,{validationBehavior:o,isRequired:s}=r,c=VQ(),{visuallyHiddenProps:d}=hd();Ur(t.selectRef,e.selectedKey,e.setSelectedKey),Yo({validationBehavior:o,focus:()=>n.current.focus()},e,t.selectRef);var f;return{containerProps:{...d,"aria-hidden":!0,"data-react-aria-prevent-focus":!0,"data-a11y-ignore":"aria-hidden-focus"},inputProps:{type:"text",tabIndex:c==null||e.isFocused||e.isOpen?-1:0,style:{fontSize:16},onFocus:()=>n.current.focus(),disabled:a},selectProps:{tabIndex:-1,autoComplete:i,disabled:a,required:o==="native"&&s,name:l,value:(f=e.selectedKey)!==null&&f!==void 0?f:"",onChange:h=>e.setSelectedKey(h.target.value)}}}u(UV,"$bdd25dc72710631f$export$f809e80f58e251d1");function YV(t){let{state:e,triggerRef:n,label:r,name:i,isDisabled:l}=t,a=(0,wp.element.useRef)(null),{containerProps:o,inputProps:s,selectProps:c}=UV({...t,selectRef:a},e,n);var d;return e.collection.size<=300?wp.element.createElement("div",{...o,"data-testid":"hidden-select-container"},wp.element.createElement("input",s),wp.element.createElement("label",null,r,wp.element.createElement("select",{...c,ref:a},wp.element.createElement("option",null),[...e.collection.getKeys()].map(f=>{let h=e.collection.getItem(f);if(h.type==="item")return wp.element.createElement("option",{key:h.key,value:h.key},h.textValue)})))):i?wp.element.createElement("input",{type:"hidden",autoComplete:c.autoComplete,name:i,disabled:l,value:(d=e.selectedKey)!==null&&d!==void 0?d:""}):null}u(YV,"$bdd25dc72710631f$export$cbd84cdb2e668835");function KV(t){let e=ft(t,{labelable:!0}),n;return t.orientation==="vertical"&&(n="vertical"),t.elementType!=="hr"?{separatorProps:{...e,role:"separator","aria-orientation":n}}:{separatorProps:e}}u(KV,"$f4b273590fab9f93$export$52210f68a14655d0");function GV(t,e,n){let{labelProps:r,inputProps:i,isSelected:l,isPressed:a,isDisabled:o,isReadOnly:s}=Pw(t,e,n);return{labelProps:r,inputProps:{...i,role:"switch",checked:l},isSelected:l,isPressed:a,isDisabled:o,isReadOnly:s}}u(GV,"$b418ec0c85c52f27$export$d853f7095ae95f88");var HV=Object.defineProperty,N2=u((t,e)=>HV(t,"name",{value:e,configurable:!0}),"l$l");const _V=N2((t,e=!1)=>{if(e===!1)return`[[${t}]]`;let n="";for(const r in e){const i=e[r];n+=`::${r}=${typeof i=="object"?JSON.stringify(i):i}`}return`[[${t}${n}]]`},"dynamicValueToString"),F2=N2(t=>{if(typeof t!="string")return!1;const e=t.replace("[[","").replace("]]","").split("::");return e.length===0?!1:e.reduce((n,r,i)=>{if(i===0)return n;const l=r.split("=");return{...n,fields:{...n.fields,[l[0]]:l[1]}}},{type:e[0],settings:{}})},"stringToDynamicValue");var JV=Object.defineProperty,Pg=u((t,e)=>JV(t,"name",{value:e,configurable:!0}),"l$k");const{dynamics:vd}=TangibleFields,eN=["color-picker","conditional-panel","date-picker","number","text"],I2=/\[\[((?:(?!\]\]).)+\]?)\]\]/g,Z2=Pg(t=>typeof t=="string"?Array.from(t.matchAll(I2),e=>e[1]):[],"getDynamicStrings"),Eg={"color-picker":{mode:{default:"replace",supported:["replace"]},types:["color"]},"conditional-panel":{mode:{default:"replace",supported:["replace","insert"],types:["text","date","color","number"]},types:["color"]},"date-picker":{mode:{default:"replace",supported:["replace"]},types:["date"]},number:{mode:{default:"replace",supported:["replace"]},types:["number"]},text:{mode:{default:"insert",supported:["insert","replace"]},types:["text","date","color","number"]}},tN=Pg((t,e)=>Eg[t].mode.supported.includes(e)?e:Eg[t].mode.default,"getMode"),nN=Pg((t,e,{dynamic:n,type:r})=>eN.includes(r)?{getTypes:()=>n.types??Eg[r].types,getMode:()=>tN(r,n.mode??!1),getCategories:()=>n.categories??Object.keys(vd.categories),getList:()=>vd.values,getAll:()=>Z2(t).map(F2),getLabel:i=>vd.values[i]?vd.values[i].label:i,stringify:_V,parse:F2,hasValues:()=>Z2(t).length!==0,setValue:i=>e(i)}:!1,"dynamicValuesAPI");var rN=Object.defineProperty,qi=u((t,e)=>rN(t,"name",{value:e,configurable:!0}),"n$j");const Ui=qi(()=>(Date.now()*1e3+Math.random()*1e3).toString(16).replace(/\./g,"").padEnd(14,"0"),"uniqid"),yn=qi((t,e=!1)=>{if(Array.isArray(t)||typeof t=="object")return t;if(t===""&&e)return e;try{return JSON.parse(t)}catch{return{}}},"initJSON"),z2=qi(t=>t instanceof Set?t:Array.isArray(t)?new Set(t):t.startsWith("[")&&t.endsWith("]")?yn(t,new Set):new Set(t.split(",")),"initSet"),Jr=qi(t=>Object.keys(t).map(e=>t[e].choices?{...t[e],key:t[e].name,label:t[e].name,choices:Object.keys(t[e].choices).map(n=>({value:n,label:t[e].choices[n]}))}:{value:e,label:t[e]}),"getOptions"),L2=qi((t,e)=>e.filter(n=>n.value===t)[0]??!1,"getOption"),iN=qi((t,e)=>JSON.stringify(t)===JSON.stringify(e),"areSameObjects"),Ag=qi(t=>JSON.parse(JSON.stringify(t)),"deepCopy");var lN=Object.freeze({__proto__:null,areSameObjects:iN,deepCopy:Ag,getOption:L2,getOptions:Jr,initJSON:yn,initSet:z2,uniqid:Ui}),aN=Object.defineProperty,W2=u((t,e)=>aN(t,"name",{value:e,configurable:!0}),"a$k");const oN=W2((t,e)=>(n,r)=>{switch(r.callback&&setTimeout(r.callback),r.type){case"add":return n.length>=e?n:[...n,{key:Ui(),...r.data??t}];case"insert":return n.length>=e?n:[...n.slice(0,r.position),{key:Ui(),...r.data??t},...n.slice(r.position)];case"remove":return[...n.slice(0,r.item),...n.slice(r.item+1)];case"update":return n[r.item][r.control]=r.value,[...n];case"clone":return n.length>=e?n:[...n,{...r.item,key:Ui()}];case"clear":return[];case"bulkCheck":return n.map(i=>({...i,_bulkCheckbox:!0}));case"bulkUncheck":return n.map(i=>({...i,_bulkCheckbox:!1}));case"bulkUpdate":return n.map(i=>i._bulkCheckbox===!0?{...i,[r.control]:r.value}:i);case"bulkRemove":return n.filter(i=>i._bulkCheckbox!==!0);default:return n}},"repeaterDispatcher"),sN=W2(t=>{try{const e=Array.isArray(t)?t:JSON.parse(t);return Array.isArray(e)?e:[{}]}catch{return[{}]}},"initDispatcher"),oe=wp.element.forwardRef(({children:t,...e},n)=>{const r=wp.element.useRef(),i=n??r,l=e.content??t,a=e.buttonType??"button",o=e.layout?e.layout?`tf-button-${e.layout}`:"":e.type?`tf-button-${e.type}`:"",{buttonProps:s}=aB(e,n),c=e.context?`tf-button-is-${e.context}`:"",d=`${o} ${c} ${e.className??""}`,f=e.changeTag&&e.changeTag=="span"?"span":"button";return wp.element.createElement(f,{className:d,style:e.style,...s,onClick:h=>{s.onClick(h),Qi("buttonPressed",{name:e.name??!1,props:e,event:h})},ref:i,type:a},e.contentVisuallyHidden?wp.element.createElement(on,null,l):l)});var uN=Object.defineProperty,cN=u((t,e)=>uN(t,"name",{value:e,configurable:!0}),"i$p");const $e=cN(({descriptionProps:t,parent:e,children:n,...r})=>{const i=e?.descriptionVisuallyHidden?on:wp.element.Fragment,l=r.content??n;return wp.element.createElement(i,null,wp.element.createElement("div",{className:"tf-description",...t},l))},"Description");var dN=Object.defineProperty,fN=u((t,e)=>dN(t,"name",{value:e,configurable:!0}),"t$d");const rs=fN(({title:t,children:e,...n})=>{const r=wp.element.useRef(),{dialogProps:i}=jV(n,r);return wp.element.createElement("div",{className:"tf-dialog",...i,ref:r},t&&wp.element.createElement(Ig,{level:4},t),wp.element.createElement("div",{className:"tf-dialog-content"},e))},"Dialog");var hN=Object.defineProperty,X2=u((t,e)=>hN(t,"name",{value:e,configurable:!0}),"l$j");const j2=X2(t=>{const[e,n]=wp.element.useState(!0);wp.element.useEffect(()=>{t.isOpen!==e&&n(t.isOpen)},[t.isOpen]);const r=X2(()=>{n(!e),t.onChange&&t.onChange(!e)},"toggle");let i="tf-panel";return i+=` tf-panel-${e?"open":"closed"}`,i+=t.className?` ${t.className}`:"",i+=t.class?` ${t.class}`:"",i+=t.footer?"":" tf-panel-no-footer",wp.element.createElement("div",{className:i,"data-status":e?"open":"closed"},wp.element.createElement(oe,{className:"tf-panel-header",type:"action",onClick:r},wp.element.createElement("div",{className:"tf-panel-header-left"},t.headerLeft?wp.element.createElement("div",{className:"tf-panel-header-before-title"},t.headerLeft):null,t.title?wp.element.createElement("div",{className:"tf-panel-header-title"},wp.element.isValidElement(t.title)?t.title:wp.element.createElement("strong",null,t.title)):null),wp.element.createElement("div",{className:"tf-panel-header-right"},t.headerRight?wp.element.createElement("div",{className:"tf-panel-header-before-title"},t.headerRight):null,wp.element.createElement("span",{className:"tf-panel-arrow"}))),e||t?.behavior==="hide"?wp.element.createElement("div",{className:"tf-panel-content"},t.children):null,t.footer?wp.element.createElement("div",{className:"tf-panel-footer"},t.footer):null)},"ExpandablePanel");var pN=Object.defineProperty,mN=u((t,e)=>pN(t,"name",{value:e,configurable:!0}),"t$c");const we=mN(({labelProps:t,parent:e,children:n,...r})=>{const i=e?.labelVisuallyHidden?on:wp.element.Fragment,l=r.content??n;return wp.element.createElement(i,null,wp.element.createElement("label",{className:"tf-label",...t,htmlFor:e?.name??""},l))},"Label");var gN=Object.defineProperty,ON=u((t,e)=>gN(t,"name",{value:e,configurable:!0}),"i$o");const Tg=ON(({item:t,state:e})=>{const n=wp.element.useRef(),{optionProps:r,isSelected:i,isFocused:l,isDisabled:a}=TV({key:t.key},e,n),{focusProps:o}=Qo();let s="tf-list-box-option";return i&&(s=s+=" tf-list-box-option-selected"),a&&(s=s+=" tf-list-box-option-disabled"),l&&(s=s+=" tf-list-box-option-focus"),wp.element.createElement("li",{...te(r,o),ref:n,className:s},t.rendered)},"Option");var bN=Object.defineProperty,yN=u((t,e)=>bN(t,"name",{value:e,configurable:!0}),"a$h");const vN=yN(({section:t,state:e})=>{const{itemProps:n,headingProps:r,groupProps:i}=RV({heading:t.rendered,"aria-label":t["aria-label"]}),{separatorProps:l}=KV({elementType:"li"}),a=t.key===e.collection.getFirstKey();return wp.element.createElement(wp.element.Fragment,null,!a&&wp.element.createElement("li",{className:"tf-list-box-section-separator",...l}),wp.element.createElement("li",{className:"tf-list-box-section",...n},t.rendered&&wp.element.createElement("span",{...r},t.rendered),wp.element.createElement("ul",{...i},[...t.childNodes].map(o=>wp.element.createElement(Tg,{key:o.key??o.name,item:o,state:e})))))},"Section");var $N=Object.defineProperty,wN=u((t,e)=>$N(t,"name",{value:e,configurable:!0}),"l$i");const Rg=wN(t=>{const e=wp.element.useRef(),{listBoxRef:n=e,state:r}=t,{listBoxProps:i}=oD(t,r,n);return wp.element.createElement(wp.element.Fragment,null,wp.element.createElement("ul",{...i,ref:n,className:"tf-list-box"},["loading","filtering"].includes(t?.loadingState)?wp.element.createElement(Tg,{key:"_loading",state:r,item:{rendered:"Loading...",isDisabled:!0},shouldUseVirtualFocus:!0}):[...r.collection].map(l=>l.type==="section"?wp.element.createElement(vN,{key:l.key??l.level,section:l,state:r,shouldUseVirtualFocus:!0}):wp.element.createElement(Tg,{key:l.key??l.name,item:l,state:r,shouldUseVirtualFocus:!0}))),wp.element.createElement(_o,{onDismiss:r.close}))},"ListBox");var xN=Object.defineProperty,SN=u((t,e)=>xN(t,"name",{value:e,configurable:!0}),"a$f");const CN=SN(({state:t,children:e,...n})=>{const{ControlContext:r}=tangibleFields,i=wp.element.useContext(r),l=wp.element.useRef(null),{modalProps:a,underlayProps:o}=yV(n,t,l);return wp.element.createElement(eD,{portalContainer:i.portalContainer},wp.element.createElement("div",{className:i.wrapper},wp.element.createElement("div",{className:"tf-modal",...o,style:{zIndex:1e6}},wp.element.createElement("div",{className:"tf-modal-container",ref:l,...a},e))))},"Modal");function ma(t,e,n){return e!=null&&t.compare(e)<0||n!=null&&t.compare(n)>0}u(ma,"$f62d864046160412$export$eac50920cf2fd59a");function Qg(t,e,n,r,i){let l={};for(let o in e)l[o]=Math.floor(e[o]/2),l[o]>0&&e[o]%2===0&&l[o]--;let a=Yi(t,e,n).subtract(l);return is(t,a,e,n,r,i)}u(Qg,"$f62d864046160412$export$f4a51ff076cc9a09");function Yi(t,e,n,r,i){let l=t;return e.years?l=OM(t):e.months?l=Li(t):e.weeks&&(l=Fo(t,n)),is(t,l,e,n,r,i)}u(Yi,"$f62d864046160412$export$144a00ba6044eb9");function Mg(t,e,n,r,i){let l={...e};l.days?l.days--:l.weeks?l.weeks--:l.months?l.months--:l.years&&l.years--;let a=Yi(t,e,n).subtract(l);return is(t,a,e,n,r,i)}u(Mg,"$f62d864046160412$export$530edbfc915b2b04");function is(t,e,n,r,i,l){if(i&&t.compare(i)>=0){let a=ym(e,Yi(pt(i),n,r));a&&(e=a)}if(l&&t.compare(l)<=0){let a=bm(e,Mg(pt(l),n,r));a&&(e=a)}return e}u(is,"$f62d864046160412$export$5bb865b12696a77d");function ei(t,e,n){if(e){let r=ym(t,pt(e));r&&(t=r)}if(n){let r=bm(t,pt(n));r&&(t=r)}return t}u(ei,"$f62d864046160412$export$4f5203c0d889109e");function q2(t,e,n){if(!n)return t;for(;t.compare(e)>=0&&n(t);)t=t.subtract({days:1});return t.compare(e)>=0?t:null}u(q2,"$f62d864046160412$export$a1d3911297b952d7");function U2(t){let e=(0,wp.element.useMemo)(()=>new Pt(t.locale),[t.locale]),n=(0,wp.element.useMemo)(()=>e.resolvedOptions(),[e]),{locale:r,createCalendar:i,visibleDuration:l={months:1},minValue:a,maxValue:o,selectionAlignment:s,isDateUnavailable:c,pageBehavior:d="visible"}=t,f=(0,wp.element.useMemo)(()=>i(n.calendar),[i,n.calendar]);var h;let[p,m]=Le(t.value,(h=t.defaultValue)!==null&&h!==void 0?h:null,t.onChange),g=(0,wp.element.useMemo)(()=>p?Ae(pt(p),f):null,[p,f]),O=(0,wp.element.useMemo)(()=>p&&"timeZone"in p?p.timeZone:n.timeZone,[p,n.timeZone]),b=(0,wp.element.useMemo)(()=>t.focusedValue?ei(Ae(pt(t.focusedValue),f),a,o):void 0,[t.focusedValue,f,a,o]),y=(0,wp.element.useMemo)(()=>ei(t.defaultFocusedValue?Ae(pt(t.defaultFocusedValue),f):g||Ae(Gr(O),f),a,o),[t.defaultFocusedValue,g,O,f,a,o]),[$,C]=Le(b,y,t.onFocusChange),[w,x]=(0,wp.element.useState)(()=>{switch(s){case"start":return Yi($,l,r,a,o);case"end":return Mg($,l,r,a,o);case"center":default:return Qg($,l,r,a,o)}}),[P,v]=(0,wp.element.useState)(t.autoFocus||!1),k=(0,wp.element.useMemo)(()=>{let F={...l};return F.days?F.days--:F.days=-1,w.add(F)},[w,l]),[D,S]=(0,wp.element.useState)(f.identifier);if(f.identifier!==D){let F=Ae($,f);x(Qg(F,l,r,a,o)),C(F),S(f.identifier)}ma($,a,o)?C(ei($,a,o)):$.compare(w)<0?x(Mg($,l,r,a,o)):$.compare(k)>0&&x(Yi($,l,r,a,o));function E(F){F=ei(F,a,o),C(F)}u(E,"focusCell");function A(F){if(!t.isDisabled&&!t.isReadOnly){let V=F;if(V===null){m(null);return}if(V=ei(V,a,o),V=q2(V,w,c),!V)return;V=Ae(V,p?.calendar||new it),p&&"hour"in p?m(p.set(V)):m(V)}}u(A,"setValue");let B=(0,wp.element.useMemo)(()=>g?c&&c(g)?!0:ma(g,a,o):!1,[g,c,a,o]),T=t.isInvalid||t.validationState==="invalid"||B,R=T?"invalid":null,M=(0,wp.element.useMemo)(()=>d==="visible"?l:Bg(l),[d,l]);var N,I;return{isDisabled:(N=t.isDisabled)!==null&&N!==void 0?N:!1,isReadOnly:(I=t.isReadOnly)!==null&&I!==void 0?I:!1,value:g,setValue:A,visibleRange:{start:w,end:k},minValue:a,maxValue:o,focusedDate:$,timeZone:O,validationState:R,isValueInvalid:T,setFocusedDate(F){E(F),v(!0)},focusNextDay(){E($.add({days:1}))},focusPreviousDay(){E($.subtract({days:1}))},focusNextRow(){l.days?this.focusNextPage():(l.weeks||l.months||l.years)&&E($.add({weeks:1}))},focusPreviousRow(){l.days?this.focusPreviousPage():(l.weeks||l.months||l.years)&&E($.subtract({weeks:1}))},focusNextPage(){let F=w.add(M);C(ei($.add(M),a,o)),x(Yi(is($,F,M,r,a,o),M,r))},focusPreviousPage(){let F=w.subtract(M);C(ei($.subtract(M),a,o)),x(Yi(is($,F,M,r,a,o),M,r))},focusSectionStart(){l.days?E(w):l.weeks?E(Fo($,r)):(l.months||l.years)&&E(Li($))},focusSectionEnd(){l.days?E(k):l.weeks?E(vM($,r)):(l.months||l.years)&&E(na($))},focusNextSection(F){if(!F&&!l.days){E($.add(Bg(l)));return}l.days?this.focusNextPage():l.weeks?E($.add({months:1})):(l.months||l.years)&&E($.add({years:1}))},focusPreviousSection(F){if(!F&&!l.days){E($.subtract(Bg(l)));return}l.days?this.focusPreviousPage():l.weeks?E($.subtract({months:1})):(l.months||l.years)&&E($.subtract({years:1}))},selectFocusedDate(){A($)},selectDate(F){A(F)},isFocused:P,setFocused:v,isInvalid(F){return ma(F,a,o)},isSelected(F){return g!=null&&Xe(F,g)&&!this.isCellDisabled(F)&&!this.isCellUnavailable(F)},isCellFocused(F){return P&&$&&Xe(F,$)},isCellDisabled(F){return t.isDisabled||F.compare(w)<0||F.compare(k)>0||this.isInvalid(F)},isCellUnavailable(F){return t.isDateUnavailable?t.isDateUnavailable(F):!1},isPreviousVisibleRangeInvalid(){let F=w.subtract({days:1});return Xe(F,w)||this.isInvalid(F)},isNextVisibleRangeInvalid(){let F=k.add({days:1});return Xe(F,k)||this.isInvalid(F)},getDatesInWeek(F,V=w){let Z=V.add({weeks:F}),_=[];Z=Fo(Z,r);let W=gm(Z,r);for(let re=0;re0&&(m="start")}let g=(0,wp.element.useRef)(null),[O,b]=(0,wp.element.useState)(null),y=(0,wp.element.useMemo)(()=>ym(o,O?.start),[o,O]),$=(0,wp.element.useMemo)(()=>bm(s,O?.end),[s,O]),C=U2({...c,value:d&&d.start,createCalendar:i,locale:l,visibleDuration:a,minValue:y,maxValue:$,selectionAlignment:m}),w=u(M=>{if(M&&t.isDateUnavailable&&!t.allowsNonContiguousRanges){const N=K2(M,C,-1),I=K2(M,C,1);g.current={start:N,end:I},b(g.current)}else g.current=null,b(null)},"updateAvailableRange"),[x,P]=(0,wp.element.useState)(C.visibleRange);(!mm(C.visibleRange.start,x.start)||!mm(C.visibleRange.end,x.end))&&(w(h),P(C.visibleRange));let v=u(M=>{M?(p(M),w(M)):(p(null),w(null))},"setAnchorDate"),k=h?Vg(h,C.focusedDate):d&&Vg(d.start,d.end),D=u(M=>{if(t.isReadOnly)return;const N=ei(M,y,$),I=q2(N,C.visibleRange.start,t.isDateUnavailable);if(I)if(!h)v(I);else{let F=Vg(h,I);F&&f({start:Y2(F.start,d?.start),end:Y2(F.end,d?.end)}),v(null)}},"selectDate"),[S,E]=(0,wp.element.useState)(!1),{isDateUnavailable:A}=t,B=(0,wp.element.useMemo)(()=>!d||h?!1:A&&(A(d.start)||A(d.end))?!0:ma(d.start,o,s)||ma(d.end,o,s),[A,d,h,o,s]),T=t.isInvalid||t.validationState==="invalid"||B;return{...C,value:d,setValue:f,anchorDate:h,setAnchorDate:v,highlightedRange:k,validationState:T?"invalid":null,isValueInvalid:T,selectFocusedDate(){D(C.focusedDate)},selectDate:D,highlightDate(M){h&&C.setFocusedDate(M)},isSelected(M){return!!(k&&M.compare(k.start)>=0&&M.compare(k.end)<=0&&!C.isCellDisabled(M)&&!C.isCellUnavailable(M))},isInvalid(M){var N,I;return C.isInvalid(M)||ma(M,(N=g.current)===null||N===void 0?void 0:N.start,(I=g.current)===null||I===void 0?void 0:I.end)},isDragging:S,setDragging:E}}u(DN,"$9a36b6ba2fb1a7c5$export$9a987164d97ecc90");function Vg(t,e){return!t||!e?null:(e.compare(t)<0&&([t,e]=[e,t]),{start:pt(t),end:pt(e)})}u(Vg,"$9a36b6ba2fb1a7c5$var$makeRange");function Y2(t,e){return t=Ae(t,e?.calendar||new it),e&&"hour"in e?e.set(t):t}u(Y2,"$9a36b6ba2fb1a7c5$var$convertValue");function K2(t,e,n){let r=t.add({days:n});for(;(n<0?r.compare(e.visibleRange.start)>=0:r.compare(e.visibleRange.end)<=0)&&!e.isCellUnavailable(r);)r=r.add({days:n});if(e.isCellUnavailable(r))return r.add({days:-n})}u(K2,"$9a36b6ba2fb1a7c5$var$nextUnavailableDate");const B1=class B1{*[Symbol.iterator](){yield*this.iterable}get size(){return this.keyMap.size}getKeys(){return this.keyMap.keys()}getKeyBefore(e){let n=this.keyMap.get(e);var r;return n&&(r=n.prevKey)!==null&&r!==void 0?r:null}getKeyAfter(e){let n=this.keyMap.get(e);var r;return n&&(r=n.nextKey)!==null&&r!==void 0?r:null}getFirstKey(){return this.firstKey}getLastKey(){return this.lastKey}getItem(e){var n;return(n=this.keyMap.get(e))!==null&&n!==void 0?n:null}at(e){const n=[...this.getKeys()];return this.getItem(n[e])}getChildren(e){let n=this.keyMap.get(e);return n?.childNodes||[]}constructor(e){this.keyMap=new Map,this.firstKey=null,this.lastKey=null,this.iterable=e;let n=u(a=>{if(this.keyMap.set(a.key,a),a.childNodes&&a.type==="section")for(let o of a.childNodes)n(o)},"visit");for(let a of e)n(a);let r=null,i=0;for(let[a,o]of this.keyMap)r?(r.nextKey=a,o.prevKey=r.key):(this.firstKey=a,o.prevKey=void 0),o.type==="item"&&(o.index=i++),r=o,r.nextKey=void 0;var l;this.lastKey=(l=r?.key)!==null&&l!==void 0?l:null}};u(B1,"$a02d57049d202695$export$d085fb9e920b5ca7");let ls=B1;const tp=class tp extends Set{constructor(e,n,r){super(e),e instanceof tp?(this.anchorKey=n??e.anchorKey,this.currentKey=r??e.currentKey):(this.anchorKey=n,this.currentKey=r)}};u(tp,"$e40ea825a81a3709$export$52baac22726c72bf");let vn=tp;function kN(t,e){if(t.size!==e.size)return!1;for(let n of t)if(!e.has(n))return!1;return!0}u(kN,"$7af3f5b51489e0b5$var$equalSets");function PN(t){let{selectionMode:e="none",disallowEmptySelection:n,allowDuplicateSelectionEvents:r,selectionBehavior:i="toggle",disabledBehavior:l="all"}=t,a=(0,wp.element.useRef)(!1),[,o]=(0,wp.element.useState)(!1),s=(0,wp.element.useRef)(null),c=(0,wp.element.useRef)(null),[,d]=(0,wp.element.useState)(null),f=(0,wp.element.useMemo)(()=>G2(t.selectedKeys),[t.selectedKeys]),h=(0,wp.element.useMemo)(()=>G2(t.defaultSelectedKeys,new vn),[t.defaultSelectedKeys]),[p,m]=Le(f,h,t.onSelectionChange),g=(0,wp.element.useMemo)(()=>t.disabledKeys?new Set(t.disabledKeys):new Set,[t.disabledKeys]),[O,b]=(0,wp.element.useState)(i);i==="replace"&&O==="toggle"&&typeof p=="object"&&p.size===0&&b("replace");let y=(0,wp.element.useRef)(i);return(0,wp.element.useEffect)(()=>{i!==y.current&&(b(i),y.current=i)},[i]),{selectionMode:e,disallowEmptySelection:n,selectionBehavior:O,setSelectionBehavior:b,get isFocused(){return a.current},setFocused($){a.current=$,o($)},get focusedKey(){return s.current},get childFocusStrategy(){return c.current},setFocusedKey($,C="first"){s.current=$,c.current=C,d($)},selectedKeys:p,setSelectedKeys($){(r||!kN($,p))&&m($)},disabledKeys:g,disabledBehavior:l}}u(PN,"$7af3f5b51489e0b5$export$253fe78d46329472");function G2(t,e){return t?t==="all"?"all":new vn(t):e}u(G2,"$7af3f5b51489e0b5$var$convertSelection");const V1=class V1{get selectionMode(){return this.state.selectionMode}get disallowEmptySelection(){return this.state.disallowEmptySelection}get selectionBehavior(){return this.state.selectionBehavior}setSelectionBehavior(e){this.state.setSelectionBehavior(e)}get isFocused(){return this.state.isFocused}setFocused(e){this.state.setFocused(e)}get focusedKey(){return this.state.focusedKey}get childFocusStrategy(){return this.state.childFocusStrategy}setFocusedKey(e,n){(e==null||this.collection.getItem(e))&&this.state.setFocusedKey(e,n)}get selectedKeys(){return this.state.selectedKeys==="all"?new Set(this.getSelectAllKeys()):this.state.selectedKeys}get rawSelection(){return this.state.selectedKeys}isSelected(e){return this.state.selectionMode==="none"?!1:(e=this.getKey(e),this.state.selectedKeys==="all"?this.canSelectItem(e):this.state.selectedKeys.has(e))}get isEmpty(){return this.state.selectedKeys!=="all"&&this.state.selectedKeys.size===0}get isSelectAll(){if(this.isEmpty)return!1;if(this.state.selectedKeys==="all")return!0;if(this._isSelectAll!=null)return this._isSelectAll;let e=this.getSelectAllKeys(),n=this.state.selectedKeys;return this._isSelectAll=e.every(r=>n.has(r)),this._isSelectAll}get firstSelectedKey(){let e=null;for(let n of this.state.selectedKeys){let r=this.collection.getItem(n);(!e||r&&Cg(this.collection,r,e)<0)&&(e=r)}return e?.key}get lastSelectedKey(){let e=null;for(let n of this.state.selectedKeys){let r=this.collection.getItem(n);(!e||r&&Cg(this.collection,r,e)>0)&&(e=r)}return e?.key}get disabledKeys(){return this.state.disabledKeys}get disabledBehavior(){return this.state.disabledBehavior}extendSelection(e){if(this.selectionMode==="none")return;if(this.selectionMode==="single"){this.replaceSelection(e);return}e=this.getKey(e);let n;if(this.state.selectedKeys==="all")n=new vn([e],e,e);else{let l=this.state.selectedKeys;var r;let a=(r=l.anchorKey)!==null&&r!==void 0?r:e;n=new vn(l,a,e);var i;for(let o of this.getKeyRange(a,(i=l.currentKey)!==null&&i!==void 0?i:e))n.delete(o);for(let o of this.getKeyRange(e,a))this.canSelectItem(o)&&n.add(o)}this.state.setSelectedKeys(n)}getKeyRange(e,n){let r=this.collection.getItem(e),i=this.collection.getItem(n);return r&&i?Cg(this.collection,r,i)<=0?this.getKeyRangeInternal(e,n):this.getKeyRangeInternal(n,e):[]}getKeyRangeInternal(e,n){var r;if(!((r=this.layoutDelegate)===null||r===void 0)&&r.getKeyRange)return this.layoutDelegate.getKeyRange(e,n);let i=[],l=e;for(;l!=null;){let a=this.collection.getItem(l);if((a&&a.type==="item"||a.type==="cell"&&this.allowsCellSelection)&&i.push(l),l===n)return i;l=this.collection.getKeyAfter(l)}return[]}getKey(e){let n=this.collection.getItem(e);if(!n||n.type==="cell"&&this.allowsCellSelection)return e;for(;n.type!=="item"&&n.parentKey!=null;)n=this.collection.getItem(n.parentKey);return!n||n.type!=="item"?null:n.key}toggleSelection(e){if(this.selectionMode==="none")return;if(this.selectionMode==="single"&&!this.isSelected(e)){this.replaceSelection(e);return}if(e=this.getKey(e),e==null)return;let n=new vn(this.state.selectedKeys==="all"?this.getSelectAllKeys():this.state.selectedKeys);n.has(e)?n.delete(e):this.canSelectItem(e)&&(n.add(e),n.anchorKey=e,n.currentKey=e),!(this.disallowEmptySelection&&n.size===0)&&this.state.setSelectedKeys(n)}replaceSelection(e){if(this.selectionMode==="none"||(e=this.getKey(e),e==null))return;let n=this.canSelectItem(e)?new vn([e],e,e):new vn;this.state.setSelectedKeys(n)}setSelectedKeys(e){if(this.selectionMode==="none")return;let n=new vn;for(let r of e)if(r=this.getKey(r),r!=null&&(n.add(r),this.selectionMode==="single"))break;this.state.setSelectedKeys(n)}getSelectAllKeys(){let e=[],n=u(r=>{for(;r!=null;){if(this.canSelectItem(r)){let i=this.collection.getItem(r);i.type==="item"&&e.push(r),i.hasChildNodes&&(this.allowsCellSelection||i.type!=="item")&&n(EV(yd(i,this.collection)).key)}r=this.collection.getKeyAfter(r)}},"addKeys");return n(this.collection.getFirstKey()),e}selectAll(){!this.isSelectAll&&this.selectionMode==="multiple"&&this.state.setSelectedKeys("all")}clearSelection(){!this.disallowEmptySelection&&(this.state.selectedKeys==="all"||this.state.selectedKeys.size>0)&&this.state.setSelectedKeys(new vn)}toggleSelectAll(){this.isSelectAll?this.clearSelection():this.selectAll()}select(e,n){this.selectionMode!=="none"&&(this.selectionMode==="single"?this.isSelected(e)&&!this.disallowEmptySelection?this.toggleSelection(e):this.replaceSelection(e):this.selectionBehavior==="toggle"||n&&(n.pointerType==="touch"||n.pointerType==="virtual")?this.toggleSelection(e):this.replaceSelection(e))}isSelectionEqual(e){if(e===this.state.selectedKeys)return!0;let n=this.selectedKeys;if(e.size!==n.size)return!1;for(let r of e)if(!n.has(r))return!1;for(let r of n)if(!e.has(r))return!1;return!0}canSelectItem(e){var n;if(this.state.selectionMode==="none"||this.state.disabledKeys.has(e))return!1;let r=this.collection.getItem(e);return!(!r||!(r==null||(n=r.props)===null||n===void 0)&&n.isDisabled||r.type==="cell"&&!this.allowsCellSelection)}isDisabled(e){var n,r;return this.state.disabledBehavior==="all"&&(this.state.disabledKeys.has(e)||!!(!((r=this.collection.getItem(e))===null||r===void 0||(n=r.props)===null||n===void 0)&&n.isDisabled))}isLink(e){var n,r;return!!(!((r=this.collection.getItem(e))===null||r===void 0||(n=r.props)===null||n===void 0)&&n.href)}getItemProps(e){var n;return(n=this.collection.getItem(e))===null||n===void 0?void 0:n.props}constructor(e,n,r){this.collection=e,this.state=n;var i;this.allowsCellSelection=(i=r?.allowsCellSelection)!==null&&i!==void 0?i:!1,this._isSelectAll=null,this.layoutDelegate=r?.layoutDelegate||null}};u(V1,"$d496c0a20b6e58ec$export$6c8a5aaad13c9852");let Ng=V1;function H2(t){let{filter:e,layoutDelegate:n}=t,r=PN(t),i=(0,wp.element.useMemo)(()=>t.disabledKeys?new Set(t.disabledKeys):new Set,[t.disabledKeys]),l=(0,wp.element.useCallback)(d=>e?new ls(e(d)):new ls(d),[e]),a=(0,wp.element.useMemo)(()=>({suppressTextValueWarning:t.suppressTextValueWarning}),[t.suppressTextValueWarning]),o=PV(t,l,a),s=(0,wp.element.useMemo)(()=>new Ng(o,r,{layoutDelegate:n}),[o,r,n]);const c=(0,wp.element.useRef)(null);return(0,wp.element.useEffect)(()=>{if(r.focusedKey!=null&&!o.getItem(r.focusedKey)&&c.current){const b=c.current.getItem(r.focusedKey),y=[...c.current.getKeys()].map(v=>{const k=c.current.getItem(v);return k?.type==="item"?k:null}).filter(v=>v!==null),$=[...o.getKeys()].map(v=>{const k=o.getItem(v);return k?.type==="item"?k:null}).filter(v=>v!==null);var d,f;const C=((d=y?.length)!==null&&d!==void 0?d:0)-((f=$?.length)!==null&&f!==void 0?f:0);var h,p,m;let w=Math.min(C>1?Math.max(((h=b?.index)!==null&&h!==void 0?h:0)-C+1,0):(p=b?.index)!==null&&p!==void 0?p:0,((m=$?.length)!==null&&m!==void 0?m:0)-1),x=null,P=!1;for(;w>=0;){if(!s.isDisabled($[w].key)){x=$[w];break}if(w<$.length-1&&!P)w++;else{P=!0;var g,O;w>((g=b?.index)!==null&&g!==void 0?g:0)&&(w=(O=b?.index)!==null&&O!==void 0?O:0),w--}}r.setFocusedKey(x?x.key:null)}c.current=o},[o,s,r,r.focusedKey]),{collection:o,disabledKeys:i,selectionManager:s}}u(H2,"$e72dd72e1c76a225$export$2f645645f7bca764");function _2(t){var e;let[n,r]=Le(t.selectedKey,(e=t.defaultSelectedKey)!==null&&e!==void 0?e:null,t.onSelectionChange),i=(0,wp.element.useMemo)(()=>n!=null?[n]:[],[n]),{collection:l,disabledKeys:a,selectionManager:o}=H2({...t,selectionMode:"single",disallowEmptySelection:!0,allowDuplicateSelectionEvents:!0,selectedKeys:i,onSelectionChange:c=>{if(c==="all")return;var d;let f=(d=c.values().next().value)!==null&&d!==void 0?d:null;f===n&&t.onSelectionChange&&t.onSelectionChange(f),r(f)}}),s=n!=null?l.getItem(n):null;return{collection:l,disabledKeys:a,selectionManager:o,selectedKey:n,setSelectedKey:r,selectedItem:s}}u(_2,"$a0d645289fe9b86b$export$e7f05e985daf4b5f");function ti(t){let[e,n]=Le(t.isOpen,t.defaultOpen||!1,t.onOpenChange);const r=(0,wp.element.useCallback)(()=>{n(!0)},[n]),i=(0,wp.element.useCallback)(()=>{n(!1)},[n]),l=(0,wp.element.useCallback)(()=>{n(!e)},[n,e]);return{isOpen:e,setOpen:n,open:r,close:i,toggle:l}}u(ti,"$fc909762b330b746$export$61c6a8c84e605fb6");function EN(t){var e;let{defaultFilter:n,menuTrigger:r="input",allowsEmptyCollection:i=!1,allowsCustomValue:l,shouldCloseOnBlur:a=!0}=t,[o,s]=(0,wp.element.useState)(!1),[c,d]=(0,wp.element.useState)(!1),[f,h]=(0,wp.element.useState)(null),p=u(K=>{t.onSelectionChange&&t.onSelectionChange(K),K===b&&(W(),V())},"onSelectionChange");var m;let{collection:g,selectionManager:O,selectedKey:b,setSelectedKey:y,selectedItem:$,disabledKeys:C}=_2({...t,onSelectionChange:p,items:(m=t.items)!==null&&m!==void 0?m:t.defaultItems}),w=t.defaultInputValue;if(w==null){var x,P;b==null?w="":w=(P=(x=g.getItem(b))===null||x===void 0?void 0:x.textValue)!==null&&P!==void 0?P:""}let[v,k]=Le(t.inputValue,w,t.onInputChange),D=g,S=(0,wp.element.useMemo)(()=>t.items!=null||!n?g:AN(g,v,n),[g,v,n,t.items]),[E,A]=(0,wp.element.useState)(S),B=(0,wp.element.useRef)("focus"),R=ti({...t,onOpenChange:u(K=>{t.onOpenChange&&t.onOpenChange(K,K?B.current:void 0),O.setFocused(K),K||O.setFocusedKey(null)},"onOpenChange"),isOpen:void 0,defaultOpen:void 0}),M=u((K=null,ue)=>{let ge=ue==="manual"||ue==="focus"&&r==="focus";(i||S.size>0||ge&&D.size>0||t.items)&&(ge&&!R.isOpen&&t.items===void 0&&s(!0),B.current=ue,h(K),R.open())},"open"),N=u((K=null,ue)=>{let ge=ue==="manual"||ue==="focus"&&r==="focus";!(i||S.size>0||ge&&D.size>0||t.items)&&!R.isOpen||(ge&&!R.isOpen&&t.items===void 0&&s(!0),R.isOpen||(B.current=ue),F(K))},"toggle"),I=(0,wp.element.useCallback)(()=>{A(o?D:S)},[o,D,S]),F=(0,wp.element.useCallback)((K=null)=>{R.isOpen&&I(),h(K),R.toggle()},[R,I]),V=(0,wp.element.useCallback)(()=>{R.isOpen&&(I(),R.close())},[R,I]),[Z,_]=(0,wp.element.useState)(v),W=u(()=>{var K,ue;let ge=b!=null&&(ue=(K=g.getItem(b))===null||K===void 0?void 0:K.textValue)!==null&&ue!==void 0?ue:"";_(ge),k(ge)},"resetInputValue");var re,fe;let L=(0,wp.element.useRef)((fe=(re=t.selectedKey)!==null&&re!==void 0?re:t.defaultSelectedKey)!==null&&fe!==void 0?fe:null);var ie;let he=(0,wp.element.useRef)(b!=null&&(ie=(e=g.getItem(b))===null||e===void 0?void 0:e.textValue)!==null&&ie!==void 0?ie:"");(0,wp.element.useEffect)(()=>{var K;c&&(S.size>0||i)&&!R.isOpen&&v!==Z&&r!=="manual"&&M(null,"input"),!o&&!i&&R.isOpen&&S.size===0&&V(),b!=null&&b!==L.current&&V(),v!==Z&&(O.setFocusedKey(null),s(!1),v===""&&(t.inputValue===void 0||t.selectedKey===void 0)&&y(null)),b!==L.current&&(t.inputValue===void 0||t.selectedKey===void 0)?W():Z!==v&&_(v);var ue;let ge=b!=null&&(ue=(K=g.getItem(b))===null||K===void 0?void 0:K.textValue)!==null&&ue!==void 0?ue:"";!c&&b!=null&&t.inputValue===void 0&&b===L.current&&he.current!==ge&&(_(ge),k(ge)),L.current=b,he.current=ge});let J=Fn({...t,value:(0,wp.element.useMemo)(()=>({inputValue:v,selectedKey:b}),[v,b])}),le=u(()=>{l&&b==null?Ve():Ue()},"revert"),Ve=u(()=>{L.current=null,y(null),V()},"commitCustomValue"),Ue=u(()=>{if(t.selectedKey!==void 0&&t.inputValue!==void 0){var K,ue;(K=t.onSelectionChange)===null||K===void 0||K.call(t,b);var ge;let Qn=b!=null&&(ge=(ue=g.getItem(b))===null||ue===void 0?void 0:ue.textValue)!==null&&ge!==void 0?ge:"";_(Qn),V()}else W(),V()},"commitSelection");const ur=u(()=>{if(l){var K,ue;const ge=b!=null&&(ue=(K=g.getItem(b))===null||K===void 0?void 0:K.textValue)!==null&&ue!==void 0?ue:"";v===ge?Ue():Ve()}else Ue()},"commitValue");let $o=u(()=>{R.isOpen&&O.focusedKey!=null?b===O.focusedKey?Ue():y(O.focusedKey):ur()},"commit"),ql=(0,wp.element.useRef)(v),wo=u(K=>{K?(ql.current=v,r==="focus"&&!t.isReadOnly&&M(null,"focus")):(a&&ur(),v!==ql.current&&J.commitValidation()),d(K)},"setFocused"),j=(0,wp.element.useMemo)(()=>R.isOpen?o?D:S:E,[R.isOpen,D,S,o,E]);return{...J,...R,focusStrategy:f,toggle:N,open:M,close:ur,selectionManager:O,selectedKey:b,setSelectedKey:y,disabledKeys:C,isFocused:c,setFocused:wo,selectedItem:$,collection:j,inputValue:v,setInputValue:k,commit:$o,revert:le}}u(EN,"$a9e7382a7d111cb5$export$b453a3bfd4a5fa9e");function AN(t,e,n){return new ls(J2(t,t,e,n))}u(AN,"$a9e7382a7d111cb5$var$filterCollection");function J2(t,e,n,r){let i=[];for(let l of e)if(l.type==="section"&&l.hasChildNodes){let a=J2(t,yd(l,t),n,r);[...a].some(o=>o.type==="item")&&i.push({...l,childNodes:a})}else l.type==="item"&&r(l.textValue,n)?i.push({...l}):l.type!=="item"&&i.push({...l});return i}u(J2,"$a9e7382a7d111cb5$var$filterNodes");var ek={};ek={rangeOverflow:t=>`\u064A\u062C\u0628 \u0623\u0646 \u062A\u0643\u0648\u0646 \u0627\u0644\u0642\u064A\u0645\u0629 ${t.maxValue} \u0623\u0648 \u0642\u0628\u0644 \u0630\u0644\u0643.`,rangeReversed:"\u062A\u0627\u0631\u064A\u062E \u0627\u0644\u0628\u062F\u0621 \u064A\u062C\u0628 \u0623\u0646 \u064A\u0643\u0648\u0646 \u0642\u0628\u0644 \u062A\u0627\u0631\u064A\u062E \u0627\u0644\u0627\u0646\u062A\u0647\u0627\u0621.",rangeUnderflow:t=>`\u064A\u062C\u0628 \u0623\u0646 \u062A\u0643\u0648\u0646 \u0627\u0644\u0642\u064A\u0645\u0629 ${t.minValue} \u0623\u0648 \u0628\u0639\u062F \u0630\u0644\u0643.`,unavailableDate:"\u0627\u0644\u0628\u064A\u0627\u0646\u0627\u062A \u0627\u0644\u0645\u062D\u062F\u062F\u0629 \u063A\u064A\u0631 \u0645\u062A\u0627\u062D\u0629."};var tk={};tk={rangeOverflow:t=>`\u0421\u0442\u043E\u0439\u043D\u043E\u0441\u0442\u0442\u0430 \u0442\u0440\u044F\u0431\u0432\u0430 \u0434\u0430 \u0435 ${t.maxValue} \u0438\u043B\u0438 \u043F\u043E-\u0440\u0430\u043D\u043D\u0430.`,rangeReversed:"\u041D\u0430\u0447\u0430\u043B\u043D\u0430\u0442\u0430 \u0434\u0430\u0442\u0430 \u0442\u0440\u044F\u0431\u0432\u0430 \u0434\u0430 \u0435 \u043F\u0440\u0435\u0434\u0438 \u043A\u0440\u0430\u0439\u043D\u0430\u0442\u0430.",rangeUnderflow:t=>`\u0421\u0442\u043E\u0439\u043D\u043E\u0441\u0442\u0442\u0430 \u0442\u0440\u044F\u0431\u0432\u0430 \u0434\u0430 \u0435 ${t.minValue} \u0438\u043B\u0438 \u043F\u043E-\u043A\u044A\u0441\u043D\u043E.`,unavailableDate:"\u0418\u0437\u0431\u0440\u0430\u043D\u0430\u0442\u0430 \u0434\u0430\u0442\u0430 \u043D\u0435 \u0435 \u043D\u0430\u043B\u0438\u0447\u043D\u0430."};var nk={};nk={rangeOverflow:t=>`Hodnota mus\xED b\xFDt ${t.maxValue} nebo d\u0159\xEDv\u011Bj\u0161\xED.`,rangeReversed:"Datum zah\xE1jen\xED mus\xED p\u0159edch\xE1zet datu ukon\u010Den\xED.",rangeUnderflow:t=>`Hodnota mus\xED b\xFDt ${t.minValue} nebo pozd\u011Bj\u0161\xED.`,unavailableDate:"Vybran\xE9 datum nen\xED k dispozici."};var rk={};rk={rangeOverflow:t=>`V\xE6rdien skal v\xE6re ${t.maxValue} eller tidligere.`,rangeReversed:"Startdatoen skal v\xE6re f\xF8r slutdatoen.",rangeUnderflow:t=>`V\xE6rdien skal v\xE6re ${t.minValue} eller nyere.`,unavailableDate:"Den valgte dato er ikke tilg\xE6ngelig."};var ik={};ik={rangeOverflow:t=>`Der Wert muss ${t.maxValue} oder fr\xFCher sein.`,rangeReversed:"Das Anfangsdatum muss vor dem Enddatum liegen.",rangeUnderflow:t=>`Der Wert muss ${t.minValue} oder sp\xE4ter sein.`,unavailableDate:"Das ausgew\xE4hlte Datum ist nicht verf\xFCgbar."};var lk={};lk={rangeOverflow:t=>`\u0397 \u03C4\u03B9\u03BC\u03AE \u03C0\u03C1\u03AD\u03C0\u03B5\u03B9 \u03BD\u03B1 \u03B5\u03AF\u03BD\u03B1\u03B9 ${t.maxValue} \u03AE \u03C0\u03B1\u03BB\u03B1\u03B9\u03CC\u03C4\u03B5\u03C1\u03B7.`,rangeReversed:"\u0397 \u03B7\u03BC\u03B5\u03C1\u03BF\u03BC\u03B7\u03BD\u03AF\u03B1 \u03AD\u03BD\u03B1\u03C1\u03BE\u03B7\u03C2 \u03C0\u03C1\u03AD\u03C0\u03B5\u03B9 \u03BD\u03B1 \u03B5\u03AF\u03BD\u03B1\u03B9 \u03C0\u03C1\u03B9\u03BD \u03B1\u03C0\u03CC \u03C4\u03B7\u03BD \u03B7\u03BC\u03B5\u03C1\u03BF\u03BC\u03B7\u03BD\u03AF\u03B1 \u03BB\u03AE\u03BE\u03B7\u03C2.",rangeUnderflow:t=>`\u0397 \u03C4\u03B9\u03BC\u03AE \u03C0\u03C1\u03AD\u03C0\u03B5\u03B9 \u03BD\u03B1 \u03B5\u03AF\u03BD\u03B1\u03B9 ${t.minValue} \u03AE \u03BC\u03B5\u03C4\u03B1\u03B3\u03B5\u03BD\u03AD\u03C3\u03C4\u03B5\u03C1\u03B7.`,unavailableDate:"\u0397 \u03B5\u03C0\u03B9\u03BB\u03B5\u03B3\u03BC\u03AD\u03BD\u03B7 \u03B7\u03BC\u03B5\u03C1\u03BF\u03BC\u03B7\u03BD\u03AF\u03B1 \u03B4\u03B5\u03BD \u03B5\u03AF\u03BD\u03B1\u03B9 \u03B4\u03B9\u03B1\u03B8\u03AD\u03C3\u03B9\u03BC\u03B7."};var ak={};ak={rangeUnderflow:t=>`Value must be ${t.minValue} or later.`,rangeOverflow:t=>`Value must be ${t.maxValue} or earlier.`,rangeReversed:"Start date must be before end date.",unavailableDate:"Selected date unavailable."};var ok={};ok={rangeOverflow:t=>`El valor debe ser ${t.maxValue} o anterior.`,rangeReversed:"La fecha de inicio debe ser anterior a la fecha de finalizaci\xF3n.",rangeUnderflow:t=>`El valor debe ser ${t.minValue} o posterior.`,unavailableDate:"Fecha seleccionada no disponible."};var sk={};sk={rangeOverflow:t=>`V\xE4\xE4rtus peab olema ${t.maxValue} v\xF5i varasem.`,rangeReversed:"Alguskuup\xE4ev peab olema enne l\xF5ppkuup\xE4eva.",rangeUnderflow:t=>`V\xE4\xE4rtus peab olema ${t.minValue} v\xF5i hilisem.`,unavailableDate:"Valitud kuup\xE4ev pole saadaval."};var uk={};uk={rangeOverflow:t=>`Arvon on oltava ${t.maxValue} tai sit\xE4 aikaisempi.`,rangeReversed:"Aloitusp\xE4iv\xE4n on oltava ennen lopetusp\xE4iv\xE4\xE4.",rangeUnderflow:t=>`Arvon on oltava ${t.minValue} tai sit\xE4 my\xF6h\xE4isempi.`,unavailableDate:"Valittu p\xE4iv\xE4m\xE4\xE4r\xE4 ei ole k\xE4ytett\xE4viss\xE4."};var ck={};ck={rangeOverflow:t=>`La valeur doit \xEAtre ${t.maxValue} ou ant\xE9rieure.`,rangeReversed:"La date de d\xE9but doit \xEAtre ant\xE9rieure \xE0 la date de fin.",rangeUnderflow:t=>`La valeur doit \xEAtre ${t.minValue} ou ult\xE9rieure.`,unavailableDate:"La date s\xE9lectionn\xE9e n\u2019est pas disponible."};var dk={};dk={rangeOverflow:t=>`\u05D4\u05E2\u05E8\u05DA \u05D7\u05D9\u05D9\u05D1 \u05DC\u05D4\u05D9\u05D5\u05EA ${t.maxValue} \u05D0\u05D5 \u05DE\u05D5\u05E7\u05D3\u05DD \u05D9\u05D5\u05EA\u05E8.`,rangeReversed:"\u05EA\u05D0\u05E8\u05D9\u05DA \u05D4\u05D4\u05EA\u05D7\u05DC\u05D4 \u05D7\u05D9\u05D9\u05D1 \u05DC\u05D4\u05D9\u05D5\u05EA \u05DC\u05E4\u05E0\u05D9 \u05EA\u05D0\u05E8\u05D9\u05DA \u05D4\u05E1\u05D9\u05D5\u05DD.",rangeUnderflow:t=>`\u05D4\u05E2\u05E8\u05DA \u05D7\u05D9\u05D9\u05D1 \u05DC\u05D4\u05D9\u05D5\u05EA ${t.minValue} \u05D0\u05D5 \u05DE\u05D0\u05D5\u05D7\u05E8 \u05D9\u05D5\u05EA\u05E8.`,unavailableDate:"\u05D4\u05EA\u05D0\u05E8\u05D9\u05DA \u05D4\u05E0\u05D1\u05D7\u05E8 \u05D0\u05D9\u05E0\u05D5 \u05D6\u05DE\u05D9\u05DF."};var fk={};fk={rangeOverflow:t=>`Vrijednost mora biti ${t.maxValue} ili ranije.`,rangeReversed:"Datum po\u010Detka mora biti prije datuma zavr\u0161etka.",rangeUnderflow:t=>`Vrijednost mora biti ${t.minValue} ili kasnije.`,unavailableDate:"Odabrani datum nije dostupan."};var hk={};hk={rangeOverflow:t=>`Az \xE9rt\xE9knek ${t.maxValue} vagy kor\xE1bbinak kell lennie.`,rangeReversed:"A kezd\u0151 d\xE1tumnak a befejez\u0151 d\xE1tumn\xE1l kor\xE1bbinak kell lennie.",rangeUnderflow:t=>`Az \xE9rt\xE9knek ${t.minValue} vagy k\xE9s\u0151bbinek kell lennie.`,unavailableDate:"A kiv\xE1lasztott d\xE1tum nem \xE9rhet\u0151 el."};var pk={};pk={rangeOverflow:t=>`Il valore deve essere ${t.maxValue} o precedente.`,rangeReversed:"La data di inizio deve essere antecedente alla data di fine.",rangeUnderflow:t=>`Il valore deve essere ${t.minValue} o successivo.`,unavailableDate:"Data selezionata non disponibile."};var mk={};mk={rangeOverflow:t=>`\u5024\u306F ${t.maxValue} \u4EE5\u4E0B\u306B\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002`,rangeReversed:"\u958B\u59CB\u65E5\u306F\u7D42\u4E86\u65E5\u3088\u308A\u524D\u306B\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002",rangeUnderflow:t=>`\u5024\u306F ${t.minValue} \u4EE5\u4E0A\u306B\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002`,unavailableDate:"\u9078\u629E\u3057\u305F\u65E5\u4ED8\u306F\u4F7F\u7528\u3067\u304D\u307E\u305B\u3093\u3002"};var gk={};gk={rangeOverflow:t=>`\uAC12\uC740 ${t.maxValue} \uC774\uC804\uC774\uC5B4\uC57C \uD569\uB2C8\uB2E4.`,rangeReversed:"\uC2DC\uC791\uC77C\uC740 \uC885\uB8CC\uC77C \uC774\uC804\uC774\uC5B4\uC57C \uD569\uB2C8\uB2E4.",rangeUnderflow:t=>`\uAC12\uC740 ${t.minValue} \uC774\uC0C1\uC774\uC5B4\uC57C \uD569\uB2C8\uB2E4.`,unavailableDate:"\uC120\uD0DD\uD55C \uB0A0\uC9DC\uB97C \uC0AC\uC6A9\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4."};var Ok={};Ok={rangeOverflow:t=>`Reik\u0161m\u0117 turi b\u016Bti ${t.maxValue} arba ankstesn\u0117.`,rangeReversed:"Prad\u017Eios data turi b\u016Bti ankstesn\u0117 nei pabaigos data.",rangeUnderflow:t=>`Reik\u0161m\u0117 turi b\u016Bti ${t.minValue} arba naujesn\u0117.`,unavailableDate:"Pasirinkta data nepasiekiama."};var bk={};bk={rangeOverflow:t=>`V\u0113rt\u012Bbai ir j\u0101b\u016Bt ${t.maxValue} vai agr\u0101kai.`,rangeReversed:"S\u0101kuma datumam ir j\u0101b\u016Bt pirms beigu datuma.",rangeUnderflow:t=>`V\u0113rt\u012Bbai ir j\u0101b\u016Bt ${t.minValue} vai v\u0113l\u0101kai.`,unavailableDate:"Atlas\u012Btais datums nav pieejams."};var yk={};yk={rangeOverflow:t=>`Verdien m\xE5 v\xE6re ${t.maxValue} eller tidligere.`,rangeReversed:"Startdatoen m\xE5 v\xE6re f\xF8r sluttdatoen.",rangeUnderflow:t=>`Verdien m\xE5 v\xE6re ${t.minValue} eller senere.`,unavailableDate:"Valgt dato utilgjengelig."};var vk={};vk={rangeOverflow:t=>`Waarde moet ${t.maxValue} of eerder zijn.`,rangeReversed:"De startdatum moet voor de einddatum liggen.",rangeUnderflow:t=>`Waarde moet ${t.minValue} of later zijn.`,unavailableDate:"Geselecteerde datum niet beschikbaar."};var $k={};$k={rangeOverflow:t=>`Warto\u015B\u0107 musi mie\u0107 warto\u015B\u0107 ${t.maxValue} lub wcze\u015Bniejsz\u0105.`,rangeReversed:"Data rozpocz\u0119cia musi by\u0107 wcze\u015Bniejsza ni\u017C data zako\u0144czenia.",rangeUnderflow:t=>`Warto\u015B\u0107 musi mie\u0107 warto\u015B\u0107 ${t.minValue} lub p\xF3\u017Aniejsz\u0105.`,unavailableDate:"Wybrana data jest niedost\u0119pna."};var wk={};wk={rangeOverflow:t=>`O valor deve ser ${t.maxValue} ou anterior.`,rangeReversed:"A data inicial deve ser anterior \xE0 data final.",rangeUnderflow:t=>`O valor deve ser ${t.minValue} ou posterior.`,unavailableDate:"Data selecionada indispon\xEDvel."};var xk={};xk={rangeOverflow:t=>`O valor tem de ser ${t.maxValue} ou anterior.`,rangeReversed:"A data de in\xEDcio deve ser anterior \xE0 data de fim.",rangeUnderflow:t=>`O valor tem de ser ${t.minValue} ou posterior.`,unavailableDate:"Data selecionada indispon\xEDvel."};var Sk={};Sk={rangeOverflow:t=>`Valoarea trebuie s\u0103 fie ${t.maxValue} sau anterioar\u0103.`,rangeReversed:"Data de \xEEnceput trebuie s\u0103 fie anterioar\u0103 datei de sf\xE2r\u0219it.",rangeUnderflow:t=>`Valoarea trebuie s\u0103 fie ${t.minValue} sau ulterioar\u0103.`,unavailableDate:"Data selectat\u0103 nu este disponibil\u0103."};var Ck={};Ck={rangeOverflow:t=>`\u0417\u043D\u0430\u0447\u0435\u043D\u0438\u0435 \u0434\u043E\u043B\u0436\u043D\u043E \u0431\u044B\u0442\u044C \u043D\u0435 \u043F\u043E\u0437\u0436\u0435 ${t.maxValue}.`,rangeReversed:"\u0414\u0430\u0442\u0430 \u043D\u0430\u0447\u0430\u043B\u0430 \u0434\u043E\u043B\u0436\u043D\u0430 \u043F\u0440\u0435\u0434\u0448\u0435\u0441\u0442\u0432\u043E\u0432\u0430\u0442\u044C \u0434\u0430\u0442\u0435 \u043E\u043A\u043E\u043D\u0447\u0430\u043D\u0438\u044F.",rangeUnderflow:t=>`\u0417\u043D\u0430\u0447\u0435\u043D\u0438\u0435 \u0434\u043E\u043B\u0436\u043D\u043E \u0431\u044B\u0442\u044C \u043D\u0435 \u0440\u0430\u043D\u044C\u0448\u0435 ${t.minValue}.`,unavailableDate:"\u0412\u044B\u0431\u0440\u0430\u043D\u043D\u0430\u044F \u0434\u0430\u0442\u0430 \u043D\u0435\u0434\u043E\u0441\u0442\u0443\u043F\u043D\u0430."};var Dk={};Dk={rangeOverflow:t=>`Hodnota mus\xED by\u0165 ${t.maxValue} alebo skor\u0161ia.`,rangeReversed:"D\xE1tum za\u010Diatku mus\xED by\u0165 skor\u0161\xED ako d\xE1tum konca.",rangeUnderflow:t=>`Hodnota mus\xED by\u0165 ${t.minValue} alebo neskor\u0161ia.`,unavailableDate:"Vybrat\xFD d\xE1tum je nedostupn\xFD."};var kk={};kk={rangeOverflow:t=>`Vrednost mora biti ${t.maxValue} ali starej\u0161a.`,rangeReversed:"Za\u010Detni datum mora biti pred kon\u010Dnim datumom.",rangeUnderflow:t=>`Vrednost mora biti ${t.minValue} ali novej\u0161a.`,unavailableDate:"Izbrani datum ni na voljo."};var Pk={};Pk={rangeOverflow:t=>`Vrednost mora da bude ${t.maxValue} ili starija.`,rangeReversed:"Datum po\u010Detka mora biti pre datuma zavr\u0161etka.",rangeUnderflow:t=>`Vrednost mora da bude ${t.minValue} ili novija.`,unavailableDate:"Izabrani datum nije dostupan."};var Ek={};Ek={rangeOverflow:t=>`V\xE4rdet m\xE5ste vara ${t.maxValue} eller tidigare.`,rangeReversed:"Startdatumet m\xE5ste vara f\xF6re slutdatumet.",rangeUnderflow:t=>`V\xE4rdet m\xE5ste vara ${t.minValue} eller senare.`,unavailableDate:"Det valda datumet \xE4r inte tillg\xE4ngligt."};var Ak={};Ak={rangeOverflow:t=>`De\u011Fer, ${t.maxValue} veya \xF6ncesi olmal\u0131d\u0131r.`,rangeReversed:"Ba\u015Flang\u0131\xE7 tarihi biti\u015F tarihinden \xF6nce olmal\u0131d\u0131r.",rangeUnderflow:t=>`De\u011Fer, ${t.minValue} veya sonras\u0131 olmal\u0131d\u0131r.`,unavailableDate:"Se\xE7ilen tarih kullan\u0131lam\u0131yor."};var Tk={};Tk={rangeOverflow:t=>`\u0417\u043D\u0430\u0447\u0435\u043D\u043D\u044F \u043C\u0430\u0454 \u0431\u0443\u0442\u0438 \u043D\u0435 \u043F\u0456\u0437\u043D\u0456\u0448\u0435 ${t.maxValue}.`,rangeReversed:"\u0414\u0430\u0442\u0430 \u043F\u043E\u0447\u0430\u0442\u043A\u0443 \u043C\u0430\u0454 \u043F\u0435\u0440\u0435\u0434\u0443\u0432\u0430\u0442\u0438 \u0434\u0430\u0442\u0456 \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043D\u043D\u044F.",rangeUnderflow:t=>`\u0417\u043D\u0430\u0447\u0435\u043D\u043D\u044F \u043C\u0430\u0454 \u0431\u0443\u0442\u0438 \u043D\u0435 \u0440\u0430\u043D\u0456\u0448\u0435 ${t.minValue}.`,unavailableDate:"\u0412\u0438\u0431\u0440\u0430\u043D\u0430 \u0434\u0430\u0442\u0430 \u043D\u0435\u0434\u043E\u0441\u0442\u0443\u043F\u043D\u0430."};var Rk={};Rk={rangeOverflow:t=>`\u503C\u5FC5\u987B\u662F ${t.maxValue} \u6216\u66F4\u65E9\u65E5\u671F\u3002`,rangeReversed:"\u5F00\u59CB\u65E5\u671F\u5FC5\u987B\u65E9\u4E8E\u7ED3\u675F\u65E5\u671F\u3002",rangeUnderflow:t=>`\u503C\u5FC5\u987B\u662F ${t.minValue} \u6216\u66F4\u665A\u65E5\u671F\u3002`,unavailableDate:"\u6240\u9009\u65E5\u671F\u4E0D\u53EF\u7528\u3002"};var Qk={};Qk={rangeOverflow:t=>`\u503C\u5FC5\u9808\u662F ${t.maxValue} \u6216\u66F4\u65E9\u3002`,rangeReversed:"\u958B\u59CB\u65E5\u671F\u5FC5\u9808\u5728\u7D50\u675F\u65E5\u671F\u4E4B\u524D\u3002",rangeUnderflow:t=>`\u503C\u5FC5\u9808\u662F ${t.minValue} \u6216\u66F4\u665A\u3002`,unavailableDate:"\u6240\u9078\u65E5\u671F\u7121\u6CD5\u4F7F\u7528\u3002"};var Mk={};Mk={"ar-AE":ek,"bg-BG":tk,"cs-CZ":nk,"da-DK":rk,"de-DE":ik,"el-GR":lk,"en-US":ak,"es-ES":ok,"et-EE":sk,"fi-FI":uk,"fr-FR":ck,"he-IL":dk,"hr-HR":fk,"hu-HU":hk,"it-IT":pk,"ja-JP":mk,"ko-KR":gk,"lt-LT":Ok,"lv-LV":bk,"nb-NO":yk,"nl-NL":vk,"pl-PL":$k,"pt-BR":wk,"pt-PT":xk,"ro-RO":Sk,"ru-RU":Ck,"sk-SK":Dk,"sl-SI":kk,"sr-SP":Pk,"sv-SE":Ek,"tr-TR":Ak,"uk-UA":Tk,"zh-CN":Rk,"zh-TW":Qk};function TN(t){return t&&t.__esModule?t.default:t}u(TN,"$parcel$interopDefault");const Bk=new nn(TN(Mk));function Vk(){return typeof navigator<"u"&&(navigator.language||navigator.userLanguage)||"en-US"}u(Vk,"$35a22f14a1f04b11$var$getLocale");function $d(t,e,n,r,i){let l=t!=null&&n!=null&&t.compare(n)>0,a=t!=null&&e!=null&&t.compare(e)<0,o=t!=null&&r?.(t)||!1,s=l||a||o,c=[];if(s){let d=Vk(),f=nn.getGlobalDictionaryForPackage("@react-stately/datepicker")||Bk,h=new Vo(d,f),p=new Pt(d,Cr({},i)),m=p.resolvedOptions().timeZone;a&&c.push(h.format("rangeUnderflow",{minValue:p.format(e.toDate(m))})),l&&c.push(h.format("rangeOverflow",{maxValue:p.format(n.toDate(m))})),o&&c.push(h.format("unavailableDate"))}return{isInvalid:s,validationErrors:c,validationDetails:{badInput:o,customError:!1,patternMismatch:!1,rangeOverflow:l,rangeUnderflow:a,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valueMissing:!1,valid:!s}}}u($d,"$35a22f14a1f04b11$export$f18627323ab57ac0");function RN(t,e,n,r,i){let l=$d(t?.start,e,n,r,i),a=$d(t?.end,e,n,r,i),o=cd(l,a);if(t.end!=null&&t.start!=null&&t.end.compare(t.start)<0){let s=nn.getGlobalDictionaryForPackage("@react-stately/datepicker")||Bk;o=cd(o,{isInvalid:!0,validationErrors:[s.getStringForLocale("rangeReversed",Vk())],validationDetails:{...ud,rangeUnderflow:!0,rangeOverflow:!0,valid:!1}})}return o}u(RN,"$35a22f14a1f04b11$export$80ff8fc0ae339c13");const QN={year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"2-digit",second:"2-digit"},MN={year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"};function Cr(t,e){t={...e.shouldForceLeadingZeros?MN:QN,...t};let r=e.granularity||"minute",i=Object.keys(t);var l;let a=i.indexOf((l=e.maxGranularity)!==null&&l!==void 0?l:"year");a<0&&(a=0);let o=i.indexOf(r);if(o<0&&(o=2),a>o)throw new Error("maxGranularity must be greater than granularity");let s=i.slice(a,o+1).reduce((d,f)=>(d[f]=t[f],d),{});return e.hourCycle!=null&&(s.hour12=e.hourCycle===12),s.timeZone=e.timeZone||"UTC",(r==="hour"||r==="minute"||r==="second")&&e.timeZone&&!e.hideTimeZone&&(s.timeZoneName="short"),e.showEra&&a===0&&(s.era="short"),s}u(Cr,"$35a22f14a1f04b11$export$7e319ea407e63bc0");function ga(t){return t&&"hour"in t?t:new Pm}u(ga,"$35a22f14a1f04b11$export$c5221a78ef73c5e9");function Nk(t,e){if(t===null)return null;if(t)return Ae(t,e)}u(Nk,"$35a22f14a1f04b11$export$61a490a80c552550");function as(t,e,n,r){if(t)return Nk(t,n);let i=Ae(U3(r).set({hour:0,minute:0,second:0,millisecond:0}),n);return e==="year"||e==="month"||e==="day"?pt(i):r?i:Bn(i)}u(as,"$35a22f14a1f04b11$export$66aa2b09de4b1ea5");function Fg(t,e){let n=t&&"timeZone"in t?t.timeZone:void 0,r=t&&"minute"in t?"minute":"day";if(t&&e&&!(e in t))throw new Error("Invalid granularity "+e+" for value "+t.toString());let[i,l]=(0,wp.element.useState)([r,n]);t&&(i[0]!==r||i[1]!==n)&&l([r,n]),e||(e=t?r:i[0]);let a=t?n:i[1];return[e,a]}u(Fg,"$35a22f14a1f04b11$export$2440da353cedad43");function BN(t){let e=ti(t),[n,r]=Le(t.value,t.defaultValue||null,t.onChange),i=n||t.placeholderValue,[l,a]=Fg(i,t.granularity),o=n!=null?n.toDate(a??"UTC"):null,s=l==="hour"||l==="minute"||l==="second";var c;let d=(c=t.shouldCloseOnSelect)!==null&&c!==void 0?c:!0,[f,h]=(0,wp.element.useState)(null),[p,m]=(0,wp.element.useState)(null);if(n&&(f=n,"hour"in n&&(p=n)),i&&!(l in i))throw new Error("Invalid granularity "+l+" for value "+i.toString());let g=n?.calendar.identifier==="gregory"&&n.era==="BC",O=(0,wp.element.useMemo)(()=>({granularity:l,timeZone:a,hideTimeZone:t.hideTimeZone,hourCycle:t.hourCycle,shouldForceLeadingZeros:t.shouldForceLeadingZeros,showEra:g}),[l,t.hourCycle,t.shouldForceLeadingZeros,a,t.hideTimeZone,g]),{minValue:b,maxValue:y,isDateUnavailable:$}=t,C=(0,wp.element.useMemo)(()=>$d(n,b,y,$,O),[n,b,y,$,O]),w=Fn({...t,value:n,builtinValidation:C}),x=w.displayValidation.isInvalid,P=t.validationState||(x?"invalid":null),v=u((S,E)=>{r("timeZone"in E?E.set(pt(S)):Bn(S,E)),h(null),m(null),w.commitValidation()},"commitValue");return{...w,value:n,setValue:r,dateValue:f,timeValue:p,setDateValue:u(S=>{let E=typeof d=="function"?d():d;s?p||E?v(S,p||ga(t.placeholderValue)):h(S):(r(S),w.commitValidation()),E&&e.setOpen(!1)},"selectDate"),setTimeValue:u(S=>{f&&S?v(f,S):m(S)},"selectTime"),granularity:l,hasTime:s,...e,setOpen(S){!S&&!n&&f&&s&&v(f,p||ga(t.placeholderValue)),e.setOpen(S)},validationState:P,isInvalid:x,formatValue(S,E){if(!o)return"";let A=Cr(E,O);return new Pt(S,A).format(o)},getDateFormatter(S,E){let A={...O,...E},B=Cr({},A);return new Pt(S,B)}}}u(BN,"$ab5bf3f618090389$export$87194bb378cc3ac2");const VN=new nn({ach:{year:"mwaka",month:"dwe",day:"nino"},af:{year:"jjjj",month:"mm",day:"dd"},am:{year:"\u12D3\u12D3\u12D3\u12D3",month:"\u121A\u121C",day:"\u1240\u1240"},an:{year:"aaaa",month:"mm",day:"dd"},ar:{year:"\u0633\u0646\u0629",month:"\u0634\u0647\u0631",day:"\u064A\u0648\u0645"},ast:{year:"aaaa",month:"mm",day:"dd"},az:{year:"iiii",month:"aa",day:"gg"},be:{year:"\u0433\u0433\u0433\u0433",month:"\u043C\u043C",day:"\u0434\u0434"},bg:{year:"\u0433\u0433\u0433\u0433",month:"\u043C\u043C",day:"\u0434\u0434"},bn:{year:"yyyy",month:"\u09AE\u09BF\u09AE\u09BF",day:"dd"},br:{year:"bbbb",month:"mm",day:"dd"},bs:{year:"gggg",month:"mm",day:"dd"},ca:{year:"aaaa",month:"mm",day:"dd"},cak:{year:"jjjj",month:"ii",day:"q'q'"},ckb:{year:"\u0633\u0627\u06B5",month:"\u0645\u0627\u0646\u06AF",day:"\u0695\u06C6\u0698"},cs:{year:"rrrr",month:"mm",day:"dd"},cy:{year:"bbbb",month:"mm",day:"dd"},da:{year:"\xE5\xE5\xE5\xE5",month:"mm",day:"dd"},de:{year:"jjjj",month:"mm",day:"tt"},dsb:{year:"llll",month:"mm",day:"\u017A\u017A"},el:{year:"\u03B5\u03B5\u03B5\u03B5",month:"\u03BC\u03BC",day:"\u03B7\u03B7"},en:{year:"yyyy",month:"mm",day:"dd"},eo:{year:"jjjj",month:"mm",day:"tt"},es:{year:"aaaa",month:"mm",day:"dd"},et:{year:"aaaa",month:"kk",day:"pp"},eu:{year:"uuuu",month:"hh",day:"ee"},fa:{year:"\u0633\u0627\u0644",month:"\u0645\u0627\u0647",day:"\u0631\u0648\u0632"},ff:{year:"hhhh",month:"ll",day:"\xF1\xF1"},fi:{year:"vvvv",month:"kk",day:"pp"},fr:{year:"aaaa",month:"mm",day:"jj"},fy:{year:"jjjj",month:"mm",day:"dd"},ga:{year:"bbbb",month:"mm",day:"ll"},gd:{year:"bbbb",month:"mm",day:"ll"},gl:{year:"aaaa",month:"mm",day:"dd"},he:{year:"\u05E9\u05E0\u05D4",month:"\u05D7\u05D5\u05D3\u05E9",day:"\u05D9\u05D5\u05DD"},hr:{year:"gggg",month:"mm",day:"dd"},hsb:{year:"llll",month:"mm",day:"dd"},hu:{year:"\xE9\xE9\xE9\xE9",month:"hh",day:"nn"},ia:{year:"aaaa",month:"mm",day:"dd"},id:{year:"tttt",month:"bb",day:"hh"},it:{year:"aaaa",month:"mm",day:"gg"},ja:{year:" \u5E74 ",month:"\u6708",day:"\u65E5"},ka:{year:"\u10EC\u10EC\u10EC\u10EC",month:"\u10D7\u10D7",day:"\u10E0\u10E0"},kk:{year:"\u0436\u0436\u0436\u0436",month:"\u0430\u0430",day:"\u043A\u043A"},kn:{year:"\u0CB5\u0CB5\u0CB5\u0CB5",month:"\u0CAE\u0CBF\u0CAE\u0CC0",day:"\u0CA6\u0CBF\u0CA6\u0CBF"},ko:{year:"\uC5F0\uB3C4",month:"\uC6D4",day:"\uC77C"},lb:{year:"jjjj",month:"mm",day:"dd"},lo:{year:"\u0E9B\u0E9B\u0E9B\u0E9B",month:"\u0E94\u0E94",day:"\u0EA7\u0EA7"},lt:{year:"mmmm",month:"mm",day:"dd"},lv:{year:"gggg",month:"mm",day:"dd"},meh:{year:"aaaa",month:"mm",day:"dd"},ml:{year:"\u0D35\u0D7C\u0D37\u0D02",month:"\u0D2E\u0D3E\u0D38\u0D02",day:"\u0D24\u0D40\u0D2F\u0D24\u0D3F"},ms:{year:"tttt",month:"mm",day:"hh"},nl:{year:"jjjj",month:"mm",day:"dd"},nn:{year:"\xE5\xE5\xE5\xE5",month:"mm",day:"dd"},no:{year:"\xE5\xE5\xE5\xE5",month:"mm",day:"dd"},oc:{year:"aaaa",month:"mm",day:"jj"},pl:{year:"rrrr",month:"mm",day:"dd"},pt:{year:"aaaa",month:"mm",day:"dd"},rm:{year:"oooo",month:"mm",day:"dd"},ro:{year:"aaaa",month:"ll",day:"zz"},ru:{year:"\u0433\u0433\u0433\u0433",month:"\u043C\u043C",day:"\u0434\u0434"},sc:{year:"aaaa",month:"mm",day:"dd"},scn:{year:"aaaa",month:"mm",day:"jj"},sk:{year:"rrrr",month:"mm",day:"dd"},sl:{year:"llll",month:"mm",day:"dd"},sr:{year:"\u0433\u0433\u0433\u0433",month:"\u043C\u043C",day:"\u0434\u0434"},sv:{year:"\xE5\xE5\xE5\xE5",month:"mm",day:"dd"},szl:{year:"rrrr",month:"mm",day:"dd"},tg:{year:"\u0441\u0441\u0441\u0441",month:"\u043C\u043C",day:"\u0440\u0440"},th:{year:"\u0E1B\u0E1B\u0E1B\u0E1B",month:"\u0E14\u0E14",day:"\u0E27\u0E27"},tr:{year:"yyyy",month:"aa",day:"gg"},uk:{year:"\u0440\u0440\u0440\u0440",month:"\u043C\u043C",day:"\u0434\u0434"},"zh-CN":{year:"\u5E74",month:"\u6708",day:"\u65E5"},"zh-TW":{year:"\u5E74",month:"\u6708",day:"\u65E5"}},"en");function NN(t,e,n){return t==="era"||t==="dayPeriod"?e:t==="year"||t==="month"||t==="day"?VN.getStringForLocale(t,n):"\u2013\u2013"}u(NN,"$3e3ed55ab2966714$export$d3f5c5e0a5023fa0");const wd={year:!0,month:!0,day:!0,hour:!0,minute:!0,second:!0,dayPeriod:!0,era:!0},Fk={year:5,month:2,day:7,hour:2,minute:15,second:15},FN={dayperiod:"dayPeriod"};function IN(t){let{locale:e,createCalendar:n,hideTimeZone:r,isDisabled:i,isReadOnly:l,isRequired:a,minValue:o,maxValue:s,isDateUnavailable:c}=t,d=t.value||t.defaultValue||t.placeholderValue,[f,h]=Fg(d,t.granularity),p=h||"UTC";if(d&&!(f in d))throw new Error("Invalid granularity "+f+" for value "+d.toString());let m=(0,wp.element.useMemo)(()=>new Pt(e),[e]),g=(0,wp.element.useMemo)(()=>n(m.resolvedOptions().calendar),[n,m]),[O,b]=Le(t.value,t.defaultValue,t.onChange),y=(0,wp.element.useMemo)(()=>Nk(O,g),[O,g]),[$,C]=(0,wp.element.useState)(()=>as(t.placeholderValue,f,g,h)),w=y||$,x=g.identifier==="gregory"&&w.era==="BC",P=(0,wp.element.useMemo)(()=>{var L;return{granularity:f,maxGranularity:(L=t.maxGranularity)!==null&&L!==void 0?L:"year",timeZone:h,hideTimeZone:r,hourCycle:t.hourCycle,showEra:x,shouldForceLeadingZeros:t.shouldForceLeadingZeros}},[t.maxGranularity,f,t.hourCycle,t.shouldForceLeadingZeros,h,r,x]),v=(0,wp.element.useMemo)(()=>Cr({},P),[P]),k=(0,wp.element.useMemo)(()=>new Pt(e,v),[e,v]),D=(0,wp.element.useMemo)(()=>k.resolvedOptions(),[k]),S=(0,wp.element.useMemo)(()=>k.formatToParts(new Date).filter(L=>wd[L.type]).reduce((L,ie)=>(L[ie.type]=!0,L),{}),[k]),[E,A]=(0,wp.element.useState)(()=>t.value||t.defaultValue?{...S}:{}),B=(0,wp.element.useRef)(void 0),T=(0,wp.element.useRef)(g.identifier);(0,wp.element.useEffect)(()=>{g.identifier!==T.current&&(T.current=g.identifier,C(L=>Object.keys(E).length>0?Ae(L,g):as(t.placeholderValue,f,g,h)))},[g,f,E,h,t.placeholderValue]),O&&Object.keys(E).length=Object.keys(S).length?y:$,M=u(L=>{if(t.isDisabled||t.isReadOnly)return;let ie=Object.keys(E),he=Object.keys(S);L==null?(b(null),C(as(t.placeholderValue,f,g,h)),A({})):ie.length>=he.length||ie.length===he.length-1&&S.dayPeriod&&!E.dayPeriod&&B.current!=="dayPeriod"?(L=Ae(L,d?.calendar||new it),b(L)):C(L),B.current=null},"setValue"),N=(0,wp.element.useMemo)(()=>R.toDate(p),[R,p]),I=(0,wp.element.useMemo)(()=>k.formatToParts(N).map(L=>{let ie=wd[L.type];L.type==="era"&&g.getEras().length===1&&(ie=!1);let he=wd[L.type]&&!E[L.type],J=wd[L.type]?NN(L.type,L.value,e):null;return{type:FN[L.type]||L.type,text:he?J:L.value,...ZN(R,L.type,D),isPlaceholder:he,placeholder:J,isEditable:ie}}),[N,E,k,D,R,g,e]);S.era&&E.year&&!E.era?(E.era=!0,A({...E})):!S.era&&E.era&&(delete E.era,A({...E}));let F=u(L=>{E[L]=!0,L==="year"&&S.era&&(E.era=!0),A({...E})},"markValid"),V=u((L,ie)=>{if(E[L])M(zN(R,L,ie,D));else{F(L);let he=Object.keys(E),J=Object.keys(S);(he.length>=J.length||he.length===J.length-1&&S.dayPeriod&&!E.dayPeriod)&&M(R)}},"adjustSegment"),Z=(0,wp.element.useMemo)(()=>$d(O,o,s,c,P),[O,o,s,c,P]),_=Fn({...t,value:O,builtinValidation:Z}),W=_.displayValidation.isInvalid,re=t.validationState||(W?"invalid":null);var fe;return{..._,value:y,dateValue:N,calendar:g,setValue:M,segments:I,dateFormatter:k,validationState:re,isInvalid:W,granularity:f,maxGranularity:(fe=t.maxGranularity)!==null&&fe!==void 0?fe:"year",isDisabled:i,isReadOnly:l,isRequired:a,increment(L){V(L,1)},decrement(L){V(L,-1)},incrementPage(L){V(L,Fk[L]||1)},decrementPage(L){V(L,-(Fk[L]||1))},setSegment(L,ie){F(L),M(LN(R,L,ie,D))},confirmPlaceholder(){if(t.isDisabled||t.isReadOnly)return;let L=Object.keys(E),ie=Object.keys(S);L.length===ie.length-1&&S.dayPeriod&&!E.dayPeriod&&(E={...S},A(E),M(R.copy()))},clearSegment(L){delete E[L],B.current=L,A({...E});let ie=as(t.placeholderValue,f,g,h),he=R;if(L==="dayPeriod"&&"hour"in R&&"hour"in ie){let J=R.hour>=12,le=ie.hour>=12;J&&!le?he=R.set({hour:R.hour-12}):!J&&le&&(he=R.set({hour:R.hour+12}))}else L in R&&(he=R.set({[L]:ie[L]}));b(null),M(he)},formatValue(L){if(!y)return"";let ie=Cr(L,P);return new Pt(e,ie).format(N)},getDateFormatter(L,ie){let he={...P,...ie},J=Cr({},he);return new Pt(L,J)}}}u(IN,"$3c0fc76039f1c516$export$60e84778edff6d26");function ZN(t,e,n){switch(e){case"era":{let r=t.calendar.getEras();return{value:r.indexOf(t.era),minValue:0,maxValue:r.length-1}}case"year":return{value:t.year,minValue:1,maxValue:t.calendar.getYearsInEra(t)};case"month":return{value:t.month,minValue:bM(t),maxValue:t.calendar.getMonthsInYear(t)};case"day":return{value:t.day,minValue:yM(t),maxValue:t.calendar.getDaysInMonth(t)}}if("hour"in t)switch(e){case"dayPeriod":return{value:t.hour>=12?12:0,minValue:0,maxValue:12};case"hour":if(n.hour12){let r=t.hour>=12;return{value:t.hour,minValue:r?12:0,maxValue:r?23:11}}return{value:t.hour,minValue:0,maxValue:23};case"minute":return{value:t.minute,minValue:0,maxValue:59};case"second":return{value:t.second,minValue:0,maxValue:59}}return{}}u(ZN,"$3c0fc76039f1c516$var$getSegmentLimits");function zN(t,e,n,r){switch(e){case"era":case"year":case"month":case"day":return t.cycle(e,n,{round:e==="year"})}if("hour"in t)switch(e){case"dayPeriod":{let i=t.hour,l=i>=12;return t.set({hour:l?i-12:i+12})}case"hour":case"minute":case"second":return t.cycle(e,n,{round:e!=="hour",hourCycle:r.hour12?12:24})}}u(zN,"$3c0fc76039f1c516$var$addSegment");function LN(t,e,n,r){switch(e){case"day":case"month":case"year":case"era":return t.set({[e]:n})}if("hour"in t)switch(e){case"dayPeriod":{let i=t.hour,l=i>=12;return n>=12===l?t:t.set({hour:l?i-12:i+12})}case"hour":if(r.hour12){let l=t.hour>=12;!l&&n===12&&(n=0),l&&n<12&&(n+=12)}case"minute":case"second":return t.set({[e]:n})}}u(LN,"$3c0fc76039f1c516$var$setSegment");function WN(t){var e,n;let r=ti(t),[i,l]=Le(t.value,t.defaultValue||null,t.onChange),[a,o]=(0,wp.element.useState)(()=>i||{start:null,end:null});i==null&&a.start&&a.end&&(a={start:null,end:null},o(a));let s=i||a,c=u(R=>{o(R||{start:null,end:null}),R?.start&&R.end?l(R):l(null)},"setValue"),d=s?.start||s?.end||t.placeholderValue,[f,h]=Fg(d,t.granularity),p=f==="hour"||f==="minute"||f==="second";var m;let g=(m=t.shouldCloseOnSelect)!==null&&m!==void 0?m:!0,[O,b]=(0,wp.element.useState)(null),[y,$]=(0,wp.element.useState)(null);s&&s.start&&s.end&&(O=s,"hour"in s.start&&(y=s));let C=u((R,M)=>{c({start:"timeZone"in M.start?M.start.set(pt(R.start)):Bn(R.start,M.start),end:"timeZone"in M.end?M.end.set(pt(R.end)):Bn(R.end,M.end)}),b(null),$(null),A.commitValidation()},"commitValue"),w=u(R=>{let M=typeof g=="function"?g():g;p?M||R.start&&R.end&&y?.start&&y?.end?C(R,{start:y?.start||ga(t.placeholderValue),end:y?.end||ga(t.placeholderValue)}):b(R):R.start&&R.end?(c(R),A.commitValidation()):b(R),M&&r.setOpen(!1)},"setDateRange"),x=u(R=>{O?.start&&O?.end&&R.start&&R.end?C(O,R):$(R)},"setTimeRange"),P=(s==null||(e=s.start)===null||e===void 0?void 0:e.calendar.identifier)==="gregory"&&s.start.era==="BC"||(s==null||(n=s.end)===null||n===void 0?void 0:n.calendar.identifier)==="gregory"&&s.end.era==="BC",v=(0,wp.element.useMemo)(()=>({granularity:f,timeZone:h,hideTimeZone:t.hideTimeZone,hourCycle:t.hourCycle,shouldForceLeadingZeros:t.shouldForceLeadingZeros,showEra:P}),[f,t.hourCycle,t.shouldForceLeadingZeros,h,t.hideTimeZone,P]),{minValue:k,maxValue:D,isDateUnavailable:S}=t,E=(0,wp.element.useMemo)(()=>RN(s,k,D,S,v),[s,k,D,S,v]),A=Fn({...t,value:i,name:(0,wp.element.useMemo)(()=>[t.startName,t.endName],[t.startName,t.endName]),builtinValidation:E}),B=A.displayValidation.isInvalid,T=t.validationState||(B?"invalid":null);return{...A,value:s,setValue:c,dateRange:O,timeRange:y,granularity:f,hasTime:p,setDate(R,M){w({...O,[R]:M})},setTime(R,M){x({...y,[R]:M})},setDateTime(R,M){c({...s,[R]:M})},setDateRange:w,setTimeRange:x,...r,setOpen(R){!R&&!(s?.start&&s?.end)&&O?.start&&O?.end&&p&&C(O,{start:y?.start||ga(t.placeholderValue),end:y?.end||ga(t.placeholderValue)}),r.setOpen(R)},validationState:T,isInvalid:B,formatValue(R,M){if(!s||!s.start||!s.end)return null;let N="timeZone"in s.start?s.start.timeZone:void 0,I=t.granularity||(s.start&&"minute"in s.start?"minute":"day"),F="timeZone"in s.end?s.end.timeZone:void 0,V=t.granularity||(s.end&&"minute"in s.end?"minute":"day"),Z=Cr(M,{granularity:I,timeZone:N,hideTimeZone:t.hideTimeZone,hourCycle:t.hourCycle,showEra:s.start.calendar.identifier==="gregory"&&s.start.era==="BC"||s.end.calendar.identifier==="gregory"&&s.end.era==="BC"}),_=s.start.toDate(N||"UTC"),W=s.end.toDate(F||"UTC"),re=new Pt(R,Z),fe;if(N===F&&I===V&&s.start.compare(s.end)!==0){try{let L=re.formatRangeToParts(_,W),ie=-1;for(let le=0;leie&&(J+=L[le].value);return{start:he,end:J}}catch{}fe=re}else{let L=Cr(M,{granularity:V,timeZone:F,hideTimeZone:t.hideTimeZone,hourCycle:t.hourCycle});fe=new Pt(R,L)}return{start:re.format(_),end:fe.format(W)}},getDateFormatter(R,M){let N={...v,...M},I=Cr({},N);return new Pt(R,I)}}}u(WN,"$93c38a5e28be6249$export$e50a61c1de9f574");function XN(t,e){let{cursor:n,getKey:r}=t;return{setSelectedKeys(i){e(l=>({...l,selectedKeys:i}))},setFilterText(i){e(l=>({...l,filterText:i}))},insert(i,...l){e(a=>ss(a,i,...l))},insertBefore(i,...l){e(a=>{let o=a.items.findIndex(s=>r(s)===i);if(o===-1)if(a.items.length===0)o=0;else return a;return ss(a,o,...l)})},insertAfter(i,...l){e(a=>{let o=a.items.findIndex(s=>r(s)===i);if(o===-1)if(a.items.length===0)o=0;else return a;return ss(a,o+1,...l)})},prepend(...i){e(l=>ss(l,0,...i))},append(...i){e(l=>ss(l,l.items.length,...i))},remove(...i){e(l=>{let a=new Set(i),o=l.items.filter(c=>!a.has(r(c))),s="all";if(l.selectedKeys!=="all"){s=new Set(l.selectedKeys);for(let c of i)s.delete(c)}return n==null&&o.length===0&&(s=new Set),{...l,items:o,selectedKeys:s}})},removeSelectedItems(){e(i=>{if(i.selectedKeys==="all")return{...i,items:[],selectedKeys:new Set};let l=i.selectedKeys,a=i.items.filter(o=>!l.has(r(o)));return{...i,items:a,selectedKeys:new Set}})},move(i,l){e(a=>{let o=a.items.findIndex(d=>r(d)===i);if(o===-1)return a;let s=a.items.slice(),[c]=s.splice(o,1);return s.splice(l,0,c),{...a,items:s}})},moveBefore(i,l){e(a=>{let o=a.items.findIndex(d=>r(d)===i);if(o===-1)return a;let c=(Array.isArray(l)?l:[...l]).map(d=>a.items.findIndex(f=>r(f)===d)).sort((d,f)=>d-f);return Ik(a,c,o)})},moveAfter(i,l){e(a=>{let o=a.items.findIndex(d=>r(d)===i);if(o===-1)return a;let c=(Array.isArray(l)?l:[...l]).map(d=>a.items.findIndex(f=>r(f)===d)).sort((d,f)=>d-f);return Ik(a,c,o+1)})},update(i,l){e(a=>{let o=a.items.findIndex(s=>r(s)===i);return o===-1?a:{...a,items:[...a.items.slice(0,o),l,...a.items.slice(o+1)]}})}}}u(XN,"$0d86e9c8f07f9a7b$export$79c0c687a5963b0a");function ss(t,e,...n){return{...t,items:[...t.items.slice(0,e),...n,...t.items.slice(e)]}}u(ss,"$0d86e9c8f07f9a7b$var$insert");function Ik(t,e,n){n-=e.filter(l=>l({from:l,to:n++}));for(let l=0;la&&r[o].from--}for(let l=0;ll;o--){let s=r[o];s.fromf.id||f.key,"getKey"),initialFilterText:a=""}=t;let[o,s]=(0,wp.element.useReducer)(jN,{state:"idle",error:null,items:[],selectedKeys:r==="all"?"all":new Set(r),sortDescriptor:i,filterText:a});const c=u(async(f,h)=>{let p=new AbortController;try{s({...f,abortController:p});var m;let b=(m=f.filterText)!==null&&m!==void 0?m:o.filterText;var g;let y=await h({items:o.items.slice(),selectedKeys:o.selectedKeys,sortDescriptor:(g=f.sortDescriptor)!==null&&g!==void 0?g:o.sortDescriptor,signal:p.signal,cursor:f.type==="loadingMore"?o.cursor:null,filterText:b});var O;let $=(O=y.filterText)!==null&&O!==void 0?O:b;s({type:"success",...y,abortController:p}),$&&$!==b&&!p.signal.aborted&&c({type:"filtering",filterText:$},e)}catch(b){s({type:"error",error:b,abortController:p})}},"dispatchFetch");let d=(0,wp.element.useRef)(!1);return(0,wp.element.useEffect)(()=>{d.current||(c({type:"loading"},e),d.current=!0)},[]),{items:o.items,selectedKeys:o.selectedKeys,sortDescriptor:o.sortDescriptor,isLoading:o.state==="loading"||o.state==="loadingMore"||o.state==="sorting"||o.state==="filtering",loadingState:o.state,error:o.error,filterText:o.filterText,getItem(f){return o.items.find(h=>l(h)===f)},reload(){c({type:"loading"},e)},loadMore(){o.state==="loadingMore"||o.state==="filtering"||o.cursor==null||c({type:"loadingMore"},e)},sort(f){c({type:"sorting",sortDescriptor:f},n||e)},...XN({...t,getKey:l,cursor:o.cursor},f=>{s({type:"update",updater:f})}),setFilterText(f){c({type:"filtering",filterText:f},e)}}}u(qN,"$f86e6c1ec7da6ebb$export$bc3384a35de93d66");let UN=Math.round(Math.random()*1e10),YN=0;function Zk(t){let e=(0,wp.element.useMemo)(()=>t.name||`radio-group-${UN}-${++YN}`,[t.name]);var n;let[r,i]=Le(t.value,(n=t.defaultValue)!==null&&n!==void 0?n:null,t.onChange),[l,a]=(0,wp.element.useState)(null),o=Fn({...t,value:r}),s=u(d=>{!t.isReadOnly&&!t.isDisabled&&(i(d),o.commitValidation())},"setSelectedValue"),c=o.displayValidation.isInvalid;return{...o,name:e,selectedValue:r,setSelectedValue:s,lastFocusedValue:l,setLastFocusedValue:a,isDisabled:t.isDisabled||!1,isReadOnly:t.isReadOnly||!1,isRequired:t.isRequired||!1,validationState:t.validationState||(c?"invalid":null),isInvalid:c}}u(Zk,"$a54cdc5c1942b639$export$bca9d026f8e704eb");function KN(t){let e=ti(t),[n,r]=(0,wp.element.useState)(null),i=_2({...t,onSelectionChange:s=>{t.onSelectionChange!=null&&t.onSelectionChange(s),e.close(),l.commitValidation()}}),l=Fn({...t,value:i.selectedKey}),[a,o]=(0,wp.element.useState)(!1);return{...l,...i,...e,focusStrategy:n,open(s=null){i.collection.size!==0&&(r(s),e.open())},toggle(s=null){i.collection.size!==0&&(r(s),e.toggle())},isFocused:a,setFocused:o}}u(KN,"$2bc3a590c5373a4e$export$5159ec8b34d4ec12");var GN=Object.defineProperty,HN=u((t,e)=>GN(t,"name",{value:e,configurable:!0}),"n$h");const Dr=HN(t=>{const e=t.content??t.children,n=ti(t),{triggerProps:r,overlayProps:i}=Go({type:"dialog"},n);return wp.element.createElement(wp.element.Fragment,null,wp.element.createElement(oe,{...r,type:"action",isDisabled:t.isDisabled,...t.buttonProps??{}},t.label??"Open modal"),n.isOpen&&wp.element.createElement(CN,{className:"tf-modal",state:n},wp.element.createElement(rs,{title:t.title,...i},e,wp.element.createElement("div",{className:"tf-modal-actions"},wp.element.createElement(oe,{type:"danger",onPress:()=>{n.close(),t.onValidate&&t.onValidate()}},t.confirmText??t.label),wp.element.createElement(oe,{type:"action",onPress:()=>{n.close(),t.onCancel&&t.onCancel()}},t.cancelText??"Cancel")))))},"ModalTrigger");var _N=Object.defineProperty,JN=u((t,e)=>_N(t,"name",{value:e,configurable:!0}),"s$g");function zk({message:t,type:e,onDismiss:n}){return wp.element.createElement("div",{className:`tf-notice ${e} tf-is-dismissible`},wp.element.createElement("p",null,t),wp.element.createElement("button",{type:"button",className:"tf-notice-dismiss",onClick:n}))}u(zk,"n$g"),JN(zk,"Notice");var eF=Object.defineProperty,tF=u((t,e)=>eF(t,"name",{value:e,configurable:!0}),"i$m");function kr({children:t,state:e,style:n,className:r="",...i}){const l=wp.element.useRef(null),{popoverProps:a,underlayProps:o}=gV({...i,popoverRef:l},e),{ControlContext:s}=tangibleFields,c=wp.element.useContext(s);return wp.element.createElement(eD,{portalContainer:c.portalContainer},wp.element.createElement("div",{className:c.wrapper},!i.isNonModal&&wp.element.createElement("div",{...o,className:"tf-underlay"}),wp.element.createElement("div",{...a,ref:l,style:{...a.style,...n,zIndex:1e6,boxSizing:"border-box"},className:`tf-popover ${r}`},t,wp.element.createElement(_o,{onDismiss:e.close}))))}u(kr,"y$3"),tF(kr,"Popover");var nF=Object.defineProperty,rF=u((t,e)=>nF(t,"name",{value:e,configurable:!0}),"o$e");const xd=rF(t=>t.choices?wp.element.createElement(DV,{key:t.key??t.name,title:t.label??"",items:t.choices??[]},e=>wp.element.createElement(Sr,{key:e.value??""},e.label??"")):wp.element.createElement(Sr,{key:t.value??""},t.label??""),"RenderChoices");var iF=Object.defineProperty,lF=u((t,e)=>iF(t,"name",{value:e,configurable:!0}),"t$b");const Ig=lF(t=>{const e=`h${t.level}`;return wp.element.createElement("div",{className:"tf-title"},wp.element.createElement(e,{className:t.className},t.children))},"Title");var aF=Object.defineProperty,oF=u((t,e)=>aF(t,"name",{value:e,configurable:!0}),"t$a");const sF=oF(({content:t,children:e})=>wp.element.createElement(wp.element.Fragment,null,t??e),"Wrapper");var uF=Object.defineProperty,cF=u((t,e)=>uF(t,"name",{value:e,configurable:!0}),"n$e");const dF=cF(t=>{const e=t.content??t.children,n=t.placement??"top",r=t.theme&&t.theme==="dark"?"dark":"light";return wp.element.createElement("div",{className:`tf-tooltip tf-tooltip-${n}`},wp.element.createElement("div",{className:`tf-tooltip-content tf-tooltip-content-${n} ${r}`},e))},"Tooltip");var fF=Object.defineProperty,hF=u((t,e)=>fF(t,"name",{value:e,configurable:!0}),"l$g");const pF=hF(t=>{const e=t.layout??"button",n=t.label??"Open tooltip";return wp.element.createElement("div",{className:"tf-tooltip-trigger"},wp.element.createElement("div",{className:"tf-tooltip-trigger-content"},e==="button"?wp.element.createElement(oe,{type:"action",isDisabled:t.isDisabled,...t.buttonProps??{}},n):wp.element.createElement("span",null,n),wp.element.createElement(dF,{...t})))},"TooltipTrigger");var mF=Object.defineProperty,Lk=u((t,e)=>mF(t,"name",{value:e,configurable:!0}),"i$k");const gF=Lk(({items:t,fields:e,rowFields:n,renderItem:r,maxLength:i,dispatch:l,headerFields:a=!1,beforeRow:o=!1,afterRow:s=!1,renderFooterActions:c})=>{const[d,f]=wp.element.useState(!1),h=a?e.filter(m=>a.includes(m.name)||a.includes(m.name+".label")):e,p=Lk((m,g)=>m[g].label===""?JSON.stringify(m[g]):m[g].label,"formatHeaderFieldsObject");return wp.element.createElement(wp.element.Fragment,null,wp.element.createElement("div",{className:"tf-repeater-advanced"},wp.element.createElement("div",{className:"tf-repeater-advanced-header tf-repeater-advanced-label-row"},wp.element.createElement("div",{key:"index",className:"tf-repeater-advanced-label-row-index"}),h.map((m,g)=>wp.element.createElement("div",{key:g,className:"tf-repeater-advanced-header-item tf-repeater-advanced-label-row-item"},m.label??"")),wp.element.createElement("div",{key:"arrow",className:"tf-repeater-advanced-label-row-arrow"})),wp.element.createElement("div",{className:"tf-repeater-items tf-repeater-advanced-items"},t&&t.slice(0,i).map((m,g)=>wp.element.createElement("div",{key:m.key??g,className:"tf-repeater-advanced-item","data-open":d===g?"true":"false"},wp.element.createElement("div",{className:"tf-repeater-advanced-overview tf-repeater-advanced-label-row"},wp.element.createElement("div",{key:"index",className:"tf-repeater-advanced-label-row-index"},g+1),wp.element.createElement("div",{className:"tf-repeater-advanced-overview-item-container"},wp.element.createElement("div",{className:"tf-repeater-advanced-overview-item-fields"},h.map((O,b)=>wp.element.createElement("div",{key:b,className:"tf-repeater-advanced-overview-item tf-repeater-advanced-label-row-item"},m[O.name]&&m[O.name]!==""?typeof m[O.name]=="object"?p(m,O.name):m[O.name]:wp.element.createElement("i",null,"Empty")))),i!==void 0&&wp.element.createElement("div",{className:"tf-repeater-advanced-overview-item-actions"},wp.element.createElement(oe,{type:"text-primary",onPress:()=>f(d===g?!1:g)},d===g?"Close":"Edit"),wp.element.createElement(oe,{type:"text-primary",isDisabled:i<=t.length,onPress:()=>l({type:"clone",item:m})},"Duplicate"),wp.element.createElement(Dr,{label:"Delete",title:"Confirmation",onValidate:()=>l({type:"remove",item:g}),buttonProps:{type:"text-danger"}},"Are you sure you want to remove item ",g+1,"?"))),wp.element.createElement(oe,{key:"arrow",type:"repeater-overview-open",onPress:()=>f(d===g?!1:g),changeTag:"span",className:"tf-repeater-advanced-label-row-arrow"},wp.element.createElement("div",null))),d===g&&wp.element.createElement("div",{className:"tf-repeater-advanced-row"},o&&o(m,g,l),n.map(O=>wp.element.createElement("div",{key:O.name??g,className:"tf-repeater-advanced-item-field"},r(O,m,g))),s&&s(m,g,l)))))),c())},"Advanced");var OF=Object.defineProperty,bF=u((t,e)=>OF(t,"name",{value:e,configurable:!0}),"s$f");const yF=bF(({items:t,rowFields:e,renderItem:n,maxLength:r,dispatch:i,beforeRow:l=!1,afterRow:a=!1,renderFooterActions:o})=>wp.element.createElement(wp.element.Fragment,null,wp.element.createElement("div",{className:"tf-repeater-items tf-repeater-bare-items"},t&&t.slice(0,r).map((s,c)=>wp.element.createElement("div",{key:s.key??c,className:"tf-repeater-bare-row"},l&&l(s,c,i),e.map(d=>wp.element.createElement("div",{key:d.name??c,className:"tf-repeater-bare-item-field"},n(d,s,c))),r!==void 0&&wp.element.createElement(Dr,{label:"Remove",title:"Confirmation",onValidate:()=>i({type:"remove",item:c})},"Are you sure you want to remove item ",c+1,"?"),a&&a(s,c,i)))),o()),"Bare");var vF=Object.defineProperty,Wk=u((t,e)=>vF(t,"name",{value:e,configurable:!0}),"t$9");const $F=Wk(t=>{const[e,n]=wp.element.useState(yn(t.value));wp.element.useEffect(()=>t.onChange&&t.onChange(e),[e]);const r=Wk(l=>{n({...e,enabled:l===!0||l==="on"?"on":"off"})},"isEnabled"),i=t.useSwitch?wp.element.createElement("div",{onClick:l=>l.stopPropagation()},wp.element.createElement(a1,{value:e.enabled??"off",onChange:r,label:"Toggle accordion",labelVisuallyHidden:!0})):null;return wp.element.createElement("div",{className:"tf-accordion"},wp.element.createElement("input",{type:"hidden",name:t.name??"",value:JSON.stringify(e)}),wp.element.createElement(j2,{title:t.title??!1,headerLeft:i,behavior:"hide"},wp.element.createElement(S9,{...t,name:null,fields:t.fields,value:e,onChange:n})))},"Accordion");var wF=Object.defineProperty,xF=u((t,e)=>wF(t,"name",{value:e,configurable:!0}),"t$8");const Xk=wp.element.createContext(null),jk=xF(t=>{const e=Zk(t),{radioGroupProps:n,labelProps:r,descriptionProps:i}=B2(t,e);return wp.element.useEffect(()=>{t.onChange&&t.onChange(e.selectedValue)},[e.selectedValue]),wp.element.createElement("div",{className:"tf-radio-group"},t.label&&wp.element.createElement(we,{labelProps:r,parent:t},t.label),wp.element.createElement("div",{className:"tf-radio-group-container",...n},wp.element.createElement(Xk.Provider,{value:e},t.children)),t.description&&wp.element.createElement($e,{descriptionProps:i,parent:t},t.description))},"RadioGroup");var SF=Object.defineProperty,CF=u((t,e)=>SF(t,"name",{value:e,configurable:!0}),"r$e");const qk=CF(t=>{const e=wp.element.useContext(Xk),n=wp.element.useRef(null),{inputProps:r}=M2(t,e,n);return wp.element.createElement("label",{className:"tf-radio"},wp.element.createElement("input",{...r,ref:n}),t.children)},"Radio");var DF=Object.defineProperty,kF=u((t,e)=>DF(t,"name",{value:e,configurable:!0}),"i$i");const PF=kF(t=>{const[e,n]=wp.element.useState(t.value??""),r=["top left","top center","top right","center left","center center","center right","bottom left","bottom center","bottom right"];return wp.element.useEffect(()=>t.onChange&&t.onChange(e),[e]),wp.element.createElement("div",{className:"tf-alignment-matrix"},wp.element.createElement(jk,{...t,onChange:n},wp.element.createElement("div",{className:"tf-alignment-matrix-container"},r.map(i=>wp.element.createElement(qk,{key:i,id:i,value:i},wp.element.createElement(on,null,i))))))},"AlignmentMatrix");var EF=Object.defineProperty,us=u((t,e)=>EF(t,"name",{value:e,configurable:!0}),"o$c");const Uk=us(t=>{if(t.config===!1)return t.children;const{dynamics:e}=TangibleFields,n=wp.element.useRef(),r=wp.element.useRef(),[i,l]=wp.element.useState(!1),[a,o]=wp.element.useState(!1),[s,c]=wp.element.useState({}),[d,f]=wp.element.useState(!1),h=ti({}),{triggerProps:p,overlayProps:m}=Go({type:"dialog"},h,n);wp.element.useEffect(()=>{t.isOpen?h.open():h.close()},[t.isOpen]),wp.element.useEffect(()=>{d!==!1&&(t?.onValueSelection(d),f(!1))},[d]);const g=us(k=>{if(!k)return;const D=e.values[k]?.fields;if(l(k),!Array.isArray(D)||D.length===0)return O(k);o(D)},"saveDynamicValue"),O=us(k=>{f(t.config.stringify(k,s??!1)),b()},"selectAndClose"),b=us(()=>{l(!1),o(!1),c(!1),h.close()},"resetAndClose"),y=wp.element.useMemo(()=>{const k=t.config.getTypes();return t.config.getCategories().map(D=>{const S=e.categories[D],E=Object.keys(e.values).filter(A=>S.values.includes(A)&&k.includes(e.values[A]?.type)).reduce((A,B)=>({...A,[B]:e.values[B].label??B}),{});return{name:S.label,choices:E}}).filter(D=>Object.keys(D.choices).length!==0)},[]),$=wp.element.useRef(s),C=us((k,D)=>{c($.current={...s,[k]:D})},"updateSettings"),w=t.buttonType??"outside",x=!(t.readOnly||t.inputMasking)&&(w==="outside"||!t.remove||t.remove.isDisabled),P=!(t.readOnly||t.inputMasking)&&(w==="outside"||t.remove&&t.remove.isDisabled===!1),v=`tf-dynamic-wrapper tf-dynamic-wrapper-buttons-${w} ${t.className??""}`;return wp.element.createElement("div",{className:v,"data-dynamic":"true"},t.children,x&&wp.element.createElement(oe,{type:w==="outside"?"action":"icon",className:"tf-dynamic-wrapper-insert",ref:n,contentVisuallyHidden:w==="inside",...p},"Insert"),P&&wp.element.createElement(oe,{type:w==="outside"?"action":"icon",className:"tf-dynamic-wrapper-clear",contentVisuallyHidden:w==="inside",...t.remove},"Clear"),h.isOpen&&wp.element.createElement("div",{className:"tf-dynamic-wrapper-popover",ref:r,...m},a?wp.element.createElement("div",{className:"tf-dynamic-wrapper-popover-form"},wp.element.createElement(Ig,{level:4},"Dynamic value settings"),e.values[i].description&&wp.element.createElement("i",null,e.values[i].description),a.map(k=>wp.element.createElement("div",{className:"tf-dynamic-wrapper-popover-field"},wp.element.createElement(Hh,{...k,value:s[k.name]??"",onChange:D=>C(k.name,D),visibility:{condition:k.condition?.condition??!1,action:k.condition?.action??"show"},data:{getValue:D=>$.current[D]??""}}))),wp.element.createElement("div",{className:"tf-dynamic-wrapper-popover-buttons"},wp.element.createElement(oe,{type:"action",onPress:()=>O(i)},"Add"),wp.element.createElement(oe,{type:"action",onPress:b},"Close"))):wp.element.createElement(ih,{choices:y,label:"Select dynamic value to insert",labelVisuallyHidden:!0,autoFocus:!0,showButton:!1,onChange:g,onFocusChange:k=>k?!h.isOpen&&h.open():h.close()}),wp.element.createElement(_o,{onDismiss:h.close})))},"BaseWrapper");var AF=Object.defineProperty,TF=u((t,e)=>AF(t,"name",{value:e,configurable:!0}),"u$b");const cs=wp.element.forwardRef(({inputProps:t={},...e},n)=>{const[r,i]=wp.element.useState(e.dynamic?e.dynamic.hasValues():!1),l=TF(a=>{const o=e.dynamic.parse(a);return o&&o.type?e.dynamic.getLabel(o.type):""},"getLabel");return wp.element.createElement(Uk,{className:"tf-dynamic-field-wrapper",config:e.dynamic??!1,onValueSelection:a=>{i(!0),e.onValueSelection(a)},remove:{isDisabled:r===!1,onPress:()=>{i(!1),e.onValueRemove&&e.onValueRemove()}},buttonType:e.buttonType??"outside",readOnly:e.readOnly??!1},r?wp.element.createElement(wp.element.Fragment,null,wp.element.createElement("input",{type:"text",className:"tf-dynamic-value-input",value:l(e.value),disabled:!0}),wp.element.createElement("input",{...t,name:e.name??"",value:e.value??"",type:"hidden",ref:n})):e.children)}),np=class np{lineAt(e){if(e<0||e>this.length)throw new RangeError(`Invalid position ${e} in document of length ${this.length}`);return this.lineInner(e,!1,1,0)}line(e){if(e<1||e>this.lines)throw new RangeError(`Invalid line number ${e} in ${this.lines}-line document`);return this.lineInner(e,!0,1,0)}replace(e,n,r){[e,n]=Oa(this,e,n);let i=[];return this.decompose(0,e,i,2),r.length&&r.decompose(0,r.length,i,3),this.decompose(n,this.length,i,1),Sd.from(i,this.length-(n-e)+r.length)}append(e){return this.replace(this.length,this.length,e)}slice(e,n=this.length){[e,n]=Oa(this,e,n);let r=[];return this.decompose(e,n,r,0),Sd.from(r,n-e)}eq(e){if(e==this)return!0;if(e.length!=this.length||e.lines!=this.lines)return!1;let n=this.scanIdentical(e,1),r=this.length-this.scanIdentical(e,-1),i=new Ki(this),l=new Ki(e);for(let a=n,o=n;;){if(i.next(a),l.next(a),a=0,i.lineBreak!=l.lineBreak||i.done!=l.done||i.value!=l.value)return!1;if(o+=i.value.length,i.done||o>=r)return!0}}iter(e=1){return new Ki(this,e)}iterRange(e,n=this.length){return new Dd(this,e,n)}iterLines(e,n){let r;if(e==null)r=this.iter();else{n==null&&(n=this.lines+1);let i=this.line(e).from;r=this.iterRange(i,Math.max(i,n==this.lines+1?this.length:n<=1?0:this.line(n-1).to))}return new kd(r)}toString(){return this.sliceString(0)}toJSON(){let e=[];return this.flatten(e),e}constructor(){}static of(e){if(e.length==0)throw new RangeError("A document must have at least one line");return e.length==1&&!e[0]?np.empty:e.length<=32?new It(e):Sd.from(It.split(e,[]))}};u(np,"Text");let de=np;const bn=class bn extends de{constructor(e,n=RF(e)){super(),this.text=e,this.length=n}get lines(){return this.text.length}get children(){return null}lineInner(e,n,r,i){for(let l=0;;l++){let a=this.text[l],o=i+a.length;if((n?r:o)>=e)return new Zg(i,o,r,a);i=o+1,r++}}decompose(e,n,r,i){let l=e<=0&&n>=this.length?this:new bn(Yk(this.text,e,n),Math.min(n,this.length)-Math.max(0,e));if(i&1){let a=r.pop(),o=Cd(l.text,a.text.slice(),0,l.length);if(o.length<=32)r.push(new bn(o,a.length+l.length));else{let s=o.length>>1;r.push(new bn(o.slice(0,s)),new bn(o.slice(s)))}}else r.push(l)}replace(e,n,r){if(!(r instanceof bn))return super.replace(e,n,r);[e,n]=Oa(this,e,n);let i=Cd(this.text,Cd(r.text,Yk(this.text,0,e)),n),l=this.length+r.length-(n-e);return i.length<=32?new bn(i,l):Sd.from(bn.split(i,[]),l)}sliceString(e,n=this.length,r=` +`){[e,n]=Oa(this,e,n);let i="";for(let l=0,a=0;l<=n&&ae&&a&&(i+=r),el&&(i+=o.slice(Math.max(0,e-l),n-l)),l=s+1}return i}flatten(e){for(let n of this.text)e.push(n)}scanIdentical(){return 0}static split(e,n){let r=[],i=-1;for(let l of e)r.push(l),i+=l.length+1,r.length==32&&(n.push(new bn(r,i)),r=[],i=-1);return i>-1&&n.push(new bn(r,i)),n}};u(bn,"TextLeaf");let It=bn,Sd=(lr=class extends de{constructor(e,n){super(),this.children=e,this.length=n,this.lines=0;for(let r of e)this.lines+=r.lines}lineInner(e,n,r,i){for(let l=0;;l++){let a=this.children[l],o=i+a.length,s=r+a.lines-1;if((n?s:o)>=e)return a.lineInner(e,n,r,i);i=o+1,r=s+1}}decompose(e,n,r,i){for(let l=0,a=0;a<=n&&l=a){let c=i&((a<=e?1:0)|(s>=n?2:0));a>=e&&s<=n&&!c?r.push(o):o.decompose(e-a,n-a,r,c)}a=s+1}}replace(e,n,r){if([e,n]=Oa(this,e,n),r.lines=l&&n<=o){let s=a.replace(e-l,n-l,r),c=this.lines-a.lines+s.lines;if(s.lines>4&&s.lines>c>>6){let d=this.children.slice();return d[i]=s,new lr(d,this.length-(n-e)+r.length)}return super.replace(l,o,s)}l=o+1}return super.replace(e,n,r)}sliceString(e,n=this.length,r=` +`){[e,n]=Oa(this,e,n);let i="";for(let l=0,a=0;le&&l&&(i+=r),ea&&(i+=o.sliceString(e-a,n-a,r)),a=s+1}return i}flatten(e){for(let n of this.children)n.flatten(e)}scanIdentical(e,n){if(!(e instanceof lr))return 0;let r=0,[i,l,a,o]=n>0?[0,0,this.children.length,e.children.length]:[this.children.length-1,e.children.length-1,-1,-1];for(;;i+=n,l+=n){if(i==a||l==o)return r;let s=this.children[i],c=e.children[l];if(s!=c)return r+s.scanIdentical(c,n);r+=s.length+1}}static from(e,n=e.reduce((r,i)=>r+i.length+1,-1)){let r=0;for(let p of e)r+=p.lines;if(r<32){let p=[];for(let m of e)m.flatten(p);return new It(p,n)}let i=Math.max(32,r>>5),l=i<<1,a=i>>1,o=[],s=0,c=-1,d=[];function f(p){let m;if(p.lines>l&&p instanceof lr)for(let g of p.children)f(g);else p.lines>a&&(s>a||!s)?(h(),o.push(p)):p instanceof It&&s&&(m=d[d.length-1])instanceof It&&p.lines+m.lines<=32?(s+=p.lines,c+=p.length+1,d[d.length-1]=new It(m.text.concat(p.text),m.length+1+p.length)):(s+p.lines>i&&h(),s+=p.lines,c+=p.length+1,d.push(p))}u(f,"add");function h(){s!=0&&(o.push(d.length==1?d[0]:lr.from(d,c)),c=-1,s=d.length=0)}u(h,"flush");for(let p of e)f(p);return h(),o.length==1?o[0]:new lr(o,n)}},u(lr,"TextNode"),lr);de.empty=new It([""],0);function RF(t){let e=-1;for(let n of t)e+=n.length+1;return e}u(RF,"textLength");function Cd(t,e,n=0,r=1e9){for(let i=0,l=0,a=!0;l=n&&(s>r&&(o=o.slice(0,r-i)),i0?1:(e instanceof It?e.text.length:e.children.length)<<1]}nextInner(e,n){for(this.done=this.lineBreak=!1;;){let r=this.nodes.length-1,i=this.nodes[r],l=this.offsets[r],a=l>>1,o=i instanceof It?i.text.length:i.children.length;if(a==(n>0?o:0)){if(r==0)return this.done=!0,this.value="",this;n>0&&this.offsets[r-1]++,this.nodes.pop(),this.offsets.pop()}else if((l&1)==(n>0?0:1)){if(this.offsets[r]+=n,e==0)return this.lineBreak=!0,this.value=` +`,this;e--}else if(i instanceof It){let s=i.text[a+(n<0?-1:0)];if(this.offsets[r]+=n,s.length>Math.max(0,e))return this.value=e==0?s:n>0?s.slice(e):s.slice(0,s.length-e),this;e-=s.length}else{let s=i.children[a+(n<0?-1:0)];e>s.length?(e-=s.length,this.offsets[r]+=n):(n<0&&this.offsets[r]--,this.nodes.push(s),this.offsets.push(n>0?1:(s instanceof It?s.text.length:s.children.length)<<1))}}}next(e=0){return e<0&&(this.nextInner(-e,-this.dir),e=this.value.length),this.nextInner(e,this.dir)}};u(N1,"RawTextCursor");let Ki=N1;const F1=class F1{constructor(e,n,r){this.value="",this.done=!1,this.cursor=new Ki(e,n>r?-1:1),this.pos=n>r?e.length:0,this.from=Math.min(n,r),this.to=Math.max(n,r)}nextInner(e,n){if(n<0?this.pos<=this.from:this.pos>=this.to)return this.value="",this.done=!0,this;e+=Math.max(0,n<0?this.pos-this.to:this.from-this.pos);let r=n<0?this.pos-this.from:this.to-this.pos;e>r&&(e=r),r-=e;let{value:i}=this.cursor.next(e);return this.pos+=(i.length+e)*n,this.value=i.length<=r?i:n<0?i.slice(i.length-r):i.slice(0,r),this.done=!this.value,this}next(e=0){return e<0?e=Math.max(e,this.from-this.pos):e>0&&(e=Math.min(e,this.to-this.pos)),this.nextInner(e,this.cursor.dir)}get lineBreak(){return this.cursor.lineBreak&&this.value!=""}};u(F1,"PartialTextCursor");let Dd=F1;const I1=class I1{constructor(e){this.inner=e,this.afterBreak=!0,this.value="",this.done=!1}next(e=0){let{done:n,lineBreak:r,value:i}=this.inner.next(e);return n&&this.afterBreak?(this.value="",this.afterBreak=!1):n?(this.done=!0,this.value=""):r?this.afterBreak?this.value="":(this.afterBreak=!0,this.next()):(this.value=i,this.afterBreak=!1),this}get lineBreak(){return!1}};u(I1,"LineCursor");let kd=I1;typeof Symbol<"u"&&(de.prototype[Symbol.iterator]=function(){return this.iter()},Ki.prototype[Symbol.iterator]=Dd.prototype[Symbol.iterator]=kd.prototype[Symbol.iterator]=function(){return this});const Z1=class Z1{constructor(e,n,r,i){this.from=e,this.to=n,this.number=r,this.text=i}get length(){return this.to-this.from}};u(Z1,"Line");let Zg=Z1;function Oa(t,e,n){return e=Math.max(0,Math.min(t.length,e)),[e,Math.max(e,Math.min(t.length,n))]}u(Oa,"clip");let ba="lc,34,7n,7,7b,19,,,,2,,2,,,20,b,1c,l,g,,2t,7,2,6,2,2,,4,z,,u,r,2j,b,1m,9,9,,o,4,,9,,3,,5,17,3,3b,f,,w,1j,,,,4,8,4,,3,7,a,2,t,,1m,,,,2,4,8,,9,,a,2,q,,2,2,1l,,4,2,4,2,2,3,3,,u,2,3,,b,2,1l,,4,5,,2,4,,k,2,m,6,,,1m,,,2,,4,8,,7,3,a,2,u,,1n,,,,c,,9,,14,,3,,1l,3,5,3,,4,7,2,b,2,t,,1m,,2,,2,,3,,5,2,7,2,b,2,s,2,1l,2,,,2,4,8,,9,,a,2,t,,20,,4,,2,3,,,8,,29,,2,7,c,8,2q,,2,9,b,6,22,2,r,,,,,,1j,e,,5,,2,5,b,,10,9,,2u,4,,6,,2,2,2,p,2,4,3,g,4,d,,2,2,6,,f,,jj,3,qa,3,t,3,t,2,u,2,1s,2,,7,8,,2,b,9,,19,3,3b,2,y,,3a,3,4,2,9,,6,3,63,2,2,,1m,,,7,,,,,2,8,6,a,2,,1c,h,1r,4,1c,7,,,5,,14,9,c,2,w,4,2,2,,3,1k,,,2,3,,,3,1m,8,2,2,48,3,,d,,7,4,,6,,3,2,5i,1m,,5,ek,,5f,x,2da,3,3x,,2o,w,fe,6,2x,2,n9w,4,,a,w,2,28,2,7k,,3,,4,,p,2,5,,47,2,q,i,d,,12,8,p,b,1a,3,1c,,2,4,2,2,13,,1v,6,2,2,2,2,c,,8,,1b,,1f,,,3,2,2,5,2,,,16,2,8,,6m,,2,,4,,fn4,,kh,g,g,g,a6,2,gt,,6a,,45,5,1ae,3,,2,5,4,14,3,4,,4l,2,fx,4,ar,2,49,b,4w,,1i,f,1k,3,1d,4,2,2,1x,3,10,5,,8,1q,,c,2,1g,9,a,4,2,,2n,3,2,,,2,6,,4g,,3,8,l,2,1l,2,,,,,m,,e,7,3,5,5f,8,2,3,,,n,,29,,2,6,,,2,,,2,,2,6j,,2,4,6,2,,2,r,2,2d,8,2,,,2,2y,,,,2,6,,,2t,3,2,4,,5,77,9,,2,6t,,a,2,,,4,,40,4,2,2,4,,w,a,14,6,2,4,8,,9,6,2,3,1a,d,,2,ba,7,,6,,,2a,m,2,7,,2,,2,3e,6,3,,,2,,7,,,20,2,3,,,,9n,2,f0b,5,1n,7,t4,,1r,4,29,,f5k,2,43q,,,3,4,5,8,8,2,7,u,4,44,3,1iz,1j,4,1e,8,,e,,m,5,,f,11s,7,,h,2,7,,2,,5,79,7,c5,4,15s,7,31,7,240,5,gx7k,2o,3k,6o".split(",").map(t=>t?parseInt(t,36):1);for(let t=1;tt)return ba[e-1]<=t;return!1}u(QF,"isExtendingChar");function Kk(t){return t>=127462&&t<=127487}u(Kk,"isRegionalIndicator");const Gk=8205;function gt(t,e,n=!0,r=!0){return(n?Hk:MF)(t,e,r)}u(gt,"findClusterBreak");function Hk(t,e,n){if(e==t.length)return e;e&&_k(t.charCodeAt(e))&&Jk(t.charCodeAt(e-1))&&e--;let r=Ye(t,e);for(e+=un(r);e=0&&Kk(Ye(t,a));)l++,a-=2;if(l%2==0)break;e+=2}else break}return e}u(Hk,"nextClusterBreak");function MF(t,e,n){for(;e>0;){let r=Hk(t,e-2,n);if(r=56320&&t<57344}u(_k,"surrogateLow");function Jk(t){return t>=55296&&t<56320}u(Jk,"surrogateHigh");function Ye(t,e){let n=t.charCodeAt(e);if(!Jk(n)||e+1==t.length)return n;let r=t.charCodeAt(e+1);return _k(r)?(n-55296<<10)+(r-56320)+65536:n}u(Ye,"codePointAt");function zg(t){return t<=65535?String.fromCharCode(t):(t-=65536,String.fromCharCode((t>>10)+55296,(t&1023)+56320))}u(zg,"fromCodePoint");function un(t){return t<65536?1:2}u(un,"codePointSize");const Lg=/\r\n?|\n/;var lt=function(t){return t[t.Simple=0]="Simple",t[t.TrackDel=1]="TrackDel",t[t.TrackBefore=2]="TrackBefore",t[t.TrackAfter=3]="TrackAfter",t}(lt||(lt={}));const ao=class ao{constructor(e){this.sections=e}get length(){let e=0;for(let n=0;ne)return l+(e-i);l+=o}else{if(r!=lt.Simple&&c>=e&&(r==lt.TrackDel&&ie||r==lt.TrackBefore&&ie))return null;if(c>e||c==e&&n<0&&!o)return e==i||n<0?l:l+s;l+=s}i=c}if(e>i)throw new RangeError(`Position ${e} is out of range for changeset of length ${i}`);return l}touchesRange(e,n=e){for(let r=0,i=0;r=0&&i<=n&&o>=e)return in?"cover":!0;i=o}return!1}toString(){let e="";for(let n=0;n=0?":"+i:"")}return e}toJSON(){return this.sections}static fromJSON(e){if(!Array.isArray(e)||e.length%2||e.some(n=>typeof n!="number"))throw new RangeError("Invalid JSON representation of ChangeDesc");return new ao(e)}static create(e){return new ao(e)}};u(ao,"ChangeDesc");let ni=ao;const ar=class ar extends ni{constructor(e,n){super(e),this.inserted=n}apply(e){if(this.length!=e.length)throw new RangeError("Applying change set to a document with the wrong length");return Wg(this,(n,r,i,l,a)=>e=e.replace(i,i+(r-n),a),!1),e}mapDesc(e,n=!1){return Xg(this,e,n,!0)}invert(e){let n=this.sections.slice(),r=[];for(let i=0,l=0;i=0){n[i]=o,n[i+1]=a;let s=i>>1;for(;r.length0&&ri(r,n,l.text),l.forward(d),o+=d}let c=e[a++];for(;o>1].toJSON()))}return e}static of(e,n,r){let i=[],l=[],a=0,o=null;function s(d=!1){if(!d&&!i.length)return;ah||f<0||h>n)throw new RangeError(`Invalid change range ${f} to ${h} (in doc of length ${n})`);let m=p?typeof p=="string"?de.of(p.split(r||Lg)):p:de.empty,g=m.length;if(f==h&&g==0)return;fa&&at(i,f-a,-1),at(i,h-f,g),ri(l,i,m),a=h}}return u(c,"process"),c(e),s(!o),o}static empty(e){return new ar(e?[e,-1]:[],[])}static fromJSON(e){if(!Array.isArray(e))throw new RangeError("Invalid JSON representation of ChangeSet");let n=[],r=[];for(let i=0;io&&typeof a!="string"))throw new RangeError("Invalid JSON representation of ChangeSet");if(l.length==1)n.push(l[0],0);else{for(;r.length=0&&n<=0&&n==t[i+1]?t[i]+=e:e==0&&t[i]==0?t[i+1]+=n:r?(t[i]+=e,t[i+1]+=n):t.push(e,n)}u(at,"addSection");function ri(t,e,n){if(n.length==0)return;let r=e.length-2>>1;if(r>1])),!(n||a==t.sections.length||t.sections[a+1]<0);)o=t.sections[a++],s=t.sections[a++];e(i,c,l,d,f),i=c,l=d}}}u(Wg,"iterChanges");function Xg(t,e,n,r=!1){let i=[],l=r?[]:null,a=new Gi(t),o=new Gi(e);for(let s=-1;;)if(a.ins==-1&&o.ins==-1){let c=Math.min(a.len,o.len);at(i,c,-1),a.forward(c),o.forward(c)}else if(o.ins>=0&&(a.ins<0||s==a.i||a.off==0&&(o.len=0&&s=0){let c=0,d=a.len;for(;d;)if(o.ins==-1){let f=Math.min(d,o.len);c+=f,d-=f,o.forward(f)}else if(o.ins==0&&o.lens||a.ins>=0&&a.len>s)&&(o||r.length>c),l.forward2(s),a.forward(s)}}}}u(eP,"composeSets");const z1=class z1{constructor(e){this.set=e,this.i=0,this.next()}next(){let{sections:e}=this.set;this.i>1;return n>=e.length?de.empty:e[n]}textBit(e){let{inserted:n}=this.set,r=this.i-2>>1;return r>=n.length&&!e?de.empty:n[r].slice(this.off,e==null?void 0:this.off+e)}forward(e){e==this.len?this.next():(this.len-=e,this.off+=e)}forward2(e){this.ins==-1?this.forward(e):e==this.ins?this.next():(this.ins-=e,this.off+=e)}};u(z1,"SectionIter");let Gi=z1,Pd=(El=class{constructor(e,n,r){this.from=e,this.to=n,this.flags=r}get anchor(){return this.flags&32?this.to:this.from}get head(){return this.flags&32?this.from:this.to}get empty(){return this.from==this.to}get assoc(){return this.flags&8?-1:this.flags&16?1:0}get bidiLevel(){let e=this.flags&7;return e==7?null:e}get goalColumn(){let e=this.flags>>6;return e==16777215?void 0:e}map(e,n=-1){let r,i;return this.empty?r=i=e.mapPos(this.from,n):(r=e.mapPos(this.from,1),i=e.mapPos(this.to,-1)),r==this.from&&i==this.to?this:new El(r,i,this.flags)}extend(e,n=e){if(e<=this.anchor&&n>=this.anchor)return z.range(e,n);let r=Math.abs(e-this.anchor)>Math.abs(n-this.anchor)?e:n;return z.range(this.anchor,r)}eq(e,n=!1){return this.anchor==e.anchor&&this.head==e.head&&(!n||!this.empty||this.assoc==e.assoc)}toJSON(){return{anchor:this.anchor,head:this.head}}static fromJSON(e){if(!e||typeof e.anchor!="number"||typeof e.head!="number")throw new RangeError("Invalid JSON representation for SelectionRange");return z.range(e.anchor,e.head)}static create(e,n,r){return new El(e,n,r)}},u(El,"SelectionRange"),El);const St=class St{constructor(e,n){this.ranges=e,this.mainIndex=n}map(e,n=-1){return e.empty?this:St.create(this.ranges.map(r=>r.map(e,n)),this.mainIndex)}eq(e,n=!1){if(this.ranges.length!=e.ranges.length||this.mainIndex!=e.mainIndex)return!1;for(let r=0;re.toJSON()),main:this.mainIndex}}static fromJSON(e){if(!e||!Array.isArray(e.ranges)||typeof e.main!="number"||e.main>=e.ranges.length)throw new RangeError("Invalid JSON representation for EditorSelection");return new St(e.ranges.map(n=>Pd.fromJSON(n)),e.main)}static single(e,n=e){return new St([St.range(e,n)],0)}static create(e,n=0){if(e.length==0)throw new RangeError("A selection needs at least one range");for(let r=0,i=0;ie?8:0)|l)}static normalized(e,n=0){let r=e[n];e.sort((i,l)=>i.from-l.from),n=e.indexOf(r);for(let i=1;il.head?St.range(s,o):St.range(o,s))}}return new St(e,n)}};u(St,"EditorSelection");let z=St;function tP(t,e){for(let n of t.ranges)if(n.to>e)throw new RangeError("Selection points outside of document")}u(tP,"checkSelection");let jg=0;const rp=class rp{constructor(e,n,r,i,l){this.combine=e,this.compareInput=n,this.compare=r,this.isStatic=i,this.id=jg++,this.default=e([]),this.extensions=typeof l=="function"?l(this):l}get reader(){return this}static define(e={}){return new rp(e.combine||(n=>n),e.compareInput||((n,r)=>n===r),e.compare||(e.combine?(n,r)=>n===r:qg),!!e.static,e.enables)}of(e){return new ya([],this,0,e)}compute(e,n){if(this.isStatic)throw new Error("Can't compute a static facet");return new ya(e,this,1,n)}computeN(e,n){if(this.isStatic)throw new Error("Can't compute a static facet");return new ya(e,this,2,n)}from(e,n){return n||(n=u(r=>r,"get")),this.compute([e],r=>n(r.field(e)))}};u(rp,"Facet");let G=rp;function qg(t,e){return t==e||t.length==e.length&&t.every((n,r)=>n===e[r])}u(qg,"sameArray$1");const L1=class L1{constructor(e,n,r,i){this.dependencies=e,this.facet=n,this.type=r,this.value=i,this.id=jg++}dynamicSlot(e){var n;let r=this.value,i=this.facet.compareInput,l=this.id,a=e[l]>>1,o=this.type==2,s=!1,c=!1,d=[];for(let f of this.dependencies)f=="doc"?s=!0:f=="selection"?c=!0:((n=e[f.id])!==null&&n!==void 0?n:1)&1||d.push(e[f.id]);return{create(f){return f.values[a]=r(f),1},update(f,h){if(s&&h.docChanged||c&&(h.docChanged||h.selection)||Ug(f,d)){let p=r(f);if(o?!nP(p,f.values[a],i):!i(p,f.values[a]))return f.values[a]=p,1}return 0},reconfigure:(f,h)=>{let p,m=h.config.address[l];if(m!=null){let g=Td(h,m);if(this.dependencies.every(O=>O instanceof G?h.facet(O)===f.facet(O):O instanceof zt?h.field(O,!1)==f.field(O,!1):!0)||(o?nP(p=r(f),g,i):i(p=r(f),g)))return f.values[a]=g,0}else p=r(f);return f.values[a]=p,1}}}};u(L1,"FacetProvider");let ya=L1;function nP(t,e,n){if(t.length!=e.length)return!1;for(let r=0;rt[s.id]),i=n.map(s=>s.type),l=r.filter(s=>!(s&1)),a=t[e.id]>>1;function o(s){let c=[];for(let d=0;dr===i),e);return e.provide&&(n.provides=e.provide(n)),n}create(e){let n=e.facet(rP).find(r=>r.field==this);return(n?.create||this.createF)(e)}slot(e){let n=e[this.id]>>1;return{create:r=>(r.values[n]=this.create(r),1),update:(r,i)=>{let l=r.values[n],a=this.updateF(l,i);return this.compareF(l,a)?0:(r.values[n]=a,1)},reconfigure:(r,i)=>i.config.address[this.id]!=null?(r.values[n]=i.field(this),0):(r.values[n]=this.create(r),1)}}init(e){return[this,rP.of({field:this,create:e})]}get extension(){return this}};u(ip,"StateField");let zt=ip;const Hi={lowest:4,low:3,default:2,high:1,highest:0};function ds(t){return e=>new Ed(e,t)}u(ds,"prec");const _i={highest:ds(Hi.highest),high:ds(Hi.high),default:ds(Hi.default),low:ds(Hi.low),lowest:ds(Hi.lowest)},W1=class W1{constructor(e,n){this.inner=e,this.prec=n}};u(W1,"PrecExtension");let Ed=W1;const lp=class lp{of(e){return new fs(this,e)}reconfigure(e){return lp.reconfigure.of({compartment:this,extension:e})}get(e){return e.config.compartments.get(this)}};u(lp,"Compartment");let Ad=lp;const X1=class X1{constructor(e,n){this.compartment=e,this.inner=n}};u(X1,"CompartmentInstance");let fs=X1,iP=(oo=class{constructor(e,n,r,i,l,a){for(this.base=e,this.compartments=n,this.dynamicSlots=r,this.address=i,this.staticValues=l,this.facets=a,this.statusTemplate=[];this.statusTemplate.length>1]}static resolve(e,n,r){let i=[],l=Object.create(null),a=new Map;for(let h of VF(e,n,a))h instanceof zt?i.push(h):(l[h.facet.id]||(l[h.facet.id]=[])).push(h);let o=Object.create(null),s=[],c=[];for(let h of i)o[h.id]=c.length<<1,c.push(p=>h.slot(p));let d=r?.config.facets;for(let h in l){let p=l[h],m=p[0].facet,g=d&&d[h]||[];if(p.every(O=>O.type==0))if(o[m.id]=s.length<<1|1,qg(g,p))s.push(r.facet(m));else{let O=m.combine(p.map(b=>b.value));s.push(r&&m.compare(O,r.facet(m))?r.facet(m):O)}else{for(let O of p)O.type==0?(o[O.id]=s.length<<1|1,s.push(O.value)):(o[O.id]=c.length<<1,c.push(b=>O.dynamicSlot(b)));o[m.id]=c.length<<1,c.push(O=>BF(O,m,p))}}let f=c.map(h=>h(o));return new oo(e,a,f,o,s,l)}},u(oo,"Configuration"),oo);function VF(t,e,n){let r=[[],[],[],[],[]],i=new Map;function l(a,o){let s=i.get(a);if(s!=null){if(s<=o)return;let c=r[s].indexOf(a);c>-1&&r[s].splice(c,1),a instanceof fs&&n.delete(a.compartment)}if(i.set(a,o),Array.isArray(a))for(let c of a)l(c,o);else if(a instanceof fs){if(n.has(a.compartment))throw new RangeError("Duplicate use of compartment in extensions");let c=e.get(a.compartment)||a.inner;n.set(a.compartment,c),l(c,o)}else if(a instanceof Ed)l(a.inner,a.prec);else if(a instanceof zt)r[o].push(a),a.provides&&l(a.provides,o);else if(a instanceof ya)r[o].push(a),a.facet.extensions&&l(a.facet.extensions,Hi.default);else{let c=a.extension;if(!c)throw new Error(`Unrecognized extension value in extension set (${a}). This sometimes happens because multiple instances of @codemirror/state are loaded, breaking instanceof checks.`);l(c,o)}}return u(l,"inner"),l(t,Hi.default),r.reduce((a,o)=>a.concat(o))}u(VF,"flatten");function hs(t,e){if(e&1)return 2;let n=e>>1,r=t.status[n];if(r==4)throw new Error("Cyclic dependency between fields and/or facets");if(r&2)return r;t.status[n]=4;let i=t.computeSlot(t,t.config.dynamicSlots[n]);return t.status[n]=2|i}u(hs,"ensureAddr");function Td(t,e){return e&1?t.config.staticValues[e>>1]:t.values[e>>1]}u(Td,"getAddr");const lP=G.define(),Yg=G.define({combine:t=>t.some(e=>e),static:!0}),aP=G.define({combine:t=>t.length?t[0]:void 0,static:!0}),oP=G.define(),sP=G.define(),uP=G.define(),cP=G.define({combine:t=>t.length?t[0]:!1}),j1=class j1{constructor(e,n){this.type=e,this.value=n}static define(){return new Kg}};u(j1,"Annotation");let $n=j1;const q1=class q1{of(e){return new $n(this,e)}};u(q1,"AnnotationType");let Kg=q1;const U1=class U1{constructor(e){this.map=e}of(e){return new pe(this,e)}};u(U1,"StateEffectType");let Gg=U1;const ap=class ap{constructor(e,n){this.type=e,this.value=n}map(e){let n=this.type.map(this.value,e);return n===void 0?void 0:n==this.value?this:new ap(this.type,n)}is(e){return this.type==e}static define(e={}){return new Gg(e.map||(n=>n))}static mapEffects(e,n){if(!e.length)return e;let r=[];for(let i of e){let l=i.map(n);l&&r.push(l)}return r}};u(ap,"StateEffect");let pe=ap;pe.reconfigure=pe.define(),pe.appendConfig=pe.define();let Ot=(Lr=class{constructor(e,n,r,i,l,a){this.startState=e,this.changes=n,this.selection=r,this.effects=i,this.annotations=l,this.scrollIntoView=a,this._doc=null,this._state=null,r&&tP(r,n.newLength),l.some(o=>o.type==Lr.time)||(this.annotations=l.concat(Lr.time.of(Date.now())))}static create(e,n,r,i,l,a){return new Lr(e,n,r,i,l,a)}get newDoc(){return this._doc||(this._doc=this.changes.apply(this.startState.doc))}get newSelection(){return this.selection||this.startState.selection.map(this.changes)}get state(){return this._state||this.startState.applyTransaction(this),this._state}annotation(e){for(let n of this.annotations)if(n.type==e)return n.value}get docChanged(){return!this.changes.empty}get reconfigured(){return this.startState.config!=this.state.config}isUserEvent(e){let n=this.annotation(Lr.userEvent);return!!(n&&(n==e||n.length>e.length&&n.slice(0,e.length)==e&&n[e.length]=="."))}},u(Lr,"Transaction"),Lr);Ot.time=$n.define(),Ot.userEvent=$n.define(),Ot.addToHistory=$n.define(),Ot.remote=$n.define();function NF(t,e){let n=[];for(let r=0,i=0;;){let l,a;if(r=t[r]))l=t[r++],a=t[r++];else if(i=0;i--){let l=r[i](t);l instanceof Ot?t=l:Array.isArray(l)&&l.length==1&&l[0]instanceof Ot?t=l[0]:t=fP(e,va(l),!1)}return t}u(FF,"filterTransaction");function IF(t){let e=t.startState,n=e.facet(uP),r=t;for(let i=n.length-1;i>=0;i--){let l=n[i](t);l&&Object.keys(l).length&&(r=dP(r,Hg(e,l,t.changes.newLength),!0))}return r==t?t:Ot.create(e,t.changes,t.selection,r.effects,r.annotations,r.scrollIntoView)}u(IF,"extendTransaction");const ZF=[];function va(t){return t==null?ZF:Array.isArray(t)?t:[t]}u(va,"asArray$1");var ot=function(t){return t[t.Word=0]="Word",t[t.Space=1]="Space",t[t.Other=2]="Other",t}(ot||(ot={}));const zF=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;let _g;try{_g=new RegExp("[\\p{Alphabetic}\\p{Number}_]","u")}catch{}function LF(t){if(_g)return _g.test(t);for(let e=0;e"\x80"&&(n.toUpperCase()!=n.toLowerCase()||zF.test(n)))return!0}return!1}u(LF,"hasWordChar");function WF(t){return e=>{if(!/\S/.test(e))return ot.Space;if(LF(e))return ot.Word;for(let n=0;n-1)return ot.Word;return ot.Other}}u(WF,"makeCategorizer");let Be=(Ct=class{constructor(e,n,r,i,l,a){this.config=e,this.doc=n,this.selection=r,this.values=i,this.status=e.statusTemplate.slice(),this.computeSlot=l,a&&(a._state=this);for(let o=0;oi.set(c,s)),n=null),i.set(o.value.compartment,o.value.extension)):o.is(pe.reconfigure)?(n=null,r=o.value):o.is(pe.appendConfig)&&(n=null,r=va(r).concat(o.value));let l;n?l=e.startState.values.slice():(n=iP.resolve(r,i,this),l=new Ct(n,this.doc,this.selection,n.dynamicSlots.map(()=>null),(s,c)=>c.reconfigure(s,this),null).values);let a=e.startState.facet(Yg)?e.newSelection:e.newSelection.asSingle();new Ct(n,e.newDoc,a,l,(o,s)=>s.update(o,e),e)}replaceSelection(e){return typeof e=="string"&&(e=this.toText(e)),this.changeByRange(n=>({changes:{from:n.from,to:n.to,insert:e},range:z.cursor(n.from+e.length)}))}changeByRange(e){let n=this.selection,r=e(n.ranges[0]),i=this.changes(r.changes),l=[r.range],a=va(r.effects);for(let o=1;oa.spec.fromJSON(o,s)))}}return Ct.create({doc:e.doc,selection:z.fromJSON(e.selection),extensions:n.extensions?i.concat([n.extensions]):i})}static create(e={}){let n=iP.resolve(e.extensions||[],new Map),r=e.doc instanceof de?e.doc:de.of((e.doc||"").split(n.staticFacet(Ct.lineSeparator)||Lg)),i=e.selection?e.selection instanceof z?e.selection:z.single(e.selection.anchor,e.selection.head):z.single(0);return tP(i,r.length),n.staticFacet(Yg)||(i=i.asSingle()),new Ct(n,r,i,n.dynamicSlots.map(()=>null),(l,a)=>a.create(l),null)}get tabSize(){return this.facet(Ct.tabSize)}get lineBreak(){return this.facet(Ct.lineSeparator)||` +`}get readOnly(){return this.facet(cP)}phrase(e,...n){for(let r of this.facet(Ct.phrases))if(Object.prototype.hasOwnProperty.call(r,e)){e=r[e];break}return n.length&&(e=e.replace(/\$(\$|\d*)/g,(r,i)=>{if(i=="$")return"$";let l=+(i||1);return!l||l>n.length?r:n[l-1]})),e}languageDataAt(e,n,r=-1){let i=[];for(let l of this.facet(lP))for(let a of l(this,n,r))Object.prototype.hasOwnProperty.call(a,e)&&i.push(a[e]);return i}charCategorizer(e){return WF(this.languageDataAt("wordChars",e).join(""))}wordAt(e){let{text:n,from:r,length:i}=this.doc.lineAt(e),l=this.charCategorizer(e),a=e-r,o=e-r;for(;a>0;){let s=gt(n,a,!1);if(l(n.slice(s,a))!=ot.Word)break;a=s}for(;ot.length?t[0]:4}),Be.lineSeparator=aP,Be.readOnly=cP,Be.phrases=G.define({compare(t,e){let n=Object.keys(t),r=Object.keys(e);return n.length==r.length&&n.every(i=>t[i]==e[i])}}),Be.languageData=lP,Be.changeFilter=oP,Be.transactionFilter=sP,Be.transactionExtender=uP,Ad.reconfigure=pe.define();function ii(t,e,n={}){let r={};for(let i of t)for(let l of Object.keys(i)){let a=i[l],o=r[l];if(o===void 0)r[l]=a;else if(!(o===a||a===void 0))if(Object.hasOwnProperty.call(n,l))r[l]=n[l](o,a);else throw new Error("Config merge conflict for field "+l)}for(let i in e)r[i]===void 0&&(r[i]=e[i]);return r}u(ii,"combineConfig");const Y1=class Y1{eq(e){return this==e}range(e,n=e){return Jg.create(e,n,this)}};u(Y1,"RangeValue");let Pr=Y1;Pr.prototype.startSide=Pr.prototype.endSide=0,Pr.prototype.point=!1,Pr.prototype.mapMode=lt.TrackDel;let Jg=(so=class{constructor(e,n,r){this.from=e,this.to=n,this.value=r}static create(e,n,r){return new so(e,n,r)}},u(so,"Range"),so);function e0(t,e){return t.from-e.from||t.value.startSide-e.value.startSide}u(e0,"cmpRange");const op=class op{constructor(e,n,r,i){this.from=e,this.to=n,this.value=r,this.maxPoint=i}get length(){return this.to[this.to.length-1]}findIndex(e,n,r,i=0){let l=r?this.to:this.from;for(let a=i,o=l.length;;){if(a==o)return a;let s=a+o>>1,c=l[s]-e||(r?this.value[s].endSide:this.value[s].startSide)-n;if(s==a)return c>=0?a:o;c>=0?o=s:a=s+1}}between(e,n,r,i){for(let l=this.findIndex(n,-1e9,!0),a=this.findIndex(r,1e9,!1,l);lp||h==p&&c.startSide>0&&c.endSide<=0)continue;(p-h||c.endSide-c.startSide)<0||(a<0&&(a=h),c.point&&(o=Math.max(o,p-h)),r.push(c),i.push(h-a),l.push(p-a))}return{mapped:r.length?new op(i,l,r,o):null,pos:a}}};u(op,"Chunk");let t0=op;const Rn=class Rn{constructor(e,n,r,i){this.chunkPos=e,this.chunk=n,this.nextLayer=r,this.maxPoint=i}static create(e,n,r,i){return new Rn(e,n,r,i)}get length(){let e=this.chunk.length-1;return e<0?0:Math.max(this.chunkEnd(e),this.nextLayer.length)}get size(){if(this.isEmpty)return 0;let e=this.nextLayer.size;for(let n of this.chunk)e+=n.value.length;return e}chunkEnd(e){return this.chunkPos[e]+this.chunk[e].length}update(e){let{add:n=[],sort:r=!1,filterFrom:i=0,filterTo:l=this.length}=e,a=e.filter;if(n.length==0&&!a)return this;if(r&&(n=n.slice().sort(e0)),this.isEmpty)return n.length?Rn.of(n):this;let o=new Rd(this,null,-1).goto(0),s=0,c=[],d=new Ji;for(;o.value||s=0){let f=n[s++];d.addInner(f.from,f.to,f.value)||c.push(f)}else o.rangeIndex==1&&o.chunkIndexthis.chunkEnd(o.chunkIndex)||lo.to||l=l&&e<=l+a.length&&a.between(l,e-l,n-l,r)===!1)return}this.nextLayer.between(e,n,r)}}iter(e=0){return ps.from([this]).goto(e)}get isEmpty(){return this.nextLayer==this}static iter(e,n=0){return ps.from(e).goto(n)}static compare(e,n,r,i,l=-1){let a=e.filter(f=>f.maxPoint>0||!f.isEmpty&&f.maxPoint>=l),o=n.filter(f=>f.maxPoint>0||!f.isEmpty&&f.maxPoint>=l),s=hP(a,o,r),c=new el(a,s,l),d=new el(o,s,l);r.iterGaps((f,h,p)=>pP(c,f,d,h,p,i)),r.empty&&r.length==0&&pP(c,0,d,0,0,i)}static eq(e,n,r=0,i){i==null&&(i=999999999);let l=e.filter(d=>!d.isEmpty&&n.indexOf(d)<0),a=n.filter(d=>!d.isEmpty&&e.indexOf(d)<0);if(l.length!=a.length)return!1;if(!l.length)return!0;let o=hP(l,a),s=new el(l,o,0).goto(r),c=new el(a,o,0).goto(r);for(;;){if(s.to!=c.to||!r0(s.active,c.active)||s.point&&(!c.point||!s.point.eq(c.point)))return!1;if(s.to>i)return!0;s.next(),c.next()}}static spans(e,n,r,i,l=-1){let a=new el(e,null,l).goto(n),o=n,s=a.openStart;for(;;){let c=Math.min(a.to,r);if(a.point){let d=a.activeForPoint(a.to),f=a.pointFromo&&(i.span(o,c,a.active,s),s=a.openEnd(c));if(a.to>r)return s+(a.point&&a.to>r?1:0);o=a.to,a.next()}}static of(e,n=!1){let r=new Ji;for(let i of e instanceof Jg?[e]:n?XF(e):e)r.add(i.from,i.to,i.value);return r.finish()}static join(e){if(!e.length)return Rn.empty;let n=e[e.length-1];for(let r=e.length-2;r>=0;r--)for(let i=e[r];i!=Rn.empty;i=i.nextLayer)n=new Rn(i.chunkPos,i.chunk,n,Math.max(i.maxPoint,n.maxPoint));return n}};u(Rn,"RangeSet");let xe=Rn;xe.empty=new xe([],[],null,-1);function XF(t){if(t.length>1)for(let e=t[0],n=1;n0)return t.slice().sort(e0);e=r}return t}u(XF,"lazySort"),xe.empty.nextLayer=xe.empty;const sp=class sp{finishChunk(e){this.chunks.push(new t0(this.from,this.to,this.value,this.maxPoint)),this.chunkPos.push(this.chunkStart),this.chunkStart=-1,this.setMaxPoint=Math.max(this.setMaxPoint,this.maxPoint),this.maxPoint=-1,e&&(this.from=[],this.to=[],this.value=[])}constructor(){this.chunks=[],this.chunkPos=[],this.chunkStart=-1,this.last=null,this.lastFrom=-1e9,this.lastTo=-1e9,this.from=[],this.to=[],this.value=[],this.maxPoint=-1,this.setMaxPoint=-1,this.nextLayer=null}add(e,n,r){this.addInner(e,n,r)||(this.nextLayer||(this.nextLayer=new sp)).add(e,n,r)}addInner(e,n,r){let i=e-this.lastTo||r.startSide-this.last.endSide;if(i<=0&&(e-this.lastFrom||r.startSide-this.last.startSide)<0)throw new Error("Ranges must be added sorted by `from` position and `startSide`");return i<0?!1:(this.from.length==250&&this.finishChunk(!0),this.chunkStart<0&&(this.chunkStart=e),this.from.push(e-this.chunkStart),this.to.push(n-this.chunkStart),this.last=r,this.lastFrom=e,this.lastTo=n,this.value.push(r),r.point&&(this.maxPoint=Math.max(this.maxPoint,n-e)),!0)}addChunk(e,n){if((e-this.lastTo||n.value[0].startSide-this.last.endSide)<0)return!1;this.from.length&&this.finishChunk(!0),this.setMaxPoint=Math.max(this.setMaxPoint,n.maxPoint),this.chunks.push(n),this.chunkPos.push(e);let r=n.value.length-1;return this.last=n.value[r],this.lastFrom=n.from[r]+e,this.lastTo=n.to[r]+e,!0}finish(){return this.finishInner(xe.empty)}finishInner(e){if(this.from.length&&this.finishChunk(!1),this.chunks.length==0)return e;let n=xe.create(this.chunkPos,this.chunks,this.nextLayer?this.nextLayer.finishInner(e):e,this.setMaxPoint);return this.from=null,n}};u(sp,"RangeSetBuilder");let Ji=sp;function hP(t,e,n){let r=new Map;for(let l of t)for(let a=0;a=this.minPoint)break}}setRangeIndex(e){if(e==this.layer.chunk[this.chunkIndex].value.length){if(this.chunkIndex++,this.skip)for(;this.chunkIndex=r&&i.push(new Rd(a,n,r,l));return i.length==1?i[0]:new up(i)}get startSide(){return this.value?this.value.startSide:0}goto(e,n=-1e9){for(let r of this.heap)r.goto(e,n);for(let r=this.heap.length>>1;r>=0;r--)n0(this.heap,r);return this.next(),this}forward(e,n){for(let r of this.heap)r.forward(e,n);for(let r=this.heap.length>>1;r>=0;r--)n0(this.heap,r);(this.to-e||this.value.endSide-n)<0&&this.next()}next(){if(this.heap.length==0)this.from=this.to=1e9,this.value=null,this.rank=-1;else{let e=this.heap[0];this.from=e.from,this.to=e.to,this.value=e.value,this.rank=e.rank,e.value&&e.next(),n0(this.heap,0)}}};u(up,"HeapCursor");let ps=up;function n0(t,e){for(let n=t[e];;){let r=(e<<1)+1;if(r>=t.length)break;let i=t[r];if(r+1=0&&(i=t[r+1],r++),n.compare(i)<0)break;t[r]=n,t[e]=i,e=r}}u(n0,"heapBubble");const G1=class G1{constructor(e,n,r){this.minPoint=r,this.active=[],this.activeTo=[],this.activeRank=[],this.minActive=-1,this.point=null,this.pointFrom=0,this.pointRank=0,this.to=-1e9,this.endSide=0,this.openStart=-1,this.cursor=ps.from(e,n,r)}goto(e,n=-1e9){return this.cursor.goto(e,n),this.active.length=this.activeTo.length=this.activeRank.length=0,this.minActive=-1,this.to=e,this.endSide=n,this.openStart=-1,this.next(),this}forward(e,n){for(;this.minActive>-1&&(this.activeTo[this.minActive]-e||this.active[this.minActive].endSide-n)<0;)this.removeActive(this.minActive);this.cursor.forward(e,n)}removeActive(e){Qd(this.active,e),Qd(this.activeTo,e),Qd(this.activeRank,e),this.minActive=mP(this.active,this.activeTo)}addActive(e){let n=0,{value:r,to:i,rank:l}=this.cursor;for(;n0;)n++;Md(this.active,n,r),Md(this.activeTo,n,i),Md(this.activeRank,n,l),e&&Md(e,n,this.cursor.from),this.minActive=mP(this.active,this.activeTo)}next(){let e=this.to,n=this.point;this.point=null;let r=this.openStart<0?[]:null;for(;;){let i=this.minActive;if(i>-1&&(this.activeTo[i]-this.cursor.from||this.active[i].endSide-this.cursor.startSide)<0){if(this.activeTo[i]>e){this.to=this.activeTo[i],this.endSide=this.active[i].endSide;break}this.removeActive(i),r&&Qd(r,i)}else if(this.cursor.value)if(this.cursor.from>e){this.to=this.cursor.from,this.endSide=this.cursor.startSide;break}else{let l=this.cursor.value;if(!l.point)this.addActive(r),this.cursor.next();else if(n&&this.cursor.to==this.to&&this.cursor.from=0&&r[i]=0&&!(this.activeRank[r]e||this.activeTo[r]==e&&this.active[r].endSide>=this.point.endSide)&&n.push(this.active[r]);return n.reverse()}openEnd(e){let n=0;for(let r=this.activeTo.length-1;r>=0&&this.activeTo[r]>e;r--)n++;return n}};u(G1,"SpanCursor");let el=G1;function pP(t,e,n,r,i,l){t.goto(e),n.goto(r);let a=r+i,o=r,s=r-e;for(;;){let c=t.to+s-n.to||t.endSide-n.endSide,d=c<0?t.to+s:n.to,f=Math.min(d,a);if(t.point||n.point?t.point&&n.point&&(t.point==n.point||t.point.eq(n.point))&&r0(t.activeForPoint(t.to),n.activeForPoint(n.to))||l.comparePoint(o,f,t.point,n.point):f>o&&!r0(t.active,n.active)&&l.compareRange(o,f,t.active,n.active),d>a)break;o=d,c<=0&&t.next(),c>=0&&n.next()}}u(pP,"compare");function r0(t,e){if(t.length!=e.length)return!1;for(let n=0;n=e;r--)t[r+1]=t[r];t[e]=n}u(Md,"insert");function mP(t,e){let n=-1,r=1e9;for(let i=0;i=e)return i;if(i==t.length)break;l+=t.charCodeAt(i)==9?n-l%n:1,i=gt(t,i)}return r===!0?-1:t.length}u(i0,"findColumn");const l0="\u037C",gP=typeof Symbol>"u"?"__"+l0:Symbol.for(l0),a0=typeof Symbol>"u"?"__styleSet"+Math.floor(Math.random()*1e8):Symbol("styleSet"),OP=typeof globalThis<"u"?globalThis:typeof window<"u"?window:{},H1=class H1{constructor(e,n){this.rules=[];let{finish:r}=n||{};function i(a){return/^@/.test(a)?[a]:a.split(/,\s*/)}u(i,"splitSelector");function l(a,o,s,c){let d=[],f=/^@(\w+)\b/.exec(a[0]),h=f&&f[1]=="keyframes";if(f&&o==null)return s.push(a[0]+";");for(let p in o){let m=o[p];if(/&/.test(p))l(p.split(/,\s*/).map(g=>a.map(O=>g.replace(/&/,O))).reduce((g,O)=>g.concat(O)),m,s);else if(m&&typeof m=="object"){if(!f)throw new RangeError("The value of a property ("+p+") should be a primitive value.");l(i(p),m,d,h)}else m!=null&&d.push(p.replace(/_.*/,"").replace(/[A-Z]/g,g=>"-"+g.toLowerCase())+": "+m+";")}(d.length||h)&&s.push((r&&!f&&!c?a.map(r):a).join(", ")+" {"+d.join(" ")+"}")}u(l,"render");for(let a in e)l(i(a),e[a],this.rules)}getRules(){return this.rules.join(` +`)}static newName(){let e=OP[gP]||1;return OP[gP]=e+1,l0+e.toString(36)}static mount(e,n,r){let i=e[a0],l=r&&r.nonce;i?l&&i.setNonce(l):i=new o0(e,l),i.mount(Array.isArray(n)?n:[n],e)}};u(H1,"StyleModule");let Zn=H1,bP=new Map;const _1=class _1{constructor(e,n){let r=e.ownerDocument||e,i=r.defaultView;if(!e.head&&e.adoptedStyleSheets&&i.CSSStyleSheet){let l=bP.get(r);if(l)return e[a0]=l;this.sheet=new i.CSSStyleSheet,bP.set(r,this)}else this.styleTag=r.createElement("style"),n&&this.styleTag.setAttribute("nonce",n);this.modules=[],e[a0]=this}mount(e,n){let r=this.sheet,i=0,l=0;for(let a=0;a-1&&(this.modules.splice(s,1),l--,s=-1),s==-1){if(this.modules.splice(l++,0,o),r)for(let c=0;c",191:"?",192:"~",219:"{",220:"|",221:"}",222:'"'},jF=typeof navigator<"u"&&/Mac/.test(navigator.platform),qF=typeof navigator<"u"&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent),Ke=0;Ke<10;Ke++)Er[48+Ke]=Er[96+Ke]=String(Ke);for(var Ke=1;Ke<=24;Ke++)Er[Ke+111]="F"+Ke;for(var Ke=65;Ke<=90;Ke++)Er[Ke]=String.fromCharCode(Ke+32),ms[Ke]=String.fromCharCode(Ke);for(var s0 in Er)ms.hasOwnProperty(s0)||(ms[s0]=Er[s0]);function yP(t){var e=jF&&t.metaKey&&t.shiftKey&&!t.ctrlKey&&!t.altKey||qF&&t.shiftKey&&t.key&&t.key.length==1||t.key=="Unidentified",n=!e&&t.key||(t.shiftKey?ms:Er)[t.keyCode]||t.key||"Unidentified";return n=="Esc"&&(n="Escape"),n=="Del"&&(n="Delete"),n=="Left"&&(n="ArrowLeft"),n=="Up"&&(n="ArrowUp"),n=="Right"&&(n="ArrowRight"),n=="Down"&&(n="ArrowDown"),n}u(yP,"keyName");function gs(t){let e;return t.nodeType==11?e=t.getSelection?t:t.ownerDocument:e=t,e.getSelection()}u(gs,"getSelection$1");function u0(t,e){return e?t==e||t.contains(e.nodeType!=1?e.parentNode:e):!1}u(u0,"contains");function Bd(t,e){if(!e.anchorNode)return!1;try{return u0(t,e.anchorNode)}catch{return!1}}u(Bd,"hasSelection$1");function wa(t){return t.nodeType==3?nl(t,0,t.nodeValue.length).getClientRects():t.nodeType==1?t.getClientRects():[]}u(wa,"clientRectsFor");function Os(t,e,n,r){return n?vP(t,e,n,r,-1)||vP(t,e,n,r,1):!1}u(Os,"isEquivalentPosition$1");function tl(t){for(var e=0;;e++)if(t=t.previousSibling,!t)return e}u(tl,"domIndex$1");function Vd(t){return t.nodeType==1&&/^(DIV|P|LI|UL|OL|BLOCKQUOTE|DD|DT|H\d|SECTION|PRE)$/.test(t.nodeName)}u(Vd,"isBlockElement");function vP(t,e,n,r,i){for(;;){if(t==n&&e==r)return!0;if(e==(i<0?0:zn(t))){if(t.nodeName=="DIV")return!1;let l=t.parentNode;if(!l||l.nodeType!=1)return!1;e=tl(t)+(i<0?0:1),t=l}else if(t.nodeType==1){if(t=t.childNodes[e+(i<0?-1:0)],t.nodeType==1&&t.contentEditable=="false")return!1;e=i<0?zn(t):0}else return!1}}u(vP,"scanFor$1");function zn(t){return t.nodeType==3?t.nodeValue.length:t.childNodes.length}u(zn,"maxOffset");function bs(t,e){let n=e?t.left:t.right;return{left:n,right:n,top:t.top,bottom:t.bottom}}u(bs,"flattenRect");function UF(t){let e=t.visualViewport;return e?{left:0,right:e.width,top:0,bottom:e.height}:{left:0,right:t.innerWidth,top:0,bottom:t.innerHeight}}u(UF,"windowRect$1");function $P(t,e){let n=e.width/t.offsetWidth,r=e.height/t.offsetHeight;return(n>.995&&n<1.005||!isFinite(n)||Math.abs(e.width-t.offsetWidth)<1)&&(n=1),(r>.995&&r<1.005||!isFinite(r)||Math.abs(e.height-t.offsetHeight)<1)&&(r=1),{scaleX:n,scaleY:r}}u($P,"getScale");function YF(t,e,n,r,i,l,a,o){let s=t.ownerDocument,c=s.defaultView||window;for(let d=t,f=!1;d&&!f;)if(d.nodeType==1){let h,p=d==s.body,m=1,g=1;if(p)h=UF(c);else{if(/^(fixed|sticky)$/.test(getComputedStyle(d).position)&&(f=!0),d.scrollHeight<=d.clientHeight&&d.scrollWidth<=d.clientWidth){d=d.assignedSlot||d.parentNode;continue}let y=d.getBoundingClientRect();({scaleX:m,scaleY:g}=$P(d,y)),h={left:y.left,right:y.left+d.clientWidth*m,top:y.top,bottom:y.top+d.clientHeight*g}}let O=0,b=0;if(i=="nearest")e.top0&&e.bottom>h.bottom+b&&(b=e.bottom-h.bottom+b+a)):e.bottom>h.bottom&&(b=e.bottom-h.bottom+a,n<0&&e.top-b0&&e.right>h.right+O&&(O=e.right-h.right+O+l)):e.right>h.right&&(O=e.right-h.right+l,n<0&&e.lefti.clientHeight&&(r=i),!n&&i.scrollWidth>i.clientWidth&&(n=i),i=i.assignedSlot||i.parentNode;else if(i.nodeType==11)i=i.host;else break;return{x:n,y:r}}u(KF,"scrollableParents");const J1=class J1{constructor(){this.anchorNode=null,this.anchorOffset=0,this.focusNode=null,this.focusOffset=0}eq(e){return this.anchorNode==e.anchorNode&&this.anchorOffset==e.anchorOffset&&this.focusNode==e.focusNode&&this.focusOffset==e.focusOffset}setRange(e){let{anchorNode:n,focusNode:r}=e;this.set(n,Math.min(e.anchorOffset,n?zn(n):0),r,Math.min(e.focusOffset,r?zn(r):0))}set(e,n,r,i){this.anchorNode=e,this.anchorOffset=n,this.focusNode=r,this.focusOffset=i}};u(J1,"DOMSelectionState");let c0=J1,xa=null;function wP(t){if(t.setActive)return t.setActive();if(xa)return t.focus(xa);let e=[];for(let n=t;n&&(e.push(n,n.scrollTop,n.scrollLeft),n!=n.ownerDocument);n=n.parentNode);if(t.focus(xa==null?{get preventScroll(){return xa={preventScroll:!0},!0}}:void 0),!xa){xa=!1;for(let n=0;nMath.max(1,t.scrollHeight-t.clientHeight-4)}u(CP,"isScrolledToBottom");function DP(t,e){for(let n=t,r=e;;){if(n.nodeType==3&&r>0)return{node:n,offset:r};if(n.nodeType==1&&r>0){if(n.contentEditable=="false")return null;n=n.childNodes[r-1],r=zn(n)}else if(n.parentNode&&!Vd(n))r=tl(n),n=n.parentNode;else return null}}u(DP,"textNodeBefore$2");function kP(t,e){for(let n=t,r=e;;){if(n.nodeType==3&&rn)return f.domBoundsAround(e,n,c);if(h>=e&&i==-1&&(i=s,l=c),c>n&&f.dom.parentNode==this.dom){a=s,o=d;break}d=h,c=h+f.breakAfter}return{from:l,to:o<0?r+this.length:o,startDOM:(i?this.children[i-1].dom.nextSibling:null)||this.dom.firstChild,endDOM:a=0?this.children[a].dom:null}}markDirty(e=!1){this.flags|=2,this.markParentsDirty(e)}markParentsDirty(e){for(let n=this.parent;n;n=n.parent){if(e&&(n.flags|=2),n.flags&1)return;n.flags|=1,e=!1}}setParent(e){this.parent!=e&&(this.parent=e,this.flags&7&&this.markParentsDirty(!0))}setDOM(e){this.dom!=e&&(this.dom&&(this.dom.cmView=null),this.dom=e,e.cmView=this)}get rootView(){for(let e=this;;){let n=e.parent;if(!n)return e;e=n}}replaceChildren(e,n,r=d0){this.markDirty();for(let i=e;ithis.pos||e==this.pos&&(n>0||this.i==0||this.children[this.i-1].breakAfter))return this.off=e-this.pos,this;let r=this.children[--this.i];this.pos-=r.length+r.breakAfter}}};u(e4,"ChildCursor");let Nd=e4;function EP(t,e,n,r,i,l,a,o,s){let{children:c}=t,d=c.length?c[e]:null,f=l.length?l[l.length-1]:null,h=f?f.breakAfter:a;if(!(e==r&&d&&!a&&!h&&l.length<2&&d.merge(n,i,l.length?f:null,n==0,o,s))){if(r0&&(!a&&l.length&&d.merge(n,d.length,l[0],!1,o,0)?d.breakAfter=l.shift().breakAfter:(n2);var U={mac:BP||/Mac/.test(At.platform),windows:/Win/.test(At.platform),linux:/Linux|X11/.test(At.platform),ie:Fd,ie_version:TP?f0.documentMode||6:p0?+p0[1]:h0?+h0[1]:0,gecko:RP,gecko_version:RP?+(/Firefox\/(\d+)/.exec(At.userAgent)||[0,0])[1]:0,chrome:!!m0,chrome_version:m0?+m0[1]:0,ios:BP,android:/Android\b/.test(At.userAgent),webkit:QP,safari:MP,webkit_version:QP?+(/\bAppleWebKit\/(\d+)/.exec(At.userAgent)||[0,0])[1]:0,tabSize:f0.documentElement.style.tabSize!=null?"tab-size":"-moz-tab-size"};const _F=256,Lu=class Lu extends Se{constructor(e){super(),this.text=e}get length(){return this.text.length}createDOM(e){this.setDOM(e||document.createTextNode(this.text))}sync(e,n){this.dom||this.createDOM(),this.dom.nodeValue!=this.text&&(n&&n.node==this.dom&&(n.written=!0),this.dom.nodeValue=this.text)}reuseDOM(e){e.nodeType==3&&this.createDOM(e)}merge(e,n,r){return this.flags&8||r&&(!(r instanceof Lu)||this.length-(n-e)+r.length>_F||r.flags&8)?!1:(this.text=this.text.slice(0,e)+(r?r.text:"")+this.text.slice(n),this.markDirty(),!0)}split(e){let n=new Lu(this.text.slice(e));return this.text=this.text.slice(0,e),this.markDirty(),n.flags|=this.flags&8,n}localPosFromDOM(e,n){return e==this.dom?n:n?this.text.length:0}domAtPos(e){return new bt(this.dom,e)}domBoundsAround(e,n,r){return{from:r,to:r+this.length,startDOM:this.dom,endDOM:this.dom.nextSibling}}coordsAt(e,n){return JF(this.dom,e,n)}};u(Lu,"TextView");let Ln=Lu;const Wu=class Wu extends Se{constructor(e,n=[],r=0){super(),this.mark=e,this.children=n,this.length=r;for(let i of n)i.setParent(this)}setAttrs(e){if(SP(e),this.mark.class&&(e.className=this.mark.class),this.mark.attrs)for(let n in this.mark.attrs)e.setAttribute(n,this.mark.attrs[n]);return e}canReuseDOM(e){return super.canReuseDOM(e)&&!((this.flags|e.flags)&8)}reuseDOM(e){e.nodeName==this.mark.tagName.toUpperCase()&&(this.setDOM(e),this.flags|=6)}sync(e,n){this.dom?this.flags&4&&this.setAttrs(this.dom):this.setDOM(this.setAttrs(document.createElement(this.mark.tagName))),super.sync(e,n)}merge(e,n,r,i,l,a){return r&&(!(r instanceof Wu&&r.mark.eq(this.mark))||e&&l<=0||ne&&n.push(r=e&&(i=l),r=s,l++}let a=this.length-e;return this.length=e,i>-1&&(this.children.length=i,this.markDirty()),new Wu(this.mark,n,a)}domAtPos(e){return VP(this,e)}coordsAt(e,n){return FP(this,e,n)}};u(Wu,"MarkView");let li=Wu;function JF(t,e,n){let r=t.nodeValue.length;e>r&&(e=r);let i=e,l=e,a=0;e==0&&n<0||e==r&&n>=0?U.chrome||U.gecko||(e?(i--,a=1):l=0)?0:o.length-1];return U.safari&&!a&&s.width==0&&(s=Array.prototype.find.call(o,c=>c.width)||s),a?bs(s,a<0):s||null}u(JF,"textCoords");const Al=class Al extends Se{static create(e,n,r){return new Al(e,n,r)}constructor(e,n,r){super(),this.widget=e,this.length=n,this.side=r,this.prevWidget=null}split(e){let n=Al.create(this.widget,this.length-e,this.side);return this.length-=e,n}sync(e){(!this.dom||!this.widget.updateDOM(this.dom,e))&&(this.dom&&this.prevWidget&&this.prevWidget.destroy(this.dom),this.prevWidget=null,this.setDOM(this.widget.toDOM(e)),this.widget.editable||(this.dom.contentEditable="false"))}getSide(){return this.side}merge(e,n,r,i,l,a){return r&&(!(r instanceof Al)||!this.widget.compare(r.widget)||e>0&&l<=0||n0)?bt.before(this.dom):bt.after(this.dom,e==this.length)}domBoundsAround(){return null}coordsAt(e,n){let r=this.widget.coordsAt(this.dom,e,n);if(r)return r;let i=this.dom.getClientRects(),l=null;if(!i.length)return null;let a=this.side?this.side<0:e>0;for(let o=a?i.length-1:0;l=i[o],!(e>0?o==0:o==i.length-1||l.top0?bt.before(this.dom):bt.after(this.dom)}localPosFromDOM(){return 0}domBoundsAround(){return null}coordsAt(e){return this.dom.getBoundingClientRect()}get overrideDOMText(){return de.empty}get isHidden(){return!0}};u(Xu,"WidgetBufferView");let ys=Xu;Ln.prototype.children=Id.prototype.children=ys.prototype.children=d0;function VP(t,e){let n=t.dom,{children:r}=t,i=0;for(let l=0;il&&e0;l--){let a=r[l-1];if(a.dom.parentNode==n)return a.domAtPos(a.length)}for(let l=i;l0&&e instanceof li&&i.length&&(r=i[i.length-1])instanceof li&&r.mark.eq(e.mark)?NP(r,e.children[0],n-1):(i.push(e),e.setParent(t)),t.length+=e.length}u(NP,"joinInlineInto");function FP(t,e,n){let r=null,i=-1,l=null,a=-1;function o(c,d){for(let f=0,h=0;f=d&&(p.children.length?o(p,d-h):(!l||l.isHidden&&n>0)&&(m>d||h==m&&p.getSide()>0)?(l=p,a=d-h):(h-1?1:0)!=i.length-(n&&i.indexOf(n)>-1?1:0))return!1;for(let l of r)if(l!=n&&(i.indexOf(l)==-1||t[l]!==e[l]))return!1;return!0}u(Zd,"attrsEq");function O0(t,e,n){let r=!1;if(e)for(let i in e)n&&i in n||(r=!0,i=="style"?t.style.cssText="":t.removeAttribute(i));if(n)for(let i in n)e&&e[i]==n[i]||(r=!0,i=="style"?t.style.cssText=n[i]:t.setAttribute(i,n[i]));return r}u(O0,"updateAttrs");function tI(t){let e=Object.create(null);for(let n=0;n0?3e8:-4e8:n>0?1e8:-1e8,new ai(e,n,n,r,e.widget||null,!1)}static replace(e){let n=!!e.block,r,i;if(e.isBlockGap)r=-5e8,i=4e8;else{let{start:l,end:a}=ZP(e,n);r=(l?n?-3e8:-1:5e8)-1,i=(a?n?2e8:1:-6e8)+1}return new ai(e,r,i,n,e.widget||null,!0)}static line(e){return new $s(e)}static set(e,n=!1){return xe.of(e,n)}hasHeight(){return this.widget?this.widget.estimatedHeight>-1:!1}},u(qu,"Decoration"),qu);ne.none=xe.empty;const cp=class cp extends ne{constructor(e){let{start:n,end:r}=ZP(e);super(n?-1:5e8,r?1:-6e8,null,e),this.tagName=e.tagName||"span",this.class=e.class||"",this.attrs=e.attributes||null}eq(e){var n,r;return this==e||e instanceof cp&&this.tagName==e.tagName&&(this.class||((n=this.attrs)===null||n===void 0?void 0:n.class))==(e.class||((r=e.attrs)===null||r===void 0?void 0:r.class))&&Zd(this.attrs,e.attrs,"class")}range(e,n=e){if(e>=n)throw new RangeError("Mark decorations may not be empty");return super.range(e,n)}};u(cp,"MarkDecoration");let vs=cp;vs.prototype.point=!1;const dp=class dp extends ne{constructor(e){super(-2e8,-2e8,null,e)}eq(e){return e instanceof dp&&this.spec.class==e.spec.class&&Zd(this.spec.attributes,e.spec.attributes)}range(e,n=e){if(n!=e)throw new RangeError("Line decoration ranges must be zero-length");return super.range(e,n)}};u(dp,"LineDecoration");let $s=dp;$s.prototype.mapMode=lt.TrackBefore,$s.prototype.point=!0;const fp=class fp extends ne{constructor(e,n,r,i,l,a){super(n,r,l,e),this.block=i,this.isReplace=a,this.mapMode=i?n<=0?lt.TrackBefore:lt.TrackAfter:lt.TrackDel}get type(){return this.startSide!=this.endSide?yt.WidgetRange:this.startSide<=0?yt.WidgetBefore:yt.WidgetAfter}get heightRelevant(){return this.block||!!this.widget&&(this.widget.estimatedHeight>=5||this.widget.lineBreaks>0)}eq(e){return e instanceof fp&&nI(this.widget,e.widget)&&this.block==e.block&&this.startSide==e.startSide&&this.endSide==e.endSide}range(e,n=e){if(this.isReplace&&(e>n||e==n&&this.startSide>0&&this.endSide<=0))throw new RangeError("Invalid range for replacement decoration");if(!this.isReplace&&n!=e)throw new RangeError("Widget decorations can only have zero-length ranges");return super.range(e,n)}};u(fp,"PointDecoration");let ai=fp;ai.prototype.point=!0;function ZP(t,e=!1){let{inclusiveStart:n,inclusiveEnd:r}=t;return n==null&&(n=t.inclusive),r==null&&(r=t.inclusive),{start:n??e,end:r??e}}u(ZP,"getInclusive");function nI(t,e){return t==e||!!(t&&e&&t.compare(e))}u(nI,"widgetsEq");function b0(t,e,n,r=0){let i=n.length-1;i>=0&&n[i]+r>=t?n[i]=Math.max(n[i],e):n.push(t,e)}u(b0,"addRange$1");const Tl=class Tl extends Se{constructor(){super(...arguments),this.children=[],this.length=0,this.prevAttrs=void 0,this.attrs=null,this.breakAfter=0}merge(e,n,r,i,l,a){if(r){if(!(r instanceof Tl))return!1;this.dom||r.transferDOM(this)}return i&&this.setDeco(r?r.attrs:null),AP(this,e,n,r?r.children.slice():[],l,a),!0}split(e){let n=new Tl;if(n.breakAfter=this.breakAfter,this.length==0)return n;let{i:r,off:i}=this.childPos(e);i&&(n.append(this.children[r].split(i),0),this.children[r].merge(i,this.children[r].length,null,!1,0,0),r++);for(let l=r;l0&&this.children[r-1].length==0;)this.children[--r].destroy();return this.children.length=r,this.markDirty(),this.length=e,n}transferDOM(e){this.dom&&(this.markDirty(),e.setDOM(this.dom),e.prevAttrs=this.prevAttrs===void 0?this.attrs:this.prevAttrs,this.prevAttrs=void 0,this.dom=null)}setDeco(e){Zd(this.attrs,e)||(this.dom&&(this.prevAttrs=this.attrs,this.markDirty()),this.attrs=e)}append(e,n){NP(this,e,n)}addLineDeco(e){let n=e.spec.attributes,r=e.spec.class;n&&(this.attrs=g0(n,this.attrs||{})),r&&(this.attrs=g0({class:r},this.attrs||{}))}domAtPos(e){return VP(this,e)}reuseDOM(e){e.nodeName=="DIV"&&(this.setDOM(e),this.flags|=6)}sync(e,n){var r;this.dom?this.flags&4&&(SP(this.dom),this.dom.className="cm-line",this.prevAttrs=this.attrs?null:void 0):(this.setDOM(document.createElement("div")),this.dom.className="cm-line",this.prevAttrs=this.attrs?null:void 0),this.prevAttrs!==void 0&&(O0(this.dom,this.prevAttrs,this.attrs),this.dom.classList.add("cm-line"),this.prevAttrs=void 0),super.sync(e,n);let i=this.dom.lastChild;for(;i&&Se.get(i)instanceof li;)i=i.lastChild;if(!i||!this.length||i.nodeName!="BR"&&((r=Se.get(i))===null||r===void 0?void 0:r.isEditable)==!1&&(!U.ios||!this.children.some(l=>l instanceof Ln))){let l=document.createElement("BR");l.cmIgnore=!0,this.dom.appendChild(l)}}measureTextSize(){if(this.children.length==0||this.length>20)return null;let e=0,n;for(let r of this.children){if(!(r instanceof Ln)||/[^ -~]/.test(r.text))return null;let i=wa(r.dom);if(i.length!=1)return null;e+=i[0].width,n=i[0].height}return e?{lineHeight:this.dom.getBoundingClientRect().height,charWidth:e/this.length,textHeight:n}:null}coordsAt(e,n){let r=FP(this,e,n);if(!this.children.length&&r&&this.parent){let{heightOracle:i}=this.parent.view.viewState,l=r.bottom-r.top;if(Math.abs(l-i.lineHeight)<2&&i.textHeight=n){if(l instanceof Tl)return l;if(a>n)break}i=a+l.breakAfter}return null}};u(Tl,"LineView");let Ge=Tl;const uo=class uo extends Se{constructor(e,n,r){super(),this.widget=e,this.length=n,this.deco=r,this.breakAfter=0,this.prevWidget=null}merge(e,n,r,i,l,a){return r&&(!(r instanceof uo)||!this.widget.compare(r.widget)||e>0&&l<=0||n0}};u(uo,"BlockWidgetView");let rl=uo;const t4=class t4 extends Wn{constructor(e){super(),this.height=e}toDOM(){let e=document.createElement("div");return e.className="cm-gap",this.updateDOM(e),e}eq(e){return e.height==this.height}updateDOM(e){return e.style.height=this.height+"px",!0}get editable(){return!0}get estimatedHeight(){return this.height}ignoreEvent(){return!1}};u(t4,"BlockGapWidget");let ws=t4;const hp=class hp{constructor(e,n,r,i){this.doc=e,this.pos=n,this.end=r,this.disallowBlockEffectsFor=i,this.content=[],this.curLine=null,this.breakAtStart=0,this.pendingBuffer=0,this.bufferMarks=[],this.atCursorPos=!0,this.openStart=-1,this.openEnd=-1,this.text="",this.textOff=0,this.cursor=e.iter(),this.skip=n}posCovered(){if(this.content.length==0)return!this.breakAtStart&&this.doc.lineAt(this.pos).from!=this.pos;let e=this.content[this.content.length-1];return!(e.breakAfter||e instanceof rl&&e.deco.endSide<0)}getLine(){return this.curLine||(this.content.push(this.curLine=new Ge),this.atCursorPos=!0),this.curLine}flushBuffer(e=this.bufferMarks){this.pendingBuffer&&(this.curLine.append(zd(new ys(-1),e),e.length),this.pendingBuffer=0)}addBlockWidget(e){this.flushBuffer(),this.curLine=null,this.content.push(e)}finish(e){this.pendingBuffer&&e<=this.bufferMarks.length?this.flushBuffer():this.pendingBuffer=0,!this.posCovered()&&!(e&&this.content.length&&this.content[this.content.length-1]instanceof rl)&&this.getLine()}buildText(e,n,r){for(;e>0;){if(this.textOff==this.text.length){let{value:l,lineBreak:a,done:o}=this.cursor.next(this.skip);if(this.skip=0,o)throw new Error("Ran out of text content when drawing inline views");if(a){this.posCovered()||this.getLine(),this.content.length?this.content[this.content.length-1].breakAfter=1:this.breakAtStart=1,this.flushBuffer(),this.curLine=null,this.atCursorPos=!0,e--;continue}else this.text=l,this.textOff=0}let i=Math.min(this.text.length-this.textOff,e,512);this.flushBuffer(n.slice(n.length-r)),this.getLine().append(zd(new Ln(this.text.slice(this.textOff,this.textOff+i)),n),r),this.atCursorPos=!0,this.textOff+=i,e-=i,r=0}}span(e,n,r,i){this.buildText(n-e,r,i),this.pos=n,this.openStart<0&&(this.openStart=i)}point(e,n,r,i,l,a){if(this.disallowBlockEffectsFor[a]&&r instanceof ai){if(r.block)throw new RangeError("Block decorations may not be specified via plugins");if(n>this.doc.lineAt(this.pos).to)throw new RangeError("Decorations that replace line breaks may not be specified via plugins")}let o=n-e;if(r instanceof ai)if(r.block)r.startSide>0&&!this.posCovered()&&this.getLine(),this.addBlockWidget(new rl(r.widget||oi.block,o,r));else{let s=Id.create(r.widget||oi.inline,o,o?0:r.startSide),c=this.atCursorPos&&!s.isEditable&&l<=i.length&&(e0),d=!s.isEditable&&(ei.length||r.startSide<=0),f=this.getLine();this.pendingBuffer==2&&!c&&!s.isEditable&&(this.pendingBuffer=0),this.flushBuffer(i),c&&(f.append(zd(new ys(1),i),l),l=i.length+Math.max(0,l-i.length)),f.append(zd(s,i),l),this.atCursorPos=d,this.pendingBuffer=d?ei.length?1:2:0,this.pendingBuffer&&(this.bufferMarks=i.slice())}else this.doc.lineAt(this.pos).from==this.pos&&this.getLine().addLineDeco(r);o&&(this.textOff+o<=this.text.length?this.textOff+=o:(this.skip+=o-(this.text.length-this.textOff),this.text="",this.textOff=0),this.pos=n),this.openStart<0&&(this.openStart=l)}static build(e,n,r,i,l){let a=new hp(e,n,r,l);return a.openEnd=xe.spans(i,n,r,a),a.openStart<0&&(a.openStart=a.openEnd),a.finish(a.openEnd),a}};u(hp,"ContentBuilder");let xs=hp;function zd(t,e){for(let n of e)t=new li(n,[t],t.length);return t}u(zd,"wrapMarks$1");const n4=class n4 extends Wn{constructor(e){super(),this.tag=e}eq(e){return e.tag==this.tag}toDOM(){return document.createElement(this.tag)}updateDOM(e){return e.nodeName.toLowerCase()==this.tag}get isHidden(){return!0}};u(n4,"NullWidget");let oi=n4;oi.inline=new oi("span"),oi.block=new oi("div");var Pe=function(t){return t[t.LTR=0]="LTR",t[t.RTL=1]="RTL",t}(Pe||(Pe={}));const il=Pe.LTR,y0=Pe.RTL;function zP(t){let e=[];for(let n=0;n=n){if(o.level==r)return a;(l<0||(i!=0?i<0?o.fromn:e[l].level>o.level))&&(l=a)}}if(l<0)throw new RangeError("Index out of range");return l}};u(r4,"BidiSpan");let jn=r4;function WP(t,e){if(t.length!=e.length)return!1;for(let n=0;n=0;g-=3)if(Xn[g+1]==-p){let O=Xn[g+2],b=O&2?i:O&4?O&1?l:i:0;b&&(be[f]=be[Xn[g]]=b),o=g;break}}else{if(Xn.length==189)break;Xn[o++]=f,Xn[o++]=h,Xn[o++]=s}else if((m=be[f])==2||m==1){let g=m==i;s=g?0:1;for(let O=o-3;O>=0;O-=3){let b=Xn[O+2];if(b&2)break;if(g)Xn[O+2]|=2;else{if(b&4)break;Xn[O+2]|=4}}}}}u(oI,"processBracketPairs");function sI(t,e,n,r){for(let i=0,l=r;i<=n.length;i++){let a=i?n[i-1].to:t,o=is;)m==O&&(m=n[--g].from,O=g?n[g-1].to:t),be[--m]=p;s=d}else l=c,s++}}}u(sI,"processNeutrals");function $0(t,e,n,r,i,l,a){let o=r%2?2:1;if(r%2==i%2)for(let s=e,c=0;ss&&a.push(new jn(s,g.from,p));let O=g.direction==il!=!(p%2);w0(t,O?r+1:r,i,g.inner,g.from,g.to,a),s=g.to}m=g.to}else{if(m==n||(d?be[m]!=o:be[m]==o))break;m++}h?$0(t,s,m,r+1,i,h,a):se;){let d=!0,f=!1;if(!c||s>l[c-1].to){let g=be[s-1];g!=o&&(d=!1,f=g==16)}let h=!d&&o==1?[]:null,p=d?r:r+1,m=s;e:for(;;)if(c&&m==l[c-1].to){if(f)break e;let g=l[--c];if(!d)for(let O=g.from,b=c;;){if(O==e)break e;if(b&&l[b-1].to==O)O=l[--b].from;else{if(be[O-1]==o)break e;break}}if(h)h.push(g);else{g.tobe.length;)be[be.length]=256;let r=[],i=e==il?0:1;return w0(t,i,i,n,0,t.length,r),r}u(uI,"computeOrder");function XP(t){return[new jn(0,t,0)]}u(XP,"trivialOrder");let jP="";function cI(t,e,n,r,i){var l;let a=r.head-t.from,o=jn.find(e,a,(l=r.bidiLevel)!==null&&l!==void 0?l:-1,r.assoc),s=e[o],c=s.side(i,n);if(a==c){let h=o+=i?1:-1;if(h<0||h>=e.length)return null;s=e[o=h],a=s.side(!i,n),c=s.side(i,n)}let d=gt(t.text,a,s.forward(i,n));(ds.to)&&(d=c),jP=t.text.slice(Math.min(a,d),Math.max(a,d));let f=o==(i?e.length-1:0)?null:e[o+(i?1:-1)];return f&&d==c&&f.level+(i?0:1)t.some(e=>e)}),JP=G.define({combine:t=>t.some(e=>e)}),eE=G.define(),Uu=class Uu{constructor(e,n="nearest",r="nearest",i=5,l=5,a=!1){this.range=e,this.y=n,this.x=r,this.yMargin=i,this.xMargin=l,this.isSnapshot=a}map(e){return e.empty?this:new Uu(this.range.map(e),this.y,this.x,this.yMargin,this.xMargin,this.isSnapshot)}clip(e){return this.range.to<=e.doc.length?this:new Uu(z.cursor(e.doc.length),this.y,this.x,this.yMargin,this.xMargin,this.isSnapshot)}};u(Uu,"ScrollTarget");let Ss=Uu;const Ld=pe.define({map:(t,e)=>t.map(e)}),tE=pe.define();function Lt(t,e,n){let r=t.facet(KP);r.length?r[0](e):window.onerror?window.onerror(String(e),n,void 0,void 0,e):n?console.error(n+":",e):console.error(e)}u(Lt,"logException");const si=G.define({combine:t=>t.length?t[0]:!0});let fI=0;const Cs=G.define(),Yu=class Yu{constructor(e,n,r,i,l){this.id=e,this.create=n,this.domEventHandlers=r,this.domEventObservers=i,this.extension=l(this)}static define(e,n){const{eventHandlers:r,eventObservers:i,provide:l,decorations:a}=n||{};return new Yu(fI++,e,r,i,o=>{let s=[Cs.of(o)];return a&&s.push(ks.of(c=>{let d=c.plugin(o);return d?a(d):ne.none})),l&&s.push(l(o)),s})}static fromClass(e,n){return Yu.define(r=>new e(r),n)}};u(Yu,"ViewPlugin");let He=Yu;const i4=class i4{constructor(e){this.spec=e,this.mustUpdate=null,this.value=null}update(e){if(this.value){if(this.mustUpdate){let n=this.mustUpdate;if(this.mustUpdate=null,this.value.update)try{this.value.update(n)}catch(r){if(Lt(n.state,r,"CodeMirror plugin crashed"),this.value.destroy)try{this.value.destroy()}catch{}this.deactivate()}}}else if(this.spec)try{this.value=this.spec.create(e)}catch(n){Lt(e.state,n,"CodeMirror plugin crashed"),this.deactivate()}return this}destroy(e){var n;if(!((n=this.value)===null||n===void 0)&&n.destroy)try{this.value.destroy()}catch(r){Lt(e.state,r,"CodeMirror plugin crashed")}}deactivate(){this.spec=this.value=null}};u(i4,"PluginInstance");let Ds=i4;const nE=G.define(),D0=G.define(),ks=G.define(),rE=G.define(),k0=G.define(),iE=G.define();function lE(t,e){let n=t.state.facet(iE);if(!n.length)return n;let r=n.map(l=>l instanceof Function?l(t):l),i=[];return xe.spans(r,e.from,e.to,{point(){},span(l,a,o,s){let c=l-e.from,d=a-e.from,f=i;for(let h=o.length-1;h>=0;h--,s--){let p=o[h].spec.bidiIsolate,m;if(p==null&&(p=dI(e.text,c,d)),s>0&&f.length&&(m=f[f.length-1]).to==c&&m.direction==p)m.to=d,f=m.inner;else{let g={from:c,to:d,direction:p,inner:[]};f.push(g),f=g.inner}}}}),i}u(lE,"getIsolatedRanges");const aE=G.define();function oE(t){let e=0,n=0,r=0,i=0;for(let l of t.state.facet(aE)){let a=l(t);a&&(a.left!=null&&(e=Math.max(e,a.left)),a.right!=null&&(n=Math.max(n,a.right)),a.top!=null&&(r=Math.max(r,a.top)),a.bottom!=null&&(i=Math.max(i,a.bottom)))}return{left:e,right:n,top:r,bottom:i}}u(oE,"getScrollMargins");const Ps=G.define(),co=class co{constructor(e,n,r,i){this.fromA=e,this.toA=n,this.fromB=r,this.toB=i}join(e){return new co(Math.min(this.fromA,e.fromA),Math.max(this.toA,e.toA),Math.min(this.fromB,e.fromB),Math.max(this.toB,e.toB))}addToSet(e){let n=e.length,r=this;for(;n>0;n--){let i=e[n-1];if(!(i.fromA>r.toA)){if(i.toAd)break;l+=2}if(!s)return r;new co(s.fromA,s.toA,s.fromB,s.toB).addToSet(r),a=s.toA,o=s.toB}}};u(co,"ChangedRange");let qn=co;const pp=class pp{constructor(e,n,r){this.view=e,this.state=n,this.transactions=r,this.flags=0,this.startState=e.state,this.changes=Zt.empty(this.startState.doc.length);for(let l of r)this.changes=this.changes.compose(l.changes);let i=[];this.changes.iterChangedRanges((l,a,o,s)=>i.push(new qn(l,a,o,s))),this.changedRanges=i}static create(e,n,r){return new pp(e,n,r)}get viewportChanged(){return(this.flags&4)>0}get heightChanged(){return(this.flags&2)>0}get geometryChanged(){return this.docChanged||(this.flags&10)>0}get focusChanged(){return(this.flags&1)>0}get docChanged(){return!this.changes.empty}get selectionSet(){return this.transactions.some(e=>e.selection)}get empty(){return this.flags==0&&this.transactions.length==0}};u(pp,"ViewUpdate");let Wd=pp;const l4=class l4 extends Se{get length(){return this.view.state.doc.length}constructor(e){super(),this.view=e,this.decorations=[],this.dynamicDecorationMap=[!1],this.domChanged=null,this.hasComposition=null,this.markedForComposition=new Set,this.editContextFormatting=ne.none,this.lastCompositionAfterCursor=!1,this.minWidth=0,this.minWidthFrom=0,this.minWidthTo=0,this.impreciseAnchor=null,this.impreciseHead=null,this.forceSelection=!1,this.lastUpdate=Date.now(),this.setDOM(e.contentDOM),this.children=[new Ge],this.children[0].setParent(this),this.updateDeco(),this.updateInner([new qn(0,0,0,e.state.doc.length)],0,null)}update(e){var n;let r=e.changedRanges;this.minWidth>0&&r.length&&(r.every(({fromA:c,toA:d})=>dthis.minWidthTo)?(this.minWidthFrom=e.changes.mapPos(this.minWidthFrom,1),this.minWidthTo=e.changes.mapPos(this.minWidthTo,1)):this.minWidth=this.minWidthFrom=this.minWidthTo=0),this.updateEditContextFormatting(e);let i=-1;this.view.inputState.composing>=0&&!this.view.observer.editContext&&(!((n=this.domChanged)===null||n===void 0)&&n.newSel?i=this.domChanged.newSel.head:!yI(e.changes,this.hasComposition)&&!e.selectionSet&&(i=e.state.selection.main.head));let l=i>-1?pI(this.view,e.changes,i):null;if(this.domChanged=null,this.hasComposition){this.markedForComposition.clear();let{from:c,to:d}=this.hasComposition;r=new qn(c,d,e.changes.mapPos(c,-1),e.changes.mapPos(d,1)).addToSet(r.slice())}this.hasComposition=l?{from:l.range.fromB,to:l.range.toB}:null,(U.ie||U.chrome)&&!l&&e&&e.state.doc.lines!=e.startState.doc.lines&&(this.forceSelection=!0);let a=this.decorations,o=this.updateDeco(),s=OI(a,o,e.changes);return r=qn.extendWithRanges(r,s),!(this.flags&7)&&r.length==0?!1:(this.updateInner(r,e.startState.doc.length,l),e.transactions.length&&(this.lastUpdate=Date.now()),!0)}updateInner(e,n,r){this.view.viewState.mustMeasureContent=!0,this.updateChildren(e,n,r);let{observer:i}=this.view;i.ignore(()=>{this.dom.style.height=this.view.viewState.contentHeight/this.view.scaleY+"px",this.dom.style.flexBasis=this.minWidth?this.minWidth+"px":"";let a=U.chrome||U.ios?{node:i.selectionRange.focusNode,written:!1}:void 0;this.sync(this.view,a),this.flags&=-8,a&&(a.written||i.selectionRange.focusNode!=a.node)&&(this.forceSelection=!0),this.dom.style.height=""}),this.markedForComposition.forEach(a=>a.flags&=-9);let l=[];if(this.view.viewport.from||this.view.viewport.to=0?i[a]:null;if(!o)break;let{fromA:s,toA:c,fromB:d,toB:f}=o,h,p,m,g;if(r&&r.range.fromBd){let C=xs.build(this.view.state.doc,d,r.range.fromB,this.decorations,this.dynamicDecorationMap),w=xs.build(this.view.state.doc,r.range.toB,f,this.decorations,this.dynamicDecorationMap);p=C.breakAtStart,m=C.openStart,g=w.openEnd;let x=this.compositionView(r);w.breakAtStart?x.breakAfter=1:w.content.length&&x.merge(x.length,x.length,w.content[0],!1,w.openStart,0)&&(x.breakAfter=w.content[0].breakAfter,w.content.shift()),C.content.length&&x.merge(0,0,C.content[C.content.length-1],!0,0,C.openEnd)&&C.content.pop(),h=C.content.concat(x).concat(w.content)}else({content:h,breakAtStart:p,openStart:m,openEnd:g}=xs.build(this.view.state.doc,d,f,this.decorations,this.dynamicDecorationMap));let{i:O,off:b}=l.findPos(c,1),{i:y,off:$}=l.findPos(s,-1);EP(this,y,$,O,b,h,p,m,g)}r&&this.fixCompositionDOM(r)}updateEditContextFormatting(e){this.editContextFormatting=this.editContextFormatting.map(e.changes);for(let n of e.transactions)for(let r of n.effects)r.is(tE)&&(this.editContextFormatting=r.value)}compositionView(e){let n=new Ln(e.text.nodeValue);n.flags|=8;for(let{deco:i}of e.marks)n=new li(i,[n],n.length);let r=new Ge;return r.append(n,0),r}fixCompositionDOM(e){let n=u((l,a)=>{a.flags|=8|(a.children.some(s=>s.flags&7)?1:0),this.markedForComposition.add(a);let o=Se.get(l);o&&o!=a&&(o.dom=null),a.setDOM(l)},"fix"),r=this.childPos(e.range.fromB,1),i=this.children[r.i];n(e.line,i);for(let l=e.marks.length-1;l>=-1;l--)r=i.childPos(r.off,1),i=i.children[r.i],n(l>=0?e.marks[l].node:e.text,i)}updateSelection(e=!1,n=!1){(e||!this.view.observer.selectionRange.focusNode)&&this.view.observer.readSelectionRange();let r=this.view.root.activeElement,i=r==this.dom,l=!i&&Bd(this.dom,this.view.observer.selectionRange)&&!(r&&this.dom.contains(r));if(!(i||n||l))return;let a=this.forceSelection;this.forceSelection=!1;let o=this.view.state.selection.main,s=this.moveToLine(this.domAtPos(o.anchor)),c=o.empty?s:this.moveToLine(this.domAtPos(o.head));if(U.gecko&&o.empty&&!this.hasComposition&&hI(s)){let f=document.createTextNode("");this.view.observer.ignore(()=>s.node.insertBefore(f,s.node.childNodes[s.offset]||null)),s=c=new bt(f,0),a=!0}let d=this.view.observer.selectionRange;(a||!d.focusNode||(!Os(s.node,s.offset,d.anchorNode,d.anchorOffset)||!Os(c.node,c.offset,d.focusNode,d.focusOffset))&&!this.suppressWidgetCursorChange(d,o))&&(this.view.observer.ignore(()=>{U.android&&U.chrome&&this.dom.contains(d.focusNode)&&bI(d.focusNode,this.dom)&&(this.dom.blur(),this.dom.focus({preventScroll:!0}));let f=gs(this.view.root);if(f)if(o.empty){if(U.gecko){let h=mI(s.node,s.offset);if(h&&h!=3){let p=(h==1?DP:kP)(s.node,s.offset);p&&(s=new bt(p.node,p.offset))}}f.collapse(s.node,s.offset),o.bidiLevel!=null&&f.caretBidiLevel!==void 0&&(f.caretBidiLevel=o.bidiLevel)}else if(f.extend){f.collapse(s.node,s.offset);try{f.extend(c.node,c.offset)}catch{}}else{let h=document.createRange();o.anchor>o.head&&([s,c]=[c,s]),h.setEnd(c.node,c.offset),h.setStart(s.node,s.offset),f.removeAllRanges(),f.addRange(h)}l&&this.view.root.activeElement==this.dom&&(this.dom.blur(),r&&r.focus())}),this.view.observer.setSelectionRange(s,c)),this.impreciseAnchor=s.precise?null:new bt(d.anchorNode,d.anchorOffset),this.impreciseHead=c.precise?null:new bt(d.focusNode,d.focusOffset)}suppressWidgetCursorChange(e,n){return this.hasComposition&&n.empty&&Os(e.focusNode,e.focusOffset,e.anchorNode,e.anchorOffset)&&this.posFromDOM(e.focusNode,e.focusOffset)==n.head}enforceCursorAssoc(){if(this.hasComposition)return;let{view:e}=this,n=e.state.selection.main,r=gs(e.root),{anchorNode:i,anchorOffset:l}=e.observer.selectionRange;if(!r||!n.empty||!n.assoc||!r.modify)return;let a=Ge.find(this,n.head);if(!a)return;let o=a.posAtStart;if(n.head==o||n.head==o+a.length)return;let s=this.coordsAt(n.head,-1),c=this.coordsAt(n.head,1);if(!s||!c||s.bottom>c.top)return;let d=this.domAtPos(n.head+n.assoc);r.collapse(d.node,d.offset),r.modify("move",n.assoc<0?"forward":"backward","lineboundary"),e.observer.readSelectionRange();let f=e.observer.selectionRange;e.docView.posFromDOM(f.anchorNode,f.anchorOffset)!=n.from&&r.collapse(i,l)}moveToLine(e){let n=this.dom,r;if(e.node!=n)return e;for(let i=e.offset;!r&&i=0;i--){let l=Se.get(n.childNodes[i]);l instanceof Ge&&(r=l.domAtPos(l.length))}return r?new bt(r.node,r.offset,!0):e}nearest(e){for(let n=e;n;){let r=Se.get(n);if(r&&r.rootView==this)return r;n=n.parentNode}return null}posFromDOM(e,n){let r=this.nearest(e);if(!r)throw new RangeError("Trying to find position for a DOM position outside of the document");return r.localPosFromDOM(e,n)+r.posAtStart}domAtPos(e){let{i:n,off:r}=this.childCursor().findPos(e,-1);for(;n=0;a--){let o=this.children[a],s=l-o.breakAfter,c=s-o.length;if(se||o.covers(1))&&(!r||o instanceof Ge&&!(r instanceof Ge&&n>=0)))r=o,i=c;else if(r&&c==e&&s==e&&o instanceof rl&&Math.abs(n)<2){if(o.deco.startSide<0)break;a&&(r=null)}l=c}return r?r.coordsAt(e-i,n):null}coordsForChar(e){let{i:n,off:r}=this.childPos(e,1),i=this.children[n];if(!(i instanceof Ge))return null;for(;i.children.length;){let{i:o,off:s}=i.childPos(r,1);for(;;o++){if(o==i.children.length)return null;if((i=i.children[o]).length)break}r=s}if(!(i instanceof Ln))return null;let l=gt(i.text,r);if(l==r)return null;let a=nl(i.dom,r,l).getClientRects();for(let o=0;oMath.max(this.view.scrollDOM.clientWidth,this.minWidth)+1,o=-1,s=this.view.textDirection==Pe.LTR;for(let c=0,d=0;di)break;if(c>=r){let p=f.dom.getBoundingClientRect();if(n.push(p.height),a){let m=f.dom.lastChild,g=m?wa(m):[];if(g.length){let O=g[g.length-1],b=s?O.right-p.left:p.right-O.left;b>o&&(o=b,this.minWidth=l,this.minWidthFrom=c,this.minWidthTo=h)}}}c=h+f.breakAfter}return n}textDirectionAt(e){let{i:n}=this.childPos(e,1);return getComputedStyle(this.children[n].dom).direction=="rtl"?Pe.RTL:Pe.LTR}measureTextSize(){for(let l of this.children)if(l instanceof Ge){let a=l.measureTextSize();if(a)return a}let e=document.createElement("div"),n,r,i;return e.className="cm-line",e.style.width="99999px",e.style.position="absolute",e.textContent="abc def ghi jkl mno pqr stu",this.view.observer.ignore(()=>{this.dom.appendChild(e);let l=wa(e.firstChild)[0];n=e.getBoundingClientRect().height,r=l?l.width/27:7,i=l?l.height:n,e.remove()}),{lineHeight:n,charWidth:r,textHeight:i}}childCursor(e=this.length){let n=this.children.length;return n&&(e-=this.children[--n].length),new Nd(this.children,e,n)}computeBlockGapDeco(){let e=[],n=this.view.viewState;for(let r=0,i=0;;i++){let l=i==n.viewports.length?null:n.viewports[i],a=l?l.from-1:this.length;if(a>r){let o=(n.lineBlockAt(a).bottom-n.lineBlockAt(r).top)/this.view.scaleY;e.push(ne.replace({widget:new ws(o),block:!0,inclusive:!0,isBlockGap:!0}).range(r,a))}if(!l)break;r=l.to+1}return ne.set(e)}updateDeco(){let e=1,n=this.view.state.facet(ks).map(l=>(this.dynamicDecorationMap[e++]=typeof l=="function")?l(this.view):l),r=!1,i=this.view.state.facet(rE).map((l,a)=>{let o=typeof l=="function";return o&&(r=!0),o?l(this.view):l});for(i.length&&(this.dynamicDecorationMap[e++]=r,n.push(xe.join(i))),this.decorations=[this.editContextFormatting,...n,this.computeBlockGapDeco(),this.view.viewState.lineGapDeco];en.anchor?-1:1),i;if(!r)return;!n.empty&&(i=this.coordsAt(n.anchor,n.anchor>n.head?-1:1))&&(r={left:Math.min(r.left,i.left),top:Math.min(r.top,i.top),right:Math.max(r.right,i.right),bottom:Math.max(r.bottom,i.bottom)});let l=oE(this.view),a={left:r.left-l.left,top:r.top-l.top,right:r.right+l.right,bottom:r.bottom+l.bottom},{offsetWidth:o,offsetHeight:s}=this.view.scrollDOM;YF(this.view.scrollDOM,a,n.head{re.from&&(n=!0)}),n}u(yI,"touchesComposition");function vI(t,e,n=1){let r=t.charCategorizer(e),i=t.doc.lineAt(e),l=e-i.from;if(i.length==0)return z.cursor(e);l==0?n=1:l==i.length&&(n=-1);let a=l,o=l;n<0?a=gt(i.text,l,!1):o=gt(i.text,l);let s=r(i.text.slice(a,o));for(;a>0;){let c=gt(i.text,a,!1);if(r(i.text.slice(c,a))!=s)break;a=c}for(;ot?e.left-t:Math.max(0,t-e.right)}u($I,"getdx");function wI(t,e){return e.top>t?e.top-t:Math.max(0,t-e.bottom)}u(wI,"getdy");function P0(t,e){return t.tope.top+1}u(P0,"yOverlap");function uE(t,e){return et.bottom?{top:t.top,left:t.left,right:t.right,bottom:e}:t}u(cE,"upBot");function E0(t,e,n){let r,i,l,a,o=!1,s,c,d,f;for(let m=t.firstChild;m;m=m.nextSibling){let g=wa(m);for(let O=0;O$||a==$&&l>y){r=m,i=b,l=y,a=$;let C=$?n0?O0)}y==0?n>b.bottom&&(!d||d.bottomb.top)&&(c=m,f=b):d&&P0(d,b)?d=cE(d,b.bottom):f&&P0(f,b)&&(f=uE(f,b.top))}}if(d&&d.bottom>=n?(r=s,i=d):f&&f.top<=n&&(r=c,i=f),!r)return{node:t,offset:0};let h=Math.max(i.left,Math.min(i.right,e));if(r.nodeType==3)return dE(r,h,n);if(o&&r.contentEditable!="false")return E0(r,h,n);let p=Array.prototype.indexOf.call(t.childNodes,r)+(e>=(i.left+i.right)/2?1:0);return{node:t,offset:p}}u(E0,"domPosAtCoords");function dE(t,e,n){let r=t.nodeValue.length,i=-1,l=1e9,a=0;for(let o=0;on?d.top-n:n-d.bottom)-1;if(d.left-1<=e&&d.right+1>=e&&f=(d.left+d.right)/2,p=h;if((U.chrome||U.gecko)&&nl(t,o).getBoundingClientRect().left==d.right&&(p=!h),f<=0)return{node:t,offset:o+(p?1:0)};i=o+(p?1:0),l=f}}}return{node:t,offset:i>-1?i:a>0?t.nodeValue.length:0}}u(dE,"domPosInText");function fE(t,e,n,r=-1){var i,l;let a=t.contentDOM.getBoundingClientRect(),o=a.top+t.viewState.paddingTop,s,{docHeight:c}=t.viewState,{x:d,y:f}=e,h=f-o;if(h<0)return 0;if(h>c)return t.state.doc.length;for(let C=t.viewState.heightOracle.textHeight/2,w=!1;s=t.elementAtHeight(h),s.type!=yt.Text;)for(;h=r>0?s.bottom+C:s.top-C,!(h>=0&&h<=c);){if(w)return n?null:0;w=!0,r=-r}f=o+h;let p=s.from;if(pt.viewport.to)return t.viewport.to==t.state.doc.length?t.state.doc.length:n?null:hE(t,a,s,d,f);let m=t.dom.ownerDocument,g=t.root.elementFromPoint?t.root:m,O=g.elementFromPoint(d,f);O&&!t.contentDOM.contains(O)&&(O=null),O||(d=Math.max(a.left+1,Math.min(a.right-1,d)),O=g.elementFromPoint(d,f),O&&!t.contentDOM.contains(O)&&(O=null));let b,y=-1;if(O&&((i=t.docView.nearest(O))===null||i===void 0?void 0:i.isEditable)!=!1){if(m.caretPositionFromPoint){let C=m.caretPositionFromPoint(d,f);C&&({offsetNode:b,offset:y}=C)}else if(m.caretRangeFromPoint){let C=m.caretRangeFromPoint(d,f);C&&({startContainer:b,startOffset:y}=C,(!t.contentDOM.contains(b)||U.safari&&xI(b,y,d)||U.chrome&&SI(b,y,d))&&(b=void 0))}b&&(y=Math.min(zn(b),y))}if(!b||!t.docView.dom.contains(b)){let C=Ge.find(t.docView,p);if(!C)return h>s.top+s.height/2?s.to:s.from;({node:b,offset:y}=E0(C.dom,d,f))}let $=t.docView.nearest(b);if(!$)return null;if($.isWidget&&((l=$.dom)===null||l===void 0?void 0:l.nodeType)==1){let C=$.dom.getBoundingClientRect();return e.yt.defaultLineHeight*1.5){let o=t.viewState.heightOracle.textHeight,s=Math.floor((i-n.top-(t.defaultLineHeight-o)*.5)/o);l+=s*t.viewState.heightOracle.lineLength}let a=t.state.sliceDoc(n.from,n.to);return n.from+i0(a,l,t.state.tabSize)}u(hE,"posAtCoordsImprecise");function xI(t,e,n){let r;if(t.nodeType!=3||e!=(r=t.nodeValue.length))return!1;for(let i=t.nextSibling;i;i=i.nextSibling)if(i.nodeType!=1||i.nodeName!="BR")return!1;return nl(t,r-1,r).getBoundingClientRect().left>n}u(xI,"isSuspiciousSafariCaretResult");function SI(t,e,n){if(e!=0)return!1;for(let i=t;;){let l=i.parentNode;if(!l||l.nodeType!=1||l.firstChild!=i)return!1;if(l.classList.contains("cm-line"))break;i=l}let r=t.nodeType==1?t.getBoundingClientRect():nl(t,0,Math.max(t.nodeValue.length,1)).getBoundingClientRect();return n-r.left>5}u(SI,"isSuspiciousChromeCaretResult");function A0(t,e){let n=t.lineBlockAt(e);if(Array.isArray(n.type)){for(let r of n.type)if(r.to>e||r.to==e&&(r.to==n.to||r.type==yt.Text))return r}return n}u(A0,"blockAt");function CI(t,e,n,r){let i=A0(t,e.head),l=!r||i.type!=yt.Text||!(t.lineWrapping||i.widgetLineBreaks)?null:t.coordsAtPos(e.assoc<0&&e.head>i.from?e.head-1:e.head);if(l){let a=t.dom.getBoundingClientRect(),o=t.textDirectionAt(i.from),s=t.posAtCoords({x:n==(o==Pe.LTR)?a.right-1:a.left+1,y:(l.top+l.bottom)/2});if(s!=null)return z.cursor(s,n?-1:1)}return z.cursor(n?i.to:i.from,n?-1:1)}u(CI,"moveToLineBoundary");function pE(t,e,n,r){let i=t.state.doc.lineAt(e.head),l=t.bidiSpans(i),a=t.textDirectionAt(i.from);for(let o=e,s=null;;){let c=cI(i,l,a,o,n),d=jP;if(!c){if(i.number==(n?t.state.doc.lines:1))return o;d=` +`,i=t.state.doc.line(i.number+(n?1:-1)),l=t.bidiSpans(i),c=t.visualLineSide(i,!n)}if(s){if(!s(d))return o}else{if(!r)return c;s=r(d)}o=c}}u(pE,"moveByChar");function DI(t,e,n){let r=t.state.charCategorizer(e),i=r(n);return l=>{let a=r(l);return i==ot.Space&&(i=a),i==a}}u(DI,"byGroup");function kI(t,e,n,r){let i=e.head,l=n?1:-1;if(i==(n?t.state.doc.length:0))return z.cursor(i,e.assoc);let a=e.goalColumn,o,s=t.contentDOM.getBoundingClientRect(),c=t.coordsAtPos(i,e.assoc||-1),d=t.documentTop;if(c)a==null&&(a=c.left-s.left),o=l<0?c.top:c.bottom;else{let p=t.viewState.lineBlockAt(i);a==null&&(a=Math.min(s.right-s.left,t.defaultCharacterWidth*(i-p.from))),o=(l<0?p.top:p.bottom)+d}let f=s.left+a,h=r??t.viewState.heightOracle.textHeight>>1;for(let p=0;;p+=10){let m=o+(h+p)*l,g=fE(t,{x:f,y:m},!1,l);if(ms.bottom||(l<0?gi)){let O=t.docView.coordsForChar(g),b=!O||m{if(e>l&&ei(t)),n.from,e.head>n.from?-1:1);return r==n.from?n:z.cursor(r,rl)&&this.lineBreak(),i=a}return this.findPointBefore(r,n),this}readTextNode(e){let n=e.nodeValue;for(let r of this.points)r.node==e&&(r.pos=this.text.length+Math.min(r.offset,n.length));for(let r=0,i=this.lineSeparator?null:/\r\n?|\n/g;;){let l=-1,a=1,o;if(this.lineSeparator?(l=n.indexOf(this.lineSeparator,r),a=this.lineSeparator.length):(o=i.exec(n))&&(l=o.index,a=o[0].length),this.append(n.slice(r,l<0?n.length:l)),l<0)break;if(this.lineBreak(),a>1)for(let s of this.points)s.node==e&&s.pos>this.text.length&&(s.pos-=a-1);r=l+a}}readNode(e){if(e.cmIgnore)return;let n=Se.get(e),r=n&&n.overrideDOMText;if(r!=null){this.findPointInside(e,r.length);for(let i=r.iter();!i.next().done;)i.lineBreak?this.lineBreak():this.append(i.value)}else e.nodeType==3?this.readTextNode(e):e.nodeName=="BR"?e.nextSibling&&this.lineBreak():e.nodeType==1&&this.readRange(e.firstChild,null)}findPointBefore(e,n){for(let r of this.points)r.node==e&&e.childNodes[r.offset]==n&&(r.pos=this.text.length)}findPointInside(e,n){for(let r of this.points)(e.nodeType==3?r.node==e:e.contains(r.node))&&(r.pos=this.text.length+(PI(e,r.node,r.offset)?n:0))}};u(a4,"DOMReader");let R0=a4;function PI(t,e,n){for(;;){if(!e||n-1;let{impreciseHead:l,impreciseAnchor:a}=e.docView;if(e.state.readOnly&&n>-1)this.newSel=null;else if(n>-1&&(this.bounds=e.docView.domBoundsAround(n,r,0))){let o=l||a?[]:TI(e),s=new R0(o,e.state);s.readRange(this.bounds.startDOM,this.bounds.endDOM),this.text=s.text,this.newSel=RI(o,this.bounds.from)}else{let o=e.observer.selectionRange,s=l&&l.node==o.focusNode&&l.offset==o.focusOffset||!u0(e.contentDOM,o.focusNode)?e.state.selection.main.head:e.docView.posFromDOM(o.focusNode,o.focusOffset),c=a&&a.node==o.anchorNode&&a.offset==o.anchorOffset||!u0(e.contentDOM,o.anchorNode)?e.state.selection.main.anchor:e.docView.posFromDOM(o.anchorNode,o.anchorOffset),d=e.viewport;if((U.ios||U.chrome)&&e.state.selection.main.empty&&s!=c&&(d.from>0||d.toDate.now()-100?t.inputState.lastKeyCode:-1;if(e.bounds){let{from:a,to:o}=e.bounds,s=i.from,c=null;(l===8||U.android&&e.text.length=i.from&&n.to<=i.to&&(n.from!=i.from||n.to!=i.to)&&i.to-i.from-(n.to-n.from)<=4?n={from:i.from,to:i.to,insert:t.state.doc.slice(i.from,n.from).append(n.insert).append(t.state.doc.slice(n.to,i.to))}:(U.mac||U.android)&&n&&n.from==n.to&&n.from==i.head-1&&/^\. ?$/.test(n.insert.toString())&&t.contentDOM.getAttribute("autocorrect")=="off"?(r&&n.insert.length==2&&(r=z.single(r.main.anchor-1,r.main.head-1)),n={from:i.from,to:i.to,insert:de.of([" "])}):U.chrome&&n&&n.from==n.to&&n.from==i.head&&n.insert.toString()==` + `&&t.lineWrapping&&(r&&(r=z.single(r.main.anchor-1,r.main.head-1)),n={from:i.from,to:i.to,insert:de.of([" "])}),n)return M0(t,n,r,l);if(r&&!r.main.eq(i)){let a=!1,o="select";return t.inputState.lastSelectionTime>Date.now()-50&&(t.inputState.lastSelectionOrigin=="select"&&(a=!0),o=t.inputState.lastSelectionOrigin),t.dispatch({selection:r,scrollIntoView:a,userEvent:o}),!0}else return!1}u(mE,"applyDOMChange");function M0(t,e,n,r=-1){if(U.ios&&t.inputState.flushIOSKey(e))return!0;let i=t.state.selection.main;if(U.android&&(e.to==i.to&&(e.from==i.from||e.from==i.from-1&&t.state.sliceDoc(e.from,i.from)==" ")&&e.insert.length==1&&e.insert.lines==2&&Sa(t.contentDOM,"Enter",13)||(e.from==i.from-1&&e.to==i.to&&e.insert.length==0||r==8&&e.insert.lengthi.head)&&Sa(t.contentDOM,"Backspace",8)||e.from==i.from&&e.to==i.to+1&&e.insert.length==0&&Sa(t.contentDOM,"Delete",46)))return!0;let l=e.insert.toString();t.inputState.composing>=0&&t.inputState.composing++;let a,o=u(()=>a||(a=EI(t,e,n)),"defaultInsert");return t.state.facet(GP).some(s=>s(t,e.from,e.to,l,o))||t.dispatch(o()),!0}u(M0,"applyDOMChangeInner");function EI(t,e,n){let r,i=t.state,l=i.selection.main;if(e.from>=l.from&&e.to<=l.to&&e.to-e.from>=(l.to-l.from)/3&&(!n||n.main.empty&&n.main.from==e.from+e.insert.length)&&t.inputState.composing<0){let o=l.frome.to?i.sliceDoc(e.to,l.to):"";r=i.replaceSelection(t.state.toText(o+e.insert.sliceString(0,void 0,t.state.lineBreak)+s))}else{let o=i.changes(e),s=n&&n.main.to<=o.newLength?n.main:void 0;if(i.selection.ranges.length>1&&t.inputState.composing>=0&&e.to<=l.to&&e.to>=l.to-10){let c=t.state.sliceDoc(e.from,e.to),d,f=n&&sE(t,n.main.head);if(f){let m=e.insert.length-(e.to-e.from);d={from:f.from,to:f.to-m}}else d=t.state.doc.lineAt(l.head);let h=l.to-e.to,p=l.to-l.from;r=i.changeByRange(m=>{if(m.from==l.from&&m.to==l.to)return{changes:o,range:s||m.map(o)};let g=m.to-h,O=g-c.length;if(m.to-m.from!=p||t.state.sliceDoc(O,g)!=c||m.to>=d.from&&m.from<=d.to)return{range:m};let b=i.changes({from:O,to:g,insert:e.insert}),y=m.to-l.to;return{changes:b,range:s?z.range(Math.max(0,s.anchor+y),Math.max(0,s.head+y)):m.map(b)}})}else r={changes:o,selection:s&&i.selection.replaceRange(s)}}let a="input.type";return(t.composing||t.inputState.compositionPendingChange&&t.inputState.compositionEndedAt>Date.now()-50)&&(t.inputState.compositionPendingChange=!1,a+=".compose",t.inputState.compositionFirstChange&&(a+=".start",t.inputState.compositionFirstChange=!1)),i.update(r,{userEvent:a,scrollIntoView:!0})}u(EI,"applyDefaultInsert");function AI(t,e,n,r){let i=Math.min(t.length,e.length),l=0;for(;l0&&o>0&&t.charCodeAt(a-1)==e.charCodeAt(o-1);)a--,o--;if(r=="end"){let s=Math.max(0,l-Math.min(a,o));n-=a+s-l}if(a=a?l-n:0;l-=s,o=l+(o-a),a=l}else if(o=o?l-n:0;l-=s,a=l+(a-o),o=l}return{from:l,toA:a,toB:o}}u(AI,"findDiff$1");function TI(t){let e=[];if(t.root.activeElement!=t.contentDOM)return e;let{anchorNode:n,anchorOffset:r,focusNode:i,focusOffset:l}=t.observer.selectionRange;return n&&(e.push(new qd(n,r)),(i!=n||l!=r)&&e.push(new qd(i,l))),e}u(TI,"selectionPoints");function RI(t,e){if(t.length==0)return null;let n=t[0].pos,r=t.length==2?t[1].pos:n;return n>-1&&r>-1?z.single(n+e,r+e):null}u(RI,"selectionFromPoints");let QI=(Gu=class{setSelectionOrigin(e){this.lastSelectionOrigin=e,this.lastSelectionTime=Date.now()}constructor(e){this.view=e,this.lastKeyCode=0,this.lastKeyTime=0,this.lastTouchTime=0,this.lastFocusTime=0,this.lastScrollTop=0,this.lastScrollLeft=0,this.pendingIOSKey=void 0,this.tabFocusMode=-1,this.lastSelectionOrigin=null,this.lastSelectionTime=0,this.lastContextMenu=0,this.scrollHandlers=[],this.handlers=Object.create(null),this.composing=-1,this.compositionFirstChange=null,this.compositionEndedAt=0,this.compositionPendingKey=!1,this.compositionPendingChange=!1,this.mouseSelection=null,this.draggedContent=null,this.handleEvent=this.handleEvent.bind(this),this.notifiedFocused=e.hasFocus,U.safari&&e.contentDOM.addEventListener("input",()=>null),U.gecko&&YI(e.contentDOM.ownerDocument)}handleEvent(e){!ZI(this.view,e)||this.ignoreDuringComposition(e)||e.type=="keydown"&&this.keydown(e)||this.runHandlers(e.type,e)}runHandlers(e,n){let r=this.handlers[e];if(r){for(let i of r.observers)i(this.view,n);for(let i of r.handlers){if(n.defaultPrevented)break;if(i(this.view,n)){n.preventDefault();break}}}}ensureHandlers(e){let n=MI(e),r=this.handlers,i=this.view.contentDOM;for(let l in n)if(l!="scroll"){let a=!n[l].handlers.length,o=r[l];o&&a!=!o.handlers.length&&(i.removeEventListener(l,this.handleEvent),o=null),o||i.addEventListener(l,this.handleEvent,{passive:a})}for(let l in r)l!="scroll"&&!n[l]&&i.removeEventListener(l,this.handleEvent);this.handlers=n}keydown(e){if(this.lastKeyCode=e.keyCode,this.lastKeyTime=Date.now(),e.keyCode==9&&this.tabFocusMode>-1&&(!this.tabFocusMode||Date.now()<=this.tabFocusMode))return!0;if(this.tabFocusMode>0&&e.keyCode!=27&&bE.indexOf(e.keyCode)<0&&(this.tabFocusMode=-1),U.android&&U.chrome&&!e.synthetic&&(e.keyCode==13||e.keyCode==8))return this.view.observer.delayAndroidKey(e.key,e.keyCode),!0;let n;return U.ios&&!e.synthetic&&!e.altKey&&!e.metaKey&&((n=OE.find(r=>r.keyCode==e.keyCode))&&!e.ctrlKey||BI.indexOf(e.key)>-1&&e.ctrlKey&&!e.shiftKey)?(this.pendingIOSKey=n||e,setTimeout(()=>this.flushIOSKey(),250),!0):(e.keyCode!=229&&this.view.observer.forceFlush(),!1)}flushIOSKey(e){let n=this.pendingIOSKey;return!n||n.key=="Enter"&&e&&e.from0?!0:U.safari&&!U.ios&&this.compositionPendingKey&&Date.now()-this.compositionEndedAt<100?(this.compositionPendingKey=!1,!0):!1:!1}startMouseSelection(e){this.mouseSelection&&this.mouseSelection.destroy(),this.mouseSelection=e}update(e){this.view.observer.update(e),this.mouseSelection&&this.mouseSelection.update(e),this.draggedContent&&e.docChanged&&(this.draggedContent=this.draggedContent.map(e.changes)),e.transactions.length&&(this.lastKeyCode=this.lastSelectionTime=0)}destroy(){this.mouseSelection&&this.mouseSelection.destroy()}},u(Gu,"InputState"),Gu);function gE(t,e){return(n,r)=>{try{return e.call(t,r,n)}catch(i){Lt(n.state,i)}}}u(gE,"bindHandler");function MI(t){let e=Object.create(null);function n(r){return e[r]||(e[r]={observers:[],handlers:[]})}u(n,"record");for(let r of t){let i=r.spec;if(i&&i.domEventHandlers)for(let l in i.domEventHandlers){let a=i.domEventHandlers[l];a&&n(l).handlers.push(gE(r.value,a))}if(i&&i.domEventObservers)for(let l in i.domEventObservers){let a=i.domEventObservers[l];a&&n(l).observers.push(gE(r.value,a))}}for(let r in wn)n(r).handlers.push(wn[r]);for(let r in cn)n(r).observers.push(cn[r]);return e}u(MI,"computeHandlers");const OE=[{key:"Backspace",keyCode:8,inputType:"deleteContentBackward"},{key:"Enter",keyCode:13,inputType:"insertParagraph"},{key:"Enter",keyCode:13,inputType:"insertLineBreak"},{key:"Delete",keyCode:46,inputType:"deleteContentForward"}],BI="dthko",bE=[16,17,18,20,91,92,224,225],Ud=6;function Yd(t){return Math.max(0,t)*.7+8}u(Yd,"dragScrollSpeed");function VI(t,e){return Math.max(Math.abs(t.clientX-e.clientX),Math.abs(t.clientY-e.clientY))}u(VI,"dist");const u4=class u4{constructor(e,n,r,i){this.view=e,this.startEvent=n,this.style=r,this.mustSelect=i,this.scrollSpeed={x:0,y:0},this.scrolling=-1,this.lastEvent=n,this.scrollParents=KF(e.contentDOM),this.atoms=e.state.facet(k0).map(a=>a(e));let l=e.contentDOM.ownerDocument;l.addEventListener("mousemove",this.move=this.move.bind(this)),l.addEventListener("mouseup",this.up=this.up.bind(this)),this.extend=n.shiftKey,this.multiple=e.state.facet(Be.allowMultipleSelections)&&NI(e,n),this.dragging=II(e,n)&&kE(n)==1?null:!1}start(e){this.dragging===!1&&this.select(e)}move(e){if(e.buttons==0)return this.destroy();if(this.dragging||this.dragging==null&&VI(this.startEvent,e)<10)return;this.select(this.lastEvent=e);let n=0,r=0,i=0,l=0,a=this.view.win.innerWidth,o=this.view.win.innerHeight;this.scrollParents.x&&({left:i,right:a}=this.scrollParents.x.getBoundingClientRect()),this.scrollParents.y&&({top:l,bottom:o}=this.scrollParents.y.getBoundingClientRect());let s=oE(this.view);e.clientX-s.left<=i+Ud?n=-Yd(i-e.clientX):e.clientX+s.right>=a-Ud&&(n=Yd(e.clientX-a)),e.clientY-s.top<=l+Ud?r=-Yd(l-e.clientY):e.clientY+s.bottom>=o-Ud&&(r=Yd(e.clientY-o)),this.setScrollSpeed(n,r)}up(e){this.dragging==null&&this.select(this.lastEvent),this.dragging||e.preventDefault(),this.destroy()}destroy(){this.setScrollSpeed(0,0);let e=this.view.contentDOM.ownerDocument;e.removeEventListener("mousemove",this.move),e.removeEventListener("mouseup",this.up),this.view.inputState.mouseSelection=this.view.inputState.draggedContent=null}setScrollSpeed(e,n){this.scrollSpeed={x:e,y:n},e||n?this.scrolling<0&&(this.scrolling=setInterval(()=>this.scroll(),50)):this.scrolling>-1&&(clearInterval(this.scrolling),this.scrolling=-1)}scroll(){let{x:e,y:n}=this.scrollSpeed;e&&this.scrollParents.x&&(this.scrollParents.x.scrollLeft+=e,e=0),n&&this.scrollParents.y&&(this.scrollParents.y.scrollTop+=n,n=0),(e||n)&&this.view.win.scrollBy(e,n),this.dragging===!1&&this.select(this.lastEvent)}skipAtoms(e){let n=null;for(let r=0;rn.isUserEvent("input.type"))?this.destroy():this.style.update(e)&&setTimeout(()=>this.select(this.lastEvent),20)}};u(u4,"MouseSelection");let B0=u4;function NI(t,e){let n=t.state.facet(qP);return n.length?n[0](e):U.mac?e.metaKey:e.ctrlKey}u(NI,"addsSelectionRange");function FI(t,e){let n=t.state.facet(UP);return n.length?n[0](e):U.mac?!e.altKey:!e.ctrlKey}u(FI,"dragMovesSelection");function II(t,e){let{main:n}=t.state.selection;if(n.empty)return!1;let r=gs(t.root);if(!r||r.rangeCount==0)return!0;let i=r.getRangeAt(0).getClientRects();for(let l=0;l=e.clientX&&a.top<=e.clientY&&a.bottom>=e.clientY)return!0}return!1}u(II,"isInPrimarySelection");function ZI(t,e){if(!e.bubbles)return!0;if(e.defaultPrevented)return!1;for(let n=e.target,r;n!=t.contentDOM;n=n.parentNode)if(!n||n.nodeType==11||(r=Se.get(n))&&r.ignoreEvent(e))return!1;return!0}u(ZI,"eventBelongsToEditor");const wn=Object.create(null),cn=Object.create(null),yE=U.ie&&U.ie_version<15||U.ios&&U.webkit_version<604;function zI(t){let e=t.dom.parentNode;if(!e)return;let n=e.appendChild(document.createElement("textarea"));n.style.cssText="position: fixed; left: -10000px; top: 10px",n.focus(),setTimeout(()=>{t.focus(),n.remove(),vE(t,n.value)},50)}u(zI,"capturePaste$1");function Kd(t,e,n){for(let r of t.facet(e))n=r(n,t);return n}u(Kd,"textFilter");function vE(t,e){e=Kd(t.state,S0,e);let{state:n}=t,r,i=1,l=n.toText(e),a=l.lines==n.selection.ranges.length;if(V0!=null&&n.selection.ranges.every(s=>s.empty)&&V0==l.toString()){let s=-1;r=n.changeByRange(c=>{let d=n.doc.lineAt(c.from);if(d.from==s)return{range:c};s=d.from;let f=n.toText((a?l.line(i++).text:e)+n.lineBreak);return{changes:{from:d.from,insert:f},range:z.cursor(c.from+f.length)}})}else a?r=n.changeByRange(s=>{let c=l.line(i++);return{changes:{from:s.from,to:s.to,insert:c.text},range:z.cursor(s.from+c.length)}}):r=n.replaceSelection(l);t.dispatch(r,{userEvent:"input.paste",scrollIntoView:!0})}u(vE,"doPaste$1"),cn.scroll=t=>{t.inputState.lastScrollTop=t.scrollDOM.scrollTop,t.inputState.lastScrollLeft=t.scrollDOM.scrollLeft},wn.keydown=(t,e)=>(t.inputState.setSelectionOrigin("select"),e.keyCode==27&&t.inputState.tabFocusMode!=0&&(t.inputState.tabFocusMode=Date.now()+2e3),!1),cn.touchstart=(t,e)=>{t.inputState.lastTouchTime=Date.now(),t.inputState.setSelectionOrigin("select.pointer")},cn.touchmove=t=>{t.inputState.setSelectionOrigin("select.pointer")},wn.mousedown=(t,e)=>{if(t.observer.flush(),t.inputState.lastTouchTime>Date.now()-2e3)return!1;let n=null;for(let r of t.state.facet(YP))if(n=r(t,e),n)break;if(!n&&e.button==0&&(n=XI(t,e)),n){let r=!t.hasFocus;t.inputState.startMouseSelection(new B0(t,e,n,r)),r&&t.observer.ignore(()=>{wP(t.contentDOM);let l=t.root.activeElement;l&&!l.contains(t.contentDOM)&&l.blur()});let i=t.inputState.mouseSelection;if(i)return i.start(e),i.dragging===!1}return!1};function $E(t,e,n,r){if(r==1)return z.cursor(e,n);if(r==2)return vI(t.state,e,n);{let i=Ge.find(t.docView,e),l=t.state.doc.lineAt(i?i.posAtEnd:e),a=i?i.posAtStart:l.from,o=i?i.posAtEnd:l.to;return oe>=n.top&&e<=n.bottom&&t>=n.left&&t<=n.right,"inside");function LI(t,e,n,r){let i=Ge.find(t.docView,e);if(!i)return 1;let l=e-i.posAtStart;if(l==0)return 1;if(l==i.length)return-1;let a=i.coordsAt(l,-1);if(a&&wE(n,r,a))return-1;let o=i.coordsAt(l,1);return o&&wE(n,r,o)?1:a&&a.bottom>=r?-1:1}u(LI,"findPositionSide");function xE(t,e){let n=t.posAtCoords({x:e.clientX,y:e.clientY},!1);return{pos:n,bias:LI(t,n,e.clientX,e.clientY)}}u(xE,"queryPos");const WI=U.ie&&U.ie_version<=11;let SE=null,CE=0,DE=0;function kE(t){if(!WI)return t.detail;let e=SE,n=DE;return SE=t,DE=Date.now(),CE=!e||n>Date.now()-400&&Math.abs(e.clientX-t.clientX)<2&&Math.abs(e.clientY-t.clientY)<2?(CE+1)%3:1}u(kE,"getClickType");function XI(t,e){let n=xE(t,e),r=kE(e),i=t.state.selection;return{update(l){l.docChanged&&(n.pos=l.changes.mapPos(n.pos),i=i.map(l.changes))},get(l,a,o){let s=xE(t,l),c,d=$E(t,s.pos,s.bias,r);if(n.pos!=s.pos&&!a){let f=$E(t,n.pos,n.bias,r),h=Math.min(f.from,d.from),p=Math.max(f.to,d.to);d=h1&&(c=jI(i,s.pos))?c:o?i.addRange(d):z.create([d])}}}u(XI,"basicMouseSelection");function jI(t,e){for(let n=0;n=e)return z.create(t.ranges.slice(0,n).concat(t.ranges.slice(n+1)),t.mainIndex==n?0:t.mainIndex-(t.mainIndex>n?1:0))}return null}u(jI,"removeRangeAround"),wn.dragstart=(t,e)=>{let{selection:{main:n}}=t.state;if(e.target.draggable){let i=t.docView.nearest(e.target);if(i&&i.isWidget){let l=i.posAtStart,a=l+i.length;(l>=n.to||a<=n.from)&&(n=z.range(l,a))}}let{inputState:r}=t;return r.mouseSelection&&(r.mouseSelection.dragging=!0),r.draggedContent=n,e.dataTransfer&&(e.dataTransfer.setData("Text",Kd(t.state,C0,t.state.sliceDoc(n.from,n.to))),e.dataTransfer.effectAllowed="copyMove"),!1},wn.dragend=t=>(t.inputState.draggedContent=null,!1);function PE(t,e,n,r){if(n=Kd(t.state,S0,n),!n)return;let i=t.posAtCoords({x:e.clientX,y:e.clientY},!1),{draggedContent:l}=t.inputState,a=r&&l&&FI(t,e)?{from:l.from,to:l.to}:null,o={from:i,insert:n},s=t.state.changes(a?[a,o]:o);t.focus(),t.dispatch({changes:s,selection:{anchor:s.mapPos(i,-1),head:s.mapPos(i,1)},userEvent:a?"move.drop":"input.drop"}),t.inputState.draggedContent=null}u(PE,"dropText"),wn.drop=(t,e)=>{if(!e.dataTransfer)return!1;if(t.state.readOnly)return!0;let n=e.dataTransfer.files;if(n&&n.length){let r=Array(n.length),i=0,l=u(()=>{++i==n.length&&PE(t,e,r.filter(a=>a!=null).join(t.state.lineBreak),!1)},"finishFile");for(let a=0;a{/[\x00-\x08\x0e-\x1f]{2}/.test(o.result)||(r[a]=o.result),l()},o.readAsText(n[a])}return!0}else{let r=e.dataTransfer.getData("Text");if(r)return PE(t,e,r,!0),!0}return!1},wn.paste=(t,e)=>{if(t.state.readOnly)return!0;t.observer.flush();let n=yE?null:e.clipboardData;return n?(vE(t,n.getData("text/plain")||n.getData("text/uri-list")),!0):(zI(t),!1)};function qI(t,e){let n=t.dom.parentNode;if(!n)return;let r=n.appendChild(document.createElement("textarea"));r.style.cssText="position: fixed; left: -10000px; top: 10px",r.value=e,r.focus(),r.selectionEnd=e.length,r.selectionStart=0,setTimeout(()=>{r.remove(),t.focus()},50)}u(qI,"captureCopy$1");function UI(t){let e=[],n=[],r=!1;for(let i of t.selection.ranges)i.empty||(e.push(t.sliceDoc(i.from,i.to)),n.push(i));if(!e.length){let i=-1;for(let{from:l}of t.selection.ranges){let a=t.doc.lineAt(l);a.number>i&&(e.push(a.text),n.push({from:a.from,to:Math.min(t.doc.length,a.to+1)})),i=a.number}r=!0}return{text:Kd(t,C0,e.join(t.lineBreak)),ranges:n,linewise:r}}u(UI,"copiedRange");let V0=null;wn.copy=wn.cut=(t,e)=>{let{text:n,ranges:r,linewise:i}=UI(t.state);if(!n&&!i)return!1;V0=i?n:null,e.type=="cut"&&!t.state.readOnly&&t.dispatch({changes:r,scrollIntoView:!0,userEvent:"delete.cut"});let l=yE?null:e.clipboardData;return l?(l.clearData(),l.setData("text/plain",n),!0):(qI(t,n),!1)};const EE=$n.define();function AE(t,e){let n=[];for(let r of t.facet(HP)){let i=r(t,e);i&&n.push(i)}return n?t.update({effects:n,annotations:EE.of(!0)}):null}u(AE,"focusChangeTransaction");function TE(t){setTimeout(()=>{let e=t.hasFocus;if(e!=t.inputState.notifiedFocused){let n=AE(t.state,e);n?t.dispatch(n):t.update([])}},10)}u(TE,"updateForFocusChange"),cn.focus=t=>{t.inputState.lastFocusTime=Date.now(),!t.scrollDOM.scrollTop&&(t.inputState.lastScrollTop||t.inputState.lastScrollLeft)&&(t.scrollDOM.scrollTop=t.inputState.lastScrollTop,t.scrollDOM.scrollLeft=t.inputState.lastScrollLeft),TE(t)},cn.blur=t=>{t.observer.clearSelectionRange(),TE(t)},cn.compositionstart=cn.compositionupdate=t=>{t.observer.editContext||(t.inputState.compositionFirstChange==null&&(t.inputState.compositionFirstChange=!0),t.inputState.composing<0&&(t.inputState.composing=0))},cn.compositionend=t=>{t.observer.editContext||(t.inputState.composing=-1,t.inputState.compositionEndedAt=Date.now(),t.inputState.compositionPendingKey=!0,t.inputState.compositionPendingChange=t.observer.pendingRecords().length>0,t.inputState.compositionFirstChange=null,U.chrome&&U.android?t.observer.flushSoon():t.inputState.compositionPendingChange?Promise.resolve().then(()=>t.observer.flush()):setTimeout(()=>{t.inputState.composing<0&&t.docView.hasComposition&&t.update([])},50))},cn.contextmenu=t=>{t.inputState.lastContextMenu=Date.now()},wn.beforeinput=(t,e)=>{var n,r;if(e.inputType=="insertReplacementText"&&t.observer.editContext){let l=(n=e.dataTransfer)===null||n===void 0?void 0:n.getData("text/plain"),a=e.getTargetRanges();if(l&&a.length){let o=a[0],s=t.posAtDOM(o.startContainer,o.startOffset),c=t.posAtDOM(o.endContainer,o.endOffset);return M0(t,{from:s,to:c,insert:t.state.toText(l)},null),!0}}let i;if(U.chrome&&U.android&&(i=OE.find(l=>l.inputType==e.inputType))&&(t.observer.delayAndroidKey(i.key,i.keyCode),i.key=="Backspace"||i.key=="Delete")){let l=((r=window.visualViewport)===null||r===void 0?void 0:r.height)||0;setTimeout(()=>{var a;(((a=window.visualViewport)===null||a===void 0?void 0:a.height)||0)>l+10&&t.hasFocus&&(t.contentDOM.blur(),t.focus())},100)}return U.ios&&e.inputType=="deleteContentForward"&&t.observer.flushSoon(),U.safari&&e.inputType=="insertText"&&t.inputState.composing>=0&&setTimeout(()=>cn.compositionend(t,e),20),!1};const RE=new Set;function YI(t){RE.has(t)||(RE.add(t),t.addEventListener("copy",()=>{}),t.addEventListener("cut",()=>{}))}u(YI,"firefoxCopyCutHack");const QE=["pre-wrap","normal","pre-line","break-spaces"];let Ca=!1;function ME(){Ca=!1}u(ME,"clearHeightChangeFlag");const c4=class c4{constructor(e){this.lineWrapping=e,this.doc=de.empty,this.heightSamples={},this.lineHeight=14,this.charWidth=7,this.textHeight=14,this.lineLength=30}heightForGap(e,n){let r=this.doc.lineAt(n).number-this.doc.lineAt(e).number+1;return this.lineWrapping&&(r+=Math.max(0,Math.ceil((n-e-r*this.lineLength*.5)/this.lineLength))),this.lineHeight*r}heightForLine(e){return this.lineWrapping?(1+Math.max(0,Math.ceil((e-this.lineLength)/(this.lineLength-5))))*this.lineHeight:this.lineHeight}setDoc(e){return this.doc=e,this}mustRefreshForWrapping(e){return QE.indexOf(e)>-1!=this.lineWrapping}mustRefreshForHeights(e){let n=!1;for(let r=0;r-1,s=Math.round(n)!=Math.round(this.lineHeight)||this.lineWrapping!=o;if(this.lineWrapping=o,this.lineHeight=n,this.charWidth=r,this.textHeight=i,this.lineLength=l,s){this.heightSamples={};for(let c=0;c0}set outdated(e){this.flags=(e?2:0)|this.flags&-3}setHeight(e){this.height!=e&&(Math.abs(this.height-e)>Gd&&(Ca=!0),this.height=e)}replace(e,n,r){return fo.of(r)}decomposeLeft(e,n){n.push(this)}decomposeRight(e,n){n.push(this)}applyChanges(e,n,r,i){let l=this,a=r.doc;for(let o=i.length-1;o>=0;o--){let{fromA:s,toA:c,fromB:d,toB:f}=i[o],h=l.lineAt(s,ke.ByPosNoHeight,r.setDoc(n),0,0),p=h.to>=c?h:l.lineAt(c,ke.ByPosNoHeight,r,0,0);for(f+=p.to-c,c=p.to;o>0&&h.from<=i[o-1].toA;)s=i[o-1].fromA,d=i[o-1].fromB,o--,sl*2){let o=e[n-1];o.break?e.splice(--n,1,o.left,null,o.right):e.splice(--n,1,o.left,o.right),r+=1+o.break,i-=o.size}else if(l>i*2){let o=e[r];o.break?e.splice(r,1,o.left,null,o.right):e.splice(r,1,o.left,o.right),r+=2+o.break,l-=o.size}else break;else if(i=l&&a(this.blockAt(0,r,i,l))}updateHeight(e,n=0,r=!1,i){return i&&i.from<=n&&i.more&&this.setHeight(i.heights[i.index++]),this.outdated=!1,this}toString(){return`block(${this.length})`}};u(f4,"HeightMapBlock");let _d=f4;const Hu=class Hu extends _d{constructor(e,n){super(e,n,null),this.collapsed=0,this.widgetHeight=0,this.breaks=0}blockAt(e,n,r,i){return new Un(i,this.length,r,this.height,this.breaks)}replace(e,n,r){let i=r[0];return r.length==1&&(i instanceof Hu||i instanceof ui&&i.flags&4)&&Math.abs(this.length-i.length)<10?(i instanceof ui?i=new Hu(i.length,this.height):i.height=this.height,this.outdated||(i.outdated=!1),i):Wt.of(r)}updateHeight(e,n=0,r=!1,i){return i&&i.from<=n&&i.more?this.setHeight(i.heights[i.index++]):(r||this.outdated)&&this.setHeight(Math.max(this.widgetHeight,e.heightForLine(this.length-this.collapsed))+this.breaks*e.lineHeight),this.outdated=!1,this}toString(){return`line(${this.length}${this.collapsed?-this.collapsed:""}${this.widgetHeight?":"+this.widgetHeight:""})`}};u(Hu,"HeightMapText");let dn=Hu;const _t=class _t extends Wt{constructor(e){super(e,0)}heightMetrics(e,n){let r=e.doc.lineAt(n).number,i=e.doc.lineAt(n+this.length).number,l=i-r+1,a,o=0;if(e.lineWrapping){let s=Math.min(this.height,e.lineHeight*l);a=s/l,this.length>l+1&&(o=(this.height-s)/(this.length-l-1))}else a=this.height/l;return{firstLine:r,lastLine:i,perLine:a,perChar:o}}blockAt(e,n,r,i){let{firstLine:l,lastLine:a,perLine:o,perChar:s}=this.heightMetrics(n,i);if(n.lineWrapping){let c=i+(e0){let l=r[r.length-1];l instanceof _t?r[r.length-1]=new _t(l.length+i):r.push(null,new _t(i-1))}if(e>0){let l=r[0];l instanceof _t?r[0]=new _t(e+l.length):r.unshift(new _t(e-1),null)}return Wt.of(r)}decomposeLeft(e,n){n.push(new _t(e-1),null)}decomposeRight(e,n){n.push(null,new _t(this.length-e-1))}updateHeight(e,n=0,r=!1,i){let l=n+this.length;if(i&&i.from<=n+this.length&&i.more){let a=[],o=Math.max(n,i.from),s=-1;for(i.from>n&&a.push(new _t(i.from-n-1).updateHeight(e,n));o<=l&&i.more;){let d=e.doc.lineAt(o).length;a.length&&a.push(null);let f=i.heights[i.index++];s==-1?s=f:Math.abs(f-s)>=Gd&&(s=-2);let h=new dn(d,f);h.outdated=!1,a.push(h),o+=d+1}o<=l&&a.push(null,new _t(l-o).updateHeight(e,o));let c=Wt.of(a);return(s<0||Math.abs(c.height-this.height)>=Gd||Math.abs(s-this.heightMetrics(e,n).perLine)>=Gd)&&(Ca=!0),Hd(this,c)}else(r||this.outdated)&&(this.setHeight(e.heightForGap(n,n+this.length)),this.outdated=!1);return this}toString(){return`gap(${this.length})`}};u(_t,"HeightMapGap");let ui=_t;const h4=class h4 extends Wt{constructor(e,n,r){super(e.length+n+r.length,e.height+r.height,n|(e.outdated||r.outdated?2:0)),this.left=e,this.right=r,this.size=e.size+r.size}get break(){return this.flags&1}blockAt(e,n,r,i){let l=r+this.left.height;return eo))return c;let d=n==ke.ByPosNoHeight?ke.ByPosNoHeight:ke.ByPos;return s?c.join(this.right.lineAt(o,d,r,a,o)):this.left.lineAt(o,d,r,i,l).join(c)}forEachLine(e,n,r,i,l,a){let o=i+this.left.height,s=l+this.left.length+this.break;if(this.break)e=s&&this.right.forEachLine(e,n,r,o,s,a);else{let c=this.lineAt(s,ke.ByPos,r,i,l);e=e&&c.from<=n&&a(c),n>c.to&&this.right.forEachLine(c.to+1,n,r,o,s,a)}}replace(e,n,r){let i=this.left.length+this.break;if(nthis.left.length)return this.balanced(this.left,this.right.replace(e-i,n-i,r));let l=[];e>0&&this.decomposeLeft(e,l);let a=l.length;for(let o of r)l.push(o);if(e>0&&BE(l,a-1),n=r&&n.push(null)),e>r&&this.right.decomposeLeft(e-r,n)}decomposeRight(e,n){let r=this.left.length,i=r+this.break;if(e>=i)return this.right.decomposeRight(e-i,n);e2*n.size||n.size>2*e.size?Wt.of(this.break?[e,null,n]:[e,n]):(this.left=Hd(this.left,e),this.right=Hd(this.right,n),this.setHeight(e.height+n.height),this.outdated=e.outdated||n.outdated,this.size=e.size+n.size,this.length=e.length+this.break+n.length,this)}updateHeight(e,n=0,r=!1,i){let{left:l,right:a}=this,o=n+l.length+this.break,s=null;return i&&i.from<=n+l.length&&i.more?s=l=l.updateHeight(e,n,r,i):l.updateHeight(e,n,r),i&&i.from<=o+a.length&&i.more?s=a=a.updateHeight(e,o,r,i):a.updateHeight(e,o,r),s?this.balanced(l,a):(this.height=this.left.height+this.right.height,this.outdated=!1,this)}toString(){return this.left+(this.break?" ":"-")+this.right}};u(h4,"HeightMapBranch");let I0=h4;function BE(t,e){let n,r;t[e]==null&&(n=t[e-1])instanceof ui&&(r=t[e+1])instanceof ui&&t.splice(e-1,3,new ui(n.length+1+r.length))}u(BE,"mergeGaps");const KI=5,gp=class gp{constructor(e,n){this.pos=e,this.oracle=n,this.nodes=[],this.lineStart=-1,this.lineEnd=-1,this.covering=null,this.writtenTo=e}get isCovered(){return this.covering&&this.nodes[this.nodes.length-1]==this.covering}span(e,n){if(this.lineStart>-1){let r=Math.min(n,this.lineEnd),i=this.nodes[this.nodes.length-1];i instanceof dn?i.length+=r-this.pos:(r>this.pos||!this.isCovered)&&this.nodes.push(new dn(r-this.pos,-1)),this.writtenTo=r,n>r&&(this.nodes.push(null),this.writtenTo++,this.lineStart=-1)}this.pos=n}point(e,n,r){if(e=KI)&&this.addLineDeco(i,l,a)}else n>e&&this.span(e,n);this.lineEnd>-1&&this.lineEnd-1)return;let{from:e,to:n}=this.oracle.doc.lineAt(this.pos);this.lineStart=e,this.lineEnd=n,this.writtenToe&&this.nodes.push(new dn(this.pos-e,-1)),this.writtenTo=this.pos}blankContent(e,n){let r=new ui(n-e);return this.oracle.doc.lineAt(e).to==n&&(r.flags|=4),r}ensureLine(){this.enterLine();let e=this.nodes.length?this.nodes[this.nodes.length-1]:null;if(e instanceof dn)return e;let n=new dn(0,-1);return this.nodes.push(n),n}addBlock(e){this.enterLine();let n=e.deco;n&&n.startSide>0&&!this.isCovered&&this.ensureLine(),this.nodes.push(e),this.writtenTo=this.pos=this.pos+e.length,n&&n.endSide>0&&(this.covering=e)}addLineDeco(e,n,r){let i=this.ensureLine();i.length+=r,i.collapsed+=r,i.widgetHeight=Math.max(i.widgetHeight,e),i.breaks+=n,this.writtenTo=this.pos=this.pos+r}finish(e){let n=this.nodes.length==0?null:this.nodes[this.nodes.length-1];this.lineStart>-1&&!(n instanceof dn)&&!this.isCovered?this.nodes.push(new dn(0,-1)):(this.writtenTod.clientHeight||d.scrollWidth>d.clientWidth)&&f.overflow!="visible"){let h=d.getBoundingClientRect();l=Math.max(l,h.left),a=Math.min(a,h.right),o=Math.max(o,h.top),s=Math.min(c==t.parentNode?i.innerHeight:s,h.bottom)}c=f.position=="absolute"||f.position=="fixed"?d.offsetParent:d.parentNode}else if(c.nodeType==11)c=c.host;else break;return{left:l-n.left,right:Math.max(l,a)-n.left,top:o-(n.top+e),bottom:Math.max(o,s)-(n.top+e)}}u(HI,"visiblePixelRange");function _I(t,e){let n=t.getBoundingClientRect();return{left:0,right:n.right-n.left,top:e,bottom:n.bottom-(n.top+e)}}u(_I,"fullPixelRange");const m4=class m4{constructor(e,n,r,i){this.from=e,this.to=n,this.size=r,this.displaySize=i}static same(e,n){if(e.length!=n.length)return!1;for(let r=0;rtypeof r!="function"&&r.class=="cm-lineWrapping");this.heightOracle=new N0(n),this.stateDeco=e.facet(ks).filter(r=>typeof r!="function"),this.heightMap=Wt.empty().applyChanges(this.stateDeco,de.empty,this.heightOracle.setDoc(e.doc),[new qn(0,0,0,e.doc.length)]);for(let r=0;r<2&&(this.viewport=this.getViewport(0,null),!!this.updateForViewport());r++);this.updateViewportLines(),this.lineGaps=this.ensureLineGaps([]),this.lineGapDeco=ne.set(this.lineGaps.map(r=>r.draw(this,!1))),this.computeVisibleRanges()}updateForViewport(){let e=[this.viewport],{main:n}=this.state.selection;for(let r=0;r<=1;r++){let i=r?n.head:n.anchor;if(!e.some(({from:l,to:a})=>i>=l&&i<=a)){let{from:l,to:a}=this.lineBlockAt(i);e.push(new Da(l,a))}}return this.viewports=e.sort((r,i)=>r.from-i.from),this.updateScaler()}updateScaler(){let e=this.scaler;return this.scaler=this.heightMap.height<=7e6?VE:new W0(this.heightOracle,this.heightMap,this.viewports),e.eq(this.scaler)?0:2}updateViewportLines(){this.viewportLines=[],this.heightMap.forEachLine(this.viewport.from,this.viewport.to,this.heightOracle.setDoc(this.state.doc),0,0,e=>{this.viewportLines.push(Ts(e,this.scaler))})}update(e,n=null){this.state=e.state;let r=this.stateDeco;this.stateDeco=this.state.facet(ks).filter(d=>typeof d!="function");let i=e.changedRanges,l=qn.extendWithRanges(i,GI(r,this.stateDeco,e?e.changes:Zt.empty(this.state.doc.length))),a=this.heightMap.height,o=this.scrolledToBottom?null:this.scrollAnchorAt(this.scrollTop);ME(),this.heightMap=this.heightMap.applyChanges(this.stateDeco,e.startState.doc,this.heightOracle.setDoc(this.state.doc),l),(this.heightMap.height!=a||Ca)&&(e.flags|=2),o?(this.scrollAnchorPos=e.changes.mapPos(o.from,-1),this.scrollAnchorHeight=o.top):(this.scrollAnchorPos=-1,this.scrollAnchorHeight=this.heightMap.height);let s=l.length?this.mapViewport(this.viewport,e.changes):this.viewport;(n&&(n.range.heads.to)||!this.viewportIsAppropriate(s))&&(s=this.getViewport(0,n));let c=s.from!=this.viewport.from||s.to!=this.viewport.to;this.viewport=s,e.flags|=this.updateForViewport(),(c||!e.changes.empty||e.flags&2)&&this.updateViewportLines(),(this.lineGaps.length||this.viewport.to-this.viewport.from>4e3)&&this.updateLineGaps(this.ensureLineGaps(this.mapLineGaps(this.lineGaps,e.changes))),e.flags|=this.computeVisibleRanges(),n&&(this.scrollTarget=n),!this.mustEnforceCursorAssoc&&e.selectionSet&&e.view.lineWrapping&&e.state.selection.main.empty&&e.state.selection.main.assoc&&!e.state.facet(JP)&&(this.mustEnforceCursorAssoc=!0)}measure(e){let n=e.contentDOM,r=window.getComputedStyle(n),i=this.heightOracle,l=r.whiteSpace;this.defaultTextDirection=r.direction=="rtl"?Pe.RTL:Pe.LTR;let a=this.heightOracle.mustRefreshForWrapping(l),o=n.getBoundingClientRect(),s=a||this.mustMeasureContent||this.contentDOMHeight!=o.height;this.contentDOMHeight=o.height,this.mustMeasureContent=!1;let c=0,d=0;if(o.width&&o.height){let{scaleX:C,scaleY:w}=$P(n,o);(C>.005&&Math.abs(this.scaleX-C)>.005||w>.005&&Math.abs(this.scaleY-w)>.005)&&(this.scaleX=C,this.scaleY=w,c|=8,a=s=!0)}let f=(parseInt(r.paddingTop)||0)*this.scaleY,h=(parseInt(r.paddingBottom)||0)*this.scaleY;(this.paddingTop!=f||this.paddingBottom!=h)&&(this.paddingTop=f,this.paddingBottom=h,c|=10),this.editorWidth!=e.scrollDOM.clientWidth&&(i.lineWrapping&&(s=!0),this.editorWidth=e.scrollDOM.clientWidth,c|=8);let p=e.scrollDOM.scrollTop*this.scaleY;this.scrollTop!=p&&(this.scrollAnchorHeight=-1,this.scrollTop=p),this.scrolledToBottom=CP(e.scrollDOM);let m=(this.printing?_I:HI)(n,this.paddingTop),g=m.top-this.pixelViewport.top,O=m.bottom-this.pixelViewport.bottom;this.pixelViewport=m;let b=this.pixelViewport.bottom>this.pixelViewport.top&&this.pixelViewport.right>this.pixelViewport.left;if(b!=this.inView&&(this.inView=b,b&&(s=!0)),!this.inView&&!this.scrollTarget)return 0;let y=o.width;if((this.contentDOMWidth!=y||this.editorHeight!=e.scrollDOM.clientHeight)&&(this.contentDOMWidth=o.width,this.editorHeight=e.scrollDOM.clientHeight,c|=8),s){let C=e.docView.measureVisibleLineHeights(this.viewport);if(i.mustRefreshForHeights(C)&&(a=!0),a||i.lineWrapping&&Math.abs(y-this.contentDOMWidth)>i.charWidth){let{lineHeight:w,charWidth:x,textHeight:P}=e.docView.measureTextSize();a=w>0&&i.refresh(l,w,x,P,y/x,C),a&&(e.docView.minWidth=0,c|=8)}g>0&&O>0?d=Math.max(g,O):g<0&&O<0&&(d=Math.min(g,O)),ME();for(let w of this.viewports){let x=w.from==this.viewport.from?C:e.docView.measureVisibleLineHeights(w);this.heightMap=(a?Wt.empty().applyChanges(this.stateDeco,de.empty,this.heightOracle,[new qn(0,0,0,e.state.doc.length)]):this.heightMap).updateHeight(i,0,a,new F0(w.from,x))}Ca&&(c|=2)}let $=!this.viewportIsAppropriate(this.viewport,d)||this.scrollTarget&&(this.scrollTarget.range.headthis.viewport.to);return $&&(c&2&&(c|=this.updateScaler()),this.viewport=this.getViewport(d,this.scrollTarget),c|=this.updateForViewport()),(c&2||$)&&this.updateViewportLines(),(this.lineGaps.length||this.viewport.to-this.viewport.from>4e3)&&this.updateLineGaps(this.ensureLineGaps(a?[]:this.lineGaps,e)),c|=this.computeVisibleRanges(),this.mustEnforceCursorAssoc&&(this.mustEnforceCursorAssoc=!1,e.docView.enforceCursorAssoc()),c}get visibleTop(){return this.scaler.fromDOM(this.pixelViewport.top)}get visibleBottom(){return this.scaler.fromDOM(this.pixelViewport.bottom)}getViewport(e,n){let r=.5-Math.max(-.5,Math.min(.5,e/1e3/2)),i=this.heightMap,l=this.heightOracle,{visibleTop:a,visibleBottom:o}=this,s=new Da(i.lineAt(a-r*1e3,ke.ByHeight,l,0,0).from,i.lineAt(o+(1-r)*1e3,ke.ByHeight,l,0,0).to);if(n){let{head:c}=n.range;if(cs.to){let d=Math.min(this.editorHeight,this.pixelViewport.bottom-this.pixelViewport.top),f=i.lineAt(c,ke.ByPos,l,0,0),h;n.y=="center"?h=(f.top+f.bottom)/2-d/2:n.y=="start"||n.y=="nearest"&&c=o+Math.max(10,Math.min(r,250)))&&i>a-2*1e3&&l>1,a=i<<1;if(this.defaultTextDirection!=Pe.LTR&&!r)return[];let o=[],s=u((d,f,h,p)=>{if(f-dd&&bb.from>=h.from&&b.to<=h.to&&Math.abs(b.from-d)b.fromy));if(!O){if(f$.from<=f&&$.to>=f)){let $=n.moveToLineBoundary(z.cursor(f),!1,!0).head;$>d&&(f=$)}let b=this.gapSize(h,d,f,p),y=r||b<2e6?b:2e6;O=new As(d,f,b,y)}o.push(O)},"addGap"),c=u(d=>{if(d.length2e6)for(let x of e)x.from>=d.from&&x.fromd.from&&s(d.from,p,d,f),mn.draw(this,this.heightOracle.lineWrapping))))}computeVisibleRanges(){let e=this.stateDeco;this.lineGaps.length&&(e=e.concat(this.lineGapDeco));let n=[];xe.spans(e,this.viewport.from,this.viewport.to,{span(i,l){n.push({from:i,to:l})},point(){}},20);let r=n.length!=this.visibleRanges.length||this.visibleRanges.some((i,l)=>i.from!=n[l].from||i.to!=n[l].to);return this.visibleRanges=n,r?4:0}lineBlockAt(e){return e>=this.viewport.from&&e<=this.viewport.to&&this.viewportLines.find(n=>n.from<=e&&n.to>=e)||Ts(this.heightMap.lineAt(e,ke.ByPos,this.heightOracle,0,0),this.scaler)}lineBlockAtHeight(e){return e>=this.viewportLines[0].top&&e<=this.viewportLines[this.viewportLines.length-1].bottom&&this.viewportLines.find(n=>n.top<=e&&n.bottom>=e)||Ts(this.heightMap.lineAt(this.scaler.fromDOM(e),ke.ByHeight,this.heightOracle,0,0),this.scaler)}scrollAnchorAt(e){let n=this.lineBlockAtHeight(e+8);return n.from>=this.viewport.from||this.viewportLines[0].top-e>200?n:this.viewportLines[0]}elementAtHeight(e){return Ts(this.heightMap.blockAt(this.scaler.fromDOM(e),this.heightOracle,0,0),this.scaler)}get docHeight(){return this.scaler.toDOM(this.heightMap.height)}get contentHeight(){return this.docHeight+this.paddingTop+this.paddingBottom}};u(O4,"ViewState");let Jd=O4;const b4=class b4{constructor(e,n){this.from=e,this.to=n}};u(b4,"Viewport");let Da=b4;function JI(t,e,n){let r=[],i=t,l=0;return xe.spans(n,t,e,{span(){},point(a,o){a>i&&(r.push({from:i,to:a}),l+=a-i),i=o}},20),i=1)return e[e.length-1].to;let r=Math.floor(t*n);for(let i=0;;i++){let{from:l,to:a}=e[i],o=a-l;if(r<=o)return l+r;r-=o}}u(ef,"findPosition");function tf(t,e){let n=0;for(let{from:r,to:i}of t.ranges){if(e<=i){n+=e-r;break}n+=i-r}return n/t.total}u(tf,"findFraction");function eZ(t,e){for(let n of t)if(e(n))return n}u(eZ,"find");const VE={toDOM(t){return t},fromDOM(t){return t},scale:1,eq(t){return t==this}},Op=class Op{constructor(e,n,r){let i=0,l=0,a=0;this.viewports=r.map(({from:o,to:s})=>{let c=n.lineAt(o,ke.ByPos,e,0,0).top,d=n.lineAt(s,ke.ByPos,e,0,0).bottom;return i+=d-c,{from:o,to:s,top:c,bottom:d,domTop:0,domBottom:0}}),this.scale=(7e6-i)/(n.height-i);for(let o of this.viewports)o.domTop=a+(o.top-l)*this.scale,a=o.domBottom=o.domTop+(o.bottom-o.top),l=o.bottom}toDOM(e){for(let n=0,r=0,i=0;;n++){let l=nn.from==e.viewports[r].from&&n.to==e.viewports[r].to):!1}};u(Op,"BigScaler");let W0=Op;function Ts(t,e){if(e.scale==1)return t;let n=e.toDOM(t.top),r=e.toDOM(t.bottom);return new Un(t.from,t.length,n,r-n,Array.isArray(t._content)?t._content.map(i=>Ts(i,e)):t._content)}u(Ts,"scaleBlock");const nf=G.define({combine:t=>t.join(" ")}),X0=G.define({combine:t=>t.indexOf(!0)>-1}),j0=Zn.newName(),NE=Zn.newName(),FE=Zn.newName(),IE={"&light":"."+NE,"&dark":"."+FE};function q0(t,e,n){return new Zn(e,{finish(r){return/&/.test(r)?r.replace(/&\w*/,i=>{if(i=="&")return t;if(!n||!n[i])throw new RangeError(`Unsupported selector: ${i}`);return n[i]}):t+" "+r}})}u(q0,"buildTheme");const tZ=q0("."+j0,{"&":{position:"relative !important",boxSizing:"border-box","&.cm-focused":{outline:"1px dotted #212121"},display:"flex !important",flexDirection:"column"},".cm-scroller":{display:"flex !important",alignItems:"flex-start !important",fontFamily:"monospace",lineHeight:1.4,height:"100%",overflowX:"auto",position:"relative",zIndex:0,overflowAnchor:"none"},".cm-content":{margin:0,flexGrow:2,flexShrink:0,display:"block",whiteSpace:"pre",wordWrap:"normal",boxSizing:"border-box",minHeight:"100%",padding:"4px 0",outline:"none","&[contenteditable=true]":{WebkitUserModify:"read-write-plaintext-only"}},".cm-lineWrapping":{whiteSpace_fallback:"pre-wrap",whiteSpace:"break-spaces",wordBreak:"break-word",overflowWrap:"anywhere",flexShrink:1},"&light .cm-content":{caretColor:"black"},"&dark .cm-content":{caretColor:"white"},".cm-line":{display:"block",padding:"0 2px 0 6px"},".cm-layer":{position:"absolute",left:0,top:0,contain:"size style","& > *":{position:"absolute"}},"&light .cm-selectionBackground":{background:"#d9d9d9"},"&dark .cm-selectionBackground":{background:"#222"},"&light.cm-focused > .cm-scroller > .cm-selectionLayer .cm-selectionBackground":{background:"#d7d4f0"},"&dark.cm-focused > .cm-scroller > .cm-selectionLayer .cm-selectionBackground":{background:"#233"},".cm-cursorLayer":{pointerEvents:"none"},"&.cm-focused > .cm-scroller > .cm-cursorLayer":{animation:"steps(1) cm-blink 1.2s infinite"},"@keyframes cm-blink":{"0%":{},"50%":{opacity:0},"100%":{}},"@keyframes cm-blink2":{"0%":{},"50%":{opacity:0},"100%":{}},".cm-cursor, .cm-dropCursor":{borderLeft:"1.2px solid black",marginLeft:"-0.6px",pointerEvents:"none"},".cm-cursor":{display:"none"},"&dark .cm-cursor":{borderLeftColor:"#444"},".cm-dropCursor":{position:"absolute"},"&.cm-focused > .cm-scroller > .cm-cursorLayer .cm-cursor":{display:"block"},".cm-iso":{unicodeBidi:"isolate"},".cm-announced":{position:"fixed",top:"-10000px"},"@media print":{".cm-announced":{display:"none"}},"&light .cm-activeLine":{backgroundColor:"#cceeff44"},"&dark .cm-activeLine":{backgroundColor:"#99eeff33"},"&light .cm-specialChar":{color:"red"},"&dark .cm-specialChar":{color:"#f78"},".cm-gutters":{flexShrink:0,display:"flex",height:"100%",boxSizing:"border-box",insetInlineStart:0,zIndex:200},"&light .cm-gutters":{backgroundColor:"#f5f5f5",color:"#6c6c6c",borderRight:"1px solid #ddd"},"&dark .cm-gutters":{backgroundColor:"#333338",color:"#ccc"},".cm-gutter":{display:"flex !important",flexDirection:"column",flexShrink:0,boxSizing:"border-box",minHeight:"100%",overflow:"hidden"},".cm-gutterElement":{boxSizing:"border-box"},".cm-lineNumbers .cm-gutterElement":{padding:"0 3px 0 5px",minWidth:"20px",textAlign:"right",whiteSpace:"nowrap"},"&light .cm-activeLineGutter":{backgroundColor:"#e2f2ff"},"&dark .cm-activeLineGutter":{backgroundColor:"#222227"},".cm-panels":{boxSizing:"border-box",position:"sticky",left:0,right:0,zIndex:300},"&light .cm-panels":{backgroundColor:"#f5f5f5",color:"black"},"&light .cm-panels-top":{borderBottom:"1px solid #ddd"},"&light .cm-panels-bottom":{borderTop:"1px solid #ddd"},"&dark .cm-panels":{backgroundColor:"#333338",color:"white"},".cm-tab":{display:"inline-block",overflow:"hidden",verticalAlign:"bottom"},".cm-widgetBuffer":{verticalAlign:"text-top",height:"1em",width:0,display:"inline"},".cm-placeholder":{color:"#888",display:"inline-block",verticalAlign:"top"},".cm-highlightSpace":{backgroundImage:"radial-gradient(circle at 50% 55%, #aaa 20%, transparent 5%)",backgroundPosition:"center"},".cm-highlightTab":{backgroundImage:`url('data:image/svg+xml,')`,backgroundSize:"auto 100%",backgroundPosition:"right 90%",backgroundRepeat:"no-repeat"},".cm-trailingSpace":{backgroundColor:"#ff332255"},".cm-button":{verticalAlign:"middle",color:"inherit",fontSize:"70%",padding:".2em 1em",borderRadius:"1px"},"&light .cm-button":{backgroundImage:"linear-gradient(#eff1f5, #d9d9df)",border:"1px solid #888","&:active":{backgroundImage:"linear-gradient(#b4b4b4, #d0d3d6)"}},"&dark .cm-button":{backgroundImage:"linear-gradient(#393939, #111)",border:"1px solid #888","&:active":{backgroundImage:"linear-gradient(#111, #333)"}},".cm-textfield":{verticalAlign:"middle",color:"inherit",fontSize:"70%",border:"1px solid silver",padding:".2em .5em"},"&light .cm-textfield":{backgroundColor:"white"},"&dark .cm-textfield":{border:"1px solid #555",backgroundColor:"inherit"}},IE),nZ={childList:!0,characterData:!0,subtree:!0,attributes:!0,characterDataOldValue:!0},U0=U.ie&&U.ie_version<=11;let rZ=(_u=class{constructor(e){this.view=e,this.active=!1,this.editContext=null,this.selectionRange=new c0,this.selectionChanged=!1,this.delayedFlush=-1,this.resizeTimeout=-1,this.queue=[],this.delayedAndroidKey=null,this.flushingAndroidKey=-1,this.lastChange=0,this.scrollTargets=[],this.intersection=null,this.resizeScroll=null,this.intersecting=!1,this.gapIntersection=null,this.gaps=[],this.printQuery=null,this.parentCheck=-1,this.dom=e.contentDOM,this.observer=new MutationObserver(n=>{for(let r of n)this.queue.push(r);(U.ie&&U.ie_version<=11||U.ios&&e.composing)&&n.some(r=>r.type=="childList"&&r.removedNodes.length||r.type=="characterData"&&r.oldValue.length>r.target.nodeValue.length)?this.flushSoon():this.flush()}),window.EditContext&&e.constructor.EDIT_CONTEXT!==!1&&!(U.chrome&&U.chrome_version<126)&&(this.editContext=new Y0(e),e.state.facet(si)&&(e.contentDOM.editContext=this.editContext.editContext)),U0&&(this.onCharData=n=>{this.queue.push({target:n.target,type:"characterData",oldValue:n.prevValue}),this.flushSoon()}),this.onSelectionChange=this.onSelectionChange.bind(this),this.onResize=this.onResize.bind(this),this.onPrint=this.onPrint.bind(this),this.onScroll=this.onScroll.bind(this),window.matchMedia&&(this.printQuery=window.matchMedia("print")),typeof ResizeObserver=="function"&&(this.resizeScroll=new ResizeObserver(()=>{var n;((n=this.view.docView)===null||n===void 0?void 0:n.lastUpdate){this.parentCheck<0&&(this.parentCheck=setTimeout(this.listenForScroll.bind(this),1e3)),n.length>0&&n[n.length-1].intersectionRatio>0!=this.intersecting&&(this.intersecting=!this.intersecting,this.intersecting!=this.view.inView&&this.onScrollChanged(document.createEvent("Event")))},{threshold:[0,.001]}),this.intersection.observe(this.dom),this.gapIntersection=new IntersectionObserver(n=>{n.length>0&&n[n.length-1].intersectionRatio>0&&this.onScrollChanged(document.createEvent("Event"))},{})),this.listenForScroll(),this.readSelectionRange()}onScrollChanged(e){this.view.inputState.runHandlers("scroll",e),this.intersecting&&this.view.measure()}onScroll(e){this.intersecting&&this.flush(!1),this.editContext&&this.view.requestMeasure(this.editContext.measureReq),this.onScrollChanged(e)}onResize(){this.resizeTimeout<0&&(this.resizeTimeout=setTimeout(()=>{this.resizeTimeout=-1,this.view.requestMeasure()},50))}onPrint(e){(e.type=="change"||!e.type)&&!e.matches||(this.view.viewState.printing=!0,this.view.measure(),setTimeout(()=>{this.view.viewState.printing=!1,this.view.requestMeasure()},500))}updateGaps(e){if(this.gapIntersection&&(e.length!=this.gaps.length||this.gaps.some((n,r)=>n!=e[r]))){this.gapIntersection.disconnect();for(let n of e)this.gapIntersection.observe(n);this.gaps=e}}onSelectionChange(e){let n=this.selectionChanged;if(!this.readSelectionRange()||this.delayedAndroidKey)return;let{view:r}=this,i=this.selectionRange;if(r.state.facet(si)?r.root.activeElement!=this.dom:!Bd(this.dom,i))return;let l=i.anchorNode&&r.docView.nearest(i.anchorNode);if(l&&l.ignoreEvent(e)){n||(this.selectionChanged=!1);return}(U.ie&&U.ie_version<=11||U.android&&U.chrome)&&!r.state.selection.main.empty&&i.focusNode&&Os(i.focusNode,i.focusOffset,i.anchorNode,i.anchorOffset)?this.flushSoon():this.flush(!1)}readSelectionRange(){let{view:e}=this,n=gs(e.root);if(!n)return!1;let r=U.safari&&e.root.nodeType==11&&e.root.activeElement==this.dom&&iZ(this.view,n)||n;if(!r||this.selectionRange.eq(r))return!1;let i=Bd(this.dom,r);return i&&!this.selectionChanged&&e.inputState.lastFocusTime>Date.now()-200&&e.inputState.lastTouchTime{let l=this.delayedAndroidKey;l&&(this.clearDelayedAndroidKey(),this.view.inputState.lastKeyCode=l.keyCode,this.view.inputState.lastKeyTime=Date.now(),!this.flush()&&l.force&&Sa(this.dom,l.key,l.keyCode))},"flush");this.flushingAndroidKey=this.view.win.requestAnimationFrame(i)}(!this.delayedAndroidKey||e=="Enter")&&(this.delayedAndroidKey={key:e,keyCode:n,force:this.lastChange{this.delayedFlush=-1,this.flush()}))}forceFlush(){this.delayedFlush>=0&&(this.view.win.cancelAnimationFrame(this.delayedFlush),this.delayedFlush=-1),this.flush()}pendingRecords(){for(let e of this.observer.takeRecords())this.queue.push(e);return this.queue}processRecords(){let e=this.pendingRecords();e.length&&(this.queue=[]);let n=-1,r=-1,i=!1;for(let l of e){let a=this.readMutation(l);a&&(a.typeOver&&(i=!0),n==-1?{from:n,to:r}=a:(n=Math.min(a.from,n),r=Math.max(a.to,r)))}return{from:n,to:r,typeOver:i}}readChange(){let{from:e,to:n,typeOver:r}=this.processRecords(),i=this.selectionChanged&&Bd(this.dom,this.selectionRange);if(e<0&&!i)return null;e>-1&&(this.lastChange=Date.now()),this.view.inputState.lastFocusTime=0,this.selectionChanged=!1;let l=new Q0(this.view,e,n,r);return this.view.docView.domChanged={newSel:l.newSel?l.newSel.main:null},l}flush(e=!0){if(this.delayedFlush>=0||this.delayedAndroidKey)return!1;e&&this.readSelectionRange();let n=this.readChange();if(!n)return this.view.requestMeasure(),!1;let r=this.view.state,i=mE(this.view,n);return this.view.state==r&&(n.domChanged||n.newSel&&!n.newSel.main.eq(this.view.state.selection.main))&&this.view.update([]),i}readMutation(e){let n=this.view.docView.nearest(e.target);if(!n||n.ignoreMutation(e))return null;if(n.markDirty(e.type=="attributes"),e.type=="attributes"&&(n.flags|=4),e.type=="childList"){let r=ZE(n,e.previousSibling||e.target.previousSibling,-1),i=ZE(n,e.nextSibling||e.target.nextSibling,1);return{from:r?n.posAfter(r):n.posAtStart,to:i?n.posBefore(i):n.posAtEnd,typeOver:!1}}else return e.type=="characterData"?{from:n.posAtStart,to:n.posAtEnd,typeOver:e.target.nodeValue==e.oldValue}:null}setWindow(e){e!=this.win&&(this.removeWindowListeners(this.win),this.win=e,this.addWindowListeners(this.win))}addWindowListeners(e){e.addEventListener("resize",this.onResize),this.printQuery?this.printQuery.addEventListener?this.printQuery.addEventListener("change",this.onPrint):this.printQuery.addListener(this.onPrint):e.addEventListener("beforeprint",this.onPrint),e.addEventListener("scroll",this.onScroll),e.document.addEventListener("selectionchange",this.onSelectionChange)}removeWindowListeners(e){e.removeEventListener("scroll",this.onScroll),e.removeEventListener("resize",this.onResize),this.printQuery?this.printQuery.removeEventListener?this.printQuery.removeEventListener("change",this.onPrint):this.printQuery.removeListener(this.onPrint):e.removeEventListener("beforeprint",this.onPrint),e.document.removeEventListener("selectionchange",this.onSelectionChange)}update(e){this.editContext&&(this.editContext.update(e),e.startState.facet(si)!=e.state.facet(si)&&(e.view.contentDOM.editContext=e.state.facet(si)?this.editContext.editContext:null))}destroy(){var e,n,r;this.stop(),(e=this.intersection)===null||e===void 0||e.disconnect(),(n=this.gapIntersection)===null||n===void 0||n.disconnect(),(r=this.resizeScroll)===null||r===void 0||r.disconnect();for(let i of this.scrollTargets)i.removeEventListener("scroll",this.onScroll);this.removeWindowListeners(this.win),clearTimeout(this.parentCheck),clearTimeout(this.resizeTimeout),this.win.cancelAnimationFrame(this.delayedFlush),this.win.cancelAnimationFrame(this.flushingAndroidKey),this.editContext&&(this.view.contentDOM.editContext=null,this.editContext.destroy())}},u(_u,"DOMObserver"),_u);function ZE(t,e,n){for(;e;){let r=Se.get(e);if(r&&r.parent==t)return r;let i=e.parentNode;e=i!=t.dom?i:n>0?e.nextSibling:e.previousSibling}return null}u(ZE,"findChild");function zE(t,e){let n=e.startContainer,r=e.startOffset,i=e.endContainer,l=e.endOffset,a=t.docView.domAtPos(t.state.selection.main.anchor);return Os(a.node,a.offset,i,l)&&([n,r,i,l]=[i,l,n,r]),{anchorNode:n,anchorOffset:r,focusNode:i,focusOffset:l}}u(zE,"buildSelectionRangeFromRange");function iZ(t,e){if(e.getComposedRanges){let i=e.getComposedRanges(t.root)[0];if(i)return zE(t,i)}let n=null;function r(i){i.preventDefault(),i.stopImmediatePropagation(),n=i.getTargetRanges()[0]}return u(r,"read"),t.contentDOM.addEventListener("beforeinput",r,!0),t.dom.ownerDocument.execCommand("indent"),t.contentDOM.removeEventListener("beforeinput",r,!0),n?zE(t,n):null}u(iZ,"safariSelectionRangeHack");const y4=class y4{constructor(e){this.from=0,this.to=0,this.pendingContextChange=null,this.handlers=Object.create(null),this.resetRange(e.state);let n=this.editContext=new window.EditContext({text:e.state.doc.sliceString(this.from,this.to),selectionStart:this.toContextPos(Math.max(this.from,Math.min(this.to,e.state.selection.main.anchor))),selectionEnd:this.toContextPos(e.state.selection.main.head)});this.handlers.textupdate=r=>{let{anchor:i}=e.state.selection.main,l={from:this.toEditorPos(r.updateRangeStart),to:this.toEditorPos(r.updateRangeEnd),insert:de.of(r.text.split(` +`))};l.from==this.from&&ithis.to&&(l.to=i),!(l.from==l.to&&!l.insert.length)&&(this.pendingContextChange=l,e.state.readOnly||M0(e,l,z.single(this.toEditorPos(r.selectionStart),this.toEditorPos(r.selectionEnd))),this.pendingContextChange&&(this.revertPending(e.state),this.setSelection(e.state)))},this.handlers.characterboundsupdate=r=>{let i=[],l=null;for(let a=this.toEditorPos(r.rangeStart),o=this.toEditorPos(r.rangeEnd);a{let i=[];for(let l of r.getTextFormats()){let a=l.underlineStyle,o=l.underlineThickness;if(a!="None"&&o!="None"){let s=`text-decoration: underline ${a=="Dashed"?"dashed ":a=="Squiggle"?"wavy ":""}${o=="Thin"?1:2}px`;i.push(ne.mark({attributes:{style:s}}).range(this.toEditorPos(l.rangeStart),this.toEditorPos(l.rangeEnd)))}}e.dispatch({effects:tE.of(ne.set(i))})},this.handlers.compositionstart=()=>{e.inputState.composing<0&&(e.inputState.composing=0,e.inputState.compositionFirstChange=!0)},this.handlers.compositionend=()=>{e.inputState.composing=-1,e.inputState.compositionFirstChange=null};for(let r in this.handlers)n.addEventListener(r,this.handlers[r]);this.measureReq={read:r=>{this.editContext.updateControlBounds(r.contentDOM.getBoundingClientRect());let i=gs(r.root);i&&i.rangeCount&&this.editContext.updateSelectionBounds(i.getRangeAt(0).getBoundingClientRect())}}}applyEdits(e){let n=0,r=!1,i=this.pendingContextChange;return e.changes.iterChanges((l,a,o,s,c)=>{if(r)return;let d=c.length-(a-l);if(i&&a>=i.to)if(i.from==l&&i.to==a&&i.insert.eq(c)){i=this.pendingContextChange=null,n+=d,this.to+=d;return}else i=null,this.revertPending(e.state);if(l+=n,a+=n,a<=this.from)this.from+=d,this.to+=d;else if(lthis.to||this.to-this.from+c.length>3e4){r=!0;return}this.editContext.updateText(this.toContextPos(l),this.toContextPos(a),c.toString()),this.to+=d}n+=d}),i&&!r&&this.revertPending(e.state),!r}update(e){let n=this.pendingContextChange;!this.applyEdits(e)||!this.rangeIsValid(e.state)?(this.pendingContextChange=null,this.resetRange(e.state),this.editContext.updateText(0,this.editContext.text.length,e.state.doc.sliceString(this.from,this.to)),this.setSelection(e.state)):(e.docChanged||e.selectionSet||n)&&this.setSelection(e.state),(e.geometryChanged||e.docChanged||e.selectionSet)&&e.view.requestMeasure(this.measureReq)}resetRange(e){let{head:n}=e.selection.main;this.from=Math.max(0,n-1e4),this.to=Math.min(e.doc.length,n+1e4)}revertPending(e){let n=this.pendingContextChange;this.pendingContextChange=null,this.editContext.updateText(this.toContextPos(n.from),this.toContextPos(n.from+n.insert.length),e.doc.sliceString(n.from,n.to))}setSelection(e){let{main:n}=e.selection,r=this.toContextPos(Math.max(this.from,Math.min(this.to,n.anchor))),i=this.toContextPos(n.head);(this.editContext.selectionStart!=r||this.editContext.selectionEnd!=i)&&this.editContext.updateSelection(r,i)}rangeIsValid(e){let{head:n}=e.selection.main;return!(this.from>0&&n-this.from<500||this.to1e4*3)}toEditorPos(e){return e+this.from}toContextPos(e){return e-this.from}destroy(){for(let e in this.handlers)this.editContext.removeEventListener(e,this.handlers[e])}};u(y4,"EditContextManager");let Y0=y4,H=(Rl=class{get state(){return this.viewState.state}get viewport(){return this.viewState.viewport}get visibleRanges(){return this.viewState.visibleRanges}get inView(){return this.viewState.inView}get composing(){return this.inputState.composing>0}get compositionStarted(){return this.inputState.composing>=0}get root(){return this._root}get win(){return this.dom.ownerDocument.defaultView||window}constructor(e={}){var n;this.plugins=[],this.pluginMap=new Map,this.editorAttrs={},this.contentAttrs={},this.bidiCache=[],this.destroyed=!1,this.updateState=2,this.measureScheduled=-1,this.measureRequests=[],this.contentDOM=document.createElement("div"),this.scrollDOM=document.createElement("div"),this.scrollDOM.tabIndex=-1,this.scrollDOM.className="cm-scroller",this.scrollDOM.appendChild(this.contentDOM),this.announceDOM=document.createElement("div"),this.announceDOM.className="cm-announced",this.announceDOM.setAttribute("aria-live","polite"),this.dom=document.createElement("div"),this.dom.appendChild(this.announceDOM),this.dom.appendChild(this.scrollDOM),e.parent&&e.parent.appendChild(this.dom);let{dispatch:r}=e;this.dispatchTransactions=e.dispatchTransactions||r&&(i=>i.forEach(l=>r(l,this)))||(i=>this.update(i)),this.dispatch=this.dispatch.bind(this),this._root=e.root||GF(e.parent)||document,this.viewState=new Jd(e.state||Be.create(e)),e.scrollTo&&e.scrollTo.is(Ld)&&(this.viewState.scrollTarget=e.scrollTo.value.clip(this.viewState.state)),this.plugins=this.state.facet(Cs).map(i=>new Ds(i));for(let i of this.plugins)i.update(this);this.observer=new rZ(this),this.inputState=new QI(this),this.inputState.ensureHandlers(this.plugins),this.docView=new Xd(this),this.mountStyles(),this.updateAttrs(),this.updateState=0,this.requestMeasure(),!((n=document.fonts)===null||n===void 0)&&n.ready&&document.fonts.ready.then(()=>this.requestMeasure())}dispatch(...e){let n=e.length==1&&e[0]instanceof Ot?e:e.length==1&&Array.isArray(e[0])?e[0]:[this.state.update(...e)];this.dispatchTransactions(n,this)}update(e){if(this.updateState!=0)throw new Error("Calls to EditorView.update are not allowed while an update is in progress");let n=!1,r=!1,i,l=this.state;for(let h of e){if(h.startState!=l)throw new RangeError("Trying to update state with a transaction that doesn't start from the previous state.");l=h.state}if(this.destroyed){this.viewState.state=l;return}let a=this.hasFocus,o=0,s=null;e.some(h=>h.annotation(EE))?(this.inputState.notifiedFocused=a,o=1):a!=this.inputState.notifiedFocused&&(this.inputState.notifiedFocused=a,s=AE(l,a),s||(o=1));let c=this.observer.delayedAndroidKey,d=null;if(c?(this.observer.clearDelayedAndroidKey(),d=this.observer.readChange(),(d&&!this.state.doc.eq(l.doc)||!this.state.selection.eq(l.selection))&&(d=null)):this.observer.clear(),l.facet(Be.phrases)!=this.state.facet(Be.phrases))return this.setState(l);i=Wd.create(this,l,e),i.flags|=o;let f=this.viewState.scrollTarget;try{this.updateState=2;for(let h of e){if(f&&(f=f.map(h.changes)),h.scrollIntoView){let{main:p}=h.state.selection;f=new Ss(p.empty?p:z.cursor(p.head,p.head>p.anchor?-1:1))}for(let p of h.effects)p.is(Ld)&&(f=p.value.clip(this.state))}this.viewState.update(i,f),this.bidiCache=rf.update(this.bidiCache,i.changes),i.empty||(this.updatePlugins(i),this.inputState.update(i)),n=this.docView.update(i),this.state.facet(Ps)!=this.styleModules&&this.mountStyles(),r=this.updateAttrs(),this.showAnnouncements(e),this.docView.updateSelection(n,e.some(h=>h.isUserEvent("select.pointer")))}finally{this.updateState=0}if(i.startState.facet(nf)!=i.state.facet(nf)&&(this.viewState.mustMeasureContent=!0),(n||r||f||this.viewState.mustEnforceCursorAssoc||this.viewState.mustMeasureContent)&&this.requestMeasure(),n&&this.docViewUpdate(),!i.empty)for(let h of this.state.facet(x0))try{h(i)}catch(p){Lt(this.state,p,"update listener")}(s||d)&&Promise.resolve().then(()=>{s&&this.state==s.startState&&this.dispatch(s),d&&!mE(this,d)&&c.force&&Sa(this.contentDOM,c.key,c.keyCode)})}setState(e){if(this.updateState!=0)throw new Error("Calls to EditorView.setState are not allowed while an update is in progress");if(this.destroyed){this.viewState.state=e;return}this.updateState=2;let n=this.hasFocus;try{for(let r of this.plugins)r.destroy(this);this.viewState=new Jd(e),this.plugins=e.facet(Cs).map(r=>new Ds(r)),this.pluginMap.clear();for(let r of this.plugins)r.update(this);this.docView.destroy(),this.docView=new Xd(this),this.inputState.ensureHandlers(this.plugins),this.mountStyles(),this.updateAttrs(),this.bidiCache=[]}finally{this.updateState=0}n&&this.focus(),this.requestMeasure()}updatePlugins(e){let n=e.startState.facet(Cs),r=e.state.facet(Cs);if(n!=r){let i=[];for(let l of r){let a=n.indexOf(l);if(a<0)i.push(new Ds(l));else{let o=this.plugins[a];o.mustUpdate=e,i.push(o)}}for(let l of this.plugins)l.mustUpdate!=e&&l.destroy(this);this.plugins=i,this.pluginMap.clear()}else for(let i of this.plugins)i.mustUpdate=e;for(let i=0;i-1&&this.win.cancelAnimationFrame(this.measureScheduled),this.observer.delayedAndroidKey){this.measureScheduled=-1,this.requestMeasure();return}this.measureScheduled=0,e&&this.observer.forceFlush();let n=null,r=this.scrollDOM,i=r.scrollTop*this.scaleY,{scrollAnchorPos:l,scrollAnchorHeight:a}=this.viewState;Math.abs(i-this.viewState.scrollTop)>1&&(a=-1),this.viewState.scrollAnchorHeight=-1;try{for(let o=0;;o++){if(a<0)if(CP(r))l=-1,a=this.viewState.heightMap.height;else{let p=this.viewState.scrollAnchorAt(i);l=p.from,a=p.top}this.updateState=1;let s=this.viewState.measure(this);if(!s&&!this.measureRequests.length&&this.viewState.scrollTarget==null)break;if(o>5){console.warn(this.measureRequests.length?"Measure loop restarted more than 5 times":"Viewport failed to stabilize");break}let c=[];s&4||([this.measureRequests,c]=[c,this.measureRequests]);let d=c.map(p=>{try{return p.read(this)}catch(m){return Lt(this.state,m),LE}}),f=Wd.create(this,this.state,[]),h=!1;f.flags|=s,n?n.flags|=s:n=f,this.updateState=2,f.empty||(this.updatePlugins(f),this.inputState.update(f),this.updateAttrs(),h=this.docView.update(f),h&&this.docViewUpdate());for(let p=0;p1||m<-1){i=i+m,r.scrollTop=i/this.scaleY,a=-1;continue}}break}}}finally{this.updateState=0,this.measureScheduled=-1}if(n&&!n.empty)for(let o of this.state.facet(x0))o(n)}get themeClasses(){return j0+" "+(this.state.facet(X0)?FE:NE)+" "+this.state.facet(nf)}updateAttrs(){let e=WE(this,nE,{class:"cm-editor"+(this.hasFocus?" cm-focused ":" ")+this.themeClasses}),n={spellcheck:"false",autocorrect:"off",autocapitalize:"off",translate:"no",contenteditable:this.state.facet(si)?"true":"false",class:"cm-content",style:`${U.tabSize}: ${this.state.tabSize}`,role:"textbox","aria-multiline":"true"};this.state.readOnly&&(n["aria-readonly"]="true"),WE(this,D0,n);let r=this.observer.ignore(()=>{let i=O0(this.contentDOM,this.contentAttrs,n),l=O0(this.dom,this.editorAttrs,e);return i||l});return this.editorAttrs=e,this.contentAttrs=n,r}showAnnouncements(e){let n=!0;for(let r of e)for(let i of r.effects)if(i.is(Rl.announce)){n&&(this.announceDOM.textContent=""),n=!1;let l=this.announceDOM.appendChild(document.createElement("div"));l.textContent=i.value}}mountStyles(){this.styleModules=this.state.facet(Ps);let e=this.state.facet(Rl.cspNonce);Zn.mount(this.root,this.styleModules.concat(tZ).reverse(),e?{nonce:e}:void 0)}readMeasured(){if(this.updateState==2)throw new Error("Reading the editor layout isn't allowed during an update");this.updateState==0&&this.measureScheduled>-1&&this.measure(!1)}requestMeasure(e){if(this.measureScheduled<0&&(this.measureScheduled=this.win.requestAnimationFrame(()=>this.measure())),e){if(this.measureRequests.indexOf(e)>-1)return;if(e.key!=null){for(let n=0;nr.spec==e)||null),n&&n.update(this).value}get documentTop(){return this.contentDOM.getBoundingClientRect().top+this.viewState.paddingTop}get documentPadding(){return{top:this.viewState.paddingTop,bottom:this.viewState.paddingBottom}}get scaleX(){return this.viewState.scaleX}get scaleY(){return this.viewState.scaleY}elementAtHeight(e){return this.readMeasured(),this.viewState.elementAtHeight(e)}lineBlockAtHeight(e){return this.readMeasured(),this.viewState.lineBlockAtHeight(e)}get viewportLineBlocks(){return this.viewState.viewportLines}lineBlockAt(e){return this.viewState.lineBlockAt(e)}get contentHeight(){return this.viewState.contentHeight}moveByChar(e,n,r){return T0(this,e,pE(this,e,n,r))}moveByGroup(e,n){return T0(this,e,pE(this,e,n,r=>DI(this,e.head,r)))}visualLineSide(e,n){let r=this.bidiSpans(e),i=this.textDirectionAt(e.from),l=r[n?r.length-1:0];return z.cursor(l.side(n,i)+e.from,l.forward(!n,i)?1:-1)}moveToLineBoundary(e,n,r=!0){return CI(this,e,n,r)}moveVertically(e,n,r){return T0(this,e,kI(this,e,n,r))}domAtPos(e){return this.docView.domAtPos(e)}posAtDOM(e,n=0){return this.docView.posFromDOM(e,n)}posAtCoords(e,n=!0){return this.readMeasured(),fE(this,e,n)}coordsAtPos(e,n=1){this.readMeasured();let r=this.docView.coordsAt(e,n);if(!r||r.left==r.right)return r;let i=this.state.doc.lineAt(e),l=this.bidiSpans(i),a=l[jn.find(l,e-i.from,-1,n)];return bs(r,a.dir==Pe.LTR==n>0)}coordsForChar(e){return this.readMeasured(),this.docView.coordsForChar(e)}get defaultCharacterWidth(){return this.viewState.heightOracle.charWidth}get defaultLineHeight(){return this.viewState.heightOracle.lineHeight}get textDirection(){return this.viewState.defaultTextDirection}textDirectionAt(e){return!this.state.facet(_P)||ethis.viewport.to?this.textDirection:(this.readMeasured(),this.docView.textDirectionAt(e))}get lineWrapping(){return this.viewState.heightOracle.lineWrapping}bidiSpans(e){if(e.length>lZ)return XP(e.length);let n=this.textDirectionAt(e.from),r;for(let l of this.bidiCache)if(l.from==e.from&&l.dir==n&&(l.fresh||WP(l.isolates,r=lE(this,e))))return l.order;r||(r=lE(this,e));let i=uI(e.text,n,r);return this.bidiCache.push(new rf(e.from,e.to,n,r,!0,i)),i}get hasFocus(){var e;return(this.dom.ownerDocument.hasFocus()||U.safari&&((e=this.inputState)===null||e===void 0?void 0:e.lastContextMenu)>Date.now()-3e4)&&this.root.activeElement==this.contentDOM}focus(){this.observer.ignore(()=>{wP(this.contentDOM),this.docView.updateSelection()})}setRoot(e){this._root!=e&&(this._root=e,this.observer.setWindow((e.nodeType==9?e:e.ownerDocument).defaultView||window),this.mountStyles())}destroy(){this.root.activeElement==this.contentDOM&&this.contentDOM.blur();for(let e of this.plugins)e.destroy(this);this.plugins=[],this.inputState.destroy(),this.docView.destroy(),this.dom.remove(),this.observer.destroy(),this.measureScheduled>-1&&this.win.cancelAnimationFrame(this.measureScheduled),this.destroyed=!0}static scrollIntoView(e,n={}){return Ld.of(new Ss(typeof e=="number"?z.cursor(e):e,n.y,n.x,n.yMargin,n.xMargin))}scrollSnapshot(){let{scrollTop:e,scrollLeft:n}=this.scrollDOM,r=this.viewState.scrollAnchorAt(e);return Ld.of(new Ss(z.cursor(r.from),"start","start",r.top-e,n,!0))}setTabFocusMode(e){e==null?this.inputState.tabFocusMode=this.inputState.tabFocusMode<0?0:-1:typeof e=="boolean"?this.inputState.tabFocusMode=e?0:-1:this.inputState.tabFocusMode!=0&&(this.inputState.tabFocusMode=Date.now()+e)}static domEventHandlers(e){return He.define(()=>({}),{eventHandlers:e})}static domEventObservers(e){return He.define(()=>({}),{eventObservers:e})}static theme(e,n){let r=Zn.newName(),i=[nf.of(r),Ps.of(q0(`.${r}`,e))];return n&&n.dark&&i.push(X0.of(!0)),i}static baseTheme(e){return _i.lowest(Ps.of(q0("."+j0,e,IE)))}static findFromDOM(e){var n;let r=e.querySelector(".cm-content"),i=r&&Se.get(r)||Se.get(e);return((n=i?.rootView)===null||n===void 0?void 0:n.view)||null}},u(Rl,"EditorView"),Rl);H.styleModule=Ps,H.inputHandler=GP,H.clipboardInputFilter=S0,H.clipboardOutputFilter=C0,H.scrollHandler=eE,H.focusChangeEffect=HP,H.perLineTextDirection=_P,H.exceptionSink=KP,H.updateListener=x0,H.editable=si,H.mouseSelectionStyle=YP,H.dragMovesSelection=UP,H.clickAddsSelectionRange=qP,H.decorations=ks,H.outerDecorations=rE,H.atomicRanges=k0,H.bidiIsolatedRanges=iE,H.scrollMargins=aE,H.darkTheme=X0,H.cspNonce=G.define({combine:t=>t.length?t[0]:""}),H.contentAttributes=D0,H.editorAttributes=nE,H.lineWrapping=H.contentAttributes.of({class:"cm-lineWrapping"}),H.announce=pe.define();const lZ=4096,LE={},bp=class bp{constructor(e,n,r,i,l,a){this.from=e,this.to=n,this.dir=r,this.isolates=i,this.fresh=l,this.order=a}static update(e,n){if(n.empty&&!e.some(l=>l.fresh))return e;let r=[],i=e.length?e[e.length-1].dir:Pe.LTR;for(let l=Math.max(0,e.length-10);l=0;i--){let l=r[i],a=typeof l=="function"?l(t):l;a&&g0(a,n)}return n}u(WE,"attrsFromFacet");const aZ=U.mac?"mac":U.windows?"win":U.linux?"linux":"key";function oZ(t,e){const n=t.split(/-(?!$)/);let r=n[n.length-1];r=="Space"&&(r=" ");let i,l,a,o;for(let s=0;sr.concat(i),[]))),n}u(uZ,"getKeymap");let ci=null;const cZ=4e3;function dZ(t,e=aZ){let n=Object.create(null),r=Object.create(null),i=u((a,o)=>{let s=r[a];if(s==null)r[a]=o;else if(s!=o)throw new Error("Key binding "+a+" is used both as a regular binding and as a multi-stroke prefix")},"checkPrefix"),l=u((a,o,s,c,d)=>{var f,h;let p=n[a]||(n[a]=Object.create(null)),m=o.split(/ (?!$)/).map(b=>oZ(b,e));for(let b=1;b{let C=ci={view:$,prefix:y,scope:a};return setTimeout(()=>{ci==C&&(ci=null)},cZ),!0}]})}let g=m.join(" ");i(g,!1);let O=p[g]||(p[g]={preventDefault:!1,stopPropagation:!1,run:((h=(f=p._any)===null||f===void 0?void 0:f.run)===null||h===void 0?void 0:h.slice())||[]});s&&O.run.push(s),c&&(O.preventDefault=!0),d&&(O.stopPropagation=!0)},"add");for(let a of t){let o=a.scope?a.scope.split(" "):["editor"];if(a.any)for(let c of o){let d=n[c]||(n[c]=Object.create(null));d._any||(d._any={preventDefault:!1,stopPropagation:!1,run:[]});let{any:f}=a;for(let h in d)d[h].run.push(p=>f(p,K0))}let s=a[e]||a.key;if(s)for(let c of o)l(c,s,a.run,a.preventDefault,a.stopPropagation),a.shift&&l(c,"Shift-"+s,a.shift,a.preventDefault,a.stopPropagation)}return n}u(dZ,"buildKeymap$1");let K0=null;function fZ(t,e,n,r){K0=e;let i=yP(e),l=Ye(i,0),a=un(l)==i.length&&i!=" ",o="",s=!1,c=!1,d=!1;ci&&ci.view==n&&ci.scope==r&&(o=ci.prefix+" ",bE.indexOf(e.keyCode)<0&&(c=!0,ci=null));let f=new Set,h=u(O=>{if(O){for(let b of O.run)if(!f.has(b)&&(f.add(b),b(n)))return O.stopPropagation&&(d=!0),!0;O.preventDefault&&(O.stopPropagation&&(d=!0),c=!0)}return!1},"runFor"),p=t[r],m,g;return p&&(h(p[o+lf(i,e,!a)])?s=!0:a&&(e.altKey||e.metaKey||e.ctrlKey)&&!(U.windows&&e.ctrlKey&&e.altKey)&&(m=Er[e.keyCode])&&m!=i?(h(p[o+lf(m,e,!0)])||e.shiftKey&&(g=ms[e.keyCode])!=i&&g!=m&&h(p[o+lf(g,e,!1)]))&&(s=!0):a&&e.shiftKey&&h(p[o+lf(i,e,!0)])&&(s=!0),!s&&h(p._any)&&(s=!0)),c&&(s=!0),s&&d&&e.stopPropagation(),K0=null,s}u(fZ,"runHandlers");const yp=class yp{constructor(e,n,r,i,l){this.className=e,this.left=n,this.top=r,this.width=i,this.height=l}draw(){let e=document.createElement("div");return e.className=this.className,this.adjust(e),e}update(e,n){return n.className!=this.className?!1:(this.adjust(e),!0)}adjust(e){e.style.left=this.left+"px",e.style.top=this.top+"px",this.width!=null&&(e.style.width=this.width+"px"),e.style.height=this.height+"px"}eq(e){return this.left==e.left&&this.top==e.top&&this.width==e.width&&this.height==e.height&&this.className==e.className}static forRange(e,n,r){if(r.empty){let i=e.coordsAtPos(r.head,r.assoc||1);if(!i)return[];let l=jE(e);return[new yp(n,i.left-l.left,i.top-l.top,null,i.bottom-i.top)]}else return hZ(e,n,r)}};u(yp,"RectangleMarker");let Rs=yp;function jE(t){let e=t.scrollDOM.getBoundingClientRect();return{left:(t.textDirection==Pe.LTR?e.left:e.right-t.scrollDOM.clientWidth*t.scaleX)-t.scrollDOM.scrollLeft*t.scaleX,top:e.top-t.scrollDOM.scrollTop*t.scaleY}}u(jE,"getBase");function qE(t,e,n,r){let i=t.coordsAtPos(e,n*2);if(!i)return r;let l=t.dom.getBoundingClientRect(),a=(i.top+i.bottom)/2,o=t.posAtCoords({x:l.left+1,y:a}),s=t.posAtCoords({x:l.right-1,y:a});return o==null||s==null?r:{from:Math.max(r.from,Math.min(o,s)),to:Math.min(r.to,Math.max(o,s))}}u(qE,"wrappedLine");function hZ(t,e,n){if(n.to<=t.viewport.from||n.from>=t.viewport.to)return[];let r=Math.max(n.from,t.viewport.from),i=Math.min(n.to,t.viewport.to),l=t.textDirection==Pe.LTR,a=t.contentDOM,o=a.getBoundingClientRect(),s=jE(t),c=a.querySelector(".cm-line"),d=c&&window.getComputedStyle(c),f=o.left+(d?parseInt(d.paddingLeft)+Math.min(0,parseInt(d.textIndent)):0),h=o.right-(d?parseInt(d.paddingRight):0),p=A0(t,r),m=A0(t,i),g=p.type==yt.Text?p:null,O=m.type==yt.Text?m:null;if(g&&(t.lineWrapping||p.widgetLineBreaks)&&(g=qE(t,r,1,g)),O&&(t.lineWrapping||m.widgetLineBreaks)&&(O=qE(t,i,-1,O)),g&&O&&g.from==O.from&&g.to==O.to)return y($(n.from,n.to,g));{let w=g?$(n.from,null,g):C(p,!1),x=O?$(null,n.to,O):C(m,!0),P=[];return(g||p).to<(O||m).from-(g&&O?1:0)||p.widgetLineBreaks>1&&w.bottom+t.defaultLineHeight/2E&&B.from=R)break;F>T&&S(Math.max(I,T),w==null&&I<=E,Math.min(F,R),x==null&&F>=A,N.dir)}if(T=M.to+1,T>=R)break}return D.length==0&&S(E,w==null,A,x==null,t.textDirection),{top:v,bottom:k,horizontal:D}}u($,"drawForLine");function C(w,x){let P=o.top+(x?w.top:w.bottom);return{top:P,bottom:P,horizontal:[]}}u(C,"drawForWidget")}u(hZ,"rectanglesForRange");function pZ(t,e){return t.constructor==e.constructor&&t.eq(e)}u(pZ,"sameMarker");const v4=class v4{constructor(e,n){this.view=e,this.layer=n,this.drawn=[],this.scaleX=1,this.scaleY=1,this.measureReq={read:this.measure.bind(this),write:this.draw.bind(this)},this.dom=e.scrollDOM.appendChild(document.createElement("div")),this.dom.classList.add("cm-layer"),n.above&&this.dom.classList.add("cm-layer-above"),n.class&&this.dom.classList.add(n.class),this.scale(),this.dom.setAttribute("aria-hidden","true"),this.setOrder(e.state),e.requestMeasure(this.measureReq),n.mount&&n.mount(this.dom,e)}update(e){e.startState.facet(of)!=e.state.facet(of)&&this.setOrder(e.state),(this.layer.update(e,this.dom)||e.geometryChanged)&&(this.scale(),e.view.requestMeasure(this.measureReq))}docViewUpdate(e){this.layer.updateOnDocViewUpdate!==!1&&e.requestMeasure(this.measureReq)}setOrder(e){let n=0,r=e.facet(of);for(;n!pZ(n,this.drawn[r]))){let n=this.dom.firstChild,r=0;for(let i of e)i.update&&n&&i.constructor&&this.drawn[r].constructor&&i.update(n,this.drawn[r])?(n=n.nextSibling,r++):this.dom.insertBefore(i.draw(),n);for(;n;){let i=n.nextSibling;n.remove(),n=i}this.drawn=e}}destroy(){this.layer.destroy&&this.layer.destroy(this.dom,this.view),this.dom.remove()}};u(v4,"LayerView");let G0=v4;const of=G.define();function UE(t){return[He.define(e=>new G0(e,t)),of.of(t)]}u(UE,"layer");const YE=!U.ios,Qs=G.define({combine(t){return ii(t,{cursorBlinkRate:1200,drawRangeCursor:!0},{cursorBlinkRate:(e,n)=>Math.min(e,n),drawRangeCursor:(e,n)=>e||n})}});function mZ(t={}){return[Qs.of(t),gZ,OZ,bZ,JP.of(!0)]}u(mZ,"drawSelection");function KE(t){return t.startState.facet(Qs)!=t.state.facet(Qs)}u(KE,"configChanged");const gZ=UE({above:!0,markers(t){let{state:e}=t,n=e.facet(Qs),r=[];for(let i of e.selection.ranges){let l=i==e.selection.main;if(i.empty?!l||YE:n.drawRangeCursor){let a=l?"cm-cursor cm-cursor-primary":"cm-cursor cm-cursor-secondary",o=i.empty?i:z.cursor(i.head,i.head>i.anchor?-1:1);for(let s of Rs.forRange(t,a,o))r.push(s)}}return r},update(t,e){t.transactions.some(r=>r.selection)&&(e.style.animationName=e.style.animationName=="cm-blink"?"cm-blink2":"cm-blink");let n=KE(t);return n&&GE(t.state,e),t.docChanged||t.selectionSet||n},mount(t,e){GE(e.state,t)},class:"cm-cursorLayer"});function GE(t,e){e.style.animationDuration=t.facet(Qs).cursorBlinkRate+"ms"}u(GE,"setBlinkRate");const OZ=UE({above:!1,markers(t){return t.state.selection.ranges.map(e=>e.empty?[]:Rs.forRange(t,"cm-selectionBackground",e)).reduce((e,n)=>e.concat(n))},update(t,e){return t.docChanged||t.selectionSet||t.viewportChanged||KE(t)},class:"cm-selectionLayer"}),H0={".cm-line":{"& ::selection, &::selection":{backgroundColor:"transparent !important"}},".cm-content":{"& :focus":{caretColor:"initial !important","&::selection, & ::selection":{backgroundColor:"Highlight !important"}}}};YE&&(H0[".cm-line"].caretColor=H0[".cm-content"].caretColor="transparent !important");const bZ=_i.highest(H.theme(H0));function HE(t,e,n,r,i){e.lastIndex=0;for(let l=t.iterRange(n,r),a=n,o;!l.next().done;a+=l.value.length)if(!l.lineBreak)for(;o=e.exec(l.value);)i(a+o.index,o)}u(HE,"iterMatches");function yZ(t,e){let n=t.visibleRanges;if(n.length==1&&n[0].from==t.viewport.from&&n[0].to==t.viewport.to)return n;let r=[];for(let{from:i,to:l}of n)i=Math.max(t.state.doc.lineAt(i).from,i-e),l=Math.min(t.state.doc.lineAt(l).to,l+e),r.length&&r[r.length-1].to>=i?r[r.length-1].to=l:r.push({from:i,to:l});return r}u(yZ,"matchRanges");const $4=class $4{constructor(e){const{regexp:n,decoration:r,decorate:i,boundary:l,maxLength:a=1e3}=e;if(!n.global)throw new RangeError("The regular expression given to MatchDecorator should have its 'g' flag set");if(this.regexp=n,i)this.addMatch=(o,s,c,d)=>i(d,c,c+o[0].length,o,s);else if(typeof r=="function")this.addMatch=(o,s,c,d)=>{let f=r(o,s,c);f&&d(c,c+o[0].length,f)};else if(r)this.addMatch=(o,s,c,d)=>d(c,c+o[0].length,r);else throw new RangeError("Either 'decorate' or 'decoration' should be provided to MatchDecorator");this.boundary=l,this.maxLength=a}createDeco(e){let n=new Ji,r=n.add.bind(n);for(let{from:i,to:l}of yZ(e,this.maxLength))HE(e.state.doc,this.regexp,i,l,(a,o)=>this.addMatch(o,e,a,r));return n.finish()}updateDeco(e,n){let r=1e9,i=-1;return e.docChanged&&e.changes.iterChanges((l,a,o,s)=>{s>e.view.viewport.from&&o1e3?this.createDeco(e.view):i>-1?this.updateRange(e.view,n.map(e.changes),r,i):n}updateRange(e,n,r,i){for(let l of e.visibleRanges){let a=Math.max(l.from,r),o=Math.min(l.to,i);if(o>a){let s=e.state.doc.lineAt(a),c=s.tos.from;a--)if(this.boundary.test(s.text[a-1-s.from])){d=a;break}for(;oh.push(b.range(g,O)),"add");if(s==c)for(this.regexp.lastIndex=d-s.from;(p=this.regexp.exec(s.text))&&p.indexthis.addMatch(O,e,g,m));n=n.update({filterFrom:d,filterTo:f,filter:(g,O)=>gf,add:h})}}return n}};u($4,"MatchDecorator");let sf=$4;const _0=/x/.unicode!=null?"gu":"g",vZ=new RegExp(`[\0-\b +-\x7F-\x9F\xAD\u061C\u200B\u200E\u200F\u2028\u2029\u202D\u202E\u2066\u2067\u2069\uFEFF\uFFF9-\uFFFC]`,_0),$Z={0:"null",7:"bell",8:"backspace",10:"newline",11:"vertical tab",13:"carriage return",27:"escape",8203:"zero width space",8204:"zero width non-joiner",8205:"zero width joiner",8206:"left-to-right mark",8207:"right-to-left mark",8232:"line separator",8237:"left-to-right override",8238:"right-to-left override",8294:"left-to-right isolate",8295:"right-to-left isolate",8297:"pop directional isolate",8233:"paragraph separator",65279:"zero width no-break space",65532:"object replacement"};let J0=null;function wZ(){var t;if(J0==null&&typeof document<"u"&&document.body){let e=document.body.style;J0=((t=e.tabSize)!==null&&t!==void 0?t:e.MozTabSize)!=null}return J0||!1}u(wZ,"supportsTabSize");const uf=G.define({combine(t){let e=ii(t,{render:null,specialChars:vZ,addSpecialChars:null});return(e.replaceTabs=!wZ())&&(e.specialChars=new RegExp(" |"+e.specialChars.source,_0)),e.addSpecialChars&&(e.specialChars=new RegExp(e.specialChars.source+"|"+e.addSpecialChars.source,_0)),e}});function xZ(t={}){return[uf.of(t),SZ()]}u(xZ,"highlightSpecialChars");let _E=null;function SZ(){return _E||(_E=He.fromClass(class{constructor(t){this.view=t,this.decorations=ne.none,this.decorationCache=Object.create(null),this.decorator=this.makeDecorator(t.state.facet(uf)),this.decorations=this.decorator.createDeco(t)}makeDecorator(t){return new sf({regexp:t.specialChars,decoration:(e,n,r)=>{let{doc:i}=n.state,l=Ye(e[0],0);if(l==9){let a=i.lineAt(r),o=n.state.tabSize,s=$a(a.text,o,r-a.from);return ne.replace({widget:new tO((o-s%o)*this.view.defaultCharacterWidth/this.view.scaleX)})}return this.decorationCache[l]||(this.decorationCache[l]=ne.replace({widget:new eO(t,l)}))},boundary:t.replaceTabs?void 0:/[^]/})}update(t){let e=t.state.facet(uf);t.startState.facet(uf)!=e?(this.decorator=this.makeDecorator(e),this.decorations=this.decorator.createDeco(t.view)):this.decorations=this.decorator.updateDeco(t,this.decorations)}},{decorations:t=>t.decorations}))}u(SZ,"specialCharPlugin");const CZ="\u2022";function DZ(t){return t>=32?CZ:t==10?"\u2424":String.fromCharCode(9216+t)}u(DZ,"placeholder$1");const w4=class w4 extends Wn{constructor(e,n){super(),this.options=e,this.code=n}eq(e){return e.code==this.code}toDOM(e){let n=DZ(this.code),r=e.state.phrase("Control character")+" "+($Z[this.code]||"0x"+this.code.toString(16)),i=this.options.render&&this.options.render(this.code,r,n);if(i)return i;let l=document.createElement("span");return l.textContent=n,l.title=r,l.setAttribute("aria-label",r),l.className="cm-specialChar",l}ignoreEvent(){return!1}};u(w4,"SpecialCharWidget");let eO=w4;const x4=class x4 extends Wn{constructor(e){super(),this.width=e}eq(e){return e.width==this.width}toDOM(){let e=document.createElement("span");return e.textContent=" ",e.className="cm-tab",e.style.width=this.width+"px",e}ignoreEvent(){return!1}};u(x4,"TabWidget");let tO=x4;function kZ(){return EZ}u(kZ,"highlightActiveLine");const PZ=ne.line({class:"cm-activeLine"}),EZ=He.fromClass(class{constructor(t){this.decorations=this.getDeco(t)}update(t){(t.docChanged||t.selectionSet)&&(this.decorations=this.getDeco(t.view))}getDeco(t){let e=-1,n=[];for(let r of t.state.selection.ranges){let i=t.lineBlockAt(r.head);i.from>e&&(n.push(PZ.range(i.from)),e=i.from)}return ne.set(n)}},{decorations:t=>t.decorations}),S4=class S4 extends Wn{constructor(e){super(),this.content=e}toDOM(e){let n=document.createElement("span");return n.className="cm-placeholder",n.style.pointerEvents="none",n.appendChild(typeof this.content=="string"?document.createTextNode(this.content):typeof this.content=="function"?this.content(e):this.content.cloneNode(!0)),typeof this.content=="string"?n.setAttribute("aria-label","placeholder "+this.content):n.setAttribute("aria-hidden","true"),n}coordsAt(e){let n=e.firstChild?wa(e.firstChild):[];if(!n.length)return null;let r=window.getComputedStyle(e.parentNode),i=bs(n[0],r.direction!="rtl"),l=parseInt(r.lineHeight);return i.bottom-i.top>l*1.5?{left:i.left,right:i.right,top:i.top,bottom:i.top+l}:i}ignoreEvent(){return!1}};u(S4,"Placeholder");let nO=S4;function AZ(t){return He.fromClass(class{constructor(e){this.view=e,this.placeholder=t?ne.set([ne.widget({widget:new nO(t),side:1}).range(0)]):ne.none}get decorations(){return this.view.state.doc.length?ne.none:this.placeholder}},{decorations:e=>e.decorations})}u(AZ,"placeholder");const rO=2e3;function TZ(t,e,n){let r=Math.min(e.line,n.line),i=Math.max(e.line,n.line),l=[];if(e.off>rO||n.off>rO||e.col<0||n.col<0){let a=Math.min(e.off,n.off),o=Math.max(e.off,n.off);for(let s=r;s<=i;s++){let c=t.doc.line(s);c.length<=o&&l.push(z.range(c.from+a,c.to+o))}}else{let a=Math.min(e.col,n.col),o=Math.max(e.col,n.col);for(let s=r;s<=i;s++){let c=t.doc.line(s),d=i0(c.text,a,t.tabSize,!0);if(d<0)l.push(z.cursor(c.to));else{let f=i0(c.text,o,t.tabSize);l.push(z.range(c.from+d,c.from+f))}}}return l}u(TZ,"rectangleFor");function RZ(t,e){let n=t.coordsAtPos(t.viewport.from);return n?Math.round(Math.abs((n.left-e)/t.defaultCharacterWidth)):-1}u(RZ,"absoluteColumn");function JE(t,e){let n=t.posAtCoords({x:e.clientX,y:e.clientY},!1),r=t.state.doc.lineAt(n),i=n-r.from,l=i>rO?-1:i==r.length?RZ(t,e.clientX):$a(r.text,t.state.tabSize,n-r.from);return{line:r.number,col:l,off:i}}u(JE,"getPos");function QZ(t,e){let n=JE(t,e),r=t.state.selection;return n?{update(i){if(i.docChanged){let l=i.changes.mapPos(i.startState.doc.line(n.line).from),a=i.state.doc.lineAt(l);n={line:a.number,col:n.col,off:Math.min(n.off,a.length)},r=r.map(i.changes)}},get(i,l,a){let o=JE(t,i);if(!o)return r;let s=TZ(t.state,n,o);return s.length?a?z.create(s.concat(r.ranges)):z.create(s):r}}:null}u(QZ,"rectangleSelectionStyle");function MZ(t){let e=t?.eventFilter||(n=>n.altKey&&n.button==0);return H.mouseSelectionStyle.of((n,r)=>e(r)?QZ(n,r):null)}u(MZ,"rectangularSelection");const BZ={Alt:[18,t=>!!t.altKey],Control:[17,t=>!!t.ctrlKey],Shift:[16,t=>!!t.shiftKey],Meta:[91,t=>!!t.metaKey]},VZ={style:"cursor: crosshair"};function NZ(t={}){let[e,n]=BZ[t.key||"Alt"],r=He.fromClass(class{constructor(i){this.view=i,this.isDown=!1}set(i){this.isDown!=i&&(this.isDown=i,this.view.update([]))}},{eventObservers:{keydown(i){this.set(i.keyCode==e||n(i))},keyup(i){(i.keyCode==e||!n(i))&&this.set(!1)},mousemove(i){this.set(n(i))}}});return[r,H.contentAttributes.of(i=>{var l;return!((l=i.plugin(r))===null||l===void 0)&&l.isDown?VZ:null})]}u(NZ,"crosshairCursor");const Ms="-10000px",C4=class C4{constructor(e,n,r,i){this.facet=n,this.createTooltipView=r,this.removeTooltipView=i,this.input=e.state.facet(n),this.tooltips=this.input.filter(a=>a);let l=null;this.tooltipViews=this.tooltips.map(a=>l=r(a,l))}update(e,n){var r;let i=e.state.facet(this.facet),l=i.filter(s=>s);if(i===this.input){for(let s of this.tooltipViews)s.update&&s.update(e);return!1}let a=[],o=n?[]:null;for(let s=0;sn[c]=s),n.length=o.length),this.input=i,this.tooltips=l,this.tooltipViews=a,!0}};u(C4,"TooltipViewManager");let iO=C4;function FZ(t){let{win:e}=t;return{top:0,left:0,bottom:e.innerHeight,right:e.innerWidth}}u(FZ,"windowSpace");const lO=G.define({combine:t=>{var e,n,r;return{position:U.ios?"absolute":((e=t.find(i=>i.position))===null||e===void 0?void 0:e.position)||"fixed",parent:((n=t.find(i=>i.parent))===null||n===void 0?void 0:n.parent)||null,tooltipSpace:((r=t.find(i=>i.tooltipSpace))===null||r===void 0?void 0:r.tooltipSpace)||FZ}}}),e6=new WeakMap,t6=He.fromClass(class{constructor(t){this.view=t,this.above=[],this.inView=!0,this.madeAbsolute=!1,this.lastTransaction=0,this.measureTimeout=-1;let e=t.state.facet(lO);this.position=e.position,this.parent=e.parent,this.classes=t.themeClasses,this.createContainer(),this.measureReq={read:this.readMeasure.bind(this),write:this.writeMeasure.bind(this),key:this},this.resizeObserver=typeof ResizeObserver=="function"?new ResizeObserver(()=>this.measureSoon()):null,this.manager=new iO(t,n6,(n,r)=>this.createTooltip(n,r),n=>{this.resizeObserver&&this.resizeObserver.unobserve(n.dom),n.dom.remove()}),this.above=this.manager.tooltips.map(n=>!!n.above),this.intersectionObserver=typeof IntersectionObserver=="function"?new IntersectionObserver(n=>{Date.now()>this.lastTransaction-50&&n.length>0&&n[n.length-1].intersectionRatio<1&&this.measureSoon()},{threshold:[1]}):null,this.observeIntersection(),t.win.addEventListener("resize",this.measureSoon=this.measureSoon.bind(this)),this.maybeMeasure()}createContainer(){this.parent?(this.container=document.createElement("div"),this.container.style.position="relative",this.container.className=this.view.themeClasses,this.parent.appendChild(this.container)):this.container=this.view.dom}observeIntersection(){if(this.intersectionObserver){this.intersectionObserver.disconnect();for(let t of this.manager.tooltipViews)this.intersectionObserver.observe(t.dom)}}measureSoon(){this.measureTimeout<0&&(this.measureTimeout=setTimeout(()=>{this.measureTimeout=-1,this.maybeMeasure()},50))}update(t){t.transactions.length&&(this.lastTransaction=Date.now());let e=this.manager.update(t,this.above);e&&this.observeIntersection();let n=e||t.geometryChanged,r=t.state.facet(lO);if(r.position!=this.position&&!this.madeAbsolute){this.position=r.position;for(let i of this.manager.tooltipViews)i.dom.style.position=this.position;n=!0}if(r.parent!=this.parent){this.parent&&this.container.remove(),this.parent=r.parent,this.createContainer();for(let i of this.manager.tooltipViews)this.container.appendChild(i.dom);n=!0}else this.parent&&this.view.themeClasses!=this.classes&&(this.classes=this.container.className=this.view.themeClasses);n&&this.maybeMeasure()}createTooltip(t,e){let n=t.create(this.view),r=e?e.dom:null;if(n.dom.classList.add("cm-tooltip"),t.arrow&&!n.dom.querySelector(".cm-tooltip > .cm-tooltip-arrow")){let i=document.createElement("div");i.className="cm-tooltip-arrow",n.dom.appendChild(i)}return n.dom.style.position=this.position,n.dom.style.top=Ms,n.dom.style.left="0px",this.container.insertBefore(n.dom,r),n.mount&&n.mount(this.view),this.resizeObserver&&this.resizeObserver.observe(n.dom),n}destroy(){var t,e,n;this.view.win.removeEventListener("resize",this.measureSoon);for(let r of this.manager.tooltipViews)r.dom.remove(),(t=r.destroy)===null||t===void 0||t.call(r);this.parent&&this.container.remove(),(e=this.resizeObserver)===null||e===void 0||e.disconnect(),(n=this.intersectionObserver)===null||n===void 0||n.disconnect(),clearTimeout(this.measureTimeout)}readMeasure(){let t=this.view.dom.getBoundingClientRect(),e=1,n=1,r=!1;if(this.position=="fixed"&&this.manager.tooltipViews.length){let{dom:i}=this.manager.tooltipViews[0];if(U.gecko)r=i.offsetParent!=this.container.ownerDocument.body;else if(i.style.top==Ms&&i.style.left=="0px"){let l=i.getBoundingClientRect();r=Math.abs(l.top+1e4)>1||Math.abs(l.left)>1}}if(r||this.position=="absolute")if(this.parent){let i=this.parent.getBoundingClientRect();i.width&&i.height&&(e=i.width/this.parent.offsetWidth,n=i.height/this.parent.offsetHeight)}else({scaleX:e,scaleY:n}=this.view.viewState);return{editor:t,parent:this.parent?this.container.getBoundingClientRect():t,pos:this.manager.tooltips.map((i,l)=>{let a=this.manager.tooltipViews[l];return a.getCoords?a.getCoords(i.pos):this.view.coordsAtPos(i.pos)}),size:this.manager.tooltipViews.map(({dom:i})=>i.getBoundingClientRect()),space:this.view.state.facet(lO).tooltipSpace(this.view),scaleX:e,scaleY:n,makeAbsolute:r}}writeMeasure(t){var e;if(t.makeAbsolute){this.madeAbsolute=!0,this.position="absolute";for(let o of this.manager.tooltipViews)o.dom.style.position="absolute"}let{editor:n,space:r,scaleX:i,scaleY:l}=t,a=[];for(let o=0;o=Math.min(n.bottom,r.bottom)||f.rightMath.min(n.right,r.right)+.1){d.style.top=Ms;continue}let p=s.arrow?c.dom.querySelector(".cm-tooltip-arrow"):null,m=p?7:0,g=h.right-h.left,O=(e=e6.get(c))!==null&&e!==void 0?e:h.bottom-h.top,b=c.offset||ZZ,y=this.view.textDirection==Pe.LTR,$=h.width>r.right-r.left?y?r.left:r.right-h.width:y?Math.max(r.left,Math.min(f.left-(p?14:0)+b.x,r.right-g)):Math.min(Math.max(r.left,f.left-g+(p?14:0)-b.x),r.right-g),C=this.above[o];!s.strictSide&&(C?f.top-(h.bottom-h.top)-b.yr.bottom)&&C==r.bottom-f.bottom>f.top-r.top&&(C=this.above[o]=!C);let w=(C?f.top-r.top:r.bottom-f.bottom)-m;if(w$&&v.topx&&(x=C?v.top-O-2-m:v.bottom+m+2);if(this.position=="absolute"?(d.style.top=(x-t.parent.top)/l+"px",d.style.left=($-t.parent.left)/i+"px"):(d.style.top=x/l+"px",d.style.left=$/i+"px"),p){let v=f.left+(y?b.x:-b.x)-($+14-7);p.style.left=v/i+"px"}c.overlap!==!0&&a.push({left:$,top:x,right:P,bottom:x+O}),d.classList.toggle("cm-tooltip-above",C),d.classList.toggle("cm-tooltip-below",!C),c.positioned&&c.positioned(t.space)}}maybeMeasure(){if(this.manager.tooltips.length&&(this.view.inView&&this.view.requestMeasure(this.measureReq),this.inView!=this.view.inView&&(this.inView=this.view.inView,!this.inView)))for(let t of this.manager.tooltipViews)t.dom.style.top=Ms}},{eventObservers:{scroll(){this.maybeMeasure()}}}),IZ=H.baseTheme({".cm-tooltip":{zIndex:100,boxSizing:"border-box"},"&light .cm-tooltip":{border:"1px solid #bbb",backgroundColor:"#f5f5f5"},"&light .cm-tooltip-section:not(:first-child)":{borderTop:"1px solid #bbb"},"&dark .cm-tooltip":{backgroundColor:"#333338",color:"white"},".cm-tooltip-arrow":{height:"7px",width:`${7*2}px`,position:"absolute",zIndex:-1,overflow:"hidden","&:before, &:after":{content:"''",position:"absolute",width:0,height:0,borderLeft:"7px solid transparent",borderRight:"7px solid transparent"},".cm-tooltip-above &":{bottom:"-7px","&:before":{borderTop:"7px solid #bbb"},"&:after":{borderTop:"7px solid #f5f5f5",bottom:"1px"}},".cm-tooltip-below &":{top:"-7px","&:before":{borderBottom:"7px solid #bbb"},"&:after":{borderBottom:"7px solid #f5f5f5",top:"1px"}}},"&dark .cm-tooltip .cm-tooltip-arrow":{"&:before":{borderTopColor:"#333338",borderBottomColor:"#333338"},"&:after":{borderTopColor:"transparent",borderBottomColor:"transparent"}}}),ZZ={x:0,y:0},n6=G.define({enables:[t6,IZ]});function r6(t,e){let n=t.plugin(t6);if(!n)return null;let r=n.manager.tooltips.indexOf(e);return r<0?null:n.manager.tooltipViews[r]}u(r6,"getTooltip");const D4=class D4 extends Pr{compare(e){return this==e||this.constructor==e.constructor&&this.eq(e)}eq(e){return!1}destroy(e){}};u(D4,"GutterMarker");let xn=D4;xn.prototype.elementClass="",xn.prototype.toDOM=void 0,xn.prototype.mapMode=lt.TrackBefore,xn.prototype.startSide=xn.prototype.endSide=-1,xn.prototype.point=!0;const cf=G.define(),zZ=G.define(),LZ={class:"",renderEmptyElements:!1,elementStyle:"",markers:()=>xe.empty,lineMarker:()=>null,widgetMarker:()=>null,lineMarkerChange:null,initialSpacer:null,updateSpacer:null,domEventHandlers:{}},Bs=G.define();function WZ(t){return[i6(),Bs.of(Object.assign(Object.assign({},LZ),t))]}u(WZ,"gutter");const aO=G.define({combine:t=>t.some(e=>e)});function i6(t){let e=[XZ];return t&&t.fixed===!1&&e.push(aO.of(!0)),e}u(i6,"gutters");const XZ=He.fromClass(class{constructor(t){this.view=t,this.prevViewport=t.viewport,this.dom=document.createElement("div"),this.dom.className="cm-gutters",this.dom.setAttribute("aria-hidden","true"),this.dom.style.minHeight=this.view.contentHeight/this.view.scaleY+"px",this.gutters=t.state.facet(Bs).map(e=>new df(t,e));for(let e of this.gutters)this.dom.appendChild(e.dom);this.fixed=!t.state.facet(aO),this.fixed&&(this.dom.style.position="sticky"),this.syncGutters(!1),t.scrollDOM.insertBefore(this.dom,t.contentDOM)}update(t){if(this.updateGutters(t)){let e=this.prevViewport,n=t.view.viewport,r=Math.min(e.to,n.to)-Math.max(e.from,n.from);this.syncGutters(r<(n.to-n.from)*.8)}t.geometryChanged&&(this.dom.style.minHeight=this.view.contentHeight/this.view.scaleY+"px"),this.view.state.facet(aO)!=!this.fixed&&(this.fixed=!this.fixed,this.dom.style.position=this.fixed?"sticky":""),this.prevViewport=t.view.viewport}syncGutters(t){let e=this.dom.nextSibling;t&&this.dom.remove();let n=xe.iter(this.view.state.facet(cf),this.view.viewport.from),r=[],i=this.gutters.map(l=>new sO(l,this.view.viewport,-this.view.documentPadding.top));for(let l of this.view.viewportLineBlocks)if(r.length&&(r=[]),Array.isArray(l.type)){let a=!0;for(let o of l.type)if(o.type==yt.Text&&a){oO(n,r,o.from);for(let s of i)s.line(this.view,o,r);a=!1}else if(o.widget)for(let s of i)s.widget(this.view,o)}else if(l.type==yt.Text){oO(n,r,l.from);for(let a of i)a.line(this.view,l,r)}else if(l.widget)for(let a of i)a.widget(this.view,l);for(let l of i)l.finish();t&&this.view.scrollDOM.insertBefore(this.dom,e)}updateGutters(t){let e=t.startState.facet(Bs),n=t.state.facet(Bs),r=t.docChanged||t.heightChanged||t.viewportChanged||!xe.eq(t.startState.facet(cf),t.state.facet(cf),t.view.viewport.from,t.view.viewport.to);if(e==n)for(let i of this.gutters)i.update(t)&&(r=!0);else{r=!0;let i=[];for(let l of n){let a=e.indexOf(l);a<0?i.push(new df(this.view,l)):(this.gutters[a].update(t),i.push(this.gutters[a]))}for(let l of this.gutters)l.dom.remove(),i.indexOf(l)<0&&l.destroy();for(let l of i)this.dom.appendChild(l.dom);this.gutters=i}return r}destroy(){for(let t of this.gutters)t.destroy();this.dom.remove()}},{provide:t=>H.scrollMargins.of(e=>{let n=e.plugin(t);return!n||n.gutters.length==0||!n.fixed?null:e.textDirection==Pe.LTR?{left:n.dom.offsetWidth*e.scaleX}:{right:n.dom.offsetWidth*e.scaleX}})});function l6(t){return Array.isArray(t)?t:[t]}u(l6,"asArray");function oO(t,e,n){for(;t.value&&t.from<=n;)t.from==n&&e.push(t.value),t.next()}u(oO,"advanceCursor");const k4=class k4{constructor(e,n,r){this.gutter=e,this.height=r,this.i=0,this.cursor=xe.iter(e.markers,n.from)}addElement(e,n,r){let{gutter:i}=this,l=(n.top-this.height)/e.scaleY,a=n.height/e.scaleY;if(this.i==i.elements.length){let o=new ff(e,a,l,r);i.elements.push(o),i.dom.appendChild(o.dom)}else i.elements[this.i].update(e,a,l,r);this.height=n.bottom,this.i++}line(e,n,r){let i=[];oO(this.cursor,i,n.from),r.length&&(i=i.concat(r));let l=this.gutter.config.lineMarker(e,n,i);l&&i.unshift(l);let a=this.gutter;i.length==0&&!a.config.renderEmptyElements||this.addElement(e,n,i)}widget(e,n){let r=this.gutter.config.widgetMarker(e,n.widget,n),i=r?[r]:null;for(let l of e.state.facet(zZ)){let a=l(e,n.widget,n);a&&(i||(i=[])).push(a)}i&&this.addElement(e,n,i)}finish(){let e=this.gutter;for(;e.elements.length>this.i;){let n=e.elements.pop();e.dom.removeChild(n.dom),n.destroy()}}};u(k4,"UpdateContext");let sO=k4;const P4=class P4{constructor(e,n){this.view=e,this.config=n,this.elements=[],this.spacer=null,this.dom=document.createElement("div"),this.dom.className="cm-gutter"+(this.config.class?" "+this.config.class:"");for(let r in n.domEventHandlers)this.dom.addEventListener(r,i=>{let l=i.target,a;if(l!=this.dom&&this.dom.contains(l)){for(;l.parentNode!=this.dom;)l=l.parentNode;let s=l.getBoundingClientRect();a=(s.top+s.bottom)/2}else a=i.clientY;let o=e.lineBlockAtHeight(a-e.documentTop);n.domEventHandlers[r](e,o,i)&&i.preventDefault()});this.markers=l6(n.markers(e)),n.initialSpacer&&(this.spacer=new ff(e,0,0,[n.initialSpacer(e)]),this.dom.appendChild(this.spacer.dom),this.spacer.dom.style.cssText+="visibility: hidden; pointer-events: none")}update(e){let n=this.markers;if(this.markers=l6(this.config.markers(e.view)),this.spacer&&this.config.updateSpacer){let i=this.config.updateSpacer(this.spacer.markers[0],e);i!=this.spacer.markers[0]&&this.spacer.update(e.view,0,0,[i])}let r=e.view.viewport;return!xe.eq(this.markers,n,r.from,r.to)||(this.config.lineMarkerChange?this.config.lineMarkerChange(e):!1)}destroy(){for(let e of this.elements)e.destroy()}};u(P4,"SingleGutterView");let df=P4;const E4=class E4{constructor(e,n,r,i){this.height=-1,this.above=0,this.markers=[],this.dom=document.createElement("div"),this.dom.className="cm-gutterElement",this.update(e,n,r,i)}update(e,n,r,i){this.height!=n&&(this.height=n,this.dom.style.height=n+"px"),this.above!=r&&(this.dom.style.marginTop=(this.above=r)?r+"px":""),jZ(this.markers,i)||this.setMarkers(e,i)}setMarkers(e,n){let r="cm-gutterElement",i=this.dom.firstChild;for(let l=0,a=0;;){let o=a,s=ll(o,s,c)||a(o,s,c):a}return r}})}}),A4=class A4 extends xn{constructor(e){super(),this.number=e}eq(e){return this.number==e.number}toDOM(){return document.createTextNode(this.number)}};u(A4,"NumberMarker");let Vs=A4;function uO(t,e){return t.state.facet(ka).formatNumber(e,t.state)}u(uO,"formatNumber");const YZ=Bs.compute([ka],t=>({class:"cm-lineNumbers",renderEmptyElements:!1,markers(e){return e.state.facet(qZ)},lineMarker(e,n,r){return r.some(i=>i.toDOM)?null:new Vs(uO(e,e.state.doc.lineAt(n.from).number))},widgetMarker:(e,n,r)=>{for(let i of e.state.facet(UZ)){let l=i(e,n,r);if(l)return l}return null},lineMarkerChange:e=>e.startState.facet(ka)!=e.state.facet(ka),initialSpacer(e){return new Vs(uO(e,a6(e.state.doc.lines)))},updateSpacer(e,n){let r=uO(n.view,a6(n.view.state.doc.lines));return r==e.number?e:new Vs(r)},domEventHandlers:t.facet(ka).domEventHandlers}));function KZ(t={}){return[ka.of(t),i6(),YZ]}u(KZ,"lineNumbers");function a6(t){let e=9;for(;e{let e=[],n=-1;for(let r of t.selection.ranges){let i=t.doc.lineAt(r.head).from;i>n&&(n=i,e.push(GZ.range(i)))}return xe.of(e)});function _Z(){return HZ}u(_Z,"highlightActiveLineGutter");var JZ=Object.defineProperty,Ns=u((t,e)=>JZ(t,"name",{value:e,configurable:!0}),"d$a");const o6=Ns((t,e="",n=!1,r=[],i=(o,s)=>s[o]??o,l={},a="")=>new H({doc:e,parent:t,extensions:[AZ(a),He.fromClass(class{constructor(o){this.items=tz(r),this.placeholders=this.matchResults(this.items).createDeco(o)}update(o){this.placeholders=this.matchResults(this.items).updateDeco(o,this.placeholders)}matchResults(o){return new sf({regexp:I2,decoration:(s,c,d)=>ne.replace({widget:new nz(s[1],i(s[1],o),()=>c.dispatch({changes:{from:d,to:d+s[1].length+4}}),l)})})}},{decorations:o=>o.placeholders,provide:o=>H.atomicRanges.of(s=>s.plugin(o)?.placeholders||ne.none)}),H.updateListener.of(o=>{if(l.inputMask){if(o.focusChanged)o.state.doc.toString().includes("_")?o.view.dispatch({changes:{from:0,to:o.state.doc.length,insert:""}}):o.state.doc.toString().length===0&&o.view.hasFocus&&s6(o,l.inputMask);else if(o.docChanged&&o.view.hasFocus&&s6(o,l.inputMask))return}o.docChanged&&n&&n(o.state.doc.toString())}),H.theme({".cm-scroller":{fontFamily:"inherit",alignItems:"center !important"},"&.cm-editor.cm-focused":{outline:"none"}}),Be.readOnly.of(l.readOnly??!1),H.contentAttributes.of({contenteditable:!(l.readOnly??!1)})]}),"createInput");var cO=!1;const s6=Ns((t,e)=>{if(t.state.doc.toString().length===0){let n="";for(const r of e)n+=r==="a"||r==="9"||r==="*"?"_":r;t.view.dispatch({changes:{from:0,to:t.state.doc.length,insert:n}})}else{if(t.startState.doc.toString()===""||cO)return cO=!1,!1;const n=t.startState.doc.toString().split("");let r;return t.changes.iterChanges((i,l,a,o)=>{const s=t.state.doc.sliceString(a,o).split("");let c=Math.min(Math.max(l,o),n.length),d=Math.min(i,a);r=s.length>0?c:d;let f=0,h=!1;for(;d!==c;){let p=e[d],m=s[f];switch(p){case"a":m&&m.match(/[a-zA-Z]/)?(n[d]=m,f+=1):(n[d]="_",h||(h=!0,r=d));break;case"9":m&&m.match(/[0-9]/)?(n[d]=m,f+=1):(n[d]="_",h||(h=!0,r=d));break;case"*":m&&m.match(/[a-zA-Z0-9]/)?(n[d]=m,f+=1):(n[d]="_",h||(h=!0,r=d));break;default:n[d]=p;break}d+=1}}),cO=!0,t.view.dispatch({changes:{from:0,to:t.state.doc.length,insert:n.join("")},selection:{anchor:r,head:r}}),!0}},"handleMasking"),ez=Ns((t,e)=>{if(t.length!==e.length)return!1;for(let n=0;nArray.isArray(t)?t.reduce((e,n)=>({...e,...n.choices??{}}),{}):t,"getItemsObject"),u6=(Ju=class extends Wn{constructor(e,n,r,i){super(e),this.value=e,this.label=n,this.onRemove=r,this.config=i}toDOM(){const e=document.createElement("span");if(e.setAttribute("class","tf-dynamic-text-item"),e.setAttribute("data-id",this.value),e.textContent=this.label,this.config?.readOnly===!0)return e;const n=document.createElement("span");return n.setAttribute("class","tf-dynamic-text-item-delete"),n.addEventListener("click",this.onRemove),e.appendChild(n),e}},u(Ju,"k"),Ju);Ns(u6,"DynamicString");let nz=u6;var rz=Object.defineProperty,c6=u((t,e)=>rz(t,"name",{value:e,configurable:!0}),"x$3");const iz=wp.element.forwardRef(({inputProps:t,...e},n)=>{const r=wp.element.useRef();let i=e.value??"";if((e.prefix||e.suffix)&&(e.prefix&&!i.startsWith(e.prefix)&&(i=e.prefix+i),e.suffix&&!i.endsWith(e.suffix)&&(i=i+e.suffix)),e.inputMask){const c=e.prefix?e.prefix.length:0,d=e.suffix?i.length-e.suffix.length:i.length;i=ez(i.slice(c,d),e.inputMask)?i:""}const[l,a]=wp.element.useState(i);wp.element.useEffect(()=>{let c=l;e.prefix&&(c=c.slice(e.prefix.length)),e.suffix&&(c=c.slice(0,c.length-e.suffix.length)),r.current=r.current??o6(n.current,c,d=>{a(`${e.prefix??""}${d}${e.suffix??""}`)},e.choices,o,{readOnly:e.readOnly??!1,inputMask:e.inputMask&&e.inputMask!==""?e.inputMask:null},e.placeholder??"")},[n.current]),wp.element.useEffect(()=>{if(e.suffix){const c=document.createElement("span");c.textContent=e.suffix,c.setAttribute("class","tf-dynamic-text-input__affix tf-dynamic-text-input__affix--suffix"),n.current.appendChild(c)}if(e.prefix){const c=document.createElement("span");c.textContent=e.prefix,c.setAttribute("class","tf-dynamic-text-input__affix tf-dynamic-text-input__affix--prefix"),n.current.insertBefore(c,n.current.children[0])}},[]);const o=c6(c=>{const d=e.dynamic.parse(c);return d&&d.type?e.dynamic.getLabel(d.type):c},"getDynamicValueLabel");wp.element.useEffect(()=>e.onChange&&e.onChange(l),[l]);const s=c6(c=>{r.current.dispatch({changes:{from:r.current.state.doc.length,insert:`${c}`}})},"insertDynamicValue");return!e.inputMask&&e.dynamic&&e.dynamic.getMode()==="replace"?wp.element.createElement(cs,{...e,config:e.dynamic??"",value:l,onValueSelection:a,onValueRemove:()=>{r.current=null,a("")},inputProps:t,readOnly:e.readOnly??!1,buttonType:"inside"},wp.element.createElement("input",{...t,type:"hidden",value:l}),wp.element.createElement("div",{ref:n,className:`tf-dynamic-text-input${e.prefix?" tf-dynamic-text-input--has-prefix":""}${e.suffix?" tf-dynamic-text-input--has-suffix":""}`})):wp.element.createElement(Uk,{config:e.dynamic??"",onValueSelection:s,buttonType:"inside",readOnly:e.readOnly??!1,inputMasking:e.inputMask},wp.element.createElement("input",{...t,type:"hidden",value:l}),wp.element.createElement("div",{ref:n,className:`tf-dynamic-text-input${e.prefix?" tf-dynamic-text-input--has-prefix":""}${e.suffix?" tf-dynamic-text-input--has-suffix":""}`}))});var lz=Object.defineProperty,az=u((t,e)=>lz(t,"name",{value:e,configurable:!0}),"l$f");const hf=az(t=>{const{locale:e}=Ee(),[n,r]=wp.element.useState(t.value??""),i=IB({...t,locale:e}),l=wp.element.useRef(),{labelProps:a,descriptionProps:o,groupProps:s,inputProps:c,incrementButtonProps:d,decrementButtonProps:f}=HB(t,i,l);wp.element.useEffect(()=>t.onChange&&t.onChange(n),[n]);const h=t.hasButtons??!0,p=t.readOnly??!1;return wp.element.createElement("div",{className:"tf-number","data-enabled":!t.readOnly},t.label&&wp.element.createElement(we,{labelProps:a,parent:t},t.label),wp.element.createElement("div",{className:"tf-number-field",...s},wp.element.createElement(cs,{...t,value:n,onValueSelection:r,ref:l,inputProps:c},wp.element.createElement("input",{...c,value:Number.isInteger(i.numberValue)?i.numberValue:0,ref:l,name:t.name??"",disabled:p}),h&&wp.element.createElement("div",{className:"tf-number-button-group"},wp.element.createElement(oe,{type:"number",...d,isDisabled:p},"+"),wp.element.createElement(oe,{type:"number",...f,isDisabled:p},"-")))),t.description&&wp.element.createElement($e,{descriptionProps:o,parent:t},t.description))},"NumberComponent");var oz=Object.defineProperty,sz=u((t,e)=>oz(t,"name",{value:e,configurable:!0}),"r$c");const Fs=sz(t=>{const e=KN(t),n=wp.element.useRef(),r=wp.element.useRef(),i=wp.element.useRef(),{labelProps:l,descriptionProps:a,triggerProps:o,valueProps:s,menuProps:c}=qV(t,e,n);return wp.element.createElement("div",{className:"tf-select",ref:i},t.label&&wp.element.createElement(we,{labelProps:l,parent:t},t.label),wp.element.createElement(YV,{state:e,triggerRef:n,label:t.label,name:t.name}),wp.element.createElement(oe,{type:"select",...o,ref:n,onKeyDown:d=>d.code==="Space"?e.toggle():o.onKeyDown(d)},wp.element.createElement("span",{...s,className:"tf-select__value"},e.selectedItem?e.selectedItem.rendered:t.placeholder??"Select an option"),wp.element.createElement("span",{"aria-hidden":"true",className:"tf-select-icon"},"\u25BC")),e.isOpen&&wp.element.createElement(kr,{state:e,triggerRef:n,placement:"bottom start",style:{width:i?.current?.offsetWidth}},wp.element.createElement(Rg,{...c,listBoxRef:r,state:e,items:t.items})),t.description&&wp.element.createElement($e,{descriptionProps:a,parent:t},t.description))},"Select");var uz=Object.defineProperty,Is=u((t,e)=>uz(t,"name",{value:e,configurable:!0}),"n$c");const d6=Is(t=>{const e=t.units??["px"],n=t.linked==="toggle"||t.linked===void 0,{labelProps:r,fieldProps:i,descriptionProps:l}=mt(t),[a,o]=wp.element.useState(yn(t.value??"",{top:0,left:0,right:0,bottom:0,unit:e[0],isLinked:!1}));wp.element.useEffect(()=>t.onChange&&t.onChange(a),[a]),wp.element.useEffect(()=>{a.isLinked&&c(a.top)},[a.isLinked]);const s=Is((p,m)=>{o({...a,[m]:p})},"setAttribute"),c=Is(p=>{o({...a,top:p,left:p,right:p,bottom:p})},"setLinkedPosition"),d=Is(p=>{o({...a,isLinked:p})},"setIsLinked"),f=Is(()=>n?a.isLinked??!1:t.linked,"isLinked");let h="tf-dimensions-number-groups";return f()&&(h+=" tf-dimensions-number-groups-linked"),wp.element.createElement("div",{className:"tf-dimensions"},t.label&&wp.element.createElement(we,{labelProps:r,parent:t},t.label),wp.element.createElement("input",{type:"hidden",name:t.name??"",value:JSON.stringify(a),...i}),wp.element.createElement("div",{className:"tf-dimensions-container"},wp.element.createElement("div",{className:h},["top","left","right","bottom"].map(p=>wp.element.createElement(hf,{key:p,value:a[p]??0,name:p,description:!1,label:`Value for ${p} position`,labelVisuallyHidden:!0,onChange:m=>f()?c(m):s(m,p)}))),wp.element.createElement(Fs,{label:"Dimensions unit",labelVisuallyHidden:!0,description:!1,selectedKey:a.unit??"px",onSelectionChange:p=>s(p,"unit"),placeholder:"unit"},e.map(p=>wp.element.createElement(Sr,{key:p},p))),n&&wp.element.createElement(oe,{type:"action",onPress:()=>d(!a.isLinked)},wp.element.createElement("span",{className:"dashicons dashicons-admin-links"}))),t.description&&wp.element.createElement($e,{descriptionProps:l,parent:t},t.description))},"Dimensions");var cz=Object.defineProperty,f6=u((t,e)=>cz(t,"name",{value:e,configurable:!0}),"a$c");const dz=f6(t=>{const e=t.units??["px"],n=t.format??"hex",{labelProps:r,fieldProps:i,descriptionProps:l}=mt(t),[a,o]=wp.element.useState(yn(t.value??"",{dimensions:{top:0,left:0,right:0,bottom:0,unit:e[0],isLinked:!1},color:"rgba(0,0,0,1)"}));wp.element.useEffect(()=>t.onChange&&t.onChange(a),[a]);const s=f6(c=>{o(typeof c=="string"?d=>({...d,color:c}):d=>({...d,dimensions:{...d.dimensions,...c}}))},"handleData");return wp.element.createElement("div",{className:"tf-border"},t.label&&wp.element.createElement(we,{labelProps:r,parent:t},t.label),wp.element.createElement("input",{type:"hidden",name:t.name??"",value:JSON.stringify(a),...i}),wp.element.createElement("div",{className:"tf-border-container"},wp.element.createElement("div",{className:"tf-border-dimensions-container"},wp.element.createElement(d6,{label:"Border dimensions",labelVisuallyHidden:!0,onChange:s,linked:t.linked,units:e,value:a.dimensions})),wp.element.createElement("div",{className:"tf-border-color-picker-container"},wp.element.createElement($T,{label:"Border Color",labelVisuallyHidden:!0,onChange:s,value:a.color,format:n,hasAlpha:t.hasAlpha??!0}))),t.description&&wp.element.createElement($e,{descriptionProps:l,parent:t},t.description))},"Border");var fz=Object.defineProperty,hz=u((t,e)=>fz(t,"name",{value:e,configurable:!0}),"n$b");const pz=hz(t=>{const e=wp.element.useContext(t.context),n=wp.element.useRef(null),{inputProps:r}=M2(t,e,n);let i="tf-button-group-option";return e.selectedValue===t.value&&(i+=" tf-button-group-option-selected"),wp.element.createElement("label",{className:i},wp.element.createElement(on,null,wp.element.createElement("input",{...r,ref:n})),t.children)},"ButtonOption");var mz=Object.defineProperty,gz=u((t,e)=>mz(t,"name",{value:e,configurable:!0}),"n$a");const h6=wp.element.createContext(null),Oz=gz(t=>{const e=Zk(t),n=Jr(t.choices??{}),{radioGroupProps:r,labelProps:i,descriptionProps:l}=B2(t,e);return wp.element.useEffect(()=>{t.onChange&&t.onChange(e.selectedValue)},[e.selectedValue]),wp.element.createElement("div",{className:"tf-button-group"},t.label&&wp.element.createElement(we,{labelProps:i,parent:t},t.label),wp.element.createElement("div",{className:"tf-button-group-container",...r},wp.element.createElement(h6.Provider,{value:e},n.map(a=>wp.element.createElement(pz,{key:a.value,context:h6,...a},t.use_dashicon?wp.element.createElement("span",{className:`dashicons dashicons-${a.label}`}):a.label)))),t.description&&wp.element.createElement($e,{descriptionProps:l,parent:t},t.description))},"ButtonGroup");var bz=Object.defineProperty,yz=u((t,e)=>bz(t,"name",{value:e,configurable:!0}),"i$f");const pf=yz(t=>{const e=Ew(t),n=wp.element.useRef(),{inputProps:r}=vB({...t,children:t.label??!1},e,n),{labelProps:i,descriptionProps:l}=mt(t);wp.element.useEffect(()=>t.onChange&&t.onChange(e.isSelected),[e.isSelected]),wp.element.useEffect(()=>{t.value==="1"&&e.setSelected(!0),typeof t.value=="boolean"&&t.value!==e.isSelected&&e.setSelected(t.value)},[t.value]);const a=t?.labelVisuallyHidden?on:wp.element.Fragment;return wp.element.createElement("div",{className:"tf-checkbox"},wp.element.createElement(we,{labelProps:i,parent:{...t,labelVisuallyHidden:!1}},wp.element.createElement("input",{...r,ref:n,id:t.name??""}),wp.element.createElement("input",{type:"hidden",name:t.name??"",value:e.isSelected?"1":"0"}),wp.element.createElement(a,null,t.label??"")),t.description&&wp.element.createElement($e,{descriptionProps:l,parent:t},t.description))},"Checkbox"),p6=1024;let vz=0;const T4=class T4{constructor(e,n){this.from=e,this.to=n}};u(T4,"Range");let Tt=T4;const R4=class R4{constructor(e={}){this.id=vz++,this.perNode=!!e.perNode,this.deserialize=e.deserialize||(()=>{throw new Error("This node type doesn't define a deserialize function")})}add(e){if(this.perNode)throw new RangeError("Can't add per-node props to node types");return typeof e!="function"&&(e=Xt.match(e)),n=>{let r=e(n);return r===void 0?null:[this,r]}}};u(R4,"NodeProp");let se=R4;se.closedBy=new se({deserialize:t=>t.split(" ")}),se.openedBy=new se({deserialize:t=>t.split(" ")}),se.group=new se({deserialize:t=>t.split(" ")}),se.isolate=new se({deserialize:t=>{if(t&&t!="rtl"&&t!="ltr"&&t!="auto")throw new RangeError("Invalid value for isolate: "+t);return t||"auto"}}),se.contextHash=new se({perNode:!0}),se.lookAhead=new se({perNode:!0}),se.mounted=new se({perNode:!0});const Q4=class Q4{constructor(e,n,r){this.tree=e,this.overlay=n,this.parser=r}static get(e){return e&&e.props&&e.props[se.mounted.id]}};u(Q4,"MountedTree");let ll=Q4;const $z=Object.create(null);let Xt=(ho=class{constructor(e,n,r,i=0){this.name=e,this.props=n,this.id=r,this.flags=i}static define(e){let n=e.props&&e.props.length?Object.create(null):$z,r=(e.top?1:0)|(e.skipped?2:0)|(e.error?4:0)|(e.name==null?8:0),i=new ho(e.name||"",n,e.id,r);if(e.props){for(let l of e.props)if(Array.isArray(l)||(l=l(i)),l){if(l[0].perNode)throw new RangeError("Can't store a per-node prop on a node type");n[l[0].id]=l[1]}}return i}prop(e){return this.props[e.id]}get isTop(){return(this.flags&1)>0}get isSkipped(){return(this.flags&2)>0}get isError(){return(this.flags&4)>0}get isAnonymous(){return(this.flags&8)>0}is(e){if(typeof e=="string"){if(this.name==e)return!0;let n=this.prop(se.group);return n?n.indexOf(e)>-1:!1}return this.id==e}static match(e){let n=Object.create(null);for(let r in e)for(let i of r.split(" "))n[i]=e[r];return r=>{for(let i=r.prop(se.group),l=-1;l<(i?i.length:0);l++){let a=n[l<0?r.name:i[l]];if(a)return a}}}},u(ho,"NodeType"),ho);Xt.none=new Xt("",Object.create(null),0,8);const vp=class vp{constructor(e){this.types=e;for(let n=0;n0;for(let s=this.cursor(a|Ce.IncludeAnonymous);;){let c=!1;if(s.from<=l&&s.to>=i&&(!o&&s.type.isAnonymous||n(s)!==!1)){if(s.firstChild())continue;c=!0}for(;c&&r&&(o||!s.type.isAnonymous)&&r(s),!s.nextSibling();){if(!s.parent())return;c=!0}}}prop(e){return e.perNode?this.props?this.props[e.id]:void 0:this.type.prop(e)}get propValues(){let e=[];if(this.props)for(let n in this.props)e.push([+n,this.props[n]]);return e}balance(e={}){return this.children.length<=8?this:OO(Xt.none,this.children,this.positions,0,this.children.length,0,this.length,(n,r,i)=>new ec(this.type,n,r,i,this.propValues),e.makeTree||((n,r,i)=>new ec(Xt.none,n,r,i)))}static build(e){return xz(e)}};u(ec,"Tree");let Re=ec;Re.empty=new Re(Xt.none,[],[],0);const $p=class $p{constructor(e,n){this.buffer=e,this.index=n}get id(){return this.buffer[this.index-4]}get start(){return this.buffer[this.index-3]}get end(){return this.buffer[this.index-2]}get size(){return this.buffer[this.index-1]}get pos(){return this.index}next(){this.index-=4}fork(){return new $p(this.buffer,this.index)}};u($p,"FlatBufferCursor");let fO=$p;const xp=class xp{constructor(e,n,r){this.buffer=e,this.length=n,this.set=r}get type(){return Xt.none}toString(){let e=[];for(let n=0;n0));s=a[s+3]);return o}slice(e,n,r){let i=this.buffer,l=new Uint16Array(n-e),a=0;for(let o=e,s=0;o=e&&ne;case 1:return n<=e&&r>e;case 2:return r>e;case 4:return!0}}u(g6,"checkSide");function Zs(t,e,n,r){for(var i;t.from==t.to||(n<1?t.from>=e:t.from>e)||(n>-1?t.to<=e:t.to0?o.length:-1;e!=c;e+=n){let d=o[e],f=s[e]+a.from;if(g6(i,r,f,f+d.length)){if(d instanceof di){if(l&Ce.ExcludeBuffers)continue;let h=d.findChild(0,d.buffer.length,n,r-f,i);if(h>-1)return new al(new pO(a,d,e,f),null,h)}else if(l&Ce.IncludeAnonymous||!d.type.isAnonymous||gO(d)){let h;if(!(l&Ce.IgnoreMounts)&&(h=ll.get(d))&&!h.overlay)return new po(h.tree,f,e,a);let p=new po(d,f,e,a);return l&Ce.IncludeAnonymous||!p.type.isAnonymous?p:p.nextChild(n<0?d.children.length-1:0,n,r,i)}}}if(l&Ce.IncludeAnonymous||!a.type.isAnonymous||(a.index>=0?e=a.index+n:e=n<0?-1:a._parent._tree.children.length,a=a._parent,!a))return null}}get firstChild(){return this.nextChild(0,1,0,4)}get lastChild(){return this.nextChild(this._tree.children.length-1,-1,0,4)}childAfter(e){return this.nextChild(0,1,e,2)}childBefore(e){return this.nextChild(this._tree.children.length-1,-1,e,-2)}enter(e,n,r=0){let i;if(!(r&Ce.IgnoreOverlays)&&(i=ll.get(this._tree))&&i.overlay){let l=e-this.from;for(let{from:a,to:o}of i.overlay)if((n>0?a<=l:a=l:o>l))return new po(i.tree,i.overlay[0].from+this.from,-1,this)}return this.nextChild(0,1,e,n,r)}nextSignificantParent(){let e=this;for(;e.type.isAnonymous&&e._parent;)e=e._parent;return e}get parent(){return this._parent?this._parent.nextSignificantParent():null}get nextSibling(){return this._parent&&this.index>=0?this._parent.nextChild(this.index+1,1,0,4):null}get prevSibling(){return this._parent&&this.index>=0?this._parent.nextChild(this.index-1,-1,0,4):null}get tree(){return this._tree}toTree(){return this._tree}toString(){return this._tree.toString()}};u(po,"TreeNode");let Rt=po;function O6(t,e,n,r){let i=t.cursor(),l=[];if(!i.firstChild())return l;if(n!=null){for(let a=!1;!a;)if(a=i.type.is(n),!i.nextSibling())return l}for(;;){if(r!=null&&i.type.is(r))return l;if(i.type.is(e)&&l.push(i.node),!i.nextSibling())return r==null?l:[]}}u(O6,"getChildren");function hO(t,e,n=e.length-1){for(let r=t.parent;n>=0;r=r.parent){if(!r)return!1;if(!r.type.isAnonymous){if(e[n]&&e[n]!=r.name)return!1;n--}}return!0}u(hO,"matchNodeContext");const B4=class B4{constructor(e,n,r,i){this.parent=e,this.buffer=n,this.index=r,this.start=i}};u(B4,"BufferContext");let pO=B4;const Ql=class Ql extends gf{get name(){return this.type.name}get from(){return this.context.start+this.context.buffer.buffer[this.index+1]}get to(){return this.context.start+this.context.buffer.buffer[this.index+2]}constructor(e,n,r){super(),this.context=e,this._parent=n,this.index=r,this.type=e.buffer.set.types[e.buffer.buffer[r]]}child(e,n,r){let{buffer:i}=this.context,l=i.findChild(this.index+4,i.buffer[this.index+3],e,n-this.context.start,r);return l<0?null:new Ql(this.context,this,l)}get firstChild(){return this.child(1,0,4)}get lastChild(){return this.child(-1,0,4)}childAfter(e){return this.child(1,e,2)}childBefore(e){return this.child(-1,e,-2)}enter(e,n,r=0){if(r&Ce.ExcludeBuffers)return null;let{buffer:i}=this.context,l=i.findChild(this.index+4,i.buffer[this.index+3],n>0?1:-1,e-this.context.start,n);return l<0?null:new Ql(this.context,this,l)}get parent(){return this._parent||this.context.parent.nextSignificantParent()}externalSibling(e){return this._parent?null:this.context.parent.nextChild(this.context.index+e,e,0,4)}get nextSibling(){let{buffer:e}=this.context,n=e.buffer[this.index+3];return n<(this._parent?e.buffer[this._parent.index+3]:e.buffer.length)?new Ql(this.context,this._parent,n):this.externalSibling(1)}get prevSibling(){let{buffer:e}=this.context,n=this._parent?this._parent.index+4:0;return this.index==n?this.externalSibling(-1):new Ql(this.context,this._parent,e.findChild(n,this.index,-1,0,4))}get tree(){return null}toTree(){let e=[],n=[],{buffer:r}=this.context,i=this.index+4,l=r.buffer[this.index+3];if(l>i){let a=r.buffer[this.index+1];e.push(r.slice(i,l,a)),n.push(0)}return new Re(this.type,e,n,this.to-this.from)}toString(){return this.context.buffer.childString(this.index)}};u(Ql,"BufferNode");let al=Ql;function b6(t){if(!t.length)return null;let e=0,n=t[0];for(let l=1;ln.from||a.to=e){let o=new Rt(a.tree,a.overlay[0].from+l.from,-1,l);(i||(i=[r])).push(Zs(o,e,n,!1))}}return i?b6(i):r}u(wz,"stackIterator");const N4=class N4{get name(){return this.type.name}constructor(e,n=0){if(this.mode=n,this.buffer=null,this.stack=[],this.index=0,this.bufferNode=null,e instanceof Rt)this.yieldNode(e);else{this._tree=e.context.parent,this.buffer=e.context;for(let r=e._parent;r;r=r._parent)this.stack.unshift(r.index);this.bufferNode=e,this.yieldBuf(e.index)}}yieldNode(e){return e?(this._tree=e,this.type=e.type,this.from=e.from,this.to=e.to,!0):!1}yieldBuf(e,n){this.index=e;let{start:r,buffer:i}=this.buffer;return this.type=n||i.set.types[i.buffer[e]],this.from=r+i.buffer[e+1],this.to=r+i.buffer[e+2],!0}yield(e){return e?e instanceof Rt?(this.buffer=null,this.yieldNode(e)):(this.buffer=e.context,this.yieldBuf(e.index,e.type)):!1}toString(){return this.buffer?this.buffer.buffer.childString(this.index):this._tree.toString()}enterChild(e,n,r){if(!this.buffer)return this.yield(this._tree.nextChild(e<0?this._tree._tree.children.length-1:0,e,n,r,this.mode));let{buffer:i}=this.buffer,l=i.findChild(this.index+4,i.buffer[this.index+3],e,n-this.buffer.start,r);return l<0?!1:(this.stack.push(this.index),this.yieldBuf(l))}firstChild(){return this.enterChild(1,0,4)}lastChild(){return this.enterChild(-1,0,4)}childAfter(e){return this.enterChild(1,e,2)}childBefore(e){return this.enterChild(-1,e,-2)}enter(e,n,r=this.mode){return this.buffer?r&Ce.ExcludeBuffers?!1:this.enterChild(1,e,n):this.yield(this._tree.enter(e,n,r))}parent(){if(!this.buffer)return this.yieldNode(this.mode&Ce.IncludeAnonymous?this._tree._parent:this._tree.parent);if(this.stack.length)return this.yieldBuf(this.stack.pop());let e=this.mode&Ce.IncludeAnonymous?this.buffer.parent:this.buffer.parent.nextSignificantParent();return this.buffer=null,this.yieldNode(e)}sibling(e){if(!this.buffer)return this._tree._parent?this.yield(this._tree.index<0?null:this._tree._parent.nextChild(this._tree.index+e,e,0,4,this.mode)):!1;let{buffer:n}=this.buffer,r=this.stack.length-1;if(e<0){let i=r<0?0:this.stack[r]+4;if(this.index!=i)return this.yieldBuf(n.findChild(i,this.index,-1,0,4))}else{let i=n.buffer[this.index+3];if(i<(r<0?n.buffer.length:n.buffer[this.stack[r]+3]))return this.yieldBuf(i)}return r<0?this.yield(this.buffer.parent.nextChild(this.buffer.index+e,e,0,4,this.mode)):!1}nextSibling(){return this.sibling(1)}prevSibling(){return this.sibling(-1)}atLastNode(e){let n,r,{buffer:i}=this;if(i){if(e>0){if(this.index-1)for(let l=n+e,a=e<0?-1:r._tree.children.length;l!=a;l+=e){let o=r._tree.children[l];if(this.mode&Ce.IncludeAnonymous||o instanceof di||!o.type.isAnonymous||gO(o))return!1}return!0}move(e,n){if(n&&this.enterChild(e,0,4))return!0;for(;;){if(this.sibling(e))return!0;if(this.atLastNode(e)||!this.parent())return!1}}next(e=!0){return this.move(1,e)}prev(e=!0){return this.move(-1,e)}moveTo(e,n=0){for(;(this.from==this.to||(n<1?this.from>=e:this.from>e)||(n>-1?this.to<=e:this.to=0;){for(let a=e;a;a=a._parent)if(a.index==i){if(i==this.index)return a;n=a,r=l+1;break e}i=this.stack[--l]}for(let i=r;i=0;l--){if(l<0)return hO(this.node,e,i);let a=r[n.buffer[this.stack[l]]];if(!a.isAnonymous){if(e[i]&&e[i]!=a.name)return!1;i--}}return!0}};u(N4,"TreeCursor");let Pa=N4;function gO(t){return t.children.some(e=>e instanceof di||!e.type.isAnonymous||gO(e))}u(gO,"hasChild");function xz(t){var e;let{buffer:n,nodeSet:r,maxBufferLength:i=p6,reused:l=[],minRepeatType:a=r.types.length}=t,o=Array.isArray(n)?new fO(n,n.length):n,s=r.types,c=0,d=0;function f(w,x,P,v,k,D){let{id:S,start:E,end:A,size:B}=o,T=d;for(;B<0;)if(o.next(),B==-1){let F=l[S];P.push(F),v.push(E-w);return}else if(B==-3){c=S;return}else if(B==-4){d=S;return}else throw new RangeError(`Unrecognized record size: ${B}`);let R=s[S],M,N,I=E-w;if(A-E<=i&&(N=O(o.pos-x,k))){let F=new Uint16Array(N.size-N.skip),V=o.pos-N.size,Z=F.length;for(;o.pos>V;)Z=b(N.start,F,Z);M=new di(F,A-N.start,r),I=N.start-w}else{let F=o.pos-B;o.next();let V=[],Z=[],_=S>=a?S:-1,W=0,re=A;for(;o.pos>F;)_>=0&&o.id==_&&o.size>=0?(o.end<=re-i&&(m(V,Z,E,W,o.end,re,_,T),W=V.length,re=o.end),o.next()):D>2500?h(E,F,V,Z):f(E,F,V,Z,_,D+1);if(_>=0&&W>0&&W-1&&W>0){let fe=p(R);M=OO(R,V,Z,0,V.length,0,A-E,fe,fe)}else M=g(R,V,Z,A-E,T-A)}P.push(M),v.push(I)}u(f,"takeNode");function h(w,x,P,v){let k=[],D=0,S=-1;for(;o.pos>x;){let{id:E,start:A,end:B,size:T}=o;if(T>4)o.next();else{if(S>-1&&A=0;B-=3)E[T++]=k[B],E[T++]=k[B+1]-A,E[T++]=k[B+2]-A,E[T++]=T;P.push(new di(E,k[2]-A,r)),v.push(A-w)}}u(h,"takeFlatNode");function p(w){return(x,P,v)=>{let k=0,D=x.length-1,S,E;if(D>=0&&(S=x[D])instanceof Re){if(!D&&S.type==w&&S.length==v)return S;(E=S.prop(se.lookAhead))&&(k=P[D]+S.length+E)}return g(w,x,P,v,k)}}u(p,"makeBalanced");function m(w,x,P,v,k,D,S,E){let A=[],B=[];for(;w.length>v;)A.push(w.pop()),B.push(x.pop()+P-k);w.push(g(r.types[S],A,B,D-k,E-D)),x.push(k-P)}u(m,"makeRepeatLeaf");function g(w,x,P,v,k=0,D){if(c){let S=[se.contextHash,c];D=D?[S].concat(D):[S]}if(k>25){let S=[se.lookAhead,k];D=D?[S].concat(D):[S]}return new Re(w,x,P,v,D)}u(g,"makeTree");function O(w,x){let P=o.fork(),v=0,k=0,D=0,S=P.end-i,E={size:0,start:0,skip:0};e:for(let A=P.pos-w;P.pos>A;){let B=P.size;if(P.id==x&&B>=0){E.size=v,E.start=k,E.skip=D,D+=4,v+=4,P.next();continue}let T=P.pos-B;if(B<0||T=a?4:0,M=P.start;for(P.next();P.pos>T;){if(P.size<0)if(P.size==-3)R+=4;else break e;else P.id>=a&&(R+=4);P.next()}k=M,v+=B,D+=R}return(x<0||v==w)&&(E.size=v,E.start=k,E.skip=D),E.size>4?E:void 0}u(O,"findBufferSize");function b(w,x,P){let{id:v,start:k,end:D,size:S}=o;if(o.next(),S>=0&&v4){let A=o.pos-(S-4);for(;o.pos>A;)P=b(w,x,P)}x[--P]=E,x[--P]=D-w,x[--P]=k-w,x[--P]=v}else S==-3?c=v:S==-4&&(d=v);return P}u(b,"copyToBuffer");let y=[],$=[];for(;o.pos>0;)f(t.start||0,t.bufferStart||0,y,$,-1,0);let C=(e=t.length)!==null&&e!==void 0?e:y.length?$[0]+y[0].length:0;return new Re(s[t.topID],y.reverse(),$.reverse(),C)}u(xz,"buildTree$1");const y6=new WeakMap;function Of(t,e){if(!t.isAnonymous||e instanceof di||e.type!=t)return 1;let n=y6.get(e);if(n==null){n=1;for(let r of e.children){if(r.type!=t||!(r instanceof Re)){n=1;break}n+=Of(t,r)}y6.set(e,n)}return n}u(Of,"nodeSize$1");function OO(t,e,n,r,i,l,a,o,s){let c=0;for(let m=r;m=d)break;x+=P}if($==C+1){if(x>d){let P=m[C];p(P.children,P.positions,0,P.children.length,g[C]+y);continue}f.push(m[C])}else{let P=g[$-1]+m[$-1].length-w;f.push(OO(t,m,g,C,$,w,P,null,s))}h.push(w+y-l)}}return u(p,"divide"),p(e,n,r,i,0),(o||s)(f,h,a)}u(OO,"balanceRange");const F4=class F4{constructor(){this.map=new WeakMap}setBuffer(e,n,r){let i=this.map.get(e);i||this.map.set(e,i=new Map),i.set(n,r)}getBuffer(e,n){let r=this.map.get(e);return r&&r.get(n)}set(e,n){e instanceof al?this.setBuffer(e.context.buffer,e.index,n):e instanceof Rt&&this.map.set(e.tree,n)}get(e){return e instanceof al?this.getBuffer(e.context.buffer,e.index):e instanceof Rt?this.map.get(e.tree):void 0}cursorSet(e,n){e.buffer?this.setBuffer(e.buffer.buffer,e.index,n):this.map.set(e.tree,n)}cursorGet(e){return e.buffer?this.getBuffer(e.buffer.buffer,e.index):this.map.get(e.tree)}};u(F4,"NodeWeakMap");let bf=F4;const tc=class tc{constructor(e,n,r,i,l=!1,a=!1){this.from=e,this.to=n,this.tree=r,this.offset=i,this.open=(l?1:0)|(a?2:0)}get openStart(){return(this.open&1)>0}get openEnd(){return(this.open&2)>0}static addTree(e,n=[],r=!1){let i=[new tc(0,e.length,e,0,!1,r)];for(let l of n)l.to>e.length&&i.push(l);return i}static applyChanges(e,n,r=128){if(!n.length)return e;let i=[],l=1,a=e.length?e[0]:null;for(let o=0,s=0,c=0;;o++){let d=o=r)for(;a&&a.from=h.from||f<=h.to||c){let p=Math.max(h.from,s)-c,m=Math.min(h.to,f)-c;h=p>=m?null:new tc(p,m,h.tree,h.offset+c,o>0,!!d)}if(h&&i.push(h),a.to>f)break;a=lnew Tt(i.from,i.to)):[new Tt(0,0)]:[new Tt(0,e.length)],this.createParse(e,n||[],r)}parse(e,n,r){let i=this.startParse(e,n,r);for(;;){let l=i.advance();if(l)return l}}};u(I4,"Parser");let yf=I4;const Z4=class Z4{constructor(e){this.string=e}get length(){return this.string.length}chunk(e){return this.string.slice(e)}get lineChunks(){return!1}read(e,n){return this.string.slice(e,n)}};u(Z4,"StringInput");let bO=Z4;function Sz(t){return(e,n,r,i)=>new $O(e,t,n,r,i)}u(Sz,"parseMixed");const z4=class z4{constructor(e,n,r,i,l){this.parser=e,this.parse=n,this.overlay=r,this.target=i,this.from=l}};u(z4,"InnerParse");let vf=z4;function v6(t){if(!t.length||t.some(e=>e.from>=e.to))throw new RangeError("Invalid inner parse ranges given: "+JSON.stringify(t))}u(v6,"checkRanges");const L4=class L4{constructor(e,n,r,i,l,a,o){this.parser=e,this.predicate=n,this.mounts=r,this.index=i,this.start=l,this.target=a,this.prev=o,this.depth=0,this.ranges=[]}};u(L4,"ActiveOverlay");let yO=L4;const vO=new se({perNode:!0}),W4=class W4{constructor(e,n,r,i,l){this.nest=n,this.input=r,this.fragments=i,this.ranges=l,this.inner=[],this.innerDone=0,this.baseTree=null,this.stoppedAt=null,this.baseParse=e}advance(){if(this.baseParse){let r=this.baseParse.advance();if(!r)return null;if(this.baseParse=null,this.baseTree=r,this.startInner(),this.stoppedAt!=null)for(let i of this.inner)i.parse.stopAt(this.stoppedAt)}if(this.innerDone==this.inner.length){let r=this.baseTree;return this.stoppedAt!=null&&(r=new Re(r.type,r.children,r.positions,r.length,r.propValues.concat([[vO,this.stoppedAt]]))),r}let e=this.inner[this.innerDone],n=e.parse.advance();if(n){this.innerDone++;let r=Object.assign(Object.create(null),e.target.props);r[se.mounted.id]=new ll(n,e.overlay,e.parser),e.target.props=r}return null}get parsedPos(){if(this.baseParse)return 0;let e=this.input.length;for(let n=this.innerDone;n=this.stoppedAt)o=!1;else if(e.hasNode(i)){if(n){let c=n.mounts.find(d=>d.frag.from<=i.from&&d.frag.to>=i.to&&d.mount.overlay);if(c)for(let d of c.mount.overlay){let f=d.from+c.pos,h=d.to+c.pos;f>=i.from&&h<=i.to&&!n.ranges.some(p=>p.fromf)&&n.ranges.push({from:f,to:h})}}o=!1}else if(r&&(a=Cz(r.ranges,i.from,i.to)))o=a!=2;else if(!i.type.isAnonymous&&(l=this.nest(i,this.input))&&(i.fromnew Tt(f.from-i.from,f.to-i.from)):null,i.tree,d.length?d[0].from:i.from)),l.overlay?d.length&&(r={ranges:d,depth:0,prev:r}):o=!1}}else n&&(s=n.predicate(i))&&(s===!0&&(s=new Tt(i.from,i.to)),s.fromnew Tt(d.from-n.start,d.to-n.start)),n.target,c[0].from))),n=n.prev}r&&!--r.depth&&(r=r.prev)}}}};u(W4,"MixedParse");let $O=W4;function Cz(t,e,n){for(let r of t){if(r.from>=n)break;if(r.to>e)return r.from<=e&&r.to>=n?2:1}return 0}u(Cz,"checkCover");function $6(t,e,n,r,i,l){if(e=e&&n.enter(r,1,Ce.IgnoreOverlays|Ce.ExcludeBuffers)||n.next(!1)||(this.done=!0)}hasNode(e){if(this.moveTo(e.from),!this.done&&this.cursor.from+this.offset==e.from&&this.cursor.tree)for(let n=this.cursor.tree;;){if(n==e.tree)return!0;if(n.children.length&&n.positions[0]==0&&n.children[0]instanceof Re)n=n.children[0];else break}return!1}};u(X4,"StructureCursor");let $f=X4,kz=(nc=class{constructor(e){var n;if(this.fragments=e,this.curTo=0,this.fragI=0,e.length){let r=this.curFrag=e[0];this.curTo=(n=r.tree.prop(vO))!==null&&n!==void 0?n:r.to,this.inner=new $f(r.tree,-r.offset)}else this.curFrag=this.inner=null}hasNode(e){for(;this.curFrag&&e.from>=this.curTo;)this.nextFrag();return this.curFrag&&this.curFrag.from<=e.from&&this.curTo>=e.to&&this.inner.hasNode(e)}nextFrag(){var e;if(this.fragI++,this.fragI==this.fragments.length)this.curFrag=this.inner=null;else{let n=this.curFrag=this.fragments[this.fragI];this.curTo=(e=n.tree.prop(vO))!==null&&e!==void 0?e:n.to,this.inner=new $f(n.tree,-n.offset)}}findMounts(e,n){var r;let i=[];if(this.inner){this.inner.cursor.moveTo(e,1);for(let l=this.inner.cursor.node;l;l=l.parent){let a=(r=l.tree)===null||r===void 0?void 0:r.prop(se.mounted);if(a&&a.parser==n)for(let o=this.fragI;o=l.to)break;s.tree==this.curFrag.tree&&i.push({frag:s,pos:l.from-s.offset,mount:a})}}}return i}},u(nc,"FragmentCursor"),nc);function w6(t,e){let n=null,r=e;for(let i=1,l=0;i=o)break;s.to<=a||(n||(r=n=e.slice()),s.fromo&&n.splice(l+1,0,new Tt(o,s.to))):s.to>o?n[l--]=new Tt(o,s.to):n.splice(l--,1))}}return r}u(w6,"punchRanges");function Pz(t,e,n,r){let i=0,l=0,a=!1,o=!1,s=-1e9,c=[];for(;;){let d=i==t.length?1e9:a?t[i].to:t[i].from,f=l==e.length?1e9:o?e[l].to:e[l].from;if(a!=o){let h=Math.max(s,n),p=Math.min(d,f,r);hnew Tt(h.from+r,h.to+r)),f=Pz(e,d,s,c);for(let h=0,p=s;;h++){let m=h==f.length,g=m?c:f[h].from;if(g>p&&n.push(new fi(p,g,i.tree,-a,l.from>=p||l.openStart,l.to<=g||l.openEnd)),m)break;p=f[h].to}}else n.push(new fi(s,c,i.tree,-a,l.from>=a||l.openStart,l.to<=o||l.openEnd))}return n}u(x6,"enterFragments");let Ez=0;const rc=class rc{constructor(e,n,r,i){this.name=e,this.set=n,this.base=r,this.modified=i,this.id=Ez++}toString(){let{name:e}=this;for(let n of this.modified)n.name&&(e=`${n.name}(${e})`);return e}static define(e,n){let r=typeof e=="string"?e:"?";if(e instanceof rc&&(n=e),n?.base)throw new Error("Can not derive from a modified tag");let i=new rc(r,[],null,[]);if(i.set.push(i),n)for(let l of n.set)i.set.push(l);return i}static defineModifier(e){let n=new wf(e);return r=>r.modified.indexOf(n)>-1?r:wf.get(r.base||r,r.modified.concat(n).sort((i,l)=>i.id-l.id))}};u(rc,"Tag");let Sn=rc,Az=0;const Sp=class Sp{constructor(e){this.name=e,this.instances=[],this.id=Az++}static get(e,n){if(!n.length)return e;let r=n[0].instances.find(o=>o.base==e&&Tz(n,o.modified));if(r)return r;let i=[],l=new Sn(e.name,i,e,n);for(let o of n)o.instances.push(l);let a=Rz(n);for(let o of e.set)if(!o.modified.length)for(let s of a)i.push(Sp.get(o,s));return l}};u(Sp,"Modifier");let wf=Sp;function Tz(t,e){return t.length==e.length&&t.every((n,r)=>n==e[r])}u(Tz,"sameArray");function Rz(t){let e=[[]];for(let n=0;nr.length-n.length)}u(Rz,"powerSet");function xf(t){let e=Object.create(null);for(let n in t){let r=t[n];Array.isArray(r)||(r=[r]);for(let i of n.split(" "))if(i){let l=[],a=2,o=i;for(let f=0;;){if(o=="..."&&f>0&&f+3==i.length){a=1;break}let h=/^"(?:[^"\\]|\\.)*?"|[^\/!]+/.exec(o);if(!h)throw new RangeError("Invalid path: "+i);if(l.push(h[0]=="*"?"":h[0][0]=='"'?JSON.parse(h[0]):h[0]),f+=h[0].length,f==i.length)break;let p=i[f++];if(f==i.length&&p=="!"){a=0;break}if(p!="/")throw new RangeError("Invalid path: "+i);o=i.slice(f)}let s=l.length-1,c=l[s];if(!c)throw new RangeError("Invalid path: "+i);let d=new Ea(r,a,s>0?l.slice(0,s):null);e[c]=d.sort(e[c])}}return S6.add(e)}u(xf,"styleTags");const S6=new se,j4=class j4{constructor(e,n,r,i){this.tags=e,this.mode=n,this.context=r,this.next=i}get opaque(){return this.mode==0}get inherit(){return this.mode==1}sort(e){return!e||e.depth{let a=i;for(let o of l)for(let s of o.set){let c=n[s.id];if(c){a=a?a+" "+c:c;break}}return a},scope:r}}u(C6,"tagHighlighter");function Qz(t,e){let n=null;for(let r of t){let i=r.style(e);i&&(n=n?n+" "+i:i)}return n}u(Qz,"highlightTags");function Mz(t,e,n,r=0,i=t.length){let l=new wO(r,Array.isArray(e)?e:[e],n);l.highlightRange(t.cursor(),r,i,"",l.highlighters),l.flush(i)}u(Mz,"highlightTree");const q4=class q4{constructor(e,n,r){this.at=e,this.highlighters=n,this.span=r,this.class=""}startSpan(e,n){n!=this.class&&(this.flush(e),e>this.at&&(this.at=e),this.class=n)}flush(e){e>this.at&&this.class&&this.span(this.at,e,this.class)}highlightRange(e,n,r,i,l){let{type:a,from:o,to:s}=e;if(o>=r||s<=n)return;a.isTop&&(l=this.highlighters.filter(p=>!p.scope||p.scope(a)));let c=i,d=Bz(e)||Ea.empty,f=Qz(l,d.tags);if(f&&(c&&(c+=" "),c+=f,d.mode==1&&(i+=(i?" ":"")+f)),this.startSpan(Math.max(n,o),c),d.opaque)return;let h=e.tree&&e.tree.prop(se.mounted);if(h&&h.overlay){let p=e.node.enter(h.overlay[0].from+o,1),m=this.highlighters.filter(O=>!O.scope||O.scope(h.tree.type)),g=e.firstChild();for(let O=0,b=o;;O++){let y=O=$||!e.nextSibling())););if(!y||$>r)break;b=y.to+o,b>n&&(this.highlightRange(p.cursor(),Math.max(n,y.from+o),Math.min(r,b),"",m),this.startSpan(Math.min(r,b),c))}g&&e.parent()}else if(e.firstChild()){h&&(i="");do if(!(e.to<=n)){if(e.from>=r)break;this.highlightRange(e,n,r,i,l),this.startSpan(Math.min(r,e.to),c)}while(e.nextSibling());e.parent()}}};u(q4,"HighlightBuilder");let wO=q4;function Bz(t){let e=t.type.prop(S6);for(;e&&e.context&&!t.matchContext(e.context);)e=e.next;return e||null}u(Bz,"getStyleTags");const q=Sn.define,Sf=q(),hi=q(),D6=q(hi),k6=q(hi),pi=q(),Cf=q(pi),xO=q(pi),Yn=q(),ol=q(Yn),Kn=q(),Gn=q(),SO=q(),zs=q(SO),Df=q(),Q={comment:Sf,lineComment:q(Sf),blockComment:q(Sf),docComment:q(Sf),name:hi,variableName:q(hi),typeName:D6,tagName:q(D6),propertyName:k6,attributeName:q(k6),className:q(hi),labelName:q(hi),namespace:q(hi),macroName:q(hi),literal:pi,string:Cf,docString:q(Cf),character:q(Cf),attributeValue:q(Cf),number:xO,integer:q(xO),float:q(xO),bool:q(pi),regexp:q(pi),escape:q(pi),color:q(pi),url:q(pi),keyword:Kn,self:q(Kn),null:q(Kn),atom:q(Kn),unit:q(Kn),modifier:q(Kn),operatorKeyword:q(Kn),controlKeyword:q(Kn),definitionKeyword:q(Kn),moduleKeyword:q(Kn),operator:Gn,derefOperator:q(Gn),arithmeticOperator:q(Gn),logicOperator:q(Gn),bitwiseOperator:q(Gn),compareOperator:q(Gn),updateOperator:q(Gn),definitionOperator:q(Gn),typeOperator:q(Gn),controlOperator:q(Gn),punctuation:SO,separator:q(SO),bracket:zs,angleBracket:q(zs),squareBracket:q(zs),paren:q(zs),brace:q(zs),content:Yn,heading:ol,heading1:q(ol),heading2:q(ol),heading3:q(ol),heading4:q(ol),heading5:q(ol),heading6:q(ol),contentSeparator:q(Yn),list:q(Yn),quote:q(Yn),emphasis:q(Yn),strong:q(Yn),link:q(Yn),monospace:q(Yn),strikethrough:q(Yn),inserted:q(),deleted:q(),changed:q(),invalid:q(),meta:Df,documentMeta:q(Df),annotation:q(Df),processingInstruction:q(Df),definition:Sn.defineModifier("definition"),constant:Sn.defineModifier("constant"),function:Sn.defineModifier("function"),standard:Sn.defineModifier("standard"),local:Sn.defineModifier("local"),special:Sn.defineModifier("special")};for(let t in Q){let e=Q[t];e instanceof Sn&&(e.name=t)}C6([{tag:Q.link,class:"tok-link"},{tag:Q.heading,class:"tok-heading"},{tag:Q.emphasis,class:"tok-emphasis"},{tag:Q.strong,class:"tok-strong"},{tag:Q.keyword,class:"tok-keyword"},{tag:Q.atom,class:"tok-atom"},{tag:Q.bool,class:"tok-bool"},{tag:Q.url,class:"tok-url"},{tag:Q.labelName,class:"tok-labelName"},{tag:Q.inserted,class:"tok-inserted"},{tag:Q.deleted,class:"tok-deleted"},{tag:Q.literal,class:"tok-literal"},{tag:Q.string,class:"tok-string"},{tag:Q.number,class:"tok-number"},{tag:[Q.regexp,Q.escape,Q.special(Q.string)],class:"tok-string2"},{tag:Q.variableName,class:"tok-variableName"},{tag:Q.local(Q.variableName),class:"tok-variableName tok-local"},{tag:Q.definition(Q.variableName),class:"tok-variableName tok-definition"},{tag:Q.special(Q.variableName),class:"tok-variableName2"},{tag:Q.definition(Q.propertyName),class:"tok-propertyName tok-definition"},{tag:Q.typeName,class:"tok-typeName"},{tag:Q.namespace,class:"tok-namespace"},{tag:Q.className,class:"tok-className"},{tag:Q.macroName,class:"tok-macroName"},{tag:Q.propertyName,class:"tok-propertyName"},{tag:Q.operator,class:"tok-operator"},{tag:Q.comment,class:"tok-comment"},{tag:Q.meta,class:"tok-meta"},{tag:Q.invalid,class:"tok-invalid"},{tag:Q.punctuation,class:"tok-punctuation"}]);var CO;const Aa=new se;function P6(t){return G.define({combine:t?e=>e.concat(t):void 0})}u(P6,"defineLanguageFacet");const DO=new se,U4=class U4{constructor(e,n,r=[],i=""){this.data=e,this.name=i,Be.prototype.hasOwnProperty("tree")||Object.defineProperty(Be.prototype,"tree",{get(){return Qe(this)}}),this.parser=n,this.extension=[mi.of(this),Be.languageData.of((l,a,o)=>{let s=E6(l,a,o),c=s.type.prop(Aa);if(!c)return[];let d=l.facet(c),f=s.type.prop(DO);if(f){let h=s.resolve(a-s.from,o);for(let p of f)if(p.test(h,l)){let m=l.facet(p.facet);return p.type=="replace"?m:m.concat(d)}}return d})].concat(r)}isActiveAt(e,n,r=-1){return E6(e,n,r).type.prop(Aa)==this.data}findRegions(e){let n=e.facet(mi);if(n?.data==this.data)return[{from:0,to:e.doc.length}];if(!n||!n.allowsNesting)return[];let r=[],i=u((l,a)=>{if(l.prop(Aa)==this.data){r.push({from:a,to:a+l.length});return}let o=l.prop(se.mounted);if(o){if(o.tree.prop(Aa)==this.data){if(o.overlay)for(let s of o.overlay)r.push({from:s.from+a,to:s.to+a});else r.push({from:a,to:a+l.length});return}else if(o.overlay){let s=r.length;if(i(o.tree,o.overlay[0].from+a),r.length>s)return}}for(let s=0;sr.isTop?n:void 0)]}),e.name)}configure(e,n){return new ic(this.data,this.parser.configure(e),n||this.name)}get allowsNesting(){return this.parser.hasWrappers()}};u(ic,"LRLanguage");let Ls=ic;function Qe(t){let e=t.field(jt.state,!1);return e?e.tree:Re.empty}u(Qe,"syntaxTree");const Y4=class Y4{constructor(e){this.doc=e,this.cursorPos=0,this.string="",this.cursor=e.iter()}get length(){return this.doc.length}syncTo(e){return this.string=this.cursor.next(e-this.cursorPos).value,this.cursorPos=e+this.string.length,this.cursorPos-this.string.length}chunk(e){return this.syncTo(e),this.string}get lineChunks(){return!0}read(e,n){let r=this.cursorPos-this.string.length;return e=this.cursorPos?this.doc.sliceString(e,n):this.string.slice(e-r,n-r)}};u(Y4,"DocInput");let kO=Y4,Ws=null,Vz=(Ml=class{constructor(e,n,r=[],i,l,a,o,s){this.parser=e,this.state=n,this.fragments=r,this.tree=i,this.treeLen=l,this.viewport=a,this.skipped=o,this.scheduleOn=s,this.parse=null,this.tempSkipped=[]}static create(e,n,r){return new Ml(e,n,[],Re.empty,0,r,[],null)}startParse(){return this.parser.startParse(new kO(this.state.doc),this.fragments)}work(e,n){return n!=null&&n>=this.state.doc.length&&(n=void 0),this.tree!=Re.empty&&this.isDone(n??this.state.doc.length)?(this.takeTree(),!0):this.withContext(()=>{var r;if(typeof e=="number"){let i=Date.now()+e;e=u(()=>Date.now()>i,"until")}for(this.parse||(this.parse=this.startParse()),n!=null&&(this.parse.stoppedAt==null||this.parse.stoppedAt>n)&&n=this.treeLen&&((this.parse.stoppedAt==null||this.parse.stoppedAt>e)&&this.parse.stopAt(e),this.withContext(()=>{for(;!(n=this.parse.advance()););}),this.treeLen=e,this.tree=n,this.fragments=this.withoutTempSkipped(fi.addTree(this.tree,this.fragments,!0)),this.parse=null)}withContext(e){let n=Ws;Ws=this;try{return e()}finally{Ws=n}}withoutTempSkipped(e){for(let n;n=this.tempSkipped.pop();)e=A6(e,n.from,n.to);return e}changes(e,n){let{fragments:r,tree:i,treeLen:l,viewport:a,skipped:o}=this;if(this.takeTree(),!e.empty){let s=[];if(e.iterChangedRanges((c,d,f,h)=>s.push({fromA:c,toA:d,fromB:f,toB:h})),r=fi.applyChanges(r,s),i=Re.empty,l=0,a={from:e.mapPos(a.from,-1),to:e.mapPos(a.to,1)},this.skipped.length){o=[];for(let c of this.skipped){let d=e.mapPos(c.from,1),f=e.mapPos(c.to,-1);de.from&&(this.fragments=A6(this.fragments,i,l),this.skipped.splice(r--,1))}return this.skipped.length>=n?!1:(this.reset(),!0)}reset(){this.parse&&(this.takeTree(),this.parse=null)}skipUntilInView(e,n){this.skipped.push({from:e,to:n})}static getSkippingParser(e){return new class extends yf{createParse(n,r,i){let l=i[0].from,a=i[i.length-1].to;return{parsedPos:l,advance(){let s=Ws;if(s){for(let c of i)s.tempSkipped.push(c);e&&(s.scheduleOn=s.scheduleOn?Promise.all([s.scheduleOn,e]):e)}return this.parsedPos=a,new Re(Xt.none,[],[],a-l)},stoppedAt:null,stopAt(){}}}}}isDone(e){e=Math.min(e,this.state.doc.length);let n=this.fragments;return this.treeLen>=e&&n.length&&n[0].from==0&&n[0].to>=e}static get(){return Ws}},u(Ml,"ParseContext"),Ml);function A6(t,e,n){return fi.applyChanges(t,[{fromA:e,toA:n,fromB:e,toB:n}])}u(A6,"cutFragments");const lc=class lc{constructor(e){this.context=e,this.tree=e.tree}apply(e){if(!e.docChanged&&this.tree==this.context.tree)return this;let n=this.context.changes(e.changes,e.state),r=this.context.treeLen==e.startState.doc.length?void 0:Math.max(e.changes.mapPos(this.context.treeLen),n.viewport.to);return n.work(20,r)||n.takeTree(),new lc(n)}static init(e){let n=Math.min(3e3,e.doc.length),r=Vz.create(e.facet(mi).parser,e,{from:0,to:n});return r.work(20,n)||r.takeTree(),new lc(r)}};u(lc,"LanguageState");let Xs=lc;jt.state=zt.define({create:Xs.init,update(t,e){for(let n of e.effects)if(n.is(jt.setState))return n.value;return e.startState.facet(mi)!=e.state.facet(mi)?Xs.init(e.state):t.apply(e)}});let T6=u(t=>{let e=setTimeout(()=>t(),500);return()=>clearTimeout(e)},"requestIdle");typeof requestIdleCallback<"u"&&(T6=u(t=>{let e=-1,n=setTimeout(()=>{e=requestIdleCallback(t,{timeout:400})},100);return()=>e<0?clearTimeout(n):cancelIdleCallback(e)},"requestIdle"));const PO=typeof navigator<"u"&&(!((CO=navigator.scheduling)===null||CO===void 0)&&CO.isInputPending)?()=>navigator.scheduling.isInputPending():null,Nz=He.fromClass((ac=class{constructor(e){this.view=e,this.working=null,this.workScheduled=0,this.chunkEnd=-1,this.chunkBudget=-1,this.work=this.work.bind(this),this.scheduleWork()}update(e){let n=this.view.state.field(jt.state).context;(n.updateViewport(e.view.viewport)||this.view.viewport.to>n.treeLen)&&this.scheduleWork(),(e.docChanged||e.selectionSet)&&(this.view.hasFocus&&(this.chunkBudget+=50),this.scheduleWork()),this.checkAsyncSchedule(n)}scheduleWork(){if(this.working)return;let{state:e}=this.view,n=e.field(jt.state);(n.tree!=n.context.tree||!n.context.isDone(e.doc.length))&&(this.working=T6(this.work))}work(e){this.working=null;let n=Date.now();if(this.chunkEndi+1e3,s=l.context.work(()=>PO&&PO()||Date.now()>a,i+(o?0:1e5));this.chunkBudget-=Date.now()-n,(s||this.chunkBudget<=0)&&(l.context.takeTree(),this.view.dispatch({effects:jt.setState.of(new Xs(l.context))})),this.chunkBudget>0&&!(s&&!o)&&this.scheduleWork(),this.checkAsyncSchedule(l.context)}checkAsyncSchedule(e){e.scheduleOn&&(this.workScheduled++,e.scheduleOn.then(()=>this.scheduleWork()).catch(n=>Lt(this.view.state,n)).then(()=>this.workScheduled--),e.scheduleOn=null)}destroy(){this.working&&this.working()}isWorking(){return!!(this.working||this.workScheduled>0)}},u(ac,"ParseWorker"),ac),{eventHandlers:{focus(){this.scheduleWork()}}}),mi=G.define({combine(t){return t.length?t[0]:null},enables:t=>[jt.state,Nz,H.contentAttributes.compute([t],e=>{let n=e.facet(t);return n&&n.name?{"data-language":n.name}:{}})]}),K4=class K4{constructor(e,n=[]){this.language=e,this.support=n,this.extension=[e,n]}};u(K4,"LanguageSupport");let js=K4;const Fz=G.define(),qs=G.define({combine:t=>{if(!t.length)return" ";let e=t[0];if(!e||/\S/.test(e)||Array.from(e).some(n=>n!=e[0]))throw new Error("Invalid indent unit: "+JSON.stringify(t[0]));return e}});function kf(t){let e=t.facet(qs);return e.charCodeAt(0)==9?t.tabSize*e.length:e.length}u(kf,"getIndentUnit");function Us(t,e){let n="",r=t.tabSize,i=t.facet(qs)[0];if(i==" "){for(;e>=r;)n+=" ",e-=r;i=" "}for(let l=0;l=e?Iz(t,n,e):null}u(EO,"getIndentation");const G4=class G4{constructor(e,n={}){this.state=e,this.options=n,this.unit=kf(e)}lineAt(e,n=1){let r=this.state.doc.lineAt(e),{simulateBreak:i,simulateDoubleBreak:l}=this.options;return i!=null&&i>=r.from&&i<=r.to?l&&i==e?{text:"",from:e}:(n<0?i-1&&(l+=a-this.countColumn(r,r.search(/\S|$/))),l}countColumn(e,n=e.length){return $a(e,this.state.tabSize,n)}lineIndent(e,n=1){let{text:r,from:i}=this.lineAt(e,n),l=this.options.overrideIndentation;if(l){let a=l(i);if(a>-1)return a}return this.countColumn(r,r.search(/\S|$/))}get simulatedBreak(){return this.options.simulateBreak||null}};u(G4,"IndentContext");let Ta=G4;const Pf=new se;function Iz(t,e,n){let r=e.resolveStack(n),i=r.node.enterUnfinishedNodesBefore(n);if(i!=r.node){let l=[];for(let a=i;a!=r.node;a=a.parent)l.push(a);for(let a=l.length-1;a>=0;a--)r={node:l[a],next:r}}return R6(r,t,n)}u(Iz,"syntaxIndentation");function R6(t,e,n){for(let r=t;r;r=r.next){let i=zz(r.node);if(i)return i(AO.create(e,n,r))}return 0}u(R6,"indentFor");function Zz(t){return t.pos==t.options.simulateBreak&&t.options.simulateDoubleBreak}u(Zz,"ignoreClosed");function zz(t){let e=t.type.prop(Pf);if(e)return e;let n=t.firstChild,r;if(n&&(r=n.type.prop(se.closedBy))){let i=t.lastChild,l=i&&r.indexOf(i.name)>-1;return a=>Q6(a,!0,1,void 0,l&&!Zz(a)?i.from:void 0)}return t.parent==null?Lz:null}u(zz,"indentStrategy");function Lz(){return 0}u(Lz,"topIndent");const Cp=class Cp extends Ta{constructor(e,n,r){super(e.state,e.options),this.base=e,this.pos=n,this.context=r}get node(){return this.context.node}static create(e,n,r){return new Cp(e,n,r)}get textAfter(){return this.textAfterPos(this.pos)}get baseIndent(){return this.baseIndentFor(this.node)}baseIndentFor(e){let n=this.state.doc.lineAt(e.from);for(;;){let r=e.resolve(n.from);for(;r.parent&&r.parent.from==r.from;)r=r.parent;if(Wz(r,e))break;n=this.state.doc.lineAt(r.from)}return this.lineIndent(n.from)}continue(){return R6(this.context.next,this.base,this.pos)}};u(Cp,"TreeIndentContext");let AO=Cp;function Wz(t,e){for(let n=e;n;n=n.parent)if(t==n)return!0;return!1}u(Wz,"isParent");function Xz(t){let e=t.node,n=e.childAfter(e.from),r=e.lastChild;if(!n)return null;let i=t.options.simulateBreak,l=t.state.doc.lineAt(n.from),a=i==null||i<=l.from?l.to:Math.min(l.to,i);for(let o=n.to;;){let s=e.childAfter(o);if(!s||s==r)return null;if(!s.type.isSkipped){if(s.from>=a)return null;let c=/^ */.exec(l.text.slice(n.to-l.from))[0].length;return{from:n.from,to:n.to+c}}o=s.to}}u(Xz,"bracketedAligned");function jz({closing:t,align:e=!0,units:n=1}){return r=>Q6(r,e,n,t)}u(jz,"delimitedIndent");function Q6(t,e,n,r,i){let l=t.textAfter,a=l.match(/^\s*/)[0].length,o=r&&l.slice(a,a+r.length)==r||i==t.pos+a,s=e?Xz(t):null;return s?o?t.column(s.from):t.column(s.to):t.baseIndent+(o?0:t.unit*n)}u(Q6,"delimitedStrategy");const qz=u(t=>t.baseIndent,"flatIndent");function Ef({except:t,units:e=1}={}){return n=>{let r=t&&t.test(n.textAfter);return n.baseIndent+(r?0:e*n.unit)}}u(Ef,"continuedIndent");const Uz=200;function Yz(){return Be.transactionFilter.of(t=>{if(!t.docChanged||!t.isUserEvent("input.type")&&!t.isUserEvent("input.complete"))return t;let e=t.startState.languageDataAt("indentOnInput",t.startState.selection.main.head);if(!e.length)return t;let n=t.newDoc,{head:r}=t.newSelection.main,i=n.lineAt(r);if(r>i.from+Uz)return t;let l=n.sliceString(i.from,r);if(!e.some(c=>c.test(l)))return t;let{state:a}=t,o=-1,s=[];for(let{head:c}of a.selection.ranges){let d=a.doc.lineAt(c);if(d.from==o)continue;o=d.from;let f=EO(a,d.from);if(f==null)continue;let h=/^\s*/.exec(d.text)[0],p=Us(a,f);h!=p&&s.push({from:d.from,to:d.from+h.length,insert:p})}return s.length?[t,{changes:s,sequential:!0}]:t})}u(Yz,"indentOnInput");const Kz=G.define(),Af=new se;function M6(t){let e=t.firstChild,n=t.lastChild;return e&&e.ton)continue;if(l&&o.from=e&&c.to>n&&(l=c)}}return l}u(Gz,"syntaxFolding");function Hz(t){let e=t.lastChild;return e&&e.to==t.to&&e.type.isError}u(Hz,"isUnfinished");function Tf(t,e,n){for(let r of t.facet(Kz)){let i=r(t,e,n);if(i)return i}return Gz(t,e,n)}u(Tf,"foldable");function B6(t,e){let n=e.mapPos(t.from,1),r=e.mapPos(t.to,-1);return n>=r?void 0:{from:n,to:r}}u(B6,"mapRange");const Rf=pe.define({map:B6}),Ys=pe.define({map:B6});function V6(t){let e=[];for(let{head:n}of t.state.selection.ranges)e.some(r=>r.from<=n&&r.to>=n)||e.push(t.lineBlockAt(n));return e}u(V6,"selectedLines");const sl=zt.define({create(){return ne.none},update(t,e){t=t.map(e.changes);for(let n of e.effects)if(n.is(Rf)&&!_z(t,n.value.from,n.value.to)){let{preparePlaceholder:r}=e.state.facet(TO),i=r?ne.replace({widget:new RO(r(e.state,n.value))}):z6;t=t.update({add:[i.range(n.value.from,n.value.to)]})}else n.is(Ys)&&(t=t.update({filter:(r,i)=>n.value.from!=r||n.value.to!=i,filterFrom:n.value.from,filterTo:n.value.to}));if(e.selection){let n=!1,{head:r}=e.selection.main;t.between(r,r,(i,l)=>{ir&&(n=!0)}),n&&(t=t.update({filterFrom:r,filterTo:r,filter:(i,l)=>l<=r||i>=r}))}return t},provide:t=>H.decorations.from(t),toJSON(t,e){let n=[];return t.between(0,e.doc.length,(r,i)=>{n.push(r,i)}),n},fromJSON(t){if(!Array.isArray(t)||t.length%2)throw new RangeError("Invalid JSON for fold state");let e=[];for(let n=0;n{(!i||i.from>l)&&(i={from:l,to:a})}),i}u(Qf,"findFold");function _z(t,e,n){let r=!1;return t.between(e,e,(i,l)=>{i==e&&l==n&&(r=!0)}),r}u(_z,"foldExists");function N6(t,e){return t.field(sl,!1)?e:e.concat(pe.appendConfig.of(I6()))}u(N6,"maybeEnable");const Jz=u(t=>{for(let e of V6(t)){let n=Tf(t.state,e.from,e.to);if(n)return t.dispatch({effects:N6(t.state,[Rf.of(n),F6(t,n)])}),!0}return!1},"foldCode"),eL=u(t=>{if(!t.state.field(sl,!1))return!1;let e=[];for(let n of V6(t)){let r=Qf(t.state,n.from,n.to);r&&e.push(Ys.of(r),F6(t,r,!1))}return e.length&&t.dispatch({effects:e}),e.length>0},"unfoldCode");function F6(t,e,n=!0){let r=t.state.doc.lineAt(e.from).number,i=t.state.doc.lineAt(e.to).number;return H.announce.of(`${t.state.phrase(n?"Folded lines":"Unfolded lines")} ${r} ${t.state.phrase("to")} ${i}.`)}u(F6,"announceFold");const tL=[{key:"Ctrl-Shift-[",mac:"Cmd-Alt-[",run:Jz},{key:"Ctrl-Shift-]",mac:"Cmd-Alt-]",run:eL},{key:"Ctrl-Alt-[",run:u(t=>{let{state:e}=t,n=[];for(let r=0;r{let e=t.state.field(sl,!1);if(!e||!e.size)return!1;let n=[];return e.between(0,t.state.doc.length,(r,i)=>{n.push(Ys.of({from:r,to:i}))}),t.dispatch({effects:n}),!0},"unfoldAll")}],nL={placeholderDOM:null,preparePlaceholder:null,placeholderText:"\u2026"},TO=G.define({combine(t){return ii(t,nL)}});function I6(t){let e=[sl,lL];return t&&e.push(TO.of(t)),e}u(I6,"codeFolding");function Z6(t,e){let{state:n}=t,r=n.facet(TO),i=u(a=>{let o=t.lineBlockAt(t.posAtDOM(a.target)),s=Qf(t.state,o.from,o.to);s&&t.dispatch({effects:Ys.of(s)}),a.preventDefault()},"onclick");if(r.placeholderDOM)return r.placeholderDOM(t,i,e);let l=document.createElement("span");return l.textContent=r.placeholderText,l.setAttribute("aria-label",n.phrase("folded code")),l.title=n.phrase("unfold"),l.className="cm-foldPlaceholder",l.onclick=i,l}u(Z6,"widgetToDOM");const z6=ne.replace({widget:new class extends Wn{toDOM(t){return Z6(t,null)}}}),H4=class H4 extends Wn{constructor(e){super(),this.value=e}eq(e){return this.value==e.value}toDOM(e){return Z6(e,this.value)}};u(H4,"PreparedFoldWidget");let RO=H4;const rL={openText:"\u2304",closedText:"\u203A",markerDOM:null,domEventHandlers:{},foldingChanged:()=>!1},_4=class _4 extends xn{constructor(e,n){super(),this.config=e,this.open=n}eq(e){return this.config==e.config&&this.open==e.open}toDOM(e){if(this.config.markerDOM)return this.config.markerDOM(this.open);let n=document.createElement("span");return n.textContent=this.open?this.config.openText:this.config.closedText,n.title=e.state.phrase(this.open?"Fold line":"Unfold line"),n}};u(_4,"FoldMarker");let Ks=_4;function iL(t={}){let e=Object.assign(Object.assign({},rL),t),n=new Ks(e,!0),r=new Ks(e,!1),i=He.fromClass(class{constructor(a){this.from=a.viewport.from,this.markers=this.buildMarkers(a)}update(a){(a.docChanged||a.viewportChanged||a.startState.facet(mi)!=a.state.facet(mi)||a.startState.field(sl,!1)!=a.state.field(sl,!1)||Qe(a.startState)!=Qe(a.state)||e.foldingChanged(a))&&(this.markers=this.buildMarkers(a.view))}buildMarkers(a){let o=new Ji;for(let s of a.viewportLineBlocks){let c=Qf(a.state,s.from,s.to)?r:Tf(a.state,s.from,s.to)?n:null;c&&o.add(s.from,s.from,c)}return o.finish()}}),{domEventHandlers:l}=e;return[i,WZ({class:"cm-foldGutter",markers(a){var o;return((o=a.plugin(i))===null||o===void 0?void 0:o.markers)||xe.empty},initialSpacer(){return new Ks(e,!1)},domEventHandlers:Object.assign(Object.assign({},l),{click:(a,o,s)=>{if(l.click&&l.click(a,o,s))return!0;let c=Qf(a.state,o.from,o.to);if(c)return a.dispatch({effects:Ys.of(c)}),!0;let d=Tf(a.state,o.from,o.to);return d?(a.dispatch({effects:Rf.of(d)}),!0):!1}})}),I6()]}u(iL,"foldGutter");const lL=H.baseTheme({".cm-foldPlaceholder":{backgroundColor:"#eee",border:"1px solid #ddd",color:"#888",borderRadius:".2em",margin:"0 1px",padding:"0 1px",cursor:"pointer"},".cm-foldGutter span":{padding:"0 1px",cursor:"pointer"}}),Dp=class Dp{constructor(e,n){this.specs=e;let r;function i(o){let s=Zn.newName();return(r||(r=Object.create(null)))["."+s]=o,s}u(i,"def");const l=typeof n.all=="string"?n.all:n.all?i(n.all):void 0,a=n.scope;this.scope=a instanceof jt?o=>o.prop(Aa)==a.data:a?o=>o==a:void 0,this.style=C6(e.map(o=>({tag:o.tag,class:o.class||i(Object.assign({},o,{tag:null}))})),{all:l}).style,this.module=r?new Zn(r):null,this.themeType=n.themeType}static define(e,n){return new Dp(e,n||{})}};u(Dp,"HighlightStyle");let Mf=Dp;const QO=G.define(),L6=G.define({combine(t){return t.length?[t[0]]:null}});function MO(t){let e=t.facet(QO);return e.length?e:t.facet(L6)}u(MO,"getHighlighters");function aL(t,e){let n=[oL],r;return t instanceof Mf&&(t.module&&n.push(H.styleModule.of(t.module)),r=t.themeType),e?.fallback?n.push(L6.of(t)):r?n.push(QO.computeN([H.darkTheme],i=>i.facet(H.darkTheme)==(r=="dark")?[t]:[])):n.push(QO.of(t)),n}u(aL,"syntaxHighlighting");const J4=class J4{constructor(e){this.markCache=Object.create(null),this.tree=Qe(e.state),this.decorations=this.buildDeco(e,MO(e.state)),this.decoratedTo=e.viewport.to}update(e){let n=Qe(e.state),r=MO(e.state),i=r!=MO(e.startState),{viewport:l}=e.view,a=e.changes.mapPos(this.decoratedTo,1);n.length=l.to?(this.decorations=this.decorations.map(e.changes),this.decoratedTo=a):(n!=this.tree||e.viewportChanged||i)&&(this.tree=n,this.decorations=this.buildDeco(e.view,r),this.decoratedTo=l.to)}buildDeco(e,n){if(!n||!this.tree.length)return ne.none;let r=new Ji;for(let{from:i,to:l}of e.visibleRanges)Mz(this.tree,n,(a,o,s)=>{r.add(a,o,this.markCache[s]||(this.markCache[s]=ne.mark({class:s})))},i,l);return r.finish()}};u(J4,"TreeHighlighter");let BO=J4;const oL=_i.high(He.fromClass(BO,{decorations:t=>t.decorations})),sL=Mf.define([{tag:Q.meta,color:"#404740"},{tag:Q.link,textDecoration:"underline"},{tag:Q.heading,textDecoration:"underline",fontWeight:"bold"},{tag:Q.emphasis,fontStyle:"italic"},{tag:Q.strong,fontWeight:"bold"},{tag:Q.strikethrough,textDecoration:"line-through"},{tag:Q.keyword,color:"#708"},{tag:[Q.atom,Q.bool,Q.url,Q.contentSeparator,Q.labelName],color:"#219"},{tag:[Q.literal,Q.inserted],color:"#164"},{tag:[Q.string,Q.deleted],color:"#a11"},{tag:[Q.regexp,Q.escape,Q.special(Q.string)],color:"#e40"},{tag:Q.definition(Q.variableName),color:"#00f"},{tag:Q.local(Q.variableName),color:"#30a"},{tag:[Q.typeName,Q.namespace],color:"#085"},{tag:Q.className,color:"#167"},{tag:[Q.special(Q.variableName),Q.macroName],color:"#256"},{tag:Q.definition(Q.propertyName),color:"#00c"},{tag:Q.comment,color:"#940"},{tag:Q.invalid,color:"#f00"}]),uL=H.baseTheme({"&.cm-focused .cm-matchingBracket":{backgroundColor:"#328c8252"},"&.cm-focused .cm-nonmatchingBracket":{backgroundColor:"#bb555544"}}),W6=1e4,X6="()[]{}",j6=G.define({combine(t){return ii(t,{afterCursor:!0,brackets:X6,maxScanDistance:W6,renderMatch:fL})}}),cL=ne.mark({class:"cm-matchingBracket"}),dL=ne.mark({class:"cm-nonmatchingBracket"});function fL(t){let e=[],n=t.matched?cL:dL;return e.push(n.range(t.start.from,t.start.to)),t.end&&e.push(n.range(t.end.from,t.end.to)),e}u(fL,"defaultRenderMatch");const hL=[zt.define({create(){return ne.none},update(t,e){if(!e.docChanged&&!e.selection)return t;let n=[],r=e.state.facet(j6);for(let i of e.state.selection.ranges){if(!i.empty)continue;let l=Hn(e.state,i.head,-1,r)||i.head>0&&Hn(e.state,i.head-1,1,r)||r.afterCursor&&(Hn(e.state,i.head,1,r)||i.headH.decorations.from(t)}),uL];function pL(t={}){return[j6.of(t),hL]}u(pL,"bracketMatching");const q6=new se;function VO(t,e,n){let r=t.prop(e<0?se.openedBy:se.closedBy);if(r)return r;if(t.name.length==1){let i=n.indexOf(t.name);if(i>-1&&i%2==(e<0?1:0))return[n[i+e]]}return null}u(VO,"matchingNodes");function NO(t){let e=t.type.prop(q6);return e?e(t.node):t}u(NO,"findHandle");function Hn(t,e,n,r={}){let i=r.maxScanDistance||W6,l=r.brackets||X6,a=Qe(t),o=a.resolveInner(e,n);for(let s=o;s;s=s.parent){let c=VO(s.type,n,l);if(c&&s.from0?e>=d.from&&ed.from&&e<=d.to))return mL(t,e,n,s,d,c,l)}}return gL(t,e,n,a,o.type,i,l)}u(Hn,"matchBrackets");function mL(t,e,n,r,i,l,a){let o=r.parent,s={from:i.from,to:i.to},c=0,d=o?.cursor();if(d&&(n<0?d.childBefore(r.from):d.childAfter(r.to)))do if(n<0?d.to<=r.from:d.from>=r.to){if(c==0&&l.indexOf(d.type.name)>-1&&d.from0)return null;let c={from:n<0?e-1:e,to:n>0?e+1:e},d=t.doc.iterRange(e,n>0?t.doc.length:0),f=0;for(let h=0;!d.next().done&&h<=l;){let p=d.value;n<0&&(h+=p.length);let m=e+h*n;for(let g=n>0?0:p.length-1,O=n>0?p.length:-1;g!=O;g+=n){let b=a.indexOf(p[g]);if(!(b<0||r.resolveInner(m+g,1).type!=i))if(b%2==0==n>0)f++;else{if(f==1)return{start:c,end:{from:m+g,to:m+g+1},matched:b>>1==s>>1};f--}}n>0&&(h+=p.length)}return d.done?{start:c,matched:!1}:null}u(gL,"matchPlainBrackets");const OL=Object.create(null),U6=[Xt.none],Y6=[],K6=Object.create(null),bL=Object.create(null);for(let[t,e]of[["variable","variableName"],["variable-2","variableName.special"],["string-2","string.special"],["def","variableName.definition"],["tag","tagName"],["attribute","attributeName"],["type","typeName"],["builtin","variableName.standard"],["qualifier","modifier"],["error","invalid"],["header","heading"],["property","propertyName"]])bL[t]=yL(OL,e);function FO(t,e){Y6.indexOf(t)>-1||(Y6.push(t),console.warn(e))}u(FO,"warnForPart");function yL(t,e){let n=[];for(let o of e.split(" ")){let s=[];for(let c of o.split(".")){let d=t[c]||Q[c];d?typeof d=="function"?s.length?s=s.map(d):FO(c,`Modifier ${c} used at start of tag`):s.length?FO(c,`Tag ${c} used as modifier`):s=Array.isArray(d)?d:[d]:FO(c,`Unknown highlighting tag ${c}`)}for(let c of s)n.push(c)}if(!n.length)return 0;let r=e.replace(/ /g,"_"),i=r+" "+n.map(o=>o.id),l=K6[i];if(l)return l.id;let a=K6[i]=Xt.define({id:U6.length,name:r,props:[xf({[r]:n})]});return U6.push(a),a.id}u(yL,"createTokenType"),Pe.RTL,Pe.LTR;const vL=u(t=>{let{state:e}=t,n=e.doc.lineAt(e.selection.main.from),r=ZO(t.state,n.from);return r.line?$L(t):r.block?xL(t):!1},"toggleComment");function IO(t,e){return({state:n,dispatch:r})=>{if(n.readOnly)return!1;let i=t(e,n);return i?(r(n.update(i)),!0):!1}}u(IO,"command");const $L=IO(DL,0),wL=IO(G6,0),xL=IO((t,e)=>G6(t,e,CL(e)),0);function ZO(t,e){let n=t.languageDataAt("commentTokens",e);return n.length?n[0]:{}}u(ZO,"getConfig");const Gs=50;function SL(t,{open:e,close:n},r,i){let l=t.sliceDoc(r-Gs,r),a=t.sliceDoc(i,i+Gs),o=/\s*$/.exec(l)[0].length,s=/^\s*/.exec(a)[0].length,c=l.length-o;if(l.slice(c-e.length,c)==e&&a.slice(s,s+n.length)==n)return{open:{pos:r-o,margin:o&&1},close:{pos:i+s,margin:s&&1}};let d,f;i-r<=2*Gs?d=f=t.sliceDoc(r,i):(d=t.sliceDoc(r,r+Gs),f=t.sliceDoc(i-Gs,i));let h=/^\s*/.exec(d)[0].length,p=/\s*$/.exec(f)[0].length,m=f.length-p-n.length;return d.slice(h,h+e.length)==e&&f.slice(m,m+n.length)==n?{open:{pos:r+h+e.length,margin:/\s/.test(d.charAt(h+e.length))?1:0},close:{pos:i-p-n.length,margin:/\s/.test(f.charAt(m-1))?1:0}}:null}u(SL,"findBlockComment");function CL(t){let e=[];for(let n of t.selection.ranges){let r=t.doc.lineAt(n.from),i=n.to<=r.to?r:t.doc.lineAt(n.to);i.from>r.from&&i.from==n.to&&(i=n.to==r.to+1?r:t.doc.lineAt(n.to-1));let l=e.length-1;l>=0&&e[l].to>r.from?e[l].to=i.to:e.push({from:r.from+/^\s*/.exec(r.text)[0].length,to:i.to})}return e}u(CL,"selectedLineRanges");function G6(t,e,n=e.selection.ranges){let r=n.map(l=>ZO(e,l.from).block);if(!r.every(l=>l))return null;let i=n.map((l,a)=>SL(e,r[a],l.from,l.to));if(t!=2&&!i.every(l=>l))return{changes:e.changes(n.map((l,a)=>i[a]?[]:[{from:l.from,insert:r[a].open+" "},{from:l.to,insert:" "+r[a].close}]))};if(t!=1&&i.some(l=>l)){let l=[];for(let a=0,o;ai&&(l==a||a>f.from)){i=f.from;let h=/^\s*/.exec(f.text)[0].length,p=h==f.length,m=f.text.slice(h,h+c.length)==c?h:-1;hl.comment<0&&(!l.empty||l.single))){let l=[];for(let{line:o,token:s,indent:c,empty:d,single:f}of r)(f||!d)&&l.push({from:o.from+c,insert:s+" "});let a=e.changes(l);return{changes:a,selection:e.selection.map(a,1)}}else if(t!=1&&r.some(l=>l.comment>=0)){let l=[];for(let{line:a,comment:o,token:s}of r)if(o>=0){let c=a.from+o,d=c+s.length;a.text[d-a.from]==" "&&d++,l.push({from:c,to:d})}return{changes:l}}return null}u(DL,"changeLineComment");const zO=$n.define(),kL=$n.define(),PL=G.define(),H6=G.define({combine(t){return ii(t,{minDepth:100,newGroupDelay:500,joinToEvent:(e,n)=>n},{minDepth:Math.max,newGroupDelay:Math.min,joinToEvent:(e,n)=>(r,i)=>e(r,i)||n(r,i)})}}),_6=zt.define({create(){return Hs.empty},update(t,e){let n=e.state.facet(H6),r=e.annotation(zO);if(r){let s=Cn.fromTransaction(e,r.selection),c=r.side,d=c==0?t.undone:t.done;return s?d=Vf(d,d.length,n.minDepth,s):d=t7(d,e.startState.selection),new Hs(c==0?r.rest:d,c==0?d:r.rest)}let i=e.annotation(kL);if((i=="full"||i=="before")&&(t=t.isolate()),e.annotation(Ot.addToHistory)===!1)return e.changes.empty?t:t.addMapping(e.changes.desc);let l=Cn.fromTransaction(e),a=e.annotation(Ot.time),o=e.annotation(Ot.userEvent);return l?t=t.addChanges(l,a,o,n,e):e.selection&&(t=t.addSelection(e.startState.selection,a,o,n.newGroupDelay)),(i=="full"||i=="after")&&(t=t.isolate()),t},toJSON(t){return{done:t.done.map(e=>e.toJSON()),undone:t.undone.map(e=>e.toJSON())}},fromJSON(t){return new Hs(t.done.map(Cn.fromJSON),t.undone.map(Cn.fromJSON))}});function EL(t={}){return[_6,H6.of(t),H.domEventHandlers({beforeinput(e,n){let r=e.inputType=="historyUndo"?J6:e.inputType=="historyRedo"?LO:null;return r?(e.preventDefault(),r(n)):!1}})]}u(EL,"history$1");function Bf(t,e){return function({state:n,dispatch:r}){if(!e&&n.readOnly)return!1;let i=n.field(_6,!1);if(!i)return!1;let l=i.pop(t,n,e);return l?(r(l),!0):!1}}u(Bf,"cmd");const J6=Bf(0,!1),LO=Bf(1,!1),AL=Bf(0,!0),TL=Bf(1,!0),Bl=class Bl{constructor(e,n,r,i,l){this.changes=e,this.effects=n,this.mapped=r,this.startSelection=i,this.selectionsAfter=l}setSelAfter(e){return new Bl(this.changes,this.effects,this.mapped,this.startSelection,e)}toJSON(){var e,n,r;return{changes:(e=this.changes)===null||e===void 0?void 0:e.toJSON(),mapped:(n=this.mapped)===null||n===void 0?void 0:n.toJSON(),startSelection:(r=this.startSelection)===null||r===void 0?void 0:r.toJSON(),selectionsAfter:this.selectionsAfter.map(i=>i.toJSON())}}static fromJSON(e){return new Bl(e.changes&&Zt.fromJSON(e.changes),[],e.mapped&&ni.fromJSON(e.mapped),e.startSelection&&z.fromJSON(e.startSelection),e.selectionsAfter.map(z.fromJSON))}static fromTransaction(e,n){let r=fn;for(let i of e.startState.facet(PL)){let l=i(e);l.length&&(r=r.concat(l))}return!r.length&&e.changes.empty?null:new Bl(e.changes.invert(e.startState.doc),r,void 0,n||e.startState.selection,fn)}static selection(e){return new Bl(void 0,fn,void 0,void 0,e)}};u(Bl,"HistEvent");let Cn=Bl;function Vf(t,e,n,r){let i=e+1>n+20?e-n-1:0,l=t.slice(i,e);return l.push(r),l}u(Vf,"updateBranch");function RL(t,e){let n=[],r=!1;return t.iterChangedRanges((i,l)=>n.push(i,l)),e.iterChangedRanges((i,l,a,o)=>{for(let s=0;s=c&&a<=d&&(r=!0)}}),r}u(RL,"isAdjacent");function QL(t,e){return t.ranges.length==e.ranges.length&&t.ranges.filter((n,r)=>n.empty!=e.ranges[r].empty).length===0}u(QL,"eqSelectionShape");function e7(t,e){return t.length?e.length?t.concat(e):t:e}u(e7,"conc");const fn=[],ML=200;function t7(t,e){if(t.length){let n=t[t.length-1],r=n.selectionsAfter.slice(Math.max(0,n.selectionsAfter.length-ML));return r.length&&r[r.length-1].eq(e)?t:(r.push(e),Vf(t,t.length-1,1e9,n.setSelAfter(r)))}else return[Cn.selection([e])]}u(t7,"addSelection");function BL(t){let e=t[t.length-1],n=t.slice();return n[t.length-1]=e.setSelAfter(e.selectionsAfter.slice(0,e.selectionsAfter.length-1)),n}u(BL,"popSelection");function WO(t,e){if(!t.length)return t;let n=t.length,r=fn;for(;n;){let i=VL(t[n-1],e,r);if(i.changes&&!i.changes.empty||i.effects.length){let l=t.slice(0,n);return l[n-1]=i,l}else e=i.mapped,n--,r=i.selectionsAfter}return r.length?[Cn.selection(r)]:fn}u(WO,"addMappingToBranch");function VL(t,e,n){let r=e7(t.selectionsAfter.length?t.selectionsAfter.map(o=>o.map(e)):fn,n);if(!t.changes)return Cn.selection(r);let i=t.changes.map(e),l=e.mapDesc(t.changes,!0),a=t.mapped?t.mapped.composeDesc(l):l;return new Cn(i,pe.mapEffects(t.effects,e),a,t.startSelection.map(l),r)}u(VL,"mapEvent");const NL=/^(input\.type|delete)($|\.)/;let Hs=(Wr=class{constructor(e,n,r=0,i=void 0){this.done=e,this.undone=n,this.prevTime=r,this.prevUserEvent=i}isolate(){return this.prevTime?new Wr(this.done,this.undone):this}addChanges(e,n,r,i,l){let a=this.done,o=a[a.length-1];return o&&o.changes&&!o.changes.empty&&e.changes&&(!r||NL.test(r))&&(!o.selectionsAfter.length&&n-this.prevTime0&&n-this.prevTimen.empty?t.moveByChar(n,e):Nf(n,e))}u(n7,"cursorByChar");function st(t){return t.textDirectionAt(t.state.selection.main.head)==Pe.LTR}u(st,"ltrAtCursor");const r7=u(t=>n7(t,!st(t)),"cursorCharLeft"),i7=u(t=>n7(t,st(t)),"cursorCharRight");function l7(t,e){return Dn(t,n=>n.empty?t.moveByGroup(n,e):Nf(n,e))}u(l7,"cursorByGroup");const IL=u(t=>l7(t,!st(t)),"cursorGroupLeft"),ZL=u(t=>l7(t,st(t)),"cursorGroupRight");function zL(t,e,n){if(e.type.prop(n))return!0;let r=e.to-e.from;return r&&(r>2||/[^\s,.;:]/.test(t.sliceDoc(e.from,e.to)))||e.firstChild}u(zL,"interestingNode");function Ff(t,e,n){let r=Qe(t).resolveInner(e.head),i=n?se.closedBy:se.openedBy;for(let s=e.head;;){let c=n?r.childAfter(s):r.childBefore(s);if(!c)break;zL(t,c,i)?r=c:s=n?c.to:c.from}let l=r.type.prop(i),a,o;return l&&(a=n?Hn(t,r.from,1):Hn(t,r.to,-1))&&a.matched?o=n?a.end.to:a.end.from:o=n?r.to:r.from,z.cursor(o,n?-1:1)}u(Ff,"moveBySyntax");const LL=u(t=>Dn(t,e=>Ff(t.state,e,!st(t))),"cursorSyntaxLeft"),WL=u(t=>Dn(t,e=>Ff(t.state,e,st(t))),"cursorSyntaxRight");function a7(t,e){return Dn(t,n=>{if(!n.empty)return Nf(n,e);let r=t.moveVertically(n,e);return r.head!=n.head?r:t.moveToLineBoundary(n,e)})}u(a7,"cursorByLine");const o7=u(t=>a7(t,!1),"cursorLineUp"),s7=u(t=>a7(t,!0),"cursorLineDown");function u7(t){let e=t.scrollDOM.clientHeighta.empty?t.moveVertically(a,e,n.height):Nf(a,e));if(i.eq(r.selection))return!1;let l;if(n.selfScroll){let a=t.coordsAtPos(r.selection.main.head),o=t.scrollDOM.getBoundingClientRect(),s=o.top+n.marginTop,c=o.bottom-n.marginBottom;a&&a.top>s&&a.bottomc7(t,!1),"cursorPageUp"),XO=u(t=>c7(t,!0),"cursorPageDown");function gi(t,e,n){let r=t.lineBlockAt(e.head),i=t.moveToLineBoundary(e,n);if(i.head==e.head&&i.head!=(n?r.to:r.from)&&(i=t.moveToLineBoundary(e,n,!1)),!n&&i.head==r.from&&r.length){let l=/^\s*/.exec(t.state.sliceDoc(r.from,Math.min(r.from+100,r.to)))[0].length;l&&e.head!=r.from+l&&(i=z.cursor(r.from+l))}return i}u(gi,"moveByLineBoundary");const XL=u(t=>Dn(t,e=>gi(t,e,!0)),"cursorLineBoundaryForward"),jL=u(t=>Dn(t,e=>gi(t,e,!1)),"cursorLineBoundaryBackward"),qL=u(t=>Dn(t,e=>gi(t,e,!st(t))),"cursorLineBoundaryLeft"),UL=u(t=>Dn(t,e=>gi(t,e,st(t))),"cursorLineBoundaryRight"),YL=u(t=>Dn(t,e=>z.cursor(t.lineBlockAt(e.head).from,1)),"cursorLineStart"),KL=u(t=>Dn(t,e=>z.cursor(t.lineBlockAt(e.head).to,-1)),"cursorLineEnd");function GL(t,e,n){let r=!1,i=Ra(t.selection,l=>{let a=Hn(t,l.head,-1)||Hn(t,l.head,1)||l.head>0&&Hn(t,l.head-1,1)||l.headGL(t,e,!1),"cursorMatchingBracket");function hn(t,e){let n=Ra(t.state.selection,r=>{let i=e(r);return z.range(r.anchor,i.head,i.goalColumn,i.bidiLevel||void 0)});return n.eq(t.state.selection)?!1:(t.dispatch(_n(t.state,n)),!0)}u(hn,"extendSel");function f7(t,e){return hn(t,n=>t.moveByChar(n,e))}u(f7,"selectByChar");const h7=u(t=>f7(t,!st(t)),"selectCharLeft"),p7=u(t=>f7(t,st(t)),"selectCharRight");function m7(t,e){return hn(t,n=>t.moveByGroup(n,e))}u(m7,"selectByGroup");const _L=u(t=>m7(t,!st(t)),"selectGroupLeft"),JL=u(t=>m7(t,st(t)),"selectGroupRight"),eW=u(t=>hn(t,e=>Ff(t.state,e,!st(t))),"selectSyntaxLeft"),tW=u(t=>hn(t,e=>Ff(t.state,e,st(t))),"selectSyntaxRight");function g7(t,e){return hn(t,n=>t.moveVertically(n,e))}u(g7,"selectByLine");const O7=u(t=>g7(t,!1),"selectLineUp"),b7=u(t=>g7(t,!0),"selectLineDown");function y7(t,e){return hn(t,n=>t.moveVertically(n,e,u7(t).height))}u(y7,"selectByPage");const v7=u(t=>y7(t,!1),"selectPageUp"),$7=u(t=>y7(t,!0),"selectPageDown"),nW=u(t=>hn(t,e=>gi(t,e,!0)),"selectLineBoundaryForward"),rW=u(t=>hn(t,e=>gi(t,e,!1)),"selectLineBoundaryBackward"),iW=u(t=>hn(t,e=>gi(t,e,!st(t))),"selectLineBoundaryLeft"),lW=u(t=>hn(t,e=>gi(t,e,st(t))),"selectLineBoundaryRight"),aW=u(t=>hn(t,e=>z.cursor(t.lineBlockAt(e.head).from)),"selectLineStart"),oW=u(t=>hn(t,e=>z.cursor(t.lineBlockAt(e.head).to)),"selectLineEnd"),w7=u(({state:t,dispatch:e})=>(e(_n(t,{anchor:0})),!0),"cursorDocStart"),x7=u(({state:t,dispatch:e})=>(e(_n(t,{anchor:t.doc.length})),!0),"cursorDocEnd"),S7=u(({state:t,dispatch:e})=>(e(_n(t,{anchor:t.selection.main.anchor,head:0})),!0),"selectDocStart"),C7=u(({state:t,dispatch:e})=>(e(_n(t,{anchor:t.selection.main.anchor,head:t.doc.length})),!0),"selectDocEnd"),sW=u(({state:t,dispatch:e})=>(e(t.update({selection:{anchor:0,head:t.doc.length},userEvent:"select"})),!0),"selectAll$1"),uW=u(({state:t,dispatch:e})=>{let n=Zf(t).map(({from:r,to:i})=>z.range(r,Math.min(i+1,t.doc.length)));return e(t.update({selection:z.create(n),userEvent:"select"})),!0},"selectLine"),cW=u(({state:t,dispatch:e})=>{let n=Ra(t.selection,r=>{let i=Qe(t),l=i.resolveStack(r.from,1);if(r.empty){let a=i.resolveStack(r.from,-1);a.node.from>=l.node.from&&a.node.to<=l.node.to&&(l=a)}for(let a=l;a;a=a.next){let{node:o}=a;if((o.from=r.to||o.to>r.to&&o.from<=r.from)&&a.next)return z.range(o.to,o.from)}return r});return n.eq(t.selection)?!1:(e(_n(t,n)),!0)},"selectParentSyntax"),dW=u(({state:t,dispatch:e})=>{let n=t.selection,r=null;return n.ranges.length>1?r=z.create([n.main]):n.main.empty||(r=z.create([z.cursor(n.main.head)])),r?(e(_n(t,r)),!0):!1},"simplifySelection");function _s(t,e){if(t.state.readOnly)return!1;let n="delete.selection",{state:r}=t,i=r.changeByRange(l=>{let{from:a,to:o}=l;if(a==o){let s=e(l);sa&&(n="delete.forward",s=If(t,s,!0)),a=Math.min(a,s),o=Math.max(o,s)}else a=If(t,a,!1),o=If(t,o,!0);return a==o?{range:l}:{changes:{from:a,to:o},range:z.cursor(a,ai(t)))r.between(e,e,(i,l)=>{ie&&(e=n?l:i)});return e}u(If,"skipAtomic");const D7=u((t,e,n)=>_s(t,r=>{let i=r.from,{state:l}=t,a=l.doc.lineAt(i),o,s;if(n&&!e&&i>a.from&&iD7(t,!1,!0),"deleteCharBackward"),k7=u(t=>D7(t,!0,!1),"deleteCharForward"),P7=u((t,e)=>_s(t,n=>{let r=n.head,{state:i}=t,l=i.doc.lineAt(r),a=i.charCategorizer(r);for(let o=null;;){if(r==(e?l.to:l.from)){r==n.head&&l.number!=(e?i.doc.lines:1)&&(r+=e?1:-1);break}let s=gt(l.text,r-l.from,e)+l.from,c=l.text.slice(Math.min(r,s)-l.from,Math.max(r,s)-l.from),d=a(c);if(o!=null&&d!=o)break;(c!=" "||r!=n.head)&&(o=d),r=s}return r}),"deleteByGroup"),E7=u(t=>P7(t,!1),"deleteGroupBackward"),fW=u(t=>P7(t,!0),"deleteGroupForward"),hW=u(t=>_s(t,e=>{let n=t.lineBlockAt(e.head).to;return e.head_s(t,e=>{let n=t.moveToLineBoundary(e,!1).head;return e.head>n?n:Math.max(0,e.head-1)}),"deleteLineBoundaryBackward"),mW=u(t=>_s(t,e=>{let n=t.moveToLineBoundary(e,!0).head;return e.head{if(t.readOnly)return!1;let n=t.changeByRange(r=>({changes:{from:r.from,to:r.to,insert:de.of(["",""])},range:z.cursor(r.from)}));return e(t.update(n,{scrollIntoView:!0,userEvent:"input"})),!0},"splitLine"),OW=u(({state:t,dispatch:e})=>{if(t.readOnly)return!1;let n=t.changeByRange(r=>{if(!r.empty||r.from==0||r.from==t.doc.length)return{range:r};let i=r.from,l=t.doc.lineAt(i),a=i==l.from?i-1:gt(l.text,i-l.from,!1)+l.from,o=i==l.to?i+1:gt(l.text,i-l.from,!0)+l.from;return{changes:{from:a,to:o,insert:t.doc.slice(i,o).append(t.doc.slice(a,i))},range:z.cursor(o)}});return n.changes.empty?!1:(e(t.update(n,{scrollIntoView:!0,userEvent:"move.character"})),!0)},"transposeChars");function Zf(t){let e=[],n=-1;for(let r of t.selection.ranges){let i=t.doc.lineAt(r.from),l=t.doc.lineAt(r.to);if(!r.empty&&r.to==l.from&&(l=t.doc.lineAt(r.to-1)),n>=i.number){let a=e[e.length-1];a.to=l.to,a.ranges.push(r)}else e.push({from:i.from,to:l.to,ranges:[r]});n=l.number+1}return e}u(Zf,"selectedLineBlocks");function A7(t,e,n){if(t.readOnly)return!1;let r=[],i=[];for(let l of Zf(t)){if(n?l.to==t.doc.length:l.from==0)continue;let a=t.doc.lineAt(n?l.to+1:l.from-1),o=a.length+1;if(n){r.push({from:l.to,to:a.to},{from:l.from,insert:a.text+t.lineBreak});for(let s of l.ranges)i.push(z.range(Math.min(t.doc.length,s.anchor+o),Math.min(t.doc.length,s.head+o)))}else{r.push({from:a.from,to:l.from},{from:l.to,insert:t.lineBreak+a.text});for(let s of l.ranges)i.push(z.range(s.anchor-o,s.head-o))}}return r.length?(e(t.update({changes:r,scrollIntoView:!0,selection:z.create(i,t.selection.mainIndex),userEvent:"move.line"})),!0):!1}u(A7,"moveLine");const bW=u(({state:t,dispatch:e})=>A7(t,e,!1),"moveLineUp"),yW=u(({state:t,dispatch:e})=>A7(t,e,!0),"moveLineDown");function T7(t,e,n){if(t.readOnly)return!1;let r=[];for(let i of Zf(t))n?r.push({from:i.from,insert:t.doc.slice(i.from,i.to)+t.lineBreak}):r.push({from:i.to,insert:t.lineBreak+t.doc.slice(i.from,i.to)});return e(t.update({changes:r,scrollIntoView:!0,userEvent:"input.copyline"})),!0}u(T7,"copyLine");const vW=u(({state:t,dispatch:e})=>T7(t,e,!1),"copyLineUp"),$W=u(({state:t,dispatch:e})=>T7(t,e,!0),"copyLineDown"),wW=u(t=>{if(t.state.readOnly)return!1;let{state:e}=t,n=e.changes(Zf(e).map(({from:i,to:l})=>(i>0?i--:l{let l;if(t.lineWrapping){let a=t.lineBlockAt(i.head),o=t.coordsAtPos(i.head,i.assoc||1);o&&(l=a.bottom+t.documentTop-o.bottom+t.defaultLineHeight/2)}return t.moveVertically(i,!0,l)}).map(n);return t.dispatch({changes:n,selection:r,scrollIntoView:!0,userEvent:"delete.line"}),!0},"deleteLine");function xW(t,e){if(/\(\)|\[\]|\{\}/.test(t.sliceDoc(e-1,e+1)))return{from:e,to:e};let n=Qe(t).resolveInner(e),r=n.childBefore(e),i=n.childAfter(e),l;return r&&i&&r.to<=e&&i.from>=e&&(l=r.type.prop(se.closedBy))&&l.indexOf(i.name)>-1&&t.doc.lineAt(r.to).from==t.doc.lineAt(i.from).from&&!/\S/.test(t.sliceDoc(r.to,i.from))?{from:r.to,to:i.from}:null}u(xW,"isBetweenBrackets");const R7=Q7(!1),SW=Q7(!0);function Q7(t){return({state:e,dispatch:n})=>{if(e.readOnly)return!1;let r=e.changeByRange(i=>{let{from:l,to:a}=i,o=e.doc.lineAt(l),s=!t&&l==a&&xW(e,l);t&&(l=a=(a<=o.to?o:e.doc.lineAt(a)).to);let c=new Ta(e,{simulateBreak:l,simulateDoubleBreak:!!s}),d=EO(c,l);for(d==null&&(d=$a(/^\s*/.exec(e.doc.lineAt(l).text)[0],e.tabSize));ao.from&&l{let i=[];for(let a=r.from;a<=r.to;){let o=t.doc.lineAt(a);o.number>n&&(r.empty||r.to>o.from)&&(e(o,i,r),n=o.number),a=o.to+1}let l=t.changes(i);return{changes:i,range:z.range(l.mapPos(r.anchor,1),l.mapPos(r.head,1))}})}u(qO,"changeBySelectedLine");const CW=u(({state:t,dispatch:e})=>{if(t.readOnly)return!1;let n=Object.create(null),r=new Ta(t,{overrideIndentation:l=>{let a=n[l];return a??-1}}),i=qO(t,(l,a,o)=>{let s=EO(r,l.from);if(s==null)return;/\S/.test(l.text)||(s=0);let c=/^\s*/.exec(l.text)[0],d=Us(t,s);(c!=d||o.fromt.readOnly?!1:(e(t.update(qO(t,(n,r)=>{r.push({from:n.from,insert:t.facet(qs)})}),{userEvent:"input.indent"})),!0),"indentMore"),B7=u(({state:t,dispatch:e})=>t.readOnly?!1:(e(t.update(qO(t,(n,r)=>{let i=/^\s*/.exec(n.text)[0];if(!i)return;let l=$a(i,t.tabSize),a=0,o=Us(t,Math.max(0,l-kf(t)));for(;a(t.setTabFocusMode(),!0),"toggleTabFocusMode"),kW=[{key:"Ctrl-b",run:r7,shift:h7,preventDefault:!0},{key:"Ctrl-f",run:i7,shift:p7},{key:"Ctrl-p",run:o7,shift:O7},{key:"Ctrl-n",run:s7,shift:b7},{key:"Ctrl-a",run:YL,shift:aW},{key:"Ctrl-e",run:KL,shift:oW},{key:"Ctrl-d",run:k7},{key:"Ctrl-h",run:jO},{key:"Ctrl-k",run:hW},{key:"Ctrl-Alt-h",run:E7},{key:"Ctrl-o",run:gW},{key:"Ctrl-t",run:OW},{key:"Ctrl-v",run:XO}],PW=[{key:"ArrowLeft",run:r7,shift:h7,preventDefault:!0},{key:"Mod-ArrowLeft",mac:"Alt-ArrowLeft",run:IL,shift:_L,preventDefault:!0},{mac:"Cmd-ArrowLeft",run:qL,shift:iW,preventDefault:!0},{key:"ArrowRight",run:i7,shift:p7,preventDefault:!0},{key:"Mod-ArrowRight",mac:"Alt-ArrowRight",run:ZL,shift:JL,preventDefault:!0},{mac:"Cmd-ArrowRight",run:UL,shift:lW,preventDefault:!0},{key:"ArrowUp",run:o7,shift:O7,preventDefault:!0},{mac:"Cmd-ArrowUp",run:w7,shift:S7},{mac:"Ctrl-ArrowUp",run:d7,shift:v7},{key:"ArrowDown",run:s7,shift:b7,preventDefault:!0},{mac:"Cmd-ArrowDown",run:x7,shift:C7},{mac:"Ctrl-ArrowDown",run:XO,shift:$7},{key:"PageUp",run:d7,shift:v7},{key:"PageDown",run:XO,shift:$7},{key:"Home",run:jL,shift:rW,preventDefault:!0},{key:"Mod-Home",run:w7,shift:S7},{key:"End",run:XL,shift:nW,preventDefault:!0},{key:"Mod-End",run:x7,shift:C7},{key:"Enter",run:R7,shift:R7},{key:"Mod-a",run:sW},{key:"Backspace",run:jO,shift:jO},{key:"Delete",run:k7},{key:"Mod-Backspace",mac:"Alt-Backspace",run:E7},{key:"Mod-Delete",mac:"Alt-Delete",run:fW},{mac:"Mod-Backspace",run:pW},{mac:"Mod-Delete",run:mW}].concat(kW.map(t=>({mac:t.key,run:t.run,shift:t.shift}))),EW=[{key:"Alt-ArrowLeft",mac:"Ctrl-ArrowLeft",run:LL,shift:eW},{key:"Alt-ArrowRight",mac:"Ctrl-ArrowRight",run:WL,shift:tW},{key:"Alt-ArrowUp",run:bW},{key:"Shift-Alt-ArrowUp",run:vW},{key:"Alt-ArrowDown",run:yW},{key:"Shift-Alt-ArrowDown",run:$W},{key:"Escape",run:dW},{key:"Mod-Enter",run:SW},{key:"Alt-l",mac:"Ctrl-l",run:uW},{key:"Mod-i",run:cW,preventDefault:!0},{key:"Mod-[",run:B7},{key:"Mod-]",run:M7},{key:"Mod-Alt-\\",run:CW},{key:"Shift-Mod-k",run:wW},{key:"Shift-Mod-\\",run:HL},{key:"Mod-/",run:vL},{key:"Alt-A",run:wL},{key:"Ctrl-m",mac:"Shift-Alt-m",run:DW}].concat(PW),AW={key:"Tab",run:M7,shift:B7},ev=class ev{constructor(e,n,r,i){this.state=e,this.pos=n,this.explicit=r,this.view=i,this.abortListeners=[],this.abortOnDocChange=!1}tokenBefore(e){let n=Qe(this.state).resolveInner(this.pos,-1);for(;n&&e.indexOf(n.name)<0;)n=n.parent;return n?{from:n.from,to:this.pos,text:this.state.sliceDoc(n.from,this.pos),type:n.type}:null}matchBefore(e){let n=this.state.doc.lineAt(this.pos),r=Math.max(n.from,this.pos-250),i=n.text.slice(r-n.from,this.pos-n.from),l=i.search(F7(e,!1));return l<0?null:{from:r+l,to:this.pos,text:i.slice(l)}}get aborted(){return this.abortListeners==null}addEventListener(e,n,r){e=="abort"&&this.abortListeners&&(this.abortListeners.push(n),r&&r.onDocChange&&(this.abortOnDocChange=!0))}};u(ev,"CompletionContext");let zf=ev;function V7(t){let e=Object.keys(t).join(""),n=/\w/.test(e);return n&&(e=e.replace(/\w/g,"")),`[${n?"\\w":""}${e.replace(/[^\w\s]/g,"\\$&")}]`}u(V7,"toSet");function TW(t){let e=Object.create(null),n=Object.create(null);for(let{label:i}of t){e[i[0]]=!0;for(let l=1;ltypeof i=="string"?{label:i}:i),[n,r]=e.every(i=>/^\w+$/.test(i.label))?[/\w*$/,/\w+$/]:TW(e);return i=>{let l=i.matchBefore(r);return l||i.explicit?{from:l?l.from:i.pos,options:e,validFor:n}:null}}u(N7,"completeFromList");function RW(t,e){return n=>{for(let r=Qe(n.state).resolveInner(n.pos,-1);r;r=r.parent){if(t.indexOf(r.name)>-1)return null;if(r.type.isTop)break}return e(n)}}u(RW,"ifNotIn");const tv=class tv{constructor(e,n,r,i){this.completion=e,this.source=n,this.match=r,this.score=i}};u(tv,"Option");let Lf=tv;function Oi(t){return t.selection.main.from}u(Oi,"cur");function F7(t,e){var n;let{source:r}=t,i=e&&r[0]!="^",l=r[r.length-1]!="$";return!i&&!l?t:new RegExp(`${i?"^":""}(?:${r})${l?"$":""}`,(n=t.flags)!==null&&n!==void 0?n:t.ignoreCase?"i":"")}u(F7,"ensureAnchor");const UO=$n.define();function QW(t,e,n,r){let{main:i}=t.selection,l=n-i.from,a=r-i.from;return Object.assign(Object.assign({},t.changeByRange(o=>{if(o!=i&&n!=r&&t.sliceDoc(o.from+l,o.from+a)!=t.sliceDoc(n,r))return{range:o};let s=t.toText(e);return{changes:{from:o.from+l,to:r==i.from?o.to:o.from+a,insert:s},range:z.cursor(o.from+l+s.length)}})),{scrollIntoView:!0,userEvent:"input.complete"})}u(QW,"insertCompletionText");const I7=new WeakMap;function MW(t){if(!Array.isArray(t))return t;let e=I7.get(t);return e||I7.set(t,e=N7(t)),e}u(MW,"asSource");const Wf=pe.define(),Js=pe.define(),nv=class nv{constructor(e){this.pattern=e,this.chars=[],this.folded=[],this.any=[],this.precise=[],this.byWord=[],this.score=0,this.matched=[];for(let n=0;n=48&&w<=57||w>=97&&w<=122?2:w>=65&&w<=90?1:0:(x=zg(w))!=x.toLowerCase()?1:x!=x.toUpperCase()?2:0;(!y||P==1&&O||C==0&&P!=0)&&(n[f]==w||r[f]==w&&(h=!0)?a[f++]=y:a.length&&(b=!1)),C=P,y+=un(w)}return f==s&&a[0]==0&&b?this.result(-100+(h?-200:0),a,e):p==s&&m==0?this.ret(-200-e.length+(g==e.length?0:-100),[0,g]):o>-1?this.ret(-700-e.length,[o,o+this.pattern.length]):p==s?this.ret(-900-e.length,[m,g]):f==s?this.result(-100+(h?-200:0)+-700+(b?0:-1100),a,e):n.length==2?null:this.result((i[0]?-700:0)+-200+-1100,i,e)}result(e,n,r){let i=[],l=0;for(let a of n){let o=a+(this.astral?un(Ye(r,a)):1);l&&i[l-1]==a?i[l-1]=o:(i[l++]=a,i[l++]=o)}return this.ret(e-r.length,i)}};u(nv,"FuzzyMatcher");let YO=nv;const rv=class rv{constructor(e){this.pattern=e,this.matched=[],this.score=0,this.folded=e.toLowerCase()}match(e){if(e.length!1,activateOnTypingDelay:100,selectOnOpen:!0,override:null,closeOnBlur:!0,maxRenderedOptions:100,defaultKeymap:!0,tooltipClass:()=>"",optionClass:()=>"",aboveCursor:!1,icons:!0,addToOptions:[],positionInfo:BW,filterStrict:!1,compareCompletions:(e,n)=>e.label.localeCompare(n.label),interactionDelay:75,updateSyncTime:100},{defaultKeymap:(e,n)=>e&&n,closeOnBlur:(e,n)=>e&&n,icons:(e,n)=>e&&n,tooltipClass:(e,n)=>r=>Z7(e(r),n(r)),optionClass:(e,n)=>r=>Z7(e(r),n(r)),addToOptions:(e,n)=>e.concat(n),filterStrict:(e,n)=>e||n})}});function Z7(t,e){return t?e?t+" "+e:t:e}u(Z7,"joinClass");function BW(t,e,n,r,i,l){let a=t.textDirection==Pe.RTL,o=a,s=!1,c="top",d,f,h=e.left-i.left,p=i.right-e.right,m=r.right-r.left,g=r.bottom-r.top;if(o&&h=g||y>e.top?d=n.bottom-e.top:(c="bottom",d=e.bottom-n.top)}let O=(e.bottom-e.top)/l.offsetHeight,b=(e.right-e.left)/l.offsetWidth;return{style:`${c}: ${d/O}px; max-width: ${f/b}px`,class:"cm-completionInfo-"+(s?a?"left-narrow":"right-narrow":o?"left":"right")}}u(BW,"defaultPositionInfo");function VW(t){let e=t.addToOptions.slice();return t.icons&&e.push({render(n){let r=document.createElement("div");return r.classList.add("cm-completionIcon"),n.type&&r.classList.add(...n.type.split(/\s+/g).map(i=>"cm-completionIcon-"+i)),r.setAttribute("aria-hidden","true"),r},position:20}),e.push({render(n,r,i,l){let a=document.createElement("span");a.className="cm-completionLabel";let o=n.displayLabel||n.label,s=0;for(let c=0;cs&&a.appendChild(document.createTextNode(o.slice(s,d)));let h=a.appendChild(document.createElement("span"));h.appendChild(document.createTextNode(o.slice(d,f))),h.className="cm-completionMatchedText",s=f}return sn.position-r.position).map(n=>n.render)}u(VW,"optionContent");function GO(t,e,n){if(t<=n)return{from:0,to:t};if(e<0&&(e=0),e<=t>>1){let i=Math.floor(e/n);return{from:i*n,to:(i+1)*n}}let r=Math.floor((t-e)/n);return{from:t-(r+1)*n,to:t-r*n}}u(GO,"rangeAroundSelected");const iv=class iv{constructor(e,n,r){this.view=e,this.stateField=n,this.applyCompletion=r,this.info=null,this.infoDestroy=null,this.placeInfoReq={read:()=>this.measureInfo(),write:s=>this.placeInfo(s),key:this},this.space=null,this.currentClass="";let i=e.state.field(n),{options:l,selected:a}=i.open,o=e.state.facet(_e);this.optionContent=VW(o),this.optionClass=o.optionClass,this.tooltipClass=o.tooltipClass,this.range=GO(l.length,a,o.maxRenderedOptions),this.dom=document.createElement("div"),this.dom.className="cm-tooltip-autocomplete",this.updateTooltipClass(e.state),this.dom.addEventListener("mousedown",s=>{let{options:c}=e.state.field(n).open;for(let d=s.target,f;d&&d!=this.dom;d=d.parentNode)if(d.nodeName=="LI"&&(f=/-(\d+)$/.exec(d.id))&&+f[1]{let c=e.state.field(this.stateField,!1);c&&c.tooltip&&e.state.facet(_e).closeOnBlur&&s.relatedTarget!=e.contentDOM&&e.dispatch({effects:Js.of(null)})}),this.showOptions(l,i.id)}mount(){this.updateSel()}showOptions(e,n){this.list&&this.list.remove(),this.list=this.dom.appendChild(this.createListBox(e,n,this.range)),this.list.addEventListener("scroll",()=>{this.info&&this.view.requestMeasure(this.placeInfoReq)})}update(e){var n;let r=e.state.field(this.stateField),i=e.startState.field(this.stateField);if(this.updateTooltipClass(e.state),r!=i){let{options:l,selected:a,disabled:o}=r.open;(!i.open||i.open.options!=l)&&(this.range=GO(l.length,a,e.state.facet(_e).maxRenderedOptions),this.showOptions(l,r.id)),this.updateSel(),o!=((n=i.open)===null||n===void 0?void 0:n.disabled)&&this.dom.classList.toggle("cm-tooltip-autocomplete-disabled",!!o)}}updateTooltipClass(e){let n=this.tooltipClass(e);if(n!=this.currentClass){for(let r of this.currentClass.split(" "))r&&this.dom.classList.remove(r);for(let r of n.split(" "))r&&this.dom.classList.add(r);this.currentClass=n}}positioned(e){this.space=e,this.info&&this.view.requestMeasure(this.placeInfoReq)}updateSel(){let e=this.view.state.field(this.stateField),n=e.open;if((n.selected>-1&&n.selected=this.range.to)&&(this.range=GO(n.options.length,n.selected,this.view.state.facet(_e).maxRenderedOptions),this.showOptions(n.options,e.id)),this.updateSelectedOption(n.selected)){this.destroyInfo();let{completion:r}=n.options[n.selected],{info:i}=r;if(!i)return;let l=typeof i=="string"?document.createTextNode(i):i(r);if(!l)return;"then"in l?l.then(a=>{a&&this.view.state.field(this.stateField,!1)==e&&this.addInfoPane(a,r)}).catch(a=>Lt(this.view.state,a,"completion info")):this.addInfoPane(l,r)}}addInfoPane(e,n){this.destroyInfo();let r=this.info=document.createElement("div");if(r.className="cm-tooltip cm-completionInfo",e.nodeType!=null)r.appendChild(e),this.infoDestroy=null;else{let{dom:i,destroy:l}=e;r.appendChild(i),this.infoDestroy=l||null}this.dom.appendChild(r),this.view.requestMeasure(this.placeInfoReq)}updateSelectedOption(e){let n=null;for(let r=this.list.firstChild,i=this.range.from;r;r=r.nextSibling,i++)r.nodeName!="LI"||!r.id?i--:i==e?r.hasAttribute("aria-selected")||(r.setAttribute("aria-selected","true"),n=r):r.hasAttribute("aria-selected")&&r.removeAttribute("aria-selected");return n&&FW(this.list,n),n}measureInfo(){let e=this.dom.querySelector("[aria-selected]");if(!e||!this.info)return null;let n=this.dom.getBoundingClientRect(),r=this.info.getBoundingClientRect(),i=e.getBoundingClientRect(),l=this.space;if(!l){let a=this.dom.ownerDocument.defaultView||window;l={left:0,top:0,right:a.innerWidth,bottom:a.innerHeight}}return i.top>Math.min(l.bottom,n.bottom)-10||i.bottomr.from||r.from==0))if(l=h,typeof c!="string"&&c.header)i.appendChild(c.header(c));else{let p=i.appendChild(document.createElement("completion-section"));p.textContent=h}}const d=i.appendChild(document.createElement("li"));d.id=n+"-"+a,d.setAttribute("role","option");let f=this.optionClass(o);f&&(d.className=f);for(let h of this.optionContent){let p=h(o,this.view.state,this.view,s);p&&d.appendChild(p)}}return r.from&&i.classList.add("cm-completionListIncompleteTop"),r.tonew HO(n,t,e)}u(NW,"completionTooltip");function FW(t,e){let n=t.getBoundingClientRect(),r=e.getBoundingClientRect(),i=n.height/t.offsetHeight;r.topn.bottom&&(t.scrollTop+=(r.bottom-n.bottom)/i)}u(FW,"scrollIntoView");function z7(t){return(t.boost||0)*100+(t.apply?10:0)+(t.info?5:0)+(t.type?1:0)}u(z7,"score");function IW(t,e){let n=[],r=null,i=u(c=>{n.push(c);let{section:d}=c.completion;if(d){r||(r=[]);let f=typeof d=="string"?d:d.name;r.some(h=>h.name==f)||r.push(typeof d=="string"?{name:f}:d)}},"addOption"),l=e.facet(_e);for(let c of t)if(c.hasResult()){let d=c.result.getMatch;if(c.result.filter===!1)for(let f of c.result.options)i(new Lf(f,c.source,d?d(f):[],1e9-n.length));else{let f=e.sliceDoc(c.from,c.to),h,p=l.filterStrict?new KO(f):new YO(f);for(let m of c.result.options)if(h=p.match(m.label)){let g=m.displayLabel?d?d(m,h.matched):[]:h.matched;i(new Lf(m,c.source,g,h.score+(m.boost||0)))}}}if(r){let c=Object.create(null),d=0,f=u((h,p)=>{var m,g;return((m=h.rank)!==null&&m!==void 0?m:1e9)-((g=p.rank)!==null&&g!==void 0?g:1e9)||(h.namef.score-d.score||s(d.completion,f.completion))){let d=c.completion;!o||o.label!=d.label||o.detail!=d.detail||o.type!=null&&d.type!=null&&o.type!=d.type||o.apply!=d.apply||o.boost!=d.boost?a.push(c):z7(c.completion)>z7(o)&&(a[a.length-1]=c),o=c.completion}return a}u(IW,"sortOptions");const Vl=class Vl{constructor(e,n,r,i,l,a){this.options=e,this.attrs=n,this.tooltip=r,this.timestamp=i,this.selected=l,this.disabled=a}setSelected(e,n){return e==this.selected||e>=this.options.length?this:new Vl(this.options,L7(n,e),this.tooltip,this.timestamp,e,this.disabled)}static build(e,n,r,i,l){let a=IW(e,n);if(!a.length)return i&&e.some(s=>s.state==1)?new Vl(i.options,i.attrs,i.tooltip,i.timestamp,i.selected,!0):null;let o=n.facet(_e).selectOnOpen?0:-1;if(i&&i.selected!=o&&i.selected!=-1){let s=i.options[i.selected].completion;for(let c=0;cc.hasResult()?Math.min(s,c.from):s,1e8),create:jW,above:l.aboveCursor},i?i.timestamp:Date.now(),o,!1)}map(e){return new Vl(this.options,this.attrs,Object.assign(Object.assign({},this.tooltip),{pos:e.mapPos(this.tooltip.pos)}),this.timestamp,this.selected,this.disabled)}};u(Vl,"CompletionDialog");let _O=Vl;const oc=class oc{constructor(e,n,r){this.active=e,this.id=n,this.open=r}static start(){return new oc(WW,"cm-ac-"+Math.floor(Math.random()*2e6).toString(36),null)}update(e){let{state:n}=e,r=n.facet(_e),l=(r.override||n.languageDataAt("autocomplete",Oi(n)).map(MW)).map(o=>(this.active.find(c=>c.source==o)||new Ar(o,this.active.some(c=>c.state!=0)?1:0)).update(e,r));l.length==this.active.length&&l.every((o,s)=>o==this.active[s])&&(l=this.active);let a=this.open;a&&e.docChanged&&(a=a.map(e.changes)),e.selection||l.some(o=>o.hasResult()&&e.changes.touchesRange(o.from,o.to))||!ZW(l,this.active)?a=_O.build(l,n,this.id,a,r):a&&a.disabled&&!l.some(o=>o.state==1)&&(a=null),!a&&l.every(o=>o.state!=1)&&l.some(o=>o.hasResult())&&(l=l.map(o=>o.hasResult()?new Ar(o.source,0):o));for(let o of e.effects)o.is(j7)&&(a=a&&a.setSelected(o.value,this.id));return l==this.active&&a==this.open?this:new oc(l,this.id,a)}get tooltip(){return this.open?this.open.tooltip:null}get attrs(){return this.open?this.open.attrs:this.active.length?zW:LW}};u(oc,"CompletionState");let JO=oc;function ZW(t,e){if(t==e)return!0;for(let n=0,r=0;;){for(;n-1&&(n["aria-activedescendant"]=t+"-"+e),n}u(L7,"makeAttrs");const WW=[];function W7(t,e){if(t.isUserEvent("input.complete")){let r=t.annotation(UO);if(r&&e.activateOnCompletion(r))return 12}let n=t.isUserEvent("input.type");return n&&e.activateOnTyping?5:n?1:t.isUserEvent("delete.backward")?2:t.selection?8:t.docChanged?16:0}u(W7,"getUpdateType");const Pi=class Pi{constructor(e,n,r=-1){this.source=e,this.state=n,this.explicitPos=r}hasResult(){return!1}update(e,n){let r=W7(e,n),i=this;(r&8||r&16&&this.touches(e))&&(i=new Pi(i.source,0)),r&4&&i.state==0&&(i=new Pi(this.source,1)),i=i.updateFor(e,r);for(let l of e.effects)if(l.is(Wf))i=new Pi(i.source,1,l.value?Oi(e.state):-1);else if(l.is(Js))i=new Pi(i.source,0);else if(l.is(X7))for(let a of l.value)a.source==i.source&&(i=a);return i}updateFor(e,n){return this.map(e.changes)}map(e){return e.empty||this.explicitPos<0?this:new Pi(this.source,this.state,e.mapPos(this.explicitPos))}touches(e){return e.changes.touchesRange(Oi(e.state))}};u(Pi,"ActiveSource");let Ar=Pi;const mo=class mo extends Ar{constructor(e,n,r,i,l){super(e,2,n),this.result=r,this.from=i,this.to=l}hasResult(){return!0}updateFor(e,n){var r;if(!(n&3))return this.map(e.changes);let i=this.result;i.map&&!e.changes.empty&&(i=i.map(i,e.changes));let l=e.changes.mapPos(this.from),a=e.changes.mapPos(this.to,1),o=Oi(e.state);if((this.explicitPos<0?o<=l:oa||!i||n&2&&Oi(e.startState)==this.from)return new Ar(this.source,n&4?1:0);let s=this.explicitPos<0?-1:e.changes.mapPos(this.explicitPos);return XW(i.validFor,e.state,l,a)?new mo(this.source,s,i,l,a):i.update&&(i=i.update(i,l,a,new zf(e.state,o,s>=0)))?new mo(this.source,s,i,i.from,(r=i.to)!==null&&r!==void 0?r:Oi(e.state)):new Ar(this.source,1,s)}map(e){return e.empty?this:(this.result.map?this.result.map(this.result,e):this.result)?new mo(this.source,this.explicitPos<0?-1:e.mapPos(this.explicitPos),this.result,e.mapPos(this.from),e.mapPos(this.to,1)):new Ar(this.source,0)}touches(e){return e.changes.touchesRange(this.from,this.to)}};u(mo,"ActiveResult");let Xf=mo;function XW(t,e,n,r){if(!t)return!1;let i=e.sliceDoc(n,r);return typeof t=="function"?t(i,n,r,e):F7(t,!0).test(i)}u(XW,"checkValid");const X7=pe.define({map(t,e){return t.map(n=>n.map(e))}}),j7=pe.define(),Qt=zt.define({create(){return JO.start()},update(t,e){return t.update(e)},provide:t=>[n6.from(t,e=>e.tooltip),H.contentAttributes.from(t,e=>e.attrs)]});function eb(t,e){const n=e.completion.apply||e.completion.label;let r=t.state.field(Qt).active.find(i=>i.source==e.source);return r instanceof Xf?(typeof n=="string"?t.dispatch(Object.assign(Object.assign({},QW(t.state,n,r.from,r.to)),{annotations:UO.of(e.completion)})):n(t,e.completion,r.from,r.to),!0):!1}u(eb,"applyCompletion");const jW=NW(Qt,eb);function jf(t,e="option"){return n=>{let r=n.state.field(Qt,!1);if(!r||!r.open||r.open.disabled||Date.now()-r.open.timestamp-1?r.open.selected+i*(t?1:-1):t?0:a-1;return o<0?o=e=="page"?0:a-1:o>=a&&(o=e=="page"?a-1:0),n.dispatch({effects:j7.of(o)}),!0}}u(jf,"moveCompletionSelection");const qW=u(t=>{let e=t.state.field(Qt,!1);return t.state.readOnly||!e||!e.open||e.open.selected<0||e.open.disabled||Date.now()-e.open.timestampt.state.field(Qt,!1)?(t.dispatch({effects:Wf.of(!0)}),!0):!1,"startCompletion"),UW=u(t=>{let e=t.state.field(Qt,!1);return!e||!e.active.some(n=>n.state!=0)?!1:(t.dispatch({effects:Js.of(null)}),!0)},"closeCompletion"),lv=class lv{constructor(e,n){this.active=e,this.context=n,this.time=Date.now(),this.updates=[],this.done=void 0}};u(lv,"RunningQuery");let tb=lv;const YW=50,KW=1e3,GW=He.fromClass(class{constructor(t){this.view=t,this.debounceUpdate=-1,this.running=[],this.debounceAccept=-1,this.pendingStart=!1,this.composing=0;for(let e of t.state.field(Qt).active)e.state==1&&this.startQuery(e)}update(t){let e=t.state.field(Qt),n=t.state.facet(_e);if(!t.selectionSet&&!t.docChanged&&t.startState.field(Qt)==e)return;let r=t.transactions.some(l=>{let a=W7(l,n);return a&8||(l.selection||l.docChanged)&&!(a&3)});for(let l=0;lYW&&Date.now()-a.time>KW){for(let o of a.context.abortListeners)try{o()}catch(s){Lt(this.view.state,s)}a.context.abortListeners=null,this.running.splice(l--,1)}else a.updates.push(...t.transactions)}this.debounceUpdate>-1&&clearTimeout(this.debounceUpdate),t.transactions.some(l=>l.effects.some(a=>a.is(Wf)))&&(this.pendingStart=!0);let i=this.pendingStart?50:n.activateOnTypingDelay;if(this.debounceUpdate=e.active.some(l=>l.state==1&&!this.running.some(a=>a.active.source==l.source))?setTimeout(()=>this.startUpdate(),i):-1,this.composing!=0)for(let l of t.transactions)l.isUserEvent("input.type")?this.composing=2:this.composing==2&&l.selection&&(this.composing=3)}startUpdate(){this.debounceUpdate=-1,this.pendingStart=!1;let{state:t}=this.view,e=t.field(Qt);for(let n of e.active)n.state==1&&!this.running.some(r=>r.active.source==n.source)&&this.startQuery(n)}startQuery(t){let{state:e}=this.view,n=Oi(e),r=new zf(e,n,t.explicitPos==n,this.view),i=new tb(t,r);this.running.push(i),Promise.resolve(t.source(r)).then(l=>{i.context.aborted||(i.done=l||null,this.scheduleAccept())},l=>{this.view.dispatch({effects:Js.of(null)}),Lt(this.view.state,l)})}scheduleAccept(){this.running.every(t=>t.done!==void 0)?this.accept():this.debounceAccept<0&&(this.debounceAccept=setTimeout(()=>this.accept(),this.view.state.facet(_e).updateSyncTime))}accept(){var t;this.debounceAccept>-1&&clearTimeout(this.debounceAccept),this.debounceAccept=-1;let e=[],n=this.view.state.facet(_e);for(let r=0;ra.source==i.active.source);if(l&&l.state==1)if(i.done==null){let a=new Ar(i.active.source,0);for(let o of i.updates)a=a.update(o,n);a.state!=1&&e.push(a)}else this.startQuery(l)}e.length&&this.view.dispatch({effects:X7.of(e)})}},{eventHandlers:{blur(t){let e=this.view.state.field(Qt,!1);if(e&&e.tooltip&&this.view.state.facet(_e).closeOnBlur){let n=e.open&&r6(this.view,e.open.tooltip);(!n||!n.dom.contains(t.relatedTarget))&&setTimeout(()=>this.view.dispatch({effects:Js.of(null)}),10)}},compositionstart(){this.composing=1},compositionend(){this.composing==3&&setTimeout(()=>this.view.dispatch({effects:Wf.of(!1)}),20),this.composing=0}}}),HW=typeof navigator=="object"&&/Win/.test(navigator.platform),_W=_i.highest(H.domEventHandlers({keydown(t,e){let n=e.state.field(Qt,!1);if(!n||!n.open||n.open.disabled||n.open.selected<0||t.key.length>1||t.ctrlKey&&!(HW&&t.altKey)||t.metaKey)return!1;let r=n.open.options[n.open.selected],i=n.active.find(a=>a.source==r.source),l=r.completion.commitCharacters||i.result.commitCharacters;return l&&l.indexOf(t.key)>-1&&eb(e,r),!1}})),U7=H.baseTheme({".cm-tooltip.cm-tooltip-autocomplete":{"& > ul":{fontFamily:"monospace",whiteSpace:"nowrap",overflow:"hidden auto",maxWidth_fallback:"700px",maxWidth:"min(700px, 95vw)",minWidth:"250px",maxHeight:"10em",height:"100%",listStyle:"none",margin:0,padding:0,"& > li, & > completion-section":{padding:"1px 3px",lineHeight:1.2},"& > li":{overflowX:"hidden",textOverflow:"ellipsis",cursor:"pointer"},"& > completion-section":{display:"list-item",borderBottom:"1px solid silver",paddingLeft:"0.5em",opacity:.7}}},"&light .cm-tooltip-autocomplete ul li[aria-selected]":{background:"#17c",color:"white"},"&light .cm-tooltip-autocomplete-disabled ul li[aria-selected]":{background:"#777"},"&dark .cm-tooltip-autocomplete ul li[aria-selected]":{background:"#347",color:"white"},"&dark .cm-tooltip-autocomplete-disabled ul li[aria-selected]":{background:"#444"},".cm-completionListIncompleteTop:before, .cm-completionListIncompleteBottom:after":{content:'"\xB7\xB7\xB7"',opacity:.5,display:"block",textAlign:"center"},".cm-tooltip.cm-completionInfo":{position:"absolute",padding:"3px 9px",width:"max-content",maxWidth:"400px",boxSizing:"border-box",whiteSpace:"pre-line"},".cm-completionInfo.cm-completionInfo-left":{right:"100%"},".cm-completionInfo.cm-completionInfo-right":{left:"100%"},".cm-completionInfo.cm-completionInfo-left-narrow":{right:"30px"},".cm-completionInfo.cm-completionInfo-right-narrow":{left:"30px"},"&light .cm-snippetField":{backgroundColor:"#00000022"},"&dark .cm-snippetField":{backgroundColor:"#ffffff22"},".cm-snippetFieldPosition":{verticalAlign:"text-top",width:0,height:"1.15em",display:"inline-block",margin:"0 -0.7px -.7em",borderLeft:"1.4px dotted #888"},".cm-completionMatchedText":{textDecoration:"underline"},".cm-completionDetail":{marginLeft:"0.5em",fontStyle:"italic"},".cm-completionIcon":{fontSize:"90%",width:".8em",display:"inline-block",textAlign:"center",paddingRight:".6em",opacity:"0.6",boxSizing:"content-box"},".cm-completionIcon-function, .cm-completionIcon-method":{"&:after":{content:"'\u0192'"}},".cm-completionIcon-class":{"&:after":{content:"'\u25CB'"}},".cm-completionIcon-interface":{"&:after":{content:"'\u25CC'"}},".cm-completionIcon-variable":{"&:after":{content:"'\u{1D465}'"}},".cm-completionIcon-constant":{"&:after":{content:"'\u{1D436}'"}},".cm-completionIcon-type":{"&:after":{content:"'\u{1D461}'"}},".cm-completionIcon-enum":{"&:after":{content:"'\u222A'"}},".cm-completionIcon-property":{"&:after":{content:"'\u25A1'"}},".cm-completionIcon-keyword":{"&:after":{content:"'\u{1F511}\uFE0E'"}},".cm-completionIcon-namespace":{"&:after":{content:"'\u25A2'"}},".cm-completionIcon-text":{"&:after":{content:"'abc'",fontSize:"50%",verticalAlign:"middle"}}}),av=class av{constructor(e,n,r,i){this.field=e,this.line=n,this.from=r,this.to=i}};u(av,"FieldPos");let nb=av;const kp=class kp{constructor(e,n,r){this.field=e,this.from=n,this.to=r}map(e){let n=e.mapPos(this.from,-1,lt.TrackDel),r=e.mapPos(this.to,1,lt.TrackDel);return n==null||r==null?null:new kp(this.field,n,r)}};u(kp,"FieldRange");let rb=kp;const Pp=class Pp{constructor(e,n){this.lines=e,this.fieldPositions=n}instantiate(e,n){let r=[],i=[n],l=e.doc.lineAt(n),a=/^\s*/.exec(l.text)[0];for(let s of this.lines){if(r.length){let c=a,d=/^\t*/.exec(s)[0].length;for(let f=0;fnew rb(s.field,i[s.line]+s.from,i[s.line]+s.to));return{text:r,ranges:o}}static parse(e){let n=[],r=[],i=[],l;for(let a of e.split(/\r\n?|\n/)){for(;l=/[#$]\{(?:(\d+)(?::([^}]*))?|((?:\\[{}]|[^}])*))\}/.exec(a);){let o=l[1]?+l[1]:null,s=l[2]||l[3]||"",c=-1,d=s.replace(/\\[{}]/g,f=>f[1]);for(let f=0;f=c&&h.field++}i.push(new nb(c,r.length,l.index,l.index+d.length)),a=a.slice(0,l.index)+s+a.slice(l.index+l[0].length)}a=a.replace(/\\([{}])/g,(o,s,c)=>{for(let d of i)d.line==r.length&&d.from>c&&(d.from--,d.to--);return s}),r.push(a)}return new Pp(r,i)}};u(Pp,"Snippet");let ib=Pp,JW=ne.widget({widget:new class extends Wn{toDOM(){let t=document.createElement("span");return t.className="cm-snippetFieldPosition",t}ignoreEvent(){return!1}}}),eX=ne.mark({class:"cm-snippetField"});const Ep=class Ep{constructor(e,n){this.ranges=e,this.active=n,this.deco=ne.set(e.map(r=>(r.from==r.to?JW:eX).range(r.from,r.to)))}map(e){let n=[];for(let r of this.ranges){let i=r.map(e);if(!i)return null;n.push(i)}return new Ep(n,this.active)}selectionInsideField(e){return e.ranges.every(n=>this.ranges.some(r=>r.field==this.active&&r.from<=n.from&&r.to>=n.to))}};u(Ep,"ActiveSnippet");let Qa=Ep;const eu=pe.define({map(t,e){return t&&t.map(e)}}),tX=pe.define(),tu=zt.define({create(){return null},update(t,e){for(let n of e.effects){if(n.is(eu))return n.value;if(n.is(tX)&&t)return new Qa(t.ranges,n.value)}return t&&e.docChanged&&(t=t.map(e.changes)),t&&e.selection&&!t.selectionInsideField(e.selection)&&(t=null),t},provide:t=>H.decorations.from(t,e=>e?e.deco:ne.none)});function lb(t,e){return z.create(t.filter(n=>n.field==e).map(n=>z.range(n.from,n.to)))}u(lb,"fieldSelection");function nX(t){let e=ib.parse(t);return(n,r,i,l)=>{let{text:a,ranges:o}=e.instantiate(n.state,i),s={changes:{from:i,to:l,insert:de.of(a)},scrollIntoView:!0,annotations:r?[UO.of(r),Ot.userEvent.of("input.complete")]:void 0};if(o.length&&(s.selection=lb(o,0)),o.some(c=>c.field>0)){let c=new Qa(o,0),d=s.effects=[eu.of(c)];n.state.field(tu,!1)===void 0&&d.push(pe.appendConfig.of([tu,iX,lX,U7]))}n.dispatch(n.state.update(s))}}u(nX,"snippet");function Y7(t){return({state:e,dispatch:n})=>{let r=e.field(tu,!1);if(!r||t<0&&r.active==0)return!1;let i=r.active+t,l=t>0&&!r.ranges.some(a=>a.field==i+t);return n(e.update({selection:lb(r.ranges,i),effects:eu.of(l?null:new Qa(r.ranges,i)),scrollIntoView:!0})),!0}}u(Y7,"moveField");const rX=[{key:"Tab",run:Y7(1),shift:Y7(-1)},{key:"Escape",run:u(({state:t,dispatch:e})=>t.field(tu,!1)?(e(t.update({effects:eu.of(null)})),!0):!1,"clearSnippet")}],K7=G.define({combine(t){return t.length?t[0]:rX}}),iX=_i.highest(af.compute([K7],t=>t.facet(K7)));function Mt(t,e){return Object.assign(Object.assign({},e),{apply:nX(t)})}u(Mt,"snippetCompletion");const lX=H.domEventHandlers({mousedown(t,e){let n=e.state.field(tu,!1),r;if(!n||(r=e.posAtCoords({x:t.clientX,y:t.clientY}))==null)return!1;let i=n.ranges.find(l=>l.from<=r&&l.to>=r);return!i||i.field==n.active?!1:(e.dispatch({selection:lb(n.ranges,i.field),effects:eu.of(n.ranges.some(l=>l.field>i.field)?new Qa(n.ranges,i.field):null),scrollIntoView:!0}),!0)}}),nu={brackets:["(","[","{","'",'"'],before:")]}:;>",stringPrefixes:[]},ul=pe.define({map(t,e){let n=e.mapPos(t,-1,lt.TrackAfter);return n??void 0}}),ab=new class extends Pr{};ab.startSide=1,ab.endSide=-1;const G7=zt.define({create(){return xe.empty},update(t,e){if(t=t.map(e.changes),e.selection){let n=e.state.doc.lineAt(e.selection.main.head);t=t.update({filter:r=>r>=n.from&&r<=n.to})}for(let n of e.effects)n.is(ul)&&(t=t.update({add:[ab.range(n.value,n.value+1)]}));return t}});function aX(){return[sX,G7]}u(aX,"closeBrackets");const ob="()[]{}<>";function H7(t){for(let e=0;e{if((oX?t.composing:t.compositionStarted)||t.state.readOnly)return!1;let i=t.state.selection.main;if(r.length>2||r.length==2&&un(Ye(r,0))==1||e!=i.from||n!=i.to)return!1;let l=cX(t.state,r);return l?(t.dispatch(l),!0):!1}),uX=[{key:"Backspace",run:u(({state:t,dispatch:e})=>{if(t.readOnly)return!1;let r=_7(t,t.selection.main.head).brackets||nu.brackets,i=null,l=t.changeByRange(a=>{if(a.empty){let o=dX(t.doc,a.head);for(let s of r)if(s==o&&qf(t.doc,a.head)==H7(Ye(s,0)))return{changes:{from:a.head-s.length,to:a.head+s.length},range:z.cursor(a.head-s.length)}}return{range:i=a}});return i||e(t.update(l,{scrollIntoView:!0,userEvent:"delete.backward"})),!i},"deleteBracketPair")}];function cX(t,e){let n=_7(t,t.selection.main.head),r=n.brackets||nu.brackets;for(let i of r){let l=H7(Ye(i,0));if(e==i)return l==i?pX(t,i,r.indexOf(i+i+i)>-1,n):fX(t,i,l,n.before||nu.before);if(e==l&&J7(t,t.selection.main.from))return hX(t,i,l)}return null}u(cX,"insertBracket");function J7(t,e){let n=!1;return t.field(G7).between(0,t.doc.length,r=>{r==e&&(n=!0)}),n}u(J7,"closedBracketAt");function qf(t,e){let n=t.sliceString(e,e+2);return n.slice(0,un(Ye(n,0)))}u(qf,"nextChar");function dX(t,e){let n=t.sliceString(e-2,e);return un(Ye(n,0))==n.length?n:n.slice(1)}u(dX,"prevChar");function fX(t,e,n,r){let i=null,l=t.changeByRange(a=>{if(!a.empty)return{changes:[{insert:e,from:a.from},{insert:n,from:a.to}],effects:ul.of(a.to+e.length),range:z.range(a.anchor+e.length,a.head+e.length)};let o=qf(t.doc,a.head);return!o||/\s/.test(o)||r.indexOf(o)>-1?{changes:{insert:e+n,from:a.head},effects:ul.of(a.head+e.length),range:z.cursor(a.head+e.length)}:{range:i=a}});return i?null:t.update(l,{scrollIntoView:!0,userEvent:"input.type"})}u(fX,"handleOpen");function hX(t,e,n){let r=null,i=t.changeByRange(l=>l.empty&&qf(t.doc,l.head)==n?{changes:{from:l.head,to:l.head+n.length,insert:n},range:z.cursor(l.head+n.length)}:r={range:l});return r?null:t.update(i,{scrollIntoView:!0,userEvent:"input.type"})}u(hX,"handleClose");function pX(t,e,n,r){let i=r.stringPrefixes||nu.stringPrefixes,l=null,a=t.changeByRange(o=>{if(!o.empty)return{changes:[{insert:e,from:o.from},{insert:e,from:o.to}],effects:ul.of(o.to+e.length),range:z.range(o.anchor+e.length,o.head+e.length)};let s=o.head,c=qf(t.doc,s),d;if(c==e){if(eA(t,s))return{changes:{insert:e+e,from:s},effects:ul.of(s+e.length),range:z.cursor(s+e.length)};if(J7(t,s)){let h=n&&t.sliceDoc(s,s+e.length*3)==e+e+e?e+e+e:e;return{changes:{from:s,to:s+h.length,insert:h},range:z.cursor(s+h.length)}}}else{if(n&&t.sliceDoc(s-2*e.length,s)==e+e&&(d=tA(t,s-2*e.length,i))>-1&&eA(t,d))return{changes:{insert:e+e+e+e,from:s},effects:ul.of(s+e.length),range:z.cursor(s+e.length)};if(t.charCategorizer(s)(c)!=ot.Word&&tA(t,s,i)>-1&&!mX(t,s,e,i))return{changes:{insert:e+e,from:s},effects:ul.of(s+e.length),range:z.cursor(s+e.length)}}return{range:l=o}});return l?null:t.update(a,{scrollIntoView:!0,userEvent:"input.type"})}u(pX,"handleSame");function eA(t,e){let n=Qe(t).resolveInner(e+1);return n.parent&&n.from==e}u(eA,"nodeStart");function mX(t,e,n,r){let i=Qe(t).resolveInner(e,-1),l=r.reduce((a,o)=>Math.max(a,o.length),0);for(let a=0;a<5;a++){let o=t.sliceDoc(i.from,Math.min(i.to,i.from+n.length+l)),s=o.indexOf(n);if(!s||s>-1&&r.indexOf(o.slice(0,s))>-1){let d=i.firstChild;for(;d&&d.from==i.from&&d.to-d.from>n.length+s;){if(t.sliceDoc(d.to-n.length,d.to)==n)return!1;d=d.firstChild}return!0}let c=i.to==e&&i.parent;if(!c)break;i=c}return!1}u(mX,"probablyInString");function tA(t,e,n){let r=t.charCategorizer(e);if(r(t.sliceDoc(e-1,e))!=ot.Word)return e;for(let i of n){let l=e-i.length;if(t.sliceDoc(l,e)==i&&r(t.sliceDoc(l-1,l))!=ot.Word)return l}return-1}u(tA,"canStartStringAt");function gX(t={}){return[_W,Qt,_e.of(t),GW,OX,U7]}u(gX,"autocompletion");const nA=[{key:"Ctrl-Space",run:q7},{mac:"Alt-`",run:q7},{key:"Escape",run:UW},{key:"ArrowDown",run:jf(!0)},{key:"ArrowUp",run:jf(!1)},{key:"PageDown",run:jf(!0,"page")},{key:"PageUp",run:jf(!1,"page")},{key:"Enter",run:qW}],OX=_i.highest(af.computeN([_e],t=>t.facet(_e).defaultKeymap?[nA]:[]));function qt(){var t=arguments[0];typeof t=="string"&&(t=document.createElement(t));var e=1,n=arguments[1];if(n&&typeof n=="object"&&n.nodeType==null&&!Array.isArray(n)){for(var r in n)if(Object.prototype.hasOwnProperty.call(n,r)){var i=n[r];typeof i=="string"?t.setAttribute(r,i):i!=null&&(t[r]=i)}e++}for(;et.normalize("NFKD"):t=>t,ov=class ov{constructor(e,n,r=0,i=e.length,l,a){this.test=a,this.value={from:0,to:0},this.done=!1,this.matches=[],this.buffer="",this.bufferPos=0,this.iter=e.iterRange(r,i),this.bufferStart=r,this.normalize=l?o=>l(iA(o)):iA,this.query=this.normalize(n)}peek(){if(this.bufferPos==this.buffer.length){if(this.bufferStart+=this.buffer.length,this.iter.next(),this.iter.done)return-1;this.bufferPos=0,this.buffer=this.iter.value}return Ye(this.buffer,this.bufferPos)}next(){for(;this.matches.length;)this.matches.pop();return this.nextOverlapping()}nextOverlapping(){for(;;){let e=this.peek();if(e<0)return this.done=!0,this;let n=zg(e),r=this.bufferStart+this.bufferPos;this.bufferPos+=un(e);let i=this.normalize(n);for(let l=0,a=r;;l++){let o=i.charCodeAt(l),s=this.match(o,a,this.bufferPos+this.bufferStart);if(l==i.length-1){if(s)return this.value=s,this;break}a==r&&le||n,minSelectionLength:Math.min,maxMatches:Math.min})}});function yX(t){let e=[SX,xX];return t&&e.push(lA.of(t)),e}u(yX,"highlightSelectionMatches");const vX=ne.mark({class:"cm-selectionMatch"}),$X=ne.mark({class:"cm-selectionMatch cm-selectionMatch-main"});function aA(t,e,n,r){return(n==0||t(e.sliceDoc(n-1,n))!=ot.Word)&&(r==e.doc.length||t(e.sliceDoc(r,r+1))!=ot.Word)}u(aA,"insideWordBoundaries");function wX(t,e,n,r){return t(e.sliceDoc(n,n+1))==ot.Word&&t(e.sliceDoc(r-1,r))==ot.Word}u(wX,"insideWord");const xX=He.fromClass(class{constructor(t){this.decorations=this.getDeco(t)}update(t){(t.selectionSet||t.docChanged||t.viewportChanged)&&(this.decorations=this.getDeco(t.view))}getDeco(t){let e=t.state.facet(lA),{state:n}=t,r=n.selection;if(r.ranges.length>1)return ne.none;let i=r.main,l,a=null;if(i.empty){if(!e.highlightWordAroundCursor)return ne.none;let s=n.wordAt(i.head);if(!s)return ne.none;a=n.charCategorizer(i.head),l=n.sliceDoc(s.from,s.to)}else{let s=i.to-i.from;if(s200)return ne.none;if(e.wholeWords){if(l=n.sliceDoc(i.from,i.to),a=n.charCategorizer(i.head),!(aA(a,n,i.from,i.to)&&wX(a,n,i.from,i.to)))return ne.none}else if(l=n.sliceDoc(i.from,i.to),!l)return ne.none}let o=[];for(let s of t.visibleRanges){let c=new Uf(n.doc,l,s.from,s.to);for(;!c.next().done;){let{from:d,to:f}=c.value;if((!a||aA(a,n,d,f))&&(i.empty&&d<=i.from&&f>=i.to?o.push($X.range(d,f)):(d>=i.to||f<=i.from)&&o.push(vX.range(d,f)),o.length>e.maxMatches))return ne.none}}return ne.set(o)}},{decorations:t=>t.decorations}),SX=H.baseTheme({".cm-selectionMatch":{backgroundColor:"#99ff7780"},".cm-searchMatch .cm-selectionMatch":{backgroundColor:"transparent"}});var sb=typeof global<"u"?global:typeof self<"u"?self:typeof window<"u"?window:{};function oA(){throw new Error("setTimeout has not been defined")}u(oA,"defaultSetTimout");function sA(){throw new Error("clearTimeout has not been defined")}u(sA,"defaultClearTimeout");var bi=oA,yi=sA;typeof sb.setTimeout=="function"&&(bi=setTimeout),typeof sb.clearTimeout=="function"&&(yi=clearTimeout);function uA(t){if(bi===setTimeout)return setTimeout(t,0);if((bi===oA||!bi)&&setTimeout)return bi=setTimeout,setTimeout(t,0);try{return bi(t,0)}catch{try{return bi.call(null,t,0)}catch{return bi.call(this,t,0)}}}u(uA,"runTimeout");function CX(t){if(yi===clearTimeout)return clearTimeout(t);if((yi===sA||!yi)&&clearTimeout)return yi=clearTimeout,clearTimeout(t);try{return yi(t)}catch{try{return yi.call(null,t)}catch{return yi.call(this,t)}}}u(CX,"runClearTimeout");var Tr=[],Ma=!1,cl,Yf=-1;function DX(){!Ma||!cl||(Ma=!1,cl.length?Tr=cl.concat(Tr):Yf=-1,Tr.length&&cA())}u(DX,"cleanUpNextTick");function cA(){if(!Ma){var t=uA(DX);Ma=!0;for(var e=Tr.length;e;){for(cl=Tr,Tr=[];++Yf1)for(var n=1;nn%3==0).concat(this.state)}]@${this.pos}${this.score?"!"+this.score:""}`}static start(e,n,r=0){let i=e.parser.context;return new sc(e,[],n,r,r,0,[],0,i?new Kf(i,i.start):null,0,null)}get context(){return this.curContext?this.curContext.context:null}pushState(e,n){this.stack.push(this.state,n,this.bufferBase+this.buffer.length),this.state=e}reduce(e){var n;let r=e>>19,i=e&65535,{parser:l}=this.p,a=this.reducePos=2e3&&!(!((n=this.p.parser.nodeSet.types[i])===null||n===void 0)&&n.isAnonymous)&&(c==this.p.lastBigReductionStart?(this.p.bigReductionCount++,this.p.lastBigReductionSize=d):this.p.lastBigReductionSizes;)this.stack.pop();this.reduceContext(i,c)}storeNode(e,n,r,i=4,l=!1){if(e==0&&(!this.stack.length||this.stack[this.stack.length-1]0&&a.buffer[o-4]==0&&a.buffer[o-1]>-1){if(n==r)return;if(a.buffer[o-2]>=n){a.buffer[o-2]=r;return}}}if(!l||this.pos==r)this.buffer.push(e,n,r,i);else{let a=this.buffer.length;if(a>0&&this.buffer[a-4]!=0){let o=!1;for(let s=a;s>0&&this.buffer[s-2]>r;s-=4)if(this.buffer[s-1]>=0){o=!0;break}if(o)for(;a>0&&this.buffer[a-2]>r;)this.buffer[a]=this.buffer[a-4],this.buffer[a+1]=this.buffer[a-3],this.buffer[a+2]=this.buffer[a-2],this.buffer[a+3]=this.buffer[a-1],a-=4,i>4&&(i-=4)}this.buffer[a]=e,this.buffer[a+1]=n,this.buffer[a+2]=r,this.buffer[a+3]=i}}shift(e,n,r,i){if(e&131072)this.pushState(e&65535,this.pos);else if(e&262144)this.pos=i,this.shiftContext(n,r),n<=this.p.parser.maxNode&&this.buffer.push(n,r,i,4);else{let l=e,{parser:a}=this.p;(i>this.pos||n<=a.maxNode)&&(this.pos=i,a.stateFlag(l,1)||(this.reducePos=i)),this.pushState(l,r),this.shiftContext(n,r),n<=a.maxNode&&this.buffer.push(n,r,i,4)}}apply(e,n,r,i){e&65536?this.reduce(e):this.shift(e,n,r,i)}useNode(e,n){let r=this.p.reused.length-1;(r<0||this.p.reused[r]!=e)&&(this.p.reused.push(e),r++);let i=this.pos;this.reducePos=this.pos=i+e.length,this.pushState(n,i),this.buffer.push(r,i,this.reducePos,-1),this.curContext&&this.updateContext(this.curContext.tracker.reuse(this.curContext.context,e,this,this.p.stream.reset(this.pos-e.length)))}split(){let e=this,n=e.buffer.length;for(;n>0&&e.buffer[n-2]>e.reducePos;)n-=4;let r=e.buffer.slice(n),i=e.bufferBase+n;for(;e&&i==e.bufferBase;)e=e.parent;return new sc(this.p,this.stack.slice(),this.state,this.reducePos,this.pos,this.score,r,i,this.curContext,this.lookAhead,e)}recoverByDelete(e,n){let r=e<=this.p.parser.maxNode;r&&this.storeNode(e,this.pos,n,4),this.storeNode(0,this.pos,n,r?8:4),this.pos=this.reducePos=n,this.score-=190}canShift(e){for(let n=new db(this);;){let r=this.p.parser.stateSlot(n.state,4)||this.p.parser.hasAction(n.state,e);if(r==0)return!1;if(!(r&65536))return!0;n.reduce(r)}}recoverByInsert(e){if(this.stack.length>=300)return[];let n=this.p.parser.nextStates(this.state);if(n.length>8||this.stack.length>=120){let i=[];for(let l=0,a;ls&1&&o==a)||i.push(n[l],a)}n=i}let r=[];for(let i=0;i>19,i=n&65535,l=this.stack.length-r*3;if(l<0||e.getGoto(this.stack[l],i,!1)<0){let a=this.findForcedReduction();if(a==null)return!1;n=a}this.storeNode(0,this.pos,this.pos,4,!0),this.score-=100}return this.reducePos=this.pos,this.reduce(n),!0}findForcedReduction(){let{parser:e}=this.p,n=[],r=u((i,l)=>{if(!n.includes(i))return n.push(i),e.allActions(i,a=>{if(!(a&393216))if(a&65536){let o=(a>>19)-l;if(o>1){let s=a&65535,c=this.stack.length-o*3;if(c>=0&&e.getGoto(this.stack[c],s,!1)>=0)return o<<19|65536|s}}else{let o=r(a,l+1);if(o!=null)return o}})},"explore");return r(this.state,0)}forceAll(){for(;!this.p.parser.stateFlag(this.state,2);)if(!this.forceReduce()){this.storeNode(0,this.pos,this.pos,4,!0);break}return this}get deadEnd(){if(this.stack.length!=3)return!1;let{parser:e}=this.p;return e.data[e.stateSlot(this.state,1)]==65535&&!e.stateSlot(this.state,4)}restart(){this.storeNode(0,this.pos,this.pos,4,!0),this.state=this.stack[0],this.stack.length=0}sameState(e){if(this.state!=e.state||this.stack.length!=e.stack.length)return!1;for(let n=0;nthis.lookAhead&&(this.emitLookAhead(),this.lookAhead=e)}close(){this.curContext&&this.curContext.tracker.strict&&this.emitContext(),this.lookAhead>0&&this.emitLookAhead()}};u(sc,"Stack");let cb=sc;const sv=class sv{constructor(e,n){this.tracker=e,this.context=n,this.hash=e.strict?e.hash(n):0}};u(sv,"StackContext");let Kf=sv;const uv=class uv{constructor(e){this.start=e,this.state=e.state,this.stack=e.stack,this.base=this.stack.length}reduce(e){let n=e&65535,r=e>>19;r==0?(this.stack==this.start.stack&&(this.stack=this.stack.slice()),this.stack.push(this.state,0,0),this.base+=3):this.base-=(r-1)*3;let i=this.start.p.parser.getGoto(this.stack[this.base-3],n,!0);this.state=i}};u(uv,"SimulatedStack");let db=uv;const uc=class uc{constructor(e,n,r){this.stack=e,this.pos=n,this.index=r,this.buffer=e.buffer,this.index==0&&this.maybeNext()}static create(e,n=e.bufferBase+e.buffer.length){return new uc(e,n,n-e.bufferBase)}maybeNext(){let e=this.stack.parent;e!=null&&(this.index=this.stack.bufferBase-e.bufferBase,this.stack=e,this.buffer=e.buffer)}get id(){return this.buffer[this.index-4]}get start(){return this.buffer[this.index-3]}get end(){return this.buffer[this.index-2]}get size(){return this.buffer[this.index-1]}next(){this.index-=4,this.pos-=4,this.index==0&&this.maybeNext()}fork(){return new uc(this.stack,this.pos,this.index)}};u(uc,"StackBufferCursor");let fb=uc;function ru(t,e=Uint16Array){if(typeof t!="string")return t;let n=null;for(let r=0,i=0;r=92&&a--,a>=34&&a--;let s=a-32;if(s>=46&&(s-=46,o=!0),l+=s,o)break;l*=46}n?n[i++]=l:n=new e(l)}return n}u(ru,"decodeArray");const cv=class cv{constructor(){this.start=-1,this.value=-1,this.end=-1,this.extended=-1,this.lookAhead=0,this.mask=0,this.context=0}};u(cv,"CachedToken");let Va=cv;const fA=new Va,dv=class dv{constructor(e,n){this.input=e,this.ranges=n,this.chunk="",this.chunkOff=0,this.chunk2="",this.chunk2Pos=0,this.next=-1,this.token=fA,this.rangeIndex=0,this.pos=this.chunkPos=n[0].from,this.range=n[0],this.end=n[n.length-1].to,this.readNext()}resolveOffset(e,n){let r=this.range,i=this.rangeIndex,l=this.pos+e;for(;lr.to:l>=r.to;){if(i==this.ranges.length-1)return null;let a=this.ranges[++i];l+=a.from-r.to,r=a}return l}clipPos(e){if(e>=this.range.from&&ee)return Math.max(e,n.from);return this.end}peek(e){let n=this.chunkOff+e,r,i;if(n>=0&&n=this.chunk2Pos&&ro.to&&(this.chunk2=this.chunk2.slice(0,o.to-r)),i=this.chunk2.charCodeAt(0)}}return r>=this.token.lookAhead&&(this.token.lookAhead=r+1),i}acceptToken(e,n=0){let r=n?this.resolveOffset(n,-1):this.pos;if(r==null||r=this.chunk2Pos&&this.posthis.range.to?e.slice(0,this.range.to-this.pos):e,this.chunkPos=this.pos,this.chunkOff=0}}readNext(){return this.chunkOff>=this.chunk.length&&(this.getChunk(),this.chunkOff==this.chunk.length)?this.next=-1:this.next=this.chunk.charCodeAt(this.chunkOff)}advance(e=1){for(this.chunkOff+=e;this.pos+e>=this.range.to;){if(this.rangeIndex==this.ranges.length-1)return this.setDone();e-=this.range.to-this.pos,this.range=this.ranges[++this.rangeIndex],this.pos=this.range.from}return this.pos+=e,this.pos>=this.token.lookAhead&&(this.token.lookAhead=this.pos+1),this.readNext()}setDone(){return this.pos=this.chunkPos=this.end,this.range=this.ranges[this.rangeIndex=this.ranges.length-1],this.chunk="",this.next=-1}reset(e,n){if(n?(this.token=n,n.start=e,n.lookAhead=e+1,n.value=n.extended=-1):this.token=fA,this.pos!=e){if(this.pos=e,e==this.end)return this.setDone(),this;for(;e=this.range.to;)this.range=this.ranges[++this.rangeIndex];e>=this.chunkPos&&e=this.chunkPos&&n<=this.chunkPos+this.chunk.length)return this.chunk.slice(e-this.chunkPos,n-this.chunkPos);if(e>=this.chunk2Pos&&n<=this.chunk2Pos+this.chunk2.length)return this.chunk2.slice(e-this.chunk2Pos,n-this.chunk2Pos);if(e>=this.range.from&&n<=this.range.to)return this.input.read(e,n);let r="";for(let i of this.ranges){if(i.from>=n)break;i.to>e&&(r+=this.input.read(Math.max(i.from,e),Math.min(i.to,n)))}return r}};u(dv,"InputStream");let hb=dv;const fv=class fv{constructor(e,n){this.data=e,this.id=n}token(e,n){let{parser:r}=n.p;hA(this.data,e,n,this.id,r.data,r.tokenPrecTable)}};u(fv,"TokenGroup");let vi=fv;vi.prototype.contextual=vi.prototype.fallback=vi.prototype.extend=!1;const hv=class hv{constructor(e,n,r){this.precTable=n,this.elseToken=r,this.data=typeof e=="string"?ru(e):e}token(e,n){let r=e.pos,i=0;for(;;){let l=e.next<0,a=e.resolveOffset(1,1);if(hA(this.data,e,n,0,this.data,this.precTable),e.token.value>-1)break;if(this.elseToken==null)return;if(l||i++,a==null)break;e.reset(a,e.token)}i&&(e.reset(r,e.token),e.acceptToken(this.elseToken,i))}};u(hv,"LocalTokenGroup");let Na=hv;Na.prototype.contextual=vi.prototype.fallback=vi.prototype.extend=!1;const pv=class pv{constructor(e,n={}){this.token=e,this.contextual=!!n.contextual,this.fallback=!!n.fallback,this.extend=!!n.extend}};u(pv,"ExternalTokenizer");let Ut=pv;function hA(t,e,n,r,i,l){let a=0,o=1<0){let m=t[p];if(s.allows(m)&&(e.token.value==-1||e.token.value==m||_X(m,e.token.value,i,l))){e.acceptToken(m);break}}let d=e.next,f=0,h=t[a+2];if(e.next<0&&h>f&&t[c+h*3-3]==65535){a=t[c+h*3-1];continue e}for(;f>1,m=c+p+(p<<1),g=t[m],O=t[m+1]||65536;if(d=O)f=p+1;else{a=t[m+2],e.advance();continue e}}break}}u(hA,"readToken");function pA(t,e,n){for(let r=e,i;(i=t[r])!=65535;r++)if(i==n)return r-e;return-1}u(pA,"findOffset");function _X(t,e,n,r){let i=pA(n,r,e);return i<0||pA(n,r,t)e)&&!r.type.isError)return n<0?Math.max(0,Math.min(r.to-1,e-25)):Math.min(t.length,Math.max(r.from+1,e+25));if(n<0?r.prevSibling():r.nextSibling())break;if(!r.parent())return n<0?0:t.length}}u(mA,"cutAt");const mv=class mv{constructor(e,n){this.fragments=e,this.nodeSet=n,this.i=0,this.fragment=null,this.safeFrom=-1,this.safeTo=-1,this.trees=[],this.start=[],this.index=[],this.nextFragment()}nextFragment(){let e=this.fragment=this.i==this.fragments.length?null:this.fragments[this.i++];if(e){for(this.safeFrom=e.openStart?mA(e.tree,e.from+e.offset,1)-e.offset:e.from,this.safeTo=e.openEnd?mA(e.tree,e.to+e.offset,-1)-e.offset:e.to;this.trees.length;)this.trees.pop(),this.start.pop(),this.index.pop();this.trees.push(e.tree),this.start.push(-e.offset),this.index.push(0),this.nextStart=this.safeFrom}else this.nextStart=1e9}nodeAt(e){if(ee)return this.nextStart=a,null;if(l instanceof Re){if(a==e){if(a=Math.max(this.safeFrom,e)&&(this.trees.push(l),this.start.push(a),this.index.push(0))}else this.index[n]++,this.nextStart=a+l.length}}};u(mv,"FragmentCursor");let mb=mv;const gv=class gv{constructor(e,n){this.stream=n,this.tokens=[],this.mainToken=null,this.actions=[],this.tokens=e.tokenizers.map(r=>new Va)}getActions(e){let n=0,r=null,{parser:i}=e.p,{tokenizers:l}=i,a=i.stateSlot(e.state,3),o=e.curContext?e.curContext.hash:0,s=0;for(let c=0;cf.end+25&&(s=Math.max(f.lookAhead,s)),f.value!=0)){let h=n;if(f.extended>-1&&(n=this.addActions(e,f.extended,f.end,n)),n=this.addActions(e,f.value,f.end,n),!d.extend&&(r=f,n>h))break}}for(;this.actions.length>n;)this.actions.pop();return s&&e.setLookAhead(s),!r&&e.pos==this.stream.end&&(r=new Va,r.value=e.p.parser.eofTerm,r.start=r.end=e.pos,n=this.addActions(e,r.value,r.end,n)),this.mainToken=r,this.actions}getMainToken(e){if(this.mainToken)return this.mainToken;let n=new Va,{pos:r,p:i}=e;return n.start=r,n.end=Math.min(r+1,i.stream.end),n.value=r==i.stream.end?i.parser.eofTerm:0,n}updateCachedToken(e,n,r){let i=this.stream.clipPos(r.pos);if(n.token(this.stream.reset(i,e),r),e.value>-1){let{parser:l}=r.p;for(let a=0;a=0&&r.p.parser.dialect.allows(o>>1)){o&1?e.extended=o>>1:e.value=o>>1;break}}}else e.value=0,e.end=this.stream.clipPos(i+1)}putAction(e,n,r,i){for(let l=0;le.bufferLength*4?new mb(r,e.nodeSet):null}get parsedPos(){return this.minStackPos}advance(){let e=this.stacks,n=this.minStackPos,r=this.stacks=[],i,l;if(this.bigReductionCount>300&&e.length==1){let[a]=e;for(;a.forceReduce()&&a.stack.length&&a.stack[a.stack.length-2]>=this.lastBigReductionStart;);this.bigReductionCount=this.lastBigReductionSize=0}for(let a=0;an)r.push(o);else{if(this.advanceStack(o,r,e))continue;{i||(i=[],l=[]),i.push(o);let s=this.tokens.getMainToken(o);l.push(s.value,s.end)}}break}}if(!r.length){let a=i&&JX(i);if(a)return Yt&&console.log("Finish with "+this.stackID(a)),this.stackToTree(a);if(this.parser.strict)throw Yt&&i&&console.log("Stuck with token "+(this.tokens.mainToken?this.parser.getName(this.tokens.mainToken.value):"none")),new SyntaxError("No parse at "+n);this.recovering||(this.recovering=5)}if(this.recovering&&i){let a=this.stoppedAt!=null&&i[0].pos>this.stoppedAt?i[0]:this.runRecovery(i,l,r);if(a)return Yt&&console.log("Force-finish "+this.stackID(a)),this.stackToTree(a.forceAll())}if(this.recovering){let a=this.recovering==1?1:this.recovering*3;if(r.length>a)for(r.sort((o,s)=>s.score-o.score);r.length>a;)r.pop();r.some(o=>o.reducePos>n)&&this.recovering--}else if(r.length>1){e:for(let a=0;a500&&c.buffer.length>500)if((o.score-c.score||o.buffer.length-c.buffer.length)>0)r.splice(s--,1);else{r.splice(a--,1);continue e}}}r.length>12&&r.splice(12,r.length-12)}this.minStackPos=r[0].pos;for(let a=1;a ":"";if(this.stoppedAt!=null&&i>this.stoppedAt)return e.forceReduce()?e:null;if(this.fragments){let c=e.curContext&&e.curContext.tracker.strict,d=c?e.curContext.hash:0;for(let f=this.fragments.nodeAt(i);f;){let h=this.parser.nodeSet.types[f.type.id]==f.type?l.getGoto(e.state,f.type.id):-1;if(h>-1&&f.length&&(!c||(f.prop(se.contextHash)||0)==d))return e.useNode(f,h),Yt&&console.log(a+this.stackID(e)+` (via reuse of ${l.getName(f.type.id)})`),!0;if(!(f instanceof Re)||f.children.length==0||f.positions[0]>0)break;let p=f.children[0];if(p instanceof Re&&f.positions[0]==0)f=p;else break}}let o=l.stateSlot(e.state,4);if(o>0)return e.reduce(o),Yt&&console.log(a+this.stackID(e)+` (via always-reduce ${l.getName(o&65535)})`),!0;if(e.stack.length>=8400)for(;e.stack.length>6e3&&e.forceReduce(););let s=this.tokens.getActions(e);for(let c=0;ci?n.push(m):r.push(m)}return!1}advanceFully(e,n){let r=e.pos;for(;;){if(!this.advanceStack(e,null,null))return!1;if(e.pos>r)return gA(e,n),!0}}runRecovery(e,n,r){let i=null,l=!1;for(let a=0;a ":"";if(o.deadEnd&&(l||(l=!0,o.restart(),Yt&&console.log(d+this.stackID(o)+" (restarted)"),this.advanceFully(o,r))))continue;let f=o.split(),h=d;for(let p=0;f.forceReduce()&&p<10&&(Yt&&console.log(h+this.stackID(f)+" (via force-reduce)"),!this.advanceFully(f,r));p++)Yt&&(h=this.stackID(f)+" -> ");for(let p of o.recoverByInsert(s))Yt&&console.log(d+this.stackID(p)+" (via recover-insert)"),this.advanceFully(p,r);this.stream.end>o.pos?(c==o.pos&&(c++,s=0),o.recoverByDelete(s,c),Yt&&console.log(d+this.stackID(o)+` (via recover-delete ${this.parser.getName(s)})`),gA(o,r)):(!i||i.scoret,"id"),yv=class yv{constructor(e){this.start=e.start,this.shift=e.shift||yb,this.reduce=e.reduce||yb,this.reuse=e.reuse||yb,this.hash=e.hash||(()=>0),this.strict=e.strict!==!1}};u(yv,"ContextTracker");let Gf=yv;const cc=class cc extends yf{constructor(e){if(super(),this.wrappers=[],e.version!=14)throw new RangeError(`Parser version (${e.version}) doesn't match runtime version (14)`);let n=e.nodeNames.split(" ");this.minRepeatTerm=n.length;for(let o=0;oe.topRules[o][1]),i=[];for(let o=0;o=0)l(d,s,o[c++]);else{let f=o[c+-d];for(let h=-d;h>0;h--)l(o[c++],s,f);c++}}}this.nodeSet=new dO(n.map((o,s)=>Xt.define({name:s>=this.minRepeatTerm?void 0:o,id:s,props:i[s],top:r.indexOf(s)>-1,error:s==0,skipped:e.skippedNodes&&e.skippedNodes.indexOf(s)>-1}))),e.propSources&&(this.nodeSet=this.nodeSet.extend(...e.propSources)),this.strict=!1,this.bufferLength=p6;let a=ru(e.tokenData);this.context=e.context,this.specializerSpecs=e.specialized||[],this.specialized=new Uint16Array(this.specializerSpecs.length);for(let o=0;otypeof o=="number"?new vi(a,o):o),this.topRules=e.topRules,this.dialects=e.dialects||{},this.dynamicPrecedences=e.dynamicPrecedences||null,this.tokenPrecTable=e.tokenPrec,this.termNames=e.termNames||null,this.maxNode=this.nodeSet.types.length-1,this.dialect=this.parseDialect(),this.top=this.topRules[Object.keys(this.topRules)[0]]}createParse(e,n,r){let i=new Ob(this,e,n,r);for(let l of this.wrappers)i=l(i,e,n,r);return i}getGoto(e,n,r=!1){let i=this.goto;if(n>=i[0])return-1;for(let l=i[n+1];;){let a=i[l++],o=a&1,s=i[l++];if(o&&r)return s;for(let c=l+(a>>1);l0}validAction(e,n){return!!this.allActions(e,r=>r==n?!0:null)}allActions(e,n){let r=this.stateSlot(e,4),i=r?n(r):void 0;for(let l=this.stateSlot(e,1);i==null;l+=3){if(this.data[l]==65535)if(this.data[l+1]==1)l=Rr(this.data,l+2);else break;i=n(Rr(this.data,l+1))}return i}nextStates(e){let n=[];for(let r=this.stateSlot(e,1);;r+=3){if(this.data[r]==65535)if(this.data[r+1]==1)r=Rr(this.data,r+2);else break;if(!(this.data[r+2]&1)){let i=this.data[r+1];n.some((l,a)=>a&1&&l==i)||n.push(this.data[r],i)}}return n}configure(e){let n=Object.assign(Object.create(cc.prototype),this);if(e.props&&(n.nodeSet=this.nodeSet.extend(...e.props)),e.top){let r=this.topRules[e.top];if(!r)throw new RangeError(`Invalid top rule name ${e.top}`);n.top=r}return e.tokenizers&&(n.tokenizers=this.tokenizers.map(r=>{let i=e.tokenizers.find(l=>l.from==r);return i?i.to:r})),e.specializers&&(n.specializers=this.specializers.slice(),n.specializerSpecs=this.specializerSpecs.map((r,i)=>{let l=e.specializers.find(o=>o.from==r.external);if(!l)return r;let a=Object.assign(Object.assign({},r),{external:l.to});return n.specializers[i]=OA(a),a})),e.contextTracker&&(n.context=e.contextTracker),e.dialect&&(n.dialect=this.parseDialect(e.dialect)),e.strict!=null&&(n.strict=e.strict),e.wrap&&(n.wrappers=n.wrappers.concat(e.wrap)),e.bufferLength!=null&&(n.bufferLength=e.bufferLength),n}hasWrappers(){return this.wrappers.length>0}getName(e){return this.termNames?this.termNames[e]:String(e<=this.maxNode&&this.nodeSet.types[e].name||e)}get eofTerm(){return this.maxNode+1}get topNode(){return this.nodeSet.types[this.top[1]]}dynamicPrecedence(e){let n=this.dynamicPrecedences;return n==null?0:n[e]||0}parseDialect(e){let n=Object.keys(this.dialects),r=n.map(()=>!1);if(e)for(let l of e.split(" ")){let a=n.indexOf(l);a>=0&&(r[a]=!0)}let i=null;for(let l=0;lr)&&n.p.parser.stateFlag(n.state,2)&&(!e||e.scoret.external(n,r)<<1|e}return t.get}u(OA,"getSpecializer");const ej=54,tj=1,nj=55,rj=2,ij=56,lj=3,bA=4,aj=5,Hf=6,yA=7,vA=8,$A=9,wA=10,oj=11,sj=12,uj=13,vb=57,cj=14,xA=58,SA=20,dj=22,CA=23,fj=24,$b=26,DA=27,hj=28,pj=31,mj=34,gj=36,Oj=37,bj=0,yj=1,vj={area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},$j={dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},kA={dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}};function wj(t){return t==45||t==46||t==58||t>=65&&t<=90||t==95||t>=97&&t<=122||t>=161}u(wj,"nameChar");function PA(t){return t==9||t==10||t==13||t==32}u(PA,"isSpace");let EA=null,AA=null,TA=0;function wb(t,e){let n=t.pos+e;if(TA==n&&AA==t)return EA;let r=t.peek(e);for(;PA(r);)r=t.peek(++e);let i="";for(;wj(r);)i+=String.fromCharCode(r),r=t.peek(++e);return AA=t,TA=n,EA=i?i.toLowerCase():r==xj||r==Sj?void 0:null}u(wb,"tagNameAfter");const RA=60,_f=62,xb=47,xj=63,Sj=33,Cj=45;function QA(t,e){this.name=t,this.parent=e}u(QA,"ElementContext");const Dj=[Hf,wA,yA,vA,$A],kj=new Gf({start:null,shift(t,e,n,r){return Dj.indexOf(e)>-1?new QA(wb(r,1)||"",t):t},reduce(t,e){return e==SA&&t?t.parent:t},reuse(t,e,n,r){let i=e.type.id;return i==Hf||i==gj?new QA(wb(r,1)||"",t):t},strict:!1}),Pj=new Ut((t,e)=>{if(t.next!=RA){t.next<0&&e.context&&t.acceptToken(vb);return}t.advance();let n=t.next==xb;n&&t.advance();let r=wb(t,0);if(r===void 0)return;if(!r)return t.acceptToken(n?cj:Hf);let i=e.context?e.context.name:null;if(n){if(r==i)return t.acceptToken(oj);if(i&&$j[i])return t.acceptToken(vb,-2);if(e.dialectEnabled(bj))return t.acceptToken(sj);for(let l=e.context;l;l=l.parent)if(l.name==r)return;t.acceptToken(uj)}else{if(r=="script")return t.acceptToken(yA);if(r=="style")return t.acceptToken(vA);if(r=="textarea")return t.acceptToken($A);if(vj.hasOwnProperty(r))return t.acceptToken(wA);i&&kA[i]&&kA[i][r]?t.acceptToken(vb,-1):t.acceptToken(Hf)}},{contextual:!0}),Ej=new Ut(t=>{for(let e=0,n=0;;n++){if(t.next<0){n&&t.acceptToken(xA);break}if(t.next==Cj)e++;else if(t.next==_f&&e>=2){n>=3&&t.acceptToken(xA,-2);break}else e=0;t.advance()}});function Aj(t){for(;t;t=t.parent)if(t.name=="svg"||t.name=="math")return!0;return!1}u(Aj,"inForeignElement");const Tj=new Ut((t,e)=>{if(t.next==xb&&t.peek(1)==_f){let n=e.dialectEnabled(yj)||Aj(e.context);t.acceptToken(n?aj:bA,2)}else t.next==_f&&t.acceptToken(bA,1)});function Sb(t,e,n){let r=2+t.length;return new Ut(i=>{for(let l=0,a=0,o=0;;o++){if(i.next<0){o&&i.acceptToken(e);break}if(l==0&&i.next==RA||l==1&&i.next==xb||l>=2&&la?i.acceptToken(e,-a):i.acceptToken(n,-(a-2));break}else if((i.next==10||i.next==13)&&o){i.acceptToken(e,1);break}else l=a=0;i.advance()}})}u(Sb,"contentTokenizer");const Rj=Sb("script",ej,tj),Qj=Sb("style",nj,rj),Mj=Sb("textarea",ij,lj),Bj=xf({"Text RawText":Q.content,"StartTag StartCloseTag SelfClosingEndTag EndTag":Q.angleBracket,TagName:Q.tagName,"MismatchedCloseTag/TagName":[Q.tagName,Q.invalid],AttributeName:Q.attributeName,"AttributeValue UnquotedAttributeValue":Q.attributeValue,Is:Q.definitionOperator,"EntityReference CharacterReference":Q.character,Comment:Q.blockComment,ProcessingInst:Q.processingInstruction,DoctypeDecl:Q.documentMeta}),Vj=iu.deserialize({version:14,states:",xOVO!rOOO!WQ#tO'#CqO!]Q#tO'#CzO!bQ#tO'#C}O!gQ#tO'#DQO!lQ#tO'#DSO!qOaO'#CpO!|ObO'#CpO#XOdO'#CpO$eO!rO'#CpOOO`'#Cp'#CpO$lO$fO'#DTO$tQ#tO'#DVO$yQ#tO'#DWOOO`'#Dk'#DkOOO`'#DY'#DYQVO!rOOO%OQ&rO,59]O%ZQ&rO,59fO%fQ&rO,59iO%qQ&rO,59lO%|Q&rO,59nOOOa'#D^'#D^O&XOaO'#CxO&dOaO,59[OOOb'#D_'#D_O&lObO'#C{O&wObO,59[OOOd'#D`'#D`O'POdO'#DOO'[OdO,59[OOO`'#Da'#DaO'dO!rO,59[O'kQ#tO'#DROOO`,59[,59[OOOp'#Db'#DbO'pO$fO,59oOOO`,59o,59oO'xQ#|O,59qO'}Q#|O,59rOOO`-E7W-E7WO(SQ&rO'#CsOOQW'#DZ'#DZO(bQ&rO1G.wOOOa1G.w1G.wOOO`1G/Y1G/YO(mQ&rO1G/QOOOb1G/Q1G/QO(xQ&rO1G/TOOOd1G/T1G/TO)TQ&rO1G/WOOO`1G/W1G/WO)`Q&rO1G/YOOOa-E7[-E7[O)kQ#tO'#CyOOO`1G.v1G.vOOOb-E7]-E7]O)pQ#tO'#C|OOOd-E7^-E7^O)uQ#tO'#DPOOO`-E7_-E7_O)zQ#|O,59mOOOp-E7`-E7`OOO`1G/Z1G/ZOOO`1G/]1G/]OOO`1G/^1G/^O*PQ,UO,59_OOQW-E7X-E7XOOOa7+$c7+$cOOO`7+$t7+$tOOOb7+$l7+$lOOOd7+$o7+$oOOO`7+$r7+$rO*[Q#|O,59eO*aQ#|O,59hO*fQ#|O,59kOOO`1G/X1G/XO*kO7[O'#CvO*|OMhO'#CvOOQW1G.y1G.yOOO`1G/P1G/POOO`1G/S1G/SOOO`1G/V1G/VOOOO'#D['#D[O+_O7[O,59bOOQW,59b,59bOOOO'#D]'#D]O+pOMhO,59bOOOO-E7Y-E7YOOQW1G.|1G.|OOOO-E7Z-E7Z",stateData:",]~O!^OS~OUSOVPOWQOXROYTO[]O][O^^O`^Oa^Ob^Oc^Ox^O{_O!dZO~OfaO~OfbO~OfcO~OfdO~OfeO~O!WfOPlP!ZlP~O!XiOQoP!ZoP~O!YlORrP!ZrP~OUSOVPOWQOXROYTOZqO[]O][O^^O`^Oa^Ob^Oc^Ox^O!dZO~O!ZrO~P#dO![sO!euO~OfvO~OfwO~OS|OT}OhyO~OS!POT}OhyO~OS!ROT}OhyO~OS!TOT}OhyO~OS}OT}OhyO~O!WfOPlX!ZlX~OP!WO!Z!XO~O!XiOQoX!ZoX~OQ!ZO!Z!XO~O!YlORrX!ZrX~OR!]O!Z!XO~O!Z!XO~P#dOf!_O~O![sO!e!aO~OS!bO~OS!cO~Oi!dOSgXTgXhgX~OS!fOT!gOhyO~OS!hOT!gOhyO~OS!iOT!gOhyO~OS!jOT!gOhyO~OS!gOT!gOhyO~Of!kO~Of!lO~Of!mO~OS!nO~Ok!qO!`!oO!b!pO~OS!rO~OS!sO~OS!tO~Oa!uOb!uOc!uO!`!wO!a!uO~Oa!xOb!xOc!xO!b!wO!c!xO~Oa!uOb!uOc!uO!`!{O!a!uO~Oa!xOb!xOc!xO!b!{O!c!xO~OT~bac!dx{!d~",goto:"%p!`PPPPPPPPPPPPPPPPPPPP!a!gP!mPP!yP!|#P#S#Y#]#`#f#i#l#r#x!aP!a!aP$O$U$l$r$x%O%U%[%bPPPPPPPP%hX^OX`pXUOX`pezabcde{!O!Q!S!UR!q!dRhUR!XhXVOX`pRkVR!XkXWOX`pRnWR!XnXXOX`pQrXR!XpXYOX`pQ`ORx`Q{aQ!ObQ!QcQ!SdQ!UeZ!e{!O!Q!S!UQ!v!oR!z!vQ!y!pR!|!yQgUR!VgQjVR!YjQmWR![mQpXR!^pQtZR!`tS_O`ToXp",nodeNames:"\u26A0 StartCloseTag StartCloseTag StartCloseTag EndTag SelfClosingEndTag StartTag StartTag StartTag StartTag StartTag StartCloseTag StartCloseTag StartCloseTag IncompleteCloseTag Document Text EntityReference CharacterReference InvalidEntity Element OpenTag TagName Attribute AttributeName Is AttributeValue UnquotedAttributeValue ScriptText CloseTag OpenTag StyleText CloseTag OpenTag TextareaText CloseTag OpenTag CloseTag SelfClosingTag Comment ProcessingInst MismatchedCloseTag CloseTag DoctypeDecl",maxTerm:67,context:kj,nodeProps:[["closedBy",-10,1,2,3,7,8,9,10,11,12,13,"EndTag",6,"EndTag SelfClosingEndTag",-4,21,30,33,36,"CloseTag"],["openedBy",4,"StartTag StartCloseTag",5,"StartTag",-4,29,32,35,37,"OpenTag"],["group",-9,14,17,18,19,20,39,40,41,42,"Entity",16,"Entity TextContent",-3,28,31,34,"TextContent Entity"],["isolate",-11,21,29,30,32,33,35,36,37,38,41,42,"ltr",-3,26,27,39,""]],propSources:[Bj],skippedNodes:[0],repeatNodeCount:9,tokenData:"!]tw8twx7Sx!P8t!P!Q5u!Q!]8t!]!^/^!^!a7S!a#S8t#S#T;{#T#s8t#s$f5u$f;'S8t;'S;=`>V<%l?Ah8t?Ah?BY5u?BY?Mn8t?MnO5u!Z5zbkWOX5uXZ7SZ[5u[^7S^p5uqr5urs7Sst+Ptw5uwx7Sx!]5u!]!^7w!^!a7S!a#S5u#S#T7S#T;'S5u;'S;=`8n<%lO5u!R7VVOp7Sqs7St!]7S!]!^7l!^;'S7S;'S;=`7q<%lO7S!R7qOa!R!R7tP;=`<%l7S!Z8OYkWa!ROX+PZ[+P^p+Pqr+Psw+Px!^+P!a#S+P#T;'S+P;'S;=`+t<%lO+P!Z8qP;=`<%l5u!_8{ihSkWOX5uXZ7SZ[5u[^7S^p5uqr8trs7Sst/^tw8twx7Sx!P8t!P!Q5u!Q!]8t!]!^:j!^!a7S!a#S8t#S#T;{#T#s8t#s$f5u$f;'S8t;'S;=`>V<%l?Ah8t?Ah?BY5u?BY?Mn8t?MnO5u!_:sbhSkWa!ROX+PZ[+P^p+Pqr/^sw/^x!P/^!P!Q+P!Q!^/^!a#S/^#S#T0m#T#s/^#s$f+P$f;'S/^;'S;=`1e<%l?Ah/^?Ah?BY+P?BY?Mn/^?MnO+P!VP<%l?Ah;{?Ah?BY7S?BY?Mn;{?MnO7S!V=dXhSa!Rqr0msw0mx!P0m!Q!^0m!a#s0m$f;'S0m;'S;=`1_<%l?Ah0m?BY?Mn0m!V>SP;=`<%l;{!_>YP;=`<%l8t!_>dhhSkWOX@OXZAYZ[@O[^AY^p@OqrBwrsAYswBwwxAYx!PBw!P!Q@O!Q!]Bw!]!^/^!^!aAY!a#SBw#S#TE{#T#sBw#s$f@O$f;'SBw;'S;=`HS<%l?AhBw?Ah?BY@O?BY?MnBw?MnO@O!Z@TakWOX@OXZAYZ[@O[^AY^p@Oqr@OrsAYsw@OwxAYx!]@O!]!^Az!^!aAY!a#S@O#S#TAY#T;'S@O;'S;=`Bq<%lO@O!RA]UOpAYq!]AY!]!^Ao!^;'SAY;'S;=`At<%lOAY!RAtOb!R!RAwP;=`<%lAY!ZBRYkWb!ROX+PZ[+P^p+Pqr+Psw+Px!^+P!a#S+P#T;'S+P;'S;=`+t<%lO+P!ZBtP;=`<%l@O!_COhhSkWOX@OXZAYZ[@O[^AY^p@OqrBwrsAYswBwwxAYx!PBw!P!Q@O!Q!]Bw!]!^Dj!^!aAY!a#SBw#S#TE{#T#sBw#s$f@O$f;'SBw;'S;=`HS<%l?AhBw?Ah?BY@O?BY?MnBw?MnO@O!_DsbhSkWb!ROX+PZ[+P^p+Pqr/^sw/^x!P/^!P!Q+P!Q!^/^!a#S/^#S#T0m#T#s/^#s$f+P$f;'S/^;'S;=`1e<%l?Ah/^?Ah?BY+P?BY?Mn/^?MnO+P!VFQbhSOpAYqrE{rsAYswE{wxAYx!PE{!P!QAY!Q!]E{!]!^GY!^!aAY!a#sE{#s$fAY$f;'SE{;'S;=`G|<%l?AhE{?Ah?BYAY?BY?MnE{?MnOAY!VGaXhSb!Rqr0msw0mx!P0m!Q!^0m!a#s0m$f;'S0m;'S;=`1_<%l?Ah0m?BY?Mn0m!VHPP;=`<%lE{!_HVP;=`<%lBw!ZHcW!bx`P!a`Or(trs'ksv(tw!^(t!^!_)e!_;'S(t;'S;=`*P<%lO(t!aIYlhS`PkW!a`!cpOX$qXZ&XZ[$q[^&X^p$qpq&Xqr-_rs&}sv-_vw/^wx(tx}-_}!OKQ!O!P-_!P!Q$q!Q!^-_!^!_*V!_!a&X!a#S-_#S#T1k#T#s-_#s$f$q$f;'S-_;'S;=`3X<%l?Ah-_?Ah?BY$q?BY?Mn-_?MnO$q!aK_khS`PkW!a`!cpOX$qXZ&XZ[$q[^&X^p$qpq&Xqr-_rs&}sv-_vw/^wx(tx!P-_!P!Q$q!Q!^-_!^!_*V!_!`&X!`!aMS!a#S-_#S#T1k#T#s-_#s$f$q$f;'S-_;'S;=`3X<%l?Ah-_?Ah?BY$q?BY?Mn-_?MnO$q!TM_X`P!a`!cp!eQOr&Xrs&}sv&Xwx(tx!^&X!^!_*V!_;'S&X;'S;=`*y<%lO&X!aNZ!ZhSfQ`PkW!a`!cpOX$qXZ&XZ[$q[^&X^p$qpq&Xqr-_rs&}sv-_vw/^wx(tx}-_}!OMz!O!PMz!P!Q$q!Q![Mz![!]Mz!]!^-_!^!_*V!_!a&X!a!c-_!c!}Mz!}#R-_#R#SMz#S#T1k#T#oMz#o#s-_#s$f$q$f$}-_$}%OMz%O%W-_%W%oMz%o%p-_%p&aMz&a&b-_&b1pMz1p4UMz4U4dMz4d4e-_4e$ISMz$IS$I`-_$I`$IbMz$Ib$Je-_$Je$JgMz$Jg$Kh-_$Kh%#tMz%#t&/x-_&/x&EtMz&Et&FV-_&FV;'SMz;'S;:j!#|;:j;=`3X<%l?&r-_?&r?AhMz?Ah?BY$q?BY?MnMz?MnO$q!a!$PP;=`<%lMz!R!$ZY!a`!cpOq*Vqr!$yrs(Vsv*Vwx)ex!a*V!a!b!4t!b;'S*V;'S;=`*s<%lO*V!R!%Q]!a`!cpOr*Vrs(Vsv*Vwx)ex}*V}!O!%y!O!f*V!f!g!']!g#W*V#W#X!0`#X;'S*V;'S;=`*s<%lO*V!R!&QX!a`!cpOr*Vrs(Vsv*Vwx)ex}*V}!O!&m!O;'S*V;'S;=`*s<%lO*V!R!&vV!a`!cp!dPOr*Vrs(Vsv*Vwx)ex;'S*V;'S;=`*s<%lO*V!R!'dX!a`!cpOr*Vrs(Vsv*Vwx)ex!q*V!q!r!(P!r;'S*V;'S;=`*s<%lO*V!R!(WX!a`!cpOr*Vrs(Vsv*Vwx)ex!e*V!e!f!(s!f;'S*V;'S;=`*s<%lO*V!R!(zX!a`!cpOr*Vrs(Vsv*Vwx)ex!v*V!v!w!)g!w;'S*V;'S;=`*s<%lO*V!R!)nX!a`!cpOr*Vrs(Vsv*Vwx)ex!{*V!{!|!*Z!|;'S*V;'S;=`*s<%lO*V!R!*bX!a`!cpOr*Vrs(Vsv*Vwx)ex!r*V!r!s!*}!s;'S*V;'S;=`*s<%lO*V!R!+UX!a`!cpOr*Vrs(Vsv*Vwx)ex!g*V!g!h!+q!h;'S*V;'S;=`*s<%lO*V!R!+xY!a`!cpOr!+qrs!,hsv!+qvw!-Swx!.[x!`!+q!`!a!/j!a;'S!+q;'S;=`!0Y<%lO!+qq!,mV!cpOv!,hvx!-Sx!`!,h!`!a!-q!a;'S!,h;'S;=`!.U<%lO!,hP!-VTO!`!-S!`!a!-f!a;'S!-S;'S;=`!-k<%lO!-SP!-kO{PP!-nP;=`<%l!-Sq!-xS!cp{POv(Vx;'S(V;'S;=`(h<%lO(Vq!.XP;=`<%l!,ha!.aX!a`Or!.[rs!-Ssv!.[vw!-Sw!`!.[!`!a!.|!a;'S!.[;'S;=`!/d<%lO!.[a!/TT!a`{POr)esv)ew;'S)e;'S;=`)y<%lO)ea!/gP;=`<%l!.[!R!/sV!a`!cp{POr*Vrs(Vsv*Vwx)ex;'S*V;'S;=`*s<%lO*V!R!0]P;=`<%l!+q!R!0gX!a`!cpOr*Vrs(Vsv*Vwx)ex#c*V#c#d!1S#d;'S*V;'S;=`*s<%lO*V!R!1ZX!a`!cpOr*Vrs(Vsv*Vwx)ex#V*V#V#W!1v#W;'S*V;'S;=`*s<%lO*V!R!1}X!a`!cpOr*Vrs(Vsv*Vwx)ex#h*V#h#i!2j#i;'S*V;'S;=`*s<%lO*V!R!2qX!a`!cpOr*Vrs(Vsv*Vwx)ex#m*V#m#n!3^#n;'S*V;'S;=`*s<%lO*V!R!3eX!a`!cpOr*Vrs(Vsv*Vwx)ex#d*V#d#e!4Q#e;'S*V;'S;=`*s<%lO*V!R!4XX!a`!cpOr*Vrs(Vsv*Vwx)ex#X*V#X#Y!+q#Y;'S*V;'S;=`*s<%lO*V!R!4{Y!a`!cpOr!4trs!5ksv!4tvw!6Vwx!8]x!a!4t!a!b!:]!b;'S!4t;'S;=`!;r<%lO!4tq!5pV!cpOv!5kvx!6Vx!a!5k!a!b!7W!b;'S!5k;'S;=`!8V<%lO!5kP!6YTO!a!6V!a!b!6i!b;'S!6V;'S;=`!7Q<%lO!6VP!6lTO!`!6V!`!a!6{!a;'S!6V;'S;=`!7Q<%lO!6VP!7QOxPP!7TP;=`<%l!6Vq!7]V!cpOv!5kvx!6Vx!`!5k!`!a!7r!a;'S!5k;'S;=`!8V<%lO!5kq!7yS!cpxPOv(Vx;'S(V;'S;=`(h<%lO(Vq!8YP;=`<%l!5ka!8bX!a`Or!8]rs!6Vsv!8]vw!6Vw!a!8]!a!b!8}!b;'S!8];'S;=`!:V<%lO!8]a!9SX!a`Or!8]rs!6Vsv!8]vw!6Vw!`!8]!`!a!9o!a;'S!8];'S;=`!:V<%lO!8]a!9vT!a`xPOr)esv)ew;'S)e;'S;=`)y<%lO)ea!:YP;=`<%l!8]!R!:dY!a`!cpOr!4trs!5ksv!4tvw!6Vwx!8]x!`!4t!`!a!;S!a;'S!4t;'S;=`!;r<%lO!4t!R!;]V!a`!cpxPOr*Vrs(Vsv*Vwx)ex;'S*V;'S;=`*s<%lO*V!R!;uP;=`<%l!4t!V!{let c=o.type.id;if(c==hj)return Cb(o,s,n);if(c==pj)return Cb(o,s,r);if(c==mj)return Cb(o,s,i);if(c==SA&&l.length){let d=o.node,f=d.firstChild,h=f&&BA(f,s),p;if(h){for(let m of l)if(m.tag==h&&(!m.attrs||m.attrs(p||(p=MA(f,s))))){let g=d.lastChild,O=g.type.id==Oj?g.from:d.to;if(O>f.to)return{parser:m.parser,overlay:[{from:f.to,to:O}]}}}}if(a&&c==CA){let d=o.node,f;if(f=d.firstChild){let h=a[s.read(f.from,f.to)];if(h)for(let p of h){if(p.tagName&&p.tagName!=BA(d.parent,s))continue;let m=d.lastChild;if(m.type.id==$b){let g=m.from+1,O=m.lastChild,b=m.to-(O&&O.isError?0:1);if(b>g)return{parser:p.parser,overlay:[{from:g,to:b}]}}else if(m.type.id==DA)return{parser:p.parser,overlay:[{from:m.from,to:m.to}]}}}}return null})}u(VA,"configureNesting");const Nj=99,NA=1,Fj=100,Ij=101,FA=2,IA=[9,10,11,12,13,32,133,160,5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8232,8233,8239,8287,12288],Zj=58,zj=40,ZA=95,Lj=91,Jf=45,Wj=46,Xj=35,jj=37,qj=38,Uj=92,Yj=10;function lu(t){return t>=65&&t<=90||t>=97&&t<=122||t>=161}u(lu,"isAlpha");function zA(t){return t>=48&&t<=57}u(zA,"isDigit");const Kj=new Ut((t,e)=>{for(let n=!1,r=0,i=0;;i++){let{next:l}=t;if(lu(l)||l==Jf||l==ZA||n&&zA(l))!n&&(l!=Jf||i>0)&&(n=!0),r===i&&l==Jf&&r++,t.advance();else if(l==Uj&&t.peek(1)!=Yj)t.advance(),t.next>-1&&t.advance(),n=!0;else{n&&t.acceptToken(l==zj?Fj:r==2&&e.canShift(FA)?FA:Ij);break}}}),Gj=new Ut(t=>{if(IA.includes(t.peek(-1))){let{next:e}=t;(lu(e)||e==ZA||e==Xj||e==Wj||e==Lj||e==Zj&&lu(t.peek(1))||e==Jf||e==qj)&&t.acceptToken(Nj)}}),Hj=new Ut(t=>{if(!IA.includes(t.peek(-1))){let{next:e}=t;if(e==jj&&(t.advance(),t.acceptToken(NA)),lu(e)){do t.advance();while(lu(t.next)||zA(t.next));t.acceptToken(NA)}}}),_j=xf({"AtKeyword import charset namespace keyframes media supports":Q.definitionKeyword,"from to selector":Q.keyword,NamespaceName:Q.namespace,KeyframeName:Q.labelName,KeyframeRangeName:Q.operatorKeyword,TagName:Q.tagName,ClassName:Q.className,PseudoClassName:Q.constant(Q.className),IdName:Q.labelName,"FeatureName PropertyName":Q.propertyName,AttributeName:Q.attributeName,NumberLiteral:Q.number,KeywordQuery:Q.keyword,UnaryQueryOp:Q.operatorKeyword,"CallTag ValueName":Q.atom,VariableName:Q.variableName,Callee:Q.operatorKeyword,Unit:Q.unit,"UniversalSelector NestingSelector":Q.definitionOperator,MatchOp:Q.compareOperator,"ChildOp SiblingOp, LogicOp":Q.logicOperator,BinOp:Q.arithmeticOperator,Important:Q.modifier,Comment:Q.blockComment,ColorLiteral:Q.color,"ParenthesizedContent StringLiteral":Q.string,":":Q.punctuation,"PseudoOp #":Q.derefOperator,"; ,":Q.separator,"( )":Q.paren,"[ ]":Q.squareBracket,"{ }":Q.brace}),Jj={__proto__:null,lang:32,"nth-child":32,"nth-last-child":32,"nth-of-type":32,"nth-last-of-type":32,dir:32,"host-context":32,url:60,"url-prefix":60,domain:60,regexp:60,selector:138},eq={__proto__:null,"@import":118,"@media":142,"@charset":146,"@namespace":150,"@keyframes":156,"@supports":168},tq={__proto__:null,not:132,only:132},nq=iu.deserialize({version:14,states:":jQYQ[OOO#_Q[OOP#fOWOOOOQP'#Cd'#CdOOQP'#Cc'#CcO#kQ[O'#CfO$_QXO'#CaO$fQ[O'#ChO$qQ[O'#DTO$vQ[O'#DWOOQP'#Em'#EmO${QdO'#DgO%jQ[O'#DtO${QdO'#DvO%{Q[O'#DxO&WQ[O'#D{O&`Q[O'#ERO&nQ[O'#ETOOQS'#El'#ElOOQS'#EW'#EWQYQ[OOO&uQXO'#CdO'jQWO'#DcO'oQWO'#EsO'zQ[O'#EsQOQWOOP(UO#tO'#C_POOO)C@[)C@[OOQP'#Cg'#CgOOQP,59Q,59QO#kQ[O,59QO(aQ[O'#E[O({QWO,58{O)TQ[O,59SO$qQ[O,59oO$vQ[O,59rO(aQ[O,59uO(aQ[O,59wO(aQ[O,59xO)`Q[O'#DbOOQS,58{,58{OOQP'#Ck'#CkOOQO'#DR'#DROOQP,59S,59SO)gQWO,59SO)lQWO,59SOOQP'#DV'#DVOOQP,59o,59oOOQO'#DX'#DXO)qQ`O,59rOOQS'#Cp'#CpO${QdO'#CqO)yQvO'#CsO+ZQtO,5:ROOQO'#Cx'#CxO)lQWO'#CwO+oQWO'#CyO+tQ[O'#DOOOQS'#Ep'#EpOOQO'#Dj'#DjO+|Q[O'#DqO,[QWO'#EtO&`Q[O'#DoO,jQWO'#DrOOQO'#Eu'#EuO)OQWO,5:`O,oQpO,5:bOOQS'#Dz'#DzO,wQWO,5:dO,|Q[O,5:dOOQO'#D}'#D}O-UQWO,5:gO-ZQWO,5:mO-cQWO,5:oOOQS-E8U-E8UO-kQdO,59}O-{Q[O'#E^O.YQWO,5;_O.YQWO,5;_POOO'#EV'#EVP.eO#tO,58yPOOO,58y,58yOOQP1G.l1G.lO/[QXO,5:vOOQO-E8Y-E8YOOQS1G.g1G.gOOQP1G.n1G.nO)gQWO1G.nO)lQWO1G.nOOQP1G/Z1G/ZO/iQ`O1G/^O0SQXO1G/aO0jQXO1G/cO1QQXO1G/dO1hQWO,59|O1mQ[O'#DSO1tQdO'#CoOOQP1G/^1G/^O${QdO1G/^O1{QpO,59]OOQS,59_,59_O${QdO,59aO2TQWO1G/mOOQS,59c,59cO2YQ!bO,59eOOQS'#DP'#DPOOQS'#EY'#EYO2eQ[O,59jOOQS,59j,59jO2mQWO'#DjO2xQWO,5:VO2}QWO,5:]O&`Q[O,5:XO&`Q[O'#E_O3VQWO,5;`O3bQWO,5:ZO(aQ[O,5:^OOQS1G/z1G/zOOQS1G/|1G/|OOQS1G0O1G0OO3sQWO1G0OO3xQdO'#EOOOQS1G0R1G0ROOQS1G0X1G0XOOQS1G0Z1G0ZO4TQtO1G/iOOQO1G/i1G/iOOQO,5:x,5:xO4kQ[O,5:xOOQO-E8[-E8[O4xQWO1G0yPOOO-E8T-E8TPOOO1G.e1G.eOOQP7+$Y7+$YOOQP7+$x7+$xO${QdO7+$xOOQS1G/h1G/hO5TQXO'#ErO5[QWO,59nO5aQtO'#EXO6XQdO'#EoO6cQWO,59ZO6hQpO7+$xOOQS1G.w1G.wOOQS1G.{1G.{OOQS7+%X7+%XOOQS1G/P1G/PO6pQWO1G/POOQS-E8W-E8WOOQS1G/U1G/UO${QdO1G/qOOQO1G/w1G/wOOQO1G/s1G/sO6uQWO,5:yOOQO-E8]-E8]O7TQXO1G/xOOQS7+%j7+%jO7[QYO'#CsOOQO'#EQ'#EQO7gQ`O'#EPOOQO'#EP'#EPO7rQWO'#E`O7zQdO,5:jOOQS,5:j,5:jO8VQtO'#E]O${QdO'#E]O9WQdO7+%TOOQO7+%T7+%TOOQO1G0d1G0dO9kQpO<OAN>OO;]QdO,5:uOOQO-E8X-E8XOOQO<T![;'S%^;'S;=`%o<%lO%^l;TUo`Oy%^z!Q%^!Q![;g![;'S%^;'S;=`%o<%lO%^l;nYo`#e[Oy%^z!Q%^!Q![;g![!g%^!g!h<^!h#X%^#X#Y<^#Y;'S%^;'S;=`%o<%lO%^l[[o`#e[Oy%^z!O%^!O!P;g!P!Q%^!Q![>T![!g%^!g!h<^!h#X%^#X#Y<^#Y;'S%^;'S;=`%o<%lO%^n?VSt^Oy%^z;'S%^;'S;=`%o<%lO%^l?hWjWOy%^z!O%^!O!P;O!P!Q%^!Q![>T![;'S%^;'S;=`%o<%lO%^n@VU#bQOy%^z!Q%^!Q![;g![;'S%^;'S;=`%o<%lO%^~@nTjWOy%^z{@}{;'S%^;'S;=`%o<%lO%^~AUSo`#[~Oy%^z;'S%^;'S;=`%o<%lO%^lAg[#e[Oy%^z!O%^!O!P;g!P!Q%^!Q![>T![!g%^!g!h<^!h#X%^#X#Y<^#Y;'S%^;'S;=`%o<%lO%^bBbU]QOy%^z![%^![!]Bt!];'S%^;'S;=`%o<%lO%^bB{S^Qo`Oy%^z;'S%^;'S;=`%o<%lO%^nC^S!Y^Oy%^z;'S%^;'S;=`%o<%lO%^dCoS|SOy%^z;'S%^;'S;=`%o<%lO%^bDQU!OQOy%^z!`%^!`!aDd!a;'S%^;'S;=`%o<%lO%^bDkS!OQo`Oy%^z;'S%^;'S;=`%o<%lO%^bDzWOy%^z!c%^!c!}Ed!}#T%^#T#oEd#o;'S%^;'S;=`%o<%lO%^bEk[![Qo`Oy%^z}%^}!OEd!O!Q%^!Q![Ed![!c%^!c!}Ed!}#T%^#T#oEd#o;'S%^;'S;=`%o<%lO%^nFfSq^Oy%^z;'S%^;'S;=`%o<%lO%^nFwSp^Oy%^z;'S%^;'S;=`%o<%lO%^bGWUOy%^z#b%^#b#cGj#c;'S%^;'S;=`%o<%lO%^bGoUo`Oy%^z#W%^#W#XHR#X;'S%^;'S;=`%o<%lO%^bHYS!bQo`Oy%^z;'S%^;'S;=`%o<%lO%^bHiUOy%^z#f%^#f#gHR#g;'S%^;'S;=`%o<%lO%^fIQS!TUOy%^z;'S%^;'S;=`%o<%lO%^nIcS!S^Oy%^z;'S%^;'S;=`%o<%lO%^fItU!RQOy%^z!_%^!_!`6y!`;'S%^;'S;=`%o<%lO%^`JZP;=`<%l$}",tokenizers:[Gj,Hj,Kj,1,2,3,4,new Na("m~RRYZ[z{a~~g~aO#^~~dP!P!Qg~lO#_~~",28,105)],topRules:{StyleSheet:[0,4],Styles:[1,86]},specialized:[{term:100,get:t=>Jj[t]||-1},{term:58,get:t=>eq[t]||-1},{term:101,get:t=>tq[t]||-1}],tokenPrec:1219});let Db=null;function kb(){if(!Db&&typeof document=="object"&&document.body){let{style:t}=document.body,e=[],n=new Set;for(let r in t)r!="cssText"&&r!="cssFloat"&&typeof t[r]=="string"&&(/[A-Z]/.test(r)&&(r=r.replace(/[A-Z]/g,i=>"-"+i.toLowerCase())),n.has(r)||(e.push(r),n.add(r)));Db=e.sort().map(r=>({type:"property",label:r}))}return Db||[]}u(kb,"properties");const LA=["active","after","any-link","autofill","backdrop","before","checked","cue","default","defined","disabled","empty","enabled","file-selector-button","first","first-child","first-letter","first-line","first-of-type","focus","focus-visible","focus-within","fullscreen","has","host","host-context","hover","in-range","indeterminate","invalid","is","lang","last-child","last-of-type","left","link","marker","modal","not","nth-child","nth-last-child","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","part","placeholder","placeholder-shown","read-only","read-write","required","right","root","scope","selection","slotted","target","target-text","valid","visited","where"].map(t=>({type:"class",label:t})),WA=["above","absolute","activeborder","additive","activecaption","after-white-space","ahead","alias","all","all-scroll","alphabetic","alternate","always","antialiased","appworkspace","asterisks","attr","auto","auto-flow","avoid","avoid-column","avoid-page","avoid-region","axis-pan","background","backwards","baseline","below","bidi-override","blink","block","block-axis","bold","bolder","border","border-box","both","bottom","break","break-all","break-word","bullets","button","button-bevel","buttonface","buttonhighlight","buttonshadow","buttontext","calc","capitalize","caps-lock-indicator","caption","captiontext","caret","cell","center","checkbox","circle","cjk-decimal","clear","clip","close-quote","col-resize","collapse","color","color-burn","color-dodge","column","column-reverse","compact","condensed","contain","content","contents","content-box","context-menu","continuous","copy","counter","counters","cover","crop","cross","crosshair","currentcolor","cursive","cyclic","darken","dashed","decimal","decimal-leading-zero","default","default-button","dense","destination-atop","destination-in","destination-out","destination-over","difference","disc","discard","disclosure-closed","disclosure-open","document","dot-dash","dot-dot-dash","dotted","double","down","e-resize","ease","ease-in","ease-in-out","ease-out","element","ellipse","ellipsis","embed","end","ethiopic-abegede-gez","ethiopic-halehame-aa-er","ethiopic-halehame-gez","ew-resize","exclusion","expanded","extends","extra-condensed","extra-expanded","fantasy","fast","fill","fill-box","fixed","flat","flex","flex-end","flex-start","footnotes","forwards","from","geometricPrecision","graytext","grid","groove","hand","hard-light","help","hidden","hide","higher","highlight","highlighttext","horizontal","hsl","hsla","hue","icon","ignore","inactiveborder","inactivecaption","inactivecaptiontext","infinite","infobackground","infotext","inherit","initial","inline","inline-axis","inline-block","inline-flex","inline-grid","inline-table","inset","inside","intrinsic","invert","italic","justify","keep-all","landscape","large","larger","left","level","lighter","lighten","line-through","linear","linear-gradient","lines","list-item","listbox","listitem","local","logical","loud","lower","lower-hexadecimal","lower-latin","lower-norwegian","lowercase","ltr","luminosity","manipulation","match","matrix","matrix3d","medium","menu","menutext","message-box","middle","min-intrinsic","mix","monospace","move","multiple","multiple_mask_images","multiply","n-resize","narrower","ne-resize","nesw-resize","no-close-quote","no-drop","no-open-quote","no-repeat","none","normal","not-allowed","nowrap","ns-resize","numbers","numeric","nw-resize","nwse-resize","oblique","opacity","open-quote","optimizeLegibility","optimizeSpeed","outset","outside","outside-shape","overlay","overline","padding","padding-box","painted","page","paused","perspective","pinch-zoom","plus-darker","plus-lighter","pointer","polygon","portrait","pre","pre-line","pre-wrap","preserve-3d","progress","push-button","radial-gradient","radio","read-only","read-write","read-write-plaintext-only","rectangle","region","relative","repeat","repeating-linear-gradient","repeating-radial-gradient","repeat-x","repeat-y","reset","reverse","rgb","rgba","ridge","right","rotate","rotate3d","rotateX","rotateY","rotateZ","round","row","row-resize","row-reverse","rtl","run-in","running","s-resize","sans-serif","saturation","scale","scale3d","scaleX","scaleY","scaleZ","screen","scroll","scrollbar","scroll-position","se-resize","self-start","self-end","semi-condensed","semi-expanded","separate","serif","show","single","skew","skewX","skewY","skip-white-space","slide","slider-horizontal","slider-vertical","sliderthumb-horizontal","sliderthumb-vertical","slow","small","small-caps","small-caption","smaller","soft-light","solid","source-atop","source-in","source-out","source-over","space","space-around","space-between","space-evenly","spell-out","square","start","static","status-bar","stretch","stroke","stroke-box","sub","subpixel-antialiased","svg_masks","super","sw-resize","symbolic","symbols","system-ui","table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row","table-row-group","text","text-bottom","text-top","textarea","textfield","thick","thin","threeddarkshadow","threedface","threedhighlight","threedlightshadow","threedshadow","to","top","transform","translate","translate3d","translateX","translateY","translateZ","transparent","ultra-condensed","ultra-expanded","underline","unidirectional-pan","unset","up","upper-latin","uppercase","url","var","vertical","vertical-text","view-box","visible","visibleFill","visiblePainted","visibleStroke","visual","w-resize","wait","wave","wider","window","windowframe","windowtext","words","wrap","wrap-reverse","x-large","x-small","xor","xx-large","xx-small"].map(t=>({type:"keyword",label:t})).concat(["aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","black","blanchedalmond","blue","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","gold","goldenrod","gray","grey","green","greenyellow","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightsteelblue","lightyellow","lime","limegreen","linen","magenta","maroon","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","navy","oldlace","olive","olivedrab","orange","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","purple","rebeccapurple","red","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","white","whitesmoke","yellow","yellowgreen"].map(t=>({type:"constant",label:t}))),rq=["a","abbr","address","article","aside","b","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","dd","del","details","dfn","dialog","div","dl","dt","em","figcaption","figure","footer","form","header","hgroup","h1","h2","h3","h4","h5","h6","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","main","meter","nav","ol","output","p","pre","ruby","section","select","small","source","span","strong","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","tr","u","ul"].map(t=>({type:"type",label:t})),iq=["@charset","@color-profile","@container","@counter-style","@font-face","@font-feature-values","@font-palette-values","@import","@keyframes","@layer","@media","@namespace","@page","@position-try","@property","@scope","@starting-style","@supports","@view-transition"].map(t=>({type:"keyword",label:t})),Qr=/^(\w[\w-]*|-\w[\w-]*|)$/,lq=/^-(-[\w-]*)?$/;function aq(t,e){var n;if((t.name=="("||t.type.isError)&&(t=t.parent||t),t.name!="ArgList")return!1;let r=(n=t.parent)===null||n===void 0?void 0:n.firstChild;return r?.name!="Callee"?!1:e.sliceString(r.from,r.to)=="var"}u(aq,"isVarArg");const XA=new bf,oq=["Declaration"];function sq(t){for(let e=t;;){if(e.type.isTop)return e;if(!(e=e.parent))return t}}u(sq,"astTop");function jA(t,e,n){if(e.to-e.from>4096){let r=XA.get(e);if(r)return r;let i=[],l=new Set,a=e.cursor(Ce.IncludeAnonymous);if(a.firstChild())do for(let o of jA(t,a.node,n))l.has(o.label)||(l.add(o.label),i.push(o));while(a.nextSibling());return XA.set(e,i),i}else{let r=[],i=new Set;return e.cursor().iterate(l=>{var a;if(n(l)&&l.matchContext(oq)&&((a=l.node.nextSibling)===null||a===void 0?void 0:a.name)==":"){let o=t.sliceString(l.from,l.to);i.has(o)||(i.add(o),r.push({label:o,type:"variable"}))}}),r}}u(jA,"variableNames");const uq=u(t=>e=>{let{state:n,pos:r}=e,i=Qe(n).resolveInner(r,-1),l=i.type.isError&&i.from==i.to-1&&n.doc.sliceString(i.from,i.to)=="-";if(i.name=="PropertyName"||(l||i.name=="TagName")&&/^(Block|Styles)$/.test(i.resolve(i.to).name))return{from:i.from,options:kb(),validFor:Qr};if(i.name=="ValueName")return{from:i.from,options:WA,validFor:Qr};if(i.name=="PseudoClassName")return{from:i.from,options:LA,validFor:Qr};if(t(i)||(e.explicit||l)&&aq(i,n.doc))return{from:t(i)||l?i.from:r,options:jA(n.doc,sq(i),t),validFor:lq};if(i.name=="TagName"){for(let{parent:s}=i;s;s=s.parent)if(s.name=="Block")return{from:i.from,options:kb(),validFor:Qr};return{from:i.from,options:rq,validFor:Qr}}if(i.name=="AtKeyword")return{from:i.from,options:iq,validFor:Qr};if(!e.explicit)return null;let a=i.resolve(r),o=a.childBefore(r);return o&&o.name==":"&&a.name=="PseudoClassSelector"?{from:r,options:LA,validFor:Qr}:o&&o.name==":"&&a.name=="Declaration"||a.name=="ArgList"?{from:r,options:WA,validFor:Qr}:a.name=="Block"||a.name=="Styles"?{from:r,options:kb(),validFor:Qr}:null},"defineCSSCompletionSource")(t=>t.name=="VariableName"),eh=Ls.define({name:"css",parser:nq.configure({props:[Pf.add({Declaration:Ef()}),Af.add({"Block KeyframeList":M6})]}),languageData:{commentTokens:{block:{open:"/*",close:"*/"}},indentOnInput:/^\s*\}$/,wordChars:"-"}});function cq(){return new js(eh,eh.data.of({autocomplete:uq}))}u(cq,"css");const dq=312,qA=1,fq=2,hq=3,pq=4,mq=313,gq=315,Oq=316,bq=5,yq=6,vq=0,Pb=[9,10,11,12,13,32,133,160,5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8232,8233,8239,8287,12288],UA=125,$q=59,Eb=47,wq=42,xq=43,Sq=45,Cq=60,Dq=44,kq=63,Pq=46,Eq=new Gf({start:!1,shift(t,e){return e==bq||e==yq||e==gq?t:e==Oq},strict:!1}),Aq=new Ut((t,e)=>{let{next:n}=t;(n==UA||n==-1||e.context)&&t.acceptToken(mq)},{contextual:!0,fallback:!0}),Tq=new Ut((t,e)=>{let{next:n}=t,r;Pb.indexOf(n)>-1||n==Eb&&((r=t.peek(1))==Eb||r==wq)||n!=UA&&n!=$q&&n!=-1&&!e.context&&t.acceptToken(dq)},{contextual:!0}),Rq=new Ut((t,e)=>{let{next:n}=t;if(n==xq||n==Sq){if(t.advance(),n==t.next){t.advance();let r=!e.context&&e.canShift(qA);t.acceptToken(r?qA:fq)}}else n==kq&&t.peek(1)==Pq&&(t.advance(),t.advance(),(t.next<48||t.next>57)&&t.acceptToken(hq))},{contextual:!0});function Ab(t,e){return t>=65&&t<=90||t>=97&&t<=122||t==95||t>=192||!e&&t>=48&&t<=57}u(Ab,"identifierChar");const Qq=new Ut((t,e)=>{if(t.next!=Cq||!e.dialectEnabled(vq)||(t.advance(),t.next==Eb))return;let n=0;for(;Pb.indexOf(t.next)>-1;)t.advance(),n++;if(Ab(t.next,!0)){for(t.advance(),n++;Ab(t.next,!1);)t.advance(),n++;for(;Pb.indexOf(t.next)>-1;)t.advance(),n++;if(t.next==Dq)return;for(let r=0;;r++){if(r==7){if(!Ab(t.next,!0))return;break}if(t.next!="extends".charCodeAt(r))break;t.advance(),n++}}t.acceptToken(pq,-n)}),Mq=xf({"get set async static":Q.modifier,"for while do if else switch try catch finally return throw break continue default case":Q.controlKeyword,"in of await yield void typeof delete instanceof":Q.operatorKeyword,"let var const using function class extends":Q.definitionKeyword,"import export from":Q.moduleKeyword,"with debugger as new":Q.keyword,TemplateString:Q.special(Q.string),super:Q.atom,BooleanLiteral:Q.bool,this:Q.self,null:Q.null,Star:Q.modifier,VariableName:Q.variableName,"CallExpression/VariableName TaggedTemplateExpression/VariableName":Q.function(Q.variableName),VariableDefinition:Q.definition(Q.variableName),Label:Q.labelName,PropertyName:Q.propertyName,PrivatePropertyName:Q.special(Q.propertyName),"CallExpression/MemberExpression/PropertyName":Q.function(Q.propertyName),"FunctionDeclaration/VariableDefinition":Q.function(Q.definition(Q.variableName)),"ClassDeclaration/VariableDefinition":Q.definition(Q.className),PropertyDefinition:Q.definition(Q.propertyName),PrivatePropertyDefinition:Q.definition(Q.special(Q.propertyName)),UpdateOp:Q.updateOperator,"LineComment Hashbang":Q.lineComment,BlockComment:Q.blockComment,Number:Q.number,String:Q.string,Escape:Q.escape,ArithOp:Q.arithmeticOperator,LogicOp:Q.logicOperator,BitOp:Q.bitwiseOperator,CompareOp:Q.compareOperator,RegExp:Q.regexp,Equals:Q.definitionOperator,Arrow:Q.function(Q.punctuation),": Spread":Q.punctuation,"( )":Q.paren,"[ ]":Q.squareBracket,"{ }":Q.brace,"InterpolationStart InterpolationEnd":Q.special(Q.brace),".":Q.derefOperator,", ;":Q.separator,"@":Q.meta,TypeName:Q.typeName,TypeDefinition:Q.definition(Q.typeName),"type enum interface implements namespace module declare":Q.definitionKeyword,"abstract global Privacy readonly override":Q.modifier,"is keyof unique infer":Q.operatorKeyword,JSXAttributeValue:Q.attributeValue,JSXText:Q.content,"JSXStartTag JSXStartCloseTag JSXSelfCloseEndTag JSXEndTag":Q.angleBracket,"JSXIdentifier JSXNameSpacedName":Q.tagName,"JSXAttribute/JSXIdentifier JSXAttribute/JSXNameSpacedName":Q.attributeName,"JSXBuiltin/JSXIdentifier":Q.standard(Q.tagName)}),Bq={__proto__:null,export:20,as:25,from:33,default:36,async:41,function:42,extends:54,this:58,true:66,false:66,null:78,void:82,typeof:86,super:102,new:136,delete:148,yield:157,await:161,class:166,public:229,private:229,protected:229,readonly:231,instanceof:250,satisfies:253,in:254,const:256,import:290,keyof:345,unique:349,infer:355,is:391,abstract:411,implements:413,type:415,let:418,var:420,using:423,interface:429,enum:433,namespace:439,module:441,declare:445,global:449,for:468,of:477,while:480,with:484,do:488,if:492,else:494,switch:498,case:504,try:510,catch:514,finally:518,return:522,throw:526,break:530,continue:534,debugger:538},Vq={__proto__:null,async:123,get:125,set:127,declare:189,public:191,private:191,protected:191,static:193,abstract:195,override:197,readonly:203,accessor:205,new:395},Nq={__proto__:null,"<":187},Fq=iu.deserialize({version:14,states:"$@QO%TQ^OOO%[Q^OOO'_Q`OOP(lOWOOO*zQ?NdO'#CiO+RO!bO'#CjO+aO#tO'#CjO+oO!0LbO'#D^O.QQ^O'#DdO.bQ^O'#DoO%[Q^O'#DwO0fQ^O'#EPOOQ?Mr'#EX'#EXO1PQWO'#EUOOQO'#Em'#EmOOQO'#Ih'#IhO1XQWO'#GpO1dQWO'#ElO1iQWO'#ElO3hQ?NdO'#JmO6[Q?NdO'#JnO6uQWO'#F[O6zQ&jO'#FsOOQ?Mr'#Fe'#FeO7VO,YO'#FeO7eQ7[O'#FzO9RQWO'#FyOOQ?Mr'#Jn'#JnOOQ?Mp'#Jm'#JmO9WQWO'#GtOOQU'#KZ'#KZO9cQWO'#IUO9hQ?MxO'#IVOOQU'#JZ'#JZOOQU'#IZ'#IZQ`Q^OOO`Q^OOO9pQMnO'#DsO9wQ^O'#D{O:OQ^O'#D}O9^QWO'#GpO:VQ7[O'#CoO:eQWO'#EkO:pQWO'#EvO:uQ7[O'#FdO;dQWO'#GpOOQO'#K['#K[O;iQWO'#K[O;wQWO'#GxO;wQWO'#GyO;wQWO'#G{O9^QWO'#HOOVQWO'#CeO>gQWO'#H_O>oQWO'#HeO>oQWO'#HgO`Q^O'#HiO>oQWO'#HkO>oQWO'#HnO>tQWO'#HtO>yQ?MyO'#HzO%[Q^O'#H|O?UQ?MyO'#IOO?aQ?MyO'#IQO9hQ?MxO'#ISO?lQ?NdO'#CiO@nQ`O'#DiQOQWOOO%[Q^O'#D}OAUQWO'#EQO:VQ7[O'#EkOAaQWO'#EkOAlQpO'#FdOOQU'#Cg'#CgOOQ?Mp'#Dn'#DnOOQ?Mp'#Jq'#JqO%[Q^O'#JqOOQO'#Jt'#JtOOQO'#Id'#IdOBlQ`O'#EdOOQ?Mp'#Ec'#EcOOQ?Mp'#Jx'#JxOChQ?NQO'#EdOCrQ`O'#ETOOQO'#Js'#JsODWQ`O'#JtOEeQ`O'#ETOCrQ`O'#EdPErO#@ItO'#CbPOOO)CDx)CDxOOOO'#I['#I[OE}O!bO,59UOOQ?Mr,59U,59UOOOO'#I]'#I]OF]O#tO,59UO%[Q^O'#D`OOOO'#I_'#I_OFkO!0LbO,59xOOQ?Mr,59x,59xOFyQ^O'#I`OG^QWO'#JoOI]QrO'#JoO+}Q^O'#JoOIdQWO,5:OOIzQWO'#EmOJXQWO'#KOOJdQWO'#J}OJdQWO'#J}OJlQWO,5;ZOJqQWO'#J|OOQ?Mv,5:Z,5:ZOJxQ^O,5:ZOLvQ?NdO,5:cOMgQWO,5:kONQQ?MxO'#J{ONXQWO'#JzO9WQWO'#JzONmQWO'#JzONuQWO,5;YONzQWO'#JzO!#PQrO'#JnOOQ?Mr'#Ci'#CiO%[Q^O'#EPO!#oQrO,5:pOOQQ'#Ju'#JuOOQO-EpOOQU'#Jc'#JcOOQU,5>q,5>qOOQU-EtQWO'#HTO9^QWO'#HVO!DgQWO'#HVO:VQ7[O'#HXO!DlQWO'#HXOOQU,5=m,5=mO!DqQWO'#HYO!ESQWO'#CoO!EXQWO,59PO!EcQWO,59PO!GhQ^O,59POOQU,59P,59PO!GxQ?MxO,59PO%[Q^O,59PO!JTQ^O'#HaOOQU'#Hb'#HbOOQU'#Hc'#HcO`Q^O,5=yO!JkQWO,5=yO`Q^O,5>PO`Q^O,5>RO!JpQWO,5>TO`Q^O,5>VO!JuQWO,5>YO!JzQ^O,5>`OOQU,5>f,5>fO%[Q^O,5>fO9hQ?MxO,5>hOOQU,5>j,5>jO# UQWO,5>jOOQU,5>l,5>lO# UQWO,5>lOOQU,5>n,5>nO# rQ`O'#D[O%[Q^O'#JqO# |Q`O'#JqO#!kQ`O'#DjO#!|Q`O'#DjO#%_Q^O'#DjO#%fQWO'#JpO#%nQWO,5:TO#%sQWO'#EqO#&RQWO'#KPO#&ZQWO,5;[O#&`Q`O'#DjO#&mQ`O'#ESOOQ?Mr,5:l,5:lO%[Q^O,5:lO#&tQWO,5:lO>tQWO,5;VO!A}Q`O,5;VO!BVQ7[O,5;VO:VQ7[O,5;VO#&|QWO,5@]O#'RQ(CYO,5:pOOQO-EzO+}Q^O,5>zOOQO,5?Q,5?QO#*ZQ^O'#I`OOQO-E<^-E<^O#*hQWO,5@ZO#*pQrO,5@ZO#*wQWO,5@iOOQ?Mr1G/j1G/jO%[Q^O,5@jO#+PQWO'#IfOOQO-EuQ?NdO1G0|O#>|Q?NdO1G0|O#AZQ07bO'#CiO#CUQ07bO1G1_O#C]Q07bO'#JnO#CpQ?NdO,5?WOOQ?Mp-EoQWO1G3oO$3VQ^O1G3qO$7ZQ^O'#HpOOQU1G3t1G3tO$7hQWO'#HvO>tQWO'#HxOOQU1G3z1G3zO$7pQ^O1G3zO9hQ?MxO1G4QOOQU1G4S1G4SOOQ?Mp'#G]'#G]O9hQ?MxO1G4UO9hQ?MxO1G4WO$;wQWO,5@]O!(oQ^O,5;]O9WQWO,5;]O>tQWO,5:UO!(oQ^O,5:UO!A}Q`O,5:UO$;|Q07bO,5:UOOQO,5;],5;]O$tQWO1G0qO!A}Q`O1G0qO!BVQ7[O1G0qOOQ?Mp1G5w1G5wO!ArQ?MxO1G0ZOOQO1G0j1G0jO%[Q^O1G0jO$=aQ?MxO1G0jO$=lQ?MxO1G0jO!A}Q`O1G0ZOCrQ`O1G0ZO$=zQ?MxO1G0jOOQO1G0Z1G0ZO$>`Q?NdO1G0jPOOO-EjQpO,5rQrO1G4fOOQO1G4l1G4lO%[Q^O,5>zO$>|QWO1G5uO$?UQWO1G6TO$?^QrO1G6UO9WQWO,5?QO$?hQ?NdO1G6RO%[Q^O1G6RO$?xQ?MxO1G6RO$@ZQWO1G6QO$@ZQWO1G6QO9WQWO1G6QO$@cQWO,5?TO9WQWO,5?TOOQO,5?T,5?TO$@wQWO,5?TO$(PQWO,5?TOOQO-E[OOQU,5>[,5>[O%[Q^O'#HqO%8mQWO'#HsOOQU,5>b,5>bO9WQWO,5>bOOQU,5>d,5>dOOQU7+)f7+)fOOQU7+)l7+)lOOQU7+)p7+)pOOQU7+)r7+)rO%8rQ`O1G5wO%9WQ07bO1G0wO%9bQWO1G0wOOQO1G/p1G/pO%9mQ07bO1G/pO>tQWO1G/pO!(oQ^O'#DjOOQO,5>{,5>{OOQO-E<_-E<_OOQO,5?R,5?ROOQO-EtQWO7+&]O!A}Q`O7+&]OOQO7+%u7+%uO$>`Q?NdO7+&UOOQO7+&U7+&UO%[Q^O7+&UO%9wQ?MxO7+&UO!ArQ?MxO7+%uO!A}Q`O7+%uO%:SQ?MxO7+&UO%:bQ?NdO7++mO%[Q^O7++mO%:rQWO7++lO%:rQWO7++lOOQO1G4o1G4oO9WQWO1G4oO%:zQWO1G4oOOQQ7+%z7+%zO#&wQWO<|O%[Q^O,5>|OOQO-E<`-E<`O%FwQWO1G5xOOQ?Mr<]OOQU,5>_,5>_O&8uQWO1G3|O9WQWO7+&cO!(oQ^O7+&cOOQO7+%[7+%[O&8zQ07bO1G6UO>tQWO7+%[OOQ?Mr<tQWO<`Q?NdO<pQ?NdO,5?_O&@xQ?NdO7+'zO&CWQrO1G4hO&CbQ07bO7+&^O&EcQ07bO,5=UO&GgQ07bO,5=WO&GwQ07bO,5=UO&HXQ07bO,5=WO&HiQ07bO,59rO&JlQ07bO,5tQWO7+)hO'(OQWO<`Q?NdOAN?[OOQOAN>{AN>{O%[Q^OAN?[OOQO<`Q?NdOG24vO#&wQWOLD,nOOQULD,nLD,nO!&_Q7[OLD,nO'5TQrOLD,nO'5[Q07bO7+'xO'6}Q07bO,5?]O'8}Q07bO,5?_O':}Q07bO7+'zO'kOh%VOk+aO![']O%f+`O~O!d+cOa(WX![(WX'u(WX!Y(WX~Oa%lO![XO'u%lO~Oh%VO!i%cO~Oh%VO!i%cO(O%eO~O!d#vO#h(tO~Ob+nO%g+oO(O+kO(QTO(TUO!Z)TP~O!Y+pO`)SX~O[+tO~O`+uO~O![%}O(O%eO(P!lO`)SP~Oh%VO#]+zO~Oh%VOk+}O![$|O~O![,PO~O},RO![XO~O%k%tO~O!u,WO~Oe,]O~Ob,^O(O#nO(QTO(TUO!Z)RP~Oe%{O~O%g!QO(O&WO~P=RO[,cO`,bO~OPYOQYOSfOdzOeyOmkOoYOpkOqkOwkOyYO{YO!PWO!TkO!UkO!fuO!iZO!lYO!mYO!nYO!pvO!uxO!y]O%e}O(QTO(TUO([VO(j[O(yiO~O![!eO!r!gO$V!kO(O!dO~P!EkO`,bOa%lO'u%lO~OPYOQYOSfOd!jOe!iOmkOoYOpkOqkOwkOyYO{YO!PWO!TkO!UkO![!eO!fuO!iZO!lYO!mYO!nYO!pvO!u!hO$V!kO(O!dO(QTO(TUO([VO(j[O(yiO~Oa,hO!rwO#t!OO%i!OO%j!OO%k!OO~P!HTO!i&lO~O&Y,nO~O![,pO~O&k,rO&m,sOP&haQ&haS&haY&haa&had&hae&ham&hao&hap&haq&haw&hay&ha{&ha!P&ha!T&ha!U&ha![&ha!f&ha!i&ha!l&ha!m&ha!n&ha!p&ha!r&ha!u&ha!y&ha#t&ha$V&ha%e&ha%g&ha%i&ha%j&ha%k&ha%n&ha%p&ha%s&ha%t&ha%v&ha&S&ha&Y&ha&[&ha&^&ha&`&ha&c&ha&i&ha&o&ha&q&ha&s&ha&u&ha&w&ha's&ha(O&ha(Q&ha(T&ha([&ha(j&ha(y&ha!Z&ha&a&hab&ha&f&ha~O(O,xO~Oh!bX!Y!OX!Z!OX!d!OX!d!bX!i!bX#]!OX~O!Y!bX!Z!bX~P# ZO!d,}O#],|Oh(eX!Y#eX!Y(eX!Z#eX!Z(eX!d(eX!i(eX~Oh%VO!d-PO!i%cO!Y!^X!Z!^X~Op!nO!P!oO(QTO(TUO(`!mO~OP;POQ;POSfOdkOg'XX!Y'XX~P!+hO!Y.wOg(ka~OSfO![3uO$c3vO~O!Z3zO~Os3{O~P#.aOa$lq!Y$lq'u$lq's$lq!V$lq!h$lqs$lq![$lq%f$lq!d$lq~P!9mO!V3|O~P#.aO})zO!P){O(u%POk'ea(t'ea!Y'ea#]'ea~Og'ea#}'ea~P%)nO})zO!P){Ok'ga(t'ga(u'ga!Y'ga#]'ga~Og'ga#}'ga~P%*aO(m$YO~P#.aO!VfX!V$xX!YfX!Y$xX!d%PX#]fX~P!/gO(OQ#>g#@V#@e#@l#BR#Ba#C|#D[#Db#Dh#Dn#Dx#EO#EU#E`#Er#ExPPPPPPPPPP#FOPPPPPPP#Fs#Iz#KZ#Kb#KjPPP$!sP$!|$%t$,^$,a$,d$-P$-S$-Z$-cP$-i$-lP$.Y$.^$/U$0d$0i$1PPP$1U$1[$1`P$1c$1g$1k$2a$2x$3a$3e$3h$3k$3q$3t$3x$3|R!|RoqOXst!Z#d%k&o&q&r&t,k,p1|2PY!vQ']-]1a5eQ%rvQ%zyQ&R|Q&g!VS'T!e-TQ'c!iS'i!r!yU*e$|*V*jQ+i%{Q+v&TQ,[&aQ-Z'[Q-e'dQ-m'jQ0R*lQ1k,]R;v;T%QdOPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$_$a$e%k%r&P&h&k&o&q&r&t&x'Q'_'o(P(R(X(`(t(v(z)y+R+V,h,k,p-a-i-w-}.l.s/f0a0g0v1d1t1u1w1y1|2P2R2r2x3^5b5m5}6O6R6f8R8X8h8rS#q];Q!r)Z$Z$n'U)o,|-P.}2b3u5`6]9h9y;P;S;T;W;X;Y;Z;[;];^;_;`;a;b;c;d;f;i;v;x;y;{ < TypeParamList TypeDefinition extends ThisType this LiteralType ArithOp Number BooleanLiteral TemplateType InterpolationEnd Interpolation InterpolationStart NullType null VoidType void TypeofType typeof MemberExpression . PropertyName [ TemplateString Escape Interpolation super RegExp ] ArrayExpression Spread , } { ObjectExpression Property async get set PropertyDefinition Block : NewTarget new NewExpression ) ( ArgList UnaryExpression delete LogicOp BitOp YieldExpression yield AwaitExpression await ParenthesizedExpression ClassExpression class ClassBody MethodDeclaration Decorator @ MemberExpression PrivatePropertyName CallExpression TypeArgList CompareOp < declare Privacy static abstract override PrivatePropertyDefinition PropertyDeclaration readonly accessor Optional TypeAnnotation Equals StaticBlock FunctionExpression ArrowFunction ParamList ParamList ArrayPattern ObjectPattern PatternProperty Privacy readonly Arrow MemberExpression BinaryExpression ArithOp ArithOp ArithOp ArithOp BitOp CompareOp instanceof satisfies in const CompareOp BitOp BitOp BitOp LogicOp LogicOp ConditionalExpression LogicOp LogicOp AssignmentExpression UpdateOp PostfixExpression CallExpression InstantiationExpression TaggedTemplateExpression DynamicImport import ImportMeta JSXElement JSXSelfCloseEndTag JSXSelfClosingTag JSXIdentifier JSXBuiltin JSXIdentifier JSXNamespacedName JSXMemberExpression JSXSpreadAttribute JSXAttribute JSXAttributeValue JSXEscape JSXEndTag JSXOpenTag JSXFragmentTag JSXText JSXEscape JSXStartCloseTag JSXCloseTag PrefixCast ArrowFunction TypeParamList SequenceExpression InstantiationExpression KeyofType keyof UniqueType unique ImportType InferredType infer TypeName ParenthesizedType FunctionSignature ParamList NewSignature IndexedType TupleType Label ArrayType ReadonlyType ObjectType MethodType PropertyType IndexSignature PropertyDefinition CallSignature TypePredicate is NewSignature new UnionType LogicOp IntersectionType LogicOp ConditionalType ParameterizedType ClassDeclaration abstract implements type VariableDeclaration let var using TypeAliasDeclaration InterfaceDeclaration interface EnumDeclaration enum EnumBody NamespaceDeclaration namespace module AmbientDeclaration declare GlobalDeclaration global ClassDeclaration ClassBody AmbientFunctionDeclaration ExportGroup VariableName VariableName ImportDeclaration ImportGroup ForStatement for ForSpec ForInSpec ForOfSpec of WhileStatement while WithStatement with DoStatement do IfStatement if else SwitchStatement switch SwitchBody CaseLabel case DefaultLabel TryStatement try CatchClause catch FinallyClause finally ReturnStatement return ThrowStatement throw BreakStatement break ContinueStatement continue DebuggerStatement debugger LabeledStatement ExpressionStatement SingleExpression SingleClassItem",maxTerm:376,context:Eq,nodeProps:[["isolate",-8,5,6,14,34,36,48,50,52,""],["group",-26,9,17,19,65,204,208,212,213,215,218,221,231,233,239,241,243,245,248,254,260,262,264,266,268,270,271,"Statement",-34,13,14,29,32,33,39,48,51,52,54,59,67,69,73,77,79,81,82,107,108,117,118,135,138,140,141,142,143,144,146,147,166,167,169,"Expression",-23,28,30,34,38,40,42,171,173,175,176,178,179,180,182,183,184,186,187,188,198,200,202,203,"Type",-3,85,100,106,"ClassItem"],["openedBy",23,"<",35,"InterpolationStart",53,"[",57,"{",70,"(",159,"JSXStartCloseTag"],["closedBy",24,">",37,"InterpolationEnd",47,"]",58,"}",71,")",164,"JSXEndTag"]],propSources:[Mq],skippedNodes:[0,5,6,274],repeatNodeCount:37,tokenData:"$Fq07[R!bOX%ZXY+gYZ-yZ[+g[]%Z]^.c^p%Zpq+gqr/mrs3cst:_tuEruvJSvwLkwx! Yxy!'iyz!(sz{!)}{|!,q|}!.O}!O!,q!O!P!/Y!P!Q!9j!Q!R#:O!R![#<_![!]#I_!]!^#Jk!^!_#Ku!_!`$![!`!a$$v!a!b$*T!b!c$,r!c!}Er!}#O$-|#O#P$/W#P#Q$4o#Q#R$5y#R#SEr#S#T$7W#T#o$8b#o#p$x#r#s$@U#s$f%Z$f$g+g$g#BYEr#BY#BZ$A`#BZ$ISEr$IS$I_$A`$I_$I|Er$I|$I}$Dk$I}$JO$Dk$JO$JTEr$JT$JU$A`$JU$KVEr$KV$KW$A`$KW&FUEr&FU&FV$A`&FV;'SEr;'S;=`I|<%l?HTEr?HT?HU$A`?HUOEr(n%d_$h&j(Rp(U!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z&j&hT$h&jO!^&c!_#o&c#p;'S&c;'S;=`&w<%lO&c&j&zP;=`<%l&c'|'U]$h&j(U!bOY&}YZ&cZw&}wx&cx!^&}!^!_'}!_#O&}#O#P&c#P#o&}#o#p'}#p;'S&};'S;=`(l<%lO&}!b(SU(U!bOY'}Zw'}x#O'}#P;'S'};'S;=`(f<%lO'}!b(iP;=`<%l'}'|(oP;=`<%l&}'[(y]$h&j(RpOY(rYZ&cZr(rrs&cs!^(r!^!_)r!_#O(r#O#P&c#P#o(r#o#p)r#p;'S(r;'S;=`*a<%lO(rp)wU(RpOY)rZr)rs#O)r#P;'S)r;'S;=`*Z<%lO)rp*^P;=`<%l)r'[*dP;=`<%l(r#S*nX(Rp(U!bOY*gZr*grs'}sw*gwx)rx#O*g#P;'S*g;'S;=`+Z<%lO*g#S+^P;=`<%l*g(n+dP;=`<%l%Z07[+rq$h&j(Rp(U!b'w0/lOX%ZXY+gYZ&cZ[+g[p%Zpq+gqr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p$f%Z$f$g+g$g#BY%Z#BY#BZ+g#BZ$IS%Z$IS$I_+g$I_$JT%Z$JT$JU+g$JU$KV%Z$KV$KW+g$KW&FU%Z&FU&FV+g&FV;'S%Z;'S;=`+a<%l?HT%Z?HT?HU+g?HUO%Z07[.ST(S#S$h&j'x0/lO!^&c!_#o&c#p;'S&c;'S;=`&w<%lO&c07[.n_$h&j(Rp(U!b'x0/lOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z)3p/x`$h&j!m),Q(Rp(U!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`0z!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z(KW1V`#u(Ch$h&j(Rp(U!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`2X!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z(KW2d_#u(Ch$h&j(Rp(U!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'At3l_(Q':f$h&j(U!bOY4kYZ5qZr4krs7nsw4kwx5qx!^4k!^!_8p!_#O4k#O#P5q#P#o4k#o#p8p#p;'S4k;'S;=`:X<%lO4k(^4r_$h&j(U!bOY4kYZ5qZr4krs7nsw4kwx5qx!^4k!^!_8p!_#O4k#O#P5q#P#o4k#o#p8p#p;'S4k;'S;=`:X<%lO4k&z5vX$h&jOr5qrs6cs!^5q!^!_6y!_#o5q#o#p6y#p;'S5q;'S;=`7h<%lO5q&z6jT$c`$h&jO!^&c!_#o&c#p;'S&c;'S;=`&w<%lO&c`6|TOr6yrs7]s;'S6y;'S;=`7b<%lO6y`7bO$c``7eP;=`<%l6y&z7kP;=`<%l5q(^7w]$c`$h&j(U!bOY&}YZ&cZw&}wx&cx!^&}!^!_'}!_#O&}#O#P&c#P#o&}#o#p'}#p;'S&};'S;=`(l<%lO&}!r8uZ(U!bOY8pYZ6yZr8prs9hsw8pwx6yx#O8p#O#P6y#P;'S8p;'S;=`:R<%lO8p!r9oU$c`(U!bOY'}Zw'}x#O'}#P;'S'};'S;=`(f<%lO'}!r:UP;=`<%l8p(^:[P;=`<%l4k%9[:hh$h&j(Rp(U!bOY%ZYZ&cZq%Zqr`#P#o`x!^=^!^!_?q!_#O=^#O#P>`#P#o=^#o#p?q#p;'S=^;'S;=`@h<%lO=^&n>gXWS$h&jOY>`YZ&cZ!^>`!^!_?S!_#o>`#o#p?S#p;'S>`;'S;=`?k<%lO>`S?XSWSOY?SZ;'S?S;'S;=`?e<%lO?SS?hP;=`<%l?S&n?nP;=`<%l>`!f?xWWS(U!bOY?qZw?qwx?Sx#O?q#O#P?S#P;'S?q;'S;=`@b<%lO?q!f@eP;=`<%l?q(Q@kP;=`<%l=^'`@w]WS$h&j(RpOY@nYZ&cZr@nrs>`s!^@n!^!_Ap!_#O@n#O#P>`#P#o@n#o#pAp#p;'S@n;'S;=`Bg<%lO@ntAwWWS(RpOYApZrAprs?Ss#OAp#O#P?S#P;'SAp;'S;=`Ba<%lOAptBdP;=`<%lAp'`BjP;=`<%l@n#WBvYWS(Rp(U!bOYBmZrBmrs?qswBmwxApx#OBm#O#P?S#P;'SBm;'S;=`Cf<%lOBm#WCiP;=`<%lBm(rCoP;=`<%l^!Q^$h&j!U7`OY!=yYZ&cZ!P!=y!P!Q!>|!Q!^!=y!^!_!@c!_!}!=y!}#O!CW#O#P!Dy#P#o!=y#o#p!@c#p;'S!=y;'S;=`!Ek<%lO!=y|#X#Z&c#Z#[!>|#[#]&c#]#^!>|#^#a&c#a#b!>|#b#g&c#g#h!>|#h#i&c#i#j!>|#j#k!>|#k#m&c#m#n!>|#n#o&c#p;'S&c;'S;=`&w<%lO&c7`!@hX!U7`OY!@cZ!P!@c!P!Q!AT!Q!}!@c!}#O!Ar#O#P!Bq#P;'S!@c;'S;=`!CQ<%lO!@c7`!AYW!U7`#W#X!AT#Z#[!AT#]#^!AT#a#b!AT#g#h!AT#i#j!AT#j#k!AT#m#n!AT7`!AuVOY!ArZ#O!Ar#O#P!B[#P#Q!@c#Q;'S!Ar;'S;=`!Bk<%lO!Ar7`!B_SOY!ArZ;'S!Ar;'S;=`!Bk<%lO!Ar7`!BnP;=`<%l!Ar7`!BtSOY!@cZ;'S!@c;'S;=`!CQ<%lO!@c7`!CTP;=`<%l!@c^!Ezl$h&j(U!b!U7`OY&}YZ&cZw&}wx&cx!^&}!^!_'}!_#O&}#O#P&c#P#W&}#W#X!Eq#X#Z&}#Z#[!Eq#[#]&}#]#^!Eq#^#a&}#a#b!Eq#b#g&}#g#h!Eq#h#i&}#i#j!Eq#j#k!Eq#k#m&}#m#n!Eq#n#o&}#o#p'}#p;'S&};'S;=`(l<%lO&}8r!GyZ(U!b!U7`OY!GrZw!Grwx!@cx!P!Gr!P!Q!Hl!Q!}!Gr!}#O!JU#O#P!Bq#P;'S!Gr;'S;=`!J|<%lO!Gr8r!Hse(U!b!U7`OY'}Zw'}x#O'}#P#W'}#W#X!Hl#X#Z'}#Z#[!Hl#[#]'}#]#^!Hl#^#a'}#a#b!Hl#b#g'}#g#h!Hl#h#i'}#i#j!Hl#j#k!Hl#k#m'}#m#n!Hl#n;'S'};'S;=`(f<%lO'}8r!JZX(U!bOY!JUZw!JUwx!Arx#O!JU#O#P!B[#P#Q!Gr#Q;'S!JU;'S;=`!Jv<%lO!JU8r!JyP;=`<%l!JU8r!KPP;=`<%l!Gr>^!KZ^$h&j(U!bOY!KSYZ&cZw!KSwx!CWx!^!KS!^!_!JU!_#O!KS#O#P!DR#P#Q!^!LYP;=`<%l!KS>^!L`P;=`<%l!_#c#d#Bq#d#l%Z#l#m#Es#m#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'Ad#_#c#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'Ad#>j_$h&j(Rp(U!bp'9tOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'Ad#?rd$h&j(Rp(U!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q!R#AQ!R!S#AQ!S!^%Z!^!_*g!_#O%Z#O#P&c#P#R%Z#R#S#AQ#S#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'Ad#A]f$h&j(Rp(U!bp'9tOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q!R#AQ!R!S#AQ!S!^%Z!^!_*g!_#O%Z#O#P&c#P#R%Z#R#S#AQ#S#b%Z#b#c#>_#c#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'Ad#Bzc$h&j(Rp(U!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q!Y#DV!Y!^%Z!^!_*g!_#O%Z#O#P&c#P#R%Z#R#S#DV#S#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'Ad#Dbe$h&j(Rp(U!bp'9tOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q!Y#DV!Y!^%Z!^!_*g!_#O%Z#O#P&c#P#R%Z#R#S#DV#S#b%Z#b#c#>_#c#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'Ad#E|g$h&j(Rp(U!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q![#Ge![!^%Z!^!_*g!_!c%Z!c!i#Ge!i#O%Z#O#P&c#P#R%Z#R#S#Ge#S#T%Z#T#Z#Ge#Z#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'Ad#Gpi$h&j(Rp(U!bp'9tOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q![#Ge![!^%Z!^!_*g!_!c%Z!c!i#Ge!i#O%Z#O#P&c#P#R%Z#R#S#Ge#S#T%Z#T#Z#Ge#Z#b%Z#b#c#>_#c#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z*)x#Il_!d$b$h&j#})Lv(Rp(U!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z)[#Jv_al$h&j(Rp(U!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z04f#LS^h#)`#O-Bq[t]||-1},{term:338,get:t=>Vq[t]||-1},{term:92,get:t=>Nq[t]||-1}],tokenPrec:14749}),YA=[Mt("function ${name}(${params}) {\n ${}\n}",{label:"function",detail:"definition",type:"keyword"}),Mt("for (let ${index} = 0; ${index} < ${bound}; ${index}++) {\n ${}\n}",{label:"for",detail:"loop",type:"keyword"}),Mt("for (let ${name} of ${collection}) {\n ${}\n}",{label:"for",detail:"of loop",type:"keyword"}),Mt("do {\n ${}\n} while (${})",{label:"do",detail:"loop",type:"keyword"}),Mt("while (${}) {\n ${}\n}",{label:"while",detail:"loop",type:"keyword"}),Mt(`try { \${} } catch (\${error}) { \${} @@ -20,13 +20,13 @@ var ree=Object.defineProperty;var u=(Lp,Ul)=>ree(Lp,"name",{value:Ul,configurabl constructor(\${params}) { \${} } -}`,{label:"class",detail:"definition",type:"keyword"}),Mt('import {${names}} from "${module}"\n${}',{label:"import",detail:"named",type:"keyword"}),Mt('import ${name} from "${module}"\n${}',{label:"import",detail:"default",type:"keyword"})],Fq=YA.concat([Mt("interface ${name} {\n ${}\n}",{label:"interface",detail:"definition",type:"keyword"}),Mt("type ${name} = ${type}",{label:"type",detail:"definition",type:"keyword"}),Mt("enum ${name} {\n ${}\n}",{label:"enum",detail:"definition",type:"keyword"})]),KA=new yf,GA=new Set(["Script","Block","FunctionExpression","FunctionDeclaration","ArrowFunction","MethodDeclaration","ForStatement"]);function lu(t){return(e,n)=>{let r=e.node.getChild("VariableDefinition");return r&&n(r,t),!0}}u(lu,"defID");const Iq=["FunctionDeclaration"],Zq={FunctionDeclaration:lu("function"),ClassDeclaration:lu("class"),ClassExpression:()=>!0,EnumDeclaration:lu("constant"),TypeAliasDeclaration:lu("type"),NamespaceDeclaration:lu("namespace"),VariableDefinition(t,e){t.matchContext(Iq)||e(t,"variable")},TypeDefinition(t,e){e(t,"type")},__proto__:null};function HA(t,e){let n=KA.get(e);if(n)return n;let r=[],i=!0;function l(a,o){let s=t.sliceString(a.from,a.to);r.push({label:s,type:o})}return u(l,"def"),e.cursor(Ce.IncludeAnonymous).iterate(a=>{if(i)i=!1;else if(a.name){let o=Zq[a.name];if(o&&o(a,l)||GA.has(a.name))return!1}else if(a.to-a.from>8192){for(let o of HA(t,a.node))r.push(o);return!1}}),KA.set(e,r),r}u(HA,"getScope");const _A=/^[\w$\xa1-\uffff][\w$\d\xa1-\uffff]*$/,JA=["TemplateString","String","RegExp","LineComment","BlockComment","VariableDefinition","TypeDefinition","Label","PropertyDefinition","PropertyName","PrivatePropertyDefinition","PrivatePropertyName",".","?."];function zq(t){let e=Qe(t.state).resolveInner(t.pos,-1);if(JA.indexOf(e.name)>-1)return null;let n=e.name=="VariableName"||e.to-e.from<20&&_A.test(t.state.sliceDoc(e.from,e.to));if(!n&&!t.explicit)return null;let r=[];for(let i=e;i;i=i.parent)GA.has(i.name)&&(r=r.concat(HA(t.state.doc,i)));return{options:r,from:n?e.from:t.pos,validFor:_A}}u(zq,"localCompletionSource");const Jn=zs.define({name:"javascript",parser:Nq.configure({props:[Ef.add({IfStatement:Af({except:/^\s*({|else\b)/}),TryStatement:Af({except:/^\s*({|catch\b|finally\b)/}),LabeledStatement:jz,SwitchBody:t=>{let e=t.textAfter,n=/^\s*\}/.test(e),r=/^\s*(case|default)\b/.test(e);return t.baseIndent+(n?0:r?1:2)*t.unit},Block:Xz({closing:"}"}),ArrowFunction:t=>t.baseIndent+t.unit,"TemplateString BlockComment":()=>null,"Statement Property":Af({except:/^{/}),JSXElement(t){let e=/^\s*<\//.test(t.textAfter);return t.lineIndent(t.node.from)+(e?0:t.unit)},JSXEscape(t){let e=/\s*\}/.test(t.textAfter);return t.lineIndent(t.node.from)+(e?0:t.unit)},"JSXOpenTag JSXSelfClosingTag"(t){return t.column(t.node.from)+t.unit}}),Tf.add({"Block ClassBody SwitchBody EnumBody ObjectExpression ArrayExpression ObjectType":M6,BlockComment(t){return{from:t.from+2,to:t.to-2}}})]}),languageData:{closeBrackets:{brackets:["(","[","{","'",'"',"`"]},commentTokens:{line:"//",block:{open:"/*",close:"*/"}},indentOnInput:/^\s*(?:case |default:|\{|\}|<\/)$/,wordChars:"$"}}),eT={test:t=>/^JSX/.test(t.name),facet:P6({commentTokens:{block:{open:"{/*",close:"*/}"}}})},tT=Jn.configure({dialect:"ts"},"typescript"),nT=Jn.configure({dialect:"jsx",props:[DO.add(t=>t.isTop?[eT]:void 0)]}),rT=Jn.configure({dialect:"jsx ts",props:[DO.add(t=>t.isTop?[eT]:void 0)]},"typescript");let iT=u(t=>({label:t,type:"keyword"}),"kwCompletion");const lT="break case const continue default delete export extends false finally in instanceof let new return static super switch this throw true typeof var yield".split(" ").map(iT),Lq=lT.concat(["declare","implements","private","protected","public"].map(iT));function Wq(t={}){let e=t.jsx?t.typescript?rT:nT:t.typescript?tT:Jn,n=t.typescript?Fq.concat(Lq):YA.concat(lT);return new Xs(e,[Jn.data.of({autocomplete:TW(JA,N7(n))}),Jn.data.of({autocomplete:zq}),t.jsx?qq:[]])}u(Wq,"javascript");function Xq(t){for(;;){if(t.name=="JSXOpenTag"||t.name=="JSXSelfClosingTag"||t.name=="JSXFragmentTag")return t;if(t.name=="JSXEscape"||!t.parent)return null;t=t.parent}}u(Xq,"findOpenTag");function aT(t,e,n=t.length){for(let r=e?.firstChild;r;r=r.nextSibling)if(r.name=="JSXIdentifier"||r.name=="JSXBuiltin"||r.name=="JSXNamespacedName"||r.name=="JSXMemberExpression")return t.sliceString(r.from,Math.min(r.to,n));return""}u(aT,"elementName$1");const jq=typeof navigator=="object"&&/Android\b/.test(navigator.userAgent),qq=H.inputHandler.of((t,e,n,r,i)=>{if((jq?t.composing:t.compositionStarted)||t.state.readOnly||e!=n||r!=">"&&r!="/"||!Jn.isActiveAt(t.state,e,-1))return!1;let l=i(),{state:a}=l,o=a.changeByRange(s=>{var c;let{head:d}=s,f=Qe(a).resolveInner(d-1,-1),h;if(f.name=="JSXStartTag"&&(f=f.parent),!(a.doc.sliceString(d-1,d)!=r||f.name=="JSXAttributeValue"&&f.to>d)){if(r==">"&&f.name=="JSXFragmentTag")return{range:s,changes:{from:d,insert:""}};if(r=="/"&&f.name=="JSXStartCloseTag"){let p=f.parent,m=p.parent;if(m&&p.from==d-2&&((h=aT(a.doc,m.firstChild,d))||((c=m.firstChild)===null||c===void 0?void 0:c.name)=="JSXFragmentTag")){let g=`${h}>`;return{range:z.cursor(d+g.length,-1),changes:{from:d,insert:g}}}}else if(r==">"){let p=Xq(f);if(p&&p.name=="JSXOpenTag"&&!/^\/?>|^<\//.test(a.doc.sliceString(d,d+2))&&(h=aT(a.doc,p,d)))return{range:s,changes:{from:d,insert:``}}}}return{range:s}});return o.changes.empty?!1:(t.dispatch([l,a.update(o,{userEvent:"input.complete",scrollIntoView:!0})]),!0)}),au=["_blank","_self","_top","_parent"],Tb=["ascii","utf-8","utf-16","latin1","latin1"],Rb=["get","post","put","delete"],Qb=["application/x-www-form-urlencoded","multipart/form-data","text/plain"],Kt=["true","false"],ee={},Uq={a:{attrs:{href:null,ping:null,type:null,media:null,target:au,hreflang:null}},abbr:ee,address:ee,area:{attrs:{alt:null,coords:null,href:null,target:null,ping:null,media:null,hreflang:null,type:null,shape:["default","rect","circle","poly"]}},article:ee,aside:ee,audio:{attrs:{src:null,mediagroup:null,crossorigin:["anonymous","use-credentials"],preload:["none","metadata","auto"],autoplay:["autoplay"],loop:["loop"],controls:["controls"]}},b:ee,base:{attrs:{href:null,target:au}},bdi:ee,bdo:ee,blockquote:{attrs:{cite:null}},body:ee,br:ee,button:{attrs:{form:null,formaction:null,name:null,value:null,autofocus:["autofocus"],disabled:["autofocus"],formenctype:Qb,formmethod:Rb,formnovalidate:["novalidate"],formtarget:au,type:["submit","reset","button"]}},canvas:{attrs:{width:null,height:null}},caption:ee,center:ee,cite:ee,code:ee,col:{attrs:{span:null}},colgroup:{attrs:{span:null}},command:{attrs:{type:["command","checkbox","radio"],label:null,icon:null,radiogroup:null,command:null,title:null,disabled:["disabled"],checked:["checked"]}},data:{attrs:{value:null}},datagrid:{attrs:{disabled:["disabled"],multiple:["multiple"]}},datalist:{attrs:{data:null}},dd:ee,del:{attrs:{cite:null,datetime:null}},details:{attrs:{open:["open"]}},dfn:ee,div:ee,dl:ee,dt:ee,em:ee,embed:{attrs:{src:null,type:null,width:null,height:null}},eventsource:{attrs:{src:null}},fieldset:{attrs:{disabled:["disabled"],form:null,name:null}},figcaption:ee,figure:ee,footer:ee,form:{attrs:{action:null,name:null,"accept-charset":Tb,autocomplete:["on","off"],enctype:Qb,method:Rb,novalidate:["novalidate"],target:au}},h1:ee,h2:ee,h3:ee,h4:ee,h5:ee,h6:ee,head:{children:["title","base","link","style","meta","script","noscript","command"]},header:ee,hgroup:ee,hr:ee,html:{attrs:{manifest:null}},i:ee,iframe:{attrs:{src:null,srcdoc:null,name:null,width:null,height:null,sandbox:["allow-top-navigation","allow-same-origin","allow-forms","allow-scripts"],seamless:["seamless"]}},img:{attrs:{alt:null,src:null,ismap:null,usemap:null,width:null,height:null,crossorigin:["anonymous","use-credentials"]}},input:{attrs:{alt:null,dirname:null,form:null,formaction:null,height:null,list:null,max:null,maxlength:null,min:null,name:null,pattern:null,placeholder:null,size:null,src:null,step:null,value:null,width:null,accept:["audio/*","video/*","image/*"],autocomplete:["on","off"],autofocus:["autofocus"],checked:["checked"],disabled:["disabled"],formenctype:Qb,formmethod:Rb,formnovalidate:["novalidate"],formtarget:au,multiple:["multiple"],readonly:["readonly"],required:["required"],type:["hidden","text","search","tel","url","email","password","datetime","date","month","week","time","datetime-local","number","range","color","checkbox","radio","file","submit","image","reset","button"]}},ins:{attrs:{cite:null,datetime:null}},kbd:ee,keygen:{attrs:{challenge:null,form:null,name:null,autofocus:["autofocus"],disabled:["disabled"],keytype:["RSA"]}},label:{attrs:{for:null,form:null}},legend:ee,li:{attrs:{value:null}},link:{attrs:{href:null,type:null,hreflang:null,media:null,sizes:["all","16x16","16x16 32x32","16x16 32x32 64x64"]}},map:{attrs:{name:null}},mark:ee,menu:{attrs:{label:null,type:["list","context","toolbar"]}},meta:{attrs:{content:null,charset:Tb,name:["viewport","application-name","author","description","generator","keywords"],"http-equiv":["content-language","content-type","default-style","refresh"]}},meter:{attrs:{value:null,min:null,low:null,high:null,max:null,optimum:null}},nav:ee,noscript:ee,object:{attrs:{data:null,type:null,name:null,usemap:null,form:null,width:null,height:null,typemustmatch:["typemustmatch"]}},ol:{attrs:{reversed:["reversed"],start:null,type:["1","a","A","i","I"]},children:["li","script","template","ul","ol"]},optgroup:{attrs:{disabled:["disabled"],label:null}},option:{attrs:{disabled:["disabled"],label:null,selected:["selected"],value:null}},output:{attrs:{for:null,form:null,name:null}},p:ee,param:{attrs:{name:null,value:null}},pre:ee,progress:{attrs:{value:null,max:null}},q:{attrs:{cite:null}},rp:ee,rt:ee,ruby:ee,samp:ee,script:{attrs:{type:["text/javascript"],src:null,async:["async"],defer:["defer"],charset:Tb}},section:ee,select:{attrs:{form:null,name:null,size:null,autofocus:["autofocus"],disabled:["disabled"],multiple:["multiple"]}},slot:{attrs:{name:null}},small:ee,source:{attrs:{src:null,type:null,media:null}},span:ee,strong:ee,style:{attrs:{type:["text/css"],media:null,scoped:null}},sub:ee,summary:ee,sup:ee,table:ee,tbody:ee,td:{attrs:{colspan:null,rowspan:null,headers:null}},template:ee,textarea:{attrs:{dirname:null,form:null,maxlength:null,name:null,placeholder:null,rows:null,cols:null,autofocus:["autofocus"],disabled:["disabled"],readonly:["readonly"],required:["required"],wrap:["soft","hard"]}},tfoot:ee,th:{attrs:{colspan:null,rowspan:null,headers:null,scope:["row","col","rowgroup","colgroup"]}},thead:ee,time:{attrs:{datetime:null}},title:ee,tr:ee,track:{attrs:{src:null,label:null,default:null,kind:["subtitles","captions","descriptions","chapters","metadata"],srclang:null}},ul:{children:["li","script","template","ul","ol"]},var:ee,video:{attrs:{src:null,poster:null,width:null,height:null,crossorigin:["anonymous","use-credentials"],preload:["auto","metadata","none"],autoplay:["autoplay"],mediagroup:["movie"],muted:["muted"],controls:["controls"]}},wbr:ee},oT={accesskey:null,class:null,contenteditable:Kt,contextmenu:null,dir:["ltr","rtl","auto"],draggable:["true","false","auto"],dropzone:["copy","move","link","string:","file:"],hidden:["hidden"],id:null,inert:["inert"],itemid:null,itemprop:null,itemref:null,itemscope:["itemscope"],itemtype:null,lang:["ar","bn","de","en-GB","en-US","es","fr","hi","id","ja","pa","pt","ru","tr","zh"],spellcheck:Kt,autocorrect:Kt,autocapitalize:Kt,style:null,tabindex:null,title:null,translate:["yes","no"],rel:["stylesheet","alternate","author","bookmark","help","license","next","nofollow","noreferrer","prefetch","prev","search","tag"],role:"alert application article banner button cell checkbox complementary contentinfo dialog document feed figure form grid gridcell heading img list listbox listitem main navigation region row rowgroup search switch tab table tabpanel textbox timer".split(" "),"aria-activedescendant":null,"aria-atomic":Kt,"aria-autocomplete":["inline","list","both","none"],"aria-busy":Kt,"aria-checked":["true","false","mixed","undefined"],"aria-controls":null,"aria-describedby":null,"aria-disabled":Kt,"aria-dropeffect":null,"aria-expanded":["true","false","undefined"],"aria-flowto":null,"aria-grabbed":["true","false","undefined"],"aria-haspopup":Kt,"aria-hidden":Kt,"aria-invalid":["true","false","grammar","spelling"],"aria-label":null,"aria-labelledby":null,"aria-level":null,"aria-live":["off","polite","assertive"],"aria-multiline":Kt,"aria-multiselectable":Kt,"aria-owns":null,"aria-posinset":null,"aria-pressed":["true","false","mixed","undefined"],"aria-readonly":Kt,"aria-relevant":null,"aria-required":Kt,"aria-selected":["true","false","undefined"],"aria-setsize":null,"aria-sort":["ascending","descending","none","other"],"aria-valuemax":null,"aria-valuemin":null,"aria-valuenow":null,"aria-valuetext":null},sT="beforeunload copy cut dragstart dragover dragleave dragenter dragend drag paste focus blur change click load mousedown mouseenter mouseleave mouseup keydown keyup resize scroll unload".split(" ").map(t=>"on"+t);for(let t of sT)oT[t]=null;let nh=(fc=class{constructor(e,n){this.tags=Object.assign(Object.assign({},Uq),e),this.globalAttrs=Object.assign(Object.assign({},oT),n),this.allTags=Object.keys(this.tags),this.globalAttrNames=Object.keys(this.globalAttrs)}},u(fc,"Schema"),fc);nh.default=new nh;function Fa(t,e,n=t.length){if(!e)return"";let r=e.firstChild,i=r&&r.getChild("TagName");return i?t.sliceString(i.from,Math.min(i.to,n)):""}u(Fa,"elementName");function Ia(t,e=!1){for(;t;t=t.parent)if(t.name=="Element")if(e)e=!1;else return t;return null}u(Ia,"findParentElement");function uT(t,e,n){let r=n.tags[Fa(t,Ia(e))];return r?.children||n.allTags}u(uT,"allowedChildren");function Mb(t,e){let n=[];for(let r=Ia(e);r&&!r.type.isTop;r=Ia(r.parent)){let i=Fa(t,r);if(i&&r.lastChild.name=="CloseTag")break;i&&n.indexOf(i)<0&&(e.name=="EndTag"||e.from>=r.firstChild.to)&&n.push(i)}return n}u(Mb,"openTags");const cT=/^[:\-\.\w\u00b7-\uffff]*$/;function dT(t,e,n,r,i){let l=/\s*>/.test(t.sliceDoc(i,i+5))?"":">",a=Ia(n,!0);return{from:r,to:i,options:uT(t.doc,a,e).map(o=>({label:o,type:"type"})).concat(Mb(t.doc,n).map((o,s)=>({label:"/"+o,apply:"/"+o+l,type:"type",boost:99-s}))),validFor:/^\/?[:\-\.\w\u00b7-\uffff]*$/}}u(dT,"completeTag");function fT(t,e,n,r){let i=/\s*>/.test(t.sliceDoc(r,r+5))?"":">";return{from:n,to:r,options:Mb(t.doc,e).map((l,a)=>({label:l,apply:l+i,type:"type",boost:99-a})),validFor:cT}}u(fT,"completeCloseTag");function Yq(t,e,n,r){let i=[],l=0;for(let a of uT(t.doc,n,e))i.push({label:"<"+a,type:"type"});for(let a of Mb(t.doc,n))i.push({label:"",type:"type",boost:99-l++});return{from:r,to:r,options:i,validFor:/^<\/?[:\-\.\w\u00b7-\uffff]*$/}}u(Yq,"completeStartTag");function Kq(t,e,n,r,i){let l=Ia(n),a=l?e.tags[Fa(t.doc,l)]:null,o=a&&a.attrs?Object.keys(a.attrs):[],s=a&&a.globalAttrs===!1?o:o.length?o.concat(e.globalAttrNames):e.globalAttrNames;return{from:r,to:i,options:s.map(c=>({label:c,type:"property"})),validFor:cT}}u(Kq,"completeAttrName");function Gq(t,e,n,r,i){var l;let a=(l=n.parent)===null||l===void 0?void 0:l.getChild("AttributeName"),o=[],s;if(a){let c=t.sliceDoc(a.from,a.to),d=e.globalAttrs[c];if(!d){let f=Ia(n),h=f?e.tags[Fa(t.doc,f)]:null;d=h?.attrs&&h.attrs[c]}if(d){let f=t.sliceDoc(r,i).toLowerCase(),h='"',p='"';/^['"]/.test(f)?(s=f[0]=='"'?/^[^"]*$/:/^[^']*$/,h="",p=t.sliceDoc(i,i+1)==f[0]?"":f[0],f=f.slice(1),r++):s=/^[^\s<>='"]*$/;for(let m of d)o.push({label:m,apply:h+m+p,type:"constant"})}}return{from:r,to:i,options:o,validFor:s}}u(Gq,"completeAttrValue");function Hq(t,e){let{state:n,pos:r}=e,i=Qe(n).resolveInner(r,-1),l=i.resolve(r);for(let a=r,o;l==i&&(o=i.childBefore(a));){let s=o.lastChild;if(!s||!s.type.isError||s.fromHq(r,i)}u(_q,"htmlCompletionSourceWith");const Jq=Jn.parser.configure({top:"SingleExpression"}),hT=[{tag:"script",attrs:t=>t.type=="text/typescript"||t.lang=="ts",parser:tT.parser},{tag:"script",attrs:t=>t.type=="text/babel"||t.type=="text/jsx",parser:nT.parser},{tag:"script",attrs:t=>t.type=="text/typescript-jsx",parser:rT.parser},{tag:"script",attrs(t){return/^(importmap|speculationrules|application\/(.+\+)?json)$/i.test(t.type)},parser:Jq},{tag:"script",attrs(t){return!t.type||/^(?:text|application)\/(?:x-)?(?:java|ecma)script$|^module$|^$/i.test(t.type)},parser:Jn.parser},{tag:"style",attrs(t){return(!t.lang||t.lang=="css")&&(!t.type||/^(text\/)?(x-)?(stylesheet|css)$/i.test(t.type))},parser:th.parser}],pT=[{name:"style",parser:th.parser.configure({top:"Styles"})}].concat(sT.map(t=>({name:t,parser:Jn.parser}))),mT=zs.define({name:"html",parser:Bj.configure({props:[Ef.add({Element(t){let e=/^(\s*)(<\/)?/.exec(t.textAfter);return t.node.to<=t.pos+e[0].length?t.continue():t.lineIndent(t.node.from)+(e[2]?0:t.unit)},"OpenTag CloseTag SelfClosingTag"(t){return t.column(t.node.from)+t.unit},Document(t){if(t.pos+/\s*/.exec(t.textAfter)[0].lengtht.getChild("TagName")})]}),languageData:{commentTokens:{block:{open:""}},indentOnInput:/^\s*<\/\w+\W$/,wordChars:"-._"}}),rh=mT.configure({wrap:VA(hT,pT)});function eU(t={}){let e="",n;t.matchClosingTags===!1&&(e="noMatch"),t.selfClosingTags===!0&&(e=(e?e+" ":"")+"selfClosing"),(t.nestedLanguages&&t.nestedLanguages.length||t.nestedAttributes&&t.nestedAttributes.length)&&(n=VA((t.nestedLanguages||[]).concat(hT),(t.nestedAttributes||[]).concat(pT)));let r=n?mT.configure({wrap:n,dialect:e}):e?rh.configure({dialect:e}):rh;return new Xs(r,[rh.data.of({autocomplete:_q(t)}),t.autoCloseTags!==!1?tU:[],Wq().support,uq().support])}u(eU,"html");const gT=new Set("area base br col command embed frame hr img input keygen link meta param source track wbr menuitem".split(" ")),tU=H.inputHandler.of((t,e,n,r,i)=>{if(t.composing||t.state.readOnly||e!=n||r!=">"&&r!="/"||!rh.isActiveAt(t.state,e,-1))return!1;let l=i(),{state:a}=l,o=a.changeByRange(s=>{var c,d,f;let h=a.doc.sliceString(s.from-1,s.to)==r,{head:p}=s,m=Qe(a).resolveInner(p,-1),g;if(h&&r==">"&&m.name=="EndTag"){let O=m.parent;if(((d=(c=O.parent)===null||c===void 0?void 0:c.lastChild)===null||d===void 0?void 0:d.name)!="CloseTag"&&(g=Fa(a.doc,O.parent,p))&&!gT.has(g)){let b=p+(a.doc.sliceString(p,p+1)===">"?1:0),y=``;return{range:s,changes:{from:p,to:b,insert:y}}}}else if(h&&r=="/"&&m.name=="IncompleteCloseTag"){let O=m.parent;if(m.from==p-2&&((f=O.lastChild)===null||f===void 0?void 0:f.name)!="CloseTag"&&(g=Fa(a.doc,O,p))&&!gT.has(g)){let b=p+(a.doc.sliceString(p,p+1)===">"?1:0),y=`${g}>`;return{range:z.cursor(p+y.length,-1),changes:{from:p,to:b,insert:y}}}}return{range:s}});return o.changes.empty?!1:(t.dispatch([l,a.update(o,{userEvent:"input.complete",scrollIntoView:!0})]),!0)});var nU=Object.defineProperty,OT=u((t,e)=>nU(t,"name",{value:e,configurable:!0}),"i$e");const rU=OT((t,e=!1)=>{const n=[YZ(),HZ(),wZ(),PL(),rL(),pZ(),js.of(" "),Uz(),hL(),lX(),mX(),QZ(),VZ(),DZ(),bX(),of.of([EW,...sX,...PW,...NL,...eL,...nA]),eU(),lL(oL,{fallback:!0}),H.updateListener.of(r=>{r.docChanged&&e&&e(r.state.doc.toString())}),H.lineWrapping];return Be.create({doc:t,extensions:n})},"createEditorState"),iU=OT((t,e)=>new H({state:t,parent:e,lineWrapping:!0}),"createEditorView");var lU=Object.defineProperty,aU=u((t,e)=>lU(t,"name",{value:e,configurable:!0}),"i$d");const bT=aU(t=>{const[e,n]=wp.element.useState(t.value??""),r=wp.element.useRef(null),i=wp.element.useRef(null);return wp.element.useEffect(()=>{t.onChange&&t.onChange(e)},[e]),wp.element.useEffect(()=>{if(i.current)return;const l=rU(t.value??"",n);i.current=iU(l,r.current)},[r.current]),wp.element.createElement("div",{className:"tf-code"},wp.element.createElement("div",{className:"tf-code-editor",ref:r}))},"Editor");var oU=Object.defineProperty,sU=u((t,e)=>oU(t,"name",{value:e,configurable:!0}),"n$8");const uU=sU(t=>{const e=wp.element.useRef(null),[n,r]=wp.element.useState(t.value??""),{labelProps:i,inputProps:l,descriptionProps:a}=wr(t,e);return wp.element.useEffect(()=>{t.onChange&&t.onChange(n)},[n]),wp.element.createElement("div",{className:"tf-code"},t.label&&wp.element.createElement(we,{labelProps:i,parent:t},t.label),wp.element.createElement("input",{...l,type:"hidden",value:n,ref:e,name:t.name??""}),wp.element.createElement(bT,{...t,value:n,onChange:r}),t.description&&wp.element.createElement($e,{descriptionProps:a,parent:t},t.description))},"Code");var cU=Object.defineProperty,dU=u((t,e)=>cU(t,"name",{value:e,configurable:!0}),"c$c");const fU=dU(t=>{const e=wp.element.useRef(null),n=wp.element.useRef(null),r=wp.element.useRef(null),i=EB(t),{colorAreaProps:l,gradientProps:a,xInputProps:o,yInputProps:s,thumbProps:c}=WB({...t,inputXRef:e,inputYRef:n,containerRef:r},i),{focusProps:d}=Ro();return wp.element.createElement("div",{className:"tf-color-area",ref:r,style:l.style,...l},wp.element.createElement("div",{className:"tf-color-area-gradient",style:a?.style,...a}),wp.element.createElement("div",{className:"tf-color-area-thumb",style:{...c.style,background:i.getDisplayColor().toString("css")},...c},wp.element.createElement("input",{ref:e,...o,...d}),wp.element.createElement("input",{ref:n,...s,...d})))},"ColorArea");var hU=Object.defineProperty,pU=u((t,e)=>hU(t,"name",{value:e,configurable:!0}),"c$b");const yT=pU(t=>{const{locale:e}=Ee(),n=MB({...t,locale:e}),r=wp.element.useRef(),i=wp.element.useRef(),l=t.label||n.value.getChannelName(t.channel,e),{trackProps:a,thumbProps:o,inputProps:s,labelProps:c,outputProps:d}=qB({...t,label:l,trackRef:r,inputRef:i},n),{focusProps:f}=Ro();return wp.element.createElement("div",{className:"tf-color-slider"},wp.element.createElement("div",{className:"tf-color-slider-label"},wp.element.createElement("label",{...c},l),wp.element.createElement("output",{...d},n.value.formatChannelValue(t.channel,e))),wp.element.createElement("div",{className:"tf-color-slider-container",ref:r,style:a.style,...a},wp.element.createElement("div",{className:"tf-color-area-thumb",style:{...o.style,background:n.getDisplayColor().toString("css")},...o},wp.element.createElement(on,null,wp.element.createElement("input",{ref:i,...s,...f})))))},"ColorSlider");var mU=Object.defineProperty,gU=u((t,e)=>mU(t,"name",{value:e,configurable:!0}),"t$6");const vT=gU(t=>{const[e,n]=wp.element.useState(an(t.value&&t.value!==""?t.value:"rgba(255, 255, 255, 1)").toHSB()),[r,i,l]=e.getColorChannels(),[a,o]=wp.element.useState(t.value);wp.element.useEffect(()=>{o(t.value)},[t.value]),wp.element.useEffect(()=>{t.onChange&&t.onChange(e)},[e]);const{focusWithinProps:s}=Nt({onFocusWithinChange:d=>{t.onFocusChange&&t.onFocusChange(d)}}),c=t.hasAlpha??!0;return wp.element.createElement("div",{className:"tf-color-picker",...s},wp.element.createElement(ns,null,wp.element.createElement(qc,{autoFocus:!0,restoreFocus:!0},wp.element.createElement(fU,{"aria-labelledby":"hsb-label-id-1",value:e,onChange:n,xChannel:i,yChannel:l}),wp.element.createElement("div",{className:"tf-color-input"},wp.element.createElement("label",null,"Color"),wp.element.createElement("input",{type:"text",value:a,onChange:d=>{o(d.target.value)},onBlur:d=>{t.onChange(d.target.value)}})),wp.element.createElement("div",{className:"tf-color-sliders"},wp.element.createElement(yT,{channel:r,value:e,onChange:n}),c&&wp.element.createElement(yT,{channel:"alpha",value:e,onChange:n})))))},"ColorPicker");var OU=Object.defineProperty,bU=u((t,e)=>OU(t,"name",{value:e,configurable:!0}),"c$a");const yU=wp.element.forwardRef(({inputProps:t,state:e,...n},r)=>{const[i,l]=wp.element.useState(!1),a=n.format??"hexa",o=wp.element.useRef(),s=bU(c=>{const d=c.toString?c.toString(a):"";e.setInputValue(d),n.onChange&&n.onChange(d)},"onChange");return wp.element.useEffect(()=>e.setInputValue(e.colorValue?.toString(a)),[]),wp.element.createElement("div",{className:"tf-color-container",ref:o},wp.element.createElement("input",{ref:r,...t,onClick:()=>l(!0),value:e.inputValue??""}),i&&wp.element.createElement(Dr,{state:{isOpen:i,close:()=>l(!1)},triggerRef:r,placement:"bottom start",style:{width:o?.current?.offsetWidth},className:"tf-color-popover"},wp.element.createElement(vT,{value:e.colorValue?.toString(a),onChange:s,hasAlpha:n.hasAlpha??!0,onFocusChange:c=>l(c)})))});var vU=Object.defineProperty,$U=u((t,e)=>vU(t,"name",{value:e,configurable:!0}),"i$c");const $T=$U(t=>{const e={...t,value:t.value&&t.value!==""?t.value:"#FFFFFF"},n=wp.element.useRef(),r=NB(e),{labelProps:i,inputProps:l,descriptionProps:a}=YB(e,r,n),[o,s]=wp.element.useState(e.value??"");return wp.element.useEffect(()=>t.onChange&&t.onChange(o),[o]),wp.element.createElement("div",{className:"tf-color"},t.label&&wp.element.createElement(we,{labelProps:i,parent:t},t.label),wp.element.createElement(us,{...e,value:o,onValueSelection:s,inputProps:l,ref:n},wp.element.createElement(yU,{...e,value:o,onChange:t.onChange,state:r,inputProps:l,ref:n})),t.description&&wp.element.createElement($e,{descriptionProps:a,parent:t},t.description))},"Color");var wU=Object.defineProperty,wT=u((t,e)=>wU(t,"name",{value:e,configurable:!0}),"a$9");const xU=wT((t,e)=>{if(process.env.JEST_WORKER_ID)return new Promise(r=>r(window.tangibleTests.fetchResponse));const{api:n}=TangibleFields;return new Promise((r,i)=>{fetch(t,{method:"POST",body:e,headers:{"X-WP-Nonce":n.nonce??!1,enctype:"multipart/form-data"},credentials:"same-origin",processData:!1,contentType:!1}).then(l=>l.ok?r(l.json()):l.json().then(i))})},"post"),xT=wT((t,e=!1)=>{if(process.env.JEST_WORKER_ID)return new Promise(r=>r(window.tangibleTests.fetchResponse));const{api:n}=TangibleFields;return new Promise((r,i)=>{fetch(`${t}?${e?new URLSearchParams(e):""}`,{method:"GET",headers:{"X-WP-Nonce":n.nonce??!1},credentials:"same-origin"}).then(l=>l.ok?r(l.json()):l.json().then(i))})},"get");var SU=Object.defineProperty,Bb=u((t,e)=>SU(t,"name",{value:e,configurable:!0}),"i$b");const ST=Bb(t=>{const e=jN({async load({filterText:n}){const r={...t.asyncArgs??{},search:n};let i=t.ajaxAction?await Tangible?.ajax(t.ajaxAction,r):await xT(t.searchUrl??"",r);i.length===0&&i.push({id:"_noResults",title:"No results"}),!Array.isArray(i)&&typeof i=="object"&&(i=Object.values(i).map(a=>a));const l=t.mapResults?CU(i,t.mapResults):i;return{items:_r((l??[]).reduce((a,o)=>({...a,[o.id]:o.title}),{}))}}});return{items:e.items,inputValue:e.filterText,onInputChange:e.setFilterText,selectedKeys:t.value.value??"",loadingState:e.loadingState}},"getAsyncProps"),CU=Bb((t,e)=>t.map(n=>(e.id&&(n.id=CT(n,e.id)),e.title&&(n.title=CT(n,e.title)),n)),"mapResults"),CT=Bb((t,e)=>typeof e=="object"?t[e.key][e.attribute]:t[e],"mapResultsItem");var DU=Object.defineProperty,DT=u((t,e)=>DU(t,"name",{value:e,configurable:!0}),"a$8");const kT=DT(t=>{const e=DT(g=>{if(!t.isAsync){t.onSelectionChange(g);return}const O=L2(g,t.items);t.onSelectionChange(O),t.multiple||r.setInputValue(O.label)},"onSelectionChange");wp.element.useEffect(()=>{t.isAsync&&t.selectedKey&&r.setInputValue(t.selectedKey.label??"")},[]);const{contains:n}=z$({sensitivity:"base"}),r=PN({...t,onSelectionChange:e,selectedKey:t.isAsync&&t.selectedKey?.value?t.selectedKey.value:t.selectedKey??"",defaultFilter:n,disabledKeys:[...t.disabledKeys??[],"_noResults"]}),i=wp.element.useRef(),l=wp.element.useRef(),a=wp.element.useRef(),o=wp.element.useRef(),s=wp.element.useRef(),{buttonProps:c,inputProps:d,listBoxProps:f,labelProps:h,descriptionProps:p}=MV({...t,inputRef:l,buttonRef:i,listBoxRef:a,popoverRef:o,menuTrigger:"input"},r),{focusWithinProps:m}=Nt({onFocusWithinChange:g=>{t.onFocusChange&&t.onFocusChange(g)}});return wp.element.createElement("div",{className:"tf-combo-box",...m},t.label&&wp.element.createElement(we,{labelProps:h,parent:t},t.label),wp.element.createElement(qc,{autoFocus:t.autoFocus,restoreFocus:!0},wp.element.createElement("div",{className:"tf-combo-box-text",ref:s},wp.element.createElement("input",{...d,ref:l,readOnly:t.readOnly}),t.showButton&&wp.element.createElement(oe,{type:"action",ref:i,preventFocusOnPress:!0,...c,isDisabled:t.readOnly},wp.element.createElement("span",{"aria-hidden":"true"},"\u25BC")),r.isOpen&&!t.readOnly&&wp.element.createElement(Dr,{state:r,triggerRef:l,popoverRef:o,placement:"bottom start",isNonModal:!0,style:{width:s?.current?.offsetWidth},className:"tf-combo-box-popover"},wp.element.createElement(Rg,{loadingState:t.loadingState??"idle",listBoxRef:a,state:r,items:t.items,focusWithinProps:!0,shouldUseVirtualFocus:!0,...f})))),t.description&&wp.element.createElement($e,{descriptionProps:p,parent:t},t.description))},"ComboBox");var kU=Object.defineProperty,ih=u((t,e)=>kU(t,"name",{value:e,configurable:!0}),"l$c");const PU=ih(t=>{const[e,n]=wp.element.useState(t.value&&Array.isArray(t.value)?t.value:t.value&&!t.isAsync?t.value.split(","):[]),r={...t.isAsync?ST(t):{defaultItems:_r(t.choices??{})}},i=wp.element.useRef(null),l=wp.element.useRef(null),a=wp.element.useRef(null),{labelProps:o,inputProps:s,descriptionProps:c}=wr(t,i),d=ei({}),{triggerProps:f,overlayProps:h}=Ko({type:"dialog"},d,l);wp.element.useEffect(()=>t.onChange&&t.onChange(e),[e.length]);const p=ih(O=>{n([...e,O])},"add"),m=ih(O=>{n([...e.slice(0,O),...e.slice(O+1)])},"remove"),g=ih(()=>t.isAsync?e.map(O=>O.value):e,"getDisabledKeys");return wp.element.createElement("div",{className:"tf-multiple-combobox","data-enabled":!t.readOnly},t.label&&wp.element.createElement(we,{labelProps:o,parent:t},t.label),wp.element.createElement("div",{className:"tf-multiple-combobox-container"},wp.element.createElement("div",{ref:i,className:"tf-multiple-combobox-values",...s},e.length===0?t.placeholder??"No item selected":e.map((O,b)=>wp.element.createElement("span",{key:O.key??b,className:"tf-combo-box-item"},wp.element.createElement("span",null,t.isAsync?O.label:t.choices[O]??""),t.readOnly!==!0&&wp.element.createElement(oe,{onPress:()=>m(b)},"x")))),wp.element.createElement(oe,{type:"action",ref:l,...f,isDisabled:t.readOnly},"Add"),d.isOpen&&wp.element.createElement("div",{className:"tf-popover",ref:a,...h},wp.element.createElement(kT,{focusStrategy:"first",label:"Select an item to add",labelVisuallyHidden:!0,description:!1,disabledKeys:g(),autoFocus:!0,multiple:!0,showButton:!1,menuTrigger:"focus",onSelectionChange:O=>{O&&(p(O),d.close())},onFocusChange:O=>O?!d.isOpen&&d.open():d.close(),isAsync:t.isAsync??!1,...r},t.children),wp.element.createElement(Ho,{onDismiss:d.close}))),t.description&&wp.element.createElement($e,{descriptionProps:c,parent:t},t.description))},"MultipleComboBox");var EU=Object.defineProperty,AU=u((t,e)=>EU(t,"name",{value:e,configurable:!0}),"a$7"),lh=AU(t=>{const[e,n]=wp.element.useState(t.isAsync?yn(t.value??""):t.value??!1),r=t.isAsync?ST(t):{defaultItems:_r(t.choices??{})};return wp.element.useEffect(()=>t.onChange&&t.onChange(e),[e]),wp.element.useEffect(()=>t.onChange&&t.onChange(e),[r.selectedKeys]),t.multiple?wp.element.createElement(wp.element.Fragment,null,wp.element.createElement("input",{type:"hidden",name:t.name??"",value:t.isAsync?JSON.stringify(e):e}),wp.element.createElement(PU,{...t,onChange:i=>n(t.isAsync?i:i.join(",")),value:e},Sd)):wp.element.createElement(wp.element.Fragment,null,wp.element.createElement("input",{type:"hidden",name:t.name??"",value:t.isAsync?JSON.stringify(e):e}),wp.element.createElement(kT,{focusStrategy:"first",label:t.label??null,placeholder:t.placeholder,description:t.description??!1,selectedKey:e,onSelectionChange:n,onFocusChange:t.onFocusChange??!1,autoFocus:t.autoFocus??!1,isAsync:t.isAsync??!1,showButton:t.showButton??!0,menuTrigger:"focus",labelVisuallyHidden:t.labelVisuallyHidden??!1,descriptionVisuallyHidden:t.descriptionVisuallyHidden??!1,disabledKeys:t.disabledKeys??[],readOnly:t.readOnly??!1,...r},Sd))},"default"),TU=Object.defineProperty,RU=u((t,e)=>TU(t,"name",{value:e,configurable:!0}),"e$2");const ah=RU((t,e)=>{if(t instanceof Te)return t;const n=(t??"").split("-");return n.length===3?new Te("AD",n[0],n[1],n[2]):e},"formatValue");var QU=Object.defineProperty,PT=u((t,e)=>QU(t,"name",{value:e,configurable:!0}),"o$8");const ET=wp.element.createContext(null),MU=PT(({value:t,children:e})=>{const n=yn(t)??"",r=Kr(zi()),i={start:ah(n.start??"",r),end:ah(n.end??"",r)},[l,a]=wp.element.useState(i);return wp.element.createElement(ET.Provider,{value:{dateValue:l,setDateValue:a}},e)},"CalendarContextProvider"),oh=PT(()=>{const t=wp.element.useContext(ET);if(!t)throw new Error("useCalendarContext must be used within a Calendar");return t},"useCalendarContext");var BU=Object.defineProperty,VU=u((t,e)=>BU(t,"name",{value:e,configurable:!0}),"t$5");const NU=VU(({state:t,date:e})=>{const n=wp.element.useRef(),{cellProps:r,buttonProps:i,isSelected:l,isOutsideVisibleRange:a,isDisabled:o,isUnavailable:s,formattedDate:c}=fB({date:e},t,n),{focusProps:d}=Ro();let f="tf-calendar-cell";return l&&(f+=" tf-calendar-cell-selected"),o&&(f+=" tf-calendar-cell-disabled"),s&&(f+=" tf-calendar-cell-unavailable"),wp.element.createElement("td",{...r},wp.element.createElement("div",{...te(i,d),ref:n,hidden:a,className:f},c))},"CalendarCell");var FU=Object.defineProperty,IU=u((t,e)=>FU(t,"name",{value:e,configurable:!0}),"l$b");const AT=IU(({state:t,...e})=>{const{locale:n}=Ee(),r=e.dateRange??!1,i=t.visibleRange.start.add(e.offset??{}),l=na(i),{gridProps:a,headerProps:o,weekDays:s}=Cw(r?{startDate:i,endDate:l}:e,t),c=wM(t.visibleRange.start,n);return wp.element.createElement("table",{className:"tf-calendar-table",...a},wp.element.createElement("thead",{...o},wp.element.createElement("tr",null,s.map((d,f)=>wp.element.createElement("th",{key:f},d)))),wp.element.createElement("tbody",null,[...new Array(c).keys()].map(d=>{const f=r?[d,i]:[d];return wp.element.createElement("tr",{key:d},t.getDatesInWeek(...f).map((h,p)=>h?wp.element.createElement(NU,{key:p,state:t,date:h,currentMonth:i}):wp.element.createElement("td",{key:p})))})))},"CalendarGrid");var ZU=Object.defineProperty,Vb=u((t,e)=>ZU(t,"name",{value:e,configurable:!0}),"e$1");const sh=Vb(({date:t,children:e})=>{const{setDateValue:n}=oh();return wp.element.createElement(oe,{onPress:Vb(()=>{n(t)},"onPress")},e)},"Preset"),zU=Vb(()=>{const t=Kr(zi());return wp.element.createElement(wp.element.Fragment,null,wp.element.createElement(sh,{date:{start:t,end:t}},"Today"),wp.element.createElement(sh,{date:{start:t.subtract({weeks:1}),end:t}},"Last Week"),wp.element.createElement(sh,{date:{start:Li(t),end:na(t)}},"This Month"),wp.element.createElement(sh,{date:{start:Li(t.subtract({months:1})),end:na(t.subtract({months:1}))}},"Last Month"))},"DateRangePresets");var LU=Object.defineProperty,WU=u((t,e)=>LU(t,"name",{value:e,configurable:!0}),"r$9");const TT=WU(t=>{const{locale:e}=Ee(),{dateValue:n}=t.dateRange?oh():{},r=t.dateRange?CN({...t,value:n,locale:e,visibleDuration:{months:t.multiMonth},createCalendar:qm}):U2({...t,locale:e,createCalendar:qm}),i=wp.element.useRef(),{calendarProps:l,prevButtonProps:a,nextButtonProps:o,title:s}=t.dateRange?cB(t,r,i):uB(t,r);return wp.element.createElement("div",{className:"tf-calendar",...l,ref:i},wp.element.createElement("div",{className:"tf-calendar-header"},wp.element.createElement("div",{className:"tf-calendar-buttons"},wp.element.createElement(oe,{...a},"<"),wp.element.createElement("div",{className:"tf-calendar-month"},s),wp.element.createElement(oe,{...o},">"))),wp.element.createElement("div",{className:"tf-calendar-tables"},t.multiMonth===1||!t.dateRange?wp.element.createElement(AT,{state:r}):Array.from({length:t.multiMonth},(c,d)=>wp.element.createElement(AT,{key:d,state:r,dateRange:t.dateRange,offset:{months:d}}))),t.dateRange&&t.datePresets&&wp.element.createElement("div",{className:"tf-calendar-presets"},wp.element.createElement(zU,null)))},"Calendar");var XU=Object.defineProperty,jU=u((t,e)=>XU(t,"name",{value:e,configurable:!0}),"o$7");const qU=jU(({segment:t,state:e})=>{const n=wp.element.useRef(),{segmentProps:r}=zV(t,e,n);let i="tf-date-segment";return t.isPlaceholder&&(i+=" tf-date-segment-placeholder"),wp.element.createElement("div",{className:i,...r,ref:n},wp.element.createElement("span",{"aria-hidden":"true"},t.placeholder),t.isPlaceholder?"":t.text)},"DateSegment");var UU=Object.defineProperty,YU=u((t,e)=>UU(t,"name",{value:e,configurable:!0}),"a$5");const Nb=YU(t=>{const{locale:e}=Ee(),n=FN({...t,locale:e,createCalendar:qm}),r=wp.element.useRef(),{fieldProps:i}=VV(t,n,r);return wp.element.createElement("div",{className:"tf-date-field",...i,ref:r},n.segments.map((l,a)=>wp.element.createElement(qU,{key:a,segment:l,state:n})))},"DateField");var KU=Object.defineProperty,RT=u((t,e)=>KU(t,"name",{value:e,configurable:!0}),"i$a");const GU=wp.element.forwardRef(({datePickerProps:t,hasFutureOnly:e,state:n,...r},i)=>{const{groupProps:l,fieldProps:a,buttonProps:o,dialogProps:s,calendarProps:c,inputProps:d}=t,[f,h]=wp.element.useState(r.value);wp.element.useEffect(()=>{r.value!==f&&h(r.value)},[r.value]),wp.element.useEffect(()=>(document.addEventListener("mousedown",p),()=>document.removeEventListener("mousedown",p)),[i]);const p=RT(g=>{const O=i.current??!1;O&&(O.contains(g.target)||n.setOpen(!1))},"onClickOutside");o.onPress=()=>n.setOpen(!n.isOpen);const m=RT(()=>n.value&&n.value.toString?n.value.toString():"","getStringValue");return wp.element.useEffect(()=>{if(r.onChange&&r.onChange(m()),e&&n.value&&r.value){const g=Kr(zi());n.value.compare(g)<0&&n.setValue(g)}},[n.value]),wp.element.createElement("div",{className:"tf-date-field-container"},wp.element.createElement("input",{...d,type:"hidden",name:r.name??"",value:m()}),wp.element.createElement("div",{className:"tf-date-group",...l,ref:i},wp.element.createElement(Nb,{...a}),wp.element.createElement(oe,{type:"action",...o},"\u{1F5D3}")),n.isOpen&&wp.element.createElement(Dr,{state:n,triggerRef:i,placement:"bottom start"},wp.element.createElement(ns,{...s},wp.element.createElement(TT,{...c}))))});var HU=Object.defineProperty,_U=u((t,e)=>HU(t,"name",{value:e,configurable:!0}),"c$5");const JU=_U(t=>{const[e,n]=wp.element.useState(t.value??"");wp.element.useEffect(()=>t.onChange&&t.onChange(e),[e]);const r=t.futureOnly&&t.futureOnly===!0,i=Kr(zi()),l=r?i:new Te("AD","1","1","1"),a=MN({...t,value:ah(t.value,i)}),o=wp.element.useRef(null),{labelProps:s,descriptionProps:c,inputProps:d,...f}=FV({...t,minValue:l},a,o);return wp.element.createElement("div",{className:"tf-date-picker"},t.label&&wp.element.createElement(we,{labelProps:s,parent:t},t.label),wp.element.createElement(us,{...t,value:e,onValueSelection:n,ref:o,inputProps:f.inputProps},wp.element.createElement(GU,{ref:o,minValue:l,name:t.name??"",value:ah(e),onChange:n,onFocusChange:t.onFocusChange??!1,dynamic:t.dynamic??!1,hasFutureOnly:r,state:a,datePickerProps:{inputProps:d,...f}})),t.description&&wp.element.createElement($e,{descriptionProps:c,parent:t},t.description))},"Date");var eY=Object.defineProperty,tY=u((t,e)=>eY(t,"name",{value:e,configurable:!0}),"i$9");const nY=wp.element.forwardRef(({dateRangePickerProps:t,state:e,...n},r)=>{const{dateValue:i}=oh(),[l,a]=wp.element.useState(i.start);wp.element.useEffect(()=>{n.value!==l&&a(n.value.start)},[n.value]);const{groupProps:o,startFieldProps:s,endFieldProps:c,buttonProps:d,dialogProps:f,calendarProps:h,inputProps:p}=R2(n,e,r),m=tY(()=>e.value&&e.value.start&&e.value.end?JSON.stringify({start:e.value.start.toString(),end:e.value.end.toString()}):"","getStringValue");return wp.element.createElement("div",{className:"tf-date-field-container"},wp.element.createElement("input",{...p,type:"hidden",name:n.name??"",value:m()}),wp.element.createElement("div",{...o,ref:r,className:"tf-date-group"},wp.element.createElement(Nb,{...s}),wp.element.createElement("span",{style:{padding:"0 4px"}},"\u2013"),wp.element.createElement(Nb,{...c}),e.isInvalid&&wp.element.createElement("span",{"aria-hidden":"true"},"\u{1F6AB}"),wp.element.createElement(oe,{type:"action",...d},"\u{1F5D3}")),e.isOpen&&wp.element.createElement(Dr,{state:e,triggerRef:r,placement:"bottom start"},wp.element.createElement(ns,{...f},wp.element.createElement(TT,{...h,dateRange:!0,datePresets:n.datePresets??!1,pageBehavior:"single",multiMonth:n.multiMonth,focusedValue:l,onFocusChange:a}))))});var rY=Object.defineProperty,iY=u((t,e)=>rY(t,"name",{value:e,configurable:!0}),"o$6");const lY=iY(t=>{const{dateValue:e,setDateValue:n}=oh();wp.element.useEffect(()=>{t.onChange&&t.onChange(e)},[e]),wp.element.useEffect(()=>{e!==t.value&&typeof t.value=="object"&&n(t.value)},[t.value]);const r=t.futureOnly&&t.futureOnly===!0,i=Kr(zi()),l=r?i:new Te("AD","1","1","1"),a=LN({...t,value:e}),o=wp.element.useRef(),{labelProps:s,descriptionProps:c,...d}=R2({...t,minValue:l},a,o);return wp.element.createElement("div",{className:"tf-date-picker"},t.label&&wp.element.createElement(we,{labelProps:s,parent:t},t.label),wp.element.createElement(us,{...t,value:e,ref:o},wp.element.createElement(nY,{ref:o,name:t.name??"",minValue:l,value:e,hasFutureOnly:r,onChange:n,onFocusChange:t.onFocusChange??!1,state:a,multiMonth:t.multiMonth??1,datePresets:t.datePresets??!1,dateRangePickerProps:{...d}})),t.description&&wp.element.createElement($e,{descriptionProps:c,parent:t},t.description))},"DateRange");var aY=Object.defineProperty,oY=u((t,e)=>aY(t,"name",{value:e,configurable:!0}),"r$8"),sY=oY(t=>t.dateRange?wp.element.createElement(MU,{value:t.value},wp.element.createElement(lY,{...t})):wp.element.createElement(JU,{...t}),"default"),uY=Object.defineProperty,QT=u((t,e)=>uY(t,"name",{value:e,configurable:!0}),"s$a");const Fb={},cY=QT(t=>{const[e,n]=wp.element.useState(t.value??""),[r,i]=wp.element.useState(Ui()),l=wp.element.useRef(null),a=wp.element.useRef(null),o=wp.element.useRef(null),{labelProps:s,inputProps:c,descriptionProps:d}=wr(t,l);wp.element.useEffect(()=>{Fb[r]=o6(l.current,e,n,t.choices)},[]),wp.element.useEffect(()=>t.onChange&&t.onChange(e),[e]);const f=ei({}),{triggerProps:h,overlayProps:p}=Ko({type:"dialog"},f,a),m=QT(g=>{Fb[r].dispatch({changes:{from:Fb[r].state.doc.length,insert:`[[${g}]]`}})},"addDynamicElement");return wp.element.createElement("div",{className:"tf-dynamic-text"},t.label&&wp.element.createElement(we,{labelProps:s,parent:t},t.label),wp.element.createElement("div",{className:"tf-dynamic-text-field"},wp.element.createElement(on,null,wp.element.createElement(T9,{label:t.label??!1,name:t.name??"",value:e})),wp.element.createElement("div",{ref:l,className:"tf-dynamic-text-input",...c}),wp.element.createElement(oe,{type:"action",ref:a,...h},"Add"),f.isOpen&&wp.element.createElement("div",{className:"tf-dynamic-text-popover",ref:o,...p},wp.element.createElement(lh,{label:"Select dynamic token",labelVisuallyHidden:!0,choices:t.choices??{},autoFocus:!0,showButton:!1,onChange:g=>{g&&(m(g),f.close())},onFocusChange:g=>g?!f.isOpen&&f.open():f.close()}),wp.element.createElement(Ho,{onDismiss:f.close}))),t.description&&wp.element.createElement($e,{descriptionProps:d,parent:t},t.description))},"DynamicText");function Je(t){this.content=t}u(Je,"OrderedMap"),Je.prototype={constructor:Je,find:function(t){for(var e=0;e>1}},Je.from=function(t){if(t instanceof Je)return t;var e=[];if(t)for(var n in t)e.push(n,t[n]);return new Je(e)};function MT(t,e,n){for(let r=0;;r++){if(r==t.childCount||r==e.childCount)return t.childCount==e.childCount?null:n;let i=t.child(r),l=e.child(r);if(i==l){n+=i.nodeSize;continue}if(!i.sameMarkup(l))return n;if(i.isText&&i.text!=l.text){for(let a=0;i.text[a]==l.text[a];a++)n++;return n}if(i.content.size||l.content.size){let a=MT(i.content,l.content,n+1);if(a!=null)return a}n+=i.nodeSize}}u(MT,"findDiffStart");function BT(t,e,n,r){for(let i=t.childCount,l=e.childCount;;){if(i==0||l==0)return i==l?null:{a:n,b:r};let a=t.child(--i),o=e.child(--l),s=a.nodeSize;if(a==o){n-=s,r-=s;continue}if(!a.sameMarkup(o))return{a:n,b:r};if(a.isText&&a.text!=o.text){let c=0,d=Math.min(a.text.length,o.text.length);for(;ce&&r(s,i+o,l||null,a)!==!1&&s.content.size){let d=o+1;s.nodesBetween(Math.max(0,e-d),Math.min(s.content.size,n-d),r,i+d)}o=c}}descendants(e){this.nodesBetween(0,this.size,e)}textBetween(e,n,r,i){let l="",a=!0;return this.nodesBetween(e,n,(o,s)=>{let c=o.isText?o.text.slice(Math.max(e,s)-s,n-s):o.isLeaf?i?typeof i=="function"?i(o):i:o.type.spec.leafText?o.type.spec.leafText(o):"":"";o.isBlock&&(o.isLeaf&&c||o.isTextblock)&&r&&(a?a=!1:l+=r),l+=c},0),l}append(e){if(!e.size)return this;if(!this.size)return e;let n=this.lastChild,r=e.firstChild,i=this.content.slice(),l=0;for(n.isText&&n.sameMarkup(r)&&(i[i.length-1]=n.withText(n.text+r.text),l=1);le)for(let l=0,a=0;ae&&((an)&&(o.isText?o=o.cut(Math.max(0,e-a),Math.min(o.text.length,n-a)):o=o.cut(Math.max(0,e-a-1),Math.min(o.content.size,n-a-1))),r.push(o),i+=o.nodeSize),a=s}return new nt(r,i)}cutByIndex(e,n){return e==n?nt.empty:e==0&&n==this.content.length?this:new nt(this.content.slice(e,n))}replaceChild(e,n){let r=this.content[e];if(r==n)return this;let i=this.content.slice(),l=this.size+n.nodeSize-r.nodeSize;return i[e]=n,new nt(i,l)}addToStart(e){return new nt([e].concat(this.content),this.size+e.nodeSize)}addToEnd(e){return new nt(this.content.concat(e),this.size+e.nodeSize)}eq(e){if(this.content.length!=e.content.length)return!1;for(let n=0;nthis.size||e<0)throw new RangeError(`Position ${e} outside of fragment (${this})`);for(let r=0,i=0;;r++){let l=this.child(r),a=i+l.nodeSize;if(a>=e)return a==e||n>0?uh(r+1,a):uh(r,i);i=a}}toString(){return"<"+this.toStringInner()+">"}toStringInner(){return this.content.join(", ")}toJSON(){return this.content.length?this.content.map(e=>e.toJSON()):null}static fromJSON(e,n){if(!n)return nt.empty;if(!Array.isArray(n))throw new RangeError("Invalid input for Fragment.fromJSON");return new nt(n.map(e.nodeFromJSON))}static fromArray(e){if(!e.length)return nt.empty;let n,r=0;for(let i=0;ithis.type.rank&&(n||(n=e.slice(0,i)),n.push(this),r=!0),n&&n.push(l)}}return n||(n=e.slice()),r||n.push(this),n}removeFromSet(e){for(let n=0;nr.type.rank-i.type.rank),n}};u(hc,"Mark");let me=hc;me.none=[];const vv=class vv extends Error{};u(vv,"ReplaceError");let Za=vv;const Ei=class Ei{constructor(e,n,r){this.content=e,this.openStart=n,this.openEnd=r}get size(){return this.content.size-this.openStart-this.openEnd}insertAt(e,n){let r=NT(this.content,e+this.openStart,n);return r&&new Ei(r,this.openStart,this.openEnd)}removeBetween(e,n){return new Ei(VT(this.content,e+this.openStart,n+this.openStart),this.openStart,this.openEnd)}eq(e){return this.content.eq(e.content)&&this.openStart==e.openStart&&this.openEnd==e.openEnd}toString(){return this.content+"("+this.openStart+","+this.openEnd+")"}toJSON(){if(!this.content.size)return null;let e={content:this.content.toJSON()};return this.openStart>0&&(e.openStart=this.openStart),this.openEnd>0&&(e.openEnd=this.openEnd),e}static fromJSON(e,n){if(!n)return Ei.empty;let r=n.openStart||0,i=n.openEnd||0;if(typeof r!="number"||typeof i!="number")throw new RangeError("Invalid input for Slice.fromJSON");return new Ei(X.fromJSON(e,n.content),r,i)}static maxOpen(e,n=!0){let r=0,i=0;for(let l=e.firstChild;l&&!l.isLeaf&&(n||!l.type.spec.isolating);l=l.firstChild)r++;for(let l=e.lastChild;l&&!l.isLeaf&&(n||!l.type.spec.isolating);l=l.lastChild)i++;return new Ei(e,r,i)}};u(Ei,"Slice");let Y=Ei;Y.empty=new Y(X.empty,0,0);function VT(t,e,n){let{index:r,offset:i}=t.findIndex(e),l=t.maybeChild(r),{index:a,offset:o}=t.findIndex(n);if(i==e||l.isText){if(o!=n&&!t.child(a).isText)throw new RangeError("Removing non-flat range");return t.cut(0,e).append(t.cut(n))}if(r!=a)throw new RangeError("Removing non-flat range");return t.replaceChild(r,l.copy(VT(l.content,e-i-1,n-i-1)))}u(VT,"removeRange");function NT(t,e,n,r){let{index:i,offset:l}=t.findIndex(e),a=t.maybeChild(i);if(l==e||a.isText)return r&&!r.canReplace(i,i,n)?null:t.cut(0,e).append(n).append(t.cut(e));let o=NT(a.content,e-l-1,n);return o&&t.replaceChild(i,a.copy(o))}u(NT,"insertInto");function dY(t,e,n){if(n.openStart>t.depth)throw new Za("Inserted content deeper than insertion position");if(t.depth-n.openStart!=e.depth-n.openEnd)throw new Za("Inconsistent open depths");return FT(t,e,n,0)}u(dY,"replace");function FT(t,e,n,r){let i=t.index(r),l=t.node(r);if(i==e.index(r)&&r=0&&t.isText&&t.sameMarkup(e[n])?e[n]=t.withText(e[n].text+t.text):e.push(t)}u(fl,"addNode");function ou(t,e,n,r){let i=(e||t).node(n),l=0,a=e?e.index(n):i.childCount;t&&(l=t.index(n),t.depth>n?l++:t.textOffset&&(fl(t.nodeAfter,r),l++));for(let o=l;oi&&Zb(t,e,i+1),a=r.depth>i&&Zb(n,r,i+1),o=[];return ou(null,t,i,o),l&&a&&e.index(i)==n.index(i)?(IT(l,a),fl(hl(l,ZT(t,e,n,r,i+1)),o)):(l&&fl(hl(l,dh(t,e,i+1)),o),ou(e,n,i,o),a&&fl(hl(a,dh(n,r,i+1)),o)),ou(r,null,i,o),new X(o)}u(ZT,"replaceThreeWay");function dh(t,e,n){let r=[];if(ou(null,t,n,r),t.depth>n){let i=Zb(t,e,n+1);fl(hl(i,dh(t,e,n+1)),r)}return ou(e,null,n,r),new X(r)}u(dh,"replaceTwoWay");function fY(t,e){let n=e.depth-t.openStart,i=e.node(n).copy(t.content);for(let l=n-1;l>=0;l--)i=e.node(l).copy(X.from(i));return{start:i.resolveNoCache(t.openStart+n),end:i.resolveNoCache(i.content.size-t.openEnd-n)}}u(fY,"prepareSliceForReplace");const pc=class pc{constructor(e,n,r){this.pos=e,this.path=n,this.parentOffset=r,this.depth=n.length/3-1}resolveDepth(e){return e==null?this.depth:e<0?this.depth+e:e}get parent(){return this.node(this.depth)}get doc(){return this.node(0)}node(e){return this.path[this.resolveDepth(e)*3]}index(e){return this.path[this.resolveDepth(e)*3+1]}indexAfter(e){return e=this.resolveDepth(e),this.index(e)+(e==this.depth&&!this.textOffset?0:1)}start(e){return e=this.resolveDepth(e),e==0?0:this.path[e*3-1]+1}end(e){return e=this.resolveDepth(e),this.start(e)+this.node(e).content.size}before(e){if(e=this.resolveDepth(e),!e)throw new RangeError("There is no position before the top-level node");return e==this.depth+1?this.pos:this.path[e*3-1]}after(e){if(e=this.resolveDepth(e),!e)throw new RangeError("There is no position after the top-level node");return e==this.depth+1?this.pos:this.path[e*3-1]+this.path[e*3].nodeSize}get textOffset(){return this.pos-this.path[this.path.length-1]}get nodeAfter(){let e=this.parent,n=this.index(this.depth);if(n==e.childCount)return null;let r=this.pos-this.path[this.path.length-1],i=e.child(n);return r?e.child(n).cut(r):i}get nodeBefore(){let e=this.index(this.depth),n=this.pos-this.path[this.path.length-1];return n?this.parent.child(e).cut(0,n):e==0?null:this.parent.child(e-1)}posAtIndex(e,n){n=this.resolveDepth(n);let r=this.path[n*3],i=n==0?0:this.path[n*3-1]+1;for(let l=0;l0;n--)if(this.start(n)<=e&&this.end(n)>=e)return n;return 0}blockRange(e=this,n){if(e.pos=0;r--)if(e.pos<=this.end(r)&&(!n||n(this.node(r))))return new za(this,e,r);return null}sameParent(e){return this.pos-this.parentOffset==e.pos-e.parentOffset}max(e){return e.pos>this.pos?e:this}min(e){return e.pos=0&&n<=e.content.size))throw new RangeError("Position "+n+" out of range");let r=[],i=0,l=n;for(let a=e;;){let{index:o,offset:s}=a.content.findIndex(l),c=l-s;if(r.push(a,o,i+s),!c||(a=a.child(o),a.isText))break;l=c-1,i+=s+1}return new pc(n,r,l)}static resolveCached(e,n){let r=zT.get(e);if(r)for(let l=0;le&&this.nodesBetween(e,n,l=>(r.isInSet(l.marks)&&(i=!0),!i)),i}get isBlock(){return this.type.isBlock}get isTextblock(){return this.type.isTextblock}get inlineContent(){return this.type.inlineContent}get isInline(){return this.type.isInline}get isText(){return this.type.isText}get isLeaf(){return this.type.isLeaf}get isAtom(){return this.type.isAtom}toString(){if(this.type.spec.toDebugString)return this.type.spec.toDebugString(this);let e=this.type.name;return this.content.size&&(e+="("+this.content.toStringInner()+")"),LT(this.marks,e)}contentMatchAt(e){let n=this.type.contentMatch.matchFragment(this.content,0,e);if(!n)throw new Error("Called contentMatchAt on a node with invalid content");return n}canReplace(e,n,r=X.empty,i=0,l=r.childCount){let a=this.contentMatchAt(e).matchFragment(r,i,l),o=a&&a.matchFragment(this.content,n);if(!o||!o.validEnd)return!1;for(let s=i;sn.type.name)}`);this.content.forEach(n=>n.check())}toJSON(){let e={type:this.type.name};for(let n in this.attrs){e.attrs=this.attrs;break}return this.content.size&&(e.content=this.content.toJSON()),this.marks.length&&(e.marks=this.marks.map(n=>n.toJSON())),e}static fromJSON(e,n){if(!n)throw new RangeError("Invalid input for Node.fromJSON");let r;if(n.marks){if(!Array.isArray(n.marks))throw new RangeError("Invalid mark data for Node.fromJSON");r=n.marks.map(e.markFromJSON)}if(n.type=="text"){if(typeof n.text!="string")throw new RangeError("Invalid text node in JSON");return e.text(n.text,r)}let i=X.fromJSON(e,n.content),l=e.nodeType(n.type).create(n.attrs,i,r);return l.type.checkAttrs(l.attrs),l}},u(Nl,"Node"),Nl);pl.prototype.text=void 0;const mc=class mc extends pl{constructor(e,n,r,i){if(super(e,n,null,i),!r)throw new RangeError("Empty text nodes are not allowed");this.text=r}toString(){return this.type.spec.toDebugString?this.type.spec.toDebugString(this):LT(this.marks,JSON.stringify(this.text))}get textContent(){return this.text}textBetween(e,n){return this.text.slice(e,n)}get nodeSize(){return this.text.length}mark(e){return e==this.marks?this:new mc(this.type,this.attrs,this.text,e)}withText(e){return e==this.text?this:new mc(this.type,this.attrs,e,this.marks)}cut(e=0,n=this.text.length){return e==0&&n==this.text.length?this:this.withText(this.text.slice(e,n))}eq(e){return this.sameMarkup(e)&&this.text==e.text}toJSON(){let e=super.toJSON();return e.text=this.text,e}};u(mc,"TextNode");let Lb=mc;function LT(t,e){for(let n=t.length-1;n>=0;n--)e=t[n].type.name+"("+e+")";return e}u(LT,"wrapMarks");const Ap=class Ap{constructor(e){this.validEnd=e,this.next=[],this.wrapCache=[]}static parse(e,n){let r=new Wb(e,n);if(r.next==null)return Ap.empty;let i=WT(r);r.next&&r.err("Unexpected trailing text");let l=$Y(vY(i));return wY(l,r),l}matchType(e){for(let n=0;nc.createAndFill()));for(let c=0;c=this.next.length)throw new RangeError(`There's no ${e}th edge in this content match`);return this.next[e]}toString(){let e=[];function n(r){e.push(r);for(let i=0;i{let l=i+(r.validEnd?"*":" ")+" ";for(let a=0;a"+e.indexOf(r.next[a].next);return l}).join(` -`)}};u(Ap,"ContentMatch");let ml=Ap;ml.empty=new ml(!0);const xv=class xv{constructor(e,n){this.string=e,this.nodeTypes=n,this.inline=null,this.pos=0,this.tokens=e.split(/\s*(?=\b|\W|$)/),this.tokens[this.tokens.length-1]==""&&this.tokens.pop(),this.tokens[0]==""&&this.tokens.shift()}get next(){return this.tokens[this.pos]}eat(e){return this.next==e&&(this.pos++||!0)}err(e){throw new SyntaxError(e+" (in content expression '"+this.string+"')")}};u(xv,"TokenStream");let Wb=xv;function WT(t){let e=[];do e.push(mY(t));while(t.eat("|"));return e.length==1?e[0]:{type:"choice",exprs:e}}u(WT,"parseExpr");function mY(t){let e=[];do e.push(gY(t));while(t.next&&t.next!=")"&&t.next!="|");return e.length==1?e[0]:{type:"seq",exprs:e}}u(mY,"parseExprSeq");function gY(t){let e=yY(t);for(;;)if(t.eat("+"))e={type:"plus",expr:e};else if(t.eat("*"))e={type:"star",expr:e};else if(t.eat("?"))e={type:"opt",expr:e};else if(t.eat("{"))e=OY(t,e);else break;return e}u(gY,"parseExprSubscript");function XT(t){/\D/.test(t.next)&&t.err("Expected number, got '"+t.next+"'");let e=Number(t.next);return t.pos++,e}u(XT,"parseNum");function OY(t,e){let n=XT(t),r=n;return t.eat(",")&&(t.next!="}"?r=XT(t):r=-1),t.eat("}")||t.err("Unclosed braced range"),{type:"range",min:n,max:r,expr:e}}u(OY,"parseExprRange");function bY(t,e){let n=t.nodeTypes,r=n[e];if(r)return[r];let i=[];for(let l in n){let a=n[l];a.isInGroup(e)&&i.push(a)}return i.length==0&&t.err("No node type or group '"+e+"' found"),i}u(bY,"resolveName");function yY(t){if(t.eat("(")){let e=WT(t);return t.eat(")")||t.err("Missing closing paren"),e}else if(/\W/.test(t.next))t.err("Unexpected token '"+t.next+"'");else{let e=bY(t,t.next).map(n=>(t.inline==null?t.inline=n.isInline:t.inline!=n.isInline&&t.err("Mixing inline and block content"),{type:"name",value:n}));return t.pos++,e.length==1?e[0]:{type:"choice",exprs:e}}}u(yY,"parseExprAtom");function vY(t){let e=[[]];return i(l(t,0),n()),e;function n(){return e.push([])-1}u(n,"node");function r(a,o,s){let c={term:s,to:o};return e[a].push(c),c}u(r,"edge");function i(a,o){a.forEach(s=>s.to=o)}u(i,"connect");function l(a,o){if(a.type=="choice")return a.exprs.reduce((s,c)=>s.concat(l(c,o)),[]);if(a.type=="seq")for(let s=0;;s++){let c=l(a.exprs[s],o);if(s==a.exprs.length-1)return c;i(c,o=n())}else if(a.type=="star"){let s=n();return r(o,s),i(l(a.expr,s),s),[r(s)]}else if(a.type=="plus"){let s=n();return i(l(a.expr,o),s),i(l(a.expr,s),s),[r(s)]}else{if(a.type=="opt")return[r(o)].concat(l(a.expr,o));if(a.type=="range"){let s=o;for(let c=0;c{t[a].forEach(({term:o,to:s})=>{if(!o)return;let c;for(let d=0;d{c||i.push([o,c=[]]),c.indexOf(d)==-1&&c.push(d)})})});let l=e[r.join(",")]=new ml(r.indexOf(t.length-1)>-1);for(let a=0;a-1}get whitespace(){return this.spec.whitespace||(this.spec.code?"pre":"normal")}hasRequiredAttrs(){for(let e in this.attrs)if(this.attrs[e].isRequired)return!0;return!1}compatibleContent(e){return this==e||this.contentMatch.compatible(e.contentMatch)}computeAttrs(e){return!e&&this.defaultAttrs?this.defaultAttrs:YT(this.attrs,e)}create(e=null,n,r){if(this.isText)throw new Error("NodeType.create can't construct text nodes");return new pl(this,this.computeAttrs(e),X.from(n),me.setFrom(r))}createChecked(e=null,n,r){return n=X.from(n),this.checkContent(n),new pl(this,this.computeAttrs(e),n,me.setFrom(r))}createAndFill(e=null,n,r){if(e=this.computeAttrs(e),n=X.from(n),n.size){let a=this.contentMatch.fillBefore(n);if(!a)return null;n=a.append(n)}let i=this.contentMatch.matchFragment(n),l=i&&i.fillBefore(X.empty,!0);return l?new pl(this,e,n.append(l),me.setFrom(r)):null}validContent(e){let n=this.contentMatch.matchFragment(e);if(!n||!n.validEnd)return!1;for(let r=0;r-1}allowsMarks(e){if(this.markSet==null)return!0;for(let n=0;nr[l]=new mo(l,n,a));let i=n.spec.topNode||"doc";if(!r[i])throw new RangeError("Schema is missing its top node type ('"+i+"')");if(!r.text)throw new RangeError("Every schema needs a 'text' type");for(let l in r.text.attrs)throw new RangeError("The text node type should not have attributes");return r}},u(mo,"NodeType"),mo);function xY(t,e,n){let r=n.split("|");return i=>{let l=i===null?"null":typeof i;if(r.indexOf(l)<0)throw new RangeError(`Expected value of type ${r} for attribute ${e} on type ${t}, got ${l}`)}}u(xY,"validateType");const Sv=class Sv{constructor(e,n,r){this.hasDefault=Object.prototype.hasOwnProperty.call(r,"default"),this.default=r.default,this.validate=typeof r.validate=="string"?xY(e,n,r.validate):r.validate}get isRequired(){return!this.hasDefault}};u(Sv,"Attribute");let Xb=Sv;const Tp=class Tp{constructor(e,n,r,i){this.name=e,this.rank=n,this.schema=r,this.spec=i,this.attrs=GT(e,i.attrs),this.excluded=null;let l=UT(this.attrs);this.instance=l?new me(this,l):null}create(e=null){return!e&&this.instance?this.instance:new me(this,YT(this.attrs,e))}static compile(e,n){let r=Object.create(null),i=0;return e.forEach((l,a)=>r[l]=new Tp(l,i++,n,a)),r}removeFromSet(e){for(var n=0;n-1}};u(Tp,"MarkType");let hh=Tp;const Cv=class Cv{constructor(e){this.linebreakReplacement=null,this.cached=Object.create(null);let n=this.spec={};for(let i in e)n[i]=e[i];n.nodes=Je.from(e.nodes),n.marks=Je.from(e.marks||{}),this.nodes=HT.compile(this.spec.nodes,this),this.marks=hh.compile(this.spec.marks,this);let r=Object.create(null);for(let i in this.nodes){if(i in this.marks)throw new RangeError(i+" can not be both a node and a mark");let l=this.nodes[i],a=l.spec.content||"",o=l.spec.marks;if(l.contentMatch=r[a]||(r[a]=ml.parse(a,this.nodes)),l.inlineContent=l.contentMatch.inlineContent,l.spec.linebreakReplacement){if(this.linebreakReplacement)throw new RangeError("Multiple linebreak nodes defined");if(!l.isInline||!l.isLeaf)throw new RangeError("Linebreak replacement nodes must be inline leaf nodes");this.linebreakReplacement=l}l.markSet=o=="_"?null:o?_T(this,o.split(" ")):o==""||!l.inlineContent?[]:null}for(let i in this.marks){let l=this.marks[i],a=l.spec.excludes;l.excluded=a==null?[l]:a==""?[]:_T(this,a.split(" "))}this.nodeFromJSON=this.nodeFromJSON.bind(this),this.markFromJSON=this.markFromJSON.bind(this),this.topNodeType=this.nodes[this.spec.topNode||"doc"],this.cached.wrappings=Object.create(null)}node(e,n=null,r,i){if(typeof e=="string")e=this.nodeType(e);else if(e instanceof HT){if(e.schema!=this)throw new RangeError("Node type from different schema used ("+e.name+")")}else throw new RangeError("Invalid node type: "+e);return e.createChecked(n,r,i)}text(e,n){let r=this.nodes.text;return new Lb(r,r.defaultAttrs,e,me.setFrom(n))}mark(e,n){return typeof e=="string"&&(e=this.marks[e]),e.create(n)}nodeFromJSON(e){return pl.fromJSON(this,e)}markFromJSON(e){return me.fromJSON(this,e)}nodeType(e){let n=this.nodes[e];if(!n)throw new RangeError("Unknown node type: "+e);return n}};u(Cv,"Schema");let ph=Cv;function _T(t,e){let n=[];for(let r=0;r-1)&&n.push(a=s)}if(!a)throw new SyntaxError("Unknown mark type: '"+e[r]+"'")}return n}u(_T,"gatherMarks");function SY(t){return t.tag!=null}u(SY,"isTagRule");function CY(t){return t.style!=null}u(CY,"isStyleRule");const gc=class gc{constructor(e,n){this.schema=e,this.rules=n,this.tags=[],this.styles=[];let r=this.matchedStyles=[];n.forEach(i=>{if(SY(i))this.tags.push(i);else if(CY(i)){let l=/[^=]*/.exec(i.style)[0];r.indexOf(l)<0&&r.push(l),this.styles.push(i)}}),this.normalizeLists=!this.tags.some(i=>{if(!/^(ul|ol)\b/.test(i.tag)||!i.node)return!1;let l=e.nodes[i.node];return l.contentMatch.matchType(l)})}parse(e,n={}){let r=new Oh(this,n,!1);return r.addAll(e,me.none,n.from,n.to),r.finish()}parseSlice(e,n={}){let r=new Oh(this,n,!0);return r.addAll(e,me.none,n.from,n.to),Y.maxOpen(r.finish())}matchTag(e,n,r){for(let i=r?this.tags.indexOf(r)+1:0;ie.length&&(o.charCodeAt(e.length)!=61||o.slice(e.length+1)!=n))){if(a.getAttrs){let s=a.getAttrs(n);if(s===!1)continue;a.attrs=s||void 0}return a}}}static schemaRules(e){let n=[];function r(i){let l=i.priority==null?50:i.priority,a=0;for(;a{r(a=n8(a)),a.mark||a.ignore||a.clearMark||(a.mark=i)})}for(let i in e.nodes){let l=e.nodes[i].spec.parseDOM;l&&l.forEach(a=>{r(a=n8(a)),a.node||a.ignore||a.mark||(a.node=i)})}return n}static fromSchema(e){return e.cached.domParser||(e.cached.domParser=new gc(e,gc.schemaRules(e)))}};u(gc,"DOMParser");let su=gc;const JT={address:!0,article:!0,aside:!0,blockquote:!0,canvas:!0,dd:!0,div:!0,dl:!0,fieldset:!0,figcaption:!0,figure:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,li:!0,noscript:!0,ol:!0,output:!0,p:!0,pre:!0,section:!0,table:!0,tfoot:!0,ul:!0},DY={head:!0,noscript:!0,object:!0,script:!0,style:!0,title:!0},e8={ol:!0,ul:!0},mh=1,gh=2,uu=4;function t8(t,e,n){return e!=null?(e?mh:0)|(e==="full"?gh:0):t&&t.whitespace=="pre"?mh|gh:n&~uu}u(t8,"wsOptionsFor");const Dv=class Dv{constructor(e,n,r,i,l,a){this.type=e,this.attrs=n,this.marks=r,this.solid=i,this.options=a,this.content=[],this.activeMarks=me.none,this.match=l||(a&uu?null:e.contentMatch)}findWrapping(e){if(!this.match){if(!this.type)return[];let n=this.type.contentMatch.fillBefore(X.from(e));if(n)this.match=this.type.contentMatch.matchFragment(n);else{let r=this.type.contentMatch,i;return(i=r.findWrapping(e.type))?(this.match=r,i):null}}return this.match.findWrapping(e.type)}finish(e){if(!(this.options&mh)){let r=this.content[this.content.length-1],i;if(r&&r.isText&&(i=/[ \t\r\n\u000c]+$/.exec(r.text))){let l=r;r.text.length==i[0].length?this.content.pop():this.content[this.content.length-1]=l.withText(l.text.slice(0,l.text.length-i[0].length))}}let n=X.from(this.content);return!e&&this.match&&(n=n.append(this.match.fillBefore(X.empty,!0))),this.type?this.type.create(this.attrs,n,this.marks):n}inlineContext(e){return this.type?this.type.inlineContent:this.content.length?this.content[0].isInline:e.parentNode&&!JT.hasOwnProperty(e.parentNode.nodeName.toLowerCase())}};u(Dv,"NodeContext");let La=Dv;const kv=class kv{constructor(e,n,r){this.parser=e,this.options=n,this.isOpen=r,this.open=0;let i=n.topNode,l,a=t8(null,n.preserveWhitespace,0)|(r?uu:0);i?l=new La(i.type,i.attrs,me.none,!0,n.topMatch||i.type.contentMatch,a):r?l=new La(null,null,me.none,!0,null,a):l=new La(e.schema.topNodeType,null,me.none,!0,null,a),this.nodes=[l],this.find=n.findPositions,this.needsBlock=!1}get top(){return this.nodes[this.open]}addDOM(e,n){e.nodeType==3?this.addTextNode(e,n):e.nodeType==1&&this.addElement(e,n)}addTextNode(e,n){let r=e.nodeValue,i=this.top;if(i.options&gh||i.inlineContext(e)||/[^ \t\r\n\u000c]/.test(r)){if(i.options&mh)i.options&gh?r=r.replace(/\r\n?/g,` -`):r=r.replace(/\r?\n|\r/g," ");else if(r=r.replace(/[ \t\r\n\u000c]+/g," "),/^[ \t\r\n\u000c]/.test(r)&&this.open==this.nodes.length-1){let l=i.content[i.content.length-1],a=e.previousSibling;(!l||a&&a.nodeName=="BR"||l.isText&&/[ \t\r\n\u000c]$/.test(l.text))&&(r=r.slice(1))}r&&this.insertNode(this.parser.schema.text(r),n),this.findInText(e)}else this.findInside(e)}addElement(e,n,r){let i=e.nodeName.toLowerCase(),l;e8.hasOwnProperty(i)&&this.parser.normalizeLists&&kY(e);let a=this.options.ruleFromNode&&this.options.ruleFromNode(e)||(l=this.parser.matchTag(e,this,r));if(a?a.ignore:DY.hasOwnProperty(i))this.findInside(e),this.ignoreFallback(e,n);else if(!a||a.skip||a.closeParent){a&&a.closeParent?this.open=Math.max(0,this.open-1):a&&a.skip.nodeType&&(e=a.skip);let o,s=this.top,c=this.needsBlock;if(JT.hasOwnProperty(i))s.content.length&&s.content[0].isInline&&this.open&&(this.open--,s=this.top),o=!0,s.type||(this.needsBlock=!0);else if(!e.firstChild){this.leafFallback(e,n);return}let d=a&&a.skip?n:this.readStyles(e,n);d&&this.addAll(e,d),o&&this.sync(s),this.needsBlock=c}else{let o=this.readStyles(e,n);o&&this.addElementByRule(e,a,o,a.consuming===!1?l:void 0)}}leafFallback(e,n){e.nodeName=="BR"&&this.top.type&&this.top.type.inlineContent&&this.addTextNode(e.ownerDocument.createTextNode(` -`),n)}ignoreFallback(e,n){e.nodeName=="BR"&&(!this.top.type||!this.top.type.inlineContent)&&this.findPlace(this.parser.schema.text("-"),n)}readStyles(e,n){let r=e.style;if(r&&r.length)for(let i=0;i!s.clearMark(c)):n=n.concat(this.parser.schema.marks[s.mark].create(s.attrs)),s.consuming===!1)o=s;else break}}return n}addElementByRule(e,n,r,i){let l,a;if(n.node)if(a=this.parser.schema.nodes[n.node],a.isLeaf)this.insertNode(a.create(n.attrs),r)||this.leafFallback(e,r);else{let s=this.enter(a,n.attrs||null,r,n.preserveWhitespace);s&&(l=!0,r=s)}else{let s=this.parser.schema.marks[n.mark];r=r.concat(s.create(n.attrs))}let o=this.top;if(a&&a.isLeaf)this.findInside(e);else if(i)this.addElement(e,r,i);else if(n.getContent)this.findInside(e),n.getContent(e,this.parser.schema).forEach(s=>this.insertNode(s,r));else{let s=e;typeof n.contentElement=="string"?s=e.querySelector(n.contentElement):typeof n.contentElement=="function"?s=n.contentElement(e):n.contentElement&&(s=n.contentElement),this.findAround(e,s,!0),this.addAll(s,r),this.findAround(e,s,!1)}l&&this.sync(o)&&this.open--}addAll(e,n,r,i){let l=r||0;for(let a=r?e.childNodes[r]:e.firstChild,o=i==null?null:e.childNodes[i];a!=o;a=a.nextSibling,++l)this.findAtPoint(e,l),this.addDOM(a,n);this.findAtPoint(e,l)}findPlace(e,n){let r,i;for(let l=this.open;l>=0;l--){let a=this.nodes[l],o=a.findWrapping(e);if(o&&(!r||r.length>o.length)&&(r=o,i=a,!o.length)||a.solid)break}if(!r)return null;this.sync(i);for(let l=0;l(a.type?a.type.allowsMarkType(c.type):r8(c.type,e))?(s=c.addToSet(s),!1):!0),this.nodes.push(new La(e,n,s,i,null,o)),this.open++,r}closeExtra(e=!1){let n=this.nodes.length-1;if(n>this.open){for(;n>this.open;n--)this.nodes[n-1].content.push(this.nodes[n].finish(e));this.nodes.length=this.open+1}}finish(){return this.open=0,this.closeExtra(this.isOpen),this.nodes[0].finish(this.isOpen||this.options.topOpen)}sync(e){for(let n=this.open;n>=0;n--)if(this.nodes[n]==e)return this.open=n,!0;return!1}get currentPos(){this.closeExtra();let e=0;for(let n=this.open;n>=0;n--){let r=this.nodes[n].content;for(let i=r.length-1;i>=0;i--)e+=r[i].nodeSize;n&&e++}return e}findAtPoint(e,n){if(this.find)for(let r=0;r-1)return e.split(/\s*\|\s*/).some(this.matchesContext,this);let n=e.split("/"),r=this.options.context,i=!this.isOpen&&(!r||r.parent.type==this.nodes[0].type),l=-(r?r.depth+1:0)+(i?0:1),a=u((o,s)=>{for(;o>=0;o--){let c=n[o];if(c==""){if(o==n.length-1||o==0)continue;for(;s>=l;s--)if(a(o-1,s))return!0;return!1}else{let d=s>0||s==0&&i?this.nodes[s].type:r&&s>=l?r.node(s-l).type:null;if(!d||d.name!=c&&!d.isInGroup(c))return!1;s--}}return!0},"match");return a(n.length-1,this.open)}textblockFromContext(){let e=this.options.context;if(e)for(let n=e.depth;n>=0;n--){let r=e.node(n).contentMatchAt(e.indexAfter(n)).defaultType;if(r&&r.isTextblock&&r.defaultAttrs)return r}for(let n in this.parser.schema.nodes){let r=this.parser.schema.nodes[n];if(r.isTextblock&&r.defaultAttrs)return r}}};u(kv,"ParseContext");let Oh=kv;function kY(t){for(let e=t.firstChild,n=null;e;e=e.nextSibling){let r=e.nodeType==1?e.nodeName.toLowerCase():null;r&&e8.hasOwnProperty(r)&&n?(n.appendChild(e),e=n):r=="li"?n=e:r&&(n=null)}}u(kY,"normalizeList");function PY(t,e){return(t.matches||t.msMatchesSelector||t.webkitMatchesSelector||t.mozMatchesSelector).call(t,e)}u(PY,"matches");function n8(t){let e={};for(let n in t)e[n]=t[n];return e}u(n8,"copy");function r8(t,e){let n=e.schema.nodes;for(let r in n){let i=n[r];if(!i.allowsMarkType(t))continue;let l=[],a=u(o=>{l.push(o);for(let s=0;s{if(l.length||a.marks.length){let o=0,s=0;for(;o=0;i--){let l=this.serializeMark(e.marks[i],e.isInline,n);l&&((l.contentDOM||l.dom).appendChild(r),r=l.dom)}return r}serializeMark(e,n,r={}){let i=this.marks[e.type.name];return i&&bh(jb(r),i(e,n),null,e.attrs)}static renderSpec(e,n,r=null,i){return bh(e,n,r,i)}static fromSchema(e){return e.cached.domSerializer||(e.cached.domSerializer=new Rp(this.nodesFromSchema(e),this.marksFromSchema(e)))}static nodesFromSchema(e){let n=i8(e.nodes);return n.text||(n.text=r=>r.text),n}static marksFromSchema(e){return i8(e.marks)}};u(Rp,"DOMSerializer");let Wa=Rp;function i8(t){let e={};for(let n in t){let r=t[n].spec.toDOM;r&&(e[n]=r)}return e}u(i8,"gatherToDOM");function jb(t){return t.document||window.document}u(jb,"doc$1");const l8=new WeakMap;function EY(t){let e=l8.get(t);return e===void 0&&l8.set(t,e=AY(t)),e}u(EY,"suspiciousAttributes");function AY(t){let e=null;function n(r){if(r&&typeof r=="object")if(Array.isArray(r))if(typeof r[0]=="string")e||(e=[]),e.push(r);else for(let i=0;i-1)throw new RangeError("Using an array from an attribute object as a DOM spec. This may be an attempted cross site scripting attack.");let a=i.indexOf(" ");a>0&&(n=i.slice(0,a),i=i.slice(a+1));let o,s=n?t.createElementNS(n,i):t.createElement(i),c=e[1],d=1;if(c&&typeof c=="object"&&c.nodeType==null&&!Array.isArray(c)){d=2;for(let f in c)if(c[f]!=null){let h=f.indexOf(" ");h>0?s.setAttributeNS(f.slice(0,h),f.slice(h+1),c[f]):s.setAttribute(f,c[f])}}for(let f=d;fd)throw new RangeError("Content hole must be the only child of its parent node");return{dom:s,contentDOM:s}}else{let{dom:p,contentDOM:m}=bh(t,h,n,r);if(s.appendChild(p),m){if(o)throw new RangeError("Multiple content holes");o=m}}}return{dom:s,contentDOM:o}}u(bh,"renderSpec");const a8=65535,o8=Math.pow(2,16);function TY(t,e){return t+e*o8}u(TY,"makeRecover");function s8(t){return t&a8}u(s8,"recoverIndex");function RY(t){return(t-(t&a8))/o8}u(RY,"recoverOffset");const u8=1,c8=2,yh=4,d8=8,Pv=class Pv{constructor(e,n,r){this.pos=e,this.delInfo=n,this.recover=r}get deleted(){return(this.delInfo&d8)>0}get deletedBefore(){return(this.delInfo&(u8|yh))>0}get deletedAfter(){return(this.delInfo&(c8|yh))>0}get deletedAcross(){return(this.delInfo&yh)>0}};u(Pv,"MapResult");let cu=Pv;const Ai=class Ai{constructor(e,n=!1){if(this.ranges=e,this.inverted=n,!e.length&&Ai.empty)return Ai.empty}recover(e){let n=0,r=s8(e);if(!this.inverted)for(let i=0;ie)break;let c=this.ranges[o+l],d=this.ranges[o+a],f=s+c;if(e<=f){let h=c?e==s?-1:e==f?1:n:n,p=s+i+(h<0?0:d);if(r)return p;let m=e==(n<0?s:f)?null:TY(o/3,e-s),g=e==s?c8:e==f?u8:yh;return(n<0?e!=s:e!=f)&&(g|=d8),new cu(p,g,m)}i+=d-c}return r?e+i:new cu(e+i,0,null)}touches(e,n){let r=0,i=s8(n),l=this.inverted?2:1,a=this.inverted?1:2;for(let o=0;oe)break;let c=this.ranges[o+l],d=s+c;if(e<=d&&o==i*3)return!0;r+=this.ranges[o+a]-c}return!1}forEach(e){let n=this.inverted?2:1,r=this.inverted?1:2;for(let i=0,l=0;i=0;n--){let i=e.getMirror(n);this.appendMap(e.maps[n].invert(),i!=null&&i>n?r-i-1:void 0)}}invert(){let e=new go;return e.appendMappingInverted(this),e}map(e,n=1){if(this.mirror)return this._map(e,n,!0);for(let r=this.from;rl&&s!a.isAtom||!o.type.allowsMarkType(this.mark.type)?a:a.mark(this.mark.addToSet(a.marks)),i),n.openStart,n.openEnd);return et.fromReplace(e,this.from,this.to,l)}invert(){return new gl(this.from,this.to,this.mark)}map(e){let n=e.mapResult(this.from,1),r=e.mapResult(this.to,-1);return n.deleted&&r.deleted||n.pos>=r.pos?null:new Il(n.pos,r.pos,this.mark)}merge(e){return e instanceof Il&&e.mark.eq(this.mark)&&this.from<=e.to&&this.to>=e.from?new Il(Math.min(this.from,e.from),Math.max(this.to,e.to),this.mark):null}toJSON(){return{stepType:"addMark",mark:this.mark.toJSON(),from:this.from,to:this.to}}static fromJSON(e,n){if(typeof n.from!="number"||typeof n.to!="number")throw new RangeError("Invalid input for AddMarkStep.fromJSON");return new Il(n.from,n.to,e.markFromJSON(n.mark))}};u(Il,"AddMarkStep");let du=Il;je.jsonID("addMark",du);const Zl=class Zl extends je{constructor(e,n,r){super(),this.from=e,this.to=n,this.mark=r}apply(e){let n=e.slice(this.from,this.to),r=new Y(Ub(n.content,i=>i.mark(this.mark.removeFromSet(i.marks)),e),n.openStart,n.openEnd);return et.fromReplace(e,this.from,this.to,r)}invert(){return new du(this.from,this.to,this.mark)}map(e){let n=e.mapResult(this.from,1),r=e.mapResult(this.to,-1);return n.deleted&&r.deleted||n.pos>=r.pos?null:new Zl(n.pos,r.pos,this.mark)}merge(e){return e instanceof Zl&&e.mark.eq(this.mark)&&this.from<=e.to&&this.to>=e.from?new Zl(Math.min(this.from,e.from),Math.max(this.to,e.to),this.mark):null}toJSON(){return{stepType:"removeMark",mark:this.mark.toJSON(),from:this.from,to:this.to}}static fromJSON(e,n){if(typeof n.from!="number"||typeof n.to!="number")throw new RangeError("Invalid input for RemoveMarkStep.fromJSON");return new Zl(n.from,n.to,e.markFromJSON(n.mark))}};u(Zl,"RemoveMarkStep");let gl=Zl;je.jsonID("removeMark",gl);const zl=class zl extends je{constructor(e,n){super(),this.pos=e,this.mark=n}apply(e){let n=e.nodeAt(this.pos);if(!n)return et.fail("No node at mark step's position");let r=n.type.create(n.attrs,null,this.mark.addToSet(n.marks));return et.fromReplace(e,this.pos,this.pos+1,new Y(X.from(r),0,n.isLeaf?0:1))}invert(e){let n=e.nodeAt(this.pos);if(n){let r=this.mark.addToSet(n.marks);if(r.length==n.marks.length){for(let i=0;ir.pos?null:new Oo(n.pos,r.pos,i,l,this.slice,this.insert,this.structure)}toJSON(){let e={stepType:"replaceAround",from:this.from,to:this.to,gapFrom:this.gapFrom,gapTo:this.gapTo,insert:this.insert};return this.slice.size&&(e.slice=this.slice.toJSON()),this.structure&&(e.structure=!0),e}static fromJSON(e,n){if(typeof n.from!="number"||typeof n.to!="number"||typeof n.gapFrom!="number"||typeof n.gapTo!="number"||typeof n.insert!="number")throw new RangeError("Invalid input for ReplaceAroundStep.fromJSON");return new Oo(n.from,n.to,n.gapFrom,n.gapTo,Y.fromJSON(e,n.slice),n.insert,!!n.structure)}};u(Oo,"ReplaceAroundStep");let vt=Oo;je.jsonID("replaceAround",vt);function Yb(t,e,n){let r=t.resolve(e),i=n-e,l=r.depth;for(;i>0&&l>0&&r.indexAfter(l)==r.node(l).childCount;)l--,i--;if(i>0){let a=r.node(l).maybeChild(r.indexAfter(l));for(;i>0;){if(!a||a.isLeaf)return!0;a=a.firstChild,i--}}return!1}u(Yb,"contentBetween");function QY(t,e,n,r){let i=[],l=[],a,o;t.doc.nodesBetween(e,n,(s,c,d)=>{if(!s.isInline)return;let f=s.marks;if(!r.isInSet(f)&&d.type.allowsMarkType(r.type)){let h=Math.max(c,e),p=Math.min(c+s.nodeSize,n),m=r.addToSet(f);for(let g=0;gt.step(s)),l.forEach(s=>t.step(s))}u(QY,"addMark");function MY(t,e,n,r){let i=[],l=0;t.doc.nodesBetween(e,n,(a,o)=>{if(!a.isInline)return;l++;let s=null;if(r instanceof hh){let c=a.marks,d;for(;d=r.isInSet(c);)(s||(s=[])).push(d),c=d.removeFromSet(c)}else r?r.isInSet(a.marks)&&(s=[r]):s=a.marks;if(s&&s.length){let c=Math.min(o+a.nodeSize,n);for(let d=0;dt.step(new gl(a.from,a.to,a.style)))}u(MY,"removeMark");function f8(t,e,n,r=n.contentMatch,i=!0){let l=t.doc.nodeAt(e),a=[],o=e+1;for(let s=0;s=0;s--)t.step(a[s])}u(f8,"clearIncompatible");function BY(t,e,n){return(e==0||t.canReplace(e,t.childCount))&&(n==t.childCount||t.canReplace(0,n))}u(BY,"canCut");function pu(t){let n=t.parent.content.cutByIndex(t.startIndex,t.endIndex);for(let r=t.depth;;--r){let i=t.$from.node(r),l=t.$from.index(r),a=t.$to.indexAfter(r);if(rn;m--)g||r.index(m)>0?(g=!0,d=X.from(r.node(m).copy(d)),f++):s--;let h=X.empty,p=0;for(let m=l,g=!1;m>n;m--)g||i.after(m+1)=0;a--){if(r.size){let o=n[a].type.contentMatch.matchFragment(r);if(!o||!o.validEnd)throw new RangeError("Wrapper type given to Transform.wrap does not form valid content of its parent wrapper")}r=X.from(n[a].type.create(n[a].attrs,r))}let i=e.start,l=e.end;t.step(new vt(i,l,i,l,new Y(r,0,0),n.length,!0))}u(IY,"wrap");function ZY(t,e,n,r,i){if(!r.isTextblock)throw new RangeError("Type given to setBlockType should be a textblock");let l=t.steps.length;t.doc.nodesBetween(e,n,(a,o)=>{let s=typeof i=="function"?i(a):i;if(a.isTextblock&&!a.hasMarkup(r,s)&&WY(t.doc,t.mapping.slice(l).map(o),r)){let c=null;if(r.schema.linebreakReplacement){let p=r.whitespace=="pre",m=!!r.contentMatch.matchType(r.schema.linebreakReplacement);p&&!m?c=!1:!p&&m&&(c=!0)}c===!1&&LY(t,a,o,l),f8(t,t.mapping.slice(l).map(o,1),r,void 0,c===null);let d=t.mapping.slice(l),f=d.map(o,1),h=d.map(o+a.nodeSize,1);return t.step(new vt(f,h,f+1,h-1,new Y(X.from(r.create(s,null,a.marks)),0,0),1,!0)),c===!0&&zY(t,a,o,l),!1}})}u(ZY,"setBlockType$1");function zY(t,e,n,r){e.forEach((i,l)=>{if(i.isText){let a,o=/\r?\n|\r/g;for(;a=o.exec(i.text);){let s=t.mapping.slice(r).map(n+1+l+a.index);t.replaceWith(s,s+1,e.type.schema.linebreakReplacement.create())}}})}u(zY,"replaceNewlines");function LY(t,e,n,r){e.forEach((i,l)=>{if(i.type==i.type.schema.linebreakReplacement){let a=t.mapping.slice(r).map(n+1+l);t.replaceWith(a,a+1,e.type.schema.text(` -`))}})}u(LY,"replaceLinebreaks");function WY(t,e,n){let r=t.resolve(e),i=r.index();return r.parent.canReplaceWith(i,i+1,n)}u(WY,"canChangeType");function XY(t,e,n,r,i){let l=t.doc.nodeAt(e);if(!l)throw new RangeError("No node at given position");n||(n=l.type);let a=n.create(r,null,i||l.marks);if(l.isLeaf)return t.replaceWith(e,e+l.nodeSize,a);if(!n.validContent(l.content))throw new RangeError("Invalid content for node type "+n.name);t.step(new vt(e,e+l.nodeSize,e+1,e+l.nodeSize-1,new Y(X.from(a),0,0),1,!0))}u(XY,"setNodeMarkup");function Xa(t,e,n=1,r){let i=t.resolve(e),l=i.depth-n,a=r&&r[r.length-1]||i.parent;if(l<0||i.parent.type.spec.isolating||!i.parent.canReplace(i.index(),i.parent.childCount)||!a.type.validContent(i.parent.content.cutByIndex(i.index(),i.parent.childCount)))return!1;for(let c=i.depth-1,d=n-2;c>l;c--,d--){let f=i.node(c),h=i.index(c);if(f.type.spec.isolating)return!1;let p=f.content.cutByIndex(h,f.childCount),m=r&&r[d+1];m&&(p=p.replaceChild(0,m.type.create(m.attrs)));let g=r&&r[d]||f;if(!f.canReplace(h+1,f.childCount)||!g.type.validContent(p))return!1}let o=i.indexAfter(l),s=r&&r[0];return i.node(l).canReplaceWith(o,o,s?s.type:i.node(l+1).type)}u(Xa,"canSplit");function jY(t,e,n=1,r){let i=t.doc.resolve(e),l=X.empty,a=X.empty;for(let o=i.depth,s=i.depth-n,c=n-1;o>s;o--,c--){l=X.from(i.node(o).copy(l));let d=r&&r[c];a=X.from(d?d.type.create(d.attrs,a):i.node(o).copy(a))}t.step(new kn(e,e,new Y(l.append(a),n,n),!0))}u(jY,"split");function ja(t,e){let n=t.resolve(e),r=n.index();return p8(n.nodeBefore,n.nodeAfter)&&n.parent.canReplace(r,r+1)}u(ja,"canJoin");function p8(t,e){return!!(t&&e&&!t.isLeaf&&t.canAppend(e))}u(p8,"joinable");function m8(t,e,n=-1){let r=t.resolve(e);for(let i=r.depth;;i--){let l,a,o=r.index(i);if(i==r.depth?(l=r.nodeBefore,a=r.nodeAfter):n>0?(l=r.node(i+1),o++,a=r.node(i).maybeChild(o)):(l=r.node(i).maybeChild(o-1),a=r.node(i+1)),l&&!l.isTextblock&&p8(l,a)&&r.node(i).canReplace(o,o+1))return e;if(i==0)break;e=n<0?r.before(i):r.after(i)}}u(m8,"joinPoint");function qY(t,e,n){let r=new kn(e-n,e+n,Y.empty,!0);t.step(r)}u(qY,"join");function UY(t,e,n){let r=t.resolve(e);if(r.parent.canReplaceWith(r.index(),r.index(),n))return e;if(r.parentOffset==0)for(let i=r.depth-1;i>=0;i--){let l=r.index(i);if(r.node(i).canReplaceWith(l,l,n))return r.before(i+1);if(l>0)return null}if(r.parentOffset==r.parent.content.size)for(let i=r.depth-1;i>=0;i--){let l=r.indexAfter(i);if(r.node(i).canReplaceWith(l,l,n))return r.after(i+1);if(l=0;a--){let o=a==r.depth?0:r.pos<=(r.start(a+1)+r.end(a+1))/2?-1:1,s=r.index(a)+(o>0?1:0),c=r.node(a),d=!1;if(l==1)d=c.canReplace(s,s,i);else{let f=c.contentMatchAt(s).findWrapping(i.firstChild.type);d=f&&c.canReplaceWith(s,s,f[0])}if(d)return o==0?r.pos:o<0?r.before(a+1):r.after(a+1)}return null}u(g8,"dropPoint");function Gb(t,e,n=e,r=Y.empty){if(e==n&&!r.size)return null;let i=t.resolve(e),l=t.resolve(n);return O8(i,l,r)?new kn(e,n,r):new Hb(i,l,r).fit()}u(Gb,"replaceStep");function O8(t,e,n){return!n.openStart&&!n.openEnd&&t.start()==e.start()&&t.parent.canReplace(t.index(),e.index(),n.content)}u(O8,"fitsTrivially");const Av=class Av{constructor(e,n,r){this.$from=e,this.$to=n,this.unplaced=r,this.frontier=[],this.placed=X.empty;for(let i=0;i<=e.depth;i++){let l=e.node(i);this.frontier.push({type:l.type,match:l.contentMatchAt(e.indexAfter(i))})}for(let i=e.depth;i>0;i--)this.placed=X.from(e.node(i).copy(this.placed))}get depth(){return this.frontier.length-1}fit(){for(;this.unplaced.size;){let c=this.findFittable();c?this.placeNodes(c):this.openMore()||this.dropNode()}let e=this.mustMoveInline(),n=this.placed.size-this.depth-this.$from.depth,r=this.$from,i=this.close(e<0?this.$to:r.doc.resolve(e));if(!i)return null;let l=this.placed,a=r.depth,o=i.depth;for(;a&&o&&l.childCount==1;)l=l.firstChild.content,a--,o--;let s=new Y(l,a,o);return e>-1?new vt(r.pos,e,this.$to.pos,this.$to.end(),s,n):s.size||r.pos!=this.$to.pos?new kn(r.pos,i.pos,s):null}findFittable(){let e=this.unplaced.openStart;for(let n=this.unplaced.content,r=0,i=this.unplaced.openEnd;r1&&(i=0),l.type.spec.isolating&&i<=r){e=r;break}n=l.content}for(let n=1;n<=2;n++)for(let r=n==1?e:this.unplaced.openStart;r>=0;r--){let i,l=null;r?(l=_b(this.unplaced.content,r-1).firstChild,i=l.content):i=this.unplaced.content;let a=i.firstChild;for(let o=this.depth;o>=0;o--){let{type:s,match:c}=this.frontier[o],d,f=null;if(n==1&&(a?c.matchType(a.type)||(f=c.fillBefore(X.from(a),!1)):l&&s.compatibleContent(l.type)))return{sliceDepth:r,frontierDepth:o,parent:l,inject:f};if(n==2&&a&&(d=c.findWrapping(a.type)))return{sliceDepth:r,frontierDepth:o,parent:l,wrap:d};if(l&&c.matchType(l.type))break}}}openMore(){let{content:e,openStart:n,openEnd:r}=this.unplaced,i=_b(e,n);return!i.childCount||i.firstChild.isLeaf?!1:(this.unplaced=new Y(e,n+1,Math.max(r,i.size+n>=e.size-r?n+1:0)),!0)}dropNode(){let{content:e,openStart:n,openEnd:r}=this.unplaced,i=_b(e,n);if(i.childCount<=1&&n>0){let l=e.size-n<=n+i.size;this.unplaced=new Y(mu(e,n-1,1),n-1,l?n-1:r)}else this.unplaced=new Y(mu(e,n,1),n,r)}placeNodes({sliceDepth:e,frontierDepth:n,parent:r,inject:i,wrap:l}){for(;this.depth>n;)this.closeFrontierNode();if(l)for(let g=0;g1||s==0||g.content.size)&&(f=O,d.push(b8(g.mark(h.allowedMarks(g.marks)),c==1?s:0,c==o.childCount?p:-1)))}let m=c==o.childCount;m||(p=-1),this.placed=gu(this.placed,n,X.from(d)),this.frontier[n].match=f,m&&p<0&&r&&r.type==this.frontier[this.depth].type&&this.frontier.length>1&&this.closeFrontierNode();for(let g=0,O=o;g1&&i==this.$to.end(--r);)++i;return i}findCloseLevel(e){e:for(let n=Math.min(this.depth,e.depth);n>=0;n--){let{match:r,type:i}=this.frontier[n],l=n=0;o--){let{match:s,type:c}=this.frontier[o],d=Jb(e,o,c,s,!0);if(!d||d.childCount)continue e}return{depth:n,fit:a,move:l?e.doc.resolve(e.after(n+1)):e}}}}close(e){let n=this.findCloseLevel(e);if(!n)return null;for(;this.depth>n.depth;)this.closeFrontierNode();n.fit.childCount&&(this.placed=gu(this.placed,n.depth,n.fit)),e=n.move;for(let r=n.depth+1;r<=e.depth;r++){let i=e.node(r),l=i.type.contentMatch.fillBefore(i.content,!0,e.index(r));this.openFrontierNode(i.type,i.attrs,l)}return e}openFrontierNode(e,n=null,r){let i=this.frontier[this.depth];i.match=i.match.matchType(e),this.placed=gu(this.placed,this.depth,X.from(e.create(n,r))),this.frontier.push({type:e,match:e.contentMatch})}closeFrontierNode(){let n=this.frontier.pop().match.fillBefore(X.empty,!0);n.childCount&&(this.placed=gu(this.placed,this.frontier.length,n))}};u(Av,"Fitter");let Hb=Av;function mu(t,e,n){return e==0?t.cutByIndex(n,t.childCount):t.replaceChild(0,t.firstChild.copy(mu(t.firstChild.content,e-1,n)))}u(mu,"dropFromFragment");function gu(t,e,n){return e==0?t.append(n):t.replaceChild(t.childCount-1,t.lastChild.copy(gu(t.lastChild.content,e-1,n)))}u(gu,"addToFragment");function _b(t,e){for(let n=0;n1&&(r=r.replaceChild(0,b8(r.firstChild,e-1,r.childCount==1?n-1:0))),e>0&&(r=t.type.contentMatch.fillBefore(r).append(r),n<=0&&(r=r.append(t.type.contentMatch.matchFragment(r).fillBefore(X.empty,!0)))),t.copy(r)}u(b8,"closeNodeStart");function Jb(t,e,n,r,i){let l=t.node(e),a=i?t.indexAfter(e):t.index(e);if(a==l.childCount&&!n.compatibleContent(l.type))return null;let o=r.fillBefore(l.content,!0,a);return o&&!YY(n,l.content,a)?o:null}u(Jb,"contentAfterFits");function YY(t,e,n){for(let r=n;r0;h--,p--){let m=i.node(h).type.spec;if(m.defining||m.definingAsContext||m.isolating)break;a.indexOf(h)>-1?o=h:i.before(h)==p&&a.splice(1,0,-h)}let s=a.indexOf(o),c=[],d=r.openStart;for(let h=r.content,p=0;;p++){let m=h.firstChild;if(c.push(m),p==r.openStart)break;h=m.content}for(let h=d-1;h>=0;h--){let p=c[h],m=KY(p.type);if(m&&!p.sameMarkup(i.node(Math.abs(o)-1)))d=h;else if(m||!p.type.isTextblock)break}for(let h=r.openStart;h>=0;h--){let p=(h+d+1)%(r.openStart+1),m=c[p];if(m)for(let g=0;g=0&&(t.replace(e,n,r),!(t.steps.length>f));h--){let p=a[h];p<0||(e=i.before(p),n=l.after(p))}}u(GY,"replaceRange");function y8(t,e,n,r,i){if(er){let l=i.contentMatchAt(0),a=l.fillBefore(t).append(t);t=a.append(l.matchFragment(a).fillBefore(X.empty,!0))}return t}u(y8,"closeFragment");function HY(t,e,n,r){if(!r.isInline&&e==n&&t.doc.resolve(e).parent.content.size){let i=UY(t.doc,e,r.type);i!=null&&(e=n=i)}t.replaceRange(e,n,new Y(X.from(r),0,0))}u(HY,"replaceRangeWith");function _Y(t,e,n){let r=t.doc.resolve(e),i=t.doc.resolve(n),l=v8(r,i);for(let a=0;a0&&(s||r.node(o-1).canReplace(r.index(o-1),i.indexAfter(o-1))))return t.delete(r.before(o),i.after(o))}for(let a=1;a<=r.depth&&a<=i.depth;a++)if(e-r.start(a)==r.depth-a&&n>r.end(a)&&i.end(a)-n!=i.depth-a)return t.delete(r.before(a),n);t.delete(e,n)}u(_Y,"deleteRange");function v8(t,e){let n=[],r=Math.min(t.depth,e.depth);for(let i=r;i>=0;i--){let l=t.start(i);if(le.pos+(e.depth-i)||t.node(i).type.spec.isolating||e.node(i).type.spec.isolating)break;(l==e.start(i)||i==t.depth&&i==e.depth&&t.parent.inlineContent&&e.parent.inlineContent&&i&&e.start(i-1)==l-1)&&n.push(i)}return n}u(v8,"coveredDepths");const bo=class bo extends je{constructor(e,n,r){super(),this.pos=e,this.attr=n,this.value=r}apply(e){let n=e.nodeAt(this.pos);if(!n)return et.fail("No node at attribute step's position");let r=Object.create(null);for(let l in n.attrs)r[l]=n.attrs[l];r[this.attr]=this.value;let i=n.type.create(r,null,n.marks);return et.fromReplace(e,this.pos,this.pos+1,new Y(X.from(i),0,n.isLeaf?0:1))}getMap(){return Qr.empty}invert(e){return new bo(this.pos,this.attr,e.nodeAt(this.pos).attrs[this.attr])}map(e){let n=e.mapResult(this.pos,1);return n.deletedAfter?null:new bo(n.pos,this.attr,this.value)}toJSON(){return{stepType:"attr",pos:this.pos,attr:this.attr,value:this.value}}static fromJSON(e,n){if(typeof n.pos!="number"||typeof n.attr!="string")throw new RangeError("Invalid input for AttrStep.fromJSON");return new bo(n.pos,n.attr,n.value)}};u(bo,"AttrStep");let $h=bo;je.jsonID("attr",$h);const bc=class bc extends je{constructor(e,n){super(),this.attr=e,this.value=n}apply(e){let n=Object.create(null);for(let i in e.attrs)n[i]=e.attrs[i];n[this.attr]=this.value;let r=e.type.create(n,e.content,e.marks);return et.ok(r)}getMap(){return Qr.empty}invert(e){return new bc(this.attr,e.attrs[this.attr])}map(e){return this}toJSON(){return{stepType:"docAttr",attr:this.attr,value:this.value}}static fromJSON(e,n){if(typeof n.attr!="string")throw new RangeError("Invalid input for DocAttrStep.fromJSON");return new bc(n.attr,n.value)}};u(bc,"DocAttrStep");let wh=bc;je.jsonID("docAttr",wh);let qa=(yc=class extends Error{},u(yc,"TransformError"),yc);qa=u(function t(e){let n=Error.call(this,e);return n.__proto__=t.prototype,n},"TransformError"),qa.prototype=Object.create(Error.prototype),qa.prototype.constructor=qa,qa.prototype.name="TransformError";const Tv=class Tv{constructor(e){this.doc=e,this.steps=[],this.docs=[],this.mapping=new vh}get before(){return this.docs.length?this.docs[0]:this.doc}step(e){let n=this.maybeStep(e);if(n.failed)throw new qa(n.failed);return this}maybeStep(e){let n=e.apply(this.doc);return n.failed||this.addStep(e,n.doc),n}get docChanged(){return this.steps.length>0}addStep(e,n){this.docs.push(this.doc),this.steps.push(e),this.mapping.appendMap(e.getMap()),this.doc=n}replace(e,n=e,r=Y.empty){let i=Gb(this.doc,e,n,r);return i&&this.step(i),this}replaceWith(e,n,r){return this.replace(e,n,new Y(X.from(r),0,0))}delete(e,n){return this.replace(e,n,Y.empty)}insert(e,n){return this.replaceWith(e,e,n)}replaceRange(e,n,r){return GY(this,e,n,r),this}replaceRangeWith(e,n,r){return HY(this,e,n,r),this}deleteRange(e,n){return _Y(this,e,n),this}lift(e,n){return VY(this,e,n),this}join(e,n=1){return qY(this,e,n),this}wrap(e,n){return IY(this,e,n),this}setBlockType(e,n=e,r,i=null){return ZY(this,e,n,r,i),this}setNodeMarkup(e,n,r=null,i){return XY(this,e,n,r,i),this}setNodeAttribute(e,n,r){return this.step(new $h(e,n,r)),this}setDocAttribute(e,n){return this.step(new wh(e,n)),this}addNodeMark(e,n){return this.step(new fu(e,n)),this}removeNodeMark(e,n){if(!(n instanceof me)){let r=this.doc.nodeAt(e);if(!r)throw new RangeError("No node at position "+e);if(n=n.isInSet(r.marks),!n)return this}return this.step(new hu(e,n)),this}split(e,n=1,r){return jY(this,e,n,r),this}addMark(e,n,r){return QY(this,e,n,r),this}removeMark(e,n,r){return MY(this,e,n,r),this}clearIncompatible(e,n,r){return f8(this,e,n,r),this}};u(Tv,"Transform");let e1=Tv;const t1=Object.create(null),Rv=class Rv{constructor(e,n,r){this.$anchor=e,this.$head=n,this.ranges=r||[new Ou(e.min(n),e.max(n))]}get anchor(){return this.$anchor.pos}get head(){return this.$head.pos}get from(){return this.$from.pos}get to(){return this.$to.pos}get $from(){return this.ranges[0].$from}get $to(){return this.ranges[0].$to}get empty(){let e=this.ranges;for(let n=0;n=0;l--){let a=n<0?Ua(e.node(0),e.node(l),e.before(l+1),e.index(l),n,r):Ua(e.node(0),e.node(l),e.after(l+1),e.index(l)+1,n,r);if(a)return a}return null}static near(e,n=1){return this.findFrom(e,n)||this.findFrom(e,-n)||new Pn(e.node(0))}static atStart(e){return Ua(e,e,0,0,1)||new Pn(e)}static atEnd(e){return Ua(e,e,e.content.size,e.childCount,-1)||new Pn(e)}static fromJSON(e,n){if(!n||!n.type)throw new RangeError("Invalid input for Selection.fromJSON");let r=t1[n.type];if(!r)throw new RangeError(`No selection type ${n.type} defined`);return r.fromJSON(e,n)}static jsonID(e,n){if(e in t1)throw new RangeError("Duplicate use of selection JSON ID "+e);return t1[e]=n,n.prototype.jsonID=e,n}getBookmark(){return ye.between(this.$anchor,this.$head).getBookmark()}};u(Rv,"Selection");let ce=Rv;ce.prototype.visible=!0;const Qv=class Qv{constructor(e,n){this.$from=e,this.$to=n}};u(Qv,"SelectionRange");let Ou=Qv,$8=!1;function w8(t){!$8&&!t.parent.inlineContent&&($8=!0,console.warn("TextSelection endpoint not pointing into a node with inline content ("+t.parent.type.name+")"))}u(w8,"checkTextSelection");const Ll=class Ll extends ce{constructor(e,n=e){w8(e),w8(n),super(e,n)}get $cursor(){return this.$anchor.pos==this.$head.pos?this.$head:null}map(e,n){let r=e.resolve(n.map(this.head));if(!r.parent.inlineContent)return ce.near(r);let i=e.resolve(n.map(this.anchor));return new Ll(i.parent.inlineContent?i:r,r)}replace(e,n=Y.empty){if(super.replace(e,n),n==Y.empty){let r=this.$from.marksAcross(this.$to);r&&e.ensureMarks(r)}}eq(e){return e instanceof Ll&&e.anchor==this.anchor&&e.head==this.head}getBookmark(){return new xh(this.anchor,this.head)}toJSON(){return{type:"text",anchor:this.anchor,head:this.head}}static fromJSON(e,n){if(typeof n.anchor!="number"||typeof n.head!="number")throw new RangeError("Invalid input for TextSelection.fromJSON");return new Ll(e.resolve(n.anchor),e.resolve(n.head))}static create(e,n,r=n){let i=e.resolve(n);return new this(i,r==n?i:e.resolve(r))}static between(e,n,r){let i=e.pos-n.pos;if((!r||i)&&(r=i>=0?1:-1),!n.parent.inlineContent){let l=ce.findFrom(n,r,!0)||ce.findFrom(n,-r,!0);if(l)n=l.$head;else return ce.near(n,r)}return e.parent.inlineContent||(i==0?e=n:(e=(ce.findFrom(e,-r,!0)||ce.findFrom(e,r,!0)).$anchor,e.pos0?0:1);i>0?a=0;a+=i){let o=e.child(a);if(o.isAtom){if(!l&&ae.isSelectable(o))return ae.create(t,n-(i<0?o.nodeSize:0))}else{let s=Ua(t,o,n+i,i<0?o.childCount:0,i,l);if(s)return s}n+=o.nodeSize*i}return null}u(Ua,"findSelectionIn");function x8(t,e,n){let r=t.steps.length-1;if(r{a==null&&(a=d)}),t.setSelection(ce.near(t.doc.resolve(a),n))}u(x8,"selectionToInsertionEnd");const S8=1,Sh=2,C8=4,Mv=class Mv extends e1{constructor(e){super(e.doc),this.curSelectionFor=0,this.updated=0,this.meta=Object.create(null),this.time=Date.now(),this.curSelection=e.selection,this.storedMarks=e.storedMarks}get selection(){return this.curSelectionFor0}setStoredMarks(e){return this.storedMarks=e,this.updated|=Sh,this}ensureMarks(e){return me.sameSet(this.storedMarks||this.selection.$from.marks(),e)||this.setStoredMarks(e),this}addStoredMark(e){return this.ensureMarks(e.addToSet(this.storedMarks||this.selection.$head.marks()))}removeStoredMark(e){return this.ensureMarks(e.removeFromSet(this.storedMarks||this.selection.$head.marks()))}get storedMarksSet(){return(this.updated&Sh)>0}addStep(e,n){super.addStep(e,n),this.updated=this.updated&~Sh,this.storedMarks=null}setTime(e){return this.time=e,this}replaceSelection(e){return this.selection.replace(this,e),this}replaceSelectionWith(e,n=!0){let r=this.selection;return n&&(e=e.mark(this.storedMarks||(r.empty?r.$from.marks():r.$from.marksAcross(r.$to)||me.none))),r.replaceWith(this,e),this}deleteSelection(){return this.selection.replace(this),this}insertText(e,n,r){let i=this.doc.type.schema;if(n==null)return e?this.replaceSelectionWith(i.text(e),!0):this.deleteSelection();{if(r==null&&(r=n),r=r??n,!e)return this.deleteRange(n,r);let l=this.storedMarks;if(!l){let a=this.doc.resolve(n);l=r==n?a.marks():a.marksAcross(this.doc.resolve(r))}return this.replaceRangeWith(n,r,i.text(e,l)),this.selection.empty||this.setSelection(ce.near(this.selection.$to)),this}}setMeta(e,n){return this.meta[typeof e=="string"?e:e.key]=n,this}getMeta(e){return this.meta[typeof e=="string"?e:e.key]}get isGeneric(){for(let e in this.meta)return!1;return!0}scrollIntoView(){return this.updated|=C8,this}get scrolledIntoView(){return(this.updated&C8)>0}};u(Mv,"Transaction");let r1=Mv;function D8(t,e){return!e||!t?t:t.bind(e)}u(D8,"bind");const Bv=class Bv{constructor(e,n,r){this.name=e,this.init=D8(n.init,r),this.apply=D8(n.apply,r)}};u(Bv,"FieldDesc");let Ol=Bv;const eK=[new Ol("doc",{init(t){return t.doc||t.schema.topNodeType.createAndFill()},apply(t){return t.doc}}),new Ol("selection",{init(t,e){return t.selection||ce.atStart(e.doc)},apply(t){return t.selection}}),new Ol("storedMarks",{init(t){return t.storedMarks||null},apply(t,e,n,r){return r.selection.$cursor?t.storedMarks:null}}),new Ol("scrollToSelection",{init(){return 0},apply(t,e){return t.scrolledIntoView?e+1:e}})],Vv=class Vv{constructor(e,n){this.schema=e,this.plugins=[],this.pluginsByKey=Object.create(null),this.fields=eK.slice(),n&&n.forEach(r=>{if(this.pluginsByKey[r.key])throw new RangeError("Adding different instances of a keyed plugin ("+r.key+")");this.plugins.push(r),this.pluginsByKey[r.key]=r,r.spec.state&&this.fields.push(new Ol(r.key,r.spec.state,r))})}};u(Vv,"Configuration");let bu=Vv;const Xl=class Xl{constructor(e){this.config=e}get schema(){return this.config.schema}get plugins(){return this.config.plugins}apply(e){return this.applyTransaction(e).state}filterTransaction(e,n=-1){for(let r=0;rr.toJSON())),e&&typeof e=="object")for(let r in e){if(r=="doc"||r=="selection")throw new RangeError("The JSON fields `doc` and `selection` are reserved");let i=e[r],l=i.spec.state;l&&l.toJSON&&(n[r]=l.toJSON.call(i,this[i.key]))}return n}static fromJSON(e,n,r){if(!n)throw new RangeError("Invalid input for EditorState.fromJSON");if(!e.schema)throw new RangeError("Required config field 'schema' missing");let i=new bu(e.schema,e.plugins),l=new Xl(i);return i.fields.forEach(a=>{if(a.name=="doc")l.doc=pl.fromJSON(e.schema,n.doc);else if(a.name=="selection")l.selection=ce.fromJSON(l.doc,n.selection);else if(a.name=="storedMarks")n.storedMarks&&(l.storedMarks=n.storedMarks.map(e.schema.markFromJSON));else{if(r)for(let o in r){let s=r[o],c=s.spec.state;if(s.key==a.name&&c&&c.fromJSON&&Object.prototype.hasOwnProperty.call(n,o)){l[a.name]=c.fromJSON.call(s,e,n[o],l);return}}l[a.name]=a.init(e,l)}}),l}};u(Xl,"EditorState");let i1=Xl;function k8(t,e,n){for(let r in t){let i=t[r];i instanceof Function?i=i.bind(e):r=="handleDOMEvents"&&(i=k8(i,e,{})),n[r]=i}return n}u(k8,"bindProps");const Nv=class Nv{constructor(e){this.spec=e,this.props={},e.props&&k8(e.props,this,this.props),this.key=e.key?e.key.key:P8("plugin")}getState(e){return e[this.key]}};u(Nv,"Plugin");let Mr=Nv;const l1=Object.create(null);function P8(t){return t in l1?t+"$"+ ++l1[t]:(l1[t]=0,t+"$")}u(P8,"createKey");const Fv=class Fv{constructor(e="key"){this.key=P8(e)}get(e){return e.config.pluginsByKey[this.key]}getState(e){return e[this.key]}};u(Fv,"PluginKey");let Ch=Fv;const tt=u(function(t){for(var e=0;;e++)if(t=t.previousSibling,!t)return e},"domIndex"),yu=u(function(t){let e=t.assignedSlot||t.parentNode;return e&&e.nodeType==11?e.host:e},"parentNode");let a1=null;const Br=u(function(t,e,n){let r=a1||(a1=document.createRange());return r.setEnd(t,n??t.nodeValue.length),r.setStart(t,e||0),r},"textRange"),tK=u(function(){a1=null},"clearReusedRange"),bl=u(function(t,e,n,r){return n&&(E8(t,e,n,r,-1)||E8(t,e,n,r,1))},"isEquivalentPosition"),nK=/^(img|br|input|textarea|hr)$/i;function E8(t,e,n,r,i){for(;;){if(t==n&&e==r)return!0;if(e==(i<0?0:pn(t))){let l=t.parentNode;if(!l||l.nodeType!=1||vu(t)||nK.test(t.nodeName)||t.contentEditable=="false")return!1;e=tt(t)+(i<0?0:1),t=l}else if(t.nodeType==1){if(t=t.childNodes[e+(i<0?-1:0)],t.contentEditable=="false")return!1;e=i<0?pn(t):0}else return!1}}u(E8,"scanFor");function pn(t){return t.nodeType==3?t.nodeValue.length:t.childNodes.length}u(pn,"nodeSize");function rK(t,e){for(;;){if(t.nodeType==3&&e)return t;if(t.nodeType==1&&e>0){if(t.contentEditable=="false")return null;t=t.childNodes[e-1],e=pn(t)}else if(t.parentNode&&!vu(t))e=tt(t),t=t.parentNode;else return null}}u(rK,"textNodeBefore$1");function iK(t,e){for(;;){if(t.nodeType==3&&e2),mn=Ya||(er?/Mac/.test(er.platform):!1),sK=er?/Win/.test(er.platform):!1,An=/Android \d/.test($i),$u=!!A8&&"webkitFontSmoothing"in A8.documentElement.style,uK=$u?+(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent)||[0,0])[1]:0;function cK(t){let e=t.defaultView&&t.defaultView.visualViewport;return e?{left:0,right:e.width,top:0,bottom:e.height}:{left:0,right:t.documentElement.clientWidth,top:0,bottom:t.documentElement.clientHeight}}u(cK,"windowRect");function Vr(t,e){return typeof t=="number"?t:t[e]}u(Vr,"getSide");function dK(t){let e=t.getBoundingClientRect(),n=e.width/t.offsetWidth||1,r=e.height/t.offsetHeight||1;return{left:e.left,right:e.left+t.clientWidth*n,top:e.top,bottom:e.top+t.clientHeight*r}}u(dK,"clientRect");function Q8(t,e,n){let r=t.someProp("scrollThreshold")||0,i=t.someProp("scrollMargin")||5,l=t.dom.ownerDocument;for(let a=n||t.dom;a;a=yu(a)){if(a.nodeType!=1)continue;let o=a,s=o==l.body,c=s?cK(l):dK(o),d=0,f=0;if(e.topc.bottom-Vr(r,"bottom")&&(f=e.bottom-e.top>c.bottom-c.top?e.top+Vr(i,"top")-c.top:e.bottom-c.bottom+Vr(i,"bottom")),e.leftc.right-Vr(r,"right")&&(d=e.right-c.right+Vr(i,"right")),d||f)if(s)l.defaultView.scrollBy(d,f);else{let h=o.scrollLeft,p=o.scrollTop;f&&(o.scrollTop+=f),d&&(o.scrollLeft+=d);let m=o.scrollLeft-h,g=o.scrollTop-p;e={left:e.left-m,top:e.top-g,right:e.right-m,bottom:e.bottom-g}}if(s||/^(fixed|sticky)$/.test(getComputedStyle(a).position))break}}u(Q8,"scrollRectIntoView");function fK(t){let e=t.dom.getBoundingClientRect(),n=Math.max(0,e.top),r,i;for(let l=(e.left+e.right)/2,a=n+1;a=n-20){r=o,i=s.top;break}}return{refDOM:r,refTop:i,stack:M8(t.dom)}}u(fK,"storeScrollPos");function M8(t){let e=[],n=t.ownerDocument;for(let r=t;r&&(e.push({dom:r,top:r.scrollTop,left:r.scrollLeft}),t!=n);r=yu(r));return e}u(M8,"scrollStack");function hK({refDOM:t,refTop:e,stack:n}){let r=t?t.getBoundingClientRect().top:0;B8(n,r==0?0:r-e)}u(hK,"resetScrollPos");function B8(t,e){for(let n=0;n=o){a=Math.max(m.bottom,a),o=Math.min(m.top,o);let g=m.left>e.left?m.left-e.left:m.right=(m.left+m.right)/2?1:0));continue}}else m.top>e.top&&!s&&m.left<=e.left&&m.right>=e.left&&(s=d,c={left:Math.max(m.left,Math.min(m.right,e.left)),top:m.top});!n&&(e.left>=m.right&&e.top>=m.top||e.left>=m.left&&e.top>=m.bottom)&&(l=f+1)}}return!n&&s&&(n=s,i=c,r=0),n&&n.nodeType==3?mK(n,i):!n||r&&n.nodeType==1?{node:t,offset:l}:V8(n,i)}u(V8,"findOffsetInNode");function mK(t,e){let n=t.nodeValue.length,r=document.createRange();for(let i=0;i=(l.left+l.right)/2?1:0)}}return{node:t,offset:0}}u(mK,"findOffsetInText");function c1(t,e){return t.left>=e.left-1&&t.left<=e.right+1&&t.top>=e.top-1&&t.top<=e.bottom+1}u(c1,"inRect");function gK(t,e){let n=t.parentNode;return n&&/^li$/i.test(n.nodeName)&&e.left(a.left+a.right)/2?1:-1}return t.docView.posFromDOM(r,i,l)}u(OK,"posFromElement");function bK(t,e,n,r){let i=-1;for(let l=e,a=!1;l!=t.dom;){let o=t.docView.nearestDesc(l,!0);if(!o)return null;if(o.dom.nodeType==1&&(o.node.isBlock&&o.parent||!o.contentDOM)){let s=o.dom.getBoundingClientRect();if(o.node.isBlock&&o.parent&&(!a&&s.left>r.left||s.top>r.top?i=o.posBefore:(!a&&s.right-1?i:t.docView.posFromDOM(e,n,-1)}u(bK,"posFromCaret");function N8(t,e,n){let r=t.childNodes.length;if(r&&n.tope.top&&i++}let c;$u&&i&&r.nodeType==1&&(c=r.childNodes[i-1]).nodeType==1&&c.contentEditable=="false"&&c.getBoundingClientRect().top>=e.top&&i--,r==t.dom&&i==r.childNodes.length-1&&r.lastChild.nodeType==1&&e.top>r.lastChild.getBoundingClientRect().bottom?o=t.state.doc.content.size:(i==0||r.nodeType!=1||r.childNodes[i-1].nodeName!="BR")&&(o=bK(t,r,i,e))}o==null&&(o=OK(t,a,e));let s=t.docView.nearestDesc(a,!0);return{pos:o,inside:s?s.posAtStart-s.border:-1}}u(yK,"posAtCoords");function F8(t){return t.top=0&&i==r.nodeValue.length?(s--,d=1):n<0?s--:c++,wu(xi(Br(r,s,c),d),d<0)}if(!t.state.doc.resolve(e-(l||0)).parent.inlineContent){if(l==null&&i&&(n<0||i==pn(r))){let s=r.childNodes[i-1];if(s.nodeType==1)return d1(s.getBoundingClientRect(),!1)}if(l==null&&i=0)}if(l==null&&i&&(n<0||i==pn(r))){let s=r.childNodes[i-1],c=s.nodeType==3?Br(s,pn(s)-(a?0:1)):s.nodeType==1&&(s.nodeName!="BR"||!s.nextSibling)?s:null;if(c)return wu(xi(c,1),!1)}if(l==null&&i=0)}u(I8,"coordsAtPos");function wu(t,e){if(t.width==0)return t;let n=e?t.left:t.right;return{top:t.top,bottom:t.bottom,left:n,right:n}}u(wu,"flattenV");function d1(t,e){if(t.height==0)return t;let n=e?t.top:t.bottom;return{top:n,bottom:n,left:t.left,right:t.right}}u(d1,"flattenH");function Z8(t,e,n){let r=t.state,i=t.root.activeElement;r!=e&&t.updateState(e),i!=t.dom&&t.focus();try{return n()}finally{r!=e&&t.updateState(r),i!=t.dom&&i&&i.focus()}}u(Z8,"withFlushedState");function $K(t,e,n){let r=e.selection,i=n=="up"?r.$from:r.$to;return Z8(t,e,()=>{let{node:l}=t.docView.domFromPos(i.pos,n=="up"?-1:1);for(;;){let o=t.docView.nearestDesc(l,!0);if(!o)break;if(o.node.isBlock){l=o.contentDOM||o.dom;break}l=o.dom.parentNode}let a=I8(t,i.pos,1);for(let o=l.firstChild;o;o=o.nextSibling){let s;if(o.nodeType==1)s=o.getClientRects();else if(o.nodeType==3)s=Br(o,0,o.nodeValue.length).getClientRects();else continue;for(let c=0;cd.top+1&&(n=="up"?a.top-d.top>(d.bottom-a.top)*2:d.bottom-a.bottom>(a.bottom-d.top)*2))return!1}}return!0})}u($K,"endOfTextblockVertical");const wK=/[\u0590-\u08ac]/;function xK(t,e,n){let{$head:r}=e.selection;if(!r.parent.isTextblock)return!1;let i=r.parentOffset,l=!i,a=i==r.parent.content.size,o=t.domSelection();return o?!wK.test(r.parent.textContent)||!o.modify?n=="left"||n=="backward"?l:a:Z8(t,e,()=>{let{focusNode:s,focusOffset:c,anchorNode:d,anchorOffset:f}=t.domSelectionRange(),h=o.caretBidiLevel;o.modify("move",n,"character");let p=r.depth?t.docView.domAfterPos(r.before()):t.dom,{focusNode:m,focusOffset:g}=t.domSelectionRange(),O=m&&!p.contains(m.nodeType==1?m:m.parentNode)||s==m&&c==g;try{o.collapse(d,f),s&&(s!=d||c!=f)&&o.extend&&o.extend(s,c)}catch{}return h!=null&&(o.caretBidiLevel=h),O}):r.pos==r.start()||r.pos==r.end()}u(xK,"endOfTextblockHorizontal");let z8=null,L8=null,W8=!1;function SK(t,e,n){return z8==e&&L8==n?W8:(z8=e,L8=n,W8=n=="up"||n=="down"?$K(t,e,n):xK(t,e,n))}u(SK,"endOfTextblock");const gn=0,X8=1,vl=2,tr=3,Iv=class Iv{constructor(e,n,r,i){this.parent=e,this.children=n,this.dom=r,this.contentDOM=i,this.dirty=gn,r.pmViewDesc=this}matchesWidget(e){return!1}matchesMark(e){return!1}matchesNode(e,n,r){return!1}matchesHack(e){return!1}parseRule(){return null}stopEvent(e){return!1}get size(){let e=0;for(let n=0;ntt(this.contentDOM);else if(this.contentDOM&&this.contentDOM!=this.dom&&this.dom.contains(this.contentDOM))i=e.compareDocumentPosition(this.contentDOM)&2;else if(this.dom.firstChild){if(n==0)for(let l=e;;l=l.parentNode){if(l==this.dom){i=!1;break}if(l.previousSibling)break}if(i==null&&n==e.childNodes.length)for(let l=e;;l=l.parentNode){if(l==this.dom){i=!0;break}if(l.nextSibling)break}}return i??r>0?this.posAtEnd:this.posAtStart}nearestDesc(e,n=!1){for(let r=!0,i=e;i;i=i.parentNode){let l=this.getDesc(i),a;if(l&&(!n||l.node))if(r&&(a=l.nodeDOM)&&!(a.nodeType==1?a.contains(e.nodeType==1?e:e.parentNode):a==e))r=!1;else return l}}getDesc(e){let n=e.pmViewDesc;for(let r=n;r;r=r.parent)if(r==this)return n}posFromDOM(e,n,r){for(let i=e;i;i=i.parentNode){let l=this.getDesc(i);if(l)return l.localPosFromDOM(e,n,r)}return-1}descAt(e){for(let n=0,r=0;ne||a instanceof Eh){i=e-l;break}l=o}if(i)return this.children[r].domFromPos(i-this.children[r].border,n);for(let l;r&&!(l=this.children[r-1]).size&&l instanceof kh&&l.side>=0;r--);if(n<=0){let l,a=!0;for(;l=r?this.children[r-1]:null,!(!l||l.dom.parentNode==this.contentDOM);r--,a=!1);return l&&n&&a&&!l.border&&!l.domAtom?l.domFromPos(l.size,n):{node:this.contentDOM,offset:l?tt(l.dom)+1:0}}else{let l,a=!0;for(;l=r=d&&n<=c-s.border&&s.node&&s.contentDOM&&this.contentDOM.contains(s.contentDOM))return s.parseRange(e,n,d);e=a;for(let f=o;f>0;f--){let h=this.children[f-1];if(h.size&&h.dom.parentNode==this.contentDOM&&!h.emptyChildAt(1)){i=tt(h.dom)+1;break}e-=h.size}i==-1&&(i=0)}if(i>-1&&(c>n||o==this.children.length-1)){n=c;for(let d=o+1;dp&&an){let p=o;o=s,s=p}let h=document.createRange();h.setEnd(s.node,s.offset),h.setStart(o.node,o.offset),c.removeAllRanges(),c.addRange(h)}}ignoreMutation(e){return!this.contentDOM&&e.type!="selection"}get contentLost(){return this.contentDOM&&this.contentDOM!=this.dom&&!this.dom.contains(this.contentDOM)}markDirty(e,n){for(let r=0,i=0;i=r:er){let o=r+l.border,s=a-l.border;if(e>=o&&n<=s){this.dirty=e==r||n==a?vl:X8,e==o&&n==s&&(l.contentLost||l.dom.parentNode!=this.contentDOM)?l.dirty=tr:l.markDirty(e-o,n-o);return}else l.dirty=l.dom==l.contentDOM&&l.dom.parentNode==this.contentDOM&&!l.children.length?vl:tr}r=a}this.dirty=vl}markParentsDirty(){let e=1;for(let n=this.parent;n;n=n.parent,e++){let r=e==1?vl:X8;n.dirty{if(!l)return i;if(l.parent)return l.parent.posBeforeChild(l)})),!n.type.spec.raw){if(a.nodeType!=1){let o=document.createElement("span");o.appendChild(a),a=o}a.contentEditable="false",a.classList.add("ProseMirror-widget")}super(e,[],a,null),this.widget=n,this.widget=n,l=this}matchesWidget(e){return this.dirty==gn&&e.type.eq(this.widget.type)}parseRule(){return{ignore:!0}}stopEvent(e){let n=this.widget.spec.stopEvent;return n?n(e):!1}ignoreMutation(e){return e.type!="selection"||this.widget.spec.ignoreSelection}destroy(){this.widget.type.destroy(this.dom),super.destroy()}get domAtom(){return!0}get side(){return this.widget.type.side}};u(Zv,"WidgetViewDesc");let kh=Zv;const zv=class zv extends $l{constructor(e,n,r,i){super(e,[],n,null),this.textDOM=r,this.text=i}get size(){return this.text.length}localPosFromDOM(e,n){return e!=this.textDOM?this.posAtStart+(n?this.size:0):this.posAtStart+n}domFromPos(e){return{node:this.textDOM,offset:e}}ignoreMutation(e){return e.type==="characterData"&&e.target.nodeValue==e.oldValue}};u(zv,"CompositionViewDesc");let f1=zv;const vc=class vc extends $l{constructor(e,n,r,i){super(e,[],r,i),this.mark=n}static create(e,n,r,i){let l=i.nodeViews[n.type.name],a=l&&l(n,i,r);return(!a||!a.dom)&&(a=Wa.renderSpec(document,n.type.spec.toDOM(n,r),null,n.attrs)),new vc(e,n,a.dom,a.contentDOM||a.dom)}parseRule(){return this.dirty&tr||this.mark.type.spec.reparseInView?null:{mark:this.mark.type.name,attrs:this.mark.attrs,contentElement:this.contentDOM}}matchesMark(e){return this.dirty!=tr&&this.mark.eq(e)}markDirty(e,n){if(super.markDirty(e,n),this.dirty!=gn){let r=this.parent;for(;!r.node;)r=r.parent;r.dirty0&&(l=g1(l,0,e,r));for(let o=0;o{if(!s)return a;if(s.parent)return s.parent.posBeforeChild(s)},r,i),d=c&&c.dom,f=c&&c.contentDOM;if(n.isText){if(!d)d=document.createTextNode(n.text);else if(d.nodeType!=3)throw new RangeError("Text must be rendered as a DOM text node")}else d||({dom:d,contentDOM:f}=Wa.renderSpec(document,n.type.spec.toDOM(n),null,n.attrs));!f&&!n.isText&&d.nodeName!="BR"&&(d.hasAttribute("contenteditable")||(d.contentEditable="false"),n.type.spec.draggable&&(d.draggable=!0));let h=d;return d=Y8(d,r,n),c?s=new h1(e,n,r,i,d,f||null,h,c,l,a+1):n.isText?new Ph(e,n,r,i,d,h,l):new Bp(e,n,r,i,d,f||null,h,l,a+1)}parseRule(){if(this.node.type.spec.reparseInView)return null;let e={node:this.node.type.name,attrs:this.node.attrs};if(this.node.type.whitespace=="pre"&&(e.preserveWhitespace="full"),!this.contentDOM)e.getContent=()=>this.node.content;else if(!this.contentLost)e.contentElement=this.contentDOM;else{for(let n=this.children.length-1;n>=0;n--){let r=this.children[n];if(this.dom.contains(r.dom.parentNode)){e.contentElement=r.dom.parentNode;break}}e.contentElement||(e.getContent=()=>X.empty)}return e}matchesNode(e,n,r){return this.dirty==gn&&e.eq(this.node)&&Ah(n,this.outerDeco)&&r.eq(this.innerDeco)}get size(){return this.node.nodeSize}get border(){return this.node.isLeaf?0:1}updateChildren(e,n){let r=this.node.inlineContent,i=n,l=e.composing?this.localCompositionInfo(e,n):null,a=l&&l.pos>-1?l:null,o=l&&l.pos<0,s=new m1(this,a&&a.node,e);PK(this.node,this.innerDeco,(c,d,f)=>{c.spec.marks?s.syncToMarks(c.spec.marks,r,e):c.type.side>=0&&!f&&s.syncToMarks(d==this.node.childCount?me.none:this.node.child(d).marks,r,e),s.placeWidget(c,e,i)},(c,d,f,h)=>{s.syncToMarks(c.marks,r,e);let p;s.findNodeMatch(c,d,f,h)||o&&e.state.selection.from>i&&e.state.selection.to-1&&s.updateNodeAt(c,d,f,p,e)||s.updateNextNode(c,d,f,e,h,i)||s.addNode(c,d,f,e,i),i+=c.nodeSize}),s.syncToMarks([],r,e),this.node.isTextblock&&s.addTextblockHacks(),s.destroyRest(),(s.changed||this.dirty==vl)&&(a&&this.protectLocalComposition(e,a),q8(this.contentDOM,this.children,e),Ya&&EK(this.dom))}localCompositionInfo(e,n){let{from:r,to:i}=e.state.selection;if(!(e.state.selection instanceof ye)||rn+this.node.content.size)return null;let l=e.input.compositionNode;if(!l||!this.dom.contains(l.parentNode))return null;if(this.node.inlineContent){let a=l.nodeValue,o=AK(this.node.content,a,r-n,i-n);return o<0?null:{node:l,pos:o,text:a}}else return{node:l,pos:-1,text:""}}protectLocalComposition(e,{node:n,pos:r,text:i}){if(this.getDesc(n))return;let l=n;for(;l.parentNode!=this.contentDOM;l=l.parentNode){for(;l.previousSibling;)l.parentNode.removeChild(l.previousSibling);for(;l.nextSibling;)l.parentNode.removeChild(l.nextSibling);l.pmViewDesc&&(l.pmViewDesc=void 0)}let a=new f1(this,l,n,i);e.input.compositionNodes.push(a),this.children=g1(this.children,r,r+i.length,e,a)}update(e,n,r,i){return this.dirty==tr||!e.sameMarkup(this.node)?!1:(this.updateInner(e,n,r,i),!0)}updateInner(e,n,r,i){this.updateOuterDeco(n),this.node=e,this.innerDeco=r,this.contentDOM&&this.updateChildren(i,this.posAtStart),this.dirty=gn}updateOuterDeco(e){if(Ah(e,this.outerDeco))return;let n=this.nodeDOM.nodeType!=1,r=this.dom;this.dom=U8(this.dom,this.nodeDOM,p1(this.outerDeco,this.node,n),p1(e,this.node,n)),this.dom!=r&&(r.pmViewDesc=void 0,this.dom.pmViewDesc=this),this.outerDeco=e}selectNode(){this.nodeDOM.nodeType==1&&this.nodeDOM.classList.add("ProseMirror-selectednode"),(this.contentDOM||!this.node.type.spec.draggable)&&(this.dom.draggable=!0)}deselectNode(){this.nodeDOM.nodeType==1&&(this.nodeDOM.classList.remove("ProseMirror-selectednode"),(this.contentDOM||!this.node.type.spec.draggable)&&this.dom.removeAttribute("draggable"))}get domAtom(){return this.node.isAtom}};u(Bp,"NodeViewDesc");let Si=Bp;function j8(t,e,n,r,i){Y8(r,e,t);let l=new Si(void 0,t,e,n,r,r,r,i,0);return l.contentDOM&&l.updateChildren(i,0),l}u(j8,"docViewDesc");const Vp=class Vp extends Si{constructor(e,n,r,i,l,a,o){super(e,n,r,i,l,null,a,o,0)}parseRule(){let e=this.nodeDOM.parentNode;for(;e&&e!=this.dom&&!e.pmIsDeco;)e=e.parentNode;return{skip:e||!0}}update(e,n,r,i){return this.dirty==tr||this.dirty!=gn&&!this.inParent()||!e.sameMarkup(this.node)?!1:(this.updateOuterDeco(n),(this.dirty!=gn||e.text!=this.node.text)&&e.text!=this.nodeDOM.nodeValue&&(this.nodeDOM.nodeValue=e.text,i.trackWrites==this.nodeDOM&&(i.trackWrites=null)),this.node=e,this.dirty=gn,!0)}inParent(){let e=this.parent.contentDOM;for(let n=this.nodeDOM;n;n=n.parentNode)if(n==e)return!0;return!1}domFromPos(e){return{node:this.nodeDOM,offset:e}}localPosFromDOM(e,n,r){return e==this.nodeDOM?this.posAtStart+Math.min(n,this.node.text.length):super.localPosFromDOM(e,n,r)}ignoreMutation(e){return e.type!="characterData"&&e.type!="selection"}slice(e,n,r){let i=this.node.cut(e,n),l=document.createTextNode(i.text);return new Vp(this.parent,i,this.outerDeco,this.innerDeco,l,l,r)}markDirty(e,n){super.markDirty(e,n),this.dom!=this.nodeDOM&&(e==0||n==this.nodeDOM.nodeValue.length)&&(this.dirty=tr)}get domAtom(){return!1}isText(e){return this.node.text==e}};u(Vp,"TextViewDesc");let Ph=Vp;const Lv=class Lv extends $l{parseRule(){return{ignore:!0}}matchesHack(e){return this.dirty==gn&&this.dom.nodeName==e}get domAtom(){return!0}get ignoreForCoords(){return this.dom.nodeName=="IMG"}};u(Lv,"TrailingHackViewDesc");let Eh=Lv;const Wv=class Wv extends Si{constructor(e,n,r,i,l,a,o,s,c,d){super(e,n,r,i,l,a,o,c,d),this.spec=s}update(e,n,r,i){if(this.dirty==tr)return!1;if(this.spec.update){let l=this.spec.update(e,n,r);return l&&this.updateInner(e,n,r,i),l}else return!this.contentDOM&&!e.isLeaf?!1:super.update(e,n,r,i)}selectNode(){this.spec.selectNode?this.spec.selectNode():super.selectNode()}deselectNode(){this.spec.deselectNode?this.spec.deselectNode():super.deselectNode()}setSelection(e,n,r,i){this.spec.setSelection?this.spec.setSelection(e,n,r):super.setSelection(e,n,r,i)}destroy(){this.spec.destroy&&this.spec.destroy(),super.destroy()}stopEvent(e){return this.spec.stopEvent?this.spec.stopEvent(e):!1}ignoreMutation(e){return this.spec.ignoreMutation?this.spec.ignoreMutation(e):super.ignoreMutation(e)}};u(Wv,"CustomNodeViewDesc");let h1=Wv;function q8(t,e,n){let r=t.firstChild,i=!1;for(let l=0;l>1,a=Math.min(l,e.length);for(;i-1)o>this.index&&(this.changed=!0,this.destroyBetween(this.index,o)),this.top=this.top.children[this.index];else{let s=Ga.create(this.top,e[l],n,r);this.top.children.splice(this.index,0,s),this.top=s,this.changed=!0}this.index=0,l++}}findNodeMatch(e,n,r,i){let l=-1,a;if(i>=this.preMatch.index&&(a=this.preMatch.matches[i-this.preMatch.index]).parent==this.top&&a.matchesNode(e,n,r))l=this.top.children.indexOf(a,this.index);else for(let o=this.index,s=Math.min(this.top.children.length,o+5);o0;){let o;for(;;)if(r){let c=n.children[r-1];if(c instanceof Ga)n=c,r=c.children.length;else{o=c,r--;break}}else{if(n==e)break e;r=n.parent.children.indexOf(n),n=n.parent}let s=o.node;if(s){if(s!=t.child(i-1))break;--i,l.set(o,i),a.push(o)}}return{index:i,matched:l,matches:a.reverse()}}u(DK,"preMatch");function kK(t,e){return t.type.side-e.type.side}u(kK,"compareSide");function PK(t,e,n,r){let i=e.locals(t),l=0;if(i.length==0){for(let c=0;cl;)o.push(i[a++]);let m=l+h.nodeSize;if(h.isText){let O=m;a!O.inline):o.slice();r(h,g,e.forChild(l,h),p),l=m}}u(PK,"iterDeco");function EK(t){if(t.nodeName=="UL"||t.nodeName=="OL"){let e=t.style.cssText;t.style.cssText=e+"; list-style: square !important",window.getComputedStyle(t).listStyle,t.style.cssText=e}}u(EK,"iosHacks");function AK(t,e,n,r){for(let i=0,l=0;i=n){if(l>=r&&s.slice(r-e.length-o,r-o)==e)return r-e.length;let c=o=0&&c+e.length+o>=n)return o+c;if(n==r&&s.length>=r+e.length-o&&s.slice(r-o,r-o+e.length)==e)return r}}return-1}u(AK,"findTextInFragment");function g1(t,e,n,r,i){let l=[];for(let a=0,o=0;a=n||d<=e?l.push(s):(cn&&l.push(s.slice(n-c,s.size,r)))}return l}u(g1,"replaceNodes");function O1(t,e=null){let n=t.domSelectionRange(),r=t.state.doc;if(!n.focusNode)return null;let i=t.docView.nearestDesc(n.focusNode),l=i&&i.size==0,a=t.docView.posFromDOM(n.focusNode,n.focusOffset,1);if(a<0)return null;let o=r.resolve(a),s,c;if(Dh(n)){for(s=a;i&&!i.node;)i=i.parent;let f=i.node;if(i&&f.isAtom&&ae.isSelectable(f)&&i.parent&&!(f.isInline&&lK(n.focusNode,n.focusOffset,i.dom))){let h=i.posBefore;c=new ae(a==h?o:r.resolve(h))}}else{if(n instanceof t.dom.ownerDocument.defaultView.Selection&&n.rangeCount>1){let f=a,h=a;for(let p=0;p{(n.anchorNode!=r||n.anchorOffset!=i)&&(e.removeEventListener("selectionchange",t.input.hideSelectionGuard),setTimeout(()=>{(!G8(t)||t.state.selection.visible)&&t.dom.classList.remove("ProseMirror-hideselection")},20))})}u(TK,"removeClassOnSelectionChange");function RK(t){let e=t.domSelection(),n=document.createRange();if(!e)return;let r=t.cursorWrapper.dom,i=r.nodeName=="IMG";i?n.setStart(r.parentNode,tt(r)+1):n.setStart(r,0),n.collapse(!0),e.removeAllRanges(),e.addRange(n),!i&&!t.state.selection.visible&&Bt&&wi<=11&&(r.disabled=!0,r.disabled=!1)}u(RK,"selectCursorWrapper");function eR(t,e){if(e instanceof ae){let n=t.docView.descAt(e.from);n!=t.lastSelectedViewDesc&&(tR(t),n&&n.selectNode(),t.lastSelectedViewDesc=n)}else tR(t)}u(eR,"syncNodeSelection");function tR(t){t.lastSelectedViewDesc&&(t.lastSelectedViewDesc.parent&&t.lastSelectedViewDesc.deselectNode(),t.lastSelectedViewDesc=void 0)}u(tR,"clearNodeSelection");function y1(t,e,n,r){return t.someProp("createSelectionBetween",i=>i(t,e,n))||ye.between(e,n,r)}u(y1,"selectionBetween");function nR(t){return t.editable&&!t.hasFocus()?!1:rR(t)}u(nR,"hasFocusAndSelection");function rR(t){let e=t.domSelectionRange();if(!e.anchorNode)return!1;try{return t.dom.contains(e.anchorNode.nodeType==3?e.anchorNode.parentNode:e.anchorNode)&&(t.editable||t.dom.contains(e.focusNode.nodeType==3?e.focusNode.parentNode:e.focusNode))}catch{return!1}}u(rR,"hasSelection");function QK(t){let e=t.docView.domFromPos(t.state.selection.anchor,0),n=t.domSelectionRange();return bl(e.node,e.offset,n.anchorNode,n.anchorOffset)}u(QK,"anchorInRightPlace");function v1(t,e){let{$anchor:n,$head:r}=t.selection,i=e>0?n.max(r):n.min(r),l=i.parent.inlineContent?i.depth?t.doc.resolve(e>0?i.after():i.before()):null:i;return l&&ce.findFrom(l,e)}u(v1,"moveSelectionBlock");function Ci(t,e){return t.dispatch(t.state.tr.setSelection(e).scrollIntoView()),!0}u(Ci,"apply");function iR(t,e,n){let r=t.state.selection;if(r instanceof ye)if(n.indexOf("s")>-1){let{$head:i}=r,l=i.textOffset?null:e<0?i.nodeBefore:i.nodeAfter;if(!l||l.isText||!l.isLeaf)return!1;let a=t.state.doc.resolve(i.pos+l.nodeSize*(e<0?-1:1));return Ci(t,new ye(r.$anchor,a))}else if(r.empty){if(t.endOfTextblock(e>0?"forward":"backward")){let i=v1(t.state,e);return i&&i instanceof ae?Ci(t,i):!1}else if(!(mn&&n.indexOf("m")>-1)){let i=r.$head,l=i.textOffset?null:e<0?i.nodeBefore:i.nodeAfter,a;if(!l||l.isText)return!1;let o=e<0?i.pos-l.nodeSize:i.pos;return l.isAtom||(a=t.docView.descAt(o))&&!a.contentDOM?ae.isSelectable(l)?Ci(t,new ae(e<0?t.state.doc.resolve(i.pos-l.nodeSize):i)):$u?Ci(t,new ye(t.state.doc.resolve(e<0?o:o+l.nodeSize))):!1:!1}}else return!1;else{if(r instanceof ae&&r.node.isInline)return Ci(t,new ye(e>0?r.$to:r.$from));{let i=v1(t.state,e);return i?Ci(t,i):!1}}}u(iR,"selectHorizontally");function Th(t){return t.nodeType==3?t.nodeValue.length:t.childNodes.length}u(Th,"nodeLen");function Su(t,e){let n=t.pmViewDesc;return n&&n.size==0&&(e<0||t.nextSibling||t.nodeName!="BR")}u(Su,"isIgnorable");function Ha(t,e){return e<0?MK(t):BK(t)}u(Ha,"skipIgnoredNodes");function MK(t){let e=t.domSelectionRange(),n=e.focusNode,r=e.focusOffset;if(!n)return;let i,l,a=!1;for(En&&n.nodeType==1&&r0){if(n.nodeType!=1)break;{let o=n.childNodes[r-1];if(Su(o,-1))i=n,l=--r;else if(o.nodeType==3)n=o,r=n.nodeValue.length;else break}}else{if(lR(n))break;{let o=n.previousSibling;for(;o&&Su(o,-1);)i=n.parentNode,l=tt(o),o=o.previousSibling;if(o)n=o,r=Th(n);else{if(n=n.parentNode,n==t.dom)break;r=0}}}a?$1(t,n,r):i&&$1(t,i,l)}u(MK,"skipIgnoredNodesBefore");function BK(t){let e=t.domSelectionRange(),n=e.focusNode,r=e.focusOffset;if(!n)return;let i=Th(n),l,a;for(;;)if(r{t.state==i&&Nr(t)},50)}u($1,"setSelFocus");function aR(t,e){let n=t.state.doc.resolve(e);if(!(ut||sK)&&n.parent.inlineContent){let i=t.coordsAtPos(e);if(e>n.start()){let l=t.coordsAtPos(e-1),a=(l.top+l.bottom)/2;if(a>i.top&&a1)return l.lefti.top&&a1)return l.left>i.left?"ltr":"rtl"}}return getComputedStyle(t.dom).direction=="rtl"?"rtl":"ltr"}u(aR,"findDirection");function oR(t,e,n){let r=t.state.selection;if(r instanceof ye&&!r.empty||n.indexOf("s")>-1||mn&&n.indexOf("m")>-1)return!1;let{$from:i,$to:l}=r;if(!i.parent.inlineContent||t.endOfTextblock(e<0?"up":"down")){let a=v1(t.state,e);if(a&&a instanceof ae)return Ci(t,a)}if(!i.parent.inlineContent){let a=e<0?i:l,o=r instanceof Pn?ce.near(a,e):ce.findFrom(a,e);return o?Ci(t,o):!1}return!1}u(oR,"selectVertically");function sR(t,e){if(!(t.state.selection instanceof ye))return!0;let{$head:n,$anchor:r,empty:i}=t.state.selection;if(!n.sameParent(r))return!0;if(!i)return!1;if(t.endOfTextblock(e>0?"forward":"backward"))return!0;let l=!n.textOffset&&(e<0?n.nodeBefore:n.nodeAfter);if(l&&!l.isText){let a=t.state.tr;return e<0?a.delete(n.pos-l.nodeSize,n.pos):a.delete(n.pos,n.pos+l.nodeSize),t.dispatch(a),!0}return!1}u(sR,"stopNativeHorizontalDelete");function uR(t,e,n){t.domObserver.stop(),e.contentEditable=n,t.domObserver.start()}u(uR,"switchEditable");function FK(t){if(!$t||t.state.selection.$head.parentOffset>0)return!1;let{focusNode:e,focusOffset:n}=t.domSelectionRange();if(e&&e.nodeType==1&&n==0&&e.firstChild&&e.firstChild.contentEditable=="false"){let r=e.firstChild;uR(t,r,"true"),setTimeout(()=>uR(t,r,"false"),20)}return!1}u(FK,"safariDownArrowBug");function IK(t){let e="";return t.ctrlKey&&(e+="c"),t.metaKey&&(e+="m"),t.altKey&&(e+="a"),t.shiftKey&&(e+="s"),e}u(IK,"getMods");function ZK(t,e){let n=e.keyCode,r=IK(e);if(n==8||mn&&n==72&&r=="c")return sR(t,-1)||Ha(t,-1);if(n==46&&!e.shiftKey||mn&&n==68&&r=="c")return sR(t,1)||Ha(t,1);if(n==13||n==27)return!0;if(n==37||mn&&n==66&&r=="c"){let i=n==37?aR(t,t.state.selection.from)=="ltr"?-1:1:-1;return iR(t,i,r)||Ha(t,i)}else if(n==39||mn&&n==70&&r=="c"){let i=n==39?aR(t,t.state.selection.from)=="ltr"?1:-1:1;return iR(t,i,r)||Ha(t,i)}else{if(n==38||mn&&n==80&&r=="c")return oR(t,-1,r)||Ha(t,-1);if(n==40||mn&&n==78&&r=="c")return FK(t)||oR(t,1,r)||Ha(t,1);if(r==(mn?"m":"c")&&(n==66||n==73||n==89||n==90))return!0}return!1}u(ZK,"captureKeyDown");function cR(t,e){t.someProp("transformCopied",p=>{e=p(e,t)});let n=[],{content:r,openStart:i,openEnd:l}=e;for(;i>1&&l>1&&r.childCount==1&&r.firstChild.childCount==1;){i--,l--;let p=r.firstChild;n.push(p.type.name,p.attrs!=p.type.defaultAttrs?p.attrs:null),r=p.content}let a=t.someProp("clipboardSerializer")||Wa.fromSchema(t.state.schema),o=bR(),s=o.createElement("div");s.appendChild(a.serializeFragment(r,{document:o}));let c=s.firstChild,d,f=0;for(;c&&c.nodeType==1&&(d=gR[c.nodeName.toLowerCase()]);){for(let p=d.length-1;p>=0;p--){let m=o.createElement(d[p]);for(;s.firstChild;)m.appendChild(s.firstChild);s.appendChild(m),f++}c=s.firstChild}c&&c.nodeType==1&&c.setAttribute("data-pm-slice",`${i} ${l}${f?` -${f}`:""} ${JSON.stringify(n)}`);let h=t.someProp("clipboardTextSerializer",p=>p(e,t))||e.content.textBetween(0,e.content.size,` +}`,{label:"class",detail:"definition",type:"keyword"}),Mt('import {${names}} from "${module}"\n${}',{label:"import",detail:"named",type:"keyword"}),Mt('import ${name} from "${module}"\n${}',{label:"import",detail:"default",type:"keyword"})],Iq=YA.concat([Mt("interface ${name} {\n ${}\n}",{label:"interface",detail:"definition",type:"keyword"}),Mt("type ${name} = ${type}",{label:"type",detail:"definition",type:"keyword"}),Mt("enum ${name} {\n ${}\n}",{label:"enum",detail:"definition",type:"keyword"})]),KA=new bf,GA=new Set(["Script","Block","FunctionExpression","FunctionDeclaration","ArrowFunction","MethodDeclaration","ForStatement"]);function au(t){return(e,n)=>{let r=e.node.getChild("VariableDefinition");return r&&n(r,t),!0}}u(au,"defID");const Zq=["FunctionDeclaration"],zq={FunctionDeclaration:au("function"),ClassDeclaration:au("class"),ClassExpression:()=>!0,EnumDeclaration:au("constant"),TypeAliasDeclaration:au("type"),NamespaceDeclaration:au("namespace"),VariableDefinition(t,e){t.matchContext(Zq)||e(t,"variable")},TypeDefinition(t,e){e(t,"type")},__proto__:null};function HA(t,e){let n=KA.get(e);if(n)return n;let r=[],i=!0;function l(a,o){let s=t.sliceString(a.from,a.to);r.push({label:s,type:o})}return u(l,"def"),e.cursor(Ce.IncludeAnonymous).iterate(a=>{if(i)i=!1;else if(a.name){let o=zq[a.name];if(o&&o(a,l)||GA.has(a.name))return!1}else if(a.to-a.from>8192){for(let o of HA(t,a.node))r.push(o);return!1}}),KA.set(e,r),r}u(HA,"getScope");const _A=/^[\w$\xa1-\uffff][\w$\d\xa1-\uffff]*$/,JA=["TemplateString","String","RegExp","LineComment","BlockComment","VariableDefinition","TypeDefinition","Label","PropertyDefinition","PropertyName","PrivatePropertyDefinition","PrivatePropertyName",".","?."];function Lq(t){let e=Qe(t.state).resolveInner(t.pos,-1);if(JA.indexOf(e.name)>-1)return null;let n=e.name=="VariableName"||e.to-e.from<20&&_A.test(t.state.sliceDoc(e.from,e.to));if(!n&&!t.explicit)return null;let r=[];for(let i=e;i;i=i.parent)GA.has(i.name)&&(r=r.concat(HA(t.state.doc,i)));return{options:r,from:n?e.from:t.pos,validFor:_A}}u(Lq,"localCompletionSource");const Jn=Ls.define({name:"javascript",parser:Fq.configure({props:[Pf.add({IfStatement:Ef({except:/^\s*({|else\b)/}),TryStatement:Ef({except:/^\s*({|catch\b|finally\b)/}),LabeledStatement:qz,SwitchBody:t=>{let e=t.textAfter,n=/^\s*\}/.test(e),r=/^\s*(case|default)\b/.test(e);return t.baseIndent+(n?0:r?1:2)*t.unit},Block:jz({closing:"}"}),ArrowFunction:t=>t.baseIndent+t.unit,"TemplateString BlockComment":()=>null,"Statement Property":Ef({except:/^{/}),JSXElement(t){let e=/^\s*<\//.test(t.textAfter);return t.lineIndent(t.node.from)+(e?0:t.unit)},JSXEscape(t){let e=/\s*\}/.test(t.textAfter);return t.lineIndent(t.node.from)+(e?0:t.unit)},"JSXOpenTag JSXSelfClosingTag"(t){return t.column(t.node.from)+t.unit}}),Af.add({"Block ClassBody SwitchBody EnumBody ObjectExpression ArrayExpression ObjectType":M6,BlockComment(t){return{from:t.from+2,to:t.to-2}}})]}),languageData:{closeBrackets:{brackets:["(","[","{","'",'"',"`"]},commentTokens:{line:"//",block:{open:"/*",close:"*/"}},indentOnInput:/^\s*(?:case |default:|\{|\}|<\/)$/,wordChars:"$"}}),eT={test:t=>/^JSX/.test(t.name),facet:P6({commentTokens:{block:{open:"{/*",close:"*/}"}}})},tT=Jn.configure({dialect:"ts"},"typescript"),nT=Jn.configure({dialect:"jsx",props:[DO.add(t=>t.isTop?[eT]:void 0)]}),rT=Jn.configure({dialect:"jsx ts",props:[DO.add(t=>t.isTop?[eT]:void 0)]},"typescript");let iT=u(t=>({label:t,type:"keyword"}),"kwCompletion");const lT="break case const continue default delete export extends false finally in instanceof let new return static super switch this throw true typeof var yield".split(" ").map(iT),Wq=lT.concat(["declare","implements","private","protected","public"].map(iT));function Xq(t={}){let e=t.jsx?t.typescript?rT:nT:t.typescript?tT:Jn,n=t.typescript?Iq.concat(Wq):YA.concat(lT);return new js(e,[Jn.data.of({autocomplete:RW(JA,N7(n))}),Jn.data.of({autocomplete:Lq}),t.jsx?Uq:[]])}u(Xq,"javascript");function jq(t){for(;;){if(t.name=="JSXOpenTag"||t.name=="JSXSelfClosingTag"||t.name=="JSXFragmentTag")return t;if(t.name=="JSXEscape"||!t.parent)return null;t=t.parent}}u(jq,"findOpenTag");function aT(t,e,n=t.length){for(let r=e?.firstChild;r;r=r.nextSibling)if(r.name=="JSXIdentifier"||r.name=="JSXBuiltin"||r.name=="JSXNamespacedName"||r.name=="JSXMemberExpression")return t.sliceString(r.from,Math.min(r.to,n));return""}u(aT,"elementName$1");const qq=typeof navigator=="object"&&/Android\b/.test(navigator.userAgent),Uq=H.inputHandler.of((t,e,n,r,i)=>{if((qq?t.composing:t.compositionStarted)||t.state.readOnly||e!=n||r!=">"&&r!="/"||!Jn.isActiveAt(t.state,e,-1))return!1;let l=i(),{state:a}=l,o=a.changeByRange(s=>{var c;let{head:d}=s,f=Qe(a).resolveInner(d-1,-1),h;if(f.name=="JSXStartTag"&&(f=f.parent),!(a.doc.sliceString(d-1,d)!=r||f.name=="JSXAttributeValue"&&f.to>d)){if(r==">"&&f.name=="JSXFragmentTag")return{range:s,changes:{from:d,insert:""}};if(r=="/"&&f.name=="JSXStartCloseTag"){let p=f.parent,m=p.parent;if(m&&p.from==d-2&&((h=aT(a.doc,m.firstChild,d))||((c=m.firstChild)===null||c===void 0?void 0:c.name)=="JSXFragmentTag")){let g=`${h}>`;return{range:z.cursor(d+g.length,-1),changes:{from:d,insert:g}}}}else if(r==">"){let p=jq(f);if(p&&p.name=="JSXOpenTag"&&!/^\/?>|^<\//.test(a.doc.sliceString(d,d+2))&&(h=aT(a.doc,p,d)))return{range:s,changes:{from:d,insert:``}}}}return{range:s}});return o.changes.empty?!1:(t.dispatch([l,a.update(o,{userEvent:"input.complete",scrollIntoView:!0})]),!0)}),ou=["_blank","_self","_top","_parent"],Tb=["ascii","utf-8","utf-16","latin1","latin1"],Rb=["get","post","put","delete"],Qb=["application/x-www-form-urlencoded","multipart/form-data","text/plain"],Kt=["true","false"],ee={},Yq={a:{attrs:{href:null,ping:null,type:null,media:null,target:ou,hreflang:null}},abbr:ee,address:ee,area:{attrs:{alt:null,coords:null,href:null,target:null,ping:null,media:null,hreflang:null,type:null,shape:["default","rect","circle","poly"]}},article:ee,aside:ee,audio:{attrs:{src:null,mediagroup:null,crossorigin:["anonymous","use-credentials"],preload:["none","metadata","auto"],autoplay:["autoplay"],loop:["loop"],controls:["controls"]}},b:ee,base:{attrs:{href:null,target:ou}},bdi:ee,bdo:ee,blockquote:{attrs:{cite:null}},body:ee,br:ee,button:{attrs:{form:null,formaction:null,name:null,value:null,autofocus:["autofocus"],disabled:["autofocus"],formenctype:Qb,formmethod:Rb,formnovalidate:["novalidate"],formtarget:ou,type:["submit","reset","button"]}},canvas:{attrs:{width:null,height:null}},caption:ee,center:ee,cite:ee,code:ee,col:{attrs:{span:null}},colgroup:{attrs:{span:null}},command:{attrs:{type:["command","checkbox","radio"],label:null,icon:null,radiogroup:null,command:null,title:null,disabled:["disabled"],checked:["checked"]}},data:{attrs:{value:null}},datagrid:{attrs:{disabled:["disabled"],multiple:["multiple"]}},datalist:{attrs:{data:null}},dd:ee,del:{attrs:{cite:null,datetime:null}},details:{attrs:{open:["open"]}},dfn:ee,div:ee,dl:ee,dt:ee,em:ee,embed:{attrs:{src:null,type:null,width:null,height:null}},eventsource:{attrs:{src:null}},fieldset:{attrs:{disabled:["disabled"],form:null,name:null}},figcaption:ee,figure:ee,footer:ee,form:{attrs:{action:null,name:null,"accept-charset":Tb,autocomplete:["on","off"],enctype:Qb,method:Rb,novalidate:["novalidate"],target:ou}},h1:ee,h2:ee,h3:ee,h4:ee,h5:ee,h6:ee,head:{children:["title","base","link","style","meta","script","noscript","command"]},header:ee,hgroup:ee,hr:ee,html:{attrs:{manifest:null}},i:ee,iframe:{attrs:{src:null,srcdoc:null,name:null,width:null,height:null,sandbox:["allow-top-navigation","allow-same-origin","allow-forms","allow-scripts"],seamless:["seamless"]}},img:{attrs:{alt:null,src:null,ismap:null,usemap:null,width:null,height:null,crossorigin:["anonymous","use-credentials"]}},input:{attrs:{alt:null,dirname:null,form:null,formaction:null,height:null,list:null,max:null,maxlength:null,min:null,name:null,pattern:null,placeholder:null,size:null,src:null,step:null,value:null,width:null,accept:["audio/*","video/*","image/*"],autocomplete:["on","off"],autofocus:["autofocus"],checked:["checked"],disabled:["disabled"],formenctype:Qb,formmethod:Rb,formnovalidate:["novalidate"],formtarget:ou,multiple:["multiple"],readonly:["readonly"],required:["required"],type:["hidden","text","search","tel","url","email","password","datetime","date","month","week","time","datetime-local","number","range","color","checkbox","radio","file","submit","image","reset","button"]}},ins:{attrs:{cite:null,datetime:null}},kbd:ee,keygen:{attrs:{challenge:null,form:null,name:null,autofocus:["autofocus"],disabled:["disabled"],keytype:["RSA"]}},label:{attrs:{for:null,form:null}},legend:ee,li:{attrs:{value:null}},link:{attrs:{href:null,type:null,hreflang:null,media:null,sizes:["all","16x16","16x16 32x32","16x16 32x32 64x64"]}},map:{attrs:{name:null}},mark:ee,menu:{attrs:{label:null,type:["list","context","toolbar"]}},meta:{attrs:{content:null,charset:Tb,name:["viewport","application-name","author","description","generator","keywords"],"http-equiv":["content-language","content-type","default-style","refresh"]}},meter:{attrs:{value:null,min:null,low:null,high:null,max:null,optimum:null}},nav:ee,noscript:ee,object:{attrs:{data:null,type:null,name:null,usemap:null,form:null,width:null,height:null,typemustmatch:["typemustmatch"]}},ol:{attrs:{reversed:["reversed"],start:null,type:["1","a","A","i","I"]},children:["li","script","template","ul","ol"]},optgroup:{attrs:{disabled:["disabled"],label:null}},option:{attrs:{disabled:["disabled"],label:null,selected:["selected"],value:null}},output:{attrs:{for:null,form:null,name:null}},p:ee,param:{attrs:{name:null,value:null}},pre:ee,progress:{attrs:{value:null,max:null}},q:{attrs:{cite:null}},rp:ee,rt:ee,ruby:ee,samp:ee,script:{attrs:{type:["text/javascript"],src:null,async:["async"],defer:["defer"],charset:Tb}},section:ee,select:{attrs:{form:null,name:null,size:null,autofocus:["autofocus"],disabled:["disabled"],multiple:["multiple"]}},slot:{attrs:{name:null}},small:ee,source:{attrs:{src:null,type:null,media:null}},span:ee,strong:ee,style:{attrs:{type:["text/css"],media:null,scoped:null}},sub:ee,summary:ee,sup:ee,table:ee,tbody:ee,td:{attrs:{colspan:null,rowspan:null,headers:null}},template:ee,textarea:{attrs:{dirname:null,form:null,maxlength:null,name:null,placeholder:null,rows:null,cols:null,autofocus:["autofocus"],disabled:["disabled"],readonly:["readonly"],required:["required"],wrap:["soft","hard"]}},tfoot:ee,th:{attrs:{colspan:null,rowspan:null,headers:null,scope:["row","col","rowgroup","colgroup"]}},thead:ee,time:{attrs:{datetime:null}},title:ee,tr:ee,track:{attrs:{src:null,label:null,default:null,kind:["subtitles","captions","descriptions","chapters","metadata"],srclang:null}},ul:{children:["li","script","template","ul","ol"]},var:ee,video:{attrs:{src:null,poster:null,width:null,height:null,crossorigin:["anonymous","use-credentials"],preload:["auto","metadata","none"],autoplay:["autoplay"],mediagroup:["movie"],muted:["muted"],controls:["controls"]}},wbr:ee},oT={accesskey:null,class:null,contenteditable:Kt,contextmenu:null,dir:["ltr","rtl","auto"],draggable:["true","false","auto"],dropzone:["copy","move","link","string:","file:"],hidden:["hidden"],id:null,inert:["inert"],itemid:null,itemprop:null,itemref:null,itemscope:["itemscope"],itemtype:null,lang:["ar","bn","de","en-GB","en-US","es","fr","hi","id","ja","pa","pt","ru","tr","zh"],spellcheck:Kt,autocorrect:Kt,autocapitalize:Kt,style:null,tabindex:null,title:null,translate:["yes","no"],rel:["stylesheet","alternate","author","bookmark","help","license","next","nofollow","noreferrer","prefetch","prev","search","tag"],role:"alert application article banner button cell checkbox complementary contentinfo dialog document feed figure form grid gridcell heading img list listbox listitem main navigation region row rowgroup search switch tab table tabpanel textbox timer".split(" "),"aria-activedescendant":null,"aria-atomic":Kt,"aria-autocomplete":["inline","list","both","none"],"aria-busy":Kt,"aria-checked":["true","false","mixed","undefined"],"aria-controls":null,"aria-describedby":null,"aria-disabled":Kt,"aria-dropeffect":null,"aria-expanded":["true","false","undefined"],"aria-flowto":null,"aria-grabbed":["true","false","undefined"],"aria-haspopup":Kt,"aria-hidden":Kt,"aria-invalid":["true","false","grammar","spelling"],"aria-label":null,"aria-labelledby":null,"aria-level":null,"aria-live":["off","polite","assertive"],"aria-multiline":Kt,"aria-multiselectable":Kt,"aria-owns":null,"aria-posinset":null,"aria-pressed":["true","false","mixed","undefined"],"aria-readonly":Kt,"aria-relevant":null,"aria-required":Kt,"aria-selected":["true","false","undefined"],"aria-setsize":null,"aria-sort":["ascending","descending","none","other"],"aria-valuemax":null,"aria-valuemin":null,"aria-valuenow":null,"aria-valuetext":null},sT="beforeunload copy cut dragstart dragover dragleave dragenter dragend drag paste focus blur change click load mousedown mouseenter mouseleave mouseup keydown keyup resize scroll unload".split(" ").map(t=>"on"+t);for(let t of sT)oT[t]=null;let th=(dc=class{constructor(e,n){this.tags=Object.assign(Object.assign({},Yq),e),this.globalAttrs=Object.assign(Object.assign({},oT),n),this.allTags=Object.keys(this.tags),this.globalAttrNames=Object.keys(this.globalAttrs)}},u(dc,"Schema"),dc);th.default=new th;function Fa(t,e,n=t.length){if(!e)return"";let r=e.firstChild,i=r&&r.getChild("TagName");return i?t.sliceString(i.from,Math.min(i.to,n)):""}u(Fa,"elementName");function Ia(t,e=!1){for(;t;t=t.parent)if(t.name=="Element")if(e)e=!1;else return t;return null}u(Ia,"findParentElement");function uT(t,e,n){let r=n.tags[Fa(t,Ia(e))];return r?.children||n.allTags}u(uT,"allowedChildren");function Mb(t,e){let n=[];for(let r=Ia(e);r&&!r.type.isTop;r=Ia(r.parent)){let i=Fa(t,r);if(i&&r.lastChild.name=="CloseTag")break;i&&n.indexOf(i)<0&&(e.name=="EndTag"||e.from>=r.firstChild.to)&&n.push(i)}return n}u(Mb,"openTags");const cT=/^[:\-\.\w\u00b7-\uffff]*$/;function dT(t,e,n,r,i){let l=/\s*>/.test(t.sliceDoc(i,i+5))?"":">",a=Ia(n,!0);return{from:r,to:i,options:uT(t.doc,a,e).map(o=>({label:o,type:"type"})).concat(Mb(t.doc,n).map((o,s)=>({label:"/"+o,apply:"/"+o+l,type:"type",boost:99-s}))),validFor:/^\/?[:\-\.\w\u00b7-\uffff]*$/}}u(dT,"completeTag");function fT(t,e,n,r){let i=/\s*>/.test(t.sliceDoc(r,r+5))?"":">";return{from:n,to:r,options:Mb(t.doc,e).map((l,a)=>({label:l,apply:l+i,type:"type",boost:99-a})),validFor:cT}}u(fT,"completeCloseTag");function Kq(t,e,n,r){let i=[],l=0;for(let a of uT(t.doc,n,e))i.push({label:"<"+a,type:"type"});for(let a of Mb(t.doc,n))i.push({label:"",type:"type",boost:99-l++});return{from:r,to:r,options:i,validFor:/^<\/?[:\-\.\w\u00b7-\uffff]*$/}}u(Kq,"completeStartTag");function Gq(t,e,n,r,i){let l=Ia(n),a=l?e.tags[Fa(t.doc,l)]:null,o=a&&a.attrs?Object.keys(a.attrs):[],s=a&&a.globalAttrs===!1?o:o.length?o.concat(e.globalAttrNames):e.globalAttrNames;return{from:r,to:i,options:s.map(c=>({label:c,type:"property"})),validFor:cT}}u(Gq,"completeAttrName");function Hq(t,e,n,r,i){var l;let a=(l=n.parent)===null||l===void 0?void 0:l.getChild("AttributeName"),o=[],s;if(a){let c=t.sliceDoc(a.from,a.to),d=e.globalAttrs[c];if(!d){let f=Ia(n),h=f?e.tags[Fa(t.doc,f)]:null;d=h?.attrs&&h.attrs[c]}if(d){let f=t.sliceDoc(r,i).toLowerCase(),h='"',p='"';/^['"]/.test(f)?(s=f[0]=='"'?/^[^"]*$/:/^[^']*$/,h="",p=t.sliceDoc(i,i+1)==f[0]?"":f[0],f=f.slice(1),r++):s=/^[^\s<>='"]*$/;for(let m of d)o.push({label:m,apply:h+m+p,type:"constant"})}}return{from:r,to:i,options:o,validFor:s}}u(Hq,"completeAttrValue");function _q(t,e){let{state:n,pos:r}=e,i=Qe(n).resolveInner(r,-1),l=i.resolve(r);for(let a=r,o;l==i&&(o=i.childBefore(a));){let s=o.lastChild;if(!s||!s.type.isError||s.from_q(r,i)}u(Jq,"htmlCompletionSourceWith");const eU=Jn.parser.configure({top:"SingleExpression"}),hT=[{tag:"script",attrs:t=>t.type=="text/typescript"||t.lang=="ts",parser:tT.parser},{tag:"script",attrs:t=>t.type=="text/babel"||t.type=="text/jsx",parser:nT.parser},{tag:"script",attrs:t=>t.type=="text/typescript-jsx",parser:rT.parser},{tag:"script",attrs(t){return/^(importmap|speculationrules|application\/(.+\+)?json)$/i.test(t.type)},parser:eU},{tag:"script",attrs(t){return!t.type||/^(?:text|application)\/(?:x-)?(?:java|ecma)script$|^module$|^$/i.test(t.type)},parser:Jn.parser},{tag:"style",attrs(t){return(!t.lang||t.lang=="css")&&(!t.type||/^(text\/)?(x-)?(stylesheet|css)$/i.test(t.type))},parser:eh.parser}],pT=[{name:"style",parser:eh.parser.configure({top:"Styles"})}].concat(sT.map(t=>({name:t,parser:Jn.parser}))),mT=Ls.define({name:"html",parser:Vj.configure({props:[Pf.add({Element(t){let e=/^(\s*)(<\/)?/.exec(t.textAfter);return t.node.to<=t.pos+e[0].length?t.continue():t.lineIndent(t.node.from)+(e[2]?0:t.unit)},"OpenTag CloseTag SelfClosingTag"(t){return t.column(t.node.from)+t.unit},Document(t){if(t.pos+/\s*/.exec(t.textAfter)[0].lengtht.getChild("TagName")})]}),languageData:{commentTokens:{block:{open:""}},indentOnInput:/^\s*<\/\w+\W$/,wordChars:"-._"}}),nh=mT.configure({wrap:VA(hT,pT)});function tU(t={}){let e="",n;t.matchClosingTags===!1&&(e="noMatch"),t.selfClosingTags===!0&&(e=(e?e+" ":"")+"selfClosing"),(t.nestedLanguages&&t.nestedLanguages.length||t.nestedAttributes&&t.nestedAttributes.length)&&(n=VA((t.nestedLanguages||[]).concat(hT),(t.nestedAttributes||[]).concat(pT)));let r=n?mT.configure({wrap:n,dialect:e}):e?nh.configure({dialect:e}):nh;return new js(r,[nh.data.of({autocomplete:Jq(t)}),t.autoCloseTags!==!1?nU:[],Xq().support,cq().support])}u(tU,"html");const gT=new Set("area base br col command embed frame hr img input keygen link meta param source track wbr menuitem".split(" ")),nU=H.inputHandler.of((t,e,n,r,i)=>{if(t.composing||t.state.readOnly||e!=n||r!=">"&&r!="/"||!nh.isActiveAt(t.state,e,-1))return!1;let l=i(),{state:a}=l,o=a.changeByRange(s=>{var c,d,f;let h=a.doc.sliceString(s.from-1,s.to)==r,{head:p}=s,m=Qe(a).resolveInner(p,-1),g;if(h&&r==">"&&m.name=="EndTag"){let O=m.parent;if(((d=(c=O.parent)===null||c===void 0?void 0:c.lastChild)===null||d===void 0?void 0:d.name)!="CloseTag"&&(g=Fa(a.doc,O.parent,p))&&!gT.has(g)){let b=p+(a.doc.sliceString(p,p+1)===">"?1:0),y=``;return{range:s,changes:{from:p,to:b,insert:y}}}}else if(h&&r=="/"&&m.name=="IncompleteCloseTag"){let O=m.parent;if(m.from==p-2&&((f=O.lastChild)===null||f===void 0?void 0:f.name)!="CloseTag"&&(g=Fa(a.doc,O,p))&&!gT.has(g)){let b=p+(a.doc.sliceString(p,p+1)===">"?1:0),y=`${g}>`;return{range:z.cursor(p+y.length,-1),changes:{from:p,to:b,insert:y}}}}return{range:s}});return o.changes.empty?!1:(t.dispatch([l,a.update(o,{userEvent:"input.complete",scrollIntoView:!0})]),!0)});var rU=Object.defineProperty,OT=u((t,e)=>rU(t,"name",{value:e,configurable:!0}),"i$e");const iU=OT((t,e=!1)=>{const n=[KZ(),_Z(),xZ(),EL(),iL(),mZ(),qs.of(" "),Yz(),pL(),aX(),gX(),MZ(),NZ(),kZ(),yX(),af.of([AW,...uX,...EW,...FL,...tL,...nA]),tU(),aL(sL,{fallback:!0}),H.updateListener.of(r=>{r.docChanged&&e&&e(r.state.doc.toString())}),H.lineWrapping];return Be.create({doc:t,extensions:n})},"createEditorState"),lU=OT((t,e)=>new H({state:t,parent:e,lineWrapping:!0}),"createEditorView");var aU=Object.defineProperty,oU=u((t,e)=>aU(t,"name",{value:e,configurable:!0}),"i$d");const bT=oU(t=>{const[e,n]=wp.element.useState(t.value??""),r=wp.element.useRef(null),i=wp.element.useRef(null);return wp.element.useEffect(()=>{t.onChange&&t.onChange(e)},[e]),wp.element.useEffect(()=>{if(i.current)return;const l=iU(t.value??"",n);i.current=lU(l,r.current)},[r.current]),wp.element.createElement("div",{className:"tf-code"},wp.element.createElement("div",{className:"tf-code-editor",ref:r}))},"Editor");var sU=Object.defineProperty,uU=u((t,e)=>sU(t,"name",{value:e,configurable:!0}),"n$8");const cU=uU(t=>{const e=wp.element.useRef(null),[n,r]=wp.element.useState(t.value??""),{labelProps:i,inputProps:l,descriptionProps:a}=wr(t,e);return wp.element.useEffect(()=>{t.onChange&&t.onChange(n)},[n]),wp.element.createElement("div",{className:"tf-code"},t.label&&wp.element.createElement(we,{labelProps:i,parent:t},t.label),wp.element.createElement("input",{...l,type:"hidden",value:n,ref:e,name:t.name??""}),wp.element.createElement(bT,{...t,value:n,onChange:r}),t.description&&wp.element.createElement($e,{descriptionProps:a,parent:t},t.description))},"Code");var dU=Object.defineProperty,fU=u((t,e)=>dU(t,"name",{value:e,configurable:!0}),"c$d");const hU=fU(t=>{const e=wp.element.useRef(null),n=wp.element.useRef(null),r=wp.element.useRef(null),i=AB(t),{colorAreaProps:l,gradientProps:a,xInputProps:o,yInputProps:s,thumbProps:c}=XB({...t,inputXRef:e,inputYRef:n,containerRef:r},i),{focusProps:d}=Qo();return wp.element.createElement("div",{className:"tf-color-area",ref:r,style:l.style,...l},wp.element.createElement("div",{className:"tf-color-area-gradient",style:a?.style,...a}),wp.element.createElement("div",{className:"tf-color-area-thumb",style:{...c.style,background:i.getDisplayColor().toString("css")},...c},wp.element.createElement("input",{ref:e,...o,...d}),wp.element.createElement("input",{ref:n,...s,...d})))},"ColorArea");var pU=Object.defineProperty,mU=u((t,e)=>pU(t,"name",{value:e,configurable:!0}),"c$c");const yT=mU(t=>{const{locale:e}=Ee(),n=BB({...t,locale:e}),r=wp.element.useRef(),i=wp.element.useRef(),l=t.label||n.value.getChannelName(t.channel,e),{trackProps:a,thumbProps:o,inputProps:s,labelProps:c,outputProps:d}=UB({...t,label:l,trackRef:r,inputRef:i},n),{focusProps:f}=Qo();return wp.element.createElement("div",{className:"tf-color-slider"},wp.element.createElement("div",{className:"tf-color-slider-label"},wp.element.createElement("label",{...c},l),wp.element.createElement("output",{...d},n.value.formatChannelValue(t.channel,e))),wp.element.createElement("div",{className:"tf-color-slider-container",ref:r,style:a.style,...a},wp.element.createElement("div",{className:"tf-color-area-thumb",style:{...o.style,background:n.getDisplayColor().toString("css")},...o},wp.element.createElement(on,null,wp.element.createElement("input",{ref:i,...s,...f})))))},"ColorSlider");var gU=Object.defineProperty,OU=u((t,e)=>gU(t,"name",{value:e,configurable:!0}),"t$6");const vT=OU(t=>{const[e,n]=wp.element.useState(an(t.value&&t.value!==""?t.value:"rgba(255, 255, 255, 1)").toHSB()),[r,i,l]=e.getColorChannels(),[a,o]=wp.element.useState(t.value);wp.element.useEffect(()=>{o(t.value)},[t.value]),wp.element.useEffect(()=>{t.onChange&&t.onChange(e)},[e]);const{focusWithinProps:s}=Nt({onFocusWithinChange:d=>{t.onFocusChange&&t.onFocusChange(d)}}),c=t.hasAlpha??!0;return wp.element.createElement("div",{className:"tf-color-picker",...s},wp.element.createElement(rs,null,wp.element.createElement(jc,{autoFocus:!0,restoreFocus:!0},wp.element.createElement(hU,{"aria-labelledby":"hsb-label-id-1",value:e,onChange:n,xChannel:i,yChannel:l}),wp.element.createElement("div",{className:"tf-color-input"},wp.element.createElement("label",null,"Color"),wp.element.createElement("input",{type:"text",value:a,onChange:d=>{o(d.target.value)},onBlur:d=>{t.onChange(d.target.value)}})),wp.element.createElement("div",{className:"tf-color-sliders"},wp.element.createElement(yT,{channel:r,value:e,onChange:n}),c&&wp.element.createElement(yT,{channel:"alpha",value:e,onChange:n})))))},"ColorPicker");var bU=Object.defineProperty,yU=u((t,e)=>bU(t,"name",{value:e,configurable:!0}),"c$b");const vU=wp.element.forwardRef(({inputProps:t,state:e,...n},r)=>{const[i,l]=wp.element.useState(!1),a=n.format??"hexa",o=wp.element.useRef(),s=yU(c=>{const d=c.toString?c.toString(a):"";e.setInputValue(d),n.onChange&&n.onChange(d)},"onChange");return wp.element.useEffect(()=>e.setInputValue(e.colorValue?.toString(a)),[]),wp.element.createElement("div",{className:"tf-color-container",ref:o},wp.element.createElement("input",{ref:r,...t,onClick:()=>l(!0),value:e.inputValue??""}),i&&wp.element.createElement(kr,{state:{isOpen:i,close:()=>l(!1)},triggerRef:r,placement:"bottom start",style:{width:o?.current?.offsetWidth},className:"tf-color-popover"},wp.element.createElement(vT,{value:e.colorValue?.toString(a),onChange:s,hasAlpha:n.hasAlpha??!0,onFocusChange:c=>l(c)})))});var $U=Object.defineProperty,wU=u((t,e)=>$U(t,"name",{value:e,configurable:!0}),"i$c");const $T=wU(t=>{const e={...t,value:t.value&&t.value!==""?t.value:"#FFFFFF"},n=wp.element.useRef(),r=FB(e),{labelProps:i,inputProps:l,descriptionProps:a}=KB(e,r,n),[o,s]=wp.element.useState(e.value??"");return wp.element.useEffect(()=>t.onChange&&t.onChange(o),[o]),wp.element.createElement("div",{className:"tf-color"},t.label&&wp.element.createElement(we,{labelProps:i,parent:t},t.label),wp.element.createElement(cs,{...e,value:o,onValueSelection:s,inputProps:l,ref:n},wp.element.createElement(vU,{...e,value:o,onChange:t.onChange,state:r,inputProps:l,ref:n})),t.description&&wp.element.createElement($e,{descriptionProps:a,parent:t},t.description))},"Color");var xU=Object.defineProperty,wT=u((t,e)=>xU(t,"name",{value:e,configurable:!0}),"a$a");const SU=wT((t,e)=>{if(process.env.JEST_WORKER_ID)return new Promise(r=>r(window.tangibleTests.fetchResponse));const{api:n}=TangibleFields;return new Promise((r,i)=>{fetch(t,{method:"POST",body:e,headers:{"X-WP-Nonce":n.nonce??!1,enctype:"multipart/form-data"},credentials:"same-origin",processData:!1,contentType:!1}).then(l=>l.ok?r(l.json()):l.json().then(i))})},"post"),xT=wT((t,e=!1)=>{if(process.env.JEST_WORKER_ID)return new Promise(r=>r(window.tangibleTests.fetchResponse));const{api:n}=TangibleFields;return new Promise((r,i)=>{fetch(`${t}?${e?new URLSearchParams(e):""}`,{method:"GET",headers:{"X-WP-Nonce":n.nonce??!1},credentials:"same-origin"}).then(l=>l.ok?r(l.json()):l.json().then(i))})},"get");var CU=Object.defineProperty,Bb=u((t,e)=>CU(t,"name",{value:e,configurable:!0}),"i$b");const ST=Bb(t=>{const e=qN({async load({filterText:n}){const r={...t.asyncArgs??{},search:n};let i=t.ajaxAction?await Tangible?.ajax(t.ajaxAction,r):await xT(t.searchUrl??"",r);i.length===0&&i.push({id:"_noResults",title:"No results"}),!Array.isArray(i)&&typeof i=="object"&&(i=Object.values(i).map(a=>a));const l=t.mapResults?DU(i,t.mapResults):i;return{items:Jr((l??[]).reduce((a,o)=>({...a,[o.id]:o.title}),{}))}}});return{items:e.items,inputValue:e.filterText,onInputChange:e.setFilterText,selectedKeys:t.value.value??"",loadingState:e.loadingState}},"getAsyncProps"),DU=Bb((t,e)=>t.map(n=>(e.id&&(n.id=CT(n,e.id)),e.title&&(n.title=CT(n,e.title)),n)),"mapResults"),CT=Bb((t,e)=>typeof e=="object"?t[e.key][e.attribute]:t[e],"mapResultsItem");var kU=Object.defineProperty,DT=u((t,e)=>kU(t,"name",{value:e,configurable:!0}),"a$9");const kT=DT(t=>{const e=DT(g=>{if(!t.isAsync){t.onSelectionChange(g);return}const O=L2(g,t.items);t.onSelectionChange(O),t.multiple||r.setInputValue(O.label)},"onSelectionChange");wp.element.useEffect(()=>{t.isAsync&&t.selectedKey&&r.setInputValue(t.selectedKey.label??"")},[]);const{contains:n}=z$({sensitivity:"base"}),r=EN({...t,onSelectionChange:e,selectedKey:t.isAsync&&t.selectedKey?.value?t.selectedKey.value:t.selectedKey??"",defaultFilter:n,disabledKeys:[...t.disabledKeys??[],"_noResults"]}),i=wp.element.useRef(),l=wp.element.useRef(),a=wp.element.useRef(),o=wp.element.useRef(),s=wp.element.useRef(),{buttonProps:c,inputProps:d,listBoxProps:f,labelProps:h,descriptionProps:p}=BV({...t,inputRef:l,buttonRef:i,listBoxRef:a,popoverRef:o,menuTrigger:"input"},r),{focusWithinProps:m}=Nt({onFocusWithinChange:g=>{t.onFocusChange&&t.onFocusChange(g)}});return wp.element.createElement("div",{className:"tf-combo-box",...m},t.label&&wp.element.createElement(we,{labelProps:h,parent:t},t.label),wp.element.createElement(jc,{autoFocus:t.autoFocus,restoreFocus:!0},wp.element.createElement("div",{className:"tf-combo-box-text",ref:s},wp.element.createElement("input",{...d,ref:l,readOnly:t.readOnly}),t.showButton&&wp.element.createElement(oe,{type:"action",ref:i,preventFocusOnPress:!0,...c,isDisabled:t.readOnly},wp.element.createElement("span",{"aria-hidden":"true"},"\u25BC")),r.isOpen&&!t.readOnly&&wp.element.createElement(kr,{state:r,triggerRef:l,popoverRef:o,placement:"bottom start",isNonModal:!0,style:{width:s?.current?.offsetWidth},className:"tf-combo-box-popover"},wp.element.createElement(Rg,{loadingState:t.loadingState??"idle",listBoxRef:a,state:r,items:t.items,focusWithinProps:!0,shouldUseVirtualFocus:!0,...f})))),t.description&&wp.element.createElement($e,{descriptionProps:p,parent:t},t.description))},"ComboBox");var PU=Object.defineProperty,rh=u((t,e)=>PU(t,"name",{value:e,configurable:!0}),"l$c");const EU=rh(t=>{const[e,n]=wp.element.useState(t.value&&Array.isArray(t.value)?t.value:t.value&&!t.isAsync?t.value.split(","):[]),r={...t.isAsync?ST(t):{defaultItems:Jr(t.choices??{})}},i=wp.element.useRef(null),l=wp.element.useRef(null),a=wp.element.useRef(null),{labelProps:o,inputProps:s,descriptionProps:c}=wr(t,i),d=ti({}),{triggerProps:f,overlayProps:h}=Go({type:"dialog"},d,l);wp.element.useEffect(()=>t.onChange&&t.onChange(e),[e.length]);const p=rh(O=>{n([...e,O])},"add"),m=rh(O=>{n([...e.slice(0,O),...e.slice(O+1)])},"remove"),g=rh(()=>t.isAsync?e.map(O=>O.value):e,"getDisabledKeys");return wp.element.createElement("div",{className:"tf-multiple-combobox","data-enabled":!t.readOnly},t.label&&wp.element.createElement(we,{labelProps:o,parent:t},t.label),wp.element.createElement("div",{className:"tf-multiple-combobox-container"},wp.element.createElement("div",{ref:i,className:"tf-multiple-combobox-values",...s},e.length===0?t.placeholder??"No item selected":e.map((O,b)=>wp.element.createElement("span",{key:O.key??b,className:"tf-combo-box-item"},wp.element.createElement("span",null,t.isAsync?O.label:t.choices[O]??""),t.readOnly!==!0&&wp.element.createElement(oe,{onPress:()=>m(b)},"x")))),wp.element.createElement(oe,{type:"action",ref:l,...f,isDisabled:t.readOnly},"Add"),d.isOpen&&wp.element.createElement("div",{className:"tf-popover",ref:a,...h},wp.element.createElement(kT,{focusStrategy:"first",label:"Select an item to add",labelVisuallyHidden:!0,description:!1,disabledKeys:g(),autoFocus:!0,multiple:!0,showButton:!1,menuTrigger:"focus",onSelectionChange:O=>{O&&(p(O),d.close())},onFocusChange:O=>O?!d.isOpen&&d.open():d.close(),isAsync:t.isAsync??!1,...r},t.children),wp.element.createElement(_o,{onDismiss:d.close}))),t.description&&wp.element.createElement($e,{descriptionProps:c,parent:t},t.description))},"MultipleComboBox");var AU=Object.defineProperty,TU=u((t,e)=>AU(t,"name",{value:e,configurable:!0}),"a$8"),ih=TU(t=>{const[e,n]=wp.element.useState(t.isAsync?yn(t.value??""):t.value??!1),r=t.isAsync?ST(t):{defaultItems:Jr(t.choices??{})};return wp.element.useEffect(()=>t.onChange&&t.onChange(e),[e]),wp.element.useEffect(()=>t.onChange&&t.onChange(e),[r.selectedKeys]),t.multiple?wp.element.createElement(wp.element.Fragment,null,wp.element.createElement("input",{type:"hidden",name:t.name??"",value:t.isAsync?JSON.stringify(e):e}),wp.element.createElement(EU,{...t,onChange:i=>n(t.isAsync?i:i.join(",")),value:e},xd)):wp.element.createElement(wp.element.Fragment,null,wp.element.createElement("input",{type:"hidden",name:t.name??"",value:t.isAsync?JSON.stringify(e):e}),wp.element.createElement(kT,{focusStrategy:"first",label:t.label??null,placeholder:t.placeholder,description:t.description??!1,selectedKey:e,onSelectionChange:n,onFocusChange:t.onFocusChange??!1,autoFocus:t.autoFocus??!1,isAsync:t.isAsync??!1,showButton:t.showButton??!0,menuTrigger:"focus",labelVisuallyHidden:t.labelVisuallyHidden??!1,descriptionVisuallyHidden:t.descriptionVisuallyHidden??!1,disabledKeys:t.disabledKeys??[],readOnly:t.readOnly??!1,...r},xd))},"default"),RU=Object.defineProperty,QU=u((t,e)=>RU(t,"name",{value:e,configurable:!0}),"e$2");const lh=QU((t,e)=>{if(t instanceof Te)return t;const n=(t??"").split("-");return n.length===3?new Te("AD",n[0],n[1],n[2]):e},"formatValue");var MU=Object.defineProperty,PT=u((t,e)=>MU(t,"name",{value:e,configurable:!0}),"o$8");const ET=wp.element.createContext(null),BU=PT(({value:t,children:e})=>{const n=yn(t)??"",r=Gr(zi()),i={start:lh(n.start??"",r),end:lh(n.end??"",r)},[l,a]=wp.element.useState(i);return wp.element.createElement(ET.Provider,{value:{dateValue:l,setDateValue:a}},e)},"CalendarContextProvider"),ah=PT(()=>{const t=wp.element.useContext(ET);if(!t)throw new Error("useCalendarContext must be used within a Calendar");return t},"useCalendarContext");var VU=Object.defineProperty,NU=u((t,e)=>VU(t,"name",{value:e,configurable:!0}),"t$5");const FU=NU(({state:t,date:e})=>{const n=wp.element.useRef(),{cellProps:r,buttonProps:i,isSelected:l,isOutsideVisibleRange:a,isDisabled:o,isUnavailable:s,formattedDate:c}=hB({date:e},t,n),{focusProps:d}=Qo();let f="tf-calendar-cell";return l&&(f+=" tf-calendar-cell-selected"),o&&(f+=" tf-calendar-cell-disabled"),s&&(f+=" tf-calendar-cell-unavailable"),wp.element.createElement("td",{...r},wp.element.createElement("div",{...te(i,d),ref:n,hidden:a,className:f},c))},"CalendarCell");var IU=Object.defineProperty,ZU=u((t,e)=>IU(t,"name",{value:e,configurable:!0}),"l$b");const AT=ZU(({state:t,...e})=>{const{locale:n}=Ee(),r=e.dateRange??!1,i=t.visibleRange.start.add(e.offset??{}),l=na(i),{gridProps:a,headerProps:o,weekDays:s}=Cw(r?{startDate:i,endDate:l}:e,t),c=xM(t.visibleRange.start,n);return wp.element.createElement("table",{className:"tf-calendar-table",...a},wp.element.createElement("thead",{...o},wp.element.createElement("tr",null,s.map((d,f)=>wp.element.createElement("th",{key:f},d)))),wp.element.createElement("tbody",null,[...new Array(c).keys()].map(d=>{const f=r?[d,i]:[d];return wp.element.createElement("tr",{key:d},t.getDatesInWeek(...f).map((h,p)=>h?wp.element.createElement(FU,{key:p,state:t,date:h,currentMonth:i}):wp.element.createElement("td",{key:p})))})))},"CalendarGrid");var zU=Object.defineProperty,Vb=u((t,e)=>zU(t,"name",{value:e,configurable:!0}),"e$1");const oh=Vb(({date:t,children:e})=>{const{setDateValue:n}=ah();return wp.element.createElement(oe,{onPress:Vb(()=>{n(t)},"onPress")},e)},"Preset"),LU=Vb(()=>{const t=Gr(zi());return wp.element.createElement(wp.element.Fragment,null,wp.element.createElement(oh,{date:{start:t,end:t}},"Today"),wp.element.createElement(oh,{date:{start:t.subtract({weeks:1}),end:t}},"Last Week"),wp.element.createElement(oh,{date:{start:Li(t),end:na(t)}},"This Month"),wp.element.createElement(oh,{date:{start:Li(t.subtract({months:1})),end:na(t.subtract({months:1}))}},"Last Month"))},"DateRangePresets");var WU=Object.defineProperty,XU=u((t,e)=>WU(t,"name",{value:e,configurable:!0}),"r$a");const TT=XU(t=>{const{locale:e}=Ee(),{dateValue:n}=t.dateRange?ah():{},r=t.dateRange?DN({...t,value:n,locale:e,visibleDuration:{months:t.multiMonth},createCalendar:qm}):U2({...t,locale:e,createCalendar:qm}),i=wp.element.useRef(),{calendarProps:l,prevButtonProps:a,nextButtonProps:o,title:s}=t.dateRange?dB(t,r,i):cB(t,r);return wp.element.createElement("div",{className:"tf-calendar",...l,ref:i},wp.element.createElement("div",{className:"tf-calendar-header"},wp.element.createElement("div",{className:"tf-calendar-buttons"},wp.element.createElement(oe,{...a},"<"),wp.element.createElement("div",{className:"tf-calendar-month"},s),wp.element.createElement(oe,{...o},">"))),wp.element.createElement("div",{className:"tf-calendar-tables"},t.multiMonth===1||!t.dateRange?wp.element.createElement(AT,{state:r}):Array.from({length:t.multiMonth},(c,d)=>wp.element.createElement(AT,{key:d,state:r,dateRange:t.dateRange,offset:{months:d}}))),t.dateRange&&t.datePresets&&wp.element.createElement("div",{className:"tf-calendar-presets"},wp.element.createElement(LU,null)))},"Calendar");var jU=Object.defineProperty,qU=u((t,e)=>jU(t,"name",{value:e,configurable:!0}),"o$7");const UU=qU(({segment:t,state:e})=>{const n=wp.element.useRef(),{segmentProps:r}=LV(t,e,n);let i="tf-date-segment";return t.isPlaceholder&&(i+=" tf-date-segment-placeholder"),wp.element.createElement("div",{className:i,...r,ref:n},wp.element.createElement("span",{"aria-hidden":"true"},t.placeholder),t.isPlaceholder?"":t.text)},"DateSegment");var YU=Object.defineProperty,KU=u((t,e)=>YU(t,"name",{value:e,configurable:!0}),"a$6");const Nb=KU(t=>{const{locale:e}=Ee(),n=IN({...t,locale:e,createCalendar:qm}),r=wp.element.useRef(),{fieldProps:i}=NV(t,n,r);return wp.element.createElement("div",{className:"tf-date-field",...i,ref:r},n.segments.map((l,a)=>wp.element.createElement(UU,{key:a,segment:l,state:n})))},"DateField");var GU=Object.defineProperty,RT=u((t,e)=>GU(t,"name",{value:e,configurable:!0}),"i$a");const HU=wp.element.forwardRef(({datePickerProps:t,hasFutureOnly:e,state:n,...r},i)=>{const{groupProps:l,fieldProps:a,buttonProps:o,dialogProps:s,calendarProps:c,inputProps:d}=t,[f,h]=wp.element.useState(r.value);wp.element.useEffect(()=>{r.value!==f&&h(r.value)},[r.value]),wp.element.useEffect(()=>(document.addEventListener("mousedown",p),()=>document.removeEventListener("mousedown",p)),[i]);const p=RT(g=>{const O=i.current??!1;O&&(O.contains(g.target)||n.setOpen(!1))},"onClickOutside");o.onPress=()=>n.setOpen(!n.isOpen);const m=RT(()=>n.value&&n.value.toString?n.value.toString():"","getStringValue");return wp.element.useEffect(()=>{if(r.onChange&&r.onChange(m()),e&&n.value&&r.value){const g=Gr(zi());n.value.compare(g)<0&&n.setValue(g)}},[n.value]),wp.element.createElement("div",{className:"tf-date-field-container"},wp.element.createElement("input",{...d,type:"hidden",name:r.name??"",value:m()}),wp.element.createElement("div",{className:"tf-date-group",...l,ref:i},wp.element.createElement(Nb,{...a}),wp.element.createElement(oe,{type:"action",...o},"\u{1F5D3}")),n.isOpen&&wp.element.createElement(kr,{state:n,triggerRef:i,placement:"bottom start"},wp.element.createElement(rs,{...s},wp.element.createElement(TT,{...c}))))});var _U=Object.defineProperty,JU=u((t,e)=>_U(t,"name",{value:e,configurable:!0}),"c$6");const eY=JU(t=>{const[e,n]=wp.element.useState(t.value??"");wp.element.useEffect(()=>t.onChange&&t.onChange(e),[e]);const r=t.futureOnly&&t.futureOnly===!0,i=Gr(zi()),l=r?i:new Te("AD","1","1","1"),a=BN({...t,value:lh(t.value,i)}),o=wp.element.useRef(null),{labelProps:s,descriptionProps:c,inputProps:d,...f}=IV({...t,minValue:l},a,o);return wp.element.createElement("div",{className:"tf-date-picker"},t.label&&wp.element.createElement(we,{labelProps:s,parent:t},t.label),wp.element.createElement(cs,{...t,value:e,onValueSelection:n,ref:o,inputProps:f.inputProps},wp.element.createElement(HU,{ref:o,minValue:l,name:t.name??"",value:lh(e),onChange:n,onFocusChange:t.onFocusChange??!1,dynamic:t.dynamic??!1,hasFutureOnly:r,state:a,datePickerProps:{inputProps:d,...f}})),t.description&&wp.element.createElement($e,{descriptionProps:c,parent:t},t.description))},"Date");var tY=Object.defineProperty,nY=u((t,e)=>tY(t,"name",{value:e,configurable:!0}),"i$9");const rY=wp.element.forwardRef(({dateRangePickerProps:t,state:e,...n},r)=>{const{dateValue:i}=ah(),[l,a]=wp.element.useState(i.start);wp.element.useEffect(()=>{n.value!==l&&a(n.value.start)},[n.value]);const{groupProps:o,startFieldProps:s,endFieldProps:c,buttonProps:d,dialogProps:f,calendarProps:h,inputProps:p}=R2(n,e,r),m=nY(()=>e.value&&e.value.start&&e.value.end?JSON.stringify({start:e.value.start.toString(),end:e.value.end.toString()}):"","getStringValue");return wp.element.createElement("div",{className:"tf-date-field-container"},wp.element.createElement("input",{...p,type:"hidden",name:n.name??"",value:m()}),wp.element.createElement("div",{...o,ref:r,className:"tf-date-group"},wp.element.createElement(Nb,{...s}),wp.element.createElement("span",{style:{padding:"0 4px"}},"\u2013"),wp.element.createElement(Nb,{...c}),e.isInvalid&&wp.element.createElement("span",{"aria-hidden":"true"},"\u{1F6AB}"),wp.element.createElement(oe,{type:"action",...d},"\u{1F5D3}")),e.isOpen&&wp.element.createElement(kr,{state:e,triggerRef:r,placement:"bottom start"},wp.element.createElement(rs,{...f},wp.element.createElement(TT,{...h,dateRange:!0,datePresets:n.datePresets??!1,pageBehavior:"single",multiMonth:n.multiMonth,focusedValue:l,onFocusChange:a}))))});var iY=Object.defineProperty,lY=u((t,e)=>iY(t,"name",{value:e,configurable:!0}),"o$6");const aY=lY(t=>{const{dateValue:e,setDateValue:n}=ah();wp.element.useEffect(()=>{t.onChange&&t.onChange(e)},[e]),wp.element.useEffect(()=>{e!==t.value&&typeof t.value=="object"&&n(t.value)},[t.value]);const r=t.futureOnly&&t.futureOnly===!0,i=Gr(zi()),l=r?i:new Te("AD","1","1","1"),a=WN({...t,value:e}),o=wp.element.useRef(),{labelProps:s,descriptionProps:c,...d}=R2({...t,minValue:l},a,o);return wp.element.createElement("div",{className:"tf-date-picker"},t.label&&wp.element.createElement(we,{labelProps:s,parent:t},t.label),wp.element.createElement(cs,{...t,value:e,ref:o},wp.element.createElement(rY,{ref:o,name:t.name??"",minValue:l,value:e,hasFutureOnly:r,onChange:n,onFocusChange:t.onFocusChange??!1,state:a,multiMonth:t.multiMonth??1,datePresets:t.datePresets??!1,dateRangePickerProps:{...d}})),t.description&&wp.element.createElement($e,{descriptionProps:c,parent:t},t.description))},"DateRange");var oY=Object.defineProperty,sY=u((t,e)=>oY(t,"name",{value:e,configurable:!0}),"r$9"),uY=sY(t=>t.dateRange?wp.element.createElement(BU,{value:t.value},wp.element.createElement(aY,{...t})):wp.element.createElement(eY,{...t}),"default"),cY=Object.defineProperty,QT=u((t,e)=>cY(t,"name",{value:e,configurable:!0}),"s$8");const Fb={},dY=QT(t=>{const[e,n]=wp.element.useState(t.value??""),[r,i]=wp.element.useState(Ui()),l=wp.element.useRef(null),a=wp.element.useRef(null),o=wp.element.useRef(null),{labelProps:s,inputProps:c,descriptionProps:d}=wr(t,l);wp.element.useEffect(()=>{Fb[r]=o6(l.current,e,n,t.choices)},[]),wp.element.useEffect(()=>t.onChange&&t.onChange(e),[e]);const f=ti({}),{triggerProps:h,overlayProps:p}=Go({type:"dialog"},f,a),m=QT(g=>{Fb[r].dispatch({changes:{from:Fb[r].state.doc.length,insert:`[[${g}]]`}})},"addDynamicElement");return wp.element.createElement("div",{className:"tf-dynamic-text"},t.label&&wp.element.createElement(we,{labelProps:s,parent:t},t.label),wp.element.createElement("div",{className:"tf-dynamic-text-field"},wp.element.createElement(on,null,wp.element.createElement(T9,{label:t.label??!1,name:t.name??"",value:e})),wp.element.createElement("div",{ref:l,className:"tf-dynamic-text-input",...c}),wp.element.createElement(oe,{type:"action",ref:a,...h},"Add"),f.isOpen&&wp.element.createElement("div",{className:"tf-dynamic-text-popover",ref:o,...p},wp.element.createElement(ih,{label:"Select dynamic token",labelVisuallyHidden:!0,choices:t.choices??{},autoFocus:!0,showButton:!1,onChange:g=>{g&&(m(g),f.close())},onFocusChange:g=>g?!f.isOpen&&f.open():f.close()}),wp.element.createElement(_o,{onDismiss:f.close}))),t.description&&wp.element.createElement($e,{descriptionProps:d,parent:t},t.description))},"DynamicText");function Je(t){this.content=t}u(Je,"OrderedMap"),Je.prototype={constructor:Je,find:function(t){for(var e=0;e>1}},Je.from=function(t){if(t instanceof Je)return t;var e=[];if(t)for(var n in t)e.push(n,t[n]);return new Je(e)};function MT(t,e,n){for(let r=0;;r++){if(r==t.childCount||r==e.childCount)return t.childCount==e.childCount?null:n;let i=t.child(r),l=e.child(r);if(i==l){n+=i.nodeSize;continue}if(!i.sameMarkup(l))return n;if(i.isText&&i.text!=l.text){for(let a=0;i.text[a]==l.text[a];a++)n++;return n}if(i.content.size||l.content.size){let a=MT(i.content,l.content,n+1);if(a!=null)return a}n+=i.nodeSize}}u(MT,"findDiffStart");function BT(t,e,n,r){for(let i=t.childCount,l=e.childCount;;){if(i==0||l==0)return i==l?null:{a:n,b:r};let a=t.child(--i),o=e.child(--l),s=a.nodeSize;if(a==o){n-=s,r-=s;continue}if(!a.sameMarkup(o))return{a:n,b:r};if(a.isText&&a.text!=o.text){let c=0,d=Math.min(a.text.length,o.text.length);for(;ce&&r(s,i+o,l||null,a)!==!1&&s.content.size){let d=o+1;s.nodesBetween(Math.max(0,e-d),Math.min(s.content.size,n-d),r,i+d)}o=c}}descendants(e){this.nodesBetween(0,this.size,e)}textBetween(e,n,r,i){let l="",a=!0;return this.nodesBetween(e,n,(o,s)=>{let c=o.isText?o.text.slice(Math.max(e,s)-s,n-s):o.isLeaf?i?typeof i=="function"?i(o):i:o.type.spec.leafText?o.type.spec.leafText(o):"":"";o.isBlock&&(o.isLeaf&&c||o.isTextblock)&&r&&(a?a=!1:l+=r),l+=c},0),l}append(e){if(!e.size)return this;if(!this.size)return e;let n=this.lastChild,r=e.firstChild,i=this.content.slice(),l=0;for(n.isText&&n.sameMarkup(r)&&(i[i.length-1]=n.withText(n.text+r.text),l=1);le)for(let l=0,a=0;ae&&((an)&&(o.isText?o=o.cut(Math.max(0,e-a),Math.min(o.text.length,n-a)):o=o.cut(Math.max(0,e-a-1),Math.min(o.content.size,n-a-1))),r.push(o),i+=o.nodeSize),a=s}return new nt(r,i)}cutByIndex(e,n){return e==n?nt.empty:e==0&&n==this.content.length?this:new nt(this.content.slice(e,n))}replaceChild(e,n){let r=this.content[e];if(r==n)return this;let i=this.content.slice(),l=this.size+n.nodeSize-r.nodeSize;return i[e]=n,new nt(i,l)}addToStart(e){return new nt([e].concat(this.content),this.size+e.nodeSize)}addToEnd(e){return new nt(this.content.concat(e),this.size+e.nodeSize)}eq(e){if(this.content.length!=e.content.length)return!1;for(let n=0;nthis.size||e<0)throw new RangeError(`Position ${e} outside of fragment (${this})`);for(let r=0,i=0;;r++){let l=this.child(r),a=i+l.nodeSize;if(a>=e)return a==e||n>0?sh(r+1,a):sh(r,i);i=a}}toString(){return"<"+this.toStringInner()+">"}toStringInner(){return this.content.join(", ")}toJSON(){return this.content.length?this.content.map(e=>e.toJSON()):null}static fromJSON(e,n){if(!n)return nt.empty;if(!Array.isArray(n))throw new RangeError("Invalid input for Fragment.fromJSON");return new nt(n.map(e.nodeFromJSON))}static fromArray(e){if(!e.length)return nt.empty;let n,r=0;for(let i=0;ithis.type.rank&&(n||(n=e.slice(0,i)),n.push(this),r=!0),n&&n.push(l)}}return n||(n=e.slice()),r||n.push(this),n}removeFromSet(e){for(let n=0;nr.type.rank-i.type.rank),n}};u(fc,"Mark");let me=fc;me.none=[];const vv=class vv extends Error{};u(vv,"ReplaceError");let Za=vv;const Ei=class Ei{constructor(e,n,r){this.content=e,this.openStart=n,this.openEnd=r}get size(){return this.content.size-this.openStart-this.openEnd}insertAt(e,n){let r=NT(this.content,e+this.openStart,n);return r&&new Ei(r,this.openStart,this.openEnd)}removeBetween(e,n){return new Ei(VT(this.content,e+this.openStart,n+this.openStart),this.openStart,this.openEnd)}eq(e){return this.content.eq(e.content)&&this.openStart==e.openStart&&this.openEnd==e.openEnd}toString(){return this.content+"("+this.openStart+","+this.openEnd+")"}toJSON(){if(!this.content.size)return null;let e={content:this.content.toJSON()};return this.openStart>0&&(e.openStart=this.openStart),this.openEnd>0&&(e.openEnd=this.openEnd),e}static fromJSON(e,n){if(!n)return Ei.empty;let r=n.openStart||0,i=n.openEnd||0;if(typeof r!="number"||typeof i!="number")throw new RangeError("Invalid input for Slice.fromJSON");return new Ei(X.fromJSON(e,n.content),r,i)}static maxOpen(e,n=!0){let r=0,i=0;for(let l=e.firstChild;l&&!l.isLeaf&&(n||!l.type.spec.isolating);l=l.firstChild)r++;for(let l=e.lastChild;l&&!l.isLeaf&&(n||!l.type.spec.isolating);l=l.lastChild)i++;return new Ei(e,r,i)}};u(Ei,"Slice");let Y=Ei;Y.empty=new Y(X.empty,0,0);function VT(t,e,n){let{index:r,offset:i}=t.findIndex(e),l=t.maybeChild(r),{index:a,offset:o}=t.findIndex(n);if(i==e||l.isText){if(o!=n&&!t.child(a).isText)throw new RangeError("Removing non-flat range");return t.cut(0,e).append(t.cut(n))}if(r!=a)throw new RangeError("Removing non-flat range");return t.replaceChild(r,l.copy(VT(l.content,e-i-1,n-i-1)))}u(VT,"removeRange");function NT(t,e,n,r){let{index:i,offset:l}=t.findIndex(e),a=t.maybeChild(i);if(l==e||a.isText)return r&&!r.canReplace(i,i,n)?null:t.cut(0,e).append(n).append(t.cut(e));let o=NT(a.content,e-l-1,n);return o&&t.replaceChild(i,a.copy(o))}u(NT,"insertInto");function fY(t,e,n){if(n.openStart>t.depth)throw new Za("Inserted content deeper than insertion position");if(t.depth-n.openStart!=e.depth-n.openEnd)throw new Za("Inconsistent open depths");return FT(t,e,n,0)}u(fY,"replace");function FT(t,e,n,r){let i=t.index(r),l=t.node(r);if(i==e.index(r)&&r=0&&t.isText&&t.sameMarkup(e[n])?e[n]=t.withText(e[n].text+t.text):e.push(t)}u(fl,"addNode");function su(t,e,n,r){let i=(e||t).node(n),l=0,a=e?e.index(n):i.childCount;t&&(l=t.index(n),t.depth>n?l++:t.textOffset&&(fl(t.nodeAfter,r),l++));for(let o=l;oi&&Zb(t,e,i+1),a=r.depth>i&&Zb(n,r,i+1),o=[];return su(null,t,i,o),l&&a&&e.index(i)==n.index(i)?(IT(l,a),fl(hl(l,ZT(t,e,n,r,i+1)),o)):(l&&fl(hl(l,ch(t,e,i+1)),o),su(e,n,i,o),a&&fl(hl(a,ch(n,r,i+1)),o)),su(r,null,i,o),new X(o)}u(ZT,"replaceThreeWay");function ch(t,e,n){let r=[];if(su(null,t,n,r),t.depth>n){let i=Zb(t,e,n+1);fl(hl(i,ch(t,e,n+1)),r)}return su(e,null,n,r),new X(r)}u(ch,"replaceTwoWay");function hY(t,e){let n=e.depth-t.openStart,i=e.node(n).copy(t.content);for(let l=n-1;l>=0;l--)i=e.node(l).copy(X.from(i));return{start:i.resolveNoCache(t.openStart+n),end:i.resolveNoCache(i.content.size-t.openEnd-n)}}u(hY,"prepareSliceForReplace");const hc=class hc{constructor(e,n,r){this.pos=e,this.path=n,this.parentOffset=r,this.depth=n.length/3-1}resolveDepth(e){return e==null?this.depth:e<0?this.depth+e:e}get parent(){return this.node(this.depth)}get doc(){return this.node(0)}node(e){return this.path[this.resolveDepth(e)*3]}index(e){return this.path[this.resolveDepth(e)*3+1]}indexAfter(e){return e=this.resolveDepth(e),this.index(e)+(e==this.depth&&!this.textOffset?0:1)}start(e){return e=this.resolveDepth(e),e==0?0:this.path[e*3-1]+1}end(e){return e=this.resolveDepth(e),this.start(e)+this.node(e).content.size}before(e){if(e=this.resolveDepth(e),!e)throw new RangeError("There is no position before the top-level node");return e==this.depth+1?this.pos:this.path[e*3-1]}after(e){if(e=this.resolveDepth(e),!e)throw new RangeError("There is no position after the top-level node");return e==this.depth+1?this.pos:this.path[e*3-1]+this.path[e*3].nodeSize}get textOffset(){return this.pos-this.path[this.path.length-1]}get nodeAfter(){let e=this.parent,n=this.index(this.depth);if(n==e.childCount)return null;let r=this.pos-this.path[this.path.length-1],i=e.child(n);return r?e.child(n).cut(r):i}get nodeBefore(){let e=this.index(this.depth),n=this.pos-this.path[this.path.length-1];return n?this.parent.child(e).cut(0,n):e==0?null:this.parent.child(e-1)}posAtIndex(e,n){n=this.resolveDepth(n);let r=this.path[n*3],i=n==0?0:this.path[n*3-1]+1;for(let l=0;l0;n--)if(this.start(n)<=e&&this.end(n)>=e)return n;return 0}blockRange(e=this,n){if(e.pos=0;r--)if(e.pos<=this.end(r)&&(!n||n(this.node(r))))return new za(this,e,r);return null}sameParent(e){return this.pos-this.parentOffset==e.pos-e.parentOffset}max(e){return e.pos>this.pos?e:this}min(e){return e.pos=0&&n<=e.content.size))throw new RangeError("Position "+n+" out of range");let r=[],i=0,l=n;for(let a=e;;){let{index:o,offset:s}=a.content.findIndex(l),c=l-s;if(r.push(a,o,i+s),!c||(a=a.child(o),a.isText))break;l=c-1,i+=s+1}return new hc(n,r,l)}static resolveCached(e,n){let r=zT.get(e);if(r)for(let l=0;le&&this.nodesBetween(e,n,l=>(r.isInSet(l.marks)&&(i=!0),!i)),i}get isBlock(){return this.type.isBlock}get isTextblock(){return this.type.isTextblock}get inlineContent(){return this.type.inlineContent}get isInline(){return this.type.isInline}get isText(){return this.type.isText}get isLeaf(){return this.type.isLeaf}get isAtom(){return this.type.isAtom}toString(){if(this.type.spec.toDebugString)return this.type.spec.toDebugString(this);let e=this.type.name;return this.content.size&&(e+="("+this.content.toStringInner()+")"),LT(this.marks,e)}contentMatchAt(e){let n=this.type.contentMatch.matchFragment(this.content,0,e);if(!n)throw new Error("Called contentMatchAt on a node with invalid content");return n}canReplace(e,n,r=X.empty,i=0,l=r.childCount){let a=this.contentMatchAt(e).matchFragment(r,i,l),o=a&&a.matchFragment(this.content,n);if(!o||!o.validEnd)return!1;for(let s=i;sn.type.name)}`);this.content.forEach(n=>n.check())}toJSON(){let e={type:this.type.name};for(let n in this.attrs){e.attrs=this.attrs;break}return this.content.size&&(e.content=this.content.toJSON()),this.marks.length&&(e.marks=this.marks.map(n=>n.toJSON())),e}static fromJSON(e,n){if(!n)throw new RangeError("Invalid input for Node.fromJSON");let r;if(n.marks){if(!Array.isArray(n.marks))throw new RangeError("Invalid mark data for Node.fromJSON");r=n.marks.map(e.markFromJSON)}if(n.type=="text"){if(typeof n.text!="string")throw new RangeError("Invalid text node in JSON");return e.text(n.text,r)}let i=X.fromJSON(e,n.content),l=e.nodeType(n.type).create(n.attrs,i,r);return l.type.checkAttrs(l.attrs),l}},u(Nl,"Node"),Nl);pl.prototype.text=void 0;const pc=class pc extends pl{constructor(e,n,r,i){if(super(e,n,null,i),!r)throw new RangeError("Empty text nodes are not allowed");this.text=r}toString(){return this.type.spec.toDebugString?this.type.spec.toDebugString(this):LT(this.marks,JSON.stringify(this.text))}get textContent(){return this.text}textBetween(e,n){return this.text.slice(e,n)}get nodeSize(){return this.text.length}mark(e){return e==this.marks?this:new pc(this.type,this.attrs,this.text,e)}withText(e){return e==this.text?this:new pc(this.type,this.attrs,e,this.marks)}cut(e=0,n=this.text.length){return e==0&&n==this.text.length?this:this.withText(this.text.slice(e,n))}eq(e){return this.sameMarkup(e)&&this.text==e.text}toJSON(){let e=super.toJSON();return e.text=this.text,e}};u(pc,"TextNode");let Lb=pc;function LT(t,e){for(let n=t.length-1;n>=0;n--)e=t[n].type.name+"("+e+")";return e}u(LT,"wrapMarks");const Ap=class Ap{constructor(e){this.validEnd=e,this.next=[],this.wrapCache=[]}static parse(e,n){let r=new Wb(e,n);if(r.next==null)return Ap.empty;let i=WT(r);r.next&&r.err("Unexpected trailing text");let l=wY($Y(i));return xY(l,r),l}matchType(e){for(let n=0;nc.createAndFill()));for(let c=0;c=this.next.length)throw new RangeError(`There's no ${e}th edge in this content match`);return this.next[e]}toString(){let e=[];function n(r){e.push(r);for(let i=0;i{let l=i+(r.validEnd?"*":" ")+" ";for(let a=0;a"+e.indexOf(r.next[a].next);return l}).join(` +`)}};u(Ap,"ContentMatch");let ml=Ap;ml.empty=new ml(!0);const xv=class xv{constructor(e,n){this.string=e,this.nodeTypes=n,this.inline=null,this.pos=0,this.tokens=e.split(/\s*(?=\b|\W|$)/),this.tokens[this.tokens.length-1]==""&&this.tokens.pop(),this.tokens[0]==""&&this.tokens.shift()}get next(){return this.tokens[this.pos]}eat(e){return this.next==e&&(this.pos++||!0)}err(e){throw new SyntaxError(e+" (in content expression '"+this.string+"')")}};u(xv,"TokenStream");let Wb=xv;function WT(t){let e=[];do e.push(gY(t));while(t.eat("|"));return e.length==1?e[0]:{type:"choice",exprs:e}}u(WT,"parseExpr");function gY(t){let e=[];do e.push(OY(t));while(t.next&&t.next!=")"&&t.next!="|");return e.length==1?e[0]:{type:"seq",exprs:e}}u(gY,"parseExprSeq");function OY(t){let e=vY(t);for(;;)if(t.eat("+"))e={type:"plus",expr:e};else if(t.eat("*"))e={type:"star",expr:e};else if(t.eat("?"))e={type:"opt",expr:e};else if(t.eat("{"))e=bY(t,e);else break;return e}u(OY,"parseExprSubscript");function XT(t){/\D/.test(t.next)&&t.err("Expected number, got '"+t.next+"'");let e=Number(t.next);return t.pos++,e}u(XT,"parseNum");function bY(t,e){let n=XT(t),r=n;return t.eat(",")&&(t.next!="}"?r=XT(t):r=-1),t.eat("}")||t.err("Unclosed braced range"),{type:"range",min:n,max:r,expr:e}}u(bY,"parseExprRange");function yY(t,e){let n=t.nodeTypes,r=n[e];if(r)return[r];let i=[];for(let l in n){let a=n[l];a.isInGroup(e)&&i.push(a)}return i.length==0&&t.err("No node type or group '"+e+"' found"),i}u(yY,"resolveName");function vY(t){if(t.eat("(")){let e=WT(t);return t.eat(")")||t.err("Missing closing paren"),e}else if(/\W/.test(t.next))t.err("Unexpected token '"+t.next+"'");else{let e=yY(t,t.next).map(n=>(t.inline==null?t.inline=n.isInline:t.inline!=n.isInline&&t.err("Mixing inline and block content"),{type:"name",value:n}));return t.pos++,e.length==1?e[0]:{type:"choice",exprs:e}}}u(vY,"parseExprAtom");function $Y(t){let e=[[]];return i(l(t,0),n()),e;function n(){return e.push([])-1}u(n,"node");function r(a,o,s){let c={term:s,to:o};return e[a].push(c),c}u(r,"edge");function i(a,o){a.forEach(s=>s.to=o)}u(i,"connect");function l(a,o){if(a.type=="choice")return a.exprs.reduce((s,c)=>s.concat(l(c,o)),[]);if(a.type=="seq")for(let s=0;;s++){let c=l(a.exprs[s],o);if(s==a.exprs.length-1)return c;i(c,o=n())}else if(a.type=="star"){let s=n();return r(o,s),i(l(a.expr,s),s),[r(s)]}else if(a.type=="plus"){let s=n();return i(l(a.expr,o),s),i(l(a.expr,s),s),[r(s)]}else{if(a.type=="opt")return[r(o)].concat(l(a.expr,o));if(a.type=="range"){let s=o;for(let c=0;c{t[a].forEach(({term:o,to:s})=>{if(!o)return;let c;for(let d=0;d{c||i.push([o,c=[]]),c.indexOf(d)==-1&&c.push(d)})})});let l=e[r.join(",")]=new ml(r.indexOf(t.length-1)>-1);for(let a=0;a-1}get whitespace(){return this.spec.whitespace||(this.spec.code?"pre":"normal")}hasRequiredAttrs(){for(let e in this.attrs)if(this.attrs[e].isRequired)return!0;return!1}compatibleContent(e){return this==e||this.contentMatch.compatible(e.contentMatch)}computeAttrs(e){return!e&&this.defaultAttrs?this.defaultAttrs:YT(this.attrs,e)}create(e=null,n,r){if(this.isText)throw new Error("NodeType.create can't construct text nodes");return new pl(this,this.computeAttrs(e),X.from(n),me.setFrom(r))}createChecked(e=null,n,r){return n=X.from(n),this.checkContent(n),new pl(this,this.computeAttrs(e),n,me.setFrom(r))}createAndFill(e=null,n,r){if(e=this.computeAttrs(e),n=X.from(n),n.size){let a=this.contentMatch.fillBefore(n);if(!a)return null;n=a.append(n)}let i=this.contentMatch.matchFragment(n),l=i&&i.fillBefore(X.empty,!0);return l?new pl(this,e,n.append(l),me.setFrom(r)):null}validContent(e){let n=this.contentMatch.matchFragment(e);if(!n||!n.validEnd)return!1;for(let r=0;r-1}allowsMarks(e){if(this.markSet==null)return!0;for(let n=0;nr[l]=new go(l,n,a));let i=n.spec.topNode||"doc";if(!r[i])throw new RangeError("Schema is missing its top node type ('"+i+"')");if(!r.text)throw new RangeError("Every schema needs a 'text' type");for(let l in r.text.attrs)throw new RangeError("The text node type should not have attributes");return r}},u(go,"NodeType"),go);function SY(t,e,n){let r=n.split("|");return i=>{let l=i===null?"null":typeof i;if(r.indexOf(l)<0)throw new RangeError(`Expected value of type ${r} for attribute ${e} on type ${t}, got ${l}`)}}u(SY,"validateType");const Sv=class Sv{constructor(e,n,r){this.hasDefault=Object.prototype.hasOwnProperty.call(r,"default"),this.default=r.default,this.validate=typeof r.validate=="string"?SY(e,n,r.validate):r.validate}get isRequired(){return!this.hasDefault}};u(Sv,"Attribute");let Xb=Sv;const Tp=class Tp{constructor(e,n,r,i){this.name=e,this.rank=n,this.schema=r,this.spec=i,this.attrs=GT(e,i.attrs),this.excluded=null;let l=UT(this.attrs);this.instance=l?new me(this,l):null}create(e=null){return!e&&this.instance?this.instance:new me(this,YT(this.attrs,e))}static compile(e,n){let r=Object.create(null),i=0;return e.forEach((l,a)=>r[l]=new Tp(l,i++,n,a)),r}removeFromSet(e){for(var n=0;n-1}};u(Tp,"MarkType");let fh=Tp;const Cv=class Cv{constructor(e){this.linebreakReplacement=null,this.cached=Object.create(null);let n=this.spec={};for(let i in e)n[i]=e[i];n.nodes=Je.from(e.nodes),n.marks=Je.from(e.marks||{}),this.nodes=HT.compile(this.spec.nodes,this),this.marks=fh.compile(this.spec.marks,this);let r=Object.create(null);for(let i in this.nodes){if(i in this.marks)throw new RangeError(i+" can not be both a node and a mark");let l=this.nodes[i],a=l.spec.content||"",o=l.spec.marks;if(l.contentMatch=r[a]||(r[a]=ml.parse(a,this.nodes)),l.inlineContent=l.contentMatch.inlineContent,l.spec.linebreakReplacement){if(this.linebreakReplacement)throw new RangeError("Multiple linebreak nodes defined");if(!l.isInline||!l.isLeaf)throw new RangeError("Linebreak replacement nodes must be inline leaf nodes");this.linebreakReplacement=l}l.markSet=o=="_"?null:o?_T(this,o.split(" ")):o==""||!l.inlineContent?[]:null}for(let i in this.marks){let l=this.marks[i],a=l.spec.excludes;l.excluded=a==null?[l]:a==""?[]:_T(this,a.split(" "))}this.nodeFromJSON=this.nodeFromJSON.bind(this),this.markFromJSON=this.markFromJSON.bind(this),this.topNodeType=this.nodes[this.spec.topNode||"doc"],this.cached.wrappings=Object.create(null)}node(e,n=null,r,i){if(typeof e=="string")e=this.nodeType(e);else if(e instanceof HT){if(e.schema!=this)throw new RangeError("Node type from different schema used ("+e.name+")")}else throw new RangeError("Invalid node type: "+e);return e.createChecked(n,r,i)}text(e,n){let r=this.nodes.text;return new Lb(r,r.defaultAttrs,e,me.setFrom(n))}mark(e,n){return typeof e=="string"&&(e=this.marks[e]),e.create(n)}nodeFromJSON(e){return pl.fromJSON(this,e)}markFromJSON(e){return me.fromJSON(this,e)}nodeType(e){let n=this.nodes[e];if(!n)throw new RangeError("Unknown node type: "+e);return n}};u(Cv,"Schema");let hh=Cv;function _T(t,e){let n=[];for(let r=0;r-1)&&n.push(a=s)}if(!a)throw new SyntaxError("Unknown mark type: '"+e[r]+"'")}return n}u(_T,"gatherMarks");function CY(t){return t.tag!=null}u(CY,"isTagRule");function DY(t){return t.style!=null}u(DY,"isStyleRule");const mc=class mc{constructor(e,n){this.schema=e,this.rules=n,this.tags=[],this.styles=[];let r=this.matchedStyles=[];n.forEach(i=>{if(CY(i))this.tags.push(i);else if(DY(i)){let l=/[^=]*/.exec(i.style)[0];r.indexOf(l)<0&&r.push(l),this.styles.push(i)}}),this.normalizeLists=!this.tags.some(i=>{if(!/^(ul|ol)\b/.test(i.tag)||!i.node)return!1;let l=e.nodes[i.node];return l.contentMatch.matchType(l)})}parse(e,n={}){let r=new gh(this,n,!1);return r.addAll(e,me.none,n.from,n.to),r.finish()}parseSlice(e,n={}){let r=new gh(this,n,!0);return r.addAll(e,me.none,n.from,n.to),Y.maxOpen(r.finish())}matchTag(e,n,r){for(let i=r?this.tags.indexOf(r)+1:0;ie.length&&(o.charCodeAt(e.length)!=61||o.slice(e.length+1)!=n))){if(a.getAttrs){let s=a.getAttrs(n);if(s===!1)continue;a.attrs=s||void 0}return a}}}static schemaRules(e){let n=[];function r(i){let l=i.priority==null?50:i.priority,a=0;for(;a{r(a=n8(a)),a.mark||a.ignore||a.clearMark||(a.mark=i)})}for(let i in e.nodes){let l=e.nodes[i].spec.parseDOM;l&&l.forEach(a=>{r(a=n8(a)),a.node||a.ignore||a.mark||(a.node=i)})}return n}static fromSchema(e){return e.cached.domParser||(e.cached.domParser=new mc(e,mc.schemaRules(e)))}};u(mc,"DOMParser");let uu=mc;const JT={address:!0,article:!0,aside:!0,blockquote:!0,canvas:!0,dd:!0,div:!0,dl:!0,fieldset:!0,figcaption:!0,figure:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,li:!0,noscript:!0,ol:!0,output:!0,p:!0,pre:!0,section:!0,table:!0,tfoot:!0,ul:!0},kY={head:!0,noscript:!0,object:!0,script:!0,style:!0,title:!0},e8={ol:!0,ul:!0},ph=1,mh=2,cu=4;function t8(t,e,n){return e!=null?(e?ph:0)|(e==="full"?mh:0):t&&t.whitespace=="pre"?ph|mh:n&~cu}u(t8,"wsOptionsFor");const Dv=class Dv{constructor(e,n,r,i,l,a){this.type=e,this.attrs=n,this.marks=r,this.solid=i,this.options=a,this.content=[],this.activeMarks=me.none,this.match=l||(a&cu?null:e.contentMatch)}findWrapping(e){if(!this.match){if(!this.type)return[];let n=this.type.contentMatch.fillBefore(X.from(e));if(n)this.match=this.type.contentMatch.matchFragment(n);else{let r=this.type.contentMatch,i;return(i=r.findWrapping(e.type))?(this.match=r,i):null}}return this.match.findWrapping(e.type)}finish(e){if(!(this.options&ph)){let r=this.content[this.content.length-1],i;if(r&&r.isText&&(i=/[ \t\r\n\u000c]+$/.exec(r.text))){let l=r;r.text.length==i[0].length?this.content.pop():this.content[this.content.length-1]=l.withText(l.text.slice(0,l.text.length-i[0].length))}}let n=X.from(this.content);return!e&&this.match&&(n=n.append(this.match.fillBefore(X.empty,!0))),this.type?this.type.create(this.attrs,n,this.marks):n}inlineContext(e){return this.type?this.type.inlineContent:this.content.length?this.content[0].isInline:e.parentNode&&!JT.hasOwnProperty(e.parentNode.nodeName.toLowerCase())}};u(Dv,"NodeContext");let La=Dv;const kv=class kv{constructor(e,n,r){this.parser=e,this.options=n,this.isOpen=r,this.open=0;let i=n.topNode,l,a=t8(null,n.preserveWhitespace,0)|(r?cu:0);i?l=new La(i.type,i.attrs,me.none,!0,n.topMatch||i.type.contentMatch,a):r?l=new La(null,null,me.none,!0,null,a):l=new La(e.schema.topNodeType,null,me.none,!0,null,a),this.nodes=[l],this.find=n.findPositions,this.needsBlock=!1}get top(){return this.nodes[this.open]}addDOM(e,n){e.nodeType==3?this.addTextNode(e,n):e.nodeType==1&&this.addElement(e,n)}addTextNode(e,n){let r=e.nodeValue,i=this.top;if(i.options&mh||i.inlineContext(e)||/[^ \t\r\n\u000c]/.test(r)){if(i.options&ph)i.options&mh?r=r.replace(/\r\n?/g,` +`):r=r.replace(/\r?\n|\r/g," ");else if(r=r.replace(/[ \t\r\n\u000c]+/g," "),/^[ \t\r\n\u000c]/.test(r)&&this.open==this.nodes.length-1){let l=i.content[i.content.length-1],a=e.previousSibling;(!l||a&&a.nodeName=="BR"||l.isText&&/[ \t\r\n\u000c]$/.test(l.text))&&(r=r.slice(1))}r&&this.insertNode(this.parser.schema.text(r),n),this.findInText(e)}else this.findInside(e)}addElement(e,n,r){let i=e.nodeName.toLowerCase(),l;e8.hasOwnProperty(i)&&this.parser.normalizeLists&&PY(e);let a=this.options.ruleFromNode&&this.options.ruleFromNode(e)||(l=this.parser.matchTag(e,this,r));if(a?a.ignore:kY.hasOwnProperty(i))this.findInside(e),this.ignoreFallback(e,n);else if(!a||a.skip||a.closeParent){a&&a.closeParent?this.open=Math.max(0,this.open-1):a&&a.skip.nodeType&&(e=a.skip);let o,s=this.top,c=this.needsBlock;if(JT.hasOwnProperty(i))s.content.length&&s.content[0].isInline&&this.open&&(this.open--,s=this.top),o=!0,s.type||(this.needsBlock=!0);else if(!e.firstChild){this.leafFallback(e,n);return}let d=a&&a.skip?n:this.readStyles(e,n);d&&this.addAll(e,d),o&&this.sync(s),this.needsBlock=c}else{let o=this.readStyles(e,n);o&&this.addElementByRule(e,a,o,a.consuming===!1?l:void 0)}}leafFallback(e,n){e.nodeName=="BR"&&this.top.type&&this.top.type.inlineContent&&this.addTextNode(e.ownerDocument.createTextNode(` +`),n)}ignoreFallback(e,n){e.nodeName=="BR"&&(!this.top.type||!this.top.type.inlineContent)&&this.findPlace(this.parser.schema.text("-"),n)}readStyles(e,n){let r=e.style;if(r&&r.length)for(let i=0;i!s.clearMark(c)):n=n.concat(this.parser.schema.marks[s.mark].create(s.attrs)),s.consuming===!1)o=s;else break}}return n}addElementByRule(e,n,r,i){let l,a;if(n.node)if(a=this.parser.schema.nodes[n.node],a.isLeaf)this.insertNode(a.create(n.attrs),r)||this.leafFallback(e,r);else{let s=this.enter(a,n.attrs||null,r,n.preserveWhitespace);s&&(l=!0,r=s)}else{let s=this.parser.schema.marks[n.mark];r=r.concat(s.create(n.attrs))}let o=this.top;if(a&&a.isLeaf)this.findInside(e);else if(i)this.addElement(e,r,i);else if(n.getContent)this.findInside(e),n.getContent(e,this.parser.schema).forEach(s=>this.insertNode(s,r));else{let s=e;typeof n.contentElement=="string"?s=e.querySelector(n.contentElement):typeof n.contentElement=="function"?s=n.contentElement(e):n.contentElement&&(s=n.contentElement),this.findAround(e,s,!0),this.addAll(s,r),this.findAround(e,s,!1)}l&&this.sync(o)&&this.open--}addAll(e,n,r,i){let l=r||0;for(let a=r?e.childNodes[r]:e.firstChild,o=i==null?null:e.childNodes[i];a!=o;a=a.nextSibling,++l)this.findAtPoint(e,l),this.addDOM(a,n);this.findAtPoint(e,l)}findPlace(e,n){let r,i;for(let l=this.open;l>=0;l--){let a=this.nodes[l],o=a.findWrapping(e);if(o&&(!r||r.length>o.length)&&(r=o,i=a,!o.length)||a.solid)break}if(!r)return null;this.sync(i);for(let l=0;l(a.type?a.type.allowsMarkType(c.type):r8(c.type,e))?(s=c.addToSet(s),!1):!0),this.nodes.push(new La(e,n,s,i,null,o)),this.open++,r}closeExtra(e=!1){let n=this.nodes.length-1;if(n>this.open){for(;n>this.open;n--)this.nodes[n-1].content.push(this.nodes[n].finish(e));this.nodes.length=this.open+1}}finish(){return this.open=0,this.closeExtra(this.isOpen),this.nodes[0].finish(this.isOpen||this.options.topOpen)}sync(e){for(let n=this.open;n>=0;n--)if(this.nodes[n]==e)return this.open=n,!0;return!1}get currentPos(){this.closeExtra();let e=0;for(let n=this.open;n>=0;n--){let r=this.nodes[n].content;for(let i=r.length-1;i>=0;i--)e+=r[i].nodeSize;n&&e++}return e}findAtPoint(e,n){if(this.find)for(let r=0;r-1)return e.split(/\s*\|\s*/).some(this.matchesContext,this);let n=e.split("/"),r=this.options.context,i=!this.isOpen&&(!r||r.parent.type==this.nodes[0].type),l=-(r?r.depth+1:0)+(i?0:1),a=u((o,s)=>{for(;o>=0;o--){let c=n[o];if(c==""){if(o==n.length-1||o==0)continue;for(;s>=l;s--)if(a(o-1,s))return!0;return!1}else{let d=s>0||s==0&&i?this.nodes[s].type:r&&s>=l?r.node(s-l).type:null;if(!d||d.name!=c&&!d.isInGroup(c))return!1;s--}}return!0},"match");return a(n.length-1,this.open)}textblockFromContext(){let e=this.options.context;if(e)for(let n=e.depth;n>=0;n--){let r=e.node(n).contentMatchAt(e.indexAfter(n)).defaultType;if(r&&r.isTextblock&&r.defaultAttrs)return r}for(let n in this.parser.schema.nodes){let r=this.parser.schema.nodes[n];if(r.isTextblock&&r.defaultAttrs)return r}}};u(kv,"ParseContext");let gh=kv;function PY(t){for(let e=t.firstChild,n=null;e;e=e.nextSibling){let r=e.nodeType==1?e.nodeName.toLowerCase():null;r&&e8.hasOwnProperty(r)&&n?(n.appendChild(e),e=n):r=="li"?n=e:r&&(n=null)}}u(PY,"normalizeList");function EY(t,e){return(t.matches||t.msMatchesSelector||t.webkitMatchesSelector||t.mozMatchesSelector).call(t,e)}u(EY,"matches");function n8(t){let e={};for(let n in t)e[n]=t[n];return e}u(n8,"copy");function r8(t,e){let n=e.schema.nodes;for(let r in n){let i=n[r];if(!i.allowsMarkType(t))continue;let l=[],a=u(o=>{l.push(o);for(let s=0;s{if(l.length||a.marks.length){let o=0,s=0;for(;o=0;i--){let l=this.serializeMark(e.marks[i],e.isInline,n);l&&((l.contentDOM||l.dom).appendChild(r),r=l.dom)}return r}serializeMark(e,n,r={}){let i=this.marks[e.type.name];return i&&Oh(jb(r),i(e,n),null,e.attrs)}static renderSpec(e,n,r=null,i){return Oh(e,n,r,i)}static fromSchema(e){return e.cached.domSerializer||(e.cached.domSerializer=new Rp(this.nodesFromSchema(e),this.marksFromSchema(e)))}static nodesFromSchema(e){let n=i8(e.nodes);return n.text||(n.text=r=>r.text),n}static marksFromSchema(e){return i8(e.marks)}};u(Rp,"DOMSerializer");let Wa=Rp;function i8(t){let e={};for(let n in t){let r=t[n].spec.toDOM;r&&(e[n]=r)}return e}u(i8,"gatherToDOM");function jb(t){return t.document||window.document}u(jb,"doc$1");const l8=new WeakMap;function AY(t){let e=l8.get(t);return e===void 0&&l8.set(t,e=TY(t)),e}u(AY,"suspiciousAttributes");function TY(t){let e=null;function n(r){if(r&&typeof r=="object")if(Array.isArray(r))if(typeof r[0]=="string")e||(e=[]),e.push(r);else for(let i=0;i-1)throw new RangeError("Using an array from an attribute object as a DOM spec. This may be an attempted cross site scripting attack.");let a=i.indexOf(" ");a>0&&(n=i.slice(0,a),i=i.slice(a+1));let o,s=n?t.createElementNS(n,i):t.createElement(i),c=e[1],d=1;if(c&&typeof c=="object"&&c.nodeType==null&&!Array.isArray(c)){d=2;for(let f in c)if(c[f]!=null){let h=f.indexOf(" ");h>0?s.setAttributeNS(f.slice(0,h),f.slice(h+1),c[f]):s.setAttribute(f,c[f])}}for(let f=d;fd)throw new RangeError("Content hole must be the only child of its parent node");return{dom:s,contentDOM:s}}else{let{dom:p,contentDOM:m}=Oh(t,h,n,r);if(s.appendChild(p),m){if(o)throw new RangeError("Multiple content holes");o=m}}}return{dom:s,contentDOM:o}}u(Oh,"renderSpec");const a8=65535,o8=Math.pow(2,16);function RY(t,e){return t+e*o8}u(RY,"makeRecover");function s8(t){return t&a8}u(s8,"recoverIndex");function QY(t){return(t-(t&a8))/o8}u(QY,"recoverOffset");const u8=1,c8=2,bh=4,d8=8,Pv=class Pv{constructor(e,n,r){this.pos=e,this.delInfo=n,this.recover=r}get deleted(){return(this.delInfo&d8)>0}get deletedBefore(){return(this.delInfo&(u8|bh))>0}get deletedAfter(){return(this.delInfo&(c8|bh))>0}get deletedAcross(){return(this.delInfo&bh)>0}};u(Pv,"MapResult");let du=Pv;const Ai=class Ai{constructor(e,n=!1){if(this.ranges=e,this.inverted=n,!e.length&&Ai.empty)return Ai.empty}recover(e){let n=0,r=s8(e);if(!this.inverted)for(let i=0;ie)break;let c=this.ranges[o+l],d=this.ranges[o+a],f=s+c;if(e<=f){let h=c?e==s?-1:e==f?1:n:n,p=s+i+(h<0?0:d);if(r)return p;let m=e==(n<0?s:f)?null:RY(o/3,e-s),g=e==s?c8:e==f?u8:bh;return(n<0?e!=s:e!=f)&&(g|=d8),new du(p,g,m)}i+=d-c}return r?e+i:new du(e+i,0,null)}touches(e,n){let r=0,i=s8(n),l=this.inverted?2:1,a=this.inverted?1:2;for(let o=0;oe)break;let c=this.ranges[o+l],d=s+c;if(e<=d&&o==i*3)return!0;r+=this.ranges[o+a]-c}return!1}forEach(e){let n=this.inverted?2:1,r=this.inverted?1:2;for(let i=0,l=0;i=0;n--){let i=e.getMirror(n);this.appendMap(e.maps[n].invert(),i!=null&&i>n?r-i-1:void 0)}}invert(){let e=new Oo;return e.appendMappingInverted(this),e}map(e,n=1){if(this.mirror)return this._map(e,n,!0);for(let r=this.from;rl&&s!a.isAtom||!o.type.allowsMarkType(this.mark.type)?a:a.mark(this.mark.addToSet(a.marks)),i),n.openStart,n.openEnd);return et.fromReplace(e,this.from,this.to,l)}invert(){return new gl(this.from,this.to,this.mark)}map(e){let n=e.mapResult(this.from,1),r=e.mapResult(this.to,-1);return n.deleted&&r.deleted||n.pos>=r.pos?null:new Il(n.pos,r.pos,this.mark)}merge(e){return e instanceof Il&&e.mark.eq(this.mark)&&this.from<=e.to&&this.to>=e.from?new Il(Math.min(this.from,e.from),Math.max(this.to,e.to),this.mark):null}toJSON(){return{stepType:"addMark",mark:this.mark.toJSON(),from:this.from,to:this.to}}static fromJSON(e,n){if(typeof n.from!="number"||typeof n.to!="number")throw new RangeError("Invalid input for AddMarkStep.fromJSON");return new Il(n.from,n.to,e.markFromJSON(n.mark))}};u(Il,"AddMarkStep");let fu=Il;je.jsonID("addMark",fu);const Zl=class Zl extends je{constructor(e,n,r){super(),this.from=e,this.to=n,this.mark=r}apply(e){let n=e.slice(this.from,this.to),r=new Y(Ub(n.content,i=>i.mark(this.mark.removeFromSet(i.marks)),e),n.openStart,n.openEnd);return et.fromReplace(e,this.from,this.to,r)}invert(){return new fu(this.from,this.to,this.mark)}map(e){let n=e.mapResult(this.from,1),r=e.mapResult(this.to,-1);return n.deleted&&r.deleted||n.pos>=r.pos?null:new Zl(n.pos,r.pos,this.mark)}merge(e){return e instanceof Zl&&e.mark.eq(this.mark)&&this.from<=e.to&&this.to>=e.from?new Zl(Math.min(this.from,e.from),Math.max(this.to,e.to),this.mark):null}toJSON(){return{stepType:"removeMark",mark:this.mark.toJSON(),from:this.from,to:this.to}}static fromJSON(e,n){if(typeof n.from!="number"||typeof n.to!="number")throw new RangeError("Invalid input for RemoveMarkStep.fromJSON");return new Zl(n.from,n.to,e.markFromJSON(n.mark))}};u(Zl,"RemoveMarkStep");let gl=Zl;je.jsonID("removeMark",gl);const zl=class zl extends je{constructor(e,n){super(),this.pos=e,this.mark=n}apply(e){let n=e.nodeAt(this.pos);if(!n)return et.fail("No node at mark step's position");let r=n.type.create(n.attrs,null,this.mark.addToSet(n.marks));return et.fromReplace(e,this.pos,this.pos+1,new Y(X.from(r),0,n.isLeaf?0:1))}invert(e){let n=e.nodeAt(this.pos);if(n){let r=this.mark.addToSet(n.marks);if(r.length==n.marks.length){for(let i=0;ir.pos?null:new bo(n.pos,r.pos,i,l,this.slice,this.insert,this.structure)}toJSON(){let e={stepType:"replaceAround",from:this.from,to:this.to,gapFrom:this.gapFrom,gapTo:this.gapTo,insert:this.insert};return this.slice.size&&(e.slice=this.slice.toJSON()),this.structure&&(e.structure=!0),e}static fromJSON(e,n){if(typeof n.from!="number"||typeof n.to!="number"||typeof n.gapFrom!="number"||typeof n.gapTo!="number"||typeof n.insert!="number")throw new RangeError("Invalid input for ReplaceAroundStep.fromJSON");return new bo(n.from,n.to,n.gapFrom,n.gapTo,Y.fromJSON(e,n.slice),n.insert,!!n.structure)}};u(bo,"ReplaceAroundStep");let vt=bo;je.jsonID("replaceAround",vt);function Yb(t,e,n){let r=t.resolve(e),i=n-e,l=r.depth;for(;i>0&&l>0&&r.indexAfter(l)==r.node(l).childCount;)l--,i--;if(i>0){let a=r.node(l).maybeChild(r.indexAfter(l));for(;i>0;){if(!a||a.isLeaf)return!0;a=a.firstChild,i--}}return!1}u(Yb,"contentBetween");function MY(t,e,n,r){let i=[],l=[],a,o;t.doc.nodesBetween(e,n,(s,c,d)=>{if(!s.isInline)return;let f=s.marks;if(!r.isInSet(f)&&d.type.allowsMarkType(r.type)){let h=Math.max(c,e),p=Math.min(c+s.nodeSize,n),m=r.addToSet(f);for(let g=0;gt.step(s)),l.forEach(s=>t.step(s))}u(MY,"addMark");function BY(t,e,n,r){let i=[],l=0;t.doc.nodesBetween(e,n,(a,o)=>{if(!a.isInline)return;l++;let s=null;if(r instanceof fh){let c=a.marks,d;for(;d=r.isInSet(c);)(s||(s=[])).push(d),c=d.removeFromSet(c)}else r?r.isInSet(a.marks)&&(s=[r]):s=a.marks;if(s&&s.length){let c=Math.min(o+a.nodeSize,n);for(let d=0;dt.step(new gl(a.from,a.to,a.style)))}u(BY,"removeMark");function f8(t,e,n,r=n.contentMatch,i=!0){let l=t.doc.nodeAt(e),a=[],o=e+1;for(let s=0;s=0;s--)t.step(a[s])}u(f8,"clearIncompatible");function VY(t,e,n){return(e==0||t.canReplace(e,t.childCount))&&(n==t.childCount||t.canReplace(0,n))}u(VY,"canCut");function mu(t){let n=t.parent.content.cutByIndex(t.startIndex,t.endIndex);for(let r=t.depth;;--r){let i=t.$from.node(r),l=t.$from.index(r),a=t.$to.indexAfter(r);if(rn;m--)g||r.index(m)>0?(g=!0,d=X.from(r.node(m).copy(d)),f++):s--;let h=X.empty,p=0;for(let m=l,g=!1;m>n;m--)g||i.after(m+1)=0;a--){if(r.size){let o=n[a].type.contentMatch.matchFragment(r);if(!o||!o.validEnd)throw new RangeError("Wrapper type given to Transform.wrap does not form valid content of its parent wrapper")}r=X.from(n[a].type.create(n[a].attrs,r))}let i=e.start,l=e.end;t.step(new vt(i,l,i,l,new Y(r,0,0),n.length,!0))}u(ZY,"wrap");function zY(t,e,n,r,i){if(!r.isTextblock)throw new RangeError("Type given to setBlockType should be a textblock");let l=t.steps.length;t.doc.nodesBetween(e,n,(a,o)=>{let s=typeof i=="function"?i(a):i;if(a.isTextblock&&!a.hasMarkup(r,s)&&XY(t.doc,t.mapping.slice(l).map(o),r)){let c=null;if(r.schema.linebreakReplacement){let p=r.whitespace=="pre",m=!!r.contentMatch.matchType(r.schema.linebreakReplacement);p&&!m?c=!1:!p&&m&&(c=!0)}c===!1&&WY(t,a,o,l),f8(t,t.mapping.slice(l).map(o,1),r,void 0,c===null);let d=t.mapping.slice(l),f=d.map(o,1),h=d.map(o+a.nodeSize,1);return t.step(new vt(f,h,f+1,h-1,new Y(X.from(r.create(s,null,a.marks)),0,0),1,!0)),c===!0&&LY(t,a,o,l),!1}})}u(zY,"setBlockType$1");function LY(t,e,n,r){e.forEach((i,l)=>{if(i.isText){let a,o=/\r?\n|\r/g;for(;a=o.exec(i.text);){let s=t.mapping.slice(r).map(n+1+l+a.index);t.replaceWith(s,s+1,e.type.schema.linebreakReplacement.create())}}})}u(LY,"replaceNewlines");function WY(t,e,n,r){e.forEach((i,l)=>{if(i.type==i.type.schema.linebreakReplacement){let a=t.mapping.slice(r).map(n+1+l);t.replaceWith(a,a+1,e.type.schema.text(` +`))}})}u(WY,"replaceLinebreaks");function XY(t,e,n){let r=t.resolve(e),i=r.index();return r.parent.canReplaceWith(i,i+1,n)}u(XY,"canChangeType");function jY(t,e,n,r,i){let l=t.doc.nodeAt(e);if(!l)throw new RangeError("No node at given position");n||(n=l.type);let a=n.create(r,null,i||l.marks);if(l.isLeaf)return t.replaceWith(e,e+l.nodeSize,a);if(!n.validContent(l.content))throw new RangeError("Invalid content for node type "+n.name);t.step(new vt(e,e+l.nodeSize,e+1,e+l.nodeSize-1,new Y(X.from(a),0,0),1,!0))}u(jY,"setNodeMarkup");function Xa(t,e,n=1,r){let i=t.resolve(e),l=i.depth-n,a=r&&r[r.length-1]||i.parent;if(l<0||i.parent.type.spec.isolating||!i.parent.canReplace(i.index(),i.parent.childCount)||!a.type.validContent(i.parent.content.cutByIndex(i.index(),i.parent.childCount)))return!1;for(let c=i.depth-1,d=n-2;c>l;c--,d--){let f=i.node(c),h=i.index(c);if(f.type.spec.isolating)return!1;let p=f.content.cutByIndex(h,f.childCount),m=r&&r[d+1];m&&(p=p.replaceChild(0,m.type.create(m.attrs)));let g=r&&r[d]||f;if(!f.canReplace(h+1,f.childCount)||!g.type.validContent(p))return!1}let o=i.indexAfter(l),s=r&&r[0];return i.node(l).canReplaceWith(o,o,s?s.type:i.node(l+1).type)}u(Xa,"canSplit");function qY(t,e,n=1,r){let i=t.doc.resolve(e),l=X.empty,a=X.empty;for(let o=i.depth,s=i.depth-n,c=n-1;o>s;o--,c--){l=X.from(i.node(o).copy(l));let d=r&&r[c];a=X.from(d?d.type.create(d.attrs,a):i.node(o).copy(a))}t.step(new kn(e,e,new Y(l.append(a),n,n),!0))}u(qY,"split");function ja(t,e){let n=t.resolve(e),r=n.index();return p8(n.nodeBefore,n.nodeAfter)&&n.parent.canReplace(r,r+1)}u(ja,"canJoin");function p8(t,e){return!!(t&&e&&!t.isLeaf&&t.canAppend(e))}u(p8,"joinable");function m8(t,e,n=-1){let r=t.resolve(e);for(let i=r.depth;;i--){let l,a,o=r.index(i);if(i==r.depth?(l=r.nodeBefore,a=r.nodeAfter):n>0?(l=r.node(i+1),o++,a=r.node(i).maybeChild(o)):(l=r.node(i).maybeChild(o-1),a=r.node(i+1)),l&&!l.isTextblock&&p8(l,a)&&r.node(i).canReplace(o,o+1))return e;if(i==0)break;e=n<0?r.before(i):r.after(i)}}u(m8,"joinPoint");function UY(t,e,n){let r=new kn(e-n,e+n,Y.empty,!0);t.step(r)}u(UY,"join");function YY(t,e,n){let r=t.resolve(e);if(r.parent.canReplaceWith(r.index(),r.index(),n))return e;if(r.parentOffset==0)for(let i=r.depth-1;i>=0;i--){let l=r.index(i);if(r.node(i).canReplaceWith(l,l,n))return r.before(i+1);if(l>0)return null}if(r.parentOffset==r.parent.content.size)for(let i=r.depth-1;i>=0;i--){let l=r.indexAfter(i);if(r.node(i).canReplaceWith(l,l,n))return r.after(i+1);if(l=0;a--){let o=a==r.depth?0:r.pos<=(r.start(a+1)+r.end(a+1))/2?-1:1,s=r.index(a)+(o>0?1:0),c=r.node(a),d=!1;if(l==1)d=c.canReplace(s,s,i);else{let f=c.contentMatchAt(s).findWrapping(i.firstChild.type);d=f&&c.canReplaceWith(s,s,f[0])}if(d)return o==0?r.pos:o<0?r.before(a+1):r.after(a+1)}return null}u(g8,"dropPoint");function Gb(t,e,n=e,r=Y.empty){if(e==n&&!r.size)return null;let i=t.resolve(e),l=t.resolve(n);return O8(i,l,r)?new kn(e,n,r):new Hb(i,l,r).fit()}u(Gb,"replaceStep");function O8(t,e,n){return!n.openStart&&!n.openEnd&&t.start()==e.start()&&t.parent.canReplace(t.index(),e.index(),n.content)}u(O8,"fitsTrivially");const Av=class Av{constructor(e,n,r){this.$from=e,this.$to=n,this.unplaced=r,this.frontier=[],this.placed=X.empty;for(let i=0;i<=e.depth;i++){let l=e.node(i);this.frontier.push({type:l.type,match:l.contentMatchAt(e.indexAfter(i))})}for(let i=e.depth;i>0;i--)this.placed=X.from(e.node(i).copy(this.placed))}get depth(){return this.frontier.length-1}fit(){for(;this.unplaced.size;){let c=this.findFittable();c?this.placeNodes(c):this.openMore()||this.dropNode()}let e=this.mustMoveInline(),n=this.placed.size-this.depth-this.$from.depth,r=this.$from,i=this.close(e<0?this.$to:r.doc.resolve(e));if(!i)return null;let l=this.placed,a=r.depth,o=i.depth;for(;a&&o&&l.childCount==1;)l=l.firstChild.content,a--,o--;let s=new Y(l,a,o);return e>-1?new vt(r.pos,e,this.$to.pos,this.$to.end(),s,n):s.size||r.pos!=this.$to.pos?new kn(r.pos,i.pos,s):null}findFittable(){let e=this.unplaced.openStart;for(let n=this.unplaced.content,r=0,i=this.unplaced.openEnd;r1&&(i=0),l.type.spec.isolating&&i<=r){e=r;break}n=l.content}for(let n=1;n<=2;n++)for(let r=n==1?e:this.unplaced.openStart;r>=0;r--){let i,l=null;r?(l=_b(this.unplaced.content,r-1).firstChild,i=l.content):i=this.unplaced.content;let a=i.firstChild;for(let o=this.depth;o>=0;o--){let{type:s,match:c}=this.frontier[o],d,f=null;if(n==1&&(a?c.matchType(a.type)||(f=c.fillBefore(X.from(a),!1)):l&&s.compatibleContent(l.type)))return{sliceDepth:r,frontierDepth:o,parent:l,inject:f};if(n==2&&a&&(d=c.findWrapping(a.type)))return{sliceDepth:r,frontierDepth:o,parent:l,wrap:d};if(l&&c.matchType(l.type))break}}}openMore(){let{content:e,openStart:n,openEnd:r}=this.unplaced,i=_b(e,n);return!i.childCount||i.firstChild.isLeaf?!1:(this.unplaced=new Y(e,n+1,Math.max(r,i.size+n>=e.size-r?n+1:0)),!0)}dropNode(){let{content:e,openStart:n,openEnd:r}=this.unplaced,i=_b(e,n);if(i.childCount<=1&&n>0){let l=e.size-n<=n+i.size;this.unplaced=new Y(gu(e,n-1,1),n-1,l?n-1:r)}else this.unplaced=new Y(gu(e,n,1),n,r)}placeNodes({sliceDepth:e,frontierDepth:n,parent:r,inject:i,wrap:l}){for(;this.depth>n;)this.closeFrontierNode();if(l)for(let g=0;g1||s==0||g.content.size)&&(f=O,d.push(b8(g.mark(h.allowedMarks(g.marks)),c==1?s:0,c==o.childCount?p:-1)))}let m=c==o.childCount;m||(p=-1),this.placed=Ou(this.placed,n,X.from(d)),this.frontier[n].match=f,m&&p<0&&r&&r.type==this.frontier[this.depth].type&&this.frontier.length>1&&this.closeFrontierNode();for(let g=0,O=o;g1&&i==this.$to.end(--r);)++i;return i}findCloseLevel(e){e:for(let n=Math.min(this.depth,e.depth);n>=0;n--){let{match:r,type:i}=this.frontier[n],l=n=0;o--){let{match:s,type:c}=this.frontier[o],d=Jb(e,o,c,s,!0);if(!d||d.childCount)continue e}return{depth:n,fit:a,move:l?e.doc.resolve(e.after(n+1)):e}}}}close(e){let n=this.findCloseLevel(e);if(!n)return null;for(;this.depth>n.depth;)this.closeFrontierNode();n.fit.childCount&&(this.placed=Ou(this.placed,n.depth,n.fit)),e=n.move;for(let r=n.depth+1;r<=e.depth;r++){let i=e.node(r),l=i.type.contentMatch.fillBefore(i.content,!0,e.index(r));this.openFrontierNode(i.type,i.attrs,l)}return e}openFrontierNode(e,n=null,r){let i=this.frontier[this.depth];i.match=i.match.matchType(e),this.placed=Ou(this.placed,this.depth,X.from(e.create(n,r))),this.frontier.push({type:e,match:e.contentMatch})}closeFrontierNode(){let n=this.frontier.pop().match.fillBefore(X.empty,!0);n.childCount&&(this.placed=Ou(this.placed,this.frontier.length,n))}};u(Av,"Fitter");let Hb=Av;function gu(t,e,n){return e==0?t.cutByIndex(n,t.childCount):t.replaceChild(0,t.firstChild.copy(gu(t.firstChild.content,e-1,n)))}u(gu,"dropFromFragment");function Ou(t,e,n){return e==0?t.append(n):t.replaceChild(t.childCount-1,t.lastChild.copy(Ou(t.lastChild.content,e-1,n)))}u(Ou,"addToFragment");function _b(t,e){for(let n=0;n1&&(r=r.replaceChild(0,b8(r.firstChild,e-1,r.childCount==1?n-1:0))),e>0&&(r=t.type.contentMatch.fillBefore(r).append(r),n<=0&&(r=r.append(t.type.contentMatch.matchFragment(r).fillBefore(X.empty,!0)))),t.copy(r)}u(b8,"closeNodeStart");function Jb(t,e,n,r,i){let l=t.node(e),a=i?t.indexAfter(e):t.index(e);if(a==l.childCount&&!n.compatibleContent(l.type))return null;let o=r.fillBefore(l.content,!0,a);return o&&!KY(n,l.content,a)?o:null}u(Jb,"contentAfterFits");function KY(t,e,n){for(let r=n;r0;h--,p--){let m=i.node(h).type.spec;if(m.defining||m.definingAsContext||m.isolating)break;a.indexOf(h)>-1?o=h:i.before(h)==p&&a.splice(1,0,-h)}let s=a.indexOf(o),c=[],d=r.openStart;for(let h=r.content,p=0;;p++){let m=h.firstChild;if(c.push(m),p==r.openStart)break;h=m.content}for(let h=d-1;h>=0;h--){let p=c[h],m=GY(p.type);if(m&&!p.sameMarkup(i.node(Math.abs(o)-1)))d=h;else if(m||!p.type.isTextblock)break}for(let h=r.openStart;h>=0;h--){let p=(h+d+1)%(r.openStart+1),m=c[p];if(m)for(let g=0;g=0&&(t.replace(e,n,r),!(t.steps.length>f));h--){let p=a[h];p<0||(e=i.before(p),n=l.after(p))}}u(HY,"replaceRange");function y8(t,e,n,r,i){if(er){let l=i.contentMatchAt(0),a=l.fillBefore(t).append(t);t=a.append(l.matchFragment(a).fillBefore(X.empty,!0))}return t}u(y8,"closeFragment");function _Y(t,e,n,r){if(!r.isInline&&e==n&&t.doc.resolve(e).parent.content.size){let i=YY(t.doc,e,r.type);i!=null&&(e=n=i)}t.replaceRange(e,n,new Y(X.from(r),0,0))}u(_Y,"replaceRangeWith");function JY(t,e,n){let r=t.doc.resolve(e),i=t.doc.resolve(n),l=v8(r,i);for(let a=0;a0&&(s||r.node(o-1).canReplace(r.index(o-1),i.indexAfter(o-1))))return t.delete(r.before(o),i.after(o))}for(let a=1;a<=r.depth&&a<=i.depth;a++)if(e-r.start(a)==r.depth-a&&n>r.end(a)&&i.end(a)-n!=i.depth-a)return t.delete(r.before(a),n);t.delete(e,n)}u(JY,"deleteRange");function v8(t,e){let n=[],r=Math.min(t.depth,e.depth);for(let i=r;i>=0;i--){let l=t.start(i);if(le.pos+(e.depth-i)||t.node(i).type.spec.isolating||e.node(i).type.spec.isolating)break;(l==e.start(i)||i==t.depth&&i==e.depth&&t.parent.inlineContent&&e.parent.inlineContent&&i&&e.start(i-1)==l-1)&&n.push(i)}return n}u(v8,"coveredDepths");const yo=class yo extends je{constructor(e,n,r){super(),this.pos=e,this.attr=n,this.value=r}apply(e){let n=e.nodeAt(this.pos);if(!n)return et.fail("No node at attribute step's position");let r=Object.create(null);for(let l in n.attrs)r[l]=n.attrs[l];r[this.attr]=this.value;let i=n.type.create(r,null,n.marks);return et.fromReplace(e,this.pos,this.pos+1,new Y(X.from(i),0,n.isLeaf?0:1))}getMap(){return Mr.empty}invert(e){return new yo(this.pos,this.attr,e.nodeAt(this.pos).attrs[this.attr])}map(e){let n=e.mapResult(this.pos,1);return n.deletedAfter?null:new yo(n.pos,this.attr,this.value)}toJSON(){return{stepType:"attr",pos:this.pos,attr:this.attr,value:this.value}}static fromJSON(e,n){if(typeof n.pos!="number"||typeof n.attr!="string")throw new RangeError("Invalid input for AttrStep.fromJSON");return new yo(n.pos,n.attr,n.value)}};u(yo,"AttrStep");let vh=yo;je.jsonID("attr",vh);const Oc=class Oc extends je{constructor(e,n){super(),this.attr=e,this.value=n}apply(e){let n=Object.create(null);for(let i in e.attrs)n[i]=e.attrs[i];n[this.attr]=this.value;let r=e.type.create(n,e.content,e.marks);return et.ok(r)}getMap(){return Mr.empty}invert(e){return new Oc(this.attr,e.attrs[this.attr])}map(e){return this}toJSON(){return{stepType:"docAttr",attr:this.attr,value:this.value}}static fromJSON(e,n){if(typeof n.attr!="string")throw new RangeError("Invalid input for DocAttrStep.fromJSON");return new Oc(n.attr,n.value)}};u(Oc,"DocAttrStep");let $h=Oc;je.jsonID("docAttr",$h);let qa=(bc=class extends Error{},u(bc,"TransformError"),bc);qa=u(function t(e){let n=Error.call(this,e);return n.__proto__=t.prototype,n},"TransformError"),qa.prototype=Object.create(Error.prototype),qa.prototype.constructor=qa,qa.prototype.name="TransformError";const Tv=class Tv{constructor(e){this.doc=e,this.steps=[],this.docs=[],this.mapping=new yh}get before(){return this.docs.length?this.docs[0]:this.doc}step(e){let n=this.maybeStep(e);if(n.failed)throw new qa(n.failed);return this}maybeStep(e){let n=e.apply(this.doc);return n.failed||this.addStep(e,n.doc),n}get docChanged(){return this.steps.length>0}addStep(e,n){this.docs.push(this.doc),this.steps.push(e),this.mapping.appendMap(e.getMap()),this.doc=n}replace(e,n=e,r=Y.empty){let i=Gb(this.doc,e,n,r);return i&&this.step(i),this}replaceWith(e,n,r){return this.replace(e,n,new Y(X.from(r),0,0))}delete(e,n){return this.replace(e,n,Y.empty)}insert(e,n){return this.replaceWith(e,e,n)}replaceRange(e,n,r){return HY(this,e,n,r),this}replaceRangeWith(e,n,r){return _Y(this,e,n,r),this}deleteRange(e,n){return JY(this,e,n),this}lift(e,n){return NY(this,e,n),this}join(e,n=1){return UY(this,e,n),this}wrap(e,n){return ZY(this,e,n),this}setBlockType(e,n=e,r,i=null){return zY(this,e,n,r,i),this}setNodeMarkup(e,n,r=null,i){return jY(this,e,n,r,i),this}setNodeAttribute(e,n,r){return this.step(new vh(e,n,r)),this}setDocAttribute(e,n){return this.step(new $h(e,n)),this}addNodeMark(e,n){return this.step(new hu(e,n)),this}removeNodeMark(e,n){if(!(n instanceof me)){let r=this.doc.nodeAt(e);if(!r)throw new RangeError("No node at position "+e);if(n=n.isInSet(r.marks),!n)return this}return this.step(new pu(e,n)),this}split(e,n=1,r){return qY(this,e,n,r),this}addMark(e,n,r){return MY(this,e,n,r),this}removeMark(e,n,r){return BY(this,e,n,r),this}clearIncompatible(e,n,r){return f8(this,e,n,r),this}};u(Tv,"Transform");let ey=Tv;const ty=Object.create(null),Rv=class Rv{constructor(e,n,r){this.$anchor=e,this.$head=n,this.ranges=r||[new bu(e.min(n),e.max(n))]}get anchor(){return this.$anchor.pos}get head(){return this.$head.pos}get from(){return this.$from.pos}get to(){return this.$to.pos}get $from(){return this.ranges[0].$from}get $to(){return this.ranges[0].$to}get empty(){let e=this.ranges;for(let n=0;n=0;l--){let a=n<0?Ua(e.node(0),e.node(l),e.before(l+1),e.index(l),n,r):Ua(e.node(0),e.node(l),e.after(l+1),e.index(l)+1,n,r);if(a)return a}return null}static near(e,n=1){return this.findFrom(e,n)||this.findFrom(e,-n)||new Pn(e.node(0))}static atStart(e){return Ua(e,e,0,0,1)||new Pn(e)}static atEnd(e){return Ua(e,e,e.content.size,e.childCount,-1)||new Pn(e)}static fromJSON(e,n){if(!n||!n.type)throw new RangeError("Invalid input for Selection.fromJSON");let r=ty[n.type];if(!r)throw new RangeError(`No selection type ${n.type} defined`);return r.fromJSON(e,n)}static jsonID(e,n){if(e in ty)throw new RangeError("Duplicate use of selection JSON ID "+e);return ty[e]=n,n.prototype.jsonID=e,n}getBookmark(){return ye.between(this.$anchor,this.$head).getBookmark()}};u(Rv,"Selection");let ce=Rv;ce.prototype.visible=!0;const Qv=class Qv{constructor(e,n){this.$from=e,this.$to=n}};u(Qv,"SelectionRange");let bu=Qv,$8=!1;function w8(t){!$8&&!t.parent.inlineContent&&($8=!0,console.warn("TextSelection endpoint not pointing into a node with inline content ("+t.parent.type.name+")"))}u(w8,"checkTextSelection");const Ll=class Ll extends ce{constructor(e,n=e){w8(e),w8(n),super(e,n)}get $cursor(){return this.$anchor.pos==this.$head.pos?this.$head:null}map(e,n){let r=e.resolve(n.map(this.head));if(!r.parent.inlineContent)return ce.near(r);let i=e.resolve(n.map(this.anchor));return new Ll(i.parent.inlineContent?i:r,r)}replace(e,n=Y.empty){if(super.replace(e,n),n==Y.empty){let r=this.$from.marksAcross(this.$to);r&&e.ensureMarks(r)}}eq(e){return e instanceof Ll&&e.anchor==this.anchor&&e.head==this.head}getBookmark(){return new wh(this.anchor,this.head)}toJSON(){return{type:"text",anchor:this.anchor,head:this.head}}static fromJSON(e,n){if(typeof n.anchor!="number"||typeof n.head!="number")throw new RangeError("Invalid input for TextSelection.fromJSON");return new Ll(e.resolve(n.anchor),e.resolve(n.head))}static create(e,n,r=n){let i=e.resolve(n);return new this(i,r==n?i:e.resolve(r))}static between(e,n,r){let i=e.pos-n.pos;if((!r||i)&&(r=i>=0?1:-1),!n.parent.inlineContent){let l=ce.findFrom(n,r,!0)||ce.findFrom(n,-r,!0);if(l)n=l.$head;else return ce.near(n,r)}return e.parent.inlineContent||(i==0?e=n:(e=(ce.findFrom(e,-r,!0)||ce.findFrom(e,r,!0)).$anchor,e.pos0?0:1);i>0?a=0;a+=i){let o=e.child(a);if(o.isAtom){if(!l&&ae.isSelectable(o))return ae.create(t,n-(i<0?o.nodeSize:0))}else{let s=Ua(t,o,n+i,i<0?o.childCount:0,i,l);if(s)return s}n+=o.nodeSize*i}return null}u(Ua,"findSelectionIn");function x8(t,e,n){let r=t.steps.length-1;if(r{a==null&&(a=d)}),t.setSelection(ce.near(t.doc.resolve(a),n))}u(x8,"selectionToInsertionEnd");const S8=1,xh=2,C8=4,Mv=class Mv extends ey{constructor(e){super(e.doc),this.curSelectionFor=0,this.updated=0,this.meta=Object.create(null),this.time=Date.now(),this.curSelection=e.selection,this.storedMarks=e.storedMarks}get selection(){return this.curSelectionFor0}setStoredMarks(e){return this.storedMarks=e,this.updated|=xh,this}ensureMarks(e){return me.sameSet(this.storedMarks||this.selection.$from.marks(),e)||this.setStoredMarks(e),this}addStoredMark(e){return this.ensureMarks(e.addToSet(this.storedMarks||this.selection.$head.marks()))}removeStoredMark(e){return this.ensureMarks(e.removeFromSet(this.storedMarks||this.selection.$head.marks()))}get storedMarksSet(){return(this.updated&xh)>0}addStep(e,n){super.addStep(e,n),this.updated=this.updated&~xh,this.storedMarks=null}setTime(e){return this.time=e,this}replaceSelection(e){return this.selection.replace(this,e),this}replaceSelectionWith(e,n=!0){let r=this.selection;return n&&(e=e.mark(this.storedMarks||(r.empty?r.$from.marks():r.$from.marksAcross(r.$to)||me.none))),r.replaceWith(this,e),this}deleteSelection(){return this.selection.replace(this),this}insertText(e,n,r){let i=this.doc.type.schema;if(n==null)return e?this.replaceSelectionWith(i.text(e),!0):this.deleteSelection();{if(r==null&&(r=n),r=r??n,!e)return this.deleteRange(n,r);let l=this.storedMarks;if(!l){let a=this.doc.resolve(n);l=r==n?a.marks():a.marksAcross(this.doc.resolve(r))}return this.replaceRangeWith(n,r,i.text(e,l)),this.selection.empty||this.setSelection(ce.near(this.selection.$to)),this}}setMeta(e,n){return this.meta[typeof e=="string"?e:e.key]=n,this}getMeta(e){return this.meta[typeof e=="string"?e:e.key]}get isGeneric(){for(let e in this.meta)return!1;return!0}scrollIntoView(){return this.updated|=C8,this}get scrolledIntoView(){return(this.updated&C8)>0}};u(Mv,"Transaction");let ry=Mv;function D8(t,e){return!e||!t?t:t.bind(e)}u(D8,"bind");const Bv=class Bv{constructor(e,n,r){this.name=e,this.init=D8(n.init,r),this.apply=D8(n.apply,r)}};u(Bv,"FieldDesc");let Ol=Bv;const tK=[new Ol("doc",{init(t){return t.doc||t.schema.topNodeType.createAndFill()},apply(t){return t.doc}}),new Ol("selection",{init(t,e){return t.selection||ce.atStart(e.doc)},apply(t){return t.selection}}),new Ol("storedMarks",{init(t){return t.storedMarks||null},apply(t,e,n,r){return r.selection.$cursor?t.storedMarks:null}}),new Ol("scrollToSelection",{init(){return 0},apply(t,e){return t.scrolledIntoView?e+1:e}})],Vv=class Vv{constructor(e,n){this.schema=e,this.plugins=[],this.pluginsByKey=Object.create(null),this.fields=tK.slice(),n&&n.forEach(r=>{if(this.pluginsByKey[r.key])throw new RangeError("Adding different instances of a keyed plugin ("+r.key+")");this.plugins.push(r),this.pluginsByKey[r.key]=r,r.spec.state&&this.fields.push(new Ol(r.key,r.spec.state,r))})}};u(Vv,"Configuration");let yu=Vv;const Xl=class Xl{constructor(e){this.config=e}get schema(){return this.config.schema}get plugins(){return this.config.plugins}apply(e){return this.applyTransaction(e).state}filterTransaction(e,n=-1){for(let r=0;rr.toJSON())),e&&typeof e=="object")for(let r in e){if(r=="doc"||r=="selection")throw new RangeError("The JSON fields `doc` and `selection` are reserved");let i=e[r],l=i.spec.state;l&&l.toJSON&&(n[r]=l.toJSON.call(i,this[i.key]))}return n}static fromJSON(e,n,r){if(!n)throw new RangeError("Invalid input for EditorState.fromJSON");if(!e.schema)throw new RangeError("Required config field 'schema' missing");let i=new yu(e.schema,e.plugins),l=new Xl(i);return i.fields.forEach(a=>{if(a.name=="doc")l.doc=pl.fromJSON(e.schema,n.doc);else if(a.name=="selection")l.selection=ce.fromJSON(l.doc,n.selection);else if(a.name=="storedMarks")n.storedMarks&&(l.storedMarks=n.storedMarks.map(e.schema.markFromJSON));else{if(r)for(let o in r){let s=r[o],c=s.spec.state;if(s.key==a.name&&c&&c.fromJSON&&Object.prototype.hasOwnProperty.call(n,o)){l[a.name]=c.fromJSON.call(s,e,n[o],l);return}}l[a.name]=a.init(e,l)}}),l}};u(Xl,"EditorState");let iy=Xl;function k8(t,e,n){for(let r in t){let i=t[r];i instanceof Function?i=i.bind(e):r=="handleDOMEvents"&&(i=k8(i,e,{})),n[r]=i}return n}u(k8,"bindProps");const Nv=class Nv{constructor(e){this.spec=e,this.props={},e.props&&k8(e.props,this,this.props),this.key=e.key?e.key.key:P8("plugin")}getState(e){return e[this.key]}};u(Nv,"Plugin");let Br=Nv;const ly=Object.create(null);function P8(t){return t in ly?t+"$"+ ++ly[t]:(ly[t]=0,t+"$")}u(P8,"createKey");const Fv=class Fv{constructor(e="key"){this.key=P8(e)}get(e){return e.config.pluginsByKey[this.key]}getState(e){return e[this.key]}};u(Fv,"PluginKey");let Sh=Fv;const tt=u(function(t){for(var e=0;;e++)if(t=t.previousSibling,!t)return e},"domIndex"),vu=u(function(t){let e=t.assignedSlot||t.parentNode;return e&&e.nodeType==11?e.host:e},"parentNode");let ay=null;const Vr=u(function(t,e,n){let r=ay||(ay=document.createRange());return r.setEnd(t,n??t.nodeValue.length),r.setStart(t,e||0),r},"textRange"),nK=u(function(){ay=null},"clearReusedRange"),bl=u(function(t,e,n,r){return n&&(E8(t,e,n,r,-1)||E8(t,e,n,r,1))},"isEquivalentPosition"),rK=/^(img|br|input|textarea|hr)$/i;function E8(t,e,n,r,i){for(;;){if(t==n&&e==r)return!0;if(e==(i<0?0:pn(t))){let l=t.parentNode;if(!l||l.nodeType!=1||$u(t)||rK.test(t.nodeName)||t.contentEditable=="false")return!1;e=tt(t)+(i<0?0:1),t=l}else if(t.nodeType==1){if(t=t.childNodes[e+(i<0?-1:0)],t.contentEditable=="false")return!1;e=i<0?pn(t):0}else return!1}}u(E8,"scanFor");function pn(t){return t.nodeType==3?t.nodeValue.length:t.childNodes.length}u(pn,"nodeSize");function iK(t,e){for(;;){if(t.nodeType==3&&e)return t;if(t.nodeType==1&&e>0){if(t.contentEditable=="false")return null;t=t.childNodes[e-1],e=pn(t)}else if(t.parentNode&&!$u(t))e=tt(t),t=t.parentNode;else return null}}u(iK,"textNodeBefore$1");function lK(t,e){for(;;){if(t.nodeType==3&&e2),mn=Ya||(er?/Mac/.test(er.platform):!1),uK=er?/Win/.test(er.platform):!1,An=/Android \d/.test($i),wu=!!A8&&"webkitFontSmoothing"in A8.documentElement.style,cK=wu?+(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent)||[0,0])[1]:0;function dK(t){let e=t.defaultView&&t.defaultView.visualViewport;return e?{left:0,right:e.width,top:0,bottom:e.height}:{left:0,right:t.documentElement.clientWidth,top:0,bottom:t.documentElement.clientHeight}}u(dK,"windowRect");function Nr(t,e){return typeof t=="number"?t:t[e]}u(Nr,"getSide");function fK(t){let e=t.getBoundingClientRect(),n=e.width/t.offsetWidth||1,r=e.height/t.offsetHeight||1;return{left:e.left,right:e.left+t.clientWidth*n,top:e.top,bottom:e.top+t.clientHeight*r}}u(fK,"clientRect");function Q8(t,e,n){let r=t.someProp("scrollThreshold")||0,i=t.someProp("scrollMargin")||5,l=t.dom.ownerDocument;for(let a=n||t.dom;a;a=vu(a)){if(a.nodeType!=1)continue;let o=a,s=o==l.body,c=s?dK(l):fK(o),d=0,f=0;if(e.topc.bottom-Nr(r,"bottom")&&(f=e.bottom-e.top>c.bottom-c.top?e.top+Nr(i,"top")-c.top:e.bottom-c.bottom+Nr(i,"bottom")),e.leftc.right-Nr(r,"right")&&(d=e.right-c.right+Nr(i,"right")),d||f)if(s)l.defaultView.scrollBy(d,f);else{let h=o.scrollLeft,p=o.scrollTop;f&&(o.scrollTop+=f),d&&(o.scrollLeft+=d);let m=o.scrollLeft-h,g=o.scrollTop-p;e={left:e.left-m,top:e.top-g,right:e.right-m,bottom:e.bottom-g}}if(s||/^(fixed|sticky)$/.test(getComputedStyle(a).position))break}}u(Q8,"scrollRectIntoView");function hK(t){let e=t.dom.getBoundingClientRect(),n=Math.max(0,e.top),r,i;for(let l=(e.left+e.right)/2,a=n+1;a=n-20){r=o,i=s.top;break}}return{refDOM:r,refTop:i,stack:M8(t.dom)}}u(hK,"storeScrollPos");function M8(t){let e=[],n=t.ownerDocument;for(let r=t;r&&(e.push({dom:r,top:r.scrollTop,left:r.scrollLeft}),t!=n);r=vu(r));return e}u(M8,"scrollStack");function pK({refDOM:t,refTop:e,stack:n}){let r=t?t.getBoundingClientRect().top:0;B8(n,r==0?0:r-e)}u(pK,"resetScrollPos");function B8(t,e){for(let n=0;n=o){a=Math.max(m.bottom,a),o=Math.min(m.top,o);let g=m.left>e.left?m.left-e.left:m.right=(m.left+m.right)/2?1:0));continue}}else m.top>e.top&&!s&&m.left<=e.left&&m.right>=e.left&&(s=d,c={left:Math.max(m.left,Math.min(m.right,e.left)),top:m.top});!n&&(e.left>=m.right&&e.top>=m.top||e.left>=m.left&&e.top>=m.bottom)&&(l=f+1)}}return!n&&s&&(n=s,i=c,r=0),n&&n.nodeType==3?gK(n,i):!n||r&&n.nodeType==1?{node:t,offset:l}:V8(n,i)}u(V8,"findOffsetInNode");function gK(t,e){let n=t.nodeValue.length,r=document.createRange();for(let i=0;i=(l.left+l.right)/2?1:0)}}return{node:t,offset:0}}u(gK,"findOffsetInText");function cy(t,e){return t.left>=e.left-1&&t.left<=e.right+1&&t.top>=e.top-1&&t.top<=e.bottom+1}u(cy,"inRect");function OK(t,e){let n=t.parentNode;return n&&/^li$/i.test(n.nodeName)&&e.left(a.left+a.right)/2?1:-1}return t.docView.posFromDOM(r,i,l)}u(bK,"posFromElement");function yK(t,e,n,r){let i=-1;for(let l=e,a=!1;l!=t.dom;){let o=t.docView.nearestDesc(l,!0);if(!o)return null;if(o.dom.nodeType==1&&(o.node.isBlock&&o.parent||!o.contentDOM)){let s=o.dom.getBoundingClientRect();if(o.node.isBlock&&o.parent&&(!a&&s.left>r.left||s.top>r.top?i=o.posBefore:(!a&&s.right-1?i:t.docView.posFromDOM(e,n,-1)}u(yK,"posFromCaret");function N8(t,e,n){let r=t.childNodes.length;if(r&&n.tope.top&&i++}let c;wu&&i&&r.nodeType==1&&(c=r.childNodes[i-1]).nodeType==1&&c.contentEditable=="false"&&c.getBoundingClientRect().top>=e.top&&i--,r==t.dom&&i==r.childNodes.length-1&&r.lastChild.nodeType==1&&e.top>r.lastChild.getBoundingClientRect().bottom?o=t.state.doc.content.size:(i==0||r.nodeType!=1||r.childNodes[i-1].nodeName!="BR")&&(o=yK(t,r,i,e))}o==null&&(o=bK(t,a,e));let s=t.docView.nearestDesc(a,!0);return{pos:o,inside:s?s.posAtStart-s.border:-1}}u(vK,"posAtCoords");function F8(t){return t.top=0&&i==r.nodeValue.length?(s--,d=1):n<0?s--:c++,xu(xi(Vr(r,s,c),d),d<0)}if(!t.state.doc.resolve(e-(l||0)).parent.inlineContent){if(l==null&&i&&(n<0||i==pn(r))){let s=r.childNodes[i-1];if(s.nodeType==1)return dy(s.getBoundingClientRect(),!1)}if(l==null&&i=0)}if(l==null&&i&&(n<0||i==pn(r))){let s=r.childNodes[i-1],c=s.nodeType==3?Vr(s,pn(s)-(a?0:1)):s.nodeType==1&&(s.nodeName!="BR"||!s.nextSibling)?s:null;if(c)return xu(xi(c,1),!1)}if(l==null&&i=0)}u(I8,"coordsAtPos");function xu(t,e){if(t.width==0)return t;let n=e?t.left:t.right;return{top:t.top,bottom:t.bottom,left:n,right:n}}u(xu,"flattenV");function dy(t,e){if(t.height==0)return t;let n=e?t.top:t.bottom;return{top:n,bottom:n,left:t.left,right:t.right}}u(dy,"flattenH");function Z8(t,e,n){let r=t.state,i=t.root.activeElement;r!=e&&t.updateState(e),i!=t.dom&&t.focus();try{return n()}finally{r!=e&&t.updateState(r),i!=t.dom&&i&&i.focus()}}u(Z8,"withFlushedState");function wK(t,e,n){let r=e.selection,i=n=="up"?r.$from:r.$to;return Z8(t,e,()=>{let{node:l}=t.docView.domFromPos(i.pos,n=="up"?-1:1);for(;;){let o=t.docView.nearestDesc(l,!0);if(!o)break;if(o.node.isBlock){l=o.contentDOM||o.dom;break}l=o.dom.parentNode}let a=I8(t,i.pos,1);for(let o=l.firstChild;o;o=o.nextSibling){let s;if(o.nodeType==1)s=o.getClientRects();else if(o.nodeType==3)s=Vr(o,0,o.nodeValue.length).getClientRects();else continue;for(let c=0;cd.top+1&&(n=="up"?a.top-d.top>(d.bottom-a.top)*2:d.bottom-a.bottom>(a.bottom-d.top)*2))return!1}}return!0})}u(wK,"endOfTextblockVertical");const xK=/[\u0590-\u08ac]/;function SK(t,e,n){let{$head:r}=e.selection;if(!r.parent.isTextblock)return!1;let i=r.parentOffset,l=!i,a=i==r.parent.content.size,o=t.domSelection();return o?!xK.test(r.parent.textContent)||!o.modify?n=="left"||n=="backward"?l:a:Z8(t,e,()=>{let{focusNode:s,focusOffset:c,anchorNode:d,anchorOffset:f}=t.domSelectionRange(),h=o.caretBidiLevel;o.modify("move",n,"character");let p=r.depth?t.docView.domAfterPos(r.before()):t.dom,{focusNode:m,focusOffset:g}=t.domSelectionRange(),O=m&&!p.contains(m.nodeType==1?m:m.parentNode)||s==m&&c==g;try{o.collapse(d,f),s&&(s!=d||c!=f)&&o.extend&&o.extend(s,c)}catch{}return h!=null&&(o.caretBidiLevel=h),O}):r.pos==r.start()||r.pos==r.end()}u(SK,"endOfTextblockHorizontal");let z8=null,L8=null,W8=!1;function CK(t,e,n){return z8==e&&L8==n?W8:(z8=e,L8=n,W8=n=="up"||n=="down"?wK(t,e,n):SK(t,e,n))}u(CK,"endOfTextblock");const gn=0,X8=1,vl=2,tr=3,Iv=class Iv{constructor(e,n,r,i){this.parent=e,this.children=n,this.dom=r,this.contentDOM=i,this.dirty=gn,r.pmViewDesc=this}matchesWidget(e){return!1}matchesMark(e){return!1}matchesNode(e,n,r){return!1}matchesHack(e){return!1}parseRule(){return null}stopEvent(e){return!1}get size(){let e=0;for(let n=0;ntt(this.contentDOM);else if(this.contentDOM&&this.contentDOM!=this.dom&&this.dom.contains(this.contentDOM))i=e.compareDocumentPosition(this.contentDOM)&2;else if(this.dom.firstChild){if(n==0)for(let l=e;;l=l.parentNode){if(l==this.dom){i=!1;break}if(l.previousSibling)break}if(i==null&&n==e.childNodes.length)for(let l=e;;l=l.parentNode){if(l==this.dom){i=!0;break}if(l.nextSibling)break}}return i??r>0?this.posAtEnd:this.posAtStart}nearestDesc(e,n=!1){for(let r=!0,i=e;i;i=i.parentNode){let l=this.getDesc(i),a;if(l&&(!n||l.node))if(r&&(a=l.nodeDOM)&&!(a.nodeType==1?a.contains(e.nodeType==1?e:e.parentNode):a==e))r=!1;else return l}}getDesc(e){let n=e.pmViewDesc;for(let r=n;r;r=r.parent)if(r==this)return n}posFromDOM(e,n,r){for(let i=e;i;i=i.parentNode){let l=this.getDesc(i);if(l)return l.localPosFromDOM(e,n,r)}return-1}descAt(e){for(let n=0,r=0;ne||a instanceof Ph){i=e-l;break}l=o}if(i)return this.children[r].domFromPos(i-this.children[r].border,n);for(let l;r&&!(l=this.children[r-1]).size&&l instanceof Dh&&l.side>=0;r--);if(n<=0){let l,a=!0;for(;l=r?this.children[r-1]:null,!(!l||l.dom.parentNode==this.contentDOM);r--,a=!1);return l&&n&&a&&!l.border&&!l.domAtom?l.domFromPos(l.size,n):{node:this.contentDOM,offset:l?tt(l.dom)+1:0}}else{let l,a=!0;for(;l=r=d&&n<=c-s.border&&s.node&&s.contentDOM&&this.contentDOM.contains(s.contentDOM))return s.parseRange(e,n,d);e=a;for(let f=o;f>0;f--){let h=this.children[f-1];if(h.size&&h.dom.parentNode==this.contentDOM&&!h.emptyChildAt(1)){i=tt(h.dom)+1;break}e-=h.size}i==-1&&(i=0)}if(i>-1&&(c>n||o==this.children.length-1)){n=c;for(let d=o+1;dp&&an){let p=o;o=s,s=p}let h=document.createRange();h.setEnd(s.node,s.offset),h.setStart(o.node,o.offset),c.removeAllRanges(),c.addRange(h)}}ignoreMutation(e){return!this.contentDOM&&e.type!="selection"}get contentLost(){return this.contentDOM&&this.contentDOM!=this.dom&&!this.dom.contains(this.contentDOM)}markDirty(e,n){for(let r=0,i=0;i=r:er){let o=r+l.border,s=a-l.border;if(e>=o&&n<=s){this.dirty=e==r||n==a?vl:X8,e==o&&n==s&&(l.contentLost||l.dom.parentNode!=this.contentDOM)?l.dirty=tr:l.markDirty(e-o,n-o);return}else l.dirty=l.dom==l.contentDOM&&l.dom.parentNode==this.contentDOM&&!l.children.length?vl:tr}r=a}this.dirty=vl}markParentsDirty(){let e=1;for(let n=this.parent;n;n=n.parent,e++){let r=e==1?vl:X8;n.dirty{if(!l)return i;if(l.parent)return l.parent.posBeforeChild(l)})),!n.type.spec.raw){if(a.nodeType!=1){let o=document.createElement("span");o.appendChild(a),a=o}a.contentEditable="false",a.classList.add("ProseMirror-widget")}super(e,[],a,null),this.widget=n,this.widget=n,l=this}matchesWidget(e){return this.dirty==gn&&e.type.eq(this.widget.type)}parseRule(){return{ignore:!0}}stopEvent(e){let n=this.widget.spec.stopEvent;return n?n(e):!1}ignoreMutation(e){return e.type!="selection"||this.widget.spec.ignoreSelection}destroy(){this.widget.type.destroy(this.dom),super.destroy()}get domAtom(){return!0}get side(){return this.widget.type.side}};u(Zv,"WidgetViewDesc");let Dh=Zv;const zv=class zv extends $l{constructor(e,n,r,i){super(e,[],n,null),this.textDOM=r,this.text=i}get size(){return this.text.length}localPosFromDOM(e,n){return e!=this.textDOM?this.posAtStart+(n?this.size:0):this.posAtStart+n}domFromPos(e){return{node:this.textDOM,offset:e}}ignoreMutation(e){return e.type==="characterData"&&e.target.nodeValue==e.oldValue}};u(zv,"CompositionViewDesc");let fy=zv;const yc=class yc extends $l{constructor(e,n,r,i){super(e,[],r,i),this.mark=n}static create(e,n,r,i){let l=i.nodeViews[n.type.name],a=l&&l(n,i,r);return(!a||!a.dom)&&(a=Wa.renderSpec(document,n.type.spec.toDOM(n,r),null,n.attrs)),new yc(e,n,a.dom,a.contentDOM||a.dom)}parseRule(){return this.dirty&tr||this.mark.type.spec.reparseInView?null:{mark:this.mark.type.name,attrs:this.mark.attrs,contentElement:this.contentDOM}}matchesMark(e){return this.dirty!=tr&&this.mark.eq(e)}markDirty(e,n){if(super.markDirty(e,n),this.dirty!=gn){let r=this.parent;for(;!r.node;)r=r.parent;r.dirty0&&(l=gy(l,0,e,r));for(let o=0;o{if(!s)return a;if(s.parent)return s.parent.posBeforeChild(s)},r,i),d=c&&c.dom,f=c&&c.contentDOM;if(n.isText){if(!d)d=document.createTextNode(n.text);else if(d.nodeType!=3)throw new RangeError("Text must be rendered as a DOM text node")}else d||({dom:d,contentDOM:f}=Wa.renderSpec(document,n.type.spec.toDOM(n),null,n.attrs));!f&&!n.isText&&d.nodeName!="BR"&&(d.hasAttribute("contenteditable")||(d.contentEditable="false"),n.type.spec.draggable&&(d.draggable=!0));let h=d;return d=Y8(d,r,n),c?s=new hy(e,n,r,i,d,f||null,h,c,l,a+1):n.isText?new kh(e,n,r,i,d,h,l):new Bp(e,n,r,i,d,f||null,h,l,a+1)}parseRule(){if(this.node.type.spec.reparseInView)return null;let e={node:this.node.type.name,attrs:this.node.attrs};if(this.node.type.whitespace=="pre"&&(e.preserveWhitespace="full"),!this.contentDOM)e.getContent=()=>this.node.content;else if(!this.contentLost)e.contentElement=this.contentDOM;else{for(let n=this.children.length-1;n>=0;n--){let r=this.children[n];if(this.dom.contains(r.dom.parentNode)){e.contentElement=r.dom.parentNode;break}}e.contentElement||(e.getContent=()=>X.empty)}return e}matchesNode(e,n,r){return this.dirty==gn&&e.eq(this.node)&&Eh(n,this.outerDeco)&&r.eq(this.innerDeco)}get size(){return this.node.nodeSize}get border(){return this.node.isLeaf?0:1}updateChildren(e,n){let r=this.node.inlineContent,i=n,l=e.composing?this.localCompositionInfo(e,n):null,a=l&&l.pos>-1?l:null,o=l&&l.pos<0,s=new my(this,a&&a.node,e);EK(this.node,this.innerDeco,(c,d,f)=>{c.spec.marks?s.syncToMarks(c.spec.marks,r,e):c.type.side>=0&&!f&&s.syncToMarks(d==this.node.childCount?me.none:this.node.child(d).marks,r,e),s.placeWidget(c,e,i)},(c,d,f,h)=>{s.syncToMarks(c.marks,r,e);let p;s.findNodeMatch(c,d,f,h)||o&&e.state.selection.from>i&&e.state.selection.to-1&&s.updateNodeAt(c,d,f,p,e)||s.updateNextNode(c,d,f,e,h,i)||s.addNode(c,d,f,e,i),i+=c.nodeSize}),s.syncToMarks([],r,e),this.node.isTextblock&&s.addTextblockHacks(),s.destroyRest(),(s.changed||this.dirty==vl)&&(a&&this.protectLocalComposition(e,a),q8(this.contentDOM,this.children,e),Ya&&AK(this.dom))}localCompositionInfo(e,n){let{from:r,to:i}=e.state.selection;if(!(e.state.selection instanceof ye)||rn+this.node.content.size)return null;let l=e.input.compositionNode;if(!l||!this.dom.contains(l.parentNode))return null;if(this.node.inlineContent){let a=l.nodeValue,o=TK(this.node.content,a,r-n,i-n);return o<0?null:{node:l,pos:o,text:a}}else return{node:l,pos:-1,text:""}}protectLocalComposition(e,{node:n,pos:r,text:i}){if(this.getDesc(n))return;let l=n;for(;l.parentNode!=this.contentDOM;l=l.parentNode){for(;l.previousSibling;)l.parentNode.removeChild(l.previousSibling);for(;l.nextSibling;)l.parentNode.removeChild(l.nextSibling);l.pmViewDesc&&(l.pmViewDesc=void 0)}let a=new fy(this,l,n,i);e.input.compositionNodes.push(a),this.children=gy(this.children,r,r+i.length,e,a)}update(e,n,r,i){return this.dirty==tr||!e.sameMarkup(this.node)?!1:(this.updateInner(e,n,r,i),!0)}updateInner(e,n,r,i){this.updateOuterDeco(n),this.node=e,this.innerDeco=r,this.contentDOM&&this.updateChildren(i,this.posAtStart),this.dirty=gn}updateOuterDeco(e){if(Eh(e,this.outerDeco))return;let n=this.nodeDOM.nodeType!=1,r=this.dom;this.dom=U8(this.dom,this.nodeDOM,py(this.outerDeco,this.node,n),py(e,this.node,n)),this.dom!=r&&(r.pmViewDesc=void 0,this.dom.pmViewDesc=this),this.outerDeco=e}selectNode(){this.nodeDOM.nodeType==1&&this.nodeDOM.classList.add("ProseMirror-selectednode"),(this.contentDOM||!this.node.type.spec.draggable)&&(this.dom.draggable=!0)}deselectNode(){this.nodeDOM.nodeType==1&&(this.nodeDOM.classList.remove("ProseMirror-selectednode"),(this.contentDOM||!this.node.type.spec.draggable)&&this.dom.removeAttribute("draggable"))}get domAtom(){return this.node.isAtom}};u(Bp,"NodeViewDesc");let Si=Bp;function j8(t,e,n,r,i){Y8(r,e,t);let l=new Si(void 0,t,e,n,r,r,r,i,0);return l.contentDOM&&l.updateChildren(i,0),l}u(j8,"docViewDesc");const Vp=class Vp extends Si{constructor(e,n,r,i,l,a,o){super(e,n,r,i,l,null,a,o,0)}parseRule(){let e=this.nodeDOM.parentNode;for(;e&&e!=this.dom&&!e.pmIsDeco;)e=e.parentNode;return{skip:e||!0}}update(e,n,r,i){return this.dirty==tr||this.dirty!=gn&&!this.inParent()||!e.sameMarkup(this.node)?!1:(this.updateOuterDeco(n),(this.dirty!=gn||e.text!=this.node.text)&&e.text!=this.nodeDOM.nodeValue&&(this.nodeDOM.nodeValue=e.text,i.trackWrites==this.nodeDOM&&(i.trackWrites=null)),this.node=e,this.dirty=gn,!0)}inParent(){let e=this.parent.contentDOM;for(let n=this.nodeDOM;n;n=n.parentNode)if(n==e)return!0;return!1}domFromPos(e){return{node:this.nodeDOM,offset:e}}localPosFromDOM(e,n,r){return e==this.nodeDOM?this.posAtStart+Math.min(n,this.node.text.length):super.localPosFromDOM(e,n,r)}ignoreMutation(e){return e.type!="characterData"&&e.type!="selection"}slice(e,n,r){let i=this.node.cut(e,n),l=document.createTextNode(i.text);return new Vp(this.parent,i,this.outerDeco,this.innerDeco,l,l,r)}markDirty(e,n){super.markDirty(e,n),this.dom!=this.nodeDOM&&(e==0||n==this.nodeDOM.nodeValue.length)&&(this.dirty=tr)}get domAtom(){return!1}isText(e){return this.node.text==e}};u(Vp,"TextViewDesc");let kh=Vp;const Lv=class Lv extends $l{parseRule(){return{ignore:!0}}matchesHack(e){return this.dirty==gn&&this.dom.nodeName==e}get domAtom(){return!0}get ignoreForCoords(){return this.dom.nodeName=="IMG"}};u(Lv,"TrailingHackViewDesc");let Ph=Lv;const Wv=class Wv extends Si{constructor(e,n,r,i,l,a,o,s,c,d){super(e,n,r,i,l,a,o,c,d),this.spec=s}update(e,n,r,i){if(this.dirty==tr)return!1;if(this.spec.update){let l=this.spec.update(e,n,r);return l&&this.updateInner(e,n,r,i),l}else return!this.contentDOM&&!e.isLeaf?!1:super.update(e,n,r,i)}selectNode(){this.spec.selectNode?this.spec.selectNode():super.selectNode()}deselectNode(){this.spec.deselectNode?this.spec.deselectNode():super.deselectNode()}setSelection(e,n,r,i){this.spec.setSelection?this.spec.setSelection(e,n,r):super.setSelection(e,n,r,i)}destroy(){this.spec.destroy&&this.spec.destroy(),super.destroy()}stopEvent(e){return this.spec.stopEvent?this.spec.stopEvent(e):!1}ignoreMutation(e){return this.spec.ignoreMutation?this.spec.ignoreMutation(e):super.ignoreMutation(e)}};u(Wv,"CustomNodeViewDesc");let hy=Wv;function q8(t,e,n){let r=t.firstChild,i=!1;for(let l=0;l>1,a=Math.min(l,e.length);for(;i-1)o>this.index&&(this.changed=!0,this.destroyBetween(this.index,o)),this.top=this.top.children[this.index];else{let s=Ga.create(this.top,e[l],n,r);this.top.children.splice(this.index,0,s),this.top=s,this.changed=!0}this.index=0,l++}}findNodeMatch(e,n,r,i){let l=-1,a;if(i>=this.preMatch.index&&(a=this.preMatch.matches[i-this.preMatch.index]).parent==this.top&&a.matchesNode(e,n,r))l=this.top.children.indexOf(a,this.index);else for(let o=this.index,s=Math.min(this.top.children.length,o+5);o0;){let o;for(;;)if(r){let c=n.children[r-1];if(c instanceof Ga)n=c,r=c.children.length;else{o=c,r--;break}}else{if(n==e)break e;r=n.parent.children.indexOf(n),n=n.parent}let s=o.node;if(s){if(s!=t.child(i-1))break;--i,l.set(o,i),a.push(o)}}return{index:i,matched:l,matches:a.reverse()}}u(kK,"preMatch");function PK(t,e){return t.type.side-e.type.side}u(PK,"compareSide");function EK(t,e,n,r){let i=e.locals(t),l=0;if(i.length==0){for(let c=0;cl;)o.push(i[a++]);let m=l+h.nodeSize;if(h.isText){let O=m;a!O.inline):o.slice();r(h,g,e.forChild(l,h),p),l=m}}u(EK,"iterDeco");function AK(t){if(t.nodeName=="UL"||t.nodeName=="OL"){let e=t.style.cssText;t.style.cssText=e+"; list-style: square !important",window.getComputedStyle(t).listStyle,t.style.cssText=e}}u(AK,"iosHacks");function TK(t,e,n,r){for(let i=0,l=0;i=n){if(l>=r&&s.slice(r-e.length-o,r-o)==e)return r-e.length;let c=o=0&&c+e.length+o>=n)return o+c;if(n==r&&s.length>=r+e.length-o&&s.slice(r-o,r-o+e.length)==e)return r}}return-1}u(TK,"findTextInFragment");function gy(t,e,n,r,i){let l=[];for(let a=0,o=0;a=n||d<=e?l.push(s):(cn&&l.push(s.slice(n-c,s.size,r)))}return l}u(gy,"replaceNodes");function Oy(t,e=null){let n=t.domSelectionRange(),r=t.state.doc;if(!n.focusNode)return null;let i=t.docView.nearestDesc(n.focusNode),l=i&&i.size==0,a=t.docView.posFromDOM(n.focusNode,n.focusOffset,1);if(a<0)return null;let o=r.resolve(a),s,c;if(Ch(n)){for(s=a;i&&!i.node;)i=i.parent;let f=i.node;if(i&&f.isAtom&&ae.isSelectable(f)&&i.parent&&!(f.isInline&&aK(n.focusNode,n.focusOffset,i.dom))){let h=i.posBefore;c=new ae(a==h?o:r.resolve(h))}}else{if(n instanceof t.dom.ownerDocument.defaultView.Selection&&n.rangeCount>1){let f=a,h=a;for(let p=0;p{(n.anchorNode!=r||n.anchorOffset!=i)&&(e.removeEventListener("selectionchange",t.input.hideSelectionGuard),setTimeout(()=>{(!G8(t)||t.state.selection.visible)&&t.dom.classList.remove("ProseMirror-hideselection")},20))})}u(RK,"removeClassOnSelectionChange");function QK(t){let e=t.domSelection(),n=document.createRange();if(!e)return;let r=t.cursorWrapper.dom,i=r.nodeName=="IMG";i?n.setStart(r.parentNode,tt(r)+1):n.setStart(r,0),n.collapse(!0),e.removeAllRanges(),e.addRange(n),!i&&!t.state.selection.visible&&Bt&&wi<=11&&(r.disabled=!0,r.disabled=!1)}u(QK,"selectCursorWrapper");function eR(t,e){if(e instanceof ae){let n=t.docView.descAt(e.from);n!=t.lastSelectedViewDesc&&(tR(t),n&&n.selectNode(),t.lastSelectedViewDesc=n)}else tR(t)}u(eR,"syncNodeSelection");function tR(t){t.lastSelectedViewDesc&&(t.lastSelectedViewDesc.parent&&t.lastSelectedViewDesc.deselectNode(),t.lastSelectedViewDesc=void 0)}u(tR,"clearNodeSelection");function yy(t,e,n,r){return t.someProp("createSelectionBetween",i=>i(t,e,n))||ye.between(e,n,r)}u(yy,"selectionBetween");function nR(t){return t.editable&&!t.hasFocus()?!1:rR(t)}u(nR,"hasFocusAndSelection");function rR(t){let e=t.domSelectionRange();if(!e.anchorNode)return!1;try{return t.dom.contains(e.anchorNode.nodeType==3?e.anchorNode.parentNode:e.anchorNode)&&(t.editable||t.dom.contains(e.focusNode.nodeType==3?e.focusNode.parentNode:e.focusNode))}catch{return!1}}u(rR,"hasSelection");function MK(t){let e=t.docView.domFromPos(t.state.selection.anchor,0),n=t.domSelectionRange();return bl(e.node,e.offset,n.anchorNode,n.anchorOffset)}u(MK,"anchorInRightPlace");function vy(t,e){let{$anchor:n,$head:r}=t.selection,i=e>0?n.max(r):n.min(r),l=i.parent.inlineContent?i.depth?t.doc.resolve(e>0?i.after():i.before()):null:i;return l&&ce.findFrom(l,e)}u(vy,"moveSelectionBlock");function Ci(t,e){return t.dispatch(t.state.tr.setSelection(e).scrollIntoView()),!0}u(Ci,"apply");function iR(t,e,n){let r=t.state.selection;if(r instanceof ye)if(n.indexOf("s")>-1){let{$head:i}=r,l=i.textOffset?null:e<0?i.nodeBefore:i.nodeAfter;if(!l||l.isText||!l.isLeaf)return!1;let a=t.state.doc.resolve(i.pos+l.nodeSize*(e<0?-1:1));return Ci(t,new ye(r.$anchor,a))}else if(r.empty){if(t.endOfTextblock(e>0?"forward":"backward")){let i=vy(t.state,e);return i&&i instanceof ae?Ci(t,i):!1}else if(!(mn&&n.indexOf("m")>-1)){let i=r.$head,l=i.textOffset?null:e<0?i.nodeBefore:i.nodeAfter,a;if(!l||l.isText)return!1;let o=e<0?i.pos-l.nodeSize:i.pos;return l.isAtom||(a=t.docView.descAt(o))&&!a.contentDOM?ae.isSelectable(l)?Ci(t,new ae(e<0?t.state.doc.resolve(i.pos-l.nodeSize):i)):wu?Ci(t,new ye(t.state.doc.resolve(e<0?o:o+l.nodeSize))):!1:!1}}else return!1;else{if(r instanceof ae&&r.node.isInline)return Ci(t,new ye(e>0?r.$to:r.$from));{let i=vy(t.state,e);return i?Ci(t,i):!1}}}u(iR,"selectHorizontally");function Ah(t){return t.nodeType==3?t.nodeValue.length:t.childNodes.length}u(Ah,"nodeLen");function Cu(t,e){let n=t.pmViewDesc;return n&&n.size==0&&(e<0||t.nextSibling||t.nodeName!="BR")}u(Cu,"isIgnorable");function Ha(t,e){return e<0?BK(t):VK(t)}u(Ha,"skipIgnoredNodes");function BK(t){let e=t.domSelectionRange(),n=e.focusNode,r=e.focusOffset;if(!n)return;let i,l,a=!1;for(En&&n.nodeType==1&&r0){if(n.nodeType!=1)break;{let o=n.childNodes[r-1];if(Cu(o,-1))i=n,l=--r;else if(o.nodeType==3)n=o,r=n.nodeValue.length;else break}}else{if(lR(n))break;{let o=n.previousSibling;for(;o&&Cu(o,-1);)i=n.parentNode,l=tt(o),o=o.previousSibling;if(o)n=o,r=Ah(n);else{if(n=n.parentNode,n==t.dom)break;r=0}}}a?$y(t,n,r):i&&$y(t,i,l)}u(BK,"skipIgnoredNodesBefore");function VK(t){let e=t.domSelectionRange(),n=e.focusNode,r=e.focusOffset;if(!n)return;let i=Ah(n),l,a;for(;;)if(r{t.state==i&&Fr(t)},50)}u($y,"setSelFocus");function aR(t,e){let n=t.state.doc.resolve(e);if(!(ut||uK)&&n.parent.inlineContent){let i=t.coordsAtPos(e);if(e>n.start()){let l=t.coordsAtPos(e-1),a=(l.top+l.bottom)/2;if(a>i.top&&a1)return l.lefti.top&&a1)return l.left>i.left?"ltr":"rtl"}}return getComputedStyle(t.dom).direction=="rtl"?"rtl":"ltr"}u(aR,"findDirection");function oR(t,e,n){let r=t.state.selection;if(r instanceof ye&&!r.empty||n.indexOf("s")>-1||mn&&n.indexOf("m")>-1)return!1;let{$from:i,$to:l}=r;if(!i.parent.inlineContent||t.endOfTextblock(e<0?"up":"down")){let a=vy(t.state,e);if(a&&a instanceof ae)return Ci(t,a)}if(!i.parent.inlineContent){let a=e<0?i:l,o=r instanceof Pn?ce.near(a,e):ce.findFrom(a,e);return o?Ci(t,o):!1}return!1}u(oR,"selectVertically");function sR(t,e){if(!(t.state.selection instanceof ye))return!0;let{$head:n,$anchor:r,empty:i}=t.state.selection;if(!n.sameParent(r))return!0;if(!i)return!1;if(t.endOfTextblock(e>0?"forward":"backward"))return!0;let l=!n.textOffset&&(e<0?n.nodeBefore:n.nodeAfter);if(l&&!l.isText){let a=t.state.tr;return e<0?a.delete(n.pos-l.nodeSize,n.pos):a.delete(n.pos,n.pos+l.nodeSize),t.dispatch(a),!0}return!1}u(sR,"stopNativeHorizontalDelete");function uR(t,e,n){t.domObserver.stop(),e.contentEditable=n,t.domObserver.start()}u(uR,"switchEditable");function IK(t){if(!$t||t.state.selection.$head.parentOffset>0)return!1;let{focusNode:e,focusOffset:n}=t.domSelectionRange();if(e&&e.nodeType==1&&n==0&&e.firstChild&&e.firstChild.contentEditable=="false"){let r=e.firstChild;uR(t,r,"true"),setTimeout(()=>uR(t,r,"false"),20)}return!1}u(IK,"safariDownArrowBug");function ZK(t){let e="";return t.ctrlKey&&(e+="c"),t.metaKey&&(e+="m"),t.altKey&&(e+="a"),t.shiftKey&&(e+="s"),e}u(ZK,"getMods");function zK(t,e){let n=e.keyCode,r=ZK(e);if(n==8||mn&&n==72&&r=="c")return sR(t,-1)||Ha(t,-1);if(n==46&&!e.shiftKey||mn&&n==68&&r=="c")return sR(t,1)||Ha(t,1);if(n==13||n==27)return!0;if(n==37||mn&&n==66&&r=="c"){let i=n==37?aR(t,t.state.selection.from)=="ltr"?-1:1:-1;return iR(t,i,r)||Ha(t,i)}else if(n==39||mn&&n==70&&r=="c"){let i=n==39?aR(t,t.state.selection.from)=="ltr"?1:-1:1;return iR(t,i,r)||Ha(t,i)}else{if(n==38||mn&&n==80&&r=="c")return oR(t,-1,r)||Ha(t,-1);if(n==40||mn&&n==78&&r=="c")return IK(t)||oR(t,1,r)||Ha(t,1);if(r==(mn?"m":"c")&&(n==66||n==73||n==89||n==90))return!0}return!1}u(zK,"captureKeyDown");function cR(t,e){t.someProp("transformCopied",p=>{e=p(e,t)});let n=[],{content:r,openStart:i,openEnd:l}=e;for(;i>1&&l>1&&r.childCount==1&&r.firstChild.childCount==1;){i--,l--;let p=r.firstChild;n.push(p.type.name,p.attrs!=p.type.defaultAttrs?p.attrs:null),r=p.content}let a=t.someProp("clipboardSerializer")||Wa.fromSchema(t.state.schema),o=bR(),s=o.createElement("div");s.appendChild(a.serializeFragment(r,{document:o}));let c=s.firstChild,d,f=0;for(;c&&c.nodeType==1&&(d=gR[c.nodeName.toLowerCase()]);){for(let p=d.length-1;p>=0;p--){let m=o.createElement(d[p]);for(;s.firstChild;)m.appendChild(s.firstChild);s.appendChild(m),f++}c=s.firstChild}c&&c.nodeType==1&&c.setAttribute("data-pm-slice",`${i} ${l}${f?` -${f}`:""} ${JSON.stringify(n)}`);let h=t.someProp("clipboardTextSerializer",p=>p(e,t))||e.content.textBetween(0,e.content.size,` `);return{dom:s,text:h,slice:e}}u(cR,"serializeForClipboard");function dR(t,e,n,r,i){let l=i.parent.type.spec.code,a,o;if(!n&&!e)return null;let s=e&&(r||l||!n);if(s){if(t.someProp("transformPastedText",h=>{e=h(e,l||r,t)}),l)return e?new Y(X.from(t.state.schema.text(e.replace(/\r\n?/g,` -`))),0,0):Y.empty;let f=t.someProp("clipboardTextParser",h=>h(e,i,r,t));if(f)o=f;else{let h=i.marks(),{schema:p}=t.state,m=Wa.fromSchema(p);a=document.createElement("div"),e.split(/(?:\r\n?|\n)+/).forEach(g=>{let O=a.appendChild(document.createElement("p"));g&&O.appendChild(m.serializeNode(p.text(g,h)))})}}else t.someProp("transformPastedHTML",f=>{n=f(n,t)}),a=XK(n),$u&&jK(a);let c=a&&a.querySelector("[data-pm-slice]"),d=c&&/^(\d+) (\d+)(?: -(\d+))? (.*)/.exec(c.getAttribute("data-pm-slice")||"");if(d&&d[3])for(let f=+d[3];f>0;f--){let h=a.firstChild;for(;h&&h.nodeType!=1;)h=h.nextSibling;if(!h)break;a=h}if(o||(o=(t.someProp("clipboardParser")||t.someProp("domParser")||su.fromSchema(t.state.schema)).parseSlice(a,{preserveWhitespace:!!(s||d),context:i,ruleFromNode(h){return h.nodeName=="BR"&&!h.nextSibling&&h.parentNode&&!zK.test(h.parentNode.nodeName)?{ignore:!0}:null}})),d)o=qK(mR(o,+d[1],+d[2]),d[4]);else if(o=Y.maxOpen(LK(o.content,i),!0),o.openStart||o.openEnd){let f=0,h=0;for(let p=o.content.firstChild;f{o=f(o,t)}),o}u(dR,"parseFromClipboard");const zK=/^(a|abbr|acronym|b|cite|code|del|em|i|ins|kbd|label|output|q|ruby|s|samp|span|strong|sub|sup|time|u|tt|var)$/i;function LK(t,e){if(t.childCount<2)return t;for(let n=e.depth;n>=0;n--){let i=e.node(n).contentMatchAt(e.index(n)),l,a=[];if(t.forEach(o=>{if(!a)return;let s=i.findWrapping(o.type),c;if(!s)return a=null;if(c=a.length&&l.length&&hR(s,l,o,a[a.length-1],0))a[a.length-1]=c;else{a.length&&(a[a.length-1]=pR(a[a.length-1],l.length));let d=fR(o,s);a.push(d),i=i.matchType(d.type),l=s}}),a)return X.from(a)}return t}u(LK,"normalizeSiblings");function fR(t,e,n=0){for(let r=e.length-1;r>=n;r--)t=e[r].create(null,X.from(t));return t}u(fR,"withWrappers");function hR(t,e,n,r,i){if(i1&&(l=0),i=n&&(o=e<0?a.contentMatchAt(0).fillBefore(o,l<=i).append(o):o.append(a.contentMatchAt(a.childCount).fillBefore(X.empty,!0))),t.replaceChild(e<0?0:t.childCount-1,a.copy(o))}u(w1,"closeRange");function mR(t,e,n){return en}).createHTML(t):t}u(WK,"maybeWrapTrusted");function XK(t){let e=/^(\s*]*>)*/.exec(t);e&&(t=t.slice(e[0].length));let n=bR().createElement("div"),r=/<([a-z][^>\s]+)/i.exec(t),i;if((i=r&&gR[r[1].toLowerCase()])&&(t=i.map(l=>"<"+l+">").join("")+t+i.map(l=>"").reverse().join("")),n.innerHTML=WK(t),i)for(let l=0;l=0;o-=2){let s=n.nodes[r[o]];if(!s||s.hasRequiredAttrs())break;i=X.from(s.create(r[o+1],i)),l++,a++}return new Y(i,l,a)}u(qK,"addContext");const wt={},xt={},UK={touchstart:!0,touchmove:!0},jv=class jv{constructor(){this.shiftKey=!1,this.mouseDown=null,this.lastKeyCode=null,this.lastKeyCodeTime=0,this.lastClick={time:0,x:0,y:0,type:""},this.lastSelectionOrigin=null,this.lastSelectionTime=0,this.lastIOSEnter=0,this.lastIOSEnterFallbackTimeout=-1,this.lastFocus=0,this.lastTouch=0,this.lastAndroidDelete=0,this.composing=!1,this.compositionNode=null,this.composingTimeout=-1,this.compositionNodes=[],this.compositionEndedAt=-2e8,this.compositionID=1,this.compositionPendingChanges=0,this.domChangeCount=0,this.eventHandlers=Object.create(null),this.hideSelectionGuard=null}};u(jv,"InputState");let x1=jv;function YK(t){for(let e in wt){let n=wt[e];t.dom.addEventListener(e,t.input.eventHandlers[e]=r=>{GK(t,r)&&!C1(t,r)&&(t.editable||!(r.type in xt))&&n(t,r)},UK[e]?{passive:!0}:void 0)}$t&&t.dom.addEventListener("input",()=>null),S1(t)}u(YK,"initInput");function Di(t,e){t.input.lastSelectionOrigin=e,t.input.lastSelectionTime=Date.now()}u(Di,"setSelectionOrigin");function KK(t){t.domObserver.stop();for(let e in t.input.eventHandlers)t.dom.removeEventListener(e,t.input.eventHandlers[e]);clearTimeout(t.input.composingTimeout),clearTimeout(t.input.lastIOSEnterFallbackTimeout)}u(KK,"destroyInput");function S1(t){t.someProp("handleDOMEvents",e=>{for(let n in e)t.input.eventHandlers[n]||t.dom.addEventListener(n,t.input.eventHandlers[n]=r=>C1(t,r))})}u(S1,"ensureListeners");function C1(t,e){return t.someProp("handleDOMEvents",n=>{let r=n[e.type];return r?r(t,e)||e.defaultPrevented:!1})}u(C1,"runCustomHandler");function GK(t,e){if(!e.bubbles)return!0;if(e.defaultPrevented)return!1;for(let n=e.target;n!=t.dom;n=n.parentNode)if(!n||n.nodeType==11||n.pmViewDesc&&n.pmViewDesc.stopEvent(e))return!1;return!0}u(GK,"eventBelongsToView");function HK(t,e){!C1(t,e)&&wt[e.type]&&(t.editable||!(e.type in xt))&&wt[e.type](t,e)}u(HK,"dispatchEvent"),xt.keydown=(t,e)=>{let n=e;if(t.input.shiftKey=n.keyCode==16||n.shiftKey,!vR(t,n)&&(t.input.lastKeyCode=n.keyCode,t.input.lastKeyCodeTime=Date.now(),!(An&&ut&&n.keyCode==13)))if(t.domObserver.selectionChanged(t.domSelectionRange())?t.domObserver.flush():n.keyCode!=229&&t.domObserver.forceFlush(),Ya&&n.keyCode==13&&!n.ctrlKey&&!n.altKey&&!n.metaKey){let r=Date.now();t.input.lastIOSEnter=r,t.input.lastIOSEnterFallbackTimeout=setTimeout(()=>{t.input.lastIOSEnter==r&&(t.someProp("handleKeyDown",i=>i(t,yl(13,"Enter"))),t.input.lastIOSEnter=0)},200)}else t.someProp("handleKeyDown",r=>r(t,n))||ZK(t,n)?n.preventDefault():Di(t,"key")},xt.keyup=(t,e)=>{e.keyCode==16&&(t.input.shiftKey=!1)},xt.keypress=(t,e)=>{let n=e;if(vR(t,n)||!n.charCode||n.ctrlKey&&!n.altKey||mn&&n.metaKey)return;if(t.someProp("handleKeyPress",i=>i(t,n))){n.preventDefault();return}let r=t.state.selection;if(!(r instanceof ye)||!r.$from.sameParent(r.$to)){let i=String.fromCharCode(n.charCode);!/[\r\n]/.test(i)&&!t.someProp("handleTextInput",l=>l(t,r.$from.pos,r.$to.pos,i))&&t.dispatch(t.state.tr.insertText(i).scrollIntoView()),n.preventDefault()}};function Rh(t){return{left:t.clientX,top:t.clientY}}u(Rh,"eventCoords");function _K(t,e){let n=e.x-t.clientX,r=e.y-t.clientY;return n*n+r*r<100}u(_K,"isNear");function D1(t,e,n,r,i){if(r==-1)return!1;let l=t.state.doc.resolve(r);for(let a=l.depth+1;a>0;a--)if(t.someProp(e,o=>a>l.depth?o(t,n,l.nodeAfter,l.before(a),i,!0):o(t,n,l.node(a),l.before(a),i,!1)))return!0;return!1}u(D1,"runHandlerOnContext");function _a(t,e,n){if(t.focused||t.focus(),t.state.selection.eq(e))return;let r=t.state.tr.setSelection(e);n=="pointer"&&r.setMeta("pointer",!0),t.dispatch(r)}u(_a,"updateSelection");function JK(t,e){if(e==-1)return!1;let n=t.state.doc.resolve(e),r=n.nodeAfter;return r&&r.isAtom&&ae.isSelectable(r)?(_a(t,new ae(n),"pointer"),!0):!1}u(JK,"selectClickedLeaf");function eG(t,e){if(e==-1)return!1;let n=t.state.selection,r,i;n instanceof ae&&(r=n.node);let l=t.state.doc.resolve(e);for(let a=l.depth+1;a>0;a--){let o=a>l.depth?l.nodeAfter:l.node(a);if(ae.isSelectable(o)){r&&n.$from.depth>0&&a>=n.$from.depth&&l.before(n.$from.depth+1)==n.$from.pos?i=l.before(n.$from.depth):i=l.before(a);break}}return i!=null?(_a(t,ae.create(t.state.doc,i),"pointer"),!0):!1}u(eG,"selectClickedNode");function tG(t,e,n,r,i){return D1(t,"handleClickOn",e,n,r)||t.someProp("handleClick",l=>l(t,e,r))||(i?eG(t,n):JK(t,n))}u(tG,"handleSingleClick");function nG(t,e,n,r){return D1(t,"handleDoubleClickOn",e,n,r)||t.someProp("handleDoubleClick",i=>i(t,e,r))}u(nG,"handleDoubleClick");function rG(t,e,n,r){return D1(t,"handleTripleClickOn",e,n,r)||t.someProp("handleTripleClick",i=>i(t,e,r))||iG(t,n,r)}u(rG,"handleTripleClick");function iG(t,e,n){if(n.button!=0)return!1;let r=t.state.doc;if(e==-1)return r.inlineContent?(_a(t,ye.create(r,0,r.content.size),"pointer"),!0):!1;let i=r.resolve(e);for(let l=i.depth+1;l>0;l--){let a=l>i.depth?i.nodeAfter:i.node(l),o=i.before(l);if(a.inlineContent)_a(t,ye.create(r,o+1,o+1+a.content.size),"pointer");else if(ae.isSelectable(a))_a(t,ae.create(r,o),"pointer");else continue;return!0}}u(iG,"defaultTripleClick");function k1(t){return Qh(t)}u(k1,"forceDOMFlush");const yR=mn?"metaKey":"ctrlKey";wt.mousedown=(t,e)=>{let n=e;t.input.shiftKey=n.shiftKey;let r=k1(t),i=Date.now(),l="singleClick";i-t.input.lastClick.time<500&&_K(n,t.input.lastClick)&&!n[yR]&&(t.input.lastClick.type=="singleClick"?l="doubleClick":t.input.lastClick.type=="doubleClick"&&(l="tripleClick")),t.input.lastClick={time:i,x:n.clientX,y:n.clientY,type:l};let a=t.posAtCoords(Rh(n));a&&(l=="singleClick"?(t.input.mouseDown&&t.input.mouseDown.done(),t.input.mouseDown=new P1(t,a,n,!!r)):(l=="doubleClick"?nG:rG)(t,a.pos,a.inside,n)?n.preventDefault():Di(t,"pointer"))};const qv=class qv{constructor(e,n,r,i){this.view=e,this.pos=n,this.event=r,this.flushed=i,this.delayedSelectionSync=!1,this.mightDrag=null,this.startDoc=e.state.doc,this.selectNode=!!r[yR],this.allowDefault=r.shiftKey;let l,a;if(n.inside>-1)l=e.state.doc.nodeAt(n.inside),a=n.inside;else{let d=e.state.doc.resolve(n.pos);l=d.parent,a=d.depth?d.before():0}const o=i?null:r.target,s=o?e.docView.nearestDesc(o,!0):null;this.target=s&&s.dom.nodeType==1?s.dom:null;let{selection:c}=e.state;(r.button==0&&l.type.spec.draggable&&l.type.spec.selectable!==!1||c instanceof ae&&c.from<=a&&c.to>a)&&(this.mightDrag={node:l,pos:a,addAttr:!!(this.target&&!this.target.draggable),setUneditable:!!(this.target&&En&&!this.target.hasAttribute("contentEditable"))}),this.target&&this.mightDrag&&(this.mightDrag.addAttr||this.mightDrag.setUneditable)&&(this.view.domObserver.stop(),this.mightDrag.addAttr&&(this.target.draggable=!0),this.mightDrag.setUneditable&&setTimeout(()=>{this.view.input.mouseDown==this&&this.target.setAttribute("contentEditable","false")},20),this.view.domObserver.start()),e.root.addEventListener("mouseup",this.up=this.up.bind(this)),e.root.addEventListener("mousemove",this.move=this.move.bind(this)),Di(e,"pointer")}done(){this.view.root.removeEventListener("mouseup",this.up),this.view.root.removeEventListener("mousemove",this.move),this.mightDrag&&this.target&&(this.view.domObserver.stop(),this.mightDrag.addAttr&&this.target.removeAttribute("draggable"),this.mightDrag.setUneditable&&this.target.removeAttribute("contentEditable"),this.view.domObserver.start()),this.delayedSelectionSync&&setTimeout(()=>Nr(this.view)),this.view.input.mouseDown=null}up(e){if(this.done(),!this.view.dom.contains(e.target))return;let n=this.pos;this.view.state.doc!=this.startDoc&&(n=this.view.posAtCoords(Rh(e))),this.updateAllowDefault(e),this.allowDefault||!n?Di(this.view,"pointer"):tG(this.view,n.pos,n.inside,e,this.selectNode)?e.preventDefault():e.button==0&&(this.flushed||$t&&this.mightDrag&&!this.mightDrag.node.isAtom||ut&&!this.view.state.selection.visible&&Math.min(Math.abs(n.pos-this.view.state.selection.from),Math.abs(n.pos-this.view.state.selection.to))<=2)?(_a(this.view,ce.near(this.view.state.doc.resolve(n.pos)),"pointer"),e.preventDefault()):Di(this.view,"pointer")}move(e){this.updateAllowDefault(e),Di(this.view,"pointer"),e.buttons==0&&this.done()}updateAllowDefault(e){!this.allowDefault&&(Math.abs(this.event.x-e.clientX)>4||Math.abs(this.event.y-e.clientY)>4)&&(this.allowDefault=!0)}};u(qv,"MouseDown");let P1=qv;wt.touchstart=t=>{t.input.lastTouch=Date.now(),k1(t),Di(t,"pointer")},wt.touchmove=t=>{t.input.lastTouch=Date.now(),Di(t,"pointer")},wt.contextmenu=t=>k1(t);function vR(t,e){return t.composing?!0:$t&&Math.abs(e.timeStamp-t.input.compositionEndedAt)<500?(t.input.compositionEndedAt=-2e8,!0):!1}u(vR,"inOrNearComposition");const lG=An?5e3:-1;xt.compositionstart=xt.compositionupdate=t=>{if(!t.composing){t.domObserver.flush();let{state:e}=t,n=e.selection.$to;if(e.selection instanceof ye&&(e.storedMarks||!n.textOffset&&n.parentOffset&&n.nodeBefore.marks.some(r=>r.type.spec.inclusive===!1)))t.markCursor=t.state.storedMarks||n.marks(),Qh(t,!0),t.markCursor=null;else if(Qh(t,!e.selection.empty),En&&e.selection.empty&&n.parentOffset&&!n.textOffset&&n.nodeBefore.marks.length){let r=t.domSelectionRange();for(let i=r.focusNode,l=r.focusOffset;i&&i.nodeType==1&&l!=0;){let a=l<0?i.lastChild:i.childNodes[l-1];if(!a)break;if(a.nodeType==3){let o=t.domSelection();o&&o.collapse(a,a.nodeValue.length);break}else i=a,l=-1}}t.input.composing=!0}$R(t,lG)},xt.compositionend=(t,e)=>{t.composing&&(t.input.composing=!1,t.input.compositionEndedAt=e.timeStamp,t.input.compositionPendingChanges=t.domObserver.pendingRecords().length?t.input.compositionID:0,t.input.compositionNode=null,t.input.compositionPendingChanges&&Promise.resolve().then(()=>t.domObserver.flush()),t.input.compositionID++,$R(t,20))};function $R(t,e){clearTimeout(t.input.composingTimeout),e>-1&&(t.input.composingTimeout=setTimeout(()=>Qh(t),e))}u($R,"scheduleComposeEnd");function wR(t){for(t.composing&&(t.input.composing=!1,t.input.compositionEndedAt=oG());t.input.compositionNodes.length>0;)t.input.compositionNodes.pop().markParentsDirty()}u(wR,"clearComposition");function aG(t){let e=t.domSelectionRange();if(!e.focusNode)return null;let n=rK(e.focusNode,e.focusOffset),r=iK(e.focusNode,e.focusOffset);if(n&&r&&n!=r){let i=r.pmViewDesc,l=t.domObserver.lastChangedTextNode;if(n==l||r==l)return l;if(!i||!i.isText(r.nodeValue))return r;if(t.input.compositionNode==r){let a=n.pmViewDesc;if(!(!a||!a.isText(n.nodeValue)))return r}}return n||r}u(aG,"findCompositionNode");function oG(){let t=document.createEvent("Event");return t.initEvent("event",!0,!0),t.timeStamp}u(oG,"timestampFromCustomEvent");function Qh(t,e=!1){if(!(An&&t.domObserver.flushingSoon>=0)){if(t.domObserver.forceFlush(),wR(t),e||t.docView&&t.docView.dirty){let n=O1(t);return n&&!n.eq(t.state.selection)?t.dispatch(t.state.tr.setSelection(n)):(t.markCursor||e)&&!t.state.selection.empty?t.dispatch(t.state.tr.deleteSelection()):t.updateState(t.state),!0}return!1}}u(Qh,"endComposition");function sG(t,e){if(!t.dom.parentNode)return;let n=t.dom.parentNode.appendChild(document.createElement("div"));n.appendChild(e),n.style.cssText="position: fixed; left: -10000px; top: 10px";let r=getSelection(),i=document.createRange();i.selectNodeContents(e),t.dom.blur(),r.removeAllRanges(),r.addRange(i),setTimeout(()=>{n.parentNode&&n.parentNode.removeChild(n),t.focus()},50)}u(sG,"captureCopy");const Cu=Bt&&wi<15||Ya&&uK<604;wt.copy=xt.cut=(t,e)=>{let n=e,r=t.state.selection,i=n.type=="cut";if(r.empty)return;let l=Cu?null:n.clipboardData,a=r.content(),{dom:o,text:s}=cR(t,a);l?(n.preventDefault(),l.clearData(),l.setData("text/html",o.innerHTML),l.setData("text/plain",s)):sG(t,o),i&&t.dispatch(t.state.tr.deleteSelection().scrollIntoView().setMeta("uiEvent","cut"))};function uG(t){return t.openStart==0&&t.openEnd==0&&t.content.childCount==1?t.content.firstChild:null}u(uG,"sliceSingleNode");function cG(t,e){if(!t.dom.parentNode)return;let n=t.input.shiftKey||t.state.selection.$from.parent.type.spec.code,r=t.dom.parentNode.appendChild(document.createElement(n?"textarea":"div"));n||(r.contentEditable="true"),r.style.cssText="position: fixed; left: -10000px; top: 10px",r.focus();let i=t.input.shiftKey&&t.input.lastKeyCode!=45;setTimeout(()=>{t.focus(),r.parentNode&&r.parentNode.removeChild(r),n?Du(t,r.value,null,i,e):Du(t,r.textContent,r.innerHTML,i,e)},50)}u(cG,"capturePaste");function Du(t,e,n,r,i){let l=dR(t,e,n,r,t.state.selection.$from);if(t.someProp("handlePaste",s=>s(t,i,l||Y.empty)))return!0;if(!l)return!1;let a=uG(l),o=a?t.state.tr.replaceSelectionWith(a,r):t.state.tr.replaceSelection(l);return t.dispatch(o.scrollIntoView().setMeta("paste",!0).setMeta("uiEvent","paste")),!0}u(Du,"doPaste");function xR(t){let e=t.getData("text/plain")||t.getData("Text");if(e)return e;let n=t.getData("text/uri-list");return n?n.replace(/\r?\n/g," "):""}u(xR,"getText"),xt.paste=(t,e)=>{let n=e;if(t.composing&&!An)return;let r=Cu?null:n.clipboardData,i=t.input.shiftKey&&t.input.lastKeyCode!=45;r&&Du(t,xR(r),r.getData("text/html"),i,n)?n.preventDefault():cG(t,n)};const Uv=class Uv{constructor(e,n,r){this.slice=e,this.move=n,this.node=r}};u(Uv,"Dragging");let Mh=Uv;const SR=mn?"altKey":"ctrlKey";wt.dragstart=(t,e)=>{let n=e,r=t.input.mouseDown;if(r&&r.done(),!n.dataTransfer)return;let i=t.state.selection,l=i.empty?null:t.posAtCoords(Rh(n)),a;if(!(l&&l.pos>=i.from&&l.pos<=(i instanceof ae?i.to-1:i.to))){if(r&&r.mightDrag)a=ae.create(t.state.doc,r.mightDrag.pos);else if(n.target&&n.target.nodeType==1){let f=t.docView.nearestDesc(n.target,!0);f&&f.node.type.spec.draggable&&f!=t.docView&&(a=ae.create(t.state.doc,f.posBefore))}}let o=(a||t.state.selection).content(),{dom:s,text:c,slice:d}=cR(t,o);(!n.dataTransfer.files.length||!ut||R8>120)&&n.dataTransfer.clearData(),n.dataTransfer.setData(Cu?"Text":"text/html",s.innerHTML),n.dataTransfer.effectAllowed="copyMove",Cu||n.dataTransfer.setData("text/plain",c),t.dragging=new Mh(d,!n[SR],a)},wt.dragend=t=>{let e=t.dragging;window.setTimeout(()=>{t.dragging==e&&(t.dragging=null)},50)},xt.dragover=xt.dragenter=(t,e)=>e.preventDefault(),xt.drop=(t,e)=>{let n=e,r=t.dragging;if(t.dragging=null,!n.dataTransfer)return;let i=t.posAtCoords(Rh(n));if(!i)return;let l=t.state.doc.resolve(i.pos),a=r&&r.slice;a?t.someProp("transformPasted",m=>{a=m(a,t)}):a=dR(t,xR(n.dataTransfer),Cu?null:n.dataTransfer.getData("text/html"),!1,l);let o=!!(r&&!n[SR]);if(t.someProp("handleDrop",m=>m(t,n,a||Y.empty,o))){n.preventDefault();return}if(!a)return;n.preventDefault();let s=a?g8(t.state.doc,l.pos,a):l.pos;s==null&&(s=l.pos);let c=t.state.tr;if(o){let{node:m}=r;m?m.replace(c):c.deleteSelection()}let d=c.mapping.map(s),f=a.openStart==0&&a.openEnd==0&&a.content.childCount==1,h=c.doc;if(f?c.replaceRangeWith(d,d,a.content.firstChild):c.replaceRange(d,d,a),c.doc.eq(h))return;let p=c.doc.resolve(d);if(f&&ae.isSelectable(a.content.firstChild)&&p.nodeAfter&&p.nodeAfter.sameMarkup(a.content.firstChild))c.setSelection(new ae(p));else{let m=c.mapping.map(s);c.mapping.maps[c.mapping.maps.length-1].forEach((g,O,b,y)=>m=y),c.setSelection(y1(t,p,c.doc.resolve(m)))}t.focus(),t.dispatch(c.setMeta("uiEvent","drop"))},wt.focus=t=>{t.input.lastFocus=Date.now(),t.focused||(t.domObserver.stop(),t.dom.classList.add("ProseMirror-focused"),t.domObserver.start(),t.focused=!0,setTimeout(()=>{t.docView&&t.hasFocus()&&!t.domObserver.currentSelection.eq(t.domSelectionRange())&&Nr(t)},20))},wt.blur=(t,e)=>{let n=e;t.focused&&(t.domObserver.stop(),t.dom.classList.remove("ProseMirror-focused"),t.domObserver.start(),n.relatedTarget&&t.dom.contains(n.relatedTarget)&&t.domObserver.currentSelection.clear(),t.focused=!1)},wt.beforeinput=(t,e)=>{if(ut&&An&&e.inputType=="deleteContentBackward"){t.domObserver.flushSoon();let{domChangeCount:r}=t.input;setTimeout(()=>{if(t.input.domChangeCount!=r||(t.dom.blur(),t.focus(),t.someProp("handleKeyDown",l=>l(t,yl(8,"Backspace")))))return;let{$cursor:i}=t.state.selection;i&&i.pos>0&&t.dispatch(t.state.tr.delete(i.pos-1,i.pos).scrollIntoView())},50)}};for(let t in xt)wt[t]=xt[t];function ku(t,e){if(t==e)return!0;for(let n in t)if(t[n]!==e[n])return!1;for(let n in e)if(!(n in t))return!1;return!0}u(ku,"compareObjs");const Np=class Np{constructor(e,n){this.toDOM=e,this.spec=n||Sl,this.side=this.spec.side||0}map(e,n,r,i){let{pos:l,deleted:a}=e.mapResult(n.from+i,this.side<0?-1:1);return a?null:new Fr(l-r,l-r,this)}valid(){return!0}eq(e){return this==e||e instanceof Np&&(this.spec.key&&this.spec.key==e.spec.key||this.toDOM==e.toDOM&&ku(this.spec,e.spec))}destroy(e){this.spec.destroy&&this.spec.destroy(e)}};u(Np,"WidgetType");let Bh=Np;const $c=class $c{constructor(e,n){this.attrs=e,this.spec=n||Sl}map(e,n,r,i){let l=e.map(n.from+i,this.spec.inclusiveStart?-1:1)-r,a=e.map(n.to+i,this.spec.inclusiveEnd?1:-1)-r;return l>=a?null:new Fr(l,a,this)}valid(e,n){return n.from=e&&(!l||l(o.spec))&&r.push(o.copy(o.from+i,o.to+i))}for(let a=0;ae){let o=this.children[a]+1;this.children[a+2].findInner(e-o,n-o,r,i+o,l)}}map(e,n,r){return this==ct||e.maps.length==0?this:this.mapInner(e,n,0,0,r||Sl)}mapInner(e,n,r,i,l){let a;for(let o=0;o{let c=s+r,d;if(d=DR(n,o,c)){for(i||(i=this.children.slice());lo&&f.to=e){this.children[o]==e&&(r=this.children[o+2]);break}let l=e+1,a=l+n.content.size;for(let o=0;ol&&s.type instanceof xl){let c=Math.max(l,s.from)-l,d=Math.min(a,s.to)-l;ci.map(e,n,Sl));return Ti.from(r)}forChild(e,n){if(n.isLeaf)return Gt.empty;let r=[];for(let i=0;in instanceof Gt)?e:e.reduce((n,r)=>n.concat(r instanceof Gt?r:r.members),[]))}}forEachSet(e){for(let n=0;n{let O=g-m-(p-h);for(let b=0;by+d-f)continue;let $=o[b]+d-f;p>=$?o[b+1]=h<=$?-2:-1:h>=d&&O&&(o[b]+=O,o[b+1]+=O)}f+=O}),d=n.maps[c].map(d,-1)}let s=!1;for(let c=0;c=r.content.size){s=!0;continue}let h=n.map(t[c+1]+l,-1),p=h-i,{index:m,offset:g}=r.content.findIndex(f),O=r.maybeChild(m);if(O&&g==f&&g+O.nodeSize==p){let b=o[c+2].mapInner(n,O,d+1,t[c]+l+1,a);b!=ct?(o[c]=f,o[c+1]=p,o[c+2]=b):(o[c+1]=-2,s=!0)}else s=!0}if(s){let c=fG(o,t,e,n,i,l,a),d=Nh(c,r,0,a);e=d.local;for(let f=0;fn&&a.to{let c=DR(t,o,s+n);if(c){l=!0;let d=Nh(c,o,n+s+1,r);d!=ct&&i.push(s,s+o.nodeSize,d)}});let a=CR(l?kR(t):t,-n).sort(Cl);for(let o=0;o0;)e++;t.splice(e,0,n)}u(PR,"insertAhead");function T1(t){let e=[];return t.someProp("decorations",n=>{let r=n(t.state);r&&r!=ct&&e.push(r)}),t.cursorWrapper&&e.push(Gt.create(t.state.doc,[t.cursorWrapper.deco])),Vh.from(e)}u(T1,"viewDecorations");const hG={childList:!0,characterData:!0,characterDataOldValue:!0,attributes:!0,attributeOldValue:!0,subtree:!0},pG=Bt&&wi<=11,Yv=class Yv{constructor(){this.anchorNode=null,this.anchorOffset=0,this.focusNode=null,this.focusOffset=0}set(e){this.anchorNode=e.anchorNode,this.anchorOffset=e.anchorOffset,this.focusNode=e.focusNode,this.focusOffset=e.focusOffset}clear(){this.anchorNode=this.focusNode=null}eq(e){return e.anchorNode==this.anchorNode&&e.anchorOffset==this.anchorOffset&&e.focusNode==this.focusNode&&e.focusOffset==this.focusOffset}};u(Yv,"SelectionState");let R1=Yv;const Kv=class Kv{constructor(e,n){this.view=e,this.handleDOMChange=n,this.queue=[],this.flushingSoon=-1,this.observer=null,this.currentSelection=new R1,this.onCharData=null,this.suppressingSelectionUpdates=!1,this.lastChangedTextNode=null,this.observer=window.MutationObserver&&new window.MutationObserver(r=>{for(let i=0;ii.type=="childList"&&i.removedNodes.length||i.type=="characterData"&&i.oldValue.length>i.target.nodeValue.length)?this.flushSoon():this.flush()}),pG&&(this.onCharData=r=>{this.queue.push({target:r.target,type:"characterData",oldValue:r.prevValue}),this.flushSoon()}),this.onSelectionChange=this.onSelectionChange.bind(this)}flushSoon(){this.flushingSoon<0&&(this.flushingSoon=window.setTimeout(()=>{this.flushingSoon=-1,this.flush()},20))}forceFlush(){this.flushingSoon>-1&&(window.clearTimeout(this.flushingSoon),this.flushingSoon=-1,this.flush())}start(){this.observer&&(this.observer.takeRecords(),this.observer.observe(this.view.dom,hG)),this.onCharData&&this.view.dom.addEventListener("DOMCharacterDataModified",this.onCharData),this.connectSelection()}stop(){if(this.observer){let e=this.observer.takeRecords();if(e.length){for(let n=0;nthis.flush(),20)}this.observer.disconnect()}this.onCharData&&this.view.dom.removeEventListener("DOMCharacterDataModified",this.onCharData),this.disconnectSelection()}connectSelection(){this.view.dom.ownerDocument.addEventListener("selectionchange",this.onSelectionChange)}disconnectSelection(){this.view.dom.ownerDocument.removeEventListener("selectionchange",this.onSelectionChange)}suppressSelectionUpdates(){this.suppressingSelectionUpdates=!0,setTimeout(()=>this.suppressingSelectionUpdates=!1,50)}onSelectionChange(){if(nR(this.view)){if(this.suppressingSelectionUpdates)return Nr(this.view);if(Bt&&wi<=11&&!this.view.state.selection.empty){let e=this.view.domSelectionRange();if(e.focusNode&&bl(e.focusNode,e.focusOffset,e.anchorNode,e.anchorOffset))return this.flushSoon()}this.flush()}}setCurSelection(){this.currentSelection.set(this.view.domSelectionRange())}ignoreSelectionChange(e){if(!e.focusNode)return!0;let n=new Set,r;for(let l=e.focusNode;l;l=yu(l))n.add(l);for(let l=e.anchorNode;l;l=yu(l))if(n.has(l)){r=l;break}let i=r&&this.view.docView.nearestDesc(r);if(i&&i.ignoreMutation({type:"selection",target:r.nodeType==3?r.parentNode:r}))return this.setCurSelection(),!0}pendingRecords(){if(this.observer)for(let e of this.observer.takeRecords())this.queue.push(e);return this.queue}selectionChanged(e){return!this.suppressingSelectionUpdates&&!this.currentSelection.eq(e)&&nR(this.view)&&!this.ignoreSelectionChange(e)}flush(){let{view:e}=this;if(!e.docView||this.flushingSoon>-1)return;let n=this.pendingRecords();n.length&&(this.queue=[]);let r=e.domSelectionRange(),i=this.selectionChanged(r),l=-1,a=-1,o=!1,s=[];if(e.editable)for(let d=0;df.nodeName=="BR");if(d.length==2){let[f,h]=d;f.parentNode&&f.parentNode.parentNode==h.parentNode?h.remove():f.remove()}else{let{focusNode:f}=this.currentSelection;for(let h of d){let p=h.parentNode;p&&p.nodeName=="LI"&&(!f||OG(e,f)!=p)&&h.remove()}}}let c=null;l<0&&i&&e.input.lastFocus>Date.now()-200&&Math.max(e.input.lastTouch,e.input.lastClick.time)-1||i)&&(l>-1&&(e.docView.markDirty(l,a),mG(e)),this.handleDOMChange(l,a,o,s),e.docView&&e.docView.dirty?e.updateState(e.state):this.currentSelection.eq(r)||Nr(e),this.currentSelection.set(r))}registerMutation(e,n){if(n.indexOf(e.target)>-1)return null;let r=this.view.docView.nearestDesc(e.target);if(e.type=="attributes"&&(r==this.view.docView||e.attributeName=="contenteditable"||e.attributeName=="style"&&!e.oldValue&&!e.target.getAttribute("style"))||!r||r.ignoreMutation(e))return null;if(e.type=="childList"){for(let d=0;di;O--){let b=r.childNodes[O-1],y=b.pmViewDesc;if(b.nodeName=="BR"&&!y){l=O;break}if(!y||y.size)break}let f=t.state.doc,h=t.someProp("domParser")||su.fromSchema(t.state.schema),p=f.resolve(a),m=null,g=h.parse(r,{topNode:p.parent,topMatch:p.parent.contentMatchAt(p.index()),topOpen:!0,from:i,to:l,preserveWhitespace:p.parent.type.whitespace=="pre"?"full":!0,findPositions:c,ruleFromNode:yG,context:p});if(c&&c[0].pos!=null){let O=c[0].pos,b=c[1]&&c[1].pos;b==null&&(b=O),m={anchor:O+a,head:b+a}}return{doc:g,sel:m,from:a,to:o}}u(bG,"parseBetween");function yG(t){let e=t.pmViewDesc;if(e)return e.parseRule();if(t.nodeName=="BR"&&t.parentNode){if($t&&/^(ul|ol)$/i.test(t.parentNode.nodeName)){let n=document.createElement("div");return n.appendChild(document.createElement("li")),{skip:n}}else if(t.parentNode.lastChild==t||$t&&/^(tr|table)$/i.test(t.parentNode.nodeName))return{ignore:!0}}else if(t.nodeName=="IMG"&&t.getAttribute("mark-placeholder"))return{ignore:!0};return null}u(yG,"ruleFromNode");const vG=/^(a|abbr|acronym|b|bd[io]|big|br|button|cite|code|data(list)?|del|dfn|em|i|ins|kbd|label|map|mark|meter|output|q|ruby|s|samp|small|span|strong|su[bp]|time|u|tt|var)$/i;function $G(t,e,n,r,i){let l=t.input.compositionPendingChanges||(t.composing?t.input.compositionID:0);if(t.input.compositionPendingChanges=0,e<0){let k=t.input.lastSelectionTime>Date.now()-50?t.input.lastSelectionOrigin:null,D=O1(t,k);if(D&&!t.state.selection.eq(D)){if(ut&&An&&t.input.lastKeyCode===13&&Date.now()-100E(t,yl(13,"Enter"))))return;let S=t.state.tr.setSelection(D);k=="pointer"?S.setMeta("pointer",!0):k=="key"&&S.scrollIntoView(),l&&S.setMeta("composition",l),t.dispatch(S)}return}let a=t.state.doc.resolve(e),o=a.sharedDepth(n);e=a.before(o+1),n=t.state.doc.resolve(n).after(o+1);let s=t.state.selection,c=bG(t,e,n),d=t.state.doc,f=d.slice(c.from,c.to),h,p;t.input.lastKeyCode===8&&Date.now()-100Date.now()-225||An)&&i.some(k=>k.nodeType==1&&!vG.test(k.nodeName))&&(!m||m.endA>=m.endB)&&t.someProp("handleKeyDown",k=>k(t,yl(13,"Enter")))){t.input.lastIOSEnter=0;return}if(!m)if(r&&s instanceof ye&&!s.empty&&s.$head.sameParent(s.$anchor)&&!t.composing&&!(c.sel&&c.sel.anchor!=c.sel.head))m={start:s.from,endA:s.to,endB:s.to};else{if(c.sel){let k=RR(t,t.state.doc,c.sel);if(k&&!k.eq(t.state.selection)){let D=t.state.tr.setSelection(k);l&&D.setMeta("composition",l),t.dispatch(D)}}return}t.state.selection.fromt.state.selection.from&&m.start<=t.state.selection.from+2&&t.state.selection.from>=c.from?m.start=t.state.selection.from:m.endA=t.state.selection.to-2&&t.state.selection.to<=c.to&&(m.endB+=t.state.selection.to-m.endA,m.endA=t.state.selection.to)),Bt&&wi<=11&&m.endB==m.start+1&&m.endA==m.start&&m.start>c.from&&c.doc.textBetween(m.start-c.from-1,m.start-c.from+1)==" \xA0"&&(m.start--,m.endA--,m.endB--);let g=c.doc.resolveNoCache(m.start-c.from),O=c.doc.resolveNoCache(m.endB-c.from),b=d.resolve(m.start),y=g.sameParent(O)&&g.parent.inlineContent&&b.end()>=m.endA,$;if((Ya&&t.input.lastIOSEnter>Date.now()-225&&(!y||i.some(k=>k.nodeName=="DIV"||k.nodeName=="P"))||!y&&g.posk(t,yl(13,"Enter")))){t.input.lastIOSEnter=0;return}if(t.state.selection.anchor>m.start&&xG(d,m.start,m.endA,g,O)&&t.someProp("handleKeyDown",k=>k(t,yl(8,"Backspace")))){An&&ut&&t.domObserver.suppressSelectionUpdates();return}ut&&An&&m.endB==m.start&&(t.input.lastAndroidDelete=Date.now()),An&&!y&&g.start()!=O.start()&&O.parentOffset==0&&g.depth==O.depth&&c.sel&&c.sel.anchor==c.sel.head&&c.sel.head==m.endA&&(m.endB-=2,O=c.doc.resolveNoCache(m.endB-c.from),setTimeout(()=>{t.someProp("handleKeyDown",function(k){return k(t,yl(13,"Enter"))})},20));let C=m.start,w=m.endA,x,P,v;if(y){if(g.pos==O.pos)Bt&&wi<=11&&g.parentOffset==0&&(t.domObserver.suppressSelectionUpdates(),setTimeout(()=>Nr(t),20)),x=t.state.tr.delete(C,w),P=d.resolve(m.start).marksAcross(d.resolve(m.endA));else if(m.endA==m.endB&&(v=wG(g.parent.content.cut(g.parentOffset,O.parentOffset),b.parent.content.cut(b.parentOffset,m.endA-b.start()))))x=t.state.tr,v.type=="add"?x.addMark(C,w,v.mark):x.removeMark(C,w,v.mark);else if(g.parent.child(g.index()).isText&&g.index()==O.index()-(O.textOffset?0:1)){let k=g.parent.textBetween(g.parentOffset,O.parentOffset);if(t.someProp("handleTextInput",D=>D(t,C,w,k)))return;x=t.state.tr.insertText(k,C,w)}}if(x||(x=t.state.tr.replace(C,w,c.doc.slice(m.start-c.from,m.endB-c.from))),c.sel){let k=RR(t,x.doc,c.sel);k&&!(ut&&An&&t.composing&&k.empty&&(m.start!=m.endB||t.input.lastAndroidDeletee.content.size?null:y1(t,e.resolve(n.anchor),e.resolve(n.head))}u(RR,"resolveSelection");function wG(t,e){let n=t.firstChild.marks,r=e.firstChild.marks,i=n,l=r,a,o,s;for(let d=0;dd.mark(o.addToSet(d.marks)),"update");else if(i.length==0&&l.length==1)o=l[0],a="remove",s=u(d=>d.mark(o.removeFromSet(d.marks)),"update");else return null;let c=[];for(let d=0;dn||M1(a,!0,!1)0&&(e||t.indexAfter(r)==t.node(r).childCount);)r--,i++,e=!1;if(n){let l=t.node(r).maybeChild(t.indexAfter(r));for(;l&&!l.isLeaf;)l=l.firstChild,i++}return i}u(M1,"skipClosingAndOpening");function SG(t,e,n,r,i){let l=t.findDiffStart(e,n);if(l==null)return null;let{a,b:o}=t.findDiffEnd(e,n+t.size,n+e.size);if(i=="end"){let s=Math.max(0,l-Math.min(a,o));r-=a+s-l}if(a=a?l-r:0;l-=s,l&&l=o?l-r:0;l-=s,l&&l=56320&&e<=57343&&n>=55296&&n<=56319}u(QR,"isSurrogatePair");const Gv=class Gv{constructor(e,n){this._root=null,this.focused=!1,this.trackWrites=null,this.mounted=!1,this.markCursor=null,this.cursorWrapper=null,this.lastSelectedViewDesc=void 0,this.input=new x1,this.prevDirectPlugins=[],this.pluginViews=[],this.requiresGeckoHackNode=!1,this.dragging=null,this._props=n,this.state=n.state,this.directPlugins=n.plugins||[],this.directPlugins.forEach(FR),this.dispatch=this.dispatch.bind(this),this.dom=e&&e.mount||document.createElement("div"),e&&(e.appendChild?e.appendChild(this.dom):typeof e=="function"?e(this.dom):e.mount&&(this.mounted=!0)),this.editable=VR(this),BR(this),this.nodeViews=NR(this),this.docView=j8(this.state.doc,MR(this),T1(this),this.dom,this),this.domObserver=new Q1(this,(r,i,l,a)=>$G(this,r,i,l,a)),this.domObserver.start(),YK(this),this.updatePluginViews()}get composing(){return this.input.composing}get props(){if(this._props.state!=this.state){let e=this._props;this._props={};for(let n in e)this._props[n]=e[n];this._props.state=this.state}return this._props}update(e){e.handleDOMEvents!=this._props.handleDOMEvents&&S1(this);let n=this._props;this._props=e,e.plugins&&(e.plugins.forEach(FR),this.directPlugins=e.plugins),this.updateStateInner(e.state,n)}setProps(e){let n={};for(let r in this._props)n[r]=this._props[r];n.state=this.state;for(let r in e)n[r]=e[r];this.update(n)}updateState(e){this.updateStateInner(e,this._props)}updateStateInner(e,n){var r;let i=this.state,l=!1,a=!1;e.storedMarks&&this.composing&&(wR(this),a=!0),this.state=e;let o=i.plugins!=e.plugins||this._props.plugins!=n.plugins;if(o||this._props.plugins!=n.plugins||this._props.nodeViews!=n.nodeViews){let p=NR(this);DG(p,this.nodeViews)&&(this.nodeViews=p,l=!0)}(o||n.handleDOMEvents!=this._props.handleDOMEvents)&&S1(this),this.editable=VR(this),BR(this);let s=T1(this),c=MR(this),d=i.plugins!=e.plugins&&!i.doc.eq(e.doc)?"reset":e.scrollToSelection>i.scrollToSelection?"to selection":"preserve",f=l||!this.docView.matchesNode(e.doc,c,s);(f||!e.selection.eq(i.selection))&&(a=!0);let h=d=="preserve"&&a&&this.dom.style.overflowAnchor==null&&fK(this);if(a){this.domObserver.stop();let p=f&&(Bt||ut)&&!this.composing&&!i.selection.empty&&!e.selection.empty&&CG(i.selection,e.selection);if(f){let m=ut?this.trackWrites=this.domSelectionRange().focusNode:null;this.composing&&(this.input.compositionNode=aG(this)),(l||!this.docView.update(e.doc,c,s,this))&&(this.docView.updateOuterDeco(c),this.docView.destroy(),this.docView=j8(e.doc,c,s,this.dom,this)),m&&!this.trackWrites&&(p=!0)}p||!(this.input.mouseDown&&this.domObserver.currentSelection.eq(this.domSelectionRange())&&QK(this))?Nr(this,p):(eR(this,e.selection),this.domObserver.setCurSelection()),this.domObserver.start()}this.updatePluginViews(i),!((r=this.dragging)===null||r===void 0)&&r.node&&!i.doc.eq(e.doc)&&this.updateDraggedNode(this.dragging,i),d=="reset"?this.dom.scrollTop=0:d=="to selection"?this.scrollToSelection():h&&hK(h)}scrollToSelection(){let e=this.domSelectionRange().focusNode;if(!this.someProp("handleScrollToSelection",n=>n(this)))if(this.state.selection instanceof ae){let n=this.docView.domAfterPos(this.state.selection.from);n.nodeType==1&&Q8(this,n.getBoundingClientRect(),e)}else Q8(this,this.coordsAtPos(this.state.selection.head,1),e)}destroyPluginViews(){let e;for(;e=this.pluginViews.pop();)e.destroy&&e.destroy()}updatePluginViews(e){if(!e||e.plugins!=this.state.plugins||this.directPlugins!=this.prevDirectPlugins){this.prevDirectPlugins=this.directPlugins,this.destroyPluginViews();for(let n=0;n0&&this.state.doc.nodeAt(l))==r.node&&(i=l)}this.dragging=new Mh(e.slice,e.move,i<0?void 0:ae.create(this.state.doc,i))}someProp(e,n){let r=this._props&&this._props[e],i;if(r!=null&&(i=n?n(r):r))return i;for(let a=0;an.ownerDocument.getSelection()),this._root=n}return e||document}updateRoot(){this._root=null}posAtCoords(e){return yK(this,e)}coordsAtPos(e,n=1){return I8(this,e,n)}domAtPos(e,n=0){return this.docView.domFromPos(e,n)}nodeDOM(e){let n=this.docView.descAt(e);return n?n.nodeDOM:null}posAtDOM(e,n,r=-1){let i=this.docView.posFromDOM(e,n,r);if(i==null)throw new RangeError("DOM position not inside the editor");return i}endOfTextblock(e,n){return SK(this,n||this.state,e)}pasteHTML(e,n){return Du(this,"",e,!1,n||new ClipboardEvent("paste"))}pasteText(e,n){return Du(this,e,null,!0,n||new ClipboardEvent("paste"))}destroy(){this.docView&&(KK(this),this.destroyPluginViews(),this.mounted?(this.docView.update(this.state.doc,[],T1(this),this),this.dom.textContent=""):this.dom.parentNode&&this.dom.parentNode.removeChild(this.dom),this.docView.destroy(),this.docView=null,tK())}get isDestroyed(){return this.docView==null}dispatchEvent(e){return HK(this,e)}dispatch(e){let n=this._props.dispatchTransaction;n?n.call(this,e):this.updateState(this.state.apply(e))}domSelectionRange(){let e=this.domSelection();return e?$t&&this.root.nodeType===11&&aK(this.dom.ownerDocument)==this.dom&&gG(this,e)||e:{focusNode:null,focusOffset:0,anchorNode:null,anchorOffset:0}}domSelection(){return this.root.getSelection()}};u(Gv,"EditorView");let B1=Gv;function MR(t){let e=Object.create(null);return e.class="ProseMirror",e.contenteditable=String(t.editable),t.someProp("attributes",n=>{if(typeof n=="function"&&(n=n(t.state)),n)for(let r in n)r=="class"?e.class+=" "+n[r]:r=="style"?e.style=(e.style?e.style+";":"")+n[r]:!e[r]&&r!="contenteditable"&&r!="nodeName"&&(e[r]=String(n[r]))}),e.translate||(e.translate="no"),[Fr.node(0,t.state.doc.content.size,e)]}u(MR,"computeDocDeco");function BR(t){if(t.markCursor){let e=document.createElement("img");e.className="ProseMirror-separator",e.setAttribute("mark-placeholder","true"),e.setAttribute("alt",""),t.cursorWrapper={dom:e,deco:Fr.widget(t.state.selection.from,e,{raw:!0,marks:t.markCursor})}}else t.cursorWrapper=null}u(BR,"updateCursorWrapper");function VR(t){return!t.someProp("editable",e=>e(t.state)===!1)}u(VR,"getEditable");function CG(t,e){let n=Math.min(t.$anchor.sharedDepth(t.head),e.$anchor.sharedDepth(e.head));return t.$anchor.start(n)!=e.$anchor.start(n)}u(CG,"selectionContextChanged");function NR(t){let e=Object.create(null);function n(r){for(let i in r)Object.prototype.hasOwnProperty.call(e,i)||(e[i]=r[i])}return u(n,"add"),t.someProp("nodeViews",n),t.someProp("markViews",n),e}u(NR,"buildNodeViews");function DG(t,e){let n=0,r=0;for(let i in t){if(t[i]!=e[i])return!0;n++}for(let i in e)r++;return n!=r}u(DG,"changedNodeViews");function FR(t){if(t.spec.state||t.spec.filterTransaction||t.spec.appendTransaction)throw new RangeError("Plugins passed directly to the view must not have a state component")}u(FR,"checkStateComponent");const kG=["p",0],PG=["blockquote",0],EG=["hr"],AG=["pre",["code",0]],TG=["br"],RG={doc:{content:"block+"},paragraph:{content:"inline*",group:"block",parseDOM:[{tag:"p"}],toDOM(){return kG}},blockquote:{content:"block+",group:"block",defining:!0,parseDOM:[{tag:"blockquote"}],toDOM(){return PG}},horizontal_rule:{group:"block",parseDOM:[{tag:"hr"}],toDOM(){return EG}},heading:{attrs:{level:{default:1,validate:"number"}},content:"inline*",group:"block",defining:!0,parseDOM:[{tag:"h1",attrs:{level:1}},{tag:"h2",attrs:{level:2}},{tag:"h3",attrs:{level:3}},{tag:"h4",attrs:{level:4}},{tag:"h5",attrs:{level:5}},{tag:"h6",attrs:{level:6}}],toDOM(t){return["h"+t.attrs.level,0]}},code_block:{content:"text*",marks:"",group:"block",code:!0,defining:!0,parseDOM:[{tag:"pre",preserveWhitespace:"full"}],toDOM(){return AG}},text:{group:"inline"},image:{inline:!0,attrs:{src:{validate:"string"},alt:{default:null,validate:"string|null"},title:{default:null,validate:"string|null"}},group:"inline",draggable:!0,parseDOM:[{tag:"img[src]",getAttrs(t){return{src:t.getAttribute("src"),title:t.getAttribute("title"),alt:t.getAttribute("alt")}}}],toDOM(t){let{src:e,alt:n,title:r}=t.attrs;return["img",{src:e,alt:n,title:r}]}},hard_break:{inline:!0,group:"inline",selectable:!1,parseDOM:[{tag:"br"}],toDOM(){return TG}}},QG=["em",0],MG=["strong",0],BG=["code",0],VG={link:{attrs:{href:{validate:"string"},title:{default:null,validate:"string|null"}},inclusive:!1,parseDOM:[{tag:"a[href]",getAttrs(t){return{href:t.getAttribute("href"),title:t.getAttribute("title")}}}],toDOM(t){let{href:e,title:n}=t.attrs;return["a",{href:e,title:n},0]}},em:{parseDOM:[{tag:"i"},{tag:"em"},{style:"font-style=italic"},{style:"font-style=normal",clearMark:t=>t.type.name=="em"}],toDOM(){return QG}},strong:{parseDOM:[{tag:"strong"},{tag:"b",getAttrs:t=>t.style.fontWeight!="normal"&&null},{style:"font-weight=400",clearMark:t=>t.type.name=="strong"},{style:"font-weight",getAttrs:t=>/^(bold(er)?|[5-9]\d{2,})$/.test(t)&&null}],toDOM(){return MG}},code:{parseDOM:[{tag:"code"}],toDOM(){return BG}}},IR=new ph({nodes:RG,marks:VG}),NG=["ol",0],FG=["ul",0],IG=["li",0],ZG={attrs:{order:{default:1,validate:"number"}},parseDOM:[{tag:"ol",getAttrs(t){return{order:t.hasAttribute("start")?+t.getAttribute("start"):1}}}],toDOM(t){return t.attrs.order==1?NG:["ol",{start:t.attrs.order},0]}},zG={parseDOM:[{tag:"ul"}],toDOM(){return FG}},LG={parseDOM:[{tag:"li"}],toDOM(){return IG},defining:!0};function V1(t,e){let n={};for(let r in t)n[r]=t[r];for(let r in e)n[r]=e[r];return n}u(V1,"add");function WG(t,e,n){return t.append({ordered_list:V1(ZG,{content:"list_item+",group:n}),bullet_list:V1(zG,{content:"list_item+",group:n}),list_item:V1(LG,{content:e})})}u(WG,"addListNodes");function N1(t,e=null){return function(n,r){let{$from:i,$to:l}=n.selection,a=i.blockRange(l),o=!1,s=a;if(!a)return!1;if(a.depth>=2&&i.node(a.depth-1).type.compatibleContent(t)&&a.startIndex==0){if(i.index(a.depth-1)==0)return!1;let d=n.doc.resolve(a.start-2);s=new za(d,d,a.depth),a.endIndex=0;d--)l=X.from(n[d].type.create(n[d].attrs,l));t.step(new vt(e.start-(r?2:0),e.end,e.start,e.end,new Y(l,0,0),n.length,!0));let a=0;for(let d=0;d=i.depth-3;b--)f=X.from(i.node(b).copy(f));let p=i.indexAfter(-1){if(O>-1)return!1;b.isTextblock&&b.content.size==0&&(O=y+1)}),O>-1&&g.setSelection(ce.near(g.doc.resolve(O))),r(g.scrollIntoView())}return!0}let s=l.pos==i.end()?o.contentMatchAt(0).defaultType:null,c=n.tr.delete(i.pos,l.pos),d=s?[e?{type:t,attrs:e}:null,{type:s}]:void 0;return Xa(c.doc,i.pos,2,d)?(r&&r(c.split(i.pos,2,d).scrollIntoView()),!0):!1}}u(jG,"splitListItem");function qG(t){return function(e,n){let{$from:r,$to:i}=e.selection,l=r.blockRange(i,a=>a.childCount>0&&a.firstChild.type==t);return l?n?r.node(l.depth-1).type==t?UG(e,n,t,l):YG(e,n,l):!0:!1}}u(qG,"liftListItem");function UG(t,e,n,r){let i=t.tr,l=r.end,a=r.$to.end(r.depth);lg;m--)p-=i.child(m).nodeSize,r.delete(p-1,p+1);let l=r.doc.resolve(n.start),a=l.nodeAfter;if(r.mapping.map(n.end)!=n.start+l.nodeAfter.nodeSize)return!1;let o=n.startIndex==0,s=n.endIndex==i.childCount,c=l.node(-1),d=l.index(-1);if(!c.canReplace(d+(o?0:1),d+1,a.content.append(s?X.empty:X.from(i))))return!1;let f=l.pos,h=f+a.nodeSize;return r.step(new vt(f-(o?1:0),h+(s?1:0),f+1,h-1,new Y((o?X.empty:X.from(i.copy(X.empty))).append(s?X.empty:X.from(i.copy(X.empty))),o?0:1,s?0:1),o?0:1)),e(r.scrollIntoView()),!0}u(YG,"liftOutOfList");function KG(t){return function(e,n){let{$from:r,$to:i}=e.selection,l=r.blockRange(i,c=>c.childCount>0&&c.firstChild.type==t);if(!l)return!1;let a=l.startIndex;if(a==0)return!1;let o=l.parent,s=o.child(a-1);if(s.type!=t)return!1;if(n){let c=s.lastChild&&s.lastChild.type==o.type,d=X.from(c?t.create():null),f=new Y(X.from(t.create(null,X.from(o.type.create(null,d)))),c?3:1,0),h=l.start,p=l.end;n(e.tr.step(new vt(h-(c?3:1),p,h,p,f,1,!0)).scrollIntoView())}return!0}}u(KG,"sinkListItem");const GG=typeof navigator<"u"?/Mac|iP(hone|[oa]d)/.test(navigator.platform):!1;function HG(t){let e=t.split(/-(?!$)/),n=e[e.length-1];n=="Space"&&(n=" ");let r,i,l,a;for(let o=0;o127)&&(l=Pr[r.keyCode])&&l!=i){let o=e[F1(l,r)];if(o&&o(n.state,n.dispatch,n))return!0}}return!1}}u(zR,"keydownHandler");var Fh=200,qe=u(function(){},"RopeSequence");qe.prototype.append=u(function(e){return e.length?(e=qe.from(e),!this.length&&e||e.length=n?qe.empty:this.sliceInner(Math.max(0,e),Math.min(this.length,n))},"slice"),qe.prototype.get=u(function(e){if(!(e<0||e>=this.length))return this.getInner(e)},"get"),qe.prototype.forEach=u(function(e,n,r){n===void 0&&(n=0),r===void 0&&(r=this.length),n<=r?this.forEachInner(e,n,r,0):this.forEachInvertedInner(e,n,r,0)},"forEach"),qe.prototype.map=u(function(e,n,r){n===void 0&&(n=0),r===void 0&&(r=this.length);var i=[];return this.forEach(function(l,a){return i.push(e(l,a))},n,r),i},"map"),qe.from=u(function(e){return e instanceof qe?e:e&&e.length?new LR(e):qe.empty},"from");var LR=function(t){function e(r){t.call(this),this.values=r}u(e,"Leaf"),t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var n={length:{configurable:!0},depth:{configurable:!0}};return e.prototype.flatten=u(function(){return this.values},"flatten"),e.prototype.sliceInner=u(function(i,l){return i==0&&l==this.length?this:new e(this.values.slice(i,l))},"sliceInner"),e.prototype.getInner=u(function(i){return this.values[i]},"getInner"),e.prototype.forEachInner=u(function(i,l,a,o){for(var s=l;s=a;s--)if(i(this.values[s],o+s)===!1)return!1},"forEachInvertedInner"),e.prototype.leafAppend=u(function(i){if(this.length+i.length<=Fh)return new e(this.values.concat(i.flatten()))},"leafAppend"),e.prototype.leafPrepend=u(function(i){if(this.length+i.length<=Fh)return new e(i.flatten().concat(this.values))},"leafPrepend"),n.length.get=function(){return this.values.length},n.depth.get=function(){return 0},Object.defineProperties(e.prototype,n),e}(qe);qe.empty=new LR([]);var JG=function(t){function e(n,r){t.call(this),this.left=n,this.right=r,this.length=n.length+r.length,this.depth=Math.max(n.depth,r.depth)+1}return u(e,"Append"),t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.flatten=u(function(){return this.left.flatten().concat(this.right.flatten())},"flatten"),e.prototype.getInner=u(function(r){return ro&&this.right.forEachInner(r,Math.max(i-o,0),Math.min(this.length,l)-o,a+o)===!1)return!1},"forEachInner"),e.prototype.forEachInvertedInner=u(function(r,i,l,a){var o=this.left.length;if(i>o&&this.right.forEachInvertedInner(r,i-o,Math.max(l,o)-o,a+o)===!1||l=l?this.right.slice(r-l,i-l):this.left.slice(r,l).append(this.right.slice(0,i-l))},"sliceInner"),e.prototype.leafAppend=u(function(r){var i=this.right.leafAppend(r);if(i)return new e(this.left,i)},"leafAppend"),e.prototype.leafPrepend=u(function(r){var i=this.left.leafPrepend(r);if(i)return new e(i,this.right)},"leafPrepend"),e.prototype.appendInner=u(function(r){return this.left.depth>=Math.max(this.right.depth,r.depth)+1?new e(this.left,new e(this.right,r)):new e(this,r)},"appendInner"),e}(qe);const eH=500,Ri=class Ri{constructor(e,n){this.items=e,this.eventCount=n}popEvent(e,n){if(this.eventCount==0)return null;let r=this.items.length;for(;;r--)if(this.items.get(r-1).selection){--r;break}let i,l;n&&(i=this.remapping(r,this.items.length),l=i.maps.length);let a=e.tr,o,s,c=[],d=[];return this.items.forEach((f,h)=>{if(!f.step){i||(i=this.remapping(r,h+1),l=i.maps.length),l--,d.push(f);return}if(i){d.push(new nr(f.map));let p=f.step.map(i.slice(l)),m;p&&a.maybeStep(p).doc&&(m=a.mapping.maps[a.mapping.maps.length-1],c.push(new nr(m,void 0,void 0,c.length+d.length))),l--,m&&i.appendMap(m,l)}else a.maybeStep(f.step);if(f.selection)return o=i?f.selection.map(i.slice(l)):f.selection,s=new Ri(this.items.slice(0,r).append(d.reverse().concat(c)),this.eventCount-1),!1},this.items.length,0),{remaining:s,transform:a,selection:o}}addTransform(e,n,r,i){let l=[],a=this.eventCount,o=this.items,s=!i&&o.length?o.get(o.length-1):null;for(let d=0;dnH&&(o=tH(o,c),a-=c),new Ri(o.append(l),a)}remapping(e,n){let r=new vh;return this.items.forEach((i,l)=>{let a=i.mirrorOffset!=null&&l-i.mirrorOffset>=e?r.maps.length-i.mirrorOffset:void 0;r.appendMap(i.map,a)},e,n),r}addMaps(e){return this.eventCount==0?this:new Ri(this.items.append(e.map(n=>new nr(n))),this.eventCount)}rebased(e,n){if(!this.eventCount)return this;let r=[],i=Math.max(0,this.items.length-n),l=e.mapping,a=e.steps.length,o=this.eventCount;this.items.forEach(h=>{h.selection&&o--},i);let s=n;this.items.forEach(h=>{let p=l.getMirror(--s);if(p==null)return;a=Math.min(a,p);let m=l.maps[p];if(h.step){let g=e.steps[p].invert(e.docs[p]),O=h.selection&&h.selection.map(l.slice(s+1,p));O&&o++,r.push(new nr(m,g,O))}else r.push(new nr(m))},i);let c=[];for(let h=n;heH&&(f=f.compress(this.items.length-r.length)),f}emptyItemCount(){let e=0;return this.items.forEach(n=>{n.step||e++}),e}compress(e=this.items.length){let n=this.remapping(0,e),r=n.maps.length,i=[],l=0;return this.items.forEach((a,o)=>{if(o>=e)i.push(a),a.selection&&l++;else if(a.step){let s=a.step.map(n.slice(r)),c=s&&s.getMap();if(r--,c&&n.appendMap(c,r),s){let d=a.selection&&a.selection.map(n.slice(r));d&&l++;let f=new nr(c.invert(),s,d),h,p=i.length-1;(h=i.length&&i[p].merge(f))?i[p]=h:i.push(f)}}else a.map&&r--},this.items.length,0),new Ri(qe.from(i.reverse()),l)}};u(Ri,"Branch");let Dl=Ri;Dl.empty=new Dl(qe.empty,0);function tH(t,e){let n;return t.forEach((r,i)=>{if(r.selection&&e--==0)return n=i,!1}),t.slice(n)}u(tH,"cutOffEvents");const Ip=class Ip{constructor(e,n,r,i){this.map=e,this.step=n,this.selection=r,this.mirrorOffset=i}merge(e){if(this.step&&e.step&&!e.selection){let n=e.step.merge(this.step);if(n)return new Ip(n.getMap().invert(),n,this.selection)}}};u(Ip,"Item");let nr=Ip;const Hv=class Hv{constructor(e,n,r,i,l){this.done=e,this.undone=n,this.prevRanges=r,this.prevTime=i,this.prevComposition=l}};u(Hv,"HistoryState");let rr=Hv;const nH=20;function rH(t,e,n,r){let i=n.getMeta(kl),l;if(i)return i.historyState;n.getMeta(aH)&&(t=new rr(t.done,t.undone,null,0,-1));let a=n.getMeta("appendedTransaction");if(n.steps.length==0)return t;if(a&&a.getMeta(kl))return a.getMeta(kl).redo?new rr(t.done.addTransform(n,void 0,r,Ih(e)),t.undone,WR(n.mapping.maps),t.prevTime,t.prevComposition):new rr(t.done,t.undone.addTransform(n,void 0,r,Ih(e)),null,t.prevTime,t.prevComposition);if(n.getMeta("addToHistory")!==!1&&!(a&&a.getMeta("addToHistory")===!1)){let o=n.getMeta("composition"),s=t.prevTime==0||!a&&t.prevComposition!=o&&(t.prevTime<(n.time||0)-r.newGroupDelay||!iH(n,t.prevRanges)),c=a?I1(t.prevRanges,n.mapping):WR(n.mapping.maps);return new rr(t.done.addTransform(n,s?e.selection.getBookmark():void 0,r,Ih(e)),Dl.empty,c,n.time,o??t.prevComposition)}else return(l=n.getMeta("rebased"))?new rr(t.done.rebased(n,l),t.undone.rebased(n,l),I1(t.prevRanges,n.mapping),t.prevTime,t.prevComposition):new rr(t.done.addMaps(n.mapping.maps),t.undone.addMaps(n.mapping.maps),I1(t.prevRanges,n.mapping),t.prevTime,t.prevComposition)}u(rH,"applyTransaction");function iH(t,e){if(!e)return!1;if(!t.docChanged)return!0;let n=!1;return t.mapping.maps[0].forEach((r,i)=>{for(let l=0;l=e[l]&&(n=!0)}),n}u(iH,"isAdjacentTo");function WR(t){let e=[];for(let n=t.length-1;n>=0&&e.length==0;n--)t[n].forEach((r,i,l,a)=>e.push(l,a));return e}u(WR,"rangesFor");function I1(t,e){if(!t)return null;let n=[];for(let r=0;r{let i=kl.getState(n);if(!i||(t?i.undone:i.done).eventCount==0)return!1;if(r){let l=lH(i,n,t);l&&r(e?l.scrollIntoView():l)}return!0}}u(jR,"buildCommand");const Zh=jR(!1,!0),Pu=jR(!0,!0),qR=u((t,e)=>t.selection.empty?!1:(e&&e(t.tr.deleteSelection().scrollIntoView()),!0),"deleteSelection");function sH(t,e){let{$cursor:n}=t.selection;return!n||(e?!e.endOfTextblock("backward",t):n.parentOffset>0)?null:n}u(sH,"atBlockStart");const uH=u((t,e,n)=>{let r=sH(t,n);if(!r)return!1;let i=UR(r);if(!i){let a=r.blockRange(),o=a&&pu(a);return o==null?!1:(e&&e(t.tr.lift(a,o).scrollIntoView()),!0)}let l=i.nodeBefore;if(GR(t,i,e,-1))return!0;if(r.parent.content.size==0&&(eo(l,"end")||ae.isSelectable(l)))for(let a=r.depth;;a--){let o=Gb(t.doc,r.before(a),r.after(a),Y.empty);if(o&&o.slice.size1)break}return l.isAtom&&i.depth==r.depth-1?(e&&e(t.tr.delete(i.pos-l.nodeSize,i.pos).scrollIntoView()),!0):!1},"joinBackward");function eo(t,e,n=!1){for(let r=t;r;r=e=="start"?r.firstChild:r.lastChild){if(r.isTextblock)return!0;if(n&&r.childCount!=1)return!1}return!1}u(eo,"textblockAt");const cH=u((t,e,n)=>{let{$head:r,empty:i}=t.selection,l=r;if(!i)return!1;if(r.parent.isTextblock){if(n?!n.endOfTextblock("backward",t):r.parentOffset>0)return!1;l=UR(r)}let a=l&&l.nodeBefore;return!a||!ae.isSelectable(a)?!1:(e&&e(t.tr.setSelection(ae.create(t.doc,l.pos-a.nodeSize)).scrollIntoView()),!0)},"selectNodeBackward");function UR(t){if(!t.parent.type.spec.isolating)for(let e=t.depth-1;e>=0;e--){if(t.index(e)>0)return t.doc.resolve(t.before(e+1));if(t.node(e).type.spec.isolating)break}return null}u(UR,"findCutBefore");function dH(t,e){let{$cursor:n}=t.selection;return!n||(e?!e.endOfTextblock("forward",t):n.parentOffset{let r=dH(t,n);if(!r)return!1;let i=YR(r);if(!i)return!1;let l=i.nodeAfter;if(GR(t,i,e,1))return!0;if(r.parent.content.size==0&&(eo(l,"start")||ae.isSelectable(l))){let a=Gb(t.doc,r.before(),r.after(),Y.empty);if(a&&a.slice.size{let{$head:r,empty:i}=t.selection,l=r;if(!i)return!1;if(r.parent.isTextblock){if(n?!n.endOfTextblock("forward",t):r.parentOffset=0;e--){let n=t.node(e);if(t.index(e)+1{let n=t.selection,r=n instanceof ae,i;if(r){if(n.node.isTextblock||!ja(t.doc,n.from))return!1;i=n.from}else if(i=m8(t.doc,n.from,-1),i==null)return!1;if(e){let l=t.tr.join(i);r&&l.setSelection(ae.create(l.doc,i-t.doc.resolve(i).nodeBefore.nodeSize)),e(l.scrollIntoView())}return!0},"joinUp"),pH=u((t,e)=>{let n=t.selection,r;if(n instanceof ae){if(n.node.isTextblock||!ja(t.doc,n.to))return!1;r=n.to}else if(r=m8(t.doc,n.to,1),r==null)return!1;return e&&e(t.tr.join(r).scrollIntoView()),!0},"joinDown"),L1=u((t,e)=>{let{$from:n,$to:r}=t.selection,i=n.blockRange(r),l=i&&pu(i);return l==null?!1:(e&&e(t.tr.lift(i,l).scrollIntoView()),!0)},"lift"),mH=u((t,e)=>{let{$head:n,$anchor:r}=t.selection;return!n.parent.type.spec.code||!n.sameParent(r)?!1:(e&&e(t.tr.insertText(` -`).scrollIntoView()),!0)},"newlineInCode");function W1(t){for(let e=0;e{let{$head:n,$anchor:r}=t.selection;if(!n.parent.type.spec.code||!n.sameParent(r))return!1;let i=n.node(-1),l=n.indexAfter(-1),a=W1(i.contentMatchAt(l));if(!a||!i.canReplaceWith(l,l,a))return!1;if(e){let o=n.after(),s=t.tr.replaceWith(o,o,a.createAndFill());s.setSelection(ce.near(s.doc.resolve(o),1)),e(s.scrollIntoView())}return!0},"exitCode"),gH=u((t,e)=>{let n=t.selection,{$from:r,$to:i}=n;if(n instanceof Pn||r.parent.inlineContent||i.parent.inlineContent)return!1;let l=W1(i.parent.contentMatchAt(i.indexAfter()));if(!l||!l.isTextblock)return!1;if(e){let a=(!r.parentOffset&&i.index(){let{$cursor:n}=t.selection;if(!n||n.parent.content.size)return!1;if(n.depth>1&&n.after()!=n.end(-1)){let l=n.before();if(Xa(t.doc,l))return e&&e(t.tr.split(l).scrollIntoView()),!0}let r=n.blockRange(),i=r&&pu(r);return i==null?!1:(e&&e(t.tr.lift(r,i).scrollIntoView()),!0)},"liftEmptyBlock");function bH(t){return(e,n)=>{let{$from:r,$to:i}=e.selection;if(e.selection instanceof ae&&e.selection.node.isBlock)return!r.parentOffset||!Xa(e.doc,r.pos)?!1:(n&&n(e.tr.split(r.pos).scrollIntoView()),!0);if(!r.parent.isBlock)return!1;if(n){let l=i.parentOffset==i.parent.content.size,a=e.tr;(e.selection instanceof ye||e.selection instanceof Pn)&&a.deleteSelection();let o=r.depth==0?null:W1(r.node(-1).contentMatchAt(r.indexAfter(-1))),s=t&&t(i.parent,l,r),c=s?[s]:l&&o?[{type:o}]:void 0,d=Xa(a.doc,a.mapping.map(r.pos),1,c);if(!c&&!d&&Xa(a.doc,a.mapping.map(r.pos),1,o?[{type:o}]:void 0)&&(o&&(c=[{type:o}]),d=!0),d&&(a.split(a.mapping.map(r.pos),1,c),!l&&!r.parentOffset&&r.parent.type!=o)){let f=a.mapping.map(r.before()),h=a.doc.resolve(f);o&&r.node(-1).canReplaceWith(h.index(),h.index()+1,o)&&a.setNodeMarkup(a.mapping.map(r.before()),o)}n(a.scrollIntoView())}return!0}}u(bH,"splitBlockAs");const yH=bH(),X1=u((t,e)=>{let{$from:n,to:r}=t.selection,i,l=n.sharedDepth(r);return l==0?!1:(i=n.before(l),e&&e(t.tr.setSelection(ae.create(t.doc,i))),!0)},"selectParentNode"),vH=u((t,e)=>(e&&e(t.tr.setSelection(new Pn(t.doc))),!0),"selectAll");function $H(t,e,n){let r=e.nodeBefore,i=e.nodeAfter,l=e.index();return!r||!i||!r.type.compatibleContent(i.type)?!1:!r.content.size&&e.parent.canReplace(l-1,l)?(n&&n(t.tr.delete(e.pos-r.nodeSize,e.pos).scrollIntoView()),!0):!e.parent.canReplace(l,l+1)||!(i.isTextblock||ja(t.doc,e.pos))?!1:(n&&n(t.tr.clearIncompatible(e.pos,r.type,r.contentMatchAt(r.childCount)).join(e.pos).scrollIntoView()),!0)}u($H,"joinMaybeClear");function GR(t,e,n,r){let i=e.nodeBefore,l=e.nodeAfter,a,o,s=i.type.spec.isolating||l.type.spec.isolating;if(!s&&$H(t,e,n))return!0;let c=!s&&e.parent.canReplace(e.index(),e.index()+1);if(c&&(a=(o=i.contentMatchAt(i.childCount)).findWrapping(l.type))&&o.matchType(a[0]||l.type).validEnd){if(n){let p=e.pos+l.nodeSize,m=X.empty;for(let b=a.length-1;b>=0;b--)m=X.from(a[b].create(null,m));m=X.from(i.copy(m));let g=t.tr.step(new vt(e.pos-1,p,e.pos,p,new Y(m,1,0),a.length,!0)),O=p+2*a.length;ja(g.doc,O)&&g.join(O),n(g.scrollIntoView())}return!0}let d=l.type.spec.isolating||r>0&&s?null:ce.findFrom(e,1),f=d&&d.$from.blockRange(d.$to),h=f&&pu(f);if(h!=null&&h>=e.depth)return n&&n(t.tr.lift(f,h).scrollIntoView()),!0;if(c&&eo(l,"start",!0)&&eo(i,"end")){let p=i,m=[];for(;m.push(p),!p.isTextblock;)p=p.lastChild;let g=l,O=1;for(;!g.isTextblock;g=g.firstChild)O++;if(p.canReplace(p.childCount,p.childCount,g.content)){if(n){let b=X.empty;for(let $=m.length-1;$>=0;$--)b=X.from(m[$].copy(b));let y=t.tr.step(new vt(e.pos-m.length,e.pos+l.nodeSize,e.pos+O,e.pos+l.nodeSize-O,new Y(b,m.length,0),0,!0));n(y.scrollIntoView())}return!0}}return!1}u(GR,"deleteBarrier");function HR(t){return function(e,n){let r=e.selection,i=t<0?r.$from:r.$to,l=i.depth;for(;i.node(l).isInline;){if(!l)return!1;l--}return i.node(l).isTextblock?(n&&n(e.tr.setSelection(ye.create(e.doc,t<0?i.start(l):i.end(l)))),!0):!1}}u(HR,"selectTextblockSide");const wH=HR(-1),xH=HR(1);function j1(t,e=null){return function(n,r){let{$from:i,$to:l}=n.selection,a=i.blockRange(l),o=a&&Kb(a,t,e);return o?(r&&r(n.tr.wrap(a,o).scrollIntoView()),!0):!1}}u(j1,"wrapIn");function zh(t,e=null){return function(n,r){let i=!1;for(let l=0;l{if(i)return!1;if(!(!s.isTextblock||s.hasMarkup(t,e)))if(s.type==t)i=!0;else{let d=n.doc.resolve(c),f=d.index();i=d.parent.canReplaceWith(f,f+1,t)}})}if(!i)return!1;if(r){let l=n.tr;for(let a=0;a{if(o||!r&&s.isAtom&&s.isInline&&c>=l.pos&&c+s.nodeSize<=a.pos)return!1;o=s.inlineContent&&s.type.allowsMarkType(n)}),o)return!0}return!1}u(SH,"markApplies");function CH(t){let e=[];for(let n=0;n{if(l.isAtom&&l.content.size&&l.isInline&&a>=r.pos&&a+l.nodeSize<=i.pos)return a+1>r.pos&&e.push(new Ou(r,r.doc.resolve(a+1))),r=r.doc.resolve(a+1+l.content.size),!1}),r.posl.doc.rangeHasMark(h.$from.pos,h.$to.pos,t)):d=!c.every(h=>{let p=!1;return f.doc.nodesBetween(h.$from.pos,h.$to.pos,(m,g,O)=>{if(p)return!1;p=!t.isInSet(m.marks)&&!!O&&O.type.allowsMarkType(t)&&!(m.isText&&/^\s*$/.test(m.textBetween(Math.max(0,h.$from.pos-g),Math.min(m.nodeSize,h.$to.pos-g))))}),!p});for(let h=0;h{let l=u(a=>{this[i](a)},"handler");return e.dom.addEventListener(i,l),{name:i,handler:l}})}destroy(){this.handlers.forEach(({name:e,handler:n})=>this.editorView.dom.removeEventListener(e,n))}update(e,n){this.cursorPos!=null&&n.doc!=e.state.doc&&(this.cursorPos>e.state.doc.content.size?this.setCursor(null):this.updateOverlay())}setCursor(e){e!=this.cursorPos&&(this.cursorPos=e,e==null?(this.element.parentNode.removeChild(this.element),this.element=null):this.updateOverlay())}updateOverlay(){let e=this.editorView.state.doc.resolve(this.cursorPos),n=!e.parent.inlineContent,r;if(n){let o=e.nodeBefore,s=e.nodeAfter;if(o||s){let c=this.editorView.nodeDOM(this.cursorPos-(o?o.nodeSize:0));if(c){let d=c.getBoundingClientRect(),f=o?d.bottom:d.top;o&&s&&(f=(f+this.editorView.nodeDOM(this.cursorPos).getBoundingClientRect().top)/2),r={left:d.left,right:d.right,top:f-this.width/2,bottom:f+this.width/2}}}}if(!r){let o=this.editorView.coordsAtPos(this.cursorPos);r={left:o.left-this.width/2,right:o.left+this.width/2,top:o.top,bottom:o.bottom}}let i=this.editorView.dom.offsetParent;this.element||(this.element=i.appendChild(document.createElement("div")),this.class&&(this.element.className=this.class),this.element.style.cssText="position: absolute; z-index: 50; pointer-events: none;",this.color&&(this.element.style.backgroundColor=this.color)),this.element.classList.toggle("prosemirror-dropcursor-block",n),this.element.classList.toggle("prosemirror-dropcursor-inline",!n);let l,a;if(!i||i==document.body&&getComputedStyle(i).position=="static")l=-pageXOffset,a=-pageYOffset;else{let o=i.getBoundingClientRect();l=o.left-i.scrollLeft,a=o.top-i.scrollTop}this.element.style.left=r.left-l+"px",this.element.style.top=r.top-a+"px",this.element.style.width=r.right-r.left+"px",this.element.style.height=r.bottom-r.top+"px"}scheduleRemoval(e){clearTimeout(this.timeout),this.timeout=setTimeout(()=>this.setCursor(null),e)}dragover(e){if(!this.editorView.editable)return;let n=this.editorView.posAtCoords({left:e.clientX,top:e.clientY}),r=n&&n.inside>=0&&this.editorView.state.doc.nodeAt(n.inside),i=r&&r.type.spec.disableDropCursor,l=typeof i=="function"?i(this.editorView,n,e):i;if(n&&!l){let a=n.pos;if(this.editorView.dragging&&this.editorView.dragging.slice){let o=g8(this.editorView.state.doc,a,this.editorView.dragging.slice);o!=null&&(a=o)}this.setCursor(a),this.scheduleRemoval(5e3)}}dragend(){this.scheduleRemoval(20)}drop(){this.scheduleRemoval(20)}dragleave(e){(e.target==this.editorView.dom||!this.editorView.dom.contains(e.relatedTarget))&&this.setCursor(null)}};u(_v,"DropCursorView");let U1=_v;const sr=class sr extends ce{constructor(e){super(e,e)}map(e,n){let r=e.resolve(n.map(this.head));return sr.valid(r)?new sr(r):ce.near(r)}content(){return Y.empty}eq(e){return e instanceof sr&&e.head==this.head}toJSON(){return{type:"gapcursor",pos:this.head}}static fromJSON(e,n){if(typeof n.pos!="number")throw new RangeError("Invalid input for GapCursor.fromJSON");return new sr(e.resolve(n.pos))}getBookmark(){return new Y1(this.anchor)}static valid(e){let n=e.parent;if(n.isTextblock||!PH(e)||!EH(e))return!1;let r=n.type.spec.allowGapCursor;if(r!=null)return r;let i=n.contentMatchAt(e.index()).defaultType;return i&&i.isTextblock}static findGapCursorFrom(e,n,r=!1){e:for(;;){if(!r&&sr.valid(e))return e;let i=e.pos,l=null;for(let a=e.depth;;a--){let o=e.node(a);if(n>0?e.indexAfter(a)0){l=o.child(n>0?e.indexAfter(a):e.index(a)-1);break}else if(a==0)return null;i+=n;let s=e.doc.resolve(i);if(sr.valid(s))return s}for(;;){let a=n>0?l.firstChild:l.lastChild;if(!a){if(l.isAtom&&!l.isText&&!ae.isSelectable(l)){e=e.doc.resolve(i+l.nodeSize*n),r=!1;continue e}break}l=a,i+=n;let o=e.doc.resolve(i);if(sr.valid(o))return o}return null}}};u(sr,"GapCursor");let dt=sr;dt.prototype.visible=!1,dt.findFrom=dt.findGapCursorFrom,ce.jsonID("gapcursor",dt);const Zp=class Zp{constructor(e){this.pos=e}map(e){return new Zp(e.map(this.pos))}resolve(e){let n=e.resolve(this.pos);return dt.valid(n)?new dt(n):ce.near(n)}};u(Zp,"GapBookmark");let Y1=Zp;function PH(t){for(let e=t.depth;e>=0;e--){let n=t.index(e),r=t.node(e);if(n==0){if(r.type.spec.isolating)return!0;continue}for(let i=r.child(n-1);;i=i.lastChild){if(i.childCount==0&&!i.inlineContent||i.isAtom||i.type.spec.isolating)return!0;if(i.inlineContent)return!1}}return!0}u(PH,"closedBefore");function EH(t){for(let e=t.depth;e>=0;e--){let n=t.indexAfter(e),r=t.node(e);if(n==r.childCount){if(r.type.spec.isolating)return!0;continue}for(let i=r.child(n);;i=i.firstChild){if(i.childCount==0&&!i.inlineContent||i.isAtom||i.type.spec.isolating)return!0;if(i.inlineContent)return!1}}return!0}u(EH,"closedAfter");function AH(){return new Mr({props:{decorations:MH,createSelectionBetween(t,e,n){return e.pos==n.pos&&dt.valid(n)?new dt(n):null},handleClick:RH,handleKeyDown:TH,handleDOMEvents:{beforeinput:QH}}})}u(AH,"gapCursor");const TH=zR({ArrowLeft:Wh("horiz",-1),ArrowRight:Wh("horiz",1),ArrowUp:Wh("vert",-1),ArrowDown:Wh("vert",1)});function Wh(t,e){const n=t=="vert"?e>0?"down":"up":e>0?"right":"left";return function(r,i,l){let a=r.selection,o=e>0?a.$to:a.$from,s=a.empty;if(a instanceof ye){if(!l.endOfTextblock(n)||o.depth==0)return!1;s=!1,o=r.doc.resolve(e>0?o.after():o.before())}let c=dt.findGapCursorFrom(o,e,s);return c?(i&&i(r.tr.setSelection(new dt(c))),!0):!1}}u(Wh,"arrow");function RH(t,e,n){if(!t||!t.editable)return!1;let r=t.state.doc.resolve(e);if(!dt.valid(r))return!1;let i=t.posAtCoords({left:n.clientX,top:n.clientY});return i&&i.inside>-1&&ae.isSelectable(t.state.doc.nodeAt(i.inside))?!1:(t.dispatch(t.state.tr.setSelection(new dt(r))),!0)}u(RH,"handleClick");function QH(t,e){if(e.inputType!="insertCompositionText"||!(t.state.selection instanceof dt))return!1;let{$from:n}=t.state.selection,r=n.parent.contentMatchAt(n.index()).findWrapping(t.state.schema.nodes.text);if(!r)return!1;let i=X.empty;for(let a=r.length-1;a>=0;a--)i=X.from(r[a].createAndFill(null,i));let l=t.state.tr.replace(n.pos,n.pos,new Y(i,0,0));return l.setSelection(ye.near(l.doc.resolve(n.pos+1))),t.dispatch(l),!1}u(QH,"beforeinput");function MH(t){if(!(t.selection instanceof dt))return null;let e=document.createElement("div");return e.className="ProseMirror-gapcursor",Gt.create(t.doc,[Fr.widget(t.selection.head,e,{key:"gapcursor"})])}u(MH,"drawGapCursor");const Eu="http://www.w3.org/2000/svg",BH="http://www.w3.org/1999/xlink",K1="ProseMirror-icon";function VH(t){let e=0;for(let n=0;n{l.preventDefault(),r.classList.contains(Vt+"-disabled")||n.run(e.state,e.dispatch,e,l)});function i(l){if(n.select){let o=n.select(l);if(r.style.display=o?"":"none",!o)return!1}let a=!0;if(n.enable&&(a=n.enable(l)||!1,_1(r,Vt+"-disabled",!a)),n.active){let o=a&&n.active(l)||!1;_1(r,Vt+"-active",o)}return!0}return u(i,"update"),{dom:r,update:i}}};u(Jv,"MenuItem");let Ht=Jv;function Au(t,e){return t._props.translate?t._props.translate(e):e}u(Au,"translate");let Tu={time:0,node:null};function e9(t){Tu.time=Date.now(),Tu.node=t.target}u(e9,"markMenuEvent");function t9(t){return Date.now()-100{a&&a.close()&&(a=null,r.removeEventListener("mousedown",o))},"close");i.addEventListener("mousedown",d=>{d.preventDefault(),e9(d),a?s():(a=this.expand(l,n.dom),r.addEventListener("mousedown",o=u(()=>{t9(l)||s()},"listeningOnClose")))});function c(d){let f=n.update(d);return l.style.display=f?"":"none",f}return u(c,"update"),{dom:l,update:c}}expand(e,n){let r=qt("div",{class:Vt+"-dropdown-menu "+(this.options.class||"")},n),i=!1;function l(){return i?!1:(i=!0,e.removeChild(r),!0)}return u(l,"close"),e.appendChild(r),{close:l,node:r}}};u(e3,"Dropdown");let Xh=e3;function n9(t,e){let n=[],r=[];for(let i=0;i{let r=!1;for(let i=0;i{s.preventDefault(),e9(s),_1(l,Vt+"-submenu-wrap-active",!1),a||r.addEventListener("mousedown",a=u(()=>{t9(l)||(l.classList.remove(Vt+"-submenu-wrap-active"),r.removeEventListener("mousedown",a),a=null)},"listeningOnClose"))});function o(s){let c=n.update(s);return l.style.display=c?"":"none",c}return u(o,"update"),{dom:l,update:o}}};u(t3,"DropdownSubmenu");let G1=t3;function IH(t,e){let n=document.createDocumentFragment(),r=[],i=[];for(let a=0;az1(t),icon:On.join}),LH=new Ht({title:"Lift out of enclosing block",run:L1,select:t=>L1(t),icon:On.lift}),WH=new Ht({title:"Select parent node",run:X1,select:t=>X1(t),icon:On.selectParentNode});let XH=new Ht({title:"Undo last change",run:Zh,enable:t=>Zh(t),icon:On.undo}),jH=new Ht({title:"Redo last undone change",run:Pu,enable:t=>Pu(t),icon:On.redo});function qH(t,e){let n={run(r,i){return j1(t,e.attrs)(r,i)},select(r){return j1(t,e.attrs)(r)}};for(let r in e)n[r]=e[r];return new Ht(n)}u(qH,"wrapItem");function H1(t,e){let n=zh(t,e.attrs),r={run:n,enable(i){return n(i)},active(i){let{$from:l,to:a,node:o}=i.selection;return o?o.hasMarkup(t,e.attrs):a<=l.end()&&l.parent.hasMarkup(t,e.attrs)}};for(let i in e)r[i]=e[i];return new Ht(r)}u(H1,"blockTypeItem");function _1(t,e,n){n?t.classList.add(e):t.classList.remove(e)}u(_1,"setClass");const jh="ProseMirror-menubar";function UH(){if(typeof navigator>"u")return!1;let t=navigator.userAgent;return!/Edge\/\d/.test(t)&&/AppleWebKit/.test(t)&&/Mobile\/\w+/.test(t)}u(UH,"isIOS");function YH(t){return new Mr({view(e){return new J1(e,t)}})}u(YH,"menuBar");const n3=class n3{constructor(e,n){this.editorView=e,this.options=n,this.spacer=null,this.maxHeight=0,this.widthForMaxHeight=0,this.floating=!1,this.scrollHandler=null,this.wrapper=qt("div",{class:jh+"-wrapper"}),this.menu=this.wrapper.appendChild(qt("div",{class:jh})),this.menu.className=jh,e.dom.parentNode&&e.dom.parentNode.replaceChild(this.wrapper,e.dom),this.wrapper.appendChild(e.dom);let{dom:r,update:i}=IH(this.editorView,this.options.content);if(this.contentUpdate=i,this.menu.appendChild(r),this.update(),n.floating&&!UH()){this.updateFloat();let l=HH(this.wrapper);this.scrollHandler=a=>{let o=this.editorView.root;(o.body||o).contains(this.wrapper)?this.updateFloat(a.target.getBoundingClientRect?a.target:void 0):l.forEach(s=>s.removeEventListener("scroll",this.scrollHandler))},l.forEach(a=>a.addEventListener("scroll",this.scrollHandler))}}update(){this.contentUpdate(this.editorView.state),this.floating?this.updateScrollCursor():(this.menu.offsetWidth!=this.widthForMaxHeight&&(this.widthForMaxHeight=this.menu.offsetWidth,this.maxHeight=0),this.menu.offsetHeight>this.maxHeight&&(this.maxHeight=this.menu.offsetHeight,this.menu.style.minHeight=this.maxHeight+"px"))}updateScrollCursor(){let e=this.editorView.root.getSelection();if(!e.focusNode)return;let n=e.getRangeAt(0).getClientRects(),r=n[KH(e)?0:n.length-1];if(!r)return;let i=this.menu.getBoundingClientRect();if(r.topi.top){let l=GH(this.wrapper);l&&(l.scrollTop-=i.bottom-r.top)}}updateFloat(e){let n=this.wrapper,r=n.getBoundingClientRect(),i=e?Math.max(0,e.getBoundingClientRect().top):0;if(this.floating)if(r.top>=i||r.bottom(this.editorView.dom.ownerDocument.defaultView||window).innerHeight?"none":"",e&&(this.menu.style.top=i+"px")}else if(r.top=this.menu.offsetHeight+10){this.floating=!0;let l=this.menu.getBoundingClientRect();this.menu.style.left=l.left+"px",this.menu.style.width=l.width+"px",e&&(this.menu.style.top=i+"px"),this.menu.style.position="fixed",this.spacer=qt("div",{class:jh+"-spacer",style:`height: ${l.height}px`}),n.insertBefore(this.spacer,this.menu)}}destroy(){this.wrapper.parentNode&&this.wrapper.parentNode.replaceChild(this.editorView.dom,this.wrapper)}};u(n3,"MenuBarView");let J1=n3;function KH(t){return t.anchorNode==t.focusNode?t.anchorOffset>t.focusOffset:t.anchorNode.compareDocumentPosition(t.focusNode)==Node.DOCUMENT_POSITION_FOLLOWING}u(KH,"selectionIsInverted");function GH(t){for(let e=t.parentNode;e;e=e.parentNode)if(e.scrollHeight>e.clientHeight)return e}u(GH,"findWrappingScrollable");function HH(t){let e=[t.ownerDocument.defaultView||window];for(let n=t.parentNode;n;n=n.parentNode)e.push(n);return e}u(HH,"getAllWrapping");const r3=class r3{constructor(e,n,r={}){this.match=e,this.match=e,this.handler=typeof n=="string"?_H(n):n,this.undoable=r.undoable!==!1,this.inCode=r.inCode||!1}};u(r3,"InputRule");let ir=r3;function _H(t){return function(e,n,r,i){let l=t;if(n[1]){let a=n[0].lastIndexOf(n[1]);l+=n[0].slice(a+n[1].length),r+=a;let o=r-i;o>0&&(l=n[0].slice(a-o,a)+l,r=i)}return e.tr.insertText(l,r,i)}}u(_H,"stringHandler");const JH=500;function e_({rules:t}){let e=new Mr({state:{init(){return null},apply(n,r){let i=n.getMeta(this);return i||(n.selectionSet||n.docChanged?null:r)}},props:{handleTextInput(n,r,i,l){return i9(n,r,i,l,t,e)},handleDOMEvents:{compositionend:n=>{setTimeout(()=>{let{$cursor:r}=n.state.selection;r&&i9(n,r.pos,r.pos,"",t,e)})}}},isInputRules:!0});return e}u(e_,"inputRules");function i9(t,e,n,r,i,l){if(t.composing)return!1;let a=t.state,o=a.doc.resolve(e),s=o.parent.textBetween(Math.max(0,o.parentOffset-JH),o.parentOffset,null,"\uFFFC")+r;for(let c=0;c{let n=t.plugins;for(let r=0;r=0;s--)a.step(o.steps[s].invert(o.docs[s]));if(l.text){let s=a.doc.resolve(l.from).marks();a.replaceWith(l.from,l.to,t.schema.text(l.text,s))}else a.delete(l.from,l.to);e(a)}return!0}}return!1},"undoInputRule"),n_=new ir(/--$/,"\u2014"),r_=new ir(/\.\.\.$/,"\u2026"),i_=new ir(/(?:^|[\s\{\[\(\<'"\u2018\u201C])(")$/,"\u201C"),l_=new ir(/"$/,"\u201D"),a_=new ir(/(?:^|[\s\{\[\(\<'"\u2018\u201C])(')$/,"\u2018"),o_=new ir(/'$/,"\u2019"),s_=[i_,l_,a_,o_];function ey(t,e,n=null,r){return new ir(t,(i,l,a,o)=>{let s=n instanceof Function?n(l):n,c=i.tr.delete(a,o),d=c.doc.resolve(a),f=d.blockRange(),h=f&&Kb(f,e,s);if(!h)return null;c.wrap(f,h);let p=c.doc.resolve(a-1).nodeBefore;return p&&p.type==e&&ja(c.doc,a-1)&&(!r||r(l,p))&&c.join(a-1),c})}u(ey,"wrappingInputRule");function l9(t,e,n=null){return new ir(t,(r,i,l,a)=>{let o=r.doc.resolve(l),s=n instanceof Function?n(i):n;return o.node(-1).canReplaceWith(o.index(-1),o.indexAfter(-1),e)?r.tr.delete(l,a).setBlockType(l,l,e,s):null})}u(l9,"textblockTypeInputRule");const qh="ProseMirror-prompt";function a9(t){let e=document.body.appendChild(document.createElement("div"));e.className=qh;let n=u(h=>{e.contains(h.target)||r()},"mouseOutside");setTimeout(()=>window.addEventListener("mousedown",n),50);let r=u(()=>{window.removeEventListener("mousedown",n),e.parentNode&&e.parentNode.removeChild(e)},"close"),i=[];for(let h in t.fields)i.push(t.fields[h].render());let l=document.createElement("button");l.type="submit",l.className=qh+"-submit",l.textContent="OK";let a=document.createElement("button");a.type="button",a.className=qh+"-cancel",a.textContent="Cancel",a.addEventListener("click",r);let o=e.appendChild(document.createElement("form"));t.title&&(o.appendChild(document.createElement("h5")).textContent=t.title),i.forEach(h=>{o.appendChild(document.createElement("div")).appendChild(h)});let s=o.appendChild(document.createElement("div"));s.className=qh+"-buttons",s.appendChild(l),s.appendChild(document.createTextNode(" ")),s.appendChild(a);let c=e.getBoundingClientRect();e.style.top=(window.innerHeight-c.height)/2+"px",e.style.left=(window.innerWidth-c.width)/2+"px";let d=u(()=>{let h=u_(t.fields,i);h&&(r(),t.callback(h))},"submit");o.addEventListener("submit",h=>{h.preventDefault(),d()}),o.addEventListener("keydown",h=>{h.keyCode==27?(h.preventDefault(),r()):h.keyCode==13&&!(h.ctrlKey||h.metaKey||h.shiftKey)?(h.preventDefault(),d()):h.keyCode==9&&window.setTimeout(()=>{e.contains(document.activeElement)||r()},500)});let f=o.elements[0];f&&f.focus()}u(a9,"openPrompt");function u_(t,e){let n=Object.create(null),r=0;for(let i in t){let l=t[i],a=e[r++],o=l.read(a),s=l.validate(o);if(s)return c_(a,s),null;n[i]=l.clean(o)}return n}u(u_,"getValues");function c_(t,e){let n=t.parentNode,r=n.appendChild(document.createElement("div"));r.style.left=t.offsetLeft+t.offsetWidth+2+"px",r.style.top=t.offsetTop-5+"px",r.className="ProseMirror-invalid",r.textContent=e,setTimeout(()=>n.removeChild(r),1500)}u(c_,"reportInvalid");const i3=class i3{constructor(e){this.options=e}read(e){return e.value}validateType(e){return null}validate(e){return!e&&this.options.required?"Required field":this.validateType(e)||(this.options.validate?this.options.validate(e):null)}clean(e){return this.options.clean?this.options.clean(e):e}};u(i3,"Field");let ty=i3;const l3=class l3 extends ty{render(){let e=document.createElement("input");return e.type="text",e.placeholder=this.options.label,e.value=this.options.value||"",e.autocomplete="off",e}};u(l3,"TextField");let Pl=l3;function o9(t,e){let n=t.selection.$from;for(let r=n.depth;r>=0;r--){let i=n.index(r);if(n.node(r).canReplaceWith(i,i,e))return!0}return!1}u(o9,"canInsert");function d_(t){return new Ht({title:"Insert image",label:"Image",enable(e){return o9(e,t)},run(e,n,r){let{from:i,to:l}=e.selection,a=null;e.selection instanceof ae&&e.selection.node.type==t&&(a=e.selection.node.attrs),a9({title:"Insert image",fields:{src:new Pl({label:"Location",required:!0,value:a&&a.src}),title:new Pl({label:"Title",value:a&&a.title}),alt:new Pl({label:"Description",value:a?a.alt:e.doc.textBetween(i,l," ")})},callback(o){r.dispatch(r.state.tr.replaceSelectionWith(t.createAndFill(o))),r.focus()}})}})}u(d_,"insertImageItem");function s9(t,e){let n={label:e.title,run:t};for(let r in e)n[r]=e[r];return!e.enable&&!e.select&&(n[e.enable?"enable":"select"]=r=>t(r)),new Ht(n)}u(s9,"cmdItem");function ny(t,e){let{from:n,$from:r,to:i,empty:l}=t.selection;return l?!!e.isInSet(t.storedMarks||r.marks()):t.doc.rangeHasMark(n,i,e)}u(ny,"markActive");function ry(t,e){let n={active(r){return ny(r,t)}};for(let r in e)n[r]=e[r];return s9(ki(t),n)}u(ry,"markItem");function f_(t){return new Ht({title:"Add or remove link",icon:On.link,active(e){return ny(e,t)},enable(e){return!e.selection.empty},run(e,n,r){if(ny(e,t))return ki(t)(e,n),!0;a9({title:"Create a link",fields:{href:new Pl({label:"Link target",required:!0}),title:new Pl({label:"Title"})},callback(i){ki(t,i)(r.state,r.dispatch),r.focus()}})}})}u(f_,"linkItem");function u9(t,e){return s9(N1(t,e.attrs),e)}u(u9,"wrapListItem");function c9(t){let e={},n;(n=t.marks.strong)&&(e.toggleStrong=ry(n,{title:"Toggle strong style",icon:On.strong})),(n=t.marks.em)&&(e.toggleEm=ry(n,{title:"Toggle emphasis",icon:On.em})),(n=t.marks.code)&&(e.toggleCode=ry(n,{title:"Toggle code font",icon:On.code})),(n=t.marks.link)&&(e.toggleLink=f_(n));let r;if((r=t.nodes.image)&&(e.insertImage=d_(r)),(r=t.nodes.bullet_list)&&(e.wrapBulletList=u9(r,{title:"Wrap in bullet list",icon:On.bulletList})),(r=t.nodes.ordered_list)&&(e.wrapOrderedList=u9(r,{title:"Wrap in ordered list",icon:On.orderedList})),(r=t.nodes.blockquote)&&(e.wrapBlockQuote=qH(r,{title:"Wrap in block quote",icon:On.blockquote})),(r=t.nodes.paragraph)&&(e.makeParagraph=H1(r,{title:"Change to paragraph",label:"Plain"})),(r=t.nodes.code_block)&&(e.makeCodeBlock=H1(r,{title:"Change to code block",label:"Code"})),r=t.nodes.heading)for(let l=1;l<=10;l++)e["makeHead"+l]=H1(r,{title:"Change to heading "+l,label:"Level "+l,attrs:{level:l}});if(r=t.nodes.horizontal_rule){let l=r;e.insertHorizontalRule=new Ht({title:"Insert horizontal rule",label:"Horizontal rule",enable(a){return o9(a,l)},run(a,o){o(a.tr.replaceSelectionWith(l.create()))}})}let i=u(l=>l.filter(a=>a),"cut");return e.insertMenu=new Xh(i([e.insertImage,e.insertHorizontalRule]),{label:"Insert"}),e.typeMenu=new Xh(i([e.makeParagraph,e.makeCodeBlock,e.makeHead1&&new G1(i([e.makeHead1,e.makeHead2,e.makeHead3,e.makeHead4,e.makeHead5,e.makeHead6]),{label:"Heading"})]),{label:"Type..."}),e.inlineMenu=[i([e.toggleStrong,e.toggleEm,e.toggleCode,e.toggleLink])],e.blockMenu=[i([e.wrapBulletList,e.wrapOrderedList,e.wrapBlockQuote,zH,LH,WH])],e.fullMenu=e.inlineMenu.concat([[e.insertMenu,e.typeMenu]],[[XH,jH]],e.blockMenu),e}u(c9,"buildMenuItems");const d9=typeof navigator<"u"?/Mac|iP(hone|[oa]d)/.test(navigator.platform):!1;function h_(t,e){let n={},r;function i(l,a){if(e){let o=e[l];if(o===!1)return;o&&(l=o)}n[l]=a}if(u(i,"bind"),i("Mod-z",Zh),i("Shift-Mod-z",Pu),i("Backspace",t_),d9||i("Mod-y",Pu),i("Alt-ArrowUp",z1),i("Alt-ArrowDown",pH),i("Mod-BracketLeft",L1),i("Escape",X1),(r=t.marks.strong)&&(i("Mod-b",ki(r)),i("Mod-B",ki(r))),(r=t.marks.em)&&(i("Mod-i",ki(r)),i("Mod-I",ki(r))),(r=t.marks.code)&&i("Mod-`",ki(r)),(r=t.nodes.bullet_list)&&i("Shift-Ctrl-8",N1(r)),(r=t.nodes.ordered_list)&&i("Shift-Ctrl-9",N1(r)),(r=t.nodes.blockquote)&&i("Ctrl->",j1(r)),r=t.nodes.hard_break){let l=r,a=Lh(KR,(o,s)=>(s&&s(o.tr.replaceSelectionWith(l.create()).scrollIntoView()),!0));i("Mod-Enter",a),i("Shift-Enter",a),d9&&i("Ctrl-Enter",a)}if((r=t.nodes.list_item)&&(i("Enter",jG(r)),i("Mod-[",qG(r)),i("Mod-]",KG(r))),(r=t.nodes.paragraph)&&i("Shift-Ctrl-0",zh(r)),(r=t.nodes.code_block)&&i("Shift-Ctrl-\\",zh(r)),r=t.nodes.heading)for(let l=1;l<=6;l++)i("Shift-Ctrl-"+l,zh(r,{level:l}));if(r=t.nodes.horizontal_rule){let l=r;i("Mod-_",(a,o)=>(o&&o(a.tr.replaceSelectionWith(l.create()).scrollIntoView()),!0))}return n}u(h_,"buildKeymap");function p_(t){return ey(/^\s*>\s$/,t)}u(p_,"blockQuoteRule");function m_(t){return ey(/^(\d+)\.\s$/,t,e=>({order:+e[1]}),(e,n)=>n.childCount+n.attrs.order==+e[1])}u(m_,"orderedListRule");function g_(t){return ey(/^\s*([-+*])\s$/,t)}u(g_,"bulletListRule");function O_(t){return l9(/^```$/,t)}u(O_,"codeBlockRule");function b_(t,e){return l9(new RegExp("^(#{1,"+e+"})\\s$"),t,n=>({level:n[1].length}))}u(b_,"headingRule");function y_(t){let e=s_.concat(r_,n_),n;return(n=t.nodes.blockquote)&&e.push(p_(n)),(n=t.nodes.ordered_list)&&e.push(m_(n)),(n=t.nodes.bullet_list)&&e.push(g_(n)),(n=t.nodes.code_block)&&e.push(O_(n)),(n=t.nodes.heading)&&e.push(b_(n,6)),e_({rules:e})}u(y_,"buildInputRules");function v_(t){let e=[y_(t.schema),ZR(h_(t.schema,t.mapKeys)),ZR(DH),kH(),AH()];return t.menuBar!==!1&&e.push(YH({floating:t.floatingMenu!==!1,content:t.menuContent||c9(t.schema).fullMenu})),t.history!==!1&&e.push(oH()),e.concat(new Mr({props:{attributes:{class:"ProseMirror-example-setup-style"}}}))}u(v_,"exampleSetup");const $_=wp.element.forwardRef(({rawView:t=!0,...e},n)=>{const[r,i]=wp.element.useState(e.value??""),[l,a]=wp.element.useState("visual"),o=wp.element.useRef(null),s=window.tangibleFields.types.get("button-group");return wp.element.useEffect(()=>{e.onChange&&e.onChange(r)},[r]),wp.element.useEffect(()=>{const c=new ph({nodes:WG(IR.spec.nodes,"paragraph block*","block"),marks:IR.spec.marks}),d=v_({schema:c,menuContent:c9(c).fullMenu}),f=document.createElement("div"),h=document.createElement("div");h.innerHTML=r,f.appendChild(h);const p=su.fromSchema(c).parse(h,{preserveWhitespace:!0}),m=i1.create({doc:p,plugins:d});return o.current=new B1(n.current,{state:m,dispatchTransaction:g=>{const O=o.current.state.apply(g);o.current.updateState(O);const b=o.current.dom.innerHTML;i(b)}}),()=>o.current.destroy()},[l]),wp.element.createElement("div",{className:"tf-editor-content"},t&&wp.element.createElement("div",{className:"tf-editor-view-toggle"},wp.element.createElement(s,{label:"Switch view",labelVisuallyHidden:!0,value:l,onChange:c=>{a(c),c==="raw"&&(n.current=null)},choices:{visual:"Visual",raw:"Raw"}})),l==="visual"?wp.element.createElement("div",{className:"tf-editor-visual-view",ref:n}):wp.element.createElement(bT,{value:r,onChange:i}))});var w_=Object.defineProperty,x_=u((t,e)=>w_(t,"name",{value:e,configurable:!0}),"n$7");const S_=x_(t=>{const[e,n]=wp.element.useState(t.value),r=wp.element.useRef(null),{labelProps:i,inputProps:l,descriptionProps:a}=wr(t,r);return wp.element.useEffect(()=>{t.onChange&&t.onChange(e)},[e]),wp.element.createElement("div",{className:"tf-editor"},t.label&&wp.element.createElement(we,{labelProps:i,parent:t},t.label),wp.element.createElement("input",{...l,type:"hidden",name:t.name,value:e}),wp.element.createElement($_,{ref:r,value:e,onChange:n,rawView:t.rawView??!0}),t.description&&wp.element.createElement($e,{descriptionProps:a,parent:t},t.description))},"Editor");var C_=Object.defineProperty,D_=u((t,e)=>C_(t,"name",{value:e,configurable:!0}),"l$9");const k_=D_(t=>{const e=wp.element.useRef(),{labelProps:n,inputProps:r,descriptionProps:i}=wr(t,e),[l,a]=wp.element.useState(t.value);return wp.element.useEffect(()=>{a(t.value)},[t.value]),wp.element.useEffect(()=>{setTimeout(()=>{tinyMCE.init({target:e.current,setup:function(o){o.on("input",()=>a(o.getContent()))}})})},[]),wp.element.useEffect(()=>t.onChange&&t.onChange(l),[l]),wp.element.createElement("div",{className:"tf-editor"},t.label&&wp.element.createElement(we,{labelProps:n,parent:t},t.label),wp.element.createElement("textarea",{ref:e,...r},l),t.description&&wp.element.createElement($e,{descriptionProps:i,parent:t},t.description))},"TinyMce");var P_=Object.defineProperty,E_=u((t,e)=>P_(t,"name",{value:e,configurable:!0}),"t$3"),f9=E_(t=>{const{editor:e}=t;return e==="tinymce"?wp.element.createElement(k_,{...t}):wp.element.createElement(S_,{...t})},"default"),A_=Object.defineProperty,Ru=u((t,e)=>A_(t,"name",{value:e,configurable:!0}),"l$8");const h9=Ru(t=>{const e={},n=t.dependent?.callback??!1;for(const r in t){const i=t[r];if(typeof i=="object"&&!Array.isArray(i)){const a=h9(i);if(Object.keys(a).length===0)continue;for(const o in a)e[o]||(e[o]={}),e[o][r]={__isWrapped:!0,...a[o]}}if(typeof i!="string")continue;const l=T_(i,n);l&&(e[l.name]||(e[l.name]={}),e[l.name][r]=l.config)}return e},"getDependentFields"),p9=Ru(t=>t.startsWith("{{")&&t.endsWith("}}"),"isDependentString"),T_=Ru((t,e)=>{if(!p9(t))return!1;const n=t.slice(2,t.length-2).trim();if(!n.includes("."))return{name:n,config:{__returnedType:"full",__callback:e}};const[r,i]=n.split(".");return{name:r,config:{__returnedType:"partial",__returnedAttribute:i,__callback:e}}},"getDependentValue"),m9=Ru((t,e,n)=>{const r=e.__returnedType==="partial"?n()?.[e.__returnedAttribute]:n();let i=e.__callback??!1;return typeof i=="string"&&(i=tangibleFields.fields.dependent.__callbacks[i]??!1),i?i({attribute:t,value:r}):r},"getFieldValue"),R_=Ru((t,e,n)=>{if(e===!1)return{...t};const r={...t};for(const i in e){const l=e[i];for(const a in l){const o=l[a];if(o.__isWrapped){for(const s in o){if(s==="__isWrapped")continue;const c=m9(s,o[s],()=>n(i));r[a]={...r[a],[s]:c}}continue}r[a]=m9(a,o,()=>n(i))}}return r},"mergeDependentProps");var Q_=Object.defineProperty,g9=u((t,e)=>Q_(t,"name",{value:e,configurable:!0}),"o$5");const O9=g9(({itemProps:t,refresh:e,data:n,children:r})=>{const i=Object.assign({},t);delete i.value,delete i.onChange,delete i.class,delete i.wrapper;const l=wp.element.useMemo(()=>t.dependent?Object.assign({},h9(t)):!1,[]),a=g9(c=>{!t.dependent||!l||Object.keys(l).includes(c)&&e()},"maybeUpdateProps"),o=wp.element.useCallback(c=>{c.props?.itemType!=="subfield"&&a(c.name)},[]);wp.element.useEffect(()=>{const c=Yl("valueChange",o);return()=>Xp("valueChange",c)},[o]),wp.element.useEffect(()=>{n.watcher&&n.watcher(c=>{a(c)})},[o]);const s=wp.element.useMemo(()=>R_(i,l,n.getValue),[]);return r(s)},"DependendWrapper");var M_=Object.defineProperty,B_=u((t,e)=>M_(t,"name",{value:e,configurable:!0}),"u$4");const b9=B_(t=>{const e=[];if(t.length===0)return!0;for(const n in t){const r=t[n];if(["_and","_or"].includes(n)){const i=r.map(b9);if(i.length===0){e.push(!1);continue}switch(n){case"_or":e.push(i.filter(Boolean).length>0);break;case"_and":e.push(i.length===i.filter(Boolean).length);break}continue}Object.entries(r).forEach(([i,l])=>{switch(i){case"_eq":e.push(n==l);break;case"_neq":e.push(n!=l);break;case"_lt":e.push(nl);break;case"_lte":e.push(n<=l);break;case"_gte":e.push(n>=l);break;case"_in":e.push(l.includes(n));break;case"_nin":e.push(!l.includes(n));break;case"_contains":e.push(n.includes(l));break;case"_ncontains":e.push(!n.includes(l));break;case"_re":e.push(new RegExp(l).test(n));break;default:e.push(!1)}})}return e.length>0&&e.length===e.filter(Boolean).length},"evaluateCondition");var V_=Object.defineProperty,Uh=u((t,e)=>V_(t,"name",{value:e,configurable:!0}),"i$7");const N_=Uh((t,e)=>(t=typeof t=="object"?y9(t,e):{},b9(t)),"evaluateFieldVisibility"),y9=Uh((t,e)=>{const n={};for(const r in t){if(["_and","_or"].includes(r)){n[r]=t[r].map(l=>y9(l,e));continue}const i=r.includes(".")?F_(r,e):e(r);n[i]=t[r]}return n},"replaceFieldValue"),F_=Uh((t,e)=>{const[n,r]=t.split(".");let i=e(n);if(typeof i=="string")try{i=JSON.parse(i)}catch{return""}return i[r]??""},"getPartialValue"),v9=Uh(t=>{const e=[];for(const n in t){if(["_and","_or"].includes(n)){for(const r in t[n])e.push(v9(t[n][r]));continue}e.push(n)}return e.flat().map(n=>n.split(".")[0])},"getTriggerFields");var I_=Object.defineProperty,$9=u((t,e)=>I_(t,"name",{value:e,configurable:!0}),"o$4");const w9=$9(({visibility:t,data:e,...n})=>{const[r,i]=wp.element.useState(!1),l=$9(()=>{if(!t.condition){i(!0);return}const o=e.getValue??control.getValue,s=N_(t.condition,o);i(t.action!=="hide"?s:!s)},"evaluateVisibility");wp.element.useEffect(()=>{l(),!(!t.condition||!a)&&(Yl("valueChange",o=>{o.props?.itemType!=="subfield"&&a.includes(o.name)&&setTimeout(l)}),e.watcher&&e.watcher(o=>{a.includes(o)&&l()}),Yl("evaluateVisibility",()=>l()))},[]);const a=wp.element.useMemo(()=>t.condition?v9(t.condition):!1,[]);return r?n.children:wp.element.createElement(wp.element.Fragment,null)},"VisibilityWrapper");var Z_=Object.defineProperty,Yh=u((t,e)=>Z_(t,"name",{value:e,configurable:!0}),"r$6");const x9=Yh(({children:t,itemType:e,setValue:n=!1,name:r})=>{const[i,l]=wp.element.useState(0),a=Yh(()=>l(i+1),"refreshRender"),o=Yh(c=>{!r||r!==c.name||(a(),n&&n(c.value))},"fieldValueChanged"),s=Yh(c=>{c===r&&a()},"maybeRerender");return wp.element.useEffect(()=>{if(e!=="field")return;const c=Yl("_refreshFieldValue",o),d=Yl("_fieldRerender",s);return()=>{Xp("_refreshFieldValue",c),Xp("_fieldRerender",d)}},[i]),wp.element.createElement(wp.element.Fragment,{key:i},t(a))},"RenderWrapper");var z_=Object.defineProperty,L_=u((t,e)=>z_(t,"name",{value:e,configurable:!0}),"m$2");const iy=L_(({visibility:t,data:e,afterInitialization:n=!1,...r})=>{const{ControlContext:i}=tangibleFields,l=wp.element.useContext(i),a={...r.wrapper??{},className:`${r?.wrapper?.class??""} ${l.wrapper}`};delete a.class,wp.element.useEffect(()=>{n&&n()},[]);const o=Nu.get(r.type??!1,"element");return o?wp.element.createElement(OC,{...a},wp.element.createElement(w9,{visibility:t,data:e},wp.element.createElement(x9,{itemType:r.itemType??"field",name:r.name??!1},s=>wp.element.createElement(O9,{refresh:s,data:e,itemProps:r},c=>wp.element.createElement(o,{...c,data:e}))))):wp.element.createElement(wp.element.Fragment,null)},"Element");var W_=Object.defineProperty,X_=u((t,e)=>W_(t,"name",{value:e,configurable:!0}),"n$6");const j_=X_(({config:t,values:e,onChange:n,data:r})=>{const i=Object.keys(Nu._types.element).includes(t.type??""),l=i?iy:Hh,a=i?{}:{value:e[t.name]??"",onChange:n};return wp.element.createElement(l,{itemType:i?"subelement":"subfield",visibility:{action:t.condition?.action??"show",condition:t.condition?.condition??!1},data:r,...t,...a})},"FieldGroupItem");var q_=Object.defineProperty,ly=u((t,e)=>q_(t,"name",{value:e,configurable:!0}),"s$7");const S9=ly(t=>{const[e,n]=wp.element.useState([]),[r,i]=wp.element.useState(!1),[l,a]=wp.element.useState(yn(t.value??"")),o=wp.element.useRef();o.current=l;const s=ly((f,h)=>{a({...l,[f]:h}),e.length!==0&&i(()=>()=>{e.map(p=>p(f))})},"setAttribute");wp.element.useEffect(()=>{t.onChange&&t.onChange(l),r&&(r(),i(!1))},[l]);const c=t.fields??[],d=ly(f=>c.map(h=>h.name??!1).includes(f),"hasField");return wp.element.createElement("div",{className:"tf-field-group"},wp.element.createElement("input",{type:"hidden",name:t.name??"",value:JSON.stringify(l)}),c.map((f,h)=>wp.element.createElement("div",{key:h,className:"tf-field-group-item"},wp.element.createElement(j_,{values:l,config:f,onChange:p=>s(f.name,p),data:{getValue:p=>d(p)?o.current[p]??"":t.data.getValue(p)??"",watcher:p=>{n(m=>[...m,g=>p(g)])}}}))))},"FieldGroup");var U_=Object.defineProperty,C9=u((t,e)=>U_(t,"name",{value:e,configurable:!0}),"a$3");const Y_=C9(t=>{const{api:e}=TangibleFields,n=new FormData;return n.append("file",t),n.append("title",t.name),n.append("caption",t.caption),xU(e.endpoint.media,n)},"postMedia"),D9=C9(t=>{const{api:e}=TangibleFields;return xT(e.endpoint.media+t)},"getMedia");var K_=Object.defineProperty,k9=u((t,e)=>K_(t,"name",{value:e,configurable:!0}),"s$6");const G_=k9(t=>{const[e,n]=wp.element.useState(!1),[r,i]=wp.element.useState(!1);if(wp.element.useEffect(()=>{k9(async()=>{const o=await D9(t.id);i(o),n(!0)},"fetch")()},[]),!e||!r)return wp.element.createElement("li",{className:"tf-file-item"},"Loading...");const l=r.source_url,a=l.split("/").pop().split(".").length===2?l.split("/").pop().split(".")[1]:"";return wp.element.createElement("li",{className:"tf-file-item"},r.media_type==="image"&&wp.element.createElement("img",{loading:"lazy",decoding:"async",src:l,alt:r.alt_text,className:"attachment-medium size-medium"}),wp.element.createElement("span",null,`${r.title.rendered}${a!==""?"."+a:""}`),wp.element.createElement(oe,{type:"action",onPress:()=>t.remove()},"Remove"))},"FilePreview");var H_=Object.defineProperty,Zr=u((t,e)=>H_(t,"name",{value:e,configurable:!0}),"l$5");const __=Zr(t=>{const{mimetypes:e}=TangibleFields,n=wp.element.useRef(null),[r,i]=wp.element.useState(!1),[l,a]=wp.element.useState(!1),[o,s]=wp.element.useState(t.value?Array.isArray(t.value)?t.value:JSON.parse(t.value):[]),[c,d]=wp.element.useState(!1),{labelProps:f,fieldProps:h,descriptionProps:p}=mt(t);wp.element.useEffect(()=>t.onChange&&t.onChange(o),[o]);const m=t.placeholder??"No file selected",g=t.maxUpload??!1,O=Zr(()=>(g===!1||o.length(g===!1||o.length{a(!0),d(!1),Y_(r[0]).then(P=>s([...o,P.id])).catch(P=>d(P.message)).finally(()=>{i(!1),a(!1)})},"upload"),$=Zr(P=>{s([...o.slice(0,P),...o.slice(P+1)])},"removeUpload"),C=Zr(()=>t.wp_media===!1||t.wp_media==="false","isWpMediaDisabled"),w=Zr(()=>{const{mimeTypes:P}=t,v=Object.values(e),k=Zr(D=>D.includes("/")?D:v.filter(S=>S.startsWith(`${D}/`)),"filterByMimetypePrefix");return(P?Array.isArray(P)?P.flatMap(k):k(P):v).join(", ")},"getAllowedTypes"),x=Zr(()=>{const P=wp.media({title:"Choose File",multiple:!1,library:{type:w()}});P.on("select",()=>{const v=P.state().get("selection").first().toJSON();s([...o,v.id])}),P.open()},"open");return wp.element.createElement("div",{className:"tf-file"},t.label&&wp.element.createElement(we,{labelProps:f,parent:t},t.label),wp.element.createElement(on,null,wp.element.createElement("input",{type:"file",ref:n,accept:w(),onChange:P=>i(P.target.files),...h})),wp.element.createElement("div",{className:"tf-file-container"},wp.element.createElement("input",{type:"hidden",name:t.name??"",value:JSON.stringify(o)}),wp.element.createElement("ul",{className:"tf-file-list"},o.map((P,v)=>wp.element.createElement(G_,{key:P,id:P,remove:()=>$(v)}))),wp.element.createElement("div",{className:"tf-file-field"},wp.element.createElement(oe,{type:"action",onPress:()=>C()?n.current.click():x(),isDisabled:!b(),"aria-hidden":"true"},t.buttonText??"Choose"),wp.element.createElement("div",{className:"tf-file-text","aria-hidden":"true"},r.length>0?r[0].name:m),C()&&wp.element.createElement(oe,{type:"action",onPress:y,isDisabled:!O()},t.uploadText??"Upload"))),c&&wp.element.createElement(zk,{message:c,type:"error",onDismiss:()=>d(!1)}),t.description&&wp.element.createElement($e,{descriptionProps:p,parent:t},t.description))},"FileUpload");var J_=Object.defineProperty,Kh=u((t,e)=>J_(t,"name",{value:e,configurable:!0}),"l$4");const eJ=Kh(t=>{const[e,n]=wp.element.useState(!1),[r,i]=wp.element.useState(!1),[l,a]=wp.element.useState(t.value&&t.value!==""?typeof t.value!="object"?JSON.parse(t.value):t.value:{type:"linear",angle:45,shape:"ellipse",colors:["rgba(0,255,255,1)","rgba(0,255,255,1)"]}),o=wp.element.useRef(),s=wp.element.useRef(),c=wp.element.useRef(),d=wp.element.useRef(),{labelProps:f,fieldProps:h,descriptionProps:p}=mt(t);wp.element.useEffect(()=>{t.onChange&&t.onChange({...l,stringValue:m()})},[l]);const m=Kh(()=>{switch(l.type){case"linear":return`linear-gradient(${l.angle}deg, ${l.colors[0]} 0%, ${l.colors[1]} 100%)`;case"radial":return`radial-gradient(${l.shape}, ${l.colors[0]} 0%, ${l.colors[1]} 100%)`;case"conic":return`conic-gradient(${l.colors[0]} 0%, ${l.colors[1]} 100%)`}},"generateGradient"),g=Kh((b,y)=>{const $=[...l.colors];$[b]=y?.toString("rgba"),O("colors",$)},"updateColor"),O=Kh((b,y)=>{a({...l,[b]:y})},"updateValue");return wp.element.createElement("div",{className:"tf-gradient"},t.label&&wp.element.createElement(we,{labelProps:f,parent:t},t.label),wp.element.createElement("div",{className:"tf-gradient-container",ref:d},wp.element.createElement("input",{ref:s,type:"text",className:"tf-gradient-input",value:m(),onClick:b=>i(!0),readOnly:!0}),wp.element.createElement("input",{type:"hidden",ref:o,value:JSON.stringify(l),name:t.name??"",...h}),r&&wp.element.createElement(Dr,{state:{isOpen:r,close:()=>i(!1)},triggerRef:s,placement:"bottom start",style:{width:d?.current?.offsetWidth,minWidth:"fit-content"},className:"tf-gradient-popover"},wp.element.createElement(ns,null,wp.element.createElement(qc,{autoFocus:!0},wp.element.createElement("div",{className:"tf-gradient-popover-content"},wp.element.createElement("div",{className:"tf-gradient-preview",ref:c,style:{background:m()}},wp.element.createElement("div",{className:"tf-gradient-colors"},l.colors?.map((b,y)=>wp.element.createElement("div",{key:y,className:"tf-gradient-color tf-color-area-thumb",style:{background:l.colors[y]},onClick:()=>n(y)})))),wp.element.createElement("div",{className:"tf-gradient-settings"},wp.element.createElement("div",{className:"tf-gradient-settings-row"},wp.element.createElement(Ns,{label:"Gradient type",selectedKey:l.type??"linear",onSelectionChange:b=>O("type",b)},wp.element.createElement(Sr,{key:"linear"},"Linear"),wp.element.createElement(Sr,{key:"radial"},"Radial"),wp.element.createElement(Sr,{key:"conic"},"Conical"))),wp.element.createElement("div",null,l.type==="linear"&&wp.element.createElement("div",{className:"tf-gradient-settings-row"},wp.element.createElement(pf,{label:"Angle",value:l.angle??45,onChange:b=>O("angle",b)})),l.type==="radial"&&wp.element.createElement("div",{className:"tf-gradient-settings-row"},wp.element.createElement(Ns,{label:"Shape",selectedKey:l.shape??"ellipse",onSelectionChange:b=>O("shape",b)},wp.element.createElement(Sr,{key:"circle"},"Circle"),wp.element.createElement(Sr,{key:"ellipse"},"Ellipse"))))))))),e!==!1&&wp.element.createElement(Dr,{state:{isOpen:e!==!1,close:()=>n(!1)},triggerRef:c,placement:e===0?"bottom start":"bottom end"},wp.element.createElement(vT,{value:l.colors[e],onChange:b=>g(e,b),hasAlpha:!0,onFocusChange:b=>b===!1?n(!1):!1}))),t.description&&wp.element.createElement($e,{descriptionProps:p,parent:t},t.description))},"Gradient");var tJ=Object.defineProperty,P9=u((t,e)=>tJ(t,"name",{value:e,configurable:!0}),"a$2");const nJ=P9(t=>{const[e,n]=wp.element.useState(!1),[r,i]=wp.element.useState(!1);return wp.element.useEffect(()=>{P9(async()=>{const l=await D9(t.id);i(l),n(!0)},"fetch")()},[]),!e||!r?wp.element.createElement("div",{className:"tf-gallery-item"},"Loading..."):wp.element.createElement("div",{className:"tf-gallery-item"},wp.element.createElement("img",{src:r.source_url}))},"ImagePreview");var rJ=Object.defineProperty,Gh=u((t,e)=>rJ(t,"name",{value:e,configurable:!0}),"a$1");const iJ=Gh(t=>{const e=Gh(c=>(c!=="[]"?c.split(","):[]).map(d=>d.replaceAll("[","").replaceAll("]","").replaceAll('"',"")),"initValue"),[n,r]=wp.element.useState(t.value&&Array.isArray(t.value)?t.value:t.value?e(t.value):[]),{labelProps:i,inputProps:l,descriptionProps:a}=mt(t);wp.element.useEffect(()=>{t.onChange&&t.onChange(n)},[n]);const o=Gh(()=>{const c=wp.media({frame:"post",multiple:!0,button:{text:"Use this media"},library:{type:["image"]},state:n.length<1?"gallery":"gallery-edit",selection:s()});c.on({update:d=>{r(d.models.map(f=>f.id))},open:()=>{c.menuView.unset("playlist"),c.menuView.unset("video-playlist")}},void 0),c.open()},"open"),s=Gh(()=>{const c=wp.media.query({orderby:"post__in",order:"ASC",type:"image",perPage:-1,post__in:n});return new wp.media.model.Selection(c.models,{props:c.props.toJSON(),multiple:!0})},"getSelection");return wp.element.createElement("div",{className:"tf-gallery"},t.label&&wp.element.createElement(we,{labelProps:i,parent:t},t.label),wp.element.createElement("div",{className:"tf-gallery__controls"},wp.element.createElement("div",{className:"tf-gallery-preview"},n.map(c=>wp.element.createElement(nJ,{key:c,id:c})))),wp.element.createElement("div",{className:"tf-gallery-buttons"},wp.element.createElement(oe,{type:"action",onPress:o},n.length<1?"Create gallery":"Edit gallery"),n.length>0&&wp.element.createElement(oe,{type:"action",onPress:()=>r([])},"Clear gallery")),wp.element.createElement("input",{type:"hidden",name:t.name??"",value:n.join(","),...l}),t.description&&wp.element.createElement($e,{descriptionProps:a,parent:t},t.description))},"Gallery");var lJ=Object.defineProperty,aJ=u((t,e)=>lJ(t,"name",{value:e,configurable:!0}),"a");const oJ=aJ(t=>wp.element.createElement("input",{type:"hidden",name:t.name,value:t.value,...t.attributes,className:`tf-hidden ${t.class??""} ${t.className??""}`}),"InputHidden");var sJ=Object.defineProperty,Qu=u((t,e)=>sJ(t,"name",{value:e,configurable:!0}),"i$6");const uJ=Qu(t=>{const e={value:"",_canDelete:!0,_enabled:!0},[n,r]=wp.element.useState(yn(t.value??"[]",[]));wp.element.useEffect(()=>{t.onChange&&t.onChange(n)},[n]);const[i,l]=wp.element.useState(""),a=wp.element.useRef(0),{labelProps:o,fieldProps:s,descriptionProps:c}=mt(t),d=Qu(()=>{r([...n,{...e,value:i}]),l(""),a.current=a.current+1},"addSelectedItem"),f=Qu(m=>{r([...n.slice(0,m),...n.slice(m+1)])},"removeItem"),h=Qu((m,g,O)=>{setTimeout(()=>{r([...n.slice(0,m),{...n[m],[g]:O},...n.slice(m+1)])})},"updateItem"),p=Qu(m=>t.isAsync?m.label:t.choices[m]??m,"getItemText");return t.isAsync&&console.warn("Async mode is not supported yet for the list field"),wp.element.createElement("div",{className:"tf-list"},wp.element.createElement("input",{type:"hidden",name:t.name??"",value:JSON.stringify(n),...s}),wp.element.createElement("div",{className:"tf-list-container"},wp.element.createElement("div",{className:"tf-list-items"},wp.element.createElement("div",{className:"tf-list-header"},t.label&&wp.element.createElement(we,{labelProps:o,parent:t},t.label),wp.element.createElement("div",{className:"tf-list-header-actions"})),wp.element.createElement("div",{className:"tf-list-items"},n.map((m,g)=>wp.element.createElement("div",{key:m.value,className:"tf-list-item"},wp.element.createElement("div",{className:"tf-list-item-text"},p(m.value)),wp.element.createElement("div",{key:m,className:"tf-list-item-actions"},m._canDelete&&wp.element.createElement(oe,{type:"icon-trash",onPress:()=>f(g)}),t.useVisibility&&wp.element.createElement(oe,{type:"icon-eye",onPress:()=>h(g,"_enabled",!m._enabled),style:m._enabled?{}:{opacity:.5,filter:"grayscale(60%)"}})))))),wp.element.createElement("div",{className:"tf-list-search"},wp.element.createElement(lh,{...t,name:null,key:a.current,value:i,description:!1,labelVisuallyHidden:!0,disabledKeys:n.map(m=>m.value),multiple:!1,onChange:m=>{m&&l(m)}}),wp.element.createElement(oe,{type:"action",onPress:d,isDisabled:i===""},"Add"))),t.description&&wp.element.createElement($e,{descriptionProps:c,parent:t},t.description))},"List");var cJ=Object.defineProperty,dJ=u((t,e)=>cJ(t,"name",{value:e,configurable:!0}),"t$2"),fJ=dJ(t=>{const[e,n]=wp.element.useState(t.value??""),r=_r(t.choices??{});return wp.element.useEffect(()=>t.onChange&&t.onChange(e),[e]),wp.element.createElement(jk,{...t,onChange:n},r.map(i=>wp.element.createElement(qk,{key:i.value??"",...i},i.label??"")))},"default"),hJ=Object.defineProperty,pJ=u((t,e)=>hJ(t,"name",{value:e,configurable:!0}),"m");const mJ=pJ(t=>{const[e,n]=wp.element.useState(t.value?z2(t.value):new Set),[r,i]=wp.element.useState(!1),l=H2({...t,selectionMode:"multiple",onSelectionChange:n,selectedKeys:e}),a=wp.element.useRef(),o=wp.element.useRef(),s=wp.element.useRef(),{listBoxProps:c,labelProps:d,descriptionProps:f}=oD(t,l,a);wp.element.useEffect(()=>{t.onChange&&t.onChange([...e])},[e]);const h=wp.element.createElement(Rg,{listBoxRef:a,state:l,items:t.items,...c});return wp.element.createElement("div",{className:"tf-multiple-select",ref:s},wp.element.createElement("input",{type:"hidden",name:t.name??"",value:[...e].join(",")}),t.label&&wp.element.createElement(we,{labelProps:d,parent:t},t.label),wp.element.createElement(oe,{type:"select",ref:o,onPress:()=>i(!r)},wp.element.createElement("span",{className:"tf-multiple-select__value"},e.size>0?e.size===1?e.size+" item selected":e.size+" items selected":t.placeholder??"Select an option"),wp.element.createElement("span",{"aria-hidden":"true",className:"tf-select-icon"},"\u25BC")),r?wp.element.createElement(Dr,{state:{isOpen:r,close:()=>i(!1)},triggerRef:o,placement:"bottom start",style:{width:s?.current?.offsetWidth}},h):wp.element.createElement(on,null,h),t.description&&wp.element.createElement($e,{descriptionProps:f,parent:t},t.description))},"MultipleSelect");var gJ=Object.defineProperty,OJ=u((t,e)=>gJ(t,"name",{value:e,configurable:!0}),"t$1"),E9=OJ(t=>t.multiple?wp.element.createElement(mJ,{items:_r(t.choices??{}),...t,onChange:t.onChange},Sd):wp.element.createElement(Ns,{selectedKey:t.value,onSelectionChange:t.onChange,items:_r(t.choices??{}),...t},Sd),"default"),bJ=Object.defineProperty,A9=u((t,e)=>bJ(t,"name",{value:e,configurable:!0}),"l$3");const yJ=A9(t=>{const e=t.units??["px"],{labelProps:n,fieldProps:r,descriptionProps:i}=mt(t),[l,a]=wp.element.useState(yn(t.value??"",{value:0,unit:e[0]}));wp.element.useEffect(()=>t.onChange&&t.onChange(l),[l]);const o=A9((s,c)=>{a({...l,[c]:s})},"setAttribute");return wp.element.createElement("div",{className:"tf-simple-dimensions"},t.label&&wp.element.createElement(we,{labelProps:n,parent:t},t.label),wp.element.createElement("input",{type:"hidden",name:t.name??"",value:JSON.stringify(l),...r}),wp.element.createElement("div",{className:"tf-simple-dimensions-container"},wp.element.createElement("div",null,wp.element.createElement(pf,{value:l.value??0,name:"value",label:"Dimension number",labelVisuallyHidden:!0,description:!1,onChange:s=>o(s,"value")})),wp.element.createElement(Ns,{label:"Dimension unit",labelVisuallyHidden:!0,description:!1,selectedKey:l.unit??"px",onSelectionChange:s=>o(s,"unit"),placeholder:"unit"},e.map(s=>wp.element.createElement(Sr,{key:s},s)))),t.description&&wp.element.createElement($e,{descriptionProps:i,parent:t},t.description))},"Dimensions");var vJ=Object.defineProperty,$J=u((t,e)=>vJ(t,"name",{value:e,configurable:!0}),"l$2");const wJ=$J(t=>{const e=Ew(t),n=wp.element.useRef(),{inputProps:r}=KV({...t,children:t.label??""},e,n),{focusProps:i}=Ro(),{labelProps:l,fieldProps:a,descriptionProps:o}=mt(t);return wp.element.useEffect(()=>t.onChange&&t.onChange(e.isSelected),[e.isSelected]),wp.element.useEffect(()=>{t.value!==e.isSelected&&e.setSelected(t.value)},[t.value]),wp.element.createElement("div",{className:"tf-switch"},t.label&&wp.element.createElement(we,{labelProps:l,parent:t},t.label),wp.element.createElement("label",{className:"tf-switch-label"},wp.element.createElement(on,null,wp.element.createElement("input",{...a,...r,...i,ref:n,name:""})),wp.element.createElement("div",{className:`tf-switch-element${e.isSelected?"-selected":""}`,"aria-hidden":"true"},wp.element.createElement("span",null))),t.description&&wp.element.createElement($e,{descriptionProps:o,parent:t},t.description))},"Switch");var xJ=Object.defineProperty,SJ=u((t,e)=>xJ(t,"name",{value:e,configurable:!0}),"t"),ay=SJ(t=>{const e=t.valueOn??"on",n=t.valueOff??"off",[r,i]=wp.element.useState(t.value??n);return wp.element.useEffect(()=>t.onChange&&t.onChange(r),[r]),wp.element.useEffect(()=>{[e,n].includes(t.value)&&t.value!==r&&i(t.value)},[t.value]),wp.element.createElement(wp.element.Fragment,null,wp.element.createElement("input",{type:"hidden",name:t.name??"",value:r}),wp.element.createElement(wJ,{label:t.label??"",labelVisuallyHidden:t.labelVisuallyHidden??!1,description:t.description??"",value:r===e,onChange:l=>i(l?e:n)}))},"default"),CJ=Object.defineProperty,DJ=u((t,e)=>CJ(t,"name",{value:e,configurable:!0}),"n$4");const T9=DJ(t=>{const[e,n]=wp.element.useState(t.value??""),r=wp.element.useRef(),{labelProps:i,inputProps:l,descriptionProps:a}=wr(t,r);return wp.element.useEffect(()=>{t.onChange&&t.onChange(e)},[e]),wp.element.createElement("div",{className:"tf-text"},t.label&&wp.element.createElement(we,{labelProps:i,parent:t},t.label),wp.element.createElement(rz,{...t,inputProps:l,onChange:n,ref:r,dynamic:t.dynamic??!1}),t.description&&wp.element.createElement($e,{descriptionProps:a,parent:t},t.description))},"TextField");var kJ=Object.defineProperty,PJ=u((t,e)=>kJ(t,"name",{value:e,configurable:!0}),"i$5");const EJ=PJ(t=>{const e=wp.element.useRef(),{labelProps:n,inputProps:r,descriptionProps:i}=wr({...t,inputElementType:"textarea"},e);return wp.element.createElement("div",{className:"tf-text-area"},t.label&&wp.element.createElement(we,{labelProps:n,parent:t},t.label),wp.element.createElement("textarea",{...r,maxLength:t.maxlength,minLength:t.minlength,required:t.required,rows:t.rows,ref:e,"data-identifier":t.identifier??""}),t.description&&wp.element.createElement($e,{descriptionProps:i,parent:t},t.description))},"TextArea");var AJ=Object.defineProperty,R9=u((t,e)=>AJ(t,"name",{value:e,configurable:!0}),"c");const Q9=R9(t=>{const[e,n]=wp.element.useState(""),[r,i]=wp.element.useState(!1);wp.element.useEffect(()=>{r?t.dispatch({type:"bulkCheck"}):t.dispatch({type:"bulkUncheck"})},[r]);const l=R9(()=>{switch(e){case"enabled":case"disabled":t.dispatch({type:"bulkUpdate",control:"enabled",value:e==="enabled"?"on":"off",callback:()=>{t.dispatch({type:"bulkUncheck"}),i(!1)}});break;case"deletion":t.dispatch({type:"bulkRemove",callback:()=>{t.dispatch({type:"bulkUncheck"}),i(!1)}});break}},"applyAction");return wp.element.createElement("div",{className:"tf-repeater-bulk-actions"},wp.element.createElement(mf,{label:"Select or unselect all items",labelVisuallyHidden:!0,value:r,onChange:i}),wp.element.createElement(E9,{label:"Select bulk action",labelVisuallyHidden:!0,placeholder:"Bulk actions",choices:t.actions,value:e,onChange:n}),e==="deletion"?wp.element.createElement(ti,{title:"Confirmation",label:"Apply",onValidate:l},"Are you sure you want to remove the selected items?"):wp.element.createElement(oe,{type:"action",onPress:l},"Apply"))},"BulkActions");var TJ=Object.defineProperty,Mu=u((t,e)=>TJ(t,"name",{value:e,configurable:!0}),"n$3");const RJ=Mu(({items:t,dispatch:e,rowFields:n,renderItem:r,maxLength:i,title:l=!1,useSwitch:a,useBulk:o,name:s})=>{const[c,d]=wp.element.useState(0),f=Mu(O=>d(O!==c?O:!1),"toggleItem"),h={deletion:"Delete"};a&&(h.enabled="Enabled",h.disabled="Disabled");const p=Mu((O,b)=>wp.element.createElement(wp.element.Fragment,null,o?wp.element.createElement("div",{onClick:y=>y.stopPropagation()},wp.element.createElement(mf,{label:`Select item ${b+1}`,labelVisuallyHidden:!0,value:O._bulkCheckbox,onChange:y=>e({type:"update",item:b,control:"_bulkCheckbox",value:y})})):null,a?wp.element.createElement("div",{onClick:y=>y.stopPropagation()},wp.element.createElement(ay,{label:`Enable item ${b+1}`,labelVisuallyHidden:!0,value:O.enabled,onChange:y=>e({type:"update",item:b,control:"enabled",value:y})})):null),"getHeaderLeft"),m=Mu((O,b)=>wp.element.createElement(wp.element.Fragment,null,i!==void 0&&wp.element.createElement(oe,{type:"action",isDisabled:i<=t.length,onPress:()=>e({type:"clone",item:b})},"Clone"),wp.element.createElement(oe,{type:"action",onPress:()=>f(O)},c!==O?"Edit":"Close"),i!==void 0&&wp.element.createElement(ti,{title:"Confirmation",label:"Remove",onValidate:()=>e({type:"remove",item:O})},"Are you sure you want to remove item ",O+1,"?")),"actions"),g=Mu((O,b)=>{const y=l||"Item "+(b+1);if(!p9(y))return y;const $={type:"wrapper",name:`_repeater-title-${s}-${O.key}`,content:l,dependent:!0};return r($,O,b)},"renderTitle");return wp.element.createElement("div",{className:"tf-repeater-items tf-repeater-block-items"},o&&wp.element.createElement(Q9,{actions:h,dispatch:e}),t&&t.slice(0,i).map((O,b)=>wp.element.createElement(j2,{key:O.key??b,title:g(O,b),footer:m(b,O),isOpen:c===b,className:"tf-repeater-block-item",onChange:y=>y?c!==b?d(b):null:c===b?d(!1):null,headerLeft:p(O,b)},n.map(y=>wp.element.createElement("div",{key:y.name??b,className:"tf-repeater-block-item-field"},r(y,O,b))))))},"Block");var QJ=Object.defineProperty,MJ=u((t,e)=>QJ(t,"name",{value:e,configurable:!0}),"i$4");const BJ={deletion:"Delete"},VJ=MJ(({items:t,fields:e,dispatch:n,rowFields:r,renderItem:i,maxLength:l,useBulk:a})=>wp.element.createElement("div",null,a&&wp.element.createElement(Q9,{actions:BJ,dispatch:n}),wp.element.createElement("table",null,wp.element.createElement("thead",null,wp.element.createElement("tr",null,a&&wp.element.createElement("th",null),e.map((o,s)=>wp.element.createElement("th",{key:s},o.label??"")),l>1&&wp.element.createElement("th",{align:"end"}))),wp.element.createElement("tbody",{className:"tf-repeater-items tf-repeater-table-items"},t&&t.slice(0,l).map((o,s)=>wp.element.createElement("tr",{key:o.key??s},a&&wp.element.createElement("td",{key:`${o.key}-enable`},wp.element.createElement("div",{onClick:c=>c.stopPropagation()},wp.element.createElement(mf,{value:o._bulkCheckbox,onChange:c=>n({type:"update",item:s,control:"_bulkCheckbox",value:c})}))),r.map((c,d)=>wp.element.createElement("td",{key:`${o.key}-${d}`},i(c,o,s))),wp.element.createElement("td",{className:"tf-repeater-row-actions"},wp.element.createElement("div",null,l!==void 0&&wp.element.createElement(oe,{type:"action",isDisabled:l<=t.length,onPress:()=>n({type:"clone",item:o})},"Clone"),l!==void 0&&wp.element.createElement(ti,{label:"Remove",title:"Confirmation",onValidate:()=>n({type:"remove",item:s}),buttonProps:{type:"danger"}},"Are you sure you want to remove item ",s+1,"?")))))))),"Table");var M9={advanced:mF,bare:bF,block:RJ,table:VJ},NJ=Object.defineProperty,FJ=u((t,e)=>NJ(t,"name",{value:e,configurable:!0}),"n$2");const IJ=FJ(({config:t,values:e,onChange:n,data:r})=>{const i=Object.keys(Nu._types.element).includes(t.type??""),l=i?iy:Hh,a=i?{}:{value:e[t.name]??"",onChange:n};return wp.element.createElement(l,{itemType:i?"subelement":"subfield",visibility:{action:t.condition?.action??"show",condition:t.condition?.condition??!1},data:r,...a,...t})},"Item");var ZJ=Object.defineProperty,Bu=u((t,e)=>ZJ(t,"name",{value:e,configurable:!0}),"s$3");const B9=Bu(t=>{const e=t.fields??[],n=Object.keys(M9).includes(t?.layout)?t.layout:"table",r=M9[n],i=t.repeatable??!0,l=t.maxlength??1/0,a=e.map(b=>{const y=Object.assign({},b);return n==="table"&&(y.labelVisuallyHidden=!0,y.descriptionVisuallyHidden=!0),delete y.value,delete y.onChange,y}),o={};e.forEach(b=>o[b.name]="");const[s,c]=wp.element.useReducer(aN(o,l),t.value??"",oN),d=Bu(b=>a.map(y=>y.name??!1).includes(b),"hasField"),[f,h]=wp.element.useState([]),p=Bu((b,y)=>{f.forEach($=>$(b,y))},"triggerRowCallbackEvents"),m=wp.element.useRef();m.current=s;const g=Bu((b,y,$)=>wp.element.createElement(IJ,{key:y.key+$,values:y,config:{...b,repeaterRow:$},onChange:C=>c({type:"update",item:$,control:b.name,value:C,callback:()=>p(y.key,b.name)}),data:{getValue:C=>d(C)?m.current[$][C]??"":t.data.getValue(C??""),watcher:C=>h(w=>[...w,(x,P)=>{x===y.key&&b.name&&C(P,y.key)}])}}),"renderItem"),O=Bu(()=>s.map(({_bulkCheckbox:b,...y})=>y),"getSavedValue");return wp.element.useEffect(()=>t.onChange&&t.onChange(O()),[s]),wp.element.createElement("div",{className:`tf-repeater tf-repeater-${n}`},wp.element.createElement("input",{type:"hidden",name:t.name??"",value:JSON.stringify(O())}),t.label&&wp.element.createElement(Ig,{level:2,className:"tf-repeater-title"},t.label),wp.element.createElement("div",{className:`tf-repeater-container tf-repeater-${n}-container`},wp.element.createElement(r,{items:s,fields:e,dispatch:c,rowFields:a,headerFields:t.headerFields,renderItem:g,maxLength:i?l:void 0,title:t.sectionTitle??!1,useSwitch:t.useSwitch,useBulk:t.useBulk,afterRow:t.afterRow,beforeRow:t.beforeRow,name:t.name??""}),i&&wp.element.createElement("div",{className:"tf-repeater-actions"},wp.element.createElement(oe,{type:"action",onPress:()=>c({type:"add"}),isDisabled:l<=s.length},"Add item"),wp.element.createElement(ti,{title:"Confirmation",label:"Remove all",isDisabled:s.length<=0,onValidate:()=>c({type:"clear"})},"Are you sure you want to clear all item(s)?"))))},"Repeater");var zJ=Object.defineProperty,V9=u((t,e)=>zJ(t,"name",{value:e,configurable:!0}),"o$1");const LJ={_eq:"Is",_neq:"Is not",_lt:"Less than",_gt:"Greater than",_lte:"Less than or equal",_gte:"Greater than or equal",_in:"In array",_nin:"Not in array",_contains:"Contains",_ncontains:"Not contain",_re:"Regex"},N9=V9(t=>{const e=t.filter(n=>n.name==="operator")[0]??!1;return!e||typeof e.choices!="object"?"":Object.keys(e.choices)[0]??""},"getInitialOperator"),WJ=V9(({dynamic:t,operators:e=void 0,fields:n=void 0})=>n&&n.length>0?n:[{label:"Text",type:"text",name:"left_value",dynamic:t?{mode:t.getMode(),types:t.getTypes(),categories:t.getCategories()}:{mode:"replace"},labelVisuallyHidden:!0},{label:"Operator",type:"select",name:"operator",choices:e??LJ,labelVisuallyHidden:!0},{label:"Text",type:"text",name:"right_value",dynamic:t?{mode:t.getMode(),types:t.getTypes(),categories:t.getCategories()}:{mode:"replace"},labelVisuallyHidden:!0}],"getFields");var XJ=Object.defineProperty,F9=u((t,e)=>XJ(t,"name",{value:e,configurable:!0}),"e");const jJ=F9(t=>wp.element.createElement("div",{className:"tf-conditional-panel-conditions"},wp.element.createElement(B9,{...t,type:"repeater",layout:"bare",afterRow:F9((e,n,r)=>wp.element.createElement("div",{className:"tf-conditional-panel-condition-actions"},wp.element.createElement(oe,{type:"action",onPress:()=>r({type:"insert",position:n+1,data:{operator:N9(t.fields)}})},"And"),wp.element.createElement(oe,{type:"danger",onPress:()=>r({type:"remove",item:n}),isDisabled:!t.canDelete,contentVisuallyHidden:!0},"Delete condition")),"afterRow"),repeatable:!1})),"ConditionGroup");var qJ=Object.defineProperty,Vu=u((t,e)=>qJ(t,"name",{value:e,configurable:!0}),"i$2");const UJ=Vu(t=>{const e=wp.element.useMemo(()=>WJ(t),[]),n=Vu(()=>({key:Ui(),data:[{key:Ui(),operator:N9(e)}]}),"emptyRow"),r=Vu(()=>yn(t.value??"",[n()]),"initialValue"),[i,l]=wp.element.useState(r()),[a,o]=wp.element.useState(r());wp.element.useEffect(()=>{t.onChange&&t.onChange(t.useModal?i:a)},[t.useModal?i:a]),wp.element.useEffect(()=>{if(a.length===1)return;const h=a.filter(p=>p.data.length!==0);h.length!==a.length&&o([...h])},[a]);const s=Vu(h=>o([...a.slice(0,h),n(),...a.slice(h)]),"insertGroup"),c=Vu((h,p)=>{const m=a;m[p].data=h,o([...m])},"updateGroup"),d=t.useModal?ti:wp.element.Fragment,f=t.useModal?{title:"Conditional rules",label:"Open conditional panel",confirmText:"Save",onCancel:()=>{o([...Ag(i)])},onValidate:()=>{l([...Ag(a)])}}:{};return wp.element.createElement(wp.element.Fragment,null,wp.element.createElement("input",{type:"hidden",name:t.name??"",value:JSON.stringify(t.useModal?i:a)}),wp.element.createElement("div",{className:"tf-label"},t.label??""),wp.element.createElement(d,{...f},wp.element.createElement("div",{className:"tf-conditional-panel"},wp.element.createElement("div",{className:"tf-conditional-panel-container"},wp.element.createElement("div",{className:"tf-conditional-groups"},a.map((h,p)=>wp.element.createElement("div",{key:h.key,className:"tf-conditional-group"},wp.element.createElement(jJ,{canDelete:a.length!==1||h.data.length!==1,value:h.data,onChange:m=>c(m,p),fields:e}),wp.element.createElement("div",{className:"tf-conditional-group-actions"},wp.element.createElement("strong",null,"Or"),wp.element.createElement(oe,{type:"primary",onPress:()=>s(p+1)},"Add group")))))))))},"ConditionalPanel");var Nu={_types:{control:{accordion:vF,"alignment-matrix":kF,border:cz,"button-group":gz,checkbox:mf,code:uU,"color-picker":$T,"conditional-panel":UJ,"combo-box":lh,"date-picker":sY,dimensions:d6,"field-group":S9,file:__,gradient:eJ,gallery:iJ,list:uJ,hidden:oJ,number:pf,repeater:B9,radio:fJ,select:E9,"simple-dimension":yJ,switch:ay,text:T9,"text-suggestion":cY,wysiwyg:f9,editor:f9,textarea:EJ},element:{button:oe,description:$e,label:we,modal:ti,wrapper:oF,tooltip:hF}},get(t,e="control"){return this._types[e]?.[t]??!1},add(t,e,n="control"){this._types[n][t]=e}},YJ=Object.defineProperty,I9=u((t,e)=>YJ(t,"name",{value:e,configurable:!0}),"i$1");const Hh=I9(({visibility:t,data:e,afterInitialization:n=!1,...r})=>{const{ControlContext:i}=tangibleFields,l=wp.element.useContext(i),a={...r.wrapper??{},className:`${r?.wrapper?.class??""} ${l.wrapper}`};delete a.class;const[o,s]=wp.element.useState(r.value??"");wp.element.useEffect(()=>{r.onChange&&r.onChange(o)},[o]);const c=Nu.get(r.type??"text");if(wp.element.useEffect(()=>{n&&n()},[]),!c)return wp.element.createElement(wp.element.Fragment,null);const d=I9(f=>{s(f),setTimeout(()=>{Qi("valueChange",{name:r.name??!1,props:r,value:f,previousValue:o})})},"onChange");return wp.element.createElement(OC,{...a},wp.element.createElement(w9,{visibility:t,data:e},wp.element.createElement(x9,{itemType:r.itemType??"field",name:r.name??!1,setValue:s},f=>wp.element.createElement(O9,{refresh:f,data:e,itemProps:r},h=>wp.element.createElement(c,{...h,value:o,onChange:d,data:e,dynamic:r.dynamic?tN(o,s,r):!1})))))},"Control");var KJ=Object.defineProperty,GJ=u((t,e)=>KJ(t,"name",{value:e,configurable:!0}),"o");const HJ=GJ((t,e)=>({getRow(n){const r=e.getValue(t);return Array.isArray(r)&&r[n]?r[n]:!1},setRow(n,r){const i=e.getValue(t);if(!Array.isArray(i)||!i[n])return!1;i[n]=r,e.setValue(t,i)},getRowValue(n,r){const i=this.getRow(n);return i?i[r]:!1},setRowValue(n,r,i){const l=this.getRow(n);if(!l)return!1;l[r]=i,this.setRow(n,l)}}),"getRepeaterStore");var Tn={_values:{},_setValueFromControl(t,e){this._values[t]=e},getAllValues(){return this._values},getValue(t){return this._values[t]??""},setValue(t,e){Qi("_refreshFieldValue",{name:t,value:e})},getRepeater(t){return HJ(t,this)}},_J={rerender:t=>Qi("_fieldRerender",t),dependent:{__callbacks:{},registerCallback(t,e){this.__callbacks[t]=e}}},JJ=Object.defineProperty,to=u((t,e)=>JJ(t,"name",{value:e,configurable:!0}),"i");const oy=wp.element.createContext(null),eee=to((t,e="field")=>e==="element"?z9(t):Z9(t),"renderComponent"),Z9=to(t=>wp.element.createElement(oy.Provider,{value:{name:t.context??"default",wrapper:`tf-context-${t.context??"default"}`,getValue:Tn.getValue.bind(Tn),portalContainer:t.portalContainer??document.body}},wp.element.createElement(Hh,{...t,onChange:e=>{Tn._setValueFromControl(t.name,e),t.onChange&&t.onChange(e)},visibility:{condition:t.condition?.condition??!1,actiElementComponenton:t.condition?.action??"show"},data:{getValue:Tn.getValue.bind(Tn)}})),"renderField"),z9=to(t=>wp.element.createElement(oy.Provider,{value:{name:t.context??"default",wrapper:`tf-context-${t.context??"default"}`,getValue:Tn.getValue.bind(Tn),portalContainer:t.portalContainer??document.body}},wp.element.createElement(iy,{...t,onChange:e=>{Tn._setValueFromControl(t.name,e),t.onChange&&t.onChange(e)},visibility:{condition:t.condition?.condition??!1,action:t.condition?.action??"show"},data:{getValue:Tn.getValue.bind(Tn)}})),"renderElement"),tee=to(()=>{const{fields:t,elements:e}=TangibleFields,n=[];for(const r in t)n.push(L9(r,t[r],"fields"));for(const r in e)n.push(L9(r,e[r],"elements"));Promise.all(n).then(()=>Qi("ready",{}))},"init"),L9=to((t,e,n)=>new Promise(r=>{const i=document.getElementById(e.element);if(!i)return r();const l=to(()=>{r(),Qi(n==="fields"?"initField":"initElement",{name:t,props:e})},"afterInitialization"),a=n==="fields"?Z9({name:t,afterInitialization:l,...e}):z9({name:t,afterInitialization:l,...e});wp.element.createRoot?wp.element.createRoot(i).render(a):wp.element.render(a,i)}),"initItem");window.tangibleFields={render:eee,event:Yl,trigger:Qi,store:Tn,types:Nu,utils:iN,fields:_J,ControlContext:oy},window.addEventListener("load",tee)})(); +`))),0,0):Y.empty;let f=t.someProp("clipboardTextParser",h=>h(e,i,r,t));if(f)o=f;else{let h=i.marks(),{schema:p}=t.state,m=Wa.fromSchema(p);a=document.createElement("div"),e.split(/(?:\r\n?|\n)+/).forEach(g=>{let O=a.appendChild(document.createElement("p"));g&&O.appendChild(m.serializeNode(p.text(g,h)))})}}else t.someProp("transformPastedHTML",f=>{n=f(n,t)}),a=jK(n),wu&&qK(a);let c=a&&a.querySelector("[data-pm-slice]"),d=c&&/^(\d+) (\d+)(?: -(\d+))? (.*)/.exec(c.getAttribute("data-pm-slice")||"");if(d&&d[3])for(let f=+d[3];f>0;f--){let h=a.firstChild;for(;h&&h.nodeType!=1;)h=h.nextSibling;if(!h)break;a=h}if(o||(o=(t.someProp("clipboardParser")||t.someProp("domParser")||uu.fromSchema(t.state.schema)).parseSlice(a,{preserveWhitespace:!!(s||d),context:i,ruleFromNode(h){return h.nodeName=="BR"&&!h.nextSibling&&h.parentNode&&!LK.test(h.parentNode.nodeName)?{ignore:!0}:null}})),d)o=UK(mR(o,+d[1],+d[2]),d[4]);else if(o=Y.maxOpen(WK(o.content,i),!0),o.openStart||o.openEnd){let f=0,h=0;for(let p=o.content.firstChild;f{o=f(o,t)}),o}u(dR,"parseFromClipboard");const LK=/^(a|abbr|acronym|b|cite|code|del|em|i|ins|kbd|label|output|q|ruby|s|samp|span|strong|sub|sup|time|u|tt|var)$/i;function WK(t,e){if(t.childCount<2)return t;for(let n=e.depth;n>=0;n--){let i=e.node(n).contentMatchAt(e.index(n)),l,a=[];if(t.forEach(o=>{if(!a)return;let s=i.findWrapping(o.type),c;if(!s)return a=null;if(c=a.length&&l.length&&hR(s,l,o,a[a.length-1],0))a[a.length-1]=c;else{a.length&&(a[a.length-1]=pR(a[a.length-1],l.length));let d=fR(o,s);a.push(d),i=i.matchType(d.type),l=s}}),a)return X.from(a)}return t}u(WK,"normalizeSiblings");function fR(t,e,n=0){for(let r=e.length-1;r>=n;r--)t=e[r].create(null,X.from(t));return t}u(fR,"withWrappers");function hR(t,e,n,r,i){if(i1&&(l=0),i=n&&(o=e<0?a.contentMatchAt(0).fillBefore(o,l<=i).append(o):o.append(a.contentMatchAt(a.childCount).fillBefore(X.empty,!0))),t.replaceChild(e<0?0:t.childCount-1,a.copy(o))}u(wy,"closeRange");function mR(t,e,n){return en}).createHTML(t):t}u(XK,"maybeWrapTrusted");function jK(t){let e=/^(\s*]*>)*/.exec(t);e&&(t=t.slice(e[0].length));let n=bR().createElement("div"),r=/<([a-z][^>\s]+)/i.exec(t),i;if((i=r&&gR[r[1].toLowerCase()])&&(t=i.map(l=>"<"+l+">").join("")+t+i.map(l=>"").reverse().join("")),n.innerHTML=XK(t),i)for(let l=0;l=0;o-=2){let s=n.nodes[r[o]];if(!s||s.hasRequiredAttrs())break;i=X.from(s.create(r[o+1],i)),l++,a++}return new Y(i,l,a)}u(UK,"addContext");const wt={},xt={},YK={touchstart:!0,touchmove:!0},jv=class jv{constructor(){this.shiftKey=!1,this.mouseDown=null,this.lastKeyCode=null,this.lastKeyCodeTime=0,this.lastClick={time:0,x:0,y:0,type:""},this.lastSelectionOrigin=null,this.lastSelectionTime=0,this.lastIOSEnter=0,this.lastIOSEnterFallbackTimeout=-1,this.lastFocus=0,this.lastTouch=0,this.lastAndroidDelete=0,this.composing=!1,this.compositionNode=null,this.composingTimeout=-1,this.compositionNodes=[],this.compositionEndedAt=-2e8,this.compositionID=1,this.compositionPendingChanges=0,this.domChangeCount=0,this.eventHandlers=Object.create(null),this.hideSelectionGuard=null}};u(jv,"InputState");let xy=jv;function KK(t){for(let e in wt){let n=wt[e];t.dom.addEventListener(e,t.input.eventHandlers[e]=r=>{HK(t,r)&&!Cy(t,r)&&(t.editable||!(r.type in xt))&&n(t,r)},YK[e]?{passive:!0}:void 0)}$t&&t.dom.addEventListener("input",()=>null),Sy(t)}u(KK,"initInput");function Di(t,e){t.input.lastSelectionOrigin=e,t.input.lastSelectionTime=Date.now()}u(Di,"setSelectionOrigin");function GK(t){t.domObserver.stop();for(let e in t.input.eventHandlers)t.dom.removeEventListener(e,t.input.eventHandlers[e]);clearTimeout(t.input.composingTimeout),clearTimeout(t.input.lastIOSEnterFallbackTimeout)}u(GK,"destroyInput");function Sy(t){t.someProp("handleDOMEvents",e=>{for(let n in e)t.input.eventHandlers[n]||t.dom.addEventListener(n,t.input.eventHandlers[n]=r=>Cy(t,r))})}u(Sy,"ensureListeners");function Cy(t,e){return t.someProp("handleDOMEvents",n=>{let r=n[e.type];return r?r(t,e)||e.defaultPrevented:!1})}u(Cy,"runCustomHandler");function HK(t,e){if(!e.bubbles)return!0;if(e.defaultPrevented)return!1;for(let n=e.target;n!=t.dom;n=n.parentNode)if(!n||n.nodeType==11||n.pmViewDesc&&n.pmViewDesc.stopEvent(e))return!1;return!0}u(HK,"eventBelongsToView");function _K(t,e){!Cy(t,e)&&wt[e.type]&&(t.editable||!(e.type in xt))&&wt[e.type](t,e)}u(_K,"dispatchEvent"),xt.keydown=(t,e)=>{let n=e;if(t.input.shiftKey=n.keyCode==16||n.shiftKey,!vR(t,n)&&(t.input.lastKeyCode=n.keyCode,t.input.lastKeyCodeTime=Date.now(),!(An&&ut&&n.keyCode==13)))if(t.domObserver.selectionChanged(t.domSelectionRange())?t.domObserver.flush():n.keyCode!=229&&t.domObserver.forceFlush(),Ya&&n.keyCode==13&&!n.ctrlKey&&!n.altKey&&!n.metaKey){let r=Date.now();t.input.lastIOSEnter=r,t.input.lastIOSEnterFallbackTimeout=setTimeout(()=>{t.input.lastIOSEnter==r&&(t.someProp("handleKeyDown",i=>i(t,yl(13,"Enter"))),t.input.lastIOSEnter=0)},200)}else t.someProp("handleKeyDown",r=>r(t,n))||zK(t,n)?n.preventDefault():Di(t,"key")},xt.keyup=(t,e)=>{e.keyCode==16&&(t.input.shiftKey=!1)},xt.keypress=(t,e)=>{let n=e;if(vR(t,n)||!n.charCode||n.ctrlKey&&!n.altKey||mn&&n.metaKey)return;if(t.someProp("handleKeyPress",i=>i(t,n))){n.preventDefault();return}let r=t.state.selection;if(!(r instanceof ye)||!r.$from.sameParent(r.$to)){let i=String.fromCharCode(n.charCode);!/[\r\n]/.test(i)&&!t.someProp("handleTextInput",l=>l(t,r.$from.pos,r.$to.pos,i))&&t.dispatch(t.state.tr.insertText(i).scrollIntoView()),n.preventDefault()}};function Th(t){return{left:t.clientX,top:t.clientY}}u(Th,"eventCoords");function JK(t,e){let n=e.x-t.clientX,r=e.y-t.clientY;return n*n+r*r<100}u(JK,"isNear");function Dy(t,e,n,r,i){if(r==-1)return!1;let l=t.state.doc.resolve(r);for(let a=l.depth+1;a>0;a--)if(t.someProp(e,o=>a>l.depth?o(t,n,l.nodeAfter,l.before(a),i,!0):o(t,n,l.node(a),l.before(a),i,!1)))return!0;return!1}u(Dy,"runHandlerOnContext");function _a(t,e,n){if(t.focused||t.focus(),t.state.selection.eq(e))return;let r=t.state.tr.setSelection(e);n=="pointer"&&r.setMeta("pointer",!0),t.dispatch(r)}u(_a,"updateSelection");function eG(t,e){if(e==-1)return!1;let n=t.state.doc.resolve(e),r=n.nodeAfter;return r&&r.isAtom&&ae.isSelectable(r)?(_a(t,new ae(n),"pointer"),!0):!1}u(eG,"selectClickedLeaf");function tG(t,e){if(e==-1)return!1;let n=t.state.selection,r,i;n instanceof ae&&(r=n.node);let l=t.state.doc.resolve(e);for(let a=l.depth+1;a>0;a--){let o=a>l.depth?l.nodeAfter:l.node(a);if(ae.isSelectable(o)){r&&n.$from.depth>0&&a>=n.$from.depth&&l.before(n.$from.depth+1)==n.$from.pos?i=l.before(n.$from.depth):i=l.before(a);break}}return i!=null?(_a(t,ae.create(t.state.doc,i),"pointer"),!0):!1}u(tG,"selectClickedNode");function nG(t,e,n,r,i){return Dy(t,"handleClickOn",e,n,r)||t.someProp("handleClick",l=>l(t,e,r))||(i?tG(t,n):eG(t,n))}u(nG,"handleSingleClick");function rG(t,e,n,r){return Dy(t,"handleDoubleClickOn",e,n,r)||t.someProp("handleDoubleClick",i=>i(t,e,r))}u(rG,"handleDoubleClick");function iG(t,e,n,r){return Dy(t,"handleTripleClickOn",e,n,r)||t.someProp("handleTripleClick",i=>i(t,e,r))||lG(t,n,r)}u(iG,"handleTripleClick");function lG(t,e,n){if(n.button!=0)return!1;let r=t.state.doc;if(e==-1)return r.inlineContent?(_a(t,ye.create(r,0,r.content.size),"pointer"),!0):!1;let i=r.resolve(e);for(let l=i.depth+1;l>0;l--){let a=l>i.depth?i.nodeAfter:i.node(l),o=i.before(l);if(a.inlineContent)_a(t,ye.create(r,o+1,o+1+a.content.size),"pointer");else if(ae.isSelectable(a))_a(t,ae.create(r,o),"pointer");else continue;return!0}}u(lG,"defaultTripleClick");function ky(t){return Rh(t)}u(ky,"forceDOMFlush");const yR=mn?"metaKey":"ctrlKey";wt.mousedown=(t,e)=>{let n=e;t.input.shiftKey=n.shiftKey;let r=ky(t),i=Date.now(),l="singleClick";i-t.input.lastClick.time<500&&JK(n,t.input.lastClick)&&!n[yR]&&(t.input.lastClick.type=="singleClick"?l="doubleClick":t.input.lastClick.type=="doubleClick"&&(l="tripleClick")),t.input.lastClick={time:i,x:n.clientX,y:n.clientY,type:l};let a=t.posAtCoords(Th(n));a&&(l=="singleClick"?(t.input.mouseDown&&t.input.mouseDown.done(),t.input.mouseDown=new Py(t,a,n,!!r)):(l=="doubleClick"?rG:iG)(t,a.pos,a.inside,n)?n.preventDefault():Di(t,"pointer"))};const qv=class qv{constructor(e,n,r,i){this.view=e,this.pos=n,this.event=r,this.flushed=i,this.delayedSelectionSync=!1,this.mightDrag=null,this.startDoc=e.state.doc,this.selectNode=!!r[yR],this.allowDefault=r.shiftKey;let l,a;if(n.inside>-1)l=e.state.doc.nodeAt(n.inside),a=n.inside;else{let d=e.state.doc.resolve(n.pos);l=d.parent,a=d.depth?d.before():0}const o=i?null:r.target,s=o?e.docView.nearestDesc(o,!0):null;this.target=s&&s.dom.nodeType==1?s.dom:null;let{selection:c}=e.state;(r.button==0&&l.type.spec.draggable&&l.type.spec.selectable!==!1||c instanceof ae&&c.from<=a&&c.to>a)&&(this.mightDrag={node:l,pos:a,addAttr:!!(this.target&&!this.target.draggable),setUneditable:!!(this.target&&En&&!this.target.hasAttribute("contentEditable"))}),this.target&&this.mightDrag&&(this.mightDrag.addAttr||this.mightDrag.setUneditable)&&(this.view.domObserver.stop(),this.mightDrag.addAttr&&(this.target.draggable=!0),this.mightDrag.setUneditable&&setTimeout(()=>{this.view.input.mouseDown==this&&this.target.setAttribute("contentEditable","false")},20),this.view.domObserver.start()),e.root.addEventListener("mouseup",this.up=this.up.bind(this)),e.root.addEventListener("mousemove",this.move=this.move.bind(this)),Di(e,"pointer")}done(){this.view.root.removeEventListener("mouseup",this.up),this.view.root.removeEventListener("mousemove",this.move),this.mightDrag&&this.target&&(this.view.domObserver.stop(),this.mightDrag.addAttr&&this.target.removeAttribute("draggable"),this.mightDrag.setUneditable&&this.target.removeAttribute("contentEditable"),this.view.domObserver.start()),this.delayedSelectionSync&&setTimeout(()=>Fr(this.view)),this.view.input.mouseDown=null}up(e){if(this.done(),!this.view.dom.contains(e.target))return;let n=this.pos;this.view.state.doc!=this.startDoc&&(n=this.view.posAtCoords(Th(e))),this.updateAllowDefault(e),this.allowDefault||!n?Di(this.view,"pointer"):nG(this.view,n.pos,n.inside,e,this.selectNode)?e.preventDefault():e.button==0&&(this.flushed||$t&&this.mightDrag&&!this.mightDrag.node.isAtom||ut&&!this.view.state.selection.visible&&Math.min(Math.abs(n.pos-this.view.state.selection.from),Math.abs(n.pos-this.view.state.selection.to))<=2)?(_a(this.view,ce.near(this.view.state.doc.resolve(n.pos)),"pointer"),e.preventDefault()):Di(this.view,"pointer")}move(e){this.updateAllowDefault(e),Di(this.view,"pointer"),e.buttons==0&&this.done()}updateAllowDefault(e){!this.allowDefault&&(Math.abs(this.event.x-e.clientX)>4||Math.abs(this.event.y-e.clientY)>4)&&(this.allowDefault=!0)}};u(qv,"MouseDown");let Py=qv;wt.touchstart=t=>{t.input.lastTouch=Date.now(),ky(t),Di(t,"pointer")},wt.touchmove=t=>{t.input.lastTouch=Date.now(),Di(t,"pointer")},wt.contextmenu=t=>ky(t);function vR(t,e){return t.composing?!0:$t&&Math.abs(e.timeStamp-t.input.compositionEndedAt)<500?(t.input.compositionEndedAt=-2e8,!0):!1}u(vR,"inOrNearComposition");const aG=An?5e3:-1;xt.compositionstart=xt.compositionupdate=t=>{if(!t.composing){t.domObserver.flush();let{state:e}=t,n=e.selection.$to;if(e.selection instanceof ye&&(e.storedMarks||!n.textOffset&&n.parentOffset&&n.nodeBefore.marks.some(r=>r.type.spec.inclusive===!1)))t.markCursor=t.state.storedMarks||n.marks(),Rh(t,!0),t.markCursor=null;else if(Rh(t,!e.selection.empty),En&&e.selection.empty&&n.parentOffset&&!n.textOffset&&n.nodeBefore.marks.length){let r=t.domSelectionRange();for(let i=r.focusNode,l=r.focusOffset;i&&i.nodeType==1&&l!=0;){let a=l<0?i.lastChild:i.childNodes[l-1];if(!a)break;if(a.nodeType==3){let o=t.domSelection();o&&o.collapse(a,a.nodeValue.length);break}else i=a,l=-1}}t.input.composing=!0}$R(t,aG)},xt.compositionend=(t,e)=>{t.composing&&(t.input.composing=!1,t.input.compositionEndedAt=e.timeStamp,t.input.compositionPendingChanges=t.domObserver.pendingRecords().length?t.input.compositionID:0,t.input.compositionNode=null,t.input.compositionPendingChanges&&Promise.resolve().then(()=>t.domObserver.flush()),t.input.compositionID++,$R(t,20))};function $R(t,e){clearTimeout(t.input.composingTimeout),e>-1&&(t.input.composingTimeout=setTimeout(()=>Rh(t),e))}u($R,"scheduleComposeEnd");function wR(t){for(t.composing&&(t.input.composing=!1,t.input.compositionEndedAt=sG());t.input.compositionNodes.length>0;)t.input.compositionNodes.pop().markParentsDirty()}u(wR,"clearComposition");function oG(t){let e=t.domSelectionRange();if(!e.focusNode)return null;let n=iK(e.focusNode,e.focusOffset),r=lK(e.focusNode,e.focusOffset);if(n&&r&&n!=r){let i=r.pmViewDesc,l=t.domObserver.lastChangedTextNode;if(n==l||r==l)return l;if(!i||!i.isText(r.nodeValue))return r;if(t.input.compositionNode==r){let a=n.pmViewDesc;if(!(!a||!a.isText(n.nodeValue)))return r}}return n||r}u(oG,"findCompositionNode");function sG(){let t=document.createEvent("Event");return t.initEvent("event",!0,!0),t.timeStamp}u(sG,"timestampFromCustomEvent");function Rh(t,e=!1){if(!(An&&t.domObserver.flushingSoon>=0)){if(t.domObserver.forceFlush(),wR(t),e||t.docView&&t.docView.dirty){let n=Oy(t);return n&&!n.eq(t.state.selection)?t.dispatch(t.state.tr.setSelection(n)):(t.markCursor||e)&&!t.state.selection.empty?t.dispatch(t.state.tr.deleteSelection()):t.updateState(t.state),!0}return!1}}u(Rh,"endComposition");function uG(t,e){if(!t.dom.parentNode)return;let n=t.dom.parentNode.appendChild(document.createElement("div"));n.appendChild(e),n.style.cssText="position: fixed; left: -10000px; top: 10px";let r=getSelection(),i=document.createRange();i.selectNodeContents(e),t.dom.blur(),r.removeAllRanges(),r.addRange(i),setTimeout(()=>{n.parentNode&&n.parentNode.removeChild(n),t.focus()},50)}u(uG,"captureCopy");const Du=Bt&&wi<15||Ya&&cK<604;wt.copy=xt.cut=(t,e)=>{let n=e,r=t.state.selection,i=n.type=="cut";if(r.empty)return;let l=Du?null:n.clipboardData,a=r.content(),{dom:o,text:s}=cR(t,a);l?(n.preventDefault(),l.clearData(),l.setData("text/html",o.innerHTML),l.setData("text/plain",s)):uG(t,o),i&&t.dispatch(t.state.tr.deleteSelection().scrollIntoView().setMeta("uiEvent","cut"))};function cG(t){return t.openStart==0&&t.openEnd==0&&t.content.childCount==1?t.content.firstChild:null}u(cG,"sliceSingleNode");function dG(t,e){if(!t.dom.parentNode)return;let n=t.input.shiftKey||t.state.selection.$from.parent.type.spec.code,r=t.dom.parentNode.appendChild(document.createElement(n?"textarea":"div"));n||(r.contentEditable="true"),r.style.cssText="position: fixed; left: -10000px; top: 10px",r.focus();let i=t.input.shiftKey&&t.input.lastKeyCode!=45;setTimeout(()=>{t.focus(),r.parentNode&&r.parentNode.removeChild(r),n?ku(t,r.value,null,i,e):ku(t,r.textContent,r.innerHTML,i,e)},50)}u(dG,"capturePaste");function ku(t,e,n,r,i){let l=dR(t,e,n,r,t.state.selection.$from);if(t.someProp("handlePaste",s=>s(t,i,l||Y.empty)))return!0;if(!l)return!1;let a=cG(l),o=a?t.state.tr.replaceSelectionWith(a,r):t.state.tr.replaceSelection(l);return t.dispatch(o.scrollIntoView().setMeta("paste",!0).setMeta("uiEvent","paste")),!0}u(ku,"doPaste");function xR(t){let e=t.getData("text/plain")||t.getData("Text");if(e)return e;let n=t.getData("text/uri-list");return n?n.replace(/\r?\n/g," "):""}u(xR,"getText"),xt.paste=(t,e)=>{let n=e;if(t.composing&&!An)return;let r=Du?null:n.clipboardData,i=t.input.shiftKey&&t.input.lastKeyCode!=45;r&&ku(t,xR(r),r.getData("text/html"),i,n)?n.preventDefault():dG(t,n)};const Uv=class Uv{constructor(e,n,r){this.slice=e,this.move=n,this.node=r}};u(Uv,"Dragging");let Qh=Uv;const SR=mn?"altKey":"ctrlKey";wt.dragstart=(t,e)=>{let n=e,r=t.input.mouseDown;if(r&&r.done(),!n.dataTransfer)return;let i=t.state.selection,l=i.empty?null:t.posAtCoords(Th(n)),a;if(!(l&&l.pos>=i.from&&l.pos<=(i instanceof ae?i.to-1:i.to))){if(r&&r.mightDrag)a=ae.create(t.state.doc,r.mightDrag.pos);else if(n.target&&n.target.nodeType==1){let f=t.docView.nearestDesc(n.target,!0);f&&f.node.type.spec.draggable&&f!=t.docView&&(a=ae.create(t.state.doc,f.posBefore))}}let o=(a||t.state.selection).content(),{dom:s,text:c,slice:d}=cR(t,o);(!n.dataTransfer.files.length||!ut||R8>120)&&n.dataTransfer.clearData(),n.dataTransfer.setData(Du?"Text":"text/html",s.innerHTML),n.dataTransfer.effectAllowed="copyMove",Du||n.dataTransfer.setData("text/plain",c),t.dragging=new Qh(d,!n[SR],a)},wt.dragend=t=>{let e=t.dragging;window.setTimeout(()=>{t.dragging==e&&(t.dragging=null)},50)},xt.dragover=xt.dragenter=(t,e)=>e.preventDefault(),xt.drop=(t,e)=>{let n=e,r=t.dragging;if(t.dragging=null,!n.dataTransfer)return;let i=t.posAtCoords(Th(n));if(!i)return;let l=t.state.doc.resolve(i.pos),a=r&&r.slice;a?t.someProp("transformPasted",m=>{a=m(a,t)}):a=dR(t,xR(n.dataTransfer),Du?null:n.dataTransfer.getData("text/html"),!1,l);let o=!!(r&&!n[SR]);if(t.someProp("handleDrop",m=>m(t,n,a||Y.empty,o))){n.preventDefault();return}if(!a)return;n.preventDefault();let s=a?g8(t.state.doc,l.pos,a):l.pos;s==null&&(s=l.pos);let c=t.state.tr;if(o){let{node:m}=r;m?m.replace(c):c.deleteSelection()}let d=c.mapping.map(s),f=a.openStart==0&&a.openEnd==0&&a.content.childCount==1,h=c.doc;if(f?c.replaceRangeWith(d,d,a.content.firstChild):c.replaceRange(d,d,a),c.doc.eq(h))return;let p=c.doc.resolve(d);if(f&&ae.isSelectable(a.content.firstChild)&&p.nodeAfter&&p.nodeAfter.sameMarkup(a.content.firstChild))c.setSelection(new ae(p));else{let m=c.mapping.map(s);c.mapping.maps[c.mapping.maps.length-1].forEach((g,O,b,y)=>m=y),c.setSelection(yy(t,p,c.doc.resolve(m)))}t.focus(),t.dispatch(c.setMeta("uiEvent","drop"))},wt.focus=t=>{t.input.lastFocus=Date.now(),t.focused||(t.domObserver.stop(),t.dom.classList.add("ProseMirror-focused"),t.domObserver.start(),t.focused=!0,setTimeout(()=>{t.docView&&t.hasFocus()&&!t.domObserver.currentSelection.eq(t.domSelectionRange())&&Fr(t)},20))},wt.blur=(t,e)=>{let n=e;t.focused&&(t.domObserver.stop(),t.dom.classList.remove("ProseMirror-focused"),t.domObserver.start(),n.relatedTarget&&t.dom.contains(n.relatedTarget)&&t.domObserver.currentSelection.clear(),t.focused=!1)},wt.beforeinput=(t,e)=>{if(ut&&An&&e.inputType=="deleteContentBackward"){t.domObserver.flushSoon();let{domChangeCount:r}=t.input;setTimeout(()=>{if(t.input.domChangeCount!=r||(t.dom.blur(),t.focus(),t.someProp("handleKeyDown",l=>l(t,yl(8,"Backspace")))))return;let{$cursor:i}=t.state.selection;i&&i.pos>0&&t.dispatch(t.state.tr.delete(i.pos-1,i.pos).scrollIntoView())},50)}};for(let t in xt)wt[t]=xt[t];function Pu(t,e){if(t==e)return!0;for(let n in t)if(t[n]!==e[n])return!1;for(let n in e)if(!(n in t))return!1;return!0}u(Pu,"compareObjs");const Np=class Np{constructor(e,n){this.toDOM=e,this.spec=n||Sl,this.side=this.spec.side||0}map(e,n,r,i){let{pos:l,deleted:a}=e.mapResult(n.from+i,this.side<0?-1:1);return a?null:new Ir(l-r,l-r,this)}valid(){return!0}eq(e){return this==e||e instanceof Np&&(this.spec.key&&this.spec.key==e.spec.key||this.toDOM==e.toDOM&&Pu(this.spec,e.spec))}destroy(e){this.spec.destroy&&this.spec.destroy(e)}};u(Np,"WidgetType");let Mh=Np;const vc=class vc{constructor(e,n){this.attrs=e,this.spec=n||Sl}map(e,n,r,i){let l=e.map(n.from+i,this.spec.inclusiveStart?-1:1)-r,a=e.map(n.to+i,this.spec.inclusiveEnd?1:-1)-r;return l>=a?null:new Ir(l,a,this)}valid(e,n){return n.from=e&&(!l||l(o.spec))&&r.push(o.copy(o.from+i,o.to+i))}for(let a=0;ae){let o=this.children[a]+1;this.children[a+2].findInner(e-o,n-o,r,i+o,l)}}map(e,n,r){return this==ct||e.maps.length==0?this:this.mapInner(e,n,0,0,r||Sl)}mapInner(e,n,r,i,l){let a;for(let o=0;o{let c=s+r,d;if(d=DR(n,o,c)){for(i||(i=this.children.slice());lo&&f.to=e){this.children[o]==e&&(r=this.children[o+2]);break}let l=e+1,a=l+n.content.size;for(let o=0;ol&&s.type instanceof xl){let c=Math.max(l,s.from)-l,d=Math.min(a,s.to)-l;ci.map(e,n,Sl));return Ti.from(r)}forChild(e,n){if(n.isLeaf)return Gt.empty;let r=[];for(let i=0;in instanceof Gt)?e:e.reduce((n,r)=>n.concat(r instanceof Gt?r:r.members),[]))}}forEachSet(e){for(let n=0;n{let O=g-m-(p-h);for(let b=0;by+d-f)continue;let $=o[b]+d-f;p>=$?o[b+1]=h<=$?-2:-1:h>=d&&O&&(o[b]+=O,o[b+1]+=O)}f+=O}),d=n.maps[c].map(d,-1)}let s=!1;for(let c=0;c=r.content.size){s=!0;continue}let h=n.map(t[c+1]+l,-1),p=h-i,{index:m,offset:g}=r.content.findIndex(f),O=r.maybeChild(m);if(O&&g==f&&g+O.nodeSize==p){let b=o[c+2].mapInner(n,O,d+1,t[c]+l+1,a);b!=ct?(o[c]=f,o[c+1]=p,o[c+2]=b):(o[c+1]=-2,s=!0)}else s=!0}if(s){let c=hG(o,t,e,n,i,l,a),d=Vh(c,r,0,a);e=d.local;for(let f=0;fn&&a.to{let c=DR(t,o,s+n);if(c){l=!0;let d=Vh(c,o,n+s+1,r);d!=ct&&i.push(s,s+o.nodeSize,d)}});let a=CR(l?kR(t):t,-n).sort(Cl);for(let o=0;o0;)e++;t.splice(e,0,n)}u(PR,"insertAhead");function Ty(t){let e=[];return t.someProp("decorations",n=>{let r=n(t.state);r&&r!=ct&&e.push(r)}),t.cursorWrapper&&e.push(Gt.create(t.state.doc,[t.cursorWrapper.deco])),Bh.from(e)}u(Ty,"viewDecorations");const pG={childList:!0,characterData:!0,characterDataOldValue:!0,attributes:!0,attributeOldValue:!0,subtree:!0},mG=Bt&&wi<=11,Yv=class Yv{constructor(){this.anchorNode=null,this.anchorOffset=0,this.focusNode=null,this.focusOffset=0}set(e){this.anchorNode=e.anchorNode,this.anchorOffset=e.anchorOffset,this.focusNode=e.focusNode,this.focusOffset=e.focusOffset}clear(){this.anchorNode=this.focusNode=null}eq(e){return e.anchorNode==this.anchorNode&&e.anchorOffset==this.anchorOffset&&e.focusNode==this.focusNode&&e.focusOffset==this.focusOffset}};u(Yv,"SelectionState");let Ry=Yv;const Kv=class Kv{constructor(e,n){this.view=e,this.handleDOMChange=n,this.queue=[],this.flushingSoon=-1,this.observer=null,this.currentSelection=new Ry,this.onCharData=null,this.suppressingSelectionUpdates=!1,this.lastChangedTextNode=null,this.observer=window.MutationObserver&&new window.MutationObserver(r=>{for(let i=0;ii.type=="childList"&&i.removedNodes.length||i.type=="characterData"&&i.oldValue.length>i.target.nodeValue.length)?this.flushSoon():this.flush()}),mG&&(this.onCharData=r=>{this.queue.push({target:r.target,type:"characterData",oldValue:r.prevValue}),this.flushSoon()}),this.onSelectionChange=this.onSelectionChange.bind(this)}flushSoon(){this.flushingSoon<0&&(this.flushingSoon=window.setTimeout(()=>{this.flushingSoon=-1,this.flush()},20))}forceFlush(){this.flushingSoon>-1&&(window.clearTimeout(this.flushingSoon),this.flushingSoon=-1,this.flush())}start(){this.observer&&(this.observer.takeRecords(),this.observer.observe(this.view.dom,pG)),this.onCharData&&this.view.dom.addEventListener("DOMCharacterDataModified",this.onCharData),this.connectSelection()}stop(){if(this.observer){let e=this.observer.takeRecords();if(e.length){for(let n=0;nthis.flush(),20)}this.observer.disconnect()}this.onCharData&&this.view.dom.removeEventListener("DOMCharacterDataModified",this.onCharData),this.disconnectSelection()}connectSelection(){this.view.dom.ownerDocument.addEventListener("selectionchange",this.onSelectionChange)}disconnectSelection(){this.view.dom.ownerDocument.removeEventListener("selectionchange",this.onSelectionChange)}suppressSelectionUpdates(){this.suppressingSelectionUpdates=!0,setTimeout(()=>this.suppressingSelectionUpdates=!1,50)}onSelectionChange(){if(nR(this.view)){if(this.suppressingSelectionUpdates)return Fr(this.view);if(Bt&&wi<=11&&!this.view.state.selection.empty){let e=this.view.domSelectionRange();if(e.focusNode&&bl(e.focusNode,e.focusOffset,e.anchorNode,e.anchorOffset))return this.flushSoon()}this.flush()}}setCurSelection(){this.currentSelection.set(this.view.domSelectionRange())}ignoreSelectionChange(e){if(!e.focusNode)return!0;let n=new Set,r;for(let l=e.focusNode;l;l=vu(l))n.add(l);for(let l=e.anchorNode;l;l=vu(l))if(n.has(l)){r=l;break}let i=r&&this.view.docView.nearestDesc(r);if(i&&i.ignoreMutation({type:"selection",target:r.nodeType==3?r.parentNode:r}))return this.setCurSelection(),!0}pendingRecords(){if(this.observer)for(let e of this.observer.takeRecords())this.queue.push(e);return this.queue}selectionChanged(e){return!this.suppressingSelectionUpdates&&!this.currentSelection.eq(e)&&nR(this.view)&&!this.ignoreSelectionChange(e)}flush(){let{view:e}=this;if(!e.docView||this.flushingSoon>-1)return;let n=this.pendingRecords();n.length&&(this.queue=[]);let r=e.domSelectionRange(),i=this.selectionChanged(r),l=-1,a=-1,o=!1,s=[];if(e.editable)for(let d=0;df.nodeName=="BR");if(d.length==2){let[f,h]=d;f.parentNode&&f.parentNode.parentNode==h.parentNode?h.remove():f.remove()}else{let{focusNode:f}=this.currentSelection;for(let h of d){let p=h.parentNode;p&&p.nodeName=="LI"&&(!f||bG(e,f)!=p)&&h.remove()}}}let c=null;l<0&&i&&e.input.lastFocus>Date.now()-200&&Math.max(e.input.lastTouch,e.input.lastClick.time)-1||i)&&(l>-1&&(e.docView.markDirty(l,a),gG(e)),this.handleDOMChange(l,a,o,s),e.docView&&e.docView.dirty?e.updateState(e.state):this.currentSelection.eq(r)||Fr(e),this.currentSelection.set(r))}registerMutation(e,n){if(n.indexOf(e.target)>-1)return null;let r=this.view.docView.nearestDesc(e.target);if(e.type=="attributes"&&(r==this.view.docView||e.attributeName=="contenteditable"||e.attributeName=="style"&&!e.oldValue&&!e.target.getAttribute("style"))||!r||r.ignoreMutation(e))return null;if(e.type=="childList"){for(let d=0;di;O--){let b=r.childNodes[O-1],y=b.pmViewDesc;if(b.nodeName=="BR"&&!y){l=O;break}if(!y||y.size)break}let f=t.state.doc,h=t.someProp("domParser")||uu.fromSchema(t.state.schema),p=f.resolve(a),m=null,g=h.parse(r,{topNode:p.parent,topMatch:p.parent.contentMatchAt(p.index()),topOpen:!0,from:i,to:l,preserveWhitespace:p.parent.type.whitespace=="pre"?"full":!0,findPositions:c,ruleFromNode:vG,context:p});if(c&&c[0].pos!=null){let O=c[0].pos,b=c[1]&&c[1].pos;b==null&&(b=O),m={anchor:O+a,head:b+a}}return{doc:g,sel:m,from:a,to:o}}u(yG,"parseBetween");function vG(t){let e=t.pmViewDesc;if(e)return e.parseRule();if(t.nodeName=="BR"&&t.parentNode){if($t&&/^(ul|ol)$/i.test(t.parentNode.nodeName)){let n=document.createElement("div");return n.appendChild(document.createElement("li")),{skip:n}}else if(t.parentNode.lastChild==t||$t&&/^(tr|table)$/i.test(t.parentNode.nodeName))return{ignore:!0}}else if(t.nodeName=="IMG"&&t.getAttribute("mark-placeholder"))return{ignore:!0};return null}u(vG,"ruleFromNode");const $G=/^(a|abbr|acronym|b|bd[io]|big|br|button|cite|code|data(list)?|del|dfn|em|i|ins|kbd|label|map|mark|meter|output|q|ruby|s|samp|small|span|strong|su[bp]|time|u|tt|var)$/i;function wG(t,e,n,r,i){let l=t.input.compositionPendingChanges||(t.composing?t.input.compositionID:0);if(t.input.compositionPendingChanges=0,e<0){let k=t.input.lastSelectionTime>Date.now()-50?t.input.lastSelectionOrigin:null,D=Oy(t,k);if(D&&!t.state.selection.eq(D)){if(ut&&An&&t.input.lastKeyCode===13&&Date.now()-100E(t,yl(13,"Enter"))))return;let S=t.state.tr.setSelection(D);k=="pointer"?S.setMeta("pointer",!0):k=="key"&&S.scrollIntoView(),l&&S.setMeta("composition",l),t.dispatch(S)}return}let a=t.state.doc.resolve(e),o=a.sharedDepth(n);e=a.before(o+1),n=t.state.doc.resolve(n).after(o+1);let s=t.state.selection,c=yG(t,e,n),d=t.state.doc,f=d.slice(c.from,c.to),h,p;t.input.lastKeyCode===8&&Date.now()-100Date.now()-225||An)&&i.some(k=>k.nodeType==1&&!$G.test(k.nodeName))&&(!m||m.endA>=m.endB)&&t.someProp("handleKeyDown",k=>k(t,yl(13,"Enter")))){t.input.lastIOSEnter=0;return}if(!m)if(r&&s instanceof ye&&!s.empty&&s.$head.sameParent(s.$anchor)&&!t.composing&&!(c.sel&&c.sel.anchor!=c.sel.head))m={start:s.from,endA:s.to,endB:s.to};else{if(c.sel){let k=RR(t,t.state.doc,c.sel);if(k&&!k.eq(t.state.selection)){let D=t.state.tr.setSelection(k);l&&D.setMeta("composition",l),t.dispatch(D)}}return}t.state.selection.fromt.state.selection.from&&m.start<=t.state.selection.from+2&&t.state.selection.from>=c.from?m.start=t.state.selection.from:m.endA=t.state.selection.to-2&&t.state.selection.to<=c.to&&(m.endB+=t.state.selection.to-m.endA,m.endA=t.state.selection.to)),Bt&&wi<=11&&m.endB==m.start+1&&m.endA==m.start&&m.start>c.from&&c.doc.textBetween(m.start-c.from-1,m.start-c.from+1)==" \xA0"&&(m.start--,m.endA--,m.endB--);let g=c.doc.resolveNoCache(m.start-c.from),O=c.doc.resolveNoCache(m.endB-c.from),b=d.resolve(m.start),y=g.sameParent(O)&&g.parent.inlineContent&&b.end()>=m.endA,$;if((Ya&&t.input.lastIOSEnter>Date.now()-225&&(!y||i.some(k=>k.nodeName=="DIV"||k.nodeName=="P"))||!y&&g.posk(t,yl(13,"Enter")))){t.input.lastIOSEnter=0;return}if(t.state.selection.anchor>m.start&&SG(d,m.start,m.endA,g,O)&&t.someProp("handleKeyDown",k=>k(t,yl(8,"Backspace")))){An&&ut&&t.domObserver.suppressSelectionUpdates();return}ut&&An&&m.endB==m.start&&(t.input.lastAndroidDelete=Date.now()),An&&!y&&g.start()!=O.start()&&O.parentOffset==0&&g.depth==O.depth&&c.sel&&c.sel.anchor==c.sel.head&&c.sel.head==m.endA&&(m.endB-=2,O=c.doc.resolveNoCache(m.endB-c.from),setTimeout(()=>{t.someProp("handleKeyDown",function(k){return k(t,yl(13,"Enter"))})},20));let C=m.start,w=m.endA,x,P,v;if(y){if(g.pos==O.pos)Bt&&wi<=11&&g.parentOffset==0&&(t.domObserver.suppressSelectionUpdates(),setTimeout(()=>Fr(t),20)),x=t.state.tr.delete(C,w),P=d.resolve(m.start).marksAcross(d.resolve(m.endA));else if(m.endA==m.endB&&(v=xG(g.parent.content.cut(g.parentOffset,O.parentOffset),b.parent.content.cut(b.parentOffset,m.endA-b.start()))))x=t.state.tr,v.type=="add"?x.addMark(C,w,v.mark):x.removeMark(C,w,v.mark);else if(g.parent.child(g.index()).isText&&g.index()==O.index()-(O.textOffset?0:1)){let k=g.parent.textBetween(g.parentOffset,O.parentOffset);if(t.someProp("handleTextInput",D=>D(t,C,w,k)))return;x=t.state.tr.insertText(k,C,w)}}if(x||(x=t.state.tr.replace(C,w,c.doc.slice(m.start-c.from,m.endB-c.from))),c.sel){let k=RR(t,x.doc,c.sel);k&&!(ut&&An&&t.composing&&k.empty&&(m.start!=m.endB||t.input.lastAndroidDeletee.content.size?null:yy(t,e.resolve(n.anchor),e.resolve(n.head))}u(RR,"resolveSelection");function xG(t,e){let n=t.firstChild.marks,r=e.firstChild.marks,i=n,l=r,a,o,s;for(let d=0;dd.mark(o.addToSet(d.marks)),"update");else if(i.length==0&&l.length==1)o=l[0],a="remove",s=u(d=>d.mark(o.removeFromSet(d.marks)),"update");else return null;let c=[];for(let d=0;dn||My(a,!0,!1)0&&(e||t.indexAfter(r)==t.node(r).childCount);)r--,i++,e=!1;if(n){let l=t.node(r).maybeChild(t.indexAfter(r));for(;l&&!l.isLeaf;)l=l.firstChild,i++}return i}u(My,"skipClosingAndOpening");function CG(t,e,n,r,i){let l=t.findDiffStart(e,n);if(l==null)return null;let{a,b:o}=t.findDiffEnd(e,n+t.size,n+e.size);if(i=="end"){let s=Math.max(0,l-Math.min(a,o));r-=a+s-l}if(a=a?l-r:0;l-=s,l&&l=o?l-r:0;l-=s,l&&l=56320&&e<=57343&&n>=55296&&n<=56319}u(QR,"isSurrogatePair");const Gv=class Gv{constructor(e,n){this._root=null,this.focused=!1,this.trackWrites=null,this.mounted=!1,this.markCursor=null,this.cursorWrapper=null,this.lastSelectedViewDesc=void 0,this.input=new xy,this.prevDirectPlugins=[],this.pluginViews=[],this.requiresGeckoHackNode=!1,this.dragging=null,this._props=n,this.state=n.state,this.directPlugins=n.plugins||[],this.directPlugins.forEach(FR),this.dispatch=this.dispatch.bind(this),this.dom=e&&e.mount||document.createElement("div"),e&&(e.appendChild?e.appendChild(this.dom):typeof e=="function"?e(this.dom):e.mount&&(this.mounted=!0)),this.editable=VR(this),BR(this),this.nodeViews=NR(this),this.docView=j8(this.state.doc,MR(this),Ty(this),this.dom,this),this.domObserver=new Qy(this,(r,i,l,a)=>wG(this,r,i,l,a)),this.domObserver.start(),KK(this),this.updatePluginViews()}get composing(){return this.input.composing}get props(){if(this._props.state!=this.state){let e=this._props;this._props={};for(let n in e)this._props[n]=e[n];this._props.state=this.state}return this._props}update(e){e.handleDOMEvents!=this._props.handleDOMEvents&&Sy(this);let n=this._props;this._props=e,e.plugins&&(e.plugins.forEach(FR),this.directPlugins=e.plugins),this.updateStateInner(e.state,n)}setProps(e){let n={};for(let r in this._props)n[r]=this._props[r];n.state=this.state;for(let r in e)n[r]=e[r];this.update(n)}updateState(e){this.updateStateInner(e,this._props)}updateStateInner(e,n){var r;let i=this.state,l=!1,a=!1;e.storedMarks&&this.composing&&(wR(this),a=!0),this.state=e;let o=i.plugins!=e.plugins||this._props.plugins!=n.plugins;if(o||this._props.plugins!=n.plugins||this._props.nodeViews!=n.nodeViews){let p=NR(this);kG(p,this.nodeViews)&&(this.nodeViews=p,l=!0)}(o||n.handleDOMEvents!=this._props.handleDOMEvents)&&Sy(this),this.editable=VR(this),BR(this);let s=Ty(this),c=MR(this),d=i.plugins!=e.plugins&&!i.doc.eq(e.doc)?"reset":e.scrollToSelection>i.scrollToSelection?"to selection":"preserve",f=l||!this.docView.matchesNode(e.doc,c,s);(f||!e.selection.eq(i.selection))&&(a=!0);let h=d=="preserve"&&a&&this.dom.style.overflowAnchor==null&&hK(this);if(a){this.domObserver.stop();let p=f&&(Bt||ut)&&!this.composing&&!i.selection.empty&&!e.selection.empty&&DG(i.selection,e.selection);if(f){let m=ut?this.trackWrites=this.domSelectionRange().focusNode:null;this.composing&&(this.input.compositionNode=oG(this)),(l||!this.docView.update(e.doc,c,s,this))&&(this.docView.updateOuterDeco(c),this.docView.destroy(),this.docView=j8(e.doc,c,s,this.dom,this)),m&&!this.trackWrites&&(p=!0)}p||!(this.input.mouseDown&&this.domObserver.currentSelection.eq(this.domSelectionRange())&&MK(this))?Fr(this,p):(eR(this,e.selection),this.domObserver.setCurSelection()),this.domObserver.start()}this.updatePluginViews(i),!((r=this.dragging)===null||r===void 0)&&r.node&&!i.doc.eq(e.doc)&&this.updateDraggedNode(this.dragging,i),d=="reset"?this.dom.scrollTop=0:d=="to selection"?this.scrollToSelection():h&&pK(h)}scrollToSelection(){let e=this.domSelectionRange().focusNode;if(!this.someProp("handleScrollToSelection",n=>n(this)))if(this.state.selection instanceof ae){let n=this.docView.domAfterPos(this.state.selection.from);n.nodeType==1&&Q8(this,n.getBoundingClientRect(),e)}else Q8(this,this.coordsAtPos(this.state.selection.head,1),e)}destroyPluginViews(){let e;for(;e=this.pluginViews.pop();)e.destroy&&e.destroy()}updatePluginViews(e){if(!e||e.plugins!=this.state.plugins||this.directPlugins!=this.prevDirectPlugins){this.prevDirectPlugins=this.directPlugins,this.destroyPluginViews();for(let n=0;n0&&this.state.doc.nodeAt(l))==r.node&&(i=l)}this.dragging=new Qh(e.slice,e.move,i<0?void 0:ae.create(this.state.doc,i))}someProp(e,n){let r=this._props&&this._props[e],i;if(r!=null&&(i=n?n(r):r))return i;for(let a=0;an.ownerDocument.getSelection()),this._root=n}return e||document}updateRoot(){this._root=null}posAtCoords(e){return vK(this,e)}coordsAtPos(e,n=1){return I8(this,e,n)}domAtPos(e,n=0){return this.docView.domFromPos(e,n)}nodeDOM(e){let n=this.docView.descAt(e);return n?n.nodeDOM:null}posAtDOM(e,n,r=-1){let i=this.docView.posFromDOM(e,n,r);if(i==null)throw new RangeError("DOM position not inside the editor");return i}endOfTextblock(e,n){return CK(this,n||this.state,e)}pasteHTML(e,n){return ku(this,"",e,!1,n||new ClipboardEvent("paste"))}pasteText(e,n){return ku(this,e,null,!0,n||new ClipboardEvent("paste"))}destroy(){this.docView&&(GK(this),this.destroyPluginViews(),this.mounted?(this.docView.update(this.state.doc,[],Ty(this),this),this.dom.textContent=""):this.dom.parentNode&&this.dom.parentNode.removeChild(this.dom),this.docView.destroy(),this.docView=null,nK())}get isDestroyed(){return this.docView==null}dispatchEvent(e){return _K(this,e)}dispatch(e){let n=this._props.dispatchTransaction;n?n.call(this,e):this.updateState(this.state.apply(e))}domSelectionRange(){let e=this.domSelection();return e?$t&&this.root.nodeType===11&&oK(this.dom.ownerDocument)==this.dom&&OG(this,e)||e:{focusNode:null,focusOffset:0,anchorNode:null,anchorOffset:0}}domSelection(){return this.root.getSelection()}};u(Gv,"EditorView");let By=Gv;function MR(t){let e=Object.create(null);return e.class="ProseMirror",e.contenteditable=String(t.editable),t.someProp("attributes",n=>{if(typeof n=="function"&&(n=n(t.state)),n)for(let r in n)r=="class"?e.class+=" "+n[r]:r=="style"?e.style=(e.style?e.style+";":"")+n[r]:!e[r]&&r!="contenteditable"&&r!="nodeName"&&(e[r]=String(n[r]))}),e.translate||(e.translate="no"),[Ir.node(0,t.state.doc.content.size,e)]}u(MR,"computeDocDeco");function BR(t){if(t.markCursor){let e=document.createElement("img");e.className="ProseMirror-separator",e.setAttribute("mark-placeholder","true"),e.setAttribute("alt",""),t.cursorWrapper={dom:e,deco:Ir.widget(t.state.selection.from,e,{raw:!0,marks:t.markCursor})}}else t.cursorWrapper=null}u(BR,"updateCursorWrapper");function VR(t){return!t.someProp("editable",e=>e(t.state)===!1)}u(VR,"getEditable");function DG(t,e){let n=Math.min(t.$anchor.sharedDepth(t.head),e.$anchor.sharedDepth(e.head));return t.$anchor.start(n)!=e.$anchor.start(n)}u(DG,"selectionContextChanged");function NR(t){let e=Object.create(null);function n(r){for(let i in r)Object.prototype.hasOwnProperty.call(e,i)||(e[i]=r[i])}return u(n,"add"),t.someProp("nodeViews",n),t.someProp("markViews",n),e}u(NR,"buildNodeViews");function kG(t,e){let n=0,r=0;for(let i in t){if(t[i]!=e[i])return!0;n++}for(let i in e)r++;return n!=r}u(kG,"changedNodeViews");function FR(t){if(t.spec.state||t.spec.filterTransaction||t.spec.appendTransaction)throw new RangeError("Plugins passed directly to the view must not have a state component")}u(FR,"checkStateComponent");const PG=["p",0],EG=["blockquote",0],AG=["hr"],TG=["pre",["code",0]],RG=["br"],QG={doc:{content:"block+"},paragraph:{content:"inline*",group:"block",parseDOM:[{tag:"p"}],toDOM(){return PG}},blockquote:{content:"block+",group:"block",defining:!0,parseDOM:[{tag:"blockquote"}],toDOM(){return EG}},horizontal_rule:{group:"block",parseDOM:[{tag:"hr"}],toDOM(){return AG}},heading:{attrs:{level:{default:1,validate:"number"}},content:"inline*",group:"block",defining:!0,parseDOM:[{tag:"h1",attrs:{level:1}},{tag:"h2",attrs:{level:2}},{tag:"h3",attrs:{level:3}},{tag:"h4",attrs:{level:4}},{tag:"h5",attrs:{level:5}},{tag:"h6",attrs:{level:6}}],toDOM(t){return["h"+t.attrs.level,0]}},code_block:{content:"text*",marks:"",group:"block",code:!0,defining:!0,parseDOM:[{tag:"pre",preserveWhitespace:"full"}],toDOM(){return TG}},text:{group:"inline"},image:{inline:!0,attrs:{src:{validate:"string"},alt:{default:null,validate:"string|null"},title:{default:null,validate:"string|null"}},group:"inline",draggable:!0,parseDOM:[{tag:"img[src]",getAttrs(t){return{src:t.getAttribute("src"),title:t.getAttribute("title"),alt:t.getAttribute("alt")}}}],toDOM(t){let{src:e,alt:n,title:r}=t.attrs;return["img",{src:e,alt:n,title:r}]}},hard_break:{inline:!0,group:"inline",selectable:!1,parseDOM:[{tag:"br"}],toDOM(){return RG}}},MG=["em",0],BG=["strong",0],VG=["code",0],NG={link:{attrs:{href:{validate:"string"},title:{default:null,validate:"string|null"}},inclusive:!1,parseDOM:[{tag:"a[href]",getAttrs(t){return{href:t.getAttribute("href"),title:t.getAttribute("title")}}}],toDOM(t){let{href:e,title:n}=t.attrs;return["a",{href:e,title:n},0]}},em:{parseDOM:[{tag:"i"},{tag:"em"},{style:"font-style=italic"},{style:"font-style=normal",clearMark:t=>t.type.name=="em"}],toDOM(){return MG}},strong:{parseDOM:[{tag:"strong"},{tag:"b",getAttrs:t=>t.style.fontWeight!="normal"&&null},{style:"font-weight=400",clearMark:t=>t.type.name=="strong"},{style:"font-weight",getAttrs:t=>/^(bold(er)?|[5-9]\d{2,})$/.test(t)&&null}],toDOM(){return BG}},code:{parseDOM:[{tag:"code"}],toDOM(){return VG}}},IR=new hh({nodes:QG,marks:NG}),FG=["ol",0],IG=["ul",0],ZG=["li",0],zG={attrs:{order:{default:1,validate:"number"}},parseDOM:[{tag:"ol",getAttrs(t){return{order:t.hasAttribute("start")?+t.getAttribute("start"):1}}}],toDOM(t){return t.attrs.order==1?FG:["ol",{start:t.attrs.order},0]}},LG={parseDOM:[{tag:"ul"}],toDOM(){return IG}},WG={parseDOM:[{tag:"li"}],toDOM(){return ZG},defining:!0};function Vy(t,e){let n={};for(let r in t)n[r]=t[r];for(let r in e)n[r]=e[r];return n}u(Vy,"add");function XG(t,e,n){return t.append({ordered_list:Vy(zG,{content:"list_item+",group:n}),bullet_list:Vy(LG,{content:"list_item+",group:n}),list_item:Vy(WG,{content:e})})}u(XG,"addListNodes");function Ny(t,e=null){return function(n,r){let{$from:i,$to:l}=n.selection,a=i.blockRange(l),o=!1,s=a;if(!a)return!1;if(a.depth>=2&&i.node(a.depth-1).type.compatibleContent(t)&&a.startIndex==0){if(i.index(a.depth-1)==0)return!1;let d=n.doc.resolve(a.start-2);s=new za(d,d,a.depth),a.endIndex=0;d--)l=X.from(n[d].type.create(n[d].attrs,l));t.step(new vt(e.start-(r?2:0),e.end,e.start,e.end,new Y(l,0,0),n.length,!0));let a=0;for(let d=0;d=i.depth-3;b--)f=X.from(i.node(b).copy(f));let p=i.indexAfter(-1){if(O>-1)return!1;b.isTextblock&&b.content.size==0&&(O=y+1)}),O>-1&&g.setSelection(ce.near(g.doc.resolve(O))),r(g.scrollIntoView())}return!0}let s=l.pos==i.end()?o.contentMatchAt(0).defaultType:null,c=n.tr.delete(i.pos,l.pos),d=s?[e?{type:t,attrs:e}:null,{type:s}]:void 0;return Xa(c.doc,i.pos,2,d)?(r&&r(c.split(i.pos,2,d).scrollIntoView()),!0):!1}}u(qG,"splitListItem");function UG(t){return function(e,n){let{$from:r,$to:i}=e.selection,l=r.blockRange(i,a=>a.childCount>0&&a.firstChild.type==t);return l?n?r.node(l.depth-1).type==t?YG(e,n,t,l):KG(e,n,l):!0:!1}}u(UG,"liftListItem");function YG(t,e,n,r){let i=t.tr,l=r.end,a=r.$to.end(r.depth);lg;m--)p-=i.child(m).nodeSize,r.delete(p-1,p+1);let l=r.doc.resolve(n.start),a=l.nodeAfter;if(r.mapping.map(n.end)!=n.start+l.nodeAfter.nodeSize)return!1;let o=n.startIndex==0,s=n.endIndex==i.childCount,c=l.node(-1),d=l.index(-1);if(!c.canReplace(d+(o?0:1),d+1,a.content.append(s?X.empty:X.from(i))))return!1;let f=l.pos,h=f+a.nodeSize;return r.step(new vt(f-(o?1:0),h+(s?1:0),f+1,h-1,new Y((o?X.empty:X.from(i.copy(X.empty))).append(s?X.empty:X.from(i.copy(X.empty))),o?0:1,s?0:1),o?0:1)),e(r.scrollIntoView()),!0}u(KG,"liftOutOfList");function GG(t){return function(e,n){let{$from:r,$to:i}=e.selection,l=r.blockRange(i,c=>c.childCount>0&&c.firstChild.type==t);if(!l)return!1;let a=l.startIndex;if(a==0)return!1;let o=l.parent,s=o.child(a-1);if(s.type!=t)return!1;if(n){let c=s.lastChild&&s.lastChild.type==o.type,d=X.from(c?t.create():null),f=new Y(X.from(t.create(null,X.from(o.type.create(null,d)))),c?3:1,0),h=l.start,p=l.end;n(e.tr.step(new vt(h-(c?3:1),p,h,p,f,1,!0)).scrollIntoView())}return!0}}u(GG,"sinkListItem");const HG=typeof navigator<"u"?/Mac|iP(hone|[oa]d)/.test(navigator.platform):!1;function _G(t){let e=t.split(/-(?!$)/),n=e[e.length-1];n=="Space"&&(n=" ");let r,i,l,a;for(let o=0;o127)&&(l=Er[r.keyCode])&&l!=i){let o=e[Fy(l,r)];if(o&&o(n.state,n.dispatch,n))return!0}}return!1}}u(zR,"keydownHandler");var Nh=200,qe=u(function(){},"RopeSequence");qe.prototype.append=u(function(e){return e.length?(e=qe.from(e),!this.length&&e||e.length=n?qe.empty:this.sliceInner(Math.max(0,e),Math.min(this.length,n))},"slice"),qe.prototype.get=u(function(e){if(!(e<0||e>=this.length))return this.getInner(e)},"get"),qe.prototype.forEach=u(function(e,n,r){n===void 0&&(n=0),r===void 0&&(r=this.length),n<=r?this.forEachInner(e,n,r,0):this.forEachInvertedInner(e,n,r,0)},"forEach"),qe.prototype.map=u(function(e,n,r){n===void 0&&(n=0),r===void 0&&(r=this.length);var i=[];return this.forEach(function(l,a){return i.push(e(l,a))},n,r),i},"map"),qe.from=u(function(e){return e instanceof qe?e:e&&e.length?new LR(e):qe.empty},"from");var LR=function(t){function e(r){t.call(this),this.values=r}u(e,"Leaf"),t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var n={length:{configurable:!0},depth:{configurable:!0}};return e.prototype.flatten=u(function(){return this.values},"flatten"),e.prototype.sliceInner=u(function(i,l){return i==0&&l==this.length?this:new e(this.values.slice(i,l))},"sliceInner"),e.prototype.getInner=u(function(i){return this.values[i]},"getInner"),e.prototype.forEachInner=u(function(i,l,a,o){for(var s=l;s=a;s--)if(i(this.values[s],o+s)===!1)return!1},"forEachInvertedInner"),e.prototype.leafAppend=u(function(i){if(this.length+i.length<=Nh)return new e(this.values.concat(i.flatten()))},"leafAppend"),e.prototype.leafPrepend=u(function(i){if(this.length+i.length<=Nh)return new e(i.flatten().concat(this.values))},"leafPrepend"),n.length.get=function(){return this.values.length},n.depth.get=function(){return 0},Object.defineProperties(e.prototype,n),e}(qe);qe.empty=new LR([]);var eH=function(t){function e(n,r){t.call(this),this.left=n,this.right=r,this.length=n.length+r.length,this.depth=Math.max(n.depth,r.depth)+1}return u(e,"Append"),t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.flatten=u(function(){return this.left.flatten().concat(this.right.flatten())},"flatten"),e.prototype.getInner=u(function(r){return ro&&this.right.forEachInner(r,Math.max(i-o,0),Math.min(this.length,l)-o,a+o)===!1)return!1},"forEachInner"),e.prototype.forEachInvertedInner=u(function(r,i,l,a){var o=this.left.length;if(i>o&&this.right.forEachInvertedInner(r,i-o,Math.max(l,o)-o,a+o)===!1||l=l?this.right.slice(r-l,i-l):this.left.slice(r,l).append(this.right.slice(0,i-l))},"sliceInner"),e.prototype.leafAppend=u(function(r){var i=this.right.leafAppend(r);if(i)return new e(this.left,i)},"leafAppend"),e.prototype.leafPrepend=u(function(r){var i=this.left.leafPrepend(r);if(i)return new e(i,this.right)},"leafPrepend"),e.prototype.appendInner=u(function(r){return this.left.depth>=Math.max(this.right.depth,r.depth)+1?new e(this.left,new e(this.right,r)):new e(this,r)},"appendInner"),e}(qe);const tH=500,Ri=class Ri{constructor(e,n){this.items=e,this.eventCount=n}popEvent(e,n){if(this.eventCount==0)return null;let r=this.items.length;for(;;r--)if(this.items.get(r-1).selection){--r;break}let i,l;n&&(i=this.remapping(r,this.items.length),l=i.maps.length);let a=e.tr,o,s,c=[],d=[];return this.items.forEach((f,h)=>{if(!f.step){i||(i=this.remapping(r,h+1),l=i.maps.length),l--,d.push(f);return}if(i){d.push(new nr(f.map));let p=f.step.map(i.slice(l)),m;p&&a.maybeStep(p).doc&&(m=a.mapping.maps[a.mapping.maps.length-1],c.push(new nr(m,void 0,void 0,c.length+d.length))),l--,m&&i.appendMap(m,l)}else a.maybeStep(f.step);if(f.selection)return o=i?f.selection.map(i.slice(l)):f.selection,s=new Ri(this.items.slice(0,r).append(d.reverse().concat(c)),this.eventCount-1),!1},this.items.length,0),{remaining:s,transform:a,selection:o}}addTransform(e,n,r,i){let l=[],a=this.eventCount,o=this.items,s=!i&&o.length?o.get(o.length-1):null;for(let d=0;drH&&(o=nH(o,c),a-=c),new Ri(o.append(l),a)}remapping(e,n){let r=new yh;return this.items.forEach((i,l)=>{let a=i.mirrorOffset!=null&&l-i.mirrorOffset>=e?r.maps.length-i.mirrorOffset:void 0;r.appendMap(i.map,a)},e,n),r}addMaps(e){return this.eventCount==0?this:new Ri(this.items.append(e.map(n=>new nr(n))),this.eventCount)}rebased(e,n){if(!this.eventCount)return this;let r=[],i=Math.max(0,this.items.length-n),l=e.mapping,a=e.steps.length,o=this.eventCount;this.items.forEach(h=>{h.selection&&o--},i);let s=n;this.items.forEach(h=>{let p=l.getMirror(--s);if(p==null)return;a=Math.min(a,p);let m=l.maps[p];if(h.step){let g=e.steps[p].invert(e.docs[p]),O=h.selection&&h.selection.map(l.slice(s+1,p));O&&o++,r.push(new nr(m,g,O))}else r.push(new nr(m))},i);let c=[];for(let h=n;htH&&(f=f.compress(this.items.length-r.length)),f}emptyItemCount(){let e=0;return this.items.forEach(n=>{n.step||e++}),e}compress(e=this.items.length){let n=this.remapping(0,e),r=n.maps.length,i=[],l=0;return this.items.forEach((a,o)=>{if(o>=e)i.push(a),a.selection&&l++;else if(a.step){let s=a.step.map(n.slice(r)),c=s&&s.getMap();if(r--,c&&n.appendMap(c,r),s){let d=a.selection&&a.selection.map(n.slice(r));d&&l++;let f=new nr(c.invert(),s,d),h,p=i.length-1;(h=i.length&&i[p].merge(f))?i[p]=h:i.push(f)}}else a.map&&r--},this.items.length,0),new Ri(qe.from(i.reverse()),l)}};u(Ri,"Branch");let Dl=Ri;Dl.empty=new Dl(qe.empty,0);function nH(t,e){let n;return t.forEach((r,i)=>{if(r.selection&&e--==0)return n=i,!1}),t.slice(n)}u(nH,"cutOffEvents");const Ip=class Ip{constructor(e,n,r,i){this.map=e,this.step=n,this.selection=r,this.mirrorOffset=i}merge(e){if(this.step&&e.step&&!e.selection){let n=e.step.merge(this.step);if(n)return new Ip(n.getMap().invert(),n,this.selection)}}};u(Ip,"Item");let nr=Ip;const Hv=class Hv{constructor(e,n,r,i,l){this.done=e,this.undone=n,this.prevRanges=r,this.prevTime=i,this.prevComposition=l}};u(Hv,"HistoryState");let rr=Hv;const rH=20;function iH(t,e,n,r){let i=n.getMeta(kl),l;if(i)return i.historyState;n.getMeta(oH)&&(t=new rr(t.done,t.undone,null,0,-1));let a=n.getMeta("appendedTransaction");if(n.steps.length==0)return t;if(a&&a.getMeta(kl))return a.getMeta(kl).redo?new rr(t.done.addTransform(n,void 0,r,Fh(e)),t.undone,WR(n.mapping.maps),t.prevTime,t.prevComposition):new rr(t.done,t.undone.addTransform(n,void 0,r,Fh(e)),null,t.prevTime,t.prevComposition);if(n.getMeta("addToHistory")!==!1&&!(a&&a.getMeta("addToHistory")===!1)){let o=n.getMeta("composition"),s=t.prevTime==0||!a&&t.prevComposition!=o&&(t.prevTime<(n.time||0)-r.newGroupDelay||!lH(n,t.prevRanges)),c=a?Iy(t.prevRanges,n.mapping):WR(n.mapping.maps);return new rr(t.done.addTransform(n,s?e.selection.getBookmark():void 0,r,Fh(e)),Dl.empty,c,n.time,o??t.prevComposition)}else return(l=n.getMeta("rebased"))?new rr(t.done.rebased(n,l),t.undone.rebased(n,l),Iy(t.prevRanges,n.mapping),t.prevTime,t.prevComposition):new rr(t.done.addMaps(n.mapping.maps),t.undone.addMaps(n.mapping.maps),Iy(t.prevRanges,n.mapping),t.prevTime,t.prevComposition)}u(iH,"applyTransaction");function lH(t,e){if(!e)return!1;if(!t.docChanged)return!0;let n=!1;return t.mapping.maps[0].forEach((r,i)=>{for(let l=0;l=e[l]&&(n=!0)}),n}u(lH,"isAdjacentTo");function WR(t){let e=[];for(let n=t.length-1;n>=0&&e.length==0;n--)t[n].forEach((r,i,l,a)=>e.push(l,a));return e}u(WR,"rangesFor");function Iy(t,e){if(!t)return null;let n=[];for(let r=0;r{let i=kl.getState(n);if(!i||(t?i.undone:i.done).eventCount==0)return!1;if(r){let l=aH(i,n,t);l&&r(e?l.scrollIntoView():l)}return!0}}u(jR,"buildCommand");const Ih=jR(!1,!0),Eu=jR(!0,!0),qR=u((t,e)=>t.selection.empty?!1:(e&&e(t.tr.deleteSelection().scrollIntoView()),!0),"deleteSelection");function uH(t,e){let{$cursor:n}=t.selection;return!n||(e?!e.endOfTextblock("backward",t):n.parentOffset>0)?null:n}u(uH,"atBlockStart");const cH=u((t,e,n)=>{let r=uH(t,n);if(!r)return!1;let i=UR(r);if(!i){let a=r.blockRange(),o=a&&mu(a);return o==null?!1:(e&&e(t.tr.lift(a,o).scrollIntoView()),!0)}let l=i.nodeBefore;if(GR(t,i,e,-1))return!0;if(r.parent.content.size==0&&(eo(l,"end")||ae.isSelectable(l)))for(let a=r.depth;;a--){let o=Gb(t.doc,r.before(a),r.after(a),Y.empty);if(o&&o.slice.size1)break}return l.isAtom&&i.depth==r.depth-1?(e&&e(t.tr.delete(i.pos-l.nodeSize,i.pos).scrollIntoView()),!0):!1},"joinBackward");function eo(t,e,n=!1){for(let r=t;r;r=e=="start"?r.firstChild:r.lastChild){if(r.isTextblock)return!0;if(n&&r.childCount!=1)return!1}return!1}u(eo,"textblockAt");const dH=u((t,e,n)=>{let{$head:r,empty:i}=t.selection,l=r;if(!i)return!1;if(r.parent.isTextblock){if(n?!n.endOfTextblock("backward",t):r.parentOffset>0)return!1;l=UR(r)}let a=l&&l.nodeBefore;return!a||!ae.isSelectable(a)?!1:(e&&e(t.tr.setSelection(ae.create(t.doc,l.pos-a.nodeSize)).scrollIntoView()),!0)},"selectNodeBackward");function UR(t){if(!t.parent.type.spec.isolating)for(let e=t.depth-1;e>=0;e--){if(t.index(e)>0)return t.doc.resolve(t.before(e+1));if(t.node(e).type.spec.isolating)break}return null}u(UR,"findCutBefore");function fH(t,e){let{$cursor:n}=t.selection;return!n||(e?!e.endOfTextblock("forward",t):n.parentOffset{let r=fH(t,n);if(!r)return!1;let i=YR(r);if(!i)return!1;let l=i.nodeAfter;if(GR(t,i,e,1))return!0;if(r.parent.content.size==0&&(eo(l,"start")||ae.isSelectable(l))){let a=Gb(t.doc,r.before(),r.after(),Y.empty);if(a&&a.slice.size{let{$head:r,empty:i}=t.selection,l=r;if(!i)return!1;if(r.parent.isTextblock){if(n?!n.endOfTextblock("forward",t):r.parentOffset=0;e--){let n=t.node(e);if(t.index(e)+1{let n=t.selection,r=n instanceof ae,i;if(r){if(n.node.isTextblock||!ja(t.doc,n.from))return!1;i=n.from}else if(i=m8(t.doc,n.from,-1),i==null)return!1;if(e){let l=t.tr.join(i);r&&l.setSelection(ae.create(l.doc,i-t.doc.resolve(i).nodeBefore.nodeSize)),e(l.scrollIntoView())}return!0},"joinUp"),mH=u((t,e)=>{let n=t.selection,r;if(n instanceof ae){if(n.node.isTextblock||!ja(t.doc,n.to))return!1;r=n.to}else if(r=m8(t.doc,n.to,1),r==null)return!1;return e&&e(t.tr.join(r).scrollIntoView()),!0},"joinDown"),Ly=u((t,e)=>{let{$from:n,$to:r}=t.selection,i=n.blockRange(r),l=i&&mu(i);return l==null?!1:(e&&e(t.tr.lift(i,l).scrollIntoView()),!0)},"lift"),gH=u((t,e)=>{let{$head:n,$anchor:r}=t.selection;return!n.parent.type.spec.code||!n.sameParent(r)?!1:(e&&e(t.tr.insertText(` +`).scrollIntoView()),!0)},"newlineInCode");function Wy(t){for(let e=0;e{let{$head:n,$anchor:r}=t.selection;if(!n.parent.type.spec.code||!n.sameParent(r))return!1;let i=n.node(-1),l=n.indexAfter(-1),a=Wy(i.contentMatchAt(l));if(!a||!i.canReplaceWith(l,l,a))return!1;if(e){let o=n.after(),s=t.tr.replaceWith(o,o,a.createAndFill());s.setSelection(ce.near(s.doc.resolve(o),1)),e(s.scrollIntoView())}return!0},"exitCode"),OH=u((t,e)=>{let n=t.selection,{$from:r,$to:i}=n;if(n instanceof Pn||r.parent.inlineContent||i.parent.inlineContent)return!1;let l=Wy(i.parent.contentMatchAt(i.indexAfter()));if(!l||!l.isTextblock)return!1;if(e){let a=(!r.parentOffset&&i.index(){let{$cursor:n}=t.selection;if(!n||n.parent.content.size)return!1;if(n.depth>1&&n.after()!=n.end(-1)){let l=n.before();if(Xa(t.doc,l))return e&&e(t.tr.split(l).scrollIntoView()),!0}let r=n.blockRange(),i=r&&mu(r);return i==null?!1:(e&&e(t.tr.lift(r,i).scrollIntoView()),!0)},"liftEmptyBlock");function yH(t){return(e,n)=>{let{$from:r,$to:i}=e.selection;if(e.selection instanceof ae&&e.selection.node.isBlock)return!r.parentOffset||!Xa(e.doc,r.pos)?!1:(n&&n(e.tr.split(r.pos).scrollIntoView()),!0);if(!r.parent.isBlock)return!1;if(n){let l=i.parentOffset==i.parent.content.size,a=e.tr;(e.selection instanceof ye||e.selection instanceof Pn)&&a.deleteSelection();let o=r.depth==0?null:Wy(r.node(-1).contentMatchAt(r.indexAfter(-1))),s=t&&t(i.parent,l,r),c=s?[s]:l&&o?[{type:o}]:void 0,d=Xa(a.doc,a.mapping.map(r.pos),1,c);if(!c&&!d&&Xa(a.doc,a.mapping.map(r.pos),1,o?[{type:o}]:void 0)&&(o&&(c=[{type:o}]),d=!0),d&&(a.split(a.mapping.map(r.pos),1,c),!l&&!r.parentOffset&&r.parent.type!=o)){let f=a.mapping.map(r.before()),h=a.doc.resolve(f);o&&r.node(-1).canReplaceWith(h.index(),h.index()+1,o)&&a.setNodeMarkup(a.mapping.map(r.before()),o)}n(a.scrollIntoView())}return!0}}u(yH,"splitBlockAs");const vH=yH(),Xy=u((t,e)=>{let{$from:n,to:r}=t.selection,i,l=n.sharedDepth(r);return l==0?!1:(i=n.before(l),e&&e(t.tr.setSelection(ae.create(t.doc,i))),!0)},"selectParentNode"),$H=u((t,e)=>(e&&e(t.tr.setSelection(new Pn(t.doc))),!0),"selectAll");function wH(t,e,n){let r=e.nodeBefore,i=e.nodeAfter,l=e.index();return!r||!i||!r.type.compatibleContent(i.type)?!1:!r.content.size&&e.parent.canReplace(l-1,l)?(n&&n(t.tr.delete(e.pos-r.nodeSize,e.pos).scrollIntoView()),!0):!e.parent.canReplace(l,l+1)||!(i.isTextblock||ja(t.doc,e.pos))?!1:(n&&n(t.tr.clearIncompatible(e.pos,r.type,r.contentMatchAt(r.childCount)).join(e.pos).scrollIntoView()),!0)}u(wH,"joinMaybeClear");function GR(t,e,n,r){let i=e.nodeBefore,l=e.nodeAfter,a,o,s=i.type.spec.isolating||l.type.spec.isolating;if(!s&&wH(t,e,n))return!0;let c=!s&&e.parent.canReplace(e.index(),e.index()+1);if(c&&(a=(o=i.contentMatchAt(i.childCount)).findWrapping(l.type))&&o.matchType(a[0]||l.type).validEnd){if(n){let p=e.pos+l.nodeSize,m=X.empty;for(let b=a.length-1;b>=0;b--)m=X.from(a[b].create(null,m));m=X.from(i.copy(m));let g=t.tr.step(new vt(e.pos-1,p,e.pos,p,new Y(m,1,0),a.length,!0)),O=p+2*a.length;ja(g.doc,O)&&g.join(O),n(g.scrollIntoView())}return!0}let d=l.type.spec.isolating||r>0&&s?null:ce.findFrom(e,1),f=d&&d.$from.blockRange(d.$to),h=f&&mu(f);if(h!=null&&h>=e.depth)return n&&n(t.tr.lift(f,h).scrollIntoView()),!0;if(c&&eo(l,"start",!0)&&eo(i,"end")){let p=i,m=[];for(;m.push(p),!p.isTextblock;)p=p.lastChild;let g=l,O=1;for(;!g.isTextblock;g=g.firstChild)O++;if(p.canReplace(p.childCount,p.childCount,g.content)){if(n){let b=X.empty;for(let $=m.length-1;$>=0;$--)b=X.from(m[$].copy(b));let y=t.tr.step(new vt(e.pos-m.length,e.pos+l.nodeSize,e.pos+O,e.pos+l.nodeSize-O,new Y(b,m.length,0),0,!0));n(y.scrollIntoView())}return!0}}return!1}u(GR,"deleteBarrier");function HR(t){return function(e,n){let r=e.selection,i=t<0?r.$from:r.$to,l=i.depth;for(;i.node(l).isInline;){if(!l)return!1;l--}return i.node(l).isTextblock?(n&&n(e.tr.setSelection(ye.create(e.doc,t<0?i.start(l):i.end(l)))),!0):!1}}u(HR,"selectTextblockSide");const xH=HR(-1),SH=HR(1);function jy(t,e=null){return function(n,r){let{$from:i,$to:l}=n.selection,a=i.blockRange(l),o=a&&Kb(a,t,e);return o?(r&&r(n.tr.wrap(a,o).scrollIntoView()),!0):!1}}u(jy,"wrapIn");function Zh(t,e=null){return function(n,r){let i=!1;for(let l=0;l{if(i)return!1;if(!(!s.isTextblock||s.hasMarkup(t,e)))if(s.type==t)i=!0;else{let d=n.doc.resolve(c),f=d.index();i=d.parent.canReplaceWith(f,f+1,t)}})}if(!i)return!1;if(r){let l=n.tr;for(let a=0;a{if(o||!r&&s.isAtom&&s.isInline&&c>=l.pos&&c+s.nodeSize<=a.pos)return!1;o=s.inlineContent&&s.type.allowsMarkType(n)}),o)return!0}return!1}u(CH,"markApplies");function DH(t){let e=[];for(let n=0;n{if(l.isAtom&&l.content.size&&l.isInline&&a>=r.pos&&a+l.nodeSize<=i.pos)return a+1>r.pos&&e.push(new bu(r,r.doc.resolve(a+1))),r=r.doc.resolve(a+1+l.content.size),!1}),r.posl.doc.rangeHasMark(h.$from.pos,h.$to.pos,t)):d=!c.every(h=>{let p=!1;return f.doc.nodesBetween(h.$from.pos,h.$to.pos,(m,g,O)=>{if(p)return!1;p=!t.isInSet(m.marks)&&!!O&&O.type.allowsMarkType(t)&&!(m.isText&&/^\s*$/.test(m.textBetween(Math.max(0,h.$from.pos-g),Math.min(m.nodeSize,h.$to.pos-g))))}),!p});for(let h=0;h{let l=u(a=>{this[i](a)},"handler");return e.dom.addEventListener(i,l),{name:i,handler:l}})}destroy(){this.handlers.forEach(({name:e,handler:n})=>this.editorView.dom.removeEventListener(e,n))}update(e,n){this.cursorPos!=null&&n.doc!=e.state.doc&&(this.cursorPos>e.state.doc.content.size?this.setCursor(null):this.updateOverlay())}setCursor(e){e!=this.cursorPos&&(this.cursorPos=e,e==null?(this.element.parentNode.removeChild(this.element),this.element=null):this.updateOverlay())}updateOverlay(){let e=this.editorView.state.doc.resolve(this.cursorPos),n=!e.parent.inlineContent,r;if(n){let o=e.nodeBefore,s=e.nodeAfter;if(o||s){let c=this.editorView.nodeDOM(this.cursorPos-(o?o.nodeSize:0));if(c){let d=c.getBoundingClientRect(),f=o?d.bottom:d.top;o&&s&&(f=(f+this.editorView.nodeDOM(this.cursorPos).getBoundingClientRect().top)/2),r={left:d.left,right:d.right,top:f-this.width/2,bottom:f+this.width/2}}}}if(!r){let o=this.editorView.coordsAtPos(this.cursorPos);r={left:o.left-this.width/2,right:o.left+this.width/2,top:o.top,bottom:o.bottom}}let i=this.editorView.dom.offsetParent;this.element||(this.element=i.appendChild(document.createElement("div")),this.class&&(this.element.className=this.class),this.element.style.cssText="position: absolute; z-index: 50; pointer-events: none;",this.color&&(this.element.style.backgroundColor=this.color)),this.element.classList.toggle("prosemirror-dropcursor-block",n),this.element.classList.toggle("prosemirror-dropcursor-inline",!n);let l,a;if(!i||i==document.body&&getComputedStyle(i).position=="static")l=-pageXOffset,a=-pageYOffset;else{let o=i.getBoundingClientRect();l=o.left-i.scrollLeft,a=o.top-i.scrollTop}this.element.style.left=r.left-l+"px",this.element.style.top=r.top-a+"px",this.element.style.width=r.right-r.left+"px",this.element.style.height=r.bottom-r.top+"px"}scheduleRemoval(e){clearTimeout(this.timeout),this.timeout=setTimeout(()=>this.setCursor(null),e)}dragover(e){if(!this.editorView.editable)return;let n=this.editorView.posAtCoords({left:e.clientX,top:e.clientY}),r=n&&n.inside>=0&&this.editorView.state.doc.nodeAt(n.inside),i=r&&r.type.spec.disableDropCursor,l=typeof i=="function"?i(this.editorView,n,e):i;if(n&&!l){let a=n.pos;if(this.editorView.dragging&&this.editorView.dragging.slice){let o=g8(this.editorView.state.doc,a,this.editorView.dragging.slice);o!=null&&(a=o)}this.setCursor(a),this.scheduleRemoval(5e3)}}dragend(){this.scheduleRemoval(20)}drop(){this.scheduleRemoval(20)}dragleave(e){(e.target==this.editorView.dom||!this.editorView.dom.contains(e.relatedTarget))&&this.setCursor(null)}};u(_v,"DropCursorView");let Uy=_v;const sr=class sr extends ce{constructor(e){super(e,e)}map(e,n){let r=e.resolve(n.map(this.head));return sr.valid(r)?new sr(r):ce.near(r)}content(){return Y.empty}eq(e){return e instanceof sr&&e.head==this.head}toJSON(){return{type:"gapcursor",pos:this.head}}static fromJSON(e,n){if(typeof n.pos!="number")throw new RangeError("Invalid input for GapCursor.fromJSON");return new sr(e.resolve(n.pos))}getBookmark(){return new Yy(this.anchor)}static valid(e){let n=e.parent;if(n.isTextblock||!EH(e)||!AH(e))return!1;let r=n.type.spec.allowGapCursor;if(r!=null)return r;let i=n.contentMatchAt(e.index()).defaultType;return i&&i.isTextblock}static findGapCursorFrom(e,n,r=!1){e:for(;;){if(!r&&sr.valid(e))return e;let i=e.pos,l=null;for(let a=e.depth;;a--){let o=e.node(a);if(n>0?e.indexAfter(a)0){l=o.child(n>0?e.indexAfter(a):e.index(a)-1);break}else if(a==0)return null;i+=n;let s=e.doc.resolve(i);if(sr.valid(s))return s}for(;;){let a=n>0?l.firstChild:l.lastChild;if(!a){if(l.isAtom&&!l.isText&&!ae.isSelectable(l)){e=e.doc.resolve(i+l.nodeSize*n),r=!1;continue e}break}l=a,i+=n;let o=e.doc.resolve(i);if(sr.valid(o))return o}return null}}};u(sr,"GapCursor");let dt=sr;dt.prototype.visible=!1,dt.findFrom=dt.findGapCursorFrom,ce.jsonID("gapcursor",dt);const Zp=class Zp{constructor(e){this.pos=e}map(e){return new Zp(e.map(this.pos))}resolve(e){let n=e.resolve(this.pos);return dt.valid(n)?new dt(n):ce.near(n)}};u(Zp,"GapBookmark");let Yy=Zp;function EH(t){for(let e=t.depth;e>=0;e--){let n=t.index(e),r=t.node(e);if(n==0){if(r.type.spec.isolating)return!0;continue}for(let i=r.child(n-1);;i=i.lastChild){if(i.childCount==0&&!i.inlineContent||i.isAtom||i.type.spec.isolating)return!0;if(i.inlineContent)return!1}}return!0}u(EH,"closedBefore");function AH(t){for(let e=t.depth;e>=0;e--){let n=t.indexAfter(e),r=t.node(e);if(n==r.childCount){if(r.type.spec.isolating)return!0;continue}for(let i=r.child(n);;i=i.firstChild){if(i.childCount==0&&!i.inlineContent||i.isAtom||i.type.spec.isolating)return!0;if(i.inlineContent)return!1}}return!0}u(AH,"closedAfter");function TH(){return new Br({props:{decorations:BH,createSelectionBetween(t,e,n){return e.pos==n.pos&&dt.valid(n)?new dt(n):null},handleClick:QH,handleKeyDown:RH,handleDOMEvents:{beforeinput:MH}}})}u(TH,"gapCursor");const RH=zR({ArrowLeft:Lh("horiz",-1),ArrowRight:Lh("horiz",1),ArrowUp:Lh("vert",-1),ArrowDown:Lh("vert",1)});function Lh(t,e){const n=t=="vert"?e>0?"down":"up":e>0?"right":"left";return function(r,i,l){let a=r.selection,o=e>0?a.$to:a.$from,s=a.empty;if(a instanceof ye){if(!l.endOfTextblock(n)||o.depth==0)return!1;s=!1,o=r.doc.resolve(e>0?o.after():o.before())}let c=dt.findGapCursorFrom(o,e,s);return c?(i&&i(r.tr.setSelection(new dt(c))),!0):!1}}u(Lh,"arrow");function QH(t,e,n){if(!t||!t.editable)return!1;let r=t.state.doc.resolve(e);if(!dt.valid(r))return!1;let i=t.posAtCoords({left:n.clientX,top:n.clientY});return i&&i.inside>-1&&ae.isSelectable(t.state.doc.nodeAt(i.inside))?!1:(t.dispatch(t.state.tr.setSelection(new dt(r))),!0)}u(QH,"handleClick");function MH(t,e){if(e.inputType!="insertCompositionText"||!(t.state.selection instanceof dt))return!1;let{$from:n}=t.state.selection,r=n.parent.contentMatchAt(n.index()).findWrapping(t.state.schema.nodes.text);if(!r)return!1;let i=X.empty;for(let a=r.length-1;a>=0;a--)i=X.from(r[a].createAndFill(null,i));let l=t.state.tr.replace(n.pos,n.pos,new Y(i,0,0));return l.setSelection(ye.near(l.doc.resolve(n.pos+1))),t.dispatch(l),!1}u(MH,"beforeinput");function BH(t){if(!(t.selection instanceof dt))return null;let e=document.createElement("div");return e.className="ProseMirror-gapcursor",Gt.create(t.doc,[Ir.widget(t.selection.head,e,{key:"gapcursor"})])}u(BH,"drawGapCursor");const Au="http://www.w3.org/2000/svg",VH="http://www.w3.org/1999/xlink",Ky="ProseMirror-icon";function NH(t){let e=0;for(let n=0;n{l.preventDefault(),r.classList.contains(Vt+"-disabled")||n.run(e.state,e.dispatch,e,l)});function i(l){if(n.select){let o=n.select(l);if(r.style.display=o?"":"none",!o)return!1}let a=!0;if(n.enable&&(a=n.enable(l)||!1,_y(r,Vt+"-disabled",!a)),n.active){let o=a&&n.active(l)||!1;_y(r,Vt+"-active",o)}return!0}return u(i,"update"),{dom:r,update:i}}};u(Jv,"MenuItem");let Ht=Jv;function Tu(t,e){return t._props.translate?t._props.translate(e):e}u(Tu,"translate");let Ru={time:0,node:null};function e9(t){Ru.time=Date.now(),Ru.node=t.target}u(e9,"markMenuEvent");function t9(t){return Date.now()-100{a&&a.close()&&(a=null,r.removeEventListener("mousedown",o))},"close");i.addEventListener("mousedown",d=>{d.preventDefault(),e9(d),a?s():(a=this.expand(l,n.dom),r.addEventListener("mousedown",o=u(()=>{t9(l)||s()},"listeningOnClose")))});function c(d){let f=n.update(d);return l.style.display=f?"":"none",f}return u(c,"update"),{dom:l,update:c}}expand(e,n){let r=qt("div",{class:Vt+"-dropdown-menu "+(this.options.class||"")},n),i=!1;function l(){return i?!1:(i=!0,e.removeChild(r),!0)}return u(l,"close"),e.appendChild(r),{close:l,node:r}}};u(e3,"Dropdown");let Wh=e3;function n9(t,e){let n=[],r=[];for(let i=0;i{let r=!1;for(let i=0;i{s.preventDefault(),e9(s),_y(l,Vt+"-submenu-wrap-active",!1),a||r.addEventListener("mousedown",a=u(()=>{t9(l)||(l.classList.remove(Vt+"-submenu-wrap-active"),r.removeEventListener("mousedown",a),a=null)},"listeningOnClose"))});function o(s){let c=n.update(s);return l.style.display=c?"":"none",c}return u(o,"update"),{dom:l,update:o}}};u(t3,"DropdownSubmenu");let Gy=t3;function ZH(t,e){let n=document.createDocumentFragment(),r=[],i=[];for(let a=0;azy(t),icon:On.join}),WH=new Ht({title:"Lift out of enclosing block",run:Ly,select:t=>Ly(t),icon:On.lift}),XH=new Ht({title:"Select parent node",run:Xy,select:t=>Xy(t),icon:On.selectParentNode});let jH=new Ht({title:"Undo last change",run:Ih,enable:t=>Ih(t),icon:On.undo}),qH=new Ht({title:"Redo last undone change",run:Eu,enable:t=>Eu(t),icon:On.redo});function UH(t,e){let n={run(r,i){return jy(t,e.attrs)(r,i)},select(r){return jy(t,e.attrs)(r)}};for(let r in e)n[r]=e[r];return new Ht(n)}u(UH,"wrapItem");function Hy(t,e){let n=Zh(t,e.attrs),r={run:n,enable(i){return n(i)},active(i){let{$from:l,to:a,node:o}=i.selection;return o?o.hasMarkup(t,e.attrs):a<=l.end()&&l.parent.hasMarkup(t,e.attrs)}};for(let i in e)r[i]=e[i];return new Ht(r)}u(Hy,"blockTypeItem");function _y(t,e,n){n?t.classList.add(e):t.classList.remove(e)}u(_y,"setClass");const Xh="ProseMirror-menubar";function YH(){if(typeof navigator>"u")return!1;let t=navigator.userAgent;return!/Edge\/\d/.test(t)&&/AppleWebKit/.test(t)&&/Mobile\/\w+/.test(t)}u(YH,"isIOS");function KH(t){return new Br({view(e){return new Jy(e,t)}})}u(KH,"menuBar");const n3=class n3{constructor(e,n){this.editorView=e,this.options=n,this.spacer=null,this.maxHeight=0,this.widthForMaxHeight=0,this.floating=!1,this.scrollHandler=null,this.wrapper=qt("div",{class:Xh+"-wrapper"}),this.menu=this.wrapper.appendChild(qt("div",{class:Xh})),this.menu.className=Xh,e.dom.parentNode&&e.dom.parentNode.replaceChild(this.wrapper,e.dom),this.wrapper.appendChild(e.dom);let{dom:r,update:i}=ZH(this.editorView,this.options.content);if(this.contentUpdate=i,this.menu.appendChild(r),this.update(),n.floating&&!YH()){this.updateFloat();let l=_H(this.wrapper);this.scrollHandler=a=>{let o=this.editorView.root;(o.body||o).contains(this.wrapper)?this.updateFloat(a.target.getBoundingClientRect?a.target:void 0):l.forEach(s=>s.removeEventListener("scroll",this.scrollHandler))},l.forEach(a=>a.addEventListener("scroll",this.scrollHandler))}}update(){this.contentUpdate(this.editorView.state),this.floating?this.updateScrollCursor():(this.menu.offsetWidth!=this.widthForMaxHeight&&(this.widthForMaxHeight=this.menu.offsetWidth,this.maxHeight=0),this.menu.offsetHeight>this.maxHeight&&(this.maxHeight=this.menu.offsetHeight,this.menu.style.minHeight=this.maxHeight+"px"))}updateScrollCursor(){let e=this.editorView.root.getSelection();if(!e.focusNode)return;let n=e.getRangeAt(0).getClientRects(),r=n[GH(e)?0:n.length-1];if(!r)return;let i=this.menu.getBoundingClientRect();if(r.topi.top){let l=HH(this.wrapper);l&&(l.scrollTop-=i.bottom-r.top)}}updateFloat(e){let n=this.wrapper,r=n.getBoundingClientRect(),i=e?Math.max(0,e.getBoundingClientRect().top):0;if(this.floating)if(r.top>=i||r.bottom(this.editorView.dom.ownerDocument.defaultView||window).innerHeight?"none":"",e&&(this.menu.style.top=i+"px")}else if(r.top=this.menu.offsetHeight+10){this.floating=!0;let l=this.menu.getBoundingClientRect();this.menu.style.left=l.left+"px",this.menu.style.width=l.width+"px",e&&(this.menu.style.top=i+"px"),this.menu.style.position="fixed",this.spacer=qt("div",{class:Xh+"-spacer",style:`height: ${l.height}px`}),n.insertBefore(this.spacer,this.menu)}}destroy(){this.wrapper.parentNode&&this.wrapper.parentNode.replaceChild(this.editorView.dom,this.wrapper)}};u(n3,"MenuBarView");let Jy=n3;function GH(t){return t.anchorNode==t.focusNode?t.anchorOffset>t.focusOffset:t.anchorNode.compareDocumentPosition(t.focusNode)==Node.DOCUMENT_POSITION_FOLLOWING}u(GH,"selectionIsInverted");function HH(t){for(let e=t.parentNode;e;e=e.parentNode)if(e.scrollHeight>e.clientHeight)return e}u(HH,"findWrappingScrollable");function _H(t){let e=[t.ownerDocument.defaultView||window];for(let n=t.parentNode;n;n=n.parentNode)e.push(n);return e}u(_H,"getAllWrapping");const r3=class r3{constructor(e,n,r={}){this.match=e,this.match=e,this.handler=typeof n=="string"?JH(n):n,this.undoable=r.undoable!==!1,this.inCode=r.inCode||!1}};u(r3,"InputRule");let ir=r3;function JH(t){return function(e,n,r,i){let l=t;if(n[1]){let a=n[0].lastIndexOf(n[1]);l+=n[0].slice(a+n[1].length),r+=a;let o=r-i;o>0&&(l=n[0].slice(a-o,a)+l,r=i)}return e.tr.insertText(l,r,i)}}u(JH,"stringHandler");const e_=500;function t_({rules:t}){let e=new Br({state:{init(){return null},apply(n,r){let i=n.getMeta(this);return i||(n.selectionSet||n.docChanged?null:r)}},props:{handleTextInput(n,r,i,l){return i9(n,r,i,l,t,e)},handleDOMEvents:{compositionend:n=>{setTimeout(()=>{let{$cursor:r}=n.state.selection;r&&i9(n,r.pos,r.pos,"",t,e)})}}},isInputRules:!0});return e}u(t_,"inputRules");function i9(t,e,n,r,i,l){if(t.composing)return!1;let a=t.state,o=a.doc.resolve(e),s=o.parent.textBetween(Math.max(0,o.parentOffset-e_),o.parentOffset,null,"\uFFFC")+r;for(let c=0;c{let n=t.plugins;for(let r=0;r=0;s--)a.step(o.steps[s].invert(o.docs[s]));if(l.text){let s=a.doc.resolve(l.from).marks();a.replaceWith(l.from,l.to,t.schema.text(l.text,s))}else a.delete(l.from,l.to);e(a)}return!0}}return!1},"undoInputRule"),r_=new ir(/--$/,"\u2014"),i_=new ir(/\.\.\.$/,"\u2026"),l_=new ir(/(?:^|[\s\{\[\(\<'"\u2018\u201C])(")$/,"\u201C"),a_=new ir(/"$/,"\u201D"),o_=new ir(/(?:^|[\s\{\[\(\<'"\u2018\u201C])(')$/,"\u2018"),s_=new ir(/'$/,"\u2019"),u_=[l_,a_,o_,s_];function e1(t,e,n=null,r){return new ir(t,(i,l,a,o)=>{let s=n instanceof Function?n(l):n,c=i.tr.delete(a,o),d=c.doc.resolve(a),f=d.blockRange(),h=f&&Kb(f,e,s);if(!h)return null;c.wrap(f,h);let p=c.doc.resolve(a-1).nodeBefore;return p&&p.type==e&&ja(c.doc,a-1)&&(!r||r(l,p))&&c.join(a-1),c})}u(e1,"wrappingInputRule");function l9(t,e,n=null){return new ir(t,(r,i,l,a)=>{let o=r.doc.resolve(l),s=n instanceof Function?n(i):n;return o.node(-1).canReplaceWith(o.index(-1),o.indexAfter(-1),e)?r.tr.delete(l,a).setBlockType(l,l,e,s):null})}u(l9,"textblockTypeInputRule");const jh="ProseMirror-prompt";function a9(t){let e=document.body.appendChild(document.createElement("div"));e.className=jh;let n=u(h=>{e.contains(h.target)||r()},"mouseOutside");setTimeout(()=>window.addEventListener("mousedown",n),50);let r=u(()=>{window.removeEventListener("mousedown",n),e.parentNode&&e.parentNode.removeChild(e)},"close"),i=[];for(let h in t.fields)i.push(t.fields[h].render());let l=document.createElement("button");l.type="submit",l.className=jh+"-submit",l.textContent="OK";let a=document.createElement("button");a.type="button",a.className=jh+"-cancel",a.textContent="Cancel",a.addEventListener("click",r);let o=e.appendChild(document.createElement("form"));t.title&&(o.appendChild(document.createElement("h5")).textContent=t.title),i.forEach(h=>{o.appendChild(document.createElement("div")).appendChild(h)});let s=o.appendChild(document.createElement("div"));s.className=jh+"-buttons",s.appendChild(l),s.appendChild(document.createTextNode(" ")),s.appendChild(a);let c=e.getBoundingClientRect();e.style.top=(window.innerHeight-c.height)/2+"px",e.style.left=(window.innerWidth-c.width)/2+"px";let d=u(()=>{let h=c_(t.fields,i);h&&(r(),t.callback(h))},"submit");o.addEventListener("submit",h=>{h.preventDefault(),d()}),o.addEventListener("keydown",h=>{h.keyCode==27?(h.preventDefault(),r()):h.keyCode==13&&!(h.ctrlKey||h.metaKey||h.shiftKey)?(h.preventDefault(),d()):h.keyCode==9&&window.setTimeout(()=>{e.contains(document.activeElement)||r()},500)});let f=o.elements[0];f&&f.focus()}u(a9,"openPrompt");function c_(t,e){let n=Object.create(null),r=0;for(let i in t){let l=t[i],a=e[r++],o=l.read(a),s=l.validate(o);if(s)return d_(a,s),null;n[i]=l.clean(o)}return n}u(c_,"getValues");function d_(t,e){let n=t.parentNode,r=n.appendChild(document.createElement("div"));r.style.left=t.offsetLeft+t.offsetWidth+2+"px",r.style.top=t.offsetTop-5+"px",r.className="ProseMirror-invalid",r.textContent=e,setTimeout(()=>n.removeChild(r),1500)}u(d_,"reportInvalid");const i3=class i3{constructor(e){this.options=e}read(e){return e.value}validateType(e){return null}validate(e){return!e&&this.options.required?"Required field":this.validateType(e)||(this.options.validate?this.options.validate(e):null)}clean(e){return this.options.clean?this.options.clean(e):e}};u(i3,"Field");let t1=i3;const l3=class l3 extends t1{render(){let e=document.createElement("input");return e.type="text",e.placeholder=this.options.label,e.value=this.options.value||"",e.autocomplete="off",e}};u(l3,"TextField");let Pl=l3;function o9(t,e){let n=t.selection.$from;for(let r=n.depth;r>=0;r--){let i=n.index(r);if(n.node(r).canReplaceWith(i,i,e))return!0}return!1}u(o9,"canInsert");function f_(t){return new Ht({title:"Insert image",label:"Image",enable(e){return o9(e,t)},run(e,n,r){let{from:i,to:l}=e.selection,a=null;e.selection instanceof ae&&e.selection.node.type==t&&(a=e.selection.node.attrs),a9({title:"Insert image",fields:{src:new Pl({label:"Location",required:!0,value:a&&a.src}),title:new Pl({label:"Title",value:a&&a.title}),alt:new Pl({label:"Description",value:a?a.alt:e.doc.textBetween(i,l," ")})},callback(o){r.dispatch(r.state.tr.replaceSelectionWith(t.createAndFill(o))),r.focus()}})}})}u(f_,"insertImageItem");function s9(t,e){let n={label:e.title,run:t};for(let r in e)n[r]=e[r];return!e.enable&&!e.select&&(n[e.enable?"enable":"select"]=r=>t(r)),new Ht(n)}u(s9,"cmdItem");function n1(t,e){let{from:n,$from:r,to:i,empty:l}=t.selection;return l?!!e.isInSet(t.storedMarks||r.marks()):t.doc.rangeHasMark(n,i,e)}u(n1,"markActive");function r1(t,e){let n={active(r){return n1(r,t)}};for(let r in e)n[r]=e[r];return s9(ki(t),n)}u(r1,"markItem");function h_(t){return new Ht({title:"Add or remove link",icon:On.link,active(e){return n1(e,t)},enable(e){return!e.selection.empty},run(e,n,r){if(n1(e,t))return ki(t)(e,n),!0;a9({title:"Create a link",fields:{href:new Pl({label:"Link target",required:!0}),title:new Pl({label:"Title"})},callback(i){ki(t,i)(r.state,r.dispatch),r.focus()}})}})}u(h_,"linkItem");function u9(t,e){return s9(Ny(t,e.attrs),e)}u(u9,"wrapListItem");function c9(t){let e={},n;(n=t.marks.strong)&&(e.toggleStrong=r1(n,{title:"Toggle strong style",icon:On.strong})),(n=t.marks.em)&&(e.toggleEm=r1(n,{title:"Toggle emphasis",icon:On.em})),(n=t.marks.code)&&(e.toggleCode=r1(n,{title:"Toggle code font",icon:On.code})),(n=t.marks.link)&&(e.toggleLink=h_(n));let r;if((r=t.nodes.image)&&(e.insertImage=f_(r)),(r=t.nodes.bullet_list)&&(e.wrapBulletList=u9(r,{title:"Wrap in bullet list",icon:On.bulletList})),(r=t.nodes.ordered_list)&&(e.wrapOrderedList=u9(r,{title:"Wrap in ordered list",icon:On.orderedList})),(r=t.nodes.blockquote)&&(e.wrapBlockQuote=UH(r,{title:"Wrap in block quote",icon:On.blockquote})),(r=t.nodes.paragraph)&&(e.makeParagraph=Hy(r,{title:"Change to paragraph",label:"Plain"})),(r=t.nodes.code_block)&&(e.makeCodeBlock=Hy(r,{title:"Change to code block",label:"Code"})),r=t.nodes.heading)for(let l=1;l<=10;l++)e["makeHead"+l]=Hy(r,{title:"Change to heading "+l,label:"Level "+l,attrs:{level:l}});if(r=t.nodes.horizontal_rule){let l=r;e.insertHorizontalRule=new Ht({title:"Insert horizontal rule",label:"Horizontal rule",enable(a){return o9(a,l)},run(a,o){o(a.tr.replaceSelectionWith(l.create()))}})}let i=u(l=>l.filter(a=>a),"cut");return e.insertMenu=new Wh(i([e.insertImage,e.insertHorizontalRule]),{label:"Insert"}),e.typeMenu=new Wh(i([e.makeParagraph,e.makeCodeBlock,e.makeHead1&&new Gy(i([e.makeHead1,e.makeHead2,e.makeHead3,e.makeHead4,e.makeHead5,e.makeHead6]),{label:"Heading"})]),{label:"Type..."}),e.inlineMenu=[i([e.toggleStrong,e.toggleEm,e.toggleCode,e.toggleLink])],e.blockMenu=[i([e.wrapBulletList,e.wrapOrderedList,e.wrapBlockQuote,LH,WH,XH])],e.fullMenu=e.inlineMenu.concat([[e.insertMenu,e.typeMenu]],[[jH,qH]],e.blockMenu),e}u(c9,"buildMenuItems");const d9=typeof navigator<"u"?/Mac|iP(hone|[oa]d)/.test(navigator.platform):!1;function p_(t,e){let n={},r;function i(l,a){if(e){let o=e[l];if(o===!1)return;o&&(l=o)}n[l]=a}if(u(i,"bind"),i("Mod-z",Ih),i("Shift-Mod-z",Eu),i("Backspace",n_),d9||i("Mod-y",Eu),i("Alt-ArrowUp",zy),i("Alt-ArrowDown",mH),i("Mod-BracketLeft",Ly),i("Escape",Xy),(r=t.marks.strong)&&(i("Mod-b",ki(r)),i("Mod-B",ki(r))),(r=t.marks.em)&&(i("Mod-i",ki(r)),i("Mod-I",ki(r))),(r=t.marks.code)&&i("Mod-`",ki(r)),(r=t.nodes.bullet_list)&&i("Shift-Ctrl-8",Ny(r)),(r=t.nodes.ordered_list)&&i("Shift-Ctrl-9",Ny(r)),(r=t.nodes.blockquote)&&i("Ctrl->",jy(r)),r=t.nodes.hard_break){let l=r,a=zh(KR,(o,s)=>(s&&s(o.tr.replaceSelectionWith(l.create()).scrollIntoView()),!0));i("Mod-Enter",a),i("Shift-Enter",a),d9&&i("Ctrl-Enter",a)}if((r=t.nodes.list_item)&&(i("Enter",qG(r)),i("Mod-[",UG(r)),i("Mod-]",GG(r))),(r=t.nodes.paragraph)&&i("Shift-Ctrl-0",Zh(r)),(r=t.nodes.code_block)&&i("Shift-Ctrl-\\",Zh(r)),r=t.nodes.heading)for(let l=1;l<=6;l++)i("Shift-Ctrl-"+l,Zh(r,{level:l}));if(r=t.nodes.horizontal_rule){let l=r;i("Mod-_",(a,o)=>(o&&o(a.tr.replaceSelectionWith(l.create()).scrollIntoView()),!0))}return n}u(p_,"buildKeymap");function m_(t){return e1(/^\s*>\s$/,t)}u(m_,"blockQuoteRule");function g_(t){return e1(/^(\d+)\.\s$/,t,e=>({order:+e[1]}),(e,n)=>n.childCount+n.attrs.order==+e[1])}u(g_,"orderedListRule");function O_(t){return e1(/^\s*([-+*])\s$/,t)}u(O_,"bulletListRule");function b_(t){return l9(/^```$/,t)}u(b_,"codeBlockRule");function y_(t,e){return l9(new RegExp("^(#{1,"+e+"})\\s$"),t,n=>({level:n[1].length}))}u(y_,"headingRule");function v_(t){let e=u_.concat(i_,r_),n;return(n=t.nodes.blockquote)&&e.push(m_(n)),(n=t.nodes.ordered_list)&&e.push(g_(n)),(n=t.nodes.bullet_list)&&e.push(O_(n)),(n=t.nodes.code_block)&&e.push(b_(n)),(n=t.nodes.heading)&&e.push(y_(n,6)),t_({rules:e})}u(v_,"buildInputRules");function $_(t){let e=[v_(t.schema),ZR(p_(t.schema,t.mapKeys)),ZR(kH),PH(),TH()];return t.menuBar!==!1&&e.push(KH({floating:t.floatingMenu!==!1,content:t.menuContent||c9(t.schema).fullMenu})),t.history!==!1&&e.push(sH()),e.concat(new Br({props:{attributes:{class:"ProseMirror-example-setup-style"}}}))}u($_,"exampleSetup");const w_=wp.element.forwardRef(({rawView:t=!0,...e},n)=>{const[r,i]=wp.element.useState(e.value??""),[l,a]=wp.element.useState("visual"),o=wp.element.useRef(null),s=window.tangibleFields.types.get("button-group");return wp.element.useEffect(()=>{e.onChange&&e.onChange(r)},[r]),wp.element.useEffect(()=>{const c=new hh({nodes:XG(IR.spec.nodes,"paragraph block*","block"),marks:IR.spec.marks}),d=$_({schema:c,menuContent:c9(c).fullMenu}),f=document.createElement("div"),h=document.createElement("div");h.innerHTML=r,f.appendChild(h);const p=uu.fromSchema(c).parse(h,{preserveWhitespace:!0}),m=iy.create({doc:p,plugins:d});return o.current=new By(n.current,{state:m,dispatchTransaction:g=>{const O=o.current.state.apply(g);o.current.updateState(O);const b=o.current.dom.innerHTML;i(b)}}),()=>o.current.destroy()},[l]),wp.element.createElement("div",{className:"tf-editor-content"},t&&wp.element.createElement("div",{className:"tf-editor-view-toggle"},wp.element.createElement(s,{label:"Switch view",labelVisuallyHidden:!0,value:l,onChange:c=>{a(c),c==="raw"&&(n.current=null)},choices:{visual:"Visual",raw:"Raw"}})),l==="visual"?wp.element.createElement("div",{className:"tf-editor-visual-view",ref:n}):wp.element.createElement(bT,{value:r,onChange:i}))});var x_=Object.defineProperty,S_=u((t,e)=>x_(t,"name",{value:e,configurable:!0}),"n$7");const C_=S_(t=>{const[e,n]=wp.element.useState(t.value),r=wp.element.useRef(null),{labelProps:i,inputProps:l,descriptionProps:a}=wr(t,r);return wp.element.useEffect(()=>{t.onChange&&t.onChange(e)},[e]),wp.element.createElement("div",{className:"tf-editor"},t.label&&wp.element.createElement(we,{labelProps:i,parent:t},t.label),wp.element.createElement("input",{...l,type:"hidden",name:t.name,value:e}),wp.element.createElement(w_,{ref:r,value:e,onChange:n,rawView:t.rawView??!0}),t.description&&wp.element.createElement($e,{descriptionProps:a,parent:t},t.description))},"Editor");var D_=Object.defineProperty,k_=u((t,e)=>D_(t,"name",{value:e,configurable:!0}),"l$9");const P_=k_(t=>{const e=wp.element.useRef(),{labelProps:n,inputProps:r,descriptionProps:i}=wr(t,e),[l,a]=wp.element.useState(t.value);return wp.element.useEffect(()=>{a(t.value)},[t.value]),wp.element.useEffect(()=>{setTimeout(()=>{tinyMCE.init({target:e.current,setup:function(o){o.on("input",()=>a(o.getContent()))}})})},[]),wp.element.useEffect(()=>t.onChange&&t.onChange(l),[l]),wp.element.createElement("div",{className:"tf-editor"},t.label&&wp.element.createElement(we,{labelProps:n,parent:t},t.label),wp.element.createElement("textarea",{ref:e,...r},l),t.description&&wp.element.createElement($e,{descriptionProps:i,parent:t},t.description))},"TinyMce");var E_=Object.defineProperty,A_=u((t,e)=>E_(t,"name",{value:e,configurable:!0}),"t$3"),f9=A_(t=>{const{editor:e}=t;return e==="tinymce"?wp.element.createElement(P_,{...t}):wp.element.createElement(C_,{...t})},"default"),T_=Object.defineProperty,Qu=u((t,e)=>T_(t,"name",{value:e,configurable:!0}),"l$8");const h9=Qu(t=>{const e={},n=t.dependent?.callback??!1;for(const r in t){const i=t[r];if(typeof i=="object"&&!Array.isArray(i)){const a=h9(i);if(Object.keys(a).length===0)continue;for(const o in a)e[o]||(e[o]={}),e[o][r]={__isWrapped:!0,...a[o]}}if(typeof i!="string")continue;const l=R_(i,n);l&&(e[l.name]||(e[l.name]={}),e[l.name][r]=l.config)}return e},"getDependentFields"),p9=Qu(t=>t.startsWith("{{")&&t.endsWith("}}"),"isDependentString"),R_=Qu((t,e)=>{if(!p9(t))return!1;const n=t.slice(2,t.length-2).trim();if(!n.includes("."))return{name:n,config:{__returnedType:"full",__callback:e}};const[r,i]=n.split(".");return{name:r,config:{__returnedType:"partial",__returnedAttribute:i,__callback:e}}},"getDependentValue"),m9=Qu((t,e,n)=>{const r=e.__returnedType==="partial"?n()?.[e.__returnedAttribute]:n();let i=e.__callback??!1;return typeof i=="string"&&(i=tangibleFields.fields.dependent.__callbacks[i]??!1),i?i({attribute:t,value:r}):r},"getFieldValue"),Q_=Qu((t,e,n)=>{if(e===!1)return{...t};const r={...t};for(const i in e){const l=e[i];for(const a in l){const o=l[a];if(o.__isWrapped){for(const s in o){if(s==="__isWrapped")continue;const c=m9(s,o[s],()=>n(i));r[a]={...r[a],[s]:c}}continue}r[a]=m9(a,o,()=>n(i))}}return r},"mergeDependentProps");var M_=Object.defineProperty,g9=u((t,e)=>M_(t,"name",{value:e,configurable:!0}),"o$5");const O9=g9(({itemProps:t,refresh:e,data:n,children:r})=>{const i=Object.assign({},t);delete i.value,delete i.onChange,delete i.class,delete i.wrapper;const l=wp.element.useMemo(()=>t.dependent?Object.assign({},h9(t)):!1,[]),a=g9(c=>{!t.dependent||!l||Object.keys(l).includes(c)&&e()},"maybeUpdateProps"),o=wp.element.useCallback(c=>{c.props?.itemType!=="subfield"&&a(c.name)},[]);wp.element.useEffect(()=>{const c=Yl("valueChange",o);return()=>Xp("valueChange",c)},[o]),wp.element.useEffect(()=>{n.watcher&&n.watcher(c=>{a(c)})},[o]);const s=wp.element.useMemo(()=>Q_(i,l,n.getValue),[]);return r(s)},"DependendWrapper");var B_=Object.defineProperty,V_=u((t,e)=>B_(t,"name",{value:e,configurable:!0}),"u$4");const b9=V_(t=>{const e=[];if(t.length===0)return!0;for(const n in t){const r=t[n];if(["_and","_or"].includes(n)){const i=r.map(b9);if(i.length===0){e.push(!1);continue}switch(n){case"_or":e.push(i.filter(Boolean).length>0);break;case"_and":e.push(i.length===i.filter(Boolean).length);break}continue}Object.entries(r).forEach(([i,l])=>{switch(i){case"_eq":e.push(n==l);break;case"_neq":e.push(n!=l);break;case"_lt":e.push(nl);break;case"_lte":e.push(n<=l);break;case"_gte":e.push(n>=l);break;case"_in":e.push(l.includes(n));break;case"_nin":e.push(!l.includes(n));break;case"_contains":e.push(n.includes(l));break;case"_ncontains":e.push(!n.includes(l));break;case"_re":e.push(new RegExp(l).test(n));break;default:e.push(!1)}})}return e.length>0&&e.length===e.filter(Boolean).length},"evaluateCondition");var N_=Object.defineProperty,qh=u((t,e)=>N_(t,"name",{value:e,configurable:!0}),"i$7");const F_=qh((t,e)=>(t=typeof t=="object"?y9(t,e):{},b9(t)),"evaluateFieldVisibility"),y9=qh((t,e)=>{const n={};for(const r in t){if(["_and","_or"].includes(r)){n[r]=t[r].map(l=>y9(l,e));continue}const i=r.includes(".")?I_(r,e):e(r);n[i]=t[r]}return n},"replaceFieldValue"),I_=qh((t,e)=>{const[n,r]=t.split(".");let i=e(n);if(typeof i=="string")try{i=JSON.parse(i)}catch{return""}return i[r]??""},"getPartialValue"),v9=qh(t=>{const e=[];for(const n in t){if(["_and","_or"].includes(n)){for(const r in t[n])e.push(v9(t[n][r]));continue}e.push(n)}return e.flat().map(n=>n.split(".")[0])},"getTriggerFields");var Z_=Object.defineProperty,$9=u((t,e)=>Z_(t,"name",{value:e,configurable:!0}),"o$4");const w9=$9(({visibility:t,data:e,...n})=>{const[r,i]=wp.element.useState(!1),l=$9(()=>{if(!t.condition){i(!0);return}const o=e.getValue??control.getValue,s=F_(t.condition,o);i(t.action!=="hide"?s:!s)},"evaluateVisibility");wp.element.useEffect(()=>{l(),!(!t.condition||!a)&&(Yl("valueChange",o=>{o.props?.itemType!=="subfield"&&a.includes(o.name)&&setTimeout(l)}),e.watcher&&e.watcher(o=>{a.includes(o)&&l()}),Yl("evaluateVisibility",()=>l()))},[]);const a=wp.element.useMemo(()=>t.condition?v9(t.condition):!1,[]);return r?n.children:wp.element.createElement(wp.element.Fragment,null)},"VisibilityWrapper");var z_=Object.defineProperty,Uh=u((t,e)=>z_(t,"name",{value:e,configurable:!0}),"r$7");const x9=Uh(({children:t,itemType:e,setValue:n=!1,name:r})=>{const[i,l]=wp.element.useState(0),a=Uh(()=>l(i+1),"refreshRender"),o=Uh(c=>{!r||r!==c.name||(a(),n&&n(c.value))},"fieldValueChanged"),s=Uh(c=>{c===r&&a()},"maybeRerender");return wp.element.useEffect(()=>{if(e!=="field")return;const c=Yl("_refreshFieldValue",o),d=Yl("_fieldRerender",s);return()=>{Xp("_refreshFieldValue",c),Xp("_fieldRerender",d)}},[i]),wp.element.createElement(wp.element.Fragment,{key:i},t(a))},"RenderWrapper");var L_=Object.defineProperty,W_=u((t,e)=>L_(t,"name",{value:e,configurable:!0}),"m$3");const i1=W_(({visibility:t,data:e,afterInitialization:n=!1,...r})=>{const{ControlContext:i}=tangibleFields,l=wp.element.useContext(i),a={...r.wrapper??{},className:`${r?.wrapper?.class??""} ${l.wrapper}`};delete a.class,wp.element.useEffect(()=>{n&&n()},[]);const o=Vu.get(r.type??!1,"element");return o?wp.element.createElement(OC,{...a},wp.element.createElement(w9,{visibility:t,data:e},wp.element.createElement(x9,{itemType:r.itemType??"field",name:r.name??!1},s=>wp.element.createElement(O9,{refresh:s,data:e,itemProps:r},c=>wp.element.createElement(o,{...c,data:e}))))):wp.element.createElement(wp.element.Fragment,null)},"Element");var X_=Object.defineProperty,j_=u((t,e)=>X_(t,"name",{value:e,configurable:!0}),"n$6");const q_=j_(({config:t,values:e,onChange:n,data:r})=>{const i=Object.keys(Vu._types.element).includes(t.type??""),l=i?i1:Hh,a=i?{}:{value:e[t.name]??"",onChange:n};return wp.element.createElement(l,{itemType:i?"subelement":"subfield",visibility:{action:t.condition?.action??"show",condition:t.condition?.condition??!1},data:r,...t,...a})},"FieldGroupItem");var U_=Object.defineProperty,l1=u((t,e)=>U_(t,"name",{value:e,configurable:!0}),"s$5");const S9=l1(t=>{const[e,n]=wp.element.useState([]),[r,i]=wp.element.useState(!1),[l,a]=wp.element.useState(yn(t.value??"")),o=wp.element.useRef();o.current=l;const s=l1((f,h)=>{a({...l,[f]:h}),e.length!==0&&i(()=>()=>{e.map(p=>p(f))})},"setAttribute");wp.element.useEffect(()=>{t.onChange&&t.onChange(l),r&&(r(),i(!1))},[l]);const c=t.fields??[],d=l1(f=>c.map(h=>h.name??!1).includes(f),"hasField");return wp.element.createElement("div",{className:"tf-field-group"},wp.element.createElement("input",{type:"hidden",name:t.name??"",value:JSON.stringify(l)}),c.map((f,h)=>wp.element.createElement("div",{key:h,className:"tf-field-group-item"},wp.element.createElement(q_,{values:l,config:f,onChange:p=>s(f.name,p),data:{getValue:p=>d(p)?o.current[p]??"":t.data.getValue(p)??"",watcher:p=>{n(m=>[...m,g=>p(g)])}}}))))},"FieldGroup");var Y_=Object.defineProperty,C9=u((t,e)=>Y_(t,"name",{value:e,configurable:!0}),"a$4");const K_=C9(t=>{const{api:e}=TangibleFields,n=new FormData;return n.append("file",t),n.append("title",t.name),n.append("caption",t.caption),SU(e.endpoint.media,n)},"postMedia"),D9=C9(t=>{const{api:e}=TangibleFields;return xT(e.endpoint.media+t)},"getMedia");var G_=Object.defineProperty,k9=u((t,e)=>G_(t,"name",{value:e,configurable:!0}),"s$4");const H_=k9(t=>{const[e,n]=wp.element.useState(!1),[r,i]=wp.element.useState(!1);if(wp.element.useEffect(()=>{k9(async()=>{const o=await D9(t.id);i(o),n(!0)},"fetch")()},[]),!e||!r)return wp.element.createElement("li",{className:"tf-file-item"},"Loading...");const l=r.source_url,a=l.split("/").pop().split(".").length===2?l.split("/").pop().split(".")[1]:"";return wp.element.createElement("li",{className:"tf-file-item"},r.media_type==="image"&&wp.element.createElement("img",{loading:"lazy",decoding:"async",src:l,alt:r.alt_text,className:"attachment-medium size-medium"}),wp.element.createElement("span",null,`${r.title.rendered}${a!==""?"."+a:""}`),wp.element.createElement(oe,{type:"action",onPress:()=>t.remove()},"Remove"))},"FilePreview");var __=Object.defineProperty,zr=u((t,e)=>__(t,"name",{value:e,configurable:!0}),"l$5");const J_=zr(t=>{const{mimetypes:e}=TangibleFields,n=wp.element.useRef(null),[r,i]=wp.element.useState(!1),[l,a]=wp.element.useState(!1),[o,s]=wp.element.useState(t.value?Array.isArray(t.value)?t.value:JSON.parse(t.value):[]),[c,d]=wp.element.useState(!1),{labelProps:f,fieldProps:h,descriptionProps:p}=mt(t);wp.element.useEffect(()=>t.onChange&&t.onChange(o),[o]);const m=t.placeholder??"No file selected",g=t.maxUpload??!1,O=zr(()=>(g===!1||o.length(g===!1||o.length{a(!0),d(!1),K_(r[0]).then(P=>s([...o,P.id])).catch(P=>d(P.message)).finally(()=>{i(!1),a(!1)})},"upload"),$=zr(P=>{s([...o.slice(0,P),...o.slice(P+1)])},"removeUpload"),C=zr(()=>t.wp_media===!1||t.wp_media==="false","isWpMediaDisabled"),w=zr(()=>{const{mimeTypes:P}=t,v=Object.values(e),k=zr(D=>D.includes("/")?D:v.filter(S=>S.startsWith(`${D}/`)),"filterByMimetypePrefix");return(P?Array.isArray(P)?P.flatMap(k):k(P):v).join(", ")},"getAllowedTypes"),x=zr(()=>{const P=wp.media({title:"Choose File",multiple:!1,library:{type:w()}});P.on("select",()=>{const v=P.state().get("selection").first().toJSON();s([...o,v.id])}),P.open()},"open");return wp.element.createElement("div",{className:"tf-file"},t.label&&wp.element.createElement(we,{labelProps:f,parent:t},t.label),wp.element.createElement(on,null,wp.element.createElement("input",{type:"file",ref:n,accept:w(),onChange:P=>i(P.target.files),...h})),wp.element.createElement("div",{className:"tf-file-container"},wp.element.createElement("input",{type:"hidden",name:t.name??"",value:JSON.stringify(o)}),wp.element.createElement("ul",{className:"tf-file-list"},o.map((P,v)=>wp.element.createElement(H_,{key:P,id:P,remove:()=>$(v)}))),wp.element.createElement("div",{className:"tf-file-field"},wp.element.createElement(oe,{type:"action",onPress:()=>C()?n.current.click():x(),isDisabled:!b(),"aria-hidden":"true"},t.buttonText??"Choose"),wp.element.createElement("div",{className:"tf-file-text","aria-hidden":"true"},r.length>0?r[0].name:m),C()&&wp.element.createElement(oe,{type:"action",onPress:y,isDisabled:!O()},t.uploadText??"Upload"))),c&&wp.element.createElement(zk,{message:c,type:"error",onDismiss:()=>d(!1)}),t.description&&wp.element.createElement($e,{descriptionProps:p,parent:t},t.description))},"FileUpload");var eJ=Object.defineProperty,Yh=u((t,e)=>eJ(t,"name",{value:e,configurable:!0}),"l$4");const tJ=Yh(t=>{const[e,n]=wp.element.useState(!1),[r,i]=wp.element.useState(!1),[l,a]=wp.element.useState(t.value&&t.value!==""?typeof t.value!="object"?JSON.parse(t.value):t.value:{type:"linear",angle:45,shape:"ellipse",colors:["rgba(0,255,255,1)","rgba(0,255,255,1)"]}),o=wp.element.useRef(),s=wp.element.useRef(),c=wp.element.useRef(),d=wp.element.useRef(),{labelProps:f,fieldProps:h,descriptionProps:p}=mt(t);wp.element.useEffect(()=>{t.onChange&&t.onChange({...l,stringValue:m()})},[l]);const m=Yh(()=>{switch(l.type){case"linear":return`linear-gradient(${l.angle}deg, ${l.colors[0]} 0%, ${l.colors[1]} 100%)`;case"radial":return`radial-gradient(${l.shape}, ${l.colors[0]} 0%, ${l.colors[1]} 100%)`;case"conic":return`conic-gradient(${l.colors[0]} 0%, ${l.colors[1]} 100%)`}},"generateGradient"),g=Yh((b,y)=>{const $=[...l.colors];$[b]=y?.toString("rgba"),O("colors",$)},"updateColor"),O=Yh((b,y)=>{a({...l,[b]:y})},"updateValue");return wp.element.createElement("div",{className:"tf-gradient"},t.label&&wp.element.createElement(we,{labelProps:f,parent:t},t.label),wp.element.createElement("div",{className:"tf-gradient-container",ref:d},wp.element.createElement("input",{ref:s,type:"text",className:"tf-gradient-input",value:m(),onClick:b=>i(!0),readOnly:!0}),wp.element.createElement("input",{type:"hidden",ref:o,value:JSON.stringify(l),name:t.name??"",...h}),r&&wp.element.createElement(kr,{state:{isOpen:r,close:()=>i(!1)},triggerRef:s,placement:"bottom start",style:{width:d?.current?.offsetWidth,minWidth:"fit-content"},className:"tf-gradient-popover"},wp.element.createElement(rs,null,wp.element.createElement(jc,{autoFocus:!0},wp.element.createElement("div",{className:"tf-gradient-popover-content"},wp.element.createElement("div",{className:"tf-gradient-preview",ref:c,style:{background:m()}},wp.element.createElement("div",{className:"tf-gradient-colors"},l.colors?.map((b,y)=>wp.element.createElement("div",{key:y,className:"tf-gradient-color tf-color-area-thumb",style:{background:l.colors[y]},onClick:()=>n(y)})))),wp.element.createElement("div",{className:"tf-gradient-settings"},wp.element.createElement("div",{className:"tf-gradient-settings-row"},wp.element.createElement(Fs,{label:"Gradient type",selectedKey:l.type??"linear",onSelectionChange:b=>O("type",b)},wp.element.createElement(Sr,{key:"linear"},"Linear"),wp.element.createElement(Sr,{key:"radial"},"Radial"),wp.element.createElement(Sr,{key:"conic"},"Conical"))),wp.element.createElement("div",null,l.type==="linear"&&wp.element.createElement("div",{className:"tf-gradient-settings-row"},wp.element.createElement(hf,{label:"Angle",value:l.angle??45,onChange:b=>O("angle",b)})),l.type==="radial"&&wp.element.createElement("div",{className:"tf-gradient-settings-row"},wp.element.createElement(Fs,{label:"Shape",selectedKey:l.shape??"ellipse",onSelectionChange:b=>O("shape",b)},wp.element.createElement(Sr,{key:"circle"},"Circle"),wp.element.createElement(Sr,{key:"ellipse"},"Ellipse"))))))))),e!==!1&&wp.element.createElement(kr,{state:{isOpen:e!==!1,close:()=>n(!1)},triggerRef:c,placement:e===0?"bottom start":"bottom end"},wp.element.createElement(vT,{value:l.colors[e],onChange:b=>g(e,b),hasAlpha:!0,onFocusChange:b=>b===!1?n(!1):!1}))),t.description&&wp.element.createElement($e,{descriptionProps:p,parent:t},t.description))},"Gradient");var nJ=Object.defineProperty,P9=u((t,e)=>nJ(t,"name",{value:e,configurable:!0}),"a$3");const rJ=P9(t=>{const[e,n]=wp.element.useState(!1),[r,i]=wp.element.useState(!1);return wp.element.useEffect(()=>{P9(async()=>{const l=await D9(t.id);i(l),n(!0)},"fetch")()},[]),!e||!r?wp.element.createElement("div",{className:"tf-gallery-item"},"Loading..."):wp.element.createElement("div",{className:"tf-gallery-item"},wp.element.createElement("img",{src:r.source_url}))},"ImagePreview");var iJ=Object.defineProperty,Kh=u((t,e)=>iJ(t,"name",{value:e,configurable:!0}),"a$2");const lJ=Kh(t=>{const e=Kh(c=>(c!=="[]"?c.split(","):[]).map(d=>d.replaceAll("[","").replaceAll("]","").replaceAll('"',"")),"initValue"),[n,r]=wp.element.useState(t.value&&Array.isArray(t.value)?t.value:t.value?e(t.value):[]),{labelProps:i,inputProps:l,descriptionProps:a}=mt(t);wp.element.useEffect(()=>{t.onChange&&t.onChange(n)},[n]);const o=Kh(()=>{const c=wp.media({frame:"post",multiple:!0,button:{text:"Use this media"},library:{type:["image"]},state:n.length<1?"gallery":"gallery-edit",selection:s()});c.on({update:d=>{r(d.models.map(f=>f.id))},open:()=>{c.menuView.unset("playlist"),c.menuView.unset("video-playlist")}},void 0),c.open()},"open"),s=Kh(()=>{const c=wp.media.query({orderby:"post__in",order:"ASC",type:"image",perPage:-1,post__in:n});return new wp.media.model.Selection(c.models,{props:c.props.toJSON(),multiple:!0})},"getSelection");return wp.element.createElement("div",{className:"tf-gallery"},t.label&&wp.element.createElement(we,{labelProps:i,parent:t},t.label),wp.element.createElement("div",{className:"tf-gallery__controls"},wp.element.createElement("div",{className:"tf-gallery-preview"},n.map(c=>wp.element.createElement(rJ,{key:c,id:c})))),wp.element.createElement("div",{className:"tf-gallery-buttons"},wp.element.createElement(oe,{type:"action",onPress:o},n.length<1?"Create gallery":"Edit gallery"),n.length>0&&wp.element.createElement(oe,{type:"action",onPress:()=>r([])},"Clear gallery")),wp.element.createElement("input",{type:"hidden",name:t.name??"",value:n.join(","),...l}),t.description&&wp.element.createElement($e,{descriptionProps:a,parent:t},t.description))},"Gallery");var aJ=Object.defineProperty,oJ=u((t,e)=>aJ(t,"name",{value:e,configurable:!0}),"a$1");const sJ=oJ(t=>wp.element.createElement("input",{type:"hidden",name:t.name,value:t.value,...t.attributes,className:`tf-hidden ${t.class??""} ${t.className??""}`}),"InputHidden");var uJ=Object.defineProperty,Mu=u((t,e)=>uJ(t,"name",{value:e,configurable:!0}),"i$6");const cJ=Mu(t=>{const e={value:"",_canDelete:!0,_enabled:!0},[n,r]=wp.element.useState(yn(t.value??"[]",[]));wp.element.useEffect(()=>{t.onChange&&t.onChange(n)},[n]);const[i,l]=wp.element.useState(""),a=wp.element.useRef(0),{labelProps:o,fieldProps:s,descriptionProps:c}=mt(t),d=Mu(()=>{r([...n,{...e,value:i}]),l(""),a.current=a.current+1},"addSelectedItem"),f=Mu(m=>{r([...n.slice(0,m),...n.slice(m+1)])},"removeItem"),h=Mu((m,g,O)=>{setTimeout(()=>{r([...n.slice(0,m),{...n[m],[g]:O},...n.slice(m+1)])})},"updateItem"),p=Mu(m=>t.isAsync?m.label:t.choices[m]??m,"getItemText");return t.isAsync&&console.warn("Async mode is not supported yet for the list field"),wp.element.createElement("div",{className:"tf-list"},wp.element.createElement("input",{type:"hidden",name:t.name??"",value:JSON.stringify(n),...s}),wp.element.createElement("div",{className:"tf-list-container"},wp.element.createElement("div",{className:"tf-list-items"},wp.element.createElement("div",{className:"tf-list-header"},t.label&&wp.element.createElement(we,{labelProps:o,parent:t},t.label),wp.element.createElement("div",{className:"tf-list-header-actions"})),wp.element.createElement("div",{className:"tf-list-items"},n.map((m,g)=>wp.element.createElement("div",{key:m.value,className:"tf-list-item"},wp.element.createElement("div",{className:"tf-list-item-text"},p(m.value)),wp.element.createElement("div",{key:m,className:"tf-list-item-actions"},m._canDelete&&wp.element.createElement(oe,{type:"icon-trash",onPress:()=>f(g)}),t.useVisibility&&wp.element.createElement(oe,{type:"icon-eye",onPress:()=>h(g,"_enabled",!m._enabled),style:m._enabled?{}:{opacity:.5,filter:"grayscale(60%)"}})))))),wp.element.createElement("div",{className:"tf-list-search"},wp.element.createElement(ih,{...t,name:null,key:a.current,value:i,description:!1,labelVisuallyHidden:!0,disabledKeys:n.map(m=>m.value),multiple:!1,onChange:m=>{m&&l(m)}}),wp.element.createElement(oe,{type:"action",onPress:d,isDisabled:i===""},"Add"))),t.description&&wp.element.createElement($e,{descriptionProps:c,parent:t},t.description))},"List");var dJ=Object.defineProperty,fJ=u((t,e)=>dJ(t,"name",{value:e,configurable:!0}),"t$2"),hJ=fJ(t=>{const[e,n]=wp.element.useState(t.value??""),r=Jr(t.choices??{});return wp.element.useEffect(()=>t.onChange&&t.onChange(e),[e]),wp.element.createElement(jk,{...t,onChange:n},r.map(i=>wp.element.createElement(qk,{key:i.value??"",...i},i.label??"")))},"default"),pJ=Object.defineProperty,mJ=u((t,e)=>pJ(t,"name",{value:e,configurable:!0}),"m$1");const gJ=mJ(t=>{const[e,n]=wp.element.useState(t.value?z2(t.value):new Set),[r,i]=wp.element.useState(!1),l=H2({...t,selectionMode:"multiple",onSelectionChange:n,selectedKeys:e}),a=wp.element.useRef(),o=wp.element.useRef(),s=wp.element.useRef(),{listBoxProps:c,labelProps:d,descriptionProps:f}=oD(t,l,a);wp.element.useEffect(()=>{t.onChange&&t.onChange([...e])},[e]);const h=wp.element.createElement(Rg,{listBoxRef:a,state:l,items:t.items,...c});return wp.element.createElement("div",{className:"tf-multiple-select",ref:s},wp.element.createElement("input",{type:"hidden",name:t.name??"",value:[...e].join(",")}),t.label&&wp.element.createElement(we,{labelProps:d,parent:t},t.label),wp.element.createElement(oe,{type:"select",ref:o,onPress:()=>i(!r)},wp.element.createElement("span",{className:"tf-multiple-select__value"},e.size>0?e.size===1?e.size+" item selected":e.size+" items selected":t.placeholder??"Select an option"),wp.element.createElement("span",{"aria-hidden":"true",className:"tf-select-icon"},"\u25BC")),r?wp.element.createElement(kr,{state:{isOpen:r,close:()=>i(!1)},triggerRef:o,placement:"bottom start",style:{width:s?.current?.offsetWidth}},h):wp.element.createElement(on,null,h),t.description&&wp.element.createElement($e,{descriptionProps:f,parent:t},t.description))},"MultipleSelect");var OJ=Object.defineProperty,bJ=u((t,e)=>OJ(t,"name",{value:e,configurable:!0}),"t$1"),E9=bJ(t=>t.multiple?wp.element.createElement(gJ,{items:Jr(t.choices??{}),...t,onChange:t.onChange},xd):wp.element.createElement(Fs,{selectedKey:t.value,onSelectionChange:t.onChange,items:Jr(t.choices??{}),...t},xd),"default"),yJ=Object.defineProperty,A9=u((t,e)=>yJ(t,"name",{value:e,configurable:!0}),"l$3");const vJ=A9(t=>{const e=t.units??["px"],{labelProps:n,fieldProps:r,descriptionProps:i}=mt(t),[l,a]=wp.element.useState(yn(t.value??"",{value:0,unit:e[0]}));wp.element.useEffect(()=>t.onChange&&t.onChange(l),[l]);const o=A9((s,c)=>{a({...l,[c]:s})},"setAttribute");return wp.element.createElement("div",{className:"tf-simple-dimensions"},t.label&&wp.element.createElement(we,{labelProps:n,parent:t},t.label),wp.element.createElement("input",{type:"hidden",name:t.name??"",value:JSON.stringify(l),...r}),wp.element.createElement("div",{className:"tf-simple-dimensions-container"},wp.element.createElement("div",null,wp.element.createElement(hf,{value:l.value??0,name:"value",label:"Dimension number",labelVisuallyHidden:!0,description:!1,onChange:s=>o(s,"value")})),wp.element.createElement(Fs,{label:"Dimension unit",labelVisuallyHidden:!0,description:!1,selectedKey:l.unit??"px",onSelectionChange:s=>o(s,"unit"),placeholder:"unit"},e.map(s=>wp.element.createElement(Sr,{key:s},s)))),t.description&&wp.element.createElement($e,{descriptionProps:i,parent:t},t.description))},"Dimensions");var $J=Object.defineProperty,wJ=u((t,e)=>$J(t,"name",{value:e,configurable:!0}),"l$2");const xJ=wJ(t=>{const e=Ew(t),n=wp.element.useRef(),{inputProps:r}=GV({...t,children:t.label??""},e,n),{focusProps:i}=Qo(),{labelProps:l,fieldProps:a,descriptionProps:o}=mt(t);return wp.element.useEffect(()=>t.onChange&&t.onChange(e.isSelected),[e.isSelected]),wp.element.useEffect(()=>{t.value!==e.isSelected&&e.setSelected(t.value)},[t.value]),wp.element.createElement("div",{className:"tf-switch"},t.label&&wp.element.createElement(we,{labelProps:l,parent:t},t.label),wp.element.createElement("label",{className:"tf-switch-label"},wp.element.createElement(on,null,wp.element.createElement("input",{...a,...r,...i,ref:n,name:""})),wp.element.createElement("div",{className:`tf-switch-element${e.isSelected?"-selected":""}`,"aria-hidden":"true"},wp.element.createElement("span",null))),t.description&&wp.element.createElement($e,{descriptionProps:o,parent:t},t.description))},"Switch");var SJ=Object.defineProperty,CJ=u((t,e)=>SJ(t,"name",{value:e,configurable:!0}),"t"),a1=CJ(t=>{const e=t.valueOn??"on",n=t.valueOff??"off",[r,i]=wp.element.useState(t.value??n);return wp.element.useEffect(()=>t.onChange&&t.onChange(r),[r]),wp.element.useEffect(()=>{[e,n].includes(t.value)&&t.value!==r&&i(t.value)},[t.value]),wp.element.createElement(wp.element.Fragment,null,wp.element.createElement("input",{type:"hidden",name:t.name??"",value:r}),wp.element.createElement(xJ,{label:t.label??"",labelVisuallyHidden:t.labelVisuallyHidden??!1,description:t.description??"",value:r===e,onChange:l=>i(l?e:n)}))},"default"),DJ=Object.defineProperty,kJ=u((t,e)=>DJ(t,"name",{value:e,configurable:!0}),"n$4");const T9=kJ(t=>{const[e,n]=wp.element.useState(t.value??""),r=wp.element.useRef(),{labelProps:i,inputProps:l,descriptionProps:a}=wr(t,r);return wp.element.useEffect(()=>{t.onChange&&t.onChange(e)},[e]),wp.element.createElement("div",{className:"tf-text"},t.label&&wp.element.createElement(we,{labelProps:i,parent:t},t.label),wp.element.createElement(iz,{...t,inputProps:l,onChange:n,ref:r,dynamic:t.dynamic??!1}),t.description&&wp.element.createElement($e,{descriptionProps:a,parent:t},t.description))},"TextField");var PJ=Object.defineProperty,EJ=u((t,e)=>PJ(t,"name",{value:e,configurable:!0}),"i$5");const AJ=EJ(t=>{const e=wp.element.useRef(),{labelProps:n,inputProps:r,descriptionProps:i}=wr({...t,inputElementType:"textarea"},e);return wp.element.createElement("div",{className:"tf-text-area"},t.label&&wp.element.createElement(we,{labelProps:n,parent:t},t.label),wp.element.createElement("textarea",{...r,maxLength:t.maxlength,minLength:t.minlength,required:t.required,rows:t.rows,ref:e,"data-identifier":t.identifier??""}),t.description&&wp.element.createElement($e,{descriptionProps:i,parent:t},t.description))},"TextArea");var TJ=Object.defineProperty,RJ=u((t,e)=>TJ(t,"name",{value:e,configurable:!0}),"p");const R9=RJ((t,e,n,r,i)=>{const l=n||"Item "+(e+1);if(!p9(l))return l;const a={type:"wrapper",name:`_repeater-title-${r}-${t.key}`,content:n,dependent:!0};return i(a,t,e)},"renderTitle");var QJ=Object.defineProperty,Q9=u((t,e)=>QJ(t,"name",{value:e,configurable:!0}),"c$1");const M9=Q9(t=>{const[e,n]=wp.element.useState(""),[r,i]=wp.element.useState(!1);wp.element.useEffect(()=>{r?t.dispatch({type:"bulkCheck"}):t.dispatch({type:"bulkUncheck"})},[r]);const l=Q9(()=>{switch(e){case"enabled":case"disabled":t.dispatch({type:"bulkUpdate",control:"enabled",value:e==="enabled"?"on":"off",callback:()=>{t.dispatch({type:"bulkUncheck"}),i(!1)}});break;case"deletion":t.dispatch({type:"bulkRemove",callback:()=>{t.dispatch({type:"bulkUncheck"}),i(!1)}});break}},"applyAction");return wp.element.createElement("div",{className:"tf-repeater-bulk-actions"},wp.element.createElement(pf,{label:"Select or unselect all items",labelVisuallyHidden:!0,value:r,onChange:i}),wp.element.createElement(E9,{label:"Select bulk action",labelVisuallyHidden:!0,placeholder:"Bulk actions",choices:t.actions,value:e,onChange:n}),e==="deletion"?wp.element.createElement(Dr,{title:"Confirmation",label:"Apply",onValidate:l},"Are you sure you want to remove the selected items?"):wp.element.createElement(oe,{type:"action",onPress:l},"Apply"))},"BulkActions");var MJ=Object.defineProperty,Gh=u((t,e)=>MJ(t,"name",{value:e,configurable:!0}),"r$2");const BJ=Gh(({items:t,dispatch:e,rowFields:n,renderItem:r,maxLength:i,title:l=!1,useSwitch:a,useBulk:o,name:s,renderFooterActions:c})=>{const[d,f]=wp.element.useState(0),h=Gh(O=>f(O!==d?O:!1),"toggleItem"),p={deletion:"Delete"};a&&(p.enabled="Enabled",p.disabled="Disabled");const m=Gh((O,b)=>wp.element.createElement(wp.element.Fragment,null,o?wp.element.createElement("div",{onClick:y=>y.stopPropagation()},wp.element.createElement(pf,{label:`Select item ${b+1}`,labelVisuallyHidden:!0,value:O._bulkCheckbox,onChange:y=>e({type:"update",item:b,control:"_bulkCheckbox",value:y})})):null,a?wp.element.createElement("div",{onClick:y=>y.stopPropagation()},wp.element.createElement(a1,{label:`Enable item ${b+1}`,labelVisuallyHidden:!0,value:O.enabled,onChange:y=>e({type:"update",item:b,control:"enabled",value:y})})):null),"getHeaderLeft"),g=Gh((O,b)=>wp.element.createElement(wp.element.Fragment,null,i!==void 0&&wp.element.createElement(oe,{type:"action",isDisabled:i<=t.length,onPress:()=>e({type:"clone",item:b})},"Clone"),wp.element.createElement(oe,{type:"action",onPress:()=>h(O)},d!==O?"Edit":"Close"),i!==void 0&&wp.element.createElement(Dr,{title:"Confirmation",label:"Remove",onValidate:()=>e({type:"remove",item:O})},"Are you sure you want to remove item ",O+1,"?")),"actions");return wp.element.createElement(wp.element.Fragment,null,wp.element.createElement("div",{className:"tf-repeater-items tf-repeater-block-items"},o&&wp.element.createElement(M9,{actions:p,dispatch:e}),t&&t.slice(0,i).map((O,b)=>wp.element.createElement(j2,{key:O.key??b,title:R9(O,b,l,s,r),footer:g(b,O),isOpen:d===b,className:"tf-repeater-block-item",onChange:y=>y?d!==b?f(b):null:d===b?f(!1):null,headerLeft:m(O,b)},n.map(y=>wp.element.createElement("div",{key:y.name??b,className:"tf-repeater-block-item-field"},r(y,O,b)))))),c())},"Block");var VJ=Object.defineProperty,NJ=u((t,e)=>VJ(t,"name",{value:e,configurable:!0}),"i$4");const FJ={deletion:"Delete"},IJ=NJ(({items:t,fields:e,dispatch:n,rowFields:r,renderItem:i,maxLength:l,useBulk:a,renderFooterActions:o})=>wp.element.createElement(wp.element.Fragment,null,wp.element.createElement("div",null,a&&wp.element.createElement(M9,{actions:FJ,dispatch:n}),wp.element.createElement("table",null,wp.element.createElement("thead",null,wp.element.createElement("tr",null,a&&wp.element.createElement("th",null),e.map((s,c)=>wp.element.createElement("th",{key:c},s.label??"")),l>1&&wp.element.createElement("th",{align:"end"}))),wp.element.createElement("tbody",{className:"tf-repeater-items tf-repeater-table-items"},t&&t.slice(0,l).map((s,c)=>wp.element.createElement("tr",{key:s.key??c},a&&wp.element.createElement("td",{key:`${s.key}-enable`},wp.element.createElement("div",{onClick:d=>d.stopPropagation()},wp.element.createElement(pf,{value:s._bulkCheckbox,onChange:d=>n({type:"update",item:c,control:"_bulkCheckbox",value:d})}))),r.map((d,f)=>wp.element.createElement("td",{key:`${s.key}-${f}`},i(d,s,c))),wp.element.createElement("td",{className:"tf-repeater-row-actions"},wp.element.createElement("div",null,l!==void 0&&wp.element.createElement(oe,{type:"action",isDisabled:l<=t.length,onPress:()=>n({type:"clone",item:s})},"Clone"),l!==void 0&&wp.element.createElement(Dr,{label:"Remove",title:"Confirmation",onValidate:()=>n({type:"remove",item:c}),buttonProps:{type:"danger"}},"Are you sure you want to remove item ",c+1,"?")))))))),o()),"Table");var ZJ=Object.defineProperty,zJ=u((t,e)=>ZJ(t,"name",{value:e,configurable:!0}),"m");const LJ=zJ(({items:t,rowFields:e,renderItem:n,maxLength:r,dispatch:i,name:l,title:a=!1,beforeRow:o=!1,afterRow:s=!1})=>{const[c,d]=wp.element.useState(0);return wp.element.createElement("div",{className:"tf-repeater-tab-container"},wp.element.createElement("div",{className:"tf-repeater-tab-header"},wp.element.createElement("div",{className:"tf-repeater-items tf-repeater-tab-items"},t&&t.slice(0,r).map((f,h)=>wp.element.createElement("div",{key:f.key??h,className:"tf-repeater-tab-item","data-open":c==h},wp.element.createElement(oe,{type:"text-action",onPress:()=>d(h)},R9(f,h,a,l,n))))),wp.element.createElement("div",{className:"tf-repeater-tab-actions"},wp.element.createElement("div",{className:"tf-repeater-tab-add-item"},wp.element.createElement(oe,{type:"text-primary",onPress:()=>i({type:"add"}),isDisabled:r<=t.length},"+ Add Item")),wp.element.createElement("div",{className:"tf-repeater-tab-icon-actions"},r!==void 0&&wp.element.createElement(Dr,{label:"Remove",title:"Confirmation",onValidate:()=>{i({type:"remove",item:c}),d(c==0?0:c-1)},buttonProps:{type:"icon-trash",contentVisuallyHidden:!0}},"Are you sure you want to remove item ",c+1,"?")))),t[c]&&wp.element.createElement("div",{className:"tf-repeater-tab-content"},wp.element.createElement("div",{key:t[c].key??c,className:"tf-repeater-tab-row"},o&&o(t[c],c,i),e.map(f=>wp.element.createElement("div",{key:f.name??c,className:"tf-repeater-tab-item-field"},n(f,t[c],c))),s&&s(t[c],c,i))))},"Tab");var B9={advanced:gF,bare:yF,block:BJ,table:IJ,tab:LJ},WJ=Object.defineProperty,XJ=u((t,e)=>WJ(t,"name",{value:e,configurable:!0}),"n$3");const jJ=XJ(({config:t,values:e,onChange:n,data:r})=>{const i=Object.keys(Vu._types.element).includes(t.type??""),l=i?i1:Hh,a=i?{}:{value:e[t.name]??"",onChange:n};return wp.element.createElement(l,{itemType:i?"subelement":"subfield",visibility:{action:t.condition?.action??"show",condition:t.condition?.condition??!1},data:r,...a,...t})},"Item");var qJ=Object.defineProperty,to=u((t,e)=>qJ(t,"name",{value:e,configurable:!0}),"n$2");const V9=to(t=>{const e=t.fields??[],n=Object.keys(B9).includes(t?.layout)?t.layout:"table",r=B9[n],i=t.repeatable??!0,l=t.maxlength??1/0,a=e.map(y=>{const $=Object.assign({},y);return n==="table"&&($.labelVisuallyHidden=!0,$.descriptionVisuallyHidden=!0),delete $.value,delete $.onChange,$}),o={};e.forEach(y=>o[y.name]="");const[s,c]=wp.element.useReducer(oN(o,l),t.value??"",sN),d=to(y=>a.map($=>$.name??!1).includes(y),"hasField"),[f,h]=wp.element.useState([]),p=to((y,$)=>{f.forEach(C=>C(y,$))},"triggerRowCallbackEvents"),m=wp.element.useRef();m.current=s;const g=to((y,$,C)=>wp.element.createElement(jJ,{key:$.key+C,values:$,config:{...y,repeaterRow:C},onChange:w=>c({type:"update",item:C,control:y.name,value:w,callback:()=>p($.key,y.name)}),data:{getValue:w=>d(w)?m.current[C][w]??"":t.data.getValue(w??""),watcher:w=>h(x=>[...x,(P,v)=>{P===$.key&&y.name&&w(v,$.key)}])}}),"renderItem"),O=to(()=>s.map(({_bulkCheckbox:y,...$})=>$),"getSavedValue"),b=to(()=>i&&wp.element.createElement("div",{className:"tf-repeater-actions"},wp.element.createElement(oe,{type:"action",onPress:()=>c({type:"add"}),isDisabled:l<=s.length},"Add item"),wp.element.createElement(Dr,{title:"Confirmation",label:"Remove all",isDisabled:s.length<=0,onValidate:()=>c({type:"clear"})},"Are you sure you want to clear all item(s)?")),"renderFooterActions");return wp.element.useEffect(()=>t.onChange&&t.onChange(O()),[s]),wp.element.createElement("div",{className:`tf-repeater tf-repeater-${n}`},wp.element.createElement("input",{type:"hidden",name:t.name??"",value:JSON.stringify(O())}),t.label&&wp.element.createElement(Ig,{level:2,className:"tf-repeater-title"},t.label),wp.element.createElement("div",{className:`tf-repeater-container tf-repeater-${n}-container`},wp.element.createElement(r,{items:s,fields:e,dispatch:c,rowFields:a,headerFields:t.headerFields,renderItem:g,maxLength:i?l:void 0,title:t.sectionTitle??!1,useSwitch:t.useSwitch,useBulk:t.useBulk,afterRow:t.afterRow,beforeRow:t.beforeRow,name:t.name??"",renderFooterActions:b})))},"Repeater");var UJ=Object.defineProperty,N9=u((t,e)=>UJ(t,"name",{value:e,configurable:!0}),"o$1");const YJ={_eq:"Is",_neq:"Is not",_lt:"Less than",_gt:"Greater than",_lte:"Less than or equal",_gte:"Greater than or equal",_in:"In array",_nin:"Not in array",_contains:"Contains",_ncontains:"Not contain",_re:"Regex"},F9=N9(t=>{const e=t.filter(n=>n.name==="operator")[0]??!1;return!e||typeof e.choices!="object"?"":Object.keys(e.choices)[0]??""},"getInitialOperator"),KJ=N9(({dynamic:t,operators:e=void 0,fields:n=void 0})=>n&&n.length>0?n:[{label:"Text",type:"text",name:"left_value",dynamic:t?{mode:t.getMode(),types:t.getTypes(),categories:t.getCategories()}:{mode:"replace"},labelVisuallyHidden:!0},{label:"Operator",type:"select",name:"operator",choices:e??YJ,labelVisuallyHidden:!0},{label:"Text",type:"text",name:"right_value",dynamic:t?{mode:t.getMode(),types:t.getTypes(),categories:t.getCategories()}:{mode:"replace"},labelVisuallyHidden:!0}],"getFields");var GJ=Object.defineProperty,I9=u((t,e)=>GJ(t,"name",{value:e,configurable:!0}),"e");const HJ=I9(t=>wp.element.createElement("div",{className:"tf-conditional-panel-conditions"},wp.element.createElement(V9,{...t,type:"repeater",layout:"bare",afterRow:I9((e,n,r)=>wp.element.createElement("div",{className:"tf-conditional-panel-condition-actions"},wp.element.createElement(oe,{type:"action",onPress:()=>r({type:"insert",position:n+1,data:{operator:F9(t.fields)}})},"And"),wp.element.createElement(oe,{type:"danger",onPress:()=>r({type:"remove",item:n}),isDisabled:!t.canDelete,contentVisuallyHidden:!0},"Delete condition")),"afterRow"),repeatable:!1})),"ConditionGroup");var _J=Object.defineProperty,Bu=u((t,e)=>_J(t,"name",{value:e,configurable:!0}),"i$2");const JJ=Bu(t=>{const e=wp.element.useMemo(()=>KJ(t),[]),n=Bu(()=>({key:Ui(),data:[{key:Ui(),operator:F9(e)}]}),"emptyRow"),r=Bu(()=>yn(t.value??"",[n()]),"initialValue"),[i,l]=wp.element.useState(r()),[a,o]=wp.element.useState(r());wp.element.useEffect(()=>{t.onChange&&t.onChange(t.useModal?i:a)},[t.useModal?i:a]),wp.element.useEffect(()=>{if(a.length===1)return;const h=a.filter(p=>p.data.length!==0);h.length!==a.length&&o([...h])},[a]);const s=Bu(h=>o([...a.slice(0,h),n(),...a.slice(h)]),"insertGroup"),c=Bu((h,p)=>{const m=a;m[p].data=h,o([...m])},"updateGroup"),d=t.useModal?Dr:wp.element.Fragment,f=t.useModal?{title:"Conditional rules",label:"Open conditional panel",confirmText:"Save",onCancel:()=>{o([...Ag(i)])},onValidate:()=>{l([...Ag(a)])}}:{};return wp.element.createElement(wp.element.Fragment,null,wp.element.createElement("input",{type:"hidden",name:t.name??"",value:JSON.stringify(t.useModal?i:a)}),wp.element.createElement("div",{className:"tf-label"},t.label??""),wp.element.createElement(d,{...f},wp.element.createElement("div",{className:"tf-conditional-panel"},wp.element.createElement("div",{className:"tf-conditional-panel-container"},wp.element.createElement("div",{className:"tf-conditional-groups"},a.map((h,p)=>wp.element.createElement("div",{key:h.key,className:"tf-conditional-group"},wp.element.createElement(HJ,{canDelete:a.length!==1||h.data.length!==1,value:h.data,onChange:m=>c(m,p),fields:e}),wp.element.createElement("div",{className:"tf-conditional-group-actions"},wp.element.createElement("strong",null,"Or"),wp.element.createElement(oe,{type:"primary",onPress:()=>s(p+1)},"Add group")))))))))},"ConditionalPanel");var Vu={_types:{control:{accordion:$F,"alignment-matrix":PF,border:dz,"button-group":Oz,checkbox:pf,code:cU,"color-picker":$T,"conditional-panel":JJ,"combo-box":ih,"date-picker":uY,dimensions:d6,"field-group":S9,file:J_,gradient:tJ,gallery:lJ,list:cJ,hidden:sJ,number:hf,repeater:V9,radio:hJ,select:E9,"simple-dimension":vJ,switch:a1,text:T9,"text-suggestion":dY,wysiwyg:f9,editor:f9,textarea:AJ},element:{button:oe,description:$e,label:we,modal:Dr,wrapper:sF,tooltip:pF}},get(t,e="control"){return this._types[e]?.[t]??!1},add(t,e,n="control"){this._types[n][t]=e}},eee=Object.defineProperty,Z9=u((t,e)=>eee(t,"name",{value:e,configurable:!0}),"i$1");const Hh=Z9(({visibility:t,data:e,afterInitialization:n=!1,...r})=>{const{ControlContext:i}=tangibleFields,l=wp.element.useContext(i),a={...r.wrapper??{},className:`${r?.wrapper?.class??""} ${l.wrapper}`};delete a.class;const[o,s]=wp.element.useState(r.value??"");wp.element.useEffect(()=>{r.onChange&&r.onChange(o)},[o]);const c=Vu.get(r.type??"text");if(wp.element.useEffect(()=>{n&&n()},[]),!c)return wp.element.createElement(wp.element.Fragment,null);const d=Z9(f=>{s(f),setTimeout(()=>{Qi("valueChange",{name:r.name??!1,props:r,value:f,previousValue:o})})},"onChange");return wp.element.createElement(OC,{...a},wp.element.createElement(w9,{visibility:t,data:e},wp.element.createElement(x9,{itemType:r.itemType??"field",name:r.name??!1,setValue:s},f=>wp.element.createElement(O9,{refresh:f,data:e,itemProps:r},h=>wp.element.createElement(c,{...h,value:o,onChange:d,data:e,dynamic:r.dynamic?nN(o,s,r):!1})))))},"Control");var tee=Object.defineProperty,nee=u((t,e)=>tee(t,"name",{value:e,configurable:!0}),"o");const ree=nee((t,e)=>({getRow(n){const r=e.getValue(t);return Array.isArray(r)&&r[n]?r[n]:!1},setRow(n,r){const i=e.getValue(t);if(!Array.isArray(i)||!i[n])return!1;i[n]=r,e.setValue(t,i)},getRowValue(n,r){const i=this.getRow(n);return i?i[r]:!1},setRowValue(n,r,i){const l=this.getRow(n);if(!l)return!1;l[r]=i,this.setRow(n,l)}}),"getRepeaterStore");var Tn={_values:{},_setValueFromControl(t,e){this._values[t]=e},getAllValues(){return this._values},getValue(t){return this._values[t]??""},setValue(t,e){Qi("_refreshFieldValue",{name:t,value:e})},getRepeater(t){return ree(t,this)}},iee={rerender:t=>Qi("_fieldRerender",t),dependent:{__callbacks:{},registerCallback(t,e){this.__callbacks[t]=e}}},lee=Object.defineProperty,no=u((t,e)=>lee(t,"name",{value:e,configurable:!0}),"i");const o1=wp.element.createContext(null),aee=no((t,e="field")=>e==="element"?L9(t):z9(t),"renderComponent"),z9=no(t=>wp.element.createElement(o1.Provider,{value:{name:t.context??"default",wrapper:`tf-context-${t.context??"default"}`,getValue:Tn.getValue.bind(Tn),portalContainer:t.portalContainer??document.body}},wp.element.createElement(Hh,{...t,onChange:e=>{Tn._setValueFromControl(t.name,e),t.onChange&&t.onChange(e)},visibility:{condition:t.condition?.condition??!1,actiElementComponenton:t.condition?.action??"show"},data:{getValue:Tn.getValue.bind(Tn)}})),"renderField"),L9=no(t=>wp.element.createElement(o1.Provider,{value:{name:t.context??"default",wrapper:`tf-context-${t.context??"default"}`,getValue:Tn.getValue.bind(Tn),portalContainer:t.portalContainer??document.body}},wp.element.createElement(i1,{...t,onChange:e=>{Tn._setValueFromControl(t.name,e),t.onChange&&t.onChange(e)},visibility:{condition:t.condition?.condition??!1,action:t.condition?.action??"show"},data:{getValue:Tn.getValue.bind(Tn)}})),"renderElement"),oee=no(()=>{const{fields:t,elements:e}=TangibleFields,n=[];for(const r in t)n.push(W9(r,t[r],"fields"));for(const r in e)n.push(W9(r,e[r],"elements"));Promise.all(n).then(()=>Qi("ready",{}))},"init"),W9=no((t,e,n)=>new Promise(r=>{const i=document.getElementById(e.element);if(!i)return r();const l=no(()=>{r(),Qi(n==="fields"?"initField":"initElement",{name:t,props:e})},"afterInitialization"),a=n==="fields"?z9({name:t,afterInitialization:l,...e}):L9({name:t,afterInitialization:l,...e});wp.element.createRoot?wp.element.createRoot(i).render(a):wp.element.render(a,i)}),"initItem");window.tangibleFields={render:aee,event:Yl,trigger:Qi,store:Tn,types:Vu,utils:lN,fields:iee,ControlContext:o1},window.addEventListener("load",oee)})(); diff --git a/assets/build/wp/index.min.css b/assets/build/wp/index.min.css index 625d3f90..a79bc6df 100644 --- a/assets/build/wp/index.min.css +++ b/assets/build/wp/index.min.css @@ -1,2 +1,2 @@ -@charset "UTF-8";.tf-context-wp .tf-button-action,.tf-context-wp .tf-button-danger,.tf-context-wp .tf-button-primary{align-items:center;background:#fff;border:1px solid var(--wp-admin-theme-color,#3858e9);border-radius:2px;box-sizing:border-box;color:var(--wp-admin-theme-color,#3858e9);cursor:pointer;display:flex;height:36px;justify-content:center;padding:6px 12px;transition-duration:.2s;transition-property:color,background-color,border-color;transition-timing-function:ease-in-out;width:-moz-fit-content;width:fit-content}.tf-context-wp .tf-button-action:hover,.tf-context-wp .tf-button-danger:hover,.tf-context-wp .tf-button-primary:hover{background:#fff;border-color:var(--wp-components-color-accent-darker-10,var(--wp-admin-theme-color-darker-10,#006ba1));color:var(--wp-components-color-accent-darker-10,var(--wp-admin-theme-color-darker-10,#006ba1))}.tf-context-wp .tf-button-danger{border-color:#cc1818;color:#cc1818}.tf-context-wp .tf-button-primary{background-color:var(--wp-admin-theme-color,#3858e9);color:#fff}.tf-context-wp .tf-button-action[disabled],.tf-context-wp .tf-button-danger[disabled],.tf-context-wp .tf-button-icon-trash[disabled],.tf-context-wp .tf-button-primary[disabled],.tf-context-wp .tf-button-text-action[disabled],.tf-context-wp .tf-button-text-danger[disabled],.tf-context-wp .tf-button-text-primary[disabled]{cursor:not-allowed;opacity:.5;pointer-events:none}.tf-context-wp .tf-button-action:focus{outline:none}.tf-context-wp .tf-button-text-action,.tf-context-wp .tf-button-text-danger,.tf-context-wp .tf-button-text-primary{background:transparent;border:none;cursor:pointer;display:inline}.tf-context-wp .tf-button-text-action:hover,.tf-context-wp .tf-button-text-danger:hover,.tf-context-wp .tf-button-text-primary:hover{font-weight:700}.tf-context-wp .tf-button-text-action{color:var(--wp-admin-theme-color,#3858e9)}.tf-context-wp .tf-button-text-danger{color:#cc1818}.tf-context-wp .tf-button-text-primary{color:var(--wp-admin-theme-color,#3858e9)}.tf-context-wp .tf-button-icon-trash{align-items:center;background:transparent;border:none;cursor:pointer;display:flex;height:35px;justify-content:center;width:35px}.tf-context-wp .tf-button-icon-trash:after{content:url('data:image/svg+xml;utf8,')}.tf-context-wp .tf-button-icon-eye{align-items:center;background:transparent;border:none;cursor:pointer;display:flex;height:35px;justify-content:center;width:35px}.tf-context-wp .tf-button-icon-eye:after{content:url('data:image/svg+xml;utf8,')}.tf-context-wp .tf-dialog .tf-title{display:flex}.tf-context-wp .tf-dialog .tf-title h4{margin:0;padding:12px 0}.tf-context-wp .tf-panel{background:#fff;border:1px solid #a7b1bb;border-radius:2px;display:flex;flex-direction:column;margin-bottom:8px;width:100%}.tf-context-wp .tf-panel-header{align-items:center;cursor:pointer;display:flex;height:35px;justify-content:space-between;width:100%}.tf-context-wp .tf-panel-header.tf-button-action{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:0;border-radius:0;box-sizing:border-box;color:inherit;cursor:pointer;display:flex;font-family:inherit;font-size:100%;height:35px;justify-content:space-between;line-height:1.15;margin:0;padding:8px 12px;text-align:left;width:100%}.tf-context-wp .tf-panel-header.tf-button-action:hover{background:#f0f0f0}.tf-context-wp .tf-panel-open .tf-panel-header.tf-button-action{border-bottom:1px solid #a7b1bb}.tf-context-wp .tf-panel-header-before-title,.tf-context-wp .tf-panel-header-left,.tf-context-wp .tf-panel-header-right,.tf-context-wp .tf-panel-header-title{align-items:center;display:flex;justify-content:flex-start;padding:0 8px}.tf-context-wp .tf-panel-header-left{padding-left:0}.tf-context-wp .tf-panel-content,.tf-context-wp .tf-panel-footer{padding:4px 8px}.tf-context-wp .tf-panel-closed .tf-panel-content{display:none}.tf-context-wp .tf-panel-footer{border-top:1px solid #a7b1bb;display:flex;gap:8px;justify-content:flex-end;padding:1em}.tf-context-wp .tf-panel-arrow{border:solid;border-color:inherit;border-width:0 1px 1px 0;display:inline-block;height:8.75px;width:8.75px}.tf-context-wp .tf-panel-open .tf-panel-arrow{transform:translateY(50%) rotate(-135deg)}.tf-context-wp .tf-panel-closed .tf-panel-arrow{transform:translateY(-50%) rotate(45deg)}.tf-context-wp .tf-label{color:inherit;font-size:14px;font-style:inherit;font-weight:600;margin-bottom:10px;text-transform:inherit}.tf-context-wp .tf-description{color:#7d8690;font-size:12px;font-style:inherit;font-weight:inherit;margin-bottom:revert;margin-top:8px}.tf-context-wp .tf-list-box{background:#fff;list-style:none;margin:5px 0;max-height:300px;max-width:100%;min-width:100%;overflow-y:auto;padding:0}.tf-context-wp .tf-list-box-option{background:transparent;border-radius:2px;cursor:pointer;display:flex;font-size:13px;gap:8px;margin:0 5px;outline:none;padding:5px 9px}.tf-context-wp .tf-list-box-option:not(.tf-list-box-option-selected,.tf-list-box-option-disabled):hover{color:var(--wp-admin-theme-color,#3858e9)}.tf-context-wp .tf-list-box-option-selected,.tf-context-wp .tf-list-box-option-selected.tf-list-box-option-selected{background-color:var(--wp-admin-theme-color,#3858e9);color:#fff}.tf-context-wp .tf-list-box-option-selected.tf-list-box-option-selected:hover,.tf-context-wp .tf-list-box-option-selected:hover{color:#fff}.tf-context-wp .tf-list-box-option-selected.tf-list-box-option-selected:after,.tf-context-wp .tf-list-box-option-selected:after{content:"✓";margin-left:auto}.tf-context-wp .tf-list-box-option-disabled{color:#aaa;cursor:default}.tf-context-wp .tf-list-box-option-focus{box-shadow:inset 0 0 0 2px;color:var(--wp-admin-theme-color,#3858e9)}.tf-context-wp .tf-list-box-section-separator:not(:first-child){border-top:1px solid #8c8f94;margin:12px 0}.tf-context-wp .tf-list-box-section>span{color:#7d8690;display:block;font-size:11px;font-weight:500;line-height:1.45;margin:0 10px;padding:5px 9px;text-transform:uppercase}.tf-context-wp .tf-list-box-section>ul{list-style:none;padding:0}.tf-context-wp .tf-modal{align-items:center;background:rgba(0,0,0,.7);bottom:0;display:flex;justify-content:center;left:0;position:fixed;right:0;top:0;z-index:9990}.tf-context-wp .tf-modal .tf-modal-container{background:#fff;border:1px solid #8c8f94;border-radius:2px;padding:2rem}.tf-context-wp .tf-modal-actions{display:flex;justify-content:flex-end;padding-top:12px}.tf-context-wp .tf-modal-actions button{margin-left:12px}.tf-context-wp .tf-notice{background:#fff;box-shadow:0 1px 1px rgba(0,0,0,.04);color:#000;margin-top:4px;padding:1px 12px}.tf-context-wp .tf-notice.tf-is-dismissible{padding-right:38px;position:relative}.tf-context-wp .tf-notice.tf-error{border-left:4px solid #d63638}.tf-context-wp .tf-notice.tf-success{border-left:4px solid #00a32a}.tf-context-wp .tf-notice.tf-warning{border-left-color:#dba617}.tf-context-wp .tf-notice.tf-info{border-left-color:#72aee6}.tf-context-wp .tf-notice-dismiss{background:none;border:none;color:#787c82;cursor:pointer;margin:0;padding:9px;position:absolute;right:1px;top:0}.tf-context-wp .tf-notice-dismiss:active:before,.tf-context-wp .tf-notice-dismiss:focus:before,.tf-context-wp .tf-notice-dismiss:hover:before{color:#d63638}.tf-context-wp .tf-notice-dismiss:focus{box-shadow:0 0 0 1px #4f94d4,0 0 2px 1px rgba(79,148,212,.8);outline:none}.tf-context-wp .tf-notice-dismiss:before{background:none;color:#787c82;content:"\f153";display:block;font:normal 16px/20px dashicons;height:20px;text-align:center;width:20px;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.tf-context-wp .tf-underlay{inset:0;position:fixed}.tf-context-wp .tf-popover{background:#fff;color:inherit;z-index:900}.tf-context-wp .tf-tooltip-trigger-content{cursor:context-menu;position:relative;width:-moz-fit-content;width:fit-content}.tf-context-wp .tf-tooltip{cursor:default;display:inline-block;max-width:150px;position:absolute;visibility:hidden;width:-moz-max-content;width:max-content;z-index:1}.tf-context-wp .tf-tooltip-top{bottom:100%;left:50%;margin-bottom:12px;transform:translateX(-50%)}.tf-context-wp .tf-tooltip-bottom{left:50%;margin-top:12px;top:100%;transform:translateX(-50%)}.tf-context-wp .tf-tooltip-start{margin-right:12px;right:100%;top:50%;transform:translateY(-50%)}.tf-context-wp .tf-tooltip-end{left:100%;margin-left:12px;top:50%;transform:translateY(-50%)}.tf-context-wp .tf-tooltip-content{border-radius:3px;font-size:12px;padding:6px 12px;text-align:center;word-break:normal}.tf-context-wp .tf-tooltip-content.light{background-color:#e6e6e6;color:hsla(0,4%,5%,.945);--tf-tooltip-after-color:#e6e6e6}.tf-context-wp .tf-tooltip-content.dark{background-color:hsla(0,4%,5%,.945);color:#e6e6e6;--tf-tooltip-after-color:hsla(0,4%,5%,.945)}.tf-context-wp .tf-tooltip-content:after{border-style:solid;border-width:7px;content:" ";position:absolute}.tf-context-wp .tf-tooltip-content-top:after{border-color:var(--tf-tooltip-after-color,transparent) transparent transparent transparent;left:50%;margin-left:-7px;top:100%}.tf-context-wp .tf-tooltip-content-bottom:after{border-color:transparent transparent var(--tf-tooltip-after-color,transparent) transparent;bottom:100%;left:50%;margin-left:-7px}.tf-context-wp .tf-tooltip-content-start:after{border-color:transparent transparent transparent var(--tf-tooltip-after-color,transparent);left:100%;margin-top:-7px;top:50%}.tf-context-wp .tf-tooltip-content-end:after{border-color:transparent var(--tf-tooltip-after-color,transparent) transparent transparent;margin-top:-7px;right:100%;top:50%}.tf-context-wp .tf-tooltip-trigger-content:hover .tf-tooltip{visibility:visible}.tf-context-wp .tf-conditional-group-actions{align-items:center;display:flex;gap:8px;padding:8px 0}.tf-context-wp .tf-conditional-group-actions strong{text-transform:uppercase}.tf-context-wp .tf-conditional-panel-condition-actions{display:flex;gap:4px}.tf-context-wp .tf-conditional-panel-condition-actions .tf-button-action:first-child{text-transform:uppercase}.tf-context-wp .tf-conditional-panel-condition-actions .tf-button-danger:last-child{position:relative}.tf-context-wp .tf-conditional-panel-condition-actions .tf-button-danger:last-child:before{background-color:#cc1818;content:"";height:1px;position:absolute;width:100%;width:10px}.tf-context-wp .tf-accordion .tf-switch-element,.tf-context-wp .tf-accordion .tf-switch-element-selected{transform:scale(.7)}.tf-context-wp .tf-alignment-matrix-container{display:grid;grid-template-columns:repeat(3,1fr);height:50px;margin:5px;width:50px}.tf-context-wp .tf-border-dimensions-container{margin:0 0 5px}.tf-context-wp .tf-button-group .tf-button-group-option{align-items:center;background:#fff;border:1px solid var(--wp-admin-theme-color,#3858e9);border-radius:2px;border-radius:0;box-sizing:border-box;color:var(--wp-admin-theme-color,#3858e9);cursor:pointer;display:inline-flex;height:36px;margin:0;padding:6px 12px;transition-duration:.2s;transition-property:color,background-color,border-color;transition-timing-function:ease-in-out}.tf-context-wp .tf-button-group .tf-button-group-option:hover{background:#fff;border-color:var(--wp-components-color-accent-darker-10,var(--wp-admin-theme-color-darker-10,#006ba1));color:var(--wp-components-color-accent-darker-10,var(--wp-admin-theme-color-darker-10,#006ba1))}.tf-context-wp .tf-button-group .tf-button-group-option:first-child{border-bottom-left-radius:2px;border-top-left-radius:2px}.tf-context-wp .tf-button-group .tf-button-group-option:not(:first-child){margin-left:-1px}.tf-context-wp .tf-button-group .tf-button-group-option:last-child{border-bottom-right-radius:2px;border-top-right-radius:2px}.tf-context-wp .tf-button-group .tf-button-group-option.tf-button-group-option-selected{background:var(--wp-admin-theme-color,#3858e9);border-color:var(--wp-admin-theme-color,#3858e9);color:#fff}.tf-context-wp .tf-button-group .tf-button-group-option:focus-within{position:relative;z-index:1}.tf-context-wp .tf-button-group .tf-button-group-option .dashicons{align-items:center;display:flex;justify-content:center}.tf-context-wp .tf-button-group-container[aria-disabled=true] .tf-button-group-option{opacity:.5;pointer-events:none}.tf-context-wp .tf-checkbox .tf-label{font-size:13px;font-weight:400;margin-bottom:revert;text-transform:none}.tf-context-wp .tf-checkbox input[type=checkbox]{border:1px solid;border-color:inherit;border-radius:2px;box-shadow:0 0 0 transparent;margin-right:10px}.tf-context-wp .tf-checkbox input[type=checkbox]:focus{border-color:var(--wp-admin-theme-color,#3858e9);box-shadow:0 0 0 1px var(--wp-admin-theme-color,#3858e9);outline:2px solid transparent}.tf-context-wp .tf-checkbox input[type=checkbox]:checked{background:var(--wp-admin-theme-color,#3858e9);border-color:var(--wp-admin-theme-color,#3858e9);color:#fff}.tf-context-wp .tf-checkbox input[type=checkbox]:checked:before{content:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGFyaWEtaGlkZGVuPSJ0cnVlIiBjbGFzcz0iY29tcG9uZW50cy1jaGVja2JveC1jb250cm9sX19jaGVja2VkIiB2aWV3Qm94PSIwIDAgMjQgMjQiPjxwYXRoIGZpbGw9IiNmZmYiIGQ9Im0xNi43IDcuMS02LjMgOC41LTMuMy0yLjUtLjkgMS4yIDQuNSAzLjRMMTcuOSA4eiIvPjwvc3ZnPg==")}.tf-context-wp .tf-checkbox input[type=checkbox]:indeterminate{background:var(--wp-admin-theme-color,#3858e9);border-color:var(--wp-admin-theme-color,#3858e9);color:#fff}.tf-context-wp .tf-checkbox input[type=checkbox]:indeterminate:before{content:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGFyaWEtaGlkZGVuPSJ0cnVlIiBjbGFzcz0iY29tcG9uZW50cy1jaGVja2JveC1jb250cm9sX19pbmRldGVybWluYXRlIiB2aWV3Qm94PSIwIDAgMjQgMjQiPjxwYXRoIGZpbGw9IiNmZmYiIGQ9Ik03IDExLjVoMTBWMTNIN3oiLz48L3N2Zz4=")}.tf-context-wp .tf-color-area,.tf-context-wp .tf-color-area-gradient{height:150px;width:100%}.tf-context-wp .tf-color-area-thumb{border:2px solid #fff;border-radius:50%;box-shadow:0 0 0 1px #000,inset 0 0 0 1px #000;height:20px;top:50%;width:20px}.tf-context-wp .tf-color-container{position:relative;width:-moz-fit-content;width:fit-content}.tf-context-wp .tf-color-container input{background:#fff;border:1px solid #8c8f94;border-radius:2px;box-shadow:unset;color:inherit;font-size:16px;font-style:inherit;font-weight:inherit;height:35px;padding:6px 8px;width:100%}.tf-context-wp .tf-color-container input::-moz-placeholder{color:initial;font-size:16px;font-style:inherit;font-weight:inherit}.tf-context-wp .tf-color-container input::placeholder{color:initial;font-size:16px;font-style:inherit;font-weight:inherit}.tf-context-wp .tf-color-picker{background:#fff;border:1px solid #8c8f94;width:100%;z-index:900}.tf-context-wp .tf-color-picker .tf-color-area{display:flex;justify-content:center;width:100%}.tf-context-wp .tf-color-picker .tf-color-area .tf-color-area-thumb{transform:translate(-50%,-50%)!important}.tf-context-wp .tf-color-picker .tf-color-input{display:flex;flex-direction:column;padding:10px}.tf-context-wp .tf-color-picker .tf-color-sliders{padding:6px 8px 10px}.tf-context-wp .tf-color-input>input{width:100%}.tf-context-wp .tf-color-slider{align-items:center;display:flex;flex-direction:column;padding-bottom:5px;padding-top:5px;width:100%}.tf-context-wp .tf-color-slider-label{align-self:stretch;display:flex}.tf-context-wp .tf-color-slider-label output{flex:1 0 auto;text-align:end}.tf-context-wp .tf-color-slider-container{border:1px solid #8c8f94;border-radius:10px;height:20px;width:100%}.tf-context-wp .tf-combo-box{display:flex;flex-direction:column;width:100%}.tf-context-wp .tf-combo-box-text{background:#fff;border:1px solid #8c8f94;border-radius:2px;box-shadow:unset;color:inherit;display:flex;flex-wrap:nowrap;font-size:16px;font-style:inherit;font-weight:inherit;height:35px;justify-content:space-between;padding:0;position:relative;width:100%}.tf-context-wp .tf-combo-box-text::-moz-placeholder{color:initial;font-size:16px;font-style:inherit;font-weight:inherit}.tf-context-wp .tf-combo-box-text::placeholder{color:initial;font-size:16px;font-style:inherit;font-weight:inherit}.tf-context-wp .tf-combo-box-text input{border:0;box-shadow:none;width:100%}.tf-context-wp .tf-combo-box-text input:focus{box-shadow:none}.tf-context-wp .tf-combo-box-text .tf-button-action{background:#fff;background:none;border:0;border-radius:2px;box-sizing:border-box;color:var(--wp-admin-theme-color,#3858e9);cursor:pointer;height:36px;max-height:33px;padding:6px 12px;transition-duration:.2s;transition-property:color,background-color,border-color;transition-timing-function:ease-in-out}.tf-context-wp .tf-combo-box-text .tf-button-action:hover{background:#fff;border-color:var(--wp-components-color-accent-darker-10,var(--wp-admin-theme-color-darker-10,#006ba1));color:var(--wp-components-color-accent-darker-10,var(--wp-admin-theme-color-darker-10,#006ba1))}.tf-context-wp .tf-combo-box-text .tf-button-action span{padding:0 2px}.tf-context-wp .tf-combo-box-text:focus-within{border-color:var(--wp-admin-theme-color,#3858e9);box-shadow:0 0 0 1px var(--wp-admin-theme-color,#3858e9);outline:2px solid transparent}.tf-context-wp .tf-combo-box-item{align-items:center;background-color:#e2e7ff;border:1px solid transparent;border-radius:2px;box-sizing:border-box;color:var(--wp-admin-theme-color,#3858e9);display:inline-flex;font-size:13px;font-weight:700;gap:.35em;line-height:1.4;max-width:100%;padding:.25em .5em}.tf-context-wp .tf-combo-box-item span:first-child{flex:1 1 auto;padding-right:5px;text-overflow:ellipsis}.tf-context-wp .tf-combo-box-item button:last-child{background-color:transparent;border:none;color:var(--wp-admin-theme-color,#3858e9);cursor:pointer}.tf-context-wp .tf-combo-box-item button:last-child:focus{outline:none}.tf-context-wp .tf-multiple-combobox-container{display:flex;gap:8px;position:relative}.tf-context-wp .tf-multiple-combobox-container>.tf-popover{left:0;position:absolute;top:100%;width:100%;z-index:900}.tf-context-wp .tf-multiple-combobox-container>.tf-popover .tf-combo-box{width:100%}.tf-context-wp .tf-multiple-combobox-container>.tf-popover .tf-list-box-option:not(.tf-list-box-option-selected,.tf-list-box-option-disabled):hover:after{content:"+";margin-left:auto}.tf-context-wp .tf-multiple-combobox{position:relative}.tf-context-wp .tf-multiple-combobox>.tf-label{display:flex}.tf-context-wp .tf-multiple-combobox-values{align-items:center;background-color:#fff;border:1px solid #8c8f94;border-radius:2px;box-sizing:border-box;display:flex;flex-wrap:wrap;gap:8px;min-height:35px;padding:6px 8px;width:100%}.tf-context-wp .tf-multiple-combobox[data-enabled=false] .tf-multiple-combobox-values{opacity:.5}.tf-context-wp .tf-combo-box-popover.tf-popover{border:1px solid #8c8f94;border-bottom-left-radius:2px;border-bottom-right-radius:2px;border-color:var(--wp-admin-theme-color,#3858e9);box-shadow:0 0 0 1px var(--wp-admin-theme-color,#3858e9);margin-left:-2px;outline:2px solid transparent}.tf-context-wp .tf-date-picker{align-items:flex-start;display:flex;flex-direction:column}.tf-context-wp .tf-popover{border:1px solid #8c8f94;border-radius:2px;display:flex;justify-content:center;width:auto}.tf-context-wp .tf-popover .tf-calendar{padding:20px;width:-moz-fit-content;width:fit-content}.tf-context-wp .tf-popover .tf-calendar-month{text-align:center}.tf-context-wp .tf-popover .tf-calendar-buttons{align-items:center;display:flex;justify-content:space-between}.tf-context-wp .tf-popover .tf-calendar-buttons button{background:#fff;border:1px solid var(--wp-admin-theme-color,#3858e9);border-radius:2px;box-sizing:border-box;color:var(--wp-admin-theme-color,#3858e9);cursor:pointer;height:36px;padding:6px 12px;transition-duration:.2s;transition-property:color,background-color,border-color;transition-timing-function:ease-in-out}.tf-context-wp .tf-popover .tf-calendar-buttons button:hover{background:#fff;border-color:var(--wp-components-color-accent-darker-10,var(--wp-admin-theme-color-darker-10,#006ba1));color:var(--wp-components-color-accent-darker-10,var(--wp-admin-theme-color-darker-10,#006ba1))}.tf-context-wp .tf-popover .tf-calendar-tables{display:flex}.tf-context-wp .tf-popover .tf-calendar-table{padding:10px;width:100%}.tf-context-wp .tf-popover .tf-calendar-table td{text-align:center}.tf-context-wp .tf-popover .tf-calendar-presets{display:flex;gap:.25rem}.tf-context-wp .tf-popover .tf-calendar-presets button{background:#fff;border:1px solid var(--wp-admin-theme-color,#3858e9);border-radius:2px;box-sizing:border-box;color:var(--wp-admin-theme-color,#3858e9);cursor:pointer;height:36px;padding:6px 12px;transition-duration:.2s;transition-property:color,background-color,border-color;transition-timing-function:ease-in-out}.tf-context-wp .tf-popover .tf-calendar-presets button:hover{background:#fff;border-color:var(--wp-components-color-accent-darker-10,var(--wp-admin-theme-color-darker-10,#006ba1));color:var(--wp-components-color-accent-darker-10,var(--wp-admin-theme-color-darker-10,#006ba1))}.tf-context-wp .tf-popover .tf-calendar-cell{border-radius:100%;cursor:pointer;height:2em;line-height:2em;width:2em}.tf-context-wp .tf-popover .tf-calendar-cell.tf-calendar-cell-disabled,.tf-context-wp .tf-popover .tf-calendar-cell.tf-calendar-cell-unavailable{cursor:not-allowed;opacity:.5}.tf-context-wp .tf-popover .tf-calendar-cell:not(.tf-calendar-cell-disabled,.tf-calendar-cell-unavailable,.tf-calendar-cell-selected):hover{color:var(--wp-admin-theme-color,#3858e9)}.tf-context-wp .tf-popover .tf-calendar-cell.tf-calendar-cell-selected{background-color:var(--wp-admin-theme-color,#3858e9);color:#fff}.tf-context-wp .tf-date-group{align-items:center;display:flex;gap:8px;justify-content:flex-start}.tf-context-wp .tf-date-group .tf-button-action{height:35px}.tf-context-wp .tf-date-field-container{width:100%}.tf-context-wp .tf-date-field{align-items:center;background:#fff;border:1px solid #8c8f94;border-radius:2px;box-shadow:unset;color:inherit;display:inline-flex;font-size:16px;font-style:inherit;font-weight:inherit;height:35px;height:23px;justify-content:center;padding:6px 8px;width:100%;width:calc(100% - 16px)}.tf-context-wp .tf-date-field::-moz-placeholder{color:initial;font-size:16px;font-style:inherit;font-weight:inherit}.tf-context-wp .tf-date-field::placeholder{color:initial;font-size:16px;font-style:inherit;font-weight:inherit}.tf-context-wp .tf-date-field:focus-within{border-color:var(--wp-admin-theme-color,#3858e9)}.tf-context-wp .tf-date-segment{font-variant-numeric:tabular-nums;padding:0 2px;text-align:end}.tf-context-wp .tf-date-segment:focus{background:var(--wp-admin-theme-color,#3858e9);border-radius:2px;color:#fff;outline:none}.tf-context-wp .tf-date-segment span{display:none}.tf-context-wp .tf-date-segment-placeholder span{display:flex}.tf-context-wp .tf-dimensions{display:flex;flex-direction:column}.tf-context-wp .tf-dimensions .tf-select,.tf-context-wp .tf-dimensions .tf-select .tf-button-select{width:auto}.tf-context-wp .tf-dimensions-container{display:flex;flex-wrap:wrap;position:relative;width:-moz-fit-content;width:fit-content}.tf-context-wp .tf-dimensions-number-groups{display:flex;flex-direction:row;max-width:300px}.tf-context-wp .tf-dimensions-number-groups .tf-number{flex:1 1 75px}.tf-context-wp .tf-dimensions-number-groups .tf-number .tf-number-field{width:100%}.tf-context-wp .tf-dimensions-number-groups .tf-number input{text-align:left;width:100%}.tf-context-wp .tf-dimensions-number-groups .tf-number-button-group .tf-button-number{padding:0 3px}.tf-context-wp .tf-dimensions-number-groups-linked .tf-number:not(:first-child){display:none;opacity:.5;pointer-events:none}.tf-context-wp .tf-dynamic-text-field{align-items:center;display:flex;gap:8px;position:relative}.tf-context-wp .tf-dynamic-text-field .tf-dynamic-text-popover{left:0;position:absolute;top:100%;width:100%;z-index:900}.tf-context-wp .tf-dynamic-text-field .tf-dynamic-text-popover .tf-list-box-option:not(.tf-list-box-option-selected,.tf-list-box-option-disabled):hover:after{content:"+";margin-left:auto}.tf-context-wp .tf-dynamic-text-item{align-items:center;background-color:#e2e7ff;border:1px solid transparent;border-radius:2px;color:var(--wp-admin-theme-color,#3858e9);display:inline-flex;font-size:13px;font-weight:700;gap:.35em;line-height:1.4;margin:0 .15em;padding:.25em .5em}.tf-context-wp .tf-dynamic-text-item:before{content:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMSIgaGVpZ2h0PSIxNiIgZmlsbD0ibm9uZSI+PGcgY2xpcC1wYXRoPSJ1cmwoI2EpIj48cGF0aCBmaWxsPSIjMzg1OEU5IiBkPSJNNi44OSA3LjA2MmgzLjE5M2MuMzgxIDAgLjcyNS4yNDQuODM0LjYwN2EuOTEuOTEgMCAwIDEtLjIzIDEuMDM3bC03LjMzMyA2LjU2M2EuOS45IDAgMCAxLTEuMTQzLjA1Mi45NS45NSAwIDAgMS0uMzA0LTEuMTI4bDIuMjA0LTUuMjU2SC44OWMtLjM1NiAwLS42OTgtLjI0My0uODMzLS42MDZhLjk1NS45NTUgMCAwIDEgLjI1NS0xLjAzN0w3LjY0Ni43MzJBLjkuOSAwIDAgMSA4Ljc4OC42NzlhLjk1Ljk1IDAgMCAxIC4zMDQgMS4xMjh6Ii8+PC9nPjxkZWZzPjxjbGlwUGF0aCBpZD0iYSI+PHBhdGggZmlsbD0iI2ZmZiIgZD0iTTAgLjVoMTF2MTVIMHoiLz48L2NsaXBQYXRoPjwvZGVmcz48L3N2Zz4=");line-height:1}.tf-context-wp .cm-content[contenteditable=false] .tf-dynamic-text-item{filter:grayscale(1)}.tf-context-wp .tf-dynamic-text-input{padding:0}.tf-context-wp .tf-dynamic-text-input:focus-within{box-shadow:0 0 0 1px var(--wp-admin-theme-color,#3858e9);outline:2px solid transparent}.tf-context-wp .tf-dynamic-text-input>.cm-editor{padding:0 8px}.tf-context-wp .tf-dynamic-text-input>.cm-editor.cm-focused{outline:none}.tf-context-wp .tf-dynamic-text-input>.cm-editor .cm-scroller{font-family:inherit}.tf-context-wp .tf-dynamic-text-input>.cm-editor .cm-content{height:100%}.tf-context-wp .tf-editor .ProseMirror ul{list-style-type:disc}.tf-context-wp .tf-editor .ProseMirror ol{margin:0}.tf-context-wp .tf-editor .ProseMirror{line-height:1.2;outline:none;padding:4px 8px 4px 14px}.tf-context-wp .tf-editor .tf-editor-view-toggle{display:flex;flex-direction:row;justify-content:flex-end;padding-bottom:5px}.tf-context-wp .tf-editor .tf-editor-view-toggle .tf-button-group,.tf-context-wp .tf-file-field{width:-moz-fit-content;width:fit-content}.tf-context-wp .tf-file-field{align-items:center;display:flex;flex-wrap:wrap}.tf-context-wp .tf-file-text{max-width:100%;overflow:hidden;padding:6px 8px;text-overflow:ellipsis}.tf-context-wp .tf-file-list{margin-bottom:0;padding:0;width:300px}.tf-context-wp .tf-file-item{align-items:center;display:flex;flex-wrap:wrap;justify-content:space-between}.tf-context-wp .tf-file-item img{max-width:200px}.tf-context-wp .tf-file-item span{flex-grow:1;overflow:hidden;text-overflow:ellipsis;width:70%}.tf-context-wp .tf-file-item .tf-button-upload-list{cursor:pointer;font-style:italic;text-decoration:underline}.tf-context-wp .tf-gallery-preview{display:flex}.tf-context-wp .tf-gallery-item{align-items:center;display:flex;height:100px;justify-content:center;width:100px}.tf-context-wp .tf-gallery-item img{border-radius:2px;height:100%;-o-object-fit:cover;object-fit:cover;overflow:hidden;width:100%}.tf-context-wp .tf-gallery__controls{background:#fff;border:1px solid #a7b1bb;border-radius:2px;padding:8px 12px}.tf-context-wp .tf-gallery-buttons{display:flex;gap:10px}.tf-context-wp .tf-gradient-container{display:flex;flex-direction:column;position:relative;width:100%}.tf-context-wp .tf-gradient-input{background:#fff;border:1px solid #8c8f94;border-radius:2px;box-shadow:unset;color:inherit;font-size:16px;font-style:inherit;font-weight:inherit;height:35px;padding:6px 8px;width:100%}.tf-context-wp .tf-gradient-input::-moz-placeholder{color:initial;font-size:16px;font-style:inherit;font-weight:inherit}.tf-context-wp .tf-gradient-input::placeholder{color:initial;font-size:16px;font-style:inherit;font-weight:inherit}.tf-context-wp .tf-gradient-settings{padding:10px 8px}.tf-context-wp .tf-gradient-settings .tf-gradient-settings-row{padding:10px 0}.tf-context-wp .tf-gradient-popover .tf-dialog{width:100%}.tf-context-wp .tf-gradient-preview{padding:10px 8px;position:relative}.tf-context-wp .tf-gradient-colors{align-items:center;cursor:pointer;display:flex;height:35px;justify-content:space-between;padding:6px 8px}.tf-context-wp .tf-list-container{display:flex;flex-direction:column;gap:8px}.tf-context-wp .tf-list-items{width:100%}.tf-context-wp .tf-list-header,.tf-context-wp .tf-list-header label,.tf-context-wp .tf-list-item{align-items:center;display:flex;justify-content:flex-start}.tf-context-wp .tf-list-header{background:#f0f0f0;border:1px solid hsla(218,4%,56%,.5);border-radius:2px;border-bottom-left-radius:0;border-bottom-right-radius:0;padding:6px 8px}.tf-context-wp .tf-list-header label{height:35px;margin:0}.tf-context-wp .tf-list-item{background:#fff;border:1px solid hsla(218,4%,56%,.5);border-top:none;box-sizing:border-box;height:35px;width:100%}.tf-context-wp .tf-list-item .tf-list-item-text{flex:1;font-size:14px;font-weight:600;padding:6px 8px}.tf-context-wp .tf-list-item .tf-list-item-actions{display:flex}.tf-context-wp .tf-list-search{display:flex;width:100%}.tf-context-wp .tf-list-search .tf-combo-box{flex:1}.tf-context-wp .tf-number input{background:#fff;border:1px solid #8c8f94;border-radius:2px;box-shadow:unset;color:inherit;font-size:16px;font-style:inherit;font-weight:inherit;height:35px;padding:6px 8px;width:100%}.tf-context-wp .tf-number input::-moz-placeholder{color:initial;font-size:16px;font-style:inherit;font-weight:inherit}.tf-context-wp .tf-number input::placeholder{color:initial;font-size:16px;font-style:inherit;font-weight:inherit}.tf-context-wp .tf-number .tf-label{display:flex}.tf-context-wp .tf-number-field{display:flex;flex-direction:row;flex-wrap:nowrap;position:relative;width:100%}.tf-context-wp .tf-number[data-enabled=false] .tf-number-field{opacity:.5}.tf-context-wp .tf-number-button-group{bottom:1px;display:flex;flex-direction:column;flex-wrap:nowrap;height:auto;padding:6px 8px;position:absolute;right:1px;top:1px}.tf-context-wp .tf-number-button-group .tf-button-number{align-items:center;background:#fff;background-color:#eee;border:0;border-radius:2px;border-radius:0;box-sizing:border-box;color:var(--wp-admin-theme-color,#3858e9);cursor:pointer;display:flex;height:36px;height:50%;justify-content:center;line-height:0;min-width:2em;padding:0;transition-duration:.2s;transition-property:color,background-color,border-color;transition-timing-function:ease-in-out}.tf-context-wp .tf-number-button-group .tf-button-number:hover{background:#fff;background-color:#e2e2e2;border-color:var(--wp-components-color-accent-darker-10,var(--wp-admin-theme-color-darker-10,#006ba1));color:var(--wp-components-color-accent-darker-10,var(--wp-admin-theme-color-darker-10,#006ba1))}.tf-context-wp .tf-number-button-group .tf-button-number:first-child{border-bottom-left-radius:0;border-bottom-right-radius:0}.tf-context-wp .tf-number-button-group .tf-button-number:last-child{border-top-left-radius:0;border-top-right-radius:0}.tf-context-wp .tf-radio-group-container{display:flex;flex-direction:column}.tf-context-wp .tf-multiple-select,.tf-context-wp .tf-select{display:inline-block;position:relative;width:100%}.tf-context-wp .tf-multiple-select>.tf-label,.tf-context-wp .tf-select>.tf-label{display:flex}.tf-context-wp .tf-multiple-select__value,.tf-context-wp .tf-select__value{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tf-context-wp .tf-multiple-select .tf-button-select,.tf-context-wp .tf-select .tf-button-select{align-items:center;background:#fff;border:1px solid #8c8f94;border-radius:2px;box-shadow:unset;color:inherit;display:flex;font-style:inherit;font-weight:inherit;height:35px;justify-content:space-between;padding:0 10px;width:100%}.tf-context-wp .tf-multiple-select .tf-button-select::-moz-placeholder,.tf-context-wp .tf-select .tf-button-select::-moz-placeholder{color:initial;font-size:16px;font-style:inherit;font-weight:inherit}.tf-context-wp .tf-multiple-select .tf-button-select::placeholder,.tf-context-wp .tf-select .tf-button-select::placeholder{color:initial;font-size:16px;font-style:inherit;font-weight:inherit}.tf-context-wp .tf-multiple-select .tf-button-select[disabled],.tf-context-wp .tf-select .tf-button-select[disabled]{background:hsla(0,0%,100%,.5);border-color:rgba(0,0,0,.1);color:rgba(0,0,0,.4)}.tf-context-wp .tf-multiple-select .tf-select-icon,.tf-context-wp .tf-select .tf-select-icon{font-size:10px;padding-left:5px}.tf-context-wp .tf-multiple-select .tf-button-select,.tf-context-wp .tf-select .tf-button-select{cursor:pointer;font-size:16px}.tf-context-wp .tf-simple-dimensions{display:flex;flex-direction:column}.tf-context-wp .tf-simple-dimensions .tf-select,.tf-context-wp .tf-simple-dimensions .tf-select .tf-button-select{width:auto}.tf-context-wp .tf-simple-dimensions-container{display:flex;position:relative;width:-moz-fit-content;width:fit-content}.tf-context-wp .tf-switch label{align-items:center;display:flex;justify-content:flex-start}.tf-context-wp .tf-switch-element,.tf-context-wp .tf-switch-element-selected{display:inline-block;height:35px;position:relative;width:70px}.tf-context-wp .tf-switch-element span,.tf-context-wp .tf-switch-element-selected span{background-color:#ccc;border-radius:35px;bottom:0;cursor:pointer;left:0;position:absolute;right:0;top:0;transition:.4s}.tf-context-wp .tf-switch-element span:before,.tf-context-wp .tf-switch-element-selected span:before{background-color:#fff;border-radius:50%;bottom:4px;content:"";height:27px;left:4px;position:absolute;transition:.4s;width:27px}.tf-context-wp .tf-switch-element-selected span{background-color:var(--wp-admin-theme-color,#3858e9)}.tf-context-wp .tf-switch-element-selected span:focus{box-shadow:0 0 1px var(--wp-admin-theme-color,#3858e9)}.tf-context-wp .tf-switch-element-selected span:before{transform:translateX(35px)}.tf-context-wp .tf-text{box-sizing:content-box;display:flex;flex-direction:column}.tf-context-wp .tf-text input{background:#fff;border:1px solid #8c8f94;border-radius:2px;box-shadow:unset;color:inherit;font-size:16px;font-style:inherit;font-weight:inherit;height:35px;padding:6px 8px;width:100%}.tf-context-wp .tf-text input::-moz-placeholder{color:initial;font-size:16px;font-style:inherit;font-weight:inherit}.tf-context-wp .tf-text input::placeholder{color:initial;font-size:16px;font-style:inherit;font-weight:inherit}.tf-context-wp .tf-text-area textarea{background:#fff;border:1px solid #8c8f94;border-radius:2px;box-shadow:unset;color:inherit;font-size:16px;font-style:inherit;font-weight:inherit;height:35px;height:auto;padding:.6em;width:100%}.tf-context-wp .tf-text-area textarea::-moz-placeholder{color:initial;font-size:16px;font-style:inherit;font-weight:inherit}.tf-context-wp .tf-text-area textarea::placeholder{color:initial;font-size:16px;font-style:inherit;font-weight:inherit}.tf-context-wp .tf-repeater-bulk-actions{align-items:center;background:#fff;border:1px solid #8c8f94;border-radius:2px;display:flex;justify-content:flex-start;margin-bottom:4px;padding:5px 8px}.tf-context-wp .tf-repeater-bulk-actions>button,.tf-context-wp .tf-repeater-bulk-actions>div{margin-right:5px}.tf-context-wp .tf-repeater-advanced-label-row{box-sizing:border-box;display:flex;gap:8px;justify-content:space-between;padding:8px 12px;width:100%}.tf-context-wp .tf-repeater-advanced-label-row .tf-repeater-advanced-label-row-item{align-items:center;display:flex;flex:1;flex-wrap:wrap;justify-content:flex-start}.tf-context-wp .tf-repeater-advanced-label-row .tf-repeater-advanced-label-row-item:first-child{color:var(--wp-admin-theme-color,#3858e9);font-weight:700}.tf-context-wp .tf-repeater-advanced-label-row .tf-repeater-advanced-label-row-arrow,.tf-context-wp .tf-repeater-advanced-label-row .tf-repeater-advanced-label-row-index{width:32px}.tf-context-wp .tf-repeater-advanced-header{background:#f0f0f0;border:1px solid hsla(218,4%,56%,.5);border-bottom:none;border-radius:2px;border-bottom-left-radius:0;border-bottom-right-radius:0;margin:0}.tf-context-wp .tf-repeater-advanced-header .tf-repeater-advanced-header-item{color:inherit;font-size:14px;font-style:inherit;font-weight:600;height:35px;margin-bottom:0;text-transform:inherit}.tf-context-wp .tf-repeater-advanced-overview{background:#fff}.tf-context-wp .tf-repeater-advanced-overview .tf-repeater-advanced-label-row-arrow,.tf-context-wp .tf-repeater-advanced-overview .tf-repeater-advanced-label-row-index{height:40px;line-height:40px;text-align:center}.tf-context-wp .tf-repeater-advanced-overview .tf-repeater-advanced-label-row-index{background:#f0f0f0}.tf-context-wp .tf-repeater-advanced-overview .tf-repeater-advanced-label-row-arrow{cursor:pointer}.tf-context-wp .tf-repeater-advanced-overview .tf-repeater-advanced-label-row-arrow>div{border:solid;border-color:inherit;border-width:0 1px 1px 0;display:inline-block;height:8.75px;width:8.75px}.tf-context-wp .tf-repeater-advanced-overview .tf-repeater-advanced-overview-item-actions{height:20px;width:100%}.tf-context-wp .tf-repeater-advanced-overview .tf-repeater-advanced-overview-item-actions button{display:none}.tf-context-wp .tf-repeater-advanced-overview-item-container{display:flex;flex-direction:column;justify-content:center;width:100%}.tf-context-wp .tf-repeater-advanced-overview-item-fields{display:flex}.tf-context-wp .tf-repeater-advanced-overview:hover .tf-repeater-advanced-overview-item-actions button{display:initial}.tf-context-wp .tf-repeater-advanced-item .tf-repeater-advanced-overview:hover,.tf-context-wp .tf-repeater-advanced-item[data-open=true] .tf-repeater-advanced-overview{background-color:#e2e7ff}.tf-context-wp .tf-repeater-advanced-item[data-open=true] .tf-repeater-advanced-label-row-arrow>div{transform:translateY(50%) rotate(-135deg)}.tf-context-wp .tf-repeater-advanced-item[data-open=false] .tf-repeater-advanced-label-row-arrow>div{transform:translateY(-50%) rotate(45deg)}.tf-context-wp .tf-repeater-advanced-item{background-color:#fff;border:1px solid hsla(218,4%,56%,.5);border-radius:2px;border-radius:0;border-top:none;position:relative}.tf-context-wp .tf-repeater-advanced-item[data-open=true]:before{background-color:var(--wp-admin-theme-color,#3858e9);content:"";height:100%;left:0;position:absolute;top:0;width:3px}.tf-context-wp .tf-repeater-advanced-container>.tf-repeater-actions{background-color:#fff;border:1px solid hsla(218,4%,56%,.5);border-radius:2px;border-top:none;border-top-left-radius:0;border-top-right-radius:0}.tf-context-wp .tf-repeater-advanced-row{margin:16px 32px}.tf-context-wp .tf-repeater-advanced-row .tf-repeater-advanced-item-field{padding:8px 12px}.tf-context-wp .tf-repeater-advanced-item-field:has(>div[data-overlay-container=true]:empty){display:none}.tf-context-wp .tf-repeater-advanced-item-field:has(input.tf-hidden[type=hidden]){padding:0}.tf-context-wp .tf-repeater-advanced .tf-repeater-actions{padding:8px 12px}.tf-context-wp .tf-repeater-bare-items{display:flex;flex-direction:column;row-gap:8px}.tf-context-wp .tf-repeater-bare-items .tf-repeater-bare-row{display:flex;gap:8px;width:100%}.tf-context-wp .tf-repeater-block-item{background:#fff;border:1px solid #8c8f94;border-radius:2px;display:flex;flex-direction:column;margin-bottom:6px;margin-top:1em;width:100%}.tf-context-wp .tf-repeater-block-item .tf-panel-header .tf-switch-element,.tf-context-wp .tf-repeater-block-item .tf-panel-header .tf-switch-element-selected{transform:scale(.7)}.tf-context-wp .tf-repeater-block-item-field{padding:1em}.tf-context-wp .tf-repeater-block-item-field:has(>div[data-overlay-container=true]:empty){display:none}.tf-context-wp .tf-repeater-table-container{border:1px solid hsla(218,4%,56%,.5);border-radius:2px;display:flex;flex-direction:column;width:100%}.tf-context-wp .tf-repeater-table-container .tf-repeater-actions{box-sizing:border-box;justify-content:flex-start;padding:8px 12px;width:100%}.tf-context-wp .tf-repeater-table-container table{padding:0 4px 4px;width:100%}.tf-context-wp .tf-repeater-table-container table th,.tf-context-wp .tf-repeater-table-container table tr{min-height:35px;padding:2px}.tf-context-wp .tf-repeater-table-container table th{height:35px;text-align:left}.tf-context-wp .tf-repeater-table-container table td>div{display:flex;justify-content:center;width:100%}.tf-context-wp .tf-repeater-table-container table td>div>div{width:100%}.tf-context-wp .tf-repeater-table-container .tf-repeater-row-actions{width:1%}.tf-context-wp .tf-repeater-table-container .tf-repeater-row-actions>div{display:inline-flex;gap:6px}.tf-context-wp .tf-repeater-actions{display:flex;gap:6px;justify-content:flex-end;padding:2px 2px 4px}.tf-context-wp .tf-repeater-actions .tf-button-action:last-child{border-color:#cc1818;color:#cc1818}.tf-context-wp .tf-repeater-title{color:inherit;font-size:14px;font-style:inherit;font-weight:600;margin-bottom:10px;text-transform:inherit}.tf-context-wp .tf-repeater-block-items{margin-bottom:8px;margin-top:8px}.tf-context-wp .tf-dynamic-wrapper{align-items:center;display:flex;position:relative}.tf-context-wp .tf-dynamic-wrapper .tf-dynamic-wrapper-popover{position:absolute;top:100%;width:100%;z-index:900}.tf-context-wp .tf-dynamic-wrapper .tf-dynamic-wrapper-popover-form{background:#fff;border:1px solid #8c8f94;padding:6px 8px;width:100%;z-index:900}.tf-context-wp .tf-dynamic-wrapper .tf-dynamic-wrapper-popover-form>*{margin:12px 0}.tf-context-wp .tf-dynamic-wrapper .tf-dynamic-wrapper-popover-buttons{display:flex;justify-content:flex-end}.tf-context-wp .tf-dynamic-wrapper .tf-dynamic-wrapper-popover-buttons button{margin-left:6px}.tf-context-wp .tf-dynamic-wrapper.tf-dynamic-wrapper-buttons-outside{gap:8px}.tf-context-wp .tf-dynamic-wrapper.tf-dynamic-wrapper-buttons-inside{gap:0;width:-moz-fit-content;width:fit-content}.tf-context-wp .tf-dynamic-wrapper.tf-dynamic-wrapper-buttons-inside .tf-button-icon{background:transparent;border:none;cursor:pointer;height:35px;position:absolute;right:1px;top:50%;transform:translateY(-50%)}.tf-context-wp .tf-dynamic-wrapper.tf-dynamic-wrapper-buttons-inside .tf-button-icon:before{content:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMyIgaGVpZ2h0PSIxNyIgZmlsbD0ibm9uZSI+PHBhdGggZmlsbD0iIzFFMUUxRSIgZD0iTTcuNTIyIDdoMy40ODdjLjQxNiAwIC43OS4yNi45MS42NDdhLjk1Ljk1IDAgMCAxLS4yNSAxLjEwNmwtLjYwMy41MjdhNC41IDQuNSAwIDAgMC01Ljk1NyA1LjIwOGwtMS40NDcgMS4yNjVhMSAxIDAgMCAxLTEuNTgtMS4xNDdMNC40ODkgOUguOTczYS45OTUuOTk1IDAgMCAxLS45MDktLjY0NyAxIDEgMCAwIDEgLjI3OC0xLjEwNmw4LjAwNS03YTEuMDAyIDEuMDAyIDAgMCAxIDEuNTggMS4xNDd6Ii8+PHBhdGggZmlsbD0iIzFFMUUxRSIgZmlsbC1ydWxlPSJldmVub2RkIiBkPSJNOS41IDE3YTMuNSAzLjUgMCAxIDAgMC03IDMuNSAzLjUgMCAwIDAgMCA3bTIuNS0zLjVhLjU3Ny41NzcgMCAwIDEtLjU3Ny41NzdoLTEuMzQ2djEuMzQ2YS41NzcuNTc3IDAgMSAxLTEuMTU0IDB2LTEuMzQ2SDcuNTc3YS41NzcuNTc3IDAgMCAxIDAtMS4xNTRoMS4zNDZ2LTEuMzQ2YS41NzcuNTc3IDAgMSAxIDEuMTU0IDB2MS4zNDZoMS4zNDZjLjMyIDAgLjU3Ny4yNTguNTc3LjU3NyIgY2xpcC1ydWxlPSJldmVub2RkIi8+PC9zdmc+);line-height:1;padding:0 5px}.tf-context-wp .tf-dynamic-wrapper.tf-dynamic-wrapper-buttons-inside .tf-button-icon.cm-content[contenteditable=false]:before{display:none}.tf-context-wp .tf-dynamic-field-wrapper.tf-dynamic-wrapper .tf-dynamic-value-input:disabled{background:hsla(0,0%,100%,.5);border-color:rgba(0,0,0,.1);color:rgba(0,0,0,.4)}.tf-context-wp .tf-dynamic-field-wrapper.tf-dynamic-wrapper .tf-button-icon.tf-dynamic-wrapper-clear:before{content:"⨯"}.tf-context-wp .tf-dynamic-text-input{background:#fff;border:1px solid #8c8f94;border-radius:2px;box-shadow:unset;color:inherit;font-size:16px;font-style:inherit;font-weight:inherit;height:35px;height:23px;padding:6px 8px;width:100%;width:calc(100% - 16px)}.tf-context-wp .tf-dynamic-text-input::-moz-placeholder{color:initial;font-size:16px;font-style:inherit;font-weight:inherit}.tf-context-wp .tf-dynamic-text-input::placeholder{color:initial;font-size:16px;font-style:inherit;font-weight:inherit}.tf-context-wp .tf-dynamic-text-input:focus-within{border-color:var(--wp-admin-theme-color,#3858e9)}.tf-context-wp .tf-dynamic-text-input:has(.cm-content[contenteditable=false]){background:hsla(0,0%,100%,.5);border-color:rgba(0,0,0,.1);color:rgba(0,0,0,.4);pointer-events:none}.tf-context-wp .tf-dynamic-text-input:has(.cm-content[contenteditable=false]) .tf-dynamic-text-input__affix{border-color:rgba(0,0,0,.1)}.tf-context-wp .tf-dynamic-text-input--has-prefix,.tf-context-wp .tf-dynamic-text-input--has-suffix{display:flex;height:auto;padding:0}.tf-context-wp .tf-dynamic-text-input--has-prefix>.cm-editor,.tf-context-wp .tf-dynamic-text-input--has-suffix>.cm-editor{flex:1 1 auto;min-height:32px;overflow:hidden}.tf-context-wp .tf-dynamic-text-input>.cm-editor{height:100%;justify-content:center;width:100%}.tf-context-wp .tf-dynamic-text-input>.cm-editor .cm-content,.tf-context-wp .tf-dynamic-text-input>.cm-editor .cm-line{padding:0}.tf-context-wp .tf-dynamic-text-input>.cm-editor .cm-content{display:flex;flex-direction:column;justify-content:center}.tf-context-wp .tf-dynamic-text-input .tf-dynamic-text-item-delete:before{content:"⨯";cursor:pointer;padding-left:3px}.tf-context-wp .tf-dynamic-text-input__affix{align-items:center;border:0 solid #8c8f94;display:inline-flex;font-size:.8em;font-weight:700;padding:0 .5em;text-wrap:nowrap}.tf-context-wp .tf-dynamic-text-input__affix--prefix{border-right-width:1px}.tf-context-wp .tf-dynamic-text-input__affix--suffix{border-left-width:1px}.tf-context-wp .tf-dynamic-text-input:focus-within .tf-dynamic-text-input__affix{border-color:#4b84ce}.tf-context-wp .tf-dynamic-wrapper[data-dynamic=true] .cm-editor{padding-right:25px}.tf-context-wp .tf-dynamic-wrapper[data-dynamic=true] .cm-editor:has(.cm-content[contenteditable=false]){padding-right:0}.tf-context-wp .tf-dynamic-wrapper[data-dynamic=true] .tf-dynamic-text-input--has-suffix .cm-editor{padding-right:8px}.tf-context-wp .tf-dynamic-wrapper[data-dynamic=true] .tf-dynamic-text-input__affix--suffix{border-right-width:1px;margin-right:33px}.tf-context-wp .tf-dynamic-text-input{box-sizing:content-box;width:calc(100% - 18px)}.tf-context-wp .tf-dynamic-wrapper-popover-field .tf-dynamic-text-input{box-sizing:border-box;height:35px}.tf-context-wp .tf-dynamic-text-input>.cm-editor .cm-content{padding:6px 8px}.tf-context-wp .tf-dynamic-text-input .cm-editor{box-sizing:border-box!important}.tf-context-wp .tf-text .tf-dynamic-wrapper{width:100%}.tf-context-wp .tf-conditional-panel-conditions .tf-dynamic-text-input{min-width:200px}.tf-context-wp .tf-file-list{max-width:300px}.ProseMirror-textblock-dropdown{min-width:3em}.ProseMirror-menu{line-height:1;margin:0 -4px}.ProseMirror-tooltip .ProseMirror-menu{white-space:pre;width:-moz-fit-content;width:fit-content}.ProseMirror-menuitem{display:inline-block;margin-right:3px}.ProseMirror-menuseparator{border-right:1px solid #ddd;margin-right:3px}.ProseMirror-menu-dropdown,.ProseMirror-menu-dropdown-menu{font-size:90%;white-space:nowrap}.ProseMirror-menu-dropdown{cursor:pointer;padding-right:15px;position:relative;vertical-align:1px}.ProseMirror-menu-dropdown-wrap{display:inline-block;padding:1px 0 1px 4px;position:relative}.ProseMirror-menu-dropdown:after{border-left:4px solid transparent;border-right:4px solid transparent;border-top:4px solid;content:"";opacity:.6;position:absolute;right:4px;top:calc(50% - 2px)}.ProseMirror-menu-dropdown-menu,.ProseMirror-menu-submenu{background:#fff;border:1px solid #aaa;color:#666;padding:2px;position:absolute}.ProseMirror-menu-dropdown-menu{min-width:6em;z-index:15}.ProseMirror-menu-dropdown-item{cursor:pointer;padding:2px 8px 2px 4px}.ProseMirror-menu-dropdown-item:hover{background:#f2f2f2}.ProseMirror-menu-submenu-wrap{margin-right:-4px;position:relative}.ProseMirror-menu-submenu-label:after{border-bottom:4px solid transparent;border-left:4px solid;border-top:4px solid transparent;content:"";opacity:.6;position:absolute;right:4px;top:calc(50% - 4px)}.ProseMirror-menu-submenu{display:none;left:100%;min-width:4em;top:-3px}.ProseMirror-menu-active{background:#eee;border-radius:4px}.ProseMirror-menu-disabled{opacity:.3}.ProseMirror-menu-submenu-wrap-active .ProseMirror-menu-submenu,.ProseMirror-menu-submenu-wrap:hover .ProseMirror-menu-submenu{display:block}.ProseMirror-menubar{background:#fff;border-bottom:1px solid silver;border-top-left-radius:inherit;border-top-right-radius:inherit;color:#666;left:0;min-height:1em;padding:1px 6px;position:relative;right:0;top:0;z-index:10}.ProseMirror-icon{cursor:pointer;display:inline-block;line-height:.8;padding:2px 8px;vertical-align:-2px}.ProseMirror-menu-disabled.ProseMirror-icon{cursor:default}.ProseMirror-icon svg{fill:currentColor;height:1em}.ProseMirror-icon span{vertical-align:text-top}.ProseMirror-menubar-wrapper{background-color:#fff;border:2px solid rgba(0,0,0,.2);border-radius:5px;height:150px;overflow:auto;resize:vertical}.ProseMirror-menubar{box-shadow:0 2px 5px rgba(0,0,0,.2);box-sizing:border-box;overflow:visible;padding-bottom:12px;padding-top:12px}.ProseMirror.ProseMirror-example-setup-style{border-radius:5px;margin-bottom:20px;padding-bottom:12px;padding-left:12px;padding-right:12px}.ProseMirror-example-setup-style hr{border:none;margin:1em 0;padding:2px 10px}.ProseMirror-example-setup-style hr:after{background-color:silver;content:"";display:block;height:1px;line-height:2px}.ProseMirror ol,.ProseMirror ul{padding-left:30px}.ProseMirror blockquote{border-left:3px solid #eee;margin-left:0;margin-right:0;padding-left:1em}.ProseMirror-example-setup-style img{cursor:default}.ProseMirror-prompt{background:#fff;border:1px solid silver;border-radius:3px;box-shadow:-.5px 2px 5px rgba(0,0,0,.2);padding:8px 10px 8px 15px;position:fixed;z-index:9999999}.ProseMirror-prompt h5{color:#444;font-size:100%;font-weight:400;margin:0}.ProseMirror-prompt input[type=text],.ProseMirror-prompt textarea{background:#eee;border:none;outline:none}.ProseMirror-prompt input[type=text]{margin-top:5px;padding:0 4px}.ProseMirror-prompt-close{background:transparent;border:none;color:#666;left:2px;padding:0;position:absolute;top:1px}.ProseMirror-prompt-close:after{content:"✕";font-size:12px}.ProseMirror-invalid{background:#ffc;border:1px solid #cc7;border-radius:4px;min-width:10em;padding:5px 10px;position:absolute}.ProseMirror-prompt-buttons{margin-top:5px}.ProseMirror{position:relative;word-wrap:break-word;font-feature-settings:"liga" 0;font-variant-ligatures:none;white-space:pre-wrap;white-space:break-spaces}.ProseMirror pre{white-space:pre-wrap}.ProseMirror li{position:relative}.ProseMirror-hideselection ::selection{background:transparent}.ProseMirror-hideselection ::-moz-selection{background:transparent}.ProseMirror-hideselection{caret-color:transparent}.ProseMirror-selectednode{outline:2px solid #8cf}li.ProseMirror-selectednode{outline:none}li.ProseMirror-selectednode:after{border:2px solid #8cf;bottom:-2px;content:"";left:-32px;pointer-events:none;position:absolute;right:-2px;top:-2px}img.ProseMirror-separator{border:none!important;display:inline!important;margin:0!important}.ProseMirror-gapcursor{display:none;pointer-events:none;position:absolute}.ProseMirror-gapcursor:after{animation:ProseMirror-cursor-blink 1.1s steps(2,start) infinite;border-top:1px solid #000;content:"";display:block;position:absolute;top:-2px;width:20px}@keyframes ProseMirror-cursor-blink{to{visibility:hidden}}.ProseMirror-focused .ProseMirror-gapcursor{display:block} +@charset "UTF-8";.tf-context-wp .tf-button-action,.tf-context-wp .tf-button-danger,.tf-context-wp .tf-button-primary{align-items:center;background:#fff;border:1px solid var(--wp-admin-theme-color,#3858e9);border-radius:2px;box-sizing:border-box;color:var(--wp-admin-theme-color,#3858e9);cursor:pointer;display:flex;height:36px;justify-content:center;padding:6px 12px;transition-duration:.2s;transition-property:color,background-color,border-color;transition-timing-function:ease-in-out;width:-moz-fit-content;width:fit-content}.tf-context-wp .tf-button-action:hover,.tf-context-wp .tf-button-danger:hover,.tf-context-wp .tf-button-primary:hover{background:#fff;border-color:var(--wp-components-color-accent-darker-10,var(--wp-admin-theme-color-darker-10,#006ba1));color:var(--wp-components-color-accent-darker-10,var(--wp-admin-theme-color-darker-10,#006ba1))}.tf-context-wp .tf-button-danger{border-color:#cc1818;color:#cc1818}.tf-context-wp .tf-button-primary{background-color:var(--wp-admin-theme-color,#3858e9);color:#fff}.tf-context-wp .tf-button-action[disabled],.tf-context-wp .tf-button-danger[disabled],.tf-context-wp .tf-button-icon-trash[disabled],.tf-context-wp .tf-button-primary[disabled],.tf-context-wp .tf-button-text-action[disabled],.tf-context-wp .tf-button-text-danger[disabled],.tf-context-wp .tf-button-text-primary[disabled]{cursor:not-allowed;opacity:.5;pointer-events:none}.tf-context-wp .tf-button-action:focus{outline:none}.tf-context-wp .tf-button-text-action,.tf-context-wp .tf-button-text-danger,.tf-context-wp .tf-button-text-primary{background:transparent;border:none;cursor:pointer;display:inline}.tf-context-wp .tf-button-text-action:hover,.tf-context-wp .tf-button-text-danger:hover,.tf-context-wp .tf-button-text-primary:hover{font-weight:700}.tf-context-wp .tf-button-text-action{color:var(--wp-admin-theme-color,#3858e9)}.tf-context-wp .tf-button-text-danger{color:#cc1818}.tf-context-wp .tf-button-text-primary{color:var(--wp-admin-theme-color,#3858e9)}.tf-context-wp .tf-button-icon-trash{align-items:center;background:transparent;border:none;cursor:pointer;display:flex;height:35px;justify-content:center;width:35px}.tf-context-wp .tf-button-icon-trash:after{content:url('data:image/svg+xml;utf8,')}.tf-context-wp .tf-button-icon-eye{align-items:center;background:transparent;border:none;cursor:pointer;display:flex;height:35px;justify-content:center;width:35px}.tf-context-wp .tf-button-icon-eye:after{content:url('data:image/svg+xml;utf8,')}.tf-context-wp .tf-dialog .tf-title{display:flex}.tf-context-wp .tf-dialog .tf-title h4{margin:0;padding:12px 0}.tf-context-wp .tf-panel{background:#fff;border:1px solid #a7b1bb;border-radius:2px;display:flex;flex-direction:column;margin-bottom:8px;width:100%}.tf-context-wp .tf-panel-header{align-items:center;cursor:pointer;display:flex;height:35px;justify-content:space-between;width:100%}.tf-context-wp .tf-panel-header.tf-button-action{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:0;border-radius:0;box-sizing:border-box;color:inherit;cursor:pointer;display:flex;font-family:inherit;font-size:100%;height:35px;justify-content:space-between;line-height:1.15;margin:0;padding:8px 12px;text-align:left;width:100%}.tf-context-wp .tf-panel-header.tf-button-action:hover{background:#f0f0f0}.tf-context-wp .tf-panel-open .tf-panel-header.tf-button-action{border-bottom:1px solid #a7b1bb}.tf-context-wp .tf-panel-header-before-title,.tf-context-wp .tf-panel-header-left,.tf-context-wp .tf-panel-header-right,.tf-context-wp .tf-panel-header-title{align-items:center;display:flex;justify-content:flex-start;padding:0 8px}.tf-context-wp .tf-panel-header-left{padding-left:0}.tf-context-wp .tf-panel-content,.tf-context-wp .tf-panel-footer{padding:4px 8px}.tf-context-wp .tf-panel-closed .tf-panel-content{display:none}.tf-context-wp .tf-panel-footer{border-top:1px solid #a7b1bb;display:flex;gap:8px;justify-content:flex-end;padding:1em}.tf-context-wp .tf-panel-arrow{border:solid;border-color:inherit;border-width:0 1px 1px 0;display:inline-block;height:8.75px;width:8.75px}.tf-context-wp .tf-panel-open .tf-panel-arrow{transform:translateY(50%) rotate(-135deg)}.tf-context-wp .tf-panel-closed .tf-panel-arrow{transform:translateY(-50%) rotate(45deg)}.tf-context-wp .tf-label{color:inherit;font-size:14px;font-style:inherit;font-weight:600;margin-bottom:10px;text-transform:inherit}.tf-context-wp .tf-description{color:#7d8690;font-size:12px;font-style:inherit;font-weight:inherit;margin-bottom:revert;margin-top:8px}.tf-context-wp .tf-list-box{background:#fff;list-style:none;margin:5px 0;max-height:300px;max-width:100%;min-width:100%;overflow-y:auto;padding:0}.tf-context-wp .tf-list-box-option{background:transparent;border-radius:2px;cursor:pointer;display:flex;font-size:13px;gap:8px;margin:0 5px;outline:none;padding:5px 9px}.tf-context-wp .tf-list-box-option:not(.tf-list-box-option-selected,.tf-list-box-option-disabled):hover{color:var(--wp-admin-theme-color,#3858e9)}.tf-context-wp .tf-list-box-option-selected,.tf-context-wp .tf-list-box-option-selected.tf-list-box-option-selected{background-color:var(--wp-admin-theme-color,#3858e9);color:#fff}.tf-context-wp .tf-list-box-option-selected.tf-list-box-option-selected:hover,.tf-context-wp .tf-list-box-option-selected:hover{color:#fff}.tf-context-wp .tf-list-box-option-selected.tf-list-box-option-selected:after,.tf-context-wp .tf-list-box-option-selected:after{content:"✓";margin-left:auto}.tf-context-wp .tf-list-box-option-disabled{color:#aaa;cursor:default}.tf-context-wp .tf-list-box-option-focus{box-shadow:inset 0 0 0 2px;color:var(--wp-admin-theme-color,#3858e9)}.tf-context-wp .tf-list-box-section-separator:not(:first-child){border-top:1px solid #8c8f94;margin:12px 0}.tf-context-wp .tf-list-box-section>span{color:#7d8690;display:block;font-size:11px;font-weight:500;line-height:1.45;margin:0 10px;padding:5px 9px;text-transform:uppercase}.tf-context-wp .tf-list-box-section>ul{list-style:none;padding:0}.tf-context-wp .tf-modal{align-items:center;background:rgba(0,0,0,.7);bottom:0;display:flex;justify-content:center;left:0;position:fixed;right:0;top:0;z-index:9990}.tf-context-wp .tf-modal .tf-modal-container{background:#fff;border:1px solid #8c8f94;border-radius:2px;padding:2rem}.tf-context-wp .tf-modal-actions{display:flex;justify-content:flex-end;padding-top:12px}.tf-context-wp .tf-modal-actions button{margin-left:12px}.tf-context-wp .tf-notice{background:#fff;box-shadow:0 1px 1px rgba(0,0,0,.04);color:#000;margin-top:4px;padding:1px 12px}.tf-context-wp .tf-notice.tf-is-dismissible{padding-right:38px;position:relative}.tf-context-wp .tf-notice.tf-error{border-left:4px solid #d63638}.tf-context-wp .tf-notice.tf-success{border-left:4px solid #00a32a}.tf-context-wp .tf-notice.tf-warning{border-left-color:#dba617}.tf-context-wp .tf-notice.tf-info{border-left-color:#72aee6}.tf-context-wp .tf-notice-dismiss{background:none;border:none;color:#787c82;cursor:pointer;margin:0;padding:9px;position:absolute;right:1px;top:0}.tf-context-wp .tf-notice-dismiss:active:before,.tf-context-wp .tf-notice-dismiss:focus:before,.tf-context-wp .tf-notice-dismiss:hover:before{color:#d63638}.tf-context-wp .tf-notice-dismiss:focus{box-shadow:0 0 0 1px #4f94d4,0 0 2px 1px rgba(79,148,212,.8);outline:none}.tf-context-wp .tf-notice-dismiss:before{background:none;color:#787c82;content:"\f153";display:block;font:normal 16px/20px dashicons;height:20px;text-align:center;width:20px;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.tf-context-wp .tf-underlay{inset:0;position:fixed}.tf-context-wp .tf-popover{background:#fff;color:inherit;z-index:900}.tf-context-wp .tf-tooltip-trigger-content{cursor:context-menu;position:relative;width:-moz-fit-content;width:fit-content}.tf-context-wp .tf-tooltip{cursor:default;display:inline-block;max-width:150px;position:absolute;visibility:hidden;width:-moz-max-content;width:max-content;z-index:1}.tf-context-wp .tf-tooltip-top{bottom:100%;left:50%;margin-bottom:12px;transform:translateX(-50%)}.tf-context-wp .tf-tooltip-bottom{left:50%;margin-top:12px;top:100%;transform:translateX(-50%)}.tf-context-wp .tf-tooltip-start{margin-right:12px;right:100%;top:50%;transform:translateY(-50%)}.tf-context-wp .tf-tooltip-end{left:100%;margin-left:12px;top:50%;transform:translateY(-50%)}.tf-context-wp .tf-tooltip-content{border-radius:3px;font-size:12px;padding:6px 12px;text-align:center;word-break:normal}.tf-context-wp .tf-tooltip-content.light{background-color:#e6e6e6;color:hsla(0,4%,5%,.945);--tf-tooltip-after-color:#e6e6e6}.tf-context-wp .tf-tooltip-content.dark{background-color:hsla(0,4%,5%,.945);color:#e6e6e6;--tf-tooltip-after-color:hsla(0,4%,5%,.945)}.tf-context-wp .tf-tooltip-content:after{border-style:solid;border-width:7px;content:" ";position:absolute}.tf-context-wp .tf-tooltip-content-top:after{border-color:var(--tf-tooltip-after-color,transparent) transparent transparent transparent;left:50%;margin-left:-7px;top:100%}.tf-context-wp .tf-tooltip-content-bottom:after{border-color:transparent transparent var(--tf-tooltip-after-color,transparent) transparent;bottom:100%;left:50%;margin-left:-7px}.tf-context-wp .tf-tooltip-content-start:after{border-color:transparent transparent transparent var(--tf-tooltip-after-color,transparent);left:100%;margin-top:-7px;top:50%}.tf-context-wp .tf-tooltip-content-end:after{border-color:transparent var(--tf-tooltip-after-color,transparent) transparent transparent;margin-top:-7px;right:100%;top:50%}.tf-context-wp .tf-tooltip-trigger-content:hover .tf-tooltip{visibility:visible}.tf-context-wp .tf-conditional-group-actions{align-items:center;display:flex;gap:8px;padding:8px 0}.tf-context-wp .tf-conditional-group-actions strong{text-transform:uppercase}.tf-context-wp .tf-conditional-panel-condition-actions{display:flex;gap:4px}.tf-context-wp .tf-conditional-panel-condition-actions .tf-button-action:first-child{text-transform:uppercase}.tf-context-wp .tf-conditional-panel-condition-actions .tf-button-danger:last-child{position:relative}.tf-context-wp .tf-conditional-panel-condition-actions .tf-button-danger:last-child:before{background-color:#cc1818;content:"";height:1px;position:absolute;width:100%;width:10px}.tf-context-wp .tf-accordion .tf-switch-element,.tf-context-wp .tf-accordion .tf-switch-element-selected{transform:scale(.7)}.tf-context-wp .tf-alignment-matrix-container{display:grid;grid-template-columns:repeat(3,1fr);height:50px;margin:5px;width:50px}.tf-context-wp .tf-border-dimensions-container{margin:0 0 5px}.tf-context-wp .tf-button-group .tf-button-group-option{align-items:center;background:#fff;border:1px solid var(--wp-admin-theme-color,#3858e9);border-radius:2px;border-radius:0;box-sizing:border-box;color:var(--wp-admin-theme-color,#3858e9);cursor:pointer;display:inline-flex;height:36px;margin:0;padding:6px 12px;transition-duration:.2s;transition-property:color,background-color,border-color;transition-timing-function:ease-in-out}.tf-context-wp .tf-button-group .tf-button-group-option:hover{background:#fff;border-color:var(--wp-components-color-accent-darker-10,var(--wp-admin-theme-color-darker-10,#006ba1));color:var(--wp-components-color-accent-darker-10,var(--wp-admin-theme-color-darker-10,#006ba1))}.tf-context-wp .tf-button-group .tf-button-group-option:first-child{border-bottom-left-radius:2px;border-top-left-radius:2px}.tf-context-wp .tf-button-group .tf-button-group-option:not(:first-child){margin-left:-1px}.tf-context-wp .tf-button-group .tf-button-group-option:last-child{border-bottom-right-radius:2px;border-top-right-radius:2px}.tf-context-wp .tf-button-group .tf-button-group-option.tf-button-group-option-selected{background:var(--wp-admin-theme-color,#3858e9);border-color:var(--wp-admin-theme-color,#3858e9);color:#fff}.tf-context-wp .tf-button-group .tf-button-group-option:focus-within{position:relative;z-index:1}.tf-context-wp .tf-button-group .tf-button-group-option .dashicons{align-items:center;display:flex;justify-content:center}.tf-context-wp .tf-button-group-container[aria-disabled=true] .tf-button-group-option{opacity:.5;pointer-events:none}.tf-context-wp .tf-checkbox .tf-label{font-size:13px;font-weight:400;margin-bottom:revert;text-transform:none}.tf-context-wp .tf-checkbox input[type=checkbox]{border:1px solid;border-color:inherit;border-radius:2px;box-shadow:0 0 0 transparent;margin-right:10px}.tf-context-wp .tf-checkbox input[type=checkbox]:focus{border-color:var(--wp-admin-theme-color,#3858e9);box-shadow:0 0 0 1px var(--wp-admin-theme-color,#3858e9);outline:2px solid transparent}.tf-context-wp .tf-checkbox input[type=checkbox]:checked{background:var(--wp-admin-theme-color,#3858e9);border-color:var(--wp-admin-theme-color,#3858e9);color:#fff}.tf-context-wp .tf-checkbox input[type=checkbox]:checked:before{content:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGFyaWEtaGlkZGVuPSJ0cnVlIiBjbGFzcz0iY29tcG9uZW50cy1jaGVja2JveC1jb250cm9sX19jaGVja2VkIiB2aWV3Qm94PSIwIDAgMjQgMjQiPjxwYXRoIGZpbGw9IiNmZmYiIGQ9Im0xNi43IDcuMS02LjMgOC41LTMuMy0yLjUtLjkgMS4yIDQuNSAzLjRMMTcuOSA4eiIvPjwvc3ZnPg==")}.tf-context-wp .tf-checkbox input[type=checkbox]:indeterminate{background:var(--wp-admin-theme-color,#3858e9);border-color:var(--wp-admin-theme-color,#3858e9);color:#fff}.tf-context-wp .tf-checkbox input[type=checkbox]:indeterminate:before{content:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGFyaWEtaGlkZGVuPSJ0cnVlIiBjbGFzcz0iY29tcG9uZW50cy1jaGVja2JveC1jb250cm9sX19pbmRldGVybWluYXRlIiB2aWV3Qm94PSIwIDAgMjQgMjQiPjxwYXRoIGZpbGw9IiNmZmYiIGQ9Ik03IDExLjVoMTBWMTNIN3oiLz48L3N2Zz4=")}.tf-context-wp .tf-color-area,.tf-context-wp .tf-color-area-gradient{height:150px;width:100%}.tf-context-wp .tf-color-area-thumb{border:2px solid #fff;border-radius:50%;box-shadow:0 0 0 1px #000,inset 0 0 0 1px #000;height:20px;top:50%;width:20px}.tf-context-wp .tf-color-container{position:relative;width:-moz-fit-content;width:fit-content}.tf-context-wp .tf-color-container input{background:#fff;border:1px solid #8c8f94;border-radius:2px;box-shadow:unset;color:inherit;font-size:16px;font-style:inherit;font-weight:inherit;height:35px;padding:6px 8px;width:100%}.tf-context-wp .tf-color-container input::-moz-placeholder{color:initial;font-size:16px;font-style:inherit;font-weight:inherit}.tf-context-wp .tf-color-container input::placeholder{color:initial;font-size:16px;font-style:inherit;font-weight:inherit}.tf-context-wp .tf-color-picker{background:#fff;border:1px solid #8c8f94;width:100%;z-index:900}.tf-context-wp .tf-color-picker .tf-color-area{display:flex;justify-content:center;width:100%}.tf-context-wp .tf-color-picker .tf-color-area .tf-color-area-thumb{transform:translate(-50%,-50%)!important}.tf-context-wp .tf-color-picker .tf-color-input{display:flex;flex-direction:column;padding:10px}.tf-context-wp .tf-color-picker .tf-color-sliders{padding:6px 8px 10px}.tf-context-wp .tf-color-input>input{width:100%}.tf-context-wp .tf-color-slider{align-items:center;display:flex;flex-direction:column;padding-bottom:5px;padding-top:5px;width:100%}.tf-context-wp .tf-color-slider-label{align-self:stretch;display:flex}.tf-context-wp .tf-color-slider-label output{flex:1 0 auto;text-align:end}.tf-context-wp .tf-color-slider-container{border:1px solid #8c8f94;border-radius:10px;height:20px;width:100%}.tf-context-wp .tf-combo-box{display:flex;flex-direction:column;width:100%}.tf-context-wp .tf-combo-box-text{background:#fff;border:1px solid #8c8f94;border-radius:2px;box-shadow:unset;color:inherit;display:flex;flex-wrap:nowrap;font-size:16px;font-style:inherit;font-weight:inherit;height:35px;justify-content:space-between;padding:0;position:relative;width:100%}.tf-context-wp .tf-combo-box-text::-moz-placeholder{color:initial;font-size:16px;font-style:inherit;font-weight:inherit}.tf-context-wp .tf-combo-box-text::placeholder{color:initial;font-size:16px;font-style:inherit;font-weight:inherit}.tf-context-wp .tf-combo-box-text input{border:0;box-shadow:none;width:100%}.tf-context-wp .tf-combo-box-text input:focus{box-shadow:none}.tf-context-wp .tf-combo-box-text .tf-button-action{background:#fff;background:none;border:0;border-radius:2px;box-sizing:border-box;color:var(--wp-admin-theme-color,#3858e9);cursor:pointer;height:36px;max-height:33px;padding:6px 12px;transition-duration:.2s;transition-property:color,background-color,border-color;transition-timing-function:ease-in-out}.tf-context-wp .tf-combo-box-text .tf-button-action:hover{background:#fff;border-color:var(--wp-components-color-accent-darker-10,var(--wp-admin-theme-color-darker-10,#006ba1));color:var(--wp-components-color-accent-darker-10,var(--wp-admin-theme-color-darker-10,#006ba1))}.tf-context-wp .tf-combo-box-text .tf-button-action span{padding:0 2px}.tf-context-wp .tf-combo-box-text:focus-within{border-color:var(--wp-admin-theme-color,#3858e9);box-shadow:0 0 0 1px var(--wp-admin-theme-color,#3858e9);outline:2px solid transparent}.tf-context-wp .tf-combo-box-item{align-items:center;background-color:#e2e7ff;border:1px solid transparent;border-radius:2px;box-sizing:border-box;color:var(--wp-admin-theme-color,#3858e9);display:inline-flex;font-size:13px;font-weight:700;gap:.35em;line-height:1.4;max-width:100%;padding:.25em .5em}.tf-context-wp .tf-combo-box-item span:first-child{flex:1 1 auto;padding-right:5px;text-overflow:ellipsis}.tf-context-wp .tf-combo-box-item button:last-child{background-color:transparent;border:none;color:var(--wp-admin-theme-color,#3858e9);cursor:pointer}.tf-context-wp .tf-combo-box-item button:last-child:focus{outline:none}.tf-context-wp .tf-multiple-combobox-container{display:flex;gap:8px;position:relative}.tf-context-wp .tf-multiple-combobox-container>.tf-popover{left:0;position:absolute;top:100%;width:100%;z-index:900}.tf-context-wp .tf-multiple-combobox-container>.tf-popover .tf-combo-box{width:100%}.tf-context-wp .tf-multiple-combobox-container>.tf-popover .tf-list-box-option:not(.tf-list-box-option-selected,.tf-list-box-option-disabled):hover:after{content:"+";margin-left:auto}.tf-context-wp .tf-multiple-combobox{position:relative}.tf-context-wp .tf-multiple-combobox>.tf-label{display:flex}.tf-context-wp .tf-multiple-combobox-values{align-items:center;background-color:#fff;border:1px solid #8c8f94;border-radius:2px;box-sizing:border-box;display:flex;flex-wrap:wrap;gap:8px;min-height:35px;padding:6px 8px;width:100%}.tf-context-wp .tf-multiple-combobox[data-enabled=false] .tf-multiple-combobox-values{opacity:.5}.tf-context-wp .tf-combo-box-popover.tf-popover{border:1px solid #8c8f94;border-bottom-left-radius:2px;border-bottom-right-radius:2px;border-color:var(--wp-admin-theme-color,#3858e9);box-shadow:0 0 0 1px var(--wp-admin-theme-color,#3858e9);margin-left:-2px;outline:2px solid transparent}.tf-context-wp .tf-date-picker{align-items:flex-start;display:flex;flex-direction:column}.tf-context-wp .tf-popover{border:1px solid #8c8f94;border-radius:2px;display:flex;justify-content:center;width:auto}.tf-context-wp .tf-popover .tf-calendar{padding:20px;width:-moz-fit-content;width:fit-content}.tf-context-wp .tf-popover .tf-calendar-month{text-align:center}.tf-context-wp .tf-popover .tf-calendar-buttons{align-items:center;display:flex;justify-content:space-between}.tf-context-wp .tf-popover .tf-calendar-buttons button{background:#fff;border:1px solid var(--wp-admin-theme-color,#3858e9);border-radius:2px;box-sizing:border-box;color:var(--wp-admin-theme-color,#3858e9);cursor:pointer;height:36px;padding:6px 12px;transition-duration:.2s;transition-property:color,background-color,border-color;transition-timing-function:ease-in-out}.tf-context-wp .tf-popover .tf-calendar-buttons button:hover{background:#fff;border-color:var(--wp-components-color-accent-darker-10,var(--wp-admin-theme-color-darker-10,#006ba1));color:var(--wp-components-color-accent-darker-10,var(--wp-admin-theme-color-darker-10,#006ba1))}.tf-context-wp .tf-popover .tf-calendar-tables{display:flex}.tf-context-wp .tf-popover .tf-calendar-table{padding:10px;width:100%}.tf-context-wp .tf-popover .tf-calendar-table td{text-align:center}.tf-context-wp .tf-popover .tf-calendar-presets{display:flex;gap:.25rem}.tf-context-wp .tf-popover .tf-calendar-presets button{background:#fff;border:1px solid var(--wp-admin-theme-color,#3858e9);border-radius:2px;box-sizing:border-box;color:var(--wp-admin-theme-color,#3858e9);cursor:pointer;height:36px;padding:6px 12px;transition-duration:.2s;transition-property:color,background-color,border-color;transition-timing-function:ease-in-out}.tf-context-wp .tf-popover .tf-calendar-presets button:hover{background:#fff;border-color:var(--wp-components-color-accent-darker-10,var(--wp-admin-theme-color-darker-10,#006ba1));color:var(--wp-components-color-accent-darker-10,var(--wp-admin-theme-color-darker-10,#006ba1))}.tf-context-wp .tf-popover .tf-calendar-cell{border-radius:100%;cursor:pointer;height:2em;line-height:2em;width:2em}.tf-context-wp .tf-popover .tf-calendar-cell.tf-calendar-cell-disabled,.tf-context-wp .tf-popover .tf-calendar-cell.tf-calendar-cell-unavailable{cursor:not-allowed;opacity:.5}.tf-context-wp .tf-popover .tf-calendar-cell:not(.tf-calendar-cell-disabled,.tf-calendar-cell-unavailable,.tf-calendar-cell-selected):hover{color:var(--wp-admin-theme-color,#3858e9)}.tf-context-wp .tf-popover .tf-calendar-cell.tf-calendar-cell-selected{background-color:var(--wp-admin-theme-color,#3858e9);color:#fff}.tf-context-wp .tf-date-group{align-items:center;display:flex;gap:8px;justify-content:flex-start}.tf-context-wp .tf-date-group .tf-button-action{height:35px}.tf-context-wp .tf-date-field-container{width:100%}.tf-context-wp .tf-date-field{align-items:center;background:#fff;border:1px solid #8c8f94;border-radius:2px;box-shadow:unset;color:inherit;display:inline-flex;font-size:16px;font-style:inherit;font-weight:inherit;height:35px;height:23px;justify-content:center;padding:6px 8px;width:100%;width:calc(100% - 16px)}.tf-context-wp .tf-date-field::-moz-placeholder{color:initial;font-size:16px;font-style:inherit;font-weight:inherit}.tf-context-wp .tf-date-field::placeholder{color:initial;font-size:16px;font-style:inherit;font-weight:inherit}.tf-context-wp .tf-date-field:focus-within{border-color:var(--wp-admin-theme-color,#3858e9)}.tf-context-wp .tf-date-segment{font-variant-numeric:tabular-nums;padding:0 2px;text-align:end}.tf-context-wp .tf-date-segment:focus{background:var(--wp-admin-theme-color,#3858e9);border-radius:2px;color:#fff;outline:none}.tf-context-wp .tf-date-segment span{display:none}.tf-context-wp .tf-date-segment-placeholder span{display:flex}.tf-context-wp .tf-dimensions{display:flex;flex-direction:column}.tf-context-wp .tf-dimensions .tf-select,.tf-context-wp .tf-dimensions .tf-select .tf-button-select{width:auto}.tf-context-wp .tf-dimensions-container{display:flex;flex-wrap:wrap;position:relative;width:-moz-fit-content;width:fit-content}.tf-context-wp .tf-dimensions-number-groups{display:flex;flex-direction:row;max-width:300px}.tf-context-wp .tf-dimensions-number-groups .tf-number{flex:1 1 75px}.tf-context-wp .tf-dimensions-number-groups .tf-number .tf-number-field{width:100%}.tf-context-wp .tf-dimensions-number-groups .tf-number input{text-align:left;width:100%}.tf-context-wp .tf-dimensions-number-groups .tf-number-button-group .tf-button-number{padding:0 3px}.tf-context-wp .tf-dimensions-number-groups-linked .tf-number:not(:first-child){display:none;opacity:.5;pointer-events:none}.tf-context-wp .tf-dynamic-text-field{align-items:center;display:flex;gap:8px;position:relative}.tf-context-wp .tf-dynamic-text-field .tf-dynamic-text-popover{left:0;position:absolute;top:100%;width:100%;z-index:900}.tf-context-wp .tf-dynamic-text-field .tf-dynamic-text-popover .tf-list-box-option:not(.tf-list-box-option-selected,.tf-list-box-option-disabled):hover:after{content:"+";margin-left:auto}.tf-context-wp .tf-dynamic-text-item{align-items:center;background-color:#e2e7ff;border:1px solid transparent;border-radius:2px;color:var(--wp-admin-theme-color,#3858e9);display:inline-flex;font-size:13px;font-weight:700;gap:.35em;line-height:1.4;margin:0 .15em;padding:.25em .5em}.tf-context-wp .tf-dynamic-text-item:before{content:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMSIgaGVpZ2h0PSIxNiIgZmlsbD0ibm9uZSI+PGcgY2xpcC1wYXRoPSJ1cmwoI2EpIj48cGF0aCBmaWxsPSIjMzg1OEU5IiBkPSJNNi44OSA3LjA2MmgzLjE5M2MuMzgxIDAgLjcyNS4yNDQuODM0LjYwN2EuOTEuOTEgMCAwIDEtLjIzIDEuMDM3bC03LjMzMyA2LjU2M2EuOS45IDAgMCAxLTEuMTQzLjA1Mi45NS45NSAwIDAgMS0uMzA0LTEuMTI4bDIuMjA0LTUuMjU2SC44OWMtLjM1NiAwLS42OTgtLjI0My0uODMzLS42MDZhLjk1NS45NTUgMCAwIDEgLjI1NS0xLjAzN0w3LjY0Ni43MzJBLjkuOSAwIDAgMSA4Ljc4OC42NzlhLjk1Ljk1IDAgMCAxIC4zMDQgMS4xMjh6Ii8+PC9nPjxkZWZzPjxjbGlwUGF0aCBpZD0iYSI+PHBhdGggZmlsbD0iI2ZmZiIgZD0iTTAgLjVoMTF2MTVIMHoiLz48L2NsaXBQYXRoPjwvZGVmcz48L3N2Zz4=");line-height:1}.tf-context-wp .cm-content[contenteditable=false] .tf-dynamic-text-item{filter:grayscale(1)}.tf-context-wp .tf-dynamic-text-input{padding:0}.tf-context-wp .tf-dynamic-text-input:focus-within{box-shadow:0 0 0 1px var(--wp-admin-theme-color,#3858e9);outline:2px solid transparent}.tf-context-wp .tf-dynamic-text-input>.cm-editor{padding:0 8px}.tf-context-wp .tf-dynamic-text-input>.cm-editor.cm-focused{outline:none}.tf-context-wp .tf-dynamic-text-input>.cm-editor .cm-scroller{font-family:inherit}.tf-context-wp .tf-dynamic-text-input>.cm-editor .cm-content{height:100%}.tf-context-wp .tf-editor .ProseMirror ul{list-style-type:disc}.tf-context-wp .tf-editor .ProseMirror ol{margin:0}.tf-context-wp .tf-editor .ProseMirror{line-height:1.2;outline:none;padding:4px 8px 4px 14px}.tf-context-wp .tf-editor .tf-editor-view-toggle{display:flex;flex-direction:row;justify-content:flex-end;padding-bottom:5px}.tf-context-wp .tf-editor .tf-editor-view-toggle .tf-button-group,.tf-context-wp .tf-file-field{width:-moz-fit-content;width:fit-content}.tf-context-wp .tf-file-field{align-items:center;display:flex;flex-wrap:wrap}.tf-context-wp .tf-file-text{max-width:100%;overflow:hidden;padding:6px 8px;text-overflow:ellipsis}.tf-context-wp .tf-file-list{margin-bottom:0;padding:0;width:300px}.tf-context-wp .tf-file-item{align-items:center;display:flex;flex-wrap:wrap;justify-content:space-between}.tf-context-wp .tf-file-item img{max-width:200px}.tf-context-wp .tf-file-item span{flex-grow:1;overflow:hidden;text-overflow:ellipsis;width:70%}.tf-context-wp .tf-file-item .tf-button-upload-list{cursor:pointer;font-style:italic;text-decoration:underline}.tf-context-wp .tf-gallery-preview{display:flex}.tf-context-wp .tf-gallery-item{align-items:center;display:flex;height:100px;justify-content:center;width:100px}.tf-context-wp .tf-gallery-item img{border-radius:2px;height:100%;-o-object-fit:cover;object-fit:cover;overflow:hidden;width:100%}.tf-context-wp .tf-gallery__controls{background:#fff;border:1px solid #a7b1bb;border-radius:2px;padding:8px 12px}.tf-context-wp .tf-gallery-buttons{display:flex;gap:10px}.tf-context-wp .tf-gradient-container{display:flex;flex-direction:column;position:relative;width:100%}.tf-context-wp .tf-gradient-input{background:#fff;border:1px solid #8c8f94;border-radius:2px;box-shadow:unset;color:inherit;font-size:16px;font-style:inherit;font-weight:inherit;height:35px;padding:6px 8px;width:100%}.tf-context-wp .tf-gradient-input::-moz-placeholder{color:initial;font-size:16px;font-style:inherit;font-weight:inherit}.tf-context-wp .tf-gradient-input::placeholder{color:initial;font-size:16px;font-style:inherit;font-weight:inherit}.tf-context-wp .tf-gradient-settings{padding:10px 8px}.tf-context-wp .tf-gradient-settings .tf-gradient-settings-row{padding:10px 0}.tf-context-wp .tf-gradient-popover .tf-dialog{width:100%}.tf-context-wp .tf-gradient-preview{padding:10px 8px;position:relative}.tf-context-wp .tf-gradient-colors{align-items:center;cursor:pointer;display:flex;height:35px;justify-content:space-between;padding:6px 8px}.tf-context-wp .tf-list-container{display:flex;flex-direction:column;gap:8px}.tf-context-wp .tf-list-items{width:100%}.tf-context-wp .tf-list-header,.tf-context-wp .tf-list-header label,.tf-context-wp .tf-list-item{align-items:center;display:flex;justify-content:flex-start}.tf-context-wp .tf-list-header{background:#f0f0f0;border:1px solid hsla(218,4%,56%,.5);border-radius:2px;border-bottom-left-radius:0;border-bottom-right-radius:0;padding:6px 8px}.tf-context-wp .tf-list-header label{height:35px;margin:0}.tf-context-wp .tf-list-item{background:#fff;border:1px solid hsla(218,4%,56%,.5);border-top:none;box-sizing:border-box;height:35px;width:100%}.tf-context-wp .tf-list-item .tf-list-item-text{flex:1;font-size:14px;font-weight:600;padding:6px 8px}.tf-context-wp .tf-list-item .tf-list-item-actions{display:flex}.tf-context-wp .tf-list-search{display:flex;width:100%}.tf-context-wp .tf-list-search .tf-combo-box{flex:1}.tf-context-wp .tf-number input{background:#fff;border:1px solid #8c8f94;border-radius:2px;box-shadow:unset;color:inherit;font-size:16px;font-style:inherit;font-weight:inherit;height:35px;padding:6px 8px;width:100%}.tf-context-wp .tf-number input::-moz-placeholder{color:initial;font-size:16px;font-style:inherit;font-weight:inherit}.tf-context-wp .tf-number input::placeholder{color:initial;font-size:16px;font-style:inherit;font-weight:inherit}.tf-context-wp .tf-number .tf-label{display:flex}.tf-context-wp .tf-number-field{display:flex;flex-direction:row;flex-wrap:nowrap;position:relative;width:100%}.tf-context-wp .tf-number[data-enabled=false] .tf-number-field{opacity:.5}.tf-context-wp .tf-number-button-group{bottom:1px;display:flex;flex-direction:column;flex-wrap:nowrap;height:auto;padding:6px 8px;position:absolute;right:1px;top:1px}.tf-context-wp .tf-number-button-group .tf-button-number{align-items:center;background:#fff;background-color:#eee;border:0;border-radius:2px;border-radius:0;box-sizing:border-box;color:var(--wp-admin-theme-color,#3858e9);cursor:pointer;display:flex;height:36px;height:50%;justify-content:center;line-height:0;min-width:2em;padding:0;transition-duration:.2s;transition-property:color,background-color,border-color;transition-timing-function:ease-in-out}.tf-context-wp .tf-number-button-group .tf-button-number:hover{background:#fff;background-color:#e2e2e2;border-color:var(--wp-components-color-accent-darker-10,var(--wp-admin-theme-color-darker-10,#006ba1));color:var(--wp-components-color-accent-darker-10,var(--wp-admin-theme-color-darker-10,#006ba1))}.tf-context-wp .tf-number-button-group .tf-button-number:first-child{border-bottom-left-radius:0;border-bottom-right-radius:0}.tf-context-wp .tf-number-button-group .tf-button-number:last-child{border-top-left-radius:0;border-top-right-radius:0}.tf-context-wp .tf-radio-group-container{display:flex;flex-direction:column}.tf-context-wp .tf-multiple-select,.tf-context-wp .tf-select{display:inline-block;position:relative;width:100%}.tf-context-wp .tf-multiple-select>.tf-label,.tf-context-wp .tf-select>.tf-label{display:flex}.tf-context-wp .tf-multiple-select__value,.tf-context-wp .tf-select__value{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tf-context-wp .tf-multiple-select .tf-button-select,.tf-context-wp .tf-select .tf-button-select{align-items:center;background:#fff;border:1px solid #8c8f94;border-radius:2px;box-shadow:unset;color:inherit;display:flex;font-style:inherit;font-weight:inherit;height:35px;justify-content:space-between;padding:0 10px;width:100%}.tf-context-wp .tf-multiple-select .tf-button-select::-moz-placeholder,.tf-context-wp .tf-select .tf-button-select::-moz-placeholder{color:initial;font-size:16px;font-style:inherit;font-weight:inherit}.tf-context-wp .tf-multiple-select .tf-button-select::placeholder,.tf-context-wp .tf-select .tf-button-select::placeholder{color:initial;font-size:16px;font-style:inherit;font-weight:inherit}.tf-context-wp .tf-multiple-select .tf-button-select[disabled],.tf-context-wp .tf-select .tf-button-select[disabled]{background:hsla(0,0%,100%,.5);border-color:rgba(0,0,0,.1);color:rgba(0,0,0,.4)}.tf-context-wp .tf-multiple-select .tf-select-icon,.tf-context-wp .tf-select .tf-select-icon{font-size:10px;padding-left:5px}.tf-context-wp .tf-multiple-select .tf-button-select,.tf-context-wp .tf-select .tf-button-select{cursor:pointer;font-size:16px}.tf-context-wp .tf-simple-dimensions{display:flex;flex-direction:column}.tf-context-wp .tf-simple-dimensions .tf-select,.tf-context-wp .tf-simple-dimensions .tf-select .tf-button-select{width:auto}.tf-context-wp .tf-simple-dimensions-container{display:flex;position:relative;width:-moz-fit-content;width:fit-content}.tf-context-wp .tf-switch label{align-items:center;display:flex;justify-content:flex-start}.tf-context-wp .tf-switch-element,.tf-context-wp .tf-switch-element-selected{display:inline-block;height:35px;position:relative;width:70px}.tf-context-wp .tf-switch-element span,.tf-context-wp .tf-switch-element-selected span{background-color:#ccc;border-radius:35px;bottom:0;cursor:pointer;left:0;position:absolute;right:0;top:0;transition:.4s}.tf-context-wp .tf-switch-element span:before,.tf-context-wp .tf-switch-element-selected span:before{background-color:#fff;border-radius:50%;bottom:4px;content:"";height:27px;left:4px;position:absolute;transition:.4s;width:27px}.tf-context-wp .tf-switch-element-selected span{background-color:var(--wp-admin-theme-color,#3858e9)}.tf-context-wp .tf-switch-element-selected span:focus{box-shadow:0 0 1px var(--wp-admin-theme-color,#3858e9)}.tf-context-wp .tf-switch-element-selected span:before{transform:translateX(35px)}.tf-context-wp .tf-text{box-sizing:content-box;display:flex;flex-direction:column}.tf-context-wp .tf-text input{background:#fff;border:1px solid #8c8f94;border-radius:2px;box-shadow:unset;color:inherit;font-size:16px;font-style:inherit;font-weight:inherit;height:35px;padding:6px 8px;width:100%}.tf-context-wp .tf-text input::-moz-placeholder{color:initial;font-size:16px;font-style:inherit;font-weight:inherit}.tf-context-wp .tf-text input::placeholder{color:initial;font-size:16px;font-style:inherit;font-weight:inherit}.tf-context-wp .tf-text-area textarea{background:#fff;border:1px solid #8c8f94;border-radius:2px;box-shadow:unset;color:inherit;font-size:16px;font-style:inherit;font-weight:inherit;height:35px;height:auto;padding:.6em;width:100%}.tf-context-wp .tf-text-area textarea::-moz-placeholder{color:initial;font-size:16px;font-style:inherit;font-weight:inherit}.tf-context-wp .tf-text-area textarea::placeholder{color:initial;font-size:16px;font-style:inherit;font-weight:inherit}.tf-context-wp .tf-repeater-bulk-actions{align-items:center;background:#fff;border:1px solid #8c8f94;border-radius:2px;display:flex;justify-content:flex-start;margin-bottom:4px;padding:5px 8px}.tf-context-wp .tf-repeater-bulk-actions>button,.tf-context-wp .tf-repeater-bulk-actions>div{margin-right:5px}.tf-context-wp .tf-repeater-advanced-label-row{box-sizing:border-box;display:flex;gap:8px;justify-content:space-between;padding:8px 12px;width:100%}.tf-context-wp .tf-repeater-advanced-label-row .tf-repeater-advanced-label-row-item{align-items:center;display:flex;flex:1;flex-wrap:wrap;justify-content:flex-start}.tf-context-wp .tf-repeater-advanced-label-row .tf-repeater-advanced-label-row-item:first-child{color:var(--wp-admin-theme-color,#3858e9);font-weight:700}.tf-context-wp .tf-repeater-advanced-label-row .tf-repeater-advanced-label-row-arrow,.tf-context-wp .tf-repeater-advanced-label-row .tf-repeater-advanced-label-row-index{width:32px}.tf-context-wp .tf-repeater-advanced-header{background:#f0f0f0;border:1px solid hsla(218,4%,56%,.5);border-bottom:none;border-radius:2px;border-bottom-left-radius:0;border-bottom-right-radius:0;margin:0}.tf-context-wp .tf-repeater-advanced-header .tf-repeater-advanced-header-item{color:inherit;font-size:14px;font-style:inherit;font-weight:600;height:35px;margin-bottom:0;text-transform:inherit}.tf-context-wp .tf-repeater-advanced-overview{background:#fff}.tf-context-wp .tf-repeater-advanced-overview .tf-repeater-advanced-label-row-arrow,.tf-context-wp .tf-repeater-advanced-overview .tf-repeater-advanced-label-row-index{height:40px;line-height:40px;text-align:center}.tf-context-wp .tf-repeater-advanced-overview .tf-repeater-advanced-label-row-index{background:#f0f0f0}.tf-context-wp .tf-repeater-advanced-overview .tf-repeater-advanced-label-row-arrow{cursor:pointer}.tf-context-wp .tf-repeater-advanced-overview .tf-repeater-advanced-label-row-arrow>div{border:solid;border-color:inherit;border-width:0 1px 1px 0;display:inline-block;height:8.75px;width:8.75px}.tf-context-wp .tf-repeater-advanced-overview .tf-repeater-advanced-overview-item-actions{height:20px;width:100%}.tf-context-wp .tf-repeater-advanced-overview .tf-repeater-advanced-overview-item-actions button{display:none}.tf-context-wp .tf-repeater-advanced-overview-item-container{display:flex;flex-direction:column;justify-content:center;width:100%}.tf-context-wp .tf-repeater-advanced-overview-item-fields{display:flex}.tf-context-wp .tf-repeater-advanced-overview:hover .tf-repeater-advanced-overview-item-actions button{display:initial}.tf-context-wp .tf-repeater-advanced-item .tf-repeater-advanced-overview:hover,.tf-context-wp .tf-repeater-advanced-item[data-open=true] .tf-repeater-advanced-overview{background-color:#e2e7ff}.tf-context-wp .tf-repeater-advanced-item[data-open=true] .tf-repeater-advanced-label-row-arrow>div{transform:translateY(50%) rotate(-135deg)}.tf-context-wp .tf-repeater-advanced-item[data-open=false] .tf-repeater-advanced-label-row-arrow>div{transform:translateY(-50%) rotate(45deg)}.tf-context-wp .tf-repeater-advanced-item{background-color:#fff;border:1px solid hsla(218,4%,56%,.5);border-radius:2px;border-radius:0;border-top:none;position:relative}.tf-context-wp .tf-repeater-advanced-item[data-open=true]:before{background-color:var(--wp-admin-theme-color,#3858e9);content:"";height:100%;left:0;position:absolute;top:0;width:3px}.tf-context-wp .tf-repeater-advanced-container>.tf-repeater-actions{background-color:#fff;border:1px solid hsla(218,4%,56%,.5);border-radius:2px;border-top:none;border-top-left-radius:0;border-top-right-radius:0}.tf-context-wp .tf-repeater-advanced-row{margin:16px 32px}.tf-context-wp .tf-repeater-advanced-row .tf-repeater-advanced-item-field{padding:8px 12px}.tf-context-wp .tf-repeater-advanced-item-field:has(>div[data-overlay-container=true]:empty){display:none}.tf-context-wp .tf-repeater-advanced-item-field:has(input.tf-hidden[type=hidden]){padding:0}.tf-context-wp .tf-repeater-advanced .tf-repeater-actions{padding:8px 12px}.tf-context-wp .tf-repeater-bare-items{display:flex;flex-direction:column;row-gap:8px}.tf-context-wp .tf-repeater-bare-items .tf-repeater-bare-row{display:flex;gap:8px;width:100%}.tf-context-wp .tf-repeater-block-item{background:#fff;border:1px solid #8c8f94;border-radius:2px;display:flex;flex-direction:column;margin-bottom:6px;margin-top:1em;width:100%}.tf-context-wp .tf-repeater-block-item .tf-panel-header .tf-switch-element,.tf-context-wp .tf-repeater-block-item .tf-panel-header .tf-switch-element-selected{transform:scale(.7)}.tf-context-wp .tf-repeater-block-item-field{padding:1em}.tf-context-wp .tf-repeater-block-item-field:has(>div[data-overlay-container=true]:empty){display:none}.tf-context-wp .tf-repeater-tab-container{background-color:#fff;border:1px solid hsla(218,4%,56%,.5);border-radius:2px;width:100%}.tf-context-wp .tf-repeater-tab-header{border-bottom:1px solid hsla(218,4%,56%,.5);box-sizing:border-box;overflow-x:scroll;overflow-y:hidden}.tf-context-wp .tf-repeater-tab-actions,.tf-context-wp .tf-repeater-tab-header{display:flex;flex-wrap:nowrap;justify-content:space-between;width:100%}.tf-context-wp .tf-repeater-tab-icon-actions{align-items:center;display:flex}.tf-context-wp .tf-repeater-tab-icon-actions button{min-width:-moz-fit-content;min-width:fit-content}.tf-context-wp .tf-repeater-tab-items{background-color:#fff;box-sizing:border-box;display:flex;gap:8px;justify-content:flex-start;margin:0;min-width:-moz-fit-content;min-width:fit-content;overflow-x:auto;overflow-y:hidden}.tf-context-wp .tf-repeater-tab-add-item,.tf-context-wp .tf-repeater-tab-icon-actions button,.tf-context-wp .tf-repeater-tab-item{align-items:center;color:inherit;display:flex;font-size:14px;font-style:inherit;font-weight:600;height:35px;justify-content:center;margin-bottom:0;min-width:-moz-fit-content;min-width:fit-content;padding:8px 12px;position:relative;text-transform:inherit}.tf-context-wp .tf-repeater-tab-add-item[data-open=true]:before,.tf-context-wp .tf-repeater-tab-icon-actions button[data-open=true]:before,.tf-context-wp .tf-repeater-tab-item[data-open=true]:before{background-color:var(--wp-admin-theme-color,#3858e9);bottom:0;content:"";height:3px;left:0;position:absolute;width:100%}.tf-context-wp .tf-repeater-tab-add-item button,.tf-context-wp .tf-repeater-tab-icon-actions button button,.tf-context-wp .tf-repeater-tab-item button{white-space:nowrap}.tf-context-wp .tf-repeater-tab-add-item{justify-content:flex-start;min-width:-moz-max-content;min-width:max-content;width:100%}.tf-context-wp .tf-repeater-tab-content{background-color:#fff;box-sizing:border-box;padding:16px 32px;width:100%}.tf-context-wp .tf-repeater-tab-content .tf-repeater-tab-item-field{padding:8px 12px}.tf-context-wp .tf-repeater-table-container{border:1px solid hsla(218,4%,56%,.5);border-radius:2px;display:flex;flex-direction:column;width:100%}.tf-context-wp .tf-repeater-table-container .tf-repeater-actions{box-sizing:border-box;justify-content:flex-start;padding:8px 12px;width:100%}.tf-context-wp .tf-repeater-table-container table{padding:0 4px 4px;width:100%}.tf-context-wp .tf-repeater-table-container table th,.tf-context-wp .tf-repeater-table-container table tr{min-height:35px;padding:2px}.tf-context-wp .tf-repeater-table-container table th{height:35px;text-align:left}.tf-context-wp .tf-repeater-table-container table td>div{display:flex;justify-content:center;width:100%}.tf-context-wp .tf-repeater-table-container table td>div>div{width:100%}.tf-context-wp .tf-repeater-table-container .tf-repeater-row-actions{width:1%}.tf-context-wp .tf-repeater-table-container .tf-repeater-row-actions>div{display:inline-flex;gap:6px}.tf-context-wp .tf-repeater-actions{display:flex;gap:6px;justify-content:flex-end;padding:2px 2px 4px}.tf-context-wp .tf-repeater-actions .tf-button-action:last-child{border-color:#cc1818;color:#cc1818}.tf-context-wp .tf-repeater-title{color:inherit;font-size:14px;font-style:inherit;font-weight:600;margin-bottom:10px;text-transform:inherit}.tf-context-wp .tf-repeater-block-items{margin-bottom:8px;margin-top:8px}.tf-context-wp .tf-dynamic-wrapper{align-items:center;display:flex;position:relative}.tf-context-wp .tf-dynamic-wrapper .tf-dynamic-wrapper-popover{position:absolute;top:100%;width:100%;z-index:900}.tf-context-wp .tf-dynamic-wrapper .tf-dynamic-wrapper-popover-form{background:#fff;border:1px solid #8c8f94;padding:6px 8px;width:100%;z-index:900}.tf-context-wp .tf-dynamic-wrapper .tf-dynamic-wrapper-popover-form>*{margin:12px 0}.tf-context-wp .tf-dynamic-wrapper .tf-dynamic-wrapper-popover-buttons{display:flex;justify-content:flex-end}.tf-context-wp .tf-dynamic-wrapper .tf-dynamic-wrapper-popover-buttons button{margin-left:6px}.tf-context-wp .tf-dynamic-wrapper.tf-dynamic-wrapper-buttons-outside{gap:8px}.tf-context-wp .tf-dynamic-wrapper.tf-dynamic-wrapper-buttons-inside{gap:0;width:-moz-fit-content;width:fit-content}.tf-context-wp .tf-dynamic-wrapper.tf-dynamic-wrapper-buttons-inside .tf-button-icon{background:transparent;border:none;cursor:pointer;height:35px;position:absolute;right:1px;top:50%;transform:translateY(-50%)}.tf-context-wp .tf-dynamic-wrapper.tf-dynamic-wrapper-buttons-inside .tf-button-icon:before{content:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMyIgaGVpZ2h0PSIxNyIgZmlsbD0ibm9uZSI+PHBhdGggZmlsbD0iIzFFMUUxRSIgZD0iTTcuNTIyIDdoMy40ODdjLjQxNiAwIC43OS4yNi45MS42NDdhLjk1Ljk1IDAgMCAxLS4yNSAxLjEwNmwtLjYwMy41MjdhNC41IDQuNSAwIDAgMC01Ljk1NyA1LjIwOGwtMS40NDcgMS4yNjVhMSAxIDAgMCAxLTEuNTgtMS4xNDdMNC40ODkgOUguOTczYS45OTUuOTk1IDAgMCAxLS45MDktLjY0NyAxIDEgMCAwIDEgLjI3OC0xLjEwNmw4LjAwNS03YTEuMDAyIDEuMDAyIDAgMCAxIDEuNTggMS4xNDd6Ii8+PHBhdGggZmlsbD0iIzFFMUUxRSIgZmlsbC1ydWxlPSJldmVub2RkIiBkPSJNOS41IDE3YTMuNSAzLjUgMCAxIDAgMC03IDMuNSAzLjUgMCAwIDAgMCA3bTIuNS0zLjVhLjU3Ny41NzcgMCAwIDEtLjU3Ny41NzdoLTEuMzQ2djEuMzQ2YS41NzcuNTc3IDAgMSAxLTEuMTU0IDB2LTEuMzQ2SDcuNTc3YS41NzcuNTc3IDAgMCAxIDAtMS4xNTRoMS4zNDZ2LTEuMzQ2YS41NzcuNTc3IDAgMSAxIDEuMTU0IDB2MS4zNDZoMS4zNDZjLjMyIDAgLjU3Ny4yNTguNTc3LjU3NyIgY2xpcC1ydWxlPSJldmVub2RkIi8+PC9zdmc+);line-height:1;padding:0 5px}.tf-context-wp .tf-dynamic-wrapper.tf-dynamic-wrapper-buttons-inside .tf-button-icon.cm-content[contenteditable=false]:before{display:none}.tf-context-wp .tf-dynamic-field-wrapper.tf-dynamic-wrapper .tf-dynamic-value-input:disabled{background:hsla(0,0%,100%,.5);border-color:rgba(0,0,0,.1);color:rgba(0,0,0,.4)}.tf-context-wp .tf-dynamic-field-wrapper.tf-dynamic-wrapper .tf-button-icon.tf-dynamic-wrapper-clear:before{content:"⨯"}.tf-context-wp .tf-dynamic-text-input{background:#fff;border:1px solid #8c8f94;border-radius:2px;box-shadow:unset;color:inherit;font-size:16px;font-style:inherit;font-weight:inherit;height:35px;height:23px;padding:6px 8px;width:100%;width:calc(100% - 16px)}.tf-context-wp .tf-dynamic-text-input::-moz-placeholder{color:initial;font-size:16px;font-style:inherit;font-weight:inherit}.tf-context-wp .tf-dynamic-text-input::placeholder{color:initial;font-size:16px;font-style:inherit;font-weight:inherit}.tf-context-wp .tf-dynamic-text-input:focus-within{border-color:var(--wp-admin-theme-color,#3858e9)}.tf-context-wp .tf-dynamic-text-input:has(.cm-content[contenteditable=false]){background:hsla(0,0%,100%,.5);border-color:rgba(0,0,0,.1);color:rgba(0,0,0,.4);pointer-events:none}.tf-context-wp .tf-dynamic-text-input:has(.cm-content[contenteditable=false]) .tf-dynamic-text-input__affix{border-color:rgba(0,0,0,.1)}.tf-context-wp .tf-dynamic-text-input--has-prefix,.tf-context-wp .tf-dynamic-text-input--has-suffix{display:flex;height:auto;padding:0}.tf-context-wp .tf-dynamic-text-input--has-prefix>.cm-editor,.tf-context-wp .tf-dynamic-text-input--has-suffix>.cm-editor{flex:1 1 auto;min-height:32px;overflow:hidden}.tf-context-wp .tf-dynamic-text-input>.cm-editor{height:100%;justify-content:center;width:100%}.tf-context-wp .tf-dynamic-text-input>.cm-editor .cm-content,.tf-context-wp .tf-dynamic-text-input>.cm-editor .cm-line{padding:0}.tf-context-wp .tf-dynamic-text-input>.cm-editor .cm-content{display:flex;flex-direction:column;justify-content:center}.tf-context-wp .tf-dynamic-text-input .tf-dynamic-text-item-delete:before{content:"⨯";cursor:pointer;padding-left:3px}.tf-context-wp .tf-dynamic-text-input__affix{align-items:center;border:0 solid #8c8f94;display:inline-flex;font-size:.8em;font-weight:700;padding:0 .5em;text-wrap:nowrap}.tf-context-wp .tf-dynamic-text-input__affix--prefix{border-right-width:1px}.tf-context-wp .tf-dynamic-text-input__affix--suffix{border-left-width:1px}.tf-context-wp .tf-dynamic-text-input:focus-within .tf-dynamic-text-input__affix{border-color:#4b84ce}.tf-context-wp .tf-dynamic-wrapper[data-dynamic=true] .cm-editor{padding-right:25px}.tf-context-wp .tf-dynamic-wrapper[data-dynamic=true] .cm-editor:has(.cm-content[contenteditable=false]){padding-right:0}.tf-context-wp .tf-dynamic-wrapper[data-dynamic=true] .tf-dynamic-text-input--has-suffix .cm-editor{padding-right:8px}.tf-context-wp .tf-dynamic-wrapper[data-dynamic=true] .tf-dynamic-text-input__affix--suffix{border-right-width:1px;margin-right:33px}.tf-context-wp .tf-dynamic-text-input{box-sizing:content-box;width:calc(100% - 18px)}.tf-context-wp .tf-dynamic-wrapper-popover-field .tf-dynamic-text-input{box-sizing:border-box;height:35px}.tf-context-wp .tf-dynamic-text-input>.cm-editor .cm-content{padding:6px 8px}.tf-context-wp .tf-dynamic-text-input .cm-editor{box-sizing:border-box!important}.tf-context-wp .tf-text .tf-dynamic-wrapper{width:100%}.tf-context-wp .tf-conditional-panel-conditions .tf-dynamic-text-input{min-width:200px}.tf-context-wp .tf-file-list{max-width:300px}.tf-context-wp .tf-button-text-action{color:inherit}.ProseMirror-textblock-dropdown{min-width:3em}.ProseMirror-menu{line-height:1;margin:0 -4px}.ProseMirror-tooltip .ProseMirror-menu{white-space:pre;width:-moz-fit-content;width:fit-content}.ProseMirror-menuitem{display:inline-block;margin-right:3px}.ProseMirror-menuseparator{border-right:1px solid #ddd;margin-right:3px}.ProseMirror-menu-dropdown,.ProseMirror-menu-dropdown-menu{font-size:90%;white-space:nowrap}.ProseMirror-menu-dropdown{cursor:pointer;padding-right:15px;position:relative;vertical-align:1px}.ProseMirror-menu-dropdown-wrap{display:inline-block;padding:1px 0 1px 4px;position:relative}.ProseMirror-menu-dropdown:after{border-left:4px solid transparent;border-right:4px solid transparent;border-top:4px solid;content:"";opacity:.6;position:absolute;right:4px;top:calc(50% - 2px)}.ProseMirror-menu-dropdown-menu,.ProseMirror-menu-submenu{background:#fff;border:1px solid #aaa;color:#666;padding:2px;position:absolute}.ProseMirror-menu-dropdown-menu{min-width:6em;z-index:15}.ProseMirror-menu-dropdown-item{cursor:pointer;padding:2px 8px 2px 4px}.ProseMirror-menu-dropdown-item:hover{background:#f2f2f2}.ProseMirror-menu-submenu-wrap{margin-right:-4px;position:relative}.ProseMirror-menu-submenu-label:after{border-bottom:4px solid transparent;border-left:4px solid;border-top:4px solid transparent;content:"";opacity:.6;position:absolute;right:4px;top:calc(50% - 4px)}.ProseMirror-menu-submenu{display:none;left:100%;min-width:4em;top:-3px}.ProseMirror-menu-active{background:#eee;border-radius:4px}.ProseMirror-menu-disabled{opacity:.3}.ProseMirror-menu-submenu-wrap-active .ProseMirror-menu-submenu,.ProseMirror-menu-submenu-wrap:hover .ProseMirror-menu-submenu{display:block}.ProseMirror-menubar{background:#fff;border-bottom:1px solid silver;border-top-left-radius:inherit;border-top-right-radius:inherit;color:#666;left:0;min-height:1em;padding:1px 6px;position:relative;right:0;top:0;z-index:10}.ProseMirror-icon{cursor:pointer;display:inline-block;line-height:.8;padding:2px 8px;vertical-align:-2px}.ProseMirror-menu-disabled.ProseMirror-icon{cursor:default}.ProseMirror-icon svg{fill:currentColor;height:1em}.ProseMirror-icon span{vertical-align:text-top}.ProseMirror-menubar-wrapper{background-color:#fff;border:2px solid rgba(0,0,0,.2);border-radius:5px;height:150px;overflow:auto;resize:vertical}.ProseMirror-menubar{box-shadow:0 2px 5px rgba(0,0,0,.2);box-sizing:border-box;overflow:visible;padding-bottom:12px;padding-top:12px}.ProseMirror.ProseMirror-example-setup-style{border-radius:5px;margin-bottom:20px;padding-bottom:12px;padding-left:12px;padding-right:12px}.ProseMirror-example-setup-style hr{border:none;margin:1em 0;padding:2px 10px}.ProseMirror-example-setup-style hr:after{background-color:silver;content:"";display:block;height:1px;line-height:2px}.ProseMirror ol,.ProseMirror ul{padding-left:30px}.ProseMirror blockquote{border-left:3px solid #eee;margin-left:0;margin-right:0;padding-left:1em}.ProseMirror-example-setup-style img{cursor:default}.ProseMirror-prompt{background:#fff;border:1px solid silver;border-radius:3px;box-shadow:-.5px 2px 5px rgba(0,0,0,.2);padding:8px 10px 8px 15px;position:fixed;z-index:9999999}.ProseMirror-prompt h5{color:#444;font-size:100%;font-weight:400;margin:0}.ProseMirror-prompt input[type=text],.ProseMirror-prompt textarea{background:#eee;border:none;outline:none}.ProseMirror-prompt input[type=text]{margin-top:5px;padding:0 4px}.ProseMirror-prompt-close{background:transparent;border:none;color:#666;left:2px;padding:0;position:absolute;top:1px}.ProseMirror-prompt-close:after{content:"✕";font-size:12px}.ProseMirror-invalid{background:#ffc;border:1px solid #cc7;border-radius:4px;min-width:10em;padding:5px 10px;position:absolute}.ProseMirror-prompt-buttons{margin-top:5px}.ProseMirror{position:relative;word-wrap:break-word;font-feature-settings:"liga" 0;font-variant-ligatures:none;white-space:pre-wrap;white-space:break-spaces}.ProseMirror pre{white-space:pre-wrap}.ProseMirror li{position:relative}.ProseMirror-hideselection ::selection{background:transparent}.ProseMirror-hideselection ::-moz-selection{background:transparent}.ProseMirror-hideselection{caret-color:transparent}.ProseMirror-selectednode{outline:2px solid #8cf}li.ProseMirror-selectednode{outline:none}li.ProseMirror-selectednode:after{border:2px solid #8cf;bottom:-2px;content:"";left:-32px;pointer-events:none;position:absolute;right:-2px;top:-2px}img.ProseMirror-separator{border:none!important;display:inline!important;margin:0!important}.ProseMirror-gapcursor{display:none;pointer-events:none;position:absolute}.ProseMirror-gapcursor:after{animation:ProseMirror-cursor-blink 1.1s steps(2,start) infinite;border-top:1px solid #000;content:"";display:block;position:absolute;top:-2px;width:20px}@keyframes ProseMirror-cursor-blink{to{visibility:hidden}}.ProseMirror-focused .ProseMirror-gapcursor{display:block} /*# sourceMappingURL=index.min.css.map */ \ No newline at end of file diff --git a/assets/src/components/repeater/Repeater.jsx b/assets/src/components/repeater/Repeater.jsx index 5673cff2..54117d8e 100644 --- a/assets/src/components/repeater/Repeater.jsx +++ b/assets/src/components/repeater/Repeater.jsx @@ -141,6 +141,32 @@ const Repeater = props => { ) ) + /** + * Default function to render footer action, this has to be called + * by the layout (which can use a different render for it) + */ + const renderFooterActions = () => ( + repeatable && ( +
+ + dispatch({ type: 'clear' })} + > + Are you sure you want to clear all item(s)? + +
+ ) + ) + useEffect(() => props.onChange && props.onChange( getSavedValue() ), [items]) return( @@ -165,26 +191,8 @@ const Repeater = props => { afterRow={ props.afterRow } beforeRow={ props.beforeRow } name={ props.name ?? '' } + renderFooterActions={ renderFooterActions } /> - { repeatable && ( -
- - dispatch({ type: 'clear' })} - > - Are you sure you want to clear all item(s)? - -
- )} ) diff --git a/assets/src/components/repeater/common/helpers.js b/assets/src/components/repeater/common/helpers.js new file mode 100644 index 00000000..c972063d --- /dev/null +++ b/assets/src/components/repeater/common/helpers.js @@ -0,0 +1,24 @@ +import { isDependentString } from '../../dependent/utils' + +/** + * In order to support dependent value from the repeater, we have + * to render the title as an element so that it's wrapped inside + * a new dependent wrapper that can access repeater values + */ +const renderTitle = (item, i, title, name, renderItem) => { + + const text = title ? title : ('Item ' + (i + 1)) + + if( ! isDependentString(text) ) return text; + + const element = { + type : 'wrapper', + name : `_repeater-title-${name}-${item.key}`, + content : title, + dependent : true + } + + return renderItem(element, item, i) +} + +export { renderTitle } diff --git a/assets/src/components/repeater/index.scss b/assets/src/components/repeater/index.scss index f3700b3b..6607d932 100644 --- a/assets/src/components/repeater/index.scss +++ b/assets/src/components/repeater/index.scss @@ -2,6 +2,7 @@ @import './layout/advanced/index.scss'; @import './layout/bare/index.scss'; @import './layout/block/index.scss'; +@import './layout/tab/index.scss'; @import './layout/table/index.scss'; .tf-repeater-actions { diff --git a/assets/src/components/repeater/layout/advanced/Advanced.jsx b/assets/src/components/repeater/layout/advanced/Advanced.jsx index 98f75f04..dd8b6131 100644 --- a/assets/src/components/repeater/layout/advanced/Advanced.jsx +++ b/assets/src/components/repeater/layout/advanced/Advanced.jsx @@ -13,7 +13,8 @@ const Advanced = ({ dispatch, headerFields = false, beforeRow = false, - afterRow = false + afterRow = false, + renderFooterActions }) => { const [openSection, setOpenSection] = useState(false) @@ -28,89 +29,92 @@ const Advanced = ({ } return( -
-
-
- { headerColumns.map((column, h) => ( -
- { column.label ?? '' } -
- )) } -
-
-
- { items && items.slice(0, maxLength).map((item, i) => ( -
-
-
- { i + 1 } -
-
-
- { headerColumns.map((column, h) => ( -
- { item[ column.name ] && item[ column.name ] !== '' - ? ( - typeof item[ column.name ] === 'object' - ? formatHeaderFieldsObject(item, column.name) - : item[ column.name ] - ) - : Empty } -
- )) } + <> +
+
+
+ { headerColumns.map((column, h) => ( +
+ { column.label ?? '' } +
+ )) } +
+
+
+ { items && items.slice(0, maxLength).map((item, i) => ( +
+
+
+ { i + 1 }
- { maxLength !== undefined && -
- - - dispatch({ type : 'remove', item : i })} - buttonProps={{ type: 'text-danger' }} - > - Are you sure you want to remove item { i + 1 }? - -
} +
+
+ { headerColumns.map((column, h) => ( +
+ { item[ column.name ] && item[ column.name ] !== '' + ? ( + typeof item[ column.name ] === 'object' + ? formatHeaderFieldsObject(item, column.name) + : item[ column.name ] + ) + : Empty } +
+ )) } +
+ { maxLength !== undefined && +
+ + + dispatch({ type : 'remove', item : i })} + buttonProps={{ type: 'text-danger' }} + > + Are you sure you want to remove item { i + 1 }? + +
} +
+
- + { openSection === i &&
+ { beforeRow && beforeRow(item, i, dispatch) } + { rowFields.map(control => ( +
+ { renderItem(control, item, i) } +
+ )) } + { afterRow && afterRow(item, i, dispatch) } +
}
- { openSection === i &&
- { beforeRow && beforeRow(item, i, dispatch) } - { rowFields.map(control => ( -
- { renderItem(control, item, i) } -
- )) } - { afterRow && afterRow(item, i, dispatch) } -
} -
- )) } + )) } +
-
+ { renderFooterActions() } + ) } diff --git a/assets/src/components/repeater/layout/bare/Bare.jsx b/assets/src/components/repeater/layout/bare/Bare.jsx index 07242e85..77c81a69 100644 --- a/assets/src/components/repeater/layout/bare/Bare.jsx +++ b/assets/src/components/repeater/layout/bare/Bare.jsx @@ -7,29 +7,33 @@ const Bare = ({ maxLength, dispatch, beforeRow = false, - afterRow = false + afterRow = false, + renderFooterActions }) => ( -
- { items && items.slice(0, maxLength).map((item, i) => ( -
- { beforeRow && beforeRow(item, i, dispatch) } - { rowFields.map(control => ( -
- { renderItem(control, item, i) } -
- )) } - { maxLength !== undefined && - dispatch({ type : 'remove', item : i })} - > - Are you sure you want to remove item { i + 1 }? - } - { afterRow && afterRow(item, i, dispatch) } -
- )) } -
+ <> +
+ { items && items.slice(0, maxLength).map((item, i) => ( +
+ { beforeRow && beforeRow(item, i, dispatch) } + { rowFields.map(control => ( +
+ { renderItem(control, item, i) } +
+ )) } + { maxLength !== undefined && + dispatch({ type : 'remove', item : i }) } + > + Are you sure you want to remove item { i + 1 }? + } + { afterRow && afterRow(item, i, dispatch) } +
+ )) } +
+ { renderFooterActions() } + ) export default Bare diff --git a/assets/src/components/repeater/layout/block/Block.jsx b/assets/src/components/repeater/layout/block/Block.jsx index 72cd81ce..fa29c6ff 100644 --- a/assets/src/components/repeater/layout/block/Block.jsx +++ b/assets/src/components/repeater/layout/block/Block.jsx @@ -7,7 +7,8 @@ import { } from '../../../base' import { Checkbox, Switch } from '../../../field' -import { isDependentString } from '../../../dependent/utils' +import { renderTitle } from '../../common/helpers' + import BulkActions from '../../common/BulkActions' const Block = ({ @@ -19,7 +20,8 @@ const Block = ({ title = false, useSwitch, useBulk, - name + name, + renderFooterActions }) => { const [activeItem, setActiveItem] = useState(0) @@ -100,53 +102,36 @@ const Block = ({ ) - /** - * In order to support dependent value from the repeater, we have - * to render the title as an element so that it's wrapped inside - * a new dependent wrapper that can access repeater values - */ - const renderTitle = (item, i) => { - - const text = title ? title : ('Item ' + (i + 1)) - - if( ! isDependentString(text) ) return text; - - const element = { - type : 'wrapper', - name : `_repeater-title-${name}-${item.key}`, - content : title, - dependent : true - } - return renderItem(element, item, i) - } - return( -
- { useBulk && - } - { items && items.slice(0, maxLength).map((item, i) => ( - visible - ? (activeItem !== i ? setActiveItem(i) : null) - : (activeItem === i ? setActiveItem(false) : null) } - headerLeft={ getHeaderLeft(item, i) } - > - { rowFields.map(control => ( -
- { renderItem(control, item, i) } -
- )) } -
- )) } -
+ <> +
+ { useBulk && + } + { items && items.slice(0, maxLength).map((item, i) => ( + visible + ? (activeItem !== i ? setActiveItem(i) : null) + : (activeItem === i ? setActiveItem(false) : null) } + headerLeft={ getHeaderLeft(item, i) } + > + { rowFields.map(control => ( +
+ { renderItem(control, item, i) } +
+ )) } +
+ )) } +
+ { renderFooterActions() } + ) } diff --git a/assets/src/components/repeater/layout/index.js b/assets/src/components/repeater/layout/index.js index b9d5f922..20eb9dbd 100644 --- a/assets/src/components/repeater/layout/index.js +++ b/assets/src/components/repeater/layout/index.js @@ -2,10 +2,12 @@ import Advanced from './advanced/Advanced' import Bare from './bare/Bare' import Block from './block/Block' import Table from './table/Table' +import Tab from './tab/Tab' export default { advanced : Advanced, bare : Bare, block : Block, - table : Table + table : Table, + tab : Tab } diff --git a/assets/src/components/repeater/layout/tab/Tab.jsx b/assets/src/components/repeater/layout/tab/Tab.jsx new file mode 100644 index 00000000..05783969 --- /dev/null +++ b/assets/src/components/repeater/layout/tab/Tab.jsx @@ -0,0 +1,80 @@ +import { useState } from 'react' +import { Button, ModalTrigger } from '../../../base' +import { renderTitle } from '../../common/helpers' + +const Tab = ({ + items, + rowFields, + renderItem, + maxLength, + dispatch, + name, + title = false, + beforeRow = false, + afterRow = false +}) => { + + const [activeItem, setActiveItem] = useState(0) + + return( +
+
+
+ { items && items.slice(0, maxLength).map((item, i) => ( +
+ +
+ )) } +
+
+
+ +
+
+ { maxLength !== undefined && + { + dispatch({ type : 'remove', item : activeItem }) + setActiveItem( activeItem == 0 ? 0 : activeItem - 1 ) + } } + buttonProps={ { + type : 'icon-trash', + contentVisuallyHidden : true + } } + > + Are you sure you want to remove item { activeItem + 1 }? + } +
+
+
+ { items[ activeItem ] && +
+
+ { beforeRow && beforeRow(items[ activeItem ], activeItem, dispatch) } + { rowFields.map(control => ( +
+ { renderItem(control, items[ activeItem ], activeItem) } +
+ )) } + { afterRow && afterRow(items[ activeItem ], activeItem, dispatch) } +
+
} +
+ ) +} + +export default Tab diff --git a/assets/src/components/repeater/layout/tab/index.scss b/assets/src/components/repeater/layout/tab/index.scss new file mode 100644 index 00000000..d43c96c7 --- /dev/null +++ b/assets/src/components/repeater/layout/tab/index.scss @@ -0,0 +1,96 @@ +.tf-repeater-tab-container { + background-color: $field-background; + width: 100%; + border: $field-border; + border-radius: $field-border-radius; + border-color: rgba($field-border-color, 0.5); +} + +.tf-repeater-tab-header { + display: flex; + flex-wrap: nowrap; + box-sizing: border-box; + justify-content: space-between; + width: 100%; + border-bottom: $field-border; + border-bottom-color: rgba($field-border-color, 0.5); + overflow-x: scroll; + overflow-y: hidden; +} + +.tf-repeater-tab-actions { + display: flex; + flex-wrap: nowrap; + width: 100%; + justify-content: space-between; +} + +.tf-repeater-tab-icon-actions { + display: flex; + align-items: center; + + button { + min-width: fit-content; + } +} + +.tf-repeater-tab-items { + display: flex; + justify-content: flex-start; + box-sizing: border-box; + gap: $global-spacer-sm; + background-color: $field-background; + margin: 0; + overflow-x: auto; + overflow-y: hidden; + min-width: fit-content; +} + +.tf-repeater-tab-icon-actions button, +.tf-repeater-tab-add-item, +.tf-repeater-tab-item { + position: relative; + display: flex; + justify-content: center; + align-items: center; + min-width: fit-content; + height: $field-height; + padding: $section-padding; + @include label; + margin-bottom: 0; + + &[data-open="true"]::before { + content: ''; + position: absolute; + bottom: 0; + left: 0; + width: 100%; + height: 3px; + background-color: $button-primary-color; + } + + button { + white-space: nowrap; + } +} + +.tf-repeater-tab-add-item { + min-width: max-content; + width: 100%; + justify-content: flex-start; +} + +.tf-repeater-tab-content { + width: 100%; + box-sizing: border-box; + background-color: $field-background; + + padding-left: $advanced-item-index-width; + padding-right: $advanced-item-index-width; + padding-top: calc($advanced-item-index-width / 2); + padding-bottom: calc($advanced-item-index-width / 2); + + .tf-repeater-tab-item-field { + padding: $section-padding; + } +} diff --git a/assets/src/components/repeater/layout/table/Table.jsx b/assets/src/components/repeater/layout/table/Table.jsx index d6b2d268..ca5ebe27 100644 --- a/assets/src/components/repeater/layout/table/Table.jsx +++ b/assets/src/components/repeater/layout/table/Table.jsx @@ -17,77 +17,81 @@ const Table = ({ rowFields, renderItem, maxLength, - useBulk + useBulk, + renderFooterActions }) => ( -
- { useBulk && - } - - - - { useBulk && } - { fields.map((field, h) => ( - - )) } - { maxLength > 1 && } - - - - { items && items.slice(0, maxLength).map((item, i) => ( - - { useBulk && - } - { rowFields.map((control, j) => ( - + <> +
+ { useBulk && + } +
{ field.label ?? '' }
-
e.stopPropagation() }> - dispatch({ - type : 'update', - item : i, - control : '_bulkCheckbox', - value : value - }) } - /> -
-
- { renderItem(control, item, i) } -
+ + + { useBulk && } + { fields.map((field, h) => ( + + )) } + { maxLength > 1 && } + + + + { items && items.slice(0, maxLength).map((item, i) => ( + + { useBulk && + } + { rowFields.map((control, j) => ( + + )) } + + )) } - - - )) } - -
{ field.label ?? '' }
+
e.stopPropagation() }> + dispatch({ + type : 'update', + item : i, + control : '_bulkCheckbox', + value : value + }) } + /> +
+
+ { renderItem(control, item, i) } + +
+ { maxLength !== undefined && + } + { maxLength !== undefined && + dispatch({ type : 'remove', item : i })} + buttonProps={{ + type: 'danger' + }} + > + Are you sure you want to remove item { i + 1 }? + } +
+
-
- { maxLength !== undefined && - } - { maxLength !== undefined && - dispatch({ type : 'remove', item : i })} - buttonProps={{ - type: 'danger' - }} - > - Are you sure you want to remove item { i + 1 }? - } -
-
-
+ + +
+ { renderFooterActions() } + ) export default Table diff --git a/assets/src/contexts/wp/components/button.scss b/assets/src/contexts/wp/components/button.scss new file mode 100644 index 00000000..0eec6d91 --- /dev/null +++ b/assets/src/contexts/wp/components/button.scss @@ -0,0 +1,3 @@ +.tf-button-text-action { + color: inherit; +} diff --git a/assets/src/contexts/wp/index.scss b/assets/src/contexts/wp/index.scss index f9d441ca..3d019ee7 100644 --- a/assets/src/contexts/wp/index.scss +++ b/assets/src/contexts/wp/index.scss @@ -46,8 +46,10 @@ $button-color--hover: $global-theme-color-darker-10; .tf-context-wp { @import '../../components/index.scss'; - @import './components/text-input.scss'; // wp context specific rules + // wp context specific rules + @import './components/text-input.scss'; @import './components/file.scss'; + @import './components/button.scss'; } @import '../../lib/prose-mirror/index.scss'; diff --git a/assets/src/example/index.scss b/assets/src/example/index.scss index addada9b..16a7e05e 100644 --- a/assets/src/example/index.scss +++ b/assets/src/example/index.scss @@ -34,7 +34,7 @@ } .tf-example-field { - width: 80%; + width: 70%; } .tf-context-select-container { diff --git a/example/register/sections.php b/example/register/sections.php index 024662ed..3d0d2872 100644 --- a/example/register/sections.php +++ b/example/register/sections.php @@ -301,6 +301,13 @@ 'repeater_block_bulk_switch_title' => [ 'json' => true ] ] ], + 'tab' => [ + 'title' => 'Tab', + 'path' => 'repeater/tab', + 'fields'=> [ + 'repeater_tab' => [ 'json' => true ] + ] + ], 'table' => [ 'title' => 'Table', 'path' => 'repeater/table', diff --git a/example/templates/repeater/tab.php b/example/templates/repeater/tab.php new file mode 100644 index 00000000..639b0a4b --- /dev/null +++ b/example/templates/repeater/tab.php @@ -0,0 +1,81 @@ +A repeater row can contain any fields. + +

Example repeater with bare layout

+ +
+ render_field('repeater_tab', [ + 'label' => 'Repeater field', + 'type' => 'repeater', + 'layout' => 'tab', + 'value' => $fields->fetch_value('repeater_tab'), + 'sub_fields' => [ + [ + 'label' => 'Text', + 'type' => 'date_picker', + 'name' => 'date', + 'label_visually_hidden' => true + ], + [ + 'label' => 'Operator', + 'type' => 'select', + 'name' => 'select', + 'choices' => [ + 'test1' => 'Test1', + 'test2' => 'Test2', + 'test3' => 'Test3', + 'test4' => 'Test4' + ], + 'label_visually_hidden' => true, + ], + [ + 'label' => 'Color', + 'type' => 'color_picker', + 'name' => 'color', + 'label_visually_hidden' => true, + ], + ] + ]); ?> +
+ +
+ +
+ +
fetch_value('repeater_tab')) ?>
+ +

Code

+ +start_code('php') ?> +$fields->render_field('repeater_tab', [ + 'label' => 'Repeater field', + 'type' => 'repeater', + 'layout' => 'tab', + 'value' => $fields->fetch_value('repeater_tab'), + 'sub_fields' => [ + [ + 'label' => 'Text', + 'type' => 'date_picker', + 'name' => 'date', + 'label_visually_hidden' => true + ], + [ + 'label' => 'Operator', + 'type' => 'select', + 'name' => 'select', + 'choices' => [ + 'test1' => 'Test1', + 'test2' => 'Test2', + 'test3' => 'Test3', + 'test4' => 'Test4' + ], + 'label_visually_hidden' => true, + ], + [ + 'label' => 'Color', + 'type' => 'color_picker', + 'name' => 'color', + 'label_visually_hidden' => true, + ], + ] +]); +end_code() ?> diff --git a/tests/jest/cases/components/repeaters/RepeaterTab.test.jsx b/tests/jest/cases/components/repeaters/RepeaterTab.test.jsx new file mode 100644 index 00000000..14ad18f3 --- /dev/null +++ b/tests/jest/cases/components/repeaters/RepeaterTab.test.jsx @@ -0,0 +1,14 @@ +import '../../../../../assets/src/index.jsx' +import { commonRepeaterTests } from './common.js' + +/** + * TODO: Add repeater specific test + check if common test are passing + * for the right reasons + */ +describe('Repeater with a tab layout', () => { + + /** + * Common tests that must work regardless of the layout used + */ + commonRepeaterTests('bare') +})