/*! For license information please see formEditor.js.LICENSE.txt */ (()=>{var e={1636:(e,t,r)=>{"use strict";r.d(t,{z:()=>G,G:()=>Y});var n=r(745),o=r(9307),i=r(3379),a=r.n(i),s=r(9037),c=r.n(s),l=r(569),u=r.n(l),f=r(8575),d=r.n(f),p=r(9216),m=r.n(p),h=r(9898),b={};h.Z&&h.Z.locals&&(b.locals=h.Z.locals);var v,A=0,g={attributes:{id:"sureforms-editor-styles"}};g.setAttributes=d(),g.insert=u().bind(null,"head"),g.domAPI=c(),g.insertStyleElement=m(),b.use=function(e){return g.options=e||{},A++||(v=a()(h.Z,g)),b},b.unuse=function(){A>0&&!--A&&(v(),v=null)};const y=b;var k=r(9818);const w=window.wp.blocks;var x=r(5609),E=r(5736),_=r(6736),C=r(7311);function O(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],c=!0,l=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);c=!0);}catch(e){l=!0,o=e}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return S(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?S(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function S(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);re.length)&&(t=e.length);for(var r=0,n=new Array(t);re.length)&&(t=e.length);for(var r=0,n=new Array(t);r=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var s=r.call(i,"catchLoc"),c=r.call(i,"finallyLoc");if(s&&c){if(this.prev=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),E(r),f}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;E(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:C(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),f}},e}function K(e,t,r,n,o,i,a){try{var s=e[i](a),c=s.value}catch(e){return void r(e)}s.done?t(c):Promise.resolve(c).then(n,o)}const W=function(){var e,t=(e=z().mark((function e(t){var r,n,o,i,a,s;return z().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=t.url,n=t.action,o=t.data,(0,H.Pk)(o)){e.next=3;break}return e.abrupt("return",Promise.reject(new Error((0,E.__)("data object is empty","sureforms"))));case 3:for(a in(i=new window.FormData).append("action",n),o)s=o[a],i.append(a,s);return e.next=8,F()({url:r,method:"POST",body:i});case 8:return e.abrupt("return",e.sent);case 9:case"end":return e.stop()}}),e)})),function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){K(i,n,o,a,s,"next",e)}function s(e){K(i,n,o,a,s,"throw",e)}a(void 0)}))});return function(e){return t.apply(this,arguments)}}();function Z(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],c=!0,l=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);c=!0);}catch(e){l=!0,o=e}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Q(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Q(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Q(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r{"use strict";r.d(t,{DH:()=>k,JE:()=>b,Pk:()=>w,Ye:()=>x,ZA:()=>A,hW:()=>h,wj:()=>v});var n=r(6989),o=r.n(n),i=r(5736),a=r(4475);function s(e){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s(e)}function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e){for(var t=1;te.length)&&(t=e.length);for(var r=0,n=new Array(t);r=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var s=r.call(i,"catchLoc"),c=r.call(i,"finallyLoc");if(s&&c){if(this.prev=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),C(r),d}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;C(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:S(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),d}},e}function m(e,t,r,n,o,i,a){try{var s=e[i](a),c=s.value}catch(e){return void r(e)}s.done?t(c):Promise.resolve(c).then(n,o)}function h(e){return e?e.toLowerCase().replace(/[^a-zA-Z ]/g,"").replace(/\s+/g,"-"):""}function b(e){if(e.current){var t=e.current.parentElement.closest(".components-panel__body");if(t&&t.querySelector(".components-panel__body-title"))return h(t.querySelector(".components-panel__body-title").textContent)}return null}var v=function(e){var t,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",n=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:[]).map((function(t){var r,n,o=(n=2,function(e){if(Array.isArray(e))return e}(r=t)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],c=!0,l=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);c=!0);}catch(e){l=!0,o=e}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return s}}(r,n)||f(r,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),i=o[0];return{title:o[1],onClick:function(){e(i)}}}));return 0===n.length&&(n=[{title:(0,i.__)("No tags available","sureforms")}]),0!==r.length&&(n=[{title:r,isDisabled:!0,onclick:function(){return!1}}].concat(function(e){if(Array.isArray(e))return d(e)}(t=n)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(t)||f(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())),n};function A(e,t){return g.apply(this,arguments)}function g(){return(e=p().mark((function e(t,r){var n;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n={path:"/sureforms/v1/generate-block-slugs",method:"POST",data:{formID:t,content:r}},e.next=3,o()(n);case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}}),e)})),g=function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){m(i,n,o,a,s,"next",e)}function s(e){m(i,n,o,a,s,"throw",e)}a(void 0)}))}).apply(this,arguments);var e}var y=function e(t,r,n){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:[];Array.isArray(t)&&0===t.length||t.forEach((function(t){if(Array.isArray(null==t?void 0:t.innerBlocks)&&0!==(null==t?void 0:t.innerBlocks.length))return e(t.innerBlocks,r,n,o,i);if(!i.length||i.includes(null==t?void 0:t.name)){var a=r[t.attributes.block_id];if(void 0!==a&&!o.includes(a)){var s="{form:"+a+"}",c=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"...",n=e.split(/\s+/);return n.length<=t?e:n.slice(0,t).join(" ")+r}(t.attributes.label,5);"srfm/gdpr"===(null==t?void 0:t.name)&&(c="[GDPR] ".concat(c)),n.push([s,c]),o.push(a)}}}))},k=function(e,t){var r,n;if(null!==(r=Object.keys(t))&&void 0!==r&&r.length){var o=["srfm/inline-button","srfm/hidden","srfm/page-break","srfm/separator","srfm/advanced-heading","srfm/image","srfm/icon"],i=[],a=[];void 0===window.sureforms&&(window.sureforms={}),window.sureforms.formSpecificSmartTags=i,window.sureforms.formSpecificEmailSmartTags=a,null!==(n=e)&&void 0!==n&&n.length&&(e=e.filter((function(e){return!o.includes(null==e?void 0:e.name)})),y(e,t,i,[]),y(e,t,a,[],["srfm/email"]),window.sureforms.formSpecificSmartTags=i,window.sureforms.formSpecificEmailSmartTags=a)}},w=function(e){return e&&Object.keys(e).length>0&&Object.getPrototypeOf(e)===Object.prototype},x=function(e){var t=e.containerClassName,r=e.containerStyle,n=e.position,o=void 0===n?"top-right":n;return React.createElement(a.x7,{containerClassName:t,position:o,containerStyle:r},(function(e){return React.createElement(a.$x,{toast:e,style:l(l({},e.style),{},{animation:e.visible?"slide-in-left 0.5s ease":"slide-out-right 0.5s ease"})})}))}},4184:(e,t)=>{var r;!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var e=[],t=0;t{"use strict";r.d(t,{Dz:()=>o,Oq:()=>d,cv:()=>u,dO:()=>c,iz:()=>p,jn:()=>i,oc:()=>f});var n=r(2454),o=function(e){var t=e.top,r=e.right,n=e.bottom,o=e.left;return{top:t,right:r,bottom:n,left:o,width:r-o,height:n-t,x:o,y:t,center:{x:(r+o)/2,y:(n+t)/2}}},i=function(e,t){return{top:e.top-t.top,left:e.left-t.left,bottom:e.bottom+t.bottom,right:e.right+t.right}},a=function(e,t){return{top:e.top+t.top,left:e.left+t.left,bottom:e.bottom-t.bottom,right:e.right-t.right}},s={top:0,right:0,bottom:0,left:0},c=function(e){var t=e.borderBox,r=e.margin,n=void 0===r?s:r,c=e.border,l=void 0===c?s:c,u=e.padding,f=void 0===u?s:u,d=o(i(t,n)),p=o(a(t,l)),m=o(a(p,f));return{marginBox:d,borderBox:o(t),paddingBox:p,contentBox:m,margin:n,border:l,padding:f}},l=function(e){var t=e.slice(0,-2);if("px"!==e.slice(-2))return 0;var r=Number(t);return isNaN(r)&&(0,n.Z)(!1),r},u=function(e,t){var r,n,o=e.borderBox,i=e.border,a=e.margin,s=e.padding,l=(n=t,{top:(r=o).top+n.y,left:r.left+n.x,bottom:r.bottom+n.y,right:r.right+n.x});return c({borderBox:l,border:i,margin:a,padding:s})},f=function(e,t){return void 0===t&&(t={x:window.pageXOffset,y:window.pageYOffset}),u(e,t)},d=function(e,t){var r={top:l(t.marginTop),right:l(t.marginRight),bottom:l(t.marginBottom),left:l(t.marginLeft)},n={top:l(t.paddingTop),right:l(t.paddingRight),bottom:l(t.paddingBottom),left:l(t.paddingLeft)},o={top:l(t.borderTopWidth),right:l(t.borderRightWidth),bottom:l(t.borderBottomWidth),left:l(t.borderLeftWidth)};return c({borderBox:e,margin:r,padding:n,border:o})},p=function(e){var t=e.getBoundingClientRect(),r=window.getComputedStyle(e);return d(t,r)}},9898:(e,t,r)=>{"use strict";r.d(t,{Z:()=>s});var n=r(8081),o=r.n(n),i=r(3645),a=r.n(i)()(o());a.push([e.id,'.srfm-ee-quick-access-container{z-index:999999}.srfm-ee-quick-access{display:flex;height:auto;width:60px;background:#1e1e1e;color:#fff;justify-content:center}.srfm-ee-quick-access .srfm-ee-quick-access__sidebar--tabs-container{position:fixed;bottom:35px}.srfm-ee-quick-access .srfm-ee-quick-access__sidebar--blocks .srfm-ee-quick-access__sidebar--blocks--block--icon{fill:#fff}.srfm-ee-quick-access__sidebar{width:60px;height:100%;background:#1e1e1e;display:flex;flex-direction:column;position:absolute;overflow:auto}.srfm-ee-quick-access__sidebar ::-webkit-scrollbar{width:0;background:rgba(0,0,0,0)}.srfm-ee-quick-access__sidebar--blocks,.srfm-ee-quick-access__sidebar--actions{display:flex;flex-direction:column;justify-content:flex-start;align-items:center;overflow-y:overlay;overflow-x:hidden;cursor:pointer;max-height:calc(100vh - 212px);flex-grow:1}.srfm-ee-quick-access__sidebar--blocks--block,.srfm-ee-quick-access__sidebar--actions--block{display:flex;cursor:grab;border-radius:6px;gap:8px;padding:12px}.srfm-ee-quick-access__sidebar--blocks--block--icon,.srfm-ee-quick-access__sidebar--actions--block--icon{display:flex;width:24px;height:24px;justify-content:center;align-items:center}.srfm-ee-quick-access__sidebar--blocks--block--icon--name,.srfm-ee-quick-access__sidebar--actions--block--icon--name{display:flex;flex-direction:row;align-content:center;justify-content:center;align-items:center}.srfm-ee-quick-access__sidebar--blocks--block--icon--name .components-popover__content,.srfm-ee-quick-access__sidebar--actions--block--icon--name .components-popover__content{background:none;border:none;box-shadow:none;width:auto}.srfm-ee-quick-access__sidebar--blocks--block--icon--name .block-title,.srfm-ee-quick-access__sidebar--actions--block--icon--name .block-title{display:flex;align-content:center;justify-content:center;align-items:center;font-size:14px;border-radius:4px;margin-right:20px;margin-left:15px;background:#1e1e1e;color:#fff;padding:5px 10px;cursor:pointer}.srfm-ee-quick-access__sidebar--blocks--block--icon--name .block-title .srfm-ee-quick-access__sidebar--blocks--block--name,.srfm-ee-quick-access__sidebar--actions--block--icon--name .block-title .srfm-ee-quick-access__sidebar--blocks--block--name{padding-right:4px}.srfm-ee-quick-access__sidebar--blocks--block--icon--name .block-title .srfm-ee-quick-access__sidebar--blocks--block--name .block-title-svg,.srfm-ee-quick-access__sidebar--actions--block--icon--name .block-title .srfm-ee-quick-access__sidebar--blocks--block--name .block-title-svg{cursor:pointer;margin-top:5px;width:15px;height:15px}.srfm-ee-quick-access__sidebar--blocks--block span:not(.dashicon),.srfm-ee-quick-access__sidebar--actions--block span:not(.dashicon){display:none}.srfm-ee-quick-access__sidebar--blocks--block:hover,.srfm-ee-quick-access__sidebar--actions--block:hover{background:#1d2939}.srfm-ee-quick-access__sidebar--blocks--block:hover span:not(.dashicon),.srfm-ee-quick-access__sidebar--actions--block:hover span:not(.dashicon){display:none}.srfm-ee-quick-access__sidebar--actions{cursor:pointer;position:relative;bottom:6px;left:0;margin-top:10px}.srfm-ee-quick-access__sidebar--actions .srfm-quick-action-sidebar-wrap #plus-icon,.srfm-ee-quick-access__sidebar--actions .srfm-quick-action-sidebar-wrap #rearrange-icon{display:flex;align-content:center;justify-content:center;align-items:center;padding:12px 12px;flex-direction:column}.srfm-ee-quick-access__sidebar--tab{display:inline-block;cursor:pointer}.srfm-ee-quick-access__sidebar--tabs{display:flex;flex-direction:column}.srfm-ee-quick-access__sidebar--tabs .tab.active #plus-icon,.srfm-ee-quick-access__sidebar--tabs .tab.active #rearrange-icon{background-color:#1d2939;color:#fff}.edit-site-layout.is-full-canvas.is-edit-mode .edit-site-layout__view-mode-toggle.components-button{border-bottom:#1e1e1e}.srfm-quick-action-block-popover{margin-left:15px}.srfm-quick-action-block-popover ::-webkit-scrollbar{width:0;background:rgba(0,0,0,0)}.srfm-quick-action-block-popover .components-popover__content{width:348px;height:279px;background:#fff;padding:16px;border-radius:6px;gap:16px}.srfm-quick-action-block-popover .components-popover__content .srfm-quick-action-block-popover-search input.components-search-control__input{width:316px;height:40px;padding:10px 14px;border-radius:4px;border:1px solid #007cba;background:#fff}.srfm-quick-action-block-popover .components-popover__content .srfm-quick-action-block-popover-search input.components-search-control__input:focus{border:1px solid #007cba;box-shadow:none}.srfm-quick-action-block-popover .components-popover__content .srfm-quick-action-block-popover-search input.components-search-control__input::placeholder{color:#aaa;font-size:12px;font-weight:500}.srfm-quick-action-block-popover .components-popover__content .srfm-quick-action-block-popover-search svg{fill:#aaa}.srfm-quick-action-block-popover .components-popover__content .srfm-block-container{display:flex;flex-wrap:wrap;overflow:hidden;flex-direction:row;align-items:stretch}.srfm-quick-action-block-popover .components-popover__content .srfm-block-container .srfm-quick-action-block-popover-header__already-present-in-quick-action-bar,.srfm-quick-action-block-popover .components-popover__content .srfm-block-container .srfm-quick-action-block-popover-header__add-to-quick-action-bar{width:316px;padding:16px 0 8px 0}.srfm-quick-action-block-popover .components-popover__content .srfm-block-container .srfm-quick-action-block-popover-header__already-present-in-quick-action-bar .block-editor-inserter__panel-title,.srfm-quick-action-block-popover .components-popover__content .srfm-block-container .srfm-quick-action-block-popover-header__add-to-quick-action-bar .block-editor-inserter__panel-title{color:#50575e;font-size:13px;font-weight:400;text-transform:capitalize}.srfm-quick-action-block-popover .components-popover__content .srfm-block-container .srfm-block-wrap{margin:0;display:flex;flex-direction:column;align-items:center;justify-content:center;position:relative;transition:all .05s ease-in-out;align-content:stretch;width:105.33px;height:100px;border-radius:4px}.srfm-quick-action-block-popover .components-popover__content .srfm-block-container .srfm-block-wrap .srfm-ee-quick-access__sidebar--blocks--block--icon{width:64px;height:48px;padding:12px 20px;gap:10px}.srfm-quick-action-block-popover .components-popover__content .srfm-block-container .srfm-block-wrap svg.uagb-editor-icons rect,.srfm-quick-action-block-popover .components-popover__content .srfm-block-container .srfm-block-wrap svg.uagb-editor-icons path{stroke:#0063a1}.srfm-quick-action-block-popover .components-popover__content .srfm-block-container .srfm-block-wrap .block-title{color:#1e1e1e;text-align:center;width:57px;height:28px;padding:4px 0 8px 0;gap:10px;font-size:12px;line-height:16px;letter-spacing:0}.srfm-quick-action-block-popover .components-popover__content .srfm-block-container .srfm-block-wrap:hover::after{background:#007cba;content:"";border-radius:2px;bottom:0;left:0;opacity:.04;pointer-events:none;position:absolute;right:0;top:0}.srfm-quick-action-block-popover .components-popover__content .srfm-block-container .srfm-block-wrap:hover .block-title{color:#007cba;filter:brightness(0.95)}.srfm-quick-action-block-popover .components-popover__content .srfm-block-container .block-editor-inserter__no-results{padding:50px 105px}.components-popover__fallback-container svg.block-title-svg{width:10px;height:10px;fill:#fff}.components-popover__fallback-container svg.block-title-svg:hover{fill:red}.edit-site-layout__canvas .srfm-ee-quick-access__sidebar{padding-top:1px}div#widgets-editor .srfm-ee-quick-access__sidebar--blocks,div#widgets-editor .srfm-ee-quick-access__sidebar--actions{max-height:calc(100vh - 180px)}.srfm-ee-quick-access-container .srfm-ee-quick-access__sidebar .srfm-ee-quick-access__sidebar--blocks .srfm-ee-quick-access__sidebar--blocks--block .srfm-ee-quick-access__sidebar--blocks--block--icon.srfm-ee-quick-access__sidebar-icon__core svg path,.srfm-ee-quick-access-container .srfm-ee-quick-access__sidebar .srfm-ee-quick-access__sidebar--blocks .srfm-ee-quick-access__sidebar--blocks--block .srfm-ee-quick-access__sidebar--blocks--block--icon.srfm-ee-quick-access__sidebar-icon__core svg rect,.srfm-ee-quick-access-container .srfm-ee-quick-access__sidebar .srfm-ee-quick-access__sidebar--blocks .srfm-ee-quick-access__sidebar--blocks--block .srfm-ee-quick-access__sidebar--blocks--block--icon.srfm-ee-quick-access__sidebar-icon__core svg circle,.srfm-ee-quick-access-container .srfm-ee-quick-access__sidebar .srfm-ee-quick-access__sidebar--blocks .srfm-ee-quick-access__sidebar--blocks--block .srfm-ee-quick-access__sidebar--blocks--block--icon.srfm-ee-quick-access__sidebar-icon__wcfb svg path,.srfm-ee-quick-access-container .srfm-ee-quick-access__sidebar .srfm-ee-quick-access__sidebar--blocks .srfm-ee-quick-access__sidebar--blocks--block .srfm-ee-quick-access__sidebar--blocks--block--icon.srfm-ee-quick-access__sidebar-icon__wcfb svg rect,.srfm-ee-quick-access-container .srfm-ee-quick-access__sidebar .srfm-ee-quick-access__sidebar--blocks .srfm-ee-quick-access__sidebar--blocks--block .srfm-ee-quick-access__sidebar--blocks--block--icon.srfm-ee-quick-access__sidebar-icon__wcfb svg circle,.srfm-ee-quick-access-container .srfm-ee-quick-access__sidebar .srfm-ee-quick-access__sidebar--blocks .srfm-ee-quick-access__sidebar--blocks--block .srfm-ee-quick-access__sidebar--blocks--block--icon.srfm-ee-quick-access__sidebar-icon__wpsp svg path,.srfm-ee-quick-access-container .srfm-ee-quick-access__sidebar .srfm-ee-quick-access__sidebar--blocks .srfm-ee-quick-access__sidebar--blocks--block .srfm-ee-quick-access__sidebar--blocks--block--icon.srfm-ee-quick-access__sidebar-icon__wpsp svg rect,.srfm-ee-quick-access-container .srfm-ee-quick-access__sidebar .srfm-ee-quick-access__sidebar--blocks .srfm-ee-quick-access__sidebar--blocks--block .srfm-ee-quick-access__sidebar--blocks--block--icon.srfm-ee-quick-access__sidebar-icon__wpsp svg circle{fill:#fff;stroke-width:1.4px}.srfm-ee-quick-access-container .srfm-ee-quick-access__sidebar .srfm-ee-quick-access__sidebar--blocks .srfm-ee-quick-access__sidebar--blocks--block .srfm-ee-quick-access__sidebar--blocks--block--icon.srfm-ee-quick-access__sidebar-icon__woocommerce--cart svg path:first-child,.srfm-ee-quick-access-container .srfm-ee-quick-access__sidebar .srfm-ee-quick-access__sidebar--blocks .srfm-ee-quick-access__sidebar--blocks--block .srfm-ee-quick-access__sidebar--blocks--block--icon.srfm-ee-quick-access__sidebar-icon__woocommerce--checkout svg path:first-child,.srfm-ee-quick-access-container .srfm-ee-quick-access__sidebar .srfm-ee-quick-access__sidebar--blocks .srfm-ee-quick-access__sidebar--blocks--block .srfm-ee-quick-access__sidebar--blocks--block--icon.srfm-ee-quick-access__sidebar-icon__woocommerce--mini-cart-contents svg path:first-child,.srfm-ee-quick-access-container .srfm-ee-quick-access__sidebar .srfm-ee-quick-access__sidebar--blocks .srfm-ee-quick-access__sidebar--blocks--block .srfm-ee-quick-access__sidebar--blocks--block--icon.srfm-ee-quick-access__sidebar-icon__woocommerce--product-top-rated svg path:first-child,.srfm-ee-quick-access-container .srfm-ee-quick-access__sidebar .srfm-ee-quick-access__sidebar--blocks .srfm-ee-quick-access__sidebar--blocks--block .srfm-ee-quick-access__sidebar--blocks--block--icon.srfm-ee-quick-access__sidebar-icon__woocommerce--store-notices svg path:first-child,.srfm-ee-quick-access-container .srfm-ee-quick-access__sidebar .srfm-ee-quick-access__sidebar--blocks .srfm-ee-quick-access__sidebar--blocks--block .srfm-ee-quick-access__sidebar--blocks--block--icon.srfm-ee-quick-access__sidebar-icon__woocommerce--featured-category svg path:first-child,.srfm-ee-quick-access-container .srfm-ee-quick-access__sidebar .srfm-ee-quick-access__sidebar--blocks .srfm-ee-quick-access__sidebar--blocks--block .srfm-ee-quick-access__sidebar--blocks--block--icon.srfm-ee-quick-access__sidebar-icon__woocommerce--active-filters svg path:first-child{fill:none}.srfm-ee-quick-access-container .srfm-ee-quick-access__sidebar .srfm-ee-quick-access__sidebar--blocks .srfm-ee-quick-access__sidebar--blocks--block .srfm-ee-quick-access__sidebar--blocks--block--icon.srfm-ee-quick-access__sidebar-icon__woocommerce svg path,.srfm-ee-quick-access-container .srfm-ee-quick-access__sidebar .srfm-ee-quick-access__sidebar--blocks .srfm-ee-quick-access__sidebar--blocks--block .srfm-ee-quick-access__sidebar--blocks--block--icon.srfm-ee-quick-access__sidebar-icon__woocommerce svg rect,.srfm-ee-quick-access-container .srfm-ee-quick-access__sidebar .srfm-ee-quick-access__sidebar--blocks .srfm-ee-quick-access__sidebar--blocks--block .srfm-ee-quick-access__sidebar--blocks--block--icon.srfm-ee-quick-access__sidebar-icon__woocommerce svg circle{fill:#fff;stroke-width:1.4px}.srfm-ee-quick-access-container .srfm-ee-quick-access__sidebar .srfm-ee-quick-access__sidebar--blocks .srfm-ee-quick-access__sidebar--blocks--block .srfm-ee-quick-access__sidebar--blocks--block--icon.srfm-ee-quick-access__sidebar-icon__jetpack--gif path:last-child,.srfm-ee-quick-access-container .srfm-ee-quick-access__sidebar .srfm-ee-quick-access__sidebar--blocks .srfm-ee-quick-access__sidebar--blocks--block .srfm-ee-quick-access__sidebar--blocks--block--icon.srfm-ee-quick-access__sidebar-icon__jetpack--map path:last-child,.srfm-ee-quick-access-container .srfm-ee-quick-access__sidebar .srfm-ee-quick-access__sidebar--blocks .srfm-ee-quick-access__sidebar--blocks--block .srfm-ee-quick-access__sidebar--blocks--block--icon.srfm-ee-quick-access__sidebar-icon__jetpack--markdown path:last-child{fill:#fff}.srfm-ee-quick-access-container .srfm-ee-quick-access__sidebar .srfm-ee-quick-access__sidebar--blocks .srfm-ee-quick-access__sidebar--blocks--block .srfm-ee-quick-access__sidebar--blocks--block--icon.srfm-ee-quick-access__sidebar-icon__jetpack--business-hours svg path,.srfm-ee-quick-access-container .srfm-ee-quick-access__sidebar .srfm-ee-quick-access__sidebar--blocks .srfm-ee-quick-access__sidebar--blocks--block .srfm-ee-quick-access__sidebar--blocks--block--icon.srfm-ee-quick-access__sidebar-icon__jetpack--business-hours svg rect,.srfm-ee-quick-access-container .srfm-ee-quick-access__sidebar .srfm-ee-quick-access__sidebar--blocks .srfm-ee-quick-access__sidebar--blocks--block .srfm-ee-quick-access__sidebar--blocks--block--icon.srfm-ee-quick-access__sidebar-icon__jetpack--business-hours svg circle,.srfm-ee-quick-access-container .srfm-ee-quick-access__sidebar .srfm-ee-quick-access__sidebar--blocks .srfm-ee-quick-access__sidebar--blocks--block .srfm-ee-quick-access__sidebar--blocks--block--icon.srfm-ee-quick-access__sidebar-icon__jetpack--button svg path,.srfm-ee-quick-access-container .srfm-ee-quick-access__sidebar .srfm-ee-quick-access__sidebar--blocks .srfm-ee-quick-access__sidebar--blocks--block .srfm-ee-quick-access__sidebar--blocks--block--icon.srfm-ee-quick-access__sidebar-icon__jetpack--button svg rect,.srfm-ee-quick-access-container .srfm-ee-quick-access__sidebar .srfm-ee-quick-access__sidebar--blocks .srfm-ee-quick-access__sidebar--blocks--block .srfm-ee-quick-access__sidebar--blocks--block--icon.srfm-ee-quick-access__sidebar-icon__jetpack--button svg circle,.srfm-ee-quick-access-container .srfm-ee-quick-access__sidebar .srfm-ee-quick-access__sidebar--blocks .srfm-ee-quick-access__sidebar--blocks--block .srfm-ee-quick-access__sidebar--blocks--block--icon.srfm-ee-quick-access__sidebar-icon__jetpack--calendly svg path,.srfm-ee-quick-access-container .srfm-ee-quick-access__sidebar .srfm-ee-quick-access__sidebar--blocks .srfm-ee-quick-access__sidebar--blocks--block .srfm-ee-quick-access__sidebar--blocks--block--icon.srfm-ee-quick-access__sidebar-icon__jetpack--calendly svg rect,.srfm-ee-quick-access-container .srfm-ee-quick-access__sidebar .srfm-ee-quick-access__sidebar--blocks .srfm-ee-quick-access__sidebar--blocks--block .srfm-ee-quick-access__sidebar--blocks--block--icon.srfm-ee-quick-access__sidebar-icon__jetpack--calendly svg circle,.srfm-ee-quick-access-container .srfm-ee-quick-access__sidebar .srfm-ee-quick-access__sidebar--blocks .srfm-ee-quick-access__sidebar--blocks--block .srfm-ee-quick-access__sidebar--blocks--block--icon.srfm-ee-quick-access__sidebar-icon__jetpack--contact-info svg path,.srfm-ee-quick-access-container .srfm-ee-quick-access__sidebar .srfm-ee-quick-access__sidebar--blocks .srfm-ee-quick-access__sidebar--blocks--block .srfm-ee-quick-access__sidebar--blocks--block--icon.srfm-ee-quick-access__sidebar-icon__jetpack--contact-info svg rect,.srfm-ee-quick-access-container .srfm-ee-quick-access__sidebar .srfm-ee-quick-access__sidebar--blocks .srfm-ee-quick-access__sidebar--blocks--block .srfm-ee-quick-access__sidebar--blocks--block--icon.srfm-ee-quick-access__sidebar-icon__jetpack--contact-info svg circle,.srfm-ee-quick-access-container .srfm-ee-quick-access__sidebar .srfm-ee-quick-access__sidebar--blocks .srfm-ee-quick-access__sidebar--blocks--block .srfm-ee-quick-access__sidebar--blocks--block--icon.srfm-ee-quick-access__sidebar-icon__jetpack--donations svg path,.srfm-ee-quick-access-container .srfm-ee-quick-access__sidebar .srfm-ee-quick-access__sidebar--blocks .srfm-ee-quick-access__sidebar--blocks--block .srfm-ee-quick-access__sidebar--blocks--block--icon.srfm-ee-quick-access__sidebar-icon__jetpack--donations svg rect,.srfm-ee-quick-access-container .srfm-ee-quick-access__sidebar .srfm-ee-quick-access__sidebar--blocks .srfm-ee-quick-access__sidebar--blocks--block .srfm-ee-quick-access__sidebar--blocks--block--icon.srfm-ee-quick-access__sidebar-icon__jetpack--donations svg circle,.srfm-ee-quick-access-container .srfm-ee-quick-access__sidebar .srfm-ee-quick-access__sidebar--blocks .srfm-ee-quick-access__sidebar--blocks--block .srfm-ee-quick-access__sidebar--blocks--block--icon.srfm-ee-quick-access__sidebar-icon__jetpack--eventbrite svg path,.srfm-ee-quick-access-container .srfm-ee-quick-access__sidebar .srfm-ee-quick-access__sidebar--blocks .srfm-ee-quick-access__sidebar--blocks--block .srfm-ee-quick-access__sidebar--blocks--block--icon.srfm-ee-quick-access__sidebar-icon__jetpack--eventbrite svg rect,.srfm-ee-quick-access-container .srfm-ee-quick-access__sidebar .srfm-ee-quick-access__sidebar--blocks .srfm-ee-quick-access__sidebar--blocks--block .srfm-ee-quick-access__sidebar--blocks--block--icon.srfm-ee-quick-access__sidebar-icon__jetpack--eventbrite svg circle,.srfm-ee-quick-access-container .srfm-ee-quick-access__sidebar .srfm-ee-quick-access__sidebar--blocks .srfm-ee-quick-access__sidebar--blocks--block .srfm-ee-quick-access__sidebar--blocks--block--icon.srfm-ee-quick-access__sidebar-icon__jetpack--google-calendar svg path,.srfm-ee-quick-access-container .srfm-ee-quick-access__sidebar .srfm-ee-quick-access__sidebar--blocks .srfm-ee-quick-access__sidebar--blocks--block .srfm-ee-quick-access__sidebar--blocks--block--icon.srfm-ee-quick-access__sidebar-icon__jetpack--google-calendar svg rect,.srfm-ee-quick-access-container .srfm-ee-quick-access__sidebar .srfm-ee-quick-access__sidebar--blocks .srfm-ee-quick-access__sidebar--blocks--block .srfm-ee-quick-access__sidebar--blocks--block--icon.srfm-ee-quick-access__sidebar-icon__jetpack--google-calendar svg circle,.srfm-ee-quick-access-container .srfm-ee-quick-access__sidebar .srfm-ee-quick-access__sidebar--blocks .srfm-ee-quick-access__sidebar--blocks--block .srfm-ee-quick-access__sidebar--blocks--block--icon.srfm-ee-quick-access__sidebar-icon__jetpack--image-compare svg path,.srfm-ee-quick-access-container .srfm-ee-quick-access__sidebar .srfm-ee-quick-access__sidebar--blocks .srfm-ee-quick-access__sidebar--blocks--block .srfm-ee-quick-access__sidebar--blocks--block--icon.srfm-ee-quick-access__sidebar-icon__jetpack--image-compare svg rect,.srfm-ee-quick-access-container .srfm-ee-quick-access__sidebar .srfm-ee-quick-access__sidebar--blocks .srfm-ee-quick-access__sidebar--blocks--block .srfm-ee-quick-access__sidebar--blocks--block--icon.srfm-ee-quick-access__sidebar-icon__jetpack--image-compare svg circle,.srfm-ee-quick-access-container .srfm-ee-quick-access__sidebar .srfm-ee-quick-access__sidebar--blocks .srfm-ee-quick-access__sidebar--blocks--block .srfm-ee-quick-access__sidebar--blocks--block--icon.srfm-ee-quick-access__sidebar-icon__jetpack--like svg path,.srfm-ee-quick-access-container .srfm-ee-quick-access__sidebar .srfm-ee-quick-access__sidebar--blocks .srfm-ee-quick-access__sidebar--blocks--block .srfm-ee-quick-access__sidebar--blocks--block--icon.srfm-ee-quick-access__sidebar-icon__jetpack--like svg rect,.srfm-ee-quick-access-container .srfm-ee-quick-access__sidebar .srfm-ee-quick-access__sidebar--blocks .srfm-ee-quick-access__sidebar--blocks--block .srfm-ee-quick-access__sidebar--blocks--block--icon.srfm-ee-quick-access__sidebar-icon__jetpack--like svg circle,.srfm-ee-quick-access-container .srfm-ee-quick-access__sidebar .srfm-ee-quick-access__sidebar--blocks .srfm-ee-quick-access__sidebar--blocks--block .srfm-ee-quick-access__sidebar--blocks--block--icon.srfm-ee-quick-access__sidebar-icon__jetpack--opentable svg path,.srfm-ee-quick-access-container .srfm-ee-quick-access__sidebar .srfm-ee-quick-access__sidebar--blocks .srfm-ee-quick-access__sidebar--blocks--block .srfm-ee-quick-access__sidebar--blocks--block--icon.srfm-ee-quick-access__sidebar-icon__jetpack--opentable svg rect,.srfm-ee-quick-access-container .srfm-ee-quick-access__sidebar .srfm-ee-quick-access__sidebar--blocks .srfm-ee-quick-access__sidebar--blocks--block .srfm-ee-quick-access__sidebar--blocks--block--icon.srfm-ee-quick-access__sidebar-icon__jetpack--opentable svg circle,.srfm-ee-quick-access-container .srfm-ee-quick-access__sidebar .srfm-ee-quick-access__sidebar--blocks .srfm-ee-quick-access__sidebar--blocks--block .srfm-ee-quick-access__sidebar--blocks--block--icon.srfm-ee-quick-access__sidebar-icon__jetpack--pinterest svg path,.srfm-ee-quick-access-container .srfm-ee-quick-access__sidebar .srfm-ee-quick-access__sidebar--blocks .srfm-ee-quick-access__sidebar--blocks--block .srfm-ee-quick-access__sidebar--blocks--block--icon.srfm-ee-quick-access__sidebar-icon__jetpack--pinterest svg rect,.srfm-ee-quick-access-container .srfm-ee-quick-access__sidebar .srfm-ee-quick-access__sidebar--blocks .srfm-ee-quick-access__sidebar--blocks--block .srfm-ee-quick-access__sidebar--blocks--block--icon.srfm-ee-quick-access__sidebar-icon__jetpack--pinterest svg circle,.srfm-ee-quick-access-container .srfm-ee-quick-access__sidebar .srfm-ee-quick-access__sidebar--blocks .srfm-ee-quick-access__sidebar--blocks--block .srfm-ee-quick-access__sidebar--blocks--block--icon.srfm-ee-quick-access__sidebar-icon__jetpack--podcast-player svg path,.srfm-ee-quick-access-container .srfm-ee-quick-access__sidebar .srfm-ee-quick-access__sidebar--blocks .srfm-ee-quick-access__sidebar--blocks--block .srfm-ee-quick-access__sidebar--blocks--block--icon.srfm-ee-quick-access__sidebar-icon__jetpack--podcast-player svg rect,.srfm-ee-quick-access-container .srfm-ee-quick-access__sidebar .srfm-ee-quick-access__sidebar--blocks .srfm-ee-quick-access__sidebar--blocks--block .srfm-ee-quick-access__sidebar--blocks--block--icon.srfm-ee-quick-access__sidebar-icon__jetpack--podcast-player svg circle,.srfm-ee-quick-access-container .srfm-ee-quick-access__sidebar .srfm-ee-quick-access__sidebar--blocks .srfm-ee-quick-access__sidebar--blocks--block .srfm-ee-quick-access__sidebar--blocks--block--icon.srfm-ee-quick-access__sidebar-icon__jetpack--rating-star svg path,.srfm-ee-quick-access-container .srfm-ee-quick-access__sidebar .srfm-ee-quick-access__sidebar--blocks .srfm-ee-quick-access__sidebar--blocks--block .srfm-ee-quick-access__sidebar--blocks--block--icon.srfm-ee-quick-access__sidebar-icon__jetpack--rating-star svg rect,.srfm-ee-quick-access-container .srfm-ee-quick-access__sidebar .srfm-ee-quick-access__sidebar--blocks .srfm-ee-quick-access__sidebar--blocks--block .srfm-ee-quick-access__sidebar--blocks--block--icon.srfm-ee-quick-access__sidebar-icon__jetpack--rating-star svg circle,.srfm-ee-quick-access-container .srfm-ee-quick-access__sidebar .srfm-ee-quick-access__sidebar--blocks .srfm-ee-quick-access__sidebar--blocks--block .srfm-ee-quick-access__sidebar--blocks--block--icon.srfm-ee-quick-access__sidebar-icon__jetpack--repeat-visitor svg path,.srfm-ee-quick-access-container .srfm-ee-quick-access__sidebar .srfm-ee-quick-access__sidebar--blocks .srfm-ee-quick-access__sidebar--blocks--block .srfm-ee-quick-access__sidebar--blocks--block--icon.srfm-ee-quick-access__sidebar-icon__jetpack--repeat-visitor svg rect,.srfm-ee-quick-access-container .srfm-ee-quick-access__sidebar .srfm-ee-quick-access__sidebar--blocks .srfm-ee-quick-access__sidebar--blocks--block .srfm-ee-quick-access__sidebar--blocks--block--icon.srfm-ee-quick-access__sidebar-icon__jetpack--repeat-visitor svg circle,.srfm-ee-quick-access-container .srfm-ee-quick-access__sidebar .srfm-ee-quick-access__sidebar--blocks .srfm-ee-quick-access__sidebar--blocks--block .srfm-ee-quick-access__sidebar--blocks--block--icon.srfm-ee-quick-access__sidebar-icon__jetpack--send-a-message svg path,.srfm-ee-quick-access-container .srfm-ee-quick-access__sidebar .srfm-ee-quick-access__sidebar--blocks .srfm-ee-quick-access__sidebar--blocks--block .srfm-ee-quick-access__sidebar--blocks--block--icon.srfm-ee-quick-access__sidebar-icon__jetpack--send-a-message svg rect,.srfm-ee-quick-access-container .srfm-ee-quick-access__sidebar .srfm-ee-quick-access__sidebar--blocks .srfm-ee-quick-access__sidebar--blocks--block .srfm-ee-quick-access__sidebar--blocks--block--icon.srfm-ee-quick-access__sidebar-icon__jetpack--send-a-message svg circle,.srfm-ee-quick-access-container .srfm-ee-quick-access__sidebar .srfm-ee-quick-access__sidebar--blocks .srfm-ee-quick-access__sidebar--blocks--block .srfm-ee-quick-access__sidebar--blocks--block--icon.srfm-ee-quick-access__sidebar-icon__jetpack--slideshow svg path,.srfm-ee-quick-access-container .srfm-ee-quick-access__sidebar .srfm-ee-quick-access__sidebar--blocks .srfm-ee-quick-access__sidebar--blocks--block .srfm-ee-quick-access__sidebar--blocks--block--icon.srfm-ee-quick-access__sidebar-icon__jetpack--slideshow svg rect,.srfm-ee-quick-access-container .srfm-ee-quick-access__sidebar .srfm-ee-quick-access__sidebar--blocks .srfm-ee-quick-access__sidebar--blocks--block .srfm-ee-quick-access__sidebar--blocks--block--icon.srfm-ee-quick-access__sidebar-icon__jetpack--slideshow svg circle,.srfm-ee-quick-access-container .srfm-ee-quick-access__sidebar .srfm-ee-quick-access__sidebar--blocks .srfm-ee-quick-access__sidebar--blocks--block .srfm-ee-quick-access__sidebar--blocks--block--icon.srfm-ee-quick-access__sidebar-icon__jetpack--story svg path,.srfm-ee-quick-access-container .srfm-ee-quick-access__sidebar .srfm-ee-quick-access__sidebar--blocks .srfm-ee-quick-access__sidebar--blocks--block .srfm-ee-quick-access__sidebar--blocks--block--icon.srfm-ee-quick-access__sidebar-icon__jetpack--story svg rect,.srfm-ee-quick-access-container .srfm-ee-quick-access__sidebar .srfm-ee-quick-access__sidebar--blocks .srfm-ee-quick-access__sidebar--blocks--block .srfm-ee-quick-access__sidebar--blocks--block--icon.srfm-ee-quick-access__sidebar-icon__jetpack--story svg circle,.srfm-ee-quick-access-container .srfm-ee-quick-access__sidebar .srfm-ee-quick-access__sidebar--blocks .srfm-ee-quick-access__sidebar--blocks--block .srfm-ee-quick-access__sidebar--blocks--block--icon.srfm-ee-quick-access__sidebar-icon__jetpack--tiled-gallery svg path,.srfm-ee-quick-access-container .srfm-ee-quick-access__sidebar .srfm-ee-quick-access__sidebar--blocks .srfm-ee-quick-access__sidebar--blocks--block .srfm-ee-quick-access__sidebar--blocks--block--icon.srfm-ee-quick-access__sidebar-icon__jetpack--tiled-gallery svg rect,.srfm-ee-quick-access-container .srfm-ee-quick-access__sidebar .srfm-ee-quick-access__sidebar--blocks .srfm-ee-quick-access__sidebar--blocks--block .srfm-ee-quick-access__sidebar--blocks--block--icon.srfm-ee-quick-access__sidebar-icon__jetpack--tiled-gallery svg circle,.srfm-ee-quick-access-container .srfm-ee-quick-access__sidebar .srfm-ee-quick-access__sidebar--blocks .srfm-ee-quick-access__sidebar--blocks--block .srfm-ee-quick-access__sidebar--blocks--block--icon.srfm-ee-quick-access__sidebar-icon__jetpack--tock svg path,.srfm-ee-quick-access-container .srfm-ee-quick-access__sidebar .srfm-ee-quick-access__sidebar--blocks .srfm-ee-quick-access__sidebar--blocks--block .srfm-ee-quick-access__sidebar--blocks--block--icon.srfm-ee-quick-access__sidebar-icon__jetpack--tock svg rect,.srfm-ee-quick-access-container .srfm-ee-quick-access__sidebar .srfm-ee-quick-access__sidebar--blocks .srfm-ee-quick-access__sidebar--blocks--block .srfm-ee-quick-access__sidebar--blocks--block--icon.srfm-ee-quick-access__sidebar-icon__jetpack--tock svg circle,.srfm-ee-quick-access-container .srfm-ee-quick-access__sidebar .srfm-ee-quick-access__sidebar--blocks .srfm-ee-quick-access__sidebar--blocks--block .srfm-ee-quick-access__sidebar--blocks--block--icon.srfm-ee-quick-access__sidebar-icon__jetpack--payments-intro svg path,.srfm-ee-quick-access-container .srfm-ee-quick-access__sidebar .srfm-ee-quick-access__sidebar--blocks .srfm-ee-quick-access__sidebar--blocks--block .srfm-ee-quick-access__sidebar--blocks--block--icon.srfm-ee-quick-access__sidebar-icon__jetpack--payments-intro svg rect,.srfm-ee-quick-access-container .srfm-ee-quick-access__sidebar .srfm-ee-quick-access__sidebar--blocks .srfm-ee-quick-access__sidebar--blocks--block .srfm-ee-quick-access__sidebar--blocks--block--icon.srfm-ee-quick-access__sidebar-icon__jetpack--payments-intro svg circle,.srfm-ee-quick-access-container .srfm-ee-quick-access__sidebar .srfm-ee-quick-access__sidebar--blocks .srfm-ee-quick-access__sidebar--blocks--block .srfm-ee-quick-access__sidebar--blocks--block--icon.srfm-ee-quick-access__sidebar-icon__jetpack--blogroll svg path,.srfm-ee-quick-access-container .srfm-ee-quick-access__sidebar .srfm-ee-quick-access__sidebar--blocks .srfm-ee-quick-access__sidebar--blocks--block .srfm-ee-quick-access__sidebar--blocks--block--icon.srfm-ee-quick-access__sidebar-icon__jetpack--blogroll svg rect,.srfm-ee-quick-access-container .srfm-ee-quick-access__sidebar .srfm-ee-quick-access__sidebar--blocks .srfm-ee-quick-access__sidebar--blocks--block .srfm-ee-quick-access__sidebar--blocks--block--icon.srfm-ee-quick-access__sidebar-icon__jetpack--blogroll svg circle,.srfm-ee-quick-access-container .srfm-ee-quick-access__sidebar .srfm-ee-quick-access__sidebar--blocks .srfm-ee-quick-access__sidebar--blocks--block .srfm-ee-quick-access__sidebar--blocks--block--icon.srfm-ee-quick-access__sidebar-icon__jetpack--nextdoor svg path,.srfm-ee-quick-access-container .srfm-ee-quick-access__sidebar .srfm-ee-quick-access__sidebar--blocks .srfm-ee-quick-access__sidebar--blocks--block .srfm-ee-quick-access__sidebar--blocks--block--icon.srfm-ee-quick-access__sidebar-icon__jetpack--nextdoor svg rect,.srfm-ee-quick-access-container .srfm-ee-quick-access__sidebar .srfm-ee-quick-access__sidebar--blocks .srfm-ee-quick-access__sidebar--blocks--block .srfm-ee-quick-access__sidebar--blocks--block--icon.srfm-ee-quick-access__sidebar-icon__jetpack--nextdoor svg circle,.srfm-ee-quick-access-container .srfm-ee-quick-access__sidebar .srfm-ee-quick-access__sidebar--blocks .srfm-ee-quick-access__sidebar--blocks--block .srfm-ee-quick-access__sidebar--blocks--block--icon.srfm-ee-quick-access__sidebar-icon__jetpack--sharing-buttons svg path,.srfm-ee-quick-access-container .srfm-ee-quick-access__sidebar .srfm-ee-quick-access__sidebar--blocks .srfm-ee-quick-access__sidebar--blocks--block .srfm-ee-quick-access__sidebar--blocks--block--icon.srfm-ee-quick-access__sidebar-icon__jetpack--sharing-buttons svg rect,.srfm-ee-quick-access-container .srfm-ee-quick-access__sidebar .srfm-ee-quick-access__sidebar--blocks .srfm-ee-quick-access__sidebar--blocks--block .srfm-ee-quick-access__sidebar--blocks--block--icon.srfm-ee-quick-access__sidebar-icon__jetpack--sharing-buttons svg circle{fill:#fff;stroke-width:1.4px}.srfm-ee-quick-access-container .srfm-ee-quick-access__sidebar .srfm-ee-quick-access__sidebar--blocks .srfm-ee-quick-access__sidebar--blocks--block .srfm-ee-quick-access__sidebar--blocks--block--icon.srfm-ee-quick-access__sidebar-icon__premium-content--container svg path,.srfm-ee-quick-access-container .srfm-ee-quick-access__sidebar .srfm-ee-quick-access__sidebar--blocks .srfm-ee-quick-access__sidebar--blocks--block .srfm-ee-quick-access__sidebar--blocks--block--icon.srfm-ee-quick-access__sidebar-icon__premium-content--container svg rect,.srfm-ee-quick-access-container .srfm-ee-quick-access__sidebar .srfm-ee-quick-access__sidebar--blocks .srfm-ee-quick-access__sidebar--blocks--block .srfm-ee-quick-access__sidebar--blocks--block--icon.srfm-ee-quick-access__sidebar-icon__premium-content--container svg circle,.srfm-ee-quick-access-container .srfm-ee-quick-access__sidebar .srfm-ee-quick-access__sidebar--blocks .srfm-ee-quick-access__sidebar--blocks--block .srfm-ee-quick-access__sidebar--blocks--block--icon.srfm-ee-quick-access__sidebar-icon__premium-content--buttons svg path,.srfm-ee-quick-access-container .srfm-ee-quick-access__sidebar .srfm-ee-quick-access__sidebar--blocks .srfm-ee-quick-access__sidebar--blocks--block .srfm-ee-quick-access__sidebar--blocks--block--icon.srfm-ee-quick-access__sidebar-icon__premium-content--buttons svg rect,.srfm-ee-quick-access-container .srfm-ee-quick-access__sidebar .srfm-ee-quick-access__sidebar--blocks .srfm-ee-quick-access__sidebar--blocks--block .srfm-ee-quick-access__sidebar--blocks--block--icon.srfm-ee-quick-access__sidebar-icon__premium-content--buttons svg circle,.srfm-ee-quick-access-container .srfm-ee-quick-access__sidebar .srfm-ee-quick-access__sidebar--blocks .srfm-ee-quick-access__sidebar--blocks--block .srfm-ee-quick-access__sidebar--blocks--block--icon.srfm-ee-quick-access__sidebar-icon__premium-content--login-button svg path,.srfm-ee-quick-access-container .srfm-ee-quick-access__sidebar .srfm-ee-quick-access__sidebar--blocks .srfm-ee-quick-access__sidebar--blocks--block .srfm-ee-quick-access__sidebar--blocks--block--icon.srfm-ee-quick-access__sidebar-icon__premium-content--login-button svg rect,.srfm-ee-quick-access-container .srfm-ee-quick-access__sidebar .srfm-ee-quick-access__sidebar--blocks .srfm-ee-quick-access__sidebar--blocks--block .srfm-ee-quick-access__sidebar--blocks--block--icon.srfm-ee-quick-access__sidebar-icon__premium-content--login-button svg circle{fill:#fff;stroke-width:1.4px}.srfm-ee-quick-access-container .srfm-ee-quick-access__sidebar .srfm-ee-quick-access__sidebar--blocks .srfm-ee-quick-access__sidebar--blocks--block .srfm-ee-quick-access__sidebar--blocks--block--icon.srfm-ee-quick-access__sidebar-icon__mailpoet svg path,.srfm-ee-quick-access-container .srfm-ee-quick-access__sidebar .srfm-ee-quick-access__sidebar--blocks .srfm-ee-quick-access__sidebar--blocks--block .srfm-ee-quick-access__sidebar--blocks--block--icon.srfm-ee-quick-access__sidebar-icon__mailpoet svg rect,.srfm-ee-quick-access-container .srfm-ee-quick-access__sidebar .srfm-ee-quick-access__sidebar--blocks .srfm-ee-quick-access__sidebar--blocks--block .srfm-ee-quick-access__sidebar--blocks--block--icon.srfm-ee-quick-access__sidebar-icon__mailpoet svg circle{fill:#fff;stroke-width:1.4px}.srfm-ee-quick-access-container .srfm-ee-quick-access__sidebar .srfm-ee-quick-access__sidebar--blocks .srfm-ee-quick-access__sidebar--blocks--block .srfm-ee-quick-access__sidebar--blocks--block--icon.srfm-ee-quick-access__sidebar-icon__surecart svg path,.srfm-ee-quick-access-container .srfm-ee-quick-access__sidebar .srfm-ee-quick-access__sidebar--blocks .srfm-ee-quick-access__sidebar--blocks--block .srfm-ee-quick-access__sidebar--blocks--block--icon.srfm-ee-quick-access__sidebar-icon__surecart svg rect,.srfm-ee-quick-access-container .srfm-ee-quick-access__sidebar .srfm-ee-quick-access__sidebar--blocks .srfm-ee-quick-access__sidebar--blocks--block .srfm-ee-quick-access__sidebar--blocks--block--icon.srfm-ee-quick-access__sidebar-icon__surecart svg circle{fill:#fff;stroke-width:1.4px}.srfm-ee-quick-access-container .srfm-ee-quick-access__sidebar .srfm-ee-quick-access__sidebar--blocks .srfm-ee-quick-access__sidebar--blocks--block .srfm-ee-quick-access__sidebar--blocks--block--icon.srfm-ee-quick-access__sidebar-icon__surecart--cart-menu-icon svg path,.srfm-ee-quick-access-container .srfm-ee-quick-access__sidebar .srfm-ee-quick-access__sidebar--blocks .srfm-ee-quick-access__sidebar--blocks--block .srfm-ee-quick-access__sidebar--blocks--block--icon.srfm-ee-quick-access__sidebar-icon__surecart--cart-menu-icon svg rect,.srfm-ee-quick-access-container .srfm-ee-quick-access__sidebar .srfm-ee-quick-access__sidebar--blocks .srfm-ee-quick-access__sidebar--blocks--block .srfm-ee-quick-access__sidebar--blocks--block--icon.srfm-ee-quick-access__sidebar-icon__surecart--cart-menu-icon svg circle,.srfm-ee-quick-access-container .srfm-ee-quick-access__sidebar .srfm-ee-quick-access__sidebar--blocks .srfm-ee-quick-access__sidebar--blocks--block .srfm-ee-quick-access__sidebar--blocks--block--icon.srfm-ee-quick-access__sidebar-icon__surecart--order-confirmation svg path,.srfm-ee-quick-access-container .srfm-ee-quick-access__sidebar .srfm-ee-quick-access__sidebar--blocks .srfm-ee-quick-access__sidebar--blocks--block .srfm-ee-quick-access__sidebar--blocks--block--icon.srfm-ee-quick-access__sidebar-icon__surecart--order-confirmation svg rect,.srfm-ee-quick-access-container .srfm-ee-quick-access__sidebar .srfm-ee-quick-access__sidebar--blocks .srfm-ee-quick-access__sidebar--blocks--block .srfm-ee-quick-access__sidebar--blocks--block--icon.srfm-ee-quick-access__sidebar-icon__surecart--order-confirmation svg circle,.srfm-ee-quick-access-container .srfm-ee-quick-access__sidebar .srfm-ee-quick-access__sidebar--blocks .srfm-ee-quick-access__sidebar--blocks--block .srfm-ee-quick-access__sidebar--blocks--block--icon.srfm-ee-quick-access__sidebar-icon__surecart--cart svg path,.srfm-ee-quick-access-container .srfm-ee-quick-access__sidebar .srfm-ee-quick-access__sidebar--blocks .srfm-ee-quick-access__sidebar--blocks--block .srfm-ee-quick-access__sidebar--blocks--block--icon.srfm-ee-quick-access__sidebar-icon__surecart--cart svg rect,.srfm-ee-quick-access-container .srfm-ee-quick-access__sidebar .srfm-ee-quick-access__sidebar--blocks .srfm-ee-quick-access__sidebar--blocks--block .srfm-ee-quick-access__sidebar--blocks--block--icon.srfm-ee-quick-access__sidebar-icon__surecart--cart svg circle{fill:none;stroke-width:1.4px}.srfm-ee-quick-access__sidebar--blocks-sortable{display:flex;flex-direction:column;overflow:auto}.srfm-ee-quick-access__sidebar--blocks-sortable--block{margin-bottom:10px}.srfm-ee-quick-access__sidebar--prevent-editor-interactions{pointer-events:none}',""]);const s=a},1518:(e,t,r)=>{"use strict";r.d(t,{Z:()=>s});var n=r(8081),o=r.n(n),i=r(3645),a=r.n(i)()(o());a.push([e.id,".srfm-custom-css-panel .CodeMirror-wrap{border-top:1px solid #ddd6d6;border-bottom:1px solid #ddd6d6}.srfm-custom-css-panel .CodeMirror-wrap .CodeMirror-scroll{width:100%}.srfm-custom-css-panel .CodeMirror-wrap .CodeMirror-sizer{border-right:unset}.srfm-custom-css-panel .CodeMirror-wrap span.CodeMirror-matchingbracket{color:#ffc200}.srfm-custom-css-panel .CodeMirror-wrap .CodeMirror-vscrollbar{overflow-y:hidden}.interface-complementary-area.edit-post-sidebar:has(.srfm-sidebar){height:auto}.interface-interface-skeleton__sidebar:has(.srfm-sidebar){height:auto}.srfm-sidebar{height:100%}",""]);const s=a},9147:(e,t,r)=>{"use strict";r.d(t,{Z:()=>s});var n=r(8081),o=r.n(n),i=r(3645),a=r.n(i)()(o());a.push([e.id,".srfm-advanced-color-settings-container{display:flex;align-items:center}.srfm-advanced-color-settings-container .srfm-beside-color-click{display:flex;align-items:center}.srfm-advanced-color-settings-container .srfm-color-icon-indicate{height:auto;position:relative;transform:scale(1);transition:transform .1s ease;border-radius:50%;padding:0}.srfm-advanced-color-settings-container .srfm-has-alpha{background-image:linear-gradient(45deg, #ddd 25%, transparent 0),linear-gradient(-45deg, #ddd 25%, transparent 0),linear-gradient(45deg, transparent 75%, #ddd 0),linear-gradient(-45deg, transparent 75%, #ddd 0);background-size:10px 10px;background-position:0 0,0 5px,5px -5px,-5px 0}.srfm-advanced-color-settings-container .srfm-beside-color-label{flex-grow:1;margin:0}.srfm-advanced-color-settings-container .srfm-color-icon-indicate .component-color-indicator.srfm-advanced-color-indicate{width:28px;height:28px;border-radius:50%;margin:0;display:flex;justify-content:center;align-items:center}.srfm-advanced-color-settings-container .srfm-color-icon-indicate .component-color-indicator.srfm-advanced-color-indicate>svg{fill:rgba(0,0,0,0)}.srfm-advanced-color-settings-container .srfm-global-icon-black{color:#000}.srfm-advanced-color-settings-container .srfm-global-icon-white{color:#fff}.srfm-popover-color .components-popover__content{overflow-x:hidden;overflow-y:auto}.srfm-popover-color .components-circular-option-picker{padding:2px 0 10px 5px}.srfm-popover-color .components-circular-option-picker .components-circular-option-picker__swatches{margin-right:0;text-align:left}.srfm-popover-color .components-circular-option-picker .components-circular-option-picker__swatches .components-circular-option-picker__option-group{padding:0 10px}.srfm-popover-color .srfm-clear-btn-inside-picker{margin:5px 20px 20px 15px;padding:0 8px;border:1px solid #ccc;box-shadow:none}",""]);const s=a},3678:(e,t,r)=>{"use strict";r.d(t,{Z:()=>s});var n=r(8081),o=r.n(n),i=r(3645),a=r.n(i)()(o());a.push([e.id,'.components-panel[data-srfm-tab]{z-index:99}.components-panel[data-srfm-tab]:not([data-srfm-tab=advance]) .components-panel__body.block-editor-block-inspector__advanced,.components-panel[data-srfm-tab]:not([data-srfm-tab=advance]) .components-panel__body.editor-block-inspector__advanced.block-editor-block-inspector__advanced,.components-panel[data-srfm-tab]:not([data-srfm-tab=advance]) .block-editor-block-inspector>div>.components-panel__body{display:none}.components-panel[data-srfm-tab]:not([data-srfm-tab=advance]) .block-editor-block-inspector>div>.components-panel__body.srfm-dynamic-content-wrap{display:block;border-bottom:1px solid #e0e0e0 !important}.components-panel[data-srfm-tab] .block-editor-block-card{padding-bottom:25px;position:relative;z-index:1;overflow:hidden}.components-panel[data-srfm-tab] .block-editor-block-card::before{content:"";position:absolute;top:0;left:-16px;right:-16px;bottom:0;background:#fff;z-index:-1}.components-panel[data-srfm-tab] .components-panel__body.edit-post-settings-sidebar__panel-block .block-editor-block-card{overflow:unset}.components-panel[data-srfm-tab] .components-panel__body.edit-post-settings-sidebar__panel-block .block-editor-block-card::before{top:-16px}.components-panel[data-srfm-tab=advance] .block-editor-block-inspector__advanced{border-color:rgba(0,0,0,0)}[dir=rtl] .srfm-inspector-tabs{direction:rtl}[dir=rtl] .srfm-inspector-tabs>div:first-child.srfm-active::after{border-left:1px solid #d6d9dd;border-right:0}[dir=rtl] .srfm-inspector-tabs>div:last-child.srfm-active::after{border-left:0;border-right:1px solid #d6d9dd}.srfm-inspector-tabs{display:flex;position:relative;background:#fff;z-index:9;height:65px}.srfm-inspector-tabs>div{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;position:relative;background:#fff;cursor:pointer}.srfm-inspector-tabs>div::after,.srfm-inspector-tabs>div::before{content:"";position:absolute;display:block;top:0;left:0;width:100%}.srfm-inspector-tabs>div::after{border-bottom:1px solid #d6d9dd;height:100%;z-index:1}.srfm-inspector-tabs>div:first-child.srfm-active::after{border-left:0;box-shadow:inset 0 -3px 0 0 #007cba;color:#007cba}.srfm-inspector-tabs>div:last-child.srfm-active::after{border-right:0;box-shadow:inset 0 -3px 0 0 #007cba;color:#007cba}.srfm-inspector-tabs>div.srfm-active::after{border-left:1px solid #d6d9dd;border-right:1px solid #d6d9dd;border-bottom:0;box-shadow:inset 0 -3px 0 0 #007cba;color:#007cba}.srfm-inspector-tabs>div.srfm-active::before{height:0;background-color:rgba(0,0,0,0);z-index:2}.srfm-inspector-tabs>div h5{margin:6px 0 0;font-size:13px;font-weight:400;line-height:1.2}.srfm-inspector-tabs>div h5,.srfm-inspector-tabs>div svg{z-index:2;fill:#585858}.srfm-inspector-tabs>div.srfm-active h5{color:#0085ba}.srfm-inspector-tabs>div.srfm-active path{fill:#0085ba}.components-panel .components-panel__body .srfm-inspector-tabs-container{position:static !important;border-top:0 !important;top:0 !important}.srfm-inspector-tabs-container{position:sticky;top:-3px;z-index:9;border-top:calc(.1em + 1px) solid #f2f4f5;direction:initial}.srfm-inspector-tab .components-panel__body:first-child,.edit-post-settings-sidebar__panel-block .srfm-inspector-tab .components-panel__body:first-child{margin-top:0;border-top:none !important}',""]);const s=a},4158:(e,t,r)=>{"use strict";r.d(t,{Z:()=>s});var n=r(8081),o=r.n(n),i=r(3645),a=r.n(i)()(o());a.push([e.id,".srfm-multi-button-button-group{display:flex !important;width:100%}.srfm-multi-button-button-group .srfm-multi-button{width:100%;justify-content:center;height:unset;padding:6px;line-height:16px;min-height:30px}.srfm-multi-button-button-group .srfm-multi-button:first-child{-webkit-border-radius:3px 0 0 3px;-moz-border-radius:3px 0 0 3px;border-radius:3px 0 0 3px}.srfm-multi-button-button-group .srfm-multi-button:last-child{-webkit-border-radius:0 3px 3px 0;-moz-border-radius:0 3px 3px 0;border-radius:0 3px 3px 0}.srfm-multi-button-button-group button.srfm-multi-button.is-secondary{color:#50575e;box-shadow:inset 0 0 0 1px #e6e7e9}.srfm-multi-button-button-group .srfm-multi-button.is-secondary:hover:not(:disabled),.srfm-multi-button-button-group .srfm-multi-button-grou[aria-label=Gap] .srfm-multi-button.is-tertiary:hover:not(:disabled){color:#1d2327;box-shadow:inset 0 0 0 1px #e6e7e9}.srfm-multi-button-button-group .srfm-multi-button.is-secondary,.srfm-multi-button-button-group .srfm-multi-button.is-tertiary{color:#50575e}.srfm-multi-button-button-group .srfm-multi-button.is-secondary:active:not(:disabled),.srfm-multi-button-button-group .srfm-multi-button-grou[aria-label=Gap] .srfm-multi-button.is-tertiary:active:not(:disabled){background:#fff;box-shadow:inset 0 0 0 1px #e6e7e9}.srfm-multi-button-button-group button.srfm-multi-button{font-size:13px;font-weight:400}.srfm-multi-button-button-group svg{width:18px;fill:#50575e}.srfm-multi-button-button-group svg path{fill:inherit}.srfm-multi-buttons-control.srfm-multibutton-icons .srfm-multi-button{padding:3px}.srfm-multi-buttons__color-scheme--primary button.srfm-multi-button.is-primary.is-primary{color:#007cba;background-color:#dcf2ff;border-color:#cde9f9;box-shadow:inset 0 0 0 1px #cde9f9}.srfm-multi-buttons__color-scheme--primary button.srfm-multi-button.is-primary.is-primary svg{fill:#007cba}.srfm-multi-buttons__color-scheme--secondary button.srfm-multi-button.is-primary.is-primary{color:#fff;background-color:#959595;border-color:#959595;box-shadow:inset 0 0 0 1px #959595}.srfm-multi-buttons__color-scheme--secondary button.srfm-multi-button.is-primary.is-primary svg{fill:#fff}.srfm-multi-buttons__layout--inline{align-items:center;display:grid;grid-template-columns:50% 50%}.srfm-multi-buttons__layout--inline .srfm-control__header,.srfm-multi-buttons__layout--inline .srfm-control-label{margin-bottom:0}",""]);const s=a},3250:(e,t,r)=>{"use strict";r.d(t,{Z:()=>s});var n=r(8081),o=r.n(n),i=r(3645),a=r.n(i)()(o());a.push([e.id,".srfm-confirm-popup-wrapper{display:flex;flex-direction:row;align-items:flex-start;padding:24px;width:612px;height:166px;background:#fff;box-shadow:0 20px 25px -5px rgba(0,0,0,.1),0 10px 10px -5px rgba(0,0,0,.04);border-radius:2px}.srfm-confirm-popup-wrapper .components-modal__content{margin:0;padding:0;display:flex;flex-direction:row;gap:20px}.srfm-confirm-popup-wrapper .components-modal__content .components-modal__header{display:none}.srfm-confirm-popup-wrapper .components-modal__content .srfm-confirm-popup-icon{display:flex;flex-direction:row;align-items:flex-start;padding:12px;gap:8px;width:54px;height:54px;background:#dcf2ff;border-radius:32px;flex:none;order:0;flex-grow:0}.srfm-confirm-popup-wrapper .components-modal__content .srfm-confirm-popup-icon svg{stroke:#007cba}.srfm-confirm-popup-wrapper .components-modal__content .srfm-confirm-popup-content{box-sizing:border-box;display:flex;flex-direction:column;gap:24px}.srfm-confirm-popup-wrapper .components-modal__content .srfm-confirm-popup-content .srfm-confirm-popup-text{display:flex;flex-direction:column;order:1;gap:4px}.srfm-confirm-popup-wrapper .components-modal__content .srfm-confirm-popup-content .srfm-confirm-popup-text .srfm-confirm-popup-title{width:480px;height:28px;font-style:normal;font-weight:500;font-size:20px;line-height:28px;color:#1d2327;flex:none;order:0;flex-grow:0}.srfm-confirm-popup-wrapper .components-modal__content .srfm-confirm-popup-content .srfm-confirm-popup-text .srfm-confirm-popup-description{width:480px;height:20px;font-style:normal;font-weight:400;font-size:13px;line-height:20px;display:flex;align-items:center;color:#50575e;flex:none;order:1;flex-grow:0}.srfm-confirm-popup-wrapper .components-modal__content .srfm-confirm-popup-content .srfm-confirm-popup-controls{display:flex;flex-direction:row;align-items:flex-start;gap:12px;flex:none;order:2}.srfm-confirm-popup-wrapper .components-modal__content .srfm-confirm-popup-content .srfm-confirm-popup-controls .srfm-confirm-popup-buttons{display:flex;flex-direction:row;justify-content:center;align-items:center;padding:9px 17px;box-shadow:0 1px 2px rgba(0,0,0,.05)}.srfm-confirm-popup-wrapper .components-modal__content .srfm-confirm-popup-content .srfm-confirm-popup-controls .srfm-popup-confirmation-button{background:#007cba;color:#fff;border-radius:2px;flex:none;order:0}.srfm-confirm-popup-wrapper .components-modal__content .srfm-confirm-popup-content .srfm-confirm-popup-controls .srfm-popup-cancellation-button{background:#fff;border:1px solid #e6e7e9;border-radius:2px;flex:none;order:1}.srfm-confirm-popup-overlay{background-color:rgba(0,0,0,.4392156863)}",""]);const s=a},9143:(e,t,r)=>{"use strict";r.d(t,{Z:()=>s});var n=r(8081),o=r.n(n),i=r(3645),a=r.n(i)()(o());a.push([e.id,".srfm-range-control .srfm-range-control__mobile-controls{display:flex;width:100%;align-items:center}.srfm-range-control .srfm-range-control__mobile-controls .components-base-control.components-range-control{-webkit-tap-highlight-color:rgba(0,0,0,0);box-sizing:border-box;align-items:flex-start;-webkit-box-pack:start;justify-content:flex-start;margin-right:20px;position:relative;width:100%;margin-bottom:0;max-height:30px}.srfm-range-control .srfm-range-control__mobile-controls .components-base-control.components-range-control .components-range-control__tooltip{left:45%}.srfm-range-control .srfm-range-control__mobile-controls .components-input-control__container{flex:0 0 0%;width:100%}.srfm-range-control .srfm-range-control__mobile-controls .components-number-control{width:35%;margin-left:10px}.srfm-range-control .srfm-range-control__mobile-controls .components-number-control .components-input-control__input{padding:0 1px 0 8px !important;text-align:left;font-size:14px}.srfm-range-control .srfm-range-control__mobile-controls .components-range-control__marks{top:13px}",""]);const s=a},2305:(e,t,r)=>{"use strict";r.d(t,{Z:()=>s});var n=r(8081),o=r.n(n),i=r(3645),a=r.n(i)()(o());a.push([e.id,".srfm-text-control{position:relative}.srfm-text-control--open-dynamic-content{flex-direction:column;align-items:unset}.srfm-text-control .components-base-control__field{margin-bottom:0}.srfm-text-control .components-text-control__input{margin-left:0;margin-right:0;color:#50575e;border-color:#e6e7e9}.srfm-text-control .components-text-control__input:focus{border-color:#959595;box-shadow:unset}.srfm-text-control .srfm-control__header .srfm-number-control__actions .srfm-reset{height:fit-content}.srfm-text-control__controls{position:relative}.srfm-text-control__controls .components-dropdown{position:absolute;top:0;right:0}.srfm-text-control__controls .components-dropdown.srfm-scroll-dropdown .components-dropdown-menu__toggle{min-width:21px;padding:0;max-height:31px}.srfm-text-control__controls .components-dropdown.srfm-scroll-dropdown .components-dropdown-menu__toggle svg{position:absolute;right:0;min-height:31px}.srfm-text-control__controls>.components-button{position:absolute;right:0;bottom:0;padding:0 8px;border-radius:2px;height:30px}.srfm-text-control__controls>.components-button svg{width:18px;stroke:#555d66;stroke-width:1.4;fill:none}.srfm-text-control__controls-inline .components-base-control__field{display:flex;align-items:center}.srfm-text-control__controls-inline .components-base-control__field>label{flex:50%;margin-bottom:unset}.srfm-text-control__controls-inline .components-base-control__field>input{flex:50%}.srfm-text-control__controls-textarea{position:relative}.srfm-text-control__controls-textarea>.components-button{top:2px;bottom:auto}.srfm-text-control__controls-textarea textarea{color:#50575e;border-color:#e6e7e9}.srfm-text-control__controls-textarea textarea:focus{border-color:#959595;box-shadow:unset}.srfm-text-control.components-base-control>.components-base-control__help{margin-top:10px}.srfm-text-control.srfm-with-dropdown .components-text-control__input{padding-right:35px}",""]);const s=a},3645:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var r="",n=void 0!==t[5];return t[4]&&(r+="@supports (".concat(t[4],") {")),t[2]&&(r+="@media ".concat(t[2]," {")),n&&(r+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),r+=e(t),n&&(r+="}"),t[2]&&(r+="}"),t[4]&&(r+="}"),r})).join("")},t.i=function(e,r,n,o,i){"string"==typeof e&&(e=[[null,e,void 0]]);var a={};if(n)for(var s=0;s0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=i),r&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=r):u[2]=r),o&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=o):u[4]="".concat(o)),t.push(u))}},t}},8081:e=>{"use strict";e.exports=function(e){return e[1]}},9960:(e,t)=>{"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.Doctype=t.CDATA=t.Tag=t.Style=t.Script=t.Comment=t.Directive=t.Text=t.Root=t.isTag=t.ElementType=void 0,function(e){e.Root="root",e.Text="text",e.Directive="directive",e.Comment="comment",e.Script="script",e.Style="style",e.Tag="tag",e.CDATA="cdata",e.Doctype="doctype"}(r=t.ElementType||(t.ElementType={})),t.isTag=function(e){return e.type===r.Tag||e.type===r.Script||e.type===r.Style},t.Root=r.Root,t.Text=r.Text,t.Directive=r.Directive,t.Comment=r.Comment,t.Script=r.Script,t.Style=r.Style,t.Tag=r.Tag,t.CDATA=r.CDATA,t.Doctype=r.Doctype},8679:(e,t,r)=>{"use strict";var n=r(1296),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function c(e){return n.isMemo(e)?a:s[e.$$typeof]||o}s[n.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[n.Memo]=a;var l=Object.defineProperty,u=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,m=Object.prototype;e.exports=function e(t,r,n){if("string"!=typeof r){if(m){var o=p(r);o&&o!==m&&e(t,o,n)}var a=u(r);f&&(a=a.concat(f(r)));for(var s=c(t),h=c(r),b=0;b{"use strict";var r="function"==typeof Symbol&&Symbol.for,n=r?Symbol.for("react.element"):60103,o=r?Symbol.for("react.portal"):60106,i=r?Symbol.for("react.fragment"):60107,a=r?Symbol.for("react.strict_mode"):60108,s=r?Symbol.for("react.profiler"):60114,c=r?Symbol.for("react.provider"):60109,l=r?Symbol.for("react.context"):60110,u=r?Symbol.for("react.async_mode"):60111,f=r?Symbol.for("react.concurrent_mode"):60111,d=r?Symbol.for("react.forward_ref"):60112,p=r?Symbol.for("react.suspense"):60113,m=r?Symbol.for("react.suspense_list"):60120,h=r?Symbol.for("react.memo"):60115,b=r?Symbol.for("react.lazy"):60116,v=r?Symbol.for("react.block"):60121,A=r?Symbol.for("react.fundamental"):60117,g=r?Symbol.for("react.responder"):60118,y=r?Symbol.for("react.scope"):60119;function k(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case u:case f:case i:case s:case a:case p:return e;default:switch(e=e&&e.$$typeof){case l:case d:case b:case h:case c:return e;default:return t}}case o:return t}}}function w(e){return k(e)===f}t.AsyncMode=u,t.ConcurrentMode=f,t.ContextConsumer=l,t.ContextProvider=c,t.Element=n,t.ForwardRef=d,t.Fragment=i,t.Lazy=b,t.Memo=h,t.Portal=o,t.Profiler=s,t.StrictMode=a,t.Suspense=p,t.isAsyncMode=function(e){return w(e)||k(e)===u},t.isConcurrentMode=w,t.isContextConsumer=function(e){return k(e)===l},t.isContextProvider=function(e){return k(e)===c},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===n},t.isForwardRef=function(e){return k(e)===d},t.isFragment=function(e){return k(e)===i},t.isLazy=function(e){return k(e)===b},t.isMemo=function(e){return k(e)===h},t.isPortal=function(e){return k(e)===o},t.isProfiler=function(e){return k(e)===s},t.isStrictMode=function(e){return k(e)===a},t.isSuspense=function(e){return k(e)===p},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===f||e===s||e===a||e===p||e===m||"object"==typeof e&&null!==e&&(e.$$typeof===b||e.$$typeof===h||e.$$typeof===c||e.$$typeof===l||e.$$typeof===d||e.$$typeof===A||e.$$typeof===g||e.$$typeof===y||e.$$typeof===v)},t.typeOf=k},1296:(e,t,r)=>{"use strict";e.exports=r(6103)},885:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CASE_SENSITIVE_TAG_NAMES_MAP=t.CASE_SENSITIVE_TAG_NAMES=void 0,t.CASE_SENSITIVE_TAG_NAMES=["animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","linearGradient","radialGradient","textPath"],t.CASE_SENSITIVE_TAG_NAMES_MAP=t.CASE_SENSITIVE_TAG_NAMES.reduce((function(e,t){return e[t.toLowerCase()]=t,e}),{})},8276:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="html",n="head",o="body",i=/<([a-zA-Z]+[0-9]?)/,a=//i,s=//i,c=function(e,t){throw new Error("This browser does not support `document.implementation.createHTMLDocument`")},l=function(e,t){throw new Error("This browser does not support `DOMParser.prototype.parseFromString`")},u="object"==typeof window&&window.DOMParser;if("function"==typeof u){var f=new u;c=l=function(e,t){return t&&(e="<".concat(t,">").concat(e,"")),f.parseFromString(e,"text/html")}}if("object"==typeof document&&document.implementation){var d=document.implementation.createHTMLDocument();c=function(e,t){if(t){var r=d.documentElement.querySelector(t);return r&&(r.innerHTML=e),d}return d.documentElement.innerHTML=e,d}}var p,m="object"==typeof document&&document.createElement("template");m&&m.content&&(p=function(e){return m.innerHTML=e,m.content.childNodes}),t.default=function(e){var t,u,f=e.match(i),d=f&&f[1]?f[1].toLowerCase():"";switch(d){case r:var m=l(e);return a.test(e)||null===(t=null==(b=m.querySelector(n))?void 0:b.parentNode)||void 0===t||t.removeChild(b),s.test(e)||null===(u=null==(b=m.querySelector(o))?void 0:b.parentNode)||void 0===u||u.removeChild(b),m.querySelectorAll(r);case n:case o:var h=c(e).querySelectorAll(d);return s.test(e)&&a.test(e)?h[0].parentNode.childNodes:h;default:return p?p(e):(b=c(e,o).querySelector(o)).childNodes;var b}}},4152:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=n(r(8276)),i=r(1507),a=/<(![a-zA-Z\s]+)>/;t.default=function(e){if("string"!=typeof e)throw new TypeError("First argument must be a string");if(!e)return[];var t=e.match(a),r=t?t[1]:void 0;return(0,i.formatDOM)((0,o.default)(e),null,r)}},1507:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.formatDOM=t.formatAttributes=void 0;var n=r(4584),o=r(885);function i(e){for(var t={},r=0,n=e.length;r0?this.children[this.children.length-1]:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"childNodes",{get:function(){return this.children},set:function(e){this.children=e},enumerable:!1,configurable:!0}),t}(s);t.NodeWithChildren=d;var p=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=a.ElementType.CDATA,t}return o(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 4},enumerable:!1,configurable:!0}),t}(d);t.CDATA=p;var m=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=a.ElementType.Root,t}return o(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 9},enumerable:!1,configurable:!0}),t}(d);t.Document=m;var h=function(e){function t(t,r,n,o){void 0===n&&(n=[]),void 0===o&&(o="script"===t?a.ElementType.Script:"style"===t?a.ElementType.Style:a.ElementType.Tag);var i=e.call(this,n)||this;return i.name=t,i.attribs=r,i.type=o,i}return o(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"tagName",{get:function(){return this.name},set:function(e){this.name=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"attributes",{get:function(){var e=this;return Object.keys(this.attribs).map((function(t){var r,n;return{name:t,value:e.attribs[t],namespace:null===(r=e["x-attribsNamespace"])||void 0===r?void 0:r[t],prefix:null===(n=e["x-attribsPrefix"])||void 0===n?void 0:n[t]}}))},enumerable:!1,configurable:!0}),t}(d);function b(e){return(0,a.isTag)(e)}function v(e){return e.type===a.ElementType.CDATA}function A(e){return e.type===a.ElementType.Text}function g(e){return e.type===a.ElementType.Comment}function y(e){return e.type===a.ElementType.Directive}function k(e){return e.type===a.ElementType.Root}function w(e,t){var r;if(void 0===t&&(t=!1),A(e))r=new l(e.data);else if(g(e))r=new u(e.data);else if(b(e)){var n=t?x(e.children):[],o=new h(e.name,i({},e.attribs),n);n.forEach((function(e){return e.parent=o})),null!=e.namespace&&(o.namespace=e.namespace),e["x-attribsNamespace"]&&(o["x-attribsNamespace"]=i({},e["x-attribsNamespace"])),e["x-attribsPrefix"]&&(o["x-attribsPrefix"]=i({},e["x-attribsPrefix"])),r=o}else if(v(e)){n=t?x(e.children):[];var a=new p(n);n.forEach((function(e){return e.parent=a})),r=a}else if(k(e)){n=t?x(e.children):[];var s=new m(n);n.forEach((function(e){return e.parent=s})),e["x-mode"]&&(s["x-mode"]=e["x-mode"]),r=s}else{if(!y(e))throw new Error("Not implemented yet: ".concat(e.type));var c=new f(e.name,e.data);null!=e["x-name"]&&(c["x-name"]=e["x-name"],c["x-publicId"]=e["x-publicId"],c["x-systemId"]=e["x-systemId"]),r=c}return r.startIndex=e.startIndex,r.endIndex=e.endIndex,null!=e.sourceCodeLocation&&(r.sourceCodeLocation=e.sourceCodeLocation),r}function x(e){for(var t=e.map((function(e){return w(e,!0)})),r=1;r{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(5726),o=r(4606),i=["checked","value"],a=["input","select","textarea"],s={reset:!0,submit:!0};function c(e){return n.possibleStandardNames[e]}t.default=function(e,t){void 0===e&&(e={});var r={},l=Boolean(e.type&&s[e.type]);for(var u in e){var f=e[u];if((0,n.isCustomAttribute)(u))r[u]=f;else{var d=u.toLowerCase(),p=c(d);if(p){var m=(0,n.getPropertyInfo)(p);switch(i.includes(p)&&a.includes(t)&&!l&&(p=c("default"+d)),r[p]=f,m&&m.type){case n.BOOLEAN:r[p]=!0;break;case n.OVERLOADED_BOOLEAN:""===f&&(r[p]=!0)}}else o.PRESERVE_CUSTOM_ATTRIBUTES&&(r[u]=f)}}return(0,o.setStyleProp)(e.style,r),r}},3670:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=r(9196),i=n(r(484)),a=r(4606),s={cloneElement:o.cloneElement,createElement:o.createElement,isValidElement:o.isValidElement};function c(e){return a.PRESERVE_CUSTOM_ATTRIBUTES&&"tag"===e.type&&(0,a.isCustomComponent)(e.name,e.attribs)}t.default=function e(t,r){for(var n=[],o="function"==typeof(null==r?void 0:r.replace),l=(null==r?void 0:r.transform)||a.returnFirstArg,u=(null==r?void 0:r.library)||s,f=u.cloneElement,d=u.createElement,p=u.isValidElement,m=t.length,h=0;h1&&(v=f(v,{key:v.key||h})),n.push(l(v,b,h));continue}}if("text"!==b.type){var A=b,g={};c(A)?((0,a.setStyleProp)(A.attribs.style,A.attribs),g=A.attribs):A.attribs&&(g=(0,i.default)(A.attribs,A.name));var y=void 0;switch(b.type){case"script":case"style":b.children[0]&&(g.dangerouslySetInnerHTML={__html:b.children[0].data});break;case"tag":"textarea"===b.name&&b.children[0]?g.defaultValue=b.children[0].data:b.children&&b.children.length&&(y=e(b.children,r));break;default:continue}m>1&&(g.key=h),n.push(l(d(b.name,g,y),b,h))}else{var k=!b.data.trim().length;if(k&&b.parent&&!(0,a.canTextBeChildOfNode)(b.parent))continue;if((null==r?void 0:r.trim)&&k)continue;n.push(l(b.data,b,h))}}return 1===n.length?n[0]:n}},3426:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.htmlToDOM=t.domToReact=t.attributesToProps=t.Text=t.ProcessingInstruction=t.Element=t.Comment=void 0;var o=n(r(4152));t.htmlToDOM=o.default;var i=n(r(484));t.attributesToProps=i.default;var a=n(r(3670));t.domToReact=a.default;var s=r(7384);Object.defineProperty(t,"Comment",{enumerable:!0,get:function(){return s.Comment}}),Object.defineProperty(t,"Element",{enumerable:!0,get:function(){return s.Element}}),Object.defineProperty(t,"ProcessingInstruction",{enumerable:!0,get:function(){return s.ProcessingInstruction}}),Object.defineProperty(t,"Text",{enumerable:!0,get:function(){return s.Text}});var c={lowerCaseAttributeNames:!1};t.default=function(e,t){if("string"!=typeof e)throw new TypeError("First argument must be a string");return e?(0,a.default)((0,o.default)(e,(null==t?void 0:t.htmlparser2)||c),t):[]}},4606:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.returnFirstArg=t.canTextBeChildOfNode=t.ELEMENTS_WITH_NO_TEXT_CHILDREN=t.PRESERVE_CUSTOM_ATTRIBUTES=t.setStyleProp=t.isCustomComponent=void 0;var o=r(9196),i=n(r(1476)),a=new Set(["annotation-xml","color-profile","font-face","font-face-src","font-face-uri","font-face-format","font-face-name","missing-glyph"]);t.isCustomComponent=function(e,t){return e.includes("-")?!a.has(e):Boolean(t&&"string"==typeof t.is)};var s={reactCompat:!0};t.setStyleProp=function(e,t){if("string"==typeof e)if(e.trim())try{t.style=(0,i.default)(e,s)}catch(e){t.style={}}else t.style={}},t.PRESERVE_CUSTOM_ATTRIBUTES=Number(o.version.split(".")[0])>=16,t.ELEMENTS_WITH_NO_TEXT_CHILDREN=new Set(["tr","tbody","thead","tfoot","colgroup","table","head","html","frameset"]),t.canTextBeChildOfNode=function(e){return!t.ELEMENTS_WITH_NO_TEXT_CHILDREN.has(e.name)},t.returnFirstArg=function(e){return e}},7384:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),t.DomHandler=void 0;var i=r(9960),a=r(5079);o(r(5079),t);var s={withStartIndices:!1,withEndIndices:!1,xmlMode:!1},c=function(){function e(e,t,r){this.dom=[],this.root=new a.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,"function"==typeof t&&(r=t,t=s),"object"==typeof e&&(t=e,e=void 0),this.callback=null!=e?e:null,this.options=null!=t?t:s,this.elementCB=null!=r?r:null}return e.prototype.onparserinit=function(e){this.parser=e},e.prototype.onreset=function(){this.dom=[],this.root=new a.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null},e.prototype.onend=function(){this.done||(this.done=!0,this.parser=null,this.handleCallback(null))},e.prototype.onerror=function(e){this.handleCallback(e)},e.prototype.onclosetag=function(){this.lastNode=null;var e=this.tagStack.pop();this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),this.elementCB&&this.elementCB(e)},e.prototype.onopentag=function(e,t){var r=this.options.xmlMode?i.ElementType.Tag:void 0,n=new a.Element(e,t,void 0,r);this.addNode(n),this.tagStack.push(n)},e.prototype.ontext=function(e){var t=this.lastNode;if(t&&t.type===i.ElementType.Text)t.data+=e,this.options.withEndIndices&&(t.endIndex=this.parser.endIndex);else{var r=new a.Text(e);this.addNode(r),this.lastNode=r}},e.prototype.oncomment=function(e){if(this.lastNode&&this.lastNode.type===i.ElementType.Comment)this.lastNode.data+=e;else{var t=new a.Comment(e);this.addNode(t),this.lastNode=t}},e.prototype.oncommentend=function(){this.lastNode=null},e.prototype.oncdatastart=function(){var e=new a.Text(""),t=new a.CDATA([e]);this.addNode(t),e.parent=t,this.lastNode=e},e.prototype.oncdataend=function(){this.lastNode=null},e.prototype.onprocessinginstruction=function(e,t){var r=new a.ProcessingInstruction(e,t);this.addNode(r)},e.prototype.handleCallback=function(e){if("function"==typeof this.callback)this.callback(e,this.dom);else if(e)throw e},e.prototype.addNode=function(e){var t=this.tagStack[this.tagStack.length-1],r=t.children[t.children.length-1];this.options.withStartIndices&&(e.startIndex=this.parser.startIndex),this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),t.children.push(e),r&&(e.prev=r,r.next=e),e.parent=t,this.lastNode=null},e}();t.DomHandler=c,t.default=c},5079:function(e,t,r){"use strict";var n,o=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,r=1,n=arguments.length;r0?this.children[this.children.length-1]:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"childNodes",{get:function(){return this.children},set:function(e){this.children=e},enumerable:!1,configurable:!0}),t}(s);t.NodeWithChildren=d;var p=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=a.ElementType.CDATA,t}return o(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 4},enumerable:!1,configurable:!0}),t}(d);t.CDATA=p;var m=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=a.ElementType.Root,t}return o(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 9},enumerable:!1,configurable:!0}),t}(d);t.Document=m;var h=function(e){function t(t,r,n,o){void 0===n&&(n=[]),void 0===o&&(o="script"===t?a.ElementType.Script:"style"===t?a.ElementType.Style:a.ElementType.Tag);var i=e.call(this,n)||this;return i.name=t,i.attribs=r,i.type=o,i}return o(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"tagName",{get:function(){return this.name},set:function(e){this.name=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"attributes",{get:function(){var e=this;return Object.keys(this.attribs).map((function(t){var r,n;return{name:t,value:e.attribs[t],namespace:null===(r=e["x-attribsNamespace"])||void 0===r?void 0:r[t],prefix:null===(n=e["x-attribsPrefix"])||void 0===n?void 0:n[t]}}))},enumerable:!1,configurable:!0}),t}(d);function b(e){return(0,a.isTag)(e)}function v(e){return e.type===a.ElementType.CDATA}function A(e){return e.type===a.ElementType.Text}function g(e){return e.type===a.ElementType.Comment}function y(e){return e.type===a.ElementType.Directive}function k(e){return e.type===a.ElementType.Root}function w(e,t){var r;if(void 0===t&&(t=!1),A(e))r=new l(e.data);else if(g(e))r=new u(e.data);else if(b(e)){var n=t?x(e.children):[],o=new h(e.name,i({},e.attribs),n);n.forEach((function(e){return e.parent=o})),null!=e.namespace&&(o.namespace=e.namespace),e["x-attribsNamespace"]&&(o["x-attribsNamespace"]=i({},e["x-attribsNamespace"])),e["x-attribsPrefix"]&&(o["x-attribsPrefix"]=i({},e["x-attribsPrefix"])),r=o}else if(v(e)){n=t?x(e.children):[];var a=new p(n);n.forEach((function(e){return e.parent=a})),r=a}else if(k(e)){n=t?x(e.children):[];var s=new m(n);n.forEach((function(e){return e.parent=s})),e["x-mode"]&&(s["x-mode"]=e["x-mode"]),r=s}else{if(!y(e))throw new Error("Not implemented yet: ".concat(e.type));var c=new f(e.name,e.data);null!=e["x-name"]&&(c["x-name"]=e["x-name"],c["x-publicId"]=e["x-publicId"],c["x-systemId"]=e["x-systemId"]),r=c}return r.startIndex=e.startIndex,r.endIndex=e.endIndex,null!=e.sourceCodeLocation&&(r.sourceCodeLocation=e.sourceCodeLocation),r}function x(e){for(var t=e.map((function(e){return w(e,!0)})),r=1;r{var t=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,r=/\n/g,n=/^\s*/,o=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,i=/^:\s*/,a=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,s=/^[;\s]*/,c=/^\s+|\s+$/g,l="";function u(e){return e?e.replace(c,l):l}e.exports=function(e,c){if("string"!=typeof e)throw new TypeError("First argument must be a string");if(!e)return[];c=c||{};var f=1,d=1;function p(e){var t=e.match(r);t&&(f+=t.length);var n=e.lastIndexOf("\n");d=~n?e.length-n:d+e.length}function m(){var e={line:f,column:d};return function(t){return t.position=new h(e),g(),t}}function h(e){this.start=e,this.end={line:f,column:d},this.source=c.source}h.prototype.content=e;var b=[];function v(t){var r=new Error(c.source+":"+f+":"+d+": "+t);if(r.reason=t,r.filename=c.source,r.line=f,r.column=d,r.source=e,!c.silent)throw r;b.push(r)}function A(t){var r=t.exec(e);if(r){var n=r[0];return p(n),e=e.slice(n.length),r}}function g(){A(n)}function y(e){var t;for(e=e||[];t=k();)!1!==t&&e.push(t);return e}function k(){var t=m();if("/"==e.charAt(0)&&"*"==e.charAt(1)){for(var r=2;l!=e.charAt(r)&&("*"!=e.charAt(r)||"/"!=e.charAt(r+1));)++r;if(r+=2,l===e.charAt(r-1))return v("End of comment missing");var n=e.slice(2,r-2);return d+=2,p(n),e=e.slice(r),d+=2,t({type:"comment",comment:n})}}function w(){var e=m(),r=A(o);if(r){if(k(),!A(i))return v("property missing ':'");var n=A(a),c=e({type:"declaration",property:u(r[0].replace(t,l)),value:n?u(n[0].replace(t,l)):l});return A(s),c}}return g(),function(){var e,t=[];for(y(t);e=w();)!1!==e&&(t.push(e),y(t));return t}()}},8552:(e,t,r)=>{var n=r(852)(r(5639),"DataView");e.exports=n},1989:(e,t,r)=>{var n=r(1789),o=r(401),i=r(7667),a=r(1327),s=r(1866);function c(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t{var n=r(7040),o=r(4125),i=r(2117),a=r(7518),s=r(4705);function c(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t{var n=r(852)(r(5639),"Map");e.exports=n},3369:(e,t,r)=>{var n=r(4785),o=r(1285),i=r(6e3),a=r(9916),s=r(5265);function c(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t{var n=r(852)(r(5639),"Promise");e.exports=n},8525:(e,t,r)=>{var n=r(852)(r(5639),"Set");e.exports=n},8668:(e,t,r)=>{var n=r(3369),o=r(619),i=r(2385);function a(e){var t=-1,r=null==e?0:e.length;for(this.__data__=new n;++t{var n=r(8407),o=r(7465),i=r(3779),a=r(7599),s=r(4758),c=r(4309);function l(e){var t=this.__data__=new n(e);this.size=t.size}l.prototype.clear=o,l.prototype.delete=i,l.prototype.get=a,l.prototype.has=s,l.prototype.set=c,e.exports=l},2705:(e,t,r)=>{var n=r(5639).Symbol;e.exports=n},1149:(e,t,r)=>{var n=r(5639).Uint8Array;e.exports=n},577:(e,t,r)=>{var n=r(852)(r(5639),"WeakMap");e.exports=n},4963:e=>{e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length,o=0,i=[];++r{var n=r(2545),o=r(5694),i=r(1469),a=r(4144),s=r(5776),c=r(6719),l=Object.prototype.hasOwnProperty;e.exports=function(e,t){var r=i(e),u=!r&&o(e),f=!r&&!u&&a(e),d=!r&&!u&&!f&&c(e),p=r||u||f||d,m=p?n(e.length,String):[],h=m.length;for(var b in e)!t&&!l.call(e,b)||p&&("length"==b||f&&("offset"==b||"parent"==b)||d&&("buffer"==b||"byteLength"==b||"byteOffset"==b)||s(b,h))||m.push(b);return m}},2488:e=>{e.exports=function(e,t){for(var r=-1,n=t.length,o=e.length;++r{e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length;++r{var n=r(7813);e.exports=function(e,t){for(var r=e.length;r--;)if(n(e[r][0],t))return r;return-1}},8866:(e,t,r)=>{var n=r(2488),o=r(1469);e.exports=function(e,t,r){var i=t(e);return o(e)?i:n(i,r(e))}},4239:(e,t,r)=>{var n=r(2705),o=r(9607),i=r(2333),a=n?n.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":a&&a in Object(e)?o(e):i(e)}},9454:(e,t,r)=>{var n=r(4239),o=r(7005);e.exports=function(e){return o(e)&&"[object Arguments]"==n(e)}},939:(e,t,r)=>{var n=r(2492),o=r(7005);e.exports=function e(t,r,i,a,s){return t===r||(null==t||null==r||!o(t)&&!o(r)?t!=t&&r!=r:n(t,r,i,a,e,s))}},2492:(e,t,r)=>{var n=r(6384),o=r(7114),i=r(8351),a=r(6096),s=r(4160),c=r(1469),l=r(4144),u=r(6719),f="[object Arguments]",d="[object Array]",p="[object Object]",m=Object.prototype.hasOwnProperty;e.exports=function(e,t,r,h,b,v){var A=c(e),g=c(t),y=A?d:s(e),k=g?d:s(t),w=(y=y==f?p:y)==p,x=(k=k==f?p:k)==p,E=y==k;if(E&&l(e)){if(!l(t))return!1;A=!0,w=!1}if(E&&!w)return v||(v=new n),A||u(e)?o(e,t,r,h,b,v):i(e,t,y,r,h,b,v);if(!(1&r)){var _=w&&m.call(e,"__wrapped__"),C=x&&m.call(t,"__wrapped__");if(_||C){var O=_?e.value():e,S=C?t.value():t;return v||(v=new n),b(O,S,r,h,v)}}return!!E&&(v||(v=new n),a(e,t,r,h,b,v))}},8458:(e,t,r)=>{var n=r(3560),o=r(5346),i=r(3218),a=r(346),s=/^\[object .+?Constructor\]$/,c=Function.prototype,l=Object.prototype,u=c.toString,f=l.hasOwnProperty,d=RegExp("^"+u.call(f).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!i(e)||o(e))&&(n(e)?d:s).test(a(e))}},8749:(e,t,r)=>{var n=r(4239),o=r(1780),i=r(7005),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1,e.exports=function(e){return i(e)&&o(e.length)&&!!a[n(e)]}},280:(e,t,r)=>{var n=r(7360),o=r(6916),i=Object.prototype.hasOwnProperty;e.exports=function(e){if(!n(e))return o(e);var t=[];for(var r in Object(e))i.call(e,r)&&"constructor"!=r&&t.push(r);return t}},2545:e=>{e.exports=function(e,t){for(var r=-1,n=Array(e);++r{e.exports=function(e){return function(t){return e(t)}}},4757:e=>{e.exports=function(e,t){return e.has(t)}},4429:(e,t,r)=>{var n=r(5639)["__core-js_shared__"];e.exports=n},7114:(e,t,r)=>{var n=r(8668),o=r(2908),i=r(4757);e.exports=function(e,t,r,a,s,c){var l=1&r,u=e.length,f=t.length;if(u!=f&&!(l&&f>u))return!1;var d=c.get(e),p=c.get(t);if(d&&p)return d==t&&p==e;var m=-1,h=!0,b=2&r?new n:void 0;for(c.set(e,t),c.set(t,e);++m{var n=r(2705),o=r(1149),i=r(7813),a=r(7114),s=r(8776),c=r(1814),l=n?n.prototype:void 0,u=l?l.valueOf:void 0;e.exports=function(e,t,r,n,l,f,d){switch(r){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!f(new o(e),new o(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return i(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var p=s;case"[object Set]":var m=1&n;if(p||(p=c),e.size!=t.size&&!m)return!1;var h=d.get(e);if(h)return h==t;n|=2,d.set(e,t);var b=a(p(e),p(t),n,l,f,d);return d.delete(e),b;case"[object Symbol]":if(u)return u.call(e)==u.call(t)}return!1}},6096:(e,t,r)=>{var n=r(8234),o=Object.prototype.hasOwnProperty;e.exports=function(e,t,r,i,a,s){var c=1&r,l=n(e),u=l.length;if(u!=n(t).length&&!c)return!1;for(var f=u;f--;){var d=l[f];if(!(c?d in t:o.call(t,d)))return!1}var p=s.get(e),m=s.get(t);if(p&&m)return p==t&&m==e;var h=!0;s.set(e,t),s.set(t,e);for(var b=c;++f{var n="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g;e.exports=n},8234:(e,t,r)=>{var n=r(8866),o=r(9551),i=r(3674);e.exports=function(e){return n(e,i,o)}},5050:(e,t,r)=>{var n=r(7019);e.exports=function(e,t){var r=e.__data__;return n(t)?r["string"==typeof t?"string":"hash"]:r.map}},852:(e,t,r)=>{var n=r(8458),o=r(7801);e.exports=function(e,t){var r=o(e,t);return n(r)?r:void 0}},9607:(e,t,r)=>{var n=r(2705),o=Object.prototype,i=o.hasOwnProperty,a=o.toString,s=n?n.toStringTag:void 0;e.exports=function(e){var t=i.call(e,s),r=e[s];try{e[s]=void 0;var n=!0}catch(e){}var o=a.call(e);return n&&(t?e[s]=r:delete e[s]),o}},9551:(e,t,r)=>{var n=r(4963),o=r(479),i=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols,s=a?function(e){return null==e?[]:(e=Object(e),n(a(e),(function(t){return i.call(e,t)})))}:o;e.exports=s},4160:(e,t,r)=>{var n=r(8552),o=r(7071),i=r(3818),a=r(8525),s=r(577),c=r(4239),l=r(346),u="[object Map]",f="[object Promise]",d="[object Set]",p="[object WeakMap]",m="[object DataView]",h=l(n),b=l(o),v=l(i),A=l(a),g=l(s),y=c;(n&&y(new n(new ArrayBuffer(1)))!=m||o&&y(new o)!=u||i&&y(i.resolve())!=f||a&&y(new a)!=d||s&&y(new s)!=p)&&(y=function(e){var t=c(e),r="[object Object]"==t?e.constructor:void 0,n=r?l(r):"";if(n)switch(n){case h:return m;case b:return u;case v:return f;case A:return d;case g:return p}return t}),e.exports=y},7801:e=>{e.exports=function(e,t){return null==e?void 0:e[t]}},1789:(e,t,r)=>{var n=r(4536);e.exports=function(){this.__data__=n?n(null):{},this.size=0}},401:e=>{e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},7667:(e,t,r)=>{var n=r(4536),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(n){var r=t[e];return"__lodash_hash_undefined__"===r?void 0:r}return o.call(t,e)?t[e]:void 0}},1327:(e,t,r)=>{var n=r(4536),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return n?void 0!==t[e]:o.call(t,e)}},1866:(e,t,r)=>{var n=r(4536);e.exports=function(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=n&&void 0===t?"__lodash_hash_undefined__":t,this}},5776:e=>{var t=/^(?:0|[1-9]\d*)$/;e.exports=function(e,r){var n=typeof e;return!!(r=null==r?9007199254740991:r)&&("number"==n||"symbol"!=n&&t.test(e))&&e>-1&&e%1==0&&e{e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},5346:(e,t,r)=>{var n,o=r(4429),i=(n=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"";e.exports=function(e){return!!i&&i in e}},7360:e=>{var t=Object.prototype;e.exports=function(e){var r=e&&e.constructor;return e===("function"==typeof r&&r.prototype||t)}},7040:e=>{e.exports=function(){this.__data__=[],this.size=0}},4125:(e,t,r)=>{var n=r(8470),o=Array.prototype.splice;e.exports=function(e){var t=this.__data__,r=n(t,e);return!(r<0||(r==t.length-1?t.pop():o.call(t,r,1),--this.size,0))}},2117:(e,t,r)=>{var n=r(8470);e.exports=function(e){var t=this.__data__,r=n(t,e);return r<0?void 0:t[r][1]}},7518:(e,t,r)=>{var n=r(8470);e.exports=function(e){return n(this.__data__,e)>-1}},4705:(e,t,r)=>{var n=r(8470);e.exports=function(e,t){var r=this.__data__,o=n(r,e);return o<0?(++this.size,r.push([e,t])):r[o][1]=t,this}},4785:(e,t,r)=>{var n=r(1989),o=r(8407),i=r(7071);e.exports=function(){this.size=0,this.__data__={hash:new n,map:new(i||o),string:new n}}},1285:(e,t,r)=>{var n=r(5050);e.exports=function(e){var t=n(this,e).delete(e);return this.size-=t?1:0,t}},6e3:(e,t,r)=>{var n=r(5050);e.exports=function(e){return n(this,e).get(e)}},9916:(e,t,r)=>{var n=r(5050);e.exports=function(e){return n(this,e).has(e)}},5265:(e,t,r)=>{var n=r(5050);e.exports=function(e,t){var r=n(this,e),o=r.size;return r.set(e,t),this.size+=r.size==o?0:1,this}},8776:e=>{e.exports=function(e){var t=-1,r=Array(e.size);return e.forEach((function(e,n){r[++t]=[n,e]})),r}},4536:(e,t,r)=>{var n=r(852)(Object,"create");e.exports=n},6916:(e,t,r)=>{var n=r(5569)(Object.keys,Object);e.exports=n},4e3:(e,t,r)=>{e=r.nmd(e);var n=r(1957),o=t&&!t.nodeType&&t,i=o&&e&&!e.nodeType&&e,a=i&&i.exports===o&&n.process,s=function(){try{return i&&i.require&&i.require("util").types||a&&a.binding&&a.binding("util")}catch(e){}}();e.exports=s},2333:e=>{var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},5569:e=>{e.exports=function(e,t){return function(r){return e(t(r))}}},5639:(e,t,r)=>{var n=r(1957),o="object"==typeof self&&self&&self.Object===Object&&self,i=n||o||Function("return this")();e.exports=i},619:e=>{e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},2385:e=>{e.exports=function(e){return this.__data__.has(e)}},1814:e=>{e.exports=function(e){var t=-1,r=Array(e.size);return e.forEach((function(e){r[++t]=e})),r}},7465:(e,t,r)=>{var n=r(8407);e.exports=function(){this.__data__=new n,this.size=0}},3779:e=>{e.exports=function(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}},7599:e=>{e.exports=function(e){return this.__data__.get(e)}},4758:e=>{e.exports=function(e){return this.__data__.has(e)}},4309:(e,t,r)=>{var n=r(8407),o=r(7071),i=r(3369);e.exports=function(e,t){var r=this.__data__;if(r instanceof n){var a=r.__data__;if(!o||a.length<199)return a.push([e,t]),this.size=++r.size,this;r=this.__data__=new i(a)}return r.set(e,t),this.size=r.size,this}},346:e=>{var t=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return t.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},7813:e=>{e.exports=function(e,t){return e===t||e!=e&&t!=t}},5694:(e,t,r)=>{var n=r(9454),o=r(7005),i=Object.prototype,a=i.hasOwnProperty,s=i.propertyIsEnumerable,c=n(function(){return arguments}())?n:function(e){return o(e)&&a.call(e,"callee")&&!s.call(e,"callee")};e.exports=c},1469:e=>{var t=Array.isArray;e.exports=t},8612:(e,t,r)=>{var n=r(3560),o=r(1780);e.exports=function(e){return null!=e&&o(e.length)&&!n(e)}},4144:(e,t,r)=>{e=r.nmd(e);var n=r(5639),o=r(5062),i=t&&!t.nodeType&&t,a=i&&e&&!e.nodeType&&e,s=a&&a.exports===i?n.Buffer:void 0,c=(s?s.isBuffer:void 0)||o;e.exports=c},8446:(e,t,r)=>{var n=r(939);e.exports=function(e,t){return n(e,t)}},3560:(e,t,r)=>{var n=r(4239),o=r(3218);e.exports=function(e){if(!o(e))return!1;var t=n(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},1780:e=>{e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},3218:e=>{e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},7005:e=>{e.exports=function(e){return null!=e&&"object"==typeof e}},6719:(e,t,r)=>{var n=r(8749),o=r(1717),i=r(4e3),a=i&&i.isTypedArray,s=a?o(a):n;e.exports=s},3674:(e,t,r)=>{var n=r(4636),o=r(280),i=r(8612);e.exports=function(e){return i(e)?n(e):o(e)}},479:e=>{e.exports=function(){return[]}},5062:e=>{e.exports=function(){return!1}},845:(e,t,r)=>{"use strict";r.d(t,{Z:()=>i});var n=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function o(e,t){if(e.length!==t.length)return!1;for(var r=0;r{"use strict";var n=r(414);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,r,o,i,a){if(a!==n){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var r={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return r.PropTypes=r,r}},5697:(e,t,r)=>{e.exports=r(2703)()},414:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},6095:function(e){var t;"undefined"!=typeof self&&self,t=function(){return function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:n})},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=109)}([function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(17),o=r(18),i=r(19),a=r(45),s=r(46),c=r(47),l=r(48),u=r(49),f=r(12),d=r(32),p=r(33),m=r(31),h=r(1),b={Scope:h.Scope,create:h.create,find:h.find,query:h.query,register:h.register,Container:n.default,Format:o.default,Leaf:i.default,Embed:l.default,Scroll:a.default,Block:c.default,Inline:s.default,Text:u.default,Attributor:{Attribute:f.default,Class:d.default,Style:p.default,Store:m.default}};t.default=b},function(e,t,r){"use strict";var n,o=this&&this.__extends||(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var i=function(e){function t(t){var r=this;return t="[Parchment] "+t,(r=e.call(this,t)||this).message=t,r.name=r.constructor.name,r}return o(t,e),t}(Error);t.ParchmentError=i;var a,s={},c={},l={},u={};function f(e,t){var r;if(void 0===t&&(t=a.ANY),"string"==typeof e)r=u[e]||s[e];else if(e instanceof Text||e.nodeType===Node.TEXT_NODE)r=u.text;else if("number"==typeof e)e&a.LEVEL&a.BLOCK?r=u.block:e&a.LEVEL&a.INLINE&&(r=u.inline);else if(e instanceof HTMLElement){var n=(e.getAttribute("class")||"").split(/\s+/);for(var o in n)if(r=c[n[o]])break;r=r||l[e.tagName]}return null==r?null:t&a.LEVEL&r.scope&&t&a.TYPE&r.scope?r:null}t.DATA_KEY="__blot",function(e){e[e.TYPE=3]="TYPE",e[e.LEVEL=12]="LEVEL",e[e.ATTRIBUTE=13]="ATTRIBUTE",e[e.BLOT=14]="BLOT",e[e.INLINE=7]="INLINE",e[e.BLOCK=11]="BLOCK",e[e.BLOCK_BLOT=10]="BLOCK_BLOT",e[e.INLINE_BLOT=6]="INLINE_BLOT",e[e.BLOCK_ATTRIBUTE=9]="BLOCK_ATTRIBUTE",e[e.INLINE_ATTRIBUTE=5]="INLINE_ATTRIBUTE",e[e.ANY=15]="ANY"}(a=t.Scope||(t.Scope={})),t.create=function(e,t){var r=f(e);if(null==r)throw new i("Unable to create "+e+" blot");var n=r,o=e instanceof Node||e.nodeType===Node.TEXT_NODE?e:n.create(t);return new n(o,t)},t.find=function e(r,n){return void 0===n&&(n=!1),null==r?null:null!=r[t.DATA_KEY]?r[t.DATA_KEY].blot:n?e(r.parentNode,n):null},t.query=f,t.register=function e(){for(var t=[],r=0;r1)return t.map((function(t){return e(t)}));var n=t[0];if("string"!=typeof n.blotName&&"string"!=typeof n.attrName)throw new i("Invalid definition");if("abstract"===n.blotName)throw new i("Cannot register abstract class");return u[n.blotName||n.attrName]=n,"string"==typeof n.keyName?s[n.keyName]=n:(null!=n.className&&(c[n.className]=n),null!=n.tagName&&(Array.isArray(n.tagName)?n.tagName=n.tagName.map((function(e){return e.toUpperCase()})):n.tagName=n.tagName.toUpperCase(),(Array.isArray(n.tagName)?n.tagName:[n.tagName]).forEach((function(e){null!=l[e]&&null!=n.className||(l[e]=n)})))),n}},function(e,t,r){var n=r(51),o=r(11),i=r(3),a=r(20),s=String.fromCharCode(0),c=function(e){Array.isArray(e)?this.ops=e:null!=e&&Array.isArray(e.ops)?this.ops=e.ops:this.ops=[]};c.prototype.insert=function(e,t){var r={};return 0===e.length?this:(r.insert=e,null!=t&&"object"==typeof t&&Object.keys(t).length>0&&(r.attributes=t),this.push(r))},c.prototype.delete=function(e){return e<=0?this:this.push({delete:e})},c.prototype.retain=function(e,t){if(e<=0)return this;var r={retain:e};return null!=t&&"object"==typeof t&&Object.keys(t).length>0&&(r.attributes=t),this.push(r)},c.prototype.push=function(e){var t=this.ops.length,r=this.ops[t-1];if(e=i(!0,{},e),"object"==typeof r){if("number"==typeof e.delete&&"number"==typeof r.delete)return this.ops[t-1]={delete:r.delete+e.delete},this;if("number"==typeof r.delete&&null!=e.insert&&(t-=1,"object"!=typeof(r=this.ops[t-1])))return this.ops.unshift(e),this;if(o(e.attributes,r.attributes)){if("string"==typeof e.insert&&"string"==typeof r.insert)return this.ops[t-1]={insert:r.insert+e.insert},"object"==typeof e.attributes&&(this.ops[t-1].attributes=e.attributes),this;if("number"==typeof e.retain&&"number"==typeof r.retain)return this.ops[t-1]={retain:r.retain+e.retain},"object"==typeof e.attributes&&(this.ops[t-1].attributes=e.attributes),this}}return t===this.ops.length?this.ops.push(e):this.ops.splice(t,0,e),this},c.prototype.chop=function(){var e=this.ops[this.ops.length-1];return e&&e.retain&&!e.attributes&&this.ops.pop(),this},c.prototype.filter=function(e){return this.ops.filter(e)},c.prototype.forEach=function(e){this.ops.forEach(e)},c.prototype.map=function(e){return this.ops.map(e)},c.prototype.partition=function(e){var t=[],r=[];return this.forEach((function(n){(e(n)?t:r).push(n)})),[t,r]},c.prototype.reduce=function(e,t){return this.ops.reduce(e,t)},c.prototype.changeLength=function(){return this.reduce((function(e,t){return t.insert?e+a.length(t):t.delete?e-t.delete:e}),0)},c.prototype.length=function(){return this.reduce((function(e,t){return e+a.length(t)}),0)},c.prototype.slice=function(e,t){e=e||0,"number"!=typeof t&&(t=1/0);for(var r=[],n=a.iterator(this.ops),o=0;o0&&r.next(i.retain-s)}for(var l=new c(n);t.hasNext()||r.hasNext();)if("insert"===r.peekType())l.push(r.next());else if("delete"===t.peekType())l.push(t.next());else{var u=Math.min(t.peekLength(),r.peekLength()),f=t.next(u),d=r.next(u);if("number"==typeof d.retain){var p={};"number"==typeof f.retain?p.retain=u:p.insert=f.insert;var m=a.attributes.compose(f.attributes,d.attributes,"number"==typeof f.retain);if(m&&(p.attributes=m),l.push(p),!r.hasNext()&&o(l.ops[l.ops.length-1],p)){var h=new c(t.rest());return l.concat(h).chop()}}else"number"==typeof d.delete&&"number"==typeof f.retain&&l.push(d)}return l.chop()},c.prototype.concat=function(e){var t=new c(this.ops.slice());return e.ops.length>0&&(t.push(e.ops[0]),t.ops=t.ops.concat(e.ops.slice(1))),t},c.prototype.diff=function(e,t){if(this.ops===e.ops)return new c;var r=[this,e].map((function(t){return t.map((function(r){if(null!=r.insert)return"string"==typeof r.insert?r.insert:s;throw new Error("diff() called "+(t===e?"on":"with")+" non-document")})).join("")})),i=new c,l=n(r[0],r[1],t),u=a.iterator(this.ops),f=a.iterator(e.ops);return l.forEach((function(e){for(var t=e[1].length;t>0;){var r=0;switch(e[0]){case n.INSERT:r=Math.min(f.peekLength(),t),i.push(f.next(r));break;case n.DELETE:r=Math.min(t,u.peekLength()),u.next(r),i.delete(r);break;case n.EQUAL:r=Math.min(u.peekLength(),f.peekLength(),t);var s=u.next(r),c=f.next(r);o(s.insert,c.insert)?i.retain(r,a.attributes.diff(s.attributes,c.attributes)):i.push(c).delete(r)}t-=r}})),i.chop()},c.prototype.eachLine=function(e,t){t=t||"\n";for(var r=a.iterator(this.ops),n=new c,o=0;r.hasNext();){if("insert"!==r.peekType())return;var i=r.peek(),s=a.length(i)-r.peekLength(),l="string"==typeof i.insert?i.insert.indexOf(t,s)-s:-1;if(l<0)n.push(r.next());else if(l>0)n.push(r.next(l));else{if(!1===e(n,r.next(1).attributes||{},o))return;o+=1,n=new c}}n.length()>0&&e(n,{},o)},c.prototype.transform=function(e,t){if(t=!!t,"number"==typeof e)return this.transformPosition(e,t);for(var r=a.iterator(this.ops),n=a.iterator(e.ops),o=new c;r.hasNext()||n.hasNext();)if("insert"!==r.peekType()||!t&&"insert"===n.peekType())if("insert"===n.peekType())o.push(n.next());else{var i=Math.min(r.peekLength(),n.peekLength()),s=r.next(i),l=n.next(i);if(s.delete)continue;l.delete?o.push(l):o.retain(i,a.attributes.transform(s.attributes,l.attributes,t))}else o.retain(a.length(r.next()));return o.chop()},c.prototype.transformPosition=function(e,t){t=!!t;for(var r=a.iterator(this.ops),n=0;r.hasNext()&&n<=e;){var o=r.peekLength(),i=r.peekType();r.next(),"delete"!==i?("insert"===i&&(n0&&(e1&&void 0!==arguments[1]&&arguments[1];if(r&&(0===e||e>=this.length()-1)){var n=this.clone();return 0===e?(this.parent.insertBefore(n,this),this):(this.parent.insertBefore(n,this.next),n)}var i=o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"split",this).call(this,e,r);return this.cache={},i}}]),t}(s.default.Block);function v(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return null==e?t:("function"==typeof e.formats&&(t=(0,i.default)(t,e.formats())),null==e.parent||"scroll"==e.parent.blotName||e.parent.statics.scope!==e.statics.scope?t:v(e.parent,t))}b.blotName="block",b.tagName="P",b.defaultChild="break",b.allowedChildren=[l.default,s.default.Embed,u.default],t.bubbleFormats=v,t.BlockEmbed=h,t.default=b},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.overload=t.expandConfig=void 0;var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var r=[],n=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(n=(a=s.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(e){o=!0,i=e}finally{try{!n&&s.return&&s.return()}finally{if(o)throw i}}return r}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},i=function(){function e(e,t){for(var r=0;r1&&void 0!==arguments[1]?arguments[1]:{};if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.options=y(t,n),this.container=this.options.container,null==this.container)return A.error("Invalid Quill container",t);this.options.debug&&e.debug(this.options.debug);var o=this.container.innerHTML.trim();this.container.classList.add("ql-container"),this.container.innerHTML="",this.container.__quill=this,this.root=this.addContainer("ql-editor"),this.root.classList.add("ql-blank"),this.root.setAttribute("data-gramm",!1),this.scrollingContainer=this.options.scrollingContainer||this.root,this.emitter=new c.default,this.scroll=u.default.create(this.root,{emitter:this.emitter,whitelist:this.options.formats}),this.editor=new s.default(this.scroll),this.selection=new d.default(this.scroll,this.emitter),this.theme=new this.options.theme(this,this.options),this.keyboard=this.theme.addModule("keyboard"),this.clipboard=this.theme.addModule("clipboard"),this.history=this.theme.addModule("history"),this.theme.init(),this.emitter.on(c.default.events.EDITOR_CHANGE,(function(e){e===c.default.events.TEXT_CHANGE&&r.root.classList.toggle("ql-blank",r.editor.isBlank())})),this.emitter.on(c.default.events.SCROLL_UPDATE,(function(e,t){var n=r.selection.lastRange,o=n&&0===n.length?n.index:void 0;k.call(r,(function(){return r.editor.update(null,t,o)}),e)}));var i=this.clipboard.convert("
"+o+"


");this.setContents(i),this.history.clear(),this.options.placeholder&&this.root.setAttribute("data-placeholder",this.options.placeholder),this.options.readOnly&&this.disable()}return i(e,null,[{key:"debug",value:function(e){!0===e&&(e="log"),m.default.level(e)}},{key:"find",value:function(e){return e.__quill||u.default.find(e)}},{key:"import",value:function(e){return null==this.imports[e]&&A.error("Cannot import "+e+". Are you sure it was registered?"),this.imports[e]}},{key:"register",value:function(e,t){var r=this,n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if("string"!=typeof e){var o=e.attrName||e.blotName;"string"==typeof o?this.register("formats/"+o,e,t):Object.keys(e).forEach((function(n){r.register(n,e[n],t)}))}else null==this.imports[e]||n||A.warn("Overwriting "+e+" with",t),this.imports[e]=t,(e.startsWith("blots/")||e.startsWith("formats/"))&&"abstract"!==t.blotName?u.default.register(t):e.startsWith("modules")&&"function"==typeof t.register&&t.register()}}]),i(e,[{key:"addContainer",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if("string"==typeof e){var r=e;(e=document.createElement("div")).classList.add(r)}return this.container.insertBefore(e,t),e}},{key:"blur",value:function(){this.selection.setRange(null)}},{key:"deleteText",value:function(e,t,r){var n=this,i=w(e,t,r),a=o(i,4);return e=a[0],t=a[1],r=a[3],k.call(this,(function(){return n.editor.deleteText(e,t)}),r,e,-1*t)}},{key:"disable",value:function(){this.enable(!1)}},{key:"enable",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.scroll.enable(e),this.container.classList.toggle("ql-disabled",!e)}},{key:"focus",value:function(){var e=this.scrollingContainer.scrollTop;this.selection.focus(),this.scrollingContainer.scrollTop=e,this.scrollIntoView()}},{key:"format",value:function(e,t){var r=this,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:c.default.sources.API;return k.call(this,(function(){var n=r.getSelection(!0),o=new a.default;if(null==n)return o;if(u.default.query(e,u.default.Scope.BLOCK))o=r.editor.formatLine(n.index,n.length,v({},e,t));else{if(0===n.length)return r.selection.format(e,t),o;o=r.editor.formatText(n.index,n.length,v({},e,t))}return r.setSelection(n,c.default.sources.SILENT),o}),n)}},{key:"formatLine",value:function(e,t,r,n,i){var a,s=this,c=w(e,t,r,n,i),l=o(c,4);return e=l[0],t=l[1],a=l[2],i=l[3],k.call(this,(function(){return s.editor.formatLine(e,t,a)}),i,e,0)}},{key:"formatText",value:function(e,t,r,n,i){var a,s=this,c=w(e,t,r,n,i),l=o(c,4);return e=l[0],t=l[1],a=l[2],i=l[3],k.call(this,(function(){return s.editor.formatText(e,t,a)}),i,e,0)}},{key:"getBounds",value:function(e){var t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;t="number"==typeof e?this.selection.getBounds(e,r):this.selection.getBounds(e.index,e.length);var n=this.container.getBoundingClientRect();return{bottom:t.bottom-n.top,height:t.height,left:t.left-n.left,right:t.right-n.left,top:t.top-n.top,width:t.width}}},{key:"getContents",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.getLength()-e,r=w(e,t),n=o(r,2);return e=n[0],t=n[1],this.editor.getContents(e,t)}},{key:"getFormat",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.getSelection(!0),t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return"number"==typeof e?this.editor.getFormat(e,t):this.editor.getFormat(e.index,e.length)}},{key:"getIndex",value:function(e){return e.offset(this.scroll)}},{key:"getLength",value:function(){return this.scroll.length()}},{key:"getLeaf",value:function(e){return this.scroll.leaf(e)}},{key:"getLine",value:function(e){return this.scroll.line(e)}},{key:"getLines",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.MAX_VALUE;return"number"!=typeof e?this.scroll.lines(e.index,e.length):this.scroll.lines(e,t)}},{key:"getModule",value:function(e){return this.theme.modules[e]}},{key:"getSelection",value:function(){return arguments.length>0&&void 0!==arguments[0]&&arguments[0]&&this.focus(),this.update(),this.selection.getRange()[0]}},{key:"getText",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.getLength()-e,r=w(e,t),n=o(r,2);return e=n[0],t=n[1],this.editor.getText(e,t)}},{key:"hasFocus",value:function(){return this.selection.hasFocus()}},{key:"insertEmbed",value:function(t,r,n){var o=this,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:e.sources.API;return k.call(this,(function(){return o.editor.insertEmbed(t,r,n)}),i,t)}},{key:"insertText",value:function(e,t,r,n,i){var a,s=this,c=w(e,0,r,n,i),l=o(c,4);return e=l[0],a=l[2],i=l[3],k.call(this,(function(){return s.editor.insertText(e,t,a)}),i,e,t.length)}},{key:"isEnabled",value:function(){return!this.container.classList.contains("ql-disabled")}},{key:"off",value:function(){return this.emitter.off.apply(this.emitter,arguments)}},{key:"on",value:function(){return this.emitter.on.apply(this.emitter,arguments)}},{key:"once",value:function(){return this.emitter.once.apply(this.emitter,arguments)}},{key:"pasteHTML",value:function(e,t,r){this.clipboard.dangerouslyPasteHTML(e,t,r)}},{key:"removeFormat",value:function(e,t,r){var n=this,i=w(e,t,r),a=o(i,4);return e=a[0],t=a[1],r=a[3],k.call(this,(function(){return n.editor.removeFormat(e,t)}),r,e)}},{key:"scrollIntoView",value:function(){this.selection.scrollIntoView(this.scrollingContainer)}},{key:"setContents",value:function(e){var t=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:c.default.sources.API;return k.call(this,(function(){e=new a.default(e);var r=t.getLength(),n=t.editor.deleteText(0,r),o=t.editor.applyDelta(e),i=o.ops[o.ops.length-1];return null!=i&&"string"==typeof i.insert&&"\n"===i.insert[i.insert.length-1]&&(t.editor.deleteText(t.getLength()-1,1),o.delete(1)),n.compose(o)}),r)}},{key:"setSelection",value:function(t,r,n){if(null==t)this.selection.setRange(null,r||e.sources.API);else{var i=w(t,r,n),a=o(i,4);t=a[0],r=a[1],n=a[3],this.selection.setRange(new f.Range(t,r),n),n!==c.default.sources.SILENT&&this.selection.scrollIntoView(this.scrollingContainer)}}},{key:"setText",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:c.default.sources.API,r=(new a.default).insert(e);return this.setContents(r,t)}},{key:"update",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:c.default.sources.USER,t=this.scroll.update(e);return this.selection.update(e),t}},{key:"updateContents",value:function(e){var t=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:c.default.sources.API;return k.call(this,(function(){return e=new a.default(e),t.editor.applyDelta(e,r)}),r,!0)}}]),e}();function y(e,t){if((t=(0,p.default)(!0,{container:e,modules:{clipboard:!0,keyboard:!0,history:!0}},t)).theme&&t.theme!==g.DEFAULTS.theme){if(t.theme=g.import("themes/"+t.theme),null==t.theme)throw new Error("Invalid theme "+t.theme+". Did you register it?")}else t.theme=h.default;var r=(0,p.default)(!0,{},t.theme.DEFAULTS);[r,t].forEach((function(e){e.modules=e.modules||{},Object.keys(e.modules).forEach((function(t){!0===e.modules[t]&&(e.modules[t]={})}))}));var n=Object.keys(r.modules).concat(Object.keys(t.modules)).reduce((function(e,t){var r=g.import("modules/"+t);return null==r?A.error("Cannot load "+t+" module. Are you sure you registered it?"):e[t]=r.DEFAULTS||{},e}),{});return null!=t.modules&&t.modules.toolbar&&t.modules.toolbar.constructor!==Object&&(t.modules.toolbar={container:t.modules.toolbar}),t=(0,p.default)(!0,{},g.DEFAULTS,{modules:n},r,t),["bounds","container","scrollingContainer"].forEach((function(e){"string"==typeof t[e]&&(t[e]=document.querySelector(t[e]))})),t.modules=Object.keys(t.modules).reduce((function(e,r){return t.modules[r]&&(e[r]=t.modules[r]),e}),{}),t}function k(e,t,r,n){if(this.options.strict&&!this.isEnabled()&&t===c.default.sources.USER)return new a.default;var o=null==r?null:this.getSelection(),i=this.editor.delta,s=e();if(null!=o&&(!0===r&&(r=o.index),null==n?o=x(o,s,t):0!==n&&(o=x(o,r,n,t)),this.setSelection(o,c.default.sources.SILENT)),s.length()>0){var l,u,f=[c.default.events.TEXT_CHANGE,s,i,t];(l=this.emitter).emit.apply(l,[c.default.events.EDITOR_CHANGE].concat(f)),t!==c.default.sources.SILENT&&(u=this.emitter).emit.apply(u,f)}return s}function w(e,t,r,o,i){var a={};return"number"==typeof e.index&&"number"==typeof e.length?"number"!=typeof t?(i=o,o=r,r=t,t=e.length,e=e.index):(t=e.length,e=e.index):"number"!=typeof t&&(i=o,o=r,r=t,t=0),"object"===(void 0===r?"undefined":n(r))?(a=r,i=o):"string"==typeof r&&(null!=o?a[r]=o:i=r),[e,t,a,i=i||c.default.sources.API]}function x(e,t,r,n){if(null==e)return null;var i=void 0,s=void 0;if(t instanceof a.default){var l=[e.index,e.index+e.length].map((function(e){return t.transformPosition(e,n!==c.default.sources.USER)})),u=o(l,2);i=u[0],s=u[1]}else{var d=[e.index,e.index+e.length].map((function(e){return e=0?e+r:Math.max(t,e+r)})),p=o(d,2);i=p[0],s=p[1]}return new f.Range(i,s-i)}g.DEFAULTS={bounds:null,formats:null,modules:{},placeholder:"",readOnly:!1,scrollingContainer:null,strict:!0,theme:"default"},g.events=c.default.events,g.sources=c.default.sources,g.version="1.3.7",g.imports={delta:a.default,parchment:u.default,"core/module":l.default,"core/theme":h.default},t.expandConfig=y,t.overload=w,t.default=g},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(e,t){for(var r=0;r0){var r=this.parent.isolate(this.offset(),this.length());this.moveChildren(r),r.wrap(this)}}}],[{key:"compare",value:function(e,r){var n=t.order.indexOf(e),o=t.order.indexOf(r);return n>=0||o>=0?n-o:e===r?0:e1?t-1:0),n=1;n1&&void 0!==arguments[1]?arguments[1]:{};!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.quill=t,this.options=r};n.DEFAULTS={},t.default=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=["error","warn","log","info"],o="warn";function i(e){if(n.indexOf(e)<=n.indexOf(o)){for(var t,r=arguments.length,i=Array(r>1?r-1:0),a=1;a=0;l--)if(f[l]!=d[l])return!1;for(l=f.length-1;l>=0;l--)if(u=f[l],!a(e[u],t[u],r))return!1;return typeof e==typeof t}(e,t,r))};function s(e){return null==e}function c(e){return!(!e||"object"!=typeof e||"number"!=typeof e.length||"function"!=typeof e.copy||"function"!=typeof e.slice||e.length>0&&"number"!=typeof e[0])}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(1),o=function(){function e(e,t,r){void 0===r&&(r={}),this.attrName=e,this.keyName=t;var o=n.Scope.TYPE&n.Scope.ATTRIBUTE;null!=r.scope?this.scope=r.scope&n.Scope.LEVEL|o:this.scope=n.Scope.ATTRIBUTE,null!=r.whitelist&&(this.whitelist=r.whitelist)}return e.keys=function(e){return[].map.call(e.attributes,(function(e){return e.name}))},e.prototype.add=function(e,t){return!!this.canAdd(e,t)&&(e.setAttribute(this.keyName,t),!0)},e.prototype.canAdd=function(e,t){return null!=n.query(e,n.Scope.BLOT&(this.scope|n.Scope.TYPE))&&(null==this.whitelist||("string"==typeof t?this.whitelist.indexOf(t.replace(/["']/g,""))>-1:this.whitelist.indexOf(t)>-1))},e.prototype.remove=function(e){e.removeAttribute(this.keyName)},e.prototype.value=function(e){var t=e.getAttribute(this.keyName);return this.canAdd(e,t)&&t?t:""},e}();t.default=o},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.Code=void 0;var n=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var r=[],n=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(n=(a=s.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(e){o=!0,i=e}finally{try{!n&&s.return&&s.return()}finally{if(o)throw i}}return r}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},o=function(){function e(e,t){for(var r=0;r=e+r)){var a=this.newlineIndex(e,!0)+1,c=i-a+1,l=this.isolate(a,c),u=l.next;l.format(n,o),u instanceof t&&u.formatAt(0,e-a+r-c,n,o)}}}},{key:"insertAt",value:function(e,t,r){if(null==r){var o=this.descendant(u.default,e),i=n(o,2),a=i[0],s=i[1];a.insertAt(s,t)}}},{key:"length",value:function(){var e=this.domNode.textContent.length;return this.domNode.textContent.endsWith("\n")?e:e+1}},{key:"newlineIndex",value:function(e){if(arguments.length>1&&void 0!==arguments[1]&&arguments[1])return this.domNode.textContent.slice(0,e).lastIndexOf("\n");var t=this.domNode.textContent.slice(e).indexOf("\n");return t>-1?e+t:-1}},{key:"optimize",value:function(e){this.domNode.textContent.endsWith("\n")||this.appendChild(s.default.create("text","\n")),i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"optimize",this).call(this,e);var r=this.next;null!=r&&r.prev===this&&r.statics.blotName===this.statics.blotName&&this.statics.formats(this.domNode)===r.statics.formats(r.domNode)&&(r.optimize(e),r.moveChildren(this),r.remove())}},{key:"replace",value:function(e){i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"replace",this).call(this,e),[].slice.call(this.domNode.querySelectorAll("*")).forEach((function(e){var t=s.default.find(e);null==t?e.parentNode.removeChild(e):t instanceof s.default.Embed?t.remove():t.unwrap()}))}}],[{key:"create",value:function(e){var r=i(t.__proto__||Object.getPrototypeOf(t),"create",this).call(this,e);return r.setAttribute("spellcheck",!1),r}},{key:"formats",value:function(){return!0}}]),t}(c.default);b.blotName="code-block",b.tagName="PRE",b.TAB=" ",t.Code=h,t.default=b},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var r=[],n=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(n=(a=s.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(e){o=!0,i=e}finally{try{!n&&s.return&&s.return()}finally{if(o)throw i}}return r}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},i=function(){function e(e,t){for(var r=0;r=i&&!p.endsWith("\n")&&(r=!0),t.scroll.insertAt(e,p);var m=t.scroll.line(e),h=o(m,2),v=h[0],A=h[1],g=(0,b.default)({},(0,f.bubbleFormats)(v));if(v instanceof d.default){var y=v.descendant(c.default.Leaf,A),k=o(y,1)[0];g=(0,b.default)(g,(0,f.bubbleFormats)(k))}u=s.default.attributes.diff(g,u)||{}}else if("object"===n(a.insert)){var w=Object.keys(a.insert)[0];if(null==w)return e;t.scroll.insertAt(e,w,a.insert[w])}i+=l}return Object.keys(u).forEach((function(r){t.scroll.formatAt(e,l,r,u[r])})),e+l}),0),e.reduce((function(e,r){return"number"==typeof r.delete?(t.scroll.deleteAt(e,r.delete),e):e+(r.retain||r.insert.length||1)}),0),this.scroll.batchEnd(),this.update(e)}},{key:"deleteText",value:function(e,t){return this.scroll.deleteAt(e,t),this.update((new a.default).retain(e).delete(t))}},{key:"formatLine",value:function(e,t){var r=this,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.scroll.update(),Object.keys(n).forEach((function(o){if(null==r.scroll.whitelist||r.scroll.whitelist[o]){var i=r.scroll.lines(e,Math.max(t,1)),a=t;i.forEach((function(t){var i=t.length();if(t instanceof l.default){var s=e-t.offset(r.scroll),c=t.newlineIndex(s+a)-s+1;t.formatAt(s,c,o,n[o])}else t.format(o,n[o]);a-=i}))}})),this.scroll.optimize(),this.update((new a.default).retain(e).retain(t,(0,m.default)(n)))}},{key:"formatText",value:function(e,t){var r=this,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return Object.keys(n).forEach((function(o){r.scroll.formatAt(e,t,o,n[o])})),this.update((new a.default).retain(e).retain(t,(0,m.default)(n)))}},{key:"getContents",value:function(e,t){return this.delta.slice(e,e+t)}},{key:"getDelta",value:function(){return this.scroll.lines().reduce((function(e,t){return e.concat(t.delta())}),new a.default)}},{key:"getFormat",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=[],n=[];0===t?this.scroll.path(e).forEach((function(e){var t=o(e,1)[0];t instanceof d.default?r.push(t):t instanceof c.default.Leaf&&n.push(t)})):(r=this.scroll.lines(e,t),n=this.scroll.descendants(c.default.Leaf,e,t));var i=[r,n].map((function(e){if(0===e.length)return{};for(var t=(0,f.bubbleFormats)(e.shift());Object.keys(t).length>0;){var r=e.shift();if(null==r)return t;t=y((0,f.bubbleFormats)(r),t)}return t}));return b.default.apply(b.default,i)}},{key:"getText",value:function(e,t){return this.getContents(e,t).filter((function(e){return"string"==typeof e.insert})).map((function(e){return e.insert})).join("")}},{key:"insertEmbed",value:function(e,t,r){return this.scroll.insertAt(e,t,r),this.update((new a.default).retain(e).insert(function(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}({},t,r)))}},{key:"insertText",value:function(e,t){var r=this,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return t=t.replace(/\r\n/g,"\n").replace(/\r/g,"\n"),this.scroll.insertAt(e,t),Object.keys(n).forEach((function(o){r.scroll.formatAt(e,t.length,o,n[o])})),this.update((new a.default).retain(e).insert(t,(0,m.default)(n)))}},{key:"isBlank",value:function(){if(0==this.scroll.children.length)return!0;if(this.scroll.children.length>1)return!1;var e=this.scroll.children.head;return e.statics.blotName===d.default.blotName&&!(e.children.length>1)&&e.children.head instanceof p.default}},{key:"removeFormat",value:function(e,t){var r=this.getText(e,t),n=this.scroll.line(e+t),i=o(n,2),s=i[0],c=i[1],u=0,f=new a.default;null!=s&&(u=s instanceof l.default?s.newlineIndex(c)-c+1:s.length()-c,f=s.delta().slice(c,c+u-1).insert("\n"));var d=this.getContents(e,t+u).diff((new a.default).insert(r).concat(f)),p=(new a.default).retain(e).concat(d);return this.applyDelta(p)}},{key:"update",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,n=this.delta;if(1===t.length&&"characterData"===t[0].type&&t[0].target.data.match(A)&&c.default.find(t[0].target)){var o=c.default.find(t[0].target),i=(0,f.bubbleFormats)(o),s=o.offset(this.scroll),l=t[0].oldValue.replace(u.default.CONTENTS,""),d=(new a.default).insert(l),p=(new a.default).insert(o.value());e=(new a.default).retain(s).concat(d.diff(p,r)).reduce((function(e,t){return t.insert?e.insert(t.insert,i):e.push(t)}),new a.default),this.delta=n.compose(e)}else this.delta=this.getDelta(),e&&(0,h.default)(n.compose(e),this.delta)||(e=n.diff(this.delta,r));return e}}]),e}();function y(e,t){return Object.keys(t).reduce((function(r,n){return null==e[n]||(t[n]===e[n]?r[n]=t[n]:Array.isArray(t[n])?t[n].indexOf(e[n])<0&&(r[n]=t[n].concat([e[n]])):r[n]=[t[n],e[n]]),r}),{})}t.default=g},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.Range=void 0;var n=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var r=[],n=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(n=(a=s.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(e){o=!0,i=e}finally{try{!n&&s.return&&s.return()}finally{if(o)throw i}}return r}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},o=function(){function e(e,t){for(var r=0;r1&&void 0!==arguments[1]?arguments[1]:0;f(this,e),this.index=t,this.length=r},m=function(){function e(t,r){var n=this;f(this,e),this.emitter=r,this.scroll=t,this.composing=!1,this.mouseDown=!1,this.root=this.scroll.domNode,this.cursor=i.default.create("cursor",this),this.lastRange=this.savedRange=new p(0,0),this.handleComposition(),this.handleDragging(),this.emitter.listenDOM("selectionchange",document,(function(){n.mouseDown||setTimeout(n.update.bind(n,c.default.sources.USER),1)})),this.emitter.on(c.default.events.EDITOR_CHANGE,(function(e,t){e===c.default.events.TEXT_CHANGE&&t.length()>0&&n.update(c.default.sources.SILENT)})),this.emitter.on(c.default.events.SCROLL_BEFORE_UPDATE,(function(){if(n.hasFocus()){var e=n.getNativeRange();null!=e&&e.start.node!==n.cursor.textNode&&n.emitter.once(c.default.events.SCROLL_UPDATE,(function(){try{n.setNativeRange(e.start.node,e.start.offset,e.end.node,e.end.offset)}catch(e){}}))}})),this.emitter.on(c.default.events.SCROLL_OPTIMIZE,(function(e,t){if(t.range){var r=t.range,o=r.startNode,i=r.startOffset,a=r.endNode,s=r.endOffset;n.setNativeRange(o,i,a,s)}})),this.update(c.default.sources.SILENT)}return o(e,[{key:"handleComposition",value:function(){var e=this;this.root.addEventListener("compositionstart",(function(){e.composing=!0})),this.root.addEventListener("compositionend",(function(){if(e.composing=!1,e.cursor.parent){var t=e.cursor.restore();if(!t)return;setTimeout((function(){e.setNativeRange(t.startNode,t.startOffset,t.endNode,t.endOffset)}),1)}}))}},{key:"handleDragging",value:function(){var e=this;this.emitter.listenDOM("mousedown",document.body,(function(){e.mouseDown=!0})),this.emitter.listenDOM("mouseup",document.body,(function(){e.mouseDown=!1,e.update(c.default.sources.USER)}))}},{key:"focus",value:function(){this.hasFocus()||(this.root.focus(),this.setRange(this.savedRange))}},{key:"format",value:function(e,t){if(null==this.scroll.whitelist||this.scroll.whitelist[e]){this.scroll.update();var r=this.getNativeRange();if(null!=r&&r.native.collapsed&&!i.default.query(e,i.default.Scope.BLOCK)){if(r.start.node!==this.cursor.textNode){var n=i.default.find(r.start.node,!1);if(null==n)return;if(n instanceof i.default.Leaf){var o=n.split(r.start.offset);n.parent.insertBefore(this.cursor,o)}else n.insertBefore(this.cursor,r.start.node);this.cursor.attach()}this.cursor.format(e,t),this.scroll.optimize(),this.setNativeRange(this.cursor.textNode,this.cursor.textNode.data.length),this.update()}}}},{key:"getBounds",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=this.scroll.length();e=Math.min(e,r-1),t=Math.min(e+t,r-1)-e;var o=void 0,i=this.scroll.leaf(e),a=n(i,2),s=a[0],c=a[1];if(null==s)return null;var l=s.position(c,!0),u=n(l,2);o=u[0],c=u[1];var f=document.createRange();if(t>0){f.setStart(o,c);var d=this.scroll.leaf(e+t),p=n(d,2);if(s=p[0],c=p[1],null==s)return null;var m=s.position(c,!0),h=n(m,2);return o=h[0],c=h[1],f.setEnd(o,c),f.getBoundingClientRect()}var b="left",v=void 0;return o instanceof Text?(c0&&(b="right")),{bottom:v.top+v.height,height:v.height,left:v[b],right:v[b],top:v.top,width:0}}},{key:"getNativeRange",value:function(){var e=document.getSelection();if(null==e||e.rangeCount<=0)return null;var t=e.getRangeAt(0);if(null==t)return null;var r=this.normalizeNative(t);return d.info("getNativeRange",r),r}},{key:"getRange",value:function(){var e=this.getNativeRange();return null==e?[null,null]:[this.normalizedToRange(e),e]}},{key:"hasFocus",value:function(){return document.activeElement===this.root}},{key:"normalizedToRange",value:function(e){var t=this,r=[[e.start.node,e.start.offset]];e.native.collapsed||r.push([e.end.node,e.end.offset]);var o=r.map((function(e){var r=n(e,2),o=r[0],a=r[1],s=i.default.find(o,!0),c=s.offset(t.scroll);return 0===a?c:s instanceof i.default.Container?c+s.length():c+s.index(o,a)})),a=Math.min(Math.max.apply(Math,u(o)),this.scroll.length()-1),s=Math.min.apply(Math,[a].concat(u(o)));return new p(s,a-s)}},{key:"normalizeNative",value:function(e){if(!h(this.root,e.startContainer)||!e.collapsed&&!h(this.root,e.endContainer))return null;var t={start:{node:e.startContainer,offset:e.startOffset},end:{node:e.endContainer,offset:e.endOffset},native:e};return[t.start,t.end].forEach((function(e){for(var t=e.node,r=e.offset;!(t instanceof Text)&&t.childNodes.length>0;)if(t.childNodes.length>r)t=t.childNodes[r],r=0;else{if(t.childNodes.length!==r)break;r=(t=t.lastChild)instanceof Text?t.data.length:t.childNodes.length+1}e.node=t,e.offset=r})),t}},{key:"rangeToNative",value:function(e){var t=this,r=e.collapsed?[e.index]:[e.index,e.index+e.length],o=[],i=this.scroll.length();return r.forEach((function(e,r){e=Math.min(i-1,e);var a,s=t.scroll.leaf(e),c=n(s,2),l=c[0],u=c[1],f=l.position(u,0!==r),d=n(f,2);a=d[0],u=d[1],o.push(a,u)})),o.length<2&&(o=o.concat(o)),o}},{key:"scrollIntoView",value:function(e){var t=this.lastRange;if(null!=t){var r=this.getBounds(t.index,t.length);if(null!=r){var o=this.scroll.length()-1,i=this.scroll.line(Math.min(t.index,o)),a=n(i,1)[0],s=a;if(t.length>0){var c=this.scroll.line(Math.min(t.index+t.length,o));s=n(c,1)[0]}if(null!=a&&null!=s){var l=e.getBoundingClientRect();r.topl.bottom&&(e.scrollTop+=r.bottom-l.bottom)}}}}},{key:"setNativeRange",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:t,o=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(d.info("setNativeRange",e,t,r,n),null==e||null!=this.root.parentNode&&null!=e.parentNode&&null!=r.parentNode){var i=document.getSelection();if(null!=i)if(null!=e){this.hasFocus()||this.root.focus();var a=(this.getNativeRange()||{}).native;if(null==a||o||e!==a.startContainer||t!==a.startOffset||r!==a.endContainer||n!==a.endOffset){"BR"==e.tagName&&(t=[].indexOf.call(e.parentNode.childNodes,e),e=e.parentNode),"BR"==r.tagName&&(n=[].indexOf.call(r.parentNode.childNodes,r),r=r.parentNode);var s=document.createRange();s.setStart(e,t),s.setEnd(r,n),i.removeAllRanges(),i.addRange(s)}}else i.removeAllRanges(),this.root.blur(),document.body.focus()}}},{key:"setRange",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:c.default.sources.API;if("string"==typeof t&&(r=t,t=!1),d.info("setRange",e),null!=e){var n=this.rangeToNative(e);this.setNativeRange.apply(this,u(n).concat([t]))}else this.setNativeRange(null);this.update(r)}},{key:"update",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:c.default.sources.USER,t=this.lastRange,r=this.getRange(),o=n(r,2),i=o[0],l=o[1];if(this.lastRange=i,null!=this.lastRange&&(this.savedRange=this.lastRange),!(0,s.default)(t,this.lastRange)){var u;!this.composing&&null!=l&&l.native.collapsed&&l.start.node!==this.cursor.textNode&&this.cursor.restore();var f,d=[c.default.events.SELECTION_CHANGE,(0,a.default)(this.lastRange),(0,a.default)(t),e];(u=this.emitter).emit.apply(u,[c.default.events.EDITOR_CHANGE].concat(d)),e!==c.default.sources.SILENT&&(f=this.emitter).emit.apply(f,d)}}}]),e}();function h(e,t){try{t.parentNode}catch(e){return!1}return t instanceof Text&&(t=t.parentNode),e.contains(t)}t.Range=p,t.default=m},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,o=function(){function e(e,t){for(var r=0;r0&&(r+=1),[this.parent.domNode,r]},t.prototype.value=function(){var e;return(e={})[this.statics.blotName]=this.statics.value(this.domNode)||!0,e},t.scope=a.Scope.INLINE_BLOT,t}(i.default);t.default=s},function(e,t,r){var n=r(11),o=r(3),i={attributes:{compose:function(e,t,r){"object"!=typeof e&&(e={}),"object"!=typeof t&&(t={});var n=o(!0,{},t);for(var i in r||(n=Object.keys(n).reduce((function(e,t){return null!=n[t]&&(e[t]=n[t]),e}),{})),e)void 0!==e[i]&&void 0===t[i]&&(n[i]=e[i]);return Object.keys(n).length>0?n:void 0},diff:function(e,t){"object"!=typeof e&&(e={}),"object"!=typeof t&&(t={});var r=Object.keys(e).concat(Object.keys(t)).reduce((function(r,o){return n(e[o],t[o])||(r[o]=void 0===t[o]?null:t[o]),r}),{});return Object.keys(r).length>0?r:void 0},transform:function(e,t,r){if("object"!=typeof e)return t;if("object"==typeof t){if(!r)return t;var n=Object.keys(t).reduce((function(r,n){return void 0===e[n]&&(r[n]=t[n]),r}),{});return Object.keys(n).length>0?n:void 0}}},iterator:function(e){return new a(e)},length:function(e){return"number"==typeof e.delete?e.delete:"number"==typeof e.retain?e.retain:"string"==typeof e.insert?e.insert.length:1}};function a(e){this.ops=e,this.index=0,this.offset=0}a.prototype.hasNext=function(){return this.peekLength()<1/0},a.prototype.next=function(e){e||(e=1/0);var t=this.ops[this.index];if(t){var r=this.offset,n=i.length(t);if(e>=n-r?(e=n-r,this.index+=1,this.offset=0):this.offset+=e,"number"==typeof t.delete)return{delete:e};var o={};return t.attributes&&(o.attributes=t.attributes),"number"==typeof t.retain?o.retain=e:"string"==typeof t.insert?o.insert=t.insert.substr(r,e):o.insert=t.insert,o}return{retain:1/0}},a.prototype.peek=function(){return this.ops[this.index]},a.prototype.peekLength=function(){return this.ops[this.index]?i.length(this.ops[this.index])-this.offset:1/0},a.prototype.peekType=function(){return this.ops[this.index]?"number"==typeof this.ops[this.index].delete?"delete":"number"==typeof this.ops[this.index].retain?"retain":"insert":"retain"},a.prototype.rest=function(){if(this.hasNext()){if(0===this.offset)return this.ops.slice(this.index);var e=this.offset,t=this.index,r=this.next(),n=this.ops.slice(this.index);return this.offset=e,this.index=t,[r].concat(n)}return[]},e.exports=i},function(e,t){var r=function(){"use strict";function e(e,t){return null!=t&&e instanceof t}var t,r,n;try{t=Map}catch(e){t=function(){}}try{r=Set}catch(e){r=function(){}}try{n=Promise}catch(e){n=function(){}}function o(i,s,c,l,u){"object"==typeof s&&(c=s.depth,l=s.prototype,u=s.includeNonEnumerable,s=s.circular);var f=[],d=[],p="undefined"!=typeof Buffer;return void 0===s&&(s=!0),void 0===c&&(c=1/0),function i(c,m){if(null===c)return null;if(0===m)return c;var h,b;if("object"!=typeof c)return c;if(e(c,t))h=new t;else if(e(c,r))h=new r;else if(e(c,n))h=new n((function(e,t){c.then((function(t){e(i(t,m-1))}),(function(e){t(i(e,m-1))}))}));else if(o.__isArray(c))h=[];else if(o.__isRegExp(c))h=new RegExp(c.source,a(c)),c.lastIndex&&(h.lastIndex=c.lastIndex);else if(o.__isDate(c))h=new Date(c.getTime());else{if(p&&Buffer.isBuffer(c))return h=Buffer.allocUnsafe?Buffer.allocUnsafe(c.length):new Buffer(c.length),c.copy(h),h;e(c,Error)?h=Object.create(c):void 0===l?(b=Object.getPrototypeOf(c),h=Object.create(b)):(h=Object.create(l),b=l)}if(s){var v=f.indexOf(c);if(-1!=v)return d[v];f.push(c),d.push(h)}for(var A in e(c,t)&&c.forEach((function(e,t){var r=i(t,m-1),n=i(e,m-1);h.set(r,n)})),e(c,r)&&c.forEach((function(e){var t=i(e,m-1);h.add(t)})),c){var g;b&&(g=Object.getOwnPropertyDescriptor(b,A)),g&&null==g.set||(h[A]=i(c[A],m-1))}if(Object.getOwnPropertySymbols){var y=Object.getOwnPropertySymbols(c);for(A=0;A0){if(s instanceof c.BlockEmbed||p instanceof c.BlockEmbed)return void this.optimize();if(s instanceof f.default){var m=s.newlineIndex(s.length(),!0);if(m>-1&&(s=s.split(m+1))===p)return void this.optimize()}else if(p instanceof f.default){var h=p.newlineIndex(0);h>-1&&p.split(h+1)}var b=p.children.head instanceof u.default?null:p.children.head;s.moveChildren(p,b),s.remove()}this.optimize()}},{key:"enable",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.domNode.setAttribute("contenteditable",e)}},{key:"formatAt",value:function(e,r,n,o){(null==this.whitelist||this.whitelist[n])&&(i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"formatAt",this).call(this,e,r,n,o),this.optimize())}},{key:"insertAt",value:function(e,r,n){if(null==n||null==this.whitelist||this.whitelist[r]){if(e>=this.length())if(null==n||null==a.default.query(r,a.default.Scope.BLOCK)){var o=a.default.create(this.statics.defaultChild);this.appendChild(o),null==n&&r.endsWith("\n")&&(r=r.slice(0,-1)),o.insertAt(0,r,n)}else{var s=a.default.create(r,n);this.appendChild(s)}else i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"insertAt",this).call(this,e,r,n);this.optimize()}}},{key:"insertBefore",value:function(e,r){if(e.statics.scope===a.default.Scope.INLINE_BLOT){var n=a.default.create(this.statics.defaultChild);n.appendChild(e),e=n}i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"insertBefore",this).call(this,e,r)}},{key:"leaf",value:function(e){return this.path(e).pop()||[null,-1]}},{key:"line",value:function(e){return e===this.length()?this.line(e-1):this.descendant(m,e)}},{key:"lines",value:function(){return function e(t,r,n){var o=[],i=n;return t.children.forEachAt(r,n,(function(t,r,n){m(t)?o.push(t):t instanceof a.default.Container&&(o=o.concat(e(t,r,i))),i-=n})),o}(this,arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.MAX_VALUE)}},{key:"optimize",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};!0!==this.batch&&(i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"optimize",this).call(this,e,r),e.length>0&&this.emitter.emit(s.default.events.SCROLL_OPTIMIZE,e,r))}},{key:"path",value:function(e){return i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"path",this).call(this,e).slice(1)}},{key:"update",value:function(e){if(!0!==this.batch){var r=s.default.sources.USER;"string"==typeof e&&(r=e),Array.isArray(e)||(e=this.observer.takeRecords()),e.length>0&&this.emitter.emit(s.default.events.SCROLL_BEFORE_UPDATE,r,e),i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"update",this).call(this,e.concat([])),e.length>0&&this.emitter.emit(s.default.events.SCROLL_UPDATE,r,e)}}}]),t}(a.default.Scroll);h.blotName="scroll",h.className="ql-editor",h.tagName="DIV",h.defaultChild="block",h.allowedChildren=[l.default,c.BlockEmbed,d.default],t.default=h},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SHORTKEY=t.default=void 0;var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var r=[],n=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(n=(a=s.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(e){o=!0,i=e}finally{try{!n&&s.return&&s.return()}finally{if(o)throw i}}return r}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},i=function(){function e(e,t){for(var r=0;r1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=O(e);if(null==n||null==n.key)return v.warn("Attempted to add invalid keyboard binding",n);"function"==typeof t&&(t={handler:t}),"function"==typeof r&&(r={handler:r}),n=(0,c.default)(n,t,r),this.bindings[n.key]=this.bindings[n.key]||[],this.bindings[n.key].push(n)}},{key:"listen",value:function(){var e=this;this.quill.root.addEventListener("keydown",(function(r){if(!r.defaultPrevented){var i=r.which||r.keyCode,a=(e.bindings[i]||[]).filter((function(e){return t.match(r,e)}));if(0!==a.length){var c=e.quill.getSelection();if(null!=c&&e.quill.hasFocus()){var l=e.quill.getLine(c.index),u=o(l,2),d=u[0],p=u[1],m=e.quill.getLeaf(c.index),h=o(m,2),b=h[0],v=h[1],A=0===c.length?[b,v]:e.quill.getLeaf(c.index+c.length),g=o(A,2),y=g[0],k=g[1],w=b instanceof f.default.Text?b.value().slice(0,v):"",x=y instanceof f.default.Text?y.value().slice(k):"",E={collapsed:0===c.length,empty:0===c.length&&d.length()<=1,format:e.quill.getFormat(c),offset:p,prefix:w,suffix:x};a.some((function(t){if(null!=t.collapsed&&t.collapsed!==E.collapsed)return!1;if(null!=t.empty&&t.empty!==E.empty)return!1;if(null!=t.offset&&t.offset!==E.offset)return!1;if(Array.isArray(t.format)){if(t.format.every((function(e){return null==E.format[e]})))return!1}else if("object"===n(t.format)&&!Object.keys(t.format).every((function(e){return!0===t.format[e]?null!=E.format[e]:!1===t.format[e]?null==E.format[e]:(0,s.default)(t.format[e],E.format[e])})))return!1;return!(null!=t.prefix&&!t.prefix.test(E.prefix)||null!=t.suffix&&!t.suffix.test(E.suffix)||!0===t.handler.call(e,c,E))}))&&r.preventDefault()}}}}))}}]),t}(m.default);function y(e,t){var r,n=e===g.keys.LEFT?"prefix":"suffix";return b(r={key:e,shiftKey:t,altKey:null},n,/^$/),b(r,"handler",(function(r){var n=r.index;e===g.keys.RIGHT&&(n+=r.length+1);var i=this.quill.getLeaf(n);return!(o(i,1)[0]instanceof f.default.Embed&&(e===g.keys.LEFT?t?this.quill.setSelection(r.index-1,r.length+1,d.default.sources.USER):this.quill.setSelection(r.index-1,d.default.sources.USER):t?this.quill.setSelection(r.index,r.length+1,d.default.sources.USER):this.quill.setSelection(r.index+r.length+1,d.default.sources.USER),1))})),r}function k(e,t){if(!(0===e.index||this.quill.getLength()<=1)){var r=this.quill.getLine(e.index),n=o(r,1)[0],i={};if(0===t.offset){var a=this.quill.getLine(e.index-1),s=o(a,1)[0];if(null!=s&&s.length()>1){var c=n.formats(),l=this.quill.getFormat(e.index-1,1);i=u.default.attributes.diff(c,l)||{}}}var f=/[\uD800-\uDBFF][\uDC00-\uDFFF]$/.test(t.prefix)?2:1;this.quill.deleteText(e.index-f,f,d.default.sources.USER),Object.keys(i).length>0&&this.quill.formatLine(e.index-f,f,i,d.default.sources.USER),this.quill.focus()}}function w(e,t){var r=/^[\uD800-\uDBFF][\uDC00-\uDFFF]/.test(t.suffix)?2:1;if(!(e.index>=this.quill.getLength()-r)){var n={},i=0,a=this.quill.getLine(e.index),s=o(a,1)[0];if(t.offset>=s.length()-1){var c=this.quill.getLine(e.index+1),l=o(c,1)[0];if(l){var f=s.formats(),p=this.quill.getFormat(e.index,1);n=u.default.attributes.diff(f,p)||{},i=l.length()}}this.quill.deleteText(e.index,r,d.default.sources.USER),Object.keys(n).length>0&&this.quill.formatLine(e.index+i-1,r,n,d.default.sources.USER)}}function x(e){var t=this.quill.getLines(e),r={};if(t.length>1){var n=t[0].formats(),o=t[t.length-1].formats();r=u.default.attributes.diff(o,n)||{}}this.quill.deleteText(e,d.default.sources.USER),Object.keys(r).length>0&&this.quill.formatLine(e.index,1,r,d.default.sources.USER),this.quill.setSelection(e.index,d.default.sources.SILENT),this.quill.focus()}function E(e,t){var r=this;e.length>0&&this.quill.scroll.deleteAt(e.index,e.length);var n=Object.keys(t.format).reduce((function(e,r){return f.default.query(r,f.default.Scope.BLOCK)&&!Array.isArray(t.format[r])&&(e[r]=t.format[r]),e}),{});this.quill.insertText(e.index,"\n",n,d.default.sources.USER),this.quill.setSelection(e.index+1,d.default.sources.SILENT),this.quill.focus(),Object.keys(t.format).forEach((function(e){null==n[e]&&(Array.isArray(t.format[e])||"link"!==e&&r.quill.format(e,t.format[e],d.default.sources.USER))}))}function _(e){return{key:g.keys.TAB,shiftKey:!e,format:{"code-block":!0},handler:function(t){var r=f.default.query("code-block"),n=t.index,i=t.length,a=this.quill.scroll.descendant(r,n),s=o(a,2),c=s[0],l=s[1];if(null!=c){var u=this.quill.getIndex(c),p=c.newlineIndex(l,!0)+1,m=c.newlineIndex(u+l+i),h=c.domNode.textContent.slice(p,m).split("\n");l=0,h.forEach((function(t,o){e?(c.insertAt(p+l,r.TAB),l+=r.TAB.length,0===o?n+=r.TAB.length:i+=r.TAB.length):t.startsWith(r.TAB)&&(c.deleteAt(p+l,r.TAB.length),l-=r.TAB.length,0===o?n-=r.TAB.length:i-=r.TAB.length),l+=t.length+1})),this.quill.update(d.default.sources.USER),this.quill.setSelection(n,i,d.default.sources.SILENT)}}}}function C(e){return{key:e[0].toUpperCase(),shortKey:!0,handler:function(t,r){this.quill.format(e,!r.format[e],d.default.sources.USER)}}}function O(e){if("string"==typeof e||"number"==typeof e)return O({key:e});if("object"===(void 0===e?"undefined":n(e))&&(e=(0,a.default)(e,!1)),"string"==typeof e.key)if(null!=g.keys[e.key.toUpperCase()])e.key=g.keys[e.key.toUpperCase()];else{if(1!==e.key.length)return null;e.key=e.key.toUpperCase().charCodeAt(0)}return e.shortKey&&(e[A]=e.shortKey,delete e.shortKey),e}g.keys={BACKSPACE:8,TAB:9,ENTER:13,ESCAPE:27,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46},g.DEFAULTS={bindings:{bold:C("bold"),italic:C("italic"),underline:C("underline"),indent:{key:g.keys.TAB,format:["blockquote","indent","list"],handler:function(e,t){if(t.collapsed&&0!==t.offset)return!0;this.quill.format("indent","+1",d.default.sources.USER)}},outdent:{key:g.keys.TAB,shiftKey:!0,format:["blockquote","indent","list"],handler:function(e,t){if(t.collapsed&&0!==t.offset)return!0;this.quill.format("indent","-1",d.default.sources.USER)}},"outdent backspace":{key:g.keys.BACKSPACE,collapsed:!0,shiftKey:null,metaKey:null,ctrlKey:null,altKey:null,format:["indent","list"],offset:0,handler:function(e,t){null!=t.format.indent?this.quill.format("indent","-1",d.default.sources.USER):null!=t.format.list&&this.quill.format("list",!1,d.default.sources.USER)}},"indent code-block":_(!0),"outdent code-block":_(!1),"remove tab":{key:g.keys.TAB,shiftKey:!0,collapsed:!0,prefix:/\t$/,handler:function(e){this.quill.deleteText(e.index-1,1,d.default.sources.USER)}},tab:{key:g.keys.TAB,handler:function(e){this.quill.history.cutoff();var t=(new l.default).retain(e.index).delete(e.length).insert("\t");this.quill.updateContents(t,d.default.sources.USER),this.quill.history.cutoff(),this.quill.setSelection(e.index+1,d.default.sources.SILENT)}},"list empty enter":{key:g.keys.ENTER,collapsed:!0,format:["list"],empty:!0,handler:function(e,t){this.quill.format("list",!1,d.default.sources.USER),t.format.indent&&this.quill.format("indent",!1,d.default.sources.USER)}},"checklist enter":{key:g.keys.ENTER,collapsed:!0,format:{list:"checked"},handler:function(e){var t=this.quill.getLine(e.index),r=o(t,2),n=r[0],i=r[1],a=(0,c.default)({},n.formats(),{list:"checked"}),s=(new l.default).retain(e.index).insert("\n",a).retain(n.length()-i-1).retain(1,{list:"unchecked"});this.quill.updateContents(s,d.default.sources.USER),this.quill.setSelection(e.index+1,d.default.sources.SILENT),this.quill.scrollIntoView()}},"header enter":{key:g.keys.ENTER,collapsed:!0,format:["header"],suffix:/^$/,handler:function(e,t){var r=this.quill.getLine(e.index),n=o(r,2),i=n[0],a=n[1],s=(new l.default).retain(e.index).insert("\n",t.format).retain(i.length()-a-1).retain(1,{header:null});this.quill.updateContents(s,d.default.sources.USER),this.quill.setSelection(e.index+1,d.default.sources.SILENT),this.quill.scrollIntoView()}},"list autofill":{key:" ",collapsed:!0,format:{list:!1},prefix:/^\s*?(\d+\.|-|\*|\[ ?\]|\[x\])$/,handler:function(e,t){var r=t.prefix.length,n=this.quill.getLine(e.index),i=o(n,2),a=i[0],s=i[1];if(s>r)return!0;var c=void 0;switch(t.prefix.trim()){case"[]":case"[ ]":c="unchecked";break;case"[x]":c="checked";break;case"-":case"*":c="bullet";break;default:c="ordered"}this.quill.insertText(e.index," ",d.default.sources.USER),this.quill.history.cutoff();var u=(new l.default).retain(e.index-s).delete(r+1).retain(a.length()-2-s).retain(1,{list:c});this.quill.updateContents(u,d.default.sources.USER),this.quill.history.cutoff(),this.quill.setSelection(e.index-r,d.default.sources.SILENT)}},"code exit":{key:g.keys.ENTER,collapsed:!0,format:["code-block"],prefix:/\n\n$/,suffix:/^\s+$/,handler:function(e){var t=this.quill.getLine(e.index),r=o(t,2),n=r[0],i=r[1],a=(new l.default).retain(e.index+n.length()-i-2).retain(1,{"code-block":null}).delete(1);this.quill.updateContents(a,d.default.sources.USER)}},"embed left":y(g.keys.LEFT,!1),"embed left shift":y(g.keys.LEFT,!0),"embed right":y(g.keys.RIGHT,!1),"embed right shift":y(g.keys.RIGHT,!0)}},t.default=g,t.SHORTKEY=A},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function e(t,r,n){null===t&&(t=Function.prototype);var o=Object.getOwnPropertyDescriptor(t,r);if(void 0===o){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,r,n)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(n):void 0},o=function(){function e(e,t){for(var r=0;r-1}a.blotName="link",a.tagName="A",a.SANITIZED_URL="about:blank",a.PROTOCOL_WHITELIST=["http","https","mailto","tel"],t.default=a,t.sanitize=s},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o=function(){function e(e,t){for(var r=0;r1&&void 0!==arguments[1]&&arguments[1],r=this.container.querySelector(".ql-selected");if(e!==r&&(null!=r&&r.classList.remove("ql-selected"),null!=e&&(e.classList.add("ql-selected"),this.select.selectedIndex=[].indexOf.call(e.parentNode.children,e),e.hasAttribute("data-value")?this.label.setAttribute("data-value",e.getAttribute("data-value")):this.label.removeAttribute("data-value"),e.hasAttribute("data-label")?this.label.setAttribute("data-label",e.getAttribute("data-label")):this.label.removeAttribute("data-label"),t))){if("function"==typeof Event)this.select.dispatchEvent(new Event("change"));else if("object"===("undefined"==typeof Event?"undefined":n(Event))){var o=document.createEvent("Event");o.initEvent("change",!0,!0),this.select.dispatchEvent(o)}this.close()}}},{key:"update",value:function(){var e=void 0;if(this.select.selectedIndex>-1){var t=this.container.querySelector(".ql-picker-options").children[this.select.selectedIndex];e=this.select.options[this.select.selectedIndex],this.selectItem(t)}else this.selectItem(null);var r=null!=e&&e!==this.select.querySelector("option[selected]");this.label.classList.toggle("ql-active",r)}}]),e}();t.default=u},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=v(r(0)),o=v(r(5)),i=r(4),a=v(i),s=v(r(16)),c=v(r(25)),l=v(r(24)),u=v(r(35)),f=v(r(6)),d=v(r(22)),p=v(r(7)),m=v(r(55)),h=v(r(42)),b=v(r(23));function v(e){return e&&e.__esModule?e:{default:e}}o.default.register({"blots/block":a.default,"blots/block/embed":i.BlockEmbed,"blots/break":s.default,"blots/container":c.default,"blots/cursor":l.default,"blots/embed":u.default,"blots/inline":f.default,"blots/scroll":d.default,"blots/text":p.default,"modules/clipboard":m.default,"modules/history":h.default,"modules/keyboard":b.default}),n.default.register(a.default,s.default,l.default,f.default,d.default,p.default),t.default=o.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(1),o=function(){function e(e){this.domNode=e,this.domNode[n.DATA_KEY]={blot:this}}return Object.defineProperty(e.prototype,"statics",{get:function(){return this.constructor},enumerable:!0,configurable:!0}),e.create=function(e){if(null==this.tagName)throw new n.ParchmentError("Blot definition missing tagName");var t;return Array.isArray(this.tagName)?("string"==typeof e&&(e=e.toUpperCase(),parseInt(e).toString()===e&&(e=parseInt(e))),t="number"==typeof e?document.createElement(this.tagName[e-1]):this.tagName.indexOf(e)>-1?document.createElement(e):document.createElement(this.tagName[0])):t=document.createElement(this.tagName),this.className&&t.classList.add(this.className),t},e.prototype.attach=function(){null!=this.parent&&(this.scroll=this.parent.scroll)},e.prototype.clone=function(){var e=this.domNode.cloneNode(!1);return n.create(e)},e.prototype.detach=function(){null!=this.parent&&this.parent.removeChild(this),delete this.domNode[n.DATA_KEY]},e.prototype.deleteAt=function(e,t){this.isolate(e,t).remove()},e.prototype.formatAt=function(e,t,r,o){var i=this.isolate(e,t);if(null!=n.query(r,n.Scope.BLOT)&&o)i.wrap(r,o);else if(null!=n.query(r,n.Scope.ATTRIBUTE)){var a=n.create(this.statics.scope);i.wrap(a),a.format(r,o)}},e.prototype.insertAt=function(e,t,r){var o=null==r?n.create("text",t):n.create(t,r),i=this.split(e);this.parent.insertBefore(o,i)},e.prototype.insertInto=function(e,t){void 0===t&&(t=null),null!=this.parent&&this.parent.children.remove(this);var r=null;e.children.insertBefore(this,t),null!=t&&(r=t.domNode),this.domNode.parentNode==e.domNode&&this.domNode.nextSibling==r||e.domNode.insertBefore(this.domNode,r),this.parent=e,this.attach()},e.prototype.isolate=function(e,t){var r=this.split(e);return r.split(t),r},e.prototype.length=function(){return 1},e.prototype.offset=function(e){return void 0===e&&(e=this.parent),null==this.parent||this==e?0:this.parent.children.offset(this)+this.parent.offset(e)},e.prototype.optimize=function(e){null!=this.domNode[n.DATA_KEY]&&delete this.domNode[n.DATA_KEY].mutations},e.prototype.remove=function(){null!=this.domNode.parentNode&&this.domNode.parentNode.removeChild(this.domNode),this.detach()},e.prototype.replace=function(e){null!=e.parent&&(e.parent.insertBefore(this,e.next),e.remove())},e.prototype.replaceWith=function(e,t){var r="string"==typeof e?n.create(e,t):e;return r.replace(this),r},e.prototype.split=function(e,t){return 0===e?this:this.next},e.prototype.update=function(e,t){},e.prototype.wrap=function(e,t){var r="string"==typeof e?n.create(e,t):e;return null!=this.parent&&this.parent.insertBefore(r,this.next),r.appendChild(this),r},e.blotName="abstract",e}();t.default=o},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(12),o=r(32),i=r(33),a=r(1),s=function(){function e(e){this.attributes={},this.domNode=e,this.build()}return e.prototype.attribute=function(e,t){t?e.add(this.domNode,t)&&(null!=e.value(this.domNode)?this.attributes[e.attrName]=e:delete this.attributes[e.attrName]):(e.remove(this.domNode),delete this.attributes[e.attrName])},e.prototype.build=function(){var e=this;this.attributes={};var t=n.default.keys(this.domNode),r=o.default.keys(this.domNode),s=i.default.keys(this.domNode);t.concat(r).concat(s).forEach((function(t){var r=a.query(t,a.Scope.ATTRIBUTE);r instanceof n.default&&(e.attributes[r.attrName]=r)}))},e.prototype.copy=function(e){var t=this;Object.keys(this.attributes).forEach((function(r){var n=t.attributes[r].value(t.domNode);e.format(r,n)}))},e.prototype.move=function(e){var t=this;this.copy(e),Object.keys(this.attributes).forEach((function(e){t.attributes[e].remove(t.domNode)})),this.attributes={}},e.prototype.values=function(){var e=this;return Object.keys(this.attributes).reduce((function(t,r){return t[r]=e.attributes[r].value(e.domNode),t}),{})},e}();t.default=s},function(e,t,r){"use strict";var n,o=this&&this.__extends||(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});function i(e,t){return(e.getAttribute("class")||"").split(/\s+/).filter((function(e){return 0===e.indexOf(t+"-")}))}Object.defineProperty(t,"__esModule",{value:!0});var a=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.keys=function(e){return(e.getAttribute("class")||"").split(/\s+/).map((function(e){return e.split("-").slice(0,-1).join("-")}))},t.prototype.add=function(e,t){return!!this.canAdd(e,t)&&(this.remove(e),e.classList.add(this.keyName+"-"+t),!0)},t.prototype.remove=function(e){i(e,this.keyName).forEach((function(t){e.classList.remove(t)})),0===e.classList.length&&e.removeAttribute("class")},t.prototype.value=function(e){var t=(i(e,this.keyName)[0]||"").slice(this.keyName.length+1);return this.canAdd(e,t)?t:""},t}(r(12).default);t.default=a},function(e,t,r){"use strict";var n,o=this&&this.__extends||(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});function i(e){var t=e.split("-"),r=t.slice(1).map((function(e){return e[0].toUpperCase()+e.slice(1)})).join("");return t[0]+r}Object.defineProperty(t,"__esModule",{value:!0});var a=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.keys=function(e){return(e.getAttribute("style")||"").split(";").map((function(e){return e.split(":")[0].trim()}))},t.prototype.add=function(e,t){return!!this.canAdd(e,t)&&(e.style[i(this.keyName)]=t,!0)},t.prototype.remove=function(e){e.style[i(this.keyName)]="",e.getAttribute("style")||e.removeAttribute("style")},t.prototype.value=function(e){var t=e.style[i(this.keyName)];return this.canAdd(e,t)?t:""},t}(r(12).default);t.default=a},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(e,t){for(var r=0;rn&&this.stack.undo.length>0){var o=this.stack.undo.pop();r=r.compose(o.undo),e=o.redo.compose(e)}else this.lastRecorded=n;this.stack.undo.push({redo:e,undo:r}),this.stack.undo.length>this.options.maxStack&&this.stack.undo.shift()}}},{key:"redo",value:function(){this.change("redo","undo")}},{key:"transform",value:function(e){this.stack.undo.forEach((function(t){t.undo=e.transform(t.undo,!0),t.redo=e.transform(t.redo,!0)})),this.stack.redo.forEach((function(t){t.undo=e.transform(t.undo,!0),t.redo=e.transform(t.redo,!0)}))}},{key:"undo",value:function(){this.change("undo","redo")}}]),t}(a(r(9)).default);function c(e){var t=e.reduce((function(e,t){return e+(t.delete||0)}),0),r=e.length()-t;return function(e){var t=e.ops[e.ops.length-1];return null!=t&&(null!=t.insert?"string"==typeof t.insert&&t.insert.endsWith("\n"):null!=t.attributes&&Object.keys(t.attributes).some((function(e){return null!=o.default.query(e,o.default.Scope.BLOCK)})))}(e)&&(r-=1),r}s.DEFAULTS={delay:1e3,maxStack:100,userOnly:!1},t.default=s,t.getLastChangeIndex=c},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.BaseTooltip=void 0;var n=function(){function e(e,t){for(var r=0;r0&&void 0!==arguments[0]?arguments[0]:"link",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;this.root.classList.remove("ql-hidden"),this.root.classList.add("ql-editing"),null!=t?this.textbox.value=t:e!==this.root.getAttribute("data-mode")&&(this.textbox.value=""),this.position(this.quill.getBounds(this.quill.selection.savedRange)),this.textbox.select(),this.textbox.setAttribute("placeholder",this.textbox.getAttribute("data-"+e)||""),this.root.setAttribute("data-mode",e)}},{key:"restoreFocus",value:function(){var e=this.quill.scrollingContainer.scrollTop;this.quill.focus(),this.quill.scrollingContainer.scrollTop=e}},{key:"save",value:function(){var e,t,r=this.textbox.value;switch(this.root.getAttribute("data-mode")){case"link":var n=this.quill.root.scrollTop;this.linkRange?(this.quill.formatText(this.linkRange,"link",r,s.default.sources.USER),delete this.linkRange):(this.restoreFocus(),this.quill.format("link",r,s.default.sources.USER)),this.quill.root.scrollTop=n;break;case"video":r=(t=(e=r).match(/^(?:(https?):\/\/)?(?:(?:www|m)\.)?youtube\.com\/watch.*v=([a-zA-Z0-9_-]+)/)||e.match(/^(?:(https?):\/\/)?(?:(?:www|m)\.)?youtu\.be\/([a-zA-Z0-9_-]+)/))?(t[1]||"https")+"://www.youtube.com/embed/"+t[2]+"?showinfo=0":(t=e.match(/^(?:(https?):\/\/)?(?:www\.)?vimeo\.com\/(\d+)/))?(t[1]||"https")+"://player.vimeo.com/video/"+t[2]+"/":e;case"formula":if(!r)break;var o=this.quill.getSelection(!0);if(null!=o){var i=o.index+o.length;this.quill.insertEmbed(i,this.root.getAttribute("data-mode"),r,s.default.sources.USER),"formula"===this.root.getAttribute("data-mode")&&this.quill.insertText(i+1," ",s.default.sources.USER),this.quill.setSelection(i+2,s.default.sources.USER)}}this.textbox.value="",this.hide()}}]),t}(p.default);function _(e,t){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];t.forEach((function(t){var n=document.createElement("option");t===r?n.setAttribute("selected","selected"):n.setAttribute("value",t),e.appendChild(n)}))}t.BaseTooltip=E,t.default=x},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(){this.head=this.tail=null,this.length=0}return e.prototype.append=function(){for(var e=[],t=0;t1&&this.append.apply(this,e.slice(1))},e.prototype.contains=function(e){for(var t,r=this.iterator();t=r();)if(t===e)return!0;return!1},e.prototype.insertBefore=function(e,t){e&&(e.next=t,null!=t?(e.prev=t.prev,null!=t.prev&&(t.prev.next=e),t.prev=e,t===this.head&&(this.head=e)):null!=this.tail?(this.tail.next=e,e.prev=this.tail,this.tail=e):(e.prev=null,this.head=this.tail=e),this.length+=1)},e.prototype.offset=function(e){for(var t=0,r=this.head;null!=r;){if(r===e)return t;t+=r.length(),r=r.next}return-1},e.prototype.remove=function(e){this.contains(e)&&(null!=e.prev&&(e.prev.next=e.next),null!=e.next&&(e.next.prev=e.prev),e===this.head&&(this.head=e.next),e===this.tail&&(this.tail=e.prev),this.length-=1)},e.prototype.iterator=function(e){return void 0===e&&(e=this.head),function(){var t=e;return null!=e&&(e=e.next),t}},e.prototype.find=function(e,t){void 0===t&&(t=!1);for(var r,n=this.iterator();r=n();){var o=r.length();if(ea?r(n,e-a,Math.min(t,a+c-e)):r(n,0,Math.min(c,e+t-a)),a+=c}},e.prototype.map=function(e){return this.reduce((function(t,r){return t.push(e(r)),t}),[])},e.prototype.reduce=function(e,t){for(var r,n=this.iterator();r=n();)t=e(t,r);return t},e}();t.default=n},function(e,t,r){"use strict";var n,o=this&&this.__extends||(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var i=r(17),a=r(1),s={attributes:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0},c=function(e){function t(t){var r=e.call(this,t)||this;return r.scroll=r,r.observer=new MutationObserver((function(e){r.update(e)})),r.observer.observe(r.domNode,s),r.attach(),r}return o(t,e),t.prototype.detach=function(){e.prototype.detach.call(this),this.observer.disconnect()},t.prototype.deleteAt=function(t,r){this.update(),0===t&&r===this.length()?this.children.forEach((function(e){e.remove()})):e.prototype.deleteAt.call(this,t,r)},t.prototype.formatAt=function(t,r,n,o){this.update(),e.prototype.formatAt.call(this,t,r,n,o)},t.prototype.insertAt=function(t,r,n){this.update(),e.prototype.insertAt.call(this,t,r,n)},t.prototype.optimize=function(t,r){var n=this;void 0===t&&(t=[]),void 0===r&&(r={}),e.prototype.optimize.call(this,r);for(var o=[].slice.call(this.observer.takeRecords());o.length>0;)t.push(o.pop());for(var s=function(e,t){void 0===t&&(t=!0),null!=e&&e!==n&&null!=e.domNode.parentNode&&(null==e.domNode[a.DATA_KEY].mutations&&(e.domNode[a.DATA_KEY].mutations=[]),t&&s(e.parent))},c=function(e){null!=e.domNode[a.DATA_KEY]&&null!=e.domNode[a.DATA_KEY].mutations&&(e instanceof i.default&&e.children.forEach(c),e.optimize(r))},l=t,u=0;l.length>0;u+=1){if(u>=100)throw new Error("[Parchment] Maximum optimize iterations reached");for(l.forEach((function(e){var t=a.find(e.target,!0);null!=t&&(t.domNode===e.target&&("childList"===e.type?(s(a.find(e.previousSibling,!1)),[].forEach.call(e.addedNodes,(function(e){var t=a.find(e,!1);s(t,!1),t instanceof i.default&&t.children.forEach((function(e){s(e,!1)}))}))):"attributes"===e.type&&s(t.prev)),s(t))})),this.children.forEach(c),o=(l=[].slice.call(this.observer.takeRecords())).slice();o.length>0;)t.push(o.pop())}},t.prototype.update=function(t,r){var n=this;void 0===r&&(r={}),(t=t||this.observer.takeRecords()).map((function(e){var t=a.find(e.target,!0);return null==t?null:null==t.domNode[a.DATA_KEY].mutations?(t.domNode[a.DATA_KEY].mutations=[e],t):(t.domNode[a.DATA_KEY].mutations.push(e),null)})).forEach((function(e){null!=e&&e!==n&&null!=e.domNode[a.DATA_KEY]&&e.update(e.domNode[a.DATA_KEY].mutations||[],r)})),null!=this.domNode[a.DATA_KEY].mutations&&e.prototype.update.call(this,this.domNode[a.DATA_KEY].mutations,r),this.optimize(t,r)},t.blotName="scroll",t.defaultChild="block",t.scope=a.Scope.BLOCK_BLOT,t.tagName="DIV",t}(i.default);t.default=c},function(e,t,r){"use strict";var n,o=this&&this.__extends||(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var i=r(18),a=r(1),s=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.formats=function(r){if(r.tagName!==t.tagName)return e.formats.call(this,r)},t.prototype.format=function(r,n){var o=this;r!==this.statics.blotName||n?e.prototype.format.call(this,r,n):(this.children.forEach((function(e){e instanceof i.default||(e=e.wrap(t.blotName,!0)),o.attributes.copy(e)})),this.unwrap())},t.prototype.formatAt=function(t,r,n,o){null!=this.formats()[n]||a.query(n,a.Scope.ATTRIBUTE)?this.isolate(t,r).format(n,o):e.prototype.formatAt.call(this,t,r,n,o)},t.prototype.optimize=function(r){e.prototype.optimize.call(this,r);var n=this.formats();if(0===Object.keys(n).length)return this.unwrap();var o=this.next;o instanceof t&&o.prev===this&&function(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var r in e)if(e[r]!==t[r])return!1;return!0}(n,o.formats())&&(o.moveChildren(this),o.remove())},t.blotName="inline",t.scope=a.Scope.INLINE_BLOT,t.tagName="SPAN",t}(i.default);t.default=s},function(e,t,r){"use strict";var n,o=this&&this.__extends||(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var i=r(18),a=r(1),s=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.formats=function(r){var n=a.query(t.blotName).tagName;if(r.tagName!==n)return e.formats.call(this,r)},t.prototype.format=function(r,n){null!=a.query(r,a.Scope.BLOCK)&&(r!==this.statics.blotName||n?e.prototype.format.call(this,r,n):this.replaceWith(t.blotName))},t.prototype.formatAt=function(t,r,n,o){null!=a.query(n,a.Scope.BLOCK)?this.format(n,o):e.prototype.formatAt.call(this,t,r,n,o)},t.prototype.insertAt=function(t,r,n){if(null==n||null!=a.query(r,a.Scope.INLINE))e.prototype.insertAt.call(this,t,r,n);else{var o=this.split(t),i=a.create(r,n);o.parent.insertBefore(i,o)}},t.prototype.update=function(t,r){navigator.userAgent.match(/Trident/)?this.build():e.prototype.update.call(this,t,r)},t.blotName="block",t.scope=a.Scope.BLOCK_BLOT,t.tagName="P",t}(i.default);t.default=s},function(e,t,r){"use strict";var n,o=this&&this.__extends||(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var i=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.formats=function(e){},t.prototype.format=function(t,r){e.prototype.formatAt.call(this,0,this.length(),t,r)},t.prototype.formatAt=function(t,r,n,o){0===t&&r===this.length()?this.format(n,o):e.prototype.formatAt.call(this,t,r,n,o)},t.prototype.formats=function(){return this.statics.formats(this.domNode)},t}(r(19).default);t.default=i},function(e,t,r){"use strict";var n,o=this&&this.__extends||(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var i=r(19),a=r(1),s=function(e){function t(t){var r=e.call(this,t)||this;return r.text=r.statics.value(r.domNode),r}return o(t,e),t.create=function(e){return document.createTextNode(e)},t.value=function(e){var t=e.data;return t.normalize&&(t=t.normalize()),t},t.prototype.deleteAt=function(e,t){this.domNode.data=this.text=this.text.slice(0,e)+this.text.slice(e+t)},t.prototype.index=function(e,t){return this.domNode===e?t:-1},t.prototype.insertAt=function(t,r,n){null==n?(this.text=this.text.slice(0,t)+r+this.text.slice(t),this.domNode.data=this.text):e.prototype.insertAt.call(this,t,r,n)},t.prototype.length=function(){return this.text.length},t.prototype.optimize=function(r){e.prototype.optimize.call(this,r),this.text=this.statics.value(this.domNode),0===this.text.length?this.remove():this.next instanceof t&&this.next.prev===this&&(this.insertAt(this.length(),this.next.value()),this.next.remove())},t.prototype.position=function(e,t){return void 0===t&&(t=!1),[this.domNode,e]},t.prototype.split=function(e,t){if(void 0===t&&(t=!1),!t){if(0===e)return this;if(e===this.length())return this.next}var r=a.create(this.domNode.splitText(e));return this.parent.insertBefore(r,this.next),this.text=this.statics.value(this.domNode),r},t.prototype.update=function(e,t){var r=this;e.some((function(e){return"characterData"===e.type&&e.target===r.domNode}))&&(this.text=this.statics.value(this.domNode))},t.prototype.value=function(){return this.text},t.blotName="text",t.scope=a.Scope.INLINE_BLOT,t}(i.default);t.default=s},function(e,t,r){"use strict";var n=document.createElement("div");if(n.classList.toggle("test-class",!1),n.classList.contains("test-class")){var o=DOMTokenList.prototype.toggle;DOMTokenList.prototype.toggle=function(e,t){return arguments.length>1&&!this.contains(e)==!t?t:o.call(this,e)}}String.prototype.startsWith||(String.prototype.startsWith=function(e,t){return t=t||0,this.substr(t,e.length)===e}),String.prototype.endsWith||(String.prototype.endsWith=function(e,t){var r=this.toString();("number"!=typeof t||!isFinite(t)||Math.floor(t)!==t||t>r.length)&&(t=r.length),t-=e.length;var n=r.indexOf(e,t);return-1!==n&&n===t}),Array.prototype.find||Object.defineProperty(Array.prototype,"find",{value:function(e){if(null===this)throw new TypeError("Array.prototype.find called on null or undefined");if("function"!=typeof e)throw new TypeError("predicate must be a function");for(var t,r=Object(this),n=r.length>>>0,o=arguments[1],i=0;it.length?e:t,f=e.length>t.length?t:e,d=u.indexOf(f);if(-1!=d)return l=[[n,u.substring(0,d)],[o,f],[n,u.substring(d+f.length)]],e.length>t.length&&(l[0][0]=l[2][0]=r),l;if(1==f.length)return[[r,e],[n,t]];var p=function(e,t){var r=e.length>t.length?e:t,n=e.length>t.length?t:e;if(r.length<4||2*n.length=e.length?[n,o,i,a,f]:null}var i,a,l,u,f,d=o(r,n,Math.ceil(r.length/4)),p=o(r,n,Math.ceil(r.length/2));return d||p?(i=p?d&&d[4].length>p[4].length?d:p:d,e.length>t.length?(a=i[0],l=i[1],u=i[2],f=i[3]):(u=i[0],f=i[1],a=i[2],l=i[3]),[a,l,u,f,i[4]]):null}(e,t);if(p){var m=p[0],h=p[1],b=p[2],v=p[3],A=p[4],g=i(m,b),y=i(h,v);return g.concat([[o,A]],y)}return function(e,t){for(var o=e.length,i=t.length,s=Math.ceil((o+i)/2),c=s,l=2*s,u=new Array(l),f=new Array(l),d=0;do)b+=2;else if(w>i)h+=2;else if(m&&(_=c+p-y)>=0&&_=(E=o-f[_]))return a(e,t,O,w)}for(var x=-g+v;x<=g-A;x+=2){for(var E,_=c+x,C=(E=x==-g||x!=g&&f[_-1]o)A+=2;else if(C>i)v+=2;else if(!m){var O;if((k=c+p-x)>=0&&k=(E=o-E)))return a(e,t,O,w)}}}return[[r,e],[n,t]]}(e,t)}(e=e.substring(0,e.length-d),t=t.substring(0,t.length-d));return p&&h.unshift([o,p]),m&&h.push([o,m]),l(h),null!=u&&(h=function(e,t){var n=function(e,t){if(0===t)return[o,e];for(var n=0,i=0;i0&&i.splice(a+2,0,[c[0],l]),f(i,a,3)}return e}(h,u)),function(e){for(var t=!1,i=function(e){return e.charCodeAt(0)>=56320&&e.charCodeAt(0)<=57343},a=2;a=55296&&s.charCodeAt(s.length-1)<=56319)&&e[a-1][0]===r&&i(e[a-1][1])&&e[a][0]===n&&i(e[a][1])&&(t=!0,e[a-1][1]=e[a-2][1].slice(-1)+e[a-1][1],e[a][1]=e[a-2][1].slice(-1)+e[a][1],e[a-2][1]=e[a-2][1].slice(0,-1));var s;if(!t)return e;var c=[];for(a=0;a0&&c.push(e[a]);return c}(h)}function a(e,t,r,n){var o=e.substring(0,r),a=t.substring(0,n),s=e.substring(r),c=t.substring(n),l=i(o,a),u=i(s,c);return l.concat(u)}function s(e,t){if(!e||!t||e.charAt(0)!=t.charAt(0))return 0;for(var r=0,n=Math.min(e.length,t.length),o=n,i=0;r1?(0!==a&&0!==u&&(0!==(t=s(d,f))&&(i-a-u>0&&e[i-a-u-1][0]==o?e[i-a-u-1][1]+=d.substring(0,t):(e.splice(0,0,[o,d.substring(0,t)]),i++),d=d.substring(t),f=f.substring(t)),0!==(t=c(d,f))&&(e[i][1]=d.substring(d.length-t)+e[i][1],d=d.substring(0,d.length-t),f=f.substring(0,f.length-t))),0===a?e.splice(i-u,a+u,[n,d]):0===u?e.splice(i-a,a+u,[r,f]):e.splice(i-a-u,a+u,[r,f],[n,d]),i=i-a-u+(a?1:0)+(u?1:0)+1):0!==i&&e[i-1][0]==o?(e[i-1][1]+=e[i][1],e.splice(i,1)):i++,u=0,a=0,f="",d=""}""===e[e.length-1][1]&&e.pop();var p=!1;for(i=1;i=0&&n>=t-1;n--)if(n+1=700)&&(r.bold=!0),Object.keys(r).length>0&&(t=O(t,r)),parseFloat(n.textIndent||0)>0&&(t=(new s.default).insert("\t").concat(t)),t}],["li",function(e,t){var r=c.default.query(e);if(null==r||"list-item"!==r.blotName||!q(t,"\n"))return t;for(var n=-1,o=e.parentNode;!o.classList.contains("ql-clipboard");)"list"===(c.default.query(o)||{}).blotName&&(n+=1),o=o.parentNode;return n<=0?t:t.compose((new s.default).retain(t.length()-1).retain(1,{indent:n}))}],["b",R.bind(R,"bold")],["i",R.bind(R,"italic")],["style",function(){return new s.default}]],E=[d.AlignAttribute,b.DirectionAttribute].reduce((function(e,t){return e[t.keyName]=t,e}),{}),_=[d.AlignStyle,p.BackgroundStyle,h.ColorStyle,b.DirectionStyle,v.FontStyle,A.SizeStyle].reduce((function(e,t){return e[t.keyName]=t,e}),{}),C=function(e){function t(e,r){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,r));return n.quill.root.addEventListener("paste",n.onPaste.bind(n)),n.container=n.quill.addContainer("ql-clipboard"),n.container.setAttribute("contenteditable",!0),n.container.setAttribute("tabindex",-1),n.matchers=[],x.concat(n.options.matchers).forEach((function(e){var t=o(e,2),i=t[0],a=t[1];(r.matchVisual||a!==T)&&n.addMatcher(i,a)})),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),i(t,[{key:"addMatcher",value:function(e,t){this.matchers.push([e,t])}},{key:"convert",value:function(e){if("string"==typeof e)return this.container.innerHTML=e.replace(/\>\r?\n +\<"),this.convert();var t=this.quill.getFormat(this.quill.selection.savedRange.index);if(t[m.default.blotName]){var r=this.container.innerText;return this.container.innerHTML="",(new s.default).insert(r,y({},m.default.blotName,t[m.default.blotName]))}var n=this.prepareMatching(),i=o(n,2),a=i[0],c=i[1],l=N(this.container,a,c);return q(l,"\n")&&null==l.ops[l.ops.length-1].attributes&&(l=l.compose((new s.default).retain(l.length()-1).delete(1))),k.log("convert",this.container.innerHTML,l),this.container.innerHTML="",l}},{key:"dangerouslyPasteHTML",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:l.default.sources.API;if("string"==typeof e)this.quill.setContents(this.convert(e),t),this.quill.setSelection(0,l.default.sources.SILENT);else{var n=this.convert(t);this.quill.updateContents((new s.default).retain(e).concat(n),r),this.quill.setSelection(e+n.length(),l.default.sources.SILENT)}}},{key:"onPaste",value:function(e){var t=this;if(!e.defaultPrevented&&this.quill.isEnabled()){var r=this.quill.getSelection(),n=(new s.default).retain(r.index),o=this.quill.scrollingContainer.scrollTop;this.container.focus(),this.quill.selection.update(l.default.sources.SILENT),setTimeout((function(){n=n.concat(t.convert()).delete(r.length),t.quill.updateContents(n,l.default.sources.USER),t.quill.setSelection(n.length()-r.length,l.default.sources.SILENT),t.quill.scrollingContainer.scrollTop=o,t.quill.focus()}),1)}}},{key:"prepareMatching",value:function(){var e=this,t=[],r=[];return this.matchers.forEach((function(n){var i=o(n,2),a=i[0],s=i[1];switch(a){case Node.TEXT_NODE:r.push(s);break;case Node.ELEMENT_NODE:t.push(s);break;default:[].forEach.call(e.container.querySelectorAll(a),(function(e){e[w]=e[w]||[],e[w].push(s)}))}})),[t,r]}}]),t}(f.default);function O(e,t,r){return"object"===(void 0===t?"undefined":n(t))?Object.keys(t).reduce((function(e,r){return O(e,r,t[r])}),e):e.reduce((function(e,n){return n.attributes&&n.attributes[t]?e.push(n):e.insert(n.insert,(0,a.default)({},y({},t,r),n.attributes))}),new s.default)}function S(e){if(e.nodeType!==Node.ELEMENT_NODE)return{};var t="__ql-computed-style";return e[t]||(e[t]=window.getComputedStyle(e))}function q(e,t){for(var r="",n=e.ops.length-1;n>=0&&r.length-1}function N(e,t,r){return e.nodeType===e.TEXT_NODE?r.reduce((function(t,r){return r(e,t)}),new s.default):e.nodeType===e.ELEMENT_NODE?[].reduce.call(e.childNodes||[],(function(n,o){var i=N(o,t,r);return o.nodeType===e.ELEMENT_NODE&&(i=t.reduce((function(e,t){return t(o,e)}),i),i=(o[w]||[]).reduce((function(e,t){return t(o,e)}),i)),n.concat(i)}),new s.default):new s.default}function R(e,t,r){return O(r,e,!0)}function j(e,t){var r=c.default.Attributor.Attribute.keys(e),n=c.default.Attributor.Class.keys(e),o=c.default.Attributor.Style.keys(e),i={};return r.concat(n).concat(o).forEach((function(t){var r=c.default.query(t,c.default.Scope.ATTRIBUTE);null!=r&&(i[r.attrName]=r.value(e),i[r.attrName])||(null==(r=E[t])||r.attrName!==t&&r.keyName!==t||(i[r.attrName]=r.value(e)||void 0),null==(r=_[t])||r.attrName!==t&&r.keyName!==t||(r=_[t],i[r.attrName]=r.value(e)||void 0))})),Object.keys(i).length>0&&(t=O(t,i)),t}function L(e,t){var r=c.default.query(e);if(null==r)return t;if(r.prototype instanceof c.default.Embed){var n={},o=r.value(e);null!=o&&(n[r.blotName]=o,t=(new s.default).insert(n,r.formats(e)))}else"function"==typeof r.formats&&(t=O(t,r.blotName,r.formats(e)));return t}function I(e,t){return q(t,"\n")||(P(e)||t.length()>0&&e.nextSibling&&P(e.nextSibling))&&t.insert("\n"),t}function T(e,t){if(P(e)&&null!=e.nextElementSibling&&!q(t,"\n\n")){var r=e.offsetHeight+parseFloat(S(e).marginTop)+parseFloat(S(e).marginBottom);e.nextElementSibling.offsetTop>e.offsetTop+1.5*r&&t.insert("\n")}return t}function M(e,t){var r=e.data;if("O:P"===e.parentNode.tagName)return t.insert(r.trim());if(0===r.trim().length&&e.parentNode.classList.contains("ql-clipboard"))return t;if(!S(e.parentNode).whiteSpace.startsWith("pre")){var n=function(e,t){return(t=t.replace(/[^\u00a0]/g,"")).length<1&&e?" ":t};r=(r=r.replace(/\r\n/g," ").replace(/\n/g," ")).replace(/\s\s+/g,n.bind(n,!0)),(null==e.previousSibling&&P(e.parentNode)||null!=e.previousSibling&&P(e.previousSibling))&&(r=r.replace(/^\s+/,n.bind(n,!1))),(null==e.nextSibling&&P(e.parentNode)||null!=e.nextSibling&&P(e.nextSibling))&&(r=r.replace(/\s+$/,n.bind(n,!1)))}return t.insert(r)}C.DEFAULTS={matchers:[],matchVisual:!0},t.default=C,t.matchAttributor=j,t.matchBlot=L,t.matchNewline=I,t.matchSpacing=T,t.matchText=M},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,o=function(){function e(e,t){for(var r=0;r '},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,o=function(){function e(e,t){for(var r=0;rn.right&&(i=n.right-o.right,this.root.style.left=t+i+"px"),o.leftn.bottom){var a=o.bottom-o.top,s=e.bottom-e.top+a;this.root.style.top=r-s+"px",this.root.classList.add("ql-flip")}return i}},{key:"show",value:function(){this.root.classList.remove("ql-editing"),this.root.classList.remove("ql-hidden")}}]),e}();t.default=o},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function e(t,r,n){null===t&&(t=Function.prototype);var o=Object.getOwnPropertyDescriptor(t,r);if(void 0===o){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,r,n)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(n):void 0},o=function(){function e(e,t){for(var r=0;r','','',''].join(""),t.default=v},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=I(r(29)),o=r(36),i=r(38),a=r(64),s=I(r(65)),c=I(r(66)),l=r(67),u=I(l),f=r(37),d=r(26),p=r(39),m=r(40),h=I(r(56)),b=I(r(68)),v=I(r(27)),A=I(r(69)),g=I(r(70)),y=I(r(71)),k=I(r(72)),w=I(r(73)),x=r(13),E=I(x),_=I(r(74)),C=I(r(75)),O=I(r(57)),S=I(r(41)),q=I(r(28)),P=I(r(59)),N=I(r(60)),R=I(r(61)),j=I(r(108)),L=I(r(62));function I(e){return e&&e.__esModule?e:{default:e}}n.default.register({"attributors/attribute/direction":i.DirectionAttribute,"attributors/class/align":o.AlignClass,"attributors/class/background":f.BackgroundClass,"attributors/class/color":d.ColorClass,"attributors/class/direction":i.DirectionClass,"attributors/class/font":p.FontClass,"attributors/class/size":m.SizeClass,"attributors/style/align":o.AlignStyle,"attributors/style/background":f.BackgroundStyle,"attributors/style/color":d.ColorStyle,"attributors/style/direction":i.DirectionStyle,"attributors/style/font":p.FontStyle,"attributors/style/size":m.SizeStyle},!0),n.default.register({"formats/align":o.AlignClass,"formats/direction":i.DirectionClass,"formats/indent":a.IndentClass,"formats/background":f.BackgroundStyle,"formats/color":d.ColorStyle,"formats/font":p.FontClass,"formats/size":m.SizeClass,"formats/blockquote":s.default,"formats/code-block":E.default,"formats/header":c.default,"formats/list":u.default,"formats/bold":h.default,"formats/code":x.Code,"formats/italic":b.default,"formats/link":v.default,"formats/script":A.default,"formats/strike":g.default,"formats/underline":y.default,"formats/image":k.default,"formats/video":w.default,"formats/list/item":l.ListItem,"modules/formula":_.default,"modules/syntax":C.default,"modules/toolbar":O.default,"themes/bubble":j.default,"themes/snow":L.default,"ui/icons":S.default,"ui/picker":q.default,"ui/icon-picker":N.default,"ui/color-picker":P.default,"ui/tooltip":R.default},!0),t.default=n.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.IndentClass=void 0;var n,o=function(){function e(e,t){for(var r=0;r0&&this.children.tail.format(e,t)}},{key:"formats",value:function(){return e={},t=this.statics.blotName,r=this.statics.formats(this.domNode),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e;var e,t,r}},{key:"insertBefore",value:function(e,r){if(e instanceof d)o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"insertBefore",this).call(this,e,r);else{var n=null==r?this.length():r.offset(this),i=this.split(n);i.parent.insertBefore(e,i)}}},{key:"optimize",value:function(e){o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"optimize",this).call(this,e);var r=this.next;null!=r&&r.prev===this&&r.statics.blotName===this.statics.blotName&&r.domNode.tagName===this.domNode.tagName&&r.domNode.getAttribute("data-checked")===this.domNode.getAttribute("data-checked")&&(r.moveChildren(this),r.remove())}},{key:"replace",value:function(e){if(e.statics.blotName!==this.statics.blotName){var r=i.default.create(this.statics.defaultChild);e.moveChildren(r),this.appendChild(r)}o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"replace",this).call(this,e)}}]),t}(s.default);p.blotName="list",p.scope=i.default.Scope.BLOCK_BLOT,p.tagName=["OL","UL"],p.defaultChild="list-item",p.allowedChildren=[d],t.ListItem=d,t.default=p},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,o=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t}(((n=r(56))&&n.__esModule?n:{default:n}).default);o.blotName="italic",o.tagName=["EM","I"],t.default=o},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,o=function(){function e(e,t){for(var r=0;r-1?r?this.domNode.setAttribute(e,r):this.domNode.removeAttribute(e):i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"format",this).call(this,e,r)}}],[{key:"create",value:function(e){var r=i(t.__proto__||Object.getPrototypeOf(t),"create",this).call(this,e);return"string"==typeof e&&r.setAttribute("src",this.sanitize(e)),r}},{key:"formats",value:function(e){return c.reduce((function(t,r){return e.hasAttribute(r)&&(t[r]=e.getAttribute(r)),t}),{})}},{key:"match",value:function(e){return/\.(jpe?g|gif|png)$/.test(e)||/^data:image\/.+;base64/.test(e)}},{key:"sanitize",value:function(e){return(0,s.sanitize)(e,["http","https","data"])?e:"//:0"}},{key:"value",value:function(e){return e.getAttribute("src")}}]),t}(a.default.Embed);l.blotName="image",l.tagName="IMG",t.default=l},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,o=function(){function e(e,t){for(var r=0;r-1?r?this.domNode.setAttribute(e,r):this.domNode.removeAttribute(e):i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"format",this).call(this,e,r)}}],[{key:"create",value:function(e){var r=i(t.__proto__||Object.getPrototypeOf(t),"create",this).call(this,e);return r.setAttribute("frameborder","0"),r.setAttribute("allowfullscreen",!0),r.setAttribute("src",this.sanitize(e)),r}},{key:"formats",value:function(e){return c.reduce((function(t,r){return e.hasAttribute(r)&&(t[r]=e.getAttribute(r)),t}),{})}},{key:"sanitize",value:function(e){return s.default.sanitize(e)}},{key:"value",value:function(e){return e.getAttribute("src")}}]),t}(a.BlockEmbed);l.blotName="video",l.className="ql-video",l.tagName="IFRAME",t.default=l},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.FormulaBlot=void 0;var n=function(){function e(e,t){for(var r=0;r0||null==this.cachedText)&&(this.domNode.innerHTML=e(t),this.domNode.normalize(),this.attach()),this.cachedText=t)}}]),t}(c(r(13)).default);d.className="ql-syntax";var p=new i.default.Attributor.Class("token","hljs",{scope:i.default.Scope.INLINE}),m=function(e){function t(e,r){l(this,t);var n=u(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,r));if("function"!=typeof n.options.highlight)throw new Error("Syntax module requires highlight.js. Please include the library on the page before Quill.");var o=null;return n.quill.on(a.default.events.SCROLL_OPTIMIZE,(function(){clearTimeout(o),o=setTimeout((function(){n.highlight(),o=null}),n.options.interval)})),n.highlight(),n}return f(t,e),n(t,null,[{key:"register",value:function(){a.default.register(p,!0),a.default.register(d,!0)}}]),n(t,[{key:"highlight",value:function(){var e=this;if(!this.quill.selection.composing){this.quill.update(a.default.sources.USER);var t=this.quill.getSelection();this.quill.scroll.descendants(d).forEach((function(t){t.highlight(e.options.highlight)})),this.quill.update(a.default.sources.SILENT),null!=t&&this.quill.setSelection(t,a.default.sources.SILENT)}}}]),t}(s.default);m.DEFAULTS={highlight:null==window.hljs?null:function(e){return window.hljs.highlightAuto(e).value},interval:1e3},t.CodeBlock=d,t.CodeToken=p,t.default=m},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.BubbleTooltip=void 0;var n=function e(t,r,n){null===t&&(t=Function.prototype);var o=Object.getOwnPropertyDescriptor(t,r);if(void 0===o){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,r,n)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(n):void 0},o=function(){function e(e,t){for(var r=0;r0&&o===a.default.sources.USER){n.show(),n.root.style.left="0px",n.root.style.width="",n.root.style.width=n.root.offsetWidth+"px";var i=n.quill.getLines(t.index,t.length);if(1===i.length)n.position(n.quill.getBounds(t));else{var s=i[i.length-1],c=n.quill.getIndex(s),u=Math.min(s.length()-1,t.index+t.length-c),f=n.quill.getBounds(new l.Range(c,u));n.position(f)}}else document.activeElement!==n.textbox&&n.quill.hasFocus()&&n.hide()})),n}return m(t,e),o(t,[{key:"listen",value:function(){var e=this;n(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"listen",this).call(this),this.root.querySelector(".ql-close").addEventListener("click",(function(){e.root.classList.remove("ql-editing")})),this.quill.on(a.default.events.SCROLL_OPTIMIZE,(function(){setTimeout((function(){if(!e.root.classList.contains("ql-hidden")){var t=e.quill.getSelection();null!=t&&e.position(e.quill.getBounds(t))}}),1)}))}},{key:"cancel",value:function(){this.show()}},{key:"position",value:function(e){var r=n(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"position",this).call(this,e),o=this.root.querySelector(".ql-tooltip-arrow");if(o.style.marginLeft="",0===r)return r;o.style.marginLeft=-1*r-o.offsetWidth/2+"px"}}]),t}(s.BaseTooltip);v.TEMPLATE=['','
','','',"
"].join(""),t.BubbleTooltip=v,t.default=b},function(e,t,r){e.exports=r(63)}]).default},e.exports=t()},5729:(e,t,r)=>{"use strict";r.d(t,{Z:()=>n});const n=function(e){var t=[],r=null,n=function(){for(var n=arguments.length,o=new Array(n),i=0;i{"use strict";r.d(t,{Z5:()=>en,_l:()=>Nn,bK:()=>In});var n=r(9196),o=r.n(n),i=r(4578),a=r(7462),s=r(4890),c=r(533),l=r(1163),u=r(7642),f=r(845),d=r(5729),p=r(1850),m=r.n(p);function h(e,t){}function b(){}function v(e,t,r){var n=t.map((function(t){var n,o,i=(n=r,o=t.options,(0,a.Z)({},n,{},o));return e.addEventListener(t.eventName,t.fn,i),function(){e.removeEventListener(t.eventName,t.fn,i)}}));return function(){n.forEach((function(e){e()}))}}h.bind(null,"warn"),h.bind(null,"error");var A=!0,g="Invariant failed";function y(e){this.message=e}function k(e,t){if(!e)throw new y(A?g:g+": "+(t||""))}y.prototype.toString=function(){return this.message};var w=function(e){function t(){for(var t,r=arguments.length,n=new Array(r),o=0;o");return t.callbacks},t.setCallbacks=function(e){t.callbacks=e},t}(0,i.Z)(t,e);var r=t.prototype;return r.componentDidMount=function(){this.unbind=v(window,[{eventName:"error",fn:this.onWindowError}])},r.componentDidCatch=function(e){if(!(e instanceof y))throw e;this.setState({})},r.componentWillUnmount=function(){this.unbind()},r.render=function(){return this.props.children(this.setCallbacks)},t}(o().Component),x=function(e){return e+1},E=function(e,t){var r=e.droppableId===t.droppableId,n=x(e.index),o=x(t.index);return r?"\n You have moved the item from position "+n+"\n to position "+o+"\n ":"\n You have moved the item from position "+n+"\n in list "+e.droppableId+"\n to list "+t.droppableId+"\n in position "+o+"\n "},_=function(e,t,r){return t.droppableId===r.droppableId?"\n The item "+e+"\n has been combined with "+r.draggableId:"\n The item "+e+"\n in list "+t.droppableId+"\n has been combined with "+r.draggableId+"\n in list "+r.droppableId+"\n "},C=function(e){return"\n The item has returned to its starting position\n of "+x(e.index)+"\n"},O={dragHandleUsageInstructions:"\n Press space bar to start a drag.\n When dragging you can use the arrow keys to move the item around and escape to cancel.\n Some screen readers may require you to be in focus mode or to use your pass through key\n",onDragStart:function(e){return"\n You have lifted an item in position "+x(e.source.index)+"\n"},onDragUpdate:function(e){var t=e.destination;if(t)return E(e.source,t);var r=e.combine;return r?_(e.draggableId,e.source,r):"You are over an area that cannot be dropped on"},onDragEnd:function(e){if("CANCEL"===e.reason)return"\n Movement cancelled.\n "+C(e.source)+"\n ";var t=e.destination,r=e.combine;return t?"\n You have dropped the item.\n "+E(e.source,t)+"\n ":r?"\n You have dropped the item.\n "+_(e.draggableId,e.source,r)+"\n ":"\n The item has been dropped while not over a drop area.\n "+C(e.source)+"\n "}},S={x:0,y:0},q=function(e,t){return{x:e.x+t.x,y:e.y+t.y}},P=function(e,t){return{x:e.x-t.x,y:e.y-t.y}},N=function(e,t){return e.x===t.x&&e.y===t.y},R=function(e){return{x:0!==e.x?-e.x:0,y:0!==e.y?-e.y:0}},j=function(e,t,r){var n;return void 0===r&&(r=0),(n={})[e]=t,n["x"===e?"y":"x"]=r,n},L=function(e,t){return Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2))},I=function(e,t){return Math.min.apply(Math,t.map((function(t){return L(e,t)})))},T=function(e){return function(t){return{x:e(t.x),y:e(t.y)}}},M=function(e,t){return{top:e.top+t.y,left:e.left+t.x,bottom:e.bottom+t.y,right:e.right+t.x}},V=function(e){return[{x:e.left,y:e.top},{x:e.right,y:e.top},{x:e.left,y:e.bottom},{x:e.right,y:e.bottom}]},D=function(e,t){return t&&t.shouldClipSubject?function(e,t){var r=(0,u.Dz)({top:Math.max(t.top,e.top),right:Math.min(t.right,e.right),bottom:Math.min(t.bottom,e.bottom),left:Math.max(t.left,e.left)});return r.width<=0||r.height<=0?null:r}(t.pageMarginBox,e):(0,u.Dz)(e)},B=function(e){var t=e.page,r=e.withPlaceholder,n=e.axis,o=e.frame,i=function(e,t){return t?M(e,t.scroll.diff.displacement):e}(t.marginBox,o),s=function(e,t,r){var n;return r&&r.increasedBy?(0,a.Z)({},e,((n={})[t.end]=e[t.end]+r.increasedBy[t.line],n)):e}(i,n,r);return{page:t,withPlaceholder:r,active:D(s,o)}},F=function(e,t){e.frame||k(!1);var r=e.frame,n=P(t,r.scroll.initial),o=R(n),i=(0,a.Z)({},r,{scroll:{initial:r.scroll.initial,current:t,diff:{value:n,displacement:o},max:r.scroll.max}}),s=B({page:e.subject.page,withPlaceholder:e.subject.withPlaceholder,axis:e.axis,frame:i});return(0,a.Z)({},e,{frame:i,subject:s})};function H(e){return Object.values?Object.values(e):Object.keys(e).map((function(t){return e[t]}))}function U(e,t){if(e.findIndex)return e.findIndex(t);for(var r=0;re.bottom,s=n.lefte.right;return!(!a||!s)||a&&i||s&&o}},ae=function(e){var t=oe(e.top,e.bottom),r=oe(e.left,e.right);return function(e){return t(e.top)&&t(e.bottom)&&r(e.left)&&r(e.right)}},se={direction:"vertical",line:"y",crossAxisLine:"x",start:"top",end:"bottom",size:"height",crossAxisStart:"left",crossAxisEnd:"right",crossAxisSize:"width"},ce={direction:"horizontal",line:"x",crossAxisLine:"y",start:"left",end:"right",size:"width",crossAxisStart:"top",crossAxisEnd:"bottom",crossAxisSize:"height"},le=function(e){var t=e.target,r=e.destination,n=e.viewport,o=e.withDroppableDisplacement,i=e.isVisibleThroughFrameFn,a=o?function(e,t){var r=t.frame?t.frame.scroll.diff.displacement:S;return M(e,r)}(t,r):t;return function(e,t,r){return!!t.subject.active&&r(t.subject.active)(e)}(a,r,i)&&function(e,t,r){return r(t)(e)}(a,n,i)},ue=function(e){return le((0,a.Z)({},e,{isVisibleThroughFrameFn:ie}))},fe=function(e){return le((0,a.Z)({},e,{isVisibleThroughFrameFn:ae}))},de=function(e,t,r){if("boolean"==typeof r)return r;if(!t)return!0;var n=t.invisible,o=t.visible;if(n[e])return!1;var i=o[e];return!i||i.shouldAnimate};function pe(e){var t=e.afterDragging,r=e.destination,n=e.displacedBy,o=e.viewport,i=e.forceShouldAnimate,a=e.last;return t.reduce((function(e,t){var s=function(e,t){var r=e.page.marginBox,n={top:t.point.y,right:0,bottom:0,left:t.point.x};return(0,u.Dz)((0,u.jn)(r,n))}(t,n),c=t.descriptor.id;if(e.all.push(c),!ue({target:s,destination:r,viewport:o,withDroppableDisplacement:!0}))return e.invisible[t.descriptor.id]=!0,e;var l={draggableId:c,shouldAnimate:de(c,a,i)};return e.visible[c]=l,e}),{all:[],visible:{},invisible:{}})}function me(e){var t=e.insideDestination,r=e.inHomeList,n=e.displacedBy,o=e.destination,i=function(e,t){if(!e.length)return 0;var r=e[e.length-1].descriptor.index;return t.inHomeList?r:r+1}(t,{inHomeList:r});return{displaced:re,displacedBy:n,at:{type:"REORDER",destination:{droppableId:o.descriptor.id,index:i}}}}function he(e){var t=e.draggable,r=e.insideDestination,n=e.destination,o=e.viewport,i=e.displacedBy,a=e.last,s=e.index,c=e.forceShouldAnimate,l=ee(t,n);if(null==s)return me({insideDestination:r,inHomeList:l,displacedBy:i,destination:n});var u=z(r,(function(e){return e.descriptor.index===s}));if(!u)return me({insideDestination:r,inHomeList:l,displacedBy:i,destination:n});var f=$(t,r),d=r.indexOf(u);return{displaced:pe({afterDragging:f.slice(d),destination:n,displacedBy:i,last:a,viewport:o.frame,forceShouldAnimate:c}),displacedBy:i,at:{type:"REORDER",destination:{droppableId:n.descriptor.id,index:s}}}}function be(e,t){return Boolean(t.effected[e])}var ve=function(e,t){return t.margin[e.start]+t.borderBox[e.size]/2},Ae=function(e,t,r){return t[e.crossAxisStart]+r.margin[e.crossAxisStart]+r.borderBox[e.crossAxisSize]/2},ge=function(e){var t=e.axis,r=e.moveRelativeTo,n=e.isMoving;return j(t.line,r.marginBox[t.end]+ve(t,n),Ae(t,r.marginBox,n))},ye=function(e){var t=e.axis,r=e.moveRelativeTo,n=e.isMoving;return j(t.line,r.marginBox[t.start]-function(e,t){return t.margin[e.end]+t.borderBox[e.size]/2}(t,n),Ae(t,r.marginBox,n))},ke=function(e,t){var r=e.frame;return r?q(t,r.scroll.diff.displacement):t},we=function(e){var t=function(e){var t=e.impact,r=e.draggable,n=e.droppable,o=e.draggables,i=e.afterCritical,a=r.page.borderBox.center,s=t.at;return n&&s?"REORDER"===s.type?function(e){var t=e.impact,r=e.draggable,n=e.draggables,o=e.droppable,i=e.afterCritical,a=Y(o.descriptor.id,n),s=r.page,c=o.axis;if(!a.length)return function(e){var t=e.axis,r=e.moveInto,n=e.isMoving;return j(t.line,r.contentBox[t.start]+ve(t,n),Ae(t,r.contentBox,n))}({axis:c,moveInto:o.page,isMoving:s});var l=t.displaced,f=t.displacedBy,d=l.all[0];if(d){var p=n[d];if(be(d,i))return ye({axis:c,moveRelativeTo:p.page,isMoving:s});var m=(0,u.cv)(p.page,f.point);return ye({axis:c,moveRelativeTo:m,isMoving:s})}var h=a[a.length-1];if(h.descriptor.id===r.descriptor.id)return s.borderBox.center;if(be(h.descriptor.id,i)){var b=(0,u.cv)(h.page,R(i.displacedBy.point));return ge({axis:c,moveRelativeTo:b,isMoving:s})}return ge({axis:c,moveRelativeTo:h.page,isMoving:s})}({impact:t,draggable:r,draggables:o,droppable:n,afterCritical:i}):function(e){var t=e.afterCritical,r=e.impact,n=e.draggables,o=J(r);o||k(!1);var i=o.draggableId,a=n[i].page.borderBox.center,s=function(e){var t=e.displaced,r=e.afterCritical,n=e.combineWith,o=e.displacedBy,i=Boolean(t.visible[n]||t.invisible[n]);return be(n,r)?i?S:R(o.point):i?o.point:S}({displaced:r.displaced,afterCritical:t,combineWith:i,displacedBy:r.displacedBy});return q(a,s)}({impact:t,draggables:o,afterCritical:i}):a}(e),r=e.droppable;return r?ke(r,t):t},xe=function(e,t){var r=P(t,e.scroll.initial),n=R(r);return{frame:(0,u.Dz)({top:t.y,bottom:t.y+e.frame.height,left:t.x,right:t.x+e.frame.width}),scroll:{initial:e.scroll.initial,max:e.scroll.max,current:t,diff:{value:r,displacement:n}}}};function Ee(e,t){return e.map((function(e){return t[e]}))}var _e=function(e){var t,r,n=e.pageBorderBoxCenter,o=e.draggable,i=(t=e.viewport,r=n,q(t.scroll.diff.displacement,r)),a=P(i,o.page.borderBox.center);return q(o.client.borderBox.center,a)},Ce=function(e){var t=e.draggable,r=e.destination,n=e.newPageBorderBoxCenter,o=e.viewport,i=e.withDroppableDisplacement,s=e.onlyOnMainAxis,c=void 0!==s&&s,l=P(n,t.page.borderBox.center),u={target:M(t.page.borderBox,l),destination:r,withDroppableDisplacement:i,viewport:o};return c?function(e){return le((0,a.Z)({},e,{isVisibleThroughFrameFn:(t=e.destination.axis,function(e){var r=oe(e.top,e.bottom),n=oe(e.left,e.right);return function(e){return t===se?r(e.top)&&r(e.bottom):n(e.left)&&n(e.right)}})}));var t}(u):fe(u)},Oe=function(e){var t=e.isMovingForward,r=e.draggable,n=e.destination,o=e.draggables,i=e.previousImpact,s=e.viewport,c=e.previousPageBorderBoxCenter,l=e.previousClientSelection,u=e.afterCritical;if(!n.isEnabled)return null;var f=Y(n.descriptor.id,o),d=ee(r,n),p=function(e){var t=e.isMovingForward,r=e.draggable,n=e.destination,o=e.insideDestination,i=e.previousImpact;if(!n.isCombineEnabled)return null;if(!G(i))return null;function s(e){var t={type:"COMBINE",combine:{draggableId:e,droppableId:n.descriptor.id}};return(0,a.Z)({},i,{at:t})}var c=i.displaced.all,l=c.length?c[0]:null;if(t)return l?s(l):null;var u=$(r,o);if(!l)return u.length?s(u[u.length-1].descriptor.id):null;var f=U(u,(function(e){return e.descriptor.id===l}));-1===f&&k(!1);var d=f-1;return d<0?null:s(u[d].descriptor.id)}({isMovingForward:t,draggable:r,destination:n,insideDestination:f,previousImpact:i})||function(e){var t=e.isMovingForward,r=e.isInHomeList,n=e.draggable,o=e.draggables,i=e.destination,a=e.insideDestination,s=e.previousImpact,c=e.viewport,l=e.afterCritical,u=s.at;if(u||k(!1),"REORDER"===u.type){var f=function(e){var t=e.isMovingForward,r=e.isInHomeList,n=e.insideDestination,o=e.location;if(!n.length)return null;var i=o.index,a=t?i+1:i-1,s=n[0].descriptor.index,c=n[n.length-1].descriptor.index;return a(r?c:c+1)?null:a}({isMovingForward:t,isInHomeList:r,location:u.destination,insideDestination:a});return null==f?null:he({draggable:n,insideDestination:a,destination:i,viewport:c,last:s.displaced,displacedBy:s.displacedBy,index:f})}var d=function(e){var t=e.isMovingForward,r=e.draggables,n=e.combine,o=e.afterCritical;if(!e.destination.isCombineEnabled)return null;var i=n.draggableId,a=r[i].descriptor.index;return be(i,o)?t?a:a-1:t?a+1:a}({isMovingForward:t,destination:i,displaced:s.displaced,draggables:o,combine:u.combine,afterCritical:l});return null==d?null:he({draggable:n,insideDestination:a,destination:i,viewport:c,last:s.displaced,displacedBy:s.displacedBy,index:d})}({isMovingForward:t,isInHomeList:d,draggable:r,draggables:o,destination:n,insideDestination:f,previousImpact:i,viewport:s,afterCritical:u});if(!p)return null;var m=we({impact:p,draggable:r,droppable:n,draggables:o,afterCritical:u});if(Ce({draggable:r,destination:n,newPageBorderBoxCenter:m,viewport:s.frame,withDroppableDisplacement:!1,onlyOnMainAxis:!0}))return{clientSelection:_e({pageBorderBoxCenter:m,draggable:r,viewport:s}),impact:p,scrollJumpRequest:null};var h=P(m,c),b=function(e){var t=e.impact,r=e.viewport,n=e.destination,o=e.draggables,i=e.maxScrollChange,s=xe(r,q(r.scroll.current,i)),c=n.frame?F(n,q(n.frame.scroll.current,i)):n,l=t.displaced,u=pe({afterDragging:Ee(l.all,o),destination:n,displacedBy:t.displacedBy,viewport:s.frame,last:l,forceShouldAnimate:!1}),f=pe({afterDragging:Ee(l.all,o),destination:c,displacedBy:t.displacedBy,viewport:r.frame,last:l,forceShouldAnimate:!1}),d={},p={},m=[l,u,f];return l.all.forEach((function(e){var t=function(e,t){for(var r=0;r1?u.sort((function(e,t){return Se(e)[s.start]-Se(t)[s.start]}))[0]:l.sort((function(e,t){var n=I(r,V(Se(e))),o=I(r,V(Se(t)));return n!==o?n-o:Se(e)[s.start]-Se(t)[s.start]}))[0]}({isMovingForward:t,pageBorderBoxCenter:r,source:o,droppables:a,viewport:s});if(!l)return null;var u=Y(l.descriptor.id,i),f=function(e){var t=e.pageBorderBoxCenter,r=e.viewport,n=e.destination,o=e.afterCritical,i=e.insideDestination.filter((function(e){return fe({target:Pe(e,o),destination:n,viewport:r.frame,withDroppableDisplacement:!0})})).sort((function(e,r){var i=L(t,ke(n,qe(e,o))),a=L(t,ke(n,qe(r,o)));return in.left&&r.topn.top))return!1;if(Me(o)(t.center))return!0;var i=e.axis,a=o.center[i.crossAxisLine],s=t[i.crossAxisStart],c=t[i.crossAxisEnd],l=oe(o[i.crossAxisStart],o[i.crossAxisEnd]),u=l(s),f=l(c);return!u&&!f||(u?sa)}));return o.length?1===o.length?o[0].descriptor.id:function(e){var t=e.pageBorderBox,r=e.candidates,n=e.draggable.page.borderBox.center,o=r.map((function(e){var r=e.axis,o=j(e.axis.line,t.center[r.line],e.page.borderBox.center[r.crossAxisLine]);return{id:e.descriptor.id,distance:L(n,o)}})).sort((function(e,t){return t.distance-e.distance}));return o[0]?o[0].id:null}({pageBorderBox:t,draggable:r,candidates:o}):null}({pageBorderBox:c,draggable:r,droppables:o});if(!l)return ne;var u=o[l],f=Y(u.descriptor.id,n),d=function(e,t){var r=e.frame;return r?Ve(t,r.scroll.diff.value):t}(u,c);return function(e){var t=e.draggable,r=e.pageBorderBoxWithDroppableScroll,n=e.previousImpact,o=e.destination,i=e.insideDestination,a=e.afterCritical;if(!o.isCombineEnabled)return null;var s=o.axis,c=Ne(o.axis,t.displaceBy),l=c.value,u=r[s.start],f=r[s.end],d=z($(t,i),(function(e){var t=e.descriptor.id,r=e.page.borderBox,o=r[s.size]/4,i=be(t,a),c=De({displaced:n.displaced,id:t});return i?c?f>r[s.start]+o&&fr[s.start]-l+o&&ur[s.start]+l+o&&fr[s.start]+o&&ut.descriptor.index?r.descriptor.index-1:r.descriptor.index:null}({draggable:r,closest:z($(r,o),(function(e){var t=e.descriptor.id,r=e.page.borderBox.center[c.line],n=be(t,s),o=De({displaced:i,id:t});return n?o?d<=r:f=1500)return.55;var n=kt+r/1500*.22000000000000003;return Number(("CANCEL"===t?.6*n:n).toFixed(2))}({current:o.current.client.offset,destination:v,reason:i});r({type:"DROP_ANIMATE",payload:{newHomeClientOffset:v,dropDuration:g,completed:A}})}else r(ut({completed:A}))}}else r(function(e){return{type:"DROP_PENDING",payload:e}}({reason:i}))}else e(n)}}},xt=function(){return{x:window.pageXOffset,y:window.pageYOffset}};var Et=function(e){var t=function(e){var t=e.onWindowScroll,r=(0,d.Z)((function(){t(xt())})),n=function(e){return{eventName:"scroll",options:{passive:!0,capture:!1},fn:function(t){t.target!==window&&t.target!==window.document||e()}}}(r),o=b;function i(){return o!==b}return{start:function(){i()&&k(!1),o=v(window,[n])},stop:function(){i()||k(!1),r.cancel(),o(),o=b},isActive:i}}({onWindowScroll:function(t){e.dispatch({type:"MOVE_BY_WINDOW_SCROLL",payload:{newScroll:t}})}});return function(e){return function(r){t.isActive()||"INITIAL_PUBLISH"!==r.type||t.start(),t.isActive()&&function(e){return"DROP_COMPLETE"===e.type||"DROP_ANIMATE"===e.type||"FLUSH"===e.type}(r)&&t.stop(),e(r)}}},_t=function(e,t){t()},Ct=function(e,t){return{draggableId:e.draggable.id,type:e.droppable.type,source:{droppableId:e.droppable.id,index:e.draggable.index},mode:t}},Ot=function(e,t,r,n){if(e){var o=function(e){var t=!1,r=!1,n=setTimeout((function(){r=!0})),o=function(o){t||r||(t=!0,e(o),clearTimeout(n))};return o.wasCalled=function(){return t},o}(r);e(t,{announce:o}),o.wasCalled()||r(n(t))}else r(n(t))},St=function(e,t){var r=function(e,t){var r,n=(r=[],{add:function(e){var t=setTimeout((function(){return function(e){var t=U(r,(function(t){return t.timerId===e}));-1===t&&k(!1),r.splice(t,1)[0].callback()}(t)})),n={timerId:t,callback:e};r.push(n)},flush:function(){if(r.length){var e=[].concat(r);r.length=0,e.forEach((function(e){clearTimeout(e.timerId),e.callback()}))}}}),o=null,i=function(r){o||k(!1),o=null,_t(0,(function(){return Ot(e().onDragEnd,r,t,O.onDragEnd)}))};return{beforeCapture:function(t,r){o&&k(!1),_t(0,(function(){var n=e().onBeforeCapture;n&&n({draggableId:t,mode:r})}))},beforeStart:function(t,r){o&&k(!1),_t(0,(function(){var n=e().onBeforeDragStart;n&&n(Ct(t,r))}))},start:function(r,i){o&&k(!1);var a=Ct(r,i);o={mode:i,lastCritical:r,lastLocation:a.source,lastCombine:null},n.add((function(){_t(0,(function(){return Ot(e().onDragStart,a,t,O.onDragStart)}))}))},update:function(r,i){var s=G(i),c=J(i);o||k(!1);var l=!function(e,t){if(e===t)return!0;var r=e.draggable.id===t.draggable.id&&e.draggable.droppableId===t.draggable.droppableId&&e.draggable.type===t.draggable.type&&e.draggable.index===t.draggable.index,n=e.droppable.id===t.droppable.id&&e.droppable.type===t.droppable.type;return r&&n}(r,o.lastCritical);l&&(o.lastCritical=r);var u,f,d=(f=s,!(null==(u=o.lastLocation)&&null==f||null!=u&&null!=f&&u.droppableId===f.droppableId&&u.index===f.index));d&&(o.lastLocation=s);var p=!function(e,t){return null==e&&null==t||null!=e&&null!=t&&e.draggableId===t.draggableId&&e.droppableId===t.droppableId}(o.lastCombine,c);if(p&&(o.lastCombine=c),l||d||p){var m=(0,a.Z)({},Ct(r,o.mode),{combine:c,destination:s});n.add((function(){_t(0,(function(){return Ot(e().onDragUpdate,m,t,O.onDragUpdate)}))}))}},flush:function(){o||k(!1),n.flush()},drop:i,abort:function(){if(o){var e=(0,a.Z)({},Ct(o.lastCritical,o.mode),{combine:null,destination:null,reason:"CANCEL"});i(e)}}}}(e,t);return function(e){return function(t){return function(n){if("BEFORE_INITIAL_CAPTURE"!==n.type){if("INITIAL_PUBLISH"===n.type){var o=n.payload.critical;return r.beforeStart(o,n.payload.movementMode),t(n),void r.start(o,n.payload.movementMode)}if("DROP_COMPLETE"===n.type){var i=n.payload.completed.result;return r.flush(),t(n),void r.drop(i)}if(t(n),"FLUSH"!==n.type){var a=e.getState();"DRAGGING"===a.phase&&r.update(a.critical,a.impact)}else r.abort()}else r.beforeCapture(n.payload.draggableId,n.payload.movementMode)}}}},qt=function(e){return function(t){return function(r){if("DROP_ANIMATION_FINISHED"===r.type){var n=e.getState();"DROP_ANIMATING"!==n.phase&&k(!1),e.dispatch(ut({completed:n.completed}))}else t(r)}}},Pt=function(e){var t=null,r=null;return function(n){return function(o){if("FLUSH"!==o.type&&"DROP_COMPLETE"!==o.type&&"DROP_ANIMATION_FINISHED"!==o.type||(r&&(cancelAnimationFrame(r),r=null),t&&(t(),t=null)),n(o),"DROP_ANIMATE"===o.type){var i={eventName:"scroll",options:{capture:!0,passive:!1,once:!0},fn:function(){"DROP_ANIMATING"===e.getState().phase&&e.dispatch({type:"DROP_ANIMATION_FINISHED",payload:null})}};r=requestAnimationFrame((function(){r=null,t=v(window,[i])}))}}}},Nt=function(e){return function(t){return function(r){if(t(r),"PUBLISH_WHILE_DRAGGING"===r.type){var n=e.getState();"DROP_PENDING"===n.phase&&(n.isWaiting||e.dispatch(ft({reason:n.reason})))}}}},Rt=s.qC,jt=function(e){var t,r=e.dimensionMarshal,n=e.focusMarshal,o=e.styleMarshal,i=e.getResponders,a=e.announce,c=e.autoScroller;return(0,s.MT)(Ge,Rt((0,s.md)((t=o,function(){return function(e){return function(r){"INITIAL_PUBLISH"===r.type&&t.dragging(),"DROP_ANIMATE"===r.type&&t.dropping(r.payload.completed.result.reason),"FLUSH"!==r.type&&"DROP_COMPLETE"!==r.type||t.resting(),e(r)}}}),function(e){return function(){return function(t){return function(r){"DROP_COMPLETE"!==r.type&&"FLUSH"!==r.type&&"DROP_ANIMATE"!==r.type||e.stopPublishing(),t(r)}}}}(r),function(e){return function(t){var r=t.getState,n=t.dispatch;return function(t){return function(o){if("LIFT"===o.type){var i=o.payload,a=i.id,s=i.clientSelection,c=i.movementMode,l=r();"DROP_ANIMATING"===l.phase&&n(ut({completed:l.completed})),"IDLE"!==r().phase&&k(!1),n(lt()),n({type:"BEFORE_INITIAL_CAPTURE",payload:{draggableId:a,movementMode:c}});var u={draggableId:a,scrollOptions:{shouldPublishImmediately:"SNAP"===c}},f=e.startPublishing(u),d=f.critical,p=f.dimensions,m=f.viewport;n({type:"INITIAL_PUBLISH",payload:{critical:d,dimensions:p,clientSelection:s,movementMode:c,viewport:m}})}else t(o)}}}}(r),wt,qt,Pt,Nt,function(e){return function(t){return function(r){return function(n){if(function(e){return"DROP_COMPLETE"===e.type||"DROP_ANIMATE"===e.type||"FLUSH"===e.type}(n))return e.stop(),void r(n);if("INITIAL_PUBLISH"===n.type){r(n);var o=t.getState();return"DRAGGING"!==o.phase&&k(!1),void e.start(o)}r(n),e.scroll(t.getState())}}}}(c),Et,function(e){var t=!1;return function(){return function(r){return function(n){if("INITIAL_PUBLISH"===n.type)return t=!0,e.tryRecordFocus(n.payload.critical.draggable.id),r(n),void e.tryRestoreFocusRecorded();if(r(n),t){if("FLUSH"===n.type)return t=!1,void e.tryRestoreFocusRecorded();if("DROP_COMPLETE"===n.type){t=!1;var o=n.payload.completed.result;o.combine&&e.tryShiftRecord(o.draggableId,o.combine.draggableId),e.tryRestoreFocusRecorded()}}}}}}(n),St(i,a))))},Lt=function(e){var t=e.scrollHeight,r=e.scrollWidth,n=e.height,o=e.width,i=P({x:r,y:t},{x:o,y:n});return{x:Math.max(0,i.x),y:Math.max(0,i.y)}},It=function(){var e=document.documentElement;return e||k(!1),e},Tt=function(){var e=It();return Lt({scrollHeight:e.scrollHeight,scrollWidth:e.scrollWidth,width:e.clientWidth,height:e.clientHeight})};function Mt(e,t,r){return r.descriptor.id!==t.id&&r.descriptor.type===t.type&&"virtual"===e.droppable.getById(r.descriptor.droppableId).descriptor.mode}var Vt,Dt,Bt=function(e,t){var r=null,n=function(e){var t=e.registry,r=e.callbacks,n={additions:{},removals:{},modified:{}},o=null,i=function(){o||(r.collectionStarting(),o=requestAnimationFrame((function(){o=null;var e=n,i=e.additions,a=e.removals,s=e.modified,c=Object.keys(i).map((function(e){return t.draggable.getById(e).getDimension(S)})).sort((function(e,t){return e.descriptor.index-t.descriptor.index})),l=Object.keys(s).map((function(e){return{droppableId:e,scroll:t.droppable.getById(e).callbacks.getScrollWhileDragging()}})),u={additions:c,removals:Object.keys(a),modified:l};n={additions:{},removals:{},modified:{}},r.publish(u)})))};return{add:function(e){var t=e.descriptor.id;n.additions[t]=e,n.modified[e.descriptor.droppableId]=!0,n.removals[t]&&delete n.removals[t],i()},remove:function(e){var t=e.descriptor;n.removals[t.id]=!0,n.modified[t.droppableId]=!0,n.additions[t.id]&&delete n.additions[t.id],i()},stop:function(){o&&(cancelAnimationFrame(o),o=null,n={additions:{},removals:{},modified:{}})}}}({callbacks:{publish:t.publishWhileDragging,collectionStarting:t.collectionStarting},registry:e}),o=function(t){r||k(!1);var o=r.critical.draggable;"ADDITION"===t.type&&Mt(e,o,t.value)&&n.add(t.value),"REMOVAL"===t.type&&Mt(e,o,t.value)&&n.remove(t.value)};return{updateDroppableIsEnabled:function(n,o){e.droppable.exists(n)||k(!1),r&&t.updateDroppableIsEnabled({id:n,isEnabled:o})},updateDroppableIsCombineEnabled:function(n,o){r&&(e.droppable.exists(n)||k(!1),t.updateDroppableIsCombineEnabled({id:n,isCombineEnabled:o}))},scrollDroppable:function(t,n){r&&e.droppable.getById(t).callbacks.scroll(n)},updateDroppableScroll:function(n,o){r&&(e.droppable.exists(n)||k(!1),t.updateDroppableScroll({id:n,newScroll:o}))},startPublishing:function(t){r&&k(!1);var n=e.draggable.getById(t.draggableId),i=e.droppable.getById(n.descriptor.droppableId),a={draggable:n.descriptor,droppable:i.descriptor},s=e.subscribe(o);return r={critical:a,unsubscribe:s},function(e){var t,r,n,o,i,a,s,c=e.critical,l=e.scrollOptions,f=e.registry,d=(t=xt(),r=Tt(),n=t.y,o=t.x,i=It(),a=o+i.clientWidth,s=n+i.clientHeight,{frame:(0,u.Dz)({top:n,left:o,right:a,bottom:s}),scroll:{initial:t,current:t,max:r,diff:{value:S,displacement:S}}}),p=d.scroll.current,m=c.droppable,h=f.droppable.getAllByType(m.type).map((function(e){return e.callbacks.getDimensionAndWatchScroll(p,l)})),b=f.draggable.getAllByType(c.draggable.type).map((function(e){return e.getDimension(p)}));return{dimensions:{draggables:Z(b),droppables:W(h)},critical:c,viewport:d}}({critical:a,registry:e,scrollOptions:t.scrollOptions})},stopPublishing:function(){if(r){n.stop();var t=r.critical.droppable;e.droppable.getAllByType(t.type).forEach((function(e){return e.callbacks.dragStopped()})),r.unsubscribe(),r=null}}}},Ft=function(e,t){return"IDLE"===e.phase||"DROP_ANIMATING"===e.phase&&e.completed.result.draggableId!==t&&"DROP"===e.completed.result.reason},Ht=function(e){window.scrollBy(e.x,e.y)},Ut=(0,f.Z)((function(e){return Q(e).filter((function(e){return!!e.isEnabled&&!!e.frame}))})),zt=function(e){return Math.pow(e,2)},Kt=function(e){var t=e.startOfRange,r=e.endOfRange,n=e.current,o=r-t;return 0===o?0:(n-t)/o},Wt=360,Zt=1200,Qt=function(e){var t=e.distanceToEdge,r=e.thresholds,n=e.dragStartTime,o=e.shouldUseTimeDampening,i=function(e,t){if(e>t.startScrollingFrom)return 0;if(e<=t.maxScrollValueAt)return 28;if(e===t.startScrollingFrom)return 1;var r=Kt({startOfRange:t.maxScrollValueAt,endOfRange:t.startScrollingFrom,current:e}),n=28*zt(1-r);return Math.ceil(n)}(t,r);return 0===i?0:o?Math.max(function(e,t){var r=t,n=Zt,o=Date.now()-r;if(o>=Zt)return e;if(ot.height,i=r.width>t.width;return i||o?i&&o?null:{x:i?0:n.x,y:o?0:n.y}:n}({container:r,subject:n,proposedScroll:l});return u?N(u,S)?null:u:null},Jt=T((function(e){return 0===e?0:e>0?1:-1})),$t=(Vt=function(e,t){return e<0?e:e>t?e-t:0},function(e){var t=e.current,r=e.max,n=e.change,o=q(t,n),i={x:Vt(o.x,r.x),y:Vt(o.y,r.y)};return N(i,S)?null:i}),er=function(e){var t=e.max,r=e.current,n=e.change,o={x:Math.max(r.x,t.x),y:Math.max(r.y,t.y)},i=Jt(n),a=$t({max:o,current:r,change:i});return!a||0!==i.x&&0===a.x||0!==i.y&&0===a.y},tr=function(e,t){return er({current:e.scroll.current,max:e.scroll.max,change:t})},rr=function(e,t){var r=e.frame;return!!r&&er({current:r.scroll.current,max:r.scroll.max,change:t})},nr=function(e){var t=e.state,r=e.dragStartTime,n=e.shouldUseTimeDampening,o=e.scrollWindow,i=e.scrollDroppable,a=t.current.page.borderBoxCenter,s=t.dimensions.draggables[t.critical.draggable.id].page.marginBox;if(t.isWindowScrollAllowed){var c=function(e){var t=e.viewport,r=e.subject,n=e.center,o=e.shouldUseTimeDampening,i=Gt({dragStartTime:e.dragStartTime,container:t.frame,subject:r,center:n,shouldUseTimeDampening:o});return i&&tr(t,i)?i:null}({dragStartTime:r,viewport:t.viewport,subject:s,center:a,shouldUseTimeDampening:n});if(c)return void o(c)}var l=function(e){var t=e.center,r=e.destination,n=e.droppables;if(r){var o=n[r];return o.frame?o:null}var i=function(e,t){var r=z(Ut(t),(function(t){return t.frame||k(!1),Me(t.frame.pageMarginBox)(e)}));return r}(t,n);return i}({center:a,destination:Le(t.impact),droppables:t.dimensions.droppables});if(l){var u=function(e){var t=e.droppable,r=e.subject,n=e.center,o=e.dragStartTime,i=e.shouldUseTimeDampening,a=t.frame;if(!a)return null;var s=Gt({dragStartTime:o,container:a.pageMarginBox,subject:r,center:n,shouldUseTimeDampening:i});return s&&rr(t,s)?s:null}({dragStartTime:r,droppable:l,subject:s,center:a,shouldUseTimeDampening:n});u&&i(l.descriptor.id,u)}},or=function(e){var t=e.move,r=e.scrollDroppable,n=e.scrollWindow;return function(e){var o=e.scrollJumpRequest;if(o){var i=Le(e.impact);i||k(!1);var a=function(e,t){if(!rr(e,t))return t;var n=function(e,t){var r=e.frame;return r&&rr(e,t)?$t({current:r.scroll.current,max:r.scroll.max,change:t}):null}(e,t);if(!n)return r(e.descriptor.id,t),null;var o=P(t,n);return r(e.descriptor.id,o),P(t,o)}(e.dimensions.droppables[i],o);if(a){var s=e.viewport,c=function(e,t,r){if(!e)return r;if(!tr(t,r))return r;var o=function(e,t){if(!tr(e,t))return null;var r=e.scroll.max,n=e.scroll.current;return $t({current:n,max:r,change:t})}(t,r);if(!o)return n(r),null;var i=P(r,o);return n(i),P(r,i)}(e.isWindowScrollAllowed,s,a);c&&function(e,r){var n=q(e.current.client.selection,r);t({client:n})}(e,c)}}}},ir=function(e){var t=e.scrollDroppable,r=e.scrollWindow,n=e.move,o=function(e){var t=e.scrollWindow,r=e.scrollDroppable,n=(0,d.Z)(t),o=(0,d.Z)(r),i=null,a=function(e){i||k(!1);var t=i,r=t.shouldUseTimeDampening,a=t.dragStartTime;nr({state:e,scrollWindow:n,scrollDroppable:o,dragStartTime:a,shouldUseTimeDampening:r})};return{start:function(e){i&&k(!1);var t=Date.now(),r=!1,n=function(){r=!0};nr({state:e,dragStartTime:0,shouldUseTimeDampening:!1,scrollWindow:n,scrollDroppable:n}),i={dragStartTime:t,shouldUseTimeDampening:r},r&&a(e)},stop:function(){i&&(n.cancel(),o.cancel(),i=null)},scroll:a}}({scrollWindow:r,scrollDroppable:t}),i=or({move:n,scrollWindow:r,scrollDroppable:t});return{scroll:function(e){"DRAGGING"===e.phase&&("FLUID"!==e.movementMode?e.scrollJumpRequest&&i(e):o.scroll(e))},start:o.start,stop:o.stop}},ar="data-rbd",sr={base:Dt=ar+"-drag-handle",draggableId:Dt+"-draggable-id",contextId:Dt+"-context-id"},cr=function(){var e=ar+"-draggable";return{base:e,contextId:e+"-context-id",id:e+"-id"}}(),lr=function(){var e=ar+"-droppable";return{base:e,contextId:e+"-context-id",id:e+"-id"}}(),ur={contextId:ar+"-scroll-container-context-id"},fr=function(e,t){return e.map((function(e){var r=e.styles[t];return r?e.selector+" { "+r+" }":""})).join(" ")},dr=function(e){var t,r,n,o=(t=e,function(e){return"["+e+'="'+t+'"]'}),i=(r="\n cursor: -webkit-grab;\n cursor: grab;\n ",{selector:o(sr.contextId),styles:{always:"\n -webkit-touch-callout: none;\n -webkit-tap-highlight-color: rgba(0,0,0,0);\n touch-action: manipulation;\n ",resting:r,dragging:"pointer-events: none;",dropAnimating:r}}),a=[(n="\n transition: "+vt.outOfTheWay+";\n ",{selector:o(cr.contextId),styles:{dragging:n,dropAnimating:n,userCancel:n}}),i,{selector:o(lr.contextId),styles:{always:"overflow-anchor: none;"}},{selector:"body",styles:{dragging:"\n cursor: grabbing;\n cursor: -webkit-grabbing;\n user-select: none;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n overflow-anchor: none;\n "}}];return{always:fr(a,"always"),resting:fr(a,"resting"),dragging:fr(a,"dragging"),dropAnimating:fr(a,"dropAnimating"),userCancel:fr(a,"userCancel")}},pr="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?n.useLayoutEffect:n.useEffect,mr=function(){var e=document.querySelector("head");return e||k(!1),e},hr=function(e){var t=document.createElement("style");return e&&t.setAttribute("nonce",e),t.type="text/css",t},br=function(e){return e&&e.ownerDocument?e.ownerDocument.defaultView:window};function vr(e){return e instanceof br(e).HTMLElement}function Ar(){var e={draggables:{},droppables:{}},t=[];function r(e){t.length&&t.forEach((function(t){return t(e)}))}function n(t){return e.draggables[t]||null}function o(t){return e.droppables[t]||null}return{draggable:{register:function(t){e.draggables[t.descriptor.id]=t,r({type:"ADDITION",value:t})},update:function(t,r){var n=e.draggables[r.descriptor.id];n&&n.uniqueId===t.uniqueId&&(delete e.draggables[r.descriptor.id],e.draggables[t.descriptor.id]=t)},unregister:function(t){var o=t.descriptor.id,i=n(o);i&&t.uniqueId===i.uniqueId&&(delete e.draggables[o],r({type:"REMOVAL",value:t}))},getById:function(e){var t=n(e);return t||k(!1),t},findById:n,exists:function(e){return Boolean(n(e))},getAllByType:function(t){return H(e.draggables).filter((function(e){return e.descriptor.type===t}))}},droppable:{register:function(t){e.droppables[t.descriptor.id]=t},unregister:function(t){var r=o(t.descriptor.id);r&&t.uniqueId===r.uniqueId&&delete e.droppables[t.descriptor.id]},getById:function(e){var t=o(e);return t||k(!1),t},findById:o,exists:function(e){return Boolean(o(e))},getAllByType:function(t){return H(e.droppables).filter((function(e){return e.descriptor.type===t}))}},subscribe:function(e){return t.push(e),function(){var r=t.indexOf(e);-1!==r&&t.splice(r,1)}},clean:function(){e.draggables={},e.droppables={},t.length=0}}}var gr=o().createContext(null),yr=function(){var e=document.body;return e||k(!1),e},kr={position:"absolute",width:"1px",height:"1px",margin:"-1px",border:"0",padding:"0",overflow:"hidden",clip:"rect(0 0 0 0)","clip-path":"inset(100%)"},wr=function(e){return"rbd-announcement-"+e},xr=0,Er={separator:"::"};function _r(e,t){return void 0===t&&(t=Er),(0,l.Ye)((function(){return""+e+t.separator+xr++}),[t.separator,e])}var Cr=o().createContext(null);function Or(e){var t=(0,n.useRef)(e);return(0,n.useEffect)((function(){t.current=e})),t}var Sr,qr,Pr=27,Nr=((Sr={})[13]=!0,Sr[9]=!0,Sr),Rr=function(e){Nr[e.keyCode]&&e.preventDefault()},jr=function(){var e="visibilitychange";return"undefined"==typeof document?e:z([e,"ms"+e,"webkit"+e,"moz"+e,"o"+e],(function(e){return"on"+e in document}))||e}(),Lr={type:"IDLE"};function Ir(){}var Tr=((qr={})[34]=!0,qr[33]=!0,qr[36]=!0,qr[35]=!0,qr);var Mr={type:"IDLE"},Vr={input:!0,button:!0,textarea:!0,select:!0,option:!0,optgroup:!0,video:!0,audio:!0};function Dr(e,t){if(null==t)return!1;if(Boolean(Vr[t.tagName.toLowerCase()]))return!0;var r=t.getAttribute("contenteditable");return"true"===r||""===r||t!==e&&Dr(e,t.parentElement)}function Br(e,t){var r=t.target;return!!vr(r)&&Dr(e,r)}var Fr=function(e){return(0,u.Dz)(e.getBoundingClientRect()).center},Hr=function(){var e="matches";return"undefined"==typeof document?e:z([e,"msMatchesSelector","webkitMatchesSelector"],(function(e){return e in Element.prototype}))||e}();function Ur(e,t){return null==e?null:e[Hr](t)?e:Ur(e.parentElement,t)}function zr(e,t){return e.closest?e.closest(t):Ur(e,t)}function Kr(e){e.preventDefault()}function Wr(e){var t=e.expected,r=e.phase,n=e.isLockActive;return e.shouldWarn,!!n()&&t===r}function Zr(e){var t=e.lockAPI,r=e.store,n=e.registry,o=e.draggableId;if(t.isClaimed())return!1;var i=n.draggable.findById(o);return!!i&&!!i.options.isEnabled&&!!Ft(r.getState(),o)}var Qr=[function(e){var t=(0,n.useRef)(Lr),r=(0,n.useRef)(b),o=(0,l.Ye)((function(){return{eventName:"mousedown",fn:function(t){if(!t.defaultPrevented&&0===t.button&&!(t.ctrlKey||t.metaKey||t.shiftKey||t.altKey)){var n=e.findClosestDraggableId(t);if(n){var o=e.tryGetLock(n,s,{sourceEvent:t});if(o){t.preventDefault();var i={x:t.clientX,y:t.clientY};r.current(),f(o,i)}}}}}}),[e]),i=(0,l.Ye)((function(){return{eventName:"webkitmouseforcewillbegin",fn:function(t){if(!t.defaultPrevented){var r=e.findClosestDraggableId(t);if(r){var n=e.findOptionsForDraggable(r);n&&(n.shouldRespectForcePress||e.canGetLock(r)&&t.preventDefault())}}}}}),[e]),a=(0,l.I4)((function(){r.current=v(window,[i,o],{passive:!1,capture:!0})}),[i,o]),s=(0,l.I4)((function(){"IDLE"!==t.current.type&&(t.current=Lr,r.current(),a())}),[a]),c=(0,l.I4)((function(){var e=t.current;s(),"DRAGGING"===e.type&&e.actions.cancel({shouldBlockNextClick:!0}),"PENDING"===e.type&&e.actions.abort()}),[s]),u=(0,l.I4)((function(){var e=function(e){var t=e.cancel,r=e.completed,n=e.getPhase,o=e.setPhase;return[{eventName:"mousemove",fn:function(e){var t=e.button,r=e.clientX,i=e.clientY;if(0===t){var a={x:r,y:i},s=n();if("DRAGGING"===s.type)return e.preventDefault(),void s.actions.move(a);if("PENDING"!==s.type&&k(!1),c=s.point,l=a,Math.abs(l.x-c.x)>=5||Math.abs(l.y-c.y)>=5){var c,l;e.preventDefault();var u=s.actions.fluidLift(a);o({type:"DRAGGING",actions:u})}}}},{eventName:"mouseup",fn:function(e){var o=n();"DRAGGING"===o.type?(e.preventDefault(),o.actions.drop({shouldBlockNextClick:!0}),r()):t()}},{eventName:"mousedown",fn:function(e){"DRAGGING"===n().type&&e.preventDefault(),t()}},{eventName:"keydown",fn:function(e){if("PENDING"!==n().type)return e.keyCode===Pr?(e.preventDefault(),void t()):void Rr(e);t()}},{eventName:"resize",fn:t},{eventName:"scroll",options:{passive:!0,capture:!1},fn:function(){"PENDING"===n().type&&t()}},{eventName:"webkitmouseforcedown",fn:function(e){var r=n();"IDLE"===r.type&&k(!1),r.actions.shouldRespectForcePress()?t():e.preventDefault()}},{eventName:jr,fn:t}]}({cancel:c,completed:s,getPhase:function(){return t.current},setPhase:function(e){t.current=e}});r.current=v(window,e,{capture:!0,passive:!1})}),[c,s]),f=(0,l.I4)((function(e,r){"IDLE"!==t.current.type&&k(!1),t.current={type:"PENDING",point:r,actions:e},u()}),[u]);pr((function(){return a(),function(){r.current()}}),[a])},function(e){var t=(0,n.useRef)(Ir),r=(0,l.Ye)((function(){return{eventName:"keydown",fn:function(r){if(!r.defaultPrevented&&32===r.keyCode){var n=e.findClosestDraggableId(r);if(n){var i=e.tryGetLock(n,c,{sourceEvent:r});if(i){r.preventDefault();var a=!0,s=i.snapLift();t.current(),t.current=v(window,function(e,t){function r(){t(),e.cancel()}return[{eventName:"keydown",fn:function(n){return n.keyCode===Pr?(n.preventDefault(),void r()):32===n.keyCode?(n.preventDefault(),t(),void e.drop()):40===n.keyCode?(n.preventDefault(),void e.moveDown()):38===n.keyCode?(n.preventDefault(),void e.moveUp()):39===n.keyCode?(n.preventDefault(),void e.moveRight()):37===n.keyCode?(n.preventDefault(),void e.moveLeft()):void(Tr[n.keyCode]?n.preventDefault():Rr(n))}},{eventName:"mousedown",fn:r},{eventName:"mouseup",fn:r},{eventName:"click",fn:r},{eventName:"touchstart",fn:r},{eventName:"resize",fn:r},{eventName:"wheel",fn:r,options:{passive:!0}},{eventName:jr,fn:r}]}(s,c),{capture:!0,passive:!1})}}}function c(){a||k(!1),a=!1,t.current(),o()}}}}),[e]),o=(0,l.I4)((function(){t.current=v(window,[r],{passive:!1,capture:!0})}),[r]);pr((function(){return o(),function(){t.current()}}),[o])},function(e){var t=(0,n.useRef)(Mr),r=(0,n.useRef)(b),o=(0,l.I4)((function(){return t.current}),[]),i=(0,l.I4)((function(e){t.current=e}),[]),a=(0,l.Ye)((function(){return{eventName:"touchstart",fn:function(t){if(!t.defaultPrevented){var n=e.findClosestDraggableId(t);if(n){var o=e.tryGetLock(n,c,{sourceEvent:t});if(o){var i=t.touches[0],a={x:i.clientX,y:i.clientY};r.current(),p(o,a)}}}}}}),[e]),s=(0,l.I4)((function(){r.current=v(window,[a],{capture:!0,passive:!1})}),[a]),c=(0,l.I4)((function(){var e=t.current;"IDLE"!==e.type&&("PENDING"===e.type&&clearTimeout(e.longPressTimerId),i(Mr),r.current(),s())}),[s,i]),u=(0,l.I4)((function(){var e=t.current;c(),"DRAGGING"===e.type&&e.actions.cancel({shouldBlockNextClick:!0}),"PENDING"===e.type&&e.actions.abort()}),[c]),f=(0,l.I4)((function(){var e={capture:!0,passive:!1},t={cancel:u,completed:c,getPhase:o},n=v(window,function(e){var t=e.cancel,r=e.completed,n=e.getPhase;return[{eventName:"touchmove",options:{capture:!1},fn:function(e){var r=n();if("DRAGGING"===r.type){r.hasMoved=!0;var o=e.touches[0],i={x:o.clientX,y:o.clientY};e.preventDefault(),r.actions.move(i)}else t()}},{eventName:"touchend",fn:function(e){var o=n();"DRAGGING"===o.type?(e.preventDefault(),o.actions.drop({shouldBlockNextClick:!0}),r()):t()}},{eventName:"touchcancel",fn:function(e){"DRAGGING"===n().type?(e.preventDefault(),t()):t()}},{eventName:"touchforcechange",fn:function(e){var r=n();"IDLE"===r.type&&k(!1);var o=e.touches[0];if(o&&o.force>=.15){var i=r.actions.shouldRespectForcePress();if("PENDING"!==r.type)return i?r.hasMoved?void e.preventDefault():void t():void e.preventDefault();i&&t()}}},{eventName:jr,fn:t}]}(t),e),i=v(window,function(e){var t=e.cancel,r=e.getPhase;return[{eventName:"orientationchange",fn:t},{eventName:"resize",fn:t},{eventName:"contextmenu",fn:function(e){e.preventDefault()}},{eventName:"keydown",fn:function(e){"DRAGGING"===r().type?(e.keyCode===Pr&&e.preventDefault(),t()):t()}},{eventName:jr,fn:t}]}(t),e);r.current=function(){n(),i()}}),[u,o,c]),d=(0,l.I4)((function(){var e=o();"PENDING"!==e.type&&k(!1);var t=e.actions.fluidLift(e.point);i({type:"DRAGGING",actions:t,hasMoved:!1})}),[o,i]),p=(0,l.I4)((function(e,t){"IDLE"!==o().type&&k(!1);var r=setTimeout(d,120);i({type:"PENDING",point:t,actions:e,longPressTimerId:r}),f()}),[f,o,i,d]);pr((function(){return s(),function(){r.current();var e=o();"PENDING"===e.type&&(clearTimeout(e.longPressTimerId),i(Mr))}}),[o,s,i]),pr((function(){return v(window,[{eventName:"touchmove",fn:function(){},options:{capture:!1,passive:!1}}])}),[])}];function Xr(e){var t=e.contextId,r=e.store,o=e.registry,i=e.customSensors,s=e.enableDefaultSensors,c=[].concat(s?Qr:[],i||[]),u=(0,n.useState)((function(){return function(){var e=null;function t(){e||k(!1),e=null}return{isClaimed:function(){return Boolean(e)},isActive:function(t){return t===e},claim:function(t){e&&k(!1);var r={abandon:t};return e=r,r},release:t,tryAbandon:function(){e&&(e.abandon(),t())}}}()}))[0],f=(0,l.I4)((function(e,t){e.isDragging&&!t.isDragging&&u.tryAbandon()}),[u]);pr((function(){var e=r.getState();return r.subscribe((function(){var t=r.getState();f(e,t),e=t}))}),[u,r,f]),pr((function(){return u.tryAbandon}),[u.tryAbandon]);for(var p=(0,l.I4)((function(e){return Zr({lockAPI:u,registry:o,store:r,draggableId:e})}),[u,o,r]),m=(0,l.I4)((function(e,n,i){return function(e){var t=e.lockAPI,r=e.contextId,n=e.store,o=e.registry,i=e.draggableId,s=e.forceSensorStop,c=e.sourceEvent;if(!Zr({lockAPI:t,store:n,registry:o,draggableId:i}))return null;var l=o.draggable.getById(i),u=function(e,t){var r="["+cr.contextId+'="'+e+'"]',n=z(K(document.querySelectorAll(r)),(function(e){return e.getAttribute(cr.id)===t}));return n&&vr(n)?n:null}(r,l.descriptor.id);if(!u)return null;if(c&&!l.options.canDragInteractiveElements&&Br(u,c))return null;var f=t.claim(s||b),p="PRE_DRAG";function m(){return l.options.shouldRespectForcePress}function h(){return t.isActive(f)}var A=function(e,t){Wr({expected:e,phase:p,isLockActive:h,shouldWarn:!0})&&n.dispatch(t())}.bind(null,"DRAGGING");function g(e){function r(){t.release(),p="COMPLETED"}function o(t,o){if(void 0===o&&(o={shouldBlockNextClick:!1}),e.cleanup(),o.shouldBlockNextClick){var i=v(window,[{eventName:"click",fn:Kr,options:{once:!0,passive:!1,capture:!0}}]);setTimeout(i)}r(),n.dispatch(ft({reason:t}))}return"PRE_DRAG"!==p&&(r(),"PRE_DRAG"!==p&&k(!1)),n.dispatch(Je(e.liftActionArgs)),p="DRAGGING",(0,a.Z)({isActive:function(){return Wr({expected:"DRAGGING",phase:p,isLockActive:h,shouldWarn:!1})},shouldRespectForcePress:m,drop:function(e){return o("DROP",e)},cancel:function(e){return o("CANCEL",e)}},e.actions)}return{isActive:function(){return Wr({expected:"PRE_DRAG",phase:p,isLockActive:h,shouldWarn:!1})},shouldRespectForcePress:m,fluidLift:function(e){var t=(0,d.Z)((function(e){A((function(){return ot({client:e})}))})),r=g({liftActionArgs:{id:i,clientSelection:e,movementMode:"FLUID"},cleanup:function(){return t.cancel()},actions:{move:t}});return(0,a.Z)({},r,{move:t})},snapLift:function(){var e={moveUp:function(){return A(it)},moveRight:function(){return A(st)},moveDown:function(){return A(at)},moveLeft:function(){return A(ct)}};return g({liftActionArgs:{id:i,clientSelection:Fr(u),movementMode:"SNAP"},cleanup:b,actions:e})},abort:function(){Wr({expected:"PRE_DRAG",phase:p,isLockActive:h,shouldWarn:!0})&&t.release()}}}({lockAPI:u,registry:o,contextId:t,store:r,draggableId:e,forceSensorStop:n,sourceEvent:i&&i.sourceEvent?i.sourceEvent:null})}),[t,u,o,r]),h=(0,l.I4)((function(e){return function(e,t){var r=function(e,t){var r,n=t.target;if(!((r=n)instanceof br(r).Element))return null;var o=function(e){return"["+sr.contextId+'="'+e+'"]'}(e),i=zr(n,o);return i&&vr(i)?i:null}(e,t);return r?r.getAttribute(sr.draggableId):null}(t,e)}),[t]),A=(0,l.I4)((function(e){var t=o.draggable.findById(e);return t?t.options:null}),[o.draggable]),g=(0,l.I4)((function(){u.isClaimed()&&(u.tryAbandon(),"IDLE"!==r.getState().phase&&r.dispatch(lt()))}),[u,r]),y=(0,l.I4)(u.isClaimed,[u]),w=(0,l.Ye)((function(){return{canGetLock:p,tryGetLock:m,findClosestDraggableId:h,findOptionsForDraggable:A,tryReleaseLock:g,isLockClaimed:y}}),[p,m,h,A,g,y]),x=0;x{"use strict";var n=r(1850);t.s=n.createRoot,n.hydrateRoot},5726:(e,t,r)=>{"use strict";const n=2,o=3,i=4;function a(e,t,r,a,s,c,l){this.acceptsBooleans=t===n||t===o||t===i,this.attributeName=a,this.attributeNamespace=s,this.mustUseProperty=r,this.propertyName=e,this.type=t,this.sanitizeURL=c,this.removeEmptyString=l}const s={};["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"].forEach((e=>{s[e]=new a(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((([e,t])=>{s[e]=new a(e,1,!1,t,null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((e=>{s[e]=new a(e,n,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((e=>{s[e]=new a(e,n,!1,e,null,!1,!1)})),["allowFullScreen","async","autoFocus","autoPlay","controls","default","defer","disabled","disablePictureInPicture","disableRemotePlayback","formNoValidate","hidden","loop","noModule","noValidate","open","playsInline","readOnly","required","reversed","scoped","seamless","itemScope"].forEach((e=>{s[e]=new a(e,o,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((e=>{s[e]=new a(e,o,!0,e,null,!1,!1)})),["capture","download"].forEach((e=>{s[e]=new a(e,i,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((e=>{s[e]=new a(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((e=>{s[e]=new a(e,5,!1,e.toLowerCase(),null,!1,!1)}));const c=/[\-\:]([a-z])/g,l=e=>e[1].toUpperCase();["accent-height","alignment-baseline","arabic-form","baseline-shift","cap-height","clip-path","clip-rule","color-interpolation","color-interpolation-filters","color-profile","color-rendering","dominant-baseline","enable-background","fill-opacity","fill-rule","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","glyph-name","glyph-orientation-horizontal","glyph-orientation-vertical","horiz-adv-x","horiz-origin-x","image-rendering","letter-spacing","lighting-color","marker-end","marker-mid","marker-start","overline-position","overline-thickness","paint-order","panose-1","pointer-events","rendering-intent","shape-rendering","stop-color","stop-opacity","strikethrough-position","strikethrough-thickness","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-anchor","text-decoration","text-rendering","underline-position","underline-thickness","unicode-bidi","unicode-range","units-per-em","v-alphabetic","v-hanging","v-ideographic","v-mathematical","vector-effect","vert-adv-y","vert-origin-x","vert-origin-y","word-spacing","writing-mode","xmlns:xlink","x-height"].forEach((e=>{const t=e.replace(c,l);s[t]=new a(t,1,!1,e,null,!1,!1)})),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach((e=>{const t=e.replace(c,l);s[t]=new a(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((e=>{const t=e.replace(c,l);s[t]=new a(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((e=>{s[e]=new a(e,1,!1,e.toLowerCase(),null,!1,!1)})),s.xlinkHref=new a("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((e=>{s[e]=new a(e,1,!1,e.toLowerCase(),null,!0,!0)}));const{CAMELCASE:u,SAME:f,possibleStandardNames:d}=r(8229),p=RegExp.prototype.test.bind(new RegExp("^(data|aria)-[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$")),m=Object.keys(d).reduce(((e,t)=>{const r=d[t];return r===f?e[t]=t:r===u?e[t.toLowerCase()]=t:e[t]=r,e}),{});t.BOOLEAN=o,t.BOOLEANISH_STRING=n,t.NUMERIC=5,t.OVERLOADED_BOOLEAN=i,t.POSITIVE_NUMERIC=6,t.RESERVED=0,t.STRING=1,t.getPropertyInfo=function(e){return s.hasOwnProperty(e)?s[e]:null},t.isCustomAttribute=p,t.possibleStandardNames=m},8229:(e,t)=>{t.SAME=0,t.CAMELCASE=1,t.possibleStandardNames={accept:0,acceptCharset:1,"accept-charset":"acceptCharset",accessKey:1,action:0,allowFullScreen:1,alt:0,as:0,async:0,autoCapitalize:1,autoComplete:1,autoCorrect:1,autoFocus:1,autoPlay:1,autoSave:1,capture:0,cellPadding:1,cellSpacing:1,challenge:0,charSet:1,checked:0,children:0,cite:0,class:"className",classID:1,className:1,cols:0,colSpan:1,content:0,contentEditable:1,contextMenu:1,controls:0,controlsList:1,coords:0,crossOrigin:1,dangerouslySetInnerHTML:1,data:0,dateTime:1,default:0,defaultChecked:1,defaultValue:1,defer:0,dir:0,disabled:0,disablePictureInPicture:1,disableRemotePlayback:1,download:0,draggable:0,encType:1,enterKeyHint:1,for:"htmlFor",form:0,formMethod:1,formAction:1,formEncType:1,formNoValidate:1,formTarget:1,frameBorder:1,headers:0,height:0,hidden:0,high:0,href:0,hrefLang:1,htmlFor:1,httpEquiv:1,"http-equiv":"httpEquiv",icon:0,id:0,innerHTML:1,inputMode:1,integrity:0,is:0,itemID:1,itemProp:1,itemRef:1,itemScope:1,itemType:1,keyParams:1,keyType:1,kind:0,label:0,lang:0,list:0,loop:0,low:0,manifest:0,marginWidth:1,marginHeight:1,max:0,maxLength:1,media:0,mediaGroup:1,method:0,min:0,minLength:1,multiple:0,muted:0,name:0,noModule:1,nonce:0,noValidate:1,open:0,optimum:0,pattern:0,placeholder:0,playsInline:1,poster:0,preload:0,profile:0,radioGroup:1,readOnly:1,referrerPolicy:1,rel:0,required:0,reversed:0,role:0,rows:0,rowSpan:1,sandbox:0,scope:0,scoped:0,scrolling:0,seamless:0,selected:0,shape:0,size:0,sizes:0,span:0,spellCheck:1,src:0,srcDoc:1,srcLang:1,srcSet:1,start:0,step:0,style:0,summary:0,tabIndex:1,target:0,title:0,type:0,useMap:1,value:0,width:0,wmode:0,wrap:0,about:0,accentHeight:1,"accent-height":"accentHeight",accumulate:0,additive:0,alignmentBaseline:1,"alignment-baseline":"alignmentBaseline",allowReorder:1,alphabetic:0,amplitude:0,arabicForm:1,"arabic-form":"arabicForm",ascent:0,attributeName:1,attributeType:1,autoReverse:1,azimuth:0,baseFrequency:1,baselineShift:1,"baseline-shift":"baselineShift",baseProfile:1,bbox:0,begin:0,bias:0,by:0,calcMode:1,capHeight:1,"cap-height":"capHeight",clip:0,clipPath:1,"clip-path":"clipPath",clipPathUnits:1,clipRule:1,"clip-rule":"clipRule",color:0,colorInterpolation:1,"color-interpolation":"colorInterpolation",colorInterpolationFilters:1,"color-interpolation-filters":"colorInterpolationFilters",colorProfile:1,"color-profile":"colorProfile",colorRendering:1,"color-rendering":"colorRendering",contentScriptType:1,contentStyleType:1,cursor:0,cx:0,cy:0,d:0,datatype:0,decelerate:0,descent:0,diffuseConstant:1,direction:0,display:0,divisor:0,dominantBaseline:1,"dominant-baseline":"dominantBaseline",dur:0,dx:0,dy:0,edgeMode:1,elevation:0,enableBackground:1,"enable-background":"enableBackground",end:0,exponent:0,externalResourcesRequired:1,fill:0,fillOpacity:1,"fill-opacity":"fillOpacity",fillRule:1,"fill-rule":"fillRule",filter:0,filterRes:1,filterUnits:1,floodOpacity:1,"flood-opacity":"floodOpacity",floodColor:1,"flood-color":"floodColor",focusable:0,fontFamily:1,"font-family":"fontFamily",fontSize:1,"font-size":"fontSize",fontSizeAdjust:1,"font-size-adjust":"fontSizeAdjust",fontStretch:1,"font-stretch":"fontStretch",fontStyle:1,"font-style":"fontStyle",fontVariant:1,"font-variant":"fontVariant",fontWeight:1,"font-weight":"fontWeight",format:0,from:0,fx:0,fy:0,g1:0,g2:0,glyphName:1,"glyph-name":"glyphName",glyphOrientationHorizontal:1,"glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphOrientationVertical:1,"glyph-orientation-vertical":"glyphOrientationVertical",glyphRef:1,gradientTransform:1,gradientUnits:1,hanging:0,horizAdvX:1,"horiz-adv-x":"horizAdvX",horizOriginX:1,"horiz-origin-x":"horizOriginX",ideographic:0,imageRendering:1,"image-rendering":"imageRendering",in2:0,in:0,inlist:0,intercept:0,k1:0,k2:0,k3:0,k4:0,k:0,kernelMatrix:1,kernelUnitLength:1,kerning:0,keyPoints:1,keySplines:1,keyTimes:1,lengthAdjust:1,letterSpacing:1,"letter-spacing":"letterSpacing",lightingColor:1,"lighting-color":"lightingColor",limitingConeAngle:1,local:0,markerEnd:1,"marker-end":"markerEnd",markerHeight:1,markerMid:1,"marker-mid":"markerMid",markerStart:1,"marker-start":"markerStart",markerUnits:1,markerWidth:1,mask:0,maskContentUnits:1,maskUnits:1,mathematical:0,mode:0,numOctaves:1,offset:0,opacity:0,operator:0,order:0,orient:0,orientation:0,origin:0,overflow:0,overlinePosition:1,"overline-position":"overlinePosition",overlineThickness:1,"overline-thickness":"overlineThickness",paintOrder:1,"paint-order":"paintOrder",panose1:0,"panose-1":"panose1",pathLength:1,patternContentUnits:1,patternTransform:1,patternUnits:1,pointerEvents:1,"pointer-events":"pointerEvents",points:0,pointsAtX:1,pointsAtY:1,pointsAtZ:1,prefix:0,preserveAlpha:1,preserveAspectRatio:1,primitiveUnits:1,property:0,r:0,radius:0,refX:1,refY:1,renderingIntent:1,"rendering-intent":"renderingIntent",repeatCount:1,repeatDur:1,requiredExtensions:1,requiredFeatures:1,resource:0,restart:0,result:0,results:0,rotate:0,rx:0,ry:0,scale:0,security:0,seed:0,shapeRendering:1,"shape-rendering":"shapeRendering",slope:0,spacing:0,specularConstant:1,specularExponent:1,speed:0,spreadMethod:1,startOffset:1,stdDeviation:1,stemh:0,stemv:0,stitchTiles:1,stopColor:1,"stop-color":"stopColor",stopOpacity:1,"stop-opacity":"stopOpacity",strikethroughPosition:1,"strikethrough-position":"strikethroughPosition",strikethroughThickness:1,"strikethrough-thickness":"strikethroughThickness",string:0,stroke:0,strokeDasharray:1,"stroke-dasharray":"strokeDasharray",strokeDashoffset:1,"stroke-dashoffset":"strokeDashoffset",strokeLinecap:1,"stroke-linecap":"strokeLinecap",strokeLinejoin:1,"stroke-linejoin":"strokeLinejoin",strokeMiterlimit:1,"stroke-miterlimit":"strokeMiterlimit",strokeWidth:1,"stroke-width":"strokeWidth",strokeOpacity:1,"stroke-opacity":"strokeOpacity",suppressContentEditableWarning:1,suppressHydrationWarning:1,surfaceScale:1,systemLanguage:1,tableValues:1,targetX:1,targetY:1,textAnchor:1,"text-anchor":"textAnchor",textDecoration:1,"text-decoration":"textDecoration",textLength:1,textRendering:1,"text-rendering":"textRendering",to:0,transform:0,typeof:0,u1:0,u2:0,underlinePosition:1,"underline-position":"underlinePosition",underlineThickness:1,"underline-thickness":"underlineThickness",unicode:0,unicodeBidi:1,"unicode-bidi":"unicodeBidi",unicodeRange:1,"unicode-range":"unicodeRange",unitsPerEm:1,"units-per-em":"unitsPerEm",unselectable:0,vAlphabetic:1,"v-alphabetic":"vAlphabetic",values:0,vectorEffect:1,"vector-effect":"vectorEffect",version:0,vertAdvY:1,"vert-adv-y":"vertAdvY",vertOriginX:1,"vert-origin-x":"vertOriginX",vertOriginY:1,"vert-origin-y":"vertOriginY",vHanging:1,"v-hanging":"vHanging",vIdeographic:1,"v-ideographic":"vIdeographic",viewBox:1,viewTarget:1,visibility:0,vMathematical:1,"v-mathematical":"vMathematical",vocab:0,widths:0,wordSpacing:1,"word-spacing":"wordSpacing",writingMode:1,"writing-mode":"writingMode",x1:0,x2:0,x:0,xChannelSelector:1,xHeight:1,"x-height":"xHeight",xlinkActuate:1,"xlink:actuate":"xlinkActuate",xlinkArcrole:1,"xlink:arcrole":"xlinkArcrole",xlinkHref:1,"xlink:href":"xlinkHref",xlinkRole:1,"xlink:role":"xlinkRole",xlinkShow:1,"xlink:show":"xlinkShow",xlinkTitle:1,"xlink:title":"xlinkTitle",xlinkType:1,"xlink:type":"xlinkType",xmlBase:1,"xml:base":"xmlBase",xmlLang:1,"xml:lang":"xmlLang",xmlns:0,"xml:space":"xmlSpace",xmlnsXlink:1,"xmlns:xlink":"xmlnsXlink",xmlSpace:1,y1:0,y2:0,y:0,yChannelSelector:1,z:0,zoomAndPan:1}},1167:function(e,t,r){"use strict";var n,o=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},n(e,t)},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,r=1,n=arguments.length;r1)throw new Error("The Quill editing area can only be composed of a single React element.");if(c.default.Children.count(e.children)&&"textarea"===(null===(t=c.default.Children.only(e.children))||void 0===t?void 0:t.type))throw new Error("Quill does not support editing on a