tiptap/docs/assets/js/examples.d9912cd689b2d41695ab.js
2018-08-20 23:24:43 +02:00

8 lines
545 KiB
JavaScript
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

!function(e){var t={};function n(o){if(t[o])return t[o].exports;var r=t[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(o,r,function(t){return e[t]}.bind(null,r));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/",n(n.s=0)}({"./examples/App.vue":function(e,t,n){"use strict";n.r(t);var o=n("./examples/App.vue?vue&type=template&id=1ebcac49&"),r=n("./examples/App.vue?vue&type=script&lang=js&");for(var s in r)"default"!==s&&function(e){n.d(t,e,function(){return r[e]})}(s);n("./examples/App.vue?vue&type=style&index=0&lang=scss&");var i=n("./node_modules/vue-loader/lib/runtime/componentNormalizer.js"),a=Object(i.a)(r.default,o.a,o.b,!1,null,null,null);a.options.__file="examples/App.vue",t.default=a.exports},"./examples/App.vue?vue&type=script&lang=js&":function(e,t,n){"use strict";n.r(t);var o=n("./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/lib/index.js?!./examples/App.vue?vue&type=script&lang=js&"),r=n.n(o);for(var s in o)"default"!==s&&function(e){n.d(t,e,function(){return o[e]})}(s);t.default=r.a},"./examples/App.vue?vue&type=style&index=0&lang=scss&":function(e,t,n){"use strict";var o=n("./node_modules/mini-css-extract-plugin/dist/loader.js!./node_modules/css-loader/index.js!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src/index.js!./node_modules/sass-loader/lib/loader.js!./node_modules/vue-loader/lib/index.js?!./examples/App.vue?vue&type=style&index=0&lang=scss&");n.n(o).a},"./examples/App.vue?vue&type=template&id=1ebcac49&":function(e,t,n){"use strict";var o=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{attrs:{id:"app",spellcheck:"false"}},[n("editor",{staticClass:"editor",attrs:{editable:!0,doc:e.data,extensions:e.plugins},on:{update:e.onUpdate},scopedSlots:e._u([{key:"menububble",fn:function(t){var o=t.marks,r=t.focus;return n("div",{staticClass:"menububble"},[o?[e.linkMenuIsActive?n("form",{staticClass:"menububble__form",on:{submit:function(t){t.preventDefault(),e.setLinkUrl(e.linkUrl,o.link,r)}}},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.linkUrl,expression:"linkUrl"}],ref:"linkInput",staticClass:"menububble__input",attrs:{type:"text",placeholder:"https://"},domProps:{value:e.linkUrl},on:{keydown:function(t){return"button"in t||!e._k(t.keyCode,"esc",27,t.key,"Escape")?e.hideLinkMenu(t):null},input:function(t){t.target.composing||(e.linkUrl=t.target.value)}}}),e._v(" "),n("button",{staticClass:"menububble__button",attrs:{type:"button"},on:{click:function(t){e.setLinkUrl(null,o.link,r)}}},[n("icon",{attrs:{name:"remove"}})],1)]):[n("button",{staticClass:"menububble__button",class:{"is-active":o.bold.active()},on:{click:o.bold.command}},[n("icon",{attrs:{name:"bold"}})],1),e._v(" "),n("button",{staticClass:"menububble__button",class:{"is-active":o.italic.active()},on:{click:o.italic.command}},[n("icon",{attrs:{name:"italic"}})],1),e._v(" "),n("button",{staticClass:"menububble__button",class:{"is-active":o.code.active()},on:{click:o.code.command}},[n("icon",{attrs:{name:"code"}})],1),e._v(" "),n("button",{staticClass:"menububble__button",class:{"is-active":o.link.active()},on:{click:function(t){e.showLinkMenu(o.link)}}},[n("icon",{attrs:{name:"link"}})],1)]]:e._e()],2)}},{key:"menubar",fn:function(t){var o=t.nodes,r=t.focused;return n("div",{staticClass:"menubar",class:{"is-focused":r}},[o?n("div",[n("button",{staticClass:"menubar__button",class:{"is-active":o.paragraph.active()},on:{click:o.paragraph.command}},[n("icon",{attrs:{name:"paragraph"}})],1),e._v(" "),n("button",{staticClass:"menubar__button",class:{"is-active":o.heading.active({level:1})},on:{click:function(e){o.heading.command({level:1})}}},[e._v("\n H1\n ")]),e._v(" "),n("button",{staticClass:"menubar__button",class:{"is-active":o.heading.active({level:2})},on:{click:function(e){o.heading.command({level:2})}}},[e._v("\n H2\n ")]),e._v(" "),n("button",{staticClass:"menubar__button",class:{"is-active":o.heading.active({level:3})},on:{click:function(e){o.heading.command({level:3})}}},[e._v("\n H3\n ")]),e._v(" "),n("button",{staticClass:"menubar__button",class:{"is-active":o.bullet_list.active()},on:{click:o.bullet_list.command}},[n("icon",{attrs:{name:"ul"}})],1),e._v(" "),n("button",{staticClass:"menubar__button",class:{"is-active":o.ordered_list.active()},on:{click:o.ordered_list.command}},[n("icon",{attrs:{name:"ol"}})],1),e._v(" "),n("button",{staticClass:"menubar__button",class:{"is-active":o.code_block.active()},on:{click:o.code_block.command}},[n("icon",{attrs:{name:"code"}})],1),e._v(" "),n("button",{staticClass:"menubar__button",class:{"is-active":o.todo_list.active()},on:{click:o.todo_list.command}},[n("icon",{attrs:{name:"checklist"}})],1)]):e._e()])}},{key:"content",fn:function(e){return n("div",{staticClass:"editor__content"})}}])}),e._v(" "),n("pre",[e._v(e._s(e.data))])],1)},r=[];o._withStripped=!0,n.d(t,"a",function(){return o}),n.d(t,"b",function(){return r})},"./examples/Components/Icon/index.vue":function(e,t,n){"use strict";n.r(t);var o=n("./examples/Components/Icon/index.vue?vue&type=template&id=2b9db09d&scoped=true&"),r=n("./examples/Components/Icon/index.vue?vue&type=script&lang=js&");for(var s in r)"default"!==s&&function(e){n.d(t,e,function(){return r[e]})}(s);n("./examples/Components/Icon/index.vue?vue&type=style&index=0&id=2b9db09d&lang=scss&scoped=true&");var i=n("./node_modules/vue-loader/lib/runtime/componentNormalizer.js"),a=Object(i.a)(r.default,o.a,o.b,!1,null,"2b9db09d",null);a.options.__file="examples/Components/Icon/index.vue",t.default=a.exports},"./examples/Components/Icon/index.vue?vue&type=script&lang=js&":function(e,t,n){"use strict";n.r(t);var o=n("./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/lib/index.js?!./examples/Components/Icon/index.vue?vue&type=script&lang=js&"),r=n.n(o);for(var s in o)"default"!==s&&function(e){n.d(t,e,function(){return o[e]})}(s);t.default=r.a},"./examples/Components/Icon/index.vue?vue&type=style&index=0&id=2b9db09d&lang=scss&scoped=true&":function(e,t,n){"use strict";var o=n("./node_modules/mini-css-extract-plugin/dist/loader.js!./node_modules/css-loader/index.js!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src/index.js!./node_modules/sass-loader/lib/loader.js!./node_modules/vue-loader/lib/index.js?!./examples/Components/Icon/index.vue?vue&type=style&index=0&id=2b9db09d&lang=scss&scoped=true&");n.n(o).a},"./examples/Components/Icon/index.vue?vue&type=template&id=2b9db09d&scoped=true&":function(e,t,n){"use strict";var o=function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"icon",class:["icon--"+this.name,"icon--"+this.size,this.modifierClasses("icon"),{"has-align-fix":this.fixAlign}]},[t("svg",{staticClass:"icon__svg"},[t("use",{attrs:{"xmlns:xlink":"http://www.w3.org/1999/xlink","xlink:href":"#icon--"+this.name}})])])},r=[];o._withStripped=!0,n.d(t,"a",function(){return o}),n.d(t,"b",function(){return r})},"./examples/assets/sass/main.scss":function(e,t,n){},"./examples/helpers/svg-sprite-loader.js":function(e,t,n){"use strict";var o="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};!function(n,r){var s=r.createElementNS&&r.createElementNS("http://www.w3.org/2000/svg","svg").createSVGRect,i="localStorage"in n&&null!==n.localStorage&&n.localStorage;function a(e,t){var n;t=t||{},e instanceof Node?(n=e.getAttribute("data-svg-sprite"),t.revision=e.getAttribute("data-svg-sprite-revision")||t.revision):"string"==typeof e&&(n=e),s?n?function(e,t){var n,o="injectedSVGSprite"+e,r=t.revision;if(void 0!==r&&i&&i[o+"Rev"]==r)return u(i[o]);(n=new XMLHttpRequest).open("GET",e,!0),n.onreadystatechange=function(e){var t;4===n.readyState&&n.status>=200&&n.status<400&&(u(t=n.responseText),void 0!==r&&i&&(i[o]=t,i[o+"Rev"]=r))},n.send()}(n,t):console.error("svg-sprite-injector: undefined sprite filename!"):console.error("svg-sprite-injector require ie9 or greater!")}function u(e){e&&(r.body?c(e):r.addEventListener("DOMContentLoaded",c.bind(null,e)))}function c(e){var t=r.body;t.insertAdjacentHTML("afterbegin",e),"svg"===t.firstChild.tagName&&(t.firstChild.style.display="none")}"object"===o(t)?e.exports=a:n.svgSpriteInjector=a}(window,document)},"./examples/main.js":function(e,t,n){"use strict";n("./node_modules/babel-polyfill/lib/index.js");var o=i(n("./node_modules/vue/dist/vue.esm.js")),r=i(n("./examples/helpers/svg-sprite-loader.js")),s=i(n("./examples/App.vue"));function i(e){return e&&e.__esModule?e:{default:e}}var a={filename:n.p+"assets/images/1534800214149.sprite.svg"};(0,r.default)(a.filename),o.default.config.productionTip=!1,o.default.mixin({methods:{modifierClasses:function(e){var t=[arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.modifier].flatten();return 0===t.length?null:e+"--"+t.join(" "+e+"--")}}}),new o.default({render:function(e){return e(s.default)}}).$mount("#app")},"./examples/plugins/Mention.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),r=n("./src/utils/index.js");var s=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,r.Node),o(t,[{key:"name",get:function(){return"mention"}},{key:"schema",get:function(){return{attrs:{id:{default:null}},group:"inline",inline:!0,draggable:!0,toDOM:function(e){return["span",{dataId:e.attrs.id,class:"mention"},"@"+e.attrs.id]}}}}]),t}();t.default=s},"./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/lib/index.js?!./examples/App.vue?vue&type=script&lang=js&":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=i(n("./examples/Components/Icon/index.vue")),r=n("./src/index.js"),s=i(n("./examples/plugins/Mention.js"));function i(e){return e&&e.__esModule?e:{default:e}}t.default={components:{Editor:r.Editor,Icon:o.default},data:function(){return{linkUrl:null,linkMenuIsActive:!1,plugins:[new s.default],data:{type:"doc",content:[{type:"heading",attrs:{level:1},content:[{type:"text",text:"A renderless rich-text editor for Vue.js "}]},{type:"paragraph",content:[{type:"text",text:"This editor is based on "},{type:"text",marks:[{type:"link",attrs:{href:"https://prosemirror.net"}}],text:"Prosemirror"},{type:"text",text:", "},{type:"text",marks:[{type:"italic"}],text:"fully extendable "},{type:"text",text:"and renderless. There is a plugin system that lets you render each node as "},{type:"text",marks:[{type:"bold"}],text:"a vue component. "},{type:"text",text:"Things like mentions "},{type:"mention",attrs:{id:"Philipp"}},{type:"text",text:" are also supported."}]},{type:"code_block",content:[{type:"text",text:"body {\n display: none;\n}"}]},{type:"todo_list",content:[{type:"todo_item",attrs:{done:!0},content:[{type:"paragraph",content:[{type:"text",text:"There is always something to do"}]}]},{type:"todo_item",attrs:{done:!1},content:[{type:"paragraph",content:[{type:"text",text:"This list will never end"}]}]}]},{type:"bullet_list",content:[{type:"list_item",content:[{type:"paragraph",content:[{type:"text",text:"A regular list"}]}]},{type:"list_item",content:[{type:"paragraph",content:[{type:"text",text:"With regular items"}]}]}]},{type:"paragraph",content:[{type:"text",text:"It's amazing 👏"}]}]}}},methods:{showLinkMenu:function(e){var t=this;this.linkUrl=e.attrs.href,this.linkMenuIsActive=!0,this.$nextTick(function(){t.$refs.linkInput.focus()})},hideLinkMenu:function(){this.linkUrl=null,this.linkMenuIsActive=!1},setLinkUrl:function(e,t,n){t.command({href:e}),this.hideLinkMenu(),n()},onUpdate:function(e){this.data=e.doc.toJSON()}}}},"./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/lib/index.js?!./examples/Components/Icon/index.vue?vue&type=script&lang=js&":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={props:{name:{},size:{default:"normal"},modifier:{default:null},fixAlign:{default:!0}}}},"./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/lib/index.js?!./src/components/editor.vue?vue&type=script&lang=js&":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=function(){return function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],o=!0,r=!1,s=void 0;try{for(var i,a=e[Symbol.iterator]();!(o=(i=a.next()).done)&&(n.push(i.value),!t||n.length!==t);o=!0);}catch(e){r=!0,s=e}finally{try{!o&&a.return&&a.return()}finally{if(r)throw s}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),r=n("./node_modules/prosemirror-state/dist/index.js"),s=n("./node_modules/prosemirror-view/dist/index.js"),i=n("./node_modules/prosemirror-model/dist/index.js"),a=n("./node_modules/prosemirror-dropcursor/dist/dropcursor.js"),u=n("./node_modules/prosemirror-gapcursor/dist/index.js"),c=n("./node_modules/prosemirror-history/dist/history.js"),l=n("./node_modules/prosemirror-keymap/dist/keymap.js"),d=n("./node_modules/prosemirror-commands/dist/commands.js"),f=n("./node_modules/prosemirror-inputrules/dist/index.js"),p=n("./src/utils/index.js"),m=v(n("./src/nodes/index.js")),h=v(n("./src/marks/index.js"));function v(e){return e&&e.__esModule?e:{default:e}}function j(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}t.default={props:{doc:{type:Object,required:!1,default:null},extensions:{type:Array,required:!1,default:function(){return[]}},editable:{type:Boolean,default:!0}},data:function(){var e=new p.PluginManager([].concat(j(m.default),j(h.default),j(this.extensions)));return{state:null,view:null,pluginplugins:[],plugins:e,schema:null,nodes:e.nodes,marks:e.marks,views:e.views,keymaps:[],commands:{},menuActions:null}},render:function(e){var t=this,n=[];return Object.entries(this.$scopedSlots).forEach(function(e){var r=o(e,2),s=r[0],i=r[1];"content"===s?(t.contentNode=i({}),n.push(t.contentNode)):"menubar"===s?(t.menubarNode=i({nodes:t.menuActions?t.menuActions.nodes:null,marks:t.menuActions?t.menuActions.marks:null,focused:!!t.view&&t.view.focused,focus:function(){return t.view.focus()}}),n.push(t.menubarNode)):"menububble"===s&&(t.menububbleNode=i({nodes:t.menuActions?t.menuActions.nodes:null,marks:t.menuActions?t.menuActions.marks:null,focused:!!t.view&&t.view.focused,focus:function(){return t.view.focus()}}),n.push(t.menububbleNode))}),e("div",{class:"vue-editor"},n)},methods:{initEditor:function(){this.schema=this.createSchema(),this.pluginplugins=this.createPlugins(),this.keymaps=this.createKeymaps(),this.inputRules=this.createInputRules(),this.state=this.createState(),this.clearSlot(),this.view=this.createView(),this.commands=this.createCommands(),this.updateMenuActions()},createSchema:function(){return new i.Schema({nodes:this.nodes,marks:this.marks})},createPlugins:function(){return this.plugins.pluginplugins},createKeymaps:function(){return this.plugins.keymaps({schema:this.schema})},createInputRules:function(){return this.plugins.inputRules({schema:this.schema})},createCommands:function(){return this.plugins.commands({schema:this.schema,view:this.view})},createState:function(){return r.EditorState.create({schema:this.schema,doc:this.getDocument(),plugins:[].concat(j(this.pluginplugins),j(this.getPlugins()))})},getDocument:function(){return this.doc?this.schema.nodeFromJSON(this.doc):i.DOMParser.fromSchema(this.schema).parse(this.contentNode.elm)},clearSlot:function(){this.contentNode.elm.innerHTML=""},getPlugins:function(){var e=this;return[(0,p.menuBubble)(this.menububbleNode),(0,f.inputRules)({rules:this.inputRules})].concat(j(this.keymaps),[(0,l.keymap)(p.builtInKeymap),(0,l.keymap)(d.baseKeymap),(0,a.dropCursor)(),(0,u.gapCursor)(),(0,c.history)(),new r.Plugin({props:{editable:function(){return e.editable}}})])},createView:function(){return new s.EditorView(this.contentNode.elm,{state:this.state,dispatchTransaction:this.dispatchTransaction,nodeViews:(0,p.initNodeViews)({nodes:this.views,editable:this.editable})})},updateMenuActions:function(){this.menuActions=(0,p.buildMenuActions)({schema:this.schema,state:this.view.state,commands:this.commands})},dispatchTransaction:function(e){this.state=this.state.apply(e),this.view.updateState(this.state),this.$emit("update",this.state),this.updateMenuActions()}},mounted:function(){this.initEditor()}}},"./node_modules/babel-polyfill/lib/index.js":function(e,t,n){"use strict";(function(e){if(n("./node_modules/core-js/shim.js"),n("./node_modules/regenerator-runtime/runtime.js"),n("./node_modules/core-js/fn/regexp/escape.js"),e._babelPolyfill)throw new Error("only one instance of babel-polyfill is allowed");e._babelPolyfill=!0;var t="defineProperty";function o(e,n,o){e[n]||Object[t](e,n,{writable:!0,configurable:!0,value:o})}o(String.prototype,"padLeft","".padStart),o(String.prototype,"padRight","".padEnd),"pop,reverse,shift,keys,values,entries,indexOf,every,some,forEach,map,filter,find,findIndex,includes,join,slice,concat,push,splice,unshift,sort,lastIndexOf,reduce,reduceRight,copyWithin,fill".split(",").forEach(function(e){[][e]&&o(Array,e,Function.call.bind([][e]))})}).call(this,n("./node_modules/webpack/buildin/global.js"))},"./node_modules/core-js/fn/regexp/escape.js":function(e,t,n){n("./node_modules/core-js/modules/core.regexp.escape.js"),e.exports=n("./node_modules/core-js/modules/_core.js").RegExp.escape},"./node_modules/core-js/modules/_a-function.js":function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},"./node_modules/core-js/modules/_a-number-value.js":function(e,t,n){var o=n("./node_modules/core-js/modules/_cof.js");e.exports=function(e,t){if("number"!=typeof e&&"Number"!=o(e))throw TypeError(t);return+e}},"./node_modules/core-js/modules/_add-to-unscopables.js":function(e,t,n){var o=n("./node_modules/core-js/modules/_wks.js")("unscopables"),r=Array.prototype;void 0==r[o]&&n("./node_modules/core-js/modules/_hide.js")(r,o,{}),e.exports=function(e){r[o][e]=!0}},"./node_modules/core-js/modules/_an-instance.js":function(e,t){e.exports=function(e,t,n,o){if(!(e instanceof t)||void 0!==o&&o in e)throw TypeError(n+": incorrect invocation!");return e}},"./node_modules/core-js/modules/_an-object.js":function(e,t,n){var o=n("./node_modules/core-js/modules/_is-object.js");e.exports=function(e){if(!o(e))throw TypeError(e+" is not an object!");return e}},"./node_modules/core-js/modules/_array-copy-within.js":function(e,t,n){"use strict";var o=n("./node_modules/core-js/modules/_to-object.js"),r=n("./node_modules/core-js/modules/_to-absolute-index.js"),s=n("./node_modules/core-js/modules/_to-length.js");e.exports=[].copyWithin||function(e,t){var n=o(this),i=s(n.length),a=r(e,i),u=r(t,i),c=arguments.length>2?arguments[2]:void 0,l=Math.min((void 0===c?i:r(c,i))-u,i-a),d=1;for(u<a&&a<u+l&&(d=-1,u+=l-1,a+=l-1);l-- >0;)u in n?n[a]=n[u]:delete n[a],a+=d,u+=d;return n}},"./node_modules/core-js/modules/_array-fill.js":function(e,t,n){"use strict";var o=n("./node_modules/core-js/modules/_to-object.js"),r=n("./node_modules/core-js/modules/_to-absolute-index.js"),s=n("./node_modules/core-js/modules/_to-length.js");e.exports=function(e){for(var t=o(this),n=s(t.length),i=arguments.length,a=r(i>1?arguments[1]:void 0,n),u=i>2?arguments[2]:void 0,c=void 0===u?n:r(u,n);c>a;)t[a++]=e;return t}},"./node_modules/core-js/modules/_array-from-iterable.js":function(e,t,n){var o=n("./node_modules/core-js/modules/_for-of.js");e.exports=function(e,t){var n=[];return o(e,!1,n.push,n,t),n}},"./node_modules/core-js/modules/_array-includes.js":function(e,t,n){var o=n("./node_modules/core-js/modules/_to-iobject.js"),r=n("./node_modules/core-js/modules/_to-length.js"),s=n("./node_modules/core-js/modules/_to-absolute-index.js");e.exports=function(e){return function(t,n,i){var a,u=o(t),c=r(u.length),l=s(i,c);if(e&&n!=n){for(;c>l;)if((a=u[l++])!=a)return!0}else for(;c>l;l++)if((e||l in u)&&u[l]===n)return e||l||0;return!e&&-1}}},"./node_modules/core-js/modules/_array-methods.js":function(e,t,n){var o=n("./node_modules/core-js/modules/_ctx.js"),r=n("./node_modules/core-js/modules/_iobject.js"),s=n("./node_modules/core-js/modules/_to-object.js"),i=n("./node_modules/core-js/modules/_to-length.js"),a=n("./node_modules/core-js/modules/_array-species-create.js");e.exports=function(e,t){var n=1==e,u=2==e,c=3==e,l=4==e,d=6==e,f=5==e||d,p=t||a;return function(t,a,m){for(var h,v,j=s(t),y=r(j),_=o(a,m,3),g=i(y.length),b=0,w=n?p(t,g):u?p(t,0):void 0;g>b;b++)if((f||b in y)&&(v=_(h=y[b],b,j),e))if(n)w[b]=v;else if(v)switch(e){case 3:return!0;case 5:return h;case 6:return b;case 2:w.push(h)}else if(l)return!1;return d?-1:c||l?l:w}}},"./node_modules/core-js/modules/_array-reduce.js":function(e,t,n){var o=n("./node_modules/core-js/modules/_a-function.js"),r=n("./node_modules/core-js/modules/_to-object.js"),s=n("./node_modules/core-js/modules/_iobject.js"),i=n("./node_modules/core-js/modules/_to-length.js");e.exports=function(e,t,n,a,u){o(t);var c=r(e),l=s(c),d=i(c.length),f=u?d-1:0,p=u?-1:1;if(n<2)for(;;){if(f in l){a=l[f],f+=p;break}if(f+=p,u?f<0:d<=f)throw TypeError("Reduce of empty array with no initial value")}for(;u?f>=0:d>f;f+=p)f in l&&(a=t(a,l[f],f,c));return a}},"./node_modules/core-js/modules/_array-species-constructor.js":function(e,t,n){var o=n("./node_modules/core-js/modules/_is-object.js"),r=n("./node_modules/core-js/modules/_is-array.js"),s=n("./node_modules/core-js/modules/_wks.js")("species");e.exports=function(e){var t;return r(e)&&("function"!=typeof(t=e.constructor)||t!==Array&&!r(t.prototype)||(t=void 0),o(t)&&null===(t=t[s])&&(t=void 0)),void 0===t?Array:t}},"./node_modules/core-js/modules/_array-species-create.js":function(e,t,n){var o=n("./node_modules/core-js/modules/_array-species-constructor.js");e.exports=function(e,t){return new(o(e))(t)}},"./node_modules/core-js/modules/_bind.js":function(e,t,n){"use strict";var o=n("./node_modules/core-js/modules/_a-function.js"),r=n("./node_modules/core-js/modules/_is-object.js"),s=n("./node_modules/core-js/modules/_invoke.js"),i=[].slice,a={};e.exports=Function.bind||function(e){var t=o(this),n=i.call(arguments,1),u=function(){var o=n.concat(i.call(arguments));return this instanceof u?function(e,t,n){if(!(t in a)){for(var o=[],r=0;r<t;r++)o[r]="a["+r+"]";a[t]=Function("F,a","return new F("+o.join(",")+")")}return a[t](e,n)}(t,o.length,o):s(t,o,e)};return r(t.prototype)&&(u.prototype=t.prototype),u}},"./node_modules/core-js/modules/_classof.js":function(e,t,n){var o=n("./node_modules/core-js/modules/_cof.js"),r=n("./node_modules/core-js/modules/_wks.js")("toStringTag"),s="Arguments"==o(function(){return arguments}());e.exports=function(e){var t,n,i;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),r))?n:s?o(t):"Object"==(i=o(t))&&"function"==typeof t.callee?"Arguments":i}},"./node_modules/core-js/modules/_cof.js":function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},"./node_modules/core-js/modules/_collection-strong.js":function(e,t,n){"use strict";var o=n("./node_modules/core-js/modules/_object-dp.js").f,r=n("./node_modules/core-js/modules/_object-create.js"),s=n("./node_modules/core-js/modules/_redefine-all.js"),i=n("./node_modules/core-js/modules/_ctx.js"),a=n("./node_modules/core-js/modules/_an-instance.js"),u=n("./node_modules/core-js/modules/_for-of.js"),c=n("./node_modules/core-js/modules/_iter-define.js"),l=n("./node_modules/core-js/modules/_iter-step.js"),d=n("./node_modules/core-js/modules/_set-species.js"),f=n("./node_modules/core-js/modules/_descriptors.js"),p=n("./node_modules/core-js/modules/_meta.js").fastKey,m=n("./node_modules/core-js/modules/_validate-collection.js"),h=f?"_s":"size",v=function(e,t){var n,o=p(t);if("F"!==o)return e._i[o];for(n=e._f;n;n=n.n)if(n.k==t)return n};e.exports={getConstructor:function(e,t,n,c){var l=e(function(e,o){a(e,l,t,"_i"),e._t=t,e._i=r(null),e._f=void 0,e._l=void 0,e[h]=0,void 0!=o&&u(o,n,e[c],e)});return s(l.prototype,{clear:function(){for(var e=m(this,t),n=e._i,o=e._f;o;o=o.n)o.r=!0,o.p&&(o.p=o.p.n=void 0),delete n[o.i];e._f=e._l=void 0,e[h]=0},delete:function(e){var n=m(this,t),o=v(n,e);if(o){var r=o.n,s=o.p;delete n._i[o.i],o.r=!0,s&&(s.n=r),r&&(r.p=s),n._f==o&&(n._f=r),n._l==o&&(n._l=s),n[h]--}return!!o},forEach:function(e){m(this,t);for(var n,o=i(e,arguments.length>1?arguments[1]:void 0,3);n=n?n.n:this._f;)for(o(n.v,n.k,this);n&&n.r;)n=n.p},has:function(e){return!!v(m(this,t),e)}}),f&&o(l.prototype,"size",{get:function(){return m(this,t)[h]}}),l},def:function(e,t,n){var o,r,s=v(e,t);return s?s.v=n:(e._l=s={i:r=p(t,!0),k:t,v:n,p:o=e._l,n:void 0,r:!1},e._f||(e._f=s),o&&(o.n=s),e[h]++,"F"!==r&&(e._i[r]=s)),e},getEntry:v,setStrong:function(e,t,n){c(e,t,function(e,n){this._t=m(e,t),this._k=n,this._l=void 0},function(){for(var e=this._k,t=this._l;t&&t.r;)t=t.p;return this._t&&(this._l=t=t?t.n:this._t._f)?l(0,"keys"==e?t.k:"values"==e?t.v:[t.k,t.v]):(this._t=void 0,l(1))},n?"entries":"values",!n,!0),d(t)}}},"./node_modules/core-js/modules/_collection-to-json.js":function(e,t,n){var o=n("./node_modules/core-js/modules/_classof.js"),r=n("./node_modules/core-js/modules/_array-from-iterable.js");e.exports=function(e){return function(){if(o(this)!=e)throw TypeError(e+"#toJSON isn't generic");return r(this)}}},"./node_modules/core-js/modules/_collection-weak.js":function(e,t,n){"use strict";var o=n("./node_modules/core-js/modules/_redefine-all.js"),r=n("./node_modules/core-js/modules/_meta.js").getWeak,s=n("./node_modules/core-js/modules/_an-object.js"),i=n("./node_modules/core-js/modules/_is-object.js"),a=n("./node_modules/core-js/modules/_an-instance.js"),u=n("./node_modules/core-js/modules/_for-of.js"),c=n("./node_modules/core-js/modules/_array-methods.js"),l=n("./node_modules/core-js/modules/_has.js"),d=n("./node_modules/core-js/modules/_validate-collection.js"),f=c(5),p=c(6),m=0,h=function(e){return e._l||(e._l=new v)},v=function(){this.a=[]},j=function(e,t){return f(e.a,function(e){return e[0]===t})};v.prototype={get:function(e){var t=j(this,e);if(t)return t[1]},has:function(e){return!!j(this,e)},set:function(e,t){var n=j(this,e);n?n[1]=t:this.a.push([e,t])},delete:function(e){var t=p(this.a,function(t){return t[0]===e});return~t&&this.a.splice(t,1),!!~t}},e.exports={getConstructor:function(e,t,n,s){var c=e(function(e,o){a(e,c,t,"_i"),e._t=t,e._i=m++,e._l=void 0,void 0!=o&&u(o,n,e[s],e)});return o(c.prototype,{delete:function(e){if(!i(e))return!1;var n=r(e);return!0===n?h(d(this,t)).delete(e):n&&l(n,this._i)&&delete n[this._i]},has:function(e){if(!i(e))return!1;var n=r(e);return!0===n?h(d(this,t)).has(e):n&&l(n,this._i)}}),c},def:function(e,t,n){var o=r(s(t),!0);return!0===o?h(e).set(t,n):o[e._i]=n,e},ufstore:h}},"./node_modules/core-js/modules/_collection.js":function(e,t,n){"use strict";var o=n("./node_modules/core-js/modules/_global.js"),r=n("./node_modules/core-js/modules/_export.js"),s=n("./node_modules/core-js/modules/_redefine.js"),i=n("./node_modules/core-js/modules/_redefine-all.js"),a=n("./node_modules/core-js/modules/_meta.js"),u=n("./node_modules/core-js/modules/_for-of.js"),c=n("./node_modules/core-js/modules/_an-instance.js"),l=n("./node_modules/core-js/modules/_is-object.js"),d=n("./node_modules/core-js/modules/_fails.js"),f=n("./node_modules/core-js/modules/_iter-detect.js"),p=n("./node_modules/core-js/modules/_set-to-string-tag.js"),m=n("./node_modules/core-js/modules/_inherit-if-required.js");e.exports=function(e,t,n,h,v,j){var y=o[e],_=y,g=v?"set":"add",b=_&&_.prototype,w={},x=function(e){var t=b[e];s(b,e,"delete"==e?function(e){return!(j&&!l(e))&&t.call(this,0===e?0:e)}:"has"==e?function(e){return!(j&&!l(e))&&t.call(this,0===e?0:e)}:"get"==e?function(e){return j&&!l(e)?void 0:t.call(this,0===e?0:e)}:"add"==e?function(e){return t.call(this,0===e?0:e),this}:function(e,n){return t.call(this,0===e?0:e,n),this})};if("function"==typeof _&&(j||b.forEach&&!d(function(){(new _).entries().next()}))){var k=new _,S=k[g](j?{}:-0,1)!=k,O=d(function(){k.has(1)}),C=f(function(e){new _(e)}),M=!j&&d(function(){for(var e=new _,t=5;t--;)e[g](t,t);return!e.has(-0)});C||((_=t(function(t,n){c(t,_,e);var o=m(new y,t,_);return void 0!=n&&u(n,v,o[g],o),o})).prototype=b,b.constructor=_),(O||M)&&(x("delete"),x("has"),v&&x("get")),(M||S)&&x(g),j&&b.clear&&delete b.clear}else _=h.getConstructor(t,e,v,g),i(_.prototype,n),a.NEED=!0;return p(_,e),w[e]=_,r(r.G+r.W+r.F*(_!=y),w),j||h.setStrong(_,e,v),_}},"./node_modules/core-js/modules/_core.js":function(e,t){var n=e.exports={version:"2.5.7"};"number"==typeof __e&&(__e=n)},"./node_modules/core-js/modules/_create-property.js":function(e,t,n){"use strict";var o=n("./node_modules/core-js/modules/_object-dp.js"),r=n("./node_modules/core-js/modules/_property-desc.js");e.exports=function(e,t,n){t in e?o.f(e,t,r(0,n)):e[t]=n}},"./node_modules/core-js/modules/_ctx.js":function(e,t,n){var o=n("./node_modules/core-js/modules/_a-function.js");e.exports=function(e,t,n){if(o(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,o){return e.call(t,n,o)};case 3:return function(n,o,r){return e.call(t,n,o,r)}}return function(){return e.apply(t,arguments)}}},"./node_modules/core-js/modules/_date-to-iso-string.js":function(e,t,n){"use strict";var o=n("./node_modules/core-js/modules/_fails.js"),r=Date.prototype.getTime,s=Date.prototype.toISOString,i=function(e){return e>9?e:"0"+e};e.exports=o(function(){return"0385-07-25T07:06:39.999Z"!=s.call(new Date(-5e13-1))})||!o(function(){s.call(new Date(NaN))})?function(){if(!isFinite(r.call(this)))throw RangeError("Invalid time value");var e=this,t=e.getUTCFullYear(),n=e.getUTCMilliseconds(),o=t<0?"-":t>9999?"+":"";return o+("00000"+Math.abs(t)).slice(o?-6:-4)+"-"+i(e.getUTCMonth()+1)+"-"+i(e.getUTCDate())+"T"+i(e.getUTCHours())+":"+i(e.getUTCMinutes())+":"+i(e.getUTCSeconds())+"."+(n>99?n:"0"+i(n))+"Z"}:s},"./node_modules/core-js/modules/_date-to-primitive.js":function(e,t,n){"use strict";var o=n("./node_modules/core-js/modules/_an-object.js"),r=n("./node_modules/core-js/modules/_to-primitive.js");e.exports=function(e){if("string"!==e&&"number"!==e&&"default"!==e)throw TypeError("Incorrect hint");return r(o(this),"number"!=e)}},"./node_modules/core-js/modules/_defined.js":function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},"./node_modules/core-js/modules/_descriptors.js":function(e,t,n){e.exports=!n("./node_modules/core-js/modules/_fails.js")(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},"./node_modules/core-js/modules/_dom-create.js":function(e,t,n){var o=n("./node_modules/core-js/modules/_is-object.js"),r=n("./node_modules/core-js/modules/_global.js").document,s=o(r)&&o(r.createElement);e.exports=function(e){return s?r.createElement(e):{}}},"./node_modules/core-js/modules/_enum-bug-keys.js":function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},"./node_modules/core-js/modules/_enum-keys.js":function(e,t,n){var o=n("./node_modules/core-js/modules/_object-keys.js"),r=n("./node_modules/core-js/modules/_object-gops.js"),s=n("./node_modules/core-js/modules/_object-pie.js");e.exports=function(e){var t=o(e),n=r.f;if(n)for(var i,a=n(e),u=s.f,c=0;a.length>c;)u.call(e,i=a[c++])&&t.push(i);return t}},"./node_modules/core-js/modules/_export.js":function(e,t,n){var o=n("./node_modules/core-js/modules/_global.js"),r=n("./node_modules/core-js/modules/_core.js"),s=n("./node_modules/core-js/modules/_hide.js"),i=n("./node_modules/core-js/modules/_redefine.js"),a=n("./node_modules/core-js/modules/_ctx.js"),u=function(e,t,n){var c,l,d,f,p=e&u.F,m=e&u.G,h=e&u.S,v=e&u.P,j=e&u.B,y=m?o:h?o[t]||(o[t]={}):(o[t]||{}).prototype,_=m?r:r[t]||(r[t]={}),g=_.prototype||(_.prototype={});for(c in m&&(n=t),n)d=((l=!p&&y&&void 0!==y[c])?y:n)[c],f=j&&l?a(d,o):v&&"function"==typeof d?a(Function.call,d):d,y&&i(y,c,d,e&u.U),_[c]!=d&&s(_,c,f),v&&g[c]!=d&&(g[c]=d)};o.core=r,u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,e.exports=u},"./node_modules/core-js/modules/_fails-is-regexp.js":function(e,t,n){var o=n("./node_modules/core-js/modules/_wks.js")("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[o]=!1,!"/./"[e](t)}catch(e){}}return!0}},"./node_modules/core-js/modules/_fails.js":function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},"./node_modules/core-js/modules/_fix-re-wks.js":function(e,t,n){"use strict";var o=n("./node_modules/core-js/modules/_hide.js"),r=n("./node_modules/core-js/modules/_redefine.js"),s=n("./node_modules/core-js/modules/_fails.js"),i=n("./node_modules/core-js/modules/_defined.js"),a=n("./node_modules/core-js/modules/_wks.js");e.exports=function(e,t,n){var u=a(e),c=n(i,u,""[e]),l=c[0],d=c[1];s(function(){var t={};return t[u]=function(){return 7},7!=""[e](t)})&&(r(String.prototype,e,l),o(RegExp.prototype,u,2==t?function(e,t){return d.call(e,this,t)}:function(e){return d.call(e,this)}))}},"./node_modules/core-js/modules/_flags.js":function(e,t,n){"use strict";var o=n("./node_modules/core-js/modules/_an-object.js");e.exports=function(){var e=o(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},"./node_modules/core-js/modules/_flatten-into-array.js":function(e,t,n){"use strict";var o=n("./node_modules/core-js/modules/_is-array.js"),r=n("./node_modules/core-js/modules/_is-object.js"),s=n("./node_modules/core-js/modules/_to-length.js"),i=n("./node_modules/core-js/modules/_ctx.js"),a=n("./node_modules/core-js/modules/_wks.js")("isConcatSpreadable");e.exports=function e(t,n,u,c,l,d,f,p){for(var m,h,v=l,j=0,y=!!f&&i(f,p,3);j<c;){if(j in u){if(m=y?y(u[j],j,n):u[j],h=!1,r(m)&&(h=void 0!==(h=m[a])?!!h:o(m)),h&&d>0)v=e(t,n,m,s(m.length),v,d-1)-1;else{if(v>=9007199254740991)throw TypeError();t[v]=m}v++}j++}return v}},"./node_modules/core-js/modules/_for-of.js":function(e,t,n){var o=n("./node_modules/core-js/modules/_ctx.js"),r=n("./node_modules/core-js/modules/_iter-call.js"),s=n("./node_modules/core-js/modules/_is-array-iter.js"),i=n("./node_modules/core-js/modules/_an-object.js"),a=n("./node_modules/core-js/modules/_to-length.js"),u=n("./node_modules/core-js/modules/core.get-iterator-method.js"),c={},l={};(t=e.exports=function(e,t,n,d,f){var p,m,h,v,j=f?function(){return e}:u(e),y=o(n,d,t?2:1),_=0;if("function"!=typeof j)throw TypeError(e+" is not iterable!");if(s(j)){for(p=a(e.length);p>_;_++)if((v=t?y(i(m=e[_])[0],m[1]):y(e[_]))===c||v===l)return v}else for(h=j.call(e);!(m=h.next()).done;)if((v=r(h,y,m.value,t))===c||v===l)return v}).BREAK=c,t.RETURN=l},"./node_modules/core-js/modules/_global.js":function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},"./node_modules/core-js/modules/_has.js":function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},"./node_modules/core-js/modules/_hide.js":function(e,t,n){var o=n("./node_modules/core-js/modules/_object-dp.js"),r=n("./node_modules/core-js/modules/_property-desc.js");e.exports=n("./node_modules/core-js/modules/_descriptors.js")?function(e,t,n){return o.f(e,t,r(1,n))}:function(e,t,n){return e[t]=n,e}},"./node_modules/core-js/modules/_html.js":function(e,t,n){var o=n("./node_modules/core-js/modules/_global.js").document;e.exports=o&&o.documentElement},"./node_modules/core-js/modules/_ie8-dom-define.js":function(e,t,n){e.exports=!n("./node_modules/core-js/modules/_descriptors.js")&&!n("./node_modules/core-js/modules/_fails.js")(function(){return 7!=Object.defineProperty(n("./node_modules/core-js/modules/_dom-create.js")("div"),"a",{get:function(){return 7}}).a})},"./node_modules/core-js/modules/_inherit-if-required.js":function(e,t,n){var o=n("./node_modules/core-js/modules/_is-object.js"),r=n("./node_modules/core-js/modules/_set-proto.js").set;e.exports=function(e,t,n){var s,i=t.constructor;return i!==n&&"function"==typeof i&&(s=i.prototype)!==n.prototype&&o(s)&&r&&r(e,s),e}},"./node_modules/core-js/modules/_invoke.js":function(e,t){e.exports=function(e,t,n){var o=void 0===n;switch(t.length){case 0:return o?e():e.call(n);case 1:return o?e(t[0]):e.call(n,t[0]);case 2:return o?e(t[0],t[1]):e.call(n,t[0],t[1]);case 3:return o?e(t[0],t[1],t[2]):e.call(n,t[0],t[1],t[2]);case 4:return o?e(t[0],t[1],t[2],t[3]):e.call(n,t[0],t[1],t[2],t[3])}return e.apply(n,t)}},"./node_modules/core-js/modules/_iobject.js":function(e,t,n){var o=n("./node_modules/core-js/modules/_cof.js");e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==o(e)?e.split(""):Object(e)}},"./node_modules/core-js/modules/_is-array-iter.js":function(e,t,n){var o=n("./node_modules/core-js/modules/_iterators.js"),r=n("./node_modules/core-js/modules/_wks.js")("iterator"),s=Array.prototype;e.exports=function(e){return void 0!==e&&(o.Array===e||s[r]===e)}},"./node_modules/core-js/modules/_is-array.js":function(e,t,n){var o=n("./node_modules/core-js/modules/_cof.js");e.exports=Array.isArray||function(e){return"Array"==o(e)}},"./node_modules/core-js/modules/_is-integer.js":function(e,t,n){var o=n("./node_modules/core-js/modules/_is-object.js"),r=Math.floor;e.exports=function(e){return!o(e)&&isFinite(e)&&r(e)===e}},"./node_modules/core-js/modules/_is-object.js":function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},"./node_modules/core-js/modules/_is-regexp.js":function(e,t,n){var o=n("./node_modules/core-js/modules/_is-object.js"),r=n("./node_modules/core-js/modules/_cof.js"),s=n("./node_modules/core-js/modules/_wks.js")("match");e.exports=function(e){var t;return o(e)&&(void 0!==(t=e[s])?!!t:"RegExp"==r(e))}},"./node_modules/core-js/modules/_iter-call.js":function(e,t,n){var o=n("./node_modules/core-js/modules/_an-object.js");e.exports=function(e,t,n,r){try{return r?t(o(n)[0],n[1]):t(n)}catch(t){var s=e.return;throw void 0!==s&&o(s.call(e)),t}}},"./node_modules/core-js/modules/_iter-create.js":function(e,t,n){"use strict";var o=n("./node_modules/core-js/modules/_object-create.js"),r=n("./node_modules/core-js/modules/_property-desc.js"),s=n("./node_modules/core-js/modules/_set-to-string-tag.js"),i={};n("./node_modules/core-js/modules/_hide.js")(i,n("./node_modules/core-js/modules/_wks.js")("iterator"),function(){return this}),e.exports=function(e,t,n){e.prototype=o(i,{next:r(1,n)}),s(e,t+" Iterator")}},"./node_modules/core-js/modules/_iter-define.js":function(e,t,n){"use strict";var o=n("./node_modules/core-js/modules/_library.js"),r=n("./node_modules/core-js/modules/_export.js"),s=n("./node_modules/core-js/modules/_redefine.js"),i=n("./node_modules/core-js/modules/_hide.js"),a=n("./node_modules/core-js/modules/_iterators.js"),u=n("./node_modules/core-js/modules/_iter-create.js"),c=n("./node_modules/core-js/modules/_set-to-string-tag.js"),l=n("./node_modules/core-js/modules/_object-gpo.js"),d=n("./node_modules/core-js/modules/_wks.js")("iterator"),f=!([].keys&&"next"in[].keys()),p=function(){return this};e.exports=function(e,t,n,m,h,v,j){u(n,t,m);var y,_,g,b=function(e){if(!f&&e in S)return S[e];switch(e){case"keys":case"values":return function(){return new n(this,e)}}return function(){return new n(this,e)}},w=t+" Iterator",x="values"==h,k=!1,S=e.prototype,O=S[d]||S["@@iterator"]||h&&S[h],C=O||b(h),M=h?x?b("entries"):C:void 0,A="Array"==t&&S.entries||O;if(A&&(g=l(A.call(new e)))!==Object.prototype&&g.next&&(c(g,w,!0),o||"function"==typeof g[d]||i(g,d,p)),x&&O&&"values"!==O.name&&(k=!0,C=function(){return O.call(this)}),o&&!j||!f&&!k&&S[d]||i(S,d,C),a[t]=C,a[w]=p,h)if(y={values:x?C:b("values"),keys:v?C:b("keys"),entries:M},j)for(_ in y)_ in S||s(S,_,y[_]);else r(r.P+r.F*(f||k),t,y);return y}},"./node_modules/core-js/modules/_iter-detect.js":function(e,t,n){var o=n("./node_modules/core-js/modules/_wks.js")("iterator"),r=!1;try{var s=[7][o]();s.return=function(){r=!0},Array.from(s,function(){throw 2})}catch(e){}e.exports=function(e,t){if(!t&&!r)return!1;var n=!1;try{var s=[7],i=s[o]();i.next=function(){return{done:n=!0}},s[o]=function(){return i},e(s)}catch(e){}return n}},"./node_modules/core-js/modules/_iter-step.js":function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},"./node_modules/core-js/modules/_iterators.js":function(e,t){e.exports={}},"./node_modules/core-js/modules/_library.js":function(e,t){e.exports=!1},"./node_modules/core-js/modules/_math-expm1.js":function(e,t){var n=Math.expm1;e.exports=!n||n(10)>22025.465794806718||n(10)<22025.465794806718||-2e-17!=n(-2e-17)?function(e){return 0==(e=+e)?e:e>-1e-6&&e<1e-6?e+e*e/2:Math.exp(e)-1}:n},"./node_modules/core-js/modules/_math-fround.js":function(e,t,n){var o=n("./node_modules/core-js/modules/_math-sign.js"),r=Math.pow,s=r(2,-52),i=r(2,-23),a=r(2,127)*(2-i),u=r(2,-126);e.exports=Math.fround||function(e){var t,n,r=Math.abs(e),c=o(e);return r<u?c*function(e){return e+1/s-1/s}(r/u/i)*u*i:(n=(t=(1+i/s)*r)-(t-r))>a||n!=n?c*(1/0):c*n}},"./node_modules/core-js/modules/_math-log1p.js":function(e,t){e.exports=Math.log1p||function(e){return(e=+e)>-1e-8&&e<1e-8?e-e*e/2:Math.log(1+e)}},"./node_modules/core-js/modules/_math-scale.js":function(e,t){e.exports=Math.scale||function(e,t,n,o,r){return 0===arguments.length||e!=e||t!=t||n!=n||o!=o||r!=r?NaN:e===1/0||e===-1/0?e:(e-t)*(r-o)/(n-t)+o}},"./node_modules/core-js/modules/_math-sign.js":function(e,t){e.exports=Math.sign||function(e){return 0==(e=+e)||e!=e?e:e<0?-1:1}},"./node_modules/core-js/modules/_meta.js":function(e,t,n){var o=n("./node_modules/core-js/modules/_uid.js")("meta"),r=n("./node_modules/core-js/modules/_is-object.js"),s=n("./node_modules/core-js/modules/_has.js"),i=n("./node_modules/core-js/modules/_object-dp.js").f,a=0,u=Object.isExtensible||function(){return!0},c=!n("./node_modules/core-js/modules/_fails.js")(function(){return u(Object.preventExtensions({}))}),l=function(e){i(e,o,{value:{i:"O"+ ++a,w:{}}})},d=e.exports={KEY:o,NEED:!1,fastKey:function(e,t){if(!r(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!s(e,o)){if(!u(e))return"F";if(!t)return"E";l(e)}return e[o].i},getWeak:function(e,t){if(!s(e,o)){if(!u(e))return!0;if(!t)return!1;l(e)}return e[o].w},onFreeze:function(e){return c&&d.NEED&&u(e)&&!s(e,o)&&l(e),e}}},"./node_modules/core-js/modules/_metadata.js":function(e,t,n){var o=n("./node_modules/core-js/modules/es6.map.js"),r=n("./node_modules/core-js/modules/_export.js"),s=n("./node_modules/core-js/modules/_shared.js")("metadata"),i=s.store||(s.store=new(n("./node_modules/core-js/modules/es6.weak-map.js"))),a=function(e,t,n){var r=i.get(e);if(!r){if(!n)return;i.set(e,r=new o)}var s=r.get(t);if(!s){if(!n)return;r.set(t,s=new o)}return s};e.exports={store:i,map:a,has:function(e,t,n){var o=a(t,n,!1);return void 0!==o&&o.has(e)},get:function(e,t,n){var o=a(t,n,!1);return void 0===o?void 0:o.get(e)},set:function(e,t,n,o){a(n,o,!0).set(e,t)},keys:function(e,t){var n=a(e,t,!1),o=[];return n&&n.forEach(function(e,t){o.push(t)}),o},key:function(e){return void 0===e||"symbol"==typeof e?e:String(e)},exp:function(e){r(r.S,"Reflect",e)}}},"./node_modules/core-js/modules/_microtask.js":function(e,t,n){var o=n("./node_modules/core-js/modules/_global.js"),r=n("./node_modules/core-js/modules/_task.js").set,s=o.MutationObserver||o.WebKitMutationObserver,i=o.process,a=o.Promise,u="process"==n("./node_modules/core-js/modules/_cof.js")(i);e.exports=function(){var e,t,n,c=function(){var o,r;for(u&&(o=i.domain)&&o.exit();e;){r=e.fn,e=e.next;try{r()}catch(o){throw e?n():t=void 0,o}}t=void 0,o&&o.enter()};if(u)n=function(){i.nextTick(c)};else if(!s||o.navigator&&o.navigator.standalone)if(a&&a.resolve){var l=a.resolve(void 0);n=function(){l.then(c)}}else n=function(){r.call(o,c)};else{var d=!0,f=document.createTextNode("");new s(c).observe(f,{characterData:!0}),n=function(){f.data=d=!d}}return function(o){var r={fn:o,next:void 0};t&&(t.next=r),e||(e=r,n()),t=r}}},"./node_modules/core-js/modules/_new-promise-capability.js":function(e,t,n){"use strict";var o=n("./node_modules/core-js/modules/_a-function.js");e.exports.f=function(e){return new function(e){var t,n;this.promise=new e(function(e,o){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=o}),this.resolve=o(t),this.reject=o(n)}(e)}},"./node_modules/core-js/modules/_object-assign.js":function(e,t,n){"use strict";var o=n("./node_modules/core-js/modules/_object-keys.js"),r=n("./node_modules/core-js/modules/_object-gops.js"),s=n("./node_modules/core-js/modules/_object-pie.js"),i=n("./node_modules/core-js/modules/_to-object.js"),a=n("./node_modules/core-js/modules/_iobject.js"),u=Object.assign;e.exports=!u||n("./node_modules/core-js/modules/_fails.js")(function(){var e={},t={},n=Symbol(),o="abcdefghijklmnopqrst";return e[n]=7,o.split("").forEach(function(e){t[e]=e}),7!=u({},e)[n]||Object.keys(u({},t)).join("")!=o})?function(e,t){for(var n=i(e),u=arguments.length,c=1,l=r.f,d=s.f;u>c;)for(var f,p=a(arguments[c++]),m=l?o(p).concat(l(p)):o(p),h=m.length,v=0;h>v;)d.call(p,f=m[v++])&&(n[f]=p[f]);return n}:u},"./node_modules/core-js/modules/_object-create.js":function(e,t,n){var o=n("./node_modules/core-js/modules/_an-object.js"),r=n("./node_modules/core-js/modules/_object-dps.js"),s=n("./node_modules/core-js/modules/_enum-bug-keys.js"),i=n("./node_modules/core-js/modules/_shared-key.js")("IE_PROTO"),a=function(){},u=function(){var e,t=n("./node_modules/core-js/modules/_dom-create.js")("iframe"),o=s.length;for(t.style.display="none",n("./node_modules/core-js/modules/_html.js").appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write("<script>document.F=Object<\/script>"),e.close(),u=e.F;o--;)delete u.prototype[s[o]];return u()};e.exports=Object.create||function(e,t){var n;return null!==e?(a.prototype=o(e),n=new a,a.prototype=null,n[i]=e):n=u(),void 0===t?n:r(n,t)}},"./node_modules/core-js/modules/_object-dp.js":function(e,t,n){var o=n("./node_modules/core-js/modules/_an-object.js"),r=n("./node_modules/core-js/modules/_ie8-dom-define.js"),s=n("./node_modules/core-js/modules/_to-primitive.js"),i=Object.defineProperty;t.f=n("./node_modules/core-js/modules/_descriptors.js")?Object.defineProperty:function(e,t,n){if(o(e),t=s(t,!0),o(n),r)try{return i(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},"./node_modules/core-js/modules/_object-dps.js":function(e,t,n){var o=n("./node_modules/core-js/modules/_object-dp.js"),r=n("./node_modules/core-js/modules/_an-object.js"),s=n("./node_modules/core-js/modules/_object-keys.js");e.exports=n("./node_modules/core-js/modules/_descriptors.js")?Object.defineProperties:function(e,t){r(e);for(var n,i=s(t),a=i.length,u=0;a>u;)o.f(e,n=i[u++],t[n]);return e}},"./node_modules/core-js/modules/_object-forced-pam.js":function(e,t,n){"use strict";e.exports=n("./node_modules/core-js/modules/_library.js")||!n("./node_modules/core-js/modules/_fails.js")(function(){var e=Math.random();__defineSetter__.call(null,e,function(){}),delete n("./node_modules/core-js/modules/_global.js")[e]})},"./node_modules/core-js/modules/_object-gopd.js":function(e,t,n){var o=n("./node_modules/core-js/modules/_object-pie.js"),r=n("./node_modules/core-js/modules/_property-desc.js"),s=n("./node_modules/core-js/modules/_to-iobject.js"),i=n("./node_modules/core-js/modules/_to-primitive.js"),a=n("./node_modules/core-js/modules/_has.js"),u=n("./node_modules/core-js/modules/_ie8-dom-define.js"),c=Object.getOwnPropertyDescriptor;t.f=n("./node_modules/core-js/modules/_descriptors.js")?c:function(e,t){if(e=s(e),t=i(t,!0),u)try{return c(e,t)}catch(e){}if(a(e,t))return r(!o.f.call(e,t),e[t])}},"./node_modules/core-js/modules/_object-gopn-ext.js":function(e,t,n){var o=n("./node_modules/core-js/modules/_to-iobject.js"),r=n("./node_modules/core-js/modules/_object-gopn.js").f,s={}.toString,i="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return i&&"[object Window]"==s.call(e)?function(e){try{return r(e)}catch(e){return i.slice()}}(e):r(o(e))}},"./node_modules/core-js/modules/_object-gopn.js":function(e,t,n){var o=n("./node_modules/core-js/modules/_object-keys-internal.js"),r=n("./node_modules/core-js/modules/_enum-bug-keys.js").concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return o(e,r)}},"./node_modules/core-js/modules/_object-gops.js":function(e,t){t.f=Object.getOwnPropertySymbols},"./node_modules/core-js/modules/_object-gpo.js":function(e,t,n){var o=n("./node_modules/core-js/modules/_has.js"),r=n("./node_modules/core-js/modules/_to-object.js"),s=n("./node_modules/core-js/modules/_shared-key.js")("IE_PROTO"),i=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=r(e),o(e,s)?e[s]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?i:null}},"./node_modules/core-js/modules/_object-keys-internal.js":function(e,t,n){var o=n("./node_modules/core-js/modules/_has.js"),r=n("./node_modules/core-js/modules/_to-iobject.js"),s=n("./node_modules/core-js/modules/_array-includes.js")(!1),i=n("./node_modules/core-js/modules/_shared-key.js")("IE_PROTO");e.exports=function(e,t){var n,a=r(e),u=0,c=[];for(n in a)n!=i&&o(a,n)&&c.push(n);for(;t.length>u;)o(a,n=t[u++])&&(~s(c,n)||c.push(n));return c}},"./node_modules/core-js/modules/_object-keys.js":function(e,t,n){var o=n("./node_modules/core-js/modules/_object-keys-internal.js"),r=n("./node_modules/core-js/modules/_enum-bug-keys.js");e.exports=Object.keys||function(e){return o(e,r)}},"./node_modules/core-js/modules/_object-pie.js":function(e,t){t.f={}.propertyIsEnumerable},"./node_modules/core-js/modules/_object-sap.js":function(e,t,n){var o=n("./node_modules/core-js/modules/_export.js"),r=n("./node_modules/core-js/modules/_core.js"),s=n("./node_modules/core-js/modules/_fails.js");e.exports=function(e,t){var n=(r.Object||{})[e]||Object[e],i={};i[e]=t(n),o(o.S+o.F*s(function(){n(1)}),"Object",i)}},"./node_modules/core-js/modules/_object-to-array.js":function(e,t,n){var o=n("./node_modules/core-js/modules/_object-keys.js"),r=n("./node_modules/core-js/modules/_to-iobject.js"),s=n("./node_modules/core-js/modules/_object-pie.js").f;e.exports=function(e){return function(t){for(var n,i=r(t),a=o(i),u=a.length,c=0,l=[];u>c;)s.call(i,n=a[c++])&&l.push(e?[n,i[n]]:i[n]);return l}}},"./node_modules/core-js/modules/_own-keys.js":function(e,t,n){var o=n("./node_modules/core-js/modules/_object-gopn.js"),r=n("./node_modules/core-js/modules/_object-gops.js"),s=n("./node_modules/core-js/modules/_an-object.js"),i=n("./node_modules/core-js/modules/_global.js").Reflect;e.exports=i&&i.ownKeys||function(e){var t=o.f(s(e)),n=r.f;return n?t.concat(n(e)):t}},"./node_modules/core-js/modules/_parse-float.js":function(e,t,n){var o=n("./node_modules/core-js/modules/_global.js").parseFloat,r=n("./node_modules/core-js/modules/_string-trim.js").trim;e.exports=1/o(n("./node_modules/core-js/modules/_string-ws.js")+"-0")!=-1/0?function(e){var t=r(String(e),3),n=o(t);return 0===n&&"-"==t.charAt(0)?-0:n}:o},"./node_modules/core-js/modules/_parse-int.js":function(e,t,n){var o=n("./node_modules/core-js/modules/_global.js").parseInt,r=n("./node_modules/core-js/modules/_string-trim.js").trim,s=n("./node_modules/core-js/modules/_string-ws.js"),i=/^[-+]?0[xX]/;e.exports=8!==o(s+"08")||22!==o(s+"0x16")?function(e,t){var n=r(String(e),3);return o(n,t>>>0||(i.test(n)?16:10))}:o},"./node_modules/core-js/modules/_perform.js":function(e,t){e.exports=function(e){try{return{e:!1,v:e()}}catch(e){return{e:!0,v:e}}}},"./node_modules/core-js/modules/_promise-resolve.js":function(e,t,n){var o=n("./node_modules/core-js/modules/_an-object.js"),r=n("./node_modules/core-js/modules/_is-object.js"),s=n("./node_modules/core-js/modules/_new-promise-capability.js");e.exports=function(e,t){if(o(e),r(t)&&t.constructor===e)return t;var n=s.f(e);return(0,n.resolve)(t),n.promise}},"./node_modules/core-js/modules/_property-desc.js":function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},"./node_modules/core-js/modules/_redefine-all.js":function(e,t,n){var o=n("./node_modules/core-js/modules/_redefine.js");e.exports=function(e,t,n){for(var r in t)o(e,r,t[r],n);return e}},"./node_modules/core-js/modules/_redefine.js":function(e,t,n){var o=n("./node_modules/core-js/modules/_global.js"),r=n("./node_modules/core-js/modules/_hide.js"),s=n("./node_modules/core-js/modules/_has.js"),i=n("./node_modules/core-js/modules/_uid.js")("src"),a=Function.toString,u=(""+a).split("toString");n("./node_modules/core-js/modules/_core.js").inspectSource=function(e){return a.call(e)},(e.exports=function(e,t,n,a){var c="function"==typeof n;c&&(s(n,"name")||r(n,"name",t)),e[t]!==n&&(c&&(s(n,i)||r(n,i,e[t]?""+e[t]:u.join(String(t)))),e===o?e[t]=n:a?e[t]?e[t]=n:r(e,t,n):(delete e[t],r(e,t,n)))})(Function.prototype,"toString",function(){return"function"==typeof this&&this[i]||a.call(this)})},"./node_modules/core-js/modules/_replacer.js":function(e,t){e.exports=function(e,t){var n=t===Object(t)?function(e){return t[e]}:t;return function(t){return String(t).replace(e,n)}}},"./node_modules/core-js/modules/_same-value.js":function(e,t){e.exports=Object.is||function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}},"./node_modules/core-js/modules/_set-collection-from.js":function(e,t,n){"use strict";var o=n("./node_modules/core-js/modules/_export.js"),r=n("./node_modules/core-js/modules/_a-function.js"),s=n("./node_modules/core-js/modules/_ctx.js"),i=n("./node_modules/core-js/modules/_for-of.js");e.exports=function(e){o(o.S,e,{from:function(e){var t,n,o,a,u=arguments[1];return r(this),(t=void 0!==u)&&r(u),void 0==e?new this:(n=[],t?(o=0,a=s(u,arguments[2],2),i(e,!1,function(e){n.push(a(e,o++))})):i(e,!1,n.push,n),new this(n))}})}},"./node_modules/core-js/modules/_set-collection-of.js":function(e,t,n){"use strict";var o=n("./node_modules/core-js/modules/_export.js");e.exports=function(e){o(o.S,e,{of:function(){for(var e=arguments.length,t=new Array(e);e--;)t[e]=arguments[e];return new this(t)}})}},"./node_modules/core-js/modules/_set-proto.js":function(e,t,n){var o=n("./node_modules/core-js/modules/_is-object.js"),r=n("./node_modules/core-js/modules/_an-object.js"),s=function(e,t){if(r(e),!o(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t,o){try{(o=n("./node_modules/core-js/modules/_ctx.js")(Function.call,n("./node_modules/core-js/modules/_object-gopd.js").f(Object.prototype,"__proto__").set,2))(e,[]),t=!(e instanceof Array)}catch(e){t=!0}return function(e,n){return s(e,n),t?e.__proto__=n:o(e,n),e}}({},!1):void 0),check:s}},"./node_modules/core-js/modules/_set-species.js":function(e,t,n){"use strict";var o=n("./node_modules/core-js/modules/_global.js"),r=n("./node_modules/core-js/modules/_object-dp.js"),s=n("./node_modules/core-js/modules/_descriptors.js"),i=n("./node_modules/core-js/modules/_wks.js")("species");e.exports=function(e){var t=o[e];s&&t&&!t[i]&&r.f(t,i,{configurable:!0,get:function(){return this}})}},"./node_modules/core-js/modules/_set-to-string-tag.js":function(e,t,n){var o=n("./node_modules/core-js/modules/_object-dp.js").f,r=n("./node_modules/core-js/modules/_has.js"),s=n("./node_modules/core-js/modules/_wks.js")("toStringTag");e.exports=function(e,t,n){e&&!r(e=n?e:e.prototype,s)&&o(e,s,{configurable:!0,value:t})}},"./node_modules/core-js/modules/_shared-key.js":function(e,t,n){var o=n("./node_modules/core-js/modules/_shared.js")("keys"),r=n("./node_modules/core-js/modules/_uid.js");e.exports=function(e){return o[e]||(o[e]=r(e))}},"./node_modules/core-js/modules/_shared.js":function(e,t,n){var o=n("./node_modules/core-js/modules/_core.js"),r=n("./node_modules/core-js/modules/_global.js"),s=r["__core-js_shared__"]||(r["__core-js_shared__"]={});(e.exports=function(e,t){return s[e]||(s[e]=void 0!==t?t:{})})("versions",[]).push({version:o.version,mode:n("./node_modules/core-js/modules/_library.js")?"pure":"global",copyright:"© 2018 Denis Pushkarev (zloirock.ru)"})},"./node_modules/core-js/modules/_species-constructor.js":function(e,t,n){var o=n("./node_modules/core-js/modules/_an-object.js"),r=n("./node_modules/core-js/modules/_a-function.js"),s=n("./node_modules/core-js/modules/_wks.js")("species");e.exports=function(e,t){var n,i=o(e).constructor;return void 0===i||void 0==(n=o(i)[s])?t:r(n)}},"./node_modules/core-js/modules/_strict-method.js":function(e,t,n){"use strict";var o=n("./node_modules/core-js/modules/_fails.js");e.exports=function(e,t){return!!e&&o(function(){t?e.call(null,function(){},1):e.call(null)})}},"./node_modules/core-js/modules/_string-at.js":function(e,t,n){var o=n("./node_modules/core-js/modules/_to-integer.js"),r=n("./node_modules/core-js/modules/_defined.js");e.exports=function(e){return function(t,n){var s,i,a=String(r(t)),u=o(n),c=a.length;return u<0||u>=c?e?"":void 0:(s=a.charCodeAt(u))<55296||s>56319||u+1===c||(i=a.charCodeAt(u+1))<56320||i>57343?e?a.charAt(u):s:e?a.slice(u,u+2):i-56320+(s-55296<<10)+65536}}},"./node_modules/core-js/modules/_string-context.js":function(e,t,n){var o=n("./node_modules/core-js/modules/_is-regexp.js"),r=n("./node_modules/core-js/modules/_defined.js");e.exports=function(e,t,n){if(o(t))throw TypeError("String#"+n+" doesn't accept regex!");return String(r(e))}},"./node_modules/core-js/modules/_string-html.js":function(e,t,n){var o=n("./node_modules/core-js/modules/_export.js"),r=n("./node_modules/core-js/modules/_fails.js"),s=n("./node_modules/core-js/modules/_defined.js"),i=/"/g,a=function(e,t,n,o){var r=String(s(e)),a="<"+t;return""!==n&&(a+=" "+n+'="'+String(o).replace(i,"&quot;")+'"'),a+">"+r+"</"+t+">"};e.exports=function(e,t){var n={};n[e]=t(a),o(o.P+o.F*r(function(){var t=""[e]('"');return t!==t.toLowerCase()||t.split('"').length>3}),"String",n)}},"./node_modules/core-js/modules/_string-pad.js":function(e,t,n){var o=n("./node_modules/core-js/modules/_to-length.js"),r=n("./node_modules/core-js/modules/_string-repeat.js"),s=n("./node_modules/core-js/modules/_defined.js");e.exports=function(e,t,n,i){var a=String(s(e)),u=a.length,c=void 0===n?" ":String(n),l=o(t);if(l<=u||""==c)return a;var d=l-u,f=r.call(c,Math.ceil(d/c.length));return f.length>d&&(f=f.slice(0,d)),i?f+a:a+f}},"./node_modules/core-js/modules/_string-repeat.js":function(e,t,n){"use strict";var o=n("./node_modules/core-js/modules/_to-integer.js"),r=n("./node_modules/core-js/modules/_defined.js");e.exports=function(e){var t=String(r(this)),n="",s=o(e);if(s<0||s==1/0)throw RangeError("Count can't be negative");for(;s>0;(s>>>=1)&&(t+=t))1&s&&(n+=t);return n}},"./node_modules/core-js/modules/_string-trim.js":function(e,t,n){var o=n("./node_modules/core-js/modules/_export.js"),r=n("./node_modules/core-js/modules/_defined.js"),s=n("./node_modules/core-js/modules/_fails.js"),i=n("./node_modules/core-js/modules/_string-ws.js"),a="["+i+"]",u=RegExp("^"+a+a+"*"),c=RegExp(a+a+"*$"),l=function(e,t,n){var r={},a=s(function(){return!!i[e]()||"…"!="…"[e]()}),u=r[e]=a?t(d):i[e];n&&(r[n]=u),o(o.P+o.F*a,"String",r)},d=l.trim=function(e,t){return e=String(r(e)),1&t&&(e=e.replace(u,"")),2&t&&(e=e.replace(c,"")),e};e.exports=l},"./node_modules/core-js/modules/_string-ws.js":function(e,t){e.exports="\t\n\v\f\r    \u2028\u2029\ufeff"},"./node_modules/core-js/modules/_task.js":function(e,t,n){var o,r,s,i=n("./node_modules/core-js/modules/_ctx.js"),a=n("./node_modules/core-js/modules/_invoke.js"),u=n("./node_modules/core-js/modules/_html.js"),c=n("./node_modules/core-js/modules/_dom-create.js"),l=n("./node_modules/core-js/modules/_global.js"),d=l.process,f=l.setImmediate,p=l.clearImmediate,m=l.MessageChannel,h=l.Dispatch,v=0,j={},y=function(){var e=+this;if(j.hasOwnProperty(e)){var t=j[e];delete j[e],t()}},_=function(e){y.call(e.data)};f&&p||(f=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return j[++v]=function(){a("function"==typeof e?e:Function(e),t)},o(v),v},p=function(e){delete j[e]},"process"==n("./node_modules/core-js/modules/_cof.js")(d)?o=function(e){d.nextTick(i(y,e,1))}:h&&h.now?o=function(e){h.now(i(y,e,1))}:m?(s=(r=new m).port2,r.port1.onmessage=_,o=i(s.postMessage,s,1)):l.addEventListener&&"function"==typeof postMessage&&!l.importScripts?(o=function(e){l.postMessage(e+"","*")},l.addEventListener("message",_,!1)):o="onreadystatechange"in c("script")?function(e){u.appendChild(c("script")).onreadystatechange=function(){u.removeChild(this),y.call(e)}}:function(e){setTimeout(i(y,e,1),0)}),e.exports={set:f,clear:p}},"./node_modules/core-js/modules/_to-absolute-index.js":function(e,t,n){var o=n("./node_modules/core-js/modules/_to-integer.js"),r=Math.max,s=Math.min;e.exports=function(e,t){return(e=o(e))<0?r(e+t,0):s(e,t)}},"./node_modules/core-js/modules/_to-index.js":function(e,t,n){var o=n("./node_modules/core-js/modules/_to-integer.js"),r=n("./node_modules/core-js/modules/_to-length.js");e.exports=function(e){if(void 0===e)return 0;var t=o(e),n=r(t);if(t!==n)throw RangeError("Wrong length!");return n}},"./node_modules/core-js/modules/_to-integer.js":function(e,t){var n=Math.ceil,o=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?o:n)(e)}},"./node_modules/core-js/modules/_to-iobject.js":function(e,t,n){var o=n("./node_modules/core-js/modules/_iobject.js"),r=n("./node_modules/core-js/modules/_defined.js");e.exports=function(e){return o(r(e))}},"./node_modules/core-js/modules/_to-length.js":function(e,t,n){var o=n("./node_modules/core-js/modules/_to-integer.js"),r=Math.min;e.exports=function(e){return e>0?r(o(e),9007199254740991):0}},"./node_modules/core-js/modules/_to-object.js":function(e,t,n){var o=n("./node_modules/core-js/modules/_defined.js");e.exports=function(e){return Object(o(e))}},"./node_modules/core-js/modules/_to-primitive.js":function(e,t,n){var o=n("./node_modules/core-js/modules/_is-object.js");e.exports=function(e,t){if(!o(e))return e;var n,r;if(t&&"function"==typeof(n=e.toString)&&!o(r=n.call(e)))return r;if("function"==typeof(n=e.valueOf)&&!o(r=n.call(e)))return r;if(!t&&"function"==typeof(n=e.toString)&&!o(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")}},"./node_modules/core-js/modules/_typed-array.js":function(e,t,n){"use strict";if(n("./node_modules/core-js/modules/_descriptors.js")){var o=n("./node_modules/core-js/modules/_library.js"),r=n("./node_modules/core-js/modules/_global.js"),s=n("./node_modules/core-js/modules/_fails.js"),i=n("./node_modules/core-js/modules/_export.js"),a=n("./node_modules/core-js/modules/_typed.js"),u=n("./node_modules/core-js/modules/_typed-buffer.js"),c=n("./node_modules/core-js/modules/_ctx.js"),l=n("./node_modules/core-js/modules/_an-instance.js"),d=n("./node_modules/core-js/modules/_property-desc.js"),f=n("./node_modules/core-js/modules/_hide.js"),p=n("./node_modules/core-js/modules/_redefine-all.js"),m=n("./node_modules/core-js/modules/_to-integer.js"),h=n("./node_modules/core-js/modules/_to-length.js"),v=n("./node_modules/core-js/modules/_to-index.js"),j=n("./node_modules/core-js/modules/_to-absolute-index.js"),y=n("./node_modules/core-js/modules/_to-primitive.js"),_=n("./node_modules/core-js/modules/_has.js"),g=n("./node_modules/core-js/modules/_classof.js"),b=n("./node_modules/core-js/modules/_is-object.js"),w=n("./node_modules/core-js/modules/_to-object.js"),x=n("./node_modules/core-js/modules/_is-array-iter.js"),k=n("./node_modules/core-js/modules/_object-create.js"),S=n("./node_modules/core-js/modules/_object-gpo.js"),O=n("./node_modules/core-js/modules/_object-gopn.js").f,C=n("./node_modules/core-js/modules/core.get-iterator-method.js"),M=n("./node_modules/core-js/modules/_uid.js"),A=n("./node_modules/core-js/modules/_wks.js"),T=n("./node_modules/core-js/modules/_array-methods.js"),E=n("./node_modules/core-js/modules/_array-includes.js"),N=n("./node_modules/core-js/modules/_species-constructor.js"),P=n("./node_modules/core-js/modules/es6.array.iterator.js"),I=n("./node_modules/core-js/modules/_iterators.js"),D=n("./node_modules/core-js/modules/_iter-detect.js"),R=n("./node_modules/core-js/modules/_set-species.js"),$=n("./node_modules/core-js/modules/_array-fill.js"),F=n("./node_modules/core-js/modules/_array-copy-within.js"),L=n("./node_modules/core-js/modules/_object-dp.js"),z=n("./node_modules/core-js/modules/_object-gopd.js"),B=L.f,V=z.f,W=r.RangeError,J=r.TypeError,U=r.Uint8Array,K=Array.prototype,H=u.ArrayBuffer,q=u.DataView,G=T(0),X=T(2),Y=T(3),Q=T(4),Z=T(5),ee=T(6),te=E(!0),ne=E(!1),oe=P.values,re=P.keys,se=P.entries,ie=K.lastIndexOf,ae=K.reduce,ue=K.reduceRight,ce=K.join,le=K.sort,de=K.slice,fe=K.toString,pe=K.toLocaleString,me=A("iterator"),he=A("toStringTag"),ve=M("typed_constructor"),je=M("def_constructor"),ye=a.CONSTR,_e=a.TYPED,ge=a.VIEW,be=T(1,function(e,t){return Oe(N(e,e[je]),t)}),we=s(function(){return 1===new U(new Uint16Array([1]).buffer)[0]}),xe=!!U&&!!U.prototype.set&&s(function(){new U(1).set({})}),ke=function(e,t){var n=m(e);if(n<0||n%t)throw W("Wrong offset!");return n},Se=function(e){if(b(e)&&_e in e)return e;throw J(e+" is not a typed array!")},Oe=function(e,t){if(!(b(e)&&ve in e))throw J("It is not a typed array constructor!");return new e(t)},Ce=function(e,t){return Me(N(e,e[je]),t)},Me=function(e,t){for(var n=0,o=t.length,r=Oe(e,o);o>n;)r[n]=t[n++];return r},Ae=function(e,t,n){B(e,t,{get:function(){return this._d[n]}})},Te=function(e){var t,n,o,r,s,i,a=w(e),u=arguments.length,l=u>1?arguments[1]:void 0,d=void 0!==l,f=C(a);if(void 0!=f&&!x(f)){for(i=f.call(a),o=[],t=0;!(s=i.next()).done;t++)o.push(s.value);a=o}for(d&&u>2&&(l=c(l,arguments[2],2)),t=0,n=h(a.length),r=Oe(this,n);n>t;t++)r[t]=d?l(a[t],t):a[t];return r},Ee=function(){for(var e=0,t=arguments.length,n=Oe(this,t);t>e;)n[e]=arguments[e++];return n},Ne=!!U&&s(function(){pe.call(new U(1))}),Pe=function(){return pe.apply(Ne?de.call(Se(this)):Se(this),arguments)},Ie={copyWithin:function(e,t){return F.call(Se(this),e,t,arguments.length>2?arguments[2]:void 0)},every:function(e){return Q(Se(this),e,arguments.length>1?arguments[1]:void 0)},fill:function(e){return $.apply(Se(this),arguments)},filter:function(e){return Ce(this,X(Se(this),e,arguments.length>1?arguments[1]:void 0))},find:function(e){return Z(Se(this),e,arguments.length>1?arguments[1]:void 0)},findIndex:function(e){return ee(Se(this),e,arguments.length>1?arguments[1]:void 0)},forEach:function(e){G(Se(this),e,arguments.length>1?arguments[1]:void 0)},indexOf:function(e){return ne(Se(this),e,arguments.length>1?arguments[1]:void 0)},includes:function(e){return te(Se(this),e,arguments.length>1?arguments[1]:void 0)},join:function(e){return ce.apply(Se(this),arguments)},lastIndexOf:function(e){return ie.apply(Se(this),arguments)},map:function(e){return be(Se(this),e,arguments.length>1?arguments[1]:void 0)},reduce:function(e){return ae.apply(Se(this),arguments)},reduceRight:function(e){return ue.apply(Se(this),arguments)},reverse:function(){for(var e,t=Se(this).length,n=Math.floor(t/2),o=0;o<n;)e=this[o],this[o++]=this[--t],this[t]=e;return this},some:function(e){return Y(Se(this),e,arguments.length>1?arguments[1]:void 0)},sort:function(e){return le.call(Se(this),e)},subarray:function(e,t){var n=Se(this),o=n.length,r=j(e,o);return new(N(n,n[je]))(n.buffer,n.byteOffset+r*n.BYTES_PER_ELEMENT,h((void 0===t?o:j(t,o))-r))}},De=function(e,t){return Ce(this,de.call(Se(this),e,t))},Re=function(e){Se(this);var t=ke(arguments[1],1),n=this.length,o=w(e),r=h(o.length),s=0;if(r+t>n)throw W("Wrong length!");for(;s<r;)this[t+s]=o[s++]},$e={entries:function(){return se.call(Se(this))},keys:function(){return re.call(Se(this))},values:function(){return oe.call(Se(this))}},Fe=function(e,t){return b(e)&&e[_e]&&"symbol"!=typeof t&&t in e&&String(+t)==String(t)},Le=function(e,t){return Fe(e,t=y(t,!0))?d(2,e[t]):V(e,t)},ze=function(e,t,n){return!(Fe(e,t=y(t,!0))&&b(n)&&_(n,"value"))||_(n,"get")||_(n,"set")||n.configurable||_(n,"writable")&&!n.writable||_(n,"enumerable")&&!n.enumerable?B(e,t,n):(e[t]=n.value,e)};ye||(z.f=Le,L.f=ze),i(i.S+i.F*!ye,"Object",{getOwnPropertyDescriptor:Le,defineProperty:ze}),s(function(){fe.call({})})&&(fe=pe=function(){return ce.call(this)});var Be=p({},Ie);p(Be,$e),f(Be,me,$e.values),p(Be,{slice:De,set:Re,constructor:function(){},toString:fe,toLocaleString:Pe}),Ae(Be,"buffer","b"),Ae(Be,"byteOffset","o"),Ae(Be,"byteLength","l"),Ae(Be,"length","e"),B(Be,he,{get:function(){return this[_e]}}),e.exports=function(e,t,n,u){var c=e+((u=!!u)?"Clamped":"")+"Array",d="get"+e,p="set"+e,m=r[c],j=m||{},y=m&&S(m),_=!m||!a.ABV,w={},x=m&&m.prototype,C=function(e,n){B(e,n,{get:function(){return function(e,n){var o=e._d;return o.v[d](n*t+o.o,we)}(this,n)},set:function(e){return function(e,n,o){var r=e._d;u&&(o=(o=Math.round(o))<0?0:o>255?255:255&o),r.v[p](n*t+r.o,o,we)}(this,n,e)},enumerable:!0})};_?(m=n(function(e,n,o,r){l(e,m,c,"_d");var s,i,a,u,d=0,p=0;if(b(n)){if(!(n instanceof H||"ArrayBuffer"==(u=g(n))||"SharedArrayBuffer"==u))return _e in n?Me(m,n):Te.call(m,n);s=n,p=ke(o,t);var j=n.byteLength;if(void 0===r){if(j%t)throw W("Wrong length!");if((i=j-p)<0)throw W("Wrong length!")}else if((i=h(r)*t)+p>j)throw W("Wrong length!");a=i/t}else a=v(n),s=new H(i=a*t);for(f(e,"_d",{b:s,o:p,l:i,e:a,v:new q(s)});d<a;)C(e,d++)}),x=m.prototype=k(Be),f(x,"constructor",m)):s(function(){m(1)})&&s(function(){new m(-1)})&&D(function(e){new m,new m(null),new m(1.5),new m(e)},!0)||(m=n(function(e,n,o,r){var s;return l(e,m,c),b(n)?n instanceof H||"ArrayBuffer"==(s=g(n))||"SharedArrayBuffer"==s?void 0!==r?new j(n,ke(o,t),r):void 0!==o?new j(n,ke(o,t)):new j(n):_e in n?Me(m,n):Te.call(m,n):new j(v(n))}),G(y!==Function.prototype?O(j).concat(O(y)):O(j),function(e){e in m||f(m,e,j[e])}),m.prototype=x,o||(x.constructor=m));var M=x[me],A=!!M&&("values"==M.name||void 0==M.name),T=$e.values;f(m,ve,!0),f(x,_e,c),f(x,ge,!0),f(x,je,m),(u?new m(1)[he]==c:he in x)||B(x,he,{get:function(){return c}}),w[c]=m,i(i.G+i.W+i.F*(m!=j),w),i(i.S,c,{BYTES_PER_ELEMENT:t}),i(i.S+i.F*s(function(){j.of.call(m,1)}),c,{from:Te,of:Ee}),"BYTES_PER_ELEMENT"in x||f(x,"BYTES_PER_ELEMENT",t),i(i.P,c,Ie),R(c),i(i.P+i.F*xe,c,{set:Re}),i(i.P+i.F*!A,c,$e),o||x.toString==fe||(x.toString=fe),i(i.P+i.F*s(function(){new m(1).slice()}),c,{slice:De}),i(i.P+i.F*(s(function(){return[1,2].toLocaleString()!=new m([1,2]).toLocaleString()})||!s(function(){x.toLocaleString.call([1,2])})),c,{toLocaleString:Pe}),I[c]=A?M:T,o||A||f(x,me,T)}}else e.exports=function(){}},"./node_modules/core-js/modules/_typed-buffer.js":function(e,t,n){"use strict";var o=n("./node_modules/core-js/modules/_global.js"),r=n("./node_modules/core-js/modules/_descriptors.js"),s=n("./node_modules/core-js/modules/_library.js"),i=n("./node_modules/core-js/modules/_typed.js"),a=n("./node_modules/core-js/modules/_hide.js"),u=n("./node_modules/core-js/modules/_redefine-all.js"),c=n("./node_modules/core-js/modules/_fails.js"),l=n("./node_modules/core-js/modules/_an-instance.js"),d=n("./node_modules/core-js/modules/_to-integer.js"),f=n("./node_modules/core-js/modules/_to-length.js"),p=n("./node_modules/core-js/modules/_to-index.js"),m=n("./node_modules/core-js/modules/_object-gopn.js").f,h=n("./node_modules/core-js/modules/_object-dp.js").f,v=n("./node_modules/core-js/modules/_array-fill.js"),j=n("./node_modules/core-js/modules/_set-to-string-tag.js"),y="prototype",_="Wrong index!",g=o.ArrayBuffer,b=o.DataView,w=o.Math,x=o.RangeError,k=o.Infinity,S=g,O=w.abs,C=w.pow,M=w.floor,A=w.log,T=w.LN2,E=r?"_b":"buffer",N=r?"_l":"byteLength",P=r?"_o":"byteOffset";function I(e,t,n){var o,r,s,i=new Array(n),a=8*n-t-1,u=(1<<a)-1,c=u>>1,l=23===t?C(2,-24)-C(2,-77):0,d=0,f=e<0||0===e&&1/e<0?1:0;for((e=O(e))!=e||e===k?(r=e!=e?1:0,o=u):(o=M(A(e)/T),e*(s=C(2,-o))<1&&(o--,s*=2),(e+=o+c>=1?l/s:l*C(2,1-c))*s>=2&&(o++,s/=2),o+c>=u?(r=0,o=u):o+c>=1?(r=(e*s-1)*C(2,t),o+=c):(r=e*C(2,c-1)*C(2,t),o=0));t>=8;i[d++]=255&r,r/=256,t-=8);for(o=o<<t|r,a+=t;a>0;i[d++]=255&o,o/=256,a-=8);return i[--d]|=128*f,i}function D(e,t,n){var o,r=8*n-t-1,s=(1<<r)-1,i=s>>1,a=r-7,u=n-1,c=e[u--],l=127&c;for(c>>=7;a>0;l=256*l+e[u],u--,a-=8);for(o=l&(1<<-a)-1,l>>=-a,a+=t;a>0;o=256*o+e[u],u--,a-=8);if(0===l)l=1-i;else{if(l===s)return o?NaN:c?-k:k;o+=C(2,t),l-=i}return(c?-1:1)*o*C(2,l-t)}function R(e){return e[3]<<24|e[2]<<16|e[1]<<8|e[0]}function $(e){return[255&e]}function F(e){return[255&e,e>>8&255]}function L(e){return[255&e,e>>8&255,e>>16&255,e>>24&255]}function z(e){return I(e,52,8)}function B(e){return I(e,23,4)}function V(e,t,n){h(e[y],t,{get:function(){return this[n]}})}function W(e,t,n,o){var r=p(+n);if(r+t>e[N])throw x(_);var s=e[E]._b,i=r+e[P],a=s.slice(i,i+t);return o?a:a.reverse()}function J(e,t,n,o,r,s){var i=p(+n);if(i+t>e[N])throw x(_);for(var a=e[E]._b,u=i+e[P],c=o(+r),l=0;l<t;l++)a[u+l]=c[s?l:t-l-1]}if(i.ABV){if(!c(function(){g(1)})||!c(function(){new g(-1)})||c(function(){return new g,new g(1.5),new g(NaN),"ArrayBuffer"!=g.name})){for(var U,K=(g=function(e){return l(this,g),new S(p(e))})[y]=S[y],H=m(S),q=0;H.length>q;)(U=H[q++])in g||a(g,U,S[U]);s||(K.constructor=g)}var G=new b(new g(2)),X=b[y].setInt8;G.setInt8(0,2147483648),G.setInt8(1,2147483649),!G.getInt8(0)&&G.getInt8(1)||u(b[y],{setInt8:function(e,t){X.call(this,e,t<<24>>24)},setUint8:function(e,t){X.call(this,e,t<<24>>24)}},!0)}else g=function(e){l(this,g,"ArrayBuffer");var t=p(e);this._b=v.call(new Array(t),0),this[N]=t},b=function(e,t,n){l(this,b,"DataView"),l(e,g,"DataView");var o=e[N],r=d(t);if(r<0||r>o)throw x("Wrong offset!");if(r+(n=void 0===n?o-r:f(n))>o)throw x("Wrong length!");this[E]=e,this[P]=r,this[N]=n},r&&(V(g,"byteLength","_l"),V(b,"buffer","_b"),V(b,"byteLength","_l"),V(b,"byteOffset","_o")),u(b[y],{getInt8:function(e){return W(this,1,e)[0]<<24>>24},getUint8:function(e){return W(this,1,e)[0]},getInt16:function(e){var t=W(this,2,e,arguments[1]);return(t[1]<<8|t[0])<<16>>16},getUint16:function(e){var t=W(this,2,e,arguments[1]);return t[1]<<8|t[0]},getInt32:function(e){return R(W(this,4,e,arguments[1]))},getUint32:function(e){return R(W(this,4,e,arguments[1]))>>>0},getFloat32:function(e){return D(W(this,4,e,arguments[1]),23,4)},getFloat64:function(e){return D(W(this,8,e,arguments[1]),52,8)},setInt8:function(e,t){J(this,1,e,$,t)},setUint8:function(e,t){J(this,1,e,$,t)},setInt16:function(e,t){J(this,2,e,F,t,arguments[2])},setUint16:function(e,t){J(this,2,e,F,t,arguments[2])},setInt32:function(e,t){J(this,4,e,L,t,arguments[2])},setUint32:function(e,t){J(this,4,e,L,t,arguments[2])},setFloat32:function(e,t){J(this,4,e,B,t,arguments[2])},setFloat64:function(e,t){J(this,8,e,z,t,arguments[2])}});j(g,"ArrayBuffer"),j(b,"DataView"),a(b[y],i.VIEW,!0),t.ArrayBuffer=g,t.DataView=b},"./node_modules/core-js/modules/_typed.js":function(e,t,n){for(var o,r=n("./node_modules/core-js/modules/_global.js"),s=n("./node_modules/core-js/modules/_hide.js"),i=n("./node_modules/core-js/modules/_uid.js"),a=i("typed_array"),u=i("view"),c=!(!r.ArrayBuffer||!r.DataView),l=c,d=0,f="Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array".split(",");d<9;)(o=r[f[d++]])?(s(o.prototype,a,!0),s(o.prototype,u,!0)):l=!1;e.exports={ABV:c,CONSTR:l,TYPED:a,VIEW:u}},"./node_modules/core-js/modules/_uid.js":function(e,t){var n=0,o=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+o).toString(36))}},"./node_modules/core-js/modules/_user-agent.js":function(e,t,n){var o=n("./node_modules/core-js/modules/_global.js").navigator;e.exports=o&&o.userAgent||""},"./node_modules/core-js/modules/_validate-collection.js":function(e,t,n){var o=n("./node_modules/core-js/modules/_is-object.js");e.exports=function(e,t){if(!o(e)||e._t!==t)throw TypeError("Incompatible receiver, "+t+" required!");return e}},"./node_modules/core-js/modules/_wks-define.js":function(e,t,n){var o=n("./node_modules/core-js/modules/_global.js"),r=n("./node_modules/core-js/modules/_core.js"),s=n("./node_modules/core-js/modules/_library.js"),i=n("./node_modules/core-js/modules/_wks-ext.js"),a=n("./node_modules/core-js/modules/_object-dp.js").f;e.exports=function(e){var t=r.Symbol||(r.Symbol=s?{}:o.Symbol||{});"_"==e.charAt(0)||e in t||a(t,e,{value:i.f(e)})}},"./node_modules/core-js/modules/_wks-ext.js":function(e,t,n){t.f=n("./node_modules/core-js/modules/_wks.js")},"./node_modules/core-js/modules/_wks.js":function(e,t,n){var o=n("./node_modules/core-js/modules/_shared.js")("wks"),r=n("./node_modules/core-js/modules/_uid.js"),s=n("./node_modules/core-js/modules/_global.js").Symbol,i="function"==typeof s;(e.exports=function(e){return o[e]||(o[e]=i&&s[e]||(i?s:r)("Symbol."+e))}).store=o},"./node_modules/core-js/modules/core.get-iterator-method.js":function(e,t,n){var o=n("./node_modules/core-js/modules/_classof.js"),r=n("./node_modules/core-js/modules/_wks.js")("iterator"),s=n("./node_modules/core-js/modules/_iterators.js");e.exports=n("./node_modules/core-js/modules/_core.js").getIteratorMethod=function(e){if(void 0!=e)return e[r]||e["@@iterator"]||s[o(e)]}},"./node_modules/core-js/modules/core.regexp.escape.js":function(e,t,n){var o=n("./node_modules/core-js/modules/_export.js"),r=n("./node_modules/core-js/modules/_replacer.js")(/[\\^$*+?.()|[\]{}]/g,"\\$&");o(o.S,"RegExp",{escape:function(e){return r(e)}})},"./node_modules/core-js/modules/es6.array.copy-within.js":function(e,t,n){var o=n("./node_modules/core-js/modules/_export.js");o(o.P,"Array",{copyWithin:n("./node_modules/core-js/modules/_array-copy-within.js")}),n("./node_modules/core-js/modules/_add-to-unscopables.js")("copyWithin")},"./node_modules/core-js/modules/es6.array.every.js":function(e,t,n){"use strict";var o=n("./node_modules/core-js/modules/_export.js"),r=n("./node_modules/core-js/modules/_array-methods.js")(4);o(o.P+o.F*!n("./node_modules/core-js/modules/_strict-method.js")([].every,!0),"Array",{every:function(e){return r(this,e,arguments[1])}})},"./node_modules/core-js/modules/es6.array.fill.js":function(e,t,n){var o=n("./node_modules/core-js/modules/_export.js");o(o.P,"Array",{fill:n("./node_modules/core-js/modules/_array-fill.js")}),n("./node_modules/core-js/modules/_add-to-unscopables.js")("fill")},"./node_modules/core-js/modules/es6.array.filter.js":function(e,t,n){"use strict";var o=n("./node_modules/core-js/modules/_export.js"),r=n("./node_modules/core-js/modules/_array-methods.js")(2);o(o.P+o.F*!n("./node_modules/core-js/modules/_strict-method.js")([].filter,!0),"Array",{filter:function(e){return r(this,e,arguments[1])}})},"./node_modules/core-js/modules/es6.array.find-index.js":function(e,t,n){"use strict";var o=n("./node_modules/core-js/modules/_export.js"),r=n("./node_modules/core-js/modules/_array-methods.js")(6),s="findIndex",i=!0;s in[]&&Array(1)[s](function(){i=!1}),o(o.P+o.F*i,"Array",{findIndex:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}}),n("./node_modules/core-js/modules/_add-to-unscopables.js")(s)},"./node_modules/core-js/modules/es6.array.find.js":function(e,t,n){"use strict";var o=n("./node_modules/core-js/modules/_export.js"),r=n("./node_modules/core-js/modules/_array-methods.js")(5),s=!0;"find"in[]&&Array(1).find(function(){s=!1}),o(o.P+o.F*s,"Array",{find:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}}),n("./node_modules/core-js/modules/_add-to-unscopables.js")("find")},"./node_modules/core-js/modules/es6.array.for-each.js":function(e,t,n){"use strict";var o=n("./node_modules/core-js/modules/_export.js"),r=n("./node_modules/core-js/modules/_array-methods.js")(0),s=n("./node_modules/core-js/modules/_strict-method.js")([].forEach,!0);o(o.P+o.F*!s,"Array",{forEach:function(e){return r(this,e,arguments[1])}})},"./node_modules/core-js/modules/es6.array.from.js":function(e,t,n){"use strict";var o=n("./node_modules/core-js/modules/_ctx.js"),r=n("./node_modules/core-js/modules/_export.js"),s=n("./node_modules/core-js/modules/_to-object.js"),i=n("./node_modules/core-js/modules/_iter-call.js"),a=n("./node_modules/core-js/modules/_is-array-iter.js"),u=n("./node_modules/core-js/modules/_to-length.js"),c=n("./node_modules/core-js/modules/_create-property.js"),l=n("./node_modules/core-js/modules/core.get-iterator-method.js");r(r.S+r.F*!n("./node_modules/core-js/modules/_iter-detect.js")(function(e){Array.from(e)}),"Array",{from:function(e){var t,n,r,d,f=s(e),p="function"==typeof this?this:Array,m=arguments.length,h=m>1?arguments[1]:void 0,v=void 0!==h,j=0,y=l(f);if(v&&(h=o(h,m>2?arguments[2]:void 0,2)),void 0==y||p==Array&&a(y))for(n=new p(t=u(f.length));t>j;j++)c(n,j,v?h(f[j],j):f[j]);else for(d=y.call(f),n=new p;!(r=d.next()).done;j++)c(n,j,v?i(d,h,[r.value,j],!0):r.value);return n.length=j,n}})},"./node_modules/core-js/modules/es6.array.index-of.js":function(e,t,n){"use strict";var o=n("./node_modules/core-js/modules/_export.js"),r=n("./node_modules/core-js/modules/_array-includes.js")(!1),s=[].indexOf,i=!!s&&1/[1].indexOf(1,-0)<0;o(o.P+o.F*(i||!n("./node_modules/core-js/modules/_strict-method.js")(s)),"Array",{indexOf:function(e){return i?s.apply(this,arguments)||0:r(this,e,arguments[1])}})},"./node_modules/core-js/modules/es6.array.is-array.js":function(e,t,n){var o=n("./node_modules/core-js/modules/_export.js");o(o.S,"Array",{isArray:n("./node_modules/core-js/modules/_is-array.js")})},"./node_modules/core-js/modules/es6.array.iterator.js":function(e,t,n){"use strict";var o=n("./node_modules/core-js/modules/_add-to-unscopables.js"),r=n("./node_modules/core-js/modules/_iter-step.js"),s=n("./node_modules/core-js/modules/_iterators.js"),i=n("./node_modules/core-js/modules/_to-iobject.js");e.exports=n("./node_modules/core-js/modules/_iter-define.js")(Array,"Array",function(e,t){this._t=i(e),this._i=0,this._k=t},function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,r(1)):r(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])},"values"),s.Arguments=s.Array,o("keys"),o("values"),o("entries")},"./node_modules/core-js/modules/es6.array.join.js":function(e,t,n){"use strict";var o=n("./node_modules/core-js/modules/_export.js"),r=n("./node_modules/core-js/modules/_to-iobject.js"),s=[].join;o(o.P+o.F*(n("./node_modules/core-js/modules/_iobject.js")!=Object||!n("./node_modules/core-js/modules/_strict-method.js")(s)),"Array",{join:function(e){return s.call(r(this),void 0===e?",":e)}})},"./node_modules/core-js/modules/es6.array.last-index-of.js":function(e,t,n){"use strict";var o=n("./node_modules/core-js/modules/_export.js"),r=n("./node_modules/core-js/modules/_to-iobject.js"),s=n("./node_modules/core-js/modules/_to-integer.js"),i=n("./node_modules/core-js/modules/_to-length.js"),a=[].lastIndexOf,u=!!a&&1/[1].lastIndexOf(1,-0)<0;o(o.P+o.F*(u||!n("./node_modules/core-js/modules/_strict-method.js")(a)),"Array",{lastIndexOf:function(e){if(u)return a.apply(this,arguments)||0;var t=r(this),n=i(t.length),o=n-1;for(arguments.length>1&&(o=Math.min(o,s(arguments[1]))),o<0&&(o=n+o);o>=0;o--)if(o in t&&t[o]===e)return o||0;return-1}})},"./node_modules/core-js/modules/es6.array.map.js":function(e,t,n){"use strict";var o=n("./node_modules/core-js/modules/_export.js"),r=n("./node_modules/core-js/modules/_array-methods.js")(1);o(o.P+o.F*!n("./node_modules/core-js/modules/_strict-method.js")([].map,!0),"Array",{map:function(e){return r(this,e,arguments[1])}})},"./node_modules/core-js/modules/es6.array.of.js":function(e,t,n){"use strict";var o=n("./node_modules/core-js/modules/_export.js"),r=n("./node_modules/core-js/modules/_create-property.js");o(o.S+o.F*n("./node_modules/core-js/modules/_fails.js")(function(){function e(){}return!(Array.of.call(e)instanceof e)}),"Array",{of:function(){for(var e=0,t=arguments.length,n=new("function"==typeof this?this:Array)(t);t>e;)r(n,e,arguments[e++]);return n.length=t,n}})},"./node_modules/core-js/modules/es6.array.reduce-right.js":function(e,t,n){"use strict";var o=n("./node_modules/core-js/modules/_export.js"),r=n("./node_modules/core-js/modules/_array-reduce.js");o(o.P+o.F*!n("./node_modules/core-js/modules/_strict-method.js")([].reduceRight,!0),"Array",{reduceRight:function(e){return r(this,e,arguments.length,arguments[1],!0)}})},"./node_modules/core-js/modules/es6.array.reduce.js":function(e,t,n){"use strict";var o=n("./node_modules/core-js/modules/_export.js"),r=n("./node_modules/core-js/modules/_array-reduce.js");o(o.P+o.F*!n("./node_modules/core-js/modules/_strict-method.js")([].reduce,!0),"Array",{reduce:function(e){return r(this,e,arguments.length,arguments[1],!1)}})},"./node_modules/core-js/modules/es6.array.slice.js":function(e,t,n){"use strict";var o=n("./node_modules/core-js/modules/_export.js"),r=n("./node_modules/core-js/modules/_html.js"),s=n("./node_modules/core-js/modules/_cof.js"),i=n("./node_modules/core-js/modules/_to-absolute-index.js"),a=n("./node_modules/core-js/modules/_to-length.js"),u=[].slice;o(o.P+o.F*n("./node_modules/core-js/modules/_fails.js")(function(){r&&u.call(r)}),"Array",{slice:function(e,t){var n=a(this.length),o=s(this);if(t=void 0===t?n:t,"Array"==o)return u.call(this,e,t);for(var r=i(e,n),c=i(t,n),l=a(c-r),d=new Array(l),f=0;f<l;f++)d[f]="String"==o?this.charAt(r+f):this[r+f];return d}})},"./node_modules/core-js/modules/es6.array.some.js":function(e,t,n){"use strict";var o=n("./node_modules/core-js/modules/_export.js"),r=n("./node_modules/core-js/modules/_array-methods.js")(3);o(o.P+o.F*!n("./node_modules/core-js/modules/_strict-method.js")([].some,!0),"Array",{some:function(e){return r(this,e,arguments[1])}})},"./node_modules/core-js/modules/es6.array.sort.js":function(e,t,n){"use strict";var o=n("./node_modules/core-js/modules/_export.js"),r=n("./node_modules/core-js/modules/_a-function.js"),s=n("./node_modules/core-js/modules/_to-object.js"),i=n("./node_modules/core-js/modules/_fails.js"),a=[].sort,u=[1,2,3];o(o.P+o.F*(i(function(){u.sort(void 0)})||!i(function(){u.sort(null)})||!n("./node_modules/core-js/modules/_strict-method.js")(a)),"Array",{sort:function(e){return void 0===e?a.call(s(this)):a.call(s(this),r(e))}})},"./node_modules/core-js/modules/es6.array.species.js":function(e,t,n){n("./node_modules/core-js/modules/_set-species.js")("Array")},"./node_modules/core-js/modules/es6.date.now.js":function(e,t,n){var o=n("./node_modules/core-js/modules/_export.js");o(o.S,"Date",{now:function(){return(new Date).getTime()}})},"./node_modules/core-js/modules/es6.date.to-iso-string.js":function(e,t,n){var o=n("./node_modules/core-js/modules/_export.js"),r=n("./node_modules/core-js/modules/_date-to-iso-string.js");o(o.P+o.F*(Date.prototype.toISOString!==r),"Date",{toISOString:r})},"./node_modules/core-js/modules/es6.date.to-json.js":function(e,t,n){"use strict";var o=n("./node_modules/core-js/modules/_export.js"),r=n("./node_modules/core-js/modules/_to-object.js"),s=n("./node_modules/core-js/modules/_to-primitive.js");o(o.P+o.F*n("./node_modules/core-js/modules/_fails.js")(function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})}),"Date",{toJSON:function(e){var t=r(this),n=s(t);return"number"!=typeof n||isFinite(n)?t.toISOString():null}})},"./node_modules/core-js/modules/es6.date.to-primitive.js":function(e,t,n){var o=n("./node_modules/core-js/modules/_wks.js")("toPrimitive"),r=Date.prototype;o in r||n("./node_modules/core-js/modules/_hide.js")(r,o,n("./node_modules/core-js/modules/_date-to-primitive.js"))},"./node_modules/core-js/modules/es6.date.to-string.js":function(e,t,n){var o=Date.prototype,r=o.toString,s=o.getTime;new Date(NaN)+""!="Invalid Date"&&n("./node_modules/core-js/modules/_redefine.js")(o,"toString",function(){var e=s.call(this);return e==e?r.call(this):"Invalid Date"})},"./node_modules/core-js/modules/es6.function.bind.js":function(e,t,n){var o=n("./node_modules/core-js/modules/_export.js");o(o.P,"Function",{bind:n("./node_modules/core-js/modules/_bind.js")})},"./node_modules/core-js/modules/es6.function.has-instance.js":function(e,t,n){"use strict";var o=n("./node_modules/core-js/modules/_is-object.js"),r=n("./node_modules/core-js/modules/_object-gpo.js"),s=n("./node_modules/core-js/modules/_wks.js")("hasInstance"),i=Function.prototype;s in i||n("./node_modules/core-js/modules/_object-dp.js").f(i,s,{value:function(e){if("function"!=typeof this||!o(e))return!1;if(!o(this.prototype))return e instanceof this;for(;e=r(e);)if(this.prototype===e)return!0;return!1}})},"./node_modules/core-js/modules/es6.function.name.js":function(e,t,n){var o=n("./node_modules/core-js/modules/_object-dp.js").f,r=Function.prototype,s=/^\s*function ([^ (]*)/;"name"in r||n("./node_modules/core-js/modules/_descriptors.js")&&o(r,"name",{configurable:!0,get:function(){try{return(""+this).match(s)[1]}catch(e){return""}}})},"./node_modules/core-js/modules/es6.map.js":function(e,t,n){"use strict";var o=n("./node_modules/core-js/modules/_collection-strong.js"),r=n("./node_modules/core-js/modules/_validate-collection.js");e.exports=n("./node_modules/core-js/modules/_collection.js")("Map",function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}},{get:function(e){var t=o.getEntry(r(this,"Map"),e);return t&&t.v},set:function(e,t){return o.def(r(this,"Map"),0===e?0:e,t)}},o,!0)},"./node_modules/core-js/modules/es6.math.acosh.js":function(e,t,n){var o=n("./node_modules/core-js/modules/_export.js"),r=n("./node_modules/core-js/modules/_math-log1p.js"),s=Math.sqrt,i=Math.acosh;o(o.S+o.F*!(i&&710==Math.floor(i(Number.MAX_VALUE))&&i(1/0)==1/0),"Math",{acosh:function(e){return(e=+e)<1?NaN:e>94906265.62425156?Math.log(e)+Math.LN2:r(e-1+s(e-1)*s(e+1))}})},"./node_modules/core-js/modules/es6.math.asinh.js":function(e,t,n){var o=n("./node_modules/core-js/modules/_export.js"),r=Math.asinh;o(o.S+o.F*!(r&&1/r(0)>0),"Math",{asinh:function e(t){return isFinite(t=+t)&&0!=t?t<0?-e(-t):Math.log(t+Math.sqrt(t*t+1)):t}})},"./node_modules/core-js/modules/es6.math.atanh.js":function(e,t,n){var o=n("./node_modules/core-js/modules/_export.js"),r=Math.atanh;o(o.S+o.F*!(r&&1/r(-0)<0),"Math",{atanh:function(e){return 0==(e=+e)?e:Math.log((1+e)/(1-e))/2}})},"./node_modules/core-js/modules/es6.math.cbrt.js":function(e,t,n){var o=n("./node_modules/core-js/modules/_export.js"),r=n("./node_modules/core-js/modules/_math-sign.js");o(o.S,"Math",{cbrt:function(e){return r(e=+e)*Math.pow(Math.abs(e),1/3)}})},"./node_modules/core-js/modules/es6.math.clz32.js":function(e,t,n){var o=n("./node_modules/core-js/modules/_export.js");o(o.S,"Math",{clz32:function(e){return(e>>>=0)?31-Math.floor(Math.log(e+.5)*Math.LOG2E):32}})},"./node_modules/core-js/modules/es6.math.cosh.js":function(e,t,n){var o=n("./node_modules/core-js/modules/_export.js"),r=Math.exp;o(o.S,"Math",{cosh:function(e){return(r(e=+e)+r(-e))/2}})},"./node_modules/core-js/modules/es6.math.expm1.js":function(e,t,n){var o=n("./node_modules/core-js/modules/_export.js"),r=n("./node_modules/core-js/modules/_math-expm1.js");o(o.S+o.F*(r!=Math.expm1),"Math",{expm1:r})},"./node_modules/core-js/modules/es6.math.fround.js":function(e,t,n){var o=n("./node_modules/core-js/modules/_export.js");o(o.S,"Math",{fround:n("./node_modules/core-js/modules/_math-fround.js")})},"./node_modules/core-js/modules/es6.math.hypot.js":function(e,t,n){var o=n("./node_modules/core-js/modules/_export.js"),r=Math.abs;o(o.S,"Math",{hypot:function(e,t){for(var n,o,s=0,i=0,a=arguments.length,u=0;i<a;)u<(n=r(arguments[i++]))?(s=s*(o=u/n)*o+1,u=n):s+=n>0?(o=n/u)*o:n;return u===1/0?1/0:u*Math.sqrt(s)}})},"./node_modules/core-js/modules/es6.math.imul.js":function(e,t,n){var o=n("./node_modules/core-js/modules/_export.js"),r=Math.imul;o(o.S+o.F*n("./node_modules/core-js/modules/_fails.js")(function(){return-5!=r(4294967295,5)||2!=r.length}),"Math",{imul:function(e,t){var n=+e,o=+t,r=65535&n,s=65535&o;return 0|r*s+((65535&n>>>16)*s+r*(65535&o>>>16)<<16>>>0)}})},"./node_modules/core-js/modules/es6.math.log10.js":function(e,t,n){var o=n("./node_modules/core-js/modules/_export.js");o(o.S,"Math",{log10:function(e){return Math.log(e)*Math.LOG10E}})},"./node_modules/core-js/modules/es6.math.log1p.js":function(e,t,n){var o=n("./node_modules/core-js/modules/_export.js");o(o.S,"Math",{log1p:n("./node_modules/core-js/modules/_math-log1p.js")})},"./node_modules/core-js/modules/es6.math.log2.js":function(e,t,n){var o=n("./node_modules/core-js/modules/_export.js");o(o.S,"Math",{log2:function(e){return Math.log(e)/Math.LN2}})},"./node_modules/core-js/modules/es6.math.sign.js":function(e,t,n){var o=n("./node_modules/core-js/modules/_export.js");o(o.S,"Math",{sign:n("./node_modules/core-js/modules/_math-sign.js")})},"./node_modules/core-js/modules/es6.math.sinh.js":function(e,t,n){var o=n("./node_modules/core-js/modules/_export.js"),r=n("./node_modules/core-js/modules/_math-expm1.js"),s=Math.exp;o(o.S+o.F*n("./node_modules/core-js/modules/_fails.js")(function(){return-2e-17!=!Math.sinh(-2e-17)}),"Math",{sinh:function(e){return Math.abs(e=+e)<1?(r(e)-r(-e))/2:(s(e-1)-s(-e-1))*(Math.E/2)}})},"./node_modules/core-js/modules/es6.math.tanh.js":function(e,t,n){var o=n("./node_modules/core-js/modules/_export.js"),r=n("./node_modules/core-js/modules/_math-expm1.js"),s=Math.exp;o(o.S,"Math",{tanh:function(e){var t=r(e=+e),n=r(-e);return t==1/0?1:n==1/0?-1:(t-n)/(s(e)+s(-e))}})},"./node_modules/core-js/modules/es6.math.trunc.js":function(e,t,n){var o=n("./node_modules/core-js/modules/_export.js");o(o.S,"Math",{trunc:function(e){return(e>0?Math.floor:Math.ceil)(e)}})},"./node_modules/core-js/modules/es6.number.constructor.js":function(e,t,n){"use strict";var o=n("./node_modules/core-js/modules/_global.js"),r=n("./node_modules/core-js/modules/_has.js"),s=n("./node_modules/core-js/modules/_cof.js"),i=n("./node_modules/core-js/modules/_inherit-if-required.js"),a=n("./node_modules/core-js/modules/_to-primitive.js"),u=n("./node_modules/core-js/modules/_fails.js"),c=n("./node_modules/core-js/modules/_object-gopn.js").f,l=n("./node_modules/core-js/modules/_object-gopd.js").f,d=n("./node_modules/core-js/modules/_object-dp.js").f,f=n("./node_modules/core-js/modules/_string-trim.js").trim,p=o.Number,m=p,h=p.prototype,v="Number"==s(n("./node_modules/core-js/modules/_object-create.js")(h)),j="trim"in String.prototype,y=function(e){var t=a(e,!1);if("string"==typeof t&&t.length>2){var n,o,r,s=(t=j?t.trim():f(t,3)).charCodeAt(0);if(43===s||45===s){if(88===(n=t.charCodeAt(2))||120===n)return NaN}else if(48===s){switch(t.charCodeAt(1)){case 66:case 98:o=2,r=49;break;case 79:case 111:o=8,r=55;break;default:return+t}for(var i,u=t.slice(2),c=0,l=u.length;c<l;c++)if((i=u.charCodeAt(c))<48||i>r)return NaN;return parseInt(u,o)}}return+t};if(!p(" 0o1")||!p("0b1")||p("+0x1")){p=function(e){var t=arguments.length<1?0:e,n=this;return n instanceof p&&(v?u(function(){h.valueOf.call(n)}):"Number"!=s(n))?i(new m(y(t)),n,p):y(t)};for(var _,g=n("./node_modules/core-js/modules/_descriptors.js")?c(m):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),b=0;g.length>b;b++)r(m,_=g[b])&&!r(p,_)&&d(p,_,l(m,_));p.prototype=h,h.constructor=p,n("./node_modules/core-js/modules/_redefine.js")(o,"Number",p)}},"./node_modules/core-js/modules/es6.number.epsilon.js":function(e,t,n){var o=n("./node_modules/core-js/modules/_export.js");o(o.S,"Number",{EPSILON:Math.pow(2,-52)})},"./node_modules/core-js/modules/es6.number.is-finite.js":function(e,t,n){var o=n("./node_modules/core-js/modules/_export.js"),r=n("./node_modules/core-js/modules/_global.js").isFinite;o(o.S,"Number",{isFinite:function(e){return"number"==typeof e&&r(e)}})},"./node_modules/core-js/modules/es6.number.is-integer.js":function(e,t,n){var o=n("./node_modules/core-js/modules/_export.js");o(o.S,"Number",{isInteger:n("./node_modules/core-js/modules/_is-integer.js")})},"./node_modules/core-js/modules/es6.number.is-nan.js":function(e,t,n){var o=n("./node_modules/core-js/modules/_export.js");o(o.S,"Number",{isNaN:function(e){return e!=e}})},"./node_modules/core-js/modules/es6.number.is-safe-integer.js":function(e,t,n){var o=n("./node_modules/core-js/modules/_export.js"),r=n("./node_modules/core-js/modules/_is-integer.js"),s=Math.abs;o(o.S,"Number",{isSafeInteger:function(e){return r(e)&&s(e)<=9007199254740991}})},"./node_modules/core-js/modules/es6.number.max-safe-integer.js":function(e,t,n){var o=n("./node_modules/core-js/modules/_export.js");o(o.S,"Number",{MAX_SAFE_INTEGER:9007199254740991})},"./node_modules/core-js/modules/es6.number.min-safe-integer.js":function(e,t,n){var o=n("./node_modules/core-js/modules/_export.js");o(o.S,"Number",{MIN_SAFE_INTEGER:-9007199254740991})},"./node_modules/core-js/modules/es6.number.parse-float.js":function(e,t,n){var o=n("./node_modules/core-js/modules/_export.js"),r=n("./node_modules/core-js/modules/_parse-float.js");o(o.S+o.F*(Number.parseFloat!=r),"Number",{parseFloat:r})},"./node_modules/core-js/modules/es6.number.parse-int.js":function(e,t,n){var o=n("./node_modules/core-js/modules/_export.js"),r=n("./node_modules/core-js/modules/_parse-int.js");o(o.S+o.F*(Number.parseInt!=r),"Number",{parseInt:r})},"./node_modules/core-js/modules/es6.number.to-fixed.js":function(e,t,n){"use strict";var o=n("./node_modules/core-js/modules/_export.js"),r=n("./node_modules/core-js/modules/_to-integer.js"),s=n("./node_modules/core-js/modules/_a-number-value.js"),i=n("./node_modules/core-js/modules/_string-repeat.js"),a=1..toFixed,u=Math.floor,c=[0,0,0,0,0,0],l="Number.toFixed: incorrect invocation!",d=function(e,t){for(var n=-1,o=t;++n<6;)o+=e*c[n],c[n]=o%1e7,o=u(o/1e7)},f=function(e){for(var t=6,n=0;--t>=0;)n+=c[t],c[t]=u(n/e),n=n%e*1e7},p=function(){for(var e=6,t="";--e>=0;)if(""!==t||0===e||0!==c[e]){var n=String(c[e]);t=""===t?n:t+i.call("0",7-n.length)+n}return t},m=function(e,t,n){return 0===t?n:t%2==1?m(e,t-1,n*e):m(e*e,t/2,n)};o(o.P+o.F*(!!a&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!n("./node_modules/core-js/modules/_fails.js")(function(){a.call({})})),"Number",{toFixed:function(e){var t,n,o,a,u=s(this,l),c=r(e),h="",v="0";if(c<0||c>20)throw RangeError(l);if(u!=u)return"NaN";if(u<=-1e21||u>=1e21)return String(u);if(u<0&&(h="-",u=-u),u>1e-21)if(n=(t=function(e){for(var t=0,n=e;n>=4096;)t+=12,n/=4096;for(;n>=2;)t+=1,n/=2;return t}(u*m(2,69,1))-69)<0?u*m(2,-t,1):u/m(2,t,1),n*=4503599627370496,(t=52-t)>0){for(d(0,n),o=c;o>=7;)d(1e7,0),o-=7;for(d(m(10,o,1),0),o=t-1;o>=23;)f(1<<23),o-=23;f(1<<o),d(1,1),f(2),v=p()}else d(0,n),d(1<<-t,0),v=p()+i.call("0",c);return v=c>0?h+((a=v.length)<=c?"0."+i.call("0",c-a)+v:v.slice(0,a-c)+"."+v.slice(a-c)):h+v}})},"./node_modules/core-js/modules/es6.number.to-precision.js":function(e,t,n){"use strict";var o=n("./node_modules/core-js/modules/_export.js"),r=n("./node_modules/core-js/modules/_fails.js"),s=n("./node_modules/core-js/modules/_a-number-value.js"),i=1..toPrecision;o(o.P+o.F*(r(function(){return"1"!==i.call(1,void 0)})||!r(function(){i.call({})})),"Number",{toPrecision:function(e){var t=s(this,"Number#toPrecision: incorrect invocation!");return void 0===e?i.call(t):i.call(t,e)}})},"./node_modules/core-js/modules/es6.object.assign.js":function(e,t,n){var o=n("./node_modules/core-js/modules/_export.js");o(o.S+o.F,"Object",{assign:n("./node_modules/core-js/modules/_object-assign.js")})},"./node_modules/core-js/modules/es6.object.create.js":function(e,t,n){var o=n("./node_modules/core-js/modules/_export.js");o(o.S,"Object",{create:n("./node_modules/core-js/modules/_object-create.js")})},"./node_modules/core-js/modules/es6.object.define-properties.js":function(e,t,n){var o=n("./node_modules/core-js/modules/_export.js");o(o.S+o.F*!n("./node_modules/core-js/modules/_descriptors.js"),"Object",{defineProperties:n("./node_modules/core-js/modules/_object-dps.js")})},"./node_modules/core-js/modules/es6.object.define-property.js":function(e,t,n){var o=n("./node_modules/core-js/modules/_export.js");o(o.S+o.F*!n("./node_modules/core-js/modules/_descriptors.js"),"Object",{defineProperty:n("./node_modules/core-js/modules/_object-dp.js").f})},"./node_modules/core-js/modules/es6.object.freeze.js":function(e,t,n){var o=n("./node_modules/core-js/modules/_is-object.js"),r=n("./node_modules/core-js/modules/_meta.js").onFreeze;n("./node_modules/core-js/modules/_object-sap.js")("freeze",function(e){return function(t){return e&&o(t)?e(r(t)):t}})},"./node_modules/core-js/modules/es6.object.get-own-property-descriptor.js":function(e,t,n){var o=n("./node_modules/core-js/modules/_to-iobject.js"),r=n("./node_modules/core-js/modules/_object-gopd.js").f;n("./node_modules/core-js/modules/_object-sap.js")("getOwnPropertyDescriptor",function(){return function(e,t){return r(o(e),t)}})},"./node_modules/core-js/modules/es6.object.get-own-property-names.js":function(e,t,n){n("./node_modules/core-js/modules/_object-sap.js")("getOwnPropertyNames",function(){return n("./node_modules/core-js/modules/_object-gopn-ext.js").f})},"./node_modules/core-js/modules/es6.object.get-prototype-of.js":function(e,t,n){var o=n("./node_modules/core-js/modules/_to-object.js"),r=n("./node_modules/core-js/modules/_object-gpo.js");n("./node_modules/core-js/modules/_object-sap.js")("getPrototypeOf",function(){return function(e){return r(o(e))}})},"./node_modules/core-js/modules/es6.object.is-extensible.js":function(e,t,n){var o=n("./node_modules/core-js/modules/_is-object.js");n("./node_modules/core-js/modules/_object-sap.js")("isExtensible",function(e){return function(t){return!!o(t)&&(!e||e(t))}})},"./node_modules/core-js/modules/es6.object.is-frozen.js":function(e,t,n){var o=n("./node_modules/core-js/modules/_is-object.js");n("./node_modules/core-js/modules/_object-sap.js")("isFrozen",function(e){return function(t){return!o(t)||!!e&&e(t)}})},"./node_modules/core-js/modules/es6.object.is-sealed.js":function(e,t,n){var o=n("./node_modules/core-js/modules/_is-object.js");n("./node_modules/core-js/modules/_object-sap.js")("isSealed",function(e){return function(t){return!o(t)||!!e&&e(t)}})},"./node_modules/core-js/modules/es6.object.is.js":function(e,t,n){var o=n("./node_modules/core-js/modules/_export.js");o(o.S,"Object",{is:n("./node_modules/core-js/modules/_same-value.js")})},"./node_modules/core-js/modules/es6.object.keys.js":function(e,t,n){var o=n("./node_modules/core-js/modules/_to-object.js"),r=n("./node_modules/core-js/modules/_object-keys.js");n("./node_modules/core-js/modules/_object-sap.js")("keys",function(){return function(e){return r(o(e))}})},"./node_modules/core-js/modules/es6.object.prevent-extensions.js":function(e,t,n){var o=n("./node_modules/core-js/modules/_is-object.js"),r=n("./node_modules/core-js/modules/_meta.js").onFreeze;n("./node_modules/core-js/modules/_object-sap.js")("preventExtensions",function(e){return function(t){return e&&o(t)?e(r(t)):t}})},"./node_modules/core-js/modules/es6.object.seal.js":function(e,t,n){var o=n("./node_modules/core-js/modules/_is-object.js"),r=n("./node_modules/core-js/modules/_meta.js").onFreeze;n("./node_modules/core-js/modules/_object-sap.js")("seal",function(e){return function(t){return e&&o(t)?e(r(t)):t}})},"./node_modules/core-js/modules/es6.object.set-prototype-of.js":function(e,t,n){var o=n("./node_modules/core-js/modules/_export.js");o(o.S,"Object",{setPrototypeOf:n("./node_modules/core-js/modules/_set-proto.js").set})},"./node_modules/core-js/modules/es6.object.to-string.js":function(e,t,n){"use strict";var o=n("./node_modules/core-js/modules/_classof.js"),r={};r[n("./node_modules/core-js/modules/_wks.js")("toStringTag")]="z",r+""!="[object z]"&&n("./node_modules/core-js/modules/_redefine.js")(Object.prototype,"toString",function(){return"[object "+o(this)+"]"},!0)},"./node_modules/core-js/modules/es6.parse-float.js":function(e,t,n){var o=n("./node_modules/core-js/modules/_export.js"),r=n("./node_modules/core-js/modules/_parse-float.js");o(o.G+o.F*(parseFloat!=r),{parseFloat:r})},"./node_modules/core-js/modules/es6.parse-int.js":function(e,t,n){var o=n("./node_modules/core-js/modules/_export.js"),r=n("./node_modules/core-js/modules/_parse-int.js");o(o.G+o.F*(parseInt!=r),{parseInt:r})},"./node_modules/core-js/modules/es6.promise.js":function(e,t,n){"use strict";var o,r,s,i,a=n("./node_modules/core-js/modules/_library.js"),u=n("./node_modules/core-js/modules/_global.js"),c=n("./node_modules/core-js/modules/_ctx.js"),l=n("./node_modules/core-js/modules/_classof.js"),d=n("./node_modules/core-js/modules/_export.js"),f=n("./node_modules/core-js/modules/_is-object.js"),p=n("./node_modules/core-js/modules/_a-function.js"),m=n("./node_modules/core-js/modules/_an-instance.js"),h=n("./node_modules/core-js/modules/_for-of.js"),v=n("./node_modules/core-js/modules/_species-constructor.js"),j=n("./node_modules/core-js/modules/_task.js").set,y=n("./node_modules/core-js/modules/_microtask.js")(),_=n("./node_modules/core-js/modules/_new-promise-capability.js"),g=n("./node_modules/core-js/modules/_perform.js"),b=n("./node_modules/core-js/modules/_user-agent.js"),w=n("./node_modules/core-js/modules/_promise-resolve.js"),x=u.TypeError,k=u.process,S=k&&k.versions,O=S&&S.v8||"",C=u.Promise,M="process"==l(k),A=function(){},T=r=_.f,E=!!function(){try{var e=C.resolve(1),t=(e.constructor={})[n("./node_modules/core-js/modules/_wks.js")("species")]=function(e){e(A,A)};return(M||"function"==typeof PromiseRejectionEvent)&&e.then(A)instanceof t&&0!==O.indexOf("6.6")&&-1===b.indexOf("Chrome/66")}catch(e){}}(),N=function(e){var t;return!(!f(e)||"function"!=typeof(t=e.then))&&t},P=function(e,t){if(!e._n){e._n=!0;var n=e._c;y(function(){for(var o=e._v,r=1==e._s,s=0,i=function(t){var n,s,i,a=r?t.ok:t.fail,u=t.resolve,c=t.reject,l=t.domain;try{a?(r||(2==e._h&&R(e),e._h=1),!0===a?n=o:(l&&l.enter(),n=a(o),l&&(l.exit(),i=!0)),n===t.promise?c(x("Promise-chain cycle")):(s=N(n))?s.call(n,u,c):u(n)):c(o)}catch(e){l&&!i&&l.exit(),c(e)}};n.length>s;)i(n[s++]);e._c=[],e._n=!1,t&&!e._h&&I(e)})}},I=function(e){j.call(u,function(){var t,n,o,r=e._v,s=D(e);if(s&&(t=g(function(){M?k.emit("unhandledRejection",r,e):(n=u.onunhandledrejection)?n({promise:e,reason:r}):(o=u.console)&&o.error&&o.error("Unhandled promise rejection",r)}),e._h=M||D(e)?2:1),e._a=void 0,s&&t.e)throw t.v})},D=function(e){return 1!==e._h&&0===(e._a||e._c).length},R=function(e){j.call(u,function(){var t;M?k.emit("rejectionHandled",e):(t=u.onrejectionhandled)&&t({promise:e,reason:e._v})})},$=function(e){var t=this;t._d||(t._d=!0,(t=t._w||t)._v=e,t._s=2,t._a||(t._a=t._c.slice()),P(t,!0))},F=function(e){var t,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===e)throw x("Promise can't be resolved itself");(t=N(e))?y(function(){var o={_w:n,_d:!1};try{t.call(e,c(F,o,1),c($,o,1))}catch(e){$.call(o,e)}}):(n._v=e,n._s=1,P(n,!1))}catch(e){$.call({_w:n,_d:!1},e)}}};E||(C=function(e){m(this,C,"Promise","_h"),p(e),o.call(this);try{e(c(F,this,1),c($,this,1))}catch(e){$.call(this,e)}},(o=function(e){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=n("./node_modules/core-js/modules/_redefine-all.js")(C.prototype,{then:function(e,t){var n=T(v(this,C));return n.ok="function"!=typeof e||e,n.fail="function"==typeof t&&t,n.domain=M?k.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&P(this,!1),n.promise},catch:function(e){return this.then(void 0,e)}}),s=function(){var e=new o;this.promise=e,this.resolve=c(F,e,1),this.reject=c($,e,1)},_.f=T=function(e){return e===C||e===i?new s(e):r(e)}),d(d.G+d.W+d.F*!E,{Promise:C}),n("./node_modules/core-js/modules/_set-to-string-tag.js")(C,"Promise"),n("./node_modules/core-js/modules/_set-species.js")("Promise"),i=n("./node_modules/core-js/modules/_core.js").Promise,d(d.S+d.F*!E,"Promise",{reject:function(e){var t=T(this);return(0,t.reject)(e),t.promise}}),d(d.S+d.F*(a||!E),"Promise",{resolve:function(e){return w(a&&this===i?C:this,e)}}),d(d.S+d.F*!(E&&n("./node_modules/core-js/modules/_iter-detect.js")(function(e){C.all(e).catch(A)})),"Promise",{all:function(e){var t=this,n=T(t),o=n.resolve,r=n.reject,s=g(function(){var n=[],s=0,i=1;h(e,!1,function(e){var a=s++,u=!1;n.push(void 0),i++,t.resolve(e).then(function(e){u||(u=!0,n[a]=e,--i||o(n))},r)}),--i||o(n)});return s.e&&r(s.v),n.promise},race:function(e){var t=this,n=T(t),o=n.reject,r=g(function(){h(e,!1,function(e){t.resolve(e).then(n.resolve,o)})});return r.e&&o(r.v),n.promise}})},"./node_modules/core-js/modules/es6.reflect.apply.js":function(e,t,n){var o=n("./node_modules/core-js/modules/_export.js"),r=n("./node_modules/core-js/modules/_a-function.js"),s=n("./node_modules/core-js/modules/_an-object.js"),i=(n("./node_modules/core-js/modules/_global.js").Reflect||{}).apply,a=Function.apply;o(o.S+o.F*!n("./node_modules/core-js/modules/_fails.js")(function(){i(function(){})}),"Reflect",{apply:function(e,t,n){var o=r(e),u=s(n);return i?i(o,t,u):a.call(o,t,u)}})},"./node_modules/core-js/modules/es6.reflect.construct.js":function(e,t,n){var o=n("./node_modules/core-js/modules/_export.js"),r=n("./node_modules/core-js/modules/_object-create.js"),s=n("./node_modules/core-js/modules/_a-function.js"),i=n("./node_modules/core-js/modules/_an-object.js"),a=n("./node_modules/core-js/modules/_is-object.js"),u=n("./node_modules/core-js/modules/_fails.js"),c=n("./node_modules/core-js/modules/_bind.js"),l=(n("./node_modules/core-js/modules/_global.js").Reflect||{}).construct,d=u(function(){function e(){}return!(l(function(){},[],e)instanceof e)}),f=!u(function(){l(function(){})});o(o.S+o.F*(d||f),"Reflect",{construct:function(e,t){s(e),i(t);var n=arguments.length<3?e:s(arguments[2]);if(f&&!d)return l(e,t,n);if(e==n){switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3])}var o=[null];return o.push.apply(o,t),new(c.apply(e,o))}var u=n.prototype,p=r(a(u)?u:Object.prototype),m=Function.apply.call(e,p,t);return a(m)?m:p}})},"./node_modules/core-js/modules/es6.reflect.define-property.js":function(e,t,n){var o=n("./node_modules/core-js/modules/_object-dp.js"),r=n("./node_modules/core-js/modules/_export.js"),s=n("./node_modules/core-js/modules/_an-object.js"),i=n("./node_modules/core-js/modules/_to-primitive.js");r(r.S+r.F*n("./node_modules/core-js/modules/_fails.js")(function(){Reflect.defineProperty(o.f({},1,{value:1}),1,{value:2})}),"Reflect",{defineProperty:function(e,t,n){s(e),t=i(t,!0),s(n);try{return o.f(e,t,n),!0}catch(e){return!1}}})},"./node_modules/core-js/modules/es6.reflect.delete-property.js":function(e,t,n){var o=n("./node_modules/core-js/modules/_export.js"),r=n("./node_modules/core-js/modules/_object-gopd.js").f,s=n("./node_modules/core-js/modules/_an-object.js");o(o.S,"Reflect",{deleteProperty:function(e,t){var n=r(s(e),t);return!(n&&!n.configurable)&&delete e[t]}})},"./node_modules/core-js/modules/es6.reflect.enumerate.js":function(e,t,n){"use strict";var o=n("./node_modules/core-js/modules/_export.js"),r=n("./node_modules/core-js/modules/_an-object.js"),s=function(e){this._t=r(e),this._i=0;var t,n=this._k=[];for(t in e)n.push(t)};n("./node_modules/core-js/modules/_iter-create.js")(s,"Object",function(){var e,t=this._k;do{if(this._i>=t.length)return{value:void 0,done:!0}}while(!((e=t[this._i++])in this._t));return{value:e,done:!1}}),o(o.S,"Reflect",{enumerate:function(e){return new s(e)}})},"./node_modules/core-js/modules/es6.reflect.get-own-property-descriptor.js":function(e,t,n){var o=n("./node_modules/core-js/modules/_object-gopd.js"),r=n("./node_modules/core-js/modules/_export.js"),s=n("./node_modules/core-js/modules/_an-object.js");r(r.S,"Reflect",{getOwnPropertyDescriptor:function(e,t){return o.f(s(e),t)}})},"./node_modules/core-js/modules/es6.reflect.get-prototype-of.js":function(e,t,n){var o=n("./node_modules/core-js/modules/_export.js"),r=n("./node_modules/core-js/modules/_object-gpo.js"),s=n("./node_modules/core-js/modules/_an-object.js");o(o.S,"Reflect",{getPrototypeOf:function(e){return r(s(e))}})},"./node_modules/core-js/modules/es6.reflect.get.js":function(e,t,n){var o=n("./node_modules/core-js/modules/_object-gopd.js"),r=n("./node_modules/core-js/modules/_object-gpo.js"),s=n("./node_modules/core-js/modules/_has.js"),i=n("./node_modules/core-js/modules/_export.js"),a=n("./node_modules/core-js/modules/_is-object.js"),u=n("./node_modules/core-js/modules/_an-object.js");i(i.S,"Reflect",{get:function e(t,n){var i,c,l=arguments.length<3?t:arguments[2];return u(t)===l?t[n]:(i=o.f(t,n))?s(i,"value")?i.value:void 0!==i.get?i.get.call(l):void 0:a(c=r(t))?e(c,n,l):void 0}})},"./node_modules/core-js/modules/es6.reflect.has.js":function(e,t,n){var o=n("./node_modules/core-js/modules/_export.js");o(o.S,"Reflect",{has:function(e,t){return t in e}})},"./node_modules/core-js/modules/es6.reflect.is-extensible.js":function(e,t,n){var o=n("./node_modules/core-js/modules/_export.js"),r=n("./node_modules/core-js/modules/_an-object.js"),s=Object.isExtensible;o(o.S,"Reflect",{isExtensible:function(e){return r(e),!s||s(e)}})},"./node_modules/core-js/modules/es6.reflect.own-keys.js":function(e,t,n){var o=n("./node_modules/core-js/modules/_export.js");o(o.S,"Reflect",{ownKeys:n("./node_modules/core-js/modules/_own-keys.js")})},"./node_modules/core-js/modules/es6.reflect.prevent-extensions.js":function(e,t,n){var o=n("./node_modules/core-js/modules/_export.js"),r=n("./node_modules/core-js/modules/_an-object.js"),s=Object.preventExtensions;o(o.S,"Reflect",{preventExtensions:function(e){r(e);try{return s&&s(e),!0}catch(e){return!1}}})},"./node_modules/core-js/modules/es6.reflect.set-prototype-of.js":function(e,t,n){var o=n("./node_modules/core-js/modules/_export.js"),r=n("./node_modules/core-js/modules/_set-proto.js");r&&o(o.S,"Reflect",{setPrototypeOf:function(e,t){r.check(e,t);try{return r.set(e,t),!0}catch(e){return!1}}})},"./node_modules/core-js/modules/es6.reflect.set.js":function(e,t,n){var o=n("./node_modules/core-js/modules/_object-dp.js"),r=n("./node_modules/core-js/modules/_object-gopd.js"),s=n("./node_modules/core-js/modules/_object-gpo.js"),i=n("./node_modules/core-js/modules/_has.js"),a=n("./node_modules/core-js/modules/_export.js"),u=n("./node_modules/core-js/modules/_property-desc.js"),c=n("./node_modules/core-js/modules/_an-object.js"),l=n("./node_modules/core-js/modules/_is-object.js");a(a.S,"Reflect",{set:function e(t,n,a){var d,f,p=arguments.length<4?t:arguments[3],m=r.f(c(t),n);if(!m){if(l(f=s(t)))return e(f,n,a,p);m=u(0)}if(i(m,"value")){if(!1===m.writable||!l(p))return!1;if(d=r.f(p,n)){if(d.get||d.set||!1===d.writable)return!1;d.value=a,o.f(p,n,d)}else o.f(p,n,u(0,a));return!0}return void 0!==m.set&&(m.set.call(p,a),!0)}})},"./node_modules/core-js/modules/es6.regexp.constructor.js":function(e,t,n){var o=n("./node_modules/core-js/modules/_global.js"),r=n("./node_modules/core-js/modules/_inherit-if-required.js"),s=n("./node_modules/core-js/modules/_object-dp.js").f,i=n("./node_modules/core-js/modules/_object-gopn.js").f,a=n("./node_modules/core-js/modules/_is-regexp.js"),u=n("./node_modules/core-js/modules/_flags.js"),c=o.RegExp,l=c,d=c.prototype,f=/a/g,p=/a/g,m=new c(f)!==f;if(n("./node_modules/core-js/modules/_descriptors.js")&&(!m||n("./node_modules/core-js/modules/_fails.js")(function(){return p[n("./node_modules/core-js/modules/_wks.js")("match")]=!1,c(f)!=f||c(p)==p||"/a/i"!=c(f,"i")}))){c=function(e,t){var n=this instanceof c,o=a(e),s=void 0===t;return!n&&o&&e.constructor===c&&s?e:r(m?new l(o&&!s?e.source:e,t):l((o=e instanceof c)?e.source:e,o&&s?u.call(e):t),n?this:d,c)};for(var h=function(e){e in c||s(c,e,{configurable:!0,get:function(){return l[e]},set:function(t){l[e]=t}})},v=i(l),j=0;v.length>j;)h(v[j++]);d.constructor=c,c.prototype=d,n("./node_modules/core-js/modules/_redefine.js")(o,"RegExp",c)}n("./node_modules/core-js/modules/_set-species.js")("RegExp")},"./node_modules/core-js/modules/es6.regexp.flags.js":function(e,t,n){n("./node_modules/core-js/modules/_descriptors.js")&&"g"!=/./g.flags&&n("./node_modules/core-js/modules/_object-dp.js").f(RegExp.prototype,"flags",{configurable:!0,get:n("./node_modules/core-js/modules/_flags.js")})},"./node_modules/core-js/modules/es6.regexp.match.js":function(e,t,n){n("./node_modules/core-js/modules/_fix-re-wks.js")("match",1,function(e,t,n){return[function(n){"use strict";var o=e(this),r=void 0==n?void 0:n[t];return void 0!==r?r.call(n,o):new RegExp(n)[t](String(o))},n]})},"./node_modules/core-js/modules/es6.regexp.replace.js":function(e,t,n){n("./node_modules/core-js/modules/_fix-re-wks.js")("replace",2,function(e,t,n){return[function(o,r){"use strict";var s=e(this),i=void 0==o?void 0:o[t];return void 0!==i?i.call(o,s,r):n.call(String(s),o,r)},n]})},"./node_modules/core-js/modules/es6.regexp.search.js":function(e,t,n){n("./node_modules/core-js/modules/_fix-re-wks.js")("search",1,function(e,t,n){return[function(n){"use strict";var o=e(this),r=void 0==n?void 0:n[t];return void 0!==r?r.call(n,o):new RegExp(n)[t](String(o))},n]})},"./node_modules/core-js/modules/es6.regexp.split.js":function(e,t,n){n("./node_modules/core-js/modules/_fix-re-wks.js")("split",2,function(e,t,o){"use strict";var r=n("./node_modules/core-js/modules/_is-regexp.js"),s=o,i=[].push;if("c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length){var a=void 0===/()??/.exec("")[1];o=function(e,t){var n=String(this);if(void 0===e&&0===t)return[];if(!r(e))return s.call(n,e,t);var o,u,c,l,d,f=[],p=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),m=0,h=void 0===t?4294967295:t>>>0,v=new RegExp(e.source,p+"g");for(a||(o=new RegExp("^"+v.source+"$(?!\\s)",p));(u=v.exec(n))&&!((c=u.index+u[0].length)>m&&(f.push(n.slice(m,u.index)),!a&&u.length>1&&u[0].replace(o,function(){for(d=1;d<arguments.length-2;d++)void 0===arguments[d]&&(u[d]=void 0)}),u.length>1&&u.index<n.length&&i.apply(f,u.slice(1)),l=u[0].length,m=c,f.length>=h));)v.lastIndex===u.index&&v.lastIndex++;return m===n.length?!l&&v.test("")||f.push(""):f.push(n.slice(m)),f.length>h?f.slice(0,h):f}}else"0".split(void 0,0).length&&(o=function(e,t){return void 0===e&&0===t?[]:s.call(this,e,t)});return[function(n,r){var s=e(this),i=void 0==n?void 0:n[t];return void 0!==i?i.call(n,s,r):o.call(String(s),n,r)},o]})},"./node_modules/core-js/modules/es6.regexp.to-string.js":function(e,t,n){"use strict";n("./node_modules/core-js/modules/es6.regexp.flags.js");var o=n("./node_modules/core-js/modules/_an-object.js"),r=n("./node_modules/core-js/modules/_flags.js"),s=n("./node_modules/core-js/modules/_descriptors.js"),i=/./.toString,a=function(e){n("./node_modules/core-js/modules/_redefine.js")(RegExp.prototype,"toString",e,!0)};n("./node_modules/core-js/modules/_fails.js")(function(){return"/a/b"!=i.call({source:"a",flags:"b"})})?a(function(){var e=o(this);return"/".concat(e.source,"/","flags"in e?e.flags:!s&&e instanceof RegExp?r.call(e):void 0)}):"toString"!=i.name&&a(function(){return i.call(this)})},"./node_modules/core-js/modules/es6.set.js":function(e,t,n){"use strict";var o=n("./node_modules/core-js/modules/_collection-strong.js"),r=n("./node_modules/core-js/modules/_validate-collection.js");e.exports=n("./node_modules/core-js/modules/_collection.js")("Set",function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}},{add:function(e){return o.def(r(this,"Set"),e=0===e?0:e,e)}},o)},"./node_modules/core-js/modules/es6.string.anchor.js":function(e,t,n){"use strict";n("./node_modules/core-js/modules/_string-html.js")("anchor",function(e){return function(t){return e(this,"a","name",t)}})},"./node_modules/core-js/modules/es6.string.big.js":function(e,t,n){"use strict";n("./node_modules/core-js/modules/_string-html.js")("big",function(e){return function(){return e(this,"big","","")}})},"./node_modules/core-js/modules/es6.string.blink.js":function(e,t,n){"use strict";n("./node_modules/core-js/modules/_string-html.js")("blink",function(e){return function(){return e(this,"blink","","")}})},"./node_modules/core-js/modules/es6.string.bold.js":function(e,t,n){"use strict";n("./node_modules/core-js/modules/_string-html.js")("bold",function(e){return function(){return e(this,"b","","")}})},"./node_modules/core-js/modules/es6.string.code-point-at.js":function(e,t,n){"use strict";var o=n("./node_modules/core-js/modules/_export.js"),r=n("./node_modules/core-js/modules/_string-at.js")(!1);o(o.P,"String",{codePointAt:function(e){return r(this,e)}})},"./node_modules/core-js/modules/es6.string.ends-with.js":function(e,t,n){"use strict";var o=n("./node_modules/core-js/modules/_export.js"),r=n("./node_modules/core-js/modules/_to-length.js"),s=n("./node_modules/core-js/modules/_string-context.js"),i="".endsWith;o(o.P+o.F*n("./node_modules/core-js/modules/_fails-is-regexp.js")("endsWith"),"String",{endsWith:function(e){var t=s(this,e,"endsWith"),n=arguments.length>1?arguments[1]:void 0,o=r(t.length),a=void 0===n?o:Math.min(r(n),o),u=String(e);return i?i.call(t,u,a):t.slice(a-u.length,a)===u}})},"./node_modules/core-js/modules/es6.string.fixed.js":function(e,t,n){"use strict";n("./node_modules/core-js/modules/_string-html.js")("fixed",function(e){return function(){return e(this,"tt","","")}})},"./node_modules/core-js/modules/es6.string.fontcolor.js":function(e,t,n){"use strict";n("./node_modules/core-js/modules/_string-html.js")("fontcolor",function(e){return function(t){return e(this,"font","color",t)}})},"./node_modules/core-js/modules/es6.string.fontsize.js":function(e,t,n){"use strict";n("./node_modules/core-js/modules/_string-html.js")("fontsize",function(e){return function(t){return e(this,"font","size",t)}})},"./node_modules/core-js/modules/es6.string.from-code-point.js":function(e,t,n){var o=n("./node_modules/core-js/modules/_export.js"),r=n("./node_modules/core-js/modules/_to-absolute-index.js"),s=String.fromCharCode,i=String.fromCodePoint;o(o.S+o.F*(!!i&&1!=i.length),"String",{fromCodePoint:function(e){for(var t,n=[],o=arguments.length,i=0;o>i;){if(t=+arguments[i++],r(t,1114111)!==t)throw RangeError(t+" is not a valid code point");n.push(t<65536?s(t):s(55296+((t-=65536)>>10),t%1024+56320))}return n.join("")}})},"./node_modules/core-js/modules/es6.string.includes.js":function(e,t,n){"use strict";var o=n("./node_modules/core-js/modules/_export.js"),r=n("./node_modules/core-js/modules/_string-context.js");o(o.P+o.F*n("./node_modules/core-js/modules/_fails-is-regexp.js")("includes"),"String",{includes:function(e){return!!~r(this,e,"includes").indexOf(e,arguments.length>1?arguments[1]:void 0)}})},"./node_modules/core-js/modules/es6.string.italics.js":function(e,t,n){"use strict";n("./node_modules/core-js/modules/_string-html.js")("italics",function(e){return function(){return e(this,"i","","")}})},"./node_modules/core-js/modules/es6.string.iterator.js":function(e,t,n){"use strict";var o=n("./node_modules/core-js/modules/_string-at.js")(!0);n("./node_modules/core-js/modules/_iter-define.js")(String,"String",function(e){this._t=String(e),this._i=0},function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=o(t,n),this._i+=e.length,{value:e,done:!1})})},"./node_modules/core-js/modules/es6.string.link.js":function(e,t,n){"use strict";n("./node_modules/core-js/modules/_string-html.js")("link",function(e){return function(t){return e(this,"a","href",t)}})},"./node_modules/core-js/modules/es6.string.raw.js":function(e,t,n){var o=n("./node_modules/core-js/modules/_export.js"),r=n("./node_modules/core-js/modules/_to-iobject.js"),s=n("./node_modules/core-js/modules/_to-length.js");o(o.S,"String",{raw:function(e){for(var t=r(e.raw),n=s(t.length),o=arguments.length,i=[],a=0;n>a;)i.push(String(t[a++])),a<o&&i.push(String(arguments[a]));return i.join("")}})},"./node_modules/core-js/modules/es6.string.repeat.js":function(e,t,n){var o=n("./node_modules/core-js/modules/_export.js");o(o.P,"String",{repeat:n("./node_modules/core-js/modules/_string-repeat.js")})},"./node_modules/core-js/modules/es6.string.small.js":function(e,t,n){"use strict";n("./node_modules/core-js/modules/_string-html.js")("small",function(e){return function(){return e(this,"small","","")}})},"./node_modules/core-js/modules/es6.string.starts-with.js":function(e,t,n){"use strict";var o=n("./node_modules/core-js/modules/_export.js"),r=n("./node_modules/core-js/modules/_to-length.js"),s=n("./node_modules/core-js/modules/_string-context.js"),i="".startsWith;o(o.P+o.F*n("./node_modules/core-js/modules/_fails-is-regexp.js")("startsWith"),"String",{startsWith:function(e){var t=s(this,e,"startsWith"),n=r(Math.min(arguments.length>1?arguments[1]:void 0,t.length)),o=String(e);return i?i.call(t,o,n):t.slice(n,n+o.length)===o}})},"./node_modules/core-js/modules/es6.string.strike.js":function(e,t,n){"use strict";n("./node_modules/core-js/modules/_string-html.js")("strike",function(e){return function(){return e(this,"strike","","")}})},"./node_modules/core-js/modules/es6.string.sub.js":function(e,t,n){"use strict";n("./node_modules/core-js/modules/_string-html.js")("sub",function(e){return function(){return e(this,"sub","","")}})},"./node_modules/core-js/modules/es6.string.sup.js":function(e,t,n){"use strict";n("./node_modules/core-js/modules/_string-html.js")("sup",function(e){return function(){return e(this,"sup","","")}})},"./node_modules/core-js/modules/es6.string.trim.js":function(e,t,n){"use strict";n("./node_modules/core-js/modules/_string-trim.js")("trim",function(e){return function(){return e(this,3)}})},"./node_modules/core-js/modules/es6.symbol.js":function(e,t,n){"use strict";var o=n("./node_modules/core-js/modules/_global.js"),r=n("./node_modules/core-js/modules/_has.js"),s=n("./node_modules/core-js/modules/_descriptors.js"),i=n("./node_modules/core-js/modules/_export.js"),a=n("./node_modules/core-js/modules/_redefine.js"),u=n("./node_modules/core-js/modules/_meta.js").KEY,c=n("./node_modules/core-js/modules/_fails.js"),l=n("./node_modules/core-js/modules/_shared.js"),d=n("./node_modules/core-js/modules/_set-to-string-tag.js"),f=n("./node_modules/core-js/modules/_uid.js"),p=n("./node_modules/core-js/modules/_wks.js"),m=n("./node_modules/core-js/modules/_wks-ext.js"),h=n("./node_modules/core-js/modules/_wks-define.js"),v=n("./node_modules/core-js/modules/_enum-keys.js"),j=n("./node_modules/core-js/modules/_is-array.js"),y=n("./node_modules/core-js/modules/_an-object.js"),_=n("./node_modules/core-js/modules/_is-object.js"),g=n("./node_modules/core-js/modules/_to-iobject.js"),b=n("./node_modules/core-js/modules/_to-primitive.js"),w=n("./node_modules/core-js/modules/_property-desc.js"),x=n("./node_modules/core-js/modules/_object-create.js"),k=n("./node_modules/core-js/modules/_object-gopn-ext.js"),S=n("./node_modules/core-js/modules/_object-gopd.js"),O=n("./node_modules/core-js/modules/_object-dp.js"),C=n("./node_modules/core-js/modules/_object-keys.js"),M=S.f,A=O.f,T=k.f,E=o.Symbol,N=o.JSON,P=N&&N.stringify,I=p("_hidden"),D=p("toPrimitive"),R={}.propertyIsEnumerable,$=l("symbol-registry"),F=l("symbols"),L=l("op-symbols"),z=Object.prototype,B="function"==typeof E,V=o.QObject,W=!V||!V.prototype||!V.prototype.findChild,J=s&&c(function(){return 7!=x(A({},"a",{get:function(){return A(this,"a",{value:7}).a}})).a})?function(e,t,n){var o=M(z,t);o&&delete z[t],A(e,t,n),o&&e!==z&&A(z,t,o)}:A,U=function(e){var t=F[e]=x(E.prototype);return t._k=e,t},K=B&&"symbol"==typeof E.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof E},H=function(e,t,n){return e===z&&H(L,t,n),y(e),t=b(t,!0),y(n),r(F,t)?(n.enumerable?(r(e,I)&&e[I][t]&&(e[I][t]=!1),n=x(n,{enumerable:w(0,!1)})):(r(e,I)||A(e,I,w(1,{})),e[I][t]=!0),J(e,t,n)):A(e,t,n)},q=function(e,t){y(e);for(var n,o=v(t=g(t)),r=0,s=o.length;s>r;)H(e,n=o[r++],t[n]);return e},G=function(e){var t=R.call(this,e=b(e,!0));return!(this===z&&r(F,e)&&!r(L,e))&&(!(t||!r(this,e)||!r(F,e)||r(this,I)&&this[I][e])||t)},X=function(e,t){if(e=g(e),t=b(t,!0),e!==z||!r(F,t)||r(L,t)){var n=M(e,t);return!n||!r(F,t)||r(e,I)&&e[I][t]||(n.enumerable=!0),n}},Y=function(e){for(var t,n=T(g(e)),o=[],s=0;n.length>s;)r(F,t=n[s++])||t==I||t==u||o.push(t);return o},Q=function(e){for(var t,n=e===z,o=T(n?L:g(e)),s=[],i=0;o.length>i;)!r(F,t=o[i++])||n&&!r(z,t)||s.push(F[t]);return s};B||(a((E=function(){if(this instanceof E)throw TypeError("Symbol is not a constructor!");var e=f(arguments.length>0?arguments[0]:void 0),t=function(n){this===z&&t.call(L,n),r(this,I)&&r(this[I],e)&&(this[I][e]=!1),J(this,e,w(1,n))};return s&&W&&J(z,e,{configurable:!0,set:t}),U(e)}).prototype,"toString",function(){return this._k}),S.f=X,O.f=H,n("./node_modules/core-js/modules/_object-gopn.js").f=k.f=Y,n("./node_modules/core-js/modules/_object-pie.js").f=G,n("./node_modules/core-js/modules/_object-gops.js").f=Q,s&&!n("./node_modules/core-js/modules/_library.js")&&a(z,"propertyIsEnumerable",G,!0),m.f=function(e){return U(p(e))}),i(i.G+i.W+i.F*!B,{Symbol:E});for(var Z="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),ee=0;Z.length>ee;)p(Z[ee++]);for(var te=C(p.store),ne=0;te.length>ne;)h(te[ne++]);i(i.S+i.F*!B,"Symbol",{for:function(e){return r($,e+="")?$[e]:$[e]=E(e)},keyFor:function(e){if(!K(e))throw TypeError(e+" is not a symbol!");for(var t in $)if($[t]===e)return t},useSetter:function(){W=!0},useSimple:function(){W=!1}}),i(i.S+i.F*!B,"Object",{create:function(e,t){return void 0===t?x(e):q(x(e),t)},defineProperty:H,defineProperties:q,getOwnPropertyDescriptor:X,getOwnPropertyNames:Y,getOwnPropertySymbols:Q}),N&&i(i.S+i.F*(!B||c(function(){var e=E();return"[null]"!=P([e])||"{}"!=P({a:e})||"{}"!=P(Object(e))})),"JSON",{stringify:function(e){for(var t,n,o=[e],r=1;arguments.length>r;)o.push(arguments[r++]);if(n=t=o[1],(_(t)||void 0!==e)&&!K(e))return j(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!K(t))return t}),o[1]=t,P.apply(N,o)}}),E.prototype[D]||n("./node_modules/core-js/modules/_hide.js")(E.prototype,D,E.prototype.valueOf),d(E,"Symbol"),d(Math,"Math",!0),d(o.JSON,"JSON",!0)},"./node_modules/core-js/modules/es6.typed.array-buffer.js":function(e,t,n){"use strict";var o=n("./node_modules/core-js/modules/_export.js"),r=n("./node_modules/core-js/modules/_typed.js"),s=n("./node_modules/core-js/modules/_typed-buffer.js"),i=n("./node_modules/core-js/modules/_an-object.js"),a=n("./node_modules/core-js/modules/_to-absolute-index.js"),u=n("./node_modules/core-js/modules/_to-length.js"),c=n("./node_modules/core-js/modules/_is-object.js"),l=n("./node_modules/core-js/modules/_global.js").ArrayBuffer,d=n("./node_modules/core-js/modules/_species-constructor.js"),f=s.ArrayBuffer,p=s.DataView,m=r.ABV&&l.isView,h=f.prototype.slice,v=r.VIEW;o(o.G+o.W+o.F*(l!==f),{ArrayBuffer:f}),o(o.S+o.F*!r.CONSTR,"ArrayBuffer",{isView:function(e){return m&&m(e)||c(e)&&v in e}}),o(o.P+o.U+o.F*n("./node_modules/core-js/modules/_fails.js")(function(){return!new f(2).slice(1,void 0).byteLength}),"ArrayBuffer",{slice:function(e,t){if(void 0!==h&&void 0===t)return h.call(i(this),e);for(var n=i(this).byteLength,o=a(e,n),r=a(void 0===t?n:t,n),s=new(d(this,f))(u(r-o)),c=new p(this),l=new p(s),m=0;o<r;)l.setUint8(m++,c.getUint8(o++));return s}}),n("./node_modules/core-js/modules/_set-species.js")("ArrayBuffer")},"./node_modules/core-js/modules/es6.typed.data-view.js":function(e,t,n){var o=n("./node_modules/core-js/modules/_export.js");o(o.G+o.W+o.F*!n("./node_modules/core-js/modules/_typed.js").ABV,{DataView:n("./node_modules/core-js/modules/_typed-buffer.js").DataView})},"./node_modules/core-js/modules/es6.typed.float32-array.js":function(e,t,n){n("./node_modules/core-js/modules/_typed-array.js")("Float32",4,function(e){return function(t,n,o){return e(this,t,n,o)}})},"./node_modules/core-js/modules/es6.typed.float64-array.js":function(e,t,n){n("./node_modules/core-js/modules/_typed-array.js")("Float64",8,function(e){return function(t,n,o){return e(this,t,n,o)}})},"./node_modules/core-js/modules/es6.typed.int16-array.js":function(e,t,n){n("./node_modules/core-js/modules/_typed-array.js")("Int16",2,function(e){return function(t,n,o){return e(this,t,n,o)}})},"./node_modules/core-js/modules/es6.typed.int32-array.js":function(e,t,n){n("./node_modules/core-js/modules/_typed-array.js")("Int32",4,function(e){return function(t,n,o){return e(this,t,n,o)}})},"./node_modules/core-js/modules/es6.typed.int8-array.js":function(e,t,n){n("./node_modules/core-js/modules/_typed-array.js")("Int8",1,function(e){return function(t,n,o){return e(this,t,n,o)}})},"./node_modules/core-js/modules/es6.typed.uint16-array.js":function(e,t,n){n("./node_modules/core-js/modules/_typed-array.js")("Uint16",2,function(e){return function(t,n,o){return e(this,t,n,o)}})},"./node_modules/core-js/modules/es6.typed.uint32-array.js":function(e,t,n){n("./node_modules/core-js/modules/_typed-array.js")("Uint32",4,function(e){return function(t,n,o){return e(this,t,n,o)}})},"./node_modules/core-js/modules/es6.typed.uint8-array.js":function(e,t,n){n("./node_modules/core-js/modules/_typed-array.js")("Uint8",1,function(e){return function(t,n,o){return e(this,t,n,o)}})},"./node_modules/core-js/modules/es6.typed.uint8-clamped-array.js":function(e,t,n){n("./node_modules/core-js/modules/_typed-array.js")("Uint8",1,function(e){return function(t,n,o){return e(this,t,n,o)}},!0)},"./node_modules/core-js/modules/es6.weak-map.js":function(e,t,n){"use strict";var o,r=n("./node_modules/core-js/modules/_array-methods.js")(0),s=n("./node_modules/core-js/modules/_redefine.js"),i=n("./node_modules/core-js/modules/_meta.js"),a=n("./node_modules/core-js/modules/_object-assign.js"),u=n("./node_modules/core-js/modules/_collection-weak.js"),c=n("./node_modules/core-js/modules/_is-object.js"),l=n("./node_modules/core-js/modules/_fails.js"),d=n("./node_modules/core-js/modules/_validate-collection.js"),f=i.getWeak,p=Object.isExtensible,m=u.ufstore,h={},v=function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}},j={get:function(e){if(c(e)){var t=f(e);return!0===t?m(d(this,"WeakMap")).get(e):t?t[this._i]:void 0}},set:function(e,t){return u.def(d(this,"WeakMap"),e,t)}},y=e.exports=n("./node_modules/core-js/modules/_collection.js")("WeakMap",v,j,u,!0,!0);l(function(){return 7!=(new y).set((Object.freeze||Object)(h),7).get(h)})&&(a((o=u.getConstructor(v,"WeakMap")).prototype,j),i.NEED=!0,r(["delete","has","get","set"],function(e){var t=y.prototype,n=t[e];s(t,e,function(t,r){if(c(t)&&!p(t)){this._f||(this._f=new o);var s=this._f[e](t,r);return"set"==e?this:s}return n.call(this,t,r)})}))},"./node_modules/core-js/modules/es6.weak-set.js":function(e,t,n){"use strict";var o=n("./node_modules/core-js/modules/_collection-weak.js"),r=n("./node_modules/core-js/modules/_validate-collection.js");n("./node_modules/core-js/modules/_collection.js")("WeakSet",function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}},{add:function(e){return o.def(r(this,"WeakSet"),e,!0)}},o,!1,!0)},"./node_modules/core-js/modules/es7.array.flat-map.js":function(e,t,n){"use strict";var o=n("./node_modules/core-js/modules/_export.js"),r=n("./node_modules/core-js/modules/_flatten-into-array.js"),s=n("./node_modules/core-js/modules/_to-object.js"),i=n("./node_modules/core-js/modules/_to-length.js"),a=n("./node_modules/core-js/modules/_a-function.js"),u=n("./node_modules/core-js/modules/_array-species-create.js");o(o.P,"Array",{flatMap:function(e){var t,n,o=s(this);return a(e),t=i(o.length),n=u(o,0),r(n,o,o,t,0,1,e,arguments[1]),n}}),n("./node_modules/core-js/modules/_add-to-unscopables.js")("flatMap")},"./node_modules/core-js/modules/es7.array.flatten.js":function(e,t,n){"use strict";var o=n("./node_modules/core-js/modules/_export.js"),r=n("./node_modules/core-js/modules/_flatten-into-array.js"),s=n("./node_modules/core-js/modules/_to-object.js"),i=n("./node_modules/core-js/modules/_to-length.js"),a=n("./node_modules/core-js/modules/_to-integer.js"),u=n("./node_modules/core-js/modules/_array-species-create.js");o(o.P,"Array",{flatten:function(){var e=arguments[0],t=s(this),n=i(t.length),o=u(t,0);return r(o,t,t,n,0,void 0===e?1:a(e)),o}}),n("./node_modules/core-js/modules/_add-to-unscopables.js")("flatten")},"./node_modules/core-js/modules/es7.array.includes.js":function(e,t,n){"use strict";var o=n("./node_modules/core-js/modules/_export.js"),r=n("./node_modules/core-js/modules/_array-includes.js")(!0);o(o.P,"Array",{includes:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}}),n("./node_modules/core-js/modules/_add-to-unscopables.js")("includes")},"./node_modules/core-js/modules/es7.asap.js":function(e,t,n){var o=n("./node_modules/core-js/modules/_export.js"),r=n("./node_modules/core-js/modules/_microtask.js")(),s=n("./node_modules/core-js/modules/_global.js").process,i="process"==n("./node_modules/core-js/modules/_cof.js")(s);o(o.G,{asap:function(e){var t=i&&s.domain;r(t?t.bind(e):e)}})},"./node_modules/core-js/modules/es7.error.is-error.js":function(e,t,n){var o=n("./node_modules/core-js/modules/_export.js"),r=n("./node_modules/core-js/modules/_cof.js");o(o.S,"Error",{isError:function(e){return"Error"===r(e)}})},"./node_modules/core-js/modules/es7.global.js":function(e,t,n){var o=n("./node_modules/core-js/modules/_export.js");o(o.G,{global:n("./node_modules/core-js/modules/_global.js")})},"./node_modules/core-js/modules/es7.map.from.js":function(e,t,n){n("./node_modules/core-js/modules/_set-collection-from.js")("Map")},"./node_modules/core-js/modules/es7.map.of.js":function(e,t,n){n("./node_modules/core-js/modules/_set-collection-of.js")("Map")},"./node_modules/core-js/modules/es7.map.to-json.js":function(e,t,n){var o=n("./node_modules/core-js/modules/_export.js");o(o.P+o.R,"Map",{toJSON:n("./node_modules/core-js/modules/_collection-to-json.js")("Map")})},"./node_modules/core-js/modules/es7.math.clamp.js":function(e,t,n){var o=n("./node_modules/core-js/modules/_export.js");o(o.S,"Math",{clamp:function(e,t,n){return Math.min(n,Math.max(t,e))}})},"./node_modules/core-js/modules/es7.math.deg-per-rad.js":function(e,t,n){var o=n("./node_modules/core-js/modules/_export.js");o(o.S,"Math",{DEG_PER_RAD:Math.PI/180})},"./node_modules/core-js/modules/es7.math.degrees.js":function(e,t,n){var o=n("./node_modules/core-js/modules/_export.js"),r=180/Math.PI;o(o.S,"Math",{degrees:function(e){return e*r}})},"./node_modules/core-js/modules/es7.math.fscale.js":function(e,t,n){var o=n("./node_modules/core-js/modules/_export.js"),r=n("./node_modules/core-js/modules/_math-scale.js"),s=n("./node_modules/core-js/modules/_math-fround.js");o(o.S,"Math",{fscale:function(e,t,n,o,i){return s(r(e,t,n,o,i))}})},"./node_modules/core-js/modules/es7.math.iaddh.js":function(e,t,n){var o=n("./node_modules/core-js/modules/_export.js");o(o.S,"Math",{iaddh:function(e,t,n,o){var r=e>>>0,s=n>>>0;return(t>>>0)+(o>>>0)+((r&s|(r|s)&~(r+s>>>0))>>>31)|0}})},"./node_modules/core-js/modules/es7.math.imulh.js":function(e,t,n){var o=n("./node_modules/core-js/modules/_export.js");o(o.S,"Math",{imulh:function(e,t){var n=+e,o=+t,r=65535&n,s=65535&o,i=n>>16,a=o>>16,u=(i*s>>>0)+(r*s>>>16);return i*a+(u>>16)+((r*a>>>0)+(65535&u)>>16)}})},"./node_modules/core-js/modules/es7.math.isubh.js":function(e,t,n){var o=n("./node_modules/core-js/modules/_export.js");o(o.S,"Math",{isubh:function(e,t,n,o){var r=e>>>0,s=n>>>0;return(t>>>0)-(o>>>0)-((~r&s|~(r^s)&r-s>>>0)>>>31)|0}})},"./node_modules/core-js/modules/es7.math.rad-per-deg.js":function(e,t,n){var o=n("./node_modules/core-js/modules/_export.js");o(o.S,"Math",{RAD_PER_DEG:180/Math.PI})},"./node_modules/core-js/modules/es7.math.radians.js":function(e,t,n){var o=n("./node_modules/core-js/modules/_export.js"),r=Math.PI/180;o(o.S,"Math",{radians:function(e){return e*r}})},"./node_modules/core-js/modules/es7.math.scale.js":function(e,t,n){var o=n("./node_modules/core-js/modules/_export.js");o(o.S,"Math",{scale:n("./node_modules/core-js/modules/_math-scale.js")})},"./node_modules/core-js/modules/es7.math.signbit.js":function(e,t,n){var o=n("./node_modules/core-js/modules/_export.js");o(o.S,"Math",{signbit:function(e){return(e=+e)!=e?e:0==e?1/e==1/0:e>0}})},"./node_modules/core-js/modules/es7.math.umulh.js":function(e,t,n){var o=n("./node_modules/core-js/modules/_export.js");o(o.S,"Math",{umulh:function(e,t){var n=+e,o=+t,r=65535&n,s=65535&o,i=n>>>16,a=o>>>16,u=(i*s>>>0)+(r*s>>>16);return i*a+(u>>>16)+((r*a>>>0)+(65535&u)>>>16)}})},"./node_modules/core-js/modules/es7.object.define-getter.js":function(e,t,n){"use strict";var o=n("./node_modules/core-js/modules/_export.js"),r=n("./node_modules/core-js/modules/_to-object.js"),s=n("./node_modules/core-js/modules/_a-function.js"),i=n("./node_modules/core-js/modules/_object-dp.js");n("./node_modules/core-js/modules/_descriptors.js")&&o(o.P+n("./node_modules/core-js/modules/_object-forced-pam.js"),"Object",{__defineGetter__:function(e,t){i.f(r(this),e,{get:s(t),enumerable:!0,configurable:!0})}})},"./node_modules/core-js/modules/es7.object.define-setter.js":function(e,t,n){"use strict";var o=n("./node_modules/core-js/modules/_export.js"),r=n("./node_modules/core-js/modules/_to-object.js"),s=n("./node_modules/core-js/modules/_a-function.js"),i=n("./node_modules/core-js/modules/_object-dp.js");n("./node_modules/core-js/modules/_descriptors.js")&&o(o.P+n("./node_modules/core-js/modules/_object-forced-pam.js"),"Object",{__defineSetter__:function(e,t){i.f(r(this),e,{set:s(t),enumerable:!0,configurable:!0})}})},"./node_modules/core-js/modules/es7.object.entries.js":function(e,t,n){var o=n("./node_modules/core-js/modules/_export.js"),r=n("./node_modules/core-js/modules/_object-to-array.js")(!0);o(o.S,"Object",{entries:function(e){return r(e)}})},"./node_modules/core-js/modules/es7.object.get-own-property-descriptors.js":function(e,t,n){var o=n("./node_modules/core-js/modules/_export.js"),r=n("./node_modules/core-js/modules/_own-keys.js"),s=n("./node_modules/core-js/modules/_to-iobject.js"),i=n("./node_modules/core-js/modules/_object-gopd.js"),a=n("./node_modules/core-js/modules/_create-property.js");o(o.S,"Object",{getOwnPropertyDescriptors:function(e){for(var t,n,o=s(e),u=i.f,c=r(o),l={},d=0;c.length>d;)void 0!==(n=u(o,t=c[d++]))&&a(l,t,n);return l}})},"./node_modules/core-js/modules/es7.object.lookup-getter.js":function(e,t,n){"use strict";var o=n("./node_modules/core-js/modules/_export.js"),r=n("./node_modules/core-js/modules/_to-object.js"),s=n("./node_modules/core-js/modules/_to-primitive.js"),i=n("./node_modules/core-js/modules/_object-gpo.js"),a=n("./node_modules/core-js/modules/_object-gopd.js").f;n("./node_modules/core-js/modules/_descriptors.js")&&o(o.P+n("./node_modules/core-js/modules/_object-forced-pam.js"),"Object",{__lookupGetter__:function(e){var t,n=r(this),o=s(e,!0);do{if(t=a(n,o))return t.get}while(n=i(n))}})},"./node_modules/core-js/modules/es7.object.lookup-setter.js":function(e,t,n){"use strict";var o=n("./node_modules/core-js/modules/_export.js"),r=n("./node_modules/core-js/modules/_to-object.js"),s=n("./node_modules/core-js/modules/_to-primitive.js"),i=n("./node_modules/core-js/modules/_object-gpo.js"),a=n("./node_modules/core-js/modules/_object-gopd.js").f;n("./node_modules/core-js/modules/_descriptors.js")&&o(o.P+n("./node_modules/core-js/modules/_object-forced-pam.js"),"Object",{__lookupSetter__:function(e){var t,n=r(this),o=s(e,!0);do{if(t=a(n,o))return t.set}while(n=i(n))}})},"./node_modules/core-js/modules/es7.object.values.js":function(e,t,n){var o=n("./node_modules/core-js/modules/_export.js"),r=n("./node_modules/core-js/modules/_object-to-array.js")(!1);o(o.S,"Object",{values:function(e){return r(e)}})},"./node_modules/core-js/modules/es7.observable.js":function(e,t,n){"use strict";var o=n("./node_modules/core-js/modules/_export.js"),r=n("./node_modules/core-js/modules/_global.js"),s=n("./node_modules/core-js/modules/_core.js"),i=n("./node_modules/core-js/modules/_microtask.js")(),a=n("./node_modules/core-js/modules/_wks.js")("observable"),u=n("./node_modules/core-js/modules/_a-function.js"),c=n("./node_modules/core-js/modules/_an-object.js"),l=n("./node_modules/core-js/modules/_an-instance.js"),d=n("./node_modules/core-js/modules/_redefine-all.js"),f=n("./node_modules/core-js/modules/_hide.js"),p=n("./node_modules/core-js/modules/_for-of.js"),m=p.RETURN,h=function(e){return null==e?void 0:u(e)},v=function(e){var t=e._c;t&&(e._c=void 0,t())},j=function(e){return void 0===e._o},y=function(e){j(e)||(e._o=void 0,v(e))},_=function(e,t){c(e),this._c=void 0,this._o=e,e=new g(this);try{var n=t(e),o=n;null!=n&&("function"==typeof n.unsubscribe?n=function(){o.unsubscribe()}:u(n),this._c=n)}catch(t){return void e.error(t)}j(this)&&v(this)};_.prototype=d({},{unsubscribe:function(){y(this)}});var g=function(e){this._s=e};g.prototype=d({},{next:function(e){var t=this._s;if(!j(t)){var n=t._o;try{var o=h(n.next);if(o)return o.call(n,e)}catch(e){try{y(t)}finally{throw e}}}},error:function(e){var t=this._s;if(j(t))throw e;var n=t._o;t._o=void 0;try{var o=h(n.error);if(!o)throw e;e=o.call(n,e)}catch(e){try{v(t)}finally{throw e}}return v(t),e},complete:function(e){var t=this._s;if(!j(t)){var n=t._o;t._o=void 0;try{var o=h(n.complete);e=o?o.call(n,e):void 0}catch(e){try{v(t)}finally{throw e}}return v(t),e}}});var b=function(e){l(this,b,"Observable","_f")._f=u(e)};d(b.prototype,{subscribe:function(e){return new _(e,this._f)},forEach:function(e){var t=this;return new(s.Promise||r.Promise)(function(n,o){u(e);var r=t.subscribe({next:function(t){try{return e(t)}catch(e){o(e),r.unsubscribe()}},error:o,complete:n})})}}),d(b,{from:function(e){var t="function"==typeof this?this:b,n=h(c(e)[a]);if(n){var o=c(n.call(e));return o.constructor===t?o:new t(function(e){return o.subscribe(e)})}return new t(function(t){var n=!1;return i(function(){if(!n){try{if(p(e,!1,function(e){if(t.next(e),n)return m})===m)return}catch(e){if(n)throw e;return void t.error(e)}t.complete()}}),function(){n=!0}})},of:function(){for(var e=0,t=arguments.length,n=new Array(t);e<t;)n[e]=arguments[e++];return new("function"==typeof this?this:b)(function(e){var t=!1;return i(function(){if(!t){for(var o=0;o<n.length;++o)if(e.next(n[o]),t)return;e.complete()}}),function(){t=!0}})}}),f(b.prototype,a,function(){return this}),o(o.G,{Observable:b}),n("./node_modules/core-js/modules/_set-species.js")("Observable")},"./node_modules/core-js/modules/es7.promise.finally.js":function(e,t,n){"use strict";var o=n("./node_modules/core-js/modules/_export.js"),r=n("./node_modules/core-js/modules/_core.js"),s=n("./node_modules/core-js/modules/_global.js"),i=n("./node_modules/core-js/modules/_species-constructor.js"),a=n("./node_modules/core-js/modules/_promise-resolve.js");o(o.P+o.R,"Promise",{finally:function(e){var t=i(this,r.Promise||s.Promise),n="function"==typeof e;return this.then(n?function(n){return a(t,e()).then(function(){return n})}:e,n?function(n){return a(t,e()).then(function(){throw n})}:e)}})},"./node_modules/core-js/modules/es7.promise.try.js":function(e,t,n){"use strict";var o=n("./node_modules/core-js/modules/_export.js"),r=n("./node_modules/core-js/modules/_new-promise-capability.js"),s=n("./node_modules/core-js/modules/_perform.js");o(o.S,"Promise",{try:function(e){var t=r.f(this),n=s(e);return(n.e?t.reject:t.resolve)(n.v),t.promise}})},"./node_modules/core-js/modules/es7.reflect.define-metadata.js":function(e,t,n){var o=n("./node_modules/core-js/modules/_metadata.js"),r=n("./node_modules/core-js/modules/_an-object.js"),s=o.key,i=o.set;o.exp({defineMetadata:function(e,t,n,o){i(e,t,r(n),s(o))}})},"./node_modules/core-js/modules/es7.reflect.delete-metadata.js":function(e,t,n){var o=n("./node_modules/core-js/modules/_metadata.js"),r=n("./node_modules/core-js/modules/_an-object.js"),s=o.key,i=o.map,a=o.store;o.exp({deleteMetadata:function(e,t){var n=arguments.length<3?void 0:s(arguments[2]),o=i(r(t),n,!1);if(void 0===o||!o.delete(e))return!1;if(o.size)return!0;var u=a.get(t);return u.delete(n),!!u.size||a.delete(t)}})},"./node_modules/core-js/modules/es7.reflect.get-metadata-keys.js":function(e,t,n){var o=n("./node_modules/core-js/modules/es6.set.js"),r=n("./node_modules/core-js/modules/_array-from-iterable.js"),s=n("./node_modules/core-js/modules/_metadata.js"),i=n("./node_modules/core-js/modules/_an-object.js"),a=n("./node_modules/core-js/modules/_object-gpo.js"),u=s.keys,c=s.key,l=function(e,t){var n=u(e,t),s=a(e);if(null===s)return n;var i=l(s,t);return i.length?n.length?r(new o(n.concat(i))):i:n};s.exp({getMetadataKeys:function(e){return l(i(e),arguments.length<2?void 0:c(arguments[1]))}})},"./node_modules/core-js/modules/es7.reflect.get-metadata.js":function(e,t,n){var o=n("./node_modules/core-js/modules/_metadata.js"),r=n("./node_modules/core-js/modules/_an-object.js"),s=n("./node_modules/core-js/modules/_object-gpo.js"),i=o.has,a=o.get,u=o.key,c=function(e,t,n){if(i(e,t,n))return a(e,t,n);var o=s(t);return null!==o?c(e,o,n):void 0};o.exp({getMetadata:function(e,t){return c(e,r(t),arguments.length<3?void 0:u(arguments[2]))}})},"./node_modules/core-js/modules/es7.reflect.get-own-metadata-keys.js":function(e,t,n){var o=n("./node_modules/core-js/modules/_metadata.js"),r=n("./node_modules/core-js/modules/_an-object.js"),s=o.keys,i=o.key;o.exp({getOwnMetadataKeys:function(e){return s(r(e),arguments.length<2?void 0:i(arguments[1]))}})},"./node_modules/core-js/modules/es7.reflect.get-own-metadata.js":function(e,t,n){var o=n("./node_modules/core-js/modules/_metadata.js"),r=n("./node_modules/core-js/modules/_an-object.js"),s=o.get,i=o.key;o.exp({getOwnMetadata:function(e,t){return s(e,r(t),arguments.length<3?void 0:i(arguments[2]))}})},"./node_modules/core-js/modules/es7.reflect.has-metadata.js":function(e,t,n){var o=n("./node_modules/core-js/modules/_metadata.js"),r=n("./node_modules/core-js/modules/_an-object.js"),s=n("./node_modules/core-js/modules/_object-gpo.js"),i=o.has,a=o.key,u=function(e,t,n){if(i(e,t,n))return!0;var o=s(t);return null!==o&&u(e,o,n)};o.exp({hasMetadata:function(e,t){return u(e,r(t),arguments.length<3?void 0:a(arguments[2]))}})},"./node_modules/core-js/modules/es7.reflect.has-own-metadata.js":function(e,t,n){var o=n("./node_modules/core-js/modules/_metadata.js"),r=n("./node_modules/core-js/modules/_an-object.js"),s=o.has,i=o.key;o.exp({hasOwnMetadata:function(e,t){return s(e,r(t),arguments.length<3?void 0:i(arguments[2]))}})},"./node_modules/core-js/modules/es7.reflect.metadata.js":function(e,t,n){var o=n("./node_modules/core-js/modules/_metadata.js"),r=n("./node_modules/core-js/modules/_an-object.js"),s=n("./node_modules/core-js/modules/_a-function.js"),i=o.key,a=o.set;o.exp({metadata:function(e,t){return function(n,o){a(e,t,(void 0!==o?r:s)(n),i(o))}}})},"./node_modules/core-js/modules/es7.set.from.js":function(e,t,n){n("./node_modules/core-js/modules/_set-collection-from.js")("Set")},"./node_modules/core-js/modules/es7.set.of.js":function(e,t,n){n("./node_modules/core-js/modules/_set-collection-of.js")("Set")},"./node_modules/core-js/modules/es7.set.to-json.js":function(e,t,n){var o=n("./node_modules/core-js/modules/_export.js");o(o.P+o.R,"Set",{toJSON:n("./node_modules/core-js/modules/_collection-to-json.js")("Set")})},"./node_modules/core-js/modules/es7.string.at.js":function(e,t,n){"use strict";var o=n("./node_modules/core-js/modules/_export.js"),r=n("./node_modules/core-js/modules/_string-at.js")(!0);o(o.P,"String",{at:function(e){return r(this,e)}})},"./node_modules/core-js/modules/es7.string.match-all.js":function(e,t,n){"use strict";var o=n("./node_modules/core-js/modules/_export.js"),r=n("./node_modules/core-js/modules/_defined.js"),s=n("./node_modules/core-js/modules/_to-length.js"),i=n("./node_modules/core-js/modules/_is-regexp.js"),a=n("./node_modules/core-js/modules/_flags.js"),u=RegExp.prototype,c=function(e,t){this._r=e,this._s=t};n("./node_modules/core-js/modules/_iter-create.js")(c,"RegExp String",function(){var e=this._r.exec(this._s);return{value:e,done:null===e}}),o(o.P,"String",{matchAll:function(e){if(r(this),!i(e))throw TypeError(e+" is not a regexp!");var t=String(this),n="flags"in u?String(e.flags):a.call(e),o=new RegExp(e.source,~n.indexOf("g")?n:"g"+n);return o.lastIndex=s(e.lastIndex),new c(o,t)}})},"./node_modules/core-js/modules/es7.string.pad-end.js":function(e,t,n){"use strict";var o=n("./node_modules/core-js/modules/_export.js"),r=n("./node_modules/core-js/modules/_string-pad.js"),s=n("./node_modules/core-js/modules/_user-agent.js");o(o.P+o.F*/Version\/10\.\d+(\.\d+)? Safari\//.test(s),"String",{padEnd:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0,!1)}})},"./node_modules/core-js/modules/es7.string.pad-start.js":function(e,t,n){"use strict";var o=n("./node_modules/core-js/modules/_export.js"),r=n("./node_modules/core-js/modules/_string-pad.js"),s=n("./node_modules/core-js/modules/_user-agent.js");o(o.P+o.F*/Version\/10\.\d+(\.\d+)? Safari\//.test(s),"String",{padStart:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0,!0)}})},"./node_modules/core-js/modules/es7.string.trim-left.js":function(e,t,n){"use strict";n("./node_modules/core-js/modules/_string-trim.js")("trimLeft",function(e){return function(){return e(this,1)}},"trimStart")},"./node_modules/core-js/modules/es7.string.trim-right.js":function(e,t,n){"use strict";n("./node_modules/core-js/modules/_string-trim.js")("trimRight",function(e){return function(){return e(this,2)}},"trimEnd")},"./node_modules/core-js/modules/es7.symbol.async-iterator.js":function(e,t,n){n("./node_modules/core-js/modules/_wks-define.js")("asyncIterator")},"./node_modules/core-js/modules/es7.symbol.observable.js":function(e,t,n){n("./node_modules/core-js/modules/_wks-define.js")("observable")},"./node_modules/core-js/modules/es7.system.global.js":function(e,t,n){var o=n("./node_modules/core-js/modules/_export.js");o(o.S,"System",{global:n("./node_modules/core-js/modules/_global.js")})},"./node_modules/core-js/modules/es7.weak-map.from.js":function(e,t,n){n("./node_modules/core-js/modules/_set-collection-from.js")("WeakMap")},"./node_modules/core-js/modules/es7.weak-map.of.js":function(e,t,n){n("./node_modules/core-js/modules/_set-collection-of.js")("WeakMap")},"./node_modules/core-js/modules/es7.weak-set.from.js":function(e,t,n){n("./node_modules/core-js/modules/_set-collection-from.js")("WeakSet")},"./node_modules/core-js/modules/es7.weak-set.of.js":function(e,t,n){n("./node_modules/core-js/modules/_set-collection-of.js")("WeakSet")},"./node_modules/core-js/modules/web.dom.iterable.js":function(e,t,n){for(var o=n("./node_modules/core-js/modules/es6.array.iterator.js"),r=n("./node_modules/core-js/modules/_object-keys.js"),s=n("./node_modules/core-js/modules/_redefine.js"),i=n("./node_modules/core-js/modules/_global.js"),a=n("./node_modules/core-js/modules/_hide.js"),u=n("./node_modules/core-js/modules/_iterators.js"),c=n("./node_modules/core-js/modules/_wks.js"),l=c("iterator"),d=c("toStringTag"),f=u.Array,p={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},m=r(p),h=0;h<m.length;h++){var v,j=m[h],y=p[j],_=i[j],g=_&&_.prototype;if(g&&(g[l]||a(g,l,f),g[d]||a(g,d,j),u[j]=f,y))for(v in o)g[v]||s(g,v,o[v],!0)}},"./node_modules/core-js/modules/web.immediate.js":function(e,t,n){var o=n("./node_modules/core-js/modules/_export.js"),r=n("./node_modules/core-js/modules/_task.js");o(o.G+o.B,{setImmediate:r.set,clearImmediate:r.clear})},"./node_modules/core-js/modules/web.timers.js":function(e,t,n){var o=n("./node_modules/core-js/modules/_global.js"),r=n("./node_modules/core-js/modules/_export.js"),s=n("./node_modules/core-js/modules/_user-agent.js"),i=[].slice,a=/MSIE .\./.test(s),u=function(e){return function(t,n){var o=arguments.length>2,r=!!o&&i.call(arguments,2);return e(o?function(){("function"==typeof t?t:Function(t)).apply(this,r)}:t,n)}};r(r.G+r.B+r.F*a,{setTimeout:u(o.setTimeout),setInterval:u(o.setInterval)})},"./node_modules/core-js/shim.js":function(e,t,n){n("./node_modules/core-js/modules/es6.symbol.js"),n("./node_modules/core-js/modules/es6.object.create.js"),n("./node_modules/core-js/modules/es6.object.define-property.js"),n("./node_modules/core-js/modules/es6.object.define-properties.js"),n("./node_modules/core-js/modules/es6.object.get-own-property-descriptor.js"),n("./node_modules/core-js/modules/es6.object.get-prototype-of.js"),n("./node_modules/core-js/modules/es6.object.keys.js"),n("./node_modules/core-js/modules/es6.object.get-own-property-names.js"),n("./node_modules/core-js/modules/es6.object.freeze.js"),n("./node_modules/core-js/modules/es6.object.seal.js"),n("./node_modules/core-js/modules/es6.object.prevent-extensions.js"),n("./node_modules/core-js/modules/es6.object.is-frozen.js"),n("./node_modules/core-js/modules/es6.object.is-sealed.js"),n("./node_modules/core-js/modules/es6.object.is-extensible.js"),n("./node_modules/core-js/modules/es6.object.assign.js"),n("./node_modules/core-js/modules/es6.object.is.js"),n("./node_modules/core-js/modules/es6.object.set-prototype-of.js"),n("./node_modules/core-js/modules/es6.object.to-string.js"),n("./node_modules/core-js/modules/es6.function.bind.js"),n("./node_modules/core-js/modules/es6.function.name.js"),n("./node_modules/core-js/modules/es6.function.has-instance.js"),n("./node_modules/core-js/modules/es6.parse-int.js"),n("./node_modules/core-js/modules/es6.parse-float.js"),n("./node_modules/core-js/modules/es6.number.constructor.js"),n("./node_modules/core-js/modules/es6.number.to-fixed.js"),n("./node_modules/core-js/modules/es6.number.to-precision.js"),n("./node_modules/core-js/modules/es6.number.epsilon.js"),n("./node_modules/core-js/modules/es6.number.is-finite.js"),n("./node_modules/core-js/modules/es6.number.is-integer.js"),n("./node_modules/core-js/modules/es6.number.is-nan.js"),n("./node_modules/core-js/modules/es6.number.is-safe-integer.js"),n("./node_modules/core-js/modules/es6.number.max-safe-integer.js"),n("./node_modules/core-js/modules/es6.number.min-safe-integer.js"),n("./node_modules/core-js/modules/es6.number.parse-float.js"),n("./node_modules/core-js/modules/es6.number.parse-int.js"),n("./node_modules/core-js/modules/es6.math.acosh.js"),n("./node_modules/core-js/modules/es6.math.asinh.js"),n("./node_modules/core-js/modules/es6.math.atanh.js"),n("./node_modules/core-js/modules/es6.math.cbrt.js"),n("./node_modules/core-js/modules/es6.math.clz32.js"),n("./node_modules/core-js/modules/es6.math.cosh.js"),n("./node_modules/core-js/modules/es6.math.expm1.js"),n("./node_modules/core-js/modules/es6.math.fround.js"),n("./node_modules/core-js/modules/es6.math.hypot.js"),n("./node_modules/core-js/modules/es6.math.imul.js"),n("./node_modules/core-js/modules/es6.math.log10.js"),n("./node_modules/core-js/modules/es6.math.log1p.js"),n("./node_modules/core-js/modules/es6.math.log2.js"),n("./node_modules/core-js/modules/es6.math.sign.js"),n("./node_modules/core-js/modules/es6.math.sinh.js"),n("./node_modules/core-js/modules/es6.math.tanh.js"),n("./node_modules/core-js/modules/es6.math.trunc.js"),n("./node_modules/core-js/modules/es6.string.from-code-point.js"),n("./node_modules/core-js/modules/es6.string.raw.js"),n("./node_modules/core-js/modules/es6.string.trim.js"),n("./node_modules/core-js/modules/es6.string.iterator.js"),n("./node_modules/core-js/modules/es6.string.code-point-at.js"),n("./node_modules/core-js/modules/es6.string.ends-with.js"),n("./node_modules/core-js/modules/es6.string.includes.js"),n("./node_modules/core-js/modules/es6.string.repeat.js"),n("./node_modules/core-js/modules/es6.string.starts-with.js"),n("./node_modules/core-js/modules/es6.string.anchor.js"),n("./node_modules/core-js/modules/es6.string.big.js"),n("./node_modules/core-js/modules/es6.string.blink.js"),n("./node_modules/core-js/modules/es6.string.bold.js"),n("./node_modules/core-js/modules/es6.string.fixed.js"),n("./node_modules/core-js/modules/es6.string.fontcolor.js"),n("./node_modules/core-js/modules/es6.string.fontsize.js"),n("./node_modules/core-js/modules/es6.string.italics.js"),n("./node_modules/core-js/modules/es6.string.link.js"),n("./node_modules/core-js/modules/es6.string.small.js"),n("./node_modules/core-js/modules/es6.string.strike.js"),n("./node_modules/core-js/modules/es6.string.sub.js"),n("./node_modules/core-js/modules/es6.string.sup.js"),n("./node_modules/core-js/modules/es6.date.now.js"),n("./node_modules/core-js/modules/es6.date.to-json.js"),n("./node_modules/core-js/modules/es6.date.to-iso-string.js"),n("./node_modules/core-js/modules/es6.date.to-string.js"),n("./node_modules/core-js/modules/es6.date.to-primitive.js"),n("./node_modules/core-js/modules/es6.array.is-array.js"),n("./node_modules/core-js/modules/es6.array.from.js"),n("./node_modules/core-js/modules/es6.array.of.js"),n("./node_modules/core-js/modules/es6.array.join.js"),n("./node_modules/core-js/modules/es6.array.slice.js"),n("./node_modules/core-js/modules/es6.array.sort.js"),n("./node_modules/core-js/modules/es6.array.for-each.js"),n("./node_modules/core-js/modules/es6.array.map.js"),n("./node_modules/core-js/modules/es6.array.filter.js"),n("./node_modules/core-js/modules/es6.array.some.js"),n("./node_modules/core-js/modules/es6.array.every.js"),n("./node_modules/core-js/modules/es6.array.reduce.js"),n("./node_modules/core-js/modules/es6.array.reduce-right.js"),n("./node_modules/core-js/modules/es6.array.index-of.js"),n("./node_modules/core-js/modules/es6.array.last-index-of.js"),n("./node_modules/core-js/modules/es6.array.copy-within.js"),n("./node_modules/core-js/modules/es6.array.fill.js"),n("./node_modules/core-js/modules/es6.array.find.js"),n("./node_modules/core-js/modules/es6.array.find-index.js"),n("./node_modules/core-js/modules/es6.array.species.js"),n("./node_modules/core-js/modules/es6.array.iterator.js"),n("./node_modules/core-js/modules/es6.regexp.constructor.js"),n("./node_modules/core-js/modules/es6.regexp.to-string.js"),n("./node_modules/core-js/modules/es6.regexp.flags.js"),n("./node_modules/core-js/modules/es6.regexp.match.js"),n("./node_modules/core-js/modules/es6.regexp.replace.js"),n("./node_modules/core-js/modules/es6.regexp.search.js"),n("./node_modules/core-js/modules/es6.regexp.split.js"),n("./node_modules/core-js/modules/es6.promise.js"),n("./node_modules/core-js/modules/es6.map.js"),n("./node_modules/core-js/modules/es6.set.js"),n("./node_modules/core-js/modules/es6.weak-map.js"),n("./node_modules/core-js/modules/es6.weak-set.js"),n("./node_modules/core-js/modules/es6.typed.array-buffer.js"),n("./node_modules/core-js/modules/es6.typed.data-view.js"),n("./node_modules/core-js/modules/es6.typed.int8-array.js"),n("./node_modules/core-js/modules/es6.typed.uint8-array.js"),n("./node_modules/core-js/modules/es6.typed.uint8-clamped-array.js"),n("./node_modules/core-js/modules/es6.typed.int16-array.js"),n("./node_modules/core-js/modules/es6.typed.uint16-array.js"),n("./node_modules/core-js/modules/es6.typed.int32-array.js"),n("./node_modules/core-js/modules/es6.typed.uint32-array.js"),n("./node_modules/core-js/modules/es6.typed.float32-array.js"),n("./node_modules/core-js/modules/es6.typed.float64-array.js"),n("./node_modules/core-js/modules/es6.reflect.apply.js"),n("./node_modules/core-js/modules/es6.reflect.construct.js"),n("./node_modules/core-js/modules/es6.reflect.define-property.js"),n("./node_modules/core-js/modules/es6.reflect.delete-property.js"),n("./node_modules/core-js/modules/es6.reflect.enumerate.js"),n("./node_modules/core-js/modules/es6.reflect.get.js"),n("./node_modules/core-js/modules/es6.reflect.get-own-property-descriptor.js"),n("./node_modules/core-js/modules/es6.reflect.get-prototype-of.js"),n("./node_modules/core-js/modules/es6.reflect.has.js"),n("./node_modules/core-js/modules/es6.reflect.is-extensible.js"),n("./node_modules/core-js/modules/es6.reflect.own-keys.js"),n("./node_modules/core-js/modules/es6.reflect.prevent-extensions.js"),n("./node_modules/core-js/modules/es6.reflect.set.js"),n("./node_modules/core-js/modules/es6.reflect.set-prototype-of.js"),n("./node_modules/core-js/modules/es7.array.includes.js"),n("./node_modules/core-js/modules/es7.array.flat-map.js"),n("./node_modules/core-js/modules/es7.array.flatten.js"),n("./node_modules/core-js/modules/es7.string.at.js"),n("./node_modules/core-js/modules/es7.string.pad-start.js"),n("./node_modules/core-js/modules/es7.string.pad-end.js"),n("./node_modules/core-js/modules/es7.string.trim-left.js"),n("./node_modules/core-js/modules/es7.string.trim-right.js"),n("./node_modules/core-js/modules/es7.string.match-all.js"),n("./node_modules/core-js/modules/es7.symbol.async-iterator.js"),n("./node_modules/core-js/modules/es7.symbol.observable.js"),n("./node_modules/core-js/modules/es7.object.get-own-property-descriptors.js"),n("./node_modules/core-js/modules/es7.object.values.js"),n("./node_modules/core-js/modules/es7.object.entries.js"),n("./node_modules/core-js/modules/es7.object.define-getter.js"),n("./node_modules/core-js/modules/es7.object.define-setter.js"),n("./node_modules/core-js/modules/es7.object.lookup-getter.js"),n("./node_modules/core-js/modules/es7.object.lookup-setter.js"),n("./node_modules/core-js/modules/es7.map.to-json.js"),n("./node_modules/core-js/modules/es7.set.to-json.js"),n("./node_modules/core-js/modules/es7.map.of.js"),n("./node_modules/core-js/modules/es7.set.of.js"),n("./node_modules/core-js/modules/es7.weak-map.of.js"),n("./node_modules/core-js/modules/es7.weak-set.of.js"),n("./node_modules/core-js/modules/es7.map.from.js"),n("./node_modules/core-js/modules/es7.set.from.js"),n("./node_modules/core-js/modules/es7.weak-map.from.js"),n("./node_modules/core-js/modules/es7.weak-set.from.js"),n("./node_modules/core-js/modules/es7.global.js"),n("./node_modules/core-js/modules/es7.system.global.js"),n("./node_modules/core-js/modules/es7.error.is-error.js"),n("./node_modules/core-js/modules/es7.math.clamp.js"),n("./node_modules/core-js/modules/es7.math.deg-per-rad.js"),n("./node_modules/core-js/modules/es7.math.degrees.js"),n("./node_modules/core-js/modules/es7.math.fscale.js"),n("./node_modules/core-js/modules/es7.math.iaddh.js"),n("./node_modules/core-js/modules/es7.math.isubh.js"),n("./node_modules/core-js/modules/es7.math.imulh.js"),n("./node_modules/core-js/modules/es7.math.rad-per-deg.js"),n("./node_modules/core-js/modules/es7.math.radians.js"),n("./node_modules/core-js/modules/es7.math.scale.js"),n("./node_modules/core-js/modules/es7.math.umulh.js"),n("./node_modules/core-js/modules/es7.math.signbit.js"),n("./node_modules/core-js/modules/es7.promise.finally.js"),n("./node_modules/core-js/modules/es7.promise.try.js"),n("./node_modules/core-js/modules/es7.reflect.define-metadata.js"),n("./node_modules/core-js/modules/es7.reflect.delete-metadata.js"),n("./node_modules/core-js/modules/es7.reflect.get-metadata.js"),n("./node_modules/core-js/modules/es7.reflect.get-metadata-keys.js"),n("./node_modules/core-js/modules/es7.reflect.get-own-metadata.js"),n("./node_modules/core-js/modules/es7.reflect.get-own-metadata-keys.js"),n("./node_modules/core-js/modules/es7.reflect.has-metadata.js"),n("./node_modules/core-js/modules/es7.reflect.has-own-metadata.js"),n("./node_modules/core-js/modules/es7.reflect.metadata.js"),n("./node_modules/core-js/modules/es7.asap.js"),n("./node_modules/core-js/modules/es7.observable.js"),n("./node_modules/core-js/modules/web.timers.js"),n("./node_modules/core-js/modules/web.immediate.js"),n("./node_modules/core-js/modules/web.dom.iterable.js"),e.exports=n("./node_modules/core-js/modules/_core.js")},"./node_modules/mini-css-extract-plugin/dist/loader.js!./node_modules/css-loader/index.js!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src/index.js!./node_modules/sass-loader/lib/loader.js!./node_modules/vue-loader/lib/index.js?!./examples/App.vue?vue&type=style&index=0&lang=scss&":function(e,t,n){},"./node_modules/mini-css-extract-plugin/dist/loader.js!./node_modules/css-loader/index.js!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src/index.js!./node_modules/sass-loader/lib/loader.js!./node_modules/vue-loader/lib/index.js?!./examples/Components/Icon/index.vue?vue&type=style&index=0&id=2b9db09d&lang=scss&scoped=true&":function(e,t,n){},"./node_modules/orderedmap/index.js":function(e,t){function n(e){this.content=e}n.prototype={constructor:n,find:function(e){for(var t=0;t<this.content.length;t+=2)if(this.content[t]===e)return t;return-1},get:function(e){var t=this.find(e);return-1==t?void 0:this.content[t+1]},update:function(e,t,o){var r=o&&o!=e?this.remove(o):this,s=r.find(e),i=r.content.slice();return-1==s?i.push(o||e,t):(i[s+1]=t,o&&(i[s]=o)),new n(i)},remove:function(e){var t=this.find(e);if(-1==t)return this;var o=this.content.slice();return o.splice(t,2),new n(o)},addToStart:function(e,t){return new n([e,t].concat(this.remove(e).content))},addToEnd:function(e,t){var o=this.remove(e).content.slice();return o.push(e,t),new n(o)},addBefore:function(e,t,o){var r=this.remove(t),s=r.content.slice(),i=r.find(e);return s.splice(-1==i?s.length:i,0,t,o),new n(s)},forEach:function(e){for(var t=0;t<this.content.length;t+=2)e(this.content[t],this.content[t+1])},prepend:function(e){return(e=n.from(e)).size?new n(e.content.concat(this.subtract(e).content)):this},append:function(e){return(e=n.from(e)).size?new n(this.subtract(e).content.concat(e.content)):this},subtract:function(e){var t=this;e=n.from(e);for(var o=0;o<e.content.length;o+=2)t=t.remove(e.content[o]);return t},get size(){return this.content.length>>1}},n.from=function(e){if(e instanceof n)return e;var t=[];if(e)for(var o in e)t.push(o,e[o]);return new n(t)},e.exports=n},"./node_modules/process/browser.js":function(e,t){var n,o,r=e.exports={};function s(){throw new Error("setTimeout has not been defined")}function i(){throw new Error("clearTimeout has not been defined")}function a(e){if(n===setTimeout)return setTimeout(e,0);if((n===s||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:s}catch(e){n=s}try{o="function"==typeof clearTimeout?clearTimeout:i}catch(e){o=i}}();var u,c=[],l=!1,d=-1;function f(){l&&u&&(l=!1,u.length?c=u.concat(c):d=-1,c.length&&p())}function p(){if(!l){var e=a(f);l=!0;for(var t=c.length;t;){for(u=c,c=[];++d<t;)u&&u[d].run();d=-1,t=c.length}u=null,l=!1,function(e){if(o===clearTimeout)return clearTimeout(e);if((o===i||!o)&&clearTimeout)return o=clearTimeout,clearTimeout(e);try{o(e)}catch(t){try{return o.call(null,e)}catch(t){return o.call(this,e)}}}(e)}}function m(e,t){this.fun=e,this.array=t}function h(){}r.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];c.push(new m(e,t)),1!==c.length||l||a(p)},m.prototype.run=function(){this.fun.apply(null,this.array)},r.title="browser",r.browser=!0,r.env={},r.argv=[],r.version="",r.versions={},r.on=h,r.addListener=h,r.once=h,r.off=h,r.removeListener=h,r.removeAllListeners=h,r.emit=h,r.prependListener=h,r.prependOnceListener=h,r.listeners=function(e){return[]},r.binding=function(e){throw new Error("process.binding is not supported")},r.cwd=function(){return"/"},r.chdir=function(e){throw new Error("process.chdir is not supported")},r.umask=function(){return 0}},"./node_modules/prosemirror-commands/dist/commands.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n("./node_modules/prosemirror-transform/dist/index.js"),r=n("./node_modules/prosemirror-model/dist/index.js"),s=n("./node_modules/prosemirror-state/dist/index.js");function i(e,t){return!e.selection.empty&&(t&&t(e.tr.deleteSelection().scrollIntoView()),!0)}function a(e,t,n){var r=e.selection.$cursor;if(!r||(n?!n.endOfTextblock("backward",e):r.parentOffset>0))return!1;var i=l(r);if(!i){var a=r.blockRange(),c=a&&o.liftTarget(a);return null!=c&&(t&&t(e.tr.lift(a,c).scrollIntoView()),!0)}var d=i.nodeBefore;if(!d.type.spec.isolating&&g(e,i,t))return!0;if(0==r.parent.content.size&&(u(d,"end")||s.NodeSelection.isSelectable(d))){if(t){var f=e.tr.deleteRange(r.before(),r.after());f.setSelection(u(d,"end")?s.Selection.findFrom(f.doc.resolve(f.mapping.map(i.pos,-1)),-1):s.NodeSelection.create(f.doc,i.pos-d.nodeSize)),t(f.scrollIntoView())}return!0}return!(!d.isAtom||i.depth!=r.depth-1)&&(t&&t(e.tr.delete(i.pos-d.nodeSize,i.pos).scrollIntoView()),!0)}function u(e,t){for(;e;e="start"==t?e.firstChild:e.lastChild)if(e.isTextblock)return!0;return!1}function c(e,t,n){var o=e.selection.$cursor;if(!o||(n?!n.endOfTextblock("backward",e):o.parentOffset>0))return!1;var r=l(o),i=r&&r.nodeBefore;return!(!i||!s.NodeSelection.isSelectable(i))&&(t&&t(e.tr.setSelection(s.NodeSelection.create(e.doc,r.pos-i.nodeSize)).scrollIntoView()),!0)}function l(e){if(!e.parent.type.spec.isolating)for(var t=e.depth-1;t>=0;t--){if(e.index(t)>0)return e.doc.resolve(e.before(t+1));if(e.node(t).type.spec.isolating)break}return null}function d(e,t,n){var o=e.selection.$cursor;if(!o||(n?!n.endOfTextblock("forward",e):o.parentOffset<o.parent.content.size))return!1;var r=p(o);if(!r)return!1;var i=r.nodeAfter;if(g(e,r,t))return!0;if(0==o.parent.content.size&&(u(i,"start")||s.NodeSelection.isSelectable(i))){if(t){var a=e.tr.deleteRange(o.before(),o.after());a.setSelection(u(i,"start")?s.Selection.findFrom(a.doc.resolve(a.mapping.map(r.pos)),1):s.NodeSelection.create(a.doc,a.mapping.map(r.pos))),t(a.scrollIntoView())}return!0}return!(!i.isAtom||r.depth!=o.depth-1)&&(t&&t(e.tr.delete(r.pos,r.pos+i.nodeSize).scrollIntoView()),!0)}function f(e,t,n){var o=e.selection.$cursor;if(!o||(n?!n.endOfTextblock("forward",e):o.parentOffset<o.parent.content.size))return!1;var r=p(o),i=r&&r.nodeAfter;return!(!i||!s.NodeSelection.isSelectable(i))&&(t&&t(e.tr.setSelection(s.NodeSelection.create(e.doc,r.pos)).scrollIntoView()),!0)}function p(e){if(!e.parent.type.spec.isolating)for(var t=e.depth-1;t>=0;t--){var n=e.node(t);if(e.index(t)+1<n.childCount)return e.doc.resolve(e.after(t+1));if(n.type.spec.isolating)break}return null}function m(e,t){var n=e.selection,o=n.$head,r=n.$anchor;return!(!o.parent.type.spec.code||!o.sameParent(r))&&(t&&t(e.tr.insertText("\n").scrollIntoView()),!0)}function h(e,t){var n=e.selection,o=n.$head,r=n.$anchor;if(!o.parent.type.spec.code||!o.sameParent(r))return!1;var i=o.node(-1),a=o.indexAfter(-1),u=i.contentMatchAt(a).defaultType;if(!i.canReplaceWith(a,a,u))return!1;if(t){var c=o.after(),l=e.tr.replaceWith(c,c,u.createAndFill());l.setSelection(s.Selection.near(l.doc.resolve(c),1)),t(l.scrollIntoView())}return!0}function v(e,t){var n=e.selection,o=n.$from,r=n.$to;if(o.parent.inlineContent||r.parent.inlineContent)return!1;var i=o.parent.contentMatchAt(r.indexAfter()).defaultType;if(!i||!i.isTextblock)return!1;if(t){var a=(!o.parentOffset&&r.index()<r.parent.childCount?o:r).pos,u=e.tr.insert(a,i.createAndFill());u.setSelection(s.TextSelection.create(u.doc,a+1)),t(u.scrollIntoView())}return!0}function j(e,t){var n=e.selection.$cursor;if(!n||n.parent.content.size)return!1;if(n.depth>1&&n.after()!=n.end(-1)){var r=n.before();if(o.canSplit(e.doc,r))return t&&t(e.tr.split(r).scrollIntoView()),!0}var s=n.blockRange(),i=s&&o.liftTarget(s);return null!=i&&(t&&t(e.tr.lift(s,i).scrollIntoView()),!0)}function y(e,t){var n=e.selection,i=n.$from,a=n.$to;if(e.selection instanceof s.NodeSelection&&e.selection.node.isBlock)return!(!i.parentOffset||!o.canSplit(e.doc,i.pos))&&(t&&t(e.tr.split(i.pos).scrollIntoView()),!0);if(!i.parent.isBlock)return!1;if(t){var u=a.parentOffset==a.parent.content.size,c=e.tr;e.selection instanceof s.TextSelection&&c.deleteSelection();var l=0==i.depth?null:i.node(-1).contentMatchAt(i.indexAfter(-1)).defaultType,d=u&&l?[{type:l}]:null,f=o.canSplit(c.doc,i.pos,1,d);d||f||!o.canSplit(c.doc,c.mapping.map(i.pos),1,l&&[{type:l}])||(d=[{type:l}],f=!0),f&&(c.split(c.mapping.map(i.pos),1,d),u||i.parentOffset||i.parent.type==l||!i.node(-1).canReplace(i.index(-1),i.indexAfter(-1),r.Fragment.from(l.create(),i.parent))||c.setNodeMarkup(c.mapping.map(i.before()),l)),t(c.scrollIntoView())}return!0}function _(e,t){return t&&t(e.tr.setSelection(new s.AllSelection(e.doc))),!0}function g(e,t,n){var i,a,u=t.nodeBefore,c=t.nodeAfter;if(u.type.spec.isolating||c.type.spec.isolating)return!1;if(function(e,t,n){var r=t.nodeBefore,s=t.nodeAfter,i=t.index();return!(!(r&&s&&r.type.compatibleContent(s.type))||(!r.content.size&&t.parent.canReplace(i-1,i)?(n&&n(e.tr.delete(t.pos-r.nodeSize,t.pos).scrollIntoView()),0):!t.parent.canReplace(i,i+1)||!s.isTextblock&&!o.canJoin(e.doc,t.pos)||(n&&n(e.tr.clearIncompatible(t.pos,r.type,r.contentMatchAt(r.childCount)).join(t.pos).scrollIntoView()),0)))}(e,t,n))return!0;if(t.parent.canReplace(t.index(),t.index()+1)&&(i=(a=u.contentMatchAt(u.childCount)).findWrapping(c.type))&&a.matchType(i[0]||c.type).validEnd){if(n){for(var l=t.pos+c.nodeSize,d=r.Fragment.empty,f=i.length-1;f>=0;f--)d=r.Fragment.from(i[f].create(null,d));d=r.Fragment.from(u.copy(d));var p=e.tr.step(new o.ReplaceAroundStep(t.pos-1,l,t.pos,l,new r.Slice(d,1,0),i.length,!0)),m=l+2*i.length;o.canJoin(p.doc,m)&&p.join(m),n(p.scrollIntoView())}return!0}var h=s.Selection.findFrom(t,1),v=h&&h.$from.blockRange(h.$to),j=v&&o.liftTarget(v);return null!=j&&j>=t.depth&&(n&&n(e.tr.lift(v,j).scrollIntoView()),!0)}function b(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return function(t,n,o){for(var r=0;r<e.length;r++)if(e[r](t,n,o))return!0;return!1}}var w=b(i,a,c),x=b(i,d,f),k={Enter:b(m,v,j,y),"Mod-Enter":h,Backspace:w,"Mod-Backspace":w,Delete:x,"Mod-Delete":x,"Mod-a":_},S={"Ctrl-h":k.Backspace,"Alt-Backspace":k["Mod-Backspace"],"Ctrl-d":k.Delete,"Ctrl-Alt-Backspace":k["Mod-Delete"],"Alt-Delete":k["Mod-Delete"],"Alt-d":k["Mod-Delete"]};for(var O in k)S[O]=k[O];var C=("undefined"!=typeof navigator?/Mac/.test(navigator.platform):"undefined"!=typeof os&&"darwin"==os.platform())?S:k;t.deleteSelection=i,t.joinBackward=a,t.selectNodeBackward=c,t.joinForward=d,t.selectNodeForward=f,t.joinUp=function(e,t){var n,r=e.selection,i=r instanceof s.NodeSelection;if(i){if(r.node.isTextblock||!o.canJoin(e.doc,r.from))return!1;n=r.from}else if(null==(n=o.joinPoint(e.doc,r.from,-1)))return!1;if(t){var a=e.tr.join(n);i&&a.setSelection(s.NodeSelection.create(a.doc,n-e.doc.resolve(n).nodeBefore.nodeSize)),t(a.scrollIntoView())}return!0},t.joinDown=function(e,t){var n,r=e.selection;if(r instanceof s.NodeSelection){if(r.node.isTextblock||!o.canJoin(e.doc,r.to))return!1;n=r.to}else if(null==(n=o.joinPoint(e.doc,r.to,1)))return!1;return t&&t(e.tr.join(n).scrollIntoView()),!0},t.lift=function(e,t){var n=e.selection,r=n.$from,s=n.$to,i=r.blockRange(s),a=i&&o.liftTarget(i);return null!=a&&(t&&t(e.tr.lift(i,a).scrollIntoView()),!0)},t.newlineInCode=m,t.exitCode=h,t.createParagraphNear=v,t.liftEmptyBlock=j,t.splitBlock=y,t.splitBlockKeepMarks=function(e,t){return y(e,t&&function(n){var o=e.storedMarks||e.selection.$to.parentOffset&&e.selection.$from.marks();o&&n.ensureMarks(o),t(n)})},t.selectParentNode=function(e,t){var n,o=e.selection,r=o.$from,i=o.to,a=r.sharedDepth(i);return 0!=a&&(n=r.before(a),t&&t(e.tr.setSelection(s.NodeSelection.create(e.doc,n))),!0)},t.selectAll=_,t.wrapIn=function(e,t){return function(n,r){var s=n.selection,i=s.$from,a=s.$to,u=i.blockRange(a),c=u&&o.findWrapping(u,e,t);return!!c&&(r&&r(n.tr.wrap(u,c).scrollIntoView()),!0)}},t.setBlockType=function(e,t){return function(n,o){var r=n.selection,s=r.from,i=r.to,a=!1;return n.doc.nodesBetween(s,i,function(o,r){if(a)return!1;if(o.isTextblock&&!o.hasMarkup(e,t))if(o.type==e)a=!0;else{var s=n.doc.resolve(r),i=s.index();a=s.parent.canReplaceWith(i,i+1,e)}}),!!a&&(o&&o(n.tr.setBlockType(s,i,e,t).scrollIntoView()),!0)}},t.toggleMark=function(e,t){return function(n,o){var r=n.selection,s=r.empty,i=r.$cursor,a=r.ranges;if(s&&!i||!function(e,t,n){for(var o=function(o){var r=t[o],s=r.$from,i=r.$to,a=0==s.depth&&e.type.allowsMarkType(n);if(e.nodesBetween(s.pos,i.pos,function(e){if(a)return!1;a=e.inlineContent&&e.type.allowsMarkType(n)}),a)return{v:!0}},r=0;r<t.length;r++){var s=o(r);if(s)return s.v}return!1}(n.doc,a,e))return!1;if(o)if(i)e.isInSet(n.storedMarks||i.marks())?o(n.tr.removeStoredMark(e)):o(n.tr.addStoredMark(e.create(t)));else{for(var u=!1,c=n.tr,l=0;!u&&l<a.length;l++){var d=a[l],f=d.$from,p=d.$to;u=n.doc.rangeHasMark(f.pos,p.pos,e)}for(var m=0;m<a.length;m++){var h=a[m],v=h.$from,j=h.$to;u?c.removeMark(v.pos,j.pos,e):c.addMark(v.pos,j.pos,e.create(t))}o(c.scrollIntoView())}return!0}},t.autoJoin=function(e,t){if(Array.isArray(t)){var n=t;t=function(e){return n.indexOf(e.type.name)>-1}}return function(n,r){return e(n,r&&function(e,t){return function(n){if(!n.isGeneric)return e(n);for(var r=[],s=0;s<n.mapping.maps.length;s++){for(var i=n.mapping.maps[s],a=0;a<r.length;a++)r[a]=i.map(r[a]);i.forEach(function(e,t,n,o){return r.push(n,o)})}for(var u=[],c=0;c<r.length;c+=2)for(var l=r[c],d=r[c+1],f=n.doc.resolve(l),p=f.sharedDepth(d),m=f.node(p),h=f.indexAfter(p),v=f.after(p+1);v<=d;++h){var j=m.maybeChild(h);if(!j)break;if(h&&-1==u.indexOf(v)){var y=m.child(h-1);y.type==j.type&&t(y,j)&&u.push(v)}v+=j.nodeSize}u.sort(function(e,t){return e-t});for(var _=u.length-1;_>=0;_--)o.canJoin(n.doc,u[_])&&n.join(u[_]);e(n)}}(r,t))}},t.chainCommands=b,t.pcBaseKeymap=k,t.macBaseKeymap=S,t.baseKeymap=C},"./node_modules/prosemirror-dropcursor/dist/dropcursor.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n("./node_modules/prosemirror-state/dist/index.js"),r=n("./node_modules/prosemirror-transform/dist/index.js"),s=n("./node_modules/prosemirror-view/dist/index.js"),i="undefined"!=typeof navigator&&/gecko\/\d/i.test(navigator.userAgent),a="undefined"!=typeof navigator&&/linux/i.test(navigator.platform);function u(e,t){var n=e&&e.width||1;return"border-"+t+": "+n+"px solid "+(e&&e.color||"black")+"; margin-"+t+": -"+n+"px"}t.dropCursor=function(e){function t(e,t){e.dispatch(e.state.tr.setMeta(l,t))}var n=null;function c(e,o){clearTimeout(n),n=setTimeout(function(){l.getState(e.state)&&t(e,{type:"remove"})},o)}var l=new o.Plugin({state:{init:function(){return null},apply:function(t,n,o){if(i&&a)return null;var r="drop"==t.getMeta("uiEvent")?{type:"remove"}:t.getMeta(l);return r?"set"==r.type?function(e,t,n){var o,r,i,a=e.doc.resolve(t);if(a.parent.inlineContent||((r=a.nodeBefore)?o=s.Decoration.node(t-r.nodeSize,t,{nodeName:"div",style:u(n,"right")}):(i=a.nodeAfter)&&(o=s.Decoration.node(t,t+i.nodeSize,{nodeName:"div",style:u(n,"left")}))),!o){var c=document.createElement("span");c.textContent="",c.style.cssText=u(n,"left")+"; display: inline-block; pointer-events: none",o=s.Decoration.widget(t,c)}return{pos:t,deco:s.DecorationSet.create(e.doc,[o])}}(o,r.pos,e):null:n}},props:{handleDOMEvents:{dragover:function(e,n){var o=l.getState(e.state),s=e.posAtCoords({left:n.clientX,top:n.clientY});if(s){var i=s.pos;e.dragging&&e.dragging.slice&&null==(i=r.dropPoint(e.state.doc,i,e.dragging.slice))&&(i=s.pos),o&&o.pos==i||t(e,{type:"set",pos:i})}return c(e,5e3),!1},dragend:function(e){return c(e,20),!1},drop:function(e){return c(e,20),!1},dragleave:function(e,n){return n.target!=e.dom&&e.dom.contains(n.relatedTarget)||t(e,{type:"remove"}),!1}},decorations:function(e){var t=l.getState(e);return t&&t.deco}}});return l}},"./node_modules/prosemirror-gapcursor/dist/index.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n("./node_modules/prosemirror-keymap/dist/keymap.js"),r=n("./node_modules/prosemirror-state/dist/index.js"),s=n("./node_modules/prosemirror-view/dist/index.js"),i=n("./node_modules/prosemirror-model/dist/index.js"),a=function(e){function t(t){e.call(this,t,t)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.map=function(n,o){var r=n.resolve(o.map(this.head));return t.valid(r)?new t(r):e.near(r)},t.prototype.content=function(){return i.Slice.empty},t.prototype.eq=function(e){return e instanceof t&&e.head==this.head},t.prototype.toJSON=function(){return{type:"gapcursor",pos:this.head}},t.fromJSON=function(e,n){if("number"!=typeof n.pos)throw new RangeError("Invalid input for GapCursor.fromJSON");return new t(e.resolve(n.pos))},t.prototype.getBookmark=function(){return new u(this.anchor)},t.valid=function(e){var t=e.parent;if(t.isTextblock||!function(e){for(var t=e.depth;t>=0;t--){var n=e.index(t);if(0!=n)for(var o=e.node(t).child(n-1);;o=o.lastChild){if(o.isTextblock)return!1;if(0==o.childCount||o.isAtom||o.type.spec.isolating)return!0}}return!0}(e)||!function(e){for(var t=e.depth;t>=0;t--){var n=e.indexAfter(t),o=e.node(t);if(n!=o.childCount)for(var r=o.child(n);;r=r.firstChild){if(r.isTextblock)return!1;if(0==r.childCount||r.isAtom||r.type.spec.isolating)return!0}}return!0}(e))return!1;var n=t.type.spec.allowGapCursor;if(null!=n)return n;var o=t.contentMatchAt(e.index()).defaultType;return o&&o.isTextblock},t.findFrom=function(e,n,o){if(!o&&t.valid(e))return e;for(var r=e.pos,s=null,i=e.depth;;i--){var a=e.node(i);if(n>0?e.indexAfter(i)<a.childCount:e.index(i)>0){s=a.maybeChild(n>0?e.indexAfter(i):e.index(i)-1);break}if(0==i)return null;r+=n;var u=e.doc.resolve(r);if(t.valid(u))return u}for(;s=n>0?s.firstChild:s.lastChild;){r+=n;var c=e.doc.resolve(r);if(t.valid(c))return c}return null},t}(r.Selection);a.prototype.visible=!1,r.Selection.jsonID("gapcursor",a);var u=function(e){this.pos=e};u.prototype.map=function(e){return new u(e.map(this.pos))},u.prototype.resolve=function(e){var t=e.resolve(this.pos);return a.valid(t)?new a(t):r.Selection.near(t)};var c=o.keydownHandler({ArrowLeft:l("horiz",-1),ArrowRight:l("horiz",1),ArrowUp:l("vert",-1),ArrowDown:l("vert",1)});function l(e,t){var n="vert"==e?t>0?"down":"up":t>0?"right":"left";return function(e,o,s){var i=e.selection,u=t>0?i.$to:i.$from,c=i.empty;if(i instanceof r.TextSelection){if(!s.endOfTextblock(n))return!1;c=!1,u=e.doc.resolve(t>0?u.after():u.before())}var l=a.findFrom(u,t,c);return!!l&&(o&&o(e.tr.setSelection(new a(l))),!0)}}function d(e,t,n){var o=e.state.doc.resolve(t);if(!a.valid(o))return!1;var s=e.posAtCoords({left:n.clientX,top:n.clientY}).inside;return!(s>-1&&r.NodeSelection.isSelectable(e.state.doc.nodeAt(s)))&&(e.dispatch(e.state.tr.setSelection(new a(o))),!0)}function f(e){if(!(e.selection instanceof a))return null;var t=document.createElement("div");return t.className="ProseMirror-gapcursor",s.DecorationSet.create(e.doc,[s.Decoration.widget(e.selection.head,t,{key:"gapcursor"})])}t.gapCursor=function(){return new r.Plugin({props:{decorations:f,createSelectionBetween:function(e,t,n){if(t.pos==n.pos&&a.valid(n))return new a(n)},handleClick:d,handleKeyDown:c}})},t.GapCursor=a},"./node_modules/prosemirror-history/dist/history.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=function(e){return e&&"object"==typeof e&&"default"in e?e.default:e}(n("./node_modules/rope-sequence/dist/index.js")),r=n("./node_modules/prosemirror-transform/dist/index.js"),s=n("./node_modules/prosemirror-state/dist/index.js"),i=function(e,t){this.items=e,this.eventCount=t};i.prototype.popEvent=function(e,t){var n=this;if(0==this.eventCount)return null;for(var o,r,s=this.items.length;;s--){if(n.items.get(s-1).selection){--s;break}}t&&(o=this.remapping(s,this.items.length),r=o.maps.length);var u,c,l=e.tr,d=[],f=[];return this.items.forEach(function(e,t){if(!e.step)return o||(o=n.remapping(s,t+1),r=o.maps.length),r--,void f.push(e);if(o){f.push(new a(e.map));var p,m=e.step.map(o.slice(r));m&&l.maybeStep(m).doc&&(p=l.mapping.maps[l.mapping.maps.length-1],d.push(new a(p,null,null,d.length+f.length))),r--,p&&o.appendMap(p,r)}else l.maybeStep(e.step);return e.selection?(u=o?e.selection.map(o.slice(r)):e.selection,c=new i(n.items.slice(0,s).append(f.reverse().concat(d)),n.eventCount-1),!1):void 0},this.items.length,0),{remaining:c,transform:l,selection:u}},i.prototype.addTransform=function(e,t,n,o){for(var r=[],s=this.eventCount,u=this.items,l=!o&&u.length?u.get(u.length-1):null,d=0;d<e.steps.length;d++){var f,p=e.steps[d].invert(e.docs[d]),m=new a(e.mapping.maps[d],p,t);(f=l&&l.merge(m))&&(m=f,d?r.pop():u=u.slice(0,u.length-1)),r.push(m),t&&(s++,t=null),o||(l=m)}var h=s-n.depth;return h>c&&(u=function(e,t){var n;return e.forEach(function(e,o){if(e.selection&&0==t--)return n=o,!1}),e.slice(n)}(u,h),s-=h),new i(u.append(r),s)},i.prototype.remapping=function(e,t){var n=[],o=[];return this.items.forEach(function(t,r){null!=t.mirrorOffset&&(r-t.mirrorOffset>=e&&o.push(n.length-t.mirrorOffset,n.length));n.push(t.map)},e,t),new r.Mapping(n,o)},i.prototype.addMaps=function(e){return 0==this.eventCount?this:new i(this.items.append(e.map(function(e){return new a(e)})),this.eventCount)},i.prototype.rebased=function(e,t){if(!this.eventCount)return this;var n=[],o=Math.max(0,this.items.length-t),r=e.mapping,s=e.steps.length,u=this.eventCount;this.items.forEach(function(e){e.selection&&u--},this.items.length-t);var c=t;this.items.forEach(function(t){var o=r.getMirror(--c);if(null!=o){s=Math.min(s,o);var i=r.maps[o];if(t.step){var l=e.steps[o].invert(e.docs[o]),d=t.selection&&t.selection.map(r.slice(c,o));d&&u++,n.push(new a(i,l,d))}else n.push(new a(i))}},o);for(var l=[],d=t;d<s;d++)l.push(new a(r.maps[d]));var f=this.items.slice(0,o).append(l).append(n),p=new i(f,u);return p.emptyItemCount()>500&&(p=p.compress(this.items.length-n.length)),p},i.prototype.emptyItemCount=function(){var e=0;return this.items.forEach(function(t){t.step||e++}),e},i.prototype.compress=function(e){void 0===e&&(e=this.items.length);var t=this.remapping(0,e),n=t.maps.length,r=[],s=0;return this.items.forEach(function(o,i){if(i>=e)r.push(o),o.selection&&s++;else if(o.step){var u=o.step.map(t.slice(n)),c=u&&u.getMap();if(n--,c&&t.appendMap(c,n),u){var l=o.selection&&o.selection.map(t.slice(n));l&&s++;var d,f=new a(c.invert(),u,l),p=r.length-1;(d=r.length&&r[p].merge(f))?r[p]=d:r.push(f)}}else o.map&&n--},this.items.length,0),new i(o.from(r.reverse()),s)},i.empty=new i(o.empty,0);var a=function(e,t,n,o){this.map=e,this.step=t,this.selection=n,this.mirrorOffset=o};a.prototype.merge=function(e){if(this.step&&e.step&&!e.selection){var t=e.step.merge(this.step);if(t)return new a(t.getMap().invert(),t,this.selection)}};var u=function(e,t,n,o){this.done=e,this.undone=t,this.prevMap=n,this.prevTime=o},c=20;function l(e,t,n,o){var r=p(t),s=m.get(t).spec.config,i=(o?e.undone:e.done).popEvent(t,r);if(i){var a=i.selection.resolve(i.transform.doc),c=(o?e.done:e.undone).addTransform(i.transform,t.selection.getBookmark(),s,r),l=new u(o?c:i.remaining,o?i.remaining:c,null,0);n(i.transform.setSelection(a).setMeta(m,l).scrollIntoView())}}var d=!1,f=null;function p(e){var t=e.plugins;if(f!=t){d=!1,f=t;for(var n=0;n<t.length;n++)if(t[n].spec.historyPreserveItems){d=!0;break}}return d}var m=new s.PluginKey("history"),h=new s.PluginKey("closeHistory");t.HistoryState=u,t.closeHistory=function(e){return e.setMeta(h,!0)},t.history=function(e){return e={depth:e&&e.depth||100,newGroupDelay:e&&e.newGroupDelay||500},new s.Plugin({key:m,state:{init:function(){return new u(i.empty,i.empty,null,0)},apply:function(t,n,o){return function(e,t,n,o){var r,s=n.getMeta(m);if(s)return s;n.getMeta(h)&&(e=new u(e.done,e.undone,null,0));var a=n.getMeta("appendedTransaction");if(0==n.steps.length)return e;if(!1!==(a||n).getMeta("addToHistory")){var c=e.prevTime<(n.time||0)-o.newGroupDelay||!a&&!function(e,t,n){if(!t)return!1;var o=e.mapping.maps[0],r=!1;return!o||(o.forEach(function(e,o){n.items.forEach(function(n){if(n.step)return t.forEach(function(t,n,s,i){e<=i&&o>=s&&(r=!0)}),!1;e=n.map.invert().map(e,-1),o=n.map.invert().map(o,1)},n.items.length,0)}),r)}(n,e.prevMap,e.done);return new u(e.done.addTransform(n,c?t.selection.getBookmark():null,o,p(t)),i.empty,n.mapping.maps[n.steps.length-1],n.time)}return(r=n.getMeta("rebased"))?new u(e.done.rebased(n,r),e.undone.rebased(n,r),e.prevMap&&n.mapping.maps[n.steps.length-1],e.prevTime):new u(e.done.addMaps(n.mapping.maps),e.undone.addMaps(n.mapping.maps),e.prevMap,e.prevTime)}(n,o,t,e)}},config:e})},t.undo=function(e,t){var n=m.getState(e);return!(!n||0==n.done.eventCount||(t&&l(n,e,t,!1),0))},t.redo=function(e,t){var n=m.getState(e);return!(!n||0==n.undone.eventCount||(t&&l(n,e,t,!0),0))},t.undoDepth=function(e){var t=m.getState(e);return t?t.done.eventCount:0},t.redoDepth=function(e){var t=m.getState(e);return t?t.undone.eventCount:0}},"./node_modules/prosemirror-inputrules/dist/index.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n("./node_modules/prosemirror-state/dist/index.js"),r=n("./node_modules/prosemirror-transform/dist/index.js"),s=function(e,t){this.match=e,this.handler="string"==typeof t?function(e){return function(t,n,o,r){var s=e;if(n[1]){var i=n[0].lastIndexOf(n[1]);s+=n[0].slice(i+n[1].length);var a=(o+=i)-r;a>0&&(s=n[0].slice(i-a,i)+s,o=r)}var u=t.doc.resolve(o).marks();return t.tr.replaceWith(o,r,t.schema.text(s,u))}}(t):t};var i=500;var a=new s(/--$/,"—"),u=new s(/\.\.\.$/,"…"),c=new s(/(?:^|[\s\{\[\(\<'"\u2018\u201C])(")$/,"“"),l=new s(/"$/,"”"),d=new s(/(?:^|[\s\{\[\(\<'"\u2018\u201C])(')$/,""),f=new s(/'$/,""),p=[c,l,d,f];t.InputRule=s,t.inputRules=function(e){var t=e.rules;return new o.Plugin({state:{init:function(){return null},apply:function(e,t){var n=e.getMeta(this);return n||(e.selectionSet||e.docChanged?null:t)}},props:{handleTextInput:function(e,n,o,r){var s=e.state,a=s.doc.resolve(n);if(a.parent.type.spec.code)return!1;for(var u=a.parent.textBetween(Math.max(0,a.parentOffset-i),a.parentOffset,null,"")+r,c=0;c<t.length;c++){var l=t[c].match.exec(u),d=l&&t[c].handler(s,l,n-(l[0].length-r.length),o);if(d)return e.dispatch(d.setMeta(this,{transform:d,from:n,to:o,text:r})),!0}return!1}},isInputRules:!0})},t.undoInputRule=function(e,t){for(var n=e.plugins,o=0;o<n.length;o++){var r=n[o],s=void 0;if(r.spec.isInputRules&&(s=r.getState(e))){if(t){for(var i=e.tr,a=s.transform,u=a.steps.length-1;u>=0;u--)i.step(a.steps[u].invert(a.docs[u]));var c=i.doc.resolve(s.from).marks();t(i.replaceWith(s.from,s.to,e.schema.text(s.text,c)))}return!0}}return!1},t.emDash=a,t.ellipsis=u,t.openDoubleQuote=c,t.closeDoubleQuote=l,t.openSingleQuote=d,t.closeSingleQuote=f,t.smartQuotes=p,t.wrappingInputRule=function(e,t,n,o){return new s(e,function(e,s,i,a){var u=n instanceof Function?n(s):n,c=e.tr.delete(i,a),l=c.doc.resolve(i).blockRange(),d=l&&r.findWrapping(l,t,u);if(!d)return null;c.wrap(l,d);var f=c.doc.resolve(i-1).nodeBefore;return f&&f.type==t&&r.canJoin(c.doc,i-1)&&(!o||o(s,f))&&c.join(i-1),c})},t.textblockTypeInputRule=function(e,t,n){return new s(e,function(e,o,r,s){var i=e.doc.resolve(r),a=n instanceof Function?n(o):n;return i.node(-1).canReplaceWith(i.index(-1),i.indexAfter(-1),t)?e.tr.delete(r,s).setBlockType(r,r,t,a):null})}},"./node_modules/prosemirror-keymap/dist/keymap.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=function(e){return e&&"object"==typeof e&&"default"in e?e.default:e}(n("./node_modules/w3c-keyname/index.js")),r=n("./node_modules/prosemirror-state/dist/index.js"),s="undefined"!=typeof navigator&&/Mac/.test(navigator.platform);function i(e){var t,n,o,r,i=e.split(/-(?!$)/),a=i[i.length-1];"Space"==a&&(a=" ");for(var u=0;u<i.length-1;u++){var c=i[u];if(/^(cmd|meta|m)$/i.test(c))r=!0;else if(/^a(lt)?$/i.test(c))t=!0;else if(/^(c|ctrl|control)$/i.test(c))n=!0;else if(/^s(hift)?$/i.test(c))o=!0;else{if(!/^mod$/i.test(c))throw new Error("Unrecognized modifier name: "+c);s?r=!0:n=!0}}return t&&(a="Alt-"+a),n&&(a="Ctrl-"+a),r&&(a="Meta-"+a),o&&(a="Shift-"+a),a}function a(e,t,n){return t.altKey&&(e="Alt-"+e),t.ctrlKey&&(e="Ctrl-"+e),t.metaKey&&(e="Meta-"+e),!1!==n&&t.shiftKey&&(e="Shift-"+e),e}function u(e){var t=function(e){var t=Object.create(null);for(var n in e)t[i(n)]=e[n];return t}(e);return function(e,n){var r,s=o(n),i=1==s.length&&" "!=s,u=t[a(s,n,!i)];if(u&&u(e.state,e.dispatch,e))return!0;if(i&&(n.shiftKey||n.altKey||n.metaKey)&&(r=o.base[n.keyCode])&&r!=s){var c=t[a(r,n,!0)];if(c&&c(e.state,e.dispatch,e))return!0}return!1}}t.keymap=function(e){return new r.Plugin({props:{handleKeyDown:u(e)}})},t.keydownHandler=u},"./node_modules/prosemirror-model/dist/index.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=function(e){return e&&"object"==typeof e&&"default"in e?e.default:e}(n("./node_modules/orderedmap/index.js"));var r=function(e,t){if(this.content=e,this.size=t||0,null==t)for(var n=0;n<e.length;n++)this.size+=e[n].nodeSize},s={firstChild:{},lastChild:{},childCount:{}};r.prototype.nodesBetween=function(e,t,n,o,r){void 0===o&&(o=0);for(var s=0,i=0;i<t;s++){var a=this.content[s],u=i+a.nodeSize;if(u>e&&!1!==n(a,o+i,r,s)&&a.content.size){var c=i+1;a.nodesBetween(Math.max(0,e-c),Math.min(a.content.size,t-c),n,o+c)}i=u}},r.prototype.descendants=function(e){this.nodesBetween(0,this.size,e)},r.prototype.textBetween=function(e,t,n,o){var r="",s=!0;return this.nodesBetween(e,t,function(i,a){i.isText?(r+=i.text.slice(Math.max(e,a)-a,t-a),s=!n):i.isLeaf&&o?(r+=o,s=!n):!s&&i.isBlock&&(r+=n,s=!0)},0),r},r.prototype.append=function(e){if(!e.size)return this;if(!this.size)return e;var t=this.lastChild,n=e.firstChild,o=this.content.slice(),s=0;for(t.isText&&t.sameMarkup(n)&&(o[o.length-1]=t.withText(t.text+n.text),s=1);s<e.content.length;s++)o.push(e.content[s]);return new r(o,this.size+e.size)},r.prototype.cut=function(e,t){if(null==t&&(t=this.size),0==e&&t==this.size)return this;var n=[],o=0;if(t>e)for(var s=0,i=0;i<t;s++){var a=this.content[s],u=i+a.nodeSize;u>e&&((i<e||u>t)&&(a=a.isText?a.cut(Math.max(0,e-i),Math.min(a.text.length,t-i)):a.cut(Math.max(0,e-i-1),Math.min(a.content.size,t-i-1))),n.push(a),o+=a.nodeSize),i=u}return new r(n,o)},r.prototype.cutByIndex=function(e,t){return e==t?r.empty:0==e&&t==this.content.length?this:new r(this.content.slice(e,t))},r.prototype.replaceChild=function(e,t){var n=this.content[e];if(n==t)return this;var o=this.content.slice(),s=this.size+t.nodeSize-n.nodeSize;return o[e]=t,new r(o,s)},r.prototype.addToStart=function(e){return new r([e].concat(this.content),this.size+e.nodeSize)},r.prototype.addToEnd=function(e){return new r(this.content.concat(e),this.size+e.nodeSize)},r.prototype.eq=function(e){if(this.content.length!=e.content.length)return!1;for(var t=0;t<this.content.length;t++)if(!this.content[t].eq(e.content[t]))return!1;return!0},s.firstChild.get=function(){return this.content.length?this.content[0]:null},s.lastChild.get=function(){return this.content.length?this.content[this.content.length-1]:null},s.childCount.get=function(){return this.content.length},r.prototype.child=function(e){var t=this.content[e];if(!t)throw new RangeError("Index "+e+" out of range for "+this);return t},r.prototype.maybeChild=function(e){return this.content[e]},r.prototype.forEach=function(e){for(var t=0,n=0;t<this.content.length;t++){var o=this.content[t];e(o,n,t),n+=o.nodeSize}},r.prototype.findDiffStart=function(e,t){return void 0===t&&(t=0),function e(t,n,o){for(var r=0;;r++){if(r==t.childCount||r==n.childCount)return t.childCount==n.childCount?null:o;var s=t.child(r),i=n.child(r);if(s!=i){if(!s.sameMarkup(i))return o;if(s.isText&&s.text!=i.text){for(var a=0;s.text[a]==i.text[a];a++)o++;return o}if(s.content.size||i.content.size){var u=e(s.content,i.content,o+1);if(null!=u)return u}o+=s.nodeSize}else o+=s.nodeSize}}(this,e,t)},r.prototype.findDiffEnd=function(e,t,n){return void 0===t&&(t=this.size),void 0===n&&(n=e.size),function e(t,n,o,r){for(var s=t.childCount,i=n.childCount;;){if(0==s||0==i)return s==i?null:{a:o,b:r};var a=t.child(--s),u=n.child(--i),c=a.nodeSize;if(a!=u){if(!a.sameMarkup(u))return{a:o,b:r};if(a.isText&&a.text!=u.text){for(var l=0,d=Math.min(a.text.length,u.text.length);l<d&&a.text[a.text.length-l-1]==u.text[u.text.length-l-1];)l++,o--,r--;return{a:o,b:r}}if(a.content.size||u.content.size){var f=e(a.content,u.content,o-1,r-1);if(f)return f}o-=c,r-=c}else o-=c,r-=c}}(this,e,t,n)},r.prototype.findIndex=function(e,t){if(void 0===t&&(t=-1),0==e)return a(0,e);if(e==this.size)return a(this.content.length,e);if(e>this.size||e<0)throw new RangeError("Position "+e+" outside of fragment ("+this+")");for(var n=0,o=0;;n++){var r=o+this.child(n).nodeSize;if(r>=e)return r==e||t>0?a(n+1,r):a(n,o);o=r}},r.prototype.toString=function(){return"<"+this.toStringInner()+">"},r.prototype.toStringInner=function(){return this.content.join(", ")},r.prototype.toJSON=function(){return this.content.length?this.content.map(function(e){return e.toJSON()}):null},r.fromJSON=function(e,t){if(!t)return r.empty;if(!Array.isArray(t))throw new RangeError("Invalid input for Fragment.fromJSON");return new r(t.map(e.nodeFromJSON))},r.fromArray=function(e){if(!e.length)return r.empty;for(var t,n=0,o=0;o<e.length;o++){var s=e[o];n+=s.nodeSize,o&&s.isText&&e[o-1].sameMarkup(s)?(t||(t=e.slice(0,o)),t[t.length-1]=s.withText(t[t.length-1].text+s.text)):t&&t.push(s)}return new r(t||e,n)},r.from=function(e){return e?e instanceof r?e:Array.isArray(e)?this.fromArray(e):new r([e],e.nodeSize):r.empty},Object.defineProperties(r.prototype,s);var i={index:0,offset:0};function a(e,t){return i.index=e,i.offset=t,i}function u(e,t){if(e===t)return!0;if(!e||"object"!=typeof e||!t||"object"!=typeof t)return!1;var n=Array.isArray(e);if(Array.isArray(t)!=n)return!1;if(n){if(e.length!=t.length)return!1;for(var o=0;o<e.length;o++)if(!u(e[o],t[o]))return!1}else{for(var r in e)if(!(r in t&&u(e[r],t[r])))return!1;for(var s in t)if(!(s in e))return!1}return!0}r.empty=new r([],0);var c=function(e,t){this.type=e,this.attrs=t};function l(e){var t=Error.call(this,e);return t.__proto__=l.prototype,t}c.prototype.addToSet=function(e){for(var t,n=!1,o=0;o<e.length;o++){var r=e[o];if(this.eq(r))return e;if(this.type.excludes(r.type))t||(t=e.slice(0,o));else{if(r.type.excludes(this.type))return e;!n&&r.type.rank>this.type.rank&&(t||(t=e.slice(0,o)),t.push(this),n=!0),t&&t.push(r)}}return t||(t=e.slice()),n||t.push(this),t},c.prototype.removeFromSet=function(e){for(var t=0;t<e.length;t++)if(this.eq(e[t]))return e.slice(0,t).concat(e.slice(t+1));return e},c.prototype.isInSet=function(e){for(var t=0;t<e.length;t++)if(this.eq(e[t]))return!0;return!1},c.prototype.eq=function(e){return this==e||this.type==e.type&&u(this.attrs,e.attrs)},c.prototype.toJSON=function(){var e={type:this.type.name};for(var t in this.attrs){e.attrs=this.attrs;break}return e},c.fromJSON=function(e,t){if(!t)throw new RangeError("Invalid input for Mark.fromJSON");var n=e.marks[t.type];if(!n)throw new RangeError("There is no mark type "+t.type+" in this schema");return n.create(t.attrs)},c.sameSet=function(e,t){if(e==t)return!0;if(e.length!=t.length)return!1;for(var n=0;n<e.length;n++)if(!e[n].eq(t[n]))return!1;return!0},c.setFrom=function(e){if(!e||0==e.length)return c.none;if(e instanceof c)return[e];var t=e.slice();return t.sort(function(e,t){return e.type.rank-t.type.rank}),t},c.none=[],l.prototype=Object.create(Error.prototype),l.prototype.constructor=l,l.prototype.name="ReplaceError";var d=function(e,t,n){this.content=e,this.openStart=t,this.openEnd=n},f={size:{}};function p(e,t,n){if(n.openStart>e.depth)throw new l("Inserted content deeper than insertion position");if(e.depth-n.openStart!=t.depth-n.openEnd)throw new l("Inconsistent open depths");return function e(t,n,o,s){var i=t.index(s),a=t.node(s);if(i==n.index(s)&&s<t.depth-o.openStart){var u=e(t,n,o,s+1);return a.copy(a.content.replaceChild(i,u))}if(o.content.size){if(o.openStart||o.openEnd||t.depth!=s||n.depth!=s){var c=function(e,t){for(var n=t.depth-e.openStart,o=t.node(n).copy(e.content),s=n-1;s>=0;s--)o=t.node(s).copy(r.from(o));return{start:o.resolveNoCache(e.openStart+n),end:o.resolveNoCache(o.content.size-e.openEnd-n)}}(o,t),l=c.start,d=c.end;return y(a,function e(t,n,o,s,i){var a=t.depth>i&&h(t,n,i+1);var u=s.depth>i&&h(o,s,i+1);var c=[];j(null,t,i,c);a&&u&&n.index(i)==o.index(i)?(m(a,u),v(y(a,e(t,n,o,s,i+1)),c)):(a&&v(y(a,_(t,n,i+1)),c),j(n,o,i,c),u&&v(y(u,_(o,s,i+1)),c));j(s,null,i,c);return new r(c)}(t,l,d,n,s))}var f=t.parent,p=f.content;return y(f,p.cut(0,t.parentOffset).append(o.content).append(p.cut(n.parentOffset)))}return y(a,_(t,n,s))}(e,t,n,0)}function m(e,t){if(!t.type.compatibleContent(e.type))throw new l("Cannot join "+t.type.name+" onto "+e.type.name)}function h(e,t,n){var o=e.node(n);return m(o,t.node(n)),o}function v(e,t){var n=t.length-1;n>=0&&e.isText&&e.sameMarkup(t[n])?t[n]=e.withText(t[n].text+e.text):t.push(e)}function j(e,t,n,o){var r=(t||e).node(n),s=0,i=t?t.index(n):r.childCount;e&&(s=e.index(n),e.depth>n?s++:e.textOffset&&(v(e.nodeAfter,o),s++));for(var a=s;a<i;a++)v(r.child(a),o);t&&t.depth==n&&t.textOffset&&v(t.nodeBefore,o)}function y(e,t){if(!e.type.validContent(t))throw new l("Invalid content for node "+e.type.name);return e.copy(t)}function _(e,t,n){var o=[];(j(null,e,n,o),e.depth>n)&&v(y(h(e,t,n+1),_(e,t,n+1)),o);return j(t,null,n,o),new r(o)}f.size.get=function(){return this.content.size-this.openStart-this.openEnd},d.prototype.insertAt=function(e,t){var n=function e(t,n,o,r){var s=t.findIndex(n);var i=s.index;var a=s.offset;var u=t.maybeChild(i);if(a==n||u.isText)return r&&!r.canReplace(i,i,o)?null:t.cut(0,n).append(o).append(t.cut(n));var c=e(u.content,n-a-1,o);return c&&t.replaceChild(i,u.copy(c))}(this.content,e+this.openStart,t,null);return n&&new d(n,this.openStart,this.openEnd)},d.prototype.removeBetween=function(e,t){return new d(function e(t,n,o){var r=t.findIndex(n);var s=r.index;var i=r.offset;var a=t.maybeChild(s);var u=t.findIndex(o);var c=u.index;var l=u.offset;if(i==n||a.isText){if(l!=o&&!t.child(c).isText)throw new RangeError("Removing non-flat range");return t.cut(0,n).append(t.cut(o))}if(s!=c)throw new RangeError("Removing non-flat range");return t.replaceChild(s,a.copy(e(a.content,n-i-1,o-i-1)))}(this.content,e+this.openStart,t+this.openStart),this.openStart,this.openEnd)},d.prototype.eq=function(e){return this.content.eq(e.content)&&this.openStart==e.openStart&&this.openEnd==e.openEnd},d.prototype.toString=function(){return this.content+"("+this.openStart+","+this.openEnd+")"},d.prototype.toJSON=function(){if(!this.content.size)return null;var e={content:this.content.toJSON()};return this.openStart>0&&(e.openStart=this.openStart),this.openEnd>0&&(e.openEnd=this.openEnd),e},d.fromJSON=function(e,t){if(!t)return d.empty;var n=t.openStart||0,o=t.openEnd||0;if("number"!=typeof n||"number"!=typeof o)throw new RangeError("Invalid input for Slice.fromJSON");return new d(r.fromJSON(e,t.content),t.openStart||0,t.openEnd||0)},d.maxOpen=function(e,t){void 0===t&&(t=!0);for(var n=0,o=0,r=e.firstChild;r&&!r.isLeaf&&(t||!r.type.spec.isolating);r=r.firstChild)n++;for(var s=e.lastChild;s&&!s.isLeaf&&(t||!s.type.spec.isolating);s=s.lastChild)o++;return new d(e,n,o)},Object.defineProperties(d.prototype,f),d.empty=new d(r.empty,0,0);var g=function(e,t,n){this.pos=e,this.path=t,this.depth=t.length/3-1,this.parentOffset=n},b={parent:{},doc:{},textOffset:{},nodeAfter:{},nodeBefore:{}};g.prototype.resolveDepth=function(e){return null==e?this.depth:e<0?this.depth+e:e},b.parent.get=function(){return this.node(this.depth)},b.doc.get=function(){return this.node(0)},g.prototype.node=function(e){return this.path[3*this.resolveDepth(e)]},g.prototype.index=function(e){return this.path[3*this.resolveDepth(e)+1]},g.prototype.indexAfter=function(e){return e=this.resolveDepth(e),this.index(e)+(e!=this.depth||this.textOffset?1:0)},g.prototype.start=function(e){return 0==(e=this.resolveDepth(e))?0:this.path[3*e-1]+1},g.prototype.end=function(e){return e=this.resolveDepth(e),this.start(e)+this.node(e).content.size},g.prototype.before=function(e){if(!(e=this.resolveDepth(e)))throw new RangeError("There is no position before the top-level node");return e==this.depth+1?this.pos:this.path[3*e-1]},g.prototype.after=function(e){if(!(e=this.resolveDepth(e)))throw new RangeError("There is no position after the top-level node");return e==this.depth+1?this.pos:this.path[3*e-1]+this.path[3*e].nodeSize},b.textOffset.get=function(){return this.pos-this.path[this.path.length-1]},b.nodeAfter.get=function(){var e=this.parent,t=this.index(this.depth);if(t==e.childCount)return null;var n=this.pos-this.path[this.path.length-1],o=e.child(t);return n?e.child(t).cut(n):o},b.nodeBefore.get=function(){var e=this.index(this.depth),t=this.pos-this.path[this.path.length-1];return t?this.parent.child(e).cut(0,t):0==e?null:this.parent.child(e-1)},g.prototype.marks=function(){var e=this.parent,t=this.index();if(0==e.content.size)return c.none;if(this.textOffset)return e.child(t).marks;var n=e.maybeChild(t-1),o=e.maybeChild(t);if(!n){var r=n;n=o,o=r}for(var s=n.marks,i=0;i<s.length;i++)!1!==s[i].type.spec.inclusive||o&&s[i].isInSet(o.marks)||(s=s[i--].removeFromSet(s));return s},g.prototype.marksAcross=function(e){var t=this.parent.maybeChild(this.index());if(!t||!t.isInline)return null;for(var n=t.marks,o=e.parent.maybeChild(e.index()),r=0;r<n.length;r++)!1!==n[r].type.spec.inclusive||o&&n[r].isInSet(o.marks)||(n=n[r--].removeFromSet(n));return n},g.prototype.sharedDepth=function(e){for(var t=this.depth;t>0;t--)if(this.start(t)<=e&&this.end(t)>=e)return t;return 0},g.prototype.blockRange=function(e,t){if(void 0===e&&(e=this),e.pos<this.pos)return e.blockRange(this);for(var n=this.depth-(this.parent.inlineContent||this.pos==e.pos?1:0);n>=0;n--)if(e.pos<=this.end(n)&&(!t||t(this.node(n))))return new S(this,e,n)},g.prototype.sameParent=function(e){return this.pos-this.parentOffset==e.pos-e.parentOffset},g.prototype.max=function(e){return e.pos>this.pos?e:this},g.prototype.min=function(e){return e.pos<this.pos?e:this},g.prototype.toString=function(){for(var e="",t=1;t<=this.depth;t++)e+=(e?"/":"")+this.node(t).type.name+"_"+this.index(t-1);return e+":"+this.parentOffset},g.resolve=function(e,t){if(!(t>=0&&t<=e.content.size))throw new RangeError("Position "+t+" out of range");for(var n=[],o=0,r=t,s=e;;){var i=s.content.findIndex(r),a=i.index,u=i.offset,c=r-u;if(n.push(s,a,o+u),!c)break;if((s=s.child(a)).isText)break;r=c-1,o+=u+1}return new g(t,n,r)},g.resolveCached=function(e,t){for(var n=0;n<w.length;n++){var o=w[n];if(o.pos==t&&o.doc==e)return o}var r=w[x]=g.resolve(e,t);return x=(x+1)%k,r},Object.defineProperties(g.prototype,b);var w=[],x=0,k=12,S=function(e,t,n){this.$from=e,this.$to=t,this.depth=n},O={start:{},end:{},parent:{},startIndex:{},endIndex:{}};O.start.get=function(){return this.$from.before(this.depth+1)},O.end.get=function(){return this.$to.after(this.depth+1)},O.parent.get=function(){return this.$from.node(this.depth)},O.startIndex.get=function(){return this.$from.index(this.depth)},O.endIndex.get=function(){return this.$to.indexAfter(this.depth)},Object.defineProperties(S.prototype,O);var C=Object.create(null),M=function(e,t,n,o){this.type=e,this.attrs=t,this.content=n||r.empty,this.marks=o||c.none},A={nodeSize:{},childCount:{},textContent:{},firstChild:{},lastChild:{},isBlock:{},isTextblock:{},inlineContent:{},isInline:{},isText:{},isLeaf:{},isAtom:{}};A.nodeSize.get=function(){return this.isLeaf?1:2+this.content.size},A.childCount.get=function(){return this.content.childCount},M.prototype.child=function(e){return this.content.child(e)},M.prototype.maybeChild=function(e){return this.content.maybeChild(e)},M.prototype.forEach=function(e){this.content.forEach(e)},M.prototype.nodesBetween=function(e,t,n,o){void 0===o&&(o=0),this.content.nodesBetween(e,t,n,o,this)},M.prototype.descendants=function(e){this.nodesBetween(0,this.content.size,e)},A.textContent.get=function(){return this.textBetween(0,this.content.size,"")},M.prototype.textBetween=function(e,t,n,o){return this.content.textBetween(e,t,n,o)},A.firstChild.get=function(){return this.content.firstChild},A.lastChild.get=function(){return this.content.lastChild},M.prototype.eq=function(e){return this==e||this.sameMarkup(e)&&this.content.eq(e.content)},M.prototype.sameMarkup=function(e){return this.hasMarkup(e.type,e.attrs,e.marks)},M.prototype.hasMarkup=function(e,t,n){return this.type==e&&u(this.attrs,t||e.defaultAttrs||C)&&c.sameSet(this.marks,n||c.none)},M.prototype.copy=function(e){return void 0===e&&(e=null),e==this.content?this:new this.constructor(this.type,this.attrs,e,this.marks)},M.prototype.mark=function(e){return e==this.marks?this:new this.constructor(this.type,this.attrs,this.content,e)},M.prototype.cut=function(e,t){return 0==e&&t==this.content.size?this:this.copy(this.content.cut(e,t))},M.prototype.slice=function(e,t,n){if(void 0===t&&(t=this.content.size),void 0===n&&(n=!1),e==t)return d.empty;var o=this.resolve(e),r=this.resolve(t),s=n?0:o.sharedDepth(t),i=o.start(s),a=o.node(s).content.cut(o.pos-i,r.pos-i);return new d(a,o.depth-s,r.depth-s)},M.prototype.replace=function(e,t,n){return p(this.resolve(e),this.resolve(t),n)},M.prototype.nodeAt=function(e){for(var t=this;;){var n=t.content.findIndex(e),o=n.index,r=n.offset;if(!(t=t.maybeChild(o)))return null;if(r==e||t.isText)return t;e-=r+1}},M.prototype.childAfter=function(e){var t=this.content.findIndex(e),n=t.index,o=t.offset;return{node:this.content.maybeChild(n),index:n,offset:o}},M.prototype.childBefore=function(e){if(0==e)return{node:null,index:0,offset:0};var t=this.content.findIndex(e),n=t.index,o=t.offset;if(o<e)return{node:this.content.child(n),index:n,offset:o};var r=this.content.child(n-1);return{node:r,index:n-1,offset:o-r.nodeSize}},M.prototype.resolve=function(e){return g.resolveCached(this,e)},M.prototype.resolveNoCache=function(e){return g.resolve(this,e)},M.prototype.rangeHasMark=function(e,t,n){var o=!1;return t>e&&this.nodesBetween(e,t,function(e){return n.isInSet(e.marks)&&(o=!0),!o}),o},A.isBlock.get=function(){return this.type.isBlock},A.isTextblock.get=function(){return this.type.isTextblock},A.inlineContent.get=function(){return this.type.inlineContent},A.isInline.get=function(){return this.type.isInline},A.isText.get=function(){return this.type.isText},A.isLeaf.get=function(){return this.type.isLeaf},A.isAtom.get=function(){return this.type.isAtom},M.prototype.toString=function(){if(this.type.spec.toDebugString)return this.type.spec.toDebugString(this);var e=this.type.name;return this.content.size&&(e+="("+this.content.toStringInner()+")"),E(this.marks,e)},M.prototype.contentMatchAt=function(e){return this.type.contentMatch.matchFragment(this.content,0,e)},M.prototype.canReplace=function(e,t,n,o,s){void 0===n&&(n=r.empty),void 0===o&&(o=0),void 0===s&&(s=n.childCount);var i=this.contentMatchAt(e).matchFragment(n,o,s),a=i&&i.matchFragment(this.content,t);if(!a||!a.validEnd)return!1;for(var u=o;u<s;u++)if(!this.type.allowsMarks(n.child(u).marks))return!1;return!0},M.prototype.canReplaceWith=function(e,t,n,o){if(o&&!this.type.allowsMarks(o))return!1;var r=this.contentMatchAt(e).matchType(n),s=r&&r.matchFragment(this.content,t);return!!s&&s.validEnd},M.prototype.canAppend=function(e){return e.content.size?this.canReplace(this.childCount,this.childCount,e.content):this.type.compatibleContent(e.type)},M.prototype.defaultContentType=function(e){return this.contentMatchAt(e).defaultType},M.prototype.check=function(){if(!this.type.validContent(this.content))throw new RangeError("Invalid content for node "+this.type.name+": "+this.content.toString().slice(0,50));this.content.forEach(function(e){return e.check()})},M.prototype.toJSON=function(){var e={type:this.type.name};for(var t in this.attrs){e.attrs=this.attrs;break}return this.content.size&&(e.content=this.content.toJSON()),this.marks.length&&(e.marks=this.marks.map(function(e){return e.toJSON()})),e},M.fromJSON=function(e,t){if(!t)throw new RangeError("Invalid input for Node.fromJSON");var n=null;if(t.marks){if(!Array.isArray(t.marks))throw new RangeError("Invalid mark data for Node.fromJSON");n=t.marks.map(e.markFromJSON)}if("text"==t.type){if("string"!=typeof t.text)throw new RangeError("Invalid text node in JSON");return e.text(t.text,n)}var o=r.fromJSON(e,t.content);return e.nodeType(t.type).create(t.attrs,o,n)},Object.defineProperties(M.prototype,A);var T=function(e){function t(t,n,o,r){if(e.call(this,t,n,null,r),!o)throw new RangeError("Empty text nodes are not allowed");this.text=o}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var n={textContent:{},nodeSize:{}};return t.prototype.toString=function(){return this.type.spec.toDebugString?this.type.spec.toDebugString(this):E(this.marks,JSON.stringify(this.text))},n.textContent.get=function(){return this.text},t.prototype.textBetween=function(e,t){return this.text.slice(e,t)},n.nodeSize.get=function(){return this.text.length},t.prototype.mark=function(e){return e==this.marks?this:new t(this.type,this.attrs,this.text,e)},t.prototype.withText=function(e){return e==this.text?this:new t(this.type,this.attrs,e,this.marks)},t.prototype.cut=function(e,t){return void 0===e&&(e=0),void 0===t&&(t=this.text.length),0==e&&t==this.text.length?this:this.withText(this.text.slice(e,t))},t.prototype.eq=function(e){return this.sameMarkup(e)&&this.text==e.text},t.prototype.toJSON=function(){var t=e.prototype.toJSON.call(this);return t.text=this.text,t},Object.defineProperties(t.prototype,n),t}(M);function E(e,t){for(var n=e.length-1;n>=0;n--)t=e[n].type.name+"("+t+")";return t}var N=function(e){this.validEnd=e,this.next=[],this.wrapCache=[]},P={inlineContent:{},defaultType:{},edgeCount:{}};N.parse=function(e,t){var n=new I(e,t);if(null==n.next)return N.empty;var o=R(n);n.next&&n.err("Unexpected trailing text");var r=function(e){var t=Object.create(null);return function n(o){var r=[];o.forEach(function(t){e[t].forEach(function(t){var n=t.term,o=t.to;if(n){var s=r.indexOf(n),i=s>-1&&r[s+1];V(e,o).forEach(function(e){i||r.push(n,i=[]),-1==i.indexOf(e)&&i.push(e)})}})});var s=t[o.join(",")]=new N(o.indexOf(e.length-1)>-1);for(var i=0;i<r.length;i+=2){var a=r[i+1].sort(B);s.next.push(r[i],t[a.join(",")]||n(a))}return s}(V(e,0))}(function(e){var t=[[]];return r(function e(t,s){if("choice"==t.type)return t.exprs.reduce(function(t,n){return t.concat(e(n,s))},[]);if("seq"==t.type)for(var i=0;;i++){var a=e(t.exprs[i],s);if(i==t.exprs.length-1)return a;r(a,s=n())}else{if("star"==t.type){var u=n();return o(s,u),r(e(t.expr,u),u),[o(u)]}if("plus"==t.type){var c=n();return r(e(t.expr,s),c),r(e(t.expr,c),c),[o(c)]}if("opt"==t.type)return[o(s)].concat(e(t.expr,s));if("range"==t.type){for(var l=s,d=0;d<t.min;d++){var f=n();r(e(t.expr,l),f),l=f}if(-1==t.max)r(e(t.expr,l),l);else for(var p=t.min;p<t.max;p++){var m=n();o(l,m),r(e(t.expr,l),m),l=m}return[o(l)]}if("name"==t.type)return[o(s,null,t.value)]}}(e,0),n()),t;function n(){return t.push([])-1}function o(e,n,o){var r={term:o,to:n};return t[e].push(r),r}function r(e,t){e.forEach(function(e){return e.to=t})}}(o));return function(e,t){for(var n=0,o=[e];n<o.length;n++){for(var r=o[n],s=!r.validEnd,i=[],a=0;a<r.next.length;a+=2){var u=r.next[a],c=r.next[a+1];i.push(u.name),!s||u.isText||u.hasRequiredAttrs()||(s=!1),-1==o.indexOf(c)&&o.push(c)}s&&t.err("Only non-generatable nodes ("+i.join(", ")+") in a required position")}}(r,n),r},N.prototype.matchType=function(e){for(var t=0;t<this.next.length;t+=2)if(this.next[t]==e)return this.next[t+1];return null},N.prototype.matchFragment=function(e,t,n){void 0===t&&(t=0),void 0===n&&(n=e.childCount);for(var o=this,r=t;o&&r<n;r++)o=o.matchType(e.child(r).type);return o},P.inlineContent.get=function(){var e=this.next[0];return!!e&&e.isInline},P.defaultType.get=function(){for(var e=0;e<this.next.length;e+=2){var t=this.next[e];if(!t.isText&&!t.hasRequiredAttrs())return t}},N.prototype.compatible=function(e){for(var t=0;t<this.next.length;t+=2)for(var n=0;n<e.next.length;n+=2)if(this.next[t]==e.next[n])return!0;return!1},N.prototype.fillBefore=function(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=0);var o=[this];return function s(i,a){var u=i.matchFragment(e,n);if(u&&(!t||u.validEnd))return r.from(a.map(function(e){return e.createAndFill()}));for(var c=0;c<i.next.length;c+=2){var l=i.next[c],d=i.next[c+1];if(!l.isText&&!l.hasRequiredAttrs()&&-1==o.indexOf(d)){o.push(d);var f=s(d,a.concat(l));if(f)return f}}}(this,[])},N.prototype.findWrapping=function(e){for(var t=0;t<this.wrapCache.length;t+=2)if(this.wrapCache[t]==e)return this.wrapCache[t+1];var n=this.computeWrapping(e);return this.wrapCache.push(e,n),n},N.prototype.computeWrapping=function(e){for(var t=Object.create(null),n=[{match:this,type:null,via:null}];n.length;){var o=n.shift(),r=o.match;if(r.matchType(e)){for(var s=[],i=o;i.type;i=i.via)s.push(i.type);return s.reverse()}for(var a=0;a<r.next.length;a+=2){var u=r.next[a];u.isLeaf||u.name in t||o.type&&!r.next[a+1].validEnd||(n.push({match:u.contentMatch,type:u,via:o}),t[u.name]=!0)}}},P.edgeCount.get=function(){return this.next.length>>1},N.prototype.edge=function(e){var t=e<<1;if(t>this.next.length)throw new RangeError("There's no "+e+"th edge in this content match");return{type:this.next[t],next:this.next[t+1]}},N.prototype.toString=function(){var e=[];return function t(n){e.push(n);for(var o=1;o<n.next.length;o+=2)-1==e.indexOf(n.next[o])&&t(n.next[o])}(this),e.map(function(t,n){for(var o=n+(t.validEnd?"*":" ")+" ",r=0;r<t.next.length;r+=2)o+=(r?", ":"")+t.next[r].name+"->"+e.indexOf(t.next[r+1]);return o}).join("\n")},Object.defineProperties(N.prototype,P),N.empty=new N(!0);var I=function(e,t){this.string=e,this.nodeTypes=t,this.inline=null,this.pos=0,this.tokens=e.split(/\s*(?=\b|\W|$)/),""==this.tokens[this.tokens.length-1]&&this.tokens.pop(),""==this.tokens[0]&&this.tokens.unshift()},D={next:{}};function R(e){var t=[];do{t.push($(e))}while(e.eat("|"));return 1==t.length?t[0]:{type:"choice",exprs:t}}function $(e){var t=[];do{t.push(F(e))}while(e.next&&")"!=e.next&&"|"!=e.next);return 1==t.length?t[0]:{type:"seq",exprs:t}}function F(e){for(var t=function(e){if(e.eat("(")){var t=R(e);return e.eat(")")||e.err("Missing closing paren"),t}if(!/\W/.test(e.next)){var n=function(e,t){var n=e.nodeTypes,o=n[t];if(o)return[o];var r=[];for(var s in n){var i=n[s];i.groups.indexOf(t)>-1&&r.push(i)}0==r.length&&e.err("No node type or group '"+t+"' found");return r}(e,e.next).map(function(t){return null==e.inline?e.inline=t.isInline:e.inline!=t.isInline&&e.err("Mixing inline and block content"),{type:"name",value:t}});return e.pos++,1==n.length?n[0]:{type:"choice",exprs:n}}e.err("Unexpected token '"+e.next+"'")}(e);;)if(e.eat("+"))t={type:"plus",expr:t};else if(e.eat("*"))t={type:"star",expr:t};else if(e.eat("?"))t={type:"opt",expr:t};else{if(!e.eat("{"))break;t=z(e,t)}return t}function L(e){/\D/.test(e.next)&&e.err("Expected number, got '"+e.next+"'");var t=Number(e.next);return e.pos++,t}function z(e,t){var n=L(e),o=n;return e.eat(",")&&(o="}"!=e.next?L(e):-1),e.eat("}")||e.err("Unclosed braced range"),{type:"range",min:n,max:o,expr:t}}function B(e,t){return e-t}function V(e,t){var n=[];return function t(o){var r=e[o];if(1==r.length&&!r[0].term)return t(r[0].to);n.push(o);for(var s=0;s<r.length;s++){var i=r[s],a=i.term,u=i.to;a||-1!=n.indexOf(u)||t(u)}}(t),n.sort(B)}function W(e){var t=Object.create(null);for(var n in e){var o=e[n];if(!o.hasDefault)return null;t[n]=o.default}return t}function J(e,t){var n=Object.create(null);for(var o in e){var r=t&&t[o];if(void 0===r){var s=e[o];if(!s.hasDefault)throw new RangeError("No value supplied for attribute "+o);r=s.default}n[o]=r}return n}function U(e){var t=Object.create(null);if(e)for(var n in e)t[n]=new q(e[n]);return t}D.next.get=function(){return this.tokens[this.pos]},I.prototype.eat=function(e){return this.next==e&&(this.pos++||!0)},I.prototype.err=function(e){throw new SyntaxError(e+" (in content expression '"+this.string+"')")},Object.defineProperties(I.prototype,D);var K=function(e,t,n){this.name=e,this.schema=t,this.spec=n,this.groups=n.group?n.group.split(" "):[],this.attrs=U(n.attrs),this.defaultAttrs=W(this.attrs),this.contentMatch=null,this.markSet=null,this.inlineContent=null,this.isBlock=!(n.inline||"text"==e),this.isText="text"==e},H={isInline:{},isTextblock:{},isLeaf:{},isAtom:{}};H.isInline.get=function(){return!this.isBlock},H.isTextblock.get=function(){return this.isBlock&&this.inlineContent},H.isLeaf.get=function(){return this.contentMatch==N.empty},H.isAtom.get=function(){return this.isLeaf||this.spec.atom},K.prototype.hasRequiredAttrs=function(e){for(var t in this.attrs)if(this.attrs[t].isRequired&&(!e||!(t in e)))return!0;return!1},K.prototype.compatibleContent=function(e){return this==e||this.contentMatch.compatible(e.contentMatch)},K.prototype.computeAttrs=function(e){return!e&&this.defaultAttrs?this.defaultAttrs:J(this.attrs,e)},K.prototype.create=function(e,t,n){if(this.isText)throw new Error("NodeType.create can't construct text nodes");return new M(this,this.computeAttrs(e),r.from(t),c.setFrom(n))},K.prototype.createChecked=function(e,t,n){if(t=r.from(t),!this.validContent(t))throw new RangeError("Invalid content for node "+this.name);return new M(this,this.computeAttrs(e),t,c.setFrom(n))},K.prototype.createAndFill=function(e,t,n){if(e=this.computeAttrs(e),(t=r.from(t)).size){var o=this.contentMatch.fillBefore(t);if(!o)return null;t=o.append(t)}var s=this.contentMatch.matchFragment(t).fillBefore(r.empty,!0);return s?new M(this,e,t.append(s),c.setFrom(n)):null},K.prototype.validContent=function(e){var t=this.contentMatch.matchFragment(e);if(!t||!t.validEnd)return!1;for(var n=0;n<e.childCount;n++)if(!this.allowsMarks(e.child(n).marks))return!1;return!0},K.prototype.allowsMarkType=function(e){return null==this.markSet||this.markSet.indexOf(e)>-1},K.prototype.allowsMarks=function(e){if(null==this.markSet)return!0;for(var t=0;t<e.length;t++)if(!this.allowsMarkType(e[t].type))return!1;return!0},K.prototype.allowedMarks=function(e){var t;if(null==this.markSet)return e;for(var n=0;n<e.length;n++)this.allowsMarkType(e[n].type)?t&&t.push(e[n]):t||(t=e.slice(0,n));return t?t.length?t:c.empty:e},K.compile=function(e,t){var n=Object.create(null);e.forEach(function(e,o){return n[e]=new K(e,t,o)});var o=t.spec.topNode||"doc";if(!n[o])throw new RangeError("Schema is missing its top node type ('"+o+"')");if(!n.text)throw new RangeError("Every schema needs a 'text' type");for(var r in n.text.attrs)throw new RangeError("The text node type should not have attributes");return n},Object.defineProperties(K.prototype,H);var q=function(e){this.hasDefault=Object.prototype.hasOwnProperty.call(e,"default"),this.default=e.default},G={isRequired:{}};G.isRequired.get=function(){return!this.hasDefault},Object.defineProperties(q.prototype,G);var X=function(e,t,n,o){this.name=e,this.schema=n,this.spec=o,this.attrs=U(o.attrs),this.rank=t,this.excluded=null;var r=W(this.attrs);this.instance=r&&new c(this,r)};X.prototype.create=function(e){return!e&&this.instance?this.instance:new c(this,J(this.attrs,e))},X.compile=function(e,t){var n=Object.create(null),o=0;return e.forEach(function(e,r){return n[e]=new X(e,o++,t,r)}),n},X.prototype.removeFromSet=function(e){for(var t=0;t<e.length;t++)if(e[t].type==this)return e.slice(0,t).concat(e.slice(t+1));return e},X.prototype.isInSet=function(e){for(var t=0;t<e.length;t++)if(e[t].type==this)return e[t]},X.prototype.excludes=function(e){return this.excluded.indexOf(e)>-1};var Y=function(e){for(var t in this.spec={},e)this.spec[t]=e[t];this.spec.nodes=o.from(e.nodes),this.spec.marks=o.from(e.marks),this.nodes=K.compile(this.spec.nodes,this),this.marks=X.compile(this.spec.marks,this);var n=Object.create(null);for(var r in this.nodes){if(r in this.marks)throw new RangeError(r+" can not be both a node and a mark");var s=this.nodes[r],i=s.spec.content||"",a=s.spec.marks;s.contentMatch=n[i]||(n[i]=N.parse(i,this.nodes)),s.inlineContent=s.contentMatch.inlineContent,s.markSet="_"==a?null:a?Q(this,a.split(" ")):""!=a&&s.inlineContent?null:[]}for(var u in this.marks){var c=this.marks[u],l=c.spec.excludes;c.excluded=null==l?[c]:""==l?[]:Q(this,l.split(" "))}this.nodeFromJSON=this.nodeFromJSON.bind(this),this.markFromJSON=this.markFromJSON.bind(this),this.topNodeType=this.nodes[this.spec.topNode||"doc"],this.cached=Object.create(null),this.cached.wrappings=Object.create(null)};function Q(e,t){for(var n=[],o=0;o<t.length;o++){var r=t[o],s=e.marks[r],i=s;if(s)n.push(s);else for(var a in e.marks){var u=e.marks[a];("_"==r||u.spec.group&&u.spec.group.split(" ").indexOf(r)>-1)&&n.push(i=u)}if(!i)throw new SyntaxError("Unknown mark type: '"+t[o]+"'")}return n}Y.prototype.node=function(e,t,n,o){if("string"==typeof e)e=this.nodeType(e);else{if(!(e instanceof K))throw new RangeError("Invalid node type: "+e);if(e.schema!=this)throw new RangeError("Node type from different schema used ("+e.name+")")}return e.createChecked(t,n,o)},Y.prototype.text=function(e,t){var n=this.nodes.text;return new T(n,n.defaultAttrs,e,c.setFrom(t))},Y.prototype.mark=function(e,t){return"string"==typeof e&&(e=this.marks[e]),e.create(t)},Y.prototype.nodeFromJSON=function(e){return M.fromJSON(this,e)},Y.prototype.markFromJSON=function(e){return c.fromJSON(this,e)},Y.prototype.nodeType=function(e){var t=this.nodes[e];if(!t)throw new RangeError("Unknown node type: "+e);return t};var Z=function(e,t){var n=this;this.schema=e,this.rules=t,this.tags=[],this.styles=[],t.forEach(function(e){e.tag?n.tags.push(e):e.style&&n.styles.push(e)})};Z.prototype.parse=function(e,t){void 0===t&&(t={});var n=new ae(this,t,!1);return n.addAll(e,null,t.from,t.to),n.finish()},Z.prototype.parseSlice=function(e,t){void 0===t&&(t={});var n=new ae(this,t,!0);return n.addAll(e,null,t.from,t.to),d.maxOpen(n.finish())},Z.prototype.matchTag=function(e,t){for(var n=0;n<this.tags.length;n++){var o=this.tags[n];if(ce(e,o.tag)&&(void 0===o.namespace||e.namespaceURI==o.namespace)&&(!o.context||t.matchesContext(o.context))){if(o.getAttrs){var r=o.getAttrs(e);if(!1===r)continue;o.attrs=r}return o}}},Z.prototype.matchStyle=function(e,t,n){for(var o=0;o<this.styles.length;o++){var r=this.styles[o];if(!(0!=r.style.indexOf(e)||r.context&&!n.matchesContext(r.context)||r.style.length>e.length&&(61!=r.style.charCodeAt(e.length)||r.style.slice(e.length+1)!=t))){if(r.getAttrs){var s=r.getAttrs(t);if(!1===s)continue;r.attrs=s}return r}}},Z.schemaRules=function(e){var t=[];function n(e){for(var n=null==e.priority?50:e.priority,o=0;o<t.length;o++){var r=t[o];if((null==r.priority?50:r.priority)<n)break}t.splice(o,0,e)}var o=function(t){var o=e.marks[t].spec.parseDOM;o&&o.forEach(function(e){n(e=le(e)),e.mark=t})};for(var r in e.marks)o(r);var s=function(t){var o=e.nodes[i].spec.parseDOM;o&&o.forEach(function(e){n(e=le(e)),e.node=i})};for(var i in e.nodes)s();return t},Z.fromSchema=function(e){return e.cached.domParser||(e.cached.domParser=new Z(e,Z.schemaRules(e)))};var ee={address:!0,article:!0,aside:!0,blockquote:!0,canvas:!0,dd:!0,div:!0,dl:!0,fieldset:!0,figcaption:!0,figure:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,li:!0,noscript:!0,ol:!0,output:!0,p:!0,pre:!0,section:!0,table:!0,tfoot:!0,ul:!0},te={head:!0,noscript:!0,object:!0,script:!0,style:!0,title:!0},ne={ol:!0,ul:!0},oe=1,re=2;function se(e){return(e?oe:0)|("full"===e?re:0)}var ie=function(e,t,n,o,r,s){this.type=e,this.attrs=t,this.solid=o,this.match=r||(4&s?null:e.contentMatch),this.options=s,this.content=[],this.marks=n,this.activeMarks=c.none};ie.prototype.findWrapping=function(e){if(!this.match){if(!this.type)return[];var t=this.type.contentMatch.fillBefore(r.from(e));if(!t){var n,o=this.type.contentMatch;return(n=o.findWrapping(e.type))?(this.match=o,n):null}this.match=this.type.contentMatch.matchFragment(t)}return this.match.findWrapping(e.type)},ie.prototype.finish=function(e){if(!(this.options&oe)){var t,n=this.content[this.content.length-1];n&&n.isText&&(t=/\s+$/.exec(n.text))&&(n.text.length==t[0].length?this.content.pop():this.content[this.content.length-1]=n.withText(n.text.slice(0,n.text.length-t[0].length)))}var o=r.from(this.content);return!e&&this.match&&(o=o.append(this.match.fillBefore(r.empty,!0))),this.type?this.type.create(this.attrs,o,this.marks):o};var ae=function(e,t,n){this.parser=e,this.options=t,this.isOpen=n,this.pendingMarks=[];var o,r=t.topNode,s=se(t.preserveWhitespace)|(n?4:0);o=r?new ie(r.type,r.attrs,c.none,!0,t.topMatch||r.type.contentMatch,s):new ie(n?null:e.schema.topNodeType,null,c.none,!0,null,s),this.nodes=[o],this.open=0,this.find=t.findPositions,this.needsBlock=!1},ue={top:{},currentPos:{}};function ce(e,t){return(e.matches||e.msMatchesSelector||e.webkitMatchesSelector||e.mozMatchesSelector).call(e,t)}function le(e){var t={};for(var n in e)t[n]=e[n];return t}ue.top.get=function(){return this.nodes[this.open]},ae.prototype.addDOM=function(e){if(3==e.nodeType)this.addTextNode(e);else if(1==e.nodeType){var t=e.getAttribute("style"),n=t?this.readStyles(function(e){var t,n=/\s*([\w-]+)\s*:\s*([^;]+)/g,o=[];for(;t=n.exec(e);)o.push(t[1],t[2].trim());return o}(t)):null;if(null!=n)for(var o=0;o<n.length;o++)this.addPendingMark(n[o]);if(this.addElement(e),null!=n)for(var r=0;r<n.length;r++)this.removePendingMark(n[r])}},ae.prototype.addTextNode=function(e){var t=e.nodeValue,n=this.top;if((n.type?n.type.inlineContent:n.content.length&&n.content[0].isInline)||/\S/.test(t)){if(n.options&oe)n.options&re||(t=t.replace(/\r?\n|\r/g," "));else if(t=t.replace(/\s+/g," "),/^\s/.test(t)&&this.open==this.nodes.length-1){var o=n.content[n.content.length-1];(!o||o.isText&&/\s$/.test(o.text))&&(t=t.slice(1))}t&&this.insertNode(this.parser.schema.text(t)),this.findInText(e)}else this.findInside(e)},ae.prototype.addElement=function(e){var t=e.nodeName.toLowerCase();ne.hasOwnProperty(t)&&function(e){for(var t=e.firstChild,n=null;t;t=t.nextSibling){var o=1==t.nodeType?t.nodeName.toLowerCase():null;o&&ne.hasOwnProperty(o)&&n?(n.appendChild(t),t=n):"li"==o?n=t:o&&(n=null)}}(e);var n=this.options.ruleFromNode&&this.options.ruleFromNode(e)||this.parser.matchTag(e,this);if(n?n.ignore:te.hasOwnProperty(t))this.findInside(e);else if(!n||n.skip){n&&n.skip.nodeType&&(e=n.skip);var o,r=this.top,s=this.needsBlock;ee.hasOwnProperty(t)&&(o=!0,r.type||(this.needsBlock=!0)),this.addAll(e),o&&this.sync(r),this.needsBlock=s}else this.addElementByRule(e,n)},ae.prototype.readStyles=function(e){for(var t=c.none,n=0;n<e.length;n+=2){var o=this.parser.matchStyle(e[n],e[n+1],this);if(o){if(o.ignore)return null;t=this.parser.schema.marks[o.mark].create(o.attrs).addToSet(t)}}return t},ae.prototype.addElementByRule=function(e,t){var n,o,r,s=this;t.node?(o=this.parser.schema.nodes[t.node]).isLeaf?this.insertNode(o.create(t.attrs)):n=this.enter(o,t.attrs,t.preserveWhitespace):(r=this.parser.schema.marks[t.mark].create(t.attrs),this.addPendingMark(r));var i=this.top;if(o&&o.isLeaf)this.findInside(e);else if(t.getContent)this.findInside(e),t.getContent(e,this.parser.schema).forEach(function(e){return s.insertNode(e)});else{var a=t.contentElement;"string"==typeof a?a=e.querySelector(a):"function"==typeof a&&(a=a(e)),a||(a=e),this.findAround(e,a,!0),this.addAll(a,n)}return n&&(this.sync(i),this.open--),r&&this.removePendingMark(r),!0},ae.prototype.addAll=function(e,t,n,o){for(var r=n||0,s=n?e.childNodes[n]:e.firstChild,i=null==o?null:e.childNodes[o];s!=i;s=s.nextSibling,++r)this.findAtPoint(e,r),this.addDOM(s),t&&ee.hasOwnProperty(s.nodeName.toLowerCase())&&this.sync(t);this.findAtPoint(e,r)},ae.prototype.findPlace=function(e){for(var t,n,o=this.open;o>=0;o--){var r=this.nodes[o],s=r.findWrapping(e);if(s&&(!t||t.length>s.length)&&(t=s,n=r,!s.length))break;if(r.solid)break}if(!t)return!1;this.sync(n);for(var i=0;i<t.length;i++)this.enterInner(t[i],null,!1);return!0},ae.prototype.insertNode=function(e){if(e.isInline&&this.needsBlock&&!this.top.type){var t=this.textblockFromContext();t&&this.enterInner(t)}if(this.findPlace(e)){this.closeExtra();var n=this.top;this.applyPendingMarks(n),n.match&&(n.match=n.match.matchType(e.type));for(var o=n.activeMarks,r=0;r<e.marks.length;r++)n.type&&!n.type.allowsMarkType(e.marks[r].type)||(o=e.marks[r].addToSet(o));n.content.push(e.mark(o))}},ae.prototype.applyPendingMarks=function(e){for(var t=0;t<this.pendingMarks.length;t++){var n=this.pendingMarks[t];e.type&&!e.type.allowsMarkType(n.type)||n.type.isInSet(e.activeMarks)||(e.activeMarks=n.addToSet(e.activeMarks),this.pendingMarks.splice(t--,1))}},ae.prototype.enter=function(e,t,n){var o=this.findPlace(e.create(t));return o&&(this.applyPendingMarks(this.top),this.enterInner(e,t,!0,n)),o},ae.prototype.enterInner=function(e,t,n,o){this.closeExtra();var r=this.top;r.match=r.match&&r.match.matchType(e,t);var s=null==o?-5&r.options:se(o);4&r.options&&0==r.content.length&&(s|=4),this.nodes.push(new ie(e,t,r.activeMarks,n,null,s)),this.open++},ae.prototype.closeExtra=function(e){var t=this.nodes.length-1;if(t>this.open){for(;t>this.open;t--)this.nodes[t-1].content.push(this.nodes[t].finish(e));this.nodes.length=this.open+1}},ae.prototype.finish=function(){return this.open=0,this.closeExtra(this.isOpen),this.nodes[0].finish(this.isOpen||this.options.topOpen)},ae.prototype.sync=function(e){for(var t=this.open;t>=0;t--)if(this.nodes[t]==e)return void(this.open=t)},ae.prototype.addPendingMark=function(e){this.pendingMarks.push(e)},ae.prototype.removePendingMark=function(e){var t=this.pendingMarks.lastIndexOf(e);if(t>-1)this.pendingMarks.splice(t,1);else{var n=this.top;n.activeMarks=e.removeFromSet(n.activeMarks)}},ue.currentPos.get=function(){this.closeExtra();for(var e=0,t=this.open;t>=0;t--){for(var n=this.nodes[t].content,o=n.length-1;o>=0;o--)e+=n[o].nodeSize;t&&e++}return e},ae.prototype.findAtPoint=function(e,t){if(this.find)for(var n=0;n<this.find.length;n++)this.find[n].node==e&&this.find[n].offset==t&&(this.find[n].pos=this.currentPos)},ae.prototype.findInside=function(e){if(this.find)for(var t=0;t<this.find.length;t++)null==this.find[t].pos&&1==e.nodeType&&e.contains(this.find[t].node)&&(this.find[t].pos=this.currentPos)},ae.prototype.findAround=function(e,t,n){if(e!=t&&this.find)for(var o=0;o<this.find.length;o++){if(null==this.find[o].pos&&1==e.nodeType&&e.contains(this.find[o].node))t.compareDocumentPosition(this.find[o].node)&(n?2:4)&&(this.find[o].pos=this.currentPos)}},ae.prototype.findInText=function(e){if(this.find)for(var t=0;t<this.find.length;t++)this.find[t].node==e&&(this.find[t].pos=this.currentPos-(e.nodeValue.length-this.find[t].offset))},ae.prototype.matchesContext=function(e){var t=this;if(e.indexOf("|")>-1)return e.split(/\s*\|\s*/).some(this.matchesContext,this);var n=e.split("/"),o=this.options.context,r=!(this.isOpen||o&&o.parent.type!=this.nodes[0].type),s=-(o?o.depth+1:0)+(r?0:1),i=function(e,a){for(;e>=0;e--){var u=n[e];if(""==u){if(e==n.length-1||0==e)continue;for(;a>=s;a--)if(i(e-1,a))return!0;return!1}var c=a>0||0==a&&r?t.nodes[a].type:o&&a>=s?o.node(a-s).type:null;if(!c||c.name!=u&&-1==c.groups.indexOf(u))return!1;a--}return!0};return i(n.length-1,this.open)},ae.prototype.textblockFromContext=function(){var e=this.options.context;if(e)for(var t=e.depth;t>=0;t--){var n=e.node(t).contentMatchAt(e.indexAfter(t)).defaultType;if(n&&n.isTextblock&&n.defaultAttrs)return n}for(var o in this.parser.schema.nodes){var r=this.parser.schema.nodes[o];if(r.isTextblock&&r.defaultAttrs)return r}},Object.defineProperties(ae.prototype,ue);var de=function(e,t){this.nodes=e||{},this.marks=t||{}};function fe(e){var t={};for(var n in e){var o=e[n].spec.toDOM;o&&(t[n]=o)}return t}function pe(e){return e.document||window.document}de.prototype.serializeFragment=function(e,t,n){var o=this;void 0===t&&(t={}),n||(n=pe(t).createDocumentFragment());var r=n,s=null;return e.forEach(function(e){if(s||e.marks.length){s||(s=[]);for(var n=0,i=0;n<s.length&&i<e.marks.length;){var a=e.marks[i];if(o.marks[a.type.name]){if(!a.eq(s[n]))break;n+=2,i++}else i++}for(;n<s.length;)r=s.pop(),s.pop();for(;i<e.marks.length;){var u=e.marks[i++],c=o.serializeMark(u,e.isInline,t);c&&(s.push(u,r),r.appendChild(c.dom),r=c.contentDOM||c.dom)}}r.appendChild(o.serializeNode(e,t))}),n},de.prototype.serializeNode=function(e,t){void 0===t&&(t={});var n=de.renderSpec(pe(t),this.nodes[e.type.name](e)),o=n.dom,r=n.contentDOM;if(r){if(e.isLeaf)throw new RangeError("Content hole not allowed in a leaf node spec");t.onContent?t.onContent(e,r,t):this.serializeFragment(e.content,t,r)}return o},de.prototype.serializeNodeAndMarks=function(e,t){void 0===t&&(t={});for(var n=this.serializeNode(e,t),o=e.marks.length-1;o>=0;o--){var r=this.serializeMark(e.marks[o],e.isInline,t);r&&((r.contentDOM||r.dom).appendChild(n),n=r.dom)}return n},de.prototype.serializeMark=function(e,t,n){void 0===n&&(n={});var o=this.marks[e.type.name];return o&&de.renderSpec(pe(n),o(e,t))},de.renderSpec=function(e,t){if("string"==typeof t)return{dom:e.createTextNode(t)};if(null!=t.nodeType)return{dom:t};var n=e.createElement(t[0]),o=null,r=t[1],s=1;if(r&&"object"==typeof r&&null==r.nodeType&&!Array.isArray(r))for(var i in s=2,r)"style"==i?n.style.cssText=r[i]:null!=r[i]&&n.setAttribute(i,r[i]);for(var a=s;a<t.length;a++){var u=t[a];if(0===u){if(a<t.length-1||a>s)throw new RangeError("Content hole must be the only child of its parent node");return{dom:n,contentDOM:n}}var c=de.renderSpec(e,u),l=c.dom,d=c.contentDOM;if(n.appendChild(l),d){if(o)throw new RangeError("Multiple content holes");o=d}}return{dom:n,contentDOM:o}},de.fromSchema=function(e){return e.cached.domSerializer||(e.cached.domSerializer=new de(this.nodesFromSchema(e),this.marksFromSchema(e)))},de.nodesFromSchema=function(e){var t=fe(e.nodes);return t.text||(t.text=function(e){return e.text}),t},de.marksFromSchema=function(e){return fe(e.marks)},t.Node=M,t.ResolvedPos=g,t.NodeRange=S,t.Fragment=r,t.Slice=d,t.ReplaceError=l,t.Mark=c,t.Schema=Y,t.NodeType=K,t.MarkType=X,t.ContentMatch=N,t.DOMParser=Z,t.DOMSerializer=de},"./node_modules/prosemirror-schema-list/dist/schema-list.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n("./node_modules/prosemirror-transform/dist/index.js"),r=n("./node_modules/prosemirror-model/dist/index.js"),s=["ol",0],i=["ul",0],a=["li",0],u={attrs:{order:{default:1}},parseDOM:[{tag:"ol",getAttrs:function(e){return{order:e.hasAttribute("start")?+e.getAttribute("start"):1}}}],toDOM:function(e){return 1==e.attrs.order?s:["ol",{start:e.attrs.order},0]}},c={parseDOM:[{tag:"ul"}],toDOM:function(){return i}},l={parseDOM:[{tag:"li"}],toDOM:function(){return a},defining:!0};function d(e,t){var n={};for(var o in e)n[o]=e[o];for(var r in t)n[r]=t[r];return n}t.orderedList=u,t.bulletList=c,t.listItem=l,t.addListNodes=function(e,t,n){return e.append({ordered_list:d(u,{content:"list_item+",group:n}),bullet_list:d(c,{content:"list_item+",group:n}),list_item:d(l,{content:t})})},t.wrapInList=function(e,t){return function(n,s){var i=n.selection,a=i.$from,u=i.$to,c=a.blockRange(u),l=!1,d=c;if(!c)return!1;if(c.depth>=2&&a.node(c.depth-1).type.compatibleContent(e)&&0==c.startIndex){if(0==a.index(c.depth-1))return!1;var f=n.doc.resolve(c.start-2);d=new r.NodeRange(f,f,c.depth),c.endIndex<c.parent.childCount&&(c=new r.NodeRange(a,n.doc.resolve(u.end(c.depth)),c.depth)),l=!0}var p=o.findWrapping(d,e,t,c);return!!p&&(s&&s(function(e,t,n,s,i){for(var a=r.Fragment.empty,u=n.length-1;u>=0;u--)a=r.Fragment.from(n[u].type.create(n[u].attrs,a));e.step(new o.ReplaceAroundStep(t.start-(s?2:0),t.end,t.start,t.end,new r.Slice(a,0,0),n.length,!0));for(var c=0,l=0;l<n.length;l++)n[l].type==i&&(c=l+1);for(var d=n.length-c,f=t.start+n.length-(s?2:0),p=t.parent,m=t.startIndex,h=t.endIndex,v=!0;m<h;m++,v=!1)!v&&o.canSplit(e.doc,f,d)&&(e.split(f,d),f+=2*d),f+=p.child(m).nodeSize;return e}(n.tr,c,p,l,e).scrollIntoView()),!0)}},t.splitListItem=function(e){return function(t,n){var s=t.selection,i=s.$from,a=s.$to,u=s.node;if(u&&u.isBlock||i.depth<2||!i.sameParent(a))return!1;var c=i.node(-1);if(c.type!=e)return!1;if(0==i.parent.content.size){if(2==i.depth||i.node(-3).type!=e||i.index(-2)!=i.node(-2).childCount-1)return!1;if(n){for(var l=r.Fragment.empty,d=i.index(-1)>0,f=i.depth-(d?1:2);f>=i.depth-3;f--)l=r.Fragment.from(i.node(f).copy(l));l=l.append(r.Fragment.from(e.createAndFill()));var p=t.tr.replace(i.before(d?null:-1),i.after(-3),new r.Slice(l,d?3:2,2));p.setSelection(t.selection.constructor.near(p.doc.resolve(i.pos+(d?3:2)))),n(p.scrollIntoView())}return!0}var m=a.pos==i.end()?c.defaultContentType(0):null,h=t.tr.delete(i.pos,a.pos),v=m&&[null,{type:m}];return!!o.canSplit(h.doc,i.pos,2,v)&&(n&&n(h.split(i.pos,2,v).scrollIntoView()),!0)}},t.liftListItem=function(e){return function(t,n){var s=t.selection,i=s.$from,a=s.$to,u=i.blockRange(a,function(t){return t.childCount&&t.firstChild.type==e});return!!u&&(!n||(i.node(u.depth-1).type==e?function(e,t,n,s){var i=e.tr,a=s.end,u=s.$to.end(s.depth);return a<u&&(i.step(new o.ReplaceAroundStep(a-1,u,a,u,new r.Slice(r.Fragment.from(n.create(null,s.parent.copy())),1,0),1,!0)),s=new r.NodeRange(i.doc.resolve(s.$from.pos),i.doc.resolve(u),s.depth)),t(i.lift(s,o.liftTarget(s)).scrollIntoView()),!0}(t,n,e,u):function(e,t,n){for(var s=e.tr,i=n.parent,a=n.end,u=n.endIndex-1,c=n.startIndex;u>c;u--)a-=i.child(u).nodeSize,s.delete(a-1,a+1);var l=s.doc.resolve(n.start),d=l.nodeAfter,f=0==n.startIndex,p=n.endIndex==i.childCount,m=l.node(-1),h=l.index(-1);if(!m.canReplace(h+(f?0:1),h+1,d.content.append(p?r.Fragment.empty:r.Fragment.from(i))))return!1;var v=l.pos,j=v+d.nodeSize;return s.step(new o.ReplaceAroundStep(v-(f?1:0),j+(p?1:0),v+1,j-1,new r.Slice((f?r.Fragment.empty:r.Fragment.from(i.copy(r.Fragment.empty))).append(p?r.Fragment.empty:r.Fragment.from(i.copy(r.Fragment.empty))),f?0:1,p?0:1),f?0:1)),t(s.scrollIntoView()),!0}(t,n,u)))}},t.sinkListItem=function(e){return function(t,n){var s=t.selection,i=s.$from,a=s.$to,u=i.blockRange(a,function(t){return t.childCount&&t.firstChild.type==e});if(!u)return!1;var c=u.startIndex;if(0==c)return!1;var l=u.parent,d=l.child(c-1);if(d.type!=e)return!1;if(n){var f=d.lastChild&&d.lastChild.type==l.type,p=r.Fragment.from(f?e.create():null),m=new r.Slice(r.Fragment.from(e.create(null,r.Fragment.from(l.copy(p)))),f?3:1,0),h=u.start,v=u.end;n(t.tr.step(new o.ReplaceAroundStep(h-(f?3:1),v,h,v,m,1,!0)).scrollIntoView())}return!0}}},"./node_modules/prosemirror-state/dist/index.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n("./node_modules/prosemirror-model/dist/index.js"),r=n("./node_modules/prosemirror-transform/dist/index.js"),s=Object.create(null),i=function(e,t,n){this.ranges=n||[new u(e.min(t),e.max(t))],this.$anchor=e,this.$head=t},a={anchor:{},head:{},from:{},to:{},$from:{},$to:{},empty:{}};a.anchor.get=function(){return this.$anchor.pos},a.head.get=function(){return this.$head.pos},a.from.get=function(){return this.$from.pos},a.to.get=function(){return this.$to.pos},a.$from.get=function(){return this.ranges[0].$from},a.$to.get=function(){return this.ranges[0].$to},a.empty.get=function(){for(var e=this.ranges,t=0;t<e.length;t++)if(e[t].$from.pos!=e[t].$to.pos)return!1;return!0},i.prototype.content=function(){return this.$from.node(0).slice(this.from,this.to,!0)},i.prototype.replace=function(e,t){void 0===t&&(t=o.Slice.empty);for(var n=t.content.lastChild,r=null,s=0;s<t.openEnd;s++)r=n,n=n.lastChild;for(var i=e.steps.length,a=this.ranges,u=0;u<a.length;u++){var c=a[u],l=c.$from,d=c.$to,f=e.mapping.slice(i);e.replaceRange(f.map(l.pos),f.map(d.pos),u?o.Slice.empty:t),0==u&&v(e,i,(n?n.isInline:r&&r.isTextblock)?-1:1)}},i.prototype.replaceWith=function(e,t){for(var n=e.steps.length,o=this.ranges,r=0;r<o.length;r++){var s=o[r],i=s.$from,a=s.$to,u=e.mapping.slice(n),c=u.map(i.pos),l=u.map(a.pos);r?e.deleteRange(c,l):(e.replaceRangeWith(c,l,t),v(e,n,t.isInline?-1:1))}},i.findFrom=function(e,t,n){var o=e.parent.inlineContent?new c(e):h(e.node(0),e.parent,e.pos,e.index(),t,n);if(o)return o;for(var r=e.depth-1;r>=0;r--){var s=t<0?h(e.node(0),e.node(r),e.before(r+1),e.index(r),t,n):h(e.node(0),e.node(r),e.after(r+1),e.index(r)+1,t,n);if(s)return s}},i.near=function(e,t){return void 0===t&&(t=1),this.findFrom(e,t)||this.findFrom(e,-t)||new p(e.node(0))},i.atStart=function(e){return h(e,e,0,0,1)||new p(e)},i.atEnd=function(e){return h(e,e,e.content.size,e.childCount,-1)||new p(e)},i.fromJSON=function(e,t){if(!t||!t.type)throw new RangeError("Invalid input for Selection.fromJSON");var n=s[t.type];if(!n)throw new RangeError("No selection type "+t.type+" defined");return n.fromJSON(e,t)},i.jsonID=function(e,t){if(e in s)throw new RangeError("Duplicate use of selection JSON ID "+e);return s[e]=t,t.prototype.jsonID=e,t},i.prototype.getBookmark=function(){return c.between(this.$anchor,this.$head).getBookmark()},Object.defineProperties(i.prototype,a),i.prototype.visible=!0;var u=function(e,t){this.$from=e,this.$to=t},c=function(e){function t(t,n){void 0===n&&(n=t),e.call(this,t,n)}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var n={$cursor:{}};return n.$cursor.get=function(){return this.$anchor.pos==this.$head.pos?this.$head:null},t.prototype.map=function(n,o){var r=n.resolve(o.map(this.head));if(!r.parent.inlineContent)return e.near(r);var s=n.resolve(o.map(this.anchor));return new t(s.parent.inlineContent?s:r,r)},t.prototype.replace=function(t,n){if(void 0===n&&(n=o.Slice.empty),e.prototype.replace.call(this,t,n),n==o.Slice.empty){var r=this.$from.marksAcross(this.$to);r&&t.ensureMarks(r)}},t.prototype.eq=function(e){return e instanceof t&&e.anchor==this.anchor&&e.head==this.head},t.prototype.getBookmark=function(){return new l(this.anchor,this.head)},t.prototype.toJSON=function(){return{type:"text",anchor:this.anchor,head:this.head}},t.fromJSON=function(e,n){if("number"!=typeof n.anchor||"number"!=typeof n.head)throw new RangeError("Invalid input for TextSelection.fromJSON");return new t(e.resolve(n.anchor),e.resolve(n.head))},t.create=function(e,t,n){void 0===n&&(n=t);var o=e.resolve(t);return new this(o,n==t?o:e.resolve(n))},t.between=function(n,o,r){var s=n.pos-o.pos;if(r&&!s||(r=s>=0?1:-1),!o.parent.inlineContent){var i=e.findFrom(o,r,!0)||e.findFrom(o,-r,!0);if(!i)return e.near(o,r);o=i.$head}return n.parent.inlineContent||(0==s?n=o:(n=(e.findFrom(n,-r,!0)||e.findFrom(n,r,!0)).$anchor).pos<o.pos!=s<0&&(n=o)),new t(n,o)},Object.defineProperties(t.prototype,n),t}(i);i.jsonID("text",c);var l=function(e,t){this.anchor=e,this.head=t};l.prototype.map=function(e){return new l(e.map(this.anchor),e.map(this.head))},l.prototype.resolve=function(e){return c.between(e.resolve(this.anchor),e.resolve(this.head))};var d=function(e){function t(t){var n=t.nodeAfter,o=t.node(0).resolve(t.pos+n.nodeSize);e.call(this,t,o),this.node=n}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.map=function(n,o){var r=o.mapResult(this.anchor),s=r.deleted,i=r.pos,a=n.resolve(i);return s?e.near(a):new t(a)},t.prototype.content=function(){return new o.Slice(o.Fragment.from(this.node),0,0)},t.prototype.eq=function(e){return e instanceof t&&e.anchor==this.anchor},t.prototype.toJSON=function(){return{type:"node",anchor:this.anchor}},t.prototype.getBookmark=function(){return new f(this.anchor)},t.fromJSON=function(e,n){if("number"!=typeof n.anchor)throw new RangeError("Invalid input for NodeSelection.fromJSON");return new t(e.resolve(n.anchor))},t.create=function(e,t){return new this(e.resolve(t))},t.isSelectable=function(e){return!e.isText&&!1!==e.type.spec.selectable},t}(i);d.prototype.visible=!1,i.jsonID("node",d);var f=function(e){this.anchor=e};f.prototype.map=function(e){var t=e.mapResult(this.anchor),n=t.deleted,o=t.pos;return n?new l(o,o):new f(o)},f.prototype.resolve=function(e){var t=e.resolve(this.anchor),n=t.nodeAfter;return n&&d.isSelectable(n)?new d(t):i.near(t)};var p=function(e){function t(t){e.call(this,t.resolve(0),t.resolve(t.content.size))}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.toJSON=function(){return{type:"all"}},t.fromJSON=function(e){return new t(e)},t.prototype.map=function(e){return new t(e)},t.prototype.eq=function(e){return e instanceof t},t.prototype.getBookmark=function(){return m},t}(i);i.jsonID("all",p);var m={map:function(){return this},resolve:function(e){return new p(e)}};function h(e,t,n,o,r,s){if(t.inlineContent)return c.create(e,n);for(var i=o-(r>0?0:1);r>0?i<t.childCount:i>=0;i+=r){var a=t.child(i);if(a.isAtom){if(!s&&d.isSelectable(a))return d.create(e,n-(r<0?a.nodeSize:0))}else{var u=h(e,a,n+r,r<0?a.childCount:0,r,s);if(u)return u}n+=a.nodeSize*r}}function v(e,t,n){var o=e.steps.length-1;if(!(o<t)){var s,a=e.steps[o];if(a instanceof r.ReplaceStep||a instanceof r.ReplaceAroundStep)e.mapping.maps[o].forEach(function(e,t,n,o){null==s&&(s=o)}),e.setSelection(i.near(e.doc.resolve(s),n))}}var j=function(e){function t(t){e.call(this,t.doc),this.time=Date.now(),this.curSelection=t.selection,this.curSelectionFor=0,this.storedMarks=t.storedMarks,this.updated=0,this.meta=Object.create(null)}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var n={selection:{},selectionSet:{},storedMarksSet:{},isGeneric:{},scrolledIntoView:{}};return n.selection.get=function(){return this.curSelectionFor<this.steps.length&&(this.curSelection=this.curSelection.map(this.doc,this.mapping.slice(this.curSelectionFor)),this.curSelectionFor=this.steps.length),this.curSelection},t.prototype.setSelection=function(e){return this.curSelection=e,this.curSelectionFor=this.steps.length,this.updated=-3&(1|this.updated),this.storedMarks=null,this},n.selectionSet.get=function(){return(1&this.updated)>0},t.prototype.setStoredMarks=function(e){return this.storedMarks=e,this.updated|=2,this},t.prototype.ensureMarks=function(e){return o.Mark.sameSet(this.storedMarks||this.selection.$from.marks(),e)||this.setStoredMarks(e),this},t.prototype.addStoredMark=function(e){return this.ensureMarks(e.addToSet(this.storedMarks||this.selection.$head.marks()))},t.prototype.removeStoredMark=function(e){return this.ensureMarks(e.removeFromSet(this.storedMarks||this.selection.$head.marks()))},n.storedMarksSet.get=function(){return(2&this.updated)>0},t.prototype.addStep=function(t,n){e.prototype.addStep.call(this,t,n),this.updated=-3&this.updated,this.storedMarks=null},t.prototype.setTime=function(e){return this.time=e,this},t.prototype.replaceSelection=function(e){return this.selection.replace(this,e),this},t.prototype.replaceSelectionWith=function(e,t){var n=this.selection;return!1!==t&&(e=e.mark(this.storedMarks||(n.empty?n.$from.marks():n.$from.marksAcross(n.$to)||o.Mark.none))),n.replaceWith(this,e),this},t.prototype.deleteSelection=function(){return this.selection.replace(this),this},t.prototype.insertText=function(e,t,n){void 0===n&&(n=t);var o=this.doc.type.schema;if(null==t)return e?this.replaceSelectionWith(o.text(e),!0):this.deleteSelection();if(!e)return this.deleteRange(t,n);var r=this.storedMarks;if(!r){var s=this.doc.resolve(t);r=n==t?s.marks():s.marksAcross(this.doc.resolve(n))}return this.replaceRangeWith(t,n,o.text(e,r))},t.prototype.setMeta=function(e,t){return this.meta["string"==typeof e?e:e.key]=t,this},t.prototype.getMeta=function(e){return this.meta["string"==typeof e?e:e.key]},n.isGeneric.get=function(){for(var e in this.meta)return!1;return!0},t.prototype.scrollIntoView=function(){return this.updated|=4,this},n.scrolledIntoView.get=function(){return(4&this.updated)>0},Object.defineProperties(t.prototype,n),t}(r.Transform);function y(e,t){return t&&e?e.bind(t):e}var _=function(e,t,n){this.name=e,this.init=y(t.init,n),this.apply=y(t.apply,n)},g=[new _("doc",{init:function(e){return e.doc||e.schema.topNodeType.createAndFill()},apply:function(e){return e.doc}}),new _("selection",{init:function(e,t){return e.selection||i.atStart(t.doc)},apply:function(e){return e.selection}}),new _("storedMarks",{init:function(e){return e.storedMarks||null},apply:function(e,t,n,o){return o.selection.$cursor?e.storedMarks:null}}),new _("scrollToSelection",{init:function(){return 0},apply:function(e,t){return e.scrolledIntoView?t+1:t}})],b=function(e,t){var n=this;this.schema=e,this.fields=g.concat(),this.plugins=[],this.pluginsByKey=Object.create(null),t&&t.forEach(function(e){if(n.pluginsByKey[e.key])throw new RangeError("Adding different instances of a keyed plugin ("+e.key+")");n.plugins.push(e),n.pluginsByKey[e.key]=e,e.spec.state&&n.fields.push(new _(e.key,e.spec.state,e))})},w=function(e){this.config=e},x={schema:{},plugins:{},tr:{}};x.schema.get=function(){return this.config.schema},x.plugins.get=function(){return this.config.plugins},w.prototype.apply=function(e){return this.applyTransaction(e).state},w.prototype.filterTransaction=function(e,t){void 0===t&&(t=-1);for(var n=0;n<this.config.plugins.length;n++)if(n!=t){var o=this.config.plugins[n];if(o.spec.filterTransaction&&!o.spec.filterTransaction.call(o,e,this))return!1}return!0},w.prototype.applyTransaction=function(e){if(!this.filterTransaction(e))return{state:this,transactions:[]};for(var t=[e],n=this.applyInner(e),o=null;;){for(var r=!1,s=0;s<this.config.plugins.length;s++){var i=this.config.plugins[s];if(i.spec.appendTransaction){var a=o?o[s].n:0,u=o?o[s].state:this,c=a<t.length&&i.spec.appendTransaction.call(i,a?t.slice(a):t,u,n);if(c&&n.filterTransaction(c,s)){if(c.setMeta("appendedTransaction",e),!o){o=[];for(var l=0;l<this.config.plugins.length;l++)o.push(l<s?{state:n,n:t.length}:{state:this,n:0})}t.push(c),n=n.applyInner(c),r=!0}o&&(o[s]={state:n,n:t.length})}}if(!r)return{state:n,transactions:t}}},w.prototype.applyInner=function(e){if(!e.before.eq(this.doc))throw new RangeError("Applying a mismatched transaction");for(var t=new w(this.config),n=this.config.fields,o=0;o<n.length;o++){var r=n[o];t[r.name]=r.apply(e,this[r.name],this,t)}for(var s=0;s<k.length;s++)k[s](this,e,t);return t},x.tr.get=function(){return new j(this)},w.create=function(e){for(var t=new b(e.schema||e.doc.type.schema,e.plugins),n=new w(t),o=0;o<t.fields.length;o++)n[t.fields[o].name]=t.fields[o].init(e,n);return n},w.prototype.reconfigure=function(e){for(var t=new b(e.schema||this.schema,e.plugins),n=t.fields,o=new w(t),r=0;r<n.length;r++){var s=n[r].name;o[s]=this.hasOwnProperty(s)?this[s]:n[r].init(e,o)}return o},w.prototype.toJSON=function(e){var t={doc:this.doc.toJSON(),selection:this.selection.toJSON()};if(this.storedMarks&&(t.storedMarks=this.storedMarks.map(function(e){return e.toJSON()})),e&&"object"==typeof e)for(var n in e){if("doc"==n||"selection"==n)throw new RangeError("The JSON fields `doc` and `selection` are reserved");var o=e[n],r=o.spec.state;r&&r.toJSON&&(t[n]=r.toJSON.call(o,this[o.key]))}return t},w.fromJSON=function(e,t,n){if(!t)throw new RangeError("Invalid input for EditorState.fromJSON");if(!e.schema)throw new RangeError("Required config field 'schema' missing");var r=new b(e.schema,e.plugins),s=new w(r);return r.fields.forEach(function(r){if("doc"==r.name)s.doc=o.Node.fromJSON(e.schema,t.doc);else if("selection"==r.name)s.selection=i.fromJSON(s.doc,t.selection);else if("storedMarks"==r.name)t.storedMarks&&(s.storedMarks=t.storedMarks.map(e.schema.markFromJSON));else{if(n)for(var a in n){var u=n[a],c=u.spec.state;if(u.key==r.name&&c&&c.fromJSON&&Object.prototype.hasOwnProperty.call(t,a))return void(s[r.name]=c.fromJSON.call(u,e,t[a],s))}s[r.name]=r.init(e,s)}}),s},w.addApplyListener=function(e){k.push(e)},w.removeApplyListener=function(e){var t=k.indexOf(e);t>-1&&k.splice(t,1)},Object.defineProperties(w.prototype,x);var k=[];var S=function(e){this.props={},e.props&&function e(t,n,o){for(var r in t){var s=t[r];s instanceof Function?s=s.bind(n):"handleDOMEvents"==r&&(s=e(s,n,{})),o[r]=s}return o}(e.props,this,this.props),this.spec=e,this.key=e.key?e.key.key:C("plugin")};S.prototype.getState=function(e){return e[this.key]};var O=Object.create(null);function C(e){return e in O?e+"$"+ ++O[e]:(O[e]=0,e+"$")}var M=function(e){void 0===e&&(e="key"),this.key=C(e)};M.prototype.get=function(e){return e.config.pluginsByKey[this.key]},M.prototype.getState=function(e){return e[this.key]},t.Selection=i,t.SelectionRange=u,t.TextSelection=c,t.NodeSelection=d,t.AllSelection=p,t.Transaction=j,t.EditorState=w,t.Plugin=S,t.PluginKey=M},"./node_modules/prosemirror-tables/dist/index.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o,r,s=n("./node_modules/prosemirror-state/dist/index.js"),i=n("./node_modules/prosemirror-view/dist/index.js"),a=n("./node_modules/prosemirror-model/dist/index.js"),u=n("./node_modules/prosemirror-transform/dist/index.js"),c=n("./node_modules/prosemirror-keymap/dist/keymap.js");if("undefined"!=typeof WeakMap){var l=new WeakMap;o=function(e){return l.get(e)},r=function(e,t){return l.set(e,t),t}}else{var d=[],f=0;o=function(e){for(var t=0;t<d.length;t+=2)if(d[t]==e)return d[t+1]},r=function(e,t){return 10==f&&(f=0),d[f++]=e,d[f++]=t}}var p=function(e,t,n,o){this.left=e,this.top=t,this.right=n,this.bottom=o},m=function(e,t,n,o){this.width=e,this.height=t,this.map=n,this.problems=o};function h(e){if(e.colwidth)return e.colwidth.slice();for(var t=[],n=0;n<e.colspan;n++)t.push(0);return t}m.prototype.findCell=function(e){for(var t=0;t<this.map.length;t++){var n=this.map[t];if(n==e){for(var o=t%this.width,r=t/this.width|0,s=o+1,i=r+1,a=1;s<this.width&&this.map[t+a]==n;a++)s++;for(var u=1;i<this.height&&this.map[t+this.width*u]==n;u++)i++;return new p(o,r,s,i)}}throw new RangeError("No cell with offset "+e+" found")},m.prototype.colCount=function(e){for(var t=0;t<this.map.length;t++)if(this.map[t]==e)return t%this.width;throw new RangeError("No cell with offset "+e+" found")},m.prototype.nextCell=function(e,t,n){var o=this.findCell(e),r=o.left,s=o.right,i=o.top,a=o.bottom;return"horiz"==t?(n<0?0==r:s==this.width)?null:this.map[i*this.width+(n<0?r-1:s)]:(n<0?0==i:a==this.height)?null:this.map[r+this.width*(n<0?i-1:a)]},m.prototype.rectBetween=function(e,t){var n=this.findCell(e),o=n.left,r=n.right,s=n.top,i=n.bottom,a=this.findCell(t),u=a.left,c=a.right,l=a.top,d=a.bottom;return new p(Math.min(o,u),Math.min(s,l),Math.max(r,c),Math.max(i,d))},m.prototype.cellsInRect=function(e){for(var t=[],n=[],o=e.top;o<e.bottom;o++)for(var r=e.left;r<e.right;r++){var s=o*this.width+r,i=this.map[s];n.indexOf(i)>-1||(n.push(i),r==e.left&&r&&this.map[s-1]==i||o==e.top&&o&&this.map[s-this.width]==i||t.push(i))}return t},m.prototype.positionAt=function(e,t,n){for(var o=0,r=0;;o++){var s=r+n.child(o).nodeSize;if(o==e){for(var i=t+e*this.width,a=(e+1)*this.width;i<a&&this.map[i]<r;)i++;return i==a?s-1:this.map[i]}r=s}},m.get=function(e){return o(e)||r(e,function(e){if("table"!=e.type.spec.tableRole)throw new RangeError("Not a table node: "+e.type.name);for(var t=function(e){for(var t=-1,n=!1,o=0;o<e.childCount;o++){var r=e.child(o),s=0;if(n)for(var i=0;i<o;i++)for(var a=e.child(i),u=0;u<a.childCount;u++){var c=a.child(u);i+c.attrs.rowspan>o&&(s+=c.attrs.colspan)}for(var l=0;l<r.childCount;l++){var d=r.child(l);s+=d.attrs.colspan,d.attrs.rowspan>1&&(n=!0)}-1==t?t=s:t!=s&&(t=Math.max(t,s))}return t}(e),n=e.childCount,o=[],r=0,s=null,i=[],a=0,u=t*n;a<u;a++)o[a]=0;for(var c=0,l=0;c<n;c++){var d=e.child(c);l++;for(var f=0;;f++){for(;r<o.length&&0!=o[r];)r++;if(f==d.childCount)break;for(var p=d.child(f),v=p.attrs,j=v.colspan,y=v.rowspan,_=v.colwidth,g=0;g<y;g++){if(g+c>=n){(s||(s=[])).push({type:"overlong_rowspan",pos:l,n:y-g});break}for(var b=r+g*t,w=0;w<j;w++){0==o[b+w]?o[b+w]=l:(s||(s=[])).push({type:"collision",row:c,pos:l,n:j-w});var x=_&&_[w];if(x){var k=(b+w)%t*2,S=i[k];null==S||S!=x&&1==i[k+1]?(i[k]=x,i[k+1]=1):S==x&&i[k+1]++}}}r+=j,l+=p.nodeSize}for(var O=(c+1)*t,C=0;r<O;)0==o[r++]&&C++;C&&(s||(s=[])).push({type:"missing",row:c,n:C}),l++}for(var M=new m(t,n,o,s),A=!1,T=0;!A&&T<i.length;T+=2)null!=i[T]&&i[T+1]<n&&(A=!0);A&&function(e,t,n){e.problems||(e.problems=[]);for(var o=0,r=[];o<e.map.length;o++){var s=e.map[o];if(!(r.indexOf(s)>-1)){r.push(s);for(var i=n.nodeAt(s),a=null,u=0;u<i.attrs.colspan;u++){var c=(o+u)%e.width,l=t[2*c];null==l||i.attrs.colwidth&&i.attrs.colwidth[u]==l||((a||(a=h(i.attrs)))[u]=l)}a&&e.problems.unshift({type:"colwidth mismatch",pos:s,colwidth:a})}}}(M,i,e);return M}(e))};var v=new s.PluginKey("selectingCells");function j(e){for(var t=e.depth-1;t>0;t--)if("row"==e.node(t).type.spec.tableRole)return e.node(0).resolve(e.before(t+1));return null}function y(e){for(var t=e.selection.$head,n=t.depth;n>0;n--)if("row"==t.node(n).type.spec.tableRole)return!0;return!1}function _(e){var t=e.selection;return t.$anchorCell?t.$anchorCell.pos>t.$headCell.pos?t.$anchorCell:t.$headCell:t.node&&"cell"==t.node.type.spec.tableRole?t.$anchor:j(t.$head)||function(e){for(var t=e.nodeAfter,n=e.pos;t;t=t.firstChild,n++){var o=t.type.spec.tableRole;if("cell"==o||"header_cell"==o)return e.doc.resolve(n)}for(var r=e.nodeBefore,s=e.pos;r;r=r.lastChild,s--){var i=r.type.spec.tableRole;if("cell"==i||"header_cell"==i)return e.doc.resolve(s-r.nodeSize)}}(t.$head)}function g(e){return"row"==e.parent.type.spec.tableRole&&e.nodeAfter}function b(e){return e.node(0).resolve(e.pos+e.nodeAfter.nodeSize)}function w(e,t){return e.depth==t.depth&&e.pos>=t.start(-1)&&e.pos<=t.end(-1)}function x(e,t,n){var o=e.start(-1),r=m.get(e.node(-1)).nextCell(e.pos-o,t,n);return null==r?null:e.node(0).resolve(o+r)}function k(e,t,n){var o={};for(var r in e)o[r]=e[r];return o[t]=n,o}function S(e,t,n){void 0===n&&(n=1);var o=k(e,"colspan",e.colspan-n);return o.colwidth&&(o.colwidth=o.colwidth.slice(),o.colwidth.splice(t,n),o.colwidth.some(function(e){return e>0})||(o.colwidth=null)),o}function O(e,t,n){void 0===n&&(n=1);var o=k(e,"colspan",e.colspan+n);if(o.colwidth){o.colwidth=o.colwidth.slice();for(var r=0;r<n;r++)o.colwidth.splice(t,0,0)}return o}var C=function(e){function t(t,n){void 0===n&&(n=t);var o=t.node(-1),r=m.get(o),i=t.start(-1),a=r.rectBetween(t.pos-i,n.pos-i),u=t.node(0),c=r.cellsInRect(a).filter(function(e){return e!=n.pos-i});c.unshift(n.pos-i);var l=c.map(function(e){var t=o.nodeAt(e),n=e+i+1;return new s.SelectionRange(u.resolve(n),u.resolve(n+t.content.size))});e.call(this,l[0].$from,l[0].$to,l),this.$anchorCell=t,this.$headCell=n}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.map=function(e,n){var o=e.resolve(n.map(this.$anchorCell.pos)),r=e.resolve(n.map(this.$headCell.pos));if(g(o)&&g(r)&&w(o,r)){var i=this.$anchorCell.node(-1)!=o.node(-1);return i&&this.isRowSelection()?t.rowSelection(o,r):i&&this.isColSelection()?t.colSelection(o,r):new t(o,r)}return s.TextSelection.between(o,r)},t.prototype.content=function(){for(var e=this.$anchorCell.node(-1),t=m.get(e),n=this.$anchorCell.start(-1),o=t.rectBetween(this.$anchorCell.pos-n,this.$headCell.pos-n),r=[],s=[],i=o.top;i<o.bottom;i++){for(var u=[],c=i*t.width+o.left,l=o.left;l<o.right;l++,c++){var d=t.map[c];if(-1==r.indexOf(d)){r.push(d);var f=t.findCell(d),p=e.nodeAt(d),h=o.left-f.left,v=f.right-o.right;if(h>0||v>0){var j=p.attrs;h>0&&(j=S(j,0,h)),v>0&&(j=S(j,j.colspan-v,v)),p=f.left<o.left?p.type.createAndFill(j):p.type.create(j,p.content)}if(f.top<o.top||f.bottom>o.bottom){var y=k(p.attrs,"rowspan",Math.min(f.bottom,o.bottom)-Math.max(f.top,o.top));p=f.top<o.top?p.type.createAndFill(y):p.type.create(y,p.content)}u.push(p)}}s.push(e.child(i).copy(a.Fragment.from(u)))}var _=this.isColSelection()&&this.isRowSelection()?e:s;return new a.Slice(a.Fragment.from(_),1,1)},t.prototype.replace=function(t,n){void 0===n&&(n=a.Slice.empty);for(var o=t.steps.length,r=this.ranges,s=0;s<r.length;s++){var i=r[s],u=i.$from,c=i.$to,l=t.mapping.slice(o);t.replace(l.map(u.pos),l.map(c.pos),s?a.Slice.empty:n)}var d=e.findFrom(t.doc.resolve(t.mapping.slice(o).map(this.to)),-1);d&&t.setSelection(d)},t.prototype.replaceWith=function(e,t){this.replace(e,new a.Slice(a.Fragment.from(t),0,0))},t.prototype.forEachCell=function(e){for(var t=this.$anchorCell.node(-1),n=m.get(t),o=this.$anchorCell.start(-1),r=n.cellsInRect(n.rectBetween(this.$anchorCell.pos-o,this.$headCell.pos-o)),s=0;s<r.length;s++)e(t.nodeAt(r[s]),o+r[s])},t.prototype.isColSelection=function(){var e=this.$anchorCell.index(-1),t=this.$headCell.index(-1);if(Math.min(e,t)>0)return!1;var n=e+this.$anchorCell.nodeAfter.attrs.rowspan,o=t+this.$headCell.nodeAfter.attrs.rowspan;return Math.max(n,o)==this.$headCell.node(-1).childCount},t.colSelection=function(e,n){void 0===n&&(n=e);var o=m.get(e.node(-1)),r=e.start(-1),s=o.findCell(e.pos-r),i=o.findCell(n.pos-r),a=e.node(0);return s.top<=i.top?(s.top>0&&(e=a.resolve(r+o.map[s.left])),i.bottom<o.height&&(n=a.resolve(r+o.map[o.width*(o.height-1)+i.right-1]))):(i.top>0&&(n=a.resolve(r+o.map[i.left])),s.bottom<o.height&&(e=a.resolve(r+o.map[o.width*(o.height-1)+s.right-1]))),new t(e,n)},t.prototype.isRowSelection=function(){var e=m.get(this.$anchorCell.node(-1)),t=this.$anchorCell.start(-1),n=e.colCount(this.$anchorCell.pos-t),o=e.colCount(this.$headCell.pos-t);if(Math.min(n,o)>0)return!1;var r=n+this.$anchorCell.nodeAfter.attrs.colspan,s=o+this.$headCell.nodeAfter.attrs.colspan;return Math.max(r,s)==e.width},t.prototype.eq=function(e){return e instanceof t&&e.$anchorCell.pos==this.$anchorCell.pos&&e.$headCell.pos==this.$headCell.pos},t.rowSelection=function(e,n){void 0===n&&(n=e);var o=m.get(e.node(-1)),r=e.start(-1),s=o.findCell(e.pos-r),i=o.findCell(n.pos-r),a=e.node(0);return s.left<=i.left?(s.left>0&&(e=a.resolve(r+o.map[s.top*o.width])),i.right<o.width&&(n=a.resolve(r+o.map[o.width*(i.top+1)-1]))):(i.left>0&&(n=a.resolve(r+o.map[i.top*o.width])),s.right<o.width&&(e=a.resolve(r+o.map[o.width*(s.top+1)-1]))),new t(e,n)},t.prototype.toJSON=function(){return{type:"cell",anchor:this.$anchorCell.pos,head:this.$headCell.pos}},t.fromJSON=function(e,n){return new t(e.resolve(n.anchor),e.resolve(n.head))},t.create=function(e,n,o){return void 0===o&&(o=n),new t(e.resolve(n),e.resolve(o))},t.prototype.getBookmark=function(){return new M(this.$anchorCell.pos,this.$headCell.pos)},t}(s.Selection);C.prototype.visible=!1,s.Selection.jsonID("cell",C);var M=function(e,t){this.anchor=e,this.head=t};function A(e){if(!(e.selection instanceof C))return null;var t=[];return e.selection.forEachCell(function(e,n){t.push(i.Decoration.node(n,n+e.nodeSize,{class:"selectedCell"}))}),i.DecorationSet.create(e.doc,t)}function T(e,t){var n=e.getAttribute("data-colwidth"),o=n&&/^\d+(,\d+)*$/.test(n)?n.split(",").map(function(e){return Number(e)}):null,r=Number(e.getAttribute("colspan")||1),s={colspan:r,rowspan:Number(e.getAttribute("rowspan")||1),colwidth:o&&o.length==r?o:null};for(var i in t){var a=t[i].getFromDOM,u=a&&a(e);null!=u&&(s[i]=u)}return s}function E(e,t){var n={};for(var o in 1!=e.attrs.colspan&&(n.colspan=e.attrs.colspan),1!=e.attrs.rowspan&&(n.rowspan=e.attrs.rowspan),e.attrs.colwidth&&(n["data-colwidth"]=e.attrs.colwidth.join(",")),t){var r=t[o].setDOMAttr;r&&r(e.attrs[o],n)}return n}function N(e){var t=e.cached.tableNodeTypes;if(!t)for(var n in t=e.cached.tableNodeTypes={},e.nodes){var o=e.nodes[n],r=o.spec.tableRole;r&&(t[r]=o)}return t}function P(e){if(!e.size)return null;for(var t=e.content,n=e.openStart,o=e.openEnd;1==t.childCount&&(n>0&&o>0||"table"==t.firstChild.type.spec.tableRole);)n--,o--,t=t.firstChild.content;var r=t.firstChild,s=r.type.spec.tableRole,i=r.type.schema,u=[];if("row"==s)for(var c=0;c<t.childCount;c++){var l=t.child(c).content,d=c?0:Math.max(0,n-1),f=c<t.childCount-1?0:Math.max(0,o-1);(d||f)&&(l=I(N(i).row,new a.Slice(l,d,f)).content),u.push(l)}else{if("cell"!=s&&"header_cell"!=s)return null;u.push(n||o?I(N(i).row,new a.Slice(t,n,o)).content:t)}return function(e,t){for(var n=[],o=0;o<t.length;o++)for(var r=t[o],s=r.childCount-1;s>=0;s--)for(var i=r.child(s).attrs,u=i.rowspan,c=i.colspan,l=o;l<o+u;l++)n[l]=(n[l]||0)+c;for(var d=0,f=0;f<n.length;f++)d=Math.max(d,n[f]);for(var p=0;p<n.length;p++)if(p>=t.length&&t.push(a.Fragment.empty),n[p]<d){for(var m=N(e).cell.createAndFill(),h=[],v=n[p];v<d;v++)h.push(m);t[p]=t[p].append(a.Fragment.from(h))}return{height:t.length,width:d,rows:t}}(i,u)}function I(e,t){var n=e.createAndFill();return new u.Transform(n).replace(0,n.content.size,t).doc}function D(e,t,n){var o=e.width,r=e.height,s=e.rows;if(o!=t){for(var i=[],u=[],c=0;c<s.length;c++){for(var l=s[c],d=[],f=i[c]||0,p=0;f<t;p++){var m=l.child(p%l.childCount);f+m.attrs.colspan>t&&(m=m.type.create(S(m.attrs,m.attrs.colspan,f+m.attrs.colspan-t),m.content)),d.push(m),f+=m.attrs.colspan;for(var h=1;h<m.attrs.rowspan;h++)i[c+h]=(i[c+h]||0)+m.attrs.colspan}u.push(a.Fragment.from(d))}s=u,o=t}if(r!=n){for(var v=[],j=0,y=0;j<n;j++,y++){for(var _=[],g=s[y%r],b=0;b<g.childCount;b++){var w=g.child(b);j+w.attrs.rowspan>n&&(w=w.type.create(k(w.attrs,"rowspan",n-w.attrs.rowspan),w.content)),_.push(w)}v.push(a.Fragment.from(_))}s=v,r=n}return{width:o,height:r,rows:s}}function R(e,t,n,o,r,s,i,a){if(0==i||i==t.height)return!1;for(var u=!1,c=r;c<s;c++){var l=i*t.width+c,d=t.map[l];if(t.map[l-t.width]==d){u=!0;var f=n.nodeAt(d),p=t.findCell(d),m=p.top,h=p.left;e.setNodeMarkup(e.mapping.slice(a).map(d+o),null,k(f.attrs,"rowspan",i-m)),e.insert(e.mapping.slice(a).map(t.positionAt(i,h,n)),f.type.createAndFill(k(f.attrs,"rowspan",m+f.attrs.rowspan-i))),c+=f.attrs.colspan-1}}return u}function $(e,t,n,o,r,s,i,a){if(0==i||i==t.width)return!1;for(var u=!1,c=r;c<s;c++){var l=c*t.width+i,d=t.map[l];if(t.map[l-1]==d){u=!0;var f=n.nodeAt(d),p=t.colCount(d),m=e.mapping.slice(a).map(d+o);e.setNodeMarkup(m,null,S(f.attrs,i-p,f.attrs.colspan-(i-p))),e.insert(m+f.nodeSize,f.type.createAndFill(S(f.attrs,0,i-p))),c+=f.attrs.rowspan-1}}return u}function F(e,t,n,o,r){var s=n?e.doc.nodeAt(n-1):e.doc,i=m.get(s),u=o.top,c=o.left,l=c+r.width,d=u+r.height,f=e.tr,p=0;function h(){s=n?f.doc.nodeAt(n-1):f.doc,i=m.get(s),p=f.mapping.maps.length}(function(e,t,n,o,r,s,i){var u,c,l=N(e.doc.type.schema);if(r>t.width)for(var d=0,f=0;d<t.height;d++){var p=n.child(d);f+=p.nodeSize;var m=[],h=void 0;h=null==p.lastChild||p.lastChild.type==l.cell?u||(u=l.cell.createAndFill()):c||(c=l.header_cell.createAndFill());for(var v=t.width;v<r;v++)m.push(h);e.insert(e.mapping.slice(i).map(f-1+o),m)}if(s>t.height){for(var j=[],y=0,_=(t.height-1)*t.width;y<Math.max(t.width,r);y++){var g=!(y>=t.width)&&n.nodeAt(t.map[_+y]).type==l.header_cell;j.push(g?c||(c=l.header_cell.createAndFill()):u||(u=l.cell.createAndFill()))}for(var b=l.row.create(null,a.Fragment.from(j)),w=[],x=t.height;x<s;x++)w.push(b);e.insert(e.mapping.slice(i).map(o+n.nodeSize-2),w)}return!(!u&&!c)})(f,i,s,n,l,d,p)&&h(),R(f,i,s,n,c,l,u,p)&&h(),R(f,i,s,n,c,l,d,p)&&h(),$(f,i,s,n,u,d,c,p)&&h(),$(f,i,s,n,u,d,l,p)&&h();for(var v=u;v<d;v++){var j=i.positionAt(v,c,s),y=i.positionAt(v,l,s);f.replace(f.mapping.slice(p).map(j+n),f.mapping.slice(p).map(y+n),new a.Slice(r.rows[v-u],0,0))}h(),f.setSelection(new C(f.doc.resolve(n+i.positionAt(u,c,s)),f.doc.resolve(n+i.positionAt(d-1,l-1,s)))),t(f)}M.prototype.map=function(e){return new M(e.map(this.anchor),e.map(this.head))},M.prototype.resolve=function(e){var t=e.resolve(this.anchor),n=e.resolve(this.head);return"row"==t.parent.type.spec.tableRole&&"row"==n.parent.type.spec.tableRole&&t.index()<t.parent.childCount&&n.index()<n.parent.childCount&&w(t,n)?new C(t,n):s.Selection.near(n,1)};var L=c.keydownHandler({ArrowLeft:B("horiz",-1),ArrowRight:B("horiz",1),ArrowUp:B("vert",-1),ArrowDown:B("vert",1),"Shift-ArrowLeft":V("horiz",-1),"Shift-ArrowRight":V("horiz",1),"Shift-ArrowUp":V("vert",-1),"Shift-ArrowDown":V("vert",1),Backspace:W,"Mod-Backspace":W,Delete:W,"Mod-Delete":W});function z(e,t,n){return!n.eq(e.selection)&&(t&&t(e.tr.setSelection(n)),!0)}function B(e,t){return function(n,o,r){var i=n.selection;if(i instanceof C)return z(n,o,s.Selection.near(i.$headCell,t));if("horiz"!=e&&!i.empty)return!1;var a=H(r,e,t);if(null==a)return!1;if("horiz"==e)return z(n,o,s.Selection.near(n.doc.resolve(i.head+t),t));var u=n.doc.resolve(a),c=x(u,e,t);return z(n,o,c?s.Selection.near(c,1):t<0?s.Selection.near(n.doc.resolve(u.before(-1)),-1):s.Selection.near(n.doc.resolve(u.after(-1)),1))}}function V(e,t){return function(n,o,r){var s=n.selection;if(!(s instanceof C)){var i=H(r,e,t);if(null==i)return!1;s=new C(n.doc.resolve(i))}var a=x(s.$headCell,e,t);return!!a&&z(n,o,new C(s.$anchorCell,a))}}function W(e,t){var n=e.selection;if(!(n instanceof C))return!1;if(t){var o=e.tr,r=N(e.schema).cell.createAndFill().content;n.forEachCell(function(e,t){e.content.eq(r)||o.replace(o.mapping.map(t+1),o.mapping.map(t+e.nodeSize-1),new a.Slice(r,0,0))}),o.docChanged&&t(o)}return!0}function J(e,t){var n=j(e.state.doc.resolve(t));return!!n&&(e.dispatch(e.state.tr.setSelection(new C(n))),!0)}function U(e,t,n){if(!y(e.state))return!1;var o=P(n),r=e.state.selection;if(r instanceof C){o||(o={width:1,height:1,rows:[a.Fragment.from(I(N(e.state.schema).cell,n))]});var s=r.$anchorCell.node(-1),i=r.$anchorCell.start(-1),u=m.get(s).rectBetween(r.$anchorCell.pos-i,r.$headCell.pos-i);return o=D(o,u.right-u.left,u.bottom-u.top),F(e.state,e.dispatch,i,u,o),!0}if(o){var c=_(e.state),l=c.start(-1);return F(e.state,e.dispatch,l,m.get(c.node(-1)).findCell(c.pos-l),o),!0}return!1}function K(e,t){if(!t.ctrlKey&&!t.metaKey){var n,o=q(e,t.target);if(t.shiftKey&&e.state.selection instanceof C)r(e.state.selection.$anchorCell,t),t.preventDefault();else if(t.shiftKey&&o&&null!=(n=j(e.state.selection.$anchor))&&G(e,t).pos!=n.pos)r(n,t),t.preventDefault();else if(!o)return;e.root.addEventListener("mouseup",s),e.root.addEventListener("dragstart",s),e.root.addEventListener("mousemove",i)}function r(t,n){var o=G(e,n),r=null==v.getState(e.state);if(!o||!w(t,o)){if(!r)return;o=t}var s=new C(t,o);if(r||!e.state.selection.eq(s)){var i=e.state.tr.setSelection(s);r&&i.setMeta(v,t.pos),e.dispatch(i)}}function s(){e.root.removeEventListener("mouseup",s),e.root.removeEventListener("dragstart",s),e.root.removeEventListener("mousemove",i),null!=v.getState(e.state)&&e.dispatch(e.state.tr.setMeta(v,-1))}function i(n){var i,a=v.getState(e.state);if(null!=a)i=e.state.doc.resolve(a);else if(q(e,n.target)!=o&&!(i=G(e,t)))return s();i&&r(i,n)}}function H(e,t,n){if(!(e.state.selection instanceof s.TextSelection))return null;for(var o=e.state.selection.$head,r=o.depth-1;r>=0;r--){var i=o.node(r);if((n<0?o.index(r):o.indexAfter(r))!=(n<0?0:i.childCount))return null;if("cell"==i.type.spec.tableRole||"header_cell"==i.type.spec.tableRole){var a=o.before(r),u="vert"==t?n>0?"down":"up":n>0?"right":"left";return e.endOfTextblock(u)?a:null}}return null}function q(e,t){for(;t&&t!=e.dom;t=t.parentNode)if("TD"==t.nodeName||"TH"==t.nodeName)return t}function G(e,t){var n=e.posAtCoords({left:t.clientX,top:t.clientY});return n&&n?j(e.state.doc.resolve(n.pos)):null}function X(e,t){var n,o=function(t,o){"table"==t.type.spec.tableRole&&(n=function(e,t,n,o){var r=m.get(t);if(!r.problems)return o;o||(o=e.tr);for(var s,i,a=[],u=0;u<r.height;u++)a.push(0);for(var c=0;c<r.problems.length;c++){var l=r.problems[c];if("collision"==l.type){for(var d=t.nodeAt(l.pos),f=0;f<d.attrs.rowspan;f++)a[l.row+f]+=l.n;o.setNodeMarkup(o.mapping.map(n+1+l.pos),null,S(d.attrs,d.attrs.colspan-l.n,l.n))}else if("missing"==l.type)a[l.row]+=l.n;else if("overlong_rowspan"==l.type){var p=t.nodeAt(l.pos);o.setNodeMarkup(o.mapping.map(n+1+l.pos),null,k(p.attrs,"rowspan",p.attrs.rowspan-l.n))}else if("colwidth mismatch"==l.type){var h=t.nodeAt(l.pos);o.setNodeMarkup(o.mapping.map(n+1+l.pos),null,k(h.attrs,"colwidth",l.colwidth))}}for(var v=0;v<a.length;v++)a[v]&&(null==s&&(s=v),i=v);for(var j=0,y=n+1;j<r.height;j++){var _=y+t.child(j).nodeSize,g=a[j];if(g>0){for(var b=[],w=0;w<g;w++)b.push(N(e.schema).cell.createAndFill());var x=0!=j&&s!=j-1||i!=j?_-1:y+1;o.insert(o.mapping.map(x),b)}y=_}return o}(e,t,o,n))};return t?t.doc!=e.doc&&function e(t,n,o,r){var s=t.childCount,i=n.childCount;e:for(var a=0,u=0;a<i;a++){for(var c=n.child(a),l=u,d=Math.min(s,a+3);l<d;l++)if(t.child(l)==c){u=l+1,o+=c.nodeSize;continue e}r(c,o),u<s&&t.child(u).sameMarkup(c)?e(t.child(u),c,o+1,r):c.nodesBetween(0,c.content.size,r,o+1),o+=c.nodeSize}}(t.doc,e.doc,0,o):e.doc.descendants(o),n}function Y(e){var t,n=e.selection,o=_(e),r=o.node(-1),s=o.start(-1),i=m.get(r);return(t=n instanceof C?i.rectBetween(n.$anchorCell.pos-s,n.$headCell.pos-s):i.findCell(o.pos-s)).tableStart=s,t.map=i,t.table=r,t}function Q(e,t,n){var o=t.map,r=t.tableStart,s=t.table,i=n>0?-1:0;(function(e,t,n){for(var o=N(t.type.schema).header_cell,r=0;r<e.height;r++)if(t.nodeAt(e.map[n+r*e.width]).type!=o)return!1;return!0})(o,s,n+i)&&(i=0==n||n==o.width?null:0);for(var a=0;a<o.height;a++){var u=a*o.width+n;if(n>0&&n<o.width&&o.map[u-1]==o.map[u]){var c=o.map[u],l=s.nodeAt(c);e.setNodeMarkup(e.mapping.map(r+c),null,O(l.attrs,n-o.colCount(c))),a+=l.attrs.rowspan-1}else{var d=null==i?N(s.type.schema).cell:s.nodeAt(o.map[u+i]).type,f=o.positionAt(a,n,s);e.insert(e.mapping.map(r+f),d.createAndFill())}}return e}function Z(e,t,n){for(var o=t.map,r=t.table,s=t.tableStart,i=e.mapping.maps.length,a=0;a<o.height;){var u=a*o.width+n,c=o.map[u],l=r.nodeAt(c);if(n>0&&o.map[u-1]==c||n<o.width-1&&o.map[u+1]==c)e.setNodeMarkup(e.mapping.slice(i).map(s+c),null,S(l.attrs,n-o.colCount(c)));else{var d=e.mapping.slice(i).map(s+c);e.delete(d,d+l.nodeSize)}a+=l.attrs.rowspan}}function ee(e,t,n){for(var o=t.map,r=t.tableStart,s=t.table,i=r,a=0;a<n;a++)i+=s.child(a).nodeSize;var u=[],c=n>0?-1:0;(function(e,t,n){for(var o=N(t.type.schema).header_cell,r=0;r<e.width;r++)if(t.nodeAt(e.map[r+n*e.width]).type!=o)return!1;return!0})(o,s,n+c)&&(c=0==n||n==o.height?null:0);for(var l=0,d=o.width*n;l<o.width;l++,d++)if(n>0&&n<o.height&&o.map[d]==o.map[d-o.width]){var f=o.map[d],p=s.nodeAt(f).attrs;e.setNodeMarkup(r+f,null,k(p,"rowspan",p.rowspan+1)),l+=p.colspan-1}else{var m=null==c?N(s.type.schema).cell:s.nodeAt(o.map[d+c*o.width]).type;u.push(m.createAndFill())}return e.insert(i,N(s.type.schema).row.create(null,u)),e}function te(e,t,n){for(var o=t.map,r=t.table,s=t.tableStart,i=0,a=0;a<n;a++)i+=r.child(a).nodeSize;var u=i+r.child(n).nodeSize,c=e.mapping.maps.length;e.delete(i+s,u+s);for(var l=0,d=n*o.width;l<o.width;l++,d++){var f=o.map[d];if(n>0&&f==o.map[d-o.width]){var p=r.nodeAt(f).attrs;e.setNodeMarkup(e.mapping.slice(c).map(f+s),null,k(p,"rowspan",p.rowspan-1)),l+=p.colspan-1}else if(n<o.width&&f==o.map[d+o.width]){var m=r.nodeAt(f),h=m.type.create(k(m.attrs,"rowspan",m.attrs.rowspan-1),m.content),v=o.positionAt(n+1,l,r);e.insert(e.mapping.slice(c).map(s+v),h),l+=m.attrs.colspan-1}}}function ne(e){var t=e.content;return 1==t.childCount&&t.firstChild.isTextblock&&0==t.firstChild.childCount}function oe(e){return function(t,n){if(!y(t))return!1;if(n){for(var o=N(t.schema),r=Y(t),s=t.tr,i=r.map.cellsInRect("column"==e?new p(r.left,0,r.right,r.map.height):"row"==e?new p(0,r.top,r.map.width,r.bottom):r),a=i.map(function(e){return r.table.nodeAt(e)}),u=0;u<i.length;u++)a[u].type==o.header_cell&&s.setNodeMarkup(r.tableStart+i[u],o.cell,a[u].attrs);if(0==s.steps.length)for(var c=0;c<i.length;c++)s.setNodeMarkup(r.tableStart+i[c],o.header_cell,a[c].attrs);n(s)}return!0}}var re=oe("row"),se=oe("column"),ie=oe("cell");var ae=function(e,t){this.node=e,this.cellMinWidth=t,this.dom=document.createElement("div"),this.dom.className="tableWrapper",this.table=this.dom.appendChild(document.createElement("table")),this.colgroup=this.table.appendChild(document.createElement("colgroup")),ue(e,this.colgroup,this.table,t),this.contentDOM=this.table.appendChild(document.createElement("tbody"))};function ue(e,t,n,o,r,s){for(var i=0,a=!0,u=t.firstChild,c=e.firstChild,l=0,d=0;l<c.childCount;l++)for(var f=c.child(l).attrs,p=f.colspan,m=f.colwidth,h=0;h<p;h++,d++){var v=r==d?s:m&&m[h],j=v?v+"px":"";i+=v||o,v||(a=!1),u?(u.style.width!=j&&(u.style.width=j),u=u.nextSibling):t.appendChild(document.createElement("col")).style.width=j}for(;u;){var y=u.nextSibling;u.parentNode.removeChild(u),u=y}a?(n.style.width=i+"px",n.style.minWidth=""):(n.style.width="",n.style.minWidth=i+"px")}ae.prototype.update=function(e){return e.type==this.node.type&&(this.node=e,ue(e,this.colgroup,this.table,this.cellMinWidth),!0)},ae.prototype.ignoreMutation=function(e){return"attributes"==e.type&&(e.target==this.table||this.colgroup.contains(e.target))};var ce=new s.PluginKey("tableColumnResizing");var le=function(e,t){this.activeHandle=e,this.dragging=t};function de(e,t,n){var o=e.posAtCoords({left:t.clientX,top:t.clientY}).pos,r=j(e.state.doc.resolve(o));if(!r)return-1;if("right"==n)return r.pos;var s=m.get(r.node(-1)),i=r.start(-1),a=s.map.indexOf(r.pos-i);return a%s.width==0?-1:i+s.map[a-1]}function fe(e,t,n){var o=t.clientX-e.startX;return Math.max(n,e.startWidth+o)}function pe(e,t){e.dispatch(e.state.tr.setMeta(ce,{setHandle:t}))}function me(e){for(var t=[],n=0;n<e;n++)t.push(0);return t}le.prototype.apply=function(e){var t=this,n=e.getMeta(ce);if(n&&null!=n.setHandle)return new le(n.setHandle,null);if(n&&void 0!==n.setDragging)return new le(t.activeHandle,n.setDragging);if(t.activeHandle>-1&&e.docChanged){var o=e.mapping.map(t.activeHandle,-1);g(e.doc.resolve(o))||(o=null),t=new le(o,t.dragging)}return t},t.tableEditing=function(){return new s.Plugin({key:v,state:{init:function(){return null},apply:function(e,t){var n=e.getMeta(v);if(null!=n)return-1==n?null:n;if(null==t||!e.docChanged)return t;var o=e.mapping.mapResult(t),r=o.deleted,s=o.pos;return r?null:s}},props:{decorations:A,handleDOMEvents:{mousedown:K},createSelectionBetween:function(e){if(null!=v.getState(e.state))return e.state.selection},handleTripleClick:J,handleKeyDown:L,handlePaste:U},appendTransaction:function(e,t,n){return function(e,t){var n,o,r=(t||e).selection,i=(t||e).doc;if(r instanceof s.NodeSelection&&(o=r.node.type.spec.tableRole))if("cell"==o||"header_cell"==o)n=C.create(i,r.from);else if("row"==o){var a=i.resolve(r.from+1);n=C.rowSelection(a,a)}else{var u=m.get(r.node),c=r.from+1,l=c+u.map[u.width*u.height-1];n=C.create(i,c+1,l)}else r instanceof s.TextSelection&&function(e){var t=e.$from,n=e.$to;if(t.pos==n.pos||t.pos<t.pos-6)return!1;for(var o=t.pos,r=n.pos,s=t.depth;s>=0&&!(t.after(s+1)<t.end(s));s--,o++);for(var i=n.depth;i>=0&&!(n.before(i+1)>n.start(i));i--,r--);return o==r&&/row|table/.test(t.node(s).type.spec.tableRole)}(r)&&(n=s.TextSelection.create(i,r.from));return n&&(t||(t=e.tr)).setSelection(n),t}(n,X(n,t))}})},t.fixTables=X,t.handlePaste=U,t.cellAround=j,t.isInTable=y,t.selectionCell=_,t.moveCellForward=b,t.inSameTable=w,t.findCell=function(e){return m.get(e.node(-1)).findCell(e.pos-e.start(-1))},t.colCount=function(e){return m.get(e.node(-1)).colCount(e.pos-e.start(-1))},t.nextCell=x,t.tableNodes=function(e){var t=e.cellAttributes||{},n={colspan:{default:1},rowspan:{default:1},colwidth:{default:null}};for(var o in t)n[o]={default:t[o].default};return{table:{content:"table_row+",tableRole:"table",isolating:!0,group:e.tableGroup,parseDOM:[{tag:"table"}],toDOM:function(){return["table",["tbody",0]]}},table_row:{content:"(table_cell | table_header)*",tableRole:"row",parseDOM:[{tag:"tr"}],toDOM:function(){return["tr",0]}},table_cell:{content:e.cellContent,attrs:n,tableRole:"cell",isolating:!0,parseDOM:[{tag:"td",getAttrs:function(e){return T(e,t)}}],toDOM:function(e){return["td",E(e,t),0]}},table_header:{content:e.cellContent,attrs:n,tableRole:"header_cell",isolating:!0,parseDOM:[{tag:"th",getAttrs:function(e){return T(e,t)}}],toDOM:function(e){return["th",E(e,t),0]}}}},t.CellSelection=C,t.TableMap=m,t.columnResizing=function(e){void 0===e&&(e={});var t=e.handleWidth;void 0===t&&(t=5);var n=e.cellMinWidth;void 0===n&&(n=25);var o=e.View;void 0===o&&(o=ae);var r=e.lastColumnResizable;return void 0===r&&(r=!0),new s.Plugin({key:ce,state:{init:function(e,t){return this.spec.props.nodeViews[N(t.schema).table.name]=function(e,t){return new o(e,n,t)},new le(-1,!1)},apply:function(e,t){return t.apply(e)}},props:{attributes:function(e){return ce.getState(e).activeHandle>-1?{class:"resize-cursor"}:null},handleDOMEvents:{mousemove:function(e,n){!function(e,t,n,o,r){var s=ce.getState(e.state);if(!s.dragging){var i=function(e){for(;e&&"TD"!=e.nodeName&&"TH"!=e.nodeName;)e=e.classList.contains("ProseMirror")?null:e.parentNode;return e}(t.target),a=-1;if(i){var u=i.getBoundingClientRect(),c=u.left,l=u.right;t.clientX-c<=n?a=de(e,t,"left"):l-t.clientX<=n&&(a=de(e,t,"right"))}if(a!=s.activeHandle){if(!r&&-1!==a){var d=e.state.doc.resolve(a),f=d.node(-1),p=m.get(f),h=d.start(-1),v=p.colCount(d.pos-h)+d.nodeAfter.attrs.colspan-1;if(v==p.width-1)return}pe(e,a)}}}(e,n,t,0,r)},mouseleave:function(e){!function(e){var t=ce.getState(e.state);t.activeHandle>-1&&!t.dragging&&pe(e,-1)}(e)},mousedown:function(e,t){!function(e,t,n){var o=ce.getState(e.state);if(-1==o.activeHandle||o.dragging)return!1;var r=e.state.doc.nodeAt(o.activeHandle),s=function(e,t,n){var o=n.colspan,r=n.colwidth,s=r&&r[r.length-1];if(s)return s;var i=e.domAtPos(t+1).node.offsetWidth,a=o;if(r)for(var u=0;u<o;u++)r[u]&&(i-=r[u],a--);return i/a}(e,o.activeHandle,r.attrs);function i(t){window.removeEventListener("mouseup",i),window.removeEventListener("mousemove",a);var o=ce.getState(e.state);o.dragging&&(function(e,t,n){for(var o=e.state.doc.resolve(t),r=o.node(-1),s=m.get(r),i=o.start(-1),a=s.colCount(o.pos-i)+o.nodeAfter.attrs.colspan-1,u=e.state.tr,c=0;c<s.height;c++){var l=c*s.width+a;if(!c||s.map[l]!=s.map[l-s.width]){var d=s.map[l],f=r.nodeAt(d),p=f.attrs,h=1==p.colspan?0:a-s.colCount(d);if(!p.colwidth||p.colwidth[h]!=n){var v=p.colwidth?p.colwidth.slice():me(p.colspan);v[h]=n,u.setNodeMarkup(i+d,null,k(p,"colwidth",v))}}}u.docChanged&&e.dispatch(u)}(e,o.activeHandle,fe(o.dragging,t,n)),e.dispatch(e.state.tr.setMeta(ce,{setDragging:null})))}function a(t){if(!t.which)return i(t);var o=ce.getState(e.state),r=fe(o.dragging,t,n);!function(e,t,n,o){for(var r=e.state.doc.resolve(t),s=r.node(-1),i=r.start(-1),a=m.get(s).colCount(r.pos-i)+r.nodeAfter.attrs.colspan-1,u=e.domAtPos(r.start(-1)).node;"TABLE"!=u.nodeName;)u=u.parentNode;ue(s,u.firstChild,u,o,a,n)}(e,o.activeHandle,r,n)}e.dispatch(e.state.tr.setMeta(ce,{setDragging:{startX:t.clientX,startWidth:s}})),window.addEventListener("mouseup",i),window.addEventListener("mousemove",a),t.preventDefault()}(e,t,n)}},decorations:function(e){var t=ce.getState(e);if(t.activeHandle>-1)return function(e,t){for(var n=[],o=e.doc.resolve(t),r=o.node(-1),s=m.get(r),a=o.start(-1),u=s.colCount(o.pos-a)+o.nodeAfter.attrs.colspan,c=0;c<s.height;c++){var l=u+c*s.width-1;if(!(u!=s.width&&s.map[l]==s.map[l+1]||0!=c&&s.map[l-1]==s.map[l-1-s.width])){var d=s.map[l],f=a+d+r.nodeAt(d).nodeSize-1,p=document.createElement("div");p.className="column-resize-handle",n.push(i.Decoration.widget(f,p))}}return i.DecorationSet.create(e.doc,n)}(e,t.activeHandle)},nodeViews:{}}})},t.columnResizingPluginKey=ce,t.updateColumnsOnResize=ue,t.__pastedCells=P,t.__insertCells=F,t.__clipCells=D,t.addColumn=Q,t.addColumnBefore=function(e,t){if(!y(e))return!1;if(t){var n=Y(e);t(Q(e.tr,n,n.left))}return!0},t.addColumnAfter=function(e,t){if(!y(e))return!1;if(t){var n=Y(e);t(Q(e.tr,n,n.right))}return!0},t.removeColumn=Z,t.deleteColumn=function(e,t){if(!y(e))return!1;if(t){var n=Y(e),o=e.tr;if(0==n.left&&n.right==n.map.width)return!1;for(var r=n.right-1;Z(o,n,r),r!=n.left;r--)n.table=n.tableStart?o.doc.nodeAt(n.tableStart-1):o.doc,n.map=m.get(n.table);t(o)}return!0},t.addRow=ee,t.addRowBefore=function(e,t){if(!y(e))return!1;if(t){var n=Y(e);t(ee(e.tr,n,n.top))}return!0},t.addRowAfter=function(e,t){if(!y(e))return!1;if(t){var n=Y(e);t(ee(e.tr,n,n.bottom))}return!0},t.removeRow=te,t.deleteRow=function(e,t){if(!y(e))return!1;if(t){var n=Y(e),o=e.tr;if(0==n.top&&n.bottom==n.map.height)return!1;for(var r=n.bottom-1;te(o,n,r),r!=n.top;r--)n.table=n.tableStart?o.doc.nodeAt(n.tableStart-1):o.doc,n.map=m.get(n.table);t(o)}return!0},t.mergeCells=function(e,t){var n=e.selection;if(!(n instanceof C)||n.$anchorCell.pos==n.$headCell.pos)return!1;var o=Y(e),r=o.map;if(function(e,t){for(var n=e.width,o=e.height,r=e.map,s=t.top*n+t.left,i=s,a=(t.bottom-1)*n+t.left,u=s+(t.right-t.left-1),c=t.top;c<t.bottom;c++){if(t.left>0&&r[i]==r[i-1]||t.right<n&&r[u]==r[u+1])return!0;i+=n,u+=n}for(var l=t.left;l<t.right;l++){if(t.top>0&&r[s]==r[s-n]||t.bottom<o&&r[a]==r[a+n])return!0;s++,a++}return!1}(r,o))return!1;if(t){for(var s,i,u=e.tr,c=[],l=a.Fragment.empty,d=o.top;d<o.bottom;d++)for(var f=o.left;f<o.right;f++){var p=r.map[d*r.width+f],m=o.table.nodeAt(p);if(!(c.indexOf(p)>-1))if(c.push(p),null==s)s=p,i=m;else{ne(m)||(l=l.append(m.content));var h=u.mapping.map(p+o.tableStart);u.delete(h,h+m.nodeSize)}}if(u.setNodeMarkup(s+o.tableStart,null,k(O(i.attrs,i.attrs.colspan,o.right-o.left-i.attrs.colspan),"rowspan",o.bottom-o.top)),l.size){var v=s+1+i.content.size,j=ne(i)?s+1:v;u.replaceWith(j+o.tableStart,v+o.tableStart,l)}u.setSelection(new C(u.doc.resolve(s+o.tableStart))),t(u)}return!0},t.splitCell=function(e,t){var n,o,r=e.selection;if(r instanceof C){if(r.$anchorCell.pos!=r.$headCell.pos)return!1;n=r.$anchorCell.nodeAfter,o=r.$anchorCell.pos}else{if(!(n=function(e){for(var t=e.depth-1;t>0;t--){var n=e.node(t).type.spec.tableRole;if("cell"===n||"header_cell"===n)return e.node(t)}return null}(r.$from)))return!1;o=j(r.$from).pos}if(1==n.attrs.colspan&&1==n.attrs.rowspan)return!1;if(t){var s=n.attrs,i=[],a=s.colwidth;s.rowspan>1&&(s=k(s,"rowspan",1)),s.colspan>1&&(s=k(s,"colspan",1));for(var u=Y(e),c=e.tr,l=0;l<u.right-u.left;l++)i.push(a?k(s,"colwidth",a&&a[l]?[a[l]]:null):s);for(var d,f=N(e.schema)[n.type.spec.tableRole],p=0;p<u.bottom;p++)if(p>=u.top){var m=u.map.positionAt(p,u.left,u.table);p==u.top&&(m+=n.nodeSize);for(var h=u.left,v=0;h<u.right;h++,v++)h==u.left&&p==u.top||c.insert(d=c.mapping.map(m+u.tableStart,1),f.createAndFill(i[v]))}c.setNodeMarkup(o,null,i[0]),r instanceof C&&c.setSelection(new C(c.doc.resolve(r.$anchorCell.pos),d&&c.doc.resolve(d))),t(c)}return!0},t.setCellAttr=function(e,t){return function(n,o){if(!y(n))return!1;var r=_(n);if(r.nodeAfter.attrs[e]===t)return!1;if(o){var s=n.tr;n.selection instanceof C?n.selection.forEachCell(function(n,o){n.attrs[e]!==t&&s.setNodeMarkup(o,null,k(n.attrs,e,t))}):s.setNodeMarkup(r.pos,null,k(r.nodeAfter.attrs,e,t)),o(s)}return!0}},t.toggleHeaderRow=re,t.toggleHeaderColumn=se,t.toggleHeaderCell=ie,t.goToNextCell=function(e){return function(t,n){if(!y(t))return!1;var o=function(e,t){if(t<0){var n=e.nodeBefore;if(n)return e.pos-n.nodeSize;for(var o=e.index(-1)-1,r=e.before();o>=0;o--){var s=e.node(-1).child(o);if(s.childCount)return r-1-s.lastChild.nodeSize;r-=s.nodeSize}}else{if(e.index()<e.parent.childCount-1)return e.pos+e.nodeAfter.nodeSize;for(var i=e.node(-1),a=e.indexAfter(-1),u=e.after();a<i.childCount;a++){var c=i.child(a);if(c.childCount)return u+1;u+=c.nodeSize}}}(_(t),e);if(null!=o){if(n){var r=t.doc.resolve(o);n(t.tr.setSelection(s.TextSelection.between(r,b(r))).scrollIntoView())}return!0}}},t.deleteTable=function(e,t){for(var n=e.selection.$anchor,o=n.depth;o>0;o--)if("table"==n.node(o).type.spec.tableRole)return t&&t(e.tr.delete(n.before(o),n.after(o)).scrollIntoView()),!0;return!1}},"./node_modules/prosemirror-transform/dist/index.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n("./node_modules/prosemirror-model/dist/index.js"),r=65535,s=Math.pow(2,16);function i(e,t){return e+t*s}function a(e){return e&r}var u=function(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=null),this.pos=e,this.deleted=t,this.recover=n},c=function(e,t){void 0===t&&(t=!1),this.ranges=e,this.inverted=t};c.prototype.recover=function(e){var t=0,n=a(e);if(!this.inverted)for(var o=0;o<n;o++)t+=this.ranges[3*o+2]-this.ranges[3*o+1];return this.ranges[3*n]+t+function(e){return(e-(e&r))/s}(e)},c.prototype.mapResult=function(e,t){return void 0===t&&(t=1),this._map(e,t,!1)},c.prototype.map=function(e,t){return void 0===t&&(t=1),this._map(e,t,!0)},c.prototype._map=function(e,t,n){for(var o=0,r=this.inverted?2:1,s=this.inverted?1:2,a=0;a<this.ranges.length;a+=3){var c=this.ranges[a]-(this.inverted?o:0);if(c>e)break;var l=this.ranges[a+r],d=this.ranges[a+s],f=c+l;if(e<=f){var p=c+o+((l?e==c?-1:e==f?1:t:t)<0?0:d);if(n)return p;var m=i(a/3,e-c);return new u(p,t<0?e!=c:e!=f,m)}o+=d-l}return n?e+o:new u(e+o)},c.prototype.touches=function(e,t){for(var n=0,o=a(t),r=this.inverted?2:1,s=this.inverted?1:2,i=0;i<this.ranges.length;i+=3){var u=this.ranges[i]-(this.inverted?n:0);if(u>e)break;var c=this.ranges[i+r];if(e<=u+c&&i==3*o)return!0;n+=this.ranges[i+s]-c}return!1},c.prototype.forEach=function(e){for(var t=this.inverted?2:1,n=this.inverted?1:2,o=0,r=0;o<this.ranges.length;o+=3){var s=this.ranges[o],i=s-(this.inverted?r:0),a=s+(this.inverted?0:r),u=this.ranges[o+t],c=this.ranges[o+n];e(i,i+u,a,a+c),r+=c-u}},c.prototype.invert=function(){return new c(this.ranges,!this.inverted)},c.prototype.toString=function(){return(this.inverted?"-":"")+JSON.stringify(this.ranges)},c.offset=function(e){return 0==e?c.empty:new c(e<0?[0,-e,0]:[0,0,e])},c.empty=new c([]);var l=function(e,t,n,o){this.maps=e||[],this.from=n||0,this.to=null==o?this.maps.length:o,this.mirror=t};function d(e){var t=Error.call(this,e);return t.__proto__=d.prototype,t}l.prototype.slice=function(e,t){return void 0===e&&(e=0),void 0===t&&(t=this.maps.length),new l(this.maps,this.mirror,e,t)},l.prototype.copy=function(){return new l(this.maps.slice(),this.mirror&&this.mirror.slice(),this.from,this.to)},l.prototype.appendMap=function(e,t){this.to=this.maps.push(e),null!=t&&this.setMirror(this.maps.length-1,t)},l.prototype.appendMapping=function(e){for(var t=0,n=this.maps.length;t<e.maps.length;t++){var o=e.getMirror(t);this.appendMap(e.maps[t],null!=o&&o<t?n+o:null)}},l.prototype.getMirror=function(e){if(this.mirror)for(var t=0;t<this.mirror.length;t++)if(this.mirror[t]==e)return this.mirror[t+(t%2?-1:1)]},l.prototype.setMirror=function(e,t){this.mirror||(this.mirror=[]),this.mirror.push(e,t)},l.prototype.appendMappingInverted=function(e){for(var t=e.maps.length-1,n=this.maps.length+e.maps.length;t>=0;t--){var o=e.getMirror(t);this.appendMap(e.maps[t].invert(),null!=o&&o>t?n-o-1:null)}},l.prototype.invert=function(){var e=new l;return e.appendMappingInverted(this),e},l.prototype.map=function(e,t){if(void 0===t&&(t=1),this.mirror)return this._map(e,t,!0);for(var n=this.from;n<this.to;n++)e=this.maps[n].map(e,t);return e},l.prototype.mapResult=function(e,t){return void 0===t&&(t=1),this._map(e,t,!1)},l.prototype._map=function(e,t,n){for(var o=!1,r=null,s=this.from;s<this.to;s++){var i=this.maps[s],a=r&&r[s];if(null!=a&&i.touches(e,a))e=i.recover(a);else{var c=i.mapResult(e,t);if(null!=c.recover){var l=this.getMirror(s);if(null!=l&&l>s&&l<this.to){if(c.deleted){s=l,e=this.maps[l].recover(c.recover);continue}(r||(r=Object.create(null)))[l]=c.recover}}c.deleted&&(o=!0),e=c.pos}}return n?e:new u(e,o)},d.prototype=Object.create(Error.prototype),d.prototype.constructor=d,d.prototype.name="TransformError";var f=function(e){this.doc=e,this.steps=[],this.docs=[],this.mapping=new l},p={before:{},docChanged:{}};function m(){throw new Error("Override me")}p.before.get=function(){return this.docs.length?this.docs[0]:this.doc},f.prototype.step=function(e){var t=this.maybeStep(e);if(t.failed)throw new d(t.failed);return this},f.prototype.maybeStep=function(e){var t=e.apply(this.doc);return t.failed||this.addStep(e,t.doc),t},p.docChanged.get=function(){return this.steps.length>0},f.prototype.addStep=function(e,t){this.docs.push(this.doc),this.steps.push(e),this.mapping.appendMap(e.getMap()),this.doc=t},Object.defineProperties(f.prototype,p);var h=Object.create(null),v=function(){};v.prototype.apply=function(e){return m()},v.prototype.getMap=function(){return c.empty},v.prototype.invert=function(e){return m()},v.prototype.map=function(e){return m()},v.prototype.merge=function(e){return null},v.prototype.toJSON=function(){return m()},v.fromJSON=function(e,t){if(!t||!t.stepType)throw new RangeError("Invalid input for Step.fromJSON");var n=h[t.stepType];if(!n)throw new RangeError("No step type "+t.stepType+" defined");return n.fromJSON(e,t)},v.jsonID=function(e,t){if(e in h)throw new RangeError("Duplicate use of step JSON ID "+e);return h[e]=t,t.prototype.jsonID=e,t};var j=function(e,t){this.doc=e,this.failed=t};j.ok=function(e){return new j(e,null)},j.fail=function(e){return new j(null,e)},j.fromReplace=function(e,t,n,r){try{return j.ok(e.replace(t,n,r))}catch(e){if(e instanceof o.ReplaceError)return j.fail(e.message);throw e}};var y=function(e){function t(t,n,o,r){e.call(this),this.from=t,this.to=n,this.slice=o,this.structure=!!r}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.apply=function(e){return this.structure&&g(e,this.from,this.to)?j.fail("Structure replace would overwrite content"):j.fromReplace(e,this.from,this.to,this.slice)},t.prototype.getMap=function(){return new c([this.from,this.to-this.from,this.slice.size])},t.prototype.invert=function(e){return new t(this.from,this.from+this.slice.size,e.slice(this.from,this.to))},t.prototype.map=function(e){var n=e.mapResult(this.from,1),o=e.mapResult(this.to,-1);return n.deleted&&o.deleted?null:new t(n.pos,Math.max(n.pos,o.pos),this.slice)},t.prototype.merge=function(e){if(!(e instanceof t)||e.structure!=this.structure)return null;if(this.from+this.slice.size!=e.from||this.slice.openEnd||e.slice.openStart){if(e.to!=this.from||this.slice.openStart||e.slice.openEnd)return null;var n=this.slice.size+e.slice.size==0?o.Slice.empty:new o.Slice(e.slice.content.append(this.slice.content),e.slice.openStart,this.slice.openEnd);return new t(e.from,this.to,n,this.structure)}var r=this.slice.size+e.slice.size==0?o.Slice.empty:new o.Slice(this.slice.content.append(e.slice.content),this.slice.openStart,e.slice.openEnd);return new t(this.from,this.to+(e.to-e.from),r,this.structure)},t.prototype.toJSON=function(){var e={stepType:"replace",from:this.from,to:this.to};return this.slice.size&&(e.slice=this.slice.toJSON()),this.structure&&(e.structure=!0),e},t.fromJSON=function(e,n){if("number"!=typeof n.from||"number"!=typeof n.to)throw new RangeError("Invalid input for ReplaceStep.fromJSON");return new t(n.from,n.to,o.Slice.fromJSON(e,n.slice),!!n.structure)},t}(v);v.jsonID("replace",y);var _=function(e){function t(t,n,o,r,s,i,a){e.call(this),this.from=t,this.to=n,this.gapFrom=o,this.gapTo=r,this.slice=s,this.insert=i,this.structure=!!a}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.apply=function(e){if(this.structure&&(g(e,this.from,this.gapFrom)||g(e,this.gapTo,this.to)))return j.fail("Structure gap-replace would overwrite content");var t=e.slice(this.gapFrom,this.gapTo);if(t.openStart||t.openEnd)return j.fail("Gap is not a flat range");var n=this.slice.insertAt(this.insert,t.content);return n?j.fromReplace(e,this.from,this.to,n):j.fail("Content does not fit in gap")},t.prototype.getMap=function(){return new c([this.from,this.gapFrom-this.from,this.insert,this.gapTo,this.to-this.gapTo,this.slice.size-this.insert])},t.prototype.invert=function(e){var n=this.gapTo-this.gapFrom;return new t(this.from,this.from+this.slice.size+n,this.from+this.insert,this.from+this.insert+n,e.slice(this.from,this.to).removeBetween(this.gapFrom-this.from,this.gapTo-this.from),this.gapFrom-this.from,this.structure)},t.prototype.map=function(e){var n=e.mapResult(this.from,1),o=e.mapResult(this.to,-1),r=e.map(this.gapFrom,-1),s=e.map(this.gapTo,1);return n.deleted&&o.deleted||r<n.pos||s>o.pos?null:new t(n.pos,o.pos,r,s,this.slice,this.insert,this.structure)},t.prototype.toJSON=function(){var e={stepType:"replaceAround",from:this.from,to:this.to,gapFrom:this.gapFrom,gapTo:this.gapTo,insert:this.insert};return this.slice.size&&(e.slice=this.slice.toJSON()),this.structure&&(e.structure=!0),e},t.fromJSON=function(e,n){if("number"!=typeof n.from||"number"!=typeof n.to||"number"!=typeof n.gapFrom||"number"!=typeof n.gapTo||"number"!=typeof n.insert)throw new RangeError("Invalid input for ReplaceAroundStep.fromJSON");return new t(n.from,n.to,n.gapFrom,n.gapTo,o.Slice.fromJSON(e,n.slice),n.insert,!!n.structure)},t}(v);function g(e,t,n){for(var o=e.resolve(t),r=n-t,s=o.depth;r>0&&s>0&&o.indexAfter(s)==o.node(s).childCount;)s--,r--;if(r>0)for(var i=o.node(s).maybeChild(o.indexAfter(s));r>0;){if(!i||i.isLeaf)return!0;i=i.firstChild,r--}return!1}function b(e,t,n){return(0==t||e.canReplace(t,e.childCount))&&(n==e.childCount||e.canReplace(0,n))}function w(e){return{type:e,attrs:null}}function x(e,t){return e&&t&&!e.isLeaf&&e.canAppend(t)}function k(e,t,n){var o=e.resolve(t);if(o.parent.canReplaceWith(o.index(),o.index(),n))return t;if(0==o.parentOffset)for(var r=o.depth-1;r>=0;r--){var s=o.index(r);if(o.node(r).canReplaceWith(s,s,n))return o.before(r+1);if(s>0)return null}if(o.parentOffset==o.parent.content.size)for(var i=o.depth-1;i>=0;i--){var a=o.indexAfter(i);if(o.node(i).canReplaceWith(a,a,n))return o.after(i+1);if(a<o.node(i).childCount)return null}}function S(e,t,n){for(var r=[],s=0;s<e.childCount;s++){var i=e.child(s);i.content.size&&(i=i.copy(S(i.content,t,i))),i.isInline&&(i=t(i,n,s)),r.push(i)}return o.Fragment.fromArray(r)}v.jsonID("replaceAround",_),f.prototype.lift=function(e,t){for(var n=e.$from,r=e.$to,s=e.depth,i=n.before(s+1),a=r.after(s+1),u=i,c=a,l=o.Fragment.empty,d=0,f=s,p=!1;f>t;f--)p||n.index(f)>0?(p=!0,l=o.Fragment.from(n.node(f).copy(l)),d++):u--;for(var m=o.Fragment.empty,h=0,v=s,j=!1;v>t;v--)j||r.after(v+1)<r.end(v)?(j=!0,m=o.Fragment.from(r.node(v).copy(m)),h++):c++;return this.step(new _(u,c,i,a,new o.Slice(l.append(m),d,h),l.size-d,!0))},f.prototype.wrap=function(e,t){for(var n=o.Fragment.empty,r=t.length-1;r>=0;r--)n=o.Fragment.from(t[r].type.create(t[r].attrs,n));var s=e.start,i=e.end;return this.step(new _(s,i,s,i,new o.Slice(n,0,0),t.length,!0))},f.prototype.setBlockType=function(e,t,n,r){var s=this;if(void 0===t&&(t=e),!n.isTextblock)throw new RangeError("Type given to setBlockType should be a textblock");var i=this.steps.length;return this.doc.nodesBetween(e,t,function(e,t){if(e.isTextblock&&!e.hasMarkup(n,r)&&function(e,t,n){var o=e.resolve(t),r=o.index();return o.parent.canReplaceWith(r,r+1,n)}(s.doc,s.mapping.slice(i).map(t),n)){s.clearIncompatible(s.mapping.slice(i).map(t,1),n);var a=s.mapping.slice(i),u=a.map(t,1),c=a.map(t+e.nodeSize,1);return s.step(new _(u,c,u+1,c-1,new o.Slice(o.Fragment.from(n.create(r,null,e.marks)),0,0),1,!0)),!1}}),this},f.prototype.setNodeMarkup=function(e,t,n,r){var s=this.doc.nodeAt(e);if(!s)throw new RangeError("No node at given position");t||(t=s.type);var i=t.create(n,null,r||s.marks);if(s.isLeaf)return this.replaceWith(e,e+s.nodeSize,i);if(!t.validContent(s.content))throw new RangeError("Invalid content for node type "+t.name);return this.step(new _(e,e+s.nodeSize,e+1,e+s.nodeSize-1,new o.Slice(o.Fragment.from(i),0,0),1,!0))},f.prototype.split=function(e,t,n){void 0===t&&(t=1);for(var r=this.doc.resolve(e),s=o.Fragment.empty,i=o.Fragment.empty,a=r.depth,u=r.depth-t,c=t-1;a>u;a--,c--){s=o.Fragment.from(r.node(a).copy(s));var l=n&&n[c];i=o.Fragment.from(l?l.type.create(l.attrs,i):r.node(a).copy(i))}return this.step(new y(e,e,new o.Slice(s.append(i),t,t,!0)))},f.prototype.join=function(e,t){void 0===t&&(t=1);var n=new y(e-t,e+t,o.Slice.empty,!0);return this.step(n)};var O=function(e){function t(t,n,o){e.call(this),this.from=t,this.to=n,this.mark=o}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.apply=function(e){var t=this,n=e.slice(this.from,this.to),r=e.resolve(this.from),s=r.node(r.sharedDepth(this.to)),i=new o.Slice(S(n.content,function(e,n){return n.type.allowsMarkType(t.mark.type)?e.mark(t.mark.addToSet(e.marks)):e},s),n.openStart,n.openEnd);return j.fromReplace(e,this.from,this.to,i)},t.prototype.invert=function(){return new C(this.from,this.to,this.mark)},t.prototype.map=function(e){var n=e.mapResult(this.from,1),o=e.mapResult(this.to,-1);return n.deleted&&o.deleted||n.pos>=o.pos?null:new t(n.pos,o.pos,this.mark)},t.prototype.merge=function(e){if(e instanceof t&&e.mark.eq(this.mark)&&this.from<=e.to&&this.to>=e.from)return new t(Math.min(this.from,e.from),Math.max(this.to,e.to),this.mark)},t.prototype.toJSON=function(){return{stepType:"addMark",mark:this.mark.toJSON(),from:this.from,to:this.to}},t.fromJSON=function(e,n){if("number"!=typeof n.from||"number"!=typeof n.to)throw new RangeError("Invalid input for AddMarkStep.fromJSON");return new t(n.from,n.to,e.markFromJSON(n.mark))},t}(v);v.jsonID("addMark",O);var C=function(e){function t(t,n,o){e.call(this),this.from=t,this.to=n,this.mark=o}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.apply=function(e){var t=this,n=e.slice(this.from,this.to),r=new o.Slice(S(n.content,function(e){return e.mark(t.mark.removeFromSet(e.marks))}),n.openStart,n.openEnd);return j.fromReplace(e,this.from,this.to,r)},t.prototype.invert=function(){return new O(this.from,this.to,this.mark)},t.prototype.map=function(e){var n=e.mapResult(this.from,1),o=e.mapResult(this.to,-1);return n.deleted&&o.deleted||n.pos>=o.pos?null:new t(n.pos,o.pos,this.mark)},t.prototype.merge=function(e){if(e instanceof t&&e.mark.eq(this.mark)&&this.from<=e.to&&this.to>=e.from)return new t(Math.min(this.from,e.from),Math.max(this.to,e.to),this.mark)},t.prototype.toJSON=function(){return{stepType:"removeMark",mark:this.mark.toJSON(),from:this.from,to:this.to}},t.fromJSON=function(e,n){if("number"!=typeof n.from||"number"!=typeof n.to)throw new RangeError("Invalid input for RemoveMarkStep.fromJSON");return new t(n.from,n.to,e.markFromJSON(n.mark))},t}(v);function M(e,t,n,r){if(void 0===n&&(n=t),void 0===r&&(r=o.Slice.empty),t==n&&!r.size)return null;var s=e.resolve(t),i=e.resolve(n);if(E(s,i,r))return new y(t,n,r);var a=function(e,t){var n=function e(t,n,r,s){var i=o.Fragment.empty,a=0,u=r[n];if(t.depth>n){var c=e(t,n+1,r,s||u);a=c.openEnd+1,i=o.Fragment.from(t.node(n+1).copy(c.content))}u&&(i=i.append(u.content),a=u.openEnd);s&&(i=i.append(t.node(n).contentMatchAt(t.indexAfter(n)).fillBefore(o.Fragment.empty,!0)),a=0);return{content:i,openEnd:a}}(e,0,t,!1),r=n.content,s=n.openEnd;return new o.Slice(r,e.depth,s||0)}(s,function(e,t){for(var n=new N(e),o=1;t.size&&o<=3;o++)t=n.placeSlice(t.content,t.openStart,t.openEnd,o);for(;n.open.length;)n.closeNode();return n.placed}(s,r)),u=T(s,i,a);if(!u)return null;if(a.size!=u.size&&function(e,t,n){if(!t.parent.isTextblock)return!1;var o,r=n.openEnd?function(e,t){for(var n=1;n<t;n++)e=e.lastChild.content;return e.lastChild}(n.content,n.openEnd):e.node(e.depth-(n.openStart-n.openEnd));if(!r.isTextblock)return!1;for(var s=t.index();s<t.parent.childCount;s++)if(!r.type.allowsMarks(t.parent.child(s).marks))return!1;n.openEnd?o=r.contentMatchAt(r.childCount):(o=r.contentMatchAt(r.childCount),n.size&&(o=o.matchFragment(n.content,n.openStart?1:0)));return(o=o.matchFragment(t.parent.content,t.index()))&&o.validEnd}(s,i,a)){for(var c=i.depth,l=i.after(c);c>1&&l==i.end(--c);)++l;var d=T(s,e.resolve(l),a);if(d)return new _(t,l,n,i.end(),d,a.size)}return u.size||t!=n?new y(t,n,u):null}function A(e,t,n,r,s,i,a){var u,c=e.childCount,l=c-(a>0?1:0),d=i<0?t:n.node(s);u=i<0?d.contentMatchAt(l):1==c&&a>0?d.contentMatchAt(i?n.index(s):n.indexAfter(s)):d.contentMatchAt(n.indexAfter(s)).matchFragment(e,c>0&&i?1:0,l);var f=r.node(s);if(a>0&&s<r.depth){var p=f.content.cutByIndex(r.indexAfter(s)).addToStart(e.lastChild),m=u.fillBefore(p,!0);if(m&&m.size&&i>0&&1==c&&(m=null),m){var h=A(e.lastChild.content,e.lastChild,n,r,s+1,1==c?i-1:-1,a-1);if(h){var v=e.lastChild.copy(h);return m.size?e.cutByIndex(0,c-1).append(m).addToEnd(v):e.replaceChild(c-1,v)}}}a>0&&(u=u.matchType((1==c&&i>0?n.node(s+1):e.lastChild).type));var j=r.index(s);if(j==f.childCount&&!f.type.compatibleContent(t.type))return null;for(var y=u.fillBefore(f.content,!0,j),_=j;y&&_<f.content.childCount;_++)d.type.allowsMarks(f.content.child(_).marks)||(y=null);if(!y)return null;if(a>0){var g=function e(t,n,r,s,i){var a,u=t.content,c=u.childCount;a=i>=0?r.node(s).contentMatchAt(r.indexAfter(s)).matchFragment(u,i>0?1:0,c):t.contentMatchAt(c);if(n>0){var l=e(u.lastChild,n-1,r,s+1,1==c?i-1:-1);u=u.replaceChild(c-1,l)}return t.copy(u.append(a.fillBefore(o.Fragment.empty,!0)))}(e.lastChild,a-1,n,s+1,1==c?i-1:-1);e=e.replaceChild(c-1,g)}return e=e.append(y),r.depth>s&&(e=e.addToEnd(function e(t,n){var o=t.node(n);var r=o.contentMatchAt(0).fillBefore(o.content,!0,t.index(n));t.depth>n&&(r=r.addToEnd(e(t,n+1)));return o.copy(r)}(r,s+1))),e}function T(e,t,n){var r=A(n.content,e.node(0),e,t,0,n.openStart,n.openEnd);return r?function(e,t,n){for(;t>0&&n>0&&1==e.childCount;)e=e.firstChild.content,t--,n--;return new o.Slice(e,t,n)}(r,n.openStart,t.depth):null}function E(e,t,n){return!n.openStart&&!n.openEnd&&e.start()==t.start()&&e.parent.canReplace(e.index(),t.index(),n.content)}v.jsonID("removeMark",C),f.prototype.addMark=function(e,t,n){var o=this,r=[],s=[],i=null,a=null;return this.doc.nodesBetween(e,t,function(o,u,c){if(o.isInline){var l=o.marks;if(!n.isInSet(l)&&c.type.allowsMarkType(n.type)){for(var d=Math.max(u,e),f=Math.min(u+o.nodeSize,t),p=n.addToSet(l),m=0;m<l.length;m++)l[m].isInSet(p)||(i&&i.to==d&&i.mark.eq(l[m])?i.to=f:r.push(i=new C(d,f,l[m])));a&&a.to==d?a.to=f:s.push(a=new O(d,f,n))}}}),r.forEach(function(e){return o.step(e)}),s.forEach(function(e){return o.step(e)}),this},f.prototype.removeMark=function(e,t,n){var r=this;void 0===n&&(n=null);var s=[],i=0;return this.doc.nodesBetween(e,t,function(r,a){if(r.isInline){i++;var u=null;if(n instanceof o.MarkType){var c=n.isInSet(r.marks);c&&(u=[c])}else n?n.isInSet(r.marks)&&(u=[n]):u=r.marks;if(u&&u.length)for(var l=Math.min(a+r.nodeSize,t),d=0;d<u.length;d++){for(var f=u[d],p=void 0,m=0;m<s.length;m++){var h=s[m];h.step==i-1&&f.eq(s[m].style)&&(p=h)}p?(p.to=l,p.step=i):s.push({style:f,from:Math.max(a,e),to:l,step:i})}}}),s.forEach(function(e){return r.step(new C(e.from,e.to,e.style))}),this},f.prototype.clearIncompatible=function(e,t,n){void 0===n&&(n=t.contentMatch);for(var r=this.doc.nodeAt(e),s=[],i=e+1,a=0;a<r.childCount;a++){var u=r.child(a),c=i+u.nodeSize,l=n.matchType(u.type,u.attrs);if(l){n=l;for(var d=0;d<u.marks.length;d++)t.allowsMarkType(u.marks[d].type)||this.step(new C(i,c,u.marks[d]))}else s.push(new y(i,c,o.Slice.empty));i=c}if(!n.validEnd){var f=n.fillBefore(o.Fragment.empty,!0);this.replace(i,i,new o.Slice(f,0,0))}for(var p=s.length-1;p>=0;p--)this.step(s[p]);return this},f.prototype.replace=function(e,t,n){void 0===t&&(t=e),void 0===n&&(n=o.Slice.empty);var r=M(this.doc,e,t,n);return r&&this.step(r),this},f.prototype.replaceWith=function(e,t,n){return this.replace(e,t,new o.Slice(o.Fragment.from(n),0,0))},f.prototype.delete=function(e,t){return this.replace(e,t,o.Slice.empty)},f.prototype.insert=function(e,t){return this.replaceWith(e,e,t)};var N=function(e){this.open=[];for(var t=0;t<=e.depth;t++){var n=e.node(t),r=n.contentMatchAt(e.indexAfter(t));this.open.push({parent:n,match:r,content:o.Fragment.empty,wrapper:!1,openEnd:0,depth:t})}this.placed=[]};function P(e,t,n){var o=e.content;if(t>1){var r=P(e.firstChild,t-1,1==e.childCount?n-1:0);o=e.content.replaceChild(0,r)}var s=e.type.contentMatch.fillBefore(o,0==n);return e.copy(s.append(o))}function I(e,t,n,o,r){if(t<n){var s=e.firstChild;e=e.replaceChild(0,s.copy(I(s.content,t+1,n,o,s)))}return t>o&&(e=r.contentMatchAt(0).fillBefore(e,!0).append(e)),e}function D(e,t){for(var n=[],o=Math.min(e.depth,t.depth);o>=0;o--){var r=e.start(o);if(r<e.pos-(e.depth-o)||t.end(o)>t.pos+(t.depth-o)||e.node(o).type.spec.isolating||t.node(o).type.spec.isolating)break;r==t.start(o)&&n.push(o)}return n}N.prototype.placeSlice=function(e,t,n,r,s){if(t>0){var i=e.firstChild,a=this.placeSlice(i.content,Math.max(0,t-1),n&&1==e.childCount?n-1:0,r,i);a.content!=i.content&&(a.content.size?(e=e.replaceChild(0,i.copy(a.content)),t=a.openStart+1):(1==e.childCount&&(n=0),e=e.cutByIndex(1),t=0))}var u=this.placeContent(e,t,n,r,s);if(r>2&&u.size&&0==t){for(var c=0;c<u.content.childCount;c++){var l=u.content.child(c);this.placeContent(l.content,0,n&&c==u.content.childCount.length-1?n-1:0,r,l)}u=o.Fragment.empty}return u},N.prototype.placeContent=function(e,t,n,r,s){for(var i=0;i<e.childCount;i++){for(var a=e.child(i),u=!1,c=i==e.childCount-1,l=this.open.length-1;l>=0;l--){var d=this.open[l],f=void 0;if(r>1&&(f=d.match.findWrapping(a.type))&&(!s||!f.length||f[f.length-1]!=s.type)){for(;this.open.length-1>l;)this.closeNode();for(var p=0;p<f.length;p++)d.match=d.match.matchType(f[p]),l++,d={parent:f[p].create(),match:f[p].contentMatch,content:o.Fragment.empty,wrapper:!0,openEnd:0,depth:l+p},this.open.push(d)}var m=d.match.matchType(a.type);if(!m){var h=d.match.fillBefore(o.Fragment.from(a));if(!h){if(s&&d.match.matchType(s.type))break;continue}for(var v=0;v<h.childCount;v++){var j=h.child(v);this.addNode(d,j,0),m=d.match.matchFragment(j)}}for(;this.open.length-1>l;)this.closeNode();a=a.mark(d.parent.type.allowedMarks(a.marks)),t&&(a=P(a,t,c?n:0),t=0),this.addNode(d,a,c?n:0),d.match=m,c&&(n=0),u=!0;break}if(!u)break}return this.open.length>1&&(i>0&&i==e.childCount||s&&this.open[this.open.length-1].parent.type==s.type)&&this.closeNode(),new o.Slice(e.cutByIndex(i),t,n)},N.prototype.addNode=function(e,t,n){e.content=function(e,t){return t?e.replaceChild(e.childCount-1,function e(t,n){var r=t.content;if(n>1){var s=e(t.lastChild,n-1);r=t.content.replaceChild(t.childCount-1,s)}var i=t.contentMatchAt(t.childCount).fillBefore(o.Fragment.empty,!0);return t.copy(r.append(i))}(e.lastChild,t)):e}(e.content,e.openEnd).addToEnd(t),e.openEnd=n},N.prototype.closeNode=function(){var e=this.open.pop();0==e.content.size||(e.wrapper?this.addNode(this.open[this.open.length-1],e.parent.copy(e.content),e.openEnd+1):this.placed[e.depth]={depth:e.depth,content:e.content,openEnd:e.openEnd})},f.prototype.replaceRange=function(e,t,n){if(!n.size)return this.deleteRange(e,t);var r=this.doc.resolve(e),s=this.doc.resolve(t);if(E(r,s,n))return this.step(new y(e,t,n));var i=D(r,this.doc.resolve(t));0==i[i.length-1]&&i.pop();var a=-(r.depth+1);i.unshift(a);for(var u=r.depth,c=r.pos-1;u>0;u--,c--){var l=r.node(u).type.spec;if(l.defining||l.isolating)break;i.indexOf(u)>-1?a=u:r.before(u)==c&&i.splice(1,0,-u)}for(var d=i.indexOf(a),f=[],p=n.openStart,m=n.content,h=0;;h++){var v=m.firstChild;if(f.push(v),h==n.openStart)break;m=v.content}p>0&&f[p-1].type.spec.defining&&r.node(d).type!=f[p-1].type?p-=1:p>=2&&f[p-1].isTextblock&&f[p-2].type.spec.defining&&r.node(d).type!=f[p-2].type&&(p-=2);for(var j=n.openStart;j>=0;j--){var _=(j+p+1)%(n.openStart+1),g=f[_];if(g)for(var b=0;b<i.length;b++){var w=i[(b+d)%i.length],x=!0;w<0&&(x=!1,w=-w);var k=r.node(w-1),S=r.index(w-1);if(k.canReplaceWith(S,S,g.type,g.marks))return this.replace(r.before(w),x?s.after(w):t,new o.Slice(I(n.content,0,n.openStart,_),_,n.openEnd))}}return this.replace(e,t,n)},f.prototype.replaceRangeWith=function(e,t,n){if(!n.isInline&&e==t&&this.doc.resolve(e).parent.content.size){var r=k(this.doc,e,n.type);null!=r&&(e=t=r)}return this.replaceRange(e,t,new o.Slice(o.Fragment.from(n),0,0))},f.prototype.deleteRange=function(e,t){for(var n=this.doc.resolve(e),o=this.doc.resolve(t),r=D(n,o),s=0;s<r.length;s++){var i=r[s],a=s==r.length-1;if(a&&0==i||n.node(i).type.contentMatch.validEnd)return this.delete(n.start(i),o.end(i));if(i>0&&(a||n.node(i-1).canReplace(n.index(i-1),o.indexAfter(i-1))))return this.delete(n.before(i),o.after(i))}for(var u=1;u<=n.depth;u++)if(e-n.start(u)==n.depth-u&&t>n.end(u))return this.delete(n.before(u),t);return this.delete(e,t)},t.Transform=f,t.TransformError=d,t.Step=v,t.StepResult=j,t.joinPoint=function(e,t,n){void 0===n&&(n=-1);for(var o=e.resolve(t),r=o.depth;;r--){var s=void 0,i=void 0;if(r==o.depth?(s=o.nodeBefore,i=o.nodeAfter):n>0?(s=o.node(r+1),i=o.node(r).maybeChild(o.index(r)+1)):(s=o.node(r).maybeChild(o.index(r)-1),i=o.node(r+1)),s&&!s.isTextblock&&x(s,i))return t;if(0==r)break;t=n<0?o.before(r):o.after(r)}},t.canJoin=function(e,t){var n=e.resolve(t),o=n.index();return x(n.nodeBefore,n.nodeAfter)&&n.parent.canReplace(o,o+1)},t.canSplit=function(e,t,n,o){void 0===n&&(n=1);var r=e.resolve(t),s=r.depth-n,i=o&&o[o.length-1]||r.parent;if(s<0||r.parent.type.spec.isolating||!r.parent.canReplace(r.index(),r.parent.childCount)||!i.type.validContent(r.parent.content.cutByIndex(r.index(),r.parent.childCount)))return!1;for(var a=r.depth-1,u=n-2;a>s;a--,u--){var c=r.node(a),l=r.index(a);if(c.type.spec.isolating)return!1;var d=c.content.cutByIndex(l,c.childCount),f=o&&o[u]||c;if(f!=c&&(d=d.replaceChild(0,f.type.create(f.attrs))),!c.canReplace(l+1,c.childCount)||!f.type.validContent(d))return!1}var p=r.indexAfter(s),m=o&&o[0];return r.node(s).canReplaceWith(p,p,m?m.type:r.node(s+1).type)},t.insertPoint=k,t.dropPoint=function(e,t,n){var o=e.resolve(t);if(!n.content.size)return t;for(var r=n.content,s=0;s<n.openStart;s++)r=r.firstChild.content;for(var i=1;i<=(0==n.openStart&&n.size?2:1);i++)for(var a=o.depth;a>=0;a--){var u=a==o.depth?0:o.pos<=(o.start(a+1)+o.end(a+1))/2?-1:1,c=o.index(a)+(u>0?1:0);if(1==i?o.node(a).canReplace(c,c,r):o.node(a).contentMatchAt(c).findWrapping(r.firstChild.type))return 0==u?o.pos:u<0?o.before(a+1):o.after(a+1)}return null},t.liftTarget=function(e){for(var t=e.parent.content.cutByIndex(e.startIndex,e.endIndex),n=e.depth;;--n){var o=e.$from.node(n),r=e.$from.index(n),s=e.$to.indexAfter(n);if(n<e.depth&&o.canReplace(r,s,t))return n;if(0==n||o.type.spec.isolating||!b(o,r,s))break}},t.findWrapping=function(e,t,n,o){void 0===o&&(o=e);var r=function(e,t){var n=e.parent,o=e.startIndex,r=e.endIndex,s=n.contentMatchAt(o).findWrapping(t);if(!s)return null;var i=s.length?s[0]:t;return n.canReplaceWith(o,r,i)?s:null}(e,t),s=r&&function(e,t){var n=e.parent,o=e.startIndex,r=e.endIndex,s=n.child(o),i=t.contentMatch.findWrapping(s.type);if(!i)return null;for(var a=(i.length?i[i.length-1]:t).contentMatch,u=o;a&&u<r;u++)a=a.matchType(n.child(u).type);return a&&a.validEnd?i:null}(o,t);return s?r.map(w).concat({type:t,attrs:n}).concat(s.map(w)):null},t.StepMap=c,t.MapResult=u,t.Mapping=l,t.AddMarkStep=O,t.RemoveMarkStep=C,t.ReplaceStep=y,t.ReplaceAroundStep=_,t.replaceStep=M},"./node_modules/prosemirror-utils/dist/index.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n("./node_modules/prosemirror-state/dist/index.js"),r=n("./node_modules/prosemirror-model/dist/index.js"),s=n("./node_modules/prosemirror-tables/dist/index.js"),i=function(e,t){return function(n){Array.isArray(e)||(e=[e]);for(var o=0,r=e.length;o<r;o++){var s=w(e[o])(n.selection);if(s){var i=f(s.pos,t)(n);if(i!==n)return i}}return n}},a=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return function(n){var r=o.Selection.findFrom(n.doc.resolve(e),t,!0);return r?n.setSelection(r):n}},u=function(e,t){return function(n){var o="number"==typeof t,r=n.selection.$from,s=o?n.doc.resolve(t):c(n.selection)?n.doc.resolve(r.pos+1):r,u=s.parent;s.depth;if(j(u)&&n!==(n=i(u.type,e)(n)))return a(s.pos)(n);if(v(s,e))return n.insert(s.pos,e),d(a(o?s.pos:n.selection.$anchor.pos)(n));for(var l=s.depth;l>0;l--){var f=s.after(l),p=n.doc.resolve(f);if(v(p,e))return n.insert(f,e),d(a(f)(n))}return n}},c=function(e){return e instanceof o.NodeSelection},l=function(e,t){return Array.isArray(e)&&e.indexOf(t.type)>-1||t.type===e},d=function(e){return Object.assign(Object.create(e),e).setTime(Date.now())},f=function(e,t){return function(n){var o=n.doc.nodeAt(e),r=n.doc.resolve(e);if(p(r,t)){var s=(n=n.replaceWith(e,e+o.nodeSize,t)).selection.$from.pos-1;return n=a(Math.max(s,0),-1)(n),n=a(n.selection.$from.start())(n),d(n)}return n}},p=function(e,t){var n=e.node(e.depth);return n&&n.type.validContent(t instanceof r.Fragment?t:r.Fragment.from(t))},m=function(e){return function(t){var n=t.doc.nodeAt(e);return d(t.delete(e,e+n.nodeSize))}},h=function(e){if(e.cached.tableNodeTypes)return e.cached.tableNodeTypes;var t={};return Object.keys(e.nodes).forEach(function(n){var o=e.nodes[n];o.spec.tableRole&&(t[o.spec.tableRole]=o)}),e.cached.tableNodeTypes=t,t},v=function(e,t){var n=e.index();return t instanceof r.Fragment?e.parent.canReplace(n,n,t):t instanceof r.Node&&e.parent.canReplaceWith(n,n,t.type)},j=function(e){return!e||"paragraph"===e.type.name&&2===e.nodeSize},y=function(e){return function(t){for(var n=t.$from,o=n.depth;o>0;o--){var r=n.node(o);if(e(r))return{pos:o>0?n.before(o):0,start:n.start(o),node:r}}}},_=function(e,t){for(var n=e.depth;n>0;n--){var o=e.node(n);if(t(o))return{pos:n>0?e.before(n):0,start:e.start(n),node:o}}},g=function(e,t){return function(n){var o=y(e)(n);if(o)return k(o.pos,t)}},b=function(e){return function(t){return!!y(e)(t)}},w=function(e){return function(t){return y(function(t){return l(e,t)})(t)}},x=function(e){var t=e.$from.nodeBefore,n=o.Selection.findFrom(e.$from,-1);if(n&&t){var r=w(t.type)(n);return r?r.pos:n.$from.pos}},k=function(e,t){var n=t(e),o=n.node.childNodes[n.offset];return o||n.node},S=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(!e)throw new Error('Invalid "node" parameter');var n=[];return e.descendants(function(e,o){if(n.push({node:e,pos:o}),!t)return!1}),n},O=function(e,t,n){if(!e)throw new Error('Invalid "node" parameter');if(!t)throw new Error('Invalid "predicate" parameter');return S(e,n).filter(function(e){return t(e.node)})},C=function(e,t,n){return O(e,function(e){return e.type===t},n)};var M=function(e){return y(function(e){return e.type.spec.tableRole&&"table"===e.type.spec.tableRole})(e)},A=function(e){return e instanceof s.CellSelection},T=function(e){return!!A(e)&&(e.isColSelection()&&e.isRowSelection())},E=function(e){return function(t){var n=M(t);if(n){var o=s.TableMap.get(n.node);if(e>=0&&e<=o.width-1)return o.cellsInRect({left:e,right:e+1,top:0,bottom:o.height}).map(function(e){var t=n.node.nodeAt(e),o=e+n.start;return{pos:o,start:o+1,node:t}})}}},N=function(e){return function(t){var n=M(t);if(n){var o=s.TableMap.get(n.node);if(e>=0&&e<=o.height-1)return o.cellsInRect({left:0,right:o.width,top:e,bottom:e+1}).map(function(e){var t=n.node.nodeAt(e),o=e+n.start;return{pos:o,start:o+1,node:t}})}}},P=function(e){var t=M(e);if(t){var n=s.TableMap.get(t.node);return n.cellsInRect({left:0,right:n.width,top:0,bottom:n.height}).map(function(e){var n=t.node.nodeAt(e),o=e+t.start;return{pos:o,start:o+1,node:n}})}},I=function(e){return function(t){var n=M(t.selection);if(n){var o=s.TableMap.get(n.node);if(e>=0&&e<=o.height){for(var r=n.node,i=h(r.type.schema),a=n.start,c=0;c<e+1;c++)a+=r.child(c).nodeSize;var l=r.child(e),d=[],f=0;if(l.forEach(function(e){1===e.attrs.rowspan&&(f+=e.attrs.colspan,d.push(i[e.type.spec.tableRole].createAndFill(e.attrs,e.marks)))}),f<o.width){for(var p=[],m=function(n){var o=B(n,function(t,o){var r=t.node.attrs.rowspan;return r>1&&n+r>e})(t);p.push.apply(p,function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}(o))},v=e;v>=0;v--)m(v);p.length&&p.forEach(function(e){t=F(e,{rowspan:e.node.attrs.rowspan+1})(t)})}return u(i.row.create(l.attrs,d),a)(t)}}return t}},D=function(e){return function(t){var n=M(t.selection);if(n){var o=s.TableMap.get(n.node);if(0===e&&1===o.width)return $(t);if(e>=0&&e<=o.width)return s.removeColumn(t,{map:o,tableStart:n.start,table:n.node},e),d(t)}return t}},R=function(e){return function(t){var n=M(t.selection);if(n){var o=s.TableMap.get(n.node);if(0===e&&1===o.height)return $(t);if(e>=0&&e<=o.height)return s.removeRow(t,{map:o,tableStart:n.start,table:n.node},e),d(t)}return t}},$=function(e){for(var t=e.selection.$from,n=t.depth;n>0;n--){if("table"===t.node(n).type.spec.tableRole)return d(e.delete(t.before(n),t.after(n)))}return e},F=function(e,t){return function(n){return e?(n.setNodeMarkup(e.pos,null,Object.assign({},e.node.attrs,t)),d(n)):n}},L=function(e){return _(e,function(e){return e.type.spec.tableRole&&/cell/i.test(e.type.spec.tableRole)})},z=function(e){var t=L(e);if(t){var n=function(e){return _(e,function(e){return e.type.spec.tableRole&&/table/i.test(e.type.spec.tableRole)})}(e),o=s.TableMap.get(n.node),r=t.pos-n.start;return o.rectBetween(r,r)}},B=function(e,t){return function(n){var o=[],r=N(e)(n.selection);if(r)for(var s=r.length-1;s>=0;s--)t(r[s],n)&&o.push(r[s]);return o}};t.isNodeSelection=c,t.canInsert=v,t.findParentNode=y,t.findParentNodeClosestToPos=_,t.findParentDomRef=g,t.hasParentNode=b,t.findParentNodeOfType=w,t.findParentNodeOfTypeClosestToPos=function(e,t){return _(e,function(e){return l(t,e)})},t.hasParentNodeOfType=function(e){return function(t){return b(function(t){return l(e,t)})(t)}},t.findParentDomRefOfType=function(e,t){return function(n){return g(function(t){return l(e,t)},t)(n)}},t.findSelectedNodeOfType=function(e){return function(t){if(c(t)){var n=t.node,o=t.$from;if(l(e,n))return{node:n,pos:o.pos}}}},t.findPositionOfNodeBefore=x,t.findDomRefAtPos=k,t.flatten=S,t.findChildren=O,t.findTextNodes=function(e,t){return O(e,function(e){return e.isText},t)},t.findInlineNodes=function(e,t){return O(e,function(e){return e.isInline},t)},t.findBlockNodes=function(e,t){return O(e,function(e){return e.isBlock},t)},t.findChildrenByAttr=function(e,t,n){return O(e,function(e){return!!t(e.attrs)},n)},t.findChildrenByType=C,t.findChildrenByMark=function(e,t,n){return O(e,function(e){return t.isInSet(e.marks)},n)},t.contains=function(e,t){return!!C(e,t).length},t.findTable=M,t.isCellSelection=A,t.isColumnSelected=function(e){return function(t){if(A(t)){var n=t.$anchorCell,o=t.$headCell,r=n.start(-1),i=s.TableMap.get(n.node(-1)),a=i.colCount(n.pos-r),u=i.colCount(o.pos-r);return t.isColSelection()&&e<=Math.max(a,u)&&e>=Math.min(a,u)}return!1}},t.isRowSelected=function(e){return function(t){if(A(t)){var n=t.$anchorCell,o=t.$headCell,r=n.index(-1),s=o.index(-1);return t.isRowSelection()&&e<=Math.max(r,s)&&e>=Math.min(r,s)}return!1}},t.isTableSelected=T,t.getCellsInColumn=E,t.getCellsInRow=N,t.getCellsInTable=P,t.selectColumn=function(e){return function(t){var n=E(e)(t.selection);if(n){var o=t.doc.resolve(n[0].pos),r=t.doc.resolve(n[n.length-1].pos);return d(t.setSelection(new s.CellSelection(o,r)))}return t}},t.selectRow=function(e){return function(t){var n=N(e)(t.selection);if(n){var o=t.doc.resolve(n[0].pos),r=t.doc.resolve(n[n.length-1].pos);return d(t.setSelection(new s.CellSelection(o,r)))}return t}},t.selectTable=function(e){var t=P(e.selection);if(t){var n=e.doc.resolve(t[0].pos),o=e.doc.resolve(t[t.length-1].pos);return d(e.setSelection(new s.CellSelection(n,o)))}return e},t.emptyCell=function(e,t){return function(n){if(e){var o=h(t).cell.createAndFill().content;if(!e.node.content.eq(o))return n.replaceWith(e.pos,e.pos+e.node.nodeSize-1,new r.Slice(o,0,0)),d(n)}return n}},t.addColumnAt=function(e){return function(t){var n=M(t.selection);if(n){var o=s.TableMap.get(n.node);if(e>=0&&e<=o.width)return d(s.addColumn(t,{map:o,tableStart:n.start,table:n.node},e))}return t}},t.addRowAt=function(e,t){return function(n){var o=M(n.selection);if(o){var r=s.TableMap.get(o.node),i=e-1;if(t&&i>=0)return d(I(i)(n));if(e>=0&&e<=r.height)return d(s.addRow(n,{map:r,tableStart:o.start,table:o.node},e))}return n}},t.cloneRowAt=I,t.removeColumnAt=D,t.removeRowAt=R,t.removeTable=$,t.removeSelectedColumns=function(e){var t=e.selection;if(T(t))return $(e);if(A(t)){var n=M(t);if(n){for(var o=s.TableMap.get(n.node).rectBetween(t.$anchorCell.pos-n.start,t.$headCell.pos-n.start),r=o.right-1;r>=o.left;r--)e=D(r)(e);return e}}return e},t.removeSelectedRows=function(e){var t=e.selection;if(T(t))return $(e);if(A(t)){var n=M(t);if(n){for(var o=s.TableMap.get(n.node).rectBetween(t.$anchorCell.pos-n.start,t.$headCell.pos-n.start),r=o.bottom-1;r>=o.top;r--)e=R(r)(e);return e}}return e},t.removeColumnClosestToPos=function(e){return function(t){var n=z(e);return n?D(n.left)(a(e.pos)(t)):t}},t.removeRowClosestToPos=function(e){return function(t){var n=z(e);return n?R(n.top)(a(e.pos)(t)):t}},t.forEachCellInColumn=function(e,t,n){return function(r){var s=E(e)(r.selection);if(s){for(var i=s.length-1;i>=0;i--)r=t(s[i],r);if(n){var a=r.doc.resolve(r.mapping.map(s[s.length-1].pos));r.setSelection(o.Selection.near(a))}return d(r)}return r}},t.forEachCellInRow=function(e,t,n){return function(r){var s=N(e)(r.selection);if(s){for(var i=s.length-1;i>=0;i--)r=t(s[i],r);if(n){var a=r.doc.resolve(r.mapping.map(s[s.length-1].pos));r.setSelection(o.Selection.near(a))}}return r}},t.setCellAttrs=F,t.createTable=function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:3,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:3,o=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],r=h(e),s=r.cell,i=r.header_cell,a=r.row,u=r.table,c=[],l=0;l<n;l++)c.push(s.createAndFill(null));var d=[];if(o)for(var f=0;f<n;f++)d.push(i.createAndFill(null));for(var p=[],m=0;m<t;m++)p.push(a.createChecked(null,o&&0===m?d:c));return u.createChecked(null,p)},t.findCellClosestToPos=L,t.findCellRectClosestToPos=z,t.removeParentNodeOfType=function(e){return function(t){var n=w(e)(t.selection);return n?m(n.pos)(t):t}},t.replaceParentNodeOfType=i,t.removeSelectedNode=function(e){if(c(e.selection)){var t=e.selection.$from.pos,n=e.selection.$to.pos;return d(e.delete(t,n))}return e},t.replaceSelectedNode=function(e){return function(t){if(c(t.selection)){var n=t.selection,o=n.$from,r=n.$to;if(o.parent.canReplaceWith(o.index(),o.indexAfter(),e.type))return d(t.replaceWith(o.pos,r.pos,e))}return t}},t.setTextSelection=a,t.safeInsert=u,t.setParentNodeMarkup=function(e,t,n,o){return function(r){var s=w(e)(r.selection);return s?d(r.setNodeMarkup(s.pos,t,Object.assign({},s.node.attrs,n),o)):r}},t.selectParentNodeOfType=function(e){return function(t){if(!c(t.selection)){var n=w(e)(t.selection);if(n)return d(t.setSelection(o.NodeSelection.create(t.doc,n.pos)))}return t}},t.removeNodeBefore=function(e){var t=x(e.selection);return"number"==typeof t?m(t)(e):e}},"./node_modules/prosemirror-view/dist/index.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n("./node_modules/prosemirror-model/dist/index.js"),r=n("./node_modules/prosemirror-state/dist/index.js"),s=n("./node_modules/prosemirror-transform/dist/index.js"),i={};if("undefined"!=typeof navigator&&"undefined"!=typeof document){var a=/Edge\/(\d+)/.exec(navigator.userAgent),u=/MSIE \d/.test(navigator.userAgent),c=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent);i.mac=/Mac/.test(navigator.platform);var l=i.ie=!!(u||c||a);i.ie_version=u?document.documentMode||6:c?+c[1]:a?+a[1]:null,i.gecko=!l&&/gecko\/(\d+)/i.test(navigator.userAgent),i.gecko_version=i.gecko&&+(/Firefox\/(\d+)/.exec(navigator.userAgent)||[0,0])[1];var d=!l&&/Chrome\/(\d+)/.exec(navigator.userAgent);i.chrome=!!d,i.chrome_version=d&&+d[1],i.ios=!l&&/AppleWebKit/.test(navigator.userAgent)&&/Mobile\/\w+/.test(navigator.userAgent),i.android=/Android \d/.test(navigator.userAgent),i.webkit=!l&&"WebkitAppearance"in document.documentElement.style,i.safari=/Apple Computer/.test(navigator.vendor),i.webkit_version=i.webkit&&+(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent)||[0,0])[1]}var f=function(e){for(var t=0;;t++)if(!(e=e.previousSibling))return t},p=function(e){var t=e.parentNode;return t&&11==t.nodeType?t.host:t},m=function(e,t,n){var o=document.createRange();return o.setEnd(e,null==n?e.nodeValue.length:n),o.setStart(e,t||0),o},h=function(e,t,n,o){return n&&(j(e,t,n,o,-1)||j(e,t,n,o,1))},v=/^(img|br|input|textarea|hr)$/i;function j(e,t,n,o,r){for(;;){if(e==n&&t==o)return!0;if(t==(r<0?0:y(e))||3==e.nodeType&&"\ufeff"==e.nodeValue){var s=e.parentNode;if(1!=s.nodeType||_(e)||v.test(e.nodeName))return!1;t=f(e)+(r<0?0:1),e=s}else{if(1!=e.nodeType)return!1;e=e.childNodes[t+(r<0?-1:0)],t=r<0?y(e):0}}}function y(e){return 3==e.nodeType?e.nodeValue.length:e.childNodes.length}function _(e){var t=e.pmViewDesc;return t&&t.node&&t.node.isBlock}var g=function(e){var t=e.isCollapsed;return t&&i.chrome&&e.rangeCount&&!e.getRangeAt(0).collapsed&&(t=!1),t};function b(e){return{left:0,right:e.innerWidth,top:0,bottom:e.innerHeight}}function w(e,t){var n=e.someProp("scrollThreshold")||0,o=e.someProp("scrollMargin"),r=e.dom.ownerDocument,s=r.defaultView;null==o&&(o=5);for(var i=e.dom;i;i=p(i)){var a=i==r.body||1!=i.nodeType,u=a?b(s):i.getBoundingClientRect(),c=0,l=0;if(t.top<u.top+n?l=-(u.top-t.top+o):t.bottom>u.bottom-n&&(l=t.bottom-u.bottom+o),t.left<u.left+n?c=-(u.left-t.left+o):t.right>u.right-n&&(c=t.right-u.right+o),(c||l)&&(a?s.scrollBy(c,l):(l&&(i.scrollTop+=l),c&&(i.scrollLeft+=c))),a)break}}function x(e,t){for(var n,o,r=2e8,s=0,i=t.top,a=t.top,u=e.firstChild,c=0;u;u=u.nextSibling,c++){var l=void 0;if(1==u.nodeType)l=u.getClientRects();else{if(3!=u.nodeType)continue;l=m(u).getClientRects()}for(var d=0;d<l.length;d++){var f=l[d];if(f.top<=i&&f.bottom>=a){i=Math.max(f.bottom,i),a=Math.min(f.top,a);var p=f.left>t.left?f.left-t.left:f.right<t.left?t.left-f.right:0;if(p<r){n=u,r=p,o=p&&3==n.nodeType?{left:f.right<t.left?f.right:f.left,top:t.top}:t,1==u.nodeType&&p&&(s=c+(t.left>=(f.left+f.right)/2?1:0));continue}}!n&&(t.left>=f.right&&t.top>=f.top||t.left>=f.left&&t.top>=f.bottom)&&(s=c+1)}}return n&&3==n.nodeType?function(e,t){for(var n=e.nodeValue.length,o=document.createRange(),r=0;r<n;r++){o.setEnd(e,r+1),o.setStart(e,r);var s=S(o,1);if(s.top!=s.bottom&&(s.left-1<=t.left&&s.right+1>=t.left&&s.top-1<=t.top&&s.bottom+1>=t.top))return{node:e,offset:r+(t.left>=(s.left+s.right)/2?1:0)}}return{node:e,offset:0}}(n,o):!n||r&&1==n.nodeType?{node:e,offset:s}:x(n,o)}function k(e,t){var n,o,r=e.root;if(r.caretPositionFromPoint){var s,i=r.caretPositionFromPoint(t.left,t.top);if(i)n=(s=i).offsetNode,o=s.offset}if(!n&&r.caretRangeFromPoint){var a,u=r.caretRangeFromPoint(t.left,t.top);if(u)n=(a=u).startContainer,o=a.startOffset}var c,l=r.elementFromPoint(t.left,t.top+1);if(!l)return null;if(l=function(e,t){var n=e.parentNode;return n&&/^li$/i.test(n.nodeName)&&t.left<e.getBoundingClientRect().left?n:e}(l,t),n&&(n==e.dom&&o==n.childNodes.length-1&&1==n.lastChild.nodeType&&t.top>n.lastChild.getBoundingClientRect().bottom?c=e.state.doc.content.size:0!=o&&1==n.nodeType&&"BR"==n.childNodes[o-1].nodeName||(c=function(e,t,n,o){for(var r=-1,s=t;s!=e.dom;){var i=e.docView.nearestDesc(s,!0);if(!i)return null;if(i.node.isBlock&&i.parent){var a=i.dom.getBoundingClientRect();if(a.left>o.left||a.top>o.top)r=i.posBefore;else{if(!(a.right<o.left||a.bottom<o.top))break;r=i.posAfter}}s=i.dom.parentNode}return r>-1?r:e.docView.posFromDOM(t,n)}(e,n,o,t))),null==c&&null==(c=function(e,t,n){if(!e.dom.contains(1!=t.nodeType?t.parentNode:t))return null;var o=x(t,n),r=o.node,s=o.offset,i=-1;if(1==r.nodeType&&!r.firstChild){var a=r.getBoundingClientRect();i=a.left!=a.right&&n.left>(a.left+a.right)/2?1:-1}return e.docView.posFromDOM(r,s,i)}(e,l,t)))return null;var d=e.docView.nearestDesc(l,!0);return{pos:c,inside:d?d.posAtStart-d.border:-1}}function S(e,t){var n=e.getClientRects();return n.length?n[t<0?0:n.length-1]:e.getBoundingClientRect()}function O(e,t){var n,o,r=e.docView.domFromPos(t),s=r.node,i=r.offset;if(3==s.nodeType)i<s.nodeValue.length&&(o=S(m(s,i,i+1),-1),n="left"),o&&o.left!=o.right||!i||(o=S(m(s,i-1,i),1),n="right");else if(s.firstChild){if(i<s.childNodes.length){var a=s.childNodes[i];o=S(3==a.nodeType?m(a):a,-1),n="left"}if((!o||o.top==o.bottom)&&i){var u=s.childNodes[i-1];o=S(3==u.nodeType?m(u):u,1),n="right"}}else o=s.getBoundingClientRect(),n="left";var c=o[n];return{top:o.top,bottom:o.bottom,left:c,right:c}}function C(e,t,n){var o=e.state,r=e.root.activeElement;o==t&&e.inDOMChange||e.updateState(t),r!=e.dom&&e.focus();try{return n()}finally{o!=t&&e.updateState(o),r!=e.dom&&r.focus()}}var M=/[\u0590-\u08ac]/;var A=null,T=null,E=!1;function N(e,t,n){return A==t&&T==n?E:(A=t,T=n,E="up"==n||"down"==n?function(e,t,n){var o=t.selection,r="up"==n?o.$anchor.min(o.$head):o.$anchor.max(o.$head);return!!r.depth&&C(e,t,function(){for(var t=e.docView.domAfterPos(r.before()),o=O(e,r.pos),s=t.firstChild;s;s=s.nextSibling){var i=void 0;if(1==s.nodeType)i=s.getClientRects();else{if(3!=s.nodeType)continue;i=m(s,0,s.nodeValue.length).getClientRects()}for(var a=0;a<i.length;a++){var u=i[a];if(u.bottom>u.top&&("up"==n?u.bottom<o.top+1:u.top>o.bottom-1))return!1}}return!0})}(e,t,n):function(e,t,n){var o=t.selection.$head;if(!o.parent.isTextblock||!o.depth)return!1;var r=o.parentOffset,s=!r,i=r==o.parent.content.size,a=getSelection();return M.test(o.parent.textContent)&&a.modify?C(e,t,function(){var t=a.getRangeAt(0),r=a.focusNode,s=a.focusOffset;a.modify("move",n,"character");var i=!e.docView.domAfterPos(o.before()).contains(1==a.focusNode.nodeType?a.focusNode:a.focusNode.parentNode)||r==a.focusNode&&s==a.focusOffset;return a.removeAllRanges(),a.addRange(t),i}):"left"==n||"backward"==n?s:i}(e,t,n))}var P=function(e,t,n,o){this.parent=e,this.children=t,this.dom=n,n.pmViewDesc=this,this.contentDOM=o,this.dirty=0},I={beforePosition:{},size:{},border:{},posBefore:{},posAtStart:{},posAfter:{},posAtEnd:{},contentLost:{}};P.prototype.matchesWidget=function(){return!1},P.prototype.matchesMark=function(){return!1},P.prototype.matchesNode=function(){return!1},P.prototype.matchesHack=function(){return!1},I.beforePosition.get=function(){return!1},P.prototype.parseRule=function(){return null},P.prototype.stopEvent=function(){return!1},I.size.get=function(){for(var e=0,t=0;t<this.children.length;t++)e+=this.children[t].size;return e},I.border.get=function(){return 0},P.prototype.destroy=function(){this.parent=null,this.dom.pmViewDesc==this&&(this.dom.pmViewDesc=null);for(var e=0;e<this.children.length;e++)this.children[e].destroy()},P.prototype.posBeforeChild=function(e){for(var t=0,n=this.posAtStart;t<this.children.length;t++){var o=this.children[t];if(o==e)return n;n+=o.size}},I.posBefore.get=function(){return this.parent.posBeforeChild(this)},I.posAtStart.get=function(){return this.parent?this.parent.posBeforeChild(this)+this.border:0},I.posAfter.get=function(){return this.posBefore+this.size},I.posAtEnd.get=function(){return this.posAtStart+this.size-2*this.border},P.prototype.localPosFromDOM=function(e,t,n){var o;if(this.contentDOM&&this.contentDOM.contains(1==e.nodeType?e:e.parentNode)){if(n<0){var r,s;if(e==this.contentDOM)r=e.childNodes[t-1];else{for(;e.parentNode!=this.contentDOM;)e=e.parentNode;r=e.previousSibling}for(;r&&(!(s=r.pmViewDesc)||s.parent!=this);)r=r.previousSibling;return r?this.posBeforeChild(s)+s.size:this.posAtStart}var i,a;if(e==this.contentDOM)i=e.childNodes[t];else{for(;e.parentNode!=this.contentDOM;)e=e.parentNode;i=e.nextSibling}for(;i&&(!(a=i.pmViewDesc)||a.parent!=this);)i=i.nextSibling;return i?this.posBeforeChild(a):this.posAtEnd}if(this.contentDOM&&this.contentDOM!=this.dom&&this.dom.contains(this.contentDOM))o=2&e.compareDocumentPosition(this.contentDOM);else if(this.dom.firstChild){if(0==t)for(var u=e;;u=u.parentNode){if(u==this.dom){o=!1;break}if(u.parentNode.firstChild!=u)break}if(null==o&&t==e.childNodes.length)for(var c=e;;c=c.parentNode){if(c==this.dom){o=!0;break}if(c.parentNode.lastChild!=c)break}}return(null==o?n>0:o)?this.posAtEnd:this.posAtStart},P.prototype.nearestDesc=function(e,t){for(var n=!0,o=e;o;o=o.parentNode){var r=this.getDesc(o);if(r&&(!t||r.node)){if(!n||!r.nodeDOM||(1==r.nodeDOM.nodeType?r.nodeDOM.contains(e):r.nodeDOM==e))return r;n=!1}}},P.prototype.getDesc=function(e){for(var t=e.pmViewDesc,n=t;n;n=n.parent)if(n==this)return t},P.prototype.posFromDOM=function(e,t,n){for(var o=e;;o=o.parentNode){var r=this.getDesc(o);if(r)return r.localPosFromDOM(e,t,n)}},P.prototype.descAt=function(e){for(var t=0,n=0;t<this.children.length;t++){var o=this.children[t],r=n+o.size;if(n==e&&r!=n){for(;!o.border&&o.children.length;)o=o.children[0];return o}if(e<r)return o.descAt(e-n-o.border);n=r}},P.prototype.domFromPos=function(e){if(!this.contentDOM)return{node:this.dom,offset:0};for(var t=0,n=0;;n++){if(t==e){for(;n<this.children.length&&this.children[n].beforePosition;)n++;return{node:this.contentDOM,offset:n}}if(n==this.children.length)throw new Error("Invalid position "+e);var o=this.children[n],r=t+o.size;if(e<r)return o.domFromPos(e-t-o.border);t=r}},P.prototype.parseRange=function(e,t,n){if(void 0===n&&(n=0),0==this.children.length)return{node:this.contentDOM,from:e,to:t,fromOffset:0,toOffset:this.contentDOM.childNodes.length};for(var o=-1,r=-1,s=0,i=0;;i++){var a=this.children[i],u=s+a.size;if(-1==o&&e<=u){var c=s+a.border;if(e>=c&&t<=u-a.border&&a.node&&a.contentDOM&&this.contentDOM.contains(a.contentDOM))return a.parseRange(e-c,t-c,n+c);e=n+s;for(var l=i;l>0;l--){var d=this.children[l-1];if(d.size&&d.dom.parentNode==this.contentDOM&&!d.emptyChildAt(1)){o=f(d.dom)+1;break}e-=d.size}-1==o&&(o=0)}if(o>-1&&t<=u){t=n+u;for(var p=i+1;p<this.children.length;p++){var m=this.children[p];if(m.size&&m.dom.parentNode==this.contentDOM&&!m.emptyChildAt(-1)){r=f(m.dom);break}t+=m.size}-1==r&&(r=this.contentDOM.childNodes.length);break}s=u}return{node:this.contentDOM,from:e,to:t,fromOffset:o,toOffset:r}},P.prototype.emptyChildAt=function(e){if(this.border||!this.contentDOM||!this.children.length)return!1;var t=this.children[e<0?0:this.children.length-1];return 0==t.size||t.emptyChildAt(e)},P.prototype.domAfterPos=function(e){var t=this.domFromPos(e),n=t.node,o=t.offset;if(1!=n.nodeType||o==n.childNodes.length)throw new RangeError("No node after pos "+e);return n.childNodes[o]},P.prototype.setSelection=function(e,t,n){for(var o=Math.min(e,t),r=Math.max(e,t),s=0,i=0;s<this.children.length;s++){var a=this.children[s],u=i+a.size;if(o>i&&r<u)return a.setSelection(e-i-a.border,t-i-a.border,n);i=u}var c=this.domFromPos(e),l=this.domFromPos(t),d=n.getSelection(),f=document.createRange();if(!h(c.node,c.offset,d.anchorNode,d.anchorOffset)||!h(l.node,l.offset,d.focusNode,d.focusOffset)){if(d.extend)f.setEnd(c.node,c.offset),f.collapse(!1);else{if(e>t){var p=c;c=l,l=p}f.setEnd(l.node,l.offset),f.setStart(c.node,c.offset)}d.removeAllRanges(),d.addRange(f),d.extend&&d.extend(l.node,l.offset)}},P.prototype.ignoreMutation=function(e){return!this.contentDOM},I.contentLost.get=function(){return this.contentDOM&&this.contentDOM!=this.dom&&!this.dom.contains(this.contentDOM)},P.prototype.markDirty=function(e,t){for(var n=0,o=0;o<this.children.length;o++){var r=this.children[o],s=n+r.size;if(n==s?e<=s&&t>=n:e<s&&t>n){var i=n+r.border,a=s-r.border;if(e>=i&&t<=a)return this.dirty=e==n||t==s?2:1,void(e==i&&t==a&&r.contentLost?r.dirty=3:r.markDirty(e-i,t-i));r.dirty=3}n=s}this.dirty=2},Object.defineProperties(P.prototype,I);var D=[],R=function(e){function t(t,n,o,r){var s,i=n.type.toDOM;if("function"==typeof i&&(i=i(o,function(){return s?s.parent?s.parent.posBeforeChild(s):void 0:r})),!n.type.spec.raw){if(1!=i.nodeType){var a=document.createElement("span");a.appendChild(i),i=a}i.contentEditable=!1,i.classList.add("ProseMirror-widget")}e.call(this,t,D,i,null),this.widget=n,s=this}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var n={beforePosition:{}};return n.beforePosition.get=function(){return this.widget.type.side<0},t.prototype.matchesWidget=function(e){return 0==this.dirty&&e.type.eq(this.widget.type)},t.prototype.parseRule=function(){return{ignore:!0}},t.prototype.stopEvent=function(e){var t=this.widget.spec.stopEvent;return!!t&&t(e)},Object.defineProperties(t.prototype,n),t}(P),$=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.parseRule=function(){for(var t,n=this.dom.firstChild;n;n=n.nextSibling){var o=void 0;if(3==n.nodeType){var r=n.nodeValue.replace(/\ufeff/g,"");if(!r)continue;o=document.createTextNode(r)}else{if("\ufeff"==n.textContent)continue;o=n.cloneNode(!0)}t||(t=document.createDocumentFragment()),t.appendChild(o)}return t?{skip:t}:e.prototype.parseRule.call(this)},t.prototype.ignoreMutation=function(){return!1},t}(R),F=function(e){function t(t,n,o,r){e.call(this,t,[],o,r),this.mark=n}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.create=function(e,n,r,s){var i=ne(s)[n.type.name],a=i&&i(n,s);return a&&a.dom||(a=o.DOMSerializer.renderSpec(document,n.type.spec.toDOM(n,r))),new t(e,n,a.dom,a.contentDOM||a.dom)},t.prototype.parseRule=function(){return{mark:this.mark.type.name,attrs:this.mark.attrs,contentElement:this.contentDOM}},t.prototype.matchesMark=function(e){return 3!=this.dirty&&this.mark.eq(e)},t.prototype.markDirty=function(t,n){if(e.prototype.markDirty.call(this,t,n),0!=this.dirty){for(var o=this.parent;!o.node;)o=o.parent;o.dirty<this.dirty&&(o.dirty=this.dirty),this.dirty=0}},t}(P),L=function(e){function t(t,n,o,r,s,i,a,u,c){e.call(this,t,n.isLeaf?D:[],s,i),this.nodeDOM=a,this.node=n,this.outerDeco=o,this.innerDeco=r,i&&this.updateChildren(u,c)}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var n={size:{},border:{}};return t.create=function(e,n,r,s,i,a){var u,c=ne(i)[n.type.name],l=c&&c(n,i,function(){return u?u.parent?u.parent.posBeforeChild(u):void 0:a},r),d=l&&l.dom,f=l&&l.contentDOM;if(n.isText)if(d){if(3!=d.nodeType)throw new RangeError("Text must be rendered as a DOM text node")}else d=document.createTextNode(n.text);else if(!d){var p;d=(p=o.DOMSerializer.renderSpec(document,n.type.spec.toDOM(n))).dom,f=p.contentDOM}f||n.isText||"BR"==d.nodeName||(d.contentEditable=!1,n.type.spec.draggable&&(d.draggable=!0));var m=d;return d=G(d,r,n),l?u=new W(e,n,r,s,d,f,m,l,i):n.isText?new B(e,n,r,s,d,m,i):new t(e,n,r,s,d,f,m,i,a+1)},t.prototype.parseRule=function(){var e=this;if(this.node.type.spec.reparseInView)return null;var t={node:this.node.type.name,attrs:this.node.attrs};return this.node.type.spec.code&&(t.preserveWhitespace="full"),this.contentDOM&&!this.contentLost?t.contentElement=this.contentDOM:t.getContent=function(){return e.contentDOM?o.Fragment.empty:e.node.content},t},t.prototype.matchesNode=function(e,t,n){return 0==this.dirty&&e.eq(this.node)&&X(t,this.outerDeco)&&n.eq(this.innerDeco)},n.size.get=function(){return this.node.nodeSize},n.border.get=function(){return this.node.isLeaf?0:1},t.prototype.updateChildren=function(e,t){var n=this,r=new ee(this),s=this.node.inlineContent;!function(e,t,n,o){var r=t.locals(e),s=0;if(0==r.length){for(var i=0;i<e.childCount;i++){var a=e.child(i);o(a,r,t.forChild(s,a),i),s+=a.nodeSize}return}for(var u=0,c=[],l=null,d=0;;){if(u<r.length&&r[u].to==s){for(var f=r[u++],p=void 0;u<r.length&&r[u].to==s;)(p||(p=[f])).push(r[u++]);if(p){p.sort(te);for(var m=0;m<p.length;m++)n(p[m],d)}else n(f,d)}var h=void 0;if(l)h=l,l=null;else{if(!(d<e.childCount))break;h=e.child(d++)}for(var v=0;v<c.length;v++)c[v].to<=s&&c.splice(v--,1);for(;u<r.length&&r[u].from==s;)c.push(r[u++]);var j=s+h.nodeSize;if(h.isText){var y=j;u<r.length&&r[u].from<y&&(y=r[u].from);for(var _=0;_<c.length;_++)c[_].to<y&&(y=c[_].to);y<j&&(l=h.cut(y-s),h=h.cut(0,y-s),j=y)}o(h,c.length?c.slice():D,t.forChild(s,h),d-1),s=j}}(this.node,this.innerDeco,function(i,a){i.spec.marks?r.syncToMarks(i.spec.marks,s,e):i.type.side>=0&&r.syncToMarks(a==n.node.childCount?o.Mark.none:n.node.child(a).marks,s,e),r.placeWidget(i,e,t)},function(n,o,i,a){r.syncToMarks(n.marks,s,e),r.findNodeMatch(n,o,i,a)||r.updateNextNode(n,o,i,e,a)||r.addNode(n,o,i,e,t),t+=n.nodeSize}),r.syncToMarks(D,s,e),this.node.isTextblock&&r.addTextblockHacks(),r.destroyRest(),(r.changed||2==this.dirty)&&this.renderChildren()},t.prototype.renderChildren=function(){!function e(t,n){var o=t.firstChild;for(var r=0;r<n.length;r++){var s=n[r],i=s.dom;if(i.parentNode==t){for(;i!=o;)o=Y(o);o=o.nextSibling}else t.insertBefore(i,o);if(s instanceof F){var a=o?o.previousSibling:t.lastChild;e(s.contentDOM,s.children),o=a?a.nextSibling:t.firstChild}}for(;o;)o=Y(o)}(this.contentDOM,this.children,t.is),i.ios&&function(e){if("UL"==e.nodeName||"OL"==e.nodeName){var t=e.style.cssText;e.style.cssText=t+"; list-style: square !important",window.getComputedStyle(e).listStyle,e.style.cssText=t}}(this.dom)},t.prototype.update=function(e,t,n,o){return!(3==this.dirty||!e.sameMarkup(this.node))&&(this.updateInner(e,t,n,o),!0)},t.prototype.updateInner=function(e,t,n,o){this.updateOuterDeco(t),this.node=e,this.innerDeco=n,this.contentDOM&&this.updateChildren(o,this.posAtStart),this.dirty=0},t.prototype.updateOuterDeco=function(e){if(!X(e,this.outerDeco)){var t=1!=this.nodeDOM.nodeType,n=this.dom;this.dom=H(this.dom,this.nodeDOM,K(this.outerDeco,this.node,t),K(e,this.node,t)),this.dom!=n&&(n.pmViewDesc=null,this.dom.pmViewDesc=this),this.outerDeco=e}},t.prototype.selectNode=function(){this.nodeDOM.classList.add("ProseMirror-selectednode")},t.prototype.deselectNode=function(){this.nodeDOM.classList.remove("ProseMirror-selectednode")},Object.defineProperties(t.prototype,n),t}(P);function z(e,t,n,o,r){return G(o,t,e),new L(null,e,t,n,o,o,o,r,0)}var B=function(e){function t(t,n,o,r,s,i,a){e.call(this,t,n,o,r,s,null,i,a)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.parseRule=function(){var e=this.nodeDOM.parentNode;return e?{skip:e}:{ignore:!0}},t.prototype.update=function(e,t){return!(3==this.dirty||0!=this.dirty&&!this.inParent()||!e.sameMarkup(this.node))&&(this.updateOuterDeco(t),0==this.dirty&&e.text==this.node.text||e.text==this.nodeDOM.nodeValue||(this.nodeDOM.nodeValue=e.text),this.node=e,this.dirty=0,!0)},t.prototype.inParent=function(){for(var e=this.parent.contentDOM,t=this.nodeDOM;t;t=t.parentNode)if(t==e)return!0;return!1},t.prototype.domFromPos=function(e){return{node:this.nodeDOM,offset:e}},t.prototype.localPosFromDOM=function(t,n,o){return t==this.nodeDOM?this.posAtStart+Math.min(n,this.node.text.length):e.prototype.localPosFromDOM.call(this,t,n,o)},t.prototype.ignoreMutation=function(e){return"characterData"!=e.type},t}(L),V=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.parseRule=function(){return{ignore:!0}},t.prototype.matchesHack=function(){return 0==this.dirty},t}(P),W=function(e){function t(t,n,o,r,s,i,a,u,c){e.call(this,t,n,o,r,s,i,a,c),this.spec=u}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.update=function(t,n,o,r){if(3==this.dirty)return!1;if(this.spec.update){var s=this.spec.update(t,n);return s&&this.updateInner(t,n,o,r),s}return!(!this.contentDOM&&!t.isLeaf)&&e.prototype.update.call(this,t,n,o,r)},t.prototype.selectNode=function(){this.spec.selectNode?this.spec.selectNode():e.prototype.selectNode.call(this)},t.prototype.deselectNode=function(){this.spec.deselectNode?this.spec.deselectNode():e.prototype.deselectNode.call(this)},t.prototype.setSelection=function(t,n,o){this.spec.setSelection?this.spec.setSelection(t,n,o):e.prototype.setSelection.call(this,t,n,o)},t.prototype.destroy=function(){this.spec.destroy&&this.spec.destroy(),e.prototype.destroy.call(this)},t.prototype.stopEvent=function(e){return!!this.spec.stopEvent&&this.spec.stopEvent(e)},t.prototype.ignoreMutation=function(t){return this.spec.ignoreMutation?this.spec.ignoreMutation(t):e.prototype.ignoreMutation.call(this,t)},t}(L);function J(e){e&&(this.nodeName=e)}J.prototype=Object.create(null);var U=[new J];function K(e,t,n){if(0==e.length)return U;for(var o=n?U[0]:new J,r=[o],s=0;s<e.length;s++){var i=e[s].type.attrs,a=o;if(i)for(var u in i.nodeName&&r.push(a=new J(i.nodeName)),i){var c=i[u];null!=c&&(n&&1==r.length&&r.push(a=o=new J(t.isInline?"span":"div")),"class"==u?a.class=(a.class?a.class+" ":"")+c:"style"==u?a.style=(a.style?a.style+";":"")+c:"nodeName"!=u&&(a[u]=c))}}return r}function H(e,t,n,o){if(n==U&&o==U)return t;for(var r=t,s=0;s<o.length;s++){var i=o[s],a=n[s];if(s){var u=void 0;a&&a.nodeName==i.nodeName&&r!=e&&(u=t.parentNode)&&u.tagName.toLowerCase()==i.nodeName?r=u:((u=document.createElement(i.nodeName)).appendChild(r),r=u)}q(r,a||U[0],i)}return r}function q(e,t,n){for(var o in t)"class"==o||"style"==o||"nodeName"==o||o in n||e.removeAttribute(o);for(var r in n)"class"!=r&&"style"!=r&&"nodeName"!=r&&n[r]!=t[r]&&e.setAttribute(r,n[r]);if(t.class!=n.class){for(var s=t.class?t.class.split(" "):D,i=n.class?n.class.split(" "):D,a=0;a<s.length;a++)-1==i.indexOf(s[a])&&e.classList.remove(s[a]);for(var u=0;u<i.length;u++)-1==s.indexOf(i[u])&&e.classList.add(i[u])}if(t.style!=n.style){if(t.style)for(var c,l=/\s*([\w\-\xa1-\uffff]+)\s*:(?:"(?:\\.|[^"])*"|'(?:\\.|[^'])*'|\(.*?\)|[^;])*/g;c=l.exec(t.style);)e.style[c[1].toLowerCase()]="";n.style&&(e.style.cssText+=n.style)}}function G(e,t,n){return H(e,e,U,K(t,n,1!=e.nodeType))}function X(e,t){if(e.length!=t.length)return!1;for(var n=0;n<e.length;n++)if(!e[n].type.eq(t[n].type))return!1;return!0}function Y(e){var t=e.nextSibling;return e.parentNode.removeChild(e),t}var Q,Z,ee=function(e){this.top=e,this.index=0,this.stack=[],this.changed=!1,this.preMatched=function(e,t){for(var n=[],o=e.childCount,r=t.length-1;o>0&&r>=0;r--){var s=t[r],i=s.node;if(i){if(i!=e.child(o-1))break;n[--o]=s}}return n}(e.node.content,e.children)};function te(e,t){return e.type.side-t.type.side}function ne(e){return Z==e._props?Q:(Z=e._props,Q=function(e){var t={};return e.someProp("nodeViews",function(e){for(var n in e)Object.prototype.hasOwnProperty.call(t,n)||(t[n]=e[n])}),t}(e))}function oe(e,t){var n=e.selection,o=n.$anchor,s=n.$head,i=t>0?o.max(s):o.min(s),a=i.parent.inlineContent?i.depth?e.doc.resolve(t>0?i.after():i.before()):null:i;return a&&r.Selection.findFrom(a,t)}function re(e,t){return e.dispatch(e.state.tr.setSelection(t).scrollIntoView()),!0}function se(e,t){var n=e.state.selection;if(n instanceof r.TextSelection){if(n.empty){if(e.endOfTextblock(t>0?"right":"left")){var o=oe(e.state,t);return!!(o&&o instanceof r.NodeSelection)&&re(e,o)}var s,i=n.$head,a=i.textOffset?null:t<0?i.nodeBefore:i.nodeAfter;if(a&&r.NodeSelection.isSelectable(a)){var u=t<0?i.pos-a.nodeSize:i.pos;if(a.isAtom||(s=e.docView.descAt(u))&&!s.contentDOM)return re(e,new r.NodeSelection(t<0?e.state.doc.resolve(i.pos-a.nodeSize):i))}return!1}return!1}if(n instanceof r.NodeSelection&&n.node.isInline)return re(e,new r.TextSelection(t>0?n.$to:n.$from));var c=oe(e.state,t);return!!c&&re(e,c)}function ie(e){return 3==e.nodeType?e.nodeValue.length:e.childNodes.length}function ae(e){var t=e.pmViewDesc;return t&&0==t.size&&(e.nextSibling||"BR"!=e.nodeName)}function ue(e){var t=e.root.getSelection(),n=t.focusNode,o=t.focusOffset;if(n){var r,s,a=!1;for(i.gecko&&1==n.nodeType&&o<ie(n)&&ae(n.childNodes[o])&&(a=!0);;)if(o>0)if(1!=n.nodeType){if(3!=n.nodeType||"\ufeff"!=n.nodeValue.charAt(o-1))break;i.ie&&i.ie_version<=11&&(a=!0),r=n,s=--o}else{var u=n.childNodes[o-1];if(ae(u))r=n,s=--o;else{if(3!=u.nodeType)break;o=(n=u).nodeValue.length}}else{if(le(n))break;for(var c=n.previousSibling;c&&ae(c);)r=n.parentNode,s=f(c),c=c.previousSibling;if(c)o=ie(n=c);else{if((n=n.parentNode)==e.dom)break;o=0}}a?de(e,t,n,o):r&&de(e,t,r,s)}}function ce(e){var t=e.root.getSelection(),n=t.focusNode,o=t.focusOffset;if(n){for(var r,s,i=ie(n);;)if(o<i){if(1!=n.nodeType)break;if(!ae(n.childNodes[o]))break;r=n,s=++o}else{if(le(n))break;for(var a=n.nextSibling;a&&ae(a);)r=a.parentNode,s=f(a)+1,a=a.nextSibling;if(a)o=0,i=ie(n=a);else{if((n=n.parentNode)==e.dom)break;o=i=0}}r&&de(e,t,r,s)}}function le(e){var t=e.pmViewDesc;return t&&t.node&&t.node.isBlock}function de(e,t,n,o){if(g(t)){var r=document.createRange();r.setEnd(n,o),r.setStart(n,o),t.removeAllRanges(),t.addRange(r)}else t.extend&&t.extend(n,o);e.selectionReader.storeDOMState(e.selection)}function fe(e,t){var n=e.state.selection;if(n instanceof r.TextSelection&&!n.empty)return!1;var o=n.$from,s=n.$to;if(!o.parent.inlineContent||e.endOfTextblock(t<0?"up":"down")){var i=oe(e.state,t);if(i&&i instanceof r.NodeSelection)return re(e,i)}if(!o.parent.inlineContent){var a=r.Selection.findFrom(t<0?o:s,t);return!a||re(e,a)}return!1}function pe(e,t){if(!(e.state.selection instanceof r.TextSelection))return!0;var n=e.state.selection,o=n.$head,s=n.$anchor,i=n.empty;if(!o.sameParent(s))return!0;if(!i)return!1;if(e.endOfTextblock(t>0?"forward":"backward"))return!0;var a=!o.textOffset&&(t<0?o.nodeBefore:o.nodeAfter);if(a&&!a.isText){var u=e.state.tr;return t<0?u.delete(o.pos-a.nodeSize,o.pos):u.delete(o.pos,o.pos+a.nodeSize),e.dispatch(u),!0}return!1}ee.prototype.destroyBetween=function(e,t){if(e!=t){for(var n=e;n<t;n++)this.top.children[n].destroy();this.top.children.splice(e,t-e),this.changed=!0}},ee.prototype.destroyRest=function(){this.destroyBetween(this.index,this.top.children.length)},ee.prototype.syncToMarks=function(e,t,n){for(var o,r=0,s=this.stack.length>>1,i=Math.min(s,e.length);r<i&&(r==s-1?this.top:this.stack[r+1<<1]).matchesMark(e[r]);)r++;for(;r<s;)this.destroyRest(),this.top.dirty=0,this.index=this.stack.pop(),this.top=this.stack.pop(),s--;for(;s<e.length;){if(this.stack.push(this.top,this.index+1),this.index<this.top.children.length&&(o=this.top.children[this.index]).matchesMark(e[s]))this.top=o;else{var a=F.create(this.top,e[s],t,n);this.top.children.splice(this.index,0,a),this.top=a,this.changed=!0}this.index=0,s++}},ee.prototype.findNodeMatch=function(e,t,n,o){for(var r=this.index,s=this.top.children,i=Math.min(s.length,r+5);r<i;r++){var a=s[r],u=void 0;if(a.matchesNode(e,t,n)&&(-1==(u=this.preMatched.indexOf(a))||u==o))return this.destroyBetween(this.index,r),this.index++,!0}return!1},ee.prototype.updateNextNode=function(e,t,n,o,r){if(this.index==this.top.children.length)return!1;var s=this.top.children[this.index];if(s instanceof L){var i=this.preMatched.indexOf(s);if(i>-1&&i!=r)return!1;var a=s.dom;if(s.update(e,t,n,o))return s.dom!=a&&(this.changed=!0),this.index++,!0}return!1},ee.prototype.addNode=function(e,t,n,o,r){this.top.children.splice(this.index++,0,L.create(this.top,e,t,n,o,r)),this.changed=!0},ee.prototype.placeWidget=function(e,t,n){if(this.index<this.top.children.length&&this.top.children[this.index].matchesWidget(e))this.index++;else{var o=new(e.spec.isCursorWrapper?$:R)(this.top,e,t,n);this.top.children.splice(this.index++,0,o),this.changed=!0}},ee.prototype.addTextblockHacks=function(){for(var e=this.top.children[this.index-1];e instanceof F;)e=e.children[e.children.length-1];if(!e||!(e instanceof B)||/\n$/.test(e.node.text))if(this.index<this.top.children.length&&this.top.children[this.index].matchesHack())this.index++;else{var t=document.createElement("br");this.top.children.splice(this.index++,0,new V(this.top,D,t,null)),this.changed=!0}};var me=function(e,t,n){this.prev=e,this.mapping=t,this.state=n},he=function(e){this.seen=[new me(null,null,e)],r.EditorState.addApplyListener(this.track=this.track.bind(this))};he.prototype.destroy=function(){r.EditorState.removeApplyListener(this.track)},he.prototype.find=function(e){for(var t=this.seen.length-1;t>=0;t--){var n=this.seen[t];if(n.state==e)return n}},he.prototype.track=function(e,t,n){var o=this.seen.length<200?this.find(e):null;o&&this.seen.push(new me(o,t.docChanged?t.mapping:null,n))},he.prototype.getMapping=function(e,t){var n=this.find(e);if(!n)return null;for(var o=[],r=n;r;r=r.prev)r.mapping&&o.push(r.mapping);for(var i=t||new s.Mapping,a=o.length-1;a>=0;a--)i.appendMapping(o[a]);return i};var ve=function(e){var t=this;this.view=e,this.lastAnchorNode=this.lastHeadNode=this.lastAnchorOffset=this.lastHeadOffset=null,this.lastSelection=e.state.selection,this.ignoreUpdates=!1,this.suppressUpdates=!1,this.poller=function(e){return new("onselectionchange"in document?je:ye)(e)}(this),e.dom.addEventListener("focus",function(){return t.poller.start(ke(t.view))}),e.dom.addEventListener("blur",function(){return t.poller.stop()}),e.editable||this.poller.start(!1)};ve.prototype.destroy=function(){this.poller.stop()},ve.prototype.poll=function(e){this.poller.poll(e)},ve.prototype.editableChanged=function(){this.view.editable?ke(this.view)||this.poller.stop():this.poller.start()},ve.prototype.domChanged=function(){var e=this.view.root.getSelection();return e.anchorNode!=this.lastAnchorNode||e.anchorOffset!=this.lastAnchorOffset||e.focusNode!=this.lastHeadNode||e.focusOffset!=this.lastHeadOffset},ve.prototype.storeDOMState=function(e){var t=this.view.root.getSelection();this.lastAnchorNode=t.anchorNode,this.lastAnchorOffset=t.anchorOffset,this.lastHeadNode=t.focusNode,this.lastHeadOffset=t.focusOffset,this.lastSelection=e},ve.prototype.clearDOMState=function(){this.lastAnchorNode=this.lastSelection=null},ve.prototype.readFromDOM=function(e){if(!this.ignoreUpdates&&this.domChanged()&&ke(this.view)){if(this.suppressUpdates)return _e(this.view);if(this.view.inDOMChange||this.view.domObserver.flush(),!this.view.inDOMChange){var t,n,o=this.view.root.getSelection(),s=this.view.state.doc,i=this.view.docView.nearestDesc(o.focusNode),a=i&&0==i.size,u=this.view.docView.posFromDOM(o.focusNode,o.focusOffset),c=s.resolve(u);if(g(o)){for(t=c;i&&!i.node;)i=i.parent;if(i&&i.node.isAtom&&r.NodeSelection.isSelectable(i.node)&&i.parent){var l=i.posBefore;n=new r.NodeSelection(u==l?c:s.resolve(l))}}else t=s.resolve(this.view.docView.posFromDOM(o.anchorNode,o.anchorOffset));if(!n){var d="pointer"==e||this.view.state.selection.head<c.pos&&!a?1:-1;n=xe(this.view,t,c,d)}if(this.view.state.selection.eq(n))_e(this.view);else{var f=this.view.state.tr.setSelection(n);"pointer"==e&&f.setMeta("pointer",!0),this.view.dispatch(f)}}}};var je=function(e){var t=this;this.listening=!1,this.curOrigin=null,this.originTime=0,this.reader=e,this.readFunc=function(){return e.readFromDOM(t.originTime>Date.now()-50?t.curOrigin:null)}};je.prototype.poll=function(e){this.curOrigin=e,this.originTime=Date.now()},je.prototype.start=function(e){this.listening||(this.reader.view.dom.ownerDocument.addEventListener("selectionchange",this.readFunc),this.listening=!0,e&&this.readFunc())},je.prototype.stop=function(){this.listening&&(this.reader.view.dom.ownerDocument.removeEventListener("selectionchange",this.readFunc),this.listening=!1)};var ye=function(e){this.polling=null,this.reader=e,this.pollFunc=this.doPoll.bind(this,null)};function _e(e,t){var n=e.state.selection;if(function(e,t){if(t instanceof r.NodeSelection){var n=e.docView.descAt(t.from);n!=e.lastSelectedViewDesc&&(we(e),n&&n.selectNode(),e.lastSelectedViewDesc=n)}else we(e)}(e,n),e.editable&&!e.hasFocus()){if(!t)return;i.gecko&&i.gecko_version<=55&&(e.selectionReader.ignoreUpdates=!0,e.dom.focus(),e.selectionReader.ignoreUpdates=!1)}else if(!e.editable&&!Se(e)&&!t)return;var o=e.selectionReader;if(!o.lastSelection||!o.lastSelection.eq(n)||o.domChanged()){if(o.ignoreUpdates=!0,e.cursorWrapper)!function(e){var t=e.root.getSelection(),n=document.createRange(),o=e.cursorWrapper.dom;n.setEnd(o,o.childNodes.length),n.collapse(!1),t.removeAllRanges(),t.addRange(n),!e.state.selection.visible&&i.ie&&i.ie_version<=11&&(o.disabled=!0,o.disabled=!1)}(e);else{var s,a,u=n.anchor,c=n.head;!ge||n instanceof r.TextSelection||(n.$from.parent.inlineContent||(s=be(e,n.from)),n.empty||n.$from.parent.inlineContent||(a=be(e,n.to))),e.docView.setSelection(u,c,e.root),ge&&(s&&(s.contentEditable="false"),a&&(a.contentEditable="false")),n.visible?e.dom.classList.remove("ProseMirror-hideselection"):u!=c&&(e.dom.classList.add("ProseMirror-hideselection"),"onselectionchange"in document&&function(e){var t=e.dom.ownerDocument;t.removeEventListener("selectionchange",e.hideSelectionGuard);var n=e.root.getSelection(),o=n.anchorNode,r=n.anchorOffset;t.addEventListener("selectionchange",e.hideSelectionGuard=function(){n.anchorNode==o&&n.anchorOffset==r||(t.removeEventListener("selectionchange",e.hideSelectionGuard),e.dom.classList.remove("ProseMirror-hideselection"))})}(e))}o.storeDOMState(n),o.ignoreUpdates=!1}}ye.prototype.doPoll=function(e){var t=this.reader.view;t.focused||!t.editable?(this.reader.readFromDOM(e),this.polling=setTimeout(this.pollFunc,100)):this.polling=null},ye.prototype.poll=function(e){clearTimeout(this.polling),this.polling=setTimeout(e?this.doPoll.bind(this,e):this.pollFunc,0)},ye.prototype.start=function(){null==this.polling&&this.poll()},ye.prototype.stop=function(){clearTimeout(this.polling),this.polling=null};var ge=i.safari||i.chrome&&i.chrome_version<63;function be(e,t){var n=e.docView.domFromPos(t),o=n.node,r=n.offset,s=r<o.childNodes.length?o.childNodes[r]:null,i=r?o.childNodes[r-1]:null;if(!(s&&"false"!=s.contentEditable||i&&"false"!=i.contentEditable)){if(s)return s.contentEditable="true",s;if(i)return i.contentEditable="true",i}}function we(e){e.lastSelectedViewDesc&&(e.lastSelectedViewDesc.deselectNode(),e.lastSelectedViewDesc=null)}function xe(e,t,n,o){return e.someProp("createSelectionBetween",function(o){return o(e,t,n)})||r.TextSelection.between(t,n,o)}function ke(e){return(!e.editable||e.root.activeElement==e.dom)&&Se(e)}function Se(e){var t=e.root.getSelection();if(!t.anchorNode)return!1;try{return e.dom.contains(3==t.anchorNode.nodeType?t.anchorNode.parentNode:t.anchorNode)}catch(e){return!1}}function Oe(e){return!1===e.type.spec.inclusive}function Ce(e){var t=e.selection,n=t.$head,o=t.$anchor,r=t.visible,s=n.pos!=o.pos||r&&!n.parent.inlineContent?null:n;return s&&(!r||e.storedMarks||0==s.parent.content.length||s.parentOffset&&!s.textOffset&&s.nodeBefore.marks.some(Oe))?s:null}var Me=function e(t,n){var o=this;this.view=t,this.state=t.state,this.composing=n,this.from=this.to=null,this.typeOver=!1,this.timeout=n?null:setTimeout(function(){return o.finish()},e.commitTimeout),this.trackMappings=new he(t.state),this.mapping=new s.Mapping,this.mappingTo=t.state};function Ae(e,t){for(var n=t||0;n<e.depth;n++)if(e.index(n)+1<e.node(n).childCount)return!1;return e.parentOffset==e.parent.content.size}function Te(e,t){for(var n=t||0;n<e.depth;n++)if(e.index(0)>0)return!1;return 0==e.parentOffset}function Ee(e,t){var n=document.createEvent("Event");return n.initEvent("keydown",!0,!0),n.keyCode=e,n.key=n.code=t,n}function Ne(e,t,n,o){return Math.max(o.anchor,o.head)>t.content.size?null:xe(e,t.resolve(n.map(o.anchor)),t.resolve(n.map(o.head)))}function Pe(e,t,n){for(var o=e.depth,r=t?e.end():e.pos;o>0&&(t||e.indexAfter(o)==e.node(o).childCount);)o--,r++,t=!1;if(n)for(var s=e.node(o).maybeChild(e.indexAfter(o));s&&!s.isLeaf;)s=s.firstChild,r++;return r}function Ie(e,t){for(var n=[],r=t.content,s=t.openStart,i=t.openEnd;s>1&&i>1&&1==r.childCount&&1==r.firstChild.childCount;){s--,i--;var a=r.firstChild;n.push(a.type.name,a.type.hasRequiredAttrs()?a.attrs:null),r=a.content}var u=e.someProp("clipboardSerializer")||o.DOMSerializer.fromSchema(e.state.schema),c=document.createElement("div");c.appendChild(u.serializeFragment(r));for(var l,d=c.firstChild;d&&1==d.nodeType&&(l=$e[d.nodeName.toLowerCase()]);){for(var f=l.length-1;f>=0;f--){for(var p=document.createElement(l[f]);c.firstChild;)p.appendChild(c.firstChild);c.appendChild(p)}d=c.firstChild}return d&&1==d.nodeType&&d.setAttribute("data-pm-slice",s+" "+i+" "+JSON.stringify(n)),{dom:c,text:e.someProp("clipboardTextSerializer",function(e){return e(t)})||t.content.textBetween(0,t.content.size,"\n\n")}}function De(e,t,n,r,s){var i,a,u=s.parent.type.spec.code;if(!n&&!t)return null;if((r||u||!n)&&t){if(e.someProp("transformPastedText",function(e){t=e(t)}),u)return new o.Slice(o.Fragment.from(e.state.schema.text(t)),0,0);var c=e.someProp("clipboardTextParser",function(e){return e(t,s)});c?a=c:(i=document.createElement("div"),t.trim().split(/(?:\r\n?|\n)+/).forEach(function(e){i.appendChild(document.createElement("p")).textContent=e}))}else e.someProp("transformPastedHTML",function(e){return n=e(n)}),i=function(e){var t=/(\s*<meta [^>]*>)*/.exec(e);t&&(e=e.slice(t[0].length));var n,o=(Fe||(Fe=document.implementation.createHTMLDocument("title"))).createElement("div"),r=/(?:<meta [^>]*>)*<([a-z][^>\s]+)/i.exec(e),s=0;(n=r&&$e[r[1].toLowerCase()])&&(e=n.map(function(e){return"<"+e+">"}).join("")+e+n.map(function(e){return"</"+e+">"}).reverse().join(""),s=n.length);o.innerHTML=e;for(var i=0;i<s;i++)o=o.firstChild;return o}(n);if(!a){var l=e.someProp("clipboardParser")||e.someProp("domParser")||o.DOMParser.fromSchema(e.state.schema);a=l.parseSlice(i,{preserveWhitespace:!0,context:s})}var d=i&&i.querySelector("[data-pm-slice]"),f=d&&/^(\d+) (\d+) (.*)/.exec(d.getAttribute("data-pm-slice"));return a=f?function(e,t){if(!e.size)return e;var n,r=e.content.firstChild.type.schema;try{n=JSON.parse(t)}catch(t){return e}for(var s=e.content,i=e.openStart,a=e.openEnd,u=n.length-2;u>=0;u-=2){var c=r.nodes[n[u]];if(!c||c.hasRequiredAttrs())break;s=o.Fragment.from(c.create(n[u+1],s)),i++,a++}return new o.Slice(s,i,a)}(new o.Slice(a.content,Math.min(a.openStart,+f[1]),Math.min(a.openEnd,+f[2])),f[3]):o.Slice.maxOpen(function(e,t){if(e.childCount<2)return e;for(var n=function(n){var r=t.node(n),s=r.contentMatchAt(t.index(n)),i=void 0,a=[];if(e.forEach(function(e){if(a){var t,n=s.findWrapping(e.type);if(!n)return a=null;if(t=a.length&&i.length&&function e(t,n,r,s,i){if(i<t.length&&i<n.length&&t[i]==n[i]){var a=e(t,n,r,s.lastChild,i+1);if(a)return s.copy(s.content.replaceChild(s.childCount-1,a));var u=s.contentMatchAt(s.childCount);if(u.matchType(i==t.length-1?r.type:t[i+1]))return s.copy(s.content.append(o.Fragment.from(Re(r,t,i+1))))}}(n,i,e,a[a.length-1],0))a[a.length-1]=t;else{a.length&&(a[a.length-1]=function e(t,n){if(0==n)return t;var r=t.content.replaceChild(t.childCount-1,e(t.lastChild,n-1));var s=t.contentMatchAt(t.childCount).fillBefore(o.Fragment.empty,!0);return t.copy(r.append(s))}(a[a.length-1],i.length));var r=Re(e,n);a.push(r),s=s.matchType(r.type,r.attrs),i=n}}}),a)return{v:o.Fragment.from(a)}},r=t.depth;r>=0;r--){var s=n(r);if(s)return s.v}return e}(a.content,s),!1),e.someProp("transformPasted",function(e){a=e(a)}),a}function Re(e,t,n){void 0===n&&(n=0);for(var r=t.length-1;r>=n;r--)e=t[r].create(null,o.Fragment.from(e));return e}Me.prototype.addRange=function(e,t){null==this.from?(this.from=e,this.to=t):(this.from=Math.min(e,this.from),this.to=Math.max(t,this.to))},Me.prototype.changedRange=function(){if(null==this.from)return function(e){var t=e.$anchor.min(e.$head),n=e.$anchor.max(e.$head);if(t.sameParent(n)&&t.parent.inlineContent&&t.parentOffset&&n.parentOffset<n.parent.content.size){var o=Math.max(0,t.parentOffset),r=t.parent.content.size,s=Math.min(r,n.parentOffset);if(o>0&&(o=t.parent.childBefore(o).offset),s<r){var i=t.parent.childAfter(s);s=i.offset+i.node.nodeSize}var a=t.start();return{from:a+o,to:a+s}}for(var u=0;;u++){var c=Te(t,u+1),l=Ae(n,u+1);if(c||l||t.index(u)!=n.index(u)||n.node(u).isTextblock){var d=t.before(u+1),f=n.after(u+1);return c&&t.index(u)>0&&(d-=t.node(u).child(t.index(u)-1).nodeSize),l&&n.index(u)+1<n.node(u).childCount&&(f+=n.node(u).child(n.index(u)+1).nodeSize),{from:d,to:f}}}}(this.state.selection);var e=this.state.doc.resolve(Math.min(this.from,this.state.selection.from)),t=this.state.doc.resolve(this.to),n=e.sharedDepth(this.to);return{from:e.before(n+1),to:t.after(n+1)}},Me.prototype.markDirty=function(e){null==this.from?this.view.docView.markDirty((e=e||this.changedRange()).from,e.to):this.view.docView.markDirty(this.from,this.to)},Me.prototype.stateUpdated=function(e){return this.trackMappings.getMapping(e,this.mapping)?(this.trackMappings.destroy(),this.trackMappings=new he(e),this.mappingTo=e,!0):(this.markDirty(),this.destroy(),!1)},Me.prototype.finish=function(e){if(clearTimeout(this.timeout),!this.composing||e){this.view.domObserver.flush();var t=this.changedRange();this.markDirty(t),this.destroy();var n=this.state.selection,s=this.typeOver&&n instanceof r.TextSelection&&!n.empty&&n.$head.sameParent(n.$anchor);!function(e,t,n,s,a){var u,c,l=function(e,t,n){var r=e.docView.parseRange(n.from,n.to),s=r.node,a=r.fromOffset,u=r.toOffset,c=r.from,l=r.to,d=e.root.getSelection(),f=null,p=d.anchorNode;p&&e.dom.contains(1==p.nodeType?p:p.parentNode)&&(f=[{node:p,offset:d.anchorOffset}],g(d)||f.push({node:d.focusNode,offset:d.focusOffset}));if(i.chrome&&8===e.lastKeyCode)for(var m=u;m>a;m--){var h=s.childNodes[m-1],v=h.pmViewDesc;if("BR"==h.nodeType&&!v){u=m;break}if(!v||v.size)break}var j=t.doc,y=e.someProp("domParser")||o.DOMParser.fromSchema(e.state.schema),_=j.resolve(c),b=null,w=y.parse(s,{topNode:_.parent,topMatch:_.parent.contentMatchAt(_.index()),topOpen:!0,from:a,to:u,preserveWhitespace:!_.parent.type.spec.code||"full",editableContent:!0,findPositions:f,ruleFromNode:function(e,t){return function(n){var o=n.pmViewDesc;if(o)return o.parseRule();if("BR"==n.nodeName&&n.parentNode){if(i.safari&&/^(ul|ol)$/i.test(n.parentNode.nodeName))return e.matchTag(document.createElement("li"),t);if(n.parentNode.lastChild==n)return{ignore:!0}}}}(y,_),context:_});if(f&&null!=f[0].pos){var x=f[0].pos,k=f[1]&&f[1].pos;null==k&&(k=x),b={anchor:x+c,head:k+c}}return{doc:w,sel:b,from:c,to:l}}(e,n,s),d=n.doc,f=d.slice(l.from,l.to);8===e.lastKeyCode&&Date.now()-100<e.lastKeyCodeTime?(u=n.selection.to,c="end"):(u=n.selection.from,c="start");e.lastKeyCode=null;var p=function(e,t,n,o,r){var s=e.findDiffStart(t,n);if(null==s)return null;var i=e.findDiffEnd(t,n+e.size,n+t.size),a=i.a,u=i.b;if("end"==r){var c=Math.max(0,s-Math.min(a,u));o-=a+c-s}if(a<s&&e.size<t.size){var l=o<=s&&o>=a?s-o:0;u=(s-=l)+(u-a),a=s}else if(u<s){var d=o<=s&&o>=u?s-o:0;a=(s-=d)+(a-u),u=s}return{start:s,endA:a,endB:u}}(f.content,l.doc.content,l.from,u,c);if(!p){if(a){var m=e.state,h=m.selection;e.dispatch(m.tr.replaceSelectionWith(m.schema.text(m.doc.textBetween(h.from,h.to)),!0).scrollIntoView())}else if(l.sel){var v=Ne(e,e.state.doc,t,l.sel);v&&!v.eq(e.state.selection)&&e.dispatch(e.state.tr.setSelection(v))}return}var j,y=l.doc.resolveNoCache(p.start-l.from),_=l.doc.resolveNoCache(p.endB-l.from);if(!y.sameParent(_)&&y.pos<l.doc.content.size&&(j=r.Selection.findFrom(l.doc.resolve(y.pos+1),1,!0))&&j.head==_.pos&&e.someProp("handleKeyDown",function(t){return t(e,Ee(13,"Enter"))}))return;if(n.selection.anchor>p.start&&function(e,t,n,o,r){if(!o.parent.isTextblock||n-t<=r.pos-o.pos||Pe(o,!0,!1)<r.pos)return!1;var s=e.resolve(t);if(s.parentOffset<s.parent.content.size||!s.parent.isTextblock)return!1;var i=e.resolve(Pe(s,!0,!0));if(!i.parent.isTextblock||i.pos>n||Pe(i,!0,!1)<n)return!1;return o.parent.content.cut(o.parentOffset).eq(i.parent.content)}(d,p.start,p.endA,y,_)&&e.someProp("handleKeyDown",function(t){return t(e,Ee(8,"Backspace"))}))return void(i.android&&i.chrome&&(e.selectionReader.suppressUpdates=!0,setTimeout(function(){return e.selectionReader.suppressUpdates=!1},50)));var b,w,x,k,S=t.map(p.start),O=t.map(p.endA,-1);if(y.sameParent(_)&&y.parent.inlineContent)if(y.pos==_.pos)b=e.state.tr.delete(S,O),w=d.resolve(p.start).marksAcross(d.resolve(p.endA));else if(p.endA==p.endB&&(k=d.resolve(p.start))&&(x=function(e,t){for(var n,r,s,i=e.firstChild.marks,a=t.firstChild.marks,u=i,c=a,l=0;l<a.length;l++)u=a[l].removeFromSet(u);for(var d=0;d<i.length;d++)c=i[d].removeFromSet(c);if(1==u.length&&0==c.length)r=u[0],n="add",s=function(e){return e.mark(r.addToSet(e.marks))};else{if(0!=u.length||1!=c.length)return null;r=c[0],n="remove",s=function(e){return e.mark(r.removeFromSet(e.marks))}}for(var f=[],p=0;p<t.childCount;p++)f.push(s(t.child(p)));if(o.Fragment.from(f).eq(e))return{mark:r,type:n}}(y.parent.content.cut(y.parentOffset,_.parentOffset),k.parent.content.cut(k.parentOffset,p.endA-k.start()))))b=e.state.tr,"add"==x.type?b.addMark(S,O,x.mark):b.removeMark(S,O,x.mark);else if(y.parent.child(y.index()).isText&&y.index()==_.index()-(_.textOffset?0:1)){var C=y.parent.textBetween(y.parentOffset,_.parentOffset);if(e.someProp("handleTextInput",function(t){return t(e,S,O,C)}))return;b=e.state.tr.insertText(C,S,O)}b||(b=e.state.tr.replace(S,O,l.doc.slice(p.start-l.from,p.endB-l.from)));if(l.sel){var M=Ne(e,b.doc,t,l.sel);M&&b.setSelection(M)}w&&b.ensureMarks(w);e.dispatch(b.scrollIntoView())}(this.view,this.mapping,this.state,t,s),this.view.docView.dirty&&this.view.updateState(this.view.state)}},Me.prototype.destroy=function(){clearTimeout(this.timeout),this.trackMappings.destroy(),this.view.inDOMChange=null},Me.prototype.compositionEnd=function(){var e=this;this.composing&&(this.composing=!1,this.timeout=setTimeout(function(){return e.finish()},50))},Me.start=function(e,t){return e.inDOMChange?t&&(clearTimeout(e.inDOMChange.timeout),e.inDOMChange.composing=!0):e.inDOMChange=new Me(e,t),e.inDOMChange},Me.commitTimeout=20;var $e={thead:["table"],colgroup:["table"],col:["table","colgroup"],tr:["table","tbody"],td:["table","tbody","tr"],th:["table","tbody","tr"]},Fe=null;var Le={childList:!0,characterData:!0,attributes:!0,subtree:!0,characterDataOldValue:!0},ze=i.ie&&i.ie_version<=11,Be=function(e){var t=this;this.view=e,this.observer=window.MutationObserver&&new window.MutationObserver(function(e){return t.registerMutations(e)}),ze&&(this.onCharData=function(e){return t.registerMutation({target:e.target,type:"characterData",oldValue:e.prevValue})})};Be.prototype.start=function(){this.observer&&this.observer.observe(this.view.dom,Le),ze&&this.view.dom.addEventListener("DOMCharacterDataModified",this.onCharData)},Be.prototype.stop=function(){this.observer&&(this.flush(),this.observer.disconnect()),ze&&this.view.dom.removeEventListener("DOMCharacterDataModified",this.onCharData)},Be.prototype.flush=function(){this.observer&&this.registerMutations(this.observer.takeRecords())},Be.prototype.registerMutations=function(e){for(var t=0;t<e.length;t++)this.registerMutation(e[t])},Be.prototype.registerMutation=function(e){if(this.view.editable){var t=this.view.docView.nearestDesc(e.target);if(("attributes"!=e.type||t!=this.view.docView&&"contenteditable"!=e.attributeName)&&t&&!t.ignoreMutation(e)){var n,o;if("childList"==e.type){var r=e.previousSibling&&e.previousSibling.parentNode==e.target?f(e.previousSibling)+1:0;if(-1==r)return;n=t.localPosFromDOM(e.target,r,-1);var s=e.nextSibling&&e.nextSibling.parentNode==e.target?f(e.nextSibling):e.target.childNodes.length;if(-1==s)return;o=t.localPosFromDOM(e.target,s,1)}else"attributes"==e.type?(n=t.posAtStart-t.border,o=t.posAtEnd+t.border):(n=t.posAtStart,o=t.posAtEnd,e.target.nodeValue==e.oldValue&&(Me.start(this.view).typeOver=!0));Me.start(this.view).addRange(n,o)}}};var Ve={},We={};function Je(e){e.someProp("handleDOMEvents",function(t){for(var n in t)e.eventHandlers[n]||e.dom.addEventListener(n,e.eventHandlers[n]=function(t){return Ue(e,t)})})}function Ue(e,t){return e.someProp("handleDOMEvents",function(n){var o=n[t.type];return!!o&&(o(e,t)||t.defaultPrevented)})}function Ke(e){return{left:e.clientX,top:e.clientY}}We.keydown=function(e,t){if(e.shiftKey=16==t.keyCode||t.shiftKey,e.inDOMChange){if(e.inDOMChange.composing)return;e.inDOMChange.finish()}e.lastKeyCode=t.keyCode,e.lastKeyCodeTime=Date.now(),e.someProp("handleKeyDown",function(n){return n(e,t)})||function(e,t){var n=t.keyCode,o=function(e){var t="";return e.ctrlKey&&(t+="c"),e.metaKey&&(t+="m"),e.altKey&&(t+="a"),e.shiftKey&&(t+="s"),t}(t);return 8==n||i.mac&&72==n&&"c"==o?pe(e,-1)||ue(e):46==n||i.mac&&68==n&&"c"==o?pe(e,1)||ce(e):13==n||27==n||(37==n?se(e,-1)||ue(e):39==n?se(e,1)||ce(e):38==n?fe(e,-1)||ue(e):40==n?fe(e,1)||ce(e):o==(i.mac?"m":"c")&&(66==n||73==n||89==n||90==n))}(e,t)?t.preventDefault():e.selectionReader.poll()},We.keyup=function(e,t){16==t.keyCode&&(e.shiftKey=!1)},We.keypress=function(e,t){if(!(e.inDOMChange||!t.charCode||t.ctrlKey&&!t.altKey||i.mac&&t.metaKey))if(e.someProp("handleKeyPress",function(n){return n(e,t)}))t.preventDefault();else{var n=e.state.selection;if(!(n instanceof r.TextSelection&&n.$from.sameParent(n.$to))){var o=String.fromCharCode(t.charCode);e.someProp("handleTextInput",function(t){return t(e,n.$from.pos,n.$to.pos,o)})||e.dispatch(e.state.tr.insertText(o).scrollIntoView()),t.preventDefault()}}};var He={time:0,x:0,y:0},qe=He;function Ge(e,t){var n=t.x-e.clientX,o=t.y-e.clientY;return n*n+o*o<100}function Xe(e,t,n,o,r){if(-1==o)return!1;for(var s=e.state.doc.resolve(o),i=function(o){if(e.someProp(t,function(t){return o>s.depth?t(e,n,s.nodeAfter,s.before(o),r,!0):t(e,n,s.node(o),s.before(o),r,!1)}))return{v:!0}},a=s.depth+1;a>0;a--){var u=i(a);if(u)return u.v}return!1}function Ye(e,t,n){e.focused||e.focus();var o=e.state.tr.setSelection(t);"pointer"==n&&o.setMeta("pointer",!0),e.dispatch(o)}function Qe(e,t,n,o,s){return Xe(e,"handleClickOn",t,n,o)||e.someProp("handleClick",function(n){return n(e,t,o)})||(s?function(e,t){if(-1==t)return!1;var n,o,s=e.state.selection;s instanceof r.NodeSelection&&(n=s.node);for(var i=e.state.doc.resolve(t),a=i.depth+1;a>0;a--){var u=a>i.depth?i.nodeAfter:i.node(a);if(r.NodeSelection.isSelectable(u)){o=n&&s.$from.depth>0&&a>=s.$from.depth&&i.before(s.$from.depth+1)==s.$from.pos?i.before(s.$from.depth):i.before(a);break}}return null!=o&&(Ye(e,r.NodeSelection.create(e.state.doc,o),"pointer"),!0)}(e,n):function(e,t){if(-1==t)return!1;var n=e.state.doc.resolve(t),o=n.nodeAfter;return!!(o&&o.isAtom&&r.NodeSelection.isSelectable(o))&&(Ye(e,new r.NodeSelection(n),"pointer"),!0)}(e,n))}function Ze(e,t,n,o){return Xe(e,"handleTripleClickOn",t,n,o)||e.someProp("handleTripleClick",function(n){return n(e,t,o)})||function(e,t){var n=e.state.doc;if(-1==t)return!!n.inlineContent&&(Ye(e,r.TextSelection.create(n,0,n.content.size),"pointer"),!0);for(var o=n.resolve(t),s=o.depth+1;s>0;s--){var i=s>o.depth?o.nodeAfter:o.node(s),a=o.before(s);if(i.inlineContent)Ye(e,r.TextSelection.create(n,a+1,a+1+i.content.size),"pointer");else{if(!r.NodeSelection.isSelectable(i))continue;Ye(e,r.NodeSelection.create(n,a),"pointer")}return!0}}(e,n)}function et(e){return!!e.inDOMChange&&(e.inDOMChange.finish(!0),!0)}var tt=i.mac?"metaKey":"ctrlKey";Ve.mousedown=function(e,t){e.shiftKey=t.shiftKey;var n,o=et(e),r=Date.now();n=r-He.time>=500||!Ge(t,He)||t[tt]?"singleClick":r-qe.time>=600||!Ge(t,qe)?"doubleClick":"tripleClick",qe=He,He={time:r,x:t.clientX,y:t.clientY};var s=e.posAtCoords(Ke(t));s&&("singleClick"==n?e.mouseDown=new nt(e,s,t,o):("doubleClick"==n?function(e,t,n,o){return Xe(e,"handleDoubleClickOn",t,n,o)||e.someProp("handleDoubleClick",function(n){return n(e,t,o)})}:Ze)(e,s.pos,s.inside,t)?t.preventDefault():e.selectionReader.poll("pointer"))};var nt=function(e,t,n,o){var s,a,u=this;if(this.view=e,this.pos=t,this.event=n,this.flushed=o,this.selectNode=n[tt],this.allowDefault=n.shiftKey,t.inside>-1)s=e.state.doc.nodeAt(t.inside),a=t.inside;else{var c=e.state.doc.resolve(t.pos);s=c.parent,a=c.depth?c.before():0}this.mightDrag=null,this.target=o?null:n.target,(s.type.spec.draggable&&!1!==s.type.spec.selectable||e.state.selection instanceof r.NodeSelection&&a==e.state.selection.from)&&(this.mightDrag={node:s,pos:a,addAttr:this.target&&!this.target.draggable,setUneditable:this.target&&i.gecko&&!this.target.hasAttribute("contentEditable")}),this.target&&this.mightDrag&&(this.mightDrag.addAttr||this.mightDrag.setUneditable)&&(this.view.domObserver.stop(),this.mightDrag.addAttr&&(this.target.draggable=!0),this.mightDrag.setUneditable&&setTimeout(function(){return u.target.setAttribute("contentEditable","false")},20),this.view.domObserver.start()),e.root.addEventListener("mouseup",this.up=this.up.bind(this)),e.root.addEventListener("mousemove",this.move=this.move.bind(this)),e.selectionReader.poll("pointer")};nt.prototype.done=function(){this.view.root.removeEventListener("mouseup",this.up),this.view.root.removeEventListener("mousemove",this.move),this.mightDrag&&this.target&&(this.view.domObserver.stop(),this.mightDrag.addAttr&&(this.target.draggable=!1),this.mightDrag.setUneditable&&this.target.removeAttribute("contentEditable"),this.view.domObserver.start()),this.view.mouseDown=null},nt.prototype.up=function(e){this.done(),this.view.dom.contains(3==e.target.nodeType?e.target.parentNode:e.target)&&(this.allowDefault?(i.ie&&Ce(this.view.state)&&this.view.updateState(this.view.state),this.view.selectionReader.poll("pointer")):Qe(this.view,this.pos.pos,this.pos.inside,e,this.selectNode)?e.preventDefault():this.flushed?(Ye(this.view,r.Selection.near(this.view.state.doc.resolve(this.pos.pos)),"pointer"),e.preventDefault()):this.view.selectionReader.poll("pointer"))},nt.prototype.move=function(e){!this.allowDefault&&(Math.abs(this.event.x-e.clientX)>4||Math.abs(this.event.y-e.clientY)>4)&&(this.allowDefault=!0),this.view.selectionReader.poll("pointer")},Ve.touchdown=function(e){et(e),e.selectionReader.poll("pointer")},Ve.contextmenu=function(e){return et(e)},We.compositionstart=We.compositionupdate=function(e){Me.start(e,!0)},We.compositionend=function(e,t){if(!e.inDOMChange){if(!t.data)return;Me.start(e,!0)}e.inDOMChange.compositionEnd()},We.input=function(e){var t=Me.start(e);t.composing||t.finish()};var ot=i.ie&&i.ie_version<15||i.ios&&i.webkit_version<604;function rt(e,t,n,o){var r=De(e,t,n,e.shiftKey,e.state.selection.$from);if(!r)return!1;if(e.someProp("handlePaste",function(t){return t(e,o,r)}))return!0;var s=function(e){return 0==e.openStart&&0==e.openEnd&&1==e.content.childCount?e.content.firstChild:null}(r),i=s?e.state.tr.replaceSelectionWith(s,e.shiftKey):e.state.tr.replaceSelection(r);return e.dispatch(i.scrollIntoView().setMeta("paste",!0).setMeta("uiEvent","paste")),!0}Ve.copy=We.cut=function(e,t){var n=e.state.selection,o="cut"==t.type;if(!n.empty){var r=ot?null:t.clipboardData,s=Ie(e,n.content()),i=s.dom,a=s.text;r?(t.preventDefault(),r.clearData(),r.setData("text/html",i.innerHTML),r.setData("text/plain",a)):function(e,t){var n=t.ownerDocument,o=n.body.appendChild(n.createElement("div"));o.appendChild(t),o.style.cssText="position: fixed; left: -10000px; top: 10px";var r=getSelection(),s=n.createRange();s.selectNodeContents(t),e.dom.blur(),r.removeAllRanges(),r.addRange(s),setTimeout(function(){n.body.removeChild(o),e.focus()},50)}(e,i),o&&e.dispatch(e.state.tr.deleteSelection().scrollIntoView().setMeta("uiEvent","cut"))}},We.paste=function(e,t){var n=ot?null:t.clipboardData;n&&rt(e,n.getData("text/plain"),n.getData("text/html"),t)?t.preventDefault():function(e,t){var n=e.dom.ownerDocument,o=e.shiftKey||e.state.selection.$from.parent.type.spec.code,r=n.body.appendChild(n.createElement(o?"textarea":"div"));o||(r.contentEditable="true"),r.style.cssText="position: fixed; left: -10000px; top: 10px",r.focus(),setTimeout(function(){e.focus(),n.body.removeChild(r),o?rt(e,r.value,null,t):rt(e,r.textContent,r.innerHTML,t)},50)}(e,t)};var st=i.mac?"altKey":"ctrlKey";for(var it in Ve.dragstart=function(e,t){var n=e.mouseDown;if(n&&n.done(),t.dataTransfer){var o=e.state.selection,s=o.empty?null:e.posAtCoords(Ke(t));if(s&&s.pos>=o.from&&s.pos<=(o instanceof r.NodeSelection?o.to-1:o.to));else if(n&&n.mightDrag)e.dispatch(e.state.tr.setSelection(r.NodeSelection.create(e.state.doc,n.mightDrag.pos)));else if(t.target&&1==t.target.nodeType){var i=e.docView.nearestDesc(t.target,!0);if(!i||!i.node.type.spec.draggable||i==e.docView)return;e.dispatch(e.state.tr.setSelection(r.NodeSelection.create(e.state.doc,i.posBefore)))}var a=e.state.selection.content(),u=Ie(e,a),c=u.dom,l=u.text;t.dataTransfer.clearData(),t.dataTransfer.setData(ot?"Text":"text/html",c.innerHTML),ot||t.dataTransfer.setData("text/plain",l),e.dragging=new function(e,t){this.slice=e,this.move=t}(a,!t[st])}},Ve.dragend=function(e){window.setTimeout(function(){return e.dragging=null},50)},We.dragover=We.dragenter=function(e,t){return t.preventDefault()},We.drop=function(e,t){var n=e.dragging;if(e.dragging=null,t.dataTransfer){var o=e.posAtCoords(Ke(t));if(o){var i=e.state.doc.resolve(o.pos);if(i){var a=n&&n.slice||De(e,t.dataTransfer.getData(ot?"Text":"text/plain"),ot?null:t.dataTransfer.getData("text/html"),!1,i);if(a&&(t.preventDefault(),!e.someProp("handleDrop",function(o){return o(e,t,a,n&&n.move)}))){var u=a?s.dropPoint(e.state.doc,i.pos,a):i.pos;null==u&&(u=i.pos);var c=e.state.tr;n&&n.move&&c.deleteSelection();var l=c.mapping.map(u),d=0==a.openStart&&0==a.openEnd&&1==a.content.childCount,f=c.doc;if(d?c.replaceRangeWith(l,l,a.content.firstChild):c.replaceRange(l,l,a),!c.doc.eq(f)){var p=c.doc.resolve(l);d&&r.NodeSelection.isSelectable(a.content.firstChild)&&p.nodeAfter&&p.nodeAfter.sameMarkup(a.content.firstChild)?c.setSelection(new r.NodeSelection(p)):c.setSelection(xe(e,p,c.doc.resolve(c.mapping.map(u)))),e.focus(),e.dispatch(c.setMeta("uiEvent","drop"))}}}}}},Ve.focus=function(e){e.focused||(e.dom.classList.add("ProseMirror-focused"),e.focused=!0)},Ve.blur=function(e){e.focused&&(e.dom.classList.remove("ProseMirror-focused"),e.focused=!1)},We)Ve[it]=We[it];function at(e,t){if(e==t)return!0;for(var n in e)if(e[n]!==t[n])return!1;for(var o in t)if(!(o in e))return!1;return!0}var ut=function(e,t){this.spec=t||mt,this.side=this.spec.side||0,this.toDOM=e};ut.prototype.map=function(e,t,n,o){var r=e.mapResult(t.from+o,this.side<0?-1:1),s=r.pos;return r.deleted?null:new dt(s-n,s-n,this)},ut.prototype.valid=function(){return!0},ut.prototype.eq=function(e){return this==e||e instanceof ut&&(this.spec.key&&this.spec.key==e.spec.key||this.toDOM==e.toDOM&&at(this.spec,e.spec))};var ct=function(e,t){this.spec=t||mt,this.attrs=e};ct.prototype.map=function(e,t,n,o){var r=e.map(t.from+o,this.spec.inclusiveStart?-1:1)-n,s=e.map(t.to+o,this.spec.inclusiveEnd?1:-1)-n;return r>=s?null:new dt(r,s,this)},ct.prototype.valid=function(e,t){return t.from<t.to},ct.prototype.eq=function(e){return this==e||e instanceof ct&&at(this.attrs,e.attrs)&&at(this.spec,e.spec)},ct.is=function(e){return e.type instanceof ct};var lt=function(e,t){this.spec=t||mt,this.attrs=e};lt.prototype.map=function(e,t,n,o){var r=e.mapResult(t.from+o,1);if(r.deleted)return null;var s=e.mapResult(t.to+o,-1);return s.deleted||s.pos<=r.pos?null:new dt(r.pos-n,s.pos-n,this)},lt.prototype.valid=function(e,t){var n=e.content.findIndex(t.from),o=n.index,r=n.offset;return r==t.from&&r+e.child(o).nodeSize==t.to},lt.prototype.eq=function(e){return this==e||e instanceof lt&&at(this.attrs,e.attrs)&&at(this.spec,e.spec)};var dt=function(e,t,n){this.from=e,this.to=t,this.type=n},ft={spec:{}};dt.prototype.copy=function(e,t){return new dt(e,t,this.type)},dt.prototype.eq=function(e){return this.type.eq(e.type)&&this.from==e.from&&this.to==e.to},dt.prototype.map=function(e,t,n){return this.type.map(e,this,t,n)},dt.widget=function(e,t,n){return new dt(e,e,new ut(t,n))},dt.inline=function(e,t,n,o){return new dt(e,t,new ct(n,o))},dt.node=function(e,t,n,o){return new dt(e,t,new lt(n,o))},ft.spec.get=function(){return this.type.spec},Object.defineProperties(dt.prototype,ft);var pt=[],mt={},ht=function(e,t){this.local=e&&e.length?e:pt,this.children=t&&t.length?t:pt};ht.create=function(e,t){return t.length?bt(t,e,0,mt):vt},ht.prototype.find=function(e,t,n){var o=[];return this.findInner(null==e?0:e,null==t?1e9:t,o,0,n),o},ht.prototype.findInner=function(e,t,n,o,r){for(var s=0;s<this.local.length;s++){var i=this.local[s];i.from<=t&&i.to>=e&&(!r||r(i.spec))&&n.push(i.copy(i.from+o,i.to+o))}for(var a=0;a<this.children.length;a+=3)if(this.children[a]<t&&this.children[a+1]>e){var u=this.children[a]+1;this.children[a+2].findInner(e-u,t-u,n,o+u,r)}},ht.prototype.map=function(e,t,n){return this==vt||0==e.maps.length?this:this.mapInner(e,t,0,0,n||mt)},ht.prototype.mapInner=function(e,t,n,o,r){for(var s,i=0;i<this.local.length;i++){var a=this.local[i].map(e,n,o);a&&a.type.valid(t,a)?(s||(s=[])).push(a):r.onRemove&&r.onRemove(this.local[i].spec)}return this.children.length?function(e,t,n,o,r,s,i){for(var a=e.slice(),u=function(e,t,n,o){for(var i=0;i<a.length;i+=3){var u=a[i+1],c=void 0;-1==u||e>u+s||(t>=a[i]+s?a[i+1]=-1:(c=o-n-(t-e)+(s-r))&&(a[i]+=c,a[i+1]+=c))}},c=0;c<n.maps.length;c++)n.maps[c].forEach(u);for(var l=!1,d=0;d<a.length;d+=3)if(-1==a[d+1]){var f=n.map(a[d]+s),p=f-r;if(p<0||p>=o.content.size){l=!0;continue}var m=n.map(e[d+1]+s,-1),h=m-r,v=o.content.findIndex(p),j=v.index,y=v.offset,_=o.maybeChild(j);if(_&&y==p&&y+_.nodeSize==h){var g=a[d+2].mapInner(n,_,f+1,a[d]+s+1,i);g!=vt?(a[d]=p,a[d+1]=h,a[d+2]=g):(a.splice(d,3),d-=3)}else l=!0}if(l){var b=function(e,t,n,o,r,s){function i(e,r){for(var a=0;a<e.local.length;a++){var u=e.local[a].map(n,o,r);u?t.push(u):s.onRemove&&s.onRemove(e.local[a].spec)}for(var c=0;c<e.children.length;c+=3)i(e.children[c+2],e.children[c]+r+1)}for(var a=0;a<e.length;a+=3)-1==e[a+1]&&i(e[a+2],e[a]+r+1);return t}(a,t?yt(t,r):[],n,r,s,i),w=bt(b,o,0,i);t=w.local;for(var x=0;x<a.length;x+=3)-1==a[x+1]&&(a.splice(x,3),x-=3);for(var k=0,S=0;k<w.children.length;k+=3){for(var O=w.children[k];S<a.length&&a[S]<O;)S+=3;a.splice(S,0,w.children[k],w.children[k+1],w.children[k+2])}}return new ht(t&&t.sort(wt),a)}(this.children,s,e,t,n,o,r):s?new ht(s.sort(wt)):vt},ht.prototype.add=function(e,t){return t.length?this==vt?ht.create(e,t):this.addInner(e,t,0):this},ht.prototype.addInner=function(e,t,n){var o,r=this,s=0;e.forEach(function(e,i){var a,u=i+n;if(a=_t(t,e,u)){for(o||(o=r.children.slice());s<o.length&&o[s]<i;)s+=3;o[s]==i?o[s+2]=o[s+2].addInner(e,a,u+1):o.splice(s,0,i,i+e.nodeSize,bt(a,e,u+1,mt)),s+=3}});var i=yt(s?gt(t):t,-n);return new ht(i.length?this.local.concat(i).sort(wt):this.local,o||this.children)},ht.prototype.remove=function(e){return 0==e.length||this==vt?this:this.removeInner(e,0)},ht.prototype.removeInner=function(e,t){for(var n=this.children,o=this.local,r=0;r<n.length;r+=3){for(var s=void 0,i=n[r]+t,a=n[r+1]+t,u=0,c=void 0;u<e.length;u++)(c=e[u])&&c.from>i&&c.to<a&&(e[u]=null,(s||(s=[])).push(c));if(s){n==this.children&&(n=this.children.slice());var l=n[r+2].removeInner(s,i+1);l!=vt?n[r+2]=l:(n.splice(r,3),r-=3)}}if(o.length)for(var d=0,f=void 0;d<e.length;d++)if(f=e[d])for(var p=0;p<o.length;p++)o[p].type.eq(f.type)&&(o==this.local&&(o=this.local.slice()),o.splice(p--,1));return n==this.children&&o==this.local?this:o.length||n.length?new ht(o,n):vt},ht.prototype.forChild=function(e,t){var n,o;if(this==vt)return this;if(t.isLeaf)return ht.empty;for(var r=0;r<this.children.length;r+=3)if(this.children[r]>=e){this.children[r]==e&&(n=this.children[r+2]);break}for(var s=e+1,i=s+t.content.size,a=0;a<this.local.length;a++){var u=this.local[a];if(u.from<i&&u.to>s&&u.type instanceof ct){var c=Math.max(s,u.from)-s,l=Math.min(i,u.to)-s;c<l&&(o||(o=[])).push(u.copy(c,l))}}if(o){var d=new ht(o.sort(wt));return n?new jt([d,n]):d}return n||vt},ht.prototype.eq=function(e){if(this==e)return!0;if(!(e instanceof ht)||this.local.length!=e.local.length||this.children.length!=e.children.length)return!1;for(var t=0;t<this.local.length;t++)if(!this.local[t].eq(e.local[t]))return!1;for(var n=0;n<this.children.length;n+=3)if(this.children[n]!=e.children[n]||this.children[n+1]!=e.children[n+1]||!this.children[n+2].eq(e.children[n+2]))return!1;return!1},ht.prototype.locals=function(e){return xt(this.localsInner(e))},ht.prototype.localsInner=function(e){if(this==vt)return pt;if(e.inlineContent||!this.local.some(ct.is))return this.local;for(var t=[],n=0;n<this.local.length;n++)this.local[n].type instanceof ct||t.push(this.local[n]);return t};var vt=new ht;ht.empty=vt,ht.removeOverlap=xt;var jt=function(e){this.members=e};function yt(e,t){if(!t||!e.length)return e;for(var n=[],o=0;o<e.length;o++){var r=e[o];n.push(new dt(r.from+t,r.to+t,r.type))}return n}function _t(e,t,n){if(t.isLeaf)return null;for(var o=n+t.nodeSize,r=null,s=0,i=void 0;s<e.length;s++)(i=e[s])&&i.from>n&&i.to<o&&((r||(r=[])).push(i),e[s]=null);return r}function gt(e){for(var t=[],n=0;n<e.length;n++)null!=e[n]&&t.push(e[n]);return t}function bt(e,t,n,o){var r=[],s=!1;t.forEach(function(t,i){var a=_t(e,t,i+n);if(a){s=!0;var u=bt(a,t,n+i+1,o);u!=vt&&r.push(i,i+t.nodeSize,u)}});for(var i=yt(s?gt(e):e,-n).sort(wt),a=0;a<i.length;a++)i[a].type.valid(t,i[a])||(o.onRemove&&o.onRemove(i[a].spec),i.splice(a--,1));return i.length||r.length?new ht(i,r):vt}function wt(e,t){return e.from-t.from||e.to-t.to}function xt(e){for(var t=e,n=0;n<t.length-1;n++){var o=t[n];if(o.from!=o.to)for(var r=n+1;r<t.length;r++){var s=t[r];if(s.from!=o.from){s.from<o.to&&(t==e&&(t=e.slice()),t[n]=o.copy(o.from,s.from),kt(t,r,o.copy(s.from,o.to)));break}s.to!=o.to&&(t==e&&(t=e.slice()),t[r]=s.copy(s.from,o.to),kt(t,r+1,s.copy(o.to,s.to)))}}return t}function kt(e,t,n){for(;t<e.length&&wt(n,e[t])>0;)t++;e.splice(t,0,n)}function St(e){var t=[];return e.someProp("decorations",function(n){var o=n(e.state);o&&o!=vt&&t.push(o)}),e.cursorWrapper&&t.push(ht.create(e.state.doc,[e.cursorWrapper.deco])),jt.from(t)}jt.prototype.forChild=function(e,t){if(t.isLeaf)return ht.empty;for(var n=[],o=0;o<this.members.length;o++){var r=this.members[o].forChild(e,t);r!=vt&&(r instanceof jt?n=n.concat(r.members):n.push(r))}return jt.from(n)},jt.prototype.eq=function(e){if(!(e instanceof jt)||e.members.length!=this.members.length)return!1;for(var t=0;t<this.members.length;t++)if(!this.members[t].eq(e.members[t]))return!1;return!0},jt.prototype.locals=function(e){for(var t,n=!0,o=0;o<this.members.length;o++){var r=this.members[o].localsInner(e);if(r.length)if(t){n&&(t=t.slice(),n=!1);for(var s=0;s<r.length;s++)t.push(r[s])}else t=r}return t?xt(n?t:t.sort(wt)):pt},jt.from=function(e){switch(e.length){case 0:return vt;case 1:return e[0];default:return new jt(e)}};var Ot=function(e,t){this._props=t,this.state=t.state,this.dispatch=this.dispatch.bind(this),this._root=null,this.focused=!1,this.dom=e&&e.mount||document.createElement("div"),e&&(e.appendChild?e.appendChild(this.dom):e.apply?e(this.dom):e.mount&&(this.mounted=!0)),this.editable=Tt(this),this.cursorWrapper=null,At(this),this.docView=z(this.state.doc,Mt(this),St(this),this.dom,this),this.lastSelectedViewDesc=null,this.dragging=null,function(e){e.shiftKey=!1,e.mouseDown=null,e.inDOMChange=null,e.lastKeyCode=null,e.lastKeyCodeTime=0,e.domObserver=new Be(e),e.domObserver.start(),e.eventHandlers=Object.create(null);var t=function(t){var n=Ve[t];e.dom.addEventListener(t,e.eventHandlers[t]=function(t){!function(e,t){if(!t.bubbles)return!0;if(t.defaultPrevented)return!1;for(var n=t.target;n!=e.dom;n=n.parentNode)if(!n||11==n.nodeType||n.pmViewDesc&&n.pmViewDesc.stopEvent(t))return!1;return!0}(e,t)||Ue(e,t)||!e.editable&&t.type in We||n(e,t)})};for(var n in Ve)t(n);Je(e)}(this),this.selectionReader=new ve(this),this.pluginViews=[],this.updatePluginViews()},Ct={props:{},root:{}};function Mt(e){var t=Object.create(null);return t.class="ProseMirror"+(e.focused?" ProseMirror-focused":""),t.contenteditable=String(e.editable),e.someProp("attributes",function(n){if("function"==typeof n&&(n=n(e.state)),n)for(var o in n)"class"==o?t.class+=" "+n[o]:t[o]||"contenteditable"==o||"nodeName"==o||(t[o]=String(n[o]))}),[dt.node(0,e.state.doc.content.size,t)]}function At(e){var t=Ce(e.state);if(!t||i.ie&&e.mouseDown)e.cursorWrapper=null;else{var n,r=e.state.selection.visible,s=e.state.storedMarks||t.marks();e.cursorWrapper&&o.Mark.sameSet(e.cursorWrapper.deco.spec.marks,s)&&"\ufeff"==e.cursorWrapper.dom.textContent&&e.cursorWrapper.deco.spec.visible==r?e.cursorWrapper.deco.pos!=t.pos&&(n=e.cursorWrapper.dom):n=function(e){var t=document.createElement("span");return t.textContent="\ufeff",e||(t.style.position="absolute",t.style.left="-100000px"),t}(r),n&&(e.cursorWrapper={dom:n,deco:dt.widget(t.pos,n,{isCursorWrapper:!0,marks:s,raw:!0,visible:r})})}}function Tt(e){return!e.someProp("editable",function(t){return!1===t(e.state)})}Ct.props.get=function(){if(this._props.state!=this.state){var e=this._props;for(var t in this._props={},e)this._props[t]=e[t];this._props.state=this.state}return this._props},Ot.prototype.update=function(e){e.handleDOMEvents!=this._props.handleDOMEvents&&Je(this),this._props=e,this.updateState(e.state)},Ot.prototype.setProps=function(e){var t={};for(var n in this._props)t[n]=this._props[n];for(var o in t.state=this.state,e)t[o]=e[o];this.update(t)},Ot.prototype.updateState=function(e){var t=this,n=this.state;if(this.state=e,n.plugins!=e.plugins&&Je(this),this.domObserver.flush(),!this.inDOMChange||!this.inDOMChange.stateUpdated(e)){var o=this.editable;this.editable=Tt(this),At(this);var s=St(this),i=Mt(this),a=n.config!=e.config?"reset":e.scrollToSelection>n.scrollToSelection?"to selection":"preserve",u=!this.docView.matchesNode(e.doc,i,s),c=u||!e.selection.eq(n.selection)||this.selectionReader.domChanged(),l="preserve"==a&&c&&function(e){for(var t,n,o=e.dom.getBoundingClientRect(),r=Math.max(0,o.top),s=e.dom.ownerDocument,i=(o.left+o.right)/2,a=r+1;a<Math.min(innerHeight,o.bottom);a+=5){var u=e.root.elementFromPoint(i,a);if(u!=e.dom&&e.dom.contains(u)){var c=u.getBoundingClientRect();if(c.top>=r-20){t=u,n=c.top;break}}}for(var l=[],d=e.dom;d&&(l.push({dom:d,top:d.scrollTop,left:d.scrollLeft}),d!=s.body);d=p(d));return{refDOM:t,refTop:n,stack:l}}(this);c&&(this.domObserver.stop(),u&&(this.docView.update(e.doc,i,s,this)||(this.docView.destroy(),this.docView=z(e.doc,i,s,this.dom,this)),this.selectionReader.clearDOMState()),_e(this),this.domObserver.start()),o!=this.editable&&this.selectionReader.editableChanged(),this.updatePluginViews(n),"reset"==a?this.dom.scrollTop=0:"to selection"==a?this.someProp("handleScrollToSelection",function(e){return e(t)})||(e.selection instanceof r.NodeSelection?w(this,this.docView.domAfterPos(e.selection.from).getBoundingClientRect()):w(this,this.coordsAtPos(e.selection.head))):l&&function(e){for(var t=e.refDOM,n=e.refTop,o=e.stack,r=t?t.getBoundingClientRect().top:0,s=0==r?0:r-n,i=0;i<o.length;i++){var a=o[i],u=a.dom,c=a.top,l=a.left;u.scrollTop!=c+s&&(u.scrollTop=c+s),u.scrollLeft!=l&&(u.scrollLeft=l)}}(l)}},Ot.prototype.destroyPluginViews=function(){for(var e;e=this.pluginViews.pop();)e.destroy&&e.destroy()},Ot.prototype.updatePluginViews=function(e){var t=this.state.plugins;if(e&&e.plugins==t)for(var n=0;n<this.pluginViews.length;n++){var o=this.pluginViews[n];o.update&&o.update(this,e)}else{this.destroyPluginViews();for(var r=0;r<t.length;r++){var s=t[r];s.spec.view&&this.pluginViews.push(s.spec.view(this))}}},Ot.prototype.someProp=function(e,t){var n,o=this._props&&this._props[e];if(null!=o&&(n=t?t(o):o))return n;var r=this.state.plugins;if(r)for(var s=0;s<r.length;s++){var i=r[s].props[e];if(null!=i&&(n=t?t(i):i))return n}},Ot.prototype.hasFocus=function(){return this.root.activeElement==this.dom},Ot.prototype.focus=function(){this.domObserver.stop(),_e(this,!0),this.domObserver.start(),this.editable&&this.dom.focus()},Ct.root.get=function(){var e=this._root;if(null==e)for(var t=this.dom.parentNode;t;t=t.parentNode)if(9==t.nodeType||11==t.nodeType&&t.host)return this._root=t;return e||document},Ot.prototype.posAtCoords=function(e){var t=k(this,e);return this.inDOMChange&&t&&(t.pos=this.inDOMChange.mapping.map(t.pos),-1!=t.inside&&(t.inside=this.inDOMChange.mapping.map(t.inside))),t},Ot.prototype.coordsAtPos=function(e){return this.inDOMChange&&(e=this.inDOMChange.mapping.invert().map(e)),O(this,e)},Ot.prototype.domAtPos=function(e){return this.inDOMChange&&(e=this.inDOMChange.mapping.invert().map(e)),this.docView.domFromPos(e)},Ot.prototype.nodeDOM=function(e){this.inDOMChange&&(e=this.inDOMChange.mapping.invert().map(e));var t=this.docView.descAt(e);return t?t.nodeDOM:null},Ot.prototype.posAtDOM=function(e,t,n){void 0===n&&(n=-1);var o=this.docView.posFromDOM(e,t,n);if(null==o)throw new RangeError("DOM position not inside the editor");return this.inDOMChange&&(o=this.inDOMChange.mapping.map(o)),o},Ot.prototype.endOfTextblock=function(e,t){return N(this,t||this.state,e)},Ot.prototype.destroy=function(){this.docView&&(!function(e){for(var t in e.domObserver.stop(),e.inDOMChange&&e.inDOMChange.destroy(),e.eventHandlers)e.dom.removeEventListener(t,e.eventHandlers[t])}(this),this.destroyPluginViews(),this.selectionReader.destroy(),this.mounted?(this.docView.update(this.state.doc,[],St(this),this),this.dom.textContent=""):this.dom.parentNode&&this.dom.parentNode.removeChild(this.dom),this.docView.destroy(),this.docView=null)},Ot.prototype.dispatchEvent=function(e){return function(e,t){Ue(e,t)||!Ve[t.type]||!e.editable&&t.type in We||Ve[t.type](e,t)}(this,e)},Ot.prototype.dispatch=function(e){var t=this._props.dispatchTransaction;t?t.call(this,e):this.updateState(this.state.apply(e))},Object.defineProperties(Ot.prototype,Ct),t.EditorView=Ot,t.Decoration=dt,t.DecorationSet=ht,t.__serializeForClipboard=Ie,t.__parseFromClipboard=De},"./node_modules/regenerator-runtime/runtime.js":function(e,t,n){(function(t){!function(t){"use strict";var n,o=Object.prototype,r=o.hasOwnProperty,s="function"==typeof Symbol?Symbol:{},i=s.iterator||"@@iterator",a=s.asyncIterator||"@@asyncIterator",u=s.toStringTag||"@@toStringTag",c="object"==typeof e,l=t.regeneratorRuntime;if(l)c&&(e.exports=l);else{(l=t.regeneratorRuntime=c?e.exports:{}).wrap=g;var d="suspendedStart",f="suspendedYield",p="executing",m="completed",h={},v={};v[i]=function(){return this};var j=Object.getPrototypeOf,y=j&&j(j(E([])));y&&y!==o&&r.call(y,i)&&(v=y);var _=k.prototype=w.prototype=Object.create(v);x.prototype=_.constructor=k,k.constructor=x,k[u]=x.displayName="GeneratorFunction",l.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===x||"GeneratorFunction"===(t.displayName||t.name))},l.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,k):(e.__proto__=k,u in e||(e[u]="GeneratorFunction")),e.prototype=Object.create(_),e},l.awrap=function(e){return{__await:e}},S(O.prototype),O.prototype[a]=function(){return this},l.AsyncIterator=O,l.async=function(e,t,n,o){var r=new O(g(e,t,n,o));return l.isGeneratorFunction(t)?r:r.next().then(function(e){return e.done?e.value:r.next()})},S(_),_[u]="Generator",_[i]=function(){return this},_.toString=function(){return"[object Generator]"},l.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var o=t.pop();if(o in e)return n.value=o,n.done=!1,n}return n.done=!0,n}},l.values=E,T.prototype={constructor:T,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=n,this.done=!1,this.delegate=null,this.method="next",this.arg=n,this.tryEntries.forEach(A),!e)for(var t in this)"t"===t.charAt(0)&&r.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=n)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function o(o,r){return a.type="throw",a.arg=e,t.next=o,r&&(t.method="next",t.arg=n),!!r}for(var s=this.tryEntries.length-1;s>=0;--s){var i=this.tryEntries[s],a=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var u=r.call(i,"catchLoc"),c=r.call(i,"finallyLoc");if(u&&c){if(this.prev<i.catchLoc)return o(i.catchLoc,!0);if(this.prev<i.finallyLoc)return o(i.finallyLoc)}else if(u){if(this.prev<i.catchLoc)return o(i.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return o(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var s=o;break}}s&&("break"===e||"continue"===e)&&s.tryLoc<=t&&t<=s.finallyLoc&&(s=null);var i=s?s.completion:{};return i.type=e,i.arg=t,s?(this.method="next",this.next=s.finallyLoc,h):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),h},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),A(n),h}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var o=n.completion;if("throw"===o.type){var r=o.arg;A(n)}return r}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,o){return this.delegate={iterator:E(e),resultName:t,nextLoc:o},"next"===this.method&&(this.arg=n),h}}}function g(e,t,n,o){var r=t&&t.prototype instanceof w?t:w,s=Object.create(r.prototype),i=new T(o||[]);return s._invoke=function(e,t,n){var o=d;return function(r,s){if(o===p)throw new Error("Generator is already running");if(o===m){if("throw"===r)throw s;return N()}for(n.method=r,n.arg=s;;){var i=n.delegate;if(i){var a=C(i,n);if(a){if(a===h)continue;return a}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===d)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=p;var u=b(e,t,n);if("normal"===u.type){if(o=n.done?m:f,u.arg===h)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(o=m,n.method="throw",n.arg=u.arg)}}}(e,n,i),s}function b(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}function w(){}function x(){}function k(){}function S(e){["next","throw","return"].forEach(function(t){e[t]=function(e){return this._invoke(t,e)}})}function O(e){function n(t,o,s,i){var a=b(e[t],e,o);if("throw"!==a.type){var u=a.arg,c=u.value;return c&&"object"==typeof c&&r.call(c,"__await")?Promise.resolve(c.__await).then(function(e){n("next",e,s,i)},function(e){n("throw",e,s,i)}):Promise.resolve(c).then(function(e){u.value=e,s(u)},i)}i(a.arg)}var o;"object"==typeof t.process&&t.process.domain&&(n=t.process.domain.bind(n)),this._invoke=function(e,t){function r(){return new Promise(function(o,r){n(e,t,o,r)})}return o=o?o.then(r,r):r()}}function C(e,t){var o=e.iterator[t.method];if(o===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=n,C(e,t),"throw"===t.method))return h;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return h}var r=b(o,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,h;var s=r.arg;return s?s.done?(t[e.resultName]=s.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=n),t.delegate=null,h):s:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,h)}function M(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function T(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(M,this),this.reset(!0)}function E(e){if(e){var t=e[i];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,s=function t(){for(;++o<e.length;)if(r.call(e,o))return t.value=e[o],t.done=!1,t;return t.value=n,t.done=!0,t};return s.next=s}}return{next:N}}function N(){return{value:n,done:!0}}}("object"==typeof t?t:"object"==typeof window?window:"object"==typeof self?self:this)}).call(this,n("./node_modules/webpack/buildin/global.js"))},"./node_modules/rope-sequence/dist/index.js":function(e,t){var n=function(){};n.prototype.append=function(e){return e.length?(e=n.from(e),!this.length&&e||e.length<200&&this.leafAppend(e)||this.length<200&&e.leafPrepend(this)||this.appendInner(e)):this},n.prototype.prepend=function(e){return e.length?n.from(e).append(this):this},n.prototype.appendInner=function(e){return new r(this,e)},n.prototype.slice=function(e,t){return void 0===e&&(e=0),void 0===t&&(t=this.length),e>=t?n.empty:this.sliceInner(Math.max(0,e),Math.min(this.length,t))},n.prototype.get=function(e){if(!(e<0||e>=this.length))return this.getInner(e)},n.prototype.forEach=function(e,t,n){void 0===t&&(t=0),void 0===n&&(n=this.length),t<=n?this.forEachInner(e,t,n,0):this.forEachInvertedInner(e,t,n,0)},n.prototype.map=function(e,t,n){void 0===t&&(t=0),void 0===n&&(n=this.length);var o=[];return this.forEach(function(t,n){return o.push(e(t,n))},t,n),o},n.from=function(e){return e instanceof n?e:e&&e.length?new o(e):n.empty};var o=function(e){function t(t){e.call(this),this.values=t}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var n={length:{},depth:{}};return t.prototype.flatten=function(){return this.values},t.prototype.sliceInner=function(e,n){return 0==e&&n==this.length?this:new t(this.values.slice(e,n))},t.prototype.getInner=function(e){return this.values[e]},t.prototype.forEachInner=function(e,t,n,o){for(var r=t;r<n;r++)if(!1===e(this.values[r],o+r))return!1},t.prototype.forEachInvertedInner=function(e,t,n,o){for(var r=t-1;r>=n;r--)if(!1===e(this.values[r],o+r))return!1},t.prototype.leafAppend=function(e){if(this.length+e.length<=200)return new t(this.values.concat(e.flatten()))},t.prototype.leafPrepend=function(e){if(this.length+e.length<=200)return new t(e.flatten().concat(this.values))},n.length.get=function(){return this.values.length},n.depth.get=function(){return 0},Object.defineProperties(t.prototype,n),t}(n);n.empty=new o([]);var r=function(e){function t(t,n){e.call(this),this.left=t,this.right=n,this.length=t.length+n.length,this.depth=Math.max(t.depth,n.depth)+1}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.flatten=function(){return this.left.flatten().concat(this.right.flatten())},t.prototype.getInner=function(e){return e<this.left.length?this.left.get(e):this.right.get(e-this.left.length)},t.prototype.forEachInner=function(e,t,n,o){var r=this.left.length;return!(t<r&&!1===this.left.forEachInner(e,t,Math.min(n,r),o))&&(!(n>r&&!1===this.right.forEachInner(e,Math.max(t-r,0),Math.min(this.length,n)-r,o+r))&&void 0)},t.prototype.forEachInvertedInner=function(e,t,n,o){var r=this.left.length;return!(t>r&&!1===this.right.forEachInvertedInner(e,t-r,Math.max(n,r)-r,o+r))&&(!(n<r&&!1===this.left.forEachInvertedInner(e,Math.min(t,r),n,o))&&void 0)},t.prototype.sliceInner=function(e,t){if(0==e&&t==this.length)return this;var n=this.left.length;return t<=n?this.left.slice(e,t):e>=n?this.right.slice(e-n,t-n):this.left.slice(e,n).append(this.right.slice(0,t-n))},t.prototype.leafAppend=function(e){var n=this.right.leafAppend(e);if(n)return new t(this.left,n)},t.prototype.leafPrepend=function(e){var n=this.left.leafPrepend(e);if(n)return new t(n,this.right)},t.prototype.appendInner=function(e){return this.left.depth>=Math.max(this.right.depth,e.depth)+1?new t(this.left,new t(this.right,e)):new t(this,e)},t}(n);e.exports=n},"./node_modules/setimmediate/setImmediate.js":function(e,t,n){(function(e,t){!function(e,n){"use strict";if(!e.setImmediate){var o,r=1,s={},i=!1,a=e.document,u=Object.getPrototypeOf&&Object.getPrototypeOf(e);u=u&&u.setTimeout?u:e,"[object process]"==={}.toString.call(e.process)?o=function(e){t.nextTick(function(){l(e)})}:function(){if(e.postMessage&&!e.importScripts){var t=!0,n=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=n,t}}()?function(){var t="setImmediate$"+Math.random()+"$",n=function(n){n.source===e&&"string"==typeof n.data&&0===n.data.indexOf(t)&&l(+n.data.slice(t.length))};e.addEventListener?e.addEventListener("message",n,!1):e.attachEvent("onmessage",n),o=function(n){e.postMessage(t+n,"*")}}():e.MessageChannel?function(){var e=new MessageChannel;e.port1.onmessage=function(e){l(e.data)},o=function(t){e.port2.postMessage(t)}}():a&&"onreadystatechange"in a.createElement("script")?function(){var e=a.documentElement;o=function(t){var n=a.createElement("script");n.onreadystatechange=function(){l(t),n.onreadystatechange=null,e.removeChild(n),n=null},e.appendChild(n)}}():o=function(e){setTimeout(l,0,e)},u.setImmediate=function(e){"function"!=typeof e&&(e=new Function(""+e));for(var t=new Array(arguments.length-1),n=0;n<t.length;n++)t[n]=arguments[n+1];var i={callback:e,args:t};return s[r]=i,o(r),r++},u.clearImmediate=c}function c(e){delete s[e]}function l(e){if(i)setTimeout(l,0,e);else{var t=s[e];if(t){i=!0;try{!function(e){var t=e.callback,o=e.args;switch(o.length){case 0:t();break;case 1:t(o[0]);break;case 2:t(o[0],o[1]);break;case 3:t(o[0],o[1],o[2]);break;default:t.apply(n,o)}}(t)}finally{c(e),i=!1}}}}}("undefined"==typeof self?void 0===e?this:e:self)}).call(this,n("./node_modules/webpack/buildin/global.js"),n("./node_modules/process/browser.js"))},"./node_modules/timers-browserify/main.js":function(e,t,n){(function(e){var o=void 0!==e&&e||"undefined"!=typeof self&&self||window,r=Function.prototype.apply;function s(e,t){this._id=e,this._clearFn=t}t.setTimeout=function(){return new s(r.call(setTimeout,o,arguments),clearTimeout)},t.setInterval=function(){return new s(r.call(setInterval,o,arguments),clearInterval)},t.clearTimeout=t.clearInterval=function(e){e&&e.close()},s.prototype.unref=s.prototype.ref=function(){},s.prototype.close=function(){this._clearFn.call(o,this._id)},t.enroll=function(e,t){clearTimeout(e._idleTimeoutId),e._idleTimeout=t},t.unenroll=function(e){clearTimeout(e._idleTimeoutId),e._idleTimeout=-1},t._unrefActive=t.active=function(e){clearTimeout(e._idleTimeoutId);var t=e._idleTimeout;t>=0&&(e._idleTimeoutId=setTimeout(function(){e._onTimeout&&e._onTimeout()},t))},n("./node_modules/setimmediate/setImmediate.js"),t.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==e&&e.setImmediate||this&&this.setImmediate,t.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==e&&e.clearImmediate||this&&this.clearImmediate}).call(this,n("./node_modules/webpack/buildin/global.js"))},"./node_modules/vue-loader/lib/runtime/componentNormalizer.js":function(e,t,n){"use strict";function o(e,t,n,o,r,s,i,a){var u,c="function"==typeof e?e.options:e;if(t&&(c.render=t,c.staticRenderFns=n,c._compiled=!0),o&&(c.functional=!0),s&&(c._scopeId="data-v-"+s),i?(u=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),r&&r.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(i)},c._ssrRegister=u):r&&(u=a?function(){r.call(this,this.$root.$options.shadowRoot)}:r),u)if(c.functional){c._injectStyles=u;var l=c.render;c.render=function(e,t){return u.call(t),l(e,t)}}else{var d=c.beforeCreate;c.beforeCreate=d?[].concat(d,u):[u]}return{exports:e,options:c}}n.d(t,"a",function(){return o})},"./node_modules/vue/dist/vue.esm.js":function(e,t,n){"use strict";n.r(t),function(e,n){
/*!
* Vue.js v2.5.17
* (c) 2014-2018 Evan You
* Released under the MIT License.
*/
var o=Object.freeze({});function r(e){return void 0===e||null===e}function s(e){return void 0!==e&&null!==e}function i(e){return!0===e}function a(e){return"string"==typeof e||"number"==typeof e||"symbol"==typeof e||"boolean"==typeof e}function u(e){return null!==e&&"object"==typeof e}var c=Object.prototype.toString;function l(e){return"[object Object]"===c.call(e)}function d(e){return"[object RegExp]"===c.call(e)}function f(e){var t=parseFloat(String(e));return t>=0&&Math.floor(t)===t&&isFinite(e)}function p(e){return null==e?"":"object"==typeof e?JSON.stringify(e,null,2):String(e)}function m(e){var t=parseFloat(e);return isNaN(t)?e:t}function h(e,t){for(var n=Object.create(null),o=e.split(","),r=0;r<o.length;r++)n[o[r]]=!0;return t?function(e){return n[e.toLowerCase()]}:function(e){return n[e]}}var v=h("slot,component",!0),j=h("key,ref,slot,slot-scope,is");function y(e,t){if(e.length){var n=e.indexOf(t);if(n>-1)return e.splice(n,1)}}var _=Object.prototype.hasOwnProperty;function g(e,t){return _.call(e,t)}function b(e){var t=Object.create(null);return function(n){return t[n]||(t[n]=e(n))}}var w=/-(\w)/g,x=b(function(e){return e.replace(w,function(e,t){return t?t.toUpperCase():""})}),k=b(function(e){return e.charAt(0).toUpperCase()+e.slice(1)}),S=/\B([A-Z])/g,O=b(function(e){return e.replace(S,"-$1").toLowerCase()});var C=Function.prototype.bind?function(e,t){return e.bind(t)}:function(e,t){function n(n){var o=arguments.length;return o?o>1?e.apply(t,arguments):e.call(t,n):e.call(t)}return n._length=e.length,n};function M(e,t){t=t||0;for(var n=e.length-t,o=new Array(n);n--;)o[n]=e[n+t];return o}function A(e,t){for(var n in t)e[n]=t[n];return e}function T(e){for(var t={},n=0;n<e.length;n++)e[n]&&A(t,e[n]);return t}function E(e,t,n){}var N=function(e,t,n){return!1},P=function(e){return e};function I(e,t){if(e===t)return!0;var n=u(e),o=u(t);if(!n||!o)return!n&&!o&&String(e)===String(t);try{var r=Array.isArray(e),s=Array.isArray(t);if(r&&s)return e.length===t.length&&e.every(function(e,n){return I(e,t[n])});if(r||s)return!1;var i=Object.keys(e),a=Object.keys(t);return i.length===a.length&&i.every(function(n){return I(e[n],t[n])})}catch(e){return!1}}function D(e,t){for(var n=0;n<e.length;n++)if(I(e[n],t))return n;return-1}function R(e){var t=!1;return function(){t||(t=!0,e.apply(this,arguments))}}var $="data-server-rendered",F=["component","directive","filter"],L=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured"],z={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:N,isReservedAttr:N,isUnknownElement:N,getTagNamespace:E,parsePlatformTagName:P,mustUseProp:N,_lifecycleHooks:L};function B(e){var t=(e+"").charCodeAt(0);return 36===t||95===t}function V(e,t,n,o){Object.defineProperty(e,t,{value:n,enumerable:!!o,writable:!0,configurable:!0})}var W=/[^\w.$]/;var J,U="__proto__"in{},K="undefined"!=typeof window,H="undefined"!=typeof WXEnvironment&&!!WXEnvironment.platform,q=H&&WXEnvironment.platform.toLowerCase(),G=K&&window.navigator.userAgent.toLowerCase(),X=G&&/msie|trident/.test(G),Y=G&&G.indexOf("msie 9.0")>0,Q=G&&G.indexOf("edge/")>0,Z=(G&&G.indexOf("android"),G&&/iphone|ipad|ipod|ios/.test(G)||"ios"===q),ee=(G&&/chrome\/\d+/.test(G),{}.watch),te=!1;if(K)try{var ne={};Object.defineProperty(ne,"passive",{get:function(){te=!0}}),window.addEventListener("test-passive",null,ne)}catch(e){}var oe=function(){return void 0===J&&(J=!K&&!H&&void 0!==e&&"server"===e.process.env.VUE_ENV),J},re=K&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function se(e){return"function"==typeof e&&/native code/.test(e.toString())}var ie,ae="undefined"!=typeof Symbol&&se(Symbol)&&"undefined"!=typeof Reflect&&se(Reflect.ownKeys);ie="undefined"!=typeof Set&&se(Set)?Set:function(){function e(){this.set=Object.create(null)}return e.prototype.has=function(e){return!0===this.set[e]},e.prototype.add=function(e){this.set[e]=!0},e.prototype.clear=function(){this.set=Object.create(null)},e}();var ue=E,ce=0,le=function(){this.id=ce++,this.subs=[]};le.prototype.addSub=function(e){this.subs.push(e)},le.prototype.removeSub=function(e){y(this.subs,e)},le.prototype.depend=function(){le.target&&le.target.addDep(this)},le.prototype.notify=function(){for(var e=this.subs.slice(),t=0,n=e.length;t<n;t++)e[t].update()},le.target=null;var de=[];function fe(e){le.target&&de.push(le.target),le.target=e}function pe(){le.target=de.pop()}var me=function(e,t,n,o,r,s,i,a){this.tag=e,this.data=t,this.children=n,this.text=o,this.elm=r,this.ns=void 0,this.context=s,this.fnContext=void 0,this.fnOptions=void 0,this.fnScopeId=void 0,this.key=t&&t.key,this.componentOptions=i,this.componentInstance=void 0,this.parent=void 0,this.raw=!1,this.isStatic=!1,this.isRootInsert=!0,this.isComment=!1,this.isCloned=!1,this.isOnce=!1,this.asyncFactory=a,this.asyncMeta=void 0,this.isAsyncPlaceholder=!1},he={child:{configurable:!0}};he.child.get=function(){return this.componentInstance},Object.defineProperties(me.prototype,he);var ve=function(e){void 0===e&&(e="");var t=new me;return t.text=e,t.isComment=!0,t};function je(e){return new me(void 0,void 0,void 0,String(e))}function ye(e){var t=new me(e.tag,e.data,e.children,e.text,e.elm,e.context,e.componentOptions,e.asyncFactory);return t.ns=e.ns,t.isStatic=e.isStatic,t.key=e.key,t.isComment=e.isComment,t.fnContext=e.fnContext,t.fnOptions=e.fnOptions,t.fnScopeId=e.fnScopeId,t.isCloned=!0,t}var _e=Array.prototype,ge=Object.create(_e);["push","pop","shift","unshift","splice","sort","reverse"].forEach(function(e){var t=_e[e];V(ge,e,function(){for(var n=[],o=arguments.length;o--;)n[o]=arguments[o];var r,s=t.apply(this,n),i=this.__ob__;switch(e){case"push":case"unshift":r=n;break;case"splice":r=n.slice(2)}return r&&i.observeArray(r),i.dep.notify(),s})});var be=Object.getOwnPropertyNames(ge),we=!0;function xe(e){we=e}var ke=function(e){(this.value=e,this.dep=new le,this.vmCount=0,V(e,"__ob__",this),Array.isArray(e))?((U?Se:Oe)(e,ge,be),this.observeArray(e)):this.walk(e)};function Se(e,t,n){e.__proto__=t}function Oe(e,t,n){for(var o=0,r=n.length;o<r;o++){var s=n[o];V(e,s,t[s])}}function Ce(e,t){var n;if(u(e)&&!(e instanceof me))return g(e,"__ob__")&&e.__ob__ instanceof ke?n=e.__ob__:we&&!oe()&&(Array.isArray(e)||l(e))&&Object.isExtensible(e)&&!e._isVue&&(n=new ke(e)),t&&n&&n.vmCount++,n}function Me(e,t,n,o,r){var s=new le,i=Object.getOwnPropertyDescriptor(e,t);if(!i||!1!==i.configurable){var a=i&&i.get;a||2!==arguments.length||(n=e[t]);var u=i&&i.set,c=!r&&Ce(n);Object.defineProperty(e,t,{enumerable:!0,configurable:!0,get:function(){var t=a?a.call(e):n;return le.target&&(s.depend(),c&&(c.dep.depend(),Array.isArray(t)&&function e(t){for(var n=void 0,o=0,r=t.length;o<r;o++)(n=t[o])&&n.__ob__&&n.__ob__.dep.depend(),Array.isArray(n)&&e(n)}(t))),t},set:function(t){var o=a?a.call(e):n;t===o||t!=t&&o!=o||(u?u.call(e,t):n=t,c=!r&&Ce(t),s.notify())}})}}function Ae(e,t,n){if(Array.isArray(e)&&f(t))return e.length=Math.max(e.length,t),e.splice(t,1,n),n;if(t in e&&!(t in Object.prototype))return e[t]=n,n;var o=e.__ob__;return e._isVue||o&&o.vmCount?n:o?(Me(o.value,t,n),o.dep.notify(),n):(e[t]=n,n)}function Te(e,t){if(Array.isArray(e)&&f(t))e.splice(t,1);else{var n=e.__ob__;e._isVue||n&&n.vmCount||g(e,t)&&(delete e[t],n&&n.dep.notify())}}ke.prototype.walk=function(e){for(var t=Object.keys(e),n=0;n<t.length;n++)Me(e,t[n])},ke.prototype.observeArray=function(e){for(var t=0,n=e.length;t<n;t++)Ce(e[t])};var Ee=z.optionMergeStrategies;function Ne(e,t){if(!t)return e;for(var n,o,r,s=Object.keys(t),i=0;i<s.length;i++)o=e[n=s[i]],r=t[n],g(e,n)?l(o)&&l(r)&&Ne(o,r):Ae(e,n,r);return e}function Pe(e,t,n){return n?function(){var o="function"==typeof t?t.call(n,n):t,r="function"==typeof e?e.call(n,n):e;return o?Ne(o,r):r}:t?e?function(){return Ne("function"==typeof t?t.call(this,this):t,"function"==typeof e?e.call(this,this):e)}:t:e}function Ie(e,t){return t?e?e.concat(t):Array.isArray(t)?t:[t]:e}function De(e,t,n,o){var r=Object.create(e||null);return t?A(r,t):r}Ee.data=function(e,t,n){return n?Pe(e,t,n):t&&"function"!=typeof t?e:Pe(e,t)},L.forEach(function(e){Ee[e]=Ie}),F.forEach(function(e){Ee[e+"s"]=De}),Ee.watch=function(e,t,n,o){if(e===ee&&(e=void 0),t===ee&&(t=void 0),!t)return Object.create(e||null);if(!e)return t;var r={};for(var s in A(r,e),t){var i=r[s],a=t[s];i&&!Array.isArray(i)&&(i=[i]),r[s]=i?i.concat(a):Array.isArray(a)?a:[a]}return r},Ee.props=Ee.methods=Ee.inject=Ee.computed=function(e,t,n,o){if(!e)return t;var r=Object.create(null);return A(r,e),t&&A(r,t),r},Ee.provide=Pe;var Re=function(e,t){return void 0===t?e:t};function $e(e,t,n){"function"==typeof t&&(t=t.options),function(e,t){var n=e.props;if(n){var o,r,s={};if(Array.isArray(n))for(o=n.length;o--;)"string"==typeof(r=n[o])&&(s[x(r)]={type:null});else if(l(n))for(var i in n)r=n[i],s[x(i)]=l(r)?r:{type:r};e.props=s}}(t),function(e,t){var n=e.inject;if(n){var o=e.inject={};if(Array.isArray(n))for(var r=0;r<n.length;r++)o[n[r]]={from:n[r]};else if(l(n))for(var s in n){var i=n[s];o[s]=l(i)?A({from:s},i):{from:i}}}}(t),function(e){var t=e.directives;if(t)for(var n in t){var o=t[n];"function"==typeof o&&(t[n]={bind:o,update:o})}}(t);var o=t.extends;if(o&&(e=$e(e,o,n)),t.mixins)for(var r=0,s=t.mixins.length;r<s;r++)e=$e(e,t.mixins[r],n);var i,a={};for(i in e)u(i);for(i in t)g(e,i)||u(i);function u(o){var r=Ee[o]||Re;a[o]=r(e[o],t[o],n,o)}return a}function Fe(e,t,n,o){if("string"==typeof n){var r=e[t];if(g(r,n))return r[n];var s=x(n);if(g(r,s))return r[s];var i=k(s);return g(r,i)?r[i]:r[n]||r[s]||r[i]}}function Le(e,t,n,o){var r=t[e],s=!g(n,e),i=n[e],a=Ve(Boolean,r.type);if(a>-1)if(s&&!g(r,"default"))i=!1;else if(""===i||i===O(e)){var u=Ve(String,r.type);(u<0||a<u)&&(i=!0)}if(void 0===i){i=function(e,t,n){if(!g(t,"default"))return;var o=t.default;0;if(e&&e.$options.propsData&&void 0===e.$options.propsData[n]&&void 0!==e._props[n])return e._props[n];return"function"==typeof o&&"Function"!==ze(t.type)?o.call(e):o}(o,r,e);var c=we;xe(!0),Ce(i),xe(c)}return i}function ze(e){var t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:""}function Be(e,t){return ze(e)===ze(t)}function Ve(e,t){if(!Array.isArray(t))return Be(t,e)?0:-1;for(var n=0,o=t.length;n<o;n++)if(Be(t[n],e))return n;return-1}function We(e,t,n){if(t)for(var o=t;o=o.$parent;){var r=o.$options.errorCaptured;if(r)for(var s=0;s<r.length;s++)try{if(!1===r[s].call(o,e,t,n))return}catch(e){Je(e,o,"errorCaptured hook")}}Je(e,t,n)}function Je(e,t,n){if(z.errorHandler)try{return z.errorHandler.call(null,e,t,n)}catch(e){Ue(e,null,"config.errorHandler")}Ue(e,t,n)}function Ue(e,t,n){if(!K&&!H||"undefined"==typeof console)throw e;console.error(e)}var Ke,He,qe=[],Ge=!1;function Xe(){Ge=!1;var e=qe.slice(0);qe.length=0;for(var t=0;t<e.length;t++)e[t]()}var Ye=!1;if(void 0!==n&&se(n))He=function(){n(Xe)};else if("undefined"==typeof MessageChannel||!se(MessageChannel)&&"[object MessageChannelConstructor]"!==MessageChannel.toString())He=function(){setTimeout(Xe,0)};else{var Qe=new MessageChannel,Ze=Qe.port2;Qe.port1.onmessage=Xe,He=function(){Ze.postMessage(1)}}if("undefined"!=typeof Promise&&se(Promise)){var et=Promise.resolve();Ke=function(){et.then(Xe),Z&&setTimeout(E)}}else Ke=He;function tt(e,t){var n;if(qe.push(function(){if(e)try{e.call(t)}catch(e){We(e,t,"nextTick")}else n&&n(t)}),Ge||(Ge=!0,Ye?He():Ke()),!e&&"undefined"!=typeof Promise)return new Promise(function(e){n=e})}var nt=new ie;function ot(e){!function e(t,n){var o,r;var s=Array.isArray(t);if(!s&&!u(t)||Object.isFrozen(t)||t instanceof me)return;if(t.__ob__){var i=t.__ob__.dep.id;if(n.has(i))return;n.add(i)}if(s)for(o=t.length;o--;)e(t[o],n);else for(r=Object.keys(t),o=r.length;o--;)e(t[r[o]],n)}(e,nt),nt.clear()}var rt,st=b(function(e){var t="&"===e.charAt(0),n="~"===(e=t?e.slice(1):e).charAt(0),o="!"===(e=n?e.slice(1):e).charAt(0);return{name:e=o?e.slice(1):e,once:n,capture:o,passive:t}});function it(e){function t(){var e=arguments,n=t.fns;if(!Array.isArray(n))return n.apply(null,arguments);for(var o=n.slice(),r=0;r<o.length;r++)o[r].apply(null,e)}return t.fns=e,t}function at(e,t,n,o,s){var i,a,u,c;for(i in e)a=e[i],u=t[i],c=st(i),r(a)||(r(u)?(r(a.fns)&&(a=e[i]=it(a)),n(c.name,a,c.once,c.capture,c.passive,c.params)):a!==u&&(u.fns=a,e[i]=u));for(i in t)r(e[i])&&o((c=st(i)).name,t[i],c.capture)}function ut(e,t,n){var o;e instanceof me&&(e=e.data.hook||(e.data.hook={}));var a=e[t];function u(){n.apply(this,arguments),y(o.fns,u)}r(a)?o=it([u]):s(a.fns)&&i(a.merged)?(o=a).fns.push(u):o=it([a,u]),o.merged=!0,e[t]=o}function ct(e,t,n,o,r){if(s(t)){if(g(t,n))return e[n]=t[n],r||delete t[n],!0;if(g(t,o))return e[n]=t[o],r||delete t[o],!0}return!1}function lt(e){return a(e)?[je(e)]:Array.isArray(e)?function e(t,n){var o=[];var u,c,l,d;for(u=0;u<t.length;u++)r(c=t[u])||"boolean"==typeof c||(l=o.length-1,d=o[l],Array.isArray(c)?c.length>0&&(dt((c=e(c,(n||"")+"_"+u))[0])&&dt(d)&&(o[l]=je(d.text+c[0].text),c.shift()),o.push.apply(o,c)):a(c)?dt(d)?o[l]=je(d.text+c):""!==c&&o.push(je(c)):dt(c)&&dt(d)?o[l]=je(d.text+c.text):(i(t._isVList)&&s(c.tag)&&r(c.key)&&s(n)&&(c.key="__vlist"+n+"_"+u+"__"),o.push(c)));return o}(e):void 0}function dt(e){return s(e)&&s(e.text)&&function(e){return!1===e}(e.isComment)}function ft(e,t){return(e.__esModule||ae&&"Module"===e[Symbol.toStringTag])&&(e=e.default),u(e)?t.extend(e):e}function pt(e){return e.isComment&&e.asyncFactory}function mt(e){if(Array.isArray(e))for(var t=0;t<e.length;t++){var n=e[t];if(s(n)&&(s(n.componentOptions)||pt(n)))return n}}function ht(e,t,n){n?rt.$once(e,t):rt.$on(e,t)}function vt(e,t){rt.$off(e,t)}function jt(e,t,n){rt=e,at(t,n||{},ht,vt),rt=void 0}function yt(e,t){var n={};if(!e)return n;for(var o=0,r=e.length;o<r;o++){var s=e[o],i=s.data;if(i&&i.attrs&&i.attrs.slot&&delete i.attrs.slot,s.context!==t&&s.fnContext!==t||!i||null==i.slot)(n.default||(n.default=[])).push(s);else{var a=i.slot,u=n[a]||(n[a]=[]);"template"===s.tag?u.push.apply(u,s.children||[]):u.push(s)}}for(var c in n)n[c].every(_t)&&delete n[c];return n}function _t(e){return e.isComment&&!e.asyncFactory||" "===e.text}function gt(e,t){t=t||{};for(var n=0;n<e.length;n++)Array.isArray(e[n])?gt(e[n],t):t[e[n].key]=e[n].fn;return t}var bt=null;function wt(e){for(;e&&(e=e.$parent);)if(e._inactive)return!0;return!1}function xt(e,t){if(t){if(e._directInactive=!1,wt(e))return}else if(e._directInactive)return;if(e._inactive||null===e._inactive){e._inactive=!1;for(var n=0;n<e.$children.length;n++)xt(e.$children[n]);kt(e,"activated")}}function kt(e,t){fe();var n=e.$options[t];if(n)for(var o=0,r=n.length;o<r;o++)try{n[o].call(e)}catch(n){We(n,e,t+" hook")}e._hasHookEvent&&e.$emit("hook:"+t),pe()}var St=[],Ot=[],Ct={},Mt=!1,At=!1,Tt=0;function Et(){var e,t;for(At=!0,St.sort(function(e,t){return e.id-t.id}),Tt=0;Tt<St.length;Tt++)t=(e=St[Tt]).id,Ct[t]=null,e.run();var n=Ot.slice(),o=St.slice();Tt=St.length=Ot.length=0,Ct={},Mt=At=!1,function(e){for(var t=0;t<e.length;t++)e[t]._inactive=!0,xt(e[t],!0)}(n),function(e){var t=e.length;for(;t--;){var n=e[t],o=n.vm;o._watcher===n&&o._isMounted&&kt(o,"updated")}}(o),re&&z.devtools&&re.emit("flush")}var Nt=0,Pt=function(e,t,n,o,r){this.vm=e,r&&(e._watcher=this),e._watchers.push(this),o?(this.deep=!!o.deep,this.user=!!o.user,this.lazy=!!o.lazy,this.sync=!!o.sync):this.deep=this.user=this.lazy=this.sync=!1,this.cb=n,this.id=++Nt,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new ie,this.newDepIds=new ie,this.expression="","function"==typeof t?this.getter=t:(this.getter=function(e){if(!W.test(e)){var t=e.split(".");return function(e){for(var n=0;n<t.length;n++){if(!e)return;e=e[t[n]]}return e}}}(t),this.getter||(this.getter=function(){})),this.value=this.lazy?void 0:this.get()};Pt.prototype.get=function(){var e;fe(this);var t=this.vm;try{e=this.getter.call(t,t)}catch(e){if(!this.user)throw e;We(e,t,'getter for watcher "'+this.expression+'"')}finally{this.deep&&ot(e),pe(),this.cleanupDeps()}return e},Pt.prototype.addDep=function(e){var t=e.id;this.newDepIds.has(t)||(this.newDepIds.add(t),this.newDeps.push(e),this.depIds.has(t)||e.addSub(this))},Pt.prototype.cleanupDeps=function(){for(var e=this.deps.length;e--;){var t=this.deps[e];this.newDepIds.has(t.id)||t.removeSub(this)}var n=this.depIds;this.depIds=this.newDepIds,this.newDepIds=n,this.newDepIds.clear(),n=this.deps,this.deps=this.newDeps,this.newDeps=n,this.newDeps.length=0},Pt.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():function(e){var t=e.id;if(null==Ct[t]){if(Ct[t]=!0,At){for(var n=St.length-1;n>Tt&&St[n].id>e.id;)n--;St.splice(n+1,0,e)}else St.push(e);Mt||(Mt=!0,tt(Et))}}(this)},Pt.prototype.run=function(){if(this.active){var e=this.get();if(e!==this.value||u(e)||this.deep){var t=this.value;if(this.value=e,this.user)try{this.cb.call(this.vm,e,t)}catch(e){We(e,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,e,t)}}},Pt.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},Pt.prototype.depend=function(){for(var e=this.deps.length;e--;)this.deps[e].depend()},Pt.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||y(this.vm._watchers,this);for(var e=this.deps.length;e--;)this.deps[e].removeSub(this);this.active=!1}};var It={enumerable:!0,configurable:!0,get:E,set:E};function Dt(e,t,n){It.get=function(){return this[t][n]},It.set=function(e){this[t][n]=e},Object.defineProperty(e,n,It)}function Rt(e){e._watchers=[];var t=e.$options;t.props&&function(e,t){var n=e.$options.propsData||{},o=e._props={},r=e.$options._propKeys=[];e.$parent&&xe(!1);var s=function(s){r.push(s);var i=Le(s,t,n,e);Me(o,s,i),s in e||Dt(e,"_props",s)};for(var i in t)s(i);xe(!0)}(e,t.props),t.methods&&function(e,t){e.$options.props;for(var n in t)e[n]=null==t[n]?E:C(t[n],e)}(e,t.methods),t.data?function(e){var t=e.$options.data;l(t=e._data="function"==typeof t?function(e,t){fe();try{return e.call(t,t)}catch(e){return We(e,t,"data()"),{}}finally{pe()}}(t,e):t||{})||(t={});var n=Object.keys(t),o=e.$options.props,r=(e.$options.methods,n.length);for(;r--;){var s=n[r];0,o&&g(o,s)||B(s)||Dt(e,"_data",s)}Ce(t,!0)}(e):Ce(e._data={},!0),t.computed&&function(e,t){var n=e._computedWatchers=Object.create(null),o=oe();for(var r in t){var s=t[r],i="function"==typeof s?s:s.get;0,o||(n[r]=new Pt(e,i||E,E,$t)),r in e||Ft(e,r,s)}}(e,t.computed),t.watch&&t.watch!==ee&&function(e,t){for(var n in t){var o=t[n];if(Array.isArray(o))for(var r=0;r<o.length;r++)zt(e,n,o[r]);else zt(e,n,o)}}(e,t.watch)}var $t={lazy:!0};function Ft(e,t,n){var o=!oe();"function"==typeof n?(It.get=o?Lt(t):n,It.set=E):(It.get=n.get?o&&!1!==n.cache?Lt(t):n.get:E,It.set=n.set?n.set:E),Object.defineProperty(e,t,It)}function Lt(e){return function(){var t=this._computedWatchers&&this._computedWatchers[e];if(t)return t.dirty&&t.evaluate(),le.target&&t.depend(),t.value}}function zt(e,t,n,o){return l(n)&&(o=n,n=n.handler),"string"==typeof n&&(n=e[n]),e.$watch(t,n,o)}function Bt(e,t){if(e){for(var n=Object.create(null),o=ae?Reflect.ownKeys(e).filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}):Object.keys(e),r=0;r<o.length;r++){for(var s=o[r],i=e[s].from,a=t;a;){if(a._provided&&g(a._provided,i)){n[s]=a._provided[i];break}a=a.$parent}if(!a)if("default"in e[s]){var u=e[s].default;n[s]="function"==typeof u?u.call(t):u}else 0}return n}}function Vt(e,t){var n,o,r,i,a;if(Array.isArray(e)||"string"==typeof e)for(n=new Array(e.length),o=0,r=e.length;o<r;o++)n[o]=t(e[o],o);else if("number"==typeof e)for(n=new Array(e),o=0;o<e;o++)n[o]=t(o+1,o);else if(u(e))for(i=Object.keys(e),n=new Array(i.length),o=0,r=i.length;o<r;o++)a=i[o],n[o]=t(e[a],a,o);return s(n)&&(n._isVList=!0),n}function Wt(e,t,n,o){var r,s=this.$scopedSlots[e];if(s)n=n||{},o&&(n=A(A({},o),n)),r=s(n)||t;else{var i=this.$slots[e];i&&(i._rendered=!0),r=i||t}var a=n&&n.slot;return a?this.$createElement("template",{slot:a},r):r}function Jt(e){return Fe(this.$options,"filters",e)||P}function Ut(e,t){return Array.isArray(e)?-1===e.indexOf(t):e!==t}function Kt(e,t,n,o,r){var s=z.keyCodes[t]||n;return r&&o&&!z.keyCodes[t]?Ut(r,o):s?Ut(s,e):o?O(o)!==t:void 0}function Ht(e,t,n,o,r){if(n)if(u(n)){var s;Array.isArray(n)&&(n=T(n));var i=function(i){if("class"===i||"style"===i||j(i))s=e;else{var a=e.attrs&&e.attrs.type;s=o||z.mustUseProp(t,a,i)?e.domProps||(e.domProps={}):e.attrs||(e.attrs={})}i in s||(s[i]=n[i],r&&((e.on||(e.on={}))["update:"+i]=function(e){n[i]=e}))};for(var a in n)i(a)}else;return e}function qt(e,t){var n=this._staticTrees||(this._staticTrees=[]),o=n[e];return o&&!t?o:(Xt(o=n[e]=this.$options.staticRenderFns[e].call(this._renderProxy,null,this),"__static__"+e,!1),o)}function Gt(e,t,n){return Xt(e,"__once__"+t+(n?"_"+n:""),!0),e}function Xt(e,t,n){if(Array.isArray(e))for(var o=0;o<e.length;o++)e[o]&&"string"!=typeof e[o]&&Yt(e[o],t+"_"+o,n);else Yt(e,t,n)}function Yt(e,t,n){e.isStatic=!0,e.key=t,e.isOnce=n}function Qt(e,t){if(t)if(l(t)){var n=e.on=e.on?A({},e.on):{};for(var o in t){var r=n[o],s=t[o];n[o]=r?[].concat(r,s):s}}else;return e}function Zt(e){e._o=Gt,e._n=m,e._s=p,e._l=Vt,e._t=Wt,e._q=I,e._i=D,e._m=qt,e._f=Jt,e._k=Kt,e._b=Ht,e._v=je,e._e=ve,e._u=gt,e._g=Qt}function en(e,t,n,r,s){var a,u=s.options;g(r,"_uid")?(a=Object.create(r))._original=r:(a=r,r=r._original);var c=i(u._compiled),l=!c;this.data=e,this.props=t,this.children=n,this.parent=r,this.listeners=e.on||o,this.injections=Bt(u.inject,r),this.slots=function(){return yt(n,r)},c&&(this.$options=u,this.$slots=this.slots(),this.$scopedSlots=e.scopedSlots||o),u._scopeId?this._c=function(e,t,n,o){var s=cn(a,e,t,n,o,l);return s&&!Array.isArray(s)&&(s.fnScopeId=u._scopeId,s.fnContext=r),s}:this._c=function(e,t,n,o){return cn(a,e,t,n,o,l)}}function tn(e,t,n,o){var r=ye(e);return r.fnContext=n,r.fnOptions=o,t.slot&&((r.data||(r.data={})).slot=t.slot),r}function nn(e,t){for(var n in t)e[x(n)]=t[n]}Zt(en.prototype);var on={init:function(e,t,n,o){if(e.componentInstance&&!e.componentInstance._isDestroyed&&e.data.keepAlive){var r=e;on.prepatch(r,r)}else{(e.componentInstance=function(e,t,n,o){var r={_isComponent:!0,parent:t,_parentVnode:e,_parentElm:n||null,_refElm:o||null},i=e.data.inlineTemplate;s(i)&&(r.render=i.render,r.staticRenderFns=i.staticRenderFns);return new e.componentOptions.Ctor(r)}(e,bt,n,o)).$mount(t?e.elm:void 0,t)}},prepatch:function(e,t){var n=t.componentOptions;!function(e,t,n,r,s){var i=!!(s||e.$options._renderChildren||r.data.scopedSlots||e.$scopedSlots!==o);if(e.$options._parentVnode=r,e.$vnode=r,e._vnode&&(e._vnode.parent=r),e.$options._renderChildren=s,e.$attrs=r.data.attrs||o,e.$listeners=n||o,t&&e.$options.props){xe(!1);for(var a=e._props,u=e.$options._propKeys||[],c=0;c<u.length;c++){var l=u[c],d=e.$options.props;a[l]=Le(l,d,t,e)}xe(!0),e.$options.propsData=t}n=n||o;var f=e.$options._parentListeners;e.$options._parentListeners=n,jt(e,n,f),i&&(e.$slots=yt(s,r.context),e.$forceUpdate())}(t.componentInstance=e.componentInstance,n.propsData,n.listeners,t,n.children)},insert:function(e){var t=e.context,n=e.componentInstance;n._isMounted||(n._isMounted=!0,kt(n,"mounted")),e.data.keepAlive&&(t._isMounted?function(e){e._inactive=!1,Ot.push(e)}(n):xt(n,!0))},destroy:function(e){var t=e.componentInstance;t._isDestroyed||(e.data.keepAlive?function e(t,n){if(!(n&&(t._directInactive=!0,wt(t))||t._inactive)){t._inactive=!0;for(var o=0;o<t.$children.length;o++)e(t.$children[o]);kt(t,"deactivated")}}(t,!0):t.$destroy())}},rn=Object.keys(on);function sn(e,t,n,a,c){if(!r(e)){var l=n.$options._base;if(u(e)&&(e=l.extend(e)),"function"==typeof e){var d;if(r(e.cid)&&void 0===(e=function(e,t,n){if(i(e.error)&&s(e.errorComp))return e.errorComp;if(s(e.resolved))return e.resolved;if(i(e.loading)&&s(e.loadingComp))return e.loadingComp;if(!s(e.contexts)){var o=e.contexts=[n],a=!0,c=function(){for(var e=0,t=o.length;e<t;e++)o[e].$forceUpdate()},l=R(function(n){e.resolved=ft(n,t),a||c()}),d=R(function(t){s(e.errorComp)&&(e.error=!0,c())}),f=e(l,d);return u(f)&&("function"==typeof f.then?r(e.resolved)&&f.then(l,d):s(f.component)&&"function"==typeof f.component.then&&(f.component.then(l,d),s(f.error)&&(e.errorComp=ft(f.error,t)),s(f.loading)&&(e.loadingComp=ft(f.loading,t),0===f.delay?e.loading=!0:setTimeout(function(){r(e.resolved)&&r(e.error)&&(e.loading=!0,c())},f.delay||200)),s(f.timeout)&&setTimeout(function(){r(e.resolved)&&d(null)},f.timeout))),a=!1,e.loading?e.loadingComp:e.resolved}e.contexts.push(n)}(d=e,l,n)))return function(e,t,n,o,r){var s=ve();return s.asyncFactory=e,s.asyncMeta={data:t,context:n,children:o,tag:r},s}(d,t,n,a,c);t=t||{},dn(e),s(t.model)&&function(e,t){var n=e.model&&e.model.prop||"value",o=e.model&&e.model.event||"input";(t.props||(t.props={}))[n]=t.model.value;var r=t.on||(t.on={});s(r[o])?r[o]=[t.model.callback].concat(r[o]):r[o]=t.model.callback}(e.options,t);var f=function(e,t,n){var o=t.options.props;if(!r(o)){var i={},a=e.attrs,u=e.props;if(s(a)||s(u))for(var c in o){var l=O(c);ct(i,u,c,l,!0)||ct(i,a,c,l,!1)}return i}}(t,e);if(i(e.options.functional))return function(e,t,n,r,i){var a=e.options,u={},c=a.props;if(s(c))for(var l in c)u[l]=Le(l,c,t||o);else s(n.attrs)&&nn(u,n.attrs),s(n.props)&&nn(u,n.props);var d=new en(n,u,i,r,e),f=a.render.call(null,d._c,d);if(f instanceof me)return tn(f,n,d.parent,a);if(Array.isArray(f)){for(var p=lt(f)||[],m=new Array(p.length),h=0;h<p.length;h++)m[h]=tn(p[h],n,d.parent,a);return m}}(e,f,t,n,a);var p=t.on;if(t.on=t.nativeOn,i(e.options.abstract)){var m=t.slot;t={},m&&(t.slot=m)}!function(e){for(var t=e.hook||(e.hook={}),n=0;n<rn.length;n++){var o=rn[n];t[o]=on[o]}}(t);var h=e.options.name||c;return new me("vue-component-"+e.cid+(h?"-"+h:""),t,void 0,void 0,void 0,n,{Ctor:e,propsData:f,listeners:p,tag:c,children:a},d)}}}var an=1,un=2;function cn(e,t,n,o,c,l){return(Array.isArray(n)||a(n))&&(c=o,o=n,n=void 0),i(l)&&(c=un),function(e,t,n,o,a){if(s(n)&&s(n.__ob__))return ve();s(n)&&s(n.is)&&(t=n.is);if(!t)return ve();0;Array.isArray(o)&&"function"==typeof o[0]&&((n=n||{}).scopedSlots={default:o[0]},o.length=0);a===un?o=lt(o):a===an&&(o=function(e){for(var t=0;t<e.length;t++)if(Array.isArray(e[t]))return Array.prototype.concat.apply([],e);return e}(o));var c,l;if("string"==typeof t){var d;l=e.$vnode&&e.$vnode.ns||z.getTagNamespace(t),c=z.isReservedTag(t)?new me(z.parsePlatformTagName(t),n,o,void 0,void 0,e):s(d=Fe(e.$options,"components",t))?sn(d,n,e,o,t):new me(t,n,o,void 0,void 0,e)}else c=sn(t,n,e,o);return Array.isArray(c)?c:s(c)?(s(l)&&function e(t,n,o){t.ns=n;"foreignObject"===t.tag&&(n=void 0,o=!0);if(s(t.children))for(var a=0,u=t.children.length;a<u;a++){var c=t.children[a];s(c.tag)&&(r(c.ns)||i(o)&&"svg"!==c.tag)&&e(c,n,o)}}(c,l),s(n)&&function(e){u(e.style)&&ot(e.style);u(e.class)&&ot(e.class)}(n),c):ve()}(e,t,n,o,c)}var ln=0;function dn(e){var t=e.options;if(e.super){var n=dn(e.super);if(n!==e.superOptions){e.superOptions=n;var o=function(e){var t,n=e.options,o=e.extendOptions,r=e.sealedOptions;for(var s in n)n[s]!==r[s]&&(t||(t={}),t[s]=fn(n[s],o[s],r[s]));return t}(e);o&&A(e.extendOptions,o),(t=e.options=$e(n,e.extendOptions)).name&&(t.components[t.name]=e)}}return t}function fn(e,t,n){if(Array.isArray(e)){var o=[];n=Array.isArray(n)?n:[n],t=Array.isArray(t)?t:[t];for(var r=0;r<e.length;r++)(t.indexOf(e[r])>=0||n.indexOf(e[r])<0)&&o.push(e[r]);return o}return e}function pn(e){this._init(e)}function mn(e){e.cid=0;var t=1;e.extend=function(e){e=e||{};var n=this,o=n.cid,r=e._Ctor||(e._Ctor={});if(r[o])return r[o];var s=e.name||n.options.name;var i=function(e){this._init(e)};return(i.prototype=Object.create(n.prototype)).constructor=i,i.cid=t++,i.options=$e(n.options,e),i.super=n,i.options.props&&function(e){var t=e.options.props;for(var n in t)Dt(e.prototype,"_props",n)}(i),i.options.computed&&function(e){var t=e.options.computed;for(var n in t)Ft(e.prototype,n,t[n])}(i),i.extend=n.extend,i.mixin=n.mixin,i.use=n.use,F.forEach(function(e){i[e]=n[e]}),s&&(i.options.components[s]=i),i.superOptions=n.options,i.extendOptions=e,i.sealedOptions=A({},i.options),r[o]=i,i}}function hn(e){return e&&(e.Ctor.options.name||e.tag)}function vn(e,t){return Array.isArray(e)?e.indexOf(t)>-1:"string"==typeof e?e.split(",").indexOf(t)>-1:!!d(e)&&e.test(t)}function jn(e,t){var n=e.cache,o=e.keys,r=e._vnode;for(var s in n){var i=n[s];if(i){var a=hn(i.componentOptions);a&&!t(a)&&yn(n,s,o,r)}}}function yn(e,t,n,o){var r=e[t];!r||o&&r.tag===o.tag||r.componentInstance.$destroy(),e[t]=null,y(n,t)}!function(e){e.prototype._init=function(e){var t=this;t._uid=ln++,t._isVue=!0,e&&e._isComponent?function(e,t){var n=e.$options=Object.create(e.constructor.options),o=t._parentVnode;n.parent=t.parent,n._parentVnode=o,n._parentElm=t._parentElm,n._refElm=t._refElm;var r=o.componentOptions;n.propsData=r.propsData,n._parentListeners=r.listeners,n._renderChildren=r.children,n._componentTag=r.tag,t.render&&(n.render=t.render,n.staticRenderFns=t.staticRenderFns)}(t,e):t.$options=$e(dn(t.constructor),e||{},t),t._renderProxy=t,t._self=t,function(e){var t=e.$options,n=t.parent;if(n&&!t.abstract){for(;n.$options.abstract&&n.$parent;)n=n.$parent;n.$children.push(e)}e.$parent=n,e.$root=n?n.$root:e,e.$children=[],e.$refs={},e._watcher=null,e._inactive=null,e._directInactive=!1,e._isMounted=!1,e._isDestroyed=!1,e._isBeingDestroyed=!1}(t),function(e){e._events=Object.create(null),e._hasHookEvent=!1;var t=e.$options._parentListeners;t&&jt(e,t)}(t),function(e){e._vnode=null,e._staticTrees=null;var t=e.$options,n=e.$vnode=t._parentVnode,r=n&&n.context;e.$slots=yt(t._renderChildren,r),e.$scopedSlots=o,e._c=function(t,n,o,r){return cn(e,t,n,o,r,!1)},e.$createElement=function(t,n,o,r){return cn(e,t,n,o,r,!0)};var s=n&&n.data;Me(e,"$attrs",s&&s.attrs||o,null,!0),Me(e,"$listeners",t._parentListeners||o,null,!0)}(t),kt(t,"beforeCreate"),function(e){var t=Bt(e.$options.inject,e);t&&(xe(!1),Object.keys(t).forEach(function(n){Me(e,n,t[n])}),xe(!0))}(t),Rt(t),function(e){var t=e.$options.provide;t&&(e._provided="function"==typeof t?t.call(e):t)}(t),kt(t,"created"),t.$options.el&&t.$mount(t.$options.el)}}(pn),function(e){var t={get:function(){return this._data}},n={get:function(){return this._props}};Object.defineProperty(e.prototype,"$data",t),Object.defineProperty(e.prototype,"$props",n),e.prototype.$set=Ae,e.prototype.$delete=Te,e.prototype.$watch=function(e,t,n){if(l(t))return zt(this,e,t,n);(n=n||{}).user=!0;var o=new Pt(this,e,t,n);return n.immediate&&t.call(this,o.value),function(){o.teardown()}}}(pn),function(e){var t=/^hook:/;e.prototype.$on=function(e,n){if(Array.isArray(e))for(var o=0,r=e.length;o<r;o++)this.$on(e[o],n);else(this._events[e]||(this._events[e]=[])).push(n),t.test(e)&&(this._hasHookEvent=!0);return this},e.prototype.$once=function(e,t){var n=this;function o(){n.$off(e,o),t.apply(n,arguments)}return o.fn=t,n.$on(e,o),n},e.prototype.$off=function(e,t){var n=this;if(!arguments.length)return n._events=Object.create(null),n;if(Array.isArray(e)){for(var o=0,r=e.length;o<r;o++)this.$off(e[o],t);return n}var s=n._events[e];if(!s)return n;if(!t)return n._events[e]=null,n;if(t)for(var i,a=s.length;a--;)if((i=s[a])===t||i.fn===t){s.splice(a,1);break}return n},e.prototype.$emit=function(e){var t=this._events[e];if(t){t=t.length>1?M(t):t;for(var n=M(arguments,1),o=0,r=t.length;o<r;o++)try{t[o].apply(this,n)}catch(t){We(t,this,'event handler for "'+e+'"')}}return this}}(pn),function(e){e.prototype._update=function(e,t){var n=this;n._isMounted&&kt(n,"beforeUpdate");var o=n.$el,r=n._vnode,s=bt;bt=n,n._vnode=e,r?n.$el=n.__patch__(r,e):(n.$el=n.__patch__(n.$el,e,t,!1,n.$options._parentElm,n.$options._refElm),n.$options._parentElm=n.$options._refElm=null),bt=s,o&&(o.__vue__=null),n.$el&&(n.$el.__vue__=n),n.$vnode&&n.$parent&&n.$vnode===n.$parent._vnode&&(n.$parent.$el=n.$el)},e.prototype.$forceUpdate=function(){this._watcher&&this._watcher.update()},e.prototype.$destroy=function(){var e=this;if(!e._isBeingDestroyed){kt(e,"beforeDestroy"),e._isBeingDestroyed=!0;var t=e.$parent;!t||t._isBeingDestroyed||e.$options.abstract||y(t.$children,e),e._watcher&&e._watcher.teardown();for(var n=e._watchers.length;n--;)e._watchers[n].teardown();e._data.__ob__&&e._data.__ob__.vmCount--,e._isDestroyed=!0,e.__patch__(e._vnode,null),kt(e,"destroyed"),e.$off(),e.$el&&(e.$el.__vue__=null),e.$vnode&&(e.$vnode.parent=null)}}}(pn),function(e){Zt(e.prototype),e.prototype.$nextTick=function(e){return tt(e,this)},e.prototype._render=function(){var e,t=this,n=t.$options,r=n.render,s=n._parentVnode;s&&(t.$scopedSlots=s.data.scopedSlots||o),t.$vnode=s;try{e=r.call(t._renderProxy,t.$createElement)}catch(n){We(n,t,"render"),e=t._vnode}return e instanceof me||(e=ve()),e.parent=s,e}}(pn);var _n=[String,RegExp,Array],gn={KeepAlive:{name:"keep-alive",abstract:!0,props:{include:_n,exclude:_n,max:[String,Number]},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var e in this.cache)yn(this.cache,e,this.keys)},mounted:function(){var e=this;this.$watch("include",function(t){jn(e,function(e){return vn(t,e)})}),this.$watch("exclude",function(t){jn(e,function(e){return!vn(t,e)})})},render:function(){var e=this.$slots.default,t=mt(e),n=t&&t.componentOptions;if(n){var o=hn(n),r=this.include,s=this.exclude;if(r&&(!o||!vn(r,o))||s&&o&&vn(s,o))return t;var i=this.cache,a=this.keys,u=null==t.key?n.Ctor.cid+(n.tag?"::"+n.tag:""):t.key;i[u]?(t.componentInstance=i[u].componentInstance,y(a,u),a.push(u)):(i[u]=t,a.push(u),this.max&&a.length>parseInt(this.max)&&yn(i,a[0],a,this._vnode)),t.data.keepAlive=!0}return t||e&&e[0]}}};!function(e){var t={get:function(){return z}};Object.defineProperty(e,"config",t),e.util={warn:ue,extend:A,mergeOptions:$e,defineReactive:Me},e.set=Ae,e.delete=Te,e.nextTick=tt,e.options=Object.create(null),F.forEach(function(t){e.options[t+"s"]=Object.create(null)}),e.options._base=e,A(e.options.components,gn),function(e){e.use=function(e){var t=this._installedPlugins||(this._installedPlugins=[]);if(t.indexOf(e)>-1)return this;var n=M(arguments,1);return n.unshift(this),"function"==typeof e.install?e.install.apply(e,n):"function"==typeof e&&e.apply(null,n),t.push(e),this}}(e),function(e){e.mixin=function(e){return this.options=$e(this.options,e),this}}(e),mn(e),function(e){F.forEach(function(t){e[t]=function(e,n){return n?("component"===t&&l(n)&&(n.name=n.name||e,n=this.options._base.extend(n)),"directive"===t&&"function"==typeof n&&(n={bind:n,update:n}),this.options[t+"s"][e]=n,n):this.options[t+"s"][e]}})}(e)}(pn),Object.defineProperty(pn.prototype,"$isServer",{get:oe}),Object.defineProperty(pn.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(pn,"FunctionalRenderContext",{value:en}),pn.version="2.5.17";var bn=h("style,class"),wn=h("input,textarea,option,select,progress"),xn=function(e,t,n){return"value"===n&&wn(e)&&"button"!==t||"selected"===n&&"option"===e||"checked"===n&&"input"===e||"muted"===n&&"video"===e},kn=h("contenteditable,draggable,spellcheck"),Sn=h("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,translate,truespeed,typemustmatch,visible"),On="http://www.w3.org/1999/xlink",Cn=function(e){return":"===e.charAt(5)&&"xlink"===e.slice(0,5)},Mn=function(e){return Cn(e)?e.slice(6,e.length):""},An=function(e){return null==e||!1===e};function Tn(e){for(var t=e.data,n=e,o=e;s(o.componentInstance);)(o=o.componentInstance._vnode)&&o.data&&(t=En(o.data,t));for(;s(n=n.parent);)n&&n.data&&(t=En(t,n.data));return function(e,t){if(s(e)||s(t))return Nn(e,Pn(t));return""}(t.staticClass,t.class)}function En(e,t){return{staticClass:Nn(e.staticClass,t.staticClass),class:s(e.class)?[e.class,t.class]:t.class}}function Nn(e,t){return e?t?e+" "+t:e:t||""}function Pn(e){return Array.isArray(e)?function(e){for(var t,n="",o=0,r=e.length;o<r;o++)s(t=Pn(e[o]))&&""!==t&&(n&&(n+=" "),n+=t);return n}(e):u(e)?function(e){var t="";for(var n in e)e[n]&&(t&&(t+=" "),t+=n);return t}(e):"string"==typeof e?e:""}var In={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML"},Dn=h("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,rtc,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,menuitem,summary,content,element,shadow,template,blockquote,iframe,tfoot"),Rn=h("svg,animate,circle,clippath,cursor,defs,desc,ellipse,filter,font-face,foreignObject,g,glyph,image,line,marker,mask,missing-glyph,path,pattern,polygon,polyline,rect,switch,symbol,text,textpath,tspan,use,view",!0),$n=function(e){return Dn(e)||Rn(e)};function Fn(e){return Rn(e)?"svg":"math"===e?"math":void 0}var Ln=Object.create(null);var zn=h("text,number,password,search,email,tel,url");function Bn(e){if("string"==typeof e){var t=document.querySelector(e);return t||document.createElement("div")}return e}var Vn=Object.freeze({createElement:function(e,t){var n=document.createElement(e);return"select"!==e?n:(t.data&&t.data.attrs&&void 0!==t.data.attrs.multiple&&n.setAttribute("multiple","multiple"),n)},createElementNS:function(e,t){return document.createElementNS(In[e],t)},createTextNode:function(e){return document.createTextNode(e)},createComment:function(e){return document.createComment(e)},insertBefore:function(e,t,n){e.insertBefore(t,n)},removeChild:function(e,t){e.removeChild(t)},appendChild:function(e,t){e.appendChild(t)},parentNode:function(e){return e.parentNode},nextSibling:function(e){return e.nextSibling},tagName:function(e){return e.tagName},setTextContent:function(e,t){e.textContent=t},setStyleScope:function(e,t){e.setAttribute(t,"")}}),Wn={create:function(e,t){Jn(t)},update:function(e,t){e.data.ref!==t.data.ref&&(Jn(e,!0),Jn(t))},destroy:function(e){Jn(e,!0)}};function Jn(e,t){var n=e.data.ref;if(s(n)){var o=e.context,r=e.componentInstance||e.elm,i=o.$refs;t?Array.isArray(i[n])?y(i[n],r):i[n]===r&&(i[n]=void 0):e.data.refInFor?Array.isArray(i[n])?i[n].indexOf(r)<0&&i[n].push(r):i[n]=[r]:i[n]=r}}var Un=new me("",{},[]),Kn=["create","activate","update","remove","destroy"];function Hn(e,t){return e.key===t.key&&(e.tag===t.tag&&e.isComment===t.isComment&&s(e.data)===s(t.data)&&function(e,t){if("input"!==e.tag)return!0;var n,o=s(n=e.data)&&s(n=n.attrs)&&n.type,r=s(n=t.data)&&s(n=n.attrs)&&n.type;return o===r||zn(o)&&zn(r)}(e,t)||i(e.isAsyncPlaceholder)&&e.asyncFactory===t.asyncFactory&&r(t.asyncFactory.error))}function qn(e,t,n){var o,r,i={};for(o=t;o<=n;++o)s(r=e[o].key)&&(i[r]=o);return i}var Gn={create:Xn,update:Xn,destroy:function(e){Xn(e,Un)}};function Xn(e,t){(e.data.directives||t.data.directives)&&function(e,t){var n,o,r,s=e===Un,i=t===Un,a=Qn(e.data.directives,e.context),u=Qn(t.data.directives,t.context),c=[],l=[];for(n in u)o=a[n],r=u[n],o?(r.oldValue=o.value,eo(r,"update",t,e),r.def&&r.def.componentUpdated&&l.push(r)):(eo(r,"bind",t,e),r.def&&r.def.inserted&&c.push(r));if(c.length){var d=function(){for(var n=0;n<c.length;n++)eo(c[n],"inserted",t,e)};s?ut(t,"insert",d):d()}l.length&&ut(t,"postpatch",function(){for(var n=0;n<l.length;n++)eo(l[n],"componentUpdated",t,e)});if(!s)for(n in a)u[n]||eo(a[n],"unbind",e,e,i)}(e,t)}var Yn=Object.create(null);function Qn(e,t){var n,o,r=Object.create(null);if(!e)return r;for(n=0;n<e.length;n++)(o=e[n]).modifiers||(o.modifiers=Yn),r[Zn(o)]=o,o.def=Fe(t.$options,"directives",o.name);return r}function Zn(e){return e.rawName||e.name+"."+Object.keys(e.modifiers||{}).join(".")}function eo(e,t,n,o,r){var s=e.def&&e.def[t];if(s)try{s(n.elm,e,n,o,r)}catch(o){We(o,n.context,"directive "+e.name+" "+t+" hook")}}var to=[Wn,Gn];function no(e,t){var n=t.componentOptions;if(!(s(n)&&!1===n.Ctor.options.inheritAttrs||r(e.data.attrs)&&r(t.data.attrs))){var o,i,a=t.elm,u=e.data.attrs||{},c=t.data.attrs||{};for(o in s(c.__ob__)&&(c=t.data.attrs=A({},c)),c)i=c[o],u[o]!==i&&oo(a,o,i);for(o in(X||Q)&&c.value!==u.value&&oo(a,"value",c.value),u)r(c[o])&&(Cn(o)?a.removeAttributeNS(On,Mn(o)):kn(o)||a.removeAttribute(o))}}function oo(e,t,n){e.tagName.indexOf("-")>-1?ro(e,t,n):Sn(t)?An(n)?e.removeAttribute(t):(n="allowfullscreen"===t&&"EMBED"===e.tagName?"true":t,e.setAttribute(t,n)):kn(t)?e.setAttribute(t,An(n)||"false"===n?"false":"true"):Cn(t)?An(n)?e.removeAttributeNS(On,Mn(t)):e.setAttributeNS(On,t,n):ro(e,t,n)}function ro(e,t,n){if(An(n))e.removeAttribute(t);else{if(X&&!Y&&"TEXTAREA"===e.tagName&&"placeholder"===t&&!e.__ieph){var o=function(t){t.stopImmediatePropagation(),e.removeEventListener("input",o)};e.addEventListener("input",o),e.__ieph=!0}e.setAttribute(t,n)}}var so={create:no,update:no};function io(e,t){var n=t.elm,o=t.data,i=e.data;if(!(r(o.staticClass)&&r(o.class)&&(r(i)||r(i.staticClass)&&r(i.class)))){var a=Tn(t),u=n._transitionClasses;s(u)&&(a=Nn(a,Pn(u))),a!==n._prevClass&&(n.setAttribute("class",a),n._prevClass=a)}}var ao,uo,co,lo,fo,po,mo={create:io,update:io},ho=/[\w).+\-_$\]]/;function vo(e){var t,n,o,r,s,i=!1,a=!1,u=!1,c=!1,l=0,d=0,f=0,p=0;for(o=0;o<e.length;o++)if(n=t,t=e.charCodeAt(o),i)39===t&&92!==n&&(i=!1);else if(a)34===t&&92!==n&&(a=!1);else if(u)96===t&&92!==n&&(u=!1);else if(c)47===t&&92!==n&&(c=!1);else if(124!==t||124===e.charCodeAt(o+1)||124===e.charCodeAt(o-1)||l||d||f){switch(t){case 34:a=!0;break;case 39:i=!0;break;case 96:u=!0;break;case 40:f++;break;case 41:f--;break;case 91:d++;break;case 93:d--;break;case 123:l++;break;case 125:l--}if(47===t){for(var m=o-1,h=void 0;m>=0&&" "===(h=e.charAt(m));m--);h&&ho.test(h)||(c=!0)}}else void 0===r?(p=o+1,r=e.slice(0,o).trim()):v();function v(){(s||(s=[])).push(e.slice(p,o).trim()),p=o+1}if(void 0===r?r=e.slice(0,o).trim():0!==p&&v(),s)for(o=0;o<s.length;o++)r=jo(r,s[o]);return r}function jo(e,t){var n=t.indexOf("(");if(n<0)return'_f("'+t+'")('+e+")";var o=t.slice(0,n),r=t.slice(n+1);return'_f("'+o+'")('+e+(")"!==r?","+r:r)}function yo(e){console.error("[Vue compiler]: "+e)}function _o(e,t){return e?e.map(function(e){return e[t]}).filter(function(e){return e}):[]}function go(e,t,n){(e.props||(e.props=[])).push({name:t,value:n}),e.plain=!1}function bo(e,t,n){(e.attrs||(e.attrs=[])).push({name:t,value:n}),e.plain=!1}function wo(e,t,n){e.attrsMap[t]=n,e.attrsList.push({name:t,value:n})}function xo(e,t,n,o,r,s){(e.directives||(e.directives=[])).push({name:t,rawName:n,value:o,arg:r,modifiers:s}),e.plain=!1}function ko(e,t,n,r,s,i){var a;(r=r||o).capture&&(delete r.capture,t="!"+t),r.once&&(delete r.once,t="~"+t),r.passive&&(delete r.passive,t="&"+t),"click"===t&&(r.right?(t="contextmenu",delete r.right):r.middle&&(t="mouseup")),r.native?(delete r.native,a=e.nativeEvents||(e.nativeEvents={})):a=e.events||(e.events={});var u={value:n.trim()};r!==o&&(u.modifiers=r);var c=a[t];Array.isArray(c)?s?c.unshift(u):c.push(u):a[t]=c?s?[u,c]:[c,u]:u,e.plain=!1}function So(e,t,n){var o=Oo(e,":"+t)||Oo(e,"v-bind:"+t);if(null!=o)return vo(o);if(!1!==n){var r=Oo(e,t);if(null!=r)return JSON.stringify(r)}}function Oo(e,t,n){var o;if(null!=(o=e.attrsMap[t]))for(var r=e.attrsList,s=0,i=r.length;s<i;s++)if(r[s].name===t){r.splice(s,1);break}return n&&delete e.attrsMap[t],o}function Co(e,t,n){var o=n||{},r=o.number,s="$$v";o.trim&&(s="(typeof $$v === 'string'? $$v.trim(): $$v)"),r&&(s="_n("+s+")");var i=Mo(t,s);e.model={value:"("+t+")",expression:'"'+t+'"',callback:"function ($$v) {"+i+"}"}}function Mo(e,t){var n=function(e){if(e=e.trim(),ao=e.length,e.indexOf("[")<0||e.lastIndexOf("]")<ao-1)return(lo=e.lastIndexOf("."))>-1?{exp:e.slice(0,lo),key:'"'+e.slice(lo+1)+'"'}:{exp:e,key:null};uo=e,lo=fo=po=0;for(;!To();)Eo(co=Ao())?Po(co):91===co&&No(co);return{exp:e.slice(0,fo),key:e.slice(fo+1,po)}}(e);return null===n.key?e+"="+t:"$set("+n.exp+", "+n.key+", "+t+")"}function Ao(){return uo.charCodeAt(++lo)}function To(){return lo>=ao}function Eo(e){return 34===e||39===e}function No(e){var t=1;for(fo=lo;!To();)if(Eo(e=Ao()))Po(e);else if(91===e&&t++,93===e&&t--,0===t){po=lo;break}}function Po(e){for(var t=e;!To()&&(e=Ao())!==t;);}var Io,Do="__r",Ro="__c";function $o(e,t,n,o,r){t=function(e){return e._withTask||(e._withTask=function(){Ye=!0;var t=e.apply(null,arguments);return Ye=!1,t})}(t),n&&(t=function(e,t,n){var o=Io;return function r(){null!==e.apply(null,arguments)&&Fo(t,r,n,o)}}(t,e,o)),Io.addEventListener(e,t,te?{capture:o,passive:r}:o)}function Fo(e,t,n,o){(o||Io).removeEventListener(e,t._withTask||t,n)}function Lo(e,t){if(!r(e.data.on)||!r(t.data.on)){var n=t.data.on||{},o=e.data.on||{};Io=t.elm,function(e){if(s(e[Do])){var t=X?"change":"input";e[t]=[].concat(e[Do],e[t]||[]),delete e[Do]}s(e[Ro])&&(e.change=[].concat(e[Ro],e.change||[]),delete e[Ro])}(n),at(n,o,$o,Fo,t.context),Io=void 0}}var zo={create:Lo,update:Lo};function Bo(e,t){if(!r(e.data.domProps)||!r(t.data.domProps)){var n,o,i=t.elm,a=e.data.domProps||{},u=t.data.domProps||{};for(n in s(u.__ob__)&&(u=t.data.domProps=A({},u)),a)r(u[n])&&(i[n]="");for(n in u){if(o=u[n],"textContent"===n||"innerHTML"===n){if(t.children&&(t.children.length=0),o===a[n])continue;1===i.childNodes.length&&i.removeChild(i.childNodes[0])}if("value"===n){i._value=o;var c=r(o)?"":String(o);Vo(i,c)&&(i.value=c)}else i[n]=o}}}function Vo(e,t){return!e.composing&&("OPTION"===e.tagName||function(e,t){var n=!0;try{n=document.activeElement!==e}catch(e){}return n&&e.value!==t}(e,t)||function(e,t){var n=e.value,o=e._vModifiers;if(s(o)){if(o.lazy)return!1;if(o.number)return m(n)!==m(t);if(o.trim)return n.trim()!==t.trim()}return n!==t}(e,t))}var Wo={create:Bo,update:Bo},Jo=b(function(e){var t={},n=/:(.+)/;return e.split(/;(?![^(]*\))/g).forEach(function(e){if(e){var o=e.split(n);o.length>1&&(t[o[0].trim()]=o[1].trim())}}),t});function Uo(e){var t=Ko(e.style);return e.staticStyle?A(e.staticStyle,t):t}function Ko(e){return Array.isArray(e)?T(e):"string"==typeof e?Jo(e):e}var Ho,qo=/^--/,Go=/\s*!important$/,Xo=function(e,t,n){if(qo.test(t))e.style.setProperty(t,n);else if(Go.test(n))e.style.setProperty(t,n.replace(Go,""),"important");else{var o=Qo(t);if(Array.isArray(n))for(var r=0,s=n.length;r<s;r++)e.style[o]=n[r];else e.style[o]=n}},Yo=["Webkit","Moz","ms"],Qo=b(function(e){if(Ho=Ho||document.createElement("div").style,"filter"!==(e=x(e))&&e in Ho)return e;for(var t=e.charAt(0).toUpperCase()+e.slice(1),n=0;n<Yo.length;n++){var o=Yo[n]+t;if(o in Ho)return o}});function Zo(e,t){var n=t.data,o=e.data;if(!(r(n.staticStyle)&&r(n.style)&&r(o.staticStyle)&&r(o.style))){var i,a,u=t.elm,c=o.staticStyle,l=o.normalizedStyle||o.style||{},d=c||l,f=Ko(t.data.style)||{};t.data.normalizedStyle=s(f.__ob__)?A({},f):f;var p=function(e,t){var n,o={};if(t)for(var r=e;r.componentInstance;)(r=r.componentInstance._vnode)&&r.data&&(n=Uo(r.data))&&A(o,n);(n=Uo(e.data))&&A(o,n);for(var s=e;s=s.parent;)s.data&&(n=Uo(s.data))&&A(o,n);return o}(t,!0);for(a in d)r(p[a])&&Xo(u,a,"");for(a in p)(i=p[a])!==d[a]&&Xo(u,a,null==i?"":i)}}var er={create:Zo,update:Zo};function tr(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(/\s+/).forEach(function(t){return e.classList.add(t)}):e.classList.add(t);else{var n=" "+(e.getAttribute("class")||"")+" ";n.indexOf(" "+t+" ")<0&&e.setAttribute("class",(n+t).trim())}}function nr(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(/\s+/).forEach(function(t){return e.classList.remove(t)}):e.classList.remove(t),e.classList.length||e.removeAttribute("class");else{for(var n=" "+(e.getAttribute("class")||"")+" ",o=" "+t+" ";n.indexOf(o)>=0;)n=n.replace(o," ");(n=n.trim())?e.setAttribute("class",n):e.removeAttribute("class")}}function or(e){if(e){if("object"==typeof e){var t={};return!1!==e.css&&A(t,rr(e.name||"v")),A(t,e),t}return"string"==typeof e?rr(e):void 0}}var rr=b(function(e){return{enterClass:e+"-enter",enterToClass:e+"-enter-to",enterActiveClass:e+"-enter-active",leaveClass:e+"-leave",leaveToClass:e+"-leave-to",leaveActiveClass:e+"-leave-active"}}),sr=K&&!Y,ir="transition",ar="animation",ur="transition",cr="transitionend",lr="animation",dr="animationend";sr&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(ur="WebkitTransition",cr="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(lr="WebkitAnimation",dr="webkitAnimationEnd"));var fr=K?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(e){return e()};function pr(e){fr(function(){fr(e)})}function mr(e,t){var n=e._transitionClasses||(e._transitionClasses=[]);n.indexOf(t)<0&&(n.push(t),tr(e,t))}function hr(e,t){e._transitionClasses&&y(e._transitionClasses,t),nr(e,t)}function vr(e,t,n){var o=yr(e,t),r=o.type,s=o.timeout,i=o.propCount;if(!r)return n();var a=r===ir?cr:dr,u=0,c=function(){e.removeEventListener(a,l),n()},l=function(t){t.target===e&&++u>=i&&c()};setTimeout(function(){u<i&&c()},s+1),e.addEventListener(a,l)}var jr=/\b(transform|all)(,|$)/;function yr(e,t){var n,o=window.getComputedStyle(e),r=o[ur+"Delay"].split(", "),s=o[ur+"Duration"].split(", "),i=_r(r,s),a=o[lr+"Delay"].split(", "),u=o[lr+"Duration"].split(", "),c=_r(a,u),l=0,d=0;return t===ir?i>0&&(n=ir,l=i,d=s.length):t===ar?c>0&&(n=ar,l=c,d=u.length):d=(n=(l=Math.max(i,c))>0?i>c?ir:ar:null)?n===ir?s.length:u.length:0,{type:n,timeout:l,propCount:d,hasTransform:n===ir&&jr.test(o[ur+"Property"])}}function _r(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max.apply(null,t.map(function(t,n){return gr(t)+gr(e[n])}))}function gr(e){return 1e3*Number(e.slice(0,-1))}function br(e,t){var n=e.elm;s(n._leaveCb)&&(n._leaveCb.cancelled=!0,n._leaveCb());var o=or(e.data.transition);if(!r(o)&&!s(n._enterCb)&&1===n.nodeType){for(var i=o.css,a=o.type,c=o.enterClass,l=o.enterToClass,d=o.enterActiveClass,f=o.appearClass,p=o.appearToClass,h=o.appearActiveClass,v=o.beforeEnter,j=o.enter,y=o.afterEnter,_=o.enterCancelled,g=o.beforeAppear,b=o.appear,w=o.afterAppear,x=o.appearCancelled,k=o.duration,S=bt,O=bt.$vnode;O&&O.parent;)S=(O=O.parent).context;var C=!S._isMounted||!e.isRootInsert;if(!C||b||""===b){var M=C&&f?f:c,A=C&&h?h:d,T=C&&p?p:l,E=C&&g||v,N=C&&"function"==typeof b?b:j,P=C&&w||y,I=C&&x||_,D=m(u(k)?k.enter:k);0;var $=!1!==i&&!Y,F=kr(N),L=n._enterCb=R(function(){$&&(hr(n,T),hr(n,A)),L.cancelled?($&&hr(n,M),I&&I(n)):P&&P(n),n._enterCb=null});e.data.show||ut(e,"insert",function(){var t=n.parentNode,o=t&&t._pending&&t._pending[e.key];o&&o.tag===e.tag&&o.elm._leaveCb&&o.elm._leaveCb(),N&&N(n,L)}),E&&E(n),$&&(mr(n,M),mr(n,A),pr(function(){hr(n,M),L.cancelled||(mr(n,T),F||(xr(D)?setTimeout(L,D):vr(n,a,L)))})),e.data.show&&(t&&t(),N&&N(n,L)),$||F||L()}}}function wr(e,t){var n=e.elm;s(n._enterCb)&&(n._enterCb.cancelled=!0,n._enterCb());var o=or(e.data.transition);if(r(o)||1!==n.nodeType)return t();if(!s(n._leaveCb)){var i=o.css,a=o.type,c=o.leaveClass,l=o.leaveToClass,d=o.leaveActiveClass,f=o.beforeLeave,p=o.leave,h=o.afterLeave,v=o.leaveCancelled,j=o.delayLeave,y=o.duration,_=!1!==i&&!Y,g=kr(p),b=m(u(y)?y.leave:y);0;var w=n._leaveCb=R(function(){n.parentNode&&n.parentNode._pending&&(n.parentNode._pending[e.key]=null),_&&(hr(n,l),hr(n,d)),w.cancelled?(_&&hr(n,c),v&&v(n)):(t(),h&&h(n)),n._leaveCb=null});j?j(x):x()}function x(){w.cancelled||(e.data.show||((n.parentNode._pending||(n.parentNode._pending={}))[e.key]=e),f&&f(n),_&&(mr(n,c),mr(n,d),pr(function(){hr(n,c),w.cancelled||(mr(n,l),g||(xr(b)?setTimeout(w,b):vr(n,a,w)))})),p&&p(n,w),_||g||w())}}function xr(e){return"number"==typeof e&&!isNaN(e)}function kr(e){if(r(e))return!1;var t=e.fns;return s(t)?kr(Array.isArray(t)?t[0]:t):(e._length||e.length)>1}function Sr(e,t){!0!==t.data.show&&br(t)}var Or=function(e){var t,n,o={},u=e.modules,c=e.nodeOps;for(t=0;t<Kn.length;++t)for(o[Kn[t]]=[],n=0;n<u.length;++n)s(u[n][Kn[t]])&&o[Kn[t]].push(u[n][Kn[t]]);function l(e){var t=c.parentNode(e);s(t)&&c.removeChild(t,e)}function d(e,t,n,r,a,u,l){if(s(e.elm)&&s(u)&&(e=u[l]=ye(e)),e.isRootInsert=!a,!function(e,t,n,r){var a=e.data;if(s(a)){var u=s(e.componentInstance)&&a.keepAlive;if(s(a=a.hook)&&s(a=a.init)&&a(e,!1,n,r),s(e.componentInstance))return f(e,t),i(u)&&function(e,t,n,r){for(var i,a=e;a.componentInstance;)if(a=a.componentInstance._vnode,s(i=a.data)&&s(i=i.transition)){for(i=0;i<o.activate.length;++i)o.activate[i](Un,a);t.push(a);break}p(n,e.elm,r)}(e,t,n,r),!0}}(e,t,n,r)){var d=e.data,h=e.children,v=e.tag;s(v)?(e.elm=e.ns?c.createElementNS(e.ns,v):c.createElement(v,e),y(e),m(e,h,t),s(d)&&j(e,t),p(n,e.elm,r)):i(e.isComment)?(e.elm=c.createComment(e.text),p(n,e.elm,r)):(e.elm=c.createTextNode(e.text),p(n,e.elm,r))}}function f(e,t){s(e.data.pendingInsert)&&(t.push.apply(t,e.data.pendingInsert),e.data.pendingInsert=null),e.elm=e.componentInstance.$el,v(e)?(j(e,t),y(e)):(Jn(e),t.push(e))}function p(e,t,n){s(e)&&(s(n)?n.parentNode===e&&c.insertBefore(e,t,n):c.appendChild(e,t))}function m(e,t,n){if(Array.isArray(t))for(var o=0;o<t.length;++o)d(t[o],n,e.elm,null,!0,t,o);else a(e.text)&&c.appendChild(e.elm,c.createTextNode(String(e.text)))}function v(e){for(;e.componentInstance;)e=e.componentInstance._vnode;return s(e.tag)}function j(e,n){for(var r=0;r<o.create.length;++r)o.create[r](Un,e);s(t=e.data.hook)&&(s(t.create)&&t.create(Un,e),s(t.insert)&&n.push(e))}function y(e){var t;if(s(t=e.fnScopeId))c.setStyleScope(e.elm,t);else for(var n=e;n;)s(t=n.context)&&s(t=t.$options._scopeId)&&c.setStyleScope(e.elm,t),n=n.parent;s(t=bt)&&t!==e.context&&t!==e.fnContext&&s(t=t.$options._scopeId)&&c.setStyleScope(e.elm,t)}function _(e,t,n,o,r,s){for(;o<=r;++o)d(n[o],s,e,t,!1,n,o)}function g(e){var t,n,r=e.data;if(s(r))for(s(t=r.hook)&&s(t=t.destroy)&&t(e),t=0;t<o.destroy.length;++t)o.destroy[t](e);if(s(t=e.children))for(n=0;n<e.children.length;++n)g(e.children[n])}function b(e,t,n,o){for(;n<=o;++n){var r=t[n];s(r)&&(s(r.tag)?(w(r),g(r)):l(r.elm))}}function w(e,t){if(s(t)||s(e.data)){var n,r=o.remove.length+1;for(s(t)?t.listeners+=r:t=function(e,t){function n(){0==--n.listeners&&l(e)}return n.listeners=t,n}(e.elm,r),s(n=e.componentInstance)&&s(n=n._vnode)&&s(n.data)&&w(n,t),n=0;n<o.remove.length;++n)o.remove[n](e,t);s(n=e.data.hook)&&s(n=n.remove)?n(e,t):t()}else l(e.elm)}function x(e,t,n,o){for(var r=n;r<o;r++){var i=t[r];if(s(i)&&Hn(e,i))return r}}function k(e,t,n,a){if(e!==t){var u=t.elm=e.elm;if(i(e.isAsyncPlaceholder))s(t.asyncFactory.resolved)?C(e.elm,t,n):t.isAsyncPlaceholder=!0;else if(i(t.isStatic)&&i(e.isStatic)&&t.key===e.key&&(i(t.isCloned)||i(t.isOnce)))t.componentInstance=e.componentInstance;else{var l,f=t.data;s(f)&&s(l=f.hook)&&s(l=l.prepatch)&&l(e,t);var p=e.children,m=t.children;if(s(f)&&v(t)){for(l=0;l<o.update.length;++l)o.update[l](e,t);s(l=f.hook)&&s(l=l.update)&&l(e,t)}r(t.text)?s(p)&&s(m)?p!==m&&function(e,t,n,o,i){for(var a,u,l,f=0,p=0,m=t.length-1,h=t[0],v=t[m],j=n.length-1,y=n[0],g=n[j],w=!i;f<=m&&p<=j;)r(h)?h=t[++f]:r(v)?v=t[--m]:Hn(h,y)?(k(h,y,o),h=t[++f],y=n[++p]):Hn(v,g)?(k(v,g,o),v=t[--m],g=n[--j]):Hn(h,g)?(k(h,g,o),w&&c.insertBefore(e,h.elm,c.nextSibling(v.elm)),h=t[++f],g=n[--j]):Hn(v,y)?(k(v,y,o),w&&c.insertBefore(e,v.elm,h.elm),v=t[--m],y=n[++p]):(r(a)&&(a=qn(t,f,m)),r(u=s(y.key)?a[y.key]:x(y,t,f,m))?d(y,o,e,h.elm,!1,n,p):Hn(l=t[u],y)?(k(l,y,o),t[u]=void 0,w&&c.insertBefore(e,l.elm,h.elm)):d(y,o,e,h.elm,!1,n,p),y=n[++p]);f>m?_(e,r(n[j+1])?null:n[j+1].elm,n,p,j,o):p>j&&b(0,t,f,m)}(u,p,m,n,a):s(m)?(s(e.text)&&c.setTextContent(u,""),_(u,null,m,0,m.length-1,n)):s(p)?b(0,p,0,p.length-1):s(e.text)&&c.setTextContent(u,""):e.text!==t.text&&c.setTextContent(u,t.text),s(f)&&s(l=f.hook)&&s(l=l.postpatch)&&l(e,t)}}}function S(e,t,n){if(i(n)&&s(e.parent))e.parent.data.pendingInsert=t;else for(var o=0;o<t.length;++o)t[o].data.hook.insert(t[o])}var O=h("attrs,class,staticClass,staticStyle,key");function C(e,t,n,o){var r,a=t.tag,u=t.data,c=t.children;if(o=o||u&&u.pre,t.elm=e,i(t.isComment)&&s(t.asyncFactory))return t.isAsyncPlaceholder=!0,!0;if(s(u)&&(s(r=u.hook)&&s(r=r.init)&&r(t,!0),s(r=t.componentInstance)))return f(t,n),!0;if(s(a)){if(s(c))if(e.hasChildNodes())if(s(r=u)&&s(r=r.domProps)&&s(r=r.innerHTML)){if(r!==e.innerHTML)return!1}else{for(var l=!0,d=e.firstChild,p=0;p<c.length;p++){if(!d||!C(d,c[p],n,o)){l=!1;break}d=d.nextSibling}if(!l||d)return!1}else m(t,c,n);if(s(u)){var h=!1;for(var v in u)if(!O(v)){h=!0,j(t,n);break}!h&&u.class&&ot(u.class)}}else e.data!==t.text&&(e.data=t.text);return!0}return function(e,t,n,a,u,l){if(!r(t)){var f=!1,p=[];if(r(e))f=!0,d(t,p,u,l);else{var m=s(e.nodeType);if(!m&&Hn(e,t))k(e,t,p,a);else{if(m){if(1===e.nodeType&&e.hasAttribute($)&&(e.removeAttribute($),n=!0),i(n)&&C(e,t,p))return S(t,p,!0),e;e=function(e){return new me(c.tagName(e).toLowerCase(),{},[],void 0,e)}(e)}var h=e.elm,j=c.parentNode(h);if(d(t,p,h._leaveCb?null:j,c.nextSibling(h)),s(t.parent))for(var y=t.parent,_=v(t);y;){for(var w=0;w<o.destroy.length;++w)o.destroy[w](y);if(y.elm=t.elm,_){for(var x=0;x<o.create.length;++x)o.create[x](Un,y);var O=y.data.hook.insert;if(O.merged)for(var M=1;M<O.fns.length;M++)O.fns[M]()}else Jn(y);y=y.parent}s(j)?b(0,[e],0,0):s(e.tag)&&g(e)}}return S(t,p,f),t.elm}s(e)&&g(e)}}({nodeOps:Vn,modules:[so,mo,zo,Wo,er,K?{create:Sr,activate:Sr,remove:function(e,t){!0!==e.data.show?wr(e,t):t()}}:{}].concat(to)});Y&&document.addEventListener("selectionchange",function(){var e=document.activeElement;e&&e.vmodel&&Ir(e,"input")});var Cr={inserted:function(e,t,n,o){"select"===n.tag?(o.elm&&!o.elm._vOptions?ut(n,"postpatch",function(){Cr.componentUpdated(e,t,n)}):Mr(e,t,n.context),e._vOptions=[].map.call(e.options,Er)):("textarea"===n.tag||zn(e.type))&&(e._vModifiers=t.modifiers,t.modifiers.lazy||(e.addEventListener("compositionstart",Nr),e.addEventListener("compositionend",Pr),e.addEventListener("change",Pr),Y&&(e.vmodel=!0)))},componentUpdated:function(e,t,n){if("select"===n.tag){Mr(e,t,n.context);var o=e._vOptions,r=e._vOptions=[].map.call(e.options,Er);if(r.some(function(e,t){return!I(e,o[t])}))(e.multiple?t.value.some(function(e){return Tr(e,r)}):t.value!==t.oldValue&&Tr(t.value,r))&&Ir(e,"change")}}};function Mr(e,t,n){Ar(e,t,n),(X||Q)&&setTimeout(function(){Ar(e,t,n)},0)}function Ar(e,t,n){var o=t.value,r=e.multiple;if(!r||Array.isArray(o)){for(var s,i,a=0,u=e.options.length;a<u;a++)if(i=e.options[a],r)s=D(o,Er(i))>-1,i.selected!==s&&(i.selected=s);else if(I(Er(i),o))return void(e.selectedIndex!==a&&(e.selectedIndex=a));r||(e.selectedIndex=-1)}}function Tr(e,t){return t.every(function(t){return!I(t,e)})}function Er(e){return"_value"in e?e._value:e.value}function Nr(e){e.target.composing=!0}function Pr(e){e.target.composing&&(e.target.composing=!1,Ir(e.target,"input"))}function Ir(e,t){var n=document.createEvent("HTMLEvents");n.initEvent(t,!0,!0),e.dispatchEvent(n)}function Dr(e){return!e.componentInstance||e.data&&e.data.transition?e:Dr(e.componentInstance._vnode)}var Rr={model:Cr,show:{bind:function(e,t,n){var o=t.value,r=(n=Dr(n)).data&&n.data.transition,s=e.__vOriginalDisplay="none"===e.style.display?"":e.style.display;o&&r?(n.data.show=!0,br(n,function(){e.style.display=s})):e.style.display=o?s:"none"},update:function(e,t,n){var o=t.value;!o!=!t.oldValue&&((n=Dr(n)).data&&n.data.transition?(n.data.show=!0,o?br(n,function(){e.style.display=e.__vOriginalDisplay}):wr(n,function(){e.style.display="none"})):e.style.display=o?e.__vOriginalDisplay:"none")},unbind:function(e,t,n,o,r){r||(e.style.display=e.__vOriginalDisplay)}}},$r={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function Fr(e){var t=e&&e.componentOptions;return t&&t.Ctor.options.abstract?Fr(mt(t.children)):e}function Lr(e){var t={},n=e.$options;for(var o in n.propsData)t[o]=e[o];var r=n._parentListeners;for(var s in r)t[x(s)]=r[s];return t}function zr(e,t){if(/\d-keep-alive$/.test(t.tag))return e("keep-alive",{props:t.componentOptions.propsData})}var Br={name:"transition",props:$r,abstract:!0,render:function(e){var t=this,n=this.$slots.default;if(n&&(n=n.filter(function(e){return e.tag||pt(e)})).length){0;var o=this.mode;0;var r=n[0];if(function(e){for(;e=e.parent;)if(e.data.transition)return!0}(this.$vnode))return r;var s=Fr(r);if(!s)return r;if(this._leaving)return zr(e,r);var i="__transition-"+this._uid+"-";s.key=null==s.key?s.isComment?i+"comment":i+s.tag:a(s.key)?0===String(s.key).indexOf(i)?s.key:i+s.key:s.key;var u=(s.data||(s.data={})).transition=Lr(this),c=this._vnode,l=Fr(c);if(s.data.directives&&s.data.directives.some(function(e){return"show"===e.name})&&(s.data.show=!0),l&&l.data&&!function(e,t){return t.key===e.key&&t.tag===e.tag}(s,l)&&!pt(l)&&(!l.componentInstance||!l.componentInstance._vnode.isComment)){var d=l.data.transition=A({},u);if("out-in"===o)return this._leaving=!0,ut(d,"afterLeave",function(){t._leaving=!1,t.$forceUpdate()}),zr(e,r);if("in-out"===o){if(pt(s))return c;var f,p=function(){f()};ut(u,"afterEnter",p),ut(u,"enterCancelled",p),ut(d,"delayLeave",function(e){f=e})}}return r}}},Vr=A({tag:String,moveClass:String},$r);function Wr(e){e.elm._moveCb&&e.elm._moveCb(),e.elm._enterCb&&e.elm._enterCb()}function Jr(e){e.data.newPos=e.elm.getBoundingClientRect()}function Ur(e){var t=e.data.pos,n=e.data.newPos,o=t.left-n.left,r=t.top-n.top;if(o||r){e.data.moved=!0;var s=e.elm.style;s.transform=s.WebkitTransform="translate("+o+"px,"+r+"px)",s.transitionDuration="0s"}}delete Vr.mode;var Kr={Transition:Br,TransitionGroup:{props:Vr,render:function(e){for(var t=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),o=this.prevChildren=this.children,r=this.$slots.default||[],s=this.children=[],i=Lr(this),a=0;a<r.length;a++){var u=r[a];if(u.tag)if(null!=u.key&&0!==String(u.key).indexOf("__vlist"))s.push(u),n[u.key]=u,(u.data||(u.data={})).transition=i;else;}if(o){for(var c=[],l=[],d=0;d<o.length;d++){var f=o[d];f.data.transition=i,f.data.pos=f.elm.getBoundingClientRect(),n[f.key]?c.push(f):l.push(f)}this.kept=e(t,null,c),this.removed=l}return e(t,null,s)},beforeUpdate:function(){this.__patch__(this._vnode,this.kept,!1,!0),this._vnode=this.kept},updated:function(){var e=this.prevChildren,t=this.moveClass||(this.name||"v")+"-move";e.length&&this.hasMove(e[0].elm,t)&&(e.forEach(Wr),e.forEach(Jr),e.forEach(Ur),this._reflow=document.body.offsetHeight,e.forEach(function(e){if(e.data.moved){var n=e.elm,o=n.style;mr(n,t),o.transform=o.WebkitTransform=o.transitionDuration="",n.addEventListener(cr,n._moveCb=function e(o){o&&!/transform$/.test(o.propertyName)||(n.removeEventListener(cr,e),n._moveCb=null,hr(n,t))})}}))},methods:{hasMove:function(e,t){if(!sr)return!1;if(this._hasMove)return this._hasMove;var n=e.cloneNode();e._transitionClasses&&e._transitionClasses.forEach(function(e){nr(n,e)}),tr(n,t),n.style.display="none",this.$el.appendChild(n);var o=yr(n);return this.$el.removeChild(n),this._hasMove=o.hasTransform}}}};pn.config.mustUseProp=xn,pn.config.isReservedTag=$n,pn.config.isReservedAttr=bn,pn.config.getTagNamespace=Fn,pn.config.isUnknownElement=function(e){if(!K)return!0;if($n(e))return!1;if(e=e.toLowerCase(),null!=Ln[e])return Ln[e];var t=document.createElement(e);return e.indexOf("-")>-1?Ln[e]=t.constructor===window.HTMLUnknownElement||t.constructor===window.HTMLElement:Ln[e]=/HTMLUnknownElement/.test(t.toString())},A(pn.options.directives,Rr),A(pn.options.components,Kr),pn.prototype.__patch__=K?Or:E,pn.prototype.$mount=function(e,t){return function(e,t,n){return e.$el=t,e.$options.render||(e.$options.render=ve),kt(e,"beforeMount"),new Pt(e,function(){e._update(e._render(),n)},E,null,!0),n=!1,null==e.$vnode&&(e._isMounted=!0,kt(e,"mounted")),e}(this,e=e&&K?Bn(e):void 0,t)},K&&setTimeout(function(){z.devtools&&re&&re.emit("init",pn)},0);var Hr=/\{\{((?:.|\n)+?)\}\}/g,qr=/[-.*+?^${}()|[\]\/\\]/g,Gr=b(function(e){var t=e[0].replace(qr,"\\$&"),n=e[1].replace(qr,"\\$&");return new RegExp(t+"((?:.|\\n)+?)"+n,"g")});var Xr={staticKeys:["staticClass"],transformNode:function(e,t){t.warn;var n=Oo(e,"class");n&&(e.staticClass=JSON.stringify(n));var o=So(e,"class",!1);o&&(e.classBinding=o)},genData:function(e){var t="";return e.staticClass&&(t+="staticClass:"+e.staticClass+","),e.classBinding&&(t+="class:"+e.classBinding+","),t}};var Yr,Qr={staticKeys:["staticStyle"],transformNode:function(e,t){t.warn;var n=Oo(e,"style");n&&(e.staticStyle=JSON.stringify(Jo(n)));var o=So(e,"style",!1);o&&(e.styleBinding=o)},genData:function(e){var t="";return e.staticStyle&&(t+="staticStyle:"+e.staticStyle+","),e.styleBinding&&(t+="style:("+e.styleBinding+"),"),t}},Zr=function(e){return(Yr=Yr||document.createElement("div")).innerHTML=e,Yr.textContent},es=h("area,base,br,col,embed,frame,hr,img,input,isindex,keygen,link,meta,param,source,track,wbr"),ts=h("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr,source"),ns=h("address,article,aside,base,blockquote,body,caption,col,colgroup,dd,details,dialog,div,dl,dt,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,head,header,hgroup,hr,html,legend,li,menuitem,meta,optgroup,option,param,rp,rt,source,style,summary,tbody,td,tfoot,th,thead,title,tr,track"),os=/^\s*([^\s"'<>\/=]+)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,rs="[a-zA-Z_][\\w\\-\\.]*",ss="((?:"+rs+"\\:)?"+rs+")",is=new RegExp("^<"+ss),as=/^\s*(\/?)>/,us=new RegExp("^<\\/"+ss+"[^>]*>"),cs=/^<!DOCTYPE [^>]+>/i,ls=/^<!\--/,ds=/^<!\[/,fs=!1;"x".replace(/x(.)?/g,function(e,t){fs=""===t});var ps=h("script,style,textarea",!0),ms={},hs={"&lt;":"<","&gt;":">","&quot;":'"',"&amp;":"&","&#10;":"\n","&#9;":"\t"},vs=/&(?:lt|gt|quot|amp);/g,js=/&(?:lt|gt|quot|amp|#10|#9);/g,ys=h("pre,textarea",!0),_s=function(e,t){return e&&ys(e)&&"\n"===t[0]};function gs(e,t){var n=t?js:vs;return e.replace(n,function(e){return hs[e]})}var bs,ws,xs,ks,Ss,Os,Cs,Ms,As=/^@|^v-on:/,Ts=/^v-|^@|^:/,Es=/([^]*?)\s+(?:in|of)\s+([^]*)/,Ns=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,Ps=/^\(|\)$/g,Is=/:(.*)$/,Ds=/^:|^v-bind:/,Rs=/\.[^.]+/g,$s=b(Zr);function Fs(e,t,n){return{type:1,tag:e,attrsList:t,attrsMap:function(e){for(var t={},n=0,o=e.length;n<o;n++)t[e[n].name]=e[n].value;return t}(t),parent:n,children:[]}}function Ls(e,t){bs=t.warn||yo,Os=t.isPreTag||N,Cs=t.mustUseProp||N,Ms=t.getTagNamespace||N,xs=_o(t.modules,"transformNode"),ks=_o(t.modules,"preTransformNode"),Ss=_o(t.modules,"postTransformNode"),ws=t.delimiters;var n,o,r=[],s=!1!==t.preserveWhitespace,i=!1,a=!1;function u(e){e.pre&&(i=!1),Os(e.tag)&&(a=!1);for(var n=0;n<Ss.length;n++)Ss[n](e,t)}return function(e,t){for(var n,o,r=[],s=t.expectHTML,i=t.isUnaryTag||N,a=t.canBeLeftOpenTag||N,u=0;e;){if(n=e,o&&ps(o)){var c=0,l=o.toLowerCase(),d=ms[l]||(ms[l]=new RegExp("([\\s\\S]*?)(</"+l+"[^>]*>)","i")),f=e.replace(d,function(e,n,o){return c=o.length,ps(l)||"noscript"===l||(n=n.replace(/<!\--([\s\S]*?)-->/g,"$1").replace(/<!\[CDATA\[([\s\S]*?)]]>/g,"$1")),_s(l,n)&&(n=n.slice(1)),t.chars&&t.chars(n),""});u+=e.length-f.length,e=f,O(l,u-c,u)}else{var p=e.indexOf("<");if(0===p){if(ls.test(e)){var m=e.indexOf("--\x3e");if(m>=0){t.shouldKeepComment&&t.comment(e.substring(4,m)),x(m+3);continue}}if(ds.test(e)){var h=e.indexOf("]>");if(h>=0){x(h+2);continue}}var v=e.match(cs);if(v){x(v[0].length);continue}var j=e.match(us);if(j){var y=u;x(j[0].length),O(j[1],y,u);continue}var _=k();if(_){S(_),_s(o,e)&&x(1);continue}}var g=void 0,b=void 0,w=void 0;if(p>=0){for(b=e.slice(p);!(us.test(b)||is.test(b)||ls.test(b)||ds.test(b)||(w=b.indexOf("<",1))<0);)p+=w,b=e.slice(p);g=e.substring(0,p),x(p)}p<0&&(g=e,e=""),t.chars&&g&&t.chars(g)}if(e===n){t.chars&&t.chars(e);break}}function x(t){u+=t,e=e.substring(t)}function k(){var t=e.match(is);if(t){var n,o,r={tagName:t[1],attrs:[],start:u};for(x(t[0].length);!(n=e.match(as))&&(o=e.match(os));)x(o[0].length),r.attrs.push(o);if(n)return r.unarySlash=n[1],x(n[0].length),r.end=u,r}}function S(e){var n=e.tagName,u=e.unarySlash;s&&("p"===o&&ns(n)&&O(o),a(n)&&o===n&&O(n));for(var c=i(n)||!!u,l=e.attrs.length,d=new Array(l),f=0;f<l;f++){var p=e.attrs[f];fs&&-1===p[0].indexOf('""')&&(""===p[3]&&delete p[3],""===p[4]&&delete p[4],""===p[5]&&delete p[5]);var m=p[3]||p[4]||p[5]||"",h="a"===n&&"href"===p[1]?t.shouldDecodeNewlinesForHref:t.shouldDecodeNewlines;d[f]={name:p[1],value:gs(m,h)}}c||(r.push({tag:n,lowerCasedTag:n.toLowerCase(),attrs:d}),o=n),t.start&&t.start(n,d,c,e.start,e.end)}function O(e,n,s){var i,a;if(null==n&&(n=u),null==s&&(s=u),e&&(a=e.toLowerCase()),e)for(i=r.length-1;i>=0&&r[i].lowerCasedTag!==a;i--);else i=0;if(i>=0){for(var c=r.length-1;c>=i;c--)t.end&&t.end(r[c].tag,n,s);r.length=i,o=i&&r[i-1].tag}else"br"===a?t.start&&t.start(e,[],!0,n,s):"p"===a&&(t.start&&t.start(e,[],!1,n,s),t.end&&t.end(e,n,s))}O()}(e,{warn:bs,expectHTML:t.expectHTML,isUnaryTag:t.isUnaryTag,canBeLeftOpenTag:t.canBeLeftOpenTag,shouldDecodeNewlines:t.shouldDecodeNewlines,shouldDecodeNewlinesForHref:t.shouldDecodeNewlinesForHref,shouldKeepComment:t.comments,start:function(e,s,c){var l=o&&o.ns||Ms(e);X&&"svg"===l&&(s=function(e){for(var t=[],n=0;n<e.length;n++){var o=e[n];Js.test(o.name)||(o.name=o.name.replace(Us,""),t.push(o))}return t}(s));var d=Fs(e,s,o);l&&(d.ns=l),function(e){return"style"===e.tag||"script"===e.tag&&(!e.attrsMap.type||"text/javascript"===e.attrsMap.type)}(d)&&!oe()&&(d.forbidden=!0);for(var f=0;f<ks.length;f++)d=ks[f](d,t)||d;function p(e){0}if(i||(!function(e){null!=Oo(e,"v-pre")&&(e.pre=!0)}(d),d.pre&&(i=!0)),Os(d.tag)&&(a=!0),i?function(e){var t=e.attrsList.length;if(t)for(var n=e.attrs=new Array(t),o=0;o<t;o++)n[o]={name:e.attrsList[o].name,value:JSON.stringify(e.attrsList[o].value)};else e.pre||(e.plain=!0)}(d):d.processed||(Bs(d),function(e){var t=Oo(e,"v-if");if(t)e.if=t,Vs(e,{exp:t,block:e});else{null!=Oo(e,"v-else")&&(e.else=!0);var n=Oo(e,"v-else-if");n&&(e.elseif=n)}}(d),function(e){null!=Oo(e,"v-once")&&(e.once=!0)}(d),zs(d,t)),n?r.length||n.if&&(d.elseif||d.else)&&(p(),Vs(n,{exp:d.elseif,block:d})):(n=d,p()),o&&!d.forbidden)if(d.elseif||d.else)!function(e,t){var n=function(e){var t=e.length;for(;t--;){if(1===e[t].type)return e[t];e.pop()}}(t.children);n&&n.if&&Vs(n,{exp:e.elseif,block:e})}(d,o);else if(d.slotScope){o.plain=!1;var m=d.slotTarget||'"default"';(o.scopedSlots||(o.scopedSlots={}))[m]=d}else o.children.push(d),d.parent=o;c?u(d):(o=d,r.push(d))},end:function(){var e=r[r.length-1],t=e.children[e.children.length-1];t&&3===t.type&&" "===t.text&&!a&&e.children.pop(),r.length-=1,o=r[r.length-1],u(e)},chars:function(e){if(o&&(!X||"textarea"!==o.tag||o.attrsMap.placeholder!==e)){var t,n=o.children;if(e=a||e.trim()?function(e){return"script"===e.tag||"style"===e.tag}(o)?e:$s(e):s&&n.length?" ":"")!i&&" "!==e&&(t=function(e,t){var n=t?Gr(t):Hr;if(n.test(e)){for(var o,r,s,i=[],a=[],u=n.lastIndex=0;o=n.exec(e);){(r=o.index)>u&&(a.push(s=e.slice(u,r)),i.push(JSON.stringify(s)));var c=vo(o[1].trim());i.push("_s("+c+")"),a.push({"@binding":c}),u=r+o[0].length}return u<e.length&&(a.push(s=e.slice(u)),i.push(JSON.stringify(s))),{expression:i.join("+"),tokens:a}}}(e,ws))?n.push({type:2,expression:t.expression,tokens:t.tokens,text:e}):" "===e&&n.length&&" "===n[n.length-1].text||n.push({type:3,text:e})}},comment:function(e){o.children.push({type:3,text:e,isComment:!0})}}),n}function zs(e,t){!function(e){var t=So(e,"key");t&&(e.key=t)}(e),e.plain=!e.key&&!e.attrsList.length,function(e){var t=So(e,"ref");t&&(e.ref=t,e.refInFor=function(e){var t=e;for(;t;){if(void 0!==t.for)return!0;t=t.parent}return!1}(e))}(e),function(e){if("slot"===e.tag)e.slotName=So(e,"name");else{var t;"template"===e.tag?(t=Oo(e,"scope"),e.slotScope=t||Oo(e,"slot-scope")):(t=Oo(e,"slot-scope"))&&(e.slotScope=t);var n=So(e,"slot");n&&(e.slotTarget='""'===n?'"default"':n,"template"===e.tag||e.slotScope||bo(e,"slot",n))}}(e),function(e){var t;(t=So(e,"is"))&&(e.component=t);null!=Oo(e,"inline-template")&&(e.inlineTemplate=!0)}(e);for(var n=0;n<xs.length;n++)e=xs[n](e,t)||e;!function(e){var t,n,o,r,s,i,a,u=e.attrsList;for(t=0,n=u.length;t<n;t++){if(o=r=u[t].name,s=u[t].value,Ts.test(o))if(e.hasBindings=!0,(i=Ws(o))&&(o=o.replace(Rs,"")),Ds.test(o))o=o.replace(Ds,""),s=vo(s),a=!1,i&&(i.prop&&(a=!0,"innerHtml"===(o=x(o))&&(o="innerHTML")),i.camel&&(o=x(o)),i.sync&&ko(e,"update:"+x(o),Mo(s,"$event"))),a||!e.component&&Cs(e.tag,e.attrsMap.type,o)?go(e,o,s):bo(e,o,s);else if(As.test(o))o=o.replace(As,""),ko(e,o,s,i,!1);else{var c=(o=o.replace(Ts,"")).match(Is),l=c&&c[1];l&&(o=o.slice(0,-(l.length+1))),xo(e,o,r,s,l,i)}else bo(e,o,JSON.stringify(s)),!e.component&&"muted"===o&&Cs(e.tag,e.attrsMap.type,o)&&go(e,o,"true")}}(e)}function Bs(e){var t;if(t=Oo(e,"v-for")){var n=function(e){var t=e.match(Es);if(!t)return;var n={};n.for=t[2].trim();var o=t[1].trim().replace(Ps,""),r=o.match(Ns);r?(n.alias=o.replace(Ns,""),n.iterator1=r[1].trim(),r[2]&&(n.iterator2=r[2].trim())):n.alias=o;return n}(t);n&&A(e,n)}}function Vs(e,t){e.ifConditions||(e.ifConditions=[]),e.ifConditions.push(t)}function Ws(e){var t=e.match(Rs);if(t){var n={};return t.forEach(function(e){n[e.slice(1)]=!0}),n}}var Js=/^xmlns:NS\d+/,Us=/^NS\d+:/;function Ks(e){return Fs(e.tag,e.attrsList.slice(),e.parent)}var Hs=[Xr,Qr,{preTransformNode:function(e,t){if("input"===e.tag){var n,o=e.attrsMap;if(!o["v-model"])return;if((o[":type"]||o["v-bind:type"])&&(n=So(e,"type")),o.type||n||!o["v-bind"]||(n="("+o["v-bind"]+").type"),n){var r=Oo(e,"v-if",!0),s=r?"&&("+r+")":"",i=null!=Oo(e,"v-else",!0),a=Oo(e,"v-else-if",!0),u=Ks(e);Bs(u),wo(u,"type","checkbox"),zs(u,t),u.processed=!0,u.if="("+n+")==='checkbox'"+s,Vs(u,{exp:u.if,block:u});var c=Ks(e);Oo(c,"v-for",!0),wo(c,"type","radio"),zs(c,t),Vs(u,{exp:"("+n+")==='radio'"+s,block:c});var l=Ks(e);return Oo(l,"v-for",!0),wo(l,":type",n),zs(l,t),Vs(u,{exp:r,block:l}),i?u.else=!0:a&&(u.elseif=a),u}}}}];var qs,Gs,Xs={expectHTML:!0,modules:Hs,directives:{model:function(e,t,n){n;var o=t.value,r=t.modifiers,s=e.tag,i=e.attrsMap.type;if(e.component)return Co(e,o,r),!1;if("select"===s)!function(e,t,n){var o='var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = "_value" in o ? o._value : o.value;return '+(n&&n.number?"_n(val)":"val")+"});";o=o+" "+Mo(t,"$event.target.multiple ? $$selectedVal : $$selectedVal[0]"),ko(e,"change",o,null,!0)}(e,o,r);else if("input"===s&&"checkbox"===i)!function(e,t,n){var o=n&&n.number,r=So(e,"value")||"null",s=So(e,"true-value")||"true",i=So(e,"false-value")||"false";go(e,"checked","Array.isArray("+t+")?_i("+t+","+r+")>-1"+("true"===s?":("+t+")":":_q("+t+","+s+")")),ko(e,"change","var $$a="+t+",$$el=$event.target,$$c=$$el.checked?("+s+"):("+i+");if(Array.isArray($$a)){var $$v="+(o?"_n("+r+")":r)+",$$i=_i($$a,$$v);if($$el.checked){$$i<0&&("+Mo(t,"$$a.concat([$$v])")+")}else{$$i>-1&&("+Mo(t,"$$a.slice(0,$$i).concat($$a.slice($$i+1))")+")}}else{"+Mo(t,"$$c")+"}",null,!0)}(e,o,r);else if("input"===s&&"radio"===i)!function(e,t,n){var o=n&&n.number,r=So(e,"value")||"null";go(e,"checked","_q("+t+","+(r=o?"_n("+r+")":r)+")"),ko(e,"change",Mo(t,r),null,!0)}(e,o,r);else if("input"===s||"textarea"===s)!function(e,t,n){var o=e.attrsMap.type,r=n||{},s=r.lazy,i=r.number,a=r.trim,u=!s&&"range"!==o,c=s?"change":"range"===o?Do:"input",l="$event.target.value";a&&(l="$event.target.value.trim()"),i&&(l="_n("+l+")");var d=Mo(t,l);u&&(d="if($event.target.composing)return;"+d),go(e,"value","("+t+")"),ko(e,c,d,null,!0),(a||i)&&ko(e,"blur","$forceUpdate()")}(e,o,r);else if(!z.isReservedTag(s))return Co(e,o,r),!1;return!0},text:function(e,t){t.value&&go(e,"textContent","_s("+t.value+")")},html:function(e,t){t.value&&go(e,"innerHTML","_s("+t.value+")")}},isPreTag:function(e){return"pre"===e},isUnaryTag:es,mustUseProp:xn,canBeLeftOpenTag:ts,isReservedTag:$n,getTagNamespace:Fn,staticKeys:function(e){return e.reduce(function(e,t){return e.concat(t.staticKeys||[])},[]).join(",")}(Hs)},Ys=b(function(e){return h("type,tag,attrsList,attrsMap,plain,parent,children,attrs"+(e?","+e:""))});function Qs(e,t){e&&(qs=Ys(t.staticKeys||""),Gs=t.isReservedTag||N,function e(t){t.static=function(e){if(2===e.type)return!1;if(3===e.type)return!0;return!(!e.pre&&(e.hasBindings||e.if||e.for||v(e.tag)||!Gs(e.tag)||function(e){for(;e.parent;){if("template"!==(e=e.parent).tag)return!1;if(e.for)return!0}return!1}(e)||!Object.keys(e).every(qs)))}(t);if(1===t.type){if(!Gs(t.tag)&&"slot"!==t.tag&&null==t.attrsMap["inline-template"])return;for(var n=0,o=t.children.length;n<o;n++){var r=t.children[n];e(r),r.static||(t.static=!1)}if(t.ifConditions)for(var s=1,i=t.ifConditions.length;s<i;s++){var a=t.ifConditions[s].block;e(a),a.static||(t.static=!1)}}}(e),function e(t,n){if(1===t.type){if((t.static||t.once)&&(t.staticInFor=n),t.static&&t.children.length&&(1!==t.children.length||3!==t.children[0].type))return void(t.staticRoot=!0);if(t.staticRoot=!1,t.children)for(var o=0,r=t.children.length;o<r;o++)e(t.children[o],n||!!t.for);if(t.ifConditions)for(var s=1,i=t.ifConditions.length;s<i;s++)e(t.ifConditions[s].block,n)}}(e,!1))}var Zs=/^([\w$_]+|\([^)]*?\))\s*=>|^function\s*\(/,ei=/^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['[^']*?']|\["[^"]*?"]|\[\d+]|\[[A-Za-z_$][\w$]*])*$/,ti={esc:27,tab:9,enter:13,space:32,up:38,left:37,right:39,down:40,delete:[8,46]},ni={esc:"Escape",tab:"Tab",enter:"Enter",space:" ",up:["Up","ArrowUp"],left:["Left","ArrowLeft"],right:["Right","ArrowRight"],down:["Down","ArrowDown"],delete:["Backspace","Delete"]},oi=function(e){return"if("+e+")return null;"},ri={stop:"$event.stopPropagation();",prevent:"$event.preventDefault();",self:oi("$event.target !== $event.currentTarget"),ctrl:oi("!$event.ctrlKey"),shift:oi("!$event.shiftKey"),alt:oi("!$event.altKey"),meta:oi("!$event.metaKey"),left:oi("'button' in $event && $event.button !== 0"),middle:oi("'button' in $event && $event.button !== 1"),right:oi("'button' in $event && $event.button !== 2")};function si(e,t,n){var o=t?"nativeOn:{":"on:{";for(var r in e)o+='"'+r+'":'+ii(r,e[r])+",";return o.slice(0,-1)+"}"}function ii(e,t){if(!t)return"function(){}";if(Array.isArray(t))return"["+t.map(function(t){return ii(e,t)}).join(",")+"]";var n=ei.test(t.value),o=Zs.test(t.value);if(t.modifiers){var r="",s="",i=[];for(var a in t.modifiers)if(ri[a])s+=ri[a],ti[a]&&i.push(a);else if("exact"===a){var u=t.modifiers;s+=oi(["ctrl","shift","alt","meta"].filter(function(e){return!u[e]}).map(function(e){return"$event."+e+"Key"}).join("||"))}else i.push(a);return i.length&&(r+=function(e){return"if(!('button' in $event)&&"+e.map(ai).join("&&")+")return null;"}(i)),s&&(r+=s),"function($event){"+r+(n?"return "+t.value+"($event)":o?"return ("+t.value+")($event)":t.value)+"}"}return n||o?t.value:"function($event){"+t.value+"}"}function ai(e){var t=parseInt(e,10);if(t)return"$event.keyCode!=="+t;var n=ti[e],o=ni[e];return"_k($event.keyCode,"+JSON.stringify(e)+","+JSON.stringify(n)+",$event.key,"+JSON.stringify(o)+")"}var ui={on:function(e,t){e.wrapListeners=function(e){return"_g("+e+","+t.value+")"}},bind:function(e,t){e.wrapData=function(n){return"_b("+n+",'"+e.tag+"',"+t.value+","+(t.modifiers&&t.modifiers.prop?"true":"false")+(t.modifiers&&t.modifiers.sync?",true":"")+")"}},cloak:E},ci=function(e){this.options=e,this.warn=e.warn||yo,this.transforms=_o(e.modules,"transformCode"),this.dataGenFns=_o(e.modules,"genData"),this.directives=A(A({},ui),e.directives);var t=e.isReservedTag||N;this.maybeComponent=function(e){return!t(e.tag)},this.onceId=0,this.staticRenderFns=[]};function li(e,t){var n=new ci(t);return{render:"with(this){return "+(e?di(e,n):'_c("div")')+"}",staticRenderFns:n.staticRenderFns}}function di(e,t){if(e.staticRoot&&!e.staticProcessed)return fi(e,t);if(e.once&&!e.onceProcessed)return pi(e,t);if(e.for&&!e.forProcessed)return function(e,t,n,o){var r=e.for,s=e.alias,i=e.iterator1?","+e.iterator1:"",a=e.iterator2?","+e.iterator2:"";0;return e.forProcessed=!0,(o||"_l")+"(("+r+"),function("+s+i+a+"){return "+(n||di)(e,t)+"})"}(e,t);if(e.if&&!e.ifProcessed)return mi(e,t);if("template"!==e.tag||e.slotTarget){if("slot"===e.tag)return function(e,t){var n=e.slotName||'"default"',o=ji(e,t),r="_t("+n+(o?","+o:""),s=e.attrs&&"{"+e.attrs.map(function(e){return x(e.name)+":"+e.value}).join(",")+"}",i=e.attrsMap["v-bind"];!s&&!i||o||(r+=",null");s&&(r+=","+s);i&&(r+=(s?"":",null")+","+i);return r+")"}(e,t);var n;if(e.component)n=function(e,t,n){var o=t.inlineTemplate?null:ji(t,n,!0);return"_c("+e+","+hi(t,n)+(o?","+o:"")+")"}(e.component,e,t);else{var o=e.plain?void 0:hi(e,t),r=e.inlineTemplate?null:ji(e,t,!0);n="_c('"+e.tag+"'"+(o?","+o:"")+(r?","+r:"")+")"}for(var s=0;s<t.transforms.length;s++)n=t.transforms[s](e,n);return n}return ji(e,t)||"void 0"}function fi(e,t){return e.staticProcessed=!0,t.staticRenderFns.push("with(this){return "+di(e,t)+"}"),"_m("+(t.staticRenderFns.length-1)+(e.staticInFor?",true":"")+")"}function pi(e,t){if(e.onceProcessed=!0,e.if&&!e.ifProcessed)return mi(e,t);if(e.staticInFor){for(var n="",o=e.parent;o;){if(o.for){n=o.key;break}o=o.parent}return n?"_o("+di(e,t)+","+t.onceId+++","+n+")":di(e,t)}return fi(e,t)}function mi(e,t,n,o){return e.ifProcessed=!0,function e(t,n,o,r){if(!t.length)return r||"_e()";var s=t.shift();return s.exp?"("+s.exp+")?"+i(s.block)+":"+e(t,n,o,r):""+i(s.block);function i(e){return o?o(e,n):e.once?pi(e,n):di(e,n)}}(e.ifConditions.slice(),t,n,o)}function hi(e,t){var n="{",o=function(e,t){var n=e.directives;if(!n)return;var o,r,s,i,a="directives:[",u=!1;for(o=0,r=n.length;o<r;o++){s=n[o],i=!0;var c=t.directives[s.name];c&&(i=!!c(e,s,t.warn)),i&&(u=!0,a+='{name:"'+s.name+'",rawName:"'+s.rawName+'"'+(s.value?",value:("+s.value+"),expression:"+JSON.stringify(s.value):"")+(s.arg?',arg:"'+s.arg+'"':"")+(s.modifiers?",modifiers:"+JSON.stringify(s.modifiers):"")+"},")}if(u)return a.slice(0,-1)+"]"}(e,t);o&&(n+=o+","),e.key&&(n+="key:"+e.key+","),e.ref&&(n+="ref:"+e.ref+","),e.refInFor&&(n+="refInFor:true,"),e.pre&&(n+="pre:true,"),e.component&&(n+='tag:"'+e.tag+'",');for(var r=0;r<t.dataGenFns.length;r++)n+=t.dataGenFns[r](e);if(e.attrs&&(n+="attrs:{"+gi(e.attrs)+"},"),e.props&&(n+="domProps:{"+gi(e.props)+"},"),e.events&&(n+=si(e.events,!1,t.warn)+","),e.nativeEvents&&(n+=si(e.nativeEvents,!0,t.warn)+","),e.slotTarget&&!e.slotScope&&(n+="slot:"+e.slotTarget+","),e.scopedSlots&&(n+=function(e,t){return"scopedSlots:_u(["+Object.keys(e).map(function(n){return vi(n,e[n],t)}).join(",")+"])"}(e.scopedSlots,t)+","),e.model&&(n+="model:{value:"+e.model.value+",callback:"+e.model.callback+",expression:"+e.model.expression+"},"),e.inlineTemplate){var s=function(e,t){var n=e.children[0];0;if(1===n.type){var o=li(n,t.options);return"inlineTemplate:{render:function(){"+o.render+"},staticRenderFns:["+o.staticRenderFns.map(function(e){return"function(){"+e+"}"}).join(",")+"]}"}}(e,t);s&&(n+=s+",")}return n=n.replace(/,$/,"")+"}",e.wrapData&&(n=e.wrapData(n)),e.wrapListeners&&(n=e.wrapListeners(n)),n}function vi(e,t,n){return t.for&&!t.forProcessed?function(e,t,n){var o=t.for,r=t.alias,s=t.iterator1?","+t.iterator1:"",i=t.iterator2?","+t.iterator2:"";return t.forProcessed=!0,"_l(("+o+"),function("+r+s+i+"){return "+vi(e,t,n)+"})"}(e,t,n):"{key:"+e+",fn:"+("function("+String(t.slotScope)+"){return "+("template"===t.tag?t.if?t.if+"?"+(ji(t,n)||"undefined")+":undefined":ji(t,n)||"undefined":di(t,n))+"}")+"}"}function ji(e,t,n,o,r){var s=e.children;if(s.length){var i=s[0];if(1===s.length&&i.for&&"template"!==i.tag&&"slot"!==i.tag)return(o||di)(i,t);var a=n?function(e,t){for(var n=0,o=0;o<e.length;o++){var r=e[o];if(1===r.type){if(yi(r)||r.ifConditions&&r.ifConditions.some(function(e){return yi(e.block)})){n=2;break}(t(r)||r.ifConditions&&r.ifConditions.some(function(e){return t(e.block)}))&&(n=1)}}return n}(s,t.maybeComponent):0,u=r||_i;return"["+s.map(function(e){return u(e,t)}).join(",")+"]"+(a?","+a:"")}}function yi(e){return void 0!==e.for||"template"===e.tag||"slot"===e.tag}function _i(e,t){return 1===e.type?di(e,t):3===e.type&&e.isComment?function(e){return"_e("+JSON.stringify(e.text)+")"}(e):function(e){return"_v("+(2===e.type?e.expression:bi(JSON.stringify(e.text)))+")"}(e)}function gi(e){for(var t="",n=0;n<e.length;n++){var o=e[n];t+='"'+o.name+'":'+bi(o.value)+","}return t.slice(0,-1)}function bi(e){return e.replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}new RegExp("\\b"+"do,if,for,let,new,try,var,case,else,with,await,break,catch,class,const,super,throw,while,yield,delete,export,import,return,switch,default,extends,finally,continue,debugger,function,arguments".split(",").join("\\b|\\b")+"\\b"),new RegExp("\\b"+"delete,typeof,void".split(",").join("\\s*\\([^\\)]*\\)|\\b")+"\\s*\\([^\\)]*\\)");function wi(e,t){try{return new Function(e)}catch(n){return t.push({err:n,code:e}),E}}var xi,ki=function(e){return function(t){function n(n,o){var r=Object.create(t),s=[],i=[];if(r.warn=function(e,t){(t?i:s).push(e)},o)for(var a in o.modules&&(r.modules=(t.modules||[]).concat(o.modules)),o.directives&&(r.directives=A(Object.create(t.directives||null),o.directives)),o)"modules"!==a&&"directives"!==a&&(r[a]=o[a]);var u=e(n,r);return u.errors=s,u.tips=i,u}return{compile:n,compileToFunctions:function(e){var t=Object.create(null);return function(n,o,r){(o=A({},o)).warn,delete o.warn;var s=o.delimiters?String(o.delimiters)+n:n;if(t[s])return t[s];var i=e(n,o),a={},u=[];return a.render=wi(i.render,u),a.staticRenderFns=i.staticRenderFns.map(function(e){return wi(e,u)}),t[s]=a}}(n)}}}(function(e,t){var n=Ls(e.trim(),t);!1!==t.optimize&&Qs(n,t);var o=li(n,t);return{ast:n,render:o.render,staticRenderFns:o.staticRenderFns}})(Xs).compileToFunctions;function Si(e){return(xi=xi||document.createElement("div")).innerHTML=e?'<a href="\n"/>':'<div a="\n"/>',xi.innerHTML.indexOf("&#10;")>0}var Oi=!!K&&Si(!1),Ci=!!K&&Si(!0),Mi=b(function(e){var t=Bn(e);return t&&t.innerHTML}),Ai=pn.prototype.$mount;pn.prototype.$mount=function(e,t){if((e=e&&Bn(e))===document.body||e===document.documentElement)return this;var n=this.$options;if(!n.render){var o=n.template;if(o)if("string"==typeof o)"#"===o.charAt(0)&&(o=Mi(o));else{if(!o.nodeType)return this;o=o.innerHTML}else e&&(o=function(e){if(e.outerHTML)return e.outerHTML;var t=document.createElement("div");return t.appendChild(e.cloneNode(!0)),t.innerHTML}(e));if(o){0;var r=ki(o,{shouldDecodeNewlines:Oi,shouldDecodeNewlinesForHref:Ci,delimiters:n.delimiters,comments:n.comments},this),s=r.render,i=r.staticRenderFns;n.render=s,n.staticRenderFns=i}}return Ai.call(this,e,t)},pn.compile=ki,t.default=pn}.call(this,n("./node_modules/webpack/buildin/global.js"),n("./node_modules/timers-browserify/main.js").setImmediate)},"./node_modules/w3c-keyname/index.js":function(e,t){for(var n={8:"Backspace",9:"Tab",10:"Enter",12:"NumLock",13:"Enter",16:"Shift",17:"Control",18:"Alt",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",44:"PrintScreen",45:"Insert",46:"Delete",59:";",61:"=",91:"Meta",92:"Meta",106:"*",107:"+",108:",",109:"-",110:".",111:"/",144:"NumLock",145:"ScrollLock",160:"Shift",161:"Shift",162:"Control",163:"Control",164:"Alt",165:"Alt",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'",229:"q"},o={48:")",49:"!",50:"@",51:"#",52:"$",53:"%",54:"^",55:"&",56:"*",57:"(",59:";",61:"+",173:"_",186:":",187:"+",188:"<",189:"_",190:">",191:"?",192:"~",219:"{",220:"|",221:"}",222:'"',229:"Q"},r="undefined"!=typeof navigator&&/Chrome\/(\d+)/.exec(navigator.userAgent),s="undefined"!=typeof navigator&&/Apple Computer/.test(navigator.vendor),i="undefined"!=typeof navigator&&/Gecko\/\d+/.test(navigator.userAgent),a="undefined"!=typeof navigator&&/Mac/.test(navigator.platform),u=r&&(a||+r[1]<57)||i&&a,c=0;c<10;c++)n[48+c]=n[96+c]=String(c);for(c=1;c<=24;c++)n[c+111]="F"+c;for(c=65;c<=90;c++)n[c]=String.fromCharCode(c+32),o[c]=String.fromCharCode(c);for(var l in n)o.hasOwnProperty(l)||(o[l]=n[l]);function d(e){var t=!(u&&(e.ctrlKey||e.altKey||e.metaKey)||s&&e.shiftKey&&e.key&&1==e.key.length)&&e.key||(e.shiftKey?o:n)[e.keyCode]||e.key||"Unidentified";return"Esc"==t&&(t="Escape"),"Del"==t&&(t="Delete"),"Left"==t&&(t="ArrowLeft"),"Up"==t&&(t="ArrowUp"),"Right"==t&&(t="ArrowRight"),"Down"==t&&(t="ArrowDown"),t}e.exports=d,d.base=n,d.shift=o},"./node_modules/webpack/buildin/global.js":function(e,t){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(n=window)}e.exports=n},"./src/components/editor.vue":function(e,t,n){"use strict";n.r(t);var o=n("./src/components/editor.vue?vue&type=script&lang=js&");for(var r in o)"default"!==r&&function(e){n.d(t,e,function(){return o[e]})}(r);var s=n("./node_modules/vue-loader/lib/runtime/componentNormalizer.js"),i=Object(s.a)(o.default,void 0,void 0,!1,null,null,null);i.options.__file="src/components/editor.vue",t.default=i.exports},"./src/components/editor.vue?vue&type=script&lang=js&":function(e,t,n){"use strict";n.r(t);var o=n("./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/lib/index.js?!./src/components/editor.vue?vue&type=script&lang=js&"),r=n.n(o);for(var s in o)"default"!==s&&function(e){n.d(t,e,function(){return o[e]})}(s);t.default=r.a},"./src/helpers/index.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.updateMark=t.toggleList=t.toggleBlockType=t.removeMark=t.textblockTypeInputRule=t.wrappingInputRule=t.sinkListItem=t.liftListItem=t.splitListItem=t.wrapInList=t.addListNodes=t.macBaseKeymap=t.pcBaseKeymap=t.baseKeymap=t.autoJoin=t.toggleMark=t.setBlockType=t.wrapIn=t.selectAll=t.selectParentNode=t.splitBlockKeepMarks=t.splitBlock=t.liftEmptyBlock=t.createParagraphNear=t.exitCode=t.newlineInCode=t.lift=t.joinDown=t.joinUp=t.selectNodeForward=t.joinForward=t.selectNodeBackward=t.joinBackward=t.deleteSelection=t.chainCommands=void 0;var o=n("./node_modules/prosemirror-commands/dist/commands.js"),r=n("./node_modules/prosemirror-schema-list/dist/schema-list.js"),s=n("./node_modules/prosemirror-inputrules/dist/index.js"),i=l(n("./src/helpers/removeMark.js")),a=l(n("./src/helpers/toggleBlockType.js")),u=l(n("./src/helpers/toggleList.js")),c=l(n("./src/helpers/updateMark.js"));function l(e){return e&&e.__esModule?e:{default:e}}t.chainCommands=o.chainCommands,t.deleteSelection=o.deleteSelection,t.joinBackward=o.joinBackward,t.selectNodeBackward=o.selectNodeBackward,t.joinForward=o.joinForward,t.selectNodeForward=o.selectNodeForward,t.joinUp=o.joinUp,t.joinDown=o.joinDown,t.lift=o.lift,t.newlineInCode=o.newlineInCode,t.exitCode=o.exitCode,t.createParagraphNear=o.createParagraphNear,t.liftEmptyBlock=o.liftEmptyBlock,t.splitBlock=o.splitBlock,t.splitBlockKeepMarks=o.splitBlockKeepMarks,t.selectParentNode=o.selectParentNode,t.selectAll=o.selectAll,t.wrapIn=o.wrapIn,t.setBlockType=o.setBlockType,t.toggleMark=o.toggleMark,t.autoJoin=o.autoJoin,t.baseKeymap=o.baseKeymap,t.pcBaseKeymap=o.pcBaseKeymap,t.macBaseKeymap=o.macBaseKeymap,t.addListNodes=r.addListNodes,t.wrapInList=r.wrapInList,t.splitListItem=r.splitListItem,t.liftListItem=r.liftListItem,t.sinkListItem=r.sinkListItem,t.wrappingInputRule=s.wrappingInputRule,t.textblockTypeInputRule=s.textblockTypeInputRule,t.removeMark=i.default,t.toggleBlockType=a.default,t.toggleList=u.default,t.updateMark=c.default},"./src/helpers/removeMark.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return function(t,n){var o=t.selection,r=o.from,s=o.to;return n(t.tr.removeMark(r,s,e))}}},"./src/helpers/toggleBlockType.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return function(s,i,a){return(0,r.nodeIsActive)(s,e,n)?(0,o.setBlockType)(t)(s,i,a):(0,o.setBlockType)(e,n)(s,i,a)}};var o=n("./node_modules/prosemirror-commands/dist/commands.js"),r=n("./src/utils/index.js")},"./src/helpers/toggleList.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return function(n,s,i){var a=(0,o.nodeIsActive)(n,e);return a?(0,r.liftListItem)(t)(n,s,i):(0,r.wrapInList)(e)(n,s,i)}};var o=n("./src/utils/index.js"),r=n("./src/helpers/index.js")},"./src/helpers/updateMark.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return function(n,o){var r=n.selection,s=r.from,i=r.to;return o(n.tr.addMark(s,i,e.create(t)))}}},"./src/index.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Editor=void 0;var o=function(e){return e&&e.__esModule?e:{default:e}}(n("./src/components/editor.vue"));t.Editor=o.default},"./src/marks/Bold.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),r=n("./src/utils/index.js"),s=n("./src/helpers/index.js");var i=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,r.Mark),o(t,[{key:"keys",value:function(e){var t=e.type;return{"Mod-b":(0,s.toggleMark)(t)}}},{key:"command",value:function(e){var t=e.type;return(0,s.toggleMark)(t)}},{key:"name",get:function(){return"bold"}},{key:"schema",get:function(){return{parseDOM:[{tag:"strong"},{tag:"b",getAttrs:function(e){return"normal"!=e.style.fontWeight&&null}},{style:"font-weight",getAttrs:function(e){return/^(bold(er)?|[5-9]\d{2,})$/.test(e)&&null}}],toDOM:function(){return["strong",0]}}}}]),t}();t.default=i},"./src/marks/Code.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),r=n("./src/utils/index.js"),s=n("./src/helpers/index.js");var i=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,r.Mark),o(t,[{key:"keys",value:function(e){var t=e.type;return{"Mod-`":(0,s.toggleMark)(t)}}},{key:"command",value:function(e){var t=e.type;return(0,s.toggleMark)(t)}},{key:"name",get:function(){return"code"}},{key:"schema",get:function(){return{parseDOM:[{tag:"code"}],toDOM:function(){return["code",0]}}}}]),t}();t.default=i},"./src/marks/Italic.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),r=n("./src/utils/index.js"),s=n("./src/helpers/index.js");var i=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,r.Mark),o(t,[{key:"keys",value:function(e){var t=e.type;return{"Mod-i":(0,s.toggleMark)(t)}}},{key:"command",value:function(e){var t=e.type;return(0,s.toggleMark)(t)}},{key:"name",get:function(){return"italic"}},{key:"schema",get:function(){return{parseDOM:[{tag:"i"},{tag:"em"},{style:"font-style=italic"}],toDOM:function(){return["em",0]}}}}]),t}();t.default=i},"./src/marks/Link.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},r=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),s=n("./src/utils/index.js"),i=n("./src/helpers/index.js");var a=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,s.Mark),r(t,[{key:"command",value:function(e){var t=e.type,n=e.attrs;return n.href?(0,i.updateMark)(t,n):(0,i.removeMark)(t)}},{key:"name",get:function(){return"link"}},{key:"view",get:function(){return{props:["node"],methods:{onClick:function(){console.log("click on link")}},template:'\n\t\t\t\t<a :href="node.attrs.href" rel="noopener noreferrer nofollow" ref="content" @click="onClick"></a>\n\t\t\t'}}},{key:"schema",get:function(){return{attrs:{href:{default:null}},inclusive:!1,parseDOM:[{tag:"a[href]",getAttrs:function(e){return{href:e.getAttribute("href")}}}],toDOM:function(e){return["a",o({},e.attrs,{rel:"noopener noreferrer nofollow"}),0]}}}}]),t}();t.default=a},"./src/marks/index.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=a(n("./src/marks/Code.js")),r=a(n("./src/marks/Italic.js")),s=a(n("./src/marks/Link.js")),i=a(n("./src/marks/Bold.js"));function a(e){return e&&e.__esModule?e:{default:e}}t.default=[new o.default,new r.default,new s.default,new i.default]},"./src/nodes/Blockquote.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),r=n("./src/utils/index.js"),s=n("./src/helpers/index.js");var i=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,r.Node),o(t,[{key:"command",value:function(e){var t=e.type;return(0,s.setBlockType)(t)}},{key:"keys",value:function(e){var t=e.type;return{"Ctrl->":(0,s.wrapIn)(t)}}},{key:"inputRules",value:function(e){var t=e.type;return[(0,s.wrappingInputRule)(/^\s*>\s$/,t)]}},{key:"name",get:function(){return"blockquote"}},{key:"schema",get:function(){return{content:"block+",group:"block",defining:!0,draggable:!1,parseDOM:[{tag:"blockquote"}],toDOM:function(){return["blockquote",0]}}}}]),t}();t.default=i},"./src/nodes/BulletList.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),r=n("./src/utils/index.js"),s=n("./src/helpers/index.js");var i=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,r.Node),o(t,[{key:"command",value:function(e){var t=e.type,n=e.schema;return(0,s.toggleList)(t,n.nodes.list_item)}},{key:"keys",value:function(e){var t=e.type;return{"Shift-Ctrl-8":(0,s.wrapInList)(t)}}},{key:"inputRules",value:function(e){var t=e.type;return[(0,s.wrappingInputRule)(/^\s*([-+*])\s$/,t)]}},{key:"name",get:function(){return"bullet_list"}},{key:"schema",get:function(){return{content:"list_item+",group:"block",parseDOM:[{tag:"ul"}],toDOM:function(){return["ul",0]}}}}]),t}();t.default=i},"./src/nodes/CodeBlock.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),r=n("./src/utils/index.js"),s=n("./src/helpers/index.js");var i=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,r.Node),o(t,[{key:"command",value:function(e){var t=e.type,n=e.schema;return(0,s.toggleBlockType)(t,n.nodes.paragraph)}},{key:"keys",value:function(e){var t=e.type;return{"Shift-Ctrl-\\":(0,s.setBlockType)(t)}}},{key:"inputRules",value:function(e){var t=e.type;return[(0,s.textblockTypeInputRule)(/^```$/,t)]}},{key:"name",get:function(){return"code_block"}},{key:"schema",get:function(){return{content:"text*",marks:"",group:"block",code:!0,defining:!0,draggable:!1,parseDOM:[{tag:"pre",preserveWhitespace:"full"}],toDOM:function(){return["pre",["code",0]]}}}}]),t}();t.default=i},"./src/nodes/Doc.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),r=n("./src/utils/index.js");var s=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,r.Node),o(t,[{key:"name",get:function(){return"doc"}},{key:"schema",get:function(){return{content:"block+"}}}]),t}();t.default=s},"./src/nodes/HardBreak.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),r=n("./src/utils/index.js"),s=n("./src/helpers/index.js");var i=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,r.Node),o(t,[{key:"keys",value:function(e){var t=e.type,n=(0,s.chainCommands)(s.exitCode,function(e,n){return n(e.tr.replaceSelectionWith(t.create()).scrollIntoView()),!0});return{"Mod-Enter":n,"Shift-Enter":n}}},{key:"name",get:function(){return"hard_break"}},{key:"schema",get:function(){return{inline:!0,group:"inline",selectable:!1,parseDOM:[{tag:"br"}],toDOM:function(){return["br"]}}}}]),t}();t.default=i},"./src/nodes/Heading.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},r=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),s=n("./src/utils/index.js"),i=n("./src/helpers/index.js");var a=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,s.Node),r(t,[{key:"command",value:function(e){var t=e.type,n=e.schema,o=e.attrs;return(0,i.toggleBlockType)(t,n.nodes.paragraph,o)}},{key:"keys",value:function(e){var t=e.type;return this.levels.reduce(function(e,n){return o({},e,function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},"Shift-Ctrl-"+n,(0,i.setBlockType)(t,{level:n})))},{})}},{key:"inputRules",value:function(e){var t=e.type;return[(0,i.textblockTypeInputRule)(new RegExp("^(#{1,"+this.options.maxLevel+"})\\s$"),t,function(e){return{level:e[1].length}})]}},{key:"name",get:function(){return"heading"}},{key:"defaultOptions",get:function(){return{maxLevel:6}}},{key:"levels",get:function(){return Array.from(new Array(this.options.maxLevel),function(e,t){return t+1})}},{key:"schema",get:function(){return{attrs:{level:{default:1}},content:"inline*",group:"block",defining:!0,draggable:!1,parseDOM:this.levels.map(function(e){return{tag:"h"+e,attrs:{level:e}}}),toDOM:function(e){return["h"+e.attrs.level,0]}}}}]),t}();t.default=a},"./src/nodes/ListItem.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),r=n("./src/utils/index.js"),s=n("./src/helpers/index.js");var i=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,r.Node),o(t,[{key:"keys",value:function(e){var t=e.type;return{Enter:(0,s.splitListItem)(t),Tab:(0,s.sinkListItem)(t),"Shift-Tab":(0,s.liftListItem)(t)}}},{key:"name",get:function(){return"list_item"}},{key:"schema",get:function(){return{content:"paragraph block*",group:"block",defining:!0,draggable:!1,parseDOM:[{tag:"li"}],toDOM:function(){return["li",0]}}}}]),t}();t.default=i},"./src/nodes/OrderedList.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),r=n("./src/utils/index.js"),s=n("./src/helpers/index.js");var i=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,r.Node),o(t,[{key:"command",value:function(e){var t=e.type,n=e.schema;return(0,s.toggleList)(t,n.nodes.list_item)}},{key:"keys",value:function(e){var t=e.type;return{"Shift-Ctrl-9":(0,s.wrapInList)(t)}}},{key:"inputRules",value:function(e){var t=e.type;return[(0,s.wrappingInputRule)(/^(\d+)\.\s$/,t,function(e){return{order:+e[1]}},function(e,t){return t.childCount+t.attrs.order===+e[1]})]}},{key:"name",get:function(){return"ordered_list"}},{key:"schema",get:function(){return{attrs:{order:{default:1}},content:"list_item+",group:"block",parseDOM:[{tag:"ol",getAttrs:function(e){return{order:e.hasAttribute("start")?+e.getAttribute("start"):1}}}],toDOM:function(e){return 1===e.attrs.order?["ol",0]:["ol",{start:e.attrs.order},0]}}}}]),t}();t.default=i},"./src/nodes/Paragraph.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),r=n("./src/utils/index.js"),s=n("./src/helpers/index.js");var i=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,r.Node),o(t,[{key:"command",value:function(e){var t=e.type;return(0,s.setBlockType)(t)}},{key:"keys",value:function(e){var t=e.type;return{"Shift-Ctrl-0":(0,s.setBlockType)(t)}}},{key:"name",get:function(){return"paragraph"}},{key:"schema",get:function(){return{content:"inline*",group:"block",draggable:!1,parseDOM:[{tag:"p"}],toDOM:function(){return["p",0]}}}}]),t}();t.default=i},"./src/nodes/Text.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),r=n("./src/utils/index.js");var s=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,r.Node),o(t,[{key:"name",get:function(){return"text"}},{key:"schema",get:function(){return{group:"inline"}}}]),t}();t.default=s},"./src/nodes/TodoItem.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),r=n("./src/utils/index.js"),s=n("./src/helpers/index.js");var i=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,r.Node),o(t,[{key:"keys",value:function(e){var t=e.type;return{Enter:(0,s.splitListItem)(t),"Shift-Tab":(0,s.liftListItem)(t)}}},{key:"name",get:function(){return"todo_item"}},{key:"view",get:function(){return{props:["node","updateAttrs","editable"],methods:{onChange:function(){this.editable&&this.updateAttrs({done:!this.node.attrs.done})}},template:'\n\t\t\t\t<li data-type="todo_item" :data-done="node.attrs.done.toString()">\n\t\t\t\t\t<span class="todo-checkbox" contenteditable="false" @click="onChange"></span>\n\t\t\t\t\t<div class="todo-content" ref="content" :contenteditable="editable.toString()"></div>\n\t\t\t\t</li>\n\t\t\t'}}},{key:"schema",get:function(){return{attrs:{done:{default:!1}},draggable:!1,content:"paragraph",toDOM:function(e){return["li",{"data-type":"todo_item","data-done":e.attrs.done.toString()},["span",{class:"todo-checkbox",contenteditable:"false"}],["div",{class:"todo-content"},0]]},parseDOM:[{priority:51,tag:'[data-type="todo_item"]',getAttrs:function(e){return{done:"true"===e.getAttribute("data-done")}}}]}}}]),t}();t.default=i},"./src/nodes/TodoList.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),r=n("./src/utils/index.js"),s=n("./src/helpers/index.js");var i=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,r.Node),o(t,[{key:"command",value:function(e){var t=e.type;return(0,s.wrapInList)(t)}},{key:"inputRules",value:function(e){var t=e.type;return[(0,s.wrappingInputRule)(/^\s*(\[ \])\s$/,t)]}},{key:"name",get:function(){return"todo_list"}},{key:"schema",get:function(){return{group:"block",content:"todo_item+",toDOM:function(){return["ul",{"data-type":"todo_list"},0]},parseDOM:[{priority:51,tag:'[data-type="todo_list"]'}]}}}]),t}();t.default=i},"./src/nodes/index.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=h(n("./src/nodes/Blockquote.js")),r=h(n("./src/nodes/BulletList.js")),s=h(n("./src/nodes/CodeBlock.js")),i=h(n("./src/nodes/Doc.js")),a=h(n("./src/nodes/HardBreak.js")),u=h(n("./src/nodes/Heading.js")),c=h(n("./src/nodes/ListItem.js")),l=h(n("./src/nodes/OrderedList.js")),d=h(n("./src/nodes/Paragraph.js")),f=h(n("./src/nodes/Text.js")),p=h(n("./src/nodes/TodoList.js")),m=h(n("./src/nodes/TodoItem.js"));function h(e){return e&&e.__esModule?e:{default:e}}t.default=[new i.default,new d.default,new f.default,new o.default,new s.default,new u.default({maxLevel:3}),new a.default,new l.default,new r.default,new c.default,new p.default,new m.default]},"./src/utils/ComponentView.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},r=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),s=function(e){return e&&e.__esModule?e:{default:e}}(n("./node_modules/vue/dist/vue.esm.js"));var i=function(){function e(t,n){var o=n.node,r=n.view,s=n.getPos,i=n.decorations,a=n.editable;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.component=t,this.node=o,this.view=r,this.getPos=s,this.decorations=i,this.editable=a,this.dom=this.createDOM(),this.contentDOM=this._vm.$refs.content}return r(e,[{key:"createDOM",value:function(){var e=this,t=s.default.extend(this.component);return this._vm=new t({propsData:{node:this.node,view:this.view,getPos:this.getPos,decorations:this.decorations,editable:this.editable,updateAttrs:function(t){return e.updateAttrs(t)},updateContent:function(t){return e.updateContent(t)}}}).$mount(),this._vm.$el}},{key:"updateAttrs",value:function(e){var t=this.view.state.tr.setNodeMarkup(this.getPos(),null,o({},this.node.attrs,e));this.view.dispatch(t)}},{key:"updateContent",value:function(e){var t=this.view.state.tr.setNodeMarkup(this.getPos(),this.node.type,{content:e});this.view.dispatch(t)}},{key:"ignoreMutation",value:function(){return!0}},{key:"update",value:function(e,t){return e.type===this.node.type&&(e===this.node&&this.decorations===t||(this.node=e,this.decorations=t,this._vm._props.node=e,this._vm._props.decorations=t,!0))}},{key:"destroy",value:function(){this._vm.$destroy()}}]),e}();t.default=i},"./src/utils/PluginManager.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},r=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),s=n("./node_modules/prosemirror-keymap/dist/keymap.js");function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}var u=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.plugins=t}return r(e,[{key:"keymaps",value:function(e){var t=e.schema;return this.plugins.filter(function(e){return e.keys}).map(function(e){return e.keys({type:t[e.type+"s"][e.name],schema:t})}).map(function(e){return(0,s.keymap)(e)})}},{key:"inputRules",value:function(e){var t=e.schema;return this.plugins.filter(function(e){return e.inputRules}).map(function(e){return e.inputRules({type:t[e.type+"s"][e.name],schema:t})}).reduce(function(e,t){return[].concat(a(e),a(t))},[])}},{key:"commands",value:function(e){var t=e.schema,n=e.view;return this.plugins.filter(function(e){return e.command}).reduce(function(e,r){var s=r.name,a=r.type,u=r.command;return o({},e,i({},s,function(e){n.focus(),u({type:t[a+"s"][s],attrs:e,schema:t})(n.state,n.dispatch,n)}))},{})}},{key:"nodes",get:function(){return this.plugins.filter(function(e){return"node"===e.type}).reduce(function(e,t){var n=t.name,r=t.schema;return o({},e,i({},n,r))},{})}},{key:"marks",get:function(){return this.plugins.filter(function(e){return"mark"===e.type}).reduce(function(e,t){var n=t.name,r=t.schema;return o({},e,i({},n,r))},{})}},{key:"pluginplugins",get:function(){return this.plugins.filter(function(e){return e.plugins}).reduce(function(e,t){var n=t.plugins;return[].concat(a(e),a(n))},[])}},{key:"views",get:function(){return this.plugins.filter(function(e){return e.view}).reduce(function(e,t){var n=t.name,r=t.view;return o({},e,i({},n,r))},{})}}]),e}();t.default=u},"./src/utils/buildMenuActions.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},r=function(){return function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],o=!0,r=!1,s=void 0;try{for(var i,a=e[Symbol.iterator]();!(o=(i=a.next()).done)&&(n.push(i.value),!t||n.length!==t);o=!0);}catch(e){r=!0,s=e}finally{try{!o&&a.return&&a.return()}finally{if(r)throw s}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}();t.default=function(e){var t=e.schema,n=e.state,a=e.commands;return{nodes:Object.entries(t.nodes).map(function(e){var o=r(e,1)[0],i=a[o]?a[o]:function(){};return{name:o,active:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,s.nodeIsActive)(n,t.nodes[o],e)},command:i}}).reduce(function(e,t){var n=t.name,r=t.active,s=t.command;return o({},e,i({},n,{active:r,command:s}))},{}),marks:Object.entries(t.marks).map(function(e){var o=r(e,1)[0],i=(0,s.getMarkAttrs)(n,t.marks[o]),u=a[o]?a[o]:function(){};return{name:o,active:function(){return(0,s.markIsActive)(n,t.marks[o])},attrs:i,command:u}}).reduce(function(e,t){var n=t.name,r=t.active,s=t.attrs,a=t.command;return o({},e,i({},n,{active:r,attrs:s,command:a}))},{})}};var s=n("./src/utils/index.js");function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},"./src/utils/builtInKeymap.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n("./node_modules/prosemirror-commands/dist/commands.js"),r=n("./node_modules/prosemirror-history/dist/history.js"),s=n("./node_modules/prosemirror-inputrules/dist/index.js"),i=n("./src/utils/index.js"),a={"Mod-z":r.undo,"Shift-Mod-z":r.undo,"Mod-BracketLeft":o.lift,Backspace:s.undoInputRule,Escape:o.selectParentNode};i.isMac||(a["Mod-y"]=r.redo),t.default=a},"./src/utils/getMarkAttrs.js":function(e,t,n){"use strict";function o(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=e.selection,r=n.from,s=n.to,i=[];e.doc.nodesBetween(r,s,function(e){i=[].concat(o(i),o(e.marks))});var a=i.find(function(e){return e.type.name===t.name});return a?a.attrs:{}}},"./src/utils/index.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n("./src/utils/buildMenuActions.js");Object.defineProperty(t,"buildMenuActions",{enumerable:!0,get:function(){return h(o).default}});var r=n("./src/utils/builtInKeymap.js");Object.defineProperty(t,"builtInKeymap",{enumerable:!0,get:function(){return h(r).default}});var s=n("./src/utils/ComponentView.js");Object.defineProperty(t,"ComponentView",{enumerable:!0,get:function(){return h(s).default}});var i=n("./src/utils/initNodeViews.js");Object.defineProperty(t,"initNodeViews",{enumerable:!0,get:function(){return h(i).default}});var a=n("./src/utils/isMac.js");Object.defineProperty(t,"isMac",{enumerable:!0,get:function(){return h(a).default}});var u=n("./src/utils/getMarkAttrs.js");Object.defineProperty(t,"getMarkAttrs",{enumerable:!0,get:function(){return h(u).default}});var c=n("./src/utils/markIsActive.js");Object.defineProperty(t,"markIsActive",{enumerable:!0,get:function(){return h(c).default}});var l=n("./src/utils/nodeIsActive.js");Object.defineProperty(t,"nodeIsActive",{enumerable:!0,get:function(){return h(l).default}});var d=n("./src/utils/menuBubble.js");Object.defineProperty(t,"menuBubble",{enumerable:!0,get:function(){return h(d).default}});var f=n("./src/utils/node.js");Object.defineProperty(t,"Node",{enumerable:!0,get:function(){return h(f).default}});var p=n("./src/utils/mark.js");Object.defineProperty(t,"Mark",{enumerable:!0,get:function(){return h(p).default}});var m=n("./src/utils/PluginManager.js");function h(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"PluginManager",{enumerable:!0,get:function(){return h(m).default}})},"./src/utils/initNodeViews.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.nodes,n=e.editable,r={};return Object.keys(t).forEach(function(e){r[e]=function(r,s,i,a){var u=t[e];return new o.ComponentView(u,{node:r,view:s,getPos:i,decorations:a,editable:n})}}),r};var o=n("./src/utils/index.js")},"./src/utils/isMac.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default="undefined"!=typeof navigator&&/Mac/.test(navigator.platform)},"./src/utils/mark.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},r=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}();var s=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.options=o({},this.defaultOptions,t)}return r(e,[{key:"command",value:function(){return function(){}}},{key:"keys",value:function(){return{}}},{key:"inputRules",value:function(){return[]}},{key:"name",get:function(){return null}},{key:"defaultOptions",get:function(){return{}}},{key:"type",get:function(){return"mark"}},{key:"view",get:function(){return null}},{key:"schema",get:function(){return null}},{key:"plugins",get:function(){return[]}}]),e}();t.default=s},"./src/utils/markIsActive.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=e.selection,o=n.from,r=n.$from,s=n.to;return n.empty?!!t.isInSet(e.storedMarks||r.marks()):!!e.doc.rangeHasMark(o,s,t)}},"./src/utils/menuBubble.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}();t.default=function(e){return new r.Plugin({view:function(t){return new s({editorView:t,node:e})}})};var r=n("./node_modules/prosemirror-state/dist/index.js");var s=function(){function e(t){var n=t.node,o=t.editorView;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.editorView=o,this.node=n,this.element=this.node.elm,this.element.style.visibility="hidden",this.element.style.opacity=0,this.editorView.dom.addEventListener("blur",this.hide.bind(this))}return o(e,[{key:"update",value:function(e,t){var n=e.state;if(!(t&&t.doc.eq(n.doc)&&t.selection.eq(n.selection)))if(n.selection.empty)this.hide();else{this.show();var o=n.selection,r=o.from,s=o.to,i=e.coordsAtPos(r),a=e.coordsAtPos(s),u=this.element.offsetParent.getBoundingClientRect(),c=Math.max((i.left+a.left)/2,i.left+3);this.element.style.left=c-u.left+"px",this.element.style.bottom=u.bottom-i.top+"px"}}},{key:"show",value:function(){this.element.style.visibility="visible",this.element.style.opacity=1}},{key:"hide",value:function(e){e&&e.relatedTarget||(this.element.style.visibility="hidden",this.element.style.opacity=0)}},{key:"destroy",value:function(){this.editorView.dom.removeEventListener("blur",this.hide)}}]),e}()},"./src/utils/node.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},r=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}();var s=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.options=o({},this.defaultOptions,t)}return r(e,[{key:"command",value:function(){return function(){}}},{key:"keys",value:function(){return{}}},{key:"inputRules",value:function(){return[]}},{key:"name",get:function(){return null}},{key:"defaultOptions",get:function(){return{}}},{key:"type",get:function(){return"node"}},{key:"view",get:function(){return null}},{key:"schema",get:function(){return null}},{key:"plugins",get:function(){return[]}}]),e}();t.default=s},"./src/utils/nodeIsActive.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){var r=(0,o.findParentNode)(function(e){return e.type===t})(e.selection);return n!=={}&&r?r.node.hasMarkup(t,n):!!r};var o=n("./node_modules/prosemirror-utils/dist/index.js")},0:function(e,t,n){n("./examples/assets/sass/main.scss"),e.exports=n("./examples/main.js")}});
//# sourceMappingURL=examples.d9912cd689b2d41695ab.js.map