You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
255 KiB
17 lines
255 KiB
4 years ago
|
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-3fbd7f8c"],{"0126":function(t,e,n){(function(e){
|
||
4 years ago
|
/*!
|
||
|
* Quill Editor v1.3.7
|
||
|
* https://quilljs.com/
|
||
|
* Copyright (c) 2014, Jason Chen
|
||
|
* Copyright (c) 2013, salesforce.com
|
||
|
*/
|
||
4 years ago
|
(function(e,n){t.exports=n()})("undefined"!==typeof self&&self,(function(){return function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:r})},n.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=109)}([function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(17),o=n(18),i=n(19),l=n(45),a=n(46),u=n(47),s=n(48),c=n(49),f=n(12),h=n(32),p=n(33),d=n(31),y=n(1),v={Scope:y.Scope,create:y.create,find:y.find,query:y.query,register:y.register,Container:r.default,Format:o.default,Leaf:i.default,Embed:s.default,Scroll:l.default,Block:u.default,Inline:a.default,Text:c.default,Attributor:{Attribute:f.default,Class:h.default,Style:p.default,Store:d.default}};e.default=v},function(t,e,n){"use strict";var r=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(e,"__esModule",{value:!0});var o=function(t){function e(e){var n=this;return e="[Parchment] "+e,n=t.call(this,e)||this,n.message=e,n.name=n.constructor.name,n}return r(e,t),e}(Error);e.ParchmentError=o;var i,l={},a={},u={},s={};function c(t,e){var n=h(t);if(null==n)throw new o("Unable to create "+t+" blot");var r=n,i=t instanceof Node||t["nodeType"]===Node.TEXT_NODE?t:r.create(e);return new r(i,e)}function f(t,n){return void 0===n&&(n=!1),null==t?null:null!=t[e.DATA_KEY]?t[e.DATA_KEY].blot:n?f(t.parentNode,n):null}function h(t,e){var n;if(void 0===e&&(e=i.ANY),"string"===typeof t)n=s[t]||l[t];else if(t instanceof Text||t["nodeType"]===Node.TEXT_NODE)n=s["text"];else if("number"===typeof t)t&i.LEVEL&i.BLOCK?n=s["block"]:t&i.LEVEL&i.INLINE&&(n=s["inline"]);else if(t instanceof HTMLElement){var r=(t.getAttribute("class")||"").split(/\s+/);for(var o in r)if(n=a[r[o]],n)break;n=n||u[t.tagName]}return null==n?null:e&i.LEVEL&n.scope&&e&i.TYPE&n.scope?n:null}function p(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];if(t.length>1)return t.map((function(t){return p(t)}));var n=t[0];if("string"!==typeof n.blotName&&"string"!==typeof n.attrName)throw new o("Invalid definition");if("abstract"===n.blotName)throw new o("Cannot register abstract class");if(s[n.blotName||n.attrName]=n,"string"===typeof n.keyName)l[n.keyName]=n;else if(null!=n.className&&(a[n.className]=n),null!=n.tagName){Array.isArray(n.tagName)?n.tagName=n.tagName.map((function(t){return t.toUpperCase()})):n.tagName=n.tagName.toUpperCase();var r=Array.isArray(n.tagName)?n.tagName:[n.tagName];r.forEach((function(t){null!=u[t]&&null!=n.className||(u[t]=n)}))}return n}e.DATA_KEY="__blot",function(t){t[t["TYPE"]=3]="TYPE",t[t["LEVEL"]=12]="LEVEL",t[t["ATTRIBUTE"]=13]="ATTRIBUTE",t[t["BLOT"]=14]="BLOT",t[t["INLINE"]=7]="INLINE",t[t["BLOCK"]=11]="BLOCK",t[t["BLOCK_BLOT"]=10]="BLOCK_BLOT",t[t["INLINE_BLOT"]=6]="INLINE_BLOT",t[t["BLOCK_ATTRIBUTE"]=9]="BLOCK_ATTRIBUTE",t[t["INLINE_ATTRIBUTE"]=5]="INLINE_ATTRIBUTE",t[t["ANY"]=15]="ANY"}(i=e.Scope||(e.Scope={})),e.create=c,e.find=f,e.query=h,e.register=p},function(t,e,n){var r=n(51),o=n(11),i=n(3),l=n(20),a=String.fromCharCode(0),u=function(t){Array.isArray(t)?this.ops=t:null!=t&&Array.isArray(t.ops)?this.ops=t.ops:this.ops=[]};u.prototype.insert=function(t,e){var n={};return 0===t.length?this:(n.insert=t,null!=e&&"object"===typeof e&&Object.keys(e).length>0&&(n.attributes=e),this.push(n))},u.prototype["delete"]=function(t){return t<=0?this:this.push({delete:t})},u.prototype.retain=function(t,e){if(t<=0)return this;var n={retain:t};return null!=e&&"object"===typeof e&&Object.keys(e).length>0&&(n.attributes=e),this.push(
|
||
4 years ago
|
/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
|
||
4 years ago
|
e.read=function(t,e,n,r,o){var i,l,a=8*o-r-1,u=(1<<a)-1,s=u>>1,c=-7,f=n?o-1:0,h=n?-1:1,p=t[e+f];for(f+=h,i=p&(1<<-c)-1,p>>=-c,c+=a;c>0;i=256*i+t[e+f],f+=h,c-=8);for(l=i&(1<<-c)-1,i>>=-c,c+=r;c>0;l=256*l+t[e+f],f+=h,c-=8);if(0===i)i=1-s;else{if(i===u)return l?NaN:1/0*(p?-1:1);l+=Math.pow(2,r),i-=s}return(p?-1:1)*l*Math.pow(2,i-r)},e.write=function(t,e,n,r,o,i){var l,a,u,s=8*i-o-1,c=(1<<s)-1,f=c>>1,h=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,p=r?0:i-1,d=r?1:-1,y=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(a=isNaN(e)?1:0,l=c):(l=Math.floor(Math.log(e)/Math.LN2),e*(u=Math.pow(2,-l))<1&&(l--,u*=2),e+=l+f>=1?h/u:h*Math.pow(2,1-f),e*u>=2&&(l++,u/=2),l+f>=c?(a=0,l=c):l+f>=1?(a=(e*u-1)*Math.pow(2,o),l+=f):(a=e*Math.pow(2,f-1)*Math.pow(2,o),l=0));o>=8;t[n+p]=255&a,p+=d,a/=256,o-=8);for(l=l<<o|a,s+=o;s>0;t[n+p]=255&l,p+=d,l/=256,s-=8);t[n+p-d]|=128*y}},f7e2:function(t,e,n){"use strict";(function(e){var r=n("5186"),o=n("d4e1"),i=n("4748"),l=document,a=l.documentElement;function u(t,e){var n,u,h,_,O,x,k,A,N,j,T,S=arguments.length;1===S&&!1===Array.isArray(t)&&(e=t,t=[]);var P,q=null,C=e||{};void 0===C.moves&&(C.moves=y),void 0===C.accepts&&(C.accepts=y),void 0===C.invalid&&(C.invalid=Z),void 0===C.containers&&(C.containers=t||[]),void 0===C.isContainer&&(C.isContainer=d),void 0===C.copy&&(C.copy=!1),void 0===C.copySortSource&&(C.copySortSource=!1),void 0===C.revertOnSpill&&(C.revertOnSpill=!1),void 0===C.removeOnSpill&&(C.removeOnSpill=!1),void 0===C.direction&&(C.direction="vertical"),void 0===C.ignoreInputTextSelection&&(C.ignoreInputTextSelection=!0),void 0===C.mirrorContainer&&(C.mirrorContainer=l.body);var L=r({containers:C.containers,start:Y,end:W,cancel:J,remove:Q,destroy:D,canMove:z,dragging:!1});return!0===C.removeOnSpill&&L.on("over",ot).on("out",it),M(),L;function R(t){return-1!==L.containers.indexOf(t)||C.isContainer(t)}function M(t){var e=t?"remove":"add";s(a,e,"mousedown",F),s(a,e,"mouseup",X)}function B(t){var e=t?"remove":"add";s(a,e,"mousemove",H)}function I(t){var e=t?"remove":"add";o[e](a,"selectstart",U),o[e](a,"click",U)}function D(){M(!0),X({})}function U(t){P&&t.preventDefault()}function F(t){x=t.clientX,k=t.clientY;var e=1!==c(t)||t.metaKey||t.ctrlKey;if(!e){var n=t.target,r=K(n);r&&(P=r,B(),"mousedown"===t.type&&(m(n)?n.focus():t.preventDefault()))}}function H(t){if(P)if(0!==c(t)){if(!(void 0!==t.clientX&&Math.abs(t.clientX-x)<=(C.slideFactorX||0)&&void 0!==t.clientY&&Math.abs(t.clientY-k)<=(C.slideFactorY||0))){if(C.ignoreInputTextSelection){var e=E("clientX",t)||0,n=E("clientY",t)||0,r=l.elementFromPoint(e,n);if(m(r))return}var o=P;B(!0),I(),W(),V(o);var a=f(h);_=E("pageX",t)-a.left,O=E("pageY",t)-a.top,i.add(j||h,"gu-transit"),lt(),rt(t)}}else X({})}function K(t){if((!L.dragging||!n)&&!R(t)){var e=t;while(g(t)&&!1===R(g(t))){if(C.invalid(t,e))return;if(t=g(t),!t)return}var r=g(t);if(r&&!C.invalid(t,e)){var o=C.moves(t,r,e,w(t));if(o)return{item:t,source:r}}}}function z(t){return!!K(t)}function Y(t){var e=K(t);e&&V(e)}function V(t){ct(t.item,t.source)&&(j=t.item.cloneNode(!0),L.emit("cloned",j,t.item,"copy")),u=t.source,h=t.item,A=N=w(t.item),L.dragging=!0,L.emit("drag",h,u)}function Z(){return!1}function W(){if(L.dragging){var t=j||h;$(t,g(t))}}function G(){P=!1,B(!0),I(!0)}function X(t){if(G(),L.dragging){var e=j||h,r=E("clientX",t)||0,o=E("clientY",t)||0,i=p(n,r,o),l=nt(i,r,o);l&&(j&&C.copySortSource||!j||l!==u)?$(e,l):C.removeOnSpill?Q():J()}}function $(t,e){var n=g(t);j&&C.copySortSource&&e===u&&n.removeChild(h),et(e)?L.emit("cancel",t,u,u):L.emit("drop",t,e,u,N),tt()}function Q(){if(L.dragging){var t=j||h,e=g(t);e&&e.removeChild(t),L.emit(j?"cancel":"remove",t,e,u),tt()}}function J(t){if(L.dragging){var e=arguments.length>0?t:C.revertOnSpill,n=j||h,r=g(n),o=et(r);!1===o&&e&&(j?r&&r.removeChild(j):u.insertBefore(n,A)),o||e?L.emit("cancel",n,u,u):L.emit("drop",n,r,u,N),tt()}}function tt(){var t=j||h;G(),at(),t&&i.rm(t,"gu-transit"),T&&clearTimeout(T),L.dragging=!1,q&&L.emit("out",t,q,u),L.emit("dragend",t),u=h=j=A=N=T=q=null}function et(t,e){var r;return r=void 0!==e?e:n?N:w(j||h),t===u&&
|
||
4 years ago
|
/*!
|
||
|
* The buffer module from node.js, for the browser.
|
||
|
*
|
||
|
* @author Feross Aboukhadijeh <http://feross.org>
|
||
|
* @license MIT
|
||
|
*/
|
||
4 years ago
|
var r=n("3560"),o=n("e248"),i=n("571a");function l(){try{var t=new Uint8Array(1);return t.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===t.foo()&&"function"===typeof t.subarray&&0===t.subarray(1,1).byteLength}catch(e){return!1}}function a(){return s.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function u(t,e){if(a()<e)throw new RangeError("Invalid typed array length");return s.TYPED_ARRAY_SUPPORT?(t=new Uint8Array(e),t.__proto__=s.prototype):(null===t&&(t=new s(e)),t.length=e),t}function s(t,e,n){if(!s.TYPED_ARRAY_SUPPORT&&!(this instanceof s))return new s(t,e,n);if("number"===typeof t){if("string"===typeof e)throw new Error("If encoding is specified then the first argument must be a string");return p(this,t)}return c(this,t,e,n)}function c(t,e,n,r){if("number"===typeof e)throw new TypeError('"value" argument must not be a number');return"undefined"!==typeof ArrayBuffer&&e instanceof ArrayBuffer?v(t,e,n,r):"string"===typeof e?d(t,e,n):b(t,e)}function f(t){if("number"!==typeof t)throw new TypeError('"size" argument must be a number');if(t<0)throw new RangeError('"size" argument must not be negative')}function h(t,e,n,r){return f(e),e<=0?u(t,e):void 0!==n?"string"===typeof r?u(t,e).fill(n,r):u(t,e).fill(n):u(t,e)}function p(t,e){if(f(e),t=u(t,e<0?0:0|g(e)),!s.TYPED_ARRAY_SUPPORT)for(var n=0;n<e;++n)t[n]=0;return t}function d(t,e,n){if("string"===typeof n&&""!==n||(n="utf8"),!s.isEncoding(n))throw new TypeError('"encoding" must be a valid string encoding');var r=0|_(e,n);t=u(t,r);var o=t.write(e,n);return o!==r&&(t=t.slice(0,o)),t}function y(t,e){var n=e.length<0?0:0|g(e.length);t=u(t,n);for(var r=0;r<n;r+=1)t[r]=255&e[r];return t}function v(t,e,n,r){if(e.byteLength,n<0||e.byteLength<n)throw new RangeError("'offset' is out of bounds");if(e.byteLength<n+(r||0))throw new RangeError("'length' is out of bounds");return e=void 0===n&&void 0===r?new Uint8Array(e):void 0===r?new Uint8Array(e,n):new Uint8Array(e,n,r),s.TYPED_ARRAY_SUPPORT?(t=e,t.__proto__=s.prototype):t=y(t,e),t}function b(t,e){if(s.isBuffer(e)){var n=0|g(e.length);return t=u(t,n),0===t.length?t:(e.copy(t,0,0,n),t)}if(e){if("undefined"!==typeof ArrayBuffer&&e.buffer instanceof ArrayBuffer||"length"in e)return"number"!==typeof e.length||et(e.length)?u(t,0):y(t,e);if("Buffer"===e.type&&i(e.data))return y(t,e.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}function g(t){if(t>=a())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a().toString(16)+" bytes");return 0|t}function m(t){return+t!=t&&(t=0),s.alloc(+t)}function _(t,e){if(s.isBuffer(t))return t.length;if("undefined"!==typeof ArrayBuffer&&"function"===typeof ArrayBuffer.isView&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;"string"!==typeof t&&(t=""+t);var n=t.length;if(0===n)return 0;for(var r=!1;;)switch(e){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return X(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return J(t).length;default:if(r)return X(t).length;e=(""+e).toLowerCase(),r=!0}}function w(t,e,n){var r=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if(n>>>=0,e>>>=0,n<=e)return"";t||(t="utf8");while(1)switch(t){case"hex":return B(this,e,n);case"utf8":case"utf-8":return q(this,e,n);case"ascii":return R(this,e,n);case"latin1":case"binary":return M(this,e,n);case"base64":return P(this,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return I(this,e,n);default:if(r)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),r=!0}}function O(t,e,n){var r=t[e];t[e]=t[n],t[n]=r}function E(t,e,n,r,o){if(0===t.length)return-1;if("string"===typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=o?0:t.length-1),n<0&&(n=t.length+n),n>=t.length){if(o)return-1;n=t.length-1}else if(n<0){if(!o)return-1;n=0}if("string"===typeof e&&(e=s.from(e,r)),s.isBuffer(e))retu
|